From 1f76b30e541cfb8f90d4beafebf1268aedfe6a56 Mon Sep 17 00:00:00 2001 From: coreco Date: Wed, 8 Feb 2023 22:36:35 -0600 Subject: [PATCH 01/20] adding support for ESRGAN denoising strength, which allows for improved detail retention when upscaling photorelistic faces --- .gitignore | 3 ++- ldm/invoke/CLI.py | 2 +- ldm/invoke/args.py | 6 ++++++ ldm/invoke/config/invokeai_configure.py | 14 +++++++++++--- ldm/invoke/restoration/base.py | 4 ++-- ldm/invoke/restoration/realesrgan.py | 11 +++++++---- 6 files changed, 29 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index b4f9a2bb0f..9adb0be85a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ # ignore default image save location and model symbolic link +.idea/ embeddings/ outputs/ models/ldm/stable-diffusion-v1/model.ckpt @@ -232,4 +233,4 @@ installer/update.bat installer/update.sh # no longer stored in source directory -models \ No newline at end of file +models diff --git a/ldm/invoke/CLI.py b/ldm/invoke/CLI.py index fd61c7c8bf..e365ab2d5e 100644 --- a/ldm/invoke/CLI.py +++ b/ldm/invoke/CLI.py @@ -1057,7 +1057,7 @@ def load_face_restoration(opt): else: print('>> Face restoration disabled') if opt.esrgan: - esrgan = restoration.load_esrgan(opt.esrgan_bg_tile) + esrgan = restoration.load_esrgan(opt.esrgan_bg_tile, opt.esrgan_denoise_str) else: print('>> Upscaling disabled') else: diff --git a/ldm/invoke/args.py b/ldm/invoke/args.py index ace0786154..8e5c9ff18c 100644 --- a/ldm/invoke/args.py +++ b/ldm/invoke/args.py @@ -671,6 +671,12 @@ class Args(object): default=400, help='Tile size for background sampler, 0 for no tile during testing. Default: 400.', ) + postprocessing_group.add_argument( + '--esrgan_denoise_str', + type=float, + default=0.9, + help='esrgan denoise str. 0 is no denoise, 1 is max denoise. Default: 0.9', + ) postprocessing_group.add_argument( '--gfpgan_model_path', type=str, diff --git a/ldm/invoke/config/invokeai_configure.py b/ldm/invoke/config/invokeai_configure.py index 3a53799a13..ef45a023d6 100755 --- a/ldm/invoke/config/invokeai_configure.py +++ b/ldm/invoke/config/invokeai_configure.py @@ -128,7 +128,7 @@ script do it for you. Manual installation is described at: https://invoke-ai.github.io/InvokeAI/installation/020_INSTALL_MANUAL/ -You may download the recommended models (about 15GB total), install all models (40 GB!!) +You may download the recommended models (about 15GB total), install all models (40 GB!!) select a customized set, or completely skip this step. """ ) @@ -583,7 +583,7 @@ def new_config_file_contents(successfully_downloaded: dict, config_file: Path, o # model is a diffusers (indicated with a path) if conf.get(model) and Path(successfully_downloaded[model]).is_dir(): offer_to_delete_weights(model, conf[model], opt.yes_to_all) - + stanza = {} mod = Datasets[model] stanza["description"] = mod["description"] @@ -635,7 +635,7 @@ def offer_to_delete_weights(model_name: str, conf_stanza: dict, yes_to_all: bool weights.unlink() except OSError as e: print(str(e)) - + # --------------------------------------------- # this will preload the Bert tokenizer fles def download_bert(): @@ -683,10 +683,18 @@ def download_clip(): def download_realesrgan(): print("Installing models from RealESRGAN...", file=sys.stderr) model_url = "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth" + wdn_model_url = "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth" + model_dest = os.path.join( Globals.root, "models/realesrgan/realesr-general-x4v3.pth" ) + + wdn_model_dest = os.path.join( + Globals.root, "models/realesrgan/realesr-general-wdn-x4v3.pth" + ) + download_with_progress_bar(model_url, model_dest, "RealESRGAN") + download_with_progress_bar(wdn_model_url, wdn_model_dest, "RealESRGANwdn") def download_gfpgan(): diff --git a/ldm/invoke/restoration/base.py b/ldm/invoke/restoration/base.py index 5b4bc483c2..ea0b02bd59 100644 --- a/ldm/invoke/restoration/base.py +++ b/ldm/invoke/restoration/base.py @@ -31,8 +31,8 @@ class Restoration(): return CodeFormerRestoration() # Upscale Models - def load_esrgan(self, esrgan_bg_tile=400): + def load_esrgan(self, esrgan_bg_tile=400, denoise_str=0.9): from ldm.invoke.restoration.realesrgan import ESRGAN - esrgan = ESRGAN(esrgan_bg_tile) + esrgan = ESRGAN(esrgan_bg_tile, denoise_str) print('>> ESRGAN Initialized') return esrgan; diff --git a/ldm/invoke/restoration/realesrgan.py b/ldm/invoke/restoration/realesrgan.py index 132a5e55e2..def55589af 100644 --- a/ldm/invoke/restoration/realesrgan.py +++ b/ldm/invoke/restoration/realesrgan.py @@ -8,8 +8,9 @@ from PIL import Image from PIL.Image import Image as ImageType class ESRGAN(): - def __init__(self, bg_tile_size=400) -> None: + def __init__(self, bg_tile_size=400, denoise_str=0.9) -> None: self.bg_tile_size = bg_tile_size + self.denoise_str=denoise_str if not torch.cuda.is_available(): # CPU or MPS on M1 use_half_precision = False @@ -26,14 +27,16 @@ class ESRGAN(): from realesrgan import RealESRGANer model = SRVGGNetCompact(num_in_ch=3, num_out_ch=3, num_feat=64, num_conv=32, upscale=4, act_type='prelu') - model_path = os.path.join(Globals.root,'models/realesrgan/realesr-general-x4v3.pth') + model_path = os.path.join(Globals.root, 'models/realesrgan/realesr-general-x4v3.pth') + wdn_model_path = os.path.join(Globals.root, 'models/realesrgan/realesr-general-wdn-x4v3.pth') scale = 4 bg_upsampler = RealESRGANer( scale=scale, - model_path=model_path, + model_path=[model_path, wdn_model_path], model=model, tile=self.bg_tile_size, + dni_weight=[self.denoise_str, 1 - self.denoise_str], tile_pad=10, pre_pad=0, half=use_half_precision, @@ -60,7 +63,7 @@ class ESRGAN(): if seed is not None: print( - f'>> Real-ESRGAN Upscaling seed:{seed} : scale:{upsampler_scale}x' + f'>> Real-ESRGAN Upscaling seed:{seed}, scale:{upsampler_scale}x, tile:{self.bg_tile_size}, denoise:{self.denoise_str}' ) # ESRGAN outputs images with partial transparency if given RGBA images; convert to RGB image = image.convert("RGB") From 5590c73af208c0f22f9c6ae29259ed5f2b1c67bc Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Thu, 9 Feb 2023 19:16:36 +1300 Subject: [PATCH 02/20] Prettified Frontend --- invokeai/frontend/stats.html | 38860 ++++++++++++++++++++++++++++----- 1 file changed, 32888 insertions(+), 5972 deletions(-) diff --git a/invokeai/frontend/stats.html b/invokeai/frontend/stats.html index d42a6818b1..3ab0673ed4 100644 --- a/invokeai/frontend/stats.html +++ b/invokeai/frontend/stats.html @@ -1,6177 +1,33093 @@ - - - - - - Rollup Visualizer - - - -
- + - - + document.addEventListener('DOMContentLoaded', run); + /*-->*/ + + - From 0503680efa2777e1e6d7c13ecb3ceaca03ceb966 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:16:23 +1300 Subject: [PATCH 03/20] Change denoise_str to an arg instead of a class variable --- ldm/invoke/CLI.py | 2 +- ldm/invoke/restoration/base.py | 4 ++-- ldm/invoke/restoration/realesrgan.py | 13 ++++++------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ldm/invoke/CLI.py b/ldm/invoke/CLI.py index e365ab2d5e..fd61c7c8bf 100644 --- a/ldm/invoke/CLI.py +++ b/ldm/invoke/CLI.py @@ -1057,7 +1057,7 @@ def load_face_restoration(opt): else: print('>> Face restoration disabled') if opt.esrgan: - esrgan = restoration.load_esrgan(opt.esrgan_bg_tile, opt.esrgan_denoise_str) + esrgan = restoration.load_esrgan(opt.esrgan_bg_tile) else: print('>> Upscaling disabled') else: diff --git a/ldm/invoke/restoration/base.py b/ldm/invoke/restoration/base.py index ea0b02bd59..5b4bc483c2 100644 --- a/ldm/invoke/restoration/base.py +++ b/ldm/invoke/restoration/base.py @@ -31,8 +31,8 @@ class Restoration(): return CodeFormerRestoration() # Upscale Models - def load_esrgan(self, esrgan_bg_tile=400, denoise_str=0.9): + def load_esrgan(self, esrgan_bg_tile=400): from ldm.invoke.restoration.realesrgan import ESRGAN - esrgan = ESRGAN(esrgan_bg_tile, denoise_str) + esrgan = ESRGAN(esrgan_bg_tile) print('>> ESRGAN Initialized') return esrgan; diff --git a/ldm/invoke/restoration/realesrgan.py b/ldm/invoke/restoration/realesrgan.py index def55589af..a8c64c2548 100644 --- a/ldm/invoke/restoration/realesrgan.py +++ b/ldm/invoke/restoration/realesrgan.py @@ -8,16 +8,15 @@ from PIL import Image from PIL.Image import Image as ImageType class ESRGAN(): - def __init__(self, bg_tile_size=400, denoise_str=0.9) -> None: + def __init__(self, bg_tile_size=400) -> None: self.bg_tile_size = bg_tile_size - self.denoise_str=denoise_str if not torch.cuda.is_available(): # CPU or MPS on M1 use_half_precision = False else: use_half_precision = True - def load_esrgan_bg_upsampler(self): + def load_esrgan_bg_upsampler(self, denoise_str): if not torch.cuda.is_available(): # CPU or MPS on M1 use_half_precision = False else: @@ -36,7 +35,7 @@ class ESRGAN(): model_path=[model_path, wdn_model_path], model=model, tile=self.bg_tile_size, - dni_weight=[self.denoise_str, 1 - self.denoise_str], + dni_weight=[denoise_str, 1 - denoise_str], tile_pad=10, pre_pad=0, half=use_half_precision, @@ -44,13 +43,13 @@ class ESRGAN(): return bg_upsampler - def process(self, image: ImageType, strength: float, seed: str = None, upsampler_scale: int = 2): + def process(self, image: ImageType, strength: float, seed: str = None, upsampler_scale: int = 2, denoise_str: float = 0.75): with warnings.catch_warnings(): warnings.filterwarnings('ignore', category=DeprecationWarning) warnings.filterwarnings('ignore', category=UserWarning) try: - upsampler = self.load_esrgan_bg_upsampler() + upsampler = self.load_esrgan_bg_upsampler(denoise_str) except Exception: import traceback import sys @@ -63,7 +62,7 @@ class ESRGAN(): if seed is not None: print( - f'>> Real-ESRGAN Upscaling seed:{seed}, scale:{upsampler_scale}x, tile:{self.bg_tile_size}, denoise:{self.denoise_str}' + f'>> Real-ESRGAN Upscaling seed:{seed}, scale:{upsampler_scale}x, tile:{self.bg_tile_size}, denoise:{denoise_str}' ) # ESRGAN outputs images with partial transparency if given RGBA images; convert to RGB image = image.convert("RGB") From 9601febef845313b00750b96d40c7a193cc4c9ab Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:16:47 +1300 Subject: [PATCH 04/20] Add denoise_str to ESRGARN - frontend server --- invokeai/backend/invoke_ai_web_server.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/invokeai/backend/invoke_ai_web_server.py b/invokeai/backend/invoke_ai_web_server.py index c08dee596a..4bff5dfecc 100644 --- a/invokeai/backend/invoke_ai_web_server.py +++ b/invokeai/backend/invoke_ai_web_server.py @@ -680,7 +680,8 @@ class InvokeAIWebServer: image = self.esrgan.process( image=image, upsampler_scale=postprocessing_parameters["upscale"][0], - strength=postprocessing_parameters["upscale"][1], + denoise_str=postprocessing_parameters["upscale"][1], + strength=postprocessing_parameters["upscale"][2], seed=seed, ) elif postprocessing_parameters["type"] == "gfpgan": @@ -1064,6 +1065,7 @@ class InvokeAIWebServer: image = self.esrgan.process( image=image, upsampler_scale=esrgan_parameters["level"], + denoise_str=esrgan_parameters['denoise_str'], strength=esrgan_parameters["strength"], seed=seed, ) @@ -1071,6 +1073,7 @@ class InvokeAIWebServer: postprocessing = True all_parameters["upscale"] = [ esrgan_parameters["level"], + esrgan_parameters['denoise_str'], esrgan_parameters["strength"], ] @@ -1287,7 +1290,8 @@ class InvokeAIWebServer: { "type": "esrgan", "scale": int(parameters["upscale"][0]), - "strength": float(parameters["upscale"][1]), + "denoise_str": int(parameters["upscale"][1]), + "strength": float(parameters["upscale"][2]), } ) @@ -1361,7 +1365,8 @@ class InvokeAIWebServer: if parameters["type"] == "esrgan": postprocessing_metadata["type"] = "esrgan" postprocessing_metadata["scale"] = parameters["upscale"][0] - postprocessing_metadata["strength"] = parameters["upscale"][1] + postprocessing_metadata["denoise_str"] = parameters["upscale"][1] + postprocessing_metadata["strength"] = parameters["upscale"][2] elif parameters["type"] == "gfpgan": postprocessing_metadata["type"] = "gfpgan" postprocessing_metadata["strength"] = parameters["facetool_strength"] From 83ecda977ca4a66caf098818856f7a1a41608a3a Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:19:25 +1300 Subject: [PATCH 05/20] Add frontend UI for denoise_str for ESRGAN --- .../public/locales/parameters/en.json | 1 + .../frontend/src/app/socketio/emitters.ts | 8 ++- .../src/common/util/parameterTranslation.ts | 7 +-- .../Upscale/UpscaleSettings.scss | 5 -- .../Upscale/UpscaleSettings.tsx | 58 ++++++++++++++----- .../parameters/store/postprocessingSlice.ts | 6 ++ invokeai/frontend/src/styles/index.scss | 1 - 7 files changed, 61 insertions(+), 25 deletions(-) delete mode 100644 invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.scss diff --git a/invokeai/frontend/public/locales/parameters/en.json b/invokeai/frontend/public/locales/parameters/en.json index 5bca8b0950..fef06c92fa 100644 --- a/invokeai/frontend/public/locales/parameters/en.json +++ b/invokeai/frontend/public/locales/parameters/en.json @@ -20,6 +20,7 @@ "upscaling": "Upscaling", "upscale": "Upscale", "upscaleImage": "Upscale Image", + "denoisingStrength": "Denoising Strength", "scale": "Scale", "otherOptions": "Other Options", "seamlessTiling": "Seamless Tiling", diff --git a/invokeai/frontend/src/app/socketio/emitters.ts b/invokeai/frontend/src/app/socketio/emitters.ts index 6978fa9d2b..bc90f9c58b 100644 --- a/invokeai/frontend/src/app/socketio/emitters.ts +++ b/invokeai/frontend/src/app/socketio/emitters.ts @@ -93,11 +93,15 @@ const makeSocketIOEmitters = ( dispatch(setIsProcessing(true)); const { - postprocessing: { upscalingLevel, upscalingStrength }, + postprocessing: { + upscalingLevel, + upscalingDenoising, + upscalingStrength, + }, } = getState(); const esrganParameters = { - upscale: [upscalingLevel, upscalingStrength], + upscale: [upscalingLevel, upscalingDenoising, upscalingStrength], }; socketio.emit('runPostprocessing', imageToProcess, { type: 'esrgan', diff --git a/invokeai/frontend/src/common/util/parameterTranslation.ts b/invokeai/frontend/src/common/util/parameterTranslation.ts index 1e429d8958..60d3c1e485 100644 --- a/invokeai/frontend/src/common/util/parameterTranslation.ts +++ b/invokeai/frontend/src/common/util/parameterTranslation.ts @@ -69,6 +69,7 @@ export type BackendGenerationParameters = { export type BackendEsrGanParameters = { level: UpscalingLevel; + denoise_str: number; strength: number; }; @@ -111,13 +112,12 @@ export const frontendToBackendParameters = ( shouldRunFacetool, upscalingLevel, upscalingStrength, + upscalingDenoising, } = postprocessingState; const { cfgScale, - height, - img2imgStrength, infillMethod, initialImage, @@ -136,11 +136,9 @@ export const frontendToBackendParameters = ( shouldFitToWidthHeight, shouldGenerateVariations, shouldRandomizeSeed, - steps, threshold, tileSize, - variationAmount, width, } = generationState; @@ -190,6 +188,7 @@ export const frontendToBackendParameters = ( if (shouldRunESRGAN) { esrganParameters = { level: upscalingLevel, + denoise_str: upscalingDenoising, strength: upscalingStrength, }; } diff --git a/invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.scss b/invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.scss deleted file mode 100644 index 921253e5ee..0000000000 --- a/invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.scss +++ /dev/null @@ -1,5 +0,0 @@ -.upscale-settings { - display: grid; - grid-template-columns: auto 1fr; - column-gap: 1rem; -} diff --git a/invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.tsx b/invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.tsx index 180941597c..bb987d7eb5 100644 --- a/invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.tsx +++ b/invokeai/frontend/src/features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.tsx @@ -1,6 +1,7 @@ import { useAppDispatch, useAppSelector } from 'app/storeHooks'; import { + setUpscalingDenoising, setUpscalingLevel, setUpscalingStrength, UpscalingLevel, @@ -8,20 +9,25 @@ import { import { createSelector } from '@reduxjs/toolkit'; import { UPSCALING_LEVELS } from 'app/constants'; -import IAINumberInput from 'common/components/IAINumberInput'; import IAISelect from 'common/components/IAISelect'; import { postprocessingSelector } from 'features/parameters/store/postprocessingSelectors'; import { systemSelector } from 'features/system/store/systemSelectors'; import { isEqual } from 'lodash'; import { ChangeEvent } from 'react'; import { useTranslation } from 'react-i18next'; +import IAISlider from 'common/components/IAISlider'; +import { Flex } from '@chakra-ui/react'; const parametersSelector = createSelector( [postprocessingSelector, systemSelector], - ({ upscalingLevel, upscalingStrength }, { isESRGANAvailable }) => { + ( + { upscalingLevel, upscalingStrength, upscalingDenoising }, + { isESRGANAvailable } + ) => { return { upscalingLevel, + upscalingDenoising, upscalingStrength, isESRGANAvailable, }; @@ -38,8 +44,12 @@ const parametersSelector = createSelector( */ const UpscaleSettings = () => { const dispatch = useAppDispatch(); - const { upscalingLevel, upscalingStrength, isESRGANAvailable } = - useAppSelector(parametersSelector); + const { + upscalingLevel, + upscalingStrength, + upscalingDenoising, + isESRGANAvailable, + } = useAppSelector(parametersSelector); const { t } = useTranslation(); @@ -49,7 +59,7 @@ const UpscaleSettings = () => { const handleChangeStrength = (v: number) => dispatch(setUpscalingStrength(v)); return ( -
+ { onChange={handleChangeLevel} validValues={UPSCALING_LEVELS} /> - { + dispatch(setUpscalingDenoising(v)); + }} + handleReset={() => dispatch(setUpscalingDenoising(0.75))} + withSliderMarks + withInput + withReset + isSliderDisabled={!isESRGANAvailable} + isInputDisabled={!isESRGANAvailable} + isResetDisabled={!isESRGANAvailable} /> -
+ dispatch(setUpscalingStrength(0.75))} + withSliderMarks + withInput + withReset + isSliderDisabled={!isESRGANAvailable} + isInputDisabled={!isESRGANAvailable} + isResetDisabled={!isESRGANAvailable} + /> + ); }; diff --git a/invokeai/frontend/src/features/parameters/store/postprocessingSlice.ts b/invokeai/frontend/src/features/parameters/store/postprocessingSlice.ts index 9c7290ec3f..7f9e0c3aa2 100644 --- a/invokeai/frontend/src/features/parameters/store/postprocessingSlice.ts +++ b/invokeai/frontend/src/features/parameters/store/postprocessingSlice.ts @@ -16,6 +16,7 @@ export interface PostprocessingState { shouldRunESRGAN: boolean; shouldRunFacetool: boolean; upscalingLevel: UpscalingLevel; + upscalingDenoising: number; upscalingStrength: number; } @@ -29,6 +30,7 @@ const initialPostprocessingState: PostprocessingState = { shouldRunESRGAN: false, shouldRunFacetool: false, upscalingLevel: 4, + upscalingDenoising: 0.75, upscalingStrength: 0.75, }; @@ -47,6 +49,9 @@ export const postprocessingSlice = createSlice({ setUpscalingLevel: (state, action: PayloadAction) => { state.upscalingLevel = action.payload; }, + setUpscalingDenoising: (state, action: PayloadAction) => { + state.upscalingDenoising = action.payload; + }, setUpscalingStrength: (state, action: PayloadAction) => { state.upscalingStrength = action.payload; }, @@ -88,6 +93,7 @@ export const { setShouldRunESRGAN, setShouldRunFacetool, setUpscalingLevel, + setUpscalingDenoising, setUpscalingStrength, } = postprocessingSlice.actions; diff --git a/invokeai/frontend/src/styles/index.scss b/invokeai/frontend/src/styles/index.scss index d93359bf2a..afafc17181 100644 --- a/invokeai/frontend/src/styles/index.scss +++ b/invokeai/frontend/src/styles/index.scss @@ -27,7 +27,6 @@ @use '../features/parameters/components/ProcessButtons/ProcessButtons.scss'; @use '../features/parameters/components/MainParameters/MainParameters.scss'; @use '../features/parameters/components/AccordionItems/AdvancedSettings.scss'; -@use '../features/parameters/components/AdvancedParameters/Upscale/UpscaleSettings.scss'; @use '../features/parameters/components/AdvancedParameters/Canvas/BoundingBox/BoundingBoxSettings.scss'; // gallery From 4a1b4d63efa5b7cc891426fc3fdaf3fcb52e67ba Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:21:09 +1300 Subject: [PATCH 06/20] Change denoise_str default to 0.75 --- ldm/invoke/args.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldm/invoke/args.py b/ldm/invoke/args.py index 8e5c9ff18c..d81de4f1ca 100644 --- a/ldm/invoke/args.py +++ b/ldm/invoke/args.py @@ -674,8 +674,8 @@ class Args(object): postprocessing_group.add_argument( '--esrgan_denoise_str', type=float, - default=0.9, - help='esrgan denoise str. 0 is no denoise, 1 is max denoise. Default: 0.9', + default=0.75, + help='esrgan denoise str. 0 is no denoise, 1 is max denoise. Default: 0.75', ) postprocessing_group.add_argument( '--gfpgan_model_path', From e2c392631a00a9cbe0da512f8e7746156b7731e0 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:21:22 +1300 Subject: [PATCH 07/20] build (esrgan-denoise-str) --- .../{index-8606d352.js => index-45ee433b.js} | 126 +- .../frontend/dist/assets/index-b0bf79f4.css | 1 - .../frontend/dist/assets/index-fecb6dd4.css | 1 + invokeai/frontend/dist/index.html | 4 +- .../frontend/dist/locales/parameters/en.json | 1 + invokeai/frontend/stats.html | 38750 +++------------- 6 files changed, 5984 insertions(+), 32899 deletions(-) rename invokeai/frontend/dist/assets/{index-8606d352.js => index-45ee433b.js} (56%) delete mode 100644 invokeai/frontend/dist/assets/index-b0bf79f4.css create mode 100644 invokeai/frontend/dist/assets/index-fecb6dd4.css diff --git a/invokeai/frontend/dist/assets/index-8606d352.js b/invokeai/frontend/dist/assets/index-45ee433b.js similarity index 56% rename from invokeai/frontend/dist/assets/index-8606d352.js rename to invokeai/frontend/dist/assets/index-45ee433b.js index 0df2ce25d5..9914e6fa6f 100644 --- a/invokeai/frontend/dist/assets/index-8606d352.js +++ b/invokeai/frontend/dist/assets/index-45ee433b.js @@ -1,4 +1,4 @@ -var uee=Object.defineProperty;var cee=(e,t,n)=>t in e?uee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var sn=(e,t,n)=>(cee(e,typeof t!="symbol"?t+"":t,n),n);function rj(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function d_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y={},dee={get exports(){return y},set exports(e){y=e}},mS={},w={},fee={get exports(){return w},set exports(e){w=e}},tn={};/** +var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var an=(e,t,n)=>(dee(e,typeof t!="symbol"?t+"":t,n),n);function ij(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function d_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y={},fee={get exports(){return y},set exports(e){y=e}},vS={},w={},hee={get exports(){return w},set exports(e){w=e}},en={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var uee=Object.defineProperty;var cee=(e,t,n)=>t in e?uee(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var cy=Symbol.for("react.element"),hee=Symbol.for("react.portal"),pee=Symbol.for("react.fragment"),gee=Symbol.for("react.strict_mode"),mee=Symbol.for("react.profiler"),vee=Symbol.for("react.provider"),yee=Symbol.for("react.context"),bee=Symbol.for("react.forward_ref"),See=Symbol.for("react.suspense"),xee=Symbol.for("react.memo"),wee=Symbol.for("react.lazy"),cL=Symbol.iterator;function Cee(e){return e===null||typeof e!="object"?null:(e=cL&&e[cL]||e["@@iterator"],typeof e=="function"?e:null)}var ij={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oj=Object.assign,aj={};function d0(e,t,n){this.props=e,this.context=t,this.refs=aj,this.updater=n||ij}d0.prototype.isReactComponent={};d0.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};d0.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sj(){}sj.prototype=d0.prototype;function f_(e,t,n){this.props=e,this.context=t,this.refs=aj,this.updater=n||ij}var h_=f_.prototype=new sj;h_.constructor=f_;oj(h_,d0.prototype);h_.isPureReactComponent=!0;var dL=Array.isArray,lj=Object.prototype.hasOwnProperty,p_={current:null},uj={key:!0,ref:!0,__self:!0,__source:!0};function cj(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)lj.call(t,r)&&!uj.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1t in e?uee(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Tee=w,Lee=Symbol.for("react.element"),Aee=Symbol.for("react.fragment"),Oee=Object.prototype.hasOwnProperty,Mee=Tee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Iee={key:!0,ref:!0,__self:!0,__source:!0};function dj(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Oee.call(t,r)&&!Iee.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Lee,type:e,key:o,ref:a,props:i,_owner:Mee.current}}mS.Fragment=Aee;mS.jsx=dj;mS.jsxs=dj;(function(e){e.exports=mS})(dee);var Ws=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect,m_=w.createContext({});m_.displayName="ColorModeContext";function dy(){const e=w.useContext(m_);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var j3={light:"chakra-ui-light",dark:"chakra-ui-dark"};function Ree(e={}){const{preventTransition:t=!0}=e,n={setDataset:r=>{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?j3.dark:j3.light),document.body.classList.remove(r?j3.light:j3.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){return n.query().matches??r==="dark"?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var Dee="chakra-ui-color-mode";function Nee(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var jee=Nee(Dee),hL=()=>{};function pL(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function fj(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=jee}=e,s=i==="dark"?"dark":"light",[l,u]=w.useState(()=>pL(a,s)),[d,h]=w.useState(()=>pL(a)),{getSystemTheme:m,setClassName:v,setDataset:b,addListener:S}=w.useMemo(()=>Ree({preventTransition:o}),[o]),k=i==="system"&&!l?d:l,E=w.useCallback(A=>{const I=A==="system"?m():A;u(I),v(I==="dark"),b(I),a.set(I)},[a,m,v,b]);Ws(()=>{i==="system"&&h(m())},[]),w.useEffect(()=>{const A=a.get();if(A){E(A);return}if(i==="system"){E("system");return}E(s)},[a,s,i,E]);const _=w.useCallback(()=>{E(k==="dark"?"light":"dark")},[k,E]);w.useEffect(()=>{if(r)return S(E)},[r,S,E]);const T=w.useMemo(()=>({colorMode:t??k,toggleColorMode:t?hL:_,setColorMode:t?hL:E,forced:t!==void 0}),[k,_,E,t]);return N.createElement(m_.Provider,{value:T},n)}fj.displayName="ColorModeProvider";var H4={},Bee={get exports(){return H4},set exports(e){H4=e}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Function]",b="[object GeneratorFunction]",S="[object Map]",k="[object Number]",E="[object Null]",_="[object Object]",T="[object Proxy]",A="[object RegExp]",I="[object Set]",R="[object String]",D="[object Undefined]",j="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",K="[object Float32Array]",te="[object Float64Array]",q="[object Int8Array]",F="[object Int16Array]",U="[object Int32Array]",X="[object Uint8Array]",Z="[object Uint8ClampedArray]",W="[object Uint16Array]",Q="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,fe=/^\[object .+?Constructor\]$/,Se=/^(?:0|[1-9]\d*)$/,Te={};Te[K]=Te[te]=Te[q]=Te[F]=Te[U]=Te[X]=Te[Z]=Te[W]=Te[Q]=!0,Te[s]=Te[l]=Te[z]=Te[d]=Te[V]=Te[h]=Te[m]=Te[v]=Te[S]=Te[k]=Te[_]=Te[A]=Te[I]=Te[R]=Te[j]=!1;var ye=typeof wo=="object"&&wo&&wo.Object===Object&&wo,He=typeof self=="object"&&self&&self.Object===Object&&self,Ne=ye||He||Function("return this")(),tt=t&&!t.nodeType&&t,_e=tt&&!0&&e&&!e.nodeType&&e,lt=_e&&_e.exports===tt,wt=lt&&ye.process,ct=function(){try{var Y=_e&&_e.require&&_e.require("util").types;return Y||wt&&wt.binding&&wt.binding("util")}catch{}}(),mt=ct&&ct.isTypedArray;function St(Y,re,ge){switch(ge.length){case 0:return Y.call(re);case 1:return Y.call(re,ge[0]);case 2:return Y.call(re,ge[0],ge[1]);case 3:return Y.call(re,ge[0],ge[1],ge[2])}return Y.apply(re,ge)}function Ae(Y,re){for(var ge=-1,it=Array(Y);++ge-1}function N0(Y,re){var ge=this.__data__,it=ms(ge,Y);return it<0?(++this.size,ge.push([Y,re])):ge[it][1]=re,this}ia.prototype.clear=vf,ia.prototype.delete=D0,ia.prototype.get=bc,ia.prototype.has=yf,ia.prototype.set=N0;function il(Y){var re=-1,ge=Y==null?0:Y.length;for(this.clear();++re1?ge[Wt-1]:void 0,kt=Wt>2?ge[2]:void 0;for(Sn=Y.length>3&&typeof Sn=="function"?(Wt--,Sn):void 0,kt&&Ap(ge[0],ge[1],kt)&&(Sn=Wt<3?void 0:Sn,Wt=1),re=Object(re);++it-1&&Y%1==0&&Y0){if(++re>=i)return arguments[0]}else re=0;return Y.apply(void 0,arguments)}}function _c(Y){if(Y!=null){try{return Ue.call(Y)}catch{}try{return Y+""}catch{}}return""}function Fa(Y,re){return Y===re||Y!==Y&&re!==re}var Cf=bu(function(){return arguments}())?bu:function(Y){return Xn(Y)&&Ye.call(Y,"callee")&&!Ke.call(Y,"callee")},wu=Array.isArray;function Yt(Y){return Y!=null&&Mp(Y.length)&&!Ec(Y)}function Op(Y){return Xn(Y)&&Yt(Y)}var kc=rn||K0;function Ec(Y){if(!la(Y))return!1;var re=al(Y);return re==v||re==b||re==u||re==T}function Mp(Y){return typeof Y=="number"&&Y>-1&&Y%1==0&&Y<=a}function la(Y){var re=typeof Y;return Y!=null&&(re=="object"||re=="function")}function Xn(Y){return Y!=null&&typeof Y=="object"}function _f(Y){if(!Xn(Y)||al(Y)!=_)return!1;var re=nn(Y);if(re===null)return!0;var ge=Ye.call(re,"constructor")&&re.constructor;return typeof ge=="function"&&ge instanceof ge&&Ue.call(ge)==_t}var Ip=mt?ut(mt):xc;function kf(Y){return ui(Y,Rp(Y))}function Rp(Y){return Yt(Y)?G0(Y,!0):sl(Y)}var gn=vs(function(Y,re,ge,it){oa(Y,re,ge,it)});function Kt(Y){return function(){return Y}}function Dp(Y){return Y}function K0(){return!1}e.exports=gn})(Bee,H4);const Wl=H4;function Us(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function xh(e,...t){return Fee(e)?e(...t):e}var Fee=e=>typeof e=="function",$ee=e=>/!(important)?$/.test(e),gL=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,QC=(e,t)=>n=>{const r=String(t),i=$ee(r),o=gL(r),a=e?`${e}.${o}`:o;let s=Us(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=gL(s),i?`${s} !important`:s};function p2(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const s=QC(t,o)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}var B3=(...e)=>t=>e.reduce((n,r)=>r(n),t);function As(e,t){return n=>{const r={property:n,scale:e};return r.transform=p2({scale:e,transform:t}),r}}var zee=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Hee(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:zee(t),transform:n?p2({scale:n,compose:r}):r}}var hj=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Vee(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...hj].join(" ")}function Wee(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...hj].join(" ")}var Uee={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Gee={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function qee(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Yee={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},pj="& > :not(style) ~ :not(style)",Kee={[pj]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},Xee={[pj]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},JC={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Zee=new Set(Object.values(JC)),gj=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Qee=e=>e.trim();function Jee(e,t){var n;if(e==null||gj.has(e))return e;const r=/(?^[a-z-A-Z]+)\((?(.*))\)/g,{type:i,values:o}=((n=r.exec(e))==null?void 0:n.groups)??{};if(!i||!o)return e;const a=i.includes("-gradient")?i:`${i}-gradient`,[s,...l]=o.split(",").map(Qee).filter(Boolean);if((l==null?void 0:l.length)===0)return e;const u=s in JC?JC[s]:s;l.unshift(u);const d=l.map(h=>{if(Zee.has(h))return h;const m=h.indexOf(" "),[v,b]=m!==-1?[h.substr(0,m),h.substr(m+1)]:[h],S=mj(b)?b:b&&b.split(" "),k=`colors.${v}`,E=k in t.__cssMap?t.__cssMap[k].varRef:v;return S?[E,...Array.isArray(S)?S:[S]].join(" "):E});return`${a}(${d.join(", ")})`}var mj=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),ete=(e,t)=>Jee(e,t??{});function tte(e){return/^var\(--.+\)$/.test(e)}var nte=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Tl=e=>t=>`${e}(${t})`,hn={filter(e){return e!=="auto"?e:Uee},backdropFilter(e){return e!=="auto"?e:Gee},ring(e){return qee(hn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Vee():e==="auto-gpu"?Wee():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=nte(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(tte(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:ete,blur:Tl("blur"),opacity:Tl("opacity"),brightness:Tl("brightness"),contrast:Tl("contrast"),dropShadow:Tl("drop-shadow"),grayscale:Tl("grayscale"),hueRotate:Tl("hue-rotate"),invert:Tl("invert"),saturate:Tl("saturate"),sepia:Tl("sepia"),bgImage(e){return e==null||mj(e)||gj.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Yee[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},ae={borderWidths:As("borderWidths"),borderStyles:As("borderStyles"),colors:As("colors"),borders:As("borders"),radii:As("radii",hn.px),space:As("space",B3(hn.vh,hn.px)),spaceT:As("space",B3(hn.vh,hn.px)),degreeT(e){return{property:e,transform:hn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:p2({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:As("sizes",B3(hn.vh,hn.px)),sizesT:As("sizes",B3(hn.vh,hn.fraction)),shadows:As("shadows"),logical:Hee,blur:As("blur",hn.blur)},n4={background:ae.colors("background"),backgroundColor:ae.colors("backgroundColor"),backgroundImage:ae.propT("backgroundImage",hn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:hn.bgClip},bgSize:ae.prop("backgroundSize"),bgPosition:ae.prop("backgroundPosition"),bg:ae.colors("background"),bgColor:ae.colors("backgroundColor"),bgPos:ae.prop("backgroundPosition"),bgRepeat:ae.prop("backgroundRepeat"),bgAttachment:ae.prop("backgroundAttachment"),bgGradient:ae.propT("backgroundImage",hn.gradient),bgClip:{transform:hn.bgClip}};Object.assign(n4,{bgImage:n4.backgroundImage,bgImg:n4.backgroundImage});var wn={border:ae.borders("border"),borderWidth:ae.borderWidths("borderWidth"),borderStyle:ae.borderStyles("borderStyle"),borderColor:ae.colors("borderColor"),borderRadius:ae.radii("borderRadius"),borderTop:ae.borders("borderTop"),borderBlockStart:ae.borders("borderBlockStart"),borderTopLeftRadius:ae.radii("borderTopLeftRadius"),borderStartStartRadius:ae.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:ae.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:ae.radii("borderTopRightRadius"),borderStartEndRadius:ae.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:ae.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:ae.borders("borderRight"),borderInlineEnd:ae.borders("borderInlineEnd"),borderBottom:ae.borders("borderBottom"),borderBlockEnd:ae.borders("borderBlockEnd"),borderBottomLeftRadius:ae.radii("borderBottomLeftRadius"),borderBottomRightRadius:ae.radii("borderBottomRightRadius"),borderLeft:ae.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:ae.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:ae.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:ae.borders(["borderLeft","borderRight"]),borderInline:ae.borders("borderInline"),borderY:ae.borders(["borderTop","borderBottom"]),borderBlock:ae.borders("borderBlock"),borderTopWidth:ae.borderWidths("borderTopWidth"),borderBlockStartWidth:ae.borderWidths("borderBlockStartWidth"),borderTopColor:ae.colors("borderTopColor"),borderBlockStartColor:ae.colors("borderBlockStartColor"),borderTopStyle:ae.borderStyles("borderTopStyle"),borderBlockStartStyle:ae.borderStyles("borderBlockStartStyle"),borderBottomWidth:ae.borderWidths("borderBottomWidth"),borderBlockEndWidth:ae.borderWidths("borderBlockEndWidth"),borderBottomColor:ae.colors("borderBottomColor"),borderBlockEndColor:ae.colors("borderBlockEndColor"),borderBottomStyle:ae.borderStyles("borderBottomStyle"),borderBlockEndStyle:ae.borderStyles("borderBlockEndStyle"),borderLeftWidth:ae.borderWidths("borderLeftWidth"),borderInlineStartWidth:ae.borderWidths("borderInlineStartWidth"),borderLeftColor:ae.colors("borderLeftColor"),borderInlineStartColor:ae.colors("borderInlineStartColor"),borderLeftStyle:ae.borderStyles("borderLeftStyle"),borderInlineStartStyle:ae.borderStyles("borderInlineStartStyle"),borderRightWidth:ae.borderWidths("borderRightWidth"),borderInlineEndWidth:ae.borderWidths("borderInlineEndWidth"),borderRightColor:ae.colors("borderRightColor"),borderInlineEndColor:ae.colors("borderInlineEndColor"),borderRightStyle:ae.borderStyles("borderRightStyle"),borderInlineEndStyle:ae.borderStyles("borderInlineEndStyle"),borderTopRadius:ae.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:ae.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:ae.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:ae.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(wn,{rounded:wn.borderRadius,roundedTop:wn.borderTopRadius,roundedTopLeft:wn.borderTopLeftRadius,roundedTopRight:wn.borderTopRightRadius,roundedTopStart:wn.borderStartStartRadius,roundedTopEnd:wn.borderStartEndRadius,roundedBottom:wn.borderBottomRadius,roundedBottomLeft:wn.borderBottomLeftRadius,roundedBottomRight:wn.borderBottomRightRadius,roundedBottomStart:wn.borderEndStartRadius,roundedBottomEnd:wn.borderEndEndRadius,roundedLeft:wn.borderLeftRadius,roundedRight:wn.borderRightRadius,roundedStart:wn.borderInlineStartRadius,roundedEnd:wn.borderInlineEndRadius,borderStart:wn.borderInlineStart,borderEnd:wn.borderInlineEnd,borderTopStartRadius:wn.borderStartStartRadius,borderTopEndRadius:wn.borderStartEndRadius,borderBottomStartRadius:wn.borderEndStartRadius,borderBottomEndRadius:wn.borderEndEndRadius,borderStartRadius:wn.borderInlineStartRadius,borderEndRadius:wn.borderInlineEndRadius,borderStartWidth:wn.borderInlineStartWidth,borderEndWidth:wn.borderInlineEndWidth,borderStartColor:wn.borderInlineStartColor,borderEndColor:wn.borderInlineEndColor,borderStartStyle:wn.borderInlineStartStyle,borderEndStyle:wn.borderInlineEndStyle});var rte={color:ae.colors("color"),textColor:ae.colors("color"),fill:ae.colors("fill"),stroke:ae.colors("stroke")},e7={boxShadow:ae.shadows("boxShadow"),mixBlendMode:!0,blendMode:ae.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:ae.prop("backgroundBlendMode"),opacity:!0};Object.assign(e7,{shadow:e7.boxShadow});var ite={filter:{transform:hn.filter},blur:ae.blur("--chakra-blur"),brightness:ae.propT("--chakra-brightness",hn.brightness),contrast:ae.propT("--chakra-contrast",hn.contrast),hueRotate:ae.degreeT("--chakra-hue-rotate"),invert:ae.propT("--chakra-invert",hn.invert),saturate:ae.propT("--chakra-saturate",hn.saturate),dropShadow:ae.propT("--chakra-drop-shadow",hn.dropShadow),backdropFilter:{transform:hn.backdropFilter},backdropBlur:ae.blur("--chakra-backdrop-blur"),backdropBrightness:ae.propT("--chakra-backdrop-brightness",hn.brightness),backdropContrast:ae.propT("--chakra-backdrop-contrast",hn.contrast),backdropHueRotate:ae.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:ae.propT("--chakra-backdrop-invert",hn.invert),backdropSaturate:ae.propT("--chakra-backdrop-saturate",hn.saturate)},V4={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:hn.flexDirection},experimental_spaceX:{static:Kee,transform:p2({scale:"space",transform:e=>e!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:Xee,transform:p2({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:ae.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:ae.space("gap"),rowGap:ae.space("rowGap"),columnGap:ae.space("columnGap")};Object.assign(V4,{flexDir:V4.flexDirection});var vj={gridGap:ae.space("gridGap"),gridColumnGap:ae.space("gridColumnGap"),gridRowGap:ae.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},ote={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:hn.outline},outlineOffset:!0,outlineColor:ae.colors("outlineColor")},Xa={width:ae.sizesT("width"),inlineSize:ae.sizesT("inlineSize"),height:ae.sizes("height"),blockSize:ae.sizes("blockSize"),boxSize:ae.sizes(["width","height"]),minWidth:ae.sizes("minWidth"),minInlineSize:ae.sizes("minInlineSize"),minHeight:ae.sizes("minHeight"),minBlockSize:ae.sizes("minBlockSize"),maxWidth:ae.sizes("maxWidth"),maxInlineSize:ae.sizes("maxInlineSize"),maxHeight:ae.sizes("maxHeight"),maxBlockSize:ae.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:ae.propT("float",hn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Xa,{w:Xa.width,h:Xa.height,minW:Xa.minWidth,maxW:Xa.maxWidth,minH:Xa.minHeight,maxH:Xa.maxHeight,overscroll:Xa.overscrollBehavior,overscrollX:Xa.overscrollBehaviorX,overscrollY:Xa.overscrollBehaviorY});var ate={listStyleType:!0,listStylePosition:!0,listStylePos:ae.prop("listStylePosition"),listStyleImage:!0,listStyleImg:ae.prop("listStyleImage")};function ste(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},ute=lte(ste),cte={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},dte={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Gw=(e,t,n)=>{const r={},i=ute(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},fte={srOnly:{transform(e){return e===!0?cte:e==="focusable"?dte:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Gw(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Gw(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Gw(t,e,n)}},Rv={position:!0,pos:ae.prop("position"),zIndex:ae.prop("zIndex","zIndices"),inset:ae.spaceT("inset"),insetX:ae.spaceT(["left","right"]),insetInline:ae.spaceT("insetInline"),insetY:ae.spaceT(["top","bottom"]),insetBlock:ae.spaceT("insetBlock"),top:ae.spaceT("top"),insetBlockStart:ae.spaceT("insetBlockStart"),bottom:ae.spaceT("bottom"),insetBlockEnd:ae.spaceT("insetBlockEnd"),left:ae.spaceT("left"),insetInlineStart:ae.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:ae.spaceT("right"),insetInlineEnd:ae.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rv,{insetStart:Rv.insetInlineStart,insetEnd:Rv.insetInlineEnd});var hte={ring:{transform:hn.ring},ringColor:ae.colors("--chakra-ring-color"),ringOffset:ae.prop("--chakra-ring-offset-width"),ringOffsetColor:ae.colors("--chakra-ring-offset-color"),ringInset:ae.prop("--chakra-ring-inset")},ar={margin:ae.spaceT("margin"),marginTop:ae.spaceT("marginTop"),marginBlockStart:ae.spaceT("marginBlockStart"),marginRight:ae.spaceT("marginRight"),marginInlineEnd:ae.spaceT("marginInlineEnd"),marginBottom:ae.spaceT("marginBottom"),marginBlockEnd:ae.spaceT("marginBlockEnd"),marginLeft:ae.spaceT("marginLeft"),marginInlineStart:ae.spaceT("marginInlineStart"),marginX:ae.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:ae.spaceT("marginInline"),marginY:ae.spaceT(["marginTop","marginBottom"]),marginBlock:ae.spaceT("marginBlock"),padding:ae.space("padding"),paddingTop:ae.space("paddingTop"),paddingBlockStart:ae.space("paddingBlockStart"),paddingRight:ae.space("paddingRight"),paddingBottom:ae.space("paddingBottom"),paddingBlockEnd:ae.space("paddingBlockEnd"),paddingLeft:ae.space("paddingLeft"),paddingInlineStart:ae.space("paddingInlineStart"),paddingInlineEnd:ae.space("paddingInlineEnd"),paddingX:ae.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:ae.space("paddingInline"),paddingY:ae.space(["paddingTop","paddingBottom"]),paddingBlock:ae.space("paddingBlock")};Object.assign(ar,{m:ar.margin,mt:ar.marginTop,mr:ar.marginRight,me:ar.marginInlineEnd,marginEnd:ar.marginInlineEnd,mb:ar.marginBottom,ml:ar.marginLeft,ms:ar.marginInlineStart,marginStart:ar.marginInlineStart,mx:ar.marginX,my:ar.marginY,p:ar.padding,pt:ar.paddingTop,py:ar.paddingY,px:ar.paddingX,pb:ar.paddingBottom,pl:ar.paddingLeft,ps:ar.paddingInlineStart,paddingStart:ar.paddingInlineStart,pr:ar.paddingRight,pe:ar.paddingInlineEnd,paddingEnd:ar.paddingInlineEnd});var pte={textDecorationColor:ae.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:ae.shadows("textShadow")},gte={clipPath:!0,transform:ae.propT("transform",hn.transform),transformOrigin:!0,translateX:ae.spaceT("--chakra-translate-x"),translateY:ae.spaceT("--chakra-translate-y"),skewX:ae.degreeT("--chakra-skew-x"),skewY:ae.degreeT("--chakra-skew-y"),scaleX:ae.prop("--chakra-scale-x"),scaleY:ae.prop("--chakra-scale-y"),scale:ae.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:ae.degreeT("--chakra-rotate")},mte={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:ae.prop("transitionDuration","transition.duration"),transitionProperty:ae.prop("transitionProperty","transition.property"),transitionTimingFunction:ae.prop("transitionTimingFunction","transition.easing")},vte={fontFamily:ae.prop("fontFamily","fonts"),fontSize:ae.prop("fontSize","fontSizes",hn.px),fontWeight:ae.prop("fontWeight","fontWeights"),lineHeight:ae.prop("lineHeight","lineHeights"),letterSpacing:ae.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},yte={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:ae.spaceT("scrollMargin"),scrollMarginTop:ae.spaceT("scrollMarginTop"),scrollMarginBottom:ae.spaceT("scrollMarginBottom"),scrollMarginLeft:ae.spaceT("scrollMarginLeft"),scrollMarginRight:ae.spaceT("scrollMarginRight"),scrollMarginX:ae.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:ae.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:ae.spaceT("scrollPadding"),scrollPaddingTop:ae.spaceT("scrollPaddingTop"),scrollPaddingBottom:ae.spaceT("scrollPaddingBottom"),scrollPaddingLeft:ae.spaceT("scrollPaddingLeft"),scrollPaddingRight:ae.spaceT("scrollPaddingRight"),scrollPaddingX:ae.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:ae.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function yj(e){return Us(e)&&e.reference?e.reference:String(e)}var vS=(e,...t)=>t.map(yj).join(` ${e} `).replace(/calc/g,""),mL=(...e)=>`calc(${vS("+",...e)})`,vL=(...e)=>`calc(${vS("-",...e)})`,t7=(...e)=>`calc(${vS("*",...e)})`,yL=(...e)=>`calc(${vS("/",...e)})`,bL=e=>{const t=yj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:t7(t,-1)},yh=Object.assign(e=>({add:(...t)=>yh(mL(e,...t)),subtract:(...t)=>yh(vL(e,...t)),multiply:(...t)=>yh(t7(e,...t)),divide:(...t)=>yh(yL(e,...t)),negate:()=>yh(bL(e)),toString:()=>e.toString()}),{add:mL,subtract:vL,multiply:t7,divide:yL,negate:bL});function bte(e,t="-"){return e.replace(/\s+/g,t)}function Ste(e){const t=bte(e.toString());return wte(xte(t))}function xte(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function wte(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function Cte(e,t=""){return[t,e].filter(Boolean).join("-")}function _te(e,t){return`var(${e}${t?`, ${t}`:""})`}function kte(e,t=""){return Ste(`--${Cte(e,t)}`)}function Vn(e,t,n){const r=kte(e,n);return{variable:r,reference:_te(r,t)}}function Ete(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function Pte(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function n7(e){if(e==null)return e;const{unitless:t}=Pte(e);return t||typeof e=="number"?`${e}px`:e}var bj=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,v_=e=>Object.fromEntries(Object.entries(e).sort(bj));function SL(e){const t=v_(e);return Object.assign(Object.values(t),t)}function Tte(e){const t=Object.keys(v_(e));return new Set(t)}function xL(e){if(!e)return e;e=n7(e)??e;const t=e.endsWith("px")?-1:-.0625;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function mv(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${n7(e)})`),t&&n.push("and",`(max-width: ${n7(t)})`),n.join(" ")}function Lte(e){if(!e)return null;e.base=e.base??"0px";const t=SL(e),n=Object.entries(e).sort(bj).map(([o,a],s,l)=>{let[,u]=l[s+1]??[];return u=parseFloat(u)>0?xL(u):void 0,{_minW:xL(a),breakpoint:o,minW:a,maxW:u,maxWQuery:mv(null,u),minWQuery:mv(a),minMaxQuery:mv(a,u)}}),r=Tte(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(s=>r.has(s))},asObject:v_(e),asArray:SL(e),details:n,media:[null,...t.map(o=>mv(o)).slice(1)],toArrayValue(o){if(!Us(o))throw new Error("toArrayValue: value must be an object");const a=i.map(s=>o[s]??null);for(;Ete(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,s,l)=>{const u=i[l];return u!=null&&s!=null&&(a[u]=s),a},{})}}}var $i={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},id=e=>Sj(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Nu=e=>Sj(t=>e(t,"~ &"),"[data-peer]",".peer"),Sj=(e,...t)=>t.map(e).join(", "),yS={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:id($i.hover),_peerHover:Nu($i.hover),_groupFocus:id($i.focus),_peerFocus:Nu($i.focus),_groupFocusVisible:id($i.focusVisible),_peerFocusVisible:Nu($i.focusVisible),_groupActive:id($i.active),_peerActive:Nu($i.active),_groupDisabled:id($i.disabled),_peerDisabled:Nu($i.disabled),_groupInvalid:id($i.invalid),_peerInvalid:Nu($i.invalid),_groupChecked:id($i.checked),_peerChecked:Nu($i.checked),_groupFocusWithin:id($i.focusWithin),_peerFocusWithin:Nu($i.focusWithin),_peerPlaceholderShown:Nu($i.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Ate=Object.keys(yS);function wL(e,t){return Vn(String(e).replace(/\./g,"-"),void 0,t)}function Ote(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:u}=wL(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const m=i.split("."),[v,...b]=m,S=`${v}.-${b.join(".")}`,k=yh.negate(s),E=yh.negate(u);r[S]={value:k,var:l,varRef:E}}n[l]=s,r[i]={value:s,var:l,varRef:u};continue}const d=m=>{const b=[String(i).split(".")[0],m].join(".");if(!e[b])return m;const{reference:k}=wL(b,t==null?void 0:t.cssVarPrefix);return k},h=Us(s)?s:{default:s};n=Wl(n,Object.entries(h).reduce((m,[v,b])=>{var S;const k=d(b);if(v==="default")return m[l]=k,m;const E=((S=yS)==null?void 0:S[v])??v;return m[E]={[l]:k},m},{})),r[i]={value:u,var:l,varRef:u}}return{cssVars:n,cssMap:r}}function Mte(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Ite(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var Rte=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Dte(e){return Ite(e,Rte)}function Nte(e){return e.semanticTokens}function jte(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function Bte({tokens:e,semanticTokens:t}){const n=Object.entries(r7(e)??{}).map(([i,o])=>[i,{isSemantic:!1,value:o}]),r=Object.entries(r7(t,1)??{}).map(([i,o])=>[i,{isSemantic:!0,value:o}]);return Object.fromEntries([...n,...r])}function r7(e,t=1/0){return!Us(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(Us(i)||Array.isArray(i)?Object.entries(r7(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function Fte(e){var t;const n=jte(e),r=Dte(n),i=Nte(n),o=Bte({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=Ote(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:Lte(n.breakpoints)}),n}var y_=Wl({},n4,wn,rte,V4,Xa,ite,hte,ote,vj,fte,Rv,e7,ar,yte,vte,pte,gte,ate,mte),$te=Object.assign({},ar,Xa,V4,vj,Rv),zte=Object.keys($te),Hte=[...Object.keys(y_),...Ate],Vte={...y_,...yS},Wte=e=>e in Vte,Ute=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=xh(e[a],t);if(s==null)continue;if(s=Us(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let u=0;ue.startsWith("--")&&typeof t=="string"&&!qte(t),Kte=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[i,o]=Gte(t);return t=n(i)??r(o)??r(t),t};function Xte(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var s;const l=xh(o,r),u=Ute(l)(r);let d={};for(let h in u){const m=u[h];let v=xh(m,r);h in n&&(h=n[h]),Yte(h,v)&&(v=Kte(r,v));let b=t[h];if(b===!0&&(b={property:h}),Us(v)){d[h]=d[h]??{},d[h]=Wl({},d[h],i(v,!0));continue}let S=((s=b==null?void 0:b.transform)==null?void 0:s.call(b,v,r,l))??v;S=b!=null&&b.processResult?i(S,!0):S;const k=xh(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const E=xh(b.static,r);d=Wl({},d,E)}if(k&&Array.isArray(k)){for(const E of k)d[E]=S;continue}if(k){k==="&"&&Us(S)?d=Wl({},d,S):d[k]=S;continue}if(Us(S)){d=Wl({},d,S);continue}d[h]=S}return d};return i}var xj=e=>t=>Xte({theme:t,pseudos:yS,configs:y_})(e);function hr(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function Zte(e,t){if(Array.isArray(e))return e;if(Us(e))return t(e);if(e!=null)return[e]}function Qte(e,t){for(let n=t+1;n{Wl(u,{[T]:m?_[T]:{[E]:_[T]}})});continue}if(!v){m?Wl(u,_):u[E]=_;continue}u[E]=_}}return u}}function ene(e){return t=>{const{variant:n,size:r,theme:i}=t,o=Jte(i);return Wl({},xh(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function tne(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function En(e){return Mte(e,["styleConfig","size","variant","colorScheme"])}function nne(e){if(e.sheet)return e.sheet;for(var t=0;t0?Wi(f0,--ra):0,zm--,ii===10&&(zm=1,SS--),ii}function Pa(){return ii=ra2||m2(ii)>3?"":" "}function pne(e,t){for(;--t&&Pa()&&!(ii<48||ii>102||ii>57&&ii<65||ii>70&&ii<97););return fy(e,r4()+(t<6&&Yl()==32&&Pa()==32))}function o7(e){for(;Pa();)switch(ii){case e:return ra;case 34:case 39:e!==34&&e!==39&&o7(ii);break;case 40:e===41&&o7(e);break;case 92:Pa();break}return ra}function gne(e,t){for(;Pa()&&e+ii!==47+10;)if(e+ii===42+42&&Yl()===47)break;return"/*"+fy(t,ra-1)+"*"+bS(e===47?e:Pa())}function mne(e){for(;!m2(Yl());)Pa();return fy(e,ra)}function vne(e){return Pj(o4("",null,null,null,[""],e=Ej(e),0,[0],e))}function o4(e,t,n,r,i,o,a,s,l){for(var u=0,d=0,h=a,m=0,v=0,b=0,S=1,k=1,E=1,_=0,T="",A=i,I=o,R=r,D=T;k;)switch(b=_,_=Pa()){case 40:if(b!=108&&Wi(D,h-1)==58){i7(D+=An(i4(_),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:D+=i4(_);break;case 9:case 10:case 13:case 32:D+=hne(b);break;case 92:D+=pne(r4()-1,7);continue;case 47:switch(Yl()){case 42:case 47:F3(yne(gne(Pa(),r4()),t,n),l);break;default:D+="/"}break;case 123*S:s[u++]=Bl(D)*E;case 125*S:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+d:v>0&&Bl(D)-h&&F3(v>32?_L(D+";",r,n,h-1):_L(An(D," ","")+";",r,n,h-2),l);break;case 59:D+=";";default:if(F3(R=CL(D,t,n,u,d,i,s,T,A=[],I=[],h),o),_===123)if(d===0)o4(D,t,R,R,A,o,h,s,I);else switch(m===99&&Wi(D,3)===110?100:m){case 100:case 109:case 115:o4(e,R,R,r&&F3(CL(e,R,R,0,0,i,s,T,i,A=[],h),I),i,I,h,s,r?A:I);break;default:o4(D,R,R,R,[""],I,0,s,I)}}u=d=v=0,S=E=1,T=D="",h=a;break;case 58:h=1+Bl(D),v=b;default:if(S<1){if(_==123)--S;else if(_==125&&S++==0&&fne()==125)continue}switch(D+=bS(_),_*S){case 38:E=d>0?1:(D+="\f",-1);break;case 44:s[u++]=(Bl(D)-1)*E,E=1;break;case 64:Yl()===45&&(D+=i4(Pa())),m=Yl(),d=h=Bl(T=D+=mne(r4())),_++;break;case 45:b===45&&Bl(D)==2&&(S=0)}}return o}function CL(e,t,n,r,i,o,a,s,l,u,d){for(var h=i-1,m=i===0?o:[""],v=x_(m),b=0,S=0,k=0;b0?m[E]+" "+_:An(_,/&\f/g,m[E])))&&(l[k++]=T);return xS(e,t,n,i===0?b_:s,l,u,d)}function yne(e,t,n){return xS(e,t,n,wj,bS(dne()),g2(e,2,-2),0)}function _L(e,t,n,r){return xS(e,t,n,S_,g2(e,0,r),g2(e,r+1,-1),r)}function hm(e,t){for(var n="",r=x_(e),i=0;i6)switch(Wi(e,t+1)){case 109:if(Wi(e,t+4)!==45)break;case 102:return An(e,/(.+:)(.+)-([^]+)/,"$1"+Cn+"$2-$3$1"+W4+(Wi(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~i7(e,"stretch")?Lj(An(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wi(e,t+1)!==115)break;case 6444:switch(Wi(e,Bl(e)-3-(~i7(e,"!important")&&10))){case 107:return An(e,":",":"+Cn)+e;case 101:return An(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Cn+(Wi(e,14)===45?"inline-":"")+"box$3$1"+Cn+"$2$3$1"+eo+"$2box$3")+e}break;case 5936:switch(Wi(e,t+11)){case 114:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Cn+e+eo+e+e}return e}var Pne=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S_:t.return=Lj(t.value,t.length);break;case Cj:return hm([$1(t,{value:An(t.value,"@","@"+Cn)})],i);case b_:if(t.length)return cne(t.props,function(o){switch(une(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hm([$1(t,{props:[An(o,/:(read-\w+)/,":"+W4+"$1")]})],i);case"::placeholder":return hm([$1(t,{props:[An(o,/:(plac\w+)/,":"+Cn+"input-$1")]}),$1(t,{props:[An(o,/:(plac\w+)/,":"+W4+"$1")]}),$1(t,{props:[An(o,/:(plac\w+)/,eo+"input-$1")]})],i)}return""})}},Tne=[Pne],Aj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var k=S.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var i=t.stylisPlugins||Tne,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var k=S.getAttribute("data-emotion").split(" "),E=1;E{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?j3.dark:j3.light),document.body.classList.remove(r?j3.light:j3.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){return n.query().matches??r==="dark"?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var Nee="chakra-ui-color-mode";function jee(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var Bee=jee(Nee),hL=()=>{};function pL(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function hj(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=Bee}=e,s=i==="dark"?"dark":"light",[l,u]=w.useState(()=>pL(a,s)),[d,h]=w.useState(()=>pL(a)),{getSystemTheme:m,setClassName:v,setDataset:b,addListener:S}=w.useMemo(()=>Dee({preventTransition:o}),[o]),k=i==="system"&&!l?d:l,E=w.useCallback(A=>{const I=A==="system"?m():A;u(I),v(I==="dark"),b(I),a.set(I)},[a,m,v,b]);Ws(()=>{i==="system"&&h(m())},[]),w.useEffect(()=>{const A=a.get();if(A){E(A);return}if(i==="system"){E("system");return}E(s)},[a,s,i,E]);const _=w.useCallback(()=>{E(k==="dark"?"light":"dark")},[k,E]);w.useEffect(()=>{if(r)return S(E)},[r,S,E]);const T=w.useMemo(()=>({colorMode:t??k,toggleColorMode:t?hL:_,setColorMode:t?hL:E,forced:t!==void 0}),[k,_,E,t]);return N.createElement(m_.Provider,{value:T},n)}hj.displayName="ColorModeProvider";var H4={},$ee={get exports(){return H4},set exports(e){H4=e}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Function]",b="[object GeneratorFunction]",S="[object Map]",k="[object Number]",E="[object Null]",_="[object Object]",T="[object Proxy]",A="[object RegExp]",I="[object Set]",R="[object String]",D="[object Undefined]",j="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",K="[object Float32Array]",te="[object Float64Array]",q="[object Int8Array]",$="[object Int16Array]",U="[object Int32Array]",X="[object Uint8Array]",Z="[object Uint8ClampedArray]",W="[object Uint16Array]",Q="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,fe=/^\[object .+?Constructor\]$/,Se=/^(?:0|[1-9]\d*)$/,Pe={};Pe[K]=Pe[te]=Pe[q]=Pe[$]=Pe[U]=Pe[X]=Pe[Z]=Pe[W]=Pe[Q]=!0,Pe[s]=Pe[l]=Pe[z]=Pe[d]=Pe[V]=Pe[h]=Pe[m]=Pe[v]=Pe[S]=Pe[k]=Pe[_]=Pe[A]=Pe[I]=Pe[R]=Pe[j]=!1;var ye=typeof Co=="object"&&Co&&Co.Object===Object&&Co,We=typeof self=="object"&&self&&self.Object===Object&&self,De=ye||We||Function("return this")(),ot=t&&!t.nodeType&&t,He=ot&&!0&&e&&!e.nodeType&&e,Be=He&&He.exports===ot,wt=Be&&ye.process,st=function(){try{var Y=He&&He.require&&He.require("util").types;return Y||wt&&wt.binding&&wt.binding("util")}catch{}}(),mt=st&&st.isTypedArray;function St(Y,re,ge){switch(ge.length){case 0:return Y.call(re);case 1:return Y.call(re,ge[0]);case 2:return Y.call(re,ge[0],ge[1]);case 3:return Y.call(re,ge[0],ge[1],ge[2])}return Y.apply(re,ge)}function Le(Y,re){for(var ge=-1,it=Array(Y);++ge-1}function N0(Y,re){var ge=this.__data__,it=ms(ge,Y);return it<0?(++this.size,ge.push([Y,re])):ge[it][1]=re,this}ia.prototype.clear=vf,ia.prototype.delete=D0,ia.prototype.get=bc,ia.prototype.has=yf,ia.prototype.set=N0;function il(Y){var re=-1,ge=Y==null?0:Y.length;for(this.clear();++re1?ge[Wt-1]:void 0,kt=Wt>2?ge[2]:void 0;for(Sn=Y.length>3&&typeof Sn=="function"?(Wt--,Sn):void 0,kt&&Ap(ge[0],ge[1],kt)&&(Sn=Wt<3?void 0:Sn,Wt=1),re=Object(re);++it-1&&Y%1==0&&Y0){if(++re>=i)return arguments[0]}else re=0;return Y.apply(void 0,arguments)}}function _c(Y){if(Y!=null){try{return Ye.call(Y)}catch{}try{return Y+""}catch{}}return""}function $a(Y,re){return Y===re||Y!==Y&&re!==re}var Cf=bu(function(){return arguments}())?bu:function(Y){return Xn(Y)&&Ke.call(Y,"callee")&&!Xe.call(Y,"callee")},wu=Array.isArray;function Yt(Y){return Y!=null&&Mp(Y.length)&&!Ec(Y)}function Op(Y){return Xn(Y)&&Yt(Y)}var kc=nn||K0;function Ec(Y){if(!la(Y))return!1;var re=al(Y);return re==v||re==b||re==u||re==T}function Mp(Y){return typeof Y=="number"&&Y>-1&&Y%1==0&&Y<=a}function la(Y){var re=typeof Y;return Y!=null&&(re=="object"||re=="function")}function Xn(Y){return Y!=null&&typeof Y=="object"}function _f(Y){if(!Xn(Y)||al(Y)!=_)return!1;var re=tn(Y);if(re===null)return!0;var ge=Ke.call(re,"constructor")&&re.constructor;return typeof ge=="function"&&ge instanceof ge&&Ye.call(ge)==Ct}var Ip=mt?lt(mt):xc;function kf(Y){return ui(Y,Rp(Y))}function Rp(Y){return Yt(Y)?G0(Y,!0):sl(Y)}var gn=vs(function(Y,re,ge,it){oa(Y,re,ge,it)});function Kt(Y){return function(){return Y}}function Dp(Y){return Y}function K0(){return!1}e.exports=gn})($ee,H4);const Wl=H4;function Us(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function xh(e,...t){return Fee(e)?e(...t):e}var Fee=e=>typeof e=="function",zee=e=>/!(important)?$/.test(e),gL=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,JC=(e,t)=>n=>{const r=String(t),i=zee(r),o=gL(r),a=e?`${e}.${o}`:o;let s=Us(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=gL(s),i?`${s} !important`:s};function p2(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const s=JC(t,o)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}var B3=(...e)=>t=>e.reduce((n,r)=>r(n),t);function As(e,t){return n=>{const r={property:n,scale:e};return r.transform=p2({scale:e,transform:t}),r}}var Hee=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Vee(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:Hee(t),transform:n?p2({scale:n,compose:r}):r}}var pj=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Wee(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...pj].join(" ")}function Uee(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...pj].join(" ")}var Gee={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},qee={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Yee(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Kee={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},gj="& > :not(style) ~ :not(style)",Xee={[gj]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},Zee={[gj]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},e7={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Qee=new Set(Object.values(e7)),mj=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Jee=e=>e.trim();function ete(e,t){var n;if(e==null||mj.has(e))return e;const r=/(?^[a-z-A-Z]+)\((?(.*))\)/g,{type:i,values:o}=((n=r.exec(e))==null?void 0:n.groups)??{};if(!i||!o)return e;const a=i.includes("-gradient")?i:`${i}-gradient`,[s,...l]=o.split(",").map(Jee).filter(Boolean);if((l==null?void 0:l.length)===0)return e;const u=s in e7?e7[s]:s;l.unshift(u);const d=l.map(h=>{if(Qee.has(h))return h;const m=h.indexOf(" "),[v,b]=m!==-1?[h.substr(0,m),h.substr(m+1)]:[h],S=vj(b)?b:b&&b.split(" "),k=`colors.${v}`,E=k in t.__cssMap?t.__cssMap[k].varRef:v;return S?[E,...Array.isArray(S)?S:[S]].join(" "):E});return`${a}(${d.join(", ")})`}var vj=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),tte=(e,t)=>ete(e,t??{});function nte(e){return/^var\(--.+\)$/.test(e)}var rte=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Tl=e=>t=>`${e}(${t})`,hn={filter(e){return e!=="auto"?e:Gee},backdropFilter(e){return e!=="auto"?e:qee},ring(e){return Yee(hn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Wee():e==="auto-gpu"?Uee():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=rte(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(nte(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:tte,blur:Tl("blur"),opacity:Tl("opacity"),brightness:Tl("brightness"),contrast:Tl("contrast"),dropShadow:Tl("drop-shadow"),grayscale:Tl("grayscale"),hueRotate:Tl("hue-rotate"),invert:Tl("invert"),saturate:Tl("saturate"),sepia:Tl("sepia"),bgImage(e){return e==null||vj(e)||mj.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Kee[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},se={borderWidths:As("borderWidths"),borderStyles:As("borderStyles"),colors:As("colors"),borders:As("borders"),radii:As("radii",hn.px),space:As("space",B3(hn.vh,hn.px)),spaceT:As("space",B3(hn.vh,hn.px)),degreeT(e){return{property:e,transform:hn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:p2({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:As("sizes",B3(hn.vh,hn.px)),sizesT:As("sizes",B3(hn.vh,hn.fraction)),shadows:As("shadows"),logical:Vee,blur:As("blur",hn.blur)},n4={background:se.colors("background"),backgroundColor:se.colors("backgroundColor"),backgroundImage:se.propT("backgroundImage",hn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:hn.bgClip},bgSize:se.prop("backgroundSize"),bgPosition:se.prop("backgroundPosition"),bg:se.colors("background"),bgColor:se.colors("backgroundColor"),bgPos:se.prop("backgroundPosition"),bgRepeat:se.prop("backgroundRepeat"),bgAttachment:se.prop("backgroundAttachment"),bgGradient:se.propT("backgroundImage",hn.gradient),bgClip:{transform:hn.bgClip}};Object.assign(n4,{bgImage:n4.backgroundImage,bgImg:n4.backgroundImage});var wn={border:se.borders("border"),borderWidth:se.borderWidths("borderWidth"),borderStyle:se.borderStyles("borderStyle"),borderColor:se.colors("borderColor"),borderRadius:se.radii("borderRadius"),borderTop:se.borders("borderTop"),borderBlockStart:se.borders("borderBlockStart"),borderTopLeftRadius:se.radii("borderTopLeftRadius"),borderStartStartRadius:se.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:se.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:se.radii("borderTopRightRadius"),borderStartEndRadius:se.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:se.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:se.borders("borderRight"),borderInlineEnd:se.borders("borderInlineEnd"),borderBottom:se.borders("borderBottom"),borderBlockEnd:se.borders("borderBlockEnd"),borderBottomLeftRadius:se.radii("borderBottomLeftRadius"),borderBottomRightRadius:se.radii("borderBottomRightRadius"),borderLeft:se.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:se.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:se.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:se.borders(["borderLeft","borderRight"]),borderInline:se.borders("borderInline"),borderY:se.borders(["borderTop","borderBottom"]),borderBlock:se.borders("borderBlock"),borderTopWidth:se.borderWidths("borderTopWidth"),borderBlockStartWidth:se.borderWidths("borderBlockStartWidth"),borderTopColor:se.colors("borderTopColor"),borderBlockStartColor:se.colors("borderBlockStartColor"),borderTopStyle:se.borderStyles("borderTopStyle"),borderBlockStartStyle:se.borderStyles("borderBlockStartStyle"),borderBottomWidth:se.borderWidths("borderBottomWidth"),borderBlockEndWidth:se.borderWidths("borderBlockEndWidth"),borderBottomColor:se.colors("borderBottomColor"),borderBlockEndColor:se.colors("borderBlockEndColor"),borderBottomStyle:se.borderStyles("borderBottomStyle"),borderBlockEndStyle:se.borderStyles("borderBlockEndStyle"),borderLeftWidth:se.borderWidths("borderLeftWidth"),borderInlineStartWidth:se.borderWidths("borderInlineStartWidth"),borderLeftColor:se.colors("borderLeftColor"),borderInlineStartColor:se.colors("borderInlineStartColor"),borderLeftStyle:se.borderStyles("borderLeftStyle"),borderInlineStartStyle:se.borderStyles("borderInlineStartStyle"),borderRightWidth:se.borderWidths("borderRightWidth"),borderInlineEndWidth:se.borderWidths("borderInlineEndWidth"),borderRightColor:se.colors("borderRightColor"),borderInlineEndColor:se.colors("borderInlineEndColor"),borderRightStyle:se.borderStyles("borderRightStyle"),borderInlineEndStyle:se.borderStyles("borderInlineEndStyle"),borderTopRadius:se.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:se.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:se.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:se.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(wn,{rounded:wn.borderRadius,roundedTop:wn.borderTopRadius,roundedTopLeft:wn.borderTopLeftRadius,roundedTopRight:wn.borderTopRightRadius,roundedTopStart:wn.borderStartStartRadius,roundedTopEnd:wn.borderStartEndRadius,roundedBottom:wn.borderBottomRadius,roundedBottomLeft:wn.borderBottomLeftRadius,roundedBottomRight:wn.borderBottomRightRadius,roundedBottomStart:wn.borderEndStartRadius,roundedBottomEnd:wn.borderEndEndRadius,roundedLeft:wn.borderLeftRadius,roundedRight:wn.borderRightRadius,roundedStart:wn.borderInlineStartRadius,roundedEnd:wn.borderInlineEndRadius,borderStart:wn.borderInlineStart,borderEnd:wn.borderInlineEnd,borderTopStartRadius:wn.borderStartStartRadius,borderTopEndRadius:wn.borderStartEndRadius,borderBottomStartRadius:wn.borderEndStartRadius,borderBottomEndRadius:wn.borderEndEndRadius,borderStartRadius:wn.borderInlineStartRadius,borderEndRadius:wn.borderInlineEndRadius,borderStartWidth:wn.borderInlineStartWidth,borderEndWidth:wn.borderInlineEndWidth,borderStartColor:wn.borderInlineStartColor,borderEndColor:wn.borderInlineEndColor,borderStartStyle:wn.borderInlineStartStyle,borderEndStyle:wn.borderInlineEndStyle});var ite={color:se.colors("color"),textColor:se.colors("color"),fill:se.colors("fill"),stroke:se.colors("stroke")},t7={boxShadow:se.shadows("boxShadow"),mixBlendMode:!0,blendMode:se.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:se.prop("backgroundBlendMode"),opacity:!0};Object.assign(t7,{shadow:t7.boxShadow});var ote={filter:{transform:hn.filter},blur:se.blur("--chakra-blur"),brightness:se.propT("--chakra-brightness",hn.brightness),contrast:se.propT("--chakra-contrast",hn.contrast),hueRotate:se.degreeT("--chakra-hue-rotate"),invert:se.propT("--chakra-invert",hn.invert),saturate:se.propT("--chakra-saturate",hn.saturate),dropShadow:se.propT("--chakra-drop-shadow",hn.dropShadow),backdropFilter:{transform:hn.backdropFilter},backdropBlur:se.blur("--chakra-backdrop-blur"),backdropBrightness:se.propT("--chakra-backdrop-brightness",hn.brightness),backdropContrast:se.propT("--chakra-backdrop-contrast",hn.contrast),backdropHueRotate:se.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:se.propT("--chakra-backdrop-invert",hn.invert),backdropSaturate:se.propT("--chakra-backdrop-saturate",hn.saturate)},V4={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:hn.flexDirection},experimental_spaceX:{static:Xee,transform:p2({scale:"space",transform:e=>e!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:Zee,transform:p2({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:se.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:se.space("gap"),rowGap:se.space("rowGap"),columnGap:se.space("columnGap")};Object.assign(V4,{flexDir:V4.flexDirection});var yj={gridGap:se.space("gridGap"),gridColumnGap:se.space("gridColumnGap"),gridRowGap:se.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},ate={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:hn.outline},outlineOffset:!0,outlineColor:se.colors("outlineColor")},Xa={width:se.sizesT("width"),inlineSize:se.sizesT("inlineSize"),height:se.sizes("height"),blockSize:se.sizes("blockSize"),boxSize:se.sizes(["width","height"]),minWidth:se.sizes("minWidth"),minInlineSize:se.sizes("minInlineSize"),minHeight:se.sizes("minHeight"),minBlockSize:se.sizes("minBlockSize"),maxWidth:se.sizes("maxWidth"),maxInlineSize:se.sizes("maxInlineSize"),maxHeight:se.sizes("maxHeight"),maxBlockSize:se.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:se.propT("float",hn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Xa,{w:Xa.width,h:Xa.height,minW:Xa.minWidth,maxW:Xa.maxWidth,minH:Xa.minHeight,maxH:Xa.maxHeight,overscroll:Xa.overscrollBehavior,overscrollX:Xa.overscrollBehaviorX,overscrollY:Xa.overscrollBehaviorY});var ste={listStyleType:!0,listStylePosition:!0,listStylePos:se.prop("listStylePosition"),listStyleImage:!0,listStyleImg:se.prop("listStyleImage")};function lte(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},cte=ute(lte),dte={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},fte={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},qw=(e,t,n)=>{const r={},i=cte(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},hte={srOnly:{transform(e){return e===!0?dte:e==="focusable"?fte:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>qw(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>qw(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>qw(t,e,n)}},Rv={position:!0,pos:se.prop("position"),zIndex:se.prop("zIndex","zIndices"),inset:se.spaceT("inset"),insetX:se.spaceT(["left","right"]),insetInline:se.spaceT("insetInline"),insetY:se.spaceT(["top","bottom"]),insetBlock:se.spaceT("insetBlock"),top:se.spaceT("top"),insetBlockStart:se.spaceT("insetBlockStart"),bottom:se.spaceT("bottom"),insetBlockEnd:se.spaceT("insetBlockEnd"),left:se.spaceT("left"),insetInlineStart:se.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:se.spaceT("right"),insetInlineEnd:se.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rv,{insetStart:Rv.insetInlineStart,insetEnd:Rv.insetInlineEnd});var pte={ring:{transform:hn.ring},ringColor:se.colors("--chakra-ring-color"),ringOffset:se.prop("--chakra-ring-offset-width"),ringOffsetColor:se.colors("--chakra-ring-offset-color"),ringInset:se.prop("--chakra-ring-inset")},ar={margin:se.spaceT("margin"),marginTop:se.spaceT("marginTop"),marginBlockStart:se.spaceT("marginBlockStart"),marginRight:se.spaceT("marginRight"),marginInlineEnd:se.spaceT("marginInlineEnd"),marginBottom:se.spaceT("marginBottom"),marginBlockEnd:se.spaceT("marginBlockEnd"),marginLeft:se.spaceT("marginLeft"),marginInlineStart:se.spaceT("marginInlineStart"),marginX:se.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:se.spaceT("marginInline"),marginY:se.spaceT(["marginTop","marginBottom"]),marginBlock:se.spaceT("marginBlock"),padding:se.space("padding"),paddingTop:se.space("paddingTop"),paddingBlockStart:se.space("paddingBlockStart"),paddingRight:se.space("paddingRight"),paddingBottom:se.space("paddingBottom"),paddingBlockEnd:se.space("paddingBlockEnd"),paddingLeft:se.space("paddingLeft"),paddingInlineStart:se.space("paddingInlineStart"),paddingInlineEnd:se.space("paddingInlineEnd"),paddingX:se.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:se.space("paddingInline"),paddingY:se.space(["paddingTop","paddingBottom"]),paddingBlock:se.space("paddingBlock")};Object.assign(ar,{m:ar.margin,mt:ar.marginTop,mr:ar.marginRight,me:ar.marginInlineEnd,marginEnd:ar.marginInlineEnd,mb:ar.marginBottom,ml:ar.marginLeft,ms:ar.marginInlineStart,marginStart:ar.marginInlineStart,mx:ar.marginX,my:ar.marginY,p:ar.padding,pt:ar.paddingTop,py:ar.paddingY,px:ar.paddingX,pb:ar.paddingBottom,pl:ar.paddingLeft,ps:ar.paddingInlineStart,paddingStart:ar.paddingInlineStart,pr:ar.paddingRight,pe:ar.paddingInlineEnd,paddingEnd:ar.paddingInlineEnd});var gte={textDecorationColor:se.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:se.shadows("textShadow")},mte={clipPath:!0,transform:se.propT("transform",hn.transform),transformOrigin:!0,translateX:se.spaceT("--chakra-translate-x"),translateY:se.spaceT("--chakra-translate-y"),skewX:se.degreeT("--chakra-skew-x"),skewY:se.degreeT("--chakra-skew-y"),scaleX:se.prop("--chakra-scale-x"),scaleY:se.prop("--chakra-scale-y"),scale:se.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:se.degreeT("--chakra-rotate")},vte={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:se.prop("transitionDuration","transition.duration"),transitionProperty:se.prop("transitionProperty","transition.property"),transitionTimingFunction:se.prop("transitionTimingFunction","transition.easing")},yte={fontFamily:se.prop("fontFamily","fonts"),fontSize:se.prop("fontSize","fontSizes",hn.px),fontWeight:se.prop("fontWeight","fontWeights"),lineHeight:se.prop("lineHeight","lineHeights"),letterSpacing:se.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},bte={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:se.spaceT("scrollMargin"),scrollMarginTop:se.spaceT("scrollMarginTop"),scrollMarginBottom:se.spaceT("scrollMarginBottom"),scrollMarginLeft:se.spaceT("scrollMarginLeft"),scrollMarginRight:se.spaceT("scrollMarginRight"),scrollMarginX:se.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:se.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:se.spaceT("scrollPadding"),scrollPaddingTop:se.spaceT("scrollPaddingTop"),scrollPaddingBottom:se.spaceT("scrollPaddingBottom"),scrollPaddingLeft:se.spaceT("scrollPaddingLeft"),scrollPaddingRight:se.spaceT("scrollPaddingRight"),scrollPaddingX:se.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:se.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function bj(e){return Us(e)&&e.reference?e.reference:String(e)}var yS=(e,...t)=>t.map(bj).join(` ${e} `).replace(/calc/g,""),mL=(...e)=>`calc(${yS("+",...e)})`,vL=(...e)=>`calc(${yS("-",...e)})`,n7=(...e)=>`calc(${yS("*",...e)})`,yL=(...e)=>`calc(${yS("/",...e)})`,bL=e=>{const t=bj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:n7(t,-1)},yh=Object.assign(e=>({add:(...t)=>yh(mL(e,...t)),subtract:(...t)=>yh(vL(e,...t)),multiply:(...t)=>yh(n7(e,...t)),divide:(...t)=>yh(yL(e,...t)),negate:()=>yh(bL(e)),toString:()=>e.toString()}),{add:mL,subtract:vL,multiply:n7,divide:yL,negate:bL});function Ste(e,t="-"){return e.replace(/\s+/g,t)}function xte(e){const t=Ste(e.toString());return Cte(wte(t))}function wte(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Cte(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function _te(e,t=""){return[t,e].filter(Boolean).join("-")}function kte(e,t){return`var(${e}${t?`, ${t}`:""})`}function Ete(e,t=""){return xte(`--${_te(e,t)}`)}function Vn(e,t,n){const r=Ete(e,n);return{variable:r,reference:kte(r,t)}}function Pte(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function Tte(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function r7(e){if(e==null)return e;const{unitless:t}=Tte(e);return t||typeof e=="number"?`${e}px`:e}var Sj=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,v_=e=>Object.fromEntries(Object.entries(e).sort(Sj));function SL(e){const t=v_(e);return Object.assign(Object.values(t),t)}function Lte(e){const t=Object.keys(v_(e));return new Set(t)}function xL(e){if(!e)return e;e=r7(e)??e;const t=e.endsWith("px")?-1:-.0625;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function mv(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${r7(e)})`),t&&n.push("and",`(max-width: ${r7(t)})`),n.join(" ")}function Ate(e){if(!e)return null;e.base=e.base??"0px";const t=SL(e),n=Object.entries(e).sort(Sj).map(([o,a],s,l)=>{let[,u]=l[s+1]??[];return u=parseFloat(u)>0?xL(u):void 0,{_minW:xL(a),breakpoint:o,minW:a,maxW:u,maxWQuery:mv(null,u),minWQuery:mv(a),minMaxQuery:mv(a,u)}}),r=Lte(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(s=>r.has(s))},asObject:v_(e),asArray:SL(e),details:n,media:[null,...t.map(o=>mv(o)).slice(1)],toArrayValue(o){if(!Us(o))throw new Error("toArrayValue: value must be an object");const a=i.map(s=>o[s]??null);for(;Pte(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,s,l)=>{const u=i[l];return u!=null&&s!=null&&(a[u]=s),a},{})}}}var Fi={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},id=e=>xj(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Nu=e=>xj(t=>e(t,"~ &"),"[data-peer]",".peer"),xj=(e,...t)=>t.map(e).join(", "),bS={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:id(Fi.hover),_peerHover:Nu(Fi.hover),_groupFocus:id(Fi.focus),_peerFocus:Nu(Fi.focus),_groupFocusVisible:id(Fi.focusVisible),_peerFocusVisible:Nu(Fi.focusVisible),_groupActive:id(Fi.active),_peerActive:Nu(Fi.active),_groupDisabled:id(Fi.disabled),_peerDisabled:Nu(Fi.disabled),_groupInvalid:id(Fi.invalid),_peerInvalid:Nu(Fi.invalid),_groupChecked:id(Fi.checked),_peerChecked:Nu(Fi.checked),_groupFocusWithin:id(Fi.focusWithin),_peerFocusWithin:Nu(Fi.focusWithin),_peerPlaceholderShown:Nu(Fi.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Ote=Object.keys(bS);function wL(e,t){return Vn(String(e).replace(/\./g,"-"),void 0,t)}function Mte(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:u}=wL(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const m=i.split("."),[v,...b]=m,S=`${v}.-${b.join(".")}`,k=yh.negate(s),E=yh.negate(u);r[S]={value:k,var:l,varRef:E}}n[l]=s,r[i]={value:s,var:l,varRef:u};continue}const d=m=>{const b=[String(i).split(".")[0],m].join(".");if(!e[b])return m;const{reference:k}=wL(b,t==null?void 0:t.cssVarPrefix);return k},h=Us(s)?s:{default:s};n=Wl(n,Object.entries(h).reduce((m,[v,b])=>{var S;const k=d(b);if(v==="default")return m[l]=k,m;const E=((S=bS)==null?void 0:S[v])??v;return m[E]={[l]:k},m},{})),r[i]={value:u,var:l,varRef:u}}return{cssVars:n,cssMap:r}}function Ite(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Rte(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var Dte=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Nte(e){return Rte(e,Dte)}function jte(e){return e.semanticTokens}function Bte(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function $te({tokens:e,semanticTokens:t}){const n=Object.entries(i7(e)??{}).map(([i,o])=>[i,{isSemantic:!1,value:o}]),r=Object.entries(i7(t,1)??{}).map(([i,o])=>[i,{isSemantic:!0,value:o}]);return Object.fromEntries([...n,...r])}function i7(e,t=1/0){return!Us(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(Us(i)||Array.isArray(i)?Object.entries(i7(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function Fte(e){var t;const n=Bte(e),r=Nte(n),i=jte(n),o=$te({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=Mte(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:Ate(n.breakpoints)}),n}var y_=Wl({},n4,wn,ite,V4,Xa,ote,pte,ate,yj,hte,Rv,t7,ar,bte,yte,gte,mte,ste,vte),zte=Object.assign({},ar,Xa,V4,yj,Rv),Hte=Object.keys(zte),Vte=[...Object.keys(y_),...Ote],Wte={...y_,...bS},Ute=e=>e in Wte,Gte=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=xh(e[a],t);if(s==null)continue;if(s=Us(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let u=0;ue.startsWith("--")&&typeof t=="string"&&!Yte(t),Xte=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[i,o]=qte(t);return t=n(i)??r(o)??r(t),t};function Zte(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var s;const l=xh(o,r),u=Gte(l)(r);let d={};for(let h in u){const m=u[h];let v=xh(m,r);h in n&&(h=n[h]),Kte(h,v)&&(v=Xte(r,v));let b=t[h];if(b===!0&&(b={property:h}),Us(v)){d[h]=d[h]??{},d[h]=Wl({},d[h],i(v,!0));continue}let S=((s=b==null?void 0:b.transform)==null?void 0:s.call(b,v,r,l))??v;S=b!=null&&b.processResult?i(S,!0):S;const k=xh(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const E=xh(b.static,r);d=Wl({},d,E)}if(k&&Array.isArray(k)){for(const E of k)d[E]=S;continue}if(k){k==="&"&&Us(S)?d=Wl({},d,S):d[k]=S;continue}if(Us(S)){d=Wl({},d,S);continue}d[h]=S}return d};return i}var wj=e=>t=>Zte({theme:t,pseudos:bS,configs:y_})(e);function hr(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function Qte(e,t){if(Array.isArray(e))return e;if(Us(e))return t(e);if(e!=null)return[e]}function Jte(e,t){for(let n=t+1;n{Wl(u,{[T]:m?_[T]:{[E]:_[T]}})});continue}if(!v){m?Wl(u,_):u[E]=_;continue}u[E]=_}}return u}}function tne(e){return t=>{const{variant:n,size:r,theme:i}=t,o=ene(i);return Wl({},xh(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function nne(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function En(e){return Ite(e,["styleConfig","size","variant","colorScheme"])}function rne(e){if(e.sheet)return e.sheet;for(var t=0;t0?Wi(f0,--na):0,zm--,ii===10&&(zm=1,xS--),ii}function Pa(){return ii=na2||m2(ii)>3?"":" "}function gne(e,t){for(;--t&&Pa()&&!(ii<48||ii>102||ii>57&&ii<65||ii>70&&ii<97););return fy(e,r4()+(t<6&&Yl()==32&&Pa()==32))}function a7(e){for(;Pa();)switch(ii){case e:return na;case 34:case 39:e!==34&&e!==39&&a7(ii);break;case 40:e===41&&a7(e);break;case 92:Pa();break}return na}function mne(e,t){for(;Pa()&&e+ii!==47+10;)if(e+ii===42+42&&Yl()===47)break;return"/*"+fy(t,na-1)+"*"+SS(e===47?e:Pa())}function vne(e){for(;!m2(Yl());)Pa();return fy(e,na)}function yne(e){return Tj(o4("",null,null,null,[""],e=Pj(e),0,[0],e))}function o4(e,t,n,r,i,o,a,s,l){for(var u=0,d=0,h=a,m=0,v=0,b=0,S=1,k=1,E=1,_=0,T="",A=i,I=o,R=r,D=T;k;)switch(b=_,_=Pa()){case 40:if(b!=108&&Wi(D,h-1)==58){o7(D+=An(i4(_),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:D+=i4(_);break;case 9:case 10:case 13:case 32:D+=pne(b);break;case 92:D+=gne(r4()-1,7);continue;case 47:switch(Yl()){case 42:case 47:$3(bne(mne(Pa(),r4()),t,n),l);break;default:D+="/"}break;case 123*S:s[u++]=Bl(D)*E;case 125*S:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+d:v>0&&Bl(D)-h&&$3(v>32?_L(D+";",r,n,h-1):_L(An(D," ","")+";",r,n,h-2),l);break;case 59:D+=";";default:if($3(R=CL(D,t,n,u,d,i,s,T,A=[],I=[],h),o),_===123)if(d===0)o4(D,t,R,R,A,o,h,s,I);else switch(m===99&&Wi(D,3)===110?100:m){case 100:case 109:case 115:o4(e,R,R,r&&$3(CL(e,R,R,0,0,i,s,T,i,A=[],h),I),i,I,h,s,r?A:I);break;default:o4(D,R,R,R,[""],I,0,s,I)}}u=d=v=0,S=E=1,T=D="",h=a;break;case 58:h=1+Bl(D),v=b;default:if(S<1){if(_==123)--S;else if(_==125&&S++==0&&hne()==125)continue}switch(D+=SS(_),_*S){case 38:E=d>0?1:(D+="\f",-1);break;case 44:s[u++]=(Bl(D)-1)*E,E=1;break;case 64:Yl()===45&&(D+=i4(Pa())),m=Yl(),d=h=Bl(T=D+=vne(r4())),_++;break;case 45:b===45&&Bl(D)==2&&(S=0)}}return o}function CL(e,t,n,r,i,o,a,s,l,u,d){for(var h=i-1,m=i===0?o:[""],v=x_(m),b=0,S=0,k=0;b0?m[E]+" "+_:An(_,/&\f/g,m[E])))&&(l[k++]=T);return wS(e,t,n,i===0?b_:s,l,u,d)}function bne(e,t,n){return wS(e,t,n,Cj,SS(fne()),g2(e,2,-2),0)}function _L(e,t,n,r){return wS(e,t,n,S_,g2(e,0,r),g2(e,r+1,-1),r)}function hm(e,t){for(var n="",r=x_(e),i=0;i6)switch(Wi(e,t+1)){case 109:if(Wi(e,t+4)!==45)break;case 102:return An(e,/(.+:)(.+)-([^]+)/,"$1"+Cn+"$2-$3$1"+W4+(Wi(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~o7(e,"stretch")?Aj(An(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wi(e,t+1)!==115)break;case 6444:switch(Wi(e,Bl(e)-3-(~o7(e,"!important")&&10))){case 107:return An(e,":",":"+Cn)+e;case 101:return An(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Cn+(Wi(e,14)===45?"inline-":"")+"box$3$1"+Cn+"$2$3$1"+eo+"$2box$3")+e}break;case 5936:switch(Wi(e,t+11)){case 114:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Cn+e+eo+e+e}return e}var Tne=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S_:t.return=Aj(t.value,t.length);break;case _j:return hm([F1(t,{value:An(t.value,"@","@"+Cn)})],i);case b_:if(t.length)return dne(t.props,function(o){switch(cne(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hm([F1(t,{props:[An(o,/:(read-\w+)/,":"+W4+"$1")]})],i);case"::placeholder":return hm([F1(t,{props:[An(o,/:(plac\w+)/,":"+Cn+"input-$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,":"+W4+"$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,eo+"input-$1")]})],i)}return""})}},Lne=[Tne],Oj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var k=S.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var i=t.stylisPlugins||Lne,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var k=S.getAttribute("data-emotion").split(" "),E=1;E=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var $ne={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},zne=/[A-Z]|^ms/g,Hne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nj=function(t){return t.charCodeAt(1)===45},PL=function(t){return t!=null&&typeof t!="boolean"},qw=Tj(function(e){return Nj(e)?e:e.replace(zne,"-$&").toLowerCase()}),TL=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Hne,function(r,i,o){return Fl={name:i,styles:o,next:Fl},i})}return $ne[t]!==1&&!Nj(t)&&typeof n=="number"&&n!==0?n+"px":n};function v2(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Fl={name:n.name,styles:n.styles,next:Fl},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Fl={name:r.name,styles:r.styles,next:Fl},r=r.next;var i=n.styles+";";return i}return Vne(e,t,n)}case"function":{if(e!==void 0){var o=Fl,a=n(e);return Fl=o,v2(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Vne(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i{t.includes(r)||(n[r]=e[r])}),n}function are(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},Vj=sre(are);function Wj(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var Uj=e=>Wj(e,t=>t!=null);function lre(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var ure=lre();function Gj(e,...t){return ire(e)?e(...t):e}function cre(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function dre(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=w.createContext(void 0);i.displayName=r;function o(){var a;const s=w.useContext(i);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,o),l}return s}return[i.Provider,o,i]}var fre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,hre=Tj(function(e){return fre.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),pre=hre,gre=function(t){return t!=="theme"},ML=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?pre:gre},IL=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},mre=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Rj(n,r,i),Une(function(){return Dj(n,r,i)}),null},vre=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=IL(t,n,r),l=s||ML(i),u=!l("as");return function(){var d=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,v=1;v[h,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([h,m])=>[h,m.className]))}function l(d){const v=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:v,selector:`.${v}`,toString:()=>d}}return{parts:i,toPart:l,extend:o,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var bre=On("accordion").parts("root","container","button","panel").extend("icon"),Sre=On("alert").parts("title","description","container").extend("icon","spinner"),xre=On("avatar").parts("label","badge","container").extend("excessLabel","group"),wre=On("breadcrumb").parts("link","item","container").extend("separator");On("button").parts();var Cre=On("checkbox").parts("control","icon","container").extend("label");On("progress").parts("track","filledTrack").extend("label");var _re=On("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),kre=On("editable").parts("preview","input","textarea"),Ere=On("form").parts("container","requiredIndicator","helperText"),Pre=On("formError").parts("text","icon"),Tre=On("input").parts("addon","field","element"),Lre=On("list").parts("container","item","icon"),Are=On("menu").parts("button","list","item").extend("groupTitle","command","divider"),Ore=On("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Mre=On("numberinput").parts("root","field","stepperGroup","stepper");On("pininput").parts("field");var Ire=On("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Rre=On("progress").parts("label","filledTrack","track"),Dre=On("radio").parts("container","control","label"),Nre=On("select").parts("field","icon"),jre=On("slider").parts("container","track","thumb","filledTrack","mark"),Bre=On("stat").parts("container","label","helpText","number","icon"),Fre=On("switch").parts("container","track","thumb"),$re=On("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),zre=On("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Hre=On("tag").parts("container","label","closeButton"),Vre=On("card").parts("container","header","body","footer");function Ui(e,t){Wre(e)&&(e="100%");var n=Ure(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function $3(e){return Math.min(1,Math.max(0,e))}function Wre(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Ure(e){return typeof e=="string"&&e.indexOf("%")!==-1}function qj(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function z3(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wh(e){return e.length===1?"0"+e:String(e)}function Gre(e,t,n){return{r:Ui(e,255)*255,g:Ui(t,255)*255,b:Ui(n,255)*255}}function RL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function qre(e,t,n){var r,i,o;if(e=Ui(e,360),t=Ui(t,100),n=Ui(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Yw(s,a,e+1/3),i=Yw(s,a,e),o=Yw(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function DL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,l=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var c7={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Qre(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=tie(e)),typeof e=="object"&&(ju(e.r)&&ju(e.g)&&ju(e.b)?(t=Gre(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ju(e.h)&&ju(e.s)&&ju(e.v)?(r=z3(e.s),i=z3(e.v),t=Yre(e.h,r,i),a=!0,s="hsv"):ju(e.h)&&ju(e.s)&&ju(e.l)&&(r=z3(e.s),o=z3(e.l),t=qre(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=qj(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Jre="[-\\+]?\\d+%?",eie="[-\\+]?\\d*\\.\\d+%?",xd="(?:".concat(eie,")|(?:").concat(Jre,")"),Kw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Xw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Ds={CSS_UNIT:new RegExp(xd),rgb:new RegExp("rgb"+Kw),rgba:new RegExp("rgba"+Xw),hsl:new RegExp("hsl"+Kw),hsla:new RegExp("hsla"+Xw),hsv:new RegExp("hsv"+Kw),hsva:new RegExp("hsva"+Xw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function tie(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(c7[e])e=c7[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ds.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ds.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ds.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ds.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ds.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ds.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ds.hex8.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),a:jL(n[4]),format:t?"name":"hex8"}:(n=Ds.hex6.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),format:t?"name":"hex"}:(n=Ds.hex4.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),a:jL(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ds.hex3.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ju(e){return Boolean(Ds.CSS_UNIT.exec(String(e)))}var hy=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Zre(t)),this.originalInput=t;var i=Qre(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=qj(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=DL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=DL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=RL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=RL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NL(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Kre(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ui(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ui(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NL(this.r,this.g,this.b,!1),n=0,r=Object.entries(c7);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=$3(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=$3(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=$3(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=$3(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;an.length;)e.count=null,e.seed&&(e.seed+=1),n.push(Yj(e));return e.count=t,n}var r=nie(e.hue,e.seed),i=rie(r,e),o=iie(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new hy(a)}function nie(e,t){var n=aie(e),r=U4(n,t);return r<0&&(r=360+r),r}function rie(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return U4([0,100],t.seed);var n=Kj(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return U4([r,i],t.seed)}function iie(e,t,n){var r=oie(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return U4([r,i],n.seed)}function oie(e,t){for(var n=Kj(e).lowerBounds,r=0;r=i&&t<=a){var l=(s-o)/(a-i),u=o-l*i;return l*t+u}}return 0}function aie(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Zj.find(function(a){return a.name===e});if(n){var r=Xj(n);if(r.hueRange)return r.hueRange}var i=new hy(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Kj(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Zj;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function U4(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function Xj(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Zj=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];function sie(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;rObject.keys(e).length===0,Co=(e,t,n)=>{const r=sie(e,`colors.${t}`,t),{isValid:i}=new hy(r);return i?r:n},uie=e=>t=>{const n=Co(t,e);return new hy(n).isDark()?"dark":"light"},cie=e=>t=>uie(e)(t)==="dark",Hm=(e,t)=>n=>{const r=Co(n,e);return new hy(r).setAlpha(t).toRgbString()};function BL(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( + */var Ai=typeof Symbol=="function"&&Symbol.for,w_=Ai?Symbol.for("react.element"):60103,C_=Ai?Symbol.for("react.portal"):60106,CS=Ai?Symbol.for("react.fragment"):60107,_S=Ai?Symbol.for("react.strict_mode"):60108,kS=Ai?Symbol.for("react.profiler"):60114,ES=Ai?Symbol.for("react.provider"):60109,PS=Ai?Symbol.for("react.context"):60110,__=Ai?Symbol.for("react.async_mode"):60111,TS=Ai?Symbol.for("react.concurrent_mode"):60111,LS=Ai?Symbol.for("react.forward_ref"):60112,AS=Ai?Symbol.for("react.suspense"):60113,One=Ai?Symbol.for("react.suspense_list"):60120,OS=Ai?Symbol.for("react.memo"):60115,MS=Ai?Symbol.for("react.lazy"):60116,Mne=Ai?Symbol.for("react.block"):60121,Ine=Ai?Symbol.for("react.fundamental"):60117,Rne=Ai?Symbol.for("react.responder"):60118,Dne=Ai?Symbol.for("react.scope"):60119;function Ra(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case w_:switch(e=e.type,e){case __:case TS:case CS:case kS:case _S:case AS:return e;default:switch(e=e&&e.$$typeof,e){case PS:case LS:case MS:case OS:case ES:return e;default:return t}}case C_:return t}}}function Mj(e){return Ra(e)===TS}$n.AsyncMode=__;$n.ConcurrentMode=TS;$n.ContextConsumer=PS;$n.ContextProvider=ES;$n.Element=w_;$n.ForwardRef=LS;$n.Fragment=CS;$n.Lazy=MS;$n.Memo=OS;$n.Portal=C_;$n.Profiler=kS;$n.StrictMode=_S;$n.Suspense=AS;$n.isAsyncMode=function(e){return Mj(e)||Ra(e)===__};$n.isConcurrentMode=Mj;$n.isContextConsumer=function(e){return Ra(e)===PS};$n.isContextProvider=function(e){return Ra(e)===ES};$n.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===w_};$n.isForwardRef=function(e){return Ra(e)===LS};$n.isFragment=function(e){return Ra(e)===CS};$n.isLazy=function(e){return Ra(e)===MS};$n.isMemo=function(e){return Ra(e)===OS};$n.isPortal=function(e){return Ra(e)===C_};$n.isProfiler=function(e){return Ra(e)===kS};$n.isStrictMode=function(e){return Ra(e)===_S};$n.isSuspense=function(e){return Ra(e)===AS};$n.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===CS||e===TS||e===kS||e===_S||e===AS||e===One||typeof e=="object"&&e!==null&&(e.$$typeof===MS||e.$$typeof===OS||e.$$typeof===ES||e.$$typeof===PS||e.$$typeof===LS||e.$$typeof===Ine||e.$$typeof===Rne||e.$$typeof===Dne||e.$$typeof===Mne)};$n.typeOf=Ra;(function(e){e.exports=$n})(Ane);var Ij=s7,Nne={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jne={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rj={};Rj[Ij.ForwardRef]=Nne;Rj[Ij.Memo]=jne;var Bne=!0;function $ne(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Dj=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Bne===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Nj=function(t,n,r){Dj(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Fne(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zne={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hne=/[A-Z]|^ms/g,Vne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jj=function(t){return t.charCodeAt(1)===45},PL=function(t){return t!=null&&typeof t!="boolean"},Yw=Lj(function(e){return jj(e)?e:e.replace(Hne,"-$&").toLowerCase()}),TL=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vne,function(r,i,o){return $l={name:i,styles:o,next:$l},i})}return zne[t]!==1&&!jj(t)&&typeof n=="number"&&n!==0?n+"px":n};function v2(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return $l={name:n.name,styles:n.styles,next:$l},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)$l={name:r.name,styles:r.styles,next:$l},r=r.next;var i=n.styles+";";return i}return Wne(e,t,n)}case"function":{if(e!==void 0){var o=$l,a=n(e);return $l=o,v2(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Wne(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i{t.includes(r)||(n[r]=e[r])}),n}function sre(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},Wj=lre(sre);function Uj(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var Gj=e=>Uj(e,t=>t!=null);function ure(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var cre=ure();function qj(e,...t){return ore(e)?e(...t):e}function dre(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function fre(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=w.createContext(void 0);i.displayName=r;function o(){var a;const s=w.useContext(i);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,o),l}return s}return[i.Provider,o,i]}var hre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pre=Lj(function(e){return hre.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gre=pre,mre=function(t){return t!=="theme"},ML=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gre:mre},IL=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},vre=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Dj(n,r,i),Gne(function(){return Nj(n,r,i)}),null},yre=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=IL(t,n,r),l=s||ML(i),u=!l("as");return function(){var d=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,v=1;v[h,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([h,m])=>[h,m.className]))}function l(d){const v=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:v,selector:`.${v}`,toString:()=>d}}return{parts:i,toPart:l,extend:o,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var Sre=On("accordion").parts("root","container","button","panel").extend("icon"),xre=On("alert").parts("title","description","container").extend("icon","spinner"),wre=On("avatar").parts("label","badge","container").extend("excessLabel","group"),Cre=On("breadcrumb").parts("link","item","container").extend("separator");On("button").parts();var _re=On("checkbox").parts("control","icon","container").extend("label");On("progress").parts("track","filledTrack").extend("label");var kre=On("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ere=On("editable").parts("preview","input","textarea"),Pre=On("form").parts("container","requiredIndicator","helperText"),Tre=On("formError").parts("text","icon"),Lre=On("input").parts("addon","field","element"),Are=On("list").parts("container","item","icon"),Ore=On("menu").parts("button","list","item").extend("groupTitle","command","divider"),Mre=On("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ire=On("numberinput").parts("root","field","stepperGroup","stepper");On("pininput").parts("field");var Rre=On("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Dre=On("progress").parts("label","filledTrack","track"),Nre=On("radio").parts("container","control","label"),jre=On("select").parts("field","icon"),Bre=On("slider").parts("container","track","thumb","filledTrack","mark"),$re=On("stat").parts("container","label","helpText","number","icon"),Fre=On("switch").parts("container","track","thumb"),zre=On("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Hre=On("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Vre=On("tag").parts("container","label","closeButton"),Wre=On("card").parts("container","header","body","footer");function Ui(e,t){Ure(e)&&(e="100%");var n=Gre(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function F3(e){return Math.min(1,Math.max(0,e))}function Ure(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Gre(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Yj(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function z3(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wh(e){return e.length===1?"0"+e:String(e)}function qre(e,t,n){return{r:Ui(e,255)*255,g:Ui(t,255)*255,b:Ui(n,255)*255}}function RL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Yre(e,t,n){var r,i,o;if(e=Ui(e,360),t=Ui(t,100),n=Ui(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Kw(s,a,e+1/3),i=Kw(s,a,e),o=Kw(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function DL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,l=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var d7={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Jre(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=nie(e)),typeof e=="object"&&(ju(e.r)&&ju(e.g)&&ju(e.b)?(t=qre(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ju(e.h)&&ju(e.s)&&ju(e.v)?(r=z3(e.s),i=z3(e.v),t=Kre(e.h,r,i),a=!0,s="hsv"):ju(e.h)&&ju(e.s)&&ju(e.l)&&(r=z3(e.s),o=z3(e.l),t=Yre(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Yj(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var eie="[-\\+]?\\d+%?",tie="[-\\+]?\\d*\\.\\d+%?",xd="(?:".concat(tie,")|(?:").concat(eie,")"),Xw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Zw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Ds={CSS_UNIT:new RegExp(xd),rgb:new RegExp("rgb"+Xw),rgba:new RegExp("rgba"+Zw),hsl:new RegExp("hsl"+Xw),hsla:new RegExp("hsla"+Zw),hsv:new RegExp("hsv"+Xw),hsva:new RegExp("hsva"+Zw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nie(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(d7[e])e=d7[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ds.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ds.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ds.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ds.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ds.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ds.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ds.hex8.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),a:jL(n[4]),format:t?"name":"hex8"}:(n=Ds.hex6.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),format:t?"name":"hex"}:(n=Ds.hex4.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),a:jL(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ds.hex3.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ju(e){return Boolean(Ds.CSS_UNIT.exec(String(e)))}var hy=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Qre(t)),this.originalInput=t;var i=Jre(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Yj(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=DL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=DL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=RL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=RL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NL(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Xre(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ui(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ui(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NL(this.r,this.g,this.b,!1),n=0,r=Object.entries(d7);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=F3(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=F3(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=F3(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=F3(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;an.length;)e.count=null,e.seed&&(e.seed+=1),n.push(Kj(e));return e.count=t,n}var r=rie(e.hue,e.seed),i=iie(r,e),o=oie(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new hy(a)}function rie(e,t){var n=sie(e),r=U4(n,t);return r<0&&(r=360+r),r}function iie(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return U4([0,100],t.seed);var n=Xj(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return U4([r,i],t.seed)}function oie(e,t,n){var r=aie(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return U4([r,i],n.seed)}function aie(e,t){for(var n=Xj(e).lowerBounds,r=0;r=i&&t<=a){var l=(s-o)/(a-i),u=o-l*i;return l*t+u}}return 0}function sie(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Qj.find(function(a){return a.name===e});if(n){var r=Zj(n);if(r.hueRange)return r.hueRange}var i=new hy(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Xj(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Qj;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function U4(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function Zj(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Qj=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];function lie(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;rObject.keys(e).length===0,_o=(e,t,n)=>{const r=lie(e,`colors.${t}`,t),{isValid:i}=new hy(r);return i?r:n},cie=e=>t=>{const n=_o(t,e);return new hy(n).isDark()?"dark":"light"},die=e=>t=>cie(e)(t)==="dark",Hm=(e,t)=>n=>{const r=_o(n,e);return new hy(r).setAlpha(t).toRgbString()};function BL(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( 45deg, ${t} 25%, transparent 25%, @@ -30,12 +30,12 @@ var uee=Object.defineProperty;var cee=(e,t,n)=>t in e?uee(e,t,{enumerable:!0,con ${t} 75%, transparent 75%, transparent - )`,backgroundSize:`${e} ${e}`}}function die(e){const t=Yj().toHexString();return!e||lie(e)?t:e.string&&e.colors?hie(e.string,e.colors):e.string&&!e.colors?fie(e.string):e.colors&&!e.string?pie(e.colors):t}function fie(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r>r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function hie(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;rn.colorMode==="dark"?t:e}function P_(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function gie(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Qj(e){return gie(e)&&e.reference?e.reference:String(e)}var RS=(e,...t)=>t.map(Qj).join(` ${e} `).replace(/calc/g,""),FL=(...e)=>`calc(${RS("+",...e)})`,$L=(...e)=>`calc(${RS("-",...e)})`,d7=(...e)=>`calc(${RS("*",...e)})`,zL=(...e)=>`calc(${RS("/",...e)})`,HL=e=>{const t=Qj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:d7(t,-1)},Vu=Object.assign(e=>({add:(...t)=>Vu(FL(e,...t)),subtract:(...t)=>Vu($L(e,...t)),multiply:(...t)=>Vu(d7(e,...t)),divide:(...t)=>Vu(zL(e,...t)),negate:()=>Vu(HL(e)),toString:()=>e.toString()}),{add:FL,subtract:$L,multiply:d7,divide:zL,negate:HL});function mie(e){return!Number.isInteger(parseFloat(e.toString()))}function vie(e,t="-"){return e.replace(/\s+/g,t)}function Jj(e){const t=vie(e.toString());return t.includes("\\.")?e:mie(e)?t.replace(".","\\."):e}function yie(e,t=""){return[t,Jj(e)].filter(Boolean).join("-")}function bie(e,t){return`var(${Jj(e)}${t?`, ${t}`:""})`}function Sie(e,t=""){return`--${yie(e,t)}`}function yi(e,t){const n=Sie(e,t==null?void 0:t.prefix);return{variable:n,reference:bie(n,xie(t==null?void 0:t.fallback))}}function xie(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{definePartsStyle:wie,defineMultiStyleConfig:Cie}=hr(bre.keys),_ie={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},kie={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},Eie={pt:"2",px:"4",pb:"5"},Pie={fontSize:"1.25em"},Tie=wie({container:_ie,button:kie,panel:Eie,icon:Pie}),Lie=Cie({baseStyle:Tie}),{definePartsStyle:py,defineMultiStyleConfig:Aie}=hr(Sre.keys),Ta=Vn("alert-fg"),Qu=Vn("alert-bg"),Oie=py({container:{bg:Qu.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function T_(e){const{theme:t,colorScheme:n}=e,r=Hm(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}var Mie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark}}}}),Iie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ta.reference}}}),Rie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ta.reference}}}),Die=py(e=>{const{colorScheme:t}=e;return{container:{[Ta.variable]:"colors.white",[Qu.variable]:`colors.${t}.500`,_dark:{[Ta.variable]:"colors.gray.900",[Qu.variable]:`colors.${t}.200`},color:Ta.reference}}}),Nie={subtle:Mie,"left-accent":Iie,"top-accent":Rie,solid:Die},jie=Aie({baseStyle:Oie,variants:Nie,defaultProps:{variant:"subtle",colorScheme:"blue"}}),eB={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Bie={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},Fie={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},$ie={...eB,...Bie,container:Fie},tB=$ie,zie=e=>typeof e=="function";function Eo(e,...t){return zie(e)?e(...t):e}var{definePartsStyle:nB,defineMultiStyleConfig:Hie}=hr(xre.keys),pm=Vn("avatar-border-color"),Zw=Vn("avatar-bg"),Vie={borderRadius:"full",border:"0.2em solid",[pm.variable]:"white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference},Wie={[Zw.variable]:"colors.gray.200",_dark:{[Zw.variable]:"colors.whiteAlpha.400"},bgColor:Zw.reference},VL=Vn("avatar-background"),Uie=e=>{const{name:t,theme:n}=e,r=t?die({string:t}):"colors.gray.400",i=cie(r)(n);let o="white";return i||(o="gray.800"),{bg:VL.reference,"&:not([data-loaded])":{[VL.variable]:r},color:o,[pm.variable]:"colors.white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference,verticalAlign:"top"}},Gie=nB(e=>({badge:Eo(Vie,e),excessLabel:Eo(Wie,e),container:Eo(Uie,e)}));function od(e){const t=e!=="100%"?tB[e]:void 0;return nB({container:{width:e,height:e,fontSize:`calc(${t??e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${t??e} / 2.5)`,lineHeight:e!=="100%"?t??e:void 0}})}var qie={"2xs":od(4),xs:od(6),sm:od(8),md:od(12),lg:od(16),xl:od(24),"2xl":od(32),full:od("100%")},Yie=Hie({baseStyle:Gie,sizes:qie,defaultProps:{size:"md"}}),Kie={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},gm=Vn("badge-bg"),Ul=Vn("badge-color"),Xie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.500`,.6)(n);return{[gm.variable]:`colors.${t}.500`,[Ul.variable]:"colors.white",_dark:{[gm.variable]:r,[Ul.variable]:"colors.whiteAlpha.800"},bg:gm.reference,color:Ul.reference}},Zie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.16)(n);return{[gm.variable]:`colors.${t}.100`,[Ul.variable]:`colors.${t}.800`,_dark:{[gm.variable]:r,[Ul.variable]:`colors.${t}.200`},bg:gm.reference,color:Ul.reference}},Qie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.8)(n);return{[Ul.variable]:`colors.${t}.500`,_dark:{[Ul.variable]:r},color:Ul.reference,boxShadow:`inset 0 0 0px 1px ${Ul.reference}`}},Jie={solid:Xie,subtle:Zie,outline:Qie},Nv={baseStyle:Kie,variants:Jie,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:eoe,definePartsStyle:toe}=hr(wre.keys),noe={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},roe=toe({link:noe}),ioe=eoe({baseStyle:roe}),ooe={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},rB=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:Et("inherit","whiteAlpha.900")(e),_hover:{bg:Et("gray.100","whiteAlpha.200")(e)},_active:{bg:Et("gray.200","whiteAlpha.300")(e)}};const r=Hm(`${t}.200`,.12)(n),i=Hm(`${t}.200`,.24)(n);return{color:Et(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Et(`${t}.50`,r)(e)},_active:{bg:Et(`${t}.100`,i)(e)}}},aoe=e=>{const{colorScheme:t}=e,n=Et("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached] > &:not(:last-of-type)":{marginEnd:"-1px"},...Eo(rB,e)}},soe={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},loe=e=>{const{colorScheme:t}=e;if(t==="gray"){const s=Et("gray.100","whiteAlpha.200")(e);return{bg:s,_hover:{bg:Et("gray.200","whiteAlpha.300")(e),_disabled:{bg:s}},_active:{bg:Et("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:i=`${t}.600`,activeBg:o=`${t}.700`}=soe[t]??{},a=Et(n,`${t}.200`)(e);return{bg:a,color:Et(r,"gray.800")(e),_hover:{bg:Et(i,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Et(o,`${t}.400`)(e)}}},uoe=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Et(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Et(`${t}.700`,`${t}.500`)(e)}}},coe={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},doe={ghost:rB,outline:aoe,solid:loe,link:uoe,unstyled:coe},foe={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},hoe={baseStyle:ooe,variants:doe,sizes:foe,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Ah,defineMultiStyleConfig:poe}=hr(Vre.keys),G4=Vn("card-bg"),mm=Vn("card-padding"),goe=Ah({container:{[G4.variable]:"chakra-body-bg",backgroundColor:G4.reference,color:"chakra-body-text"},body:{padding:mm.reference,flex:"1 1 0%"},header:{padding:mm.reference},footer:{padding:mm.reference}}),moe={sm:Ah({container:{borderRadius:"base",[mm.variable]:"space.3"}}),md:Ah({container:{borderRadius:"md",[mm.variable]:"space.5"}}),lg:Ah({container:{borderRadius:"xl",[mm.variable]:"space.7"}})},voe={elevated:Ah({container:{boxShadow:"base",_dark:{[G4.variable]:"colors.gray.700"}}}),outline:Ah({container:{borderWidth:"1px",borderColor:"chakra-border-color"}}),filled:Ah({container:{[G4.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{padding:0},header:{padding:0},footer:{padding:0}}},yoe=poe({baseStyle:goe,variants:voe,sizes:moe,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:a4,defineMultiStyleConfig:boe}=hr(Cre.keys),jv=Vn("checkbox-size"),Soe=e=>{const{colorScheme:t}=e;return{w:jv.reference,h:jv.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e),_hover:{bg:Et(`${t}.600`,`${t}.300`)(e),borderColor:Et(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Et("gray.200","transparent")(e),bg:Et("gray.200","whiteAlpha.300")(e),color:Et("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e)},_disabled:{bg:Et("gray.100","whiteAlpha.100")(e),borderColor:Et("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Et("red.500","red.300")(e)}}},xoe={_disabled:{cursor:"not-allowed"}},woe={userSelect:"none",_disabled:{opacity:.4}},Coe={transitionProperty:"transform",transitionDuration:"normal"},_oe=a4(e=>({icon:Coe,container:xoe,control:Eo(Soe,e),label:woe})),koe={sm:a4({control:{[jv.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:a4({control:{[jv.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:a4({control:{[jv.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},q4=boe({baseStyle:_oe,sizes:koe,defaultProps:{size:"md",colorScheme:"blue"}}),Bv=yi("close-button-size"),z1=yi("close-button-bg"),Eoe={w:[Bv.reference],h:[Bv.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[z1.variable]:"colors.blackAlpha.100",_dark:{[z1.variable]:"colors.whiteAlpha.100"}},_active:{[z1.variable]:"colors.blackAlpha.200",_dark:{[z1.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:z1.reference},Poe={lg:{[Bv.variable]:"sizes.10",fontSize:"md"},md:{[Bv.variable]:"sizes.8",fontSize:"xs"},sm:{[Bv.variable]:"sizes.6",fontSize:"2xs"}},Toe={baseStyle:Eoe,sizes:Poe,defaultProps:{size:"md"}},{variants:Loe,defaultProps:Aoe}=Nv,Ooe={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},Moe={baseStyle:Ooe,variants:Loe,defaultProps:Aoe},Ioe={w:"100%",mx:"auto",maxW:"prose",px:"4"},Roe={baseStyle:Ioe},Doe={opacity:.6,borderColor:"inherit"},Noe={borderStyle:"solid"},joe={borderStyle:"dashed"},Boe={solid:Noe,dashed:joe},Foe={baseStyle:Doe,variants:Boe,defaultProps:{variant:"solid"}},{definePartsStyle:f7,defineMultiStyleConfig:$oe}=hr(_re.keys),Qw=Vn("drawer-bg"),Jw=Vn("drawer-box-shadow");function xg(e){return f7(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var zoe={bg:"blackAlpha.600",zIndex:"overlay"},Hoe={display:"flex",zIndex:"modal",justifyContent:"center"},Voe=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Qw.variable]:"colors.white",[Jw.variable]:"shadows.lg",_dark:{[Qw.variable]:"colors.gray.700",[Jw.variable]:"shadows.dark-lg"},bg:Qw.reference,boxShadow:Jw.reference}},Woe={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Uoe={position:"absolute",top:"2",insetEnd:"3"},Goe={px:"6",py:"2",flex:"1",overflow:"auto"},qoe={px:"6",py:"4"},Yoe=f7(e=>({overlay:zoe,dialogContainer:Hoe,dialog:Eo(Voe,e),header:Woe,closeButton:Uoe,body:Goe,footer:qoe})),Koe={xs:xg("xs"),sm:xg("md"),md:xg("lg"),lg:xg("2xl"),xl:xg("4xl"),full:xg("full")},Xoe=$oe({baseStyle:Yoe,sizes:Koe,defaultProps:{size:"xs"}}),{definePartsStyle:Zoe,defineMultiStyleConfig:Qoe}=hr(kre.keys),Joe={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},eae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},tae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},nae=Zoe({preview:Joe,input:eae,textarea:tae}),rae=Qoe({baseStyle:nae}),{definePartsStyle:iae,defineMultiStyleConfig:oae}=hr(Ere.keys),vm=Vn("form-control-color"),aae={marginStart:"1",[vm.variable]:"colors.red.500",_dark:{[vm.variable]:"colors.red.300"},color:vm.reference},sae={mt:"2",[vm.variable]:"colors.gray.600",_dark:{[vm.variable]:"colors.whiteAlpha.600"},color:vm.reference,lineHeight:"normal",fontSize:"sm"},lae=iae({container:{width:"100%",position:"relative"},requiredIndicator:aae,helperText:sae}),uae=oae({baseStyle:lae}),{definePartsStyle:cae,defineMultiStyleConfig:dae}=hr(Pre.keys),ym=Vn("form-error-color"),fae={[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},hae={marginEnd:"0.5em",[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference},pae=cae({text:fae,icon:hae}),gae=dae({baseStyle:pae}),mae={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},vae={baseStyle:mae},yae={fontFamily:"heading",fontWeight:"bold"},bae={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},Sae={baseStyle:yae,sizes:bae,defaultProps:{size:"xl"}},{definePartsStyle:Wu,defineMultiStyleConfig:xae}=hr(Tre.keys),wae=Wu({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),ad={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}},Cae={lg:Wu({field:ad.lg,addon:ad.lg}),md:Wu({field:ad.md,addon:ad.md}),sm:Wu({field:ad.sm,addon:ad.sm}),xs:Wu({field:ad.xs,addon:ad.xs})};function L_(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Et("blue.500","blue.300")(e),errorBorderColor:n||Et("red.500","red.300")(e)}}var _ae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Et("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Co(t,r),boxShadow:`0 0 0 1px ${Co(t,r)}`},_focusVisible:{zIndex:1,borderColor:Co(t,n),boxShadow:`0 0 0 1px ${Co(t,n)}`}},addon:{border:"1px solid",borderColor:Et("inherit","whiteAlpha.50")(e),bg:Et("gray.100","whiteAlpha.300")(e)}}}),kae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e),_hover:{bg:Et("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Co(t,r)},_focusVisible:{bg:"transparent",borderColor:Co(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e)}}}),Eae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Co(t,r),boxShadow:`0px 1px 0px 0px ${Co(t,r)}`},_focusVisible:{borderColor:Co(t,n),boxShadow:`0px 1px 0px 0px ${Co(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Pae=Wu({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),Tae={outline:_ae,filled:kae,flushed:Eae,unstyled:Pae},_n=xae({baseStyle:wae,sizes:Cae,variants:Tae,defaultProps:{size:"md",variant:"outline"}}),e6=Vn("kbd-bg"),Lae={[e6.variable]:"colors.gray.100",_dark:{[e6.variable]:"colors.whiteAlpha.100"},bg:e6.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},Aae={baseStyle:Lae},Oae={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},Mae={baseStyle:Oae},{defineMultiStyleConfig:Iae,definePartsStyle:Rae}=hr(Lre.keys),Dae={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},Nae=Rae({icon:Dae}),jae=Iae({baseStyle:Nae}),{defineMultiStyleConfig:Bae,definePartsStyle:Fae}=hr(Are.keys),jl=Vn("menu-bg"),t6=Vn("menu-shadow"),$ae={[jl.variable]:"#fff",[t6.variable]:"shadows.sm",_dark:{[jl.variable]:"colors.gray.700",[t6.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:jl.reference,boxShadow:t6.reference},zae={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_active:{[jl.variable]:"colors.gray.200",_dark:{[jl.variable]:"colors.whiteAlpha.200"}},_expanded:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:jl.reference},Hae={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},Vae={opacity:.6},Wae={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},Uae={transitionProperty:"common",transitionDuration:"normal"},Gae=Fae({button:Uae,list:$ae,item:zae,groupTitle:Hae,command:Vae,divider:Wae}),qae=Bae({baseStyle:Gae}),{defineMultiStyleConfig:Yae,definePartsStyle:h7}=hr(Ore.keys),Kae={bg:"blackAlpha.600",zIndex:"modal"},Xae=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},Zae=e=>{const{scrollBehavior:t}=e;return{borderRadius:"md",bg:Et("white","gray.700")(e),color:"inherit",my:"16",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:Et("lg","dark-lg")(e)}},Qae={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Jae={position:"absolute",top:"2",insetEnd:"3"},ese=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},tse={px:"6",py:"4"},nse=h7(e=>({overlay:Kae,dialogContainer:Eo(Xae,e),dialog:Eo(Zae,e),header:Qae,closeButton:Jae,body:Eo(ese,e),footer:tse}));function Os(e){return h7(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var rse={xs:Os("xs"),sm:Os("sm"),md:Os("md"),lg:Os("lg"),xl:Os("xl"),"2xl":Os("2xl"),"3xl":Os("3xl"),"4xl":Os("4xl"),"5xl":Os("5xl"),"6xl":Os("6xl"),full:Os("full")},ise=Yae({baseStyle:nse,sizes:rse,defaultProps:{size:"md"}}),ose={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},iB=ose,{defineMultiStyleConfig:ase,definePartsStyle:oB}=hr(Mre.keys),A_=yi("number-input-stepper-width"),aB=yi("number-input-input-padding"),sse=Vu(A_).add("0.5rem").toString(),n6=yi("number-input-bg"),r6=yi("number-input-color"),i6=yi("number-input-border-color"),lse={[A_.variable]:"sizes.6",[aB.variable]:sse},use=e=>{var t;return((t=Eo(_n.baseStyle,e))==null?void 0:t.field)??{}},cse={width:A_.reference},dse={borderStart:"1px solid",borderStartColor:i6.reference,color:r6.reference,bg:n6.reference,[r6.variable]:"colors.chakra-body-text",[i6.variable]:"colors.chakra-border-color",_dark:{[r6.variable]:"colors.whiteAlpha.800",[i6.variable]:"colors.whiteAlpha.300"},_active:{[n6.variable]:"colors.gray.200",_dark:{[n6.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},fse=oB(e=>({root:lse,field:Eo(use,e)??{},stepperGroup:cse,stepper:dse}));function H3(e){var t,n;const r=(t=_n.sizes)==null?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=((n=r.field)==null?void 0:n.fontSize)??"md",a=iB.fontSizes[o];return oB({field:{...r.field,paddingInlineEnd:aB.reference,verticalAlign:"top"},stepper:{fontSize:Vu(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var hse={xs:H3("xs"),sm:H3("sm"),md:H3("md"),lg:H3("lg")},pse=ase({baseStyle:fse,sizes:hse,variants:_n.variants,defaultProps:_n.defaultProps}),WL,gse={...(WL=_n.baseStyle)==null?void 0:WL.field,textAlign:"center"},mse={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},UL,vse={outline:e=>{var t,n;return((n=Eo((t=_n.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=Eo((t=_n.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=Eo((t=_n.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((UL=_n.variants)==null?void 0:UL.unstyled.field)??{}},yse={baseStyle:gse,sizes:mse,variants:vse,defaultProps:_n.defaultProps},{defineMultiStyleConfig:bse,definePartsStyle:Sse}=hr(Ire.keys),V3=yi("popper-bg"),xse=yi("popper-arrow-bg"),GL=yi("popper-arrow-shadow-color"),wse={zIndex:10},Cse={[V3.variable]:"colors.white",bg:V3.reference,[xse.variable]:V3.reference,[GL.variable]:"colors.gray.200",_dark:{[V3.variable]:"colors.gray.700",[GL.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},_se={px:3,py:2,borderBottomWidth:"1px"},kse={px:3,py:2},Ese={px:3,py:2,borderTopWidth:"1px"},Pse={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Tse=Sse({popper:wse,content:Cse,header:_se,body:kse,footer:Ese,closeButton:Pse}),Lse=bse({baseStyle:Tse}),{defineMultiStyleConfig:Ase,definePartsStyle:vv}=hr(Rre.keys),Ose=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=Et(BL(),BL("1rem","rgba(0,0,0,0.1)"))(e),a=Et(`${t}.500`,`${t}.200`)(e),s=`linear-gradient( + )`,backgroundSize:`${e} ${e}`}}function fie(e){const t=Kj().toHexString();return!e||uie(e)?t:e.string&&e.colors?pie(e.string,e.colors):e.string&&!e.colors?hie(e.string):e.colors&&!e.string?gie(e.colors):t}function hie(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r>r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function pie(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;rn.colorMode==="dark"?t:e}function P_(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function mie(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Jj(e){return mie(e)&&e.reference?e.reference:String(e)}var DS=(e,...t)=>t.map(Jj).join(` ${e} `).replace(/calc/g,""),$L=(...e)=>`calc(${DS("+",...e)})`,FL=(...e)=>`calc(${DS("-",...e)})`,f7=(...e)=>`calc(${DS("*",...e)})`,zL=(...e)=>`calc(${DS("/",...e)})`,HL=e=>{const t=Jj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:f7(t,-1)},Vu=Object.assign(e=>({add:(...t)=>Vu($L(e,...t)),subtract:(...t)=>Vu(FL(e,...t)),multiply:(...t)=>Vu(f7(e,...t)),divide:(...t)=>Vu(zL(e,...t)),negate:()=>Vu(HL(e)),toString:()=>e.toString()}),{add:$L,subtract:FL,multiply:f7,divide:zL,negate:HL});function vie(e){return!Number.isInteger(parseFloat(e.toString()))}function yie(e,t="-"){return e.replace(/\s+/g,t)}function eB(e){const t=yie(e.toString());return t.includes("\\.")?e:vie(e)?t.replace(".","\\."):e}function bie(e,t=""){return[t,eB(e)].filter(Boolean).join("-")}function Sie(e,t){return`var(${eB(e)}${t?`, ${t}`:""})`}function xie(e,t=""){return`--${bie(e,t)}`}function yi(e,t){const n=xie(e,t==null?void 0:t.prefix);return{variable:n,reference:Sie(n,wie(t==null?void 0:t.fallback))}}function wie(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{definePartsStyle:Cie,defineMultiStyleConfig:_ie}=hr(Sre.keys),kie={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},Eie={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},Pie={pt:"2",px:"4",pb:"5"},Tie={fontSize:"1.25em"},Lie=Cie({container:kie,button:Eie,panel:Pie,icon:Tie}),Aie=_ie({baseStyle:Lie}),{definePartsStyle:py,defineMultiStyleConfig:Oie}=hr(xre.keys),Ta=Vn("alert-fg"),Qu=Vn("alert-bg"),Mie=py({container:{bg:Qu.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function T_(e){const{theme:t,colorScheme:n}=e,r=Hm(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}var Iie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark}}}}),Rie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ta.reference}}}),Die=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ta.reference}}}),Nie=py(e=>{const{colorScheme:t}=e;return{container:{[Ta.variable]:"colors.white",[Qu.variable]:`colors.${t}.500`,_dark:{[Ta.variable]:"colors.gray.900",[Qu.variable]:`colors.${t}.200`},color:Ta.reference}}}),jie={subtle:Iie,"left-accent":Rie,"top-accent":Die,solid:Nie},Bie=Oie({baseStyle:Mie,variants:jie,defaultProps:{variant:"subtle",colorScheme:"blue"}}),tB={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},$ie={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},Fie={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},zie={...tB,...$ie,container:Fie},nB=zie,Hie=e=>typeof e=="function";function Po(e,...t){return Hie(e)?e(...t):e}var{definePartsStyle:rB,defineMultiStyleConfig:Vie}=hr(wre.keys),pm=Vn("avatar-border-color"),Qw=Vn("avatar-bg"),Wie={borderRadius:"full",border:"0.2em solid",[pm.variable]:"white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference},Uie={[Qw.variable]:"colors.gray.200",_dark:{[Qw.variable]:"colors.whiteAlpha.400"},bgColor:Qw.reference},VL=Vn("avatar-background"),Gie=e=>{const{name:t,theme:n}=e,r=t?fie({string:t}):"colors.gray.400",i=die(r)(n);let o="white";return i||(o="gray.800"),{bg:VL.reference,"&:not([data-loaded])":{[VL.variable]:r},color:o,[pm.variable]:"colors.white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference,verticalAlign:"top"}},qie=rB(e=>({badge:Po(Wie,e),excessLabel:Po(Uie,e),container:Po(Gie,e)}));function od(e){const t=e!=="100%"?nB[e]:void 0;return rB({container:{width:e,height:e,fontSize:`calc(${t??e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${t??e} / 2.5)`,lineHeight:e!=="100%"?t??e:void 0}})}var Yie={"2xs":od(4),xs:od(6),sm:od(8),md:od(12),lg:od(16),xl:od(24),"2xl":od(32),full:od("100%")},Kie=Vie({baseStyle:qie,sizes:Yie,defaultProps:{size:"md"}}),Xie={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},gm=Vn("badge-bg"),Ul=Vn("badge-color"),Zie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.500`,.6)(n);return{[gm.variable]:`colors.${t}.500`,[Ul.variable]:"colors.white",_dark:{[gm.variable]:r,[Ul.variable]:"colors.whiteAlpha.800"},bg:gm.reference,color:Ul.reference}},Qie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.16)(n);return{[gm.variable]:`colors.${t}.100`,[Ul.variable]:`colors.${t}.800`,_dark:{[gm.variable]:r,[Ul.variable]:`colors.${t}.200`},bg:gm.reference,color:Ul.reference}},Jie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.8)(n);return{[Ul.variable]:`colors.${t}.500`,_dark:{[Ul.variable]:r},color:Ul.reference,boxShadow:`inset 0 0 0px 1px ${Ul.reference}`}},eoe={solid:Zie,subtle:Qie,outline:Jie},Nv={baseStyle:Xie,variants:eoe,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:toe,definePartsStyle:noe}=hr(Cre.keys),roe={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},ioe=noe({link:roe}),ooe=toe({baseStyle:ioe}),aoe={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},iB=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:Et("inherit","whiteAlpha.900")(e),_hover:{bg:Et("gray.100","whiteAlpha.200")(e)},_active:{bg:Et("gray.200","whiteAlpha.300")(e)}};const r=Hm(`${t}.200`,.12)(n),i=Hm(`${t}.200`,.24)(n);return{color:Et(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Et(`${t}.50`,r)(e)},_active:{bg:Et(`${t}.100`,i)(e)}}},soe=e=>{const{colorScheme:t}=e,n=Et("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached] > &:not(:last-of-type)":{marginEnd:"-1px"},...Po(iB,e)}},loe={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},uoe=e=>{const{colorScheme:t}=e;if(t==="gray"){const s=Et("gray.100","whiteAlpha.200")(e);return{bg:s,_hover:{bg:Et("gray.200","whiteAlpha.300")(e),_disabled:{bg:s}},_active:{bg:Et("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:i=`${t}.600`,activeBg:o=`${t}.700`}=loe[t]??{},a=Et(n,`${t}.200`)(e);return{bg:a,color:Et(r,"gray.800")(e),_hover:{bg:Et(i,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Et(o,`${t}.400`)(e)}}},coe=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Et(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Et(`${t}.700`,`${t}.500`)(e)}}},doe={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},foe={ghost:iB,outline:soe,solid:uoe,link:coe,unstyled:doe},hoe={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},poe={baseStyle:aoe,variants:foe,sizes:hoe,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Ah,defineMultiStyleConfig:goe}=hr(Wre.keys),G4=Vn("card-bg"),mm=Vn("card-padding"),moe=Ah({container:{[G4.variable]:"chakra-body-bg",backgroundColor:G4.reference,color:"chakra-body-text"},body:{padding:mm.reference,flex:"1 1 0%"},header:{padding:mm.reference},footer:{padding:mm.reference}}),voe={sm:Ah({container:{borderRadius:"base",[mm.variable]:"space.3"}}),md:Ah({container:{borderRadius:"md",[mm.variable]:"space.5"}}),lg:Ah({container:{borderRadius:"xl",[mm.variable]:"space.7"}})},yoe={elevated:Ah({container:{boxShadow:"base",_dark:{[G4.variable]:"colors.gray.700"}}}),outline:Ah({container:{borderWidth:"1px",borderColor:"chakra-border-color"}}),filled:Ah({container:{[G4.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{padding:0},header:{padding:0},footer:{padding:0}}},boe=goe({baseStyle:moe,variants:yoe,sizes:voe,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:a4,defineMultiStyleConfig:Soe}=hr(_re.keys),jv=Vn("checkbox-size"),xoe=e=>{const{colorScheme:t}=e;return{w:jv.reference,h:jv.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e),_hover:{bg:Et(`${t}.600`,`${t}.300`)(e),borderColor:Et(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Et("gray.200","transparent")(e),bg:Et("gray.200","whiteAlpha.300")(e),color:Et("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e)},_disabled:{bg:Et("gray.100","whiteAlpha.100")(e),borderColor:Et("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Et("red.500","red.300")(e)}}},woe={_disabled:{cursor:"not-allowed"}},Coe={userSelect:"none",_disabled:{opacity:.4}},_oe={transitionProperty:"transform",transitionDuration:"normal"},koe=a4(e=>({icon:_oe,container:woe,control:Po(xoe,e),label:Coe})),Eoe={sm:a4({control:{[jv.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:a4({control:{[jv.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:a4({control:{[jv.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},q4=Soe({baseStyle:koe,sizes:Eoe,defaultProps:{size:"md",colorScheme:"blue"}}),Bv=yi("close-button-size"),z1=yi("close-button-bg"),Poe={w:[Bv.reference],h:[Bv.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[z1.variable]:"colors.blackAlpha.100",_dark:{[z1.variable]:"colors.whiteAlpha.100"}},_active:{[z1.variable]:"colors.blackAlpha.200",_dark:{[z1.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:z1.reference},Toe={lg:{[Bv.variable]:"sizes.10",fontSize:"md"},md:{[Bv.variable]:"sizes.8",fontSize:"xs"},sm:{[Bv.variable]:"sizes.6",fontSize:"2xs"}},Loe={baseStyle:Poe,sizes:Toe,defaultProps:{size:"md"}},{variants:Aoe,defaultProps:Ooe}=Nv,Moe={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},Ioe={baseStyle:Moe,variants:Aoe,defaultProps:Ooe},Roe={w:"100%",mx:"auto",maxW:"prose",px:"4"},Doe={baseStyle:Roe},Noe={opacity:.6,borderColor:"inherit"},joe={borderStyle:"solid"},Boe={borderStyle:"dashed"},$oe={solid:joe,dashed:Boe},Foe={baseStyle:Noe,variants:$oe,defaultProps:{variant:"solid"}},{definePartsStyle:h7,defineMultiStyleConfig:zoe}=hr(kre.keys),Jw=Vn("drawer-bg"),e6=Vn("drawer-box-shadow");function xg(e){return h7(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var Hoe={bg:"blackAlpha.600",zIndex:"overlay"},Voe={display:"flex",zIndex:"modal",justifyContent:"center"},Woe=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Jw.variable]:"colors.white",[e6.variable]:"shadows.lg",_dark:{[Jw.variable]:"colors.gray.700",[e6.variable]:"shadows.dark-lg"},bg:Jw.reference,boxShadow:e6.reference}},Uoe={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Goe={position:"absolute",top:"2",insetEnd:"3"},qoe={px:"6",py:"2",flex:"1",overflow:"auto"},Yoe={px:"6",py:"4"},Koe=h7(e=>({overlay:Hoe,dialogContainer:Voe,dialog:Po(Woe,e),header:Uoe,closeButton:Goe,body:qoe,footer:Yoe})),Xoe={xs:xg("xs"),sm:xg("md"),md:xg("lg"),lg:xg("2xl"),xl:xg("4xl"),full:xg("full")},Zoe=zoe({baseStyle:Koe,sizes:Xoe,defaultProps:{size:"xs"}}),{definePartsStyle:Qoe,defineMultiStyleConfig:Joe}=hr(Ere.keys),eae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},tae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},nae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},rae=Qoe({preview:eae,input:tae,textarea:nae}),iae=Joe({baseStyle:rae}),{definePartsStyle:oae,defineMultiStyleConfig:aae}=hr(Pre.keys),vm=Vn("form-control-color"),sae={marginStart:"1",[vm.variable]:"colors.red.500",_dark:{[vm.variable]:"colors.red.300"},color:vm.reference},lae={mt:"2",[vm.variable]:"colors.gray.600",_dark:{[vm.variable]:"colors.whiteAlpha.600"},color:vm.reference,lineHeight:"normal",fontSize:"sm"},uae=oae({container:{width:"100%",position:"relative"},requiredIndicator:sae,helperText:lae}),cae=aae({baseStyle:uae}),{definePartsStyle:dae,defineMultiStyleConfig:fae}=hr(Tre.keys),ym=Vn("form-error-color"),hae={[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},pae={marginEnd:"0.5em",[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference},gae=dae({text:hae,icon:pae}),mae=fae({baseStyle:gae}),vae={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},yae={baseStyle:vae},bae={fontFamily:"heading",fontWeight:"bold"},Sae={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},xae={baseStyle:bae,sizes:Sae,defaultProps:{size:"xl"}},{definePartsStyle:Wu,defineMultiStyleConfig:wae}=hr(Lre.keys),Cae=Wu({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),ad={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}},_ae={lg:Wu({field:ad.lg,addon:ad.lg}),md:Wu({field:ad.md,addon:ad.md}),sm:Wu({field:ad.sm,addon:ad.sm}),xs:Wu({field:ad.xs,addon:ad.xs})};function L_(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Et("blue.500","blue.300")(e),errorBorderColor:n||Et("red.500","red.300")(e)}}var kae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Et("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r),boxShadow:`0 0 0 1px ${_o(t,r)}`},_focusVisible:{zIndex:1,borderColor:_o(t,n),boxShadow:`0 0 0 1px ${_o(t,n)}`}},addon:{border:"1px solid",borderColor:Et("inherit","whiteAlpha.50")(e),bg:Et("gray.100","whiteAlpha.300")(e)}}}),Eae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e),_hover:{bg:Et("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r)},_focusVisible:{bg:"transparent",borderColor:_o(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e)}}}),Pae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r),boxShadow:`0px 1px 0px 0px ${_o(t,r)}`},_focusVisible:{borderColor:_o(t,n),boxShadow:`0px 1px 0px 0px ${_o(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Tae=Wu({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),Lae={outline:kae,filled:Eae,flushed:Pae,unstyled:Tae},_n=wae({baseStyle:Cae,sizes:_ae,variants:Lae,defaultProps:{size:"md",variant:"outline"}}),t6=Vn("kbd-bg"),Aae={[t6.variable]:"colors.gray.100",_dark:{[t6.variable]:"colors.whiteAlpha.100"},bg:t6.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},Oae={baseStyle:Aae},Mae={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},Iae={baseStyle:Mae},{defineMultiStyleConfig:Rae,definePartsStyle:Dae}=hr(Are.keys),Nae={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},jae=Dae({icon:Nae}),Bae=Rae({baseStyle:jae}),{defineMultiStyleConfig:$ae,definePartsStyle:Fae}=hr(Ore.keys),jl=Vn("menu-bg"),n6=Vn("menu-shadow"),zae={[jl.variable]:"#fff",[n6.variable]:"shadows.sm",_dark:{[jl.variable]:"colors.gray.700",[n6.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:jl.reference,boxShadow:n6.reference},Hae={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_active:{[jl.variable]:"colors.gray.200",_dark:{[jl.variable]:"colors.whiteAlpha.200"}},_expanded:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:jl.reference},Vae={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},Wae={opacity:.6},Uae={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},Gae={transitionProperty:"common",transitionDuration:"normal"},qae=Fae({button:Gae,list:zae,item:Hae,groupTitle:Vae,command:Wae,divider:Uae}),Yae=$ae({baseStyle:qae}),{defineMultiStyleConfig:Kae,definePartsStyle:p7}=hr(Mre.keys),Xae={bg:"blackAlpha.600",zIndex:"modal"},Zae=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},Qae=e=>{const{scrollBehavior:t}=e;return{borderRadius:"md",bg:Et("white","gray.700")(e),color:"inherit",my:"16",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:Et("lg","dark-lg")(e)}},Jae={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},ese={position:"absolute",top:"2",insetEnd:"3"},tse=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},nse={px:"6",py:"4"},rse=p7(e=>({overlay:Xae,dialogContainer:Po(Zae,e),dialog:Po(Qae,e),header:Jae,closeButton:ese,body:Po(tse,e),footer:nse}));function Os(e){return p7(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var ise={xs:Os("xs"),sm:Os("sm"),md:Os("md"),lg:Os("lg"),xl:Os("xl"),"2xl":Os("2xl"),"3xl":Os("3xl"),"4xl":Os("4xl"),"5xl":Os("5xl"),"6xl":Os("6xl"),full:Os("full")},ose=Kae({baseStyle:rse,sizes:ise,defaultProps:{size:"md"}}),ase={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},oB=ase,{defineMultiStyleConfig:sse,definePartsStyle:aB}=hr(Ire.keys),A_=yi("number-input-stepper-width"),sB=yi("number-input-input-padding"),lse=Vu(A_).add("0.5rem").toString(),r6=yi("number-input-bg"),i6=yi("number-input-color"),o6=yi("number-input-border-color"),use={[A_.variable]:"sizes.6",[sB.variable]:lse},cse=e=>{var t;return((t=Po(_n.baseStyle,e))==null?void 0:t.field)??{}},dse={width:A_.reference},fse={borderStart:"1px solid",borderStartColor:o6.reference,color:i6.reference,bg:r6.reference,[i6.variable]:"colors.chakra-body-text",[o6.variable]:"colors.chakra-border-color",_dark:{[i6.variable]:"colors.whiteAlpha.800",[o6.variable]:"colors.whiteAlpha.300"},_active:{[r6.variable]:"colors.gray.200",_dark:{[r6.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},hse=aB(e=>({root:use,field:Po(cse,e)??{},stepperGroup:dse,stepper:fse}));function H3(e){var t,n;const r=(t=_n.sizes)==null?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=((n=r.field)==null?void 0:n.fontSize)??"md",a=oB.fontSizes[o];return aB({field:{...r.field,paddingInlineEnd:sB.reference,verticalAlign:"top"},stepper:{fontSize:Vu(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var pse={xs:H3("xs"),sm:H3("sm"),md:H3("md"),lg:H3("lg")},gse=sse({baseStyle:hse,sizes:pse,variants:_n.variants,defaultProps:_n.defaultProps}),WL,mse={...(WL=_n.baseStyle)==null?void 0:WL.field,textAlign:"center"},vse={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},UL,yse={outline:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((UL=_n.variants)==null?void 0:UL.unstyled.field)??{}},bse={baseStyle:mse,sizes:vse,variants:yse,defaultProps:_n.defaultProps},{defineMultiStyleConfig:Sse,definePartsStyle:xse}=hr(Rre.keys),V3=yi("popper-bg"),wse=yi("popper-arrow-bg"),GL=yi("popper-arrow-shadow-color"),Cse={zIndex:10},_se={[V3.variable]:"colors.white",bg:V3.reference,[wse.variable]:V3.reference,[GL.variable]:"colors.gray.200",_dark:{[V3.variable]:"colors.gray.700",[GL.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},kse={px:3,py:2,borderBottomWidth:"1px"},Ese={px:3,py:2},Pse={px:3,py:2,borderTopWidth:"1px"},Tse={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Lse=xse({popper:Cse,content:_se,header:kse,body:Ese,footer:Pse,closeButton:Tse}),Ase=Sse({baseStyle:Lse}),{defineMultiStyleConfig:Ose,definePartsStyle:vv}=hr(Dre.keys),Mse=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=Et(BL(),BL("1rem","rgba(0,0,0,0.1)"))(e),a=Et(`${t}.500`,`${t}.200`)(e),s=`linear-gradient( to right, transparent 0%, - ${Co(n,a)} 50%, + ${_o(n,a)} 50%, transparent 100% - )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},Mse={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Ise=e=>({bg:Et("gray.100","whiteAlpha.300")(e)}),Rse=e=>({transitionProperty:"common",transitionDuration:"slow",...Ose(e)}),Dse=vv(e=>({label:Mse,filledTrack:Rse(e),track:Ise(e)})),Nse={xs:vv({track:{h:"1"}}),sm:vv({track:{h:"2"}}),md:vv({track:{h:"3"}}),lg:vv({track:{h:"4"}})},jse=Ase({sizes:Nse,baseStyle:Dse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Bse,definePartsStyle:s4}=hr(Dre.keys),Fse=e=>{var t;const n=(t=Eo(q4.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},$se=s4(e=>{var t,n,r,i;return{label:(n=(t=q4).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=q4).baseStyle)==null?void 0:i.call(r,e).container,control:Fse(e)}}),zse={md:s4({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:s4({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:s4({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Hse=Bse({baseStyle:$se,sizes:zse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Vse,definePartsStyle:Wse}=hr(Nre.keys),W3=Vn("select-bg"),qL,Use={...(qL=_n.baseStyle)==null?void 0:qL.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:W3.reference,[W3.variable]:"colors.white",_dark:{[W3.variable]:"colors.gray.700"},"> option, > optgroup":{bg:W3.reference}},Gse={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},qse=Wse({field:Use,icon:Gse}),U3={paddingInlineEnd:"8"},YL,KL,XL,ZL,QL,JL,eA,tA,Yse={lg:{...(YL=_n.sizes)==null?void 0:YL.lg,field:{...(KL=_n.sizes)==null?void 0:KL.lg.field,...U3}},md:{...(XL=_n.sizes)==null?void 0:XL.md,field:{...(ZL=_n.sizes)==null?void 0:ZL.md.field,...U3}},sm:{...(QL=_n.sizes)==null?void 0:QL.sm,field:{...(JL=_n.sizes)==null?void 0:JL.sm.field,...U3}},xs:{...(eA=_n.sizes)==null?void 0:eA.xs,field:{...(tA=_n.sizes)==null?void 0:tA.xs.field,...U3},icon:{insetEnd:"1"}}},Kse=Vse({baseStyle:qse,sizes:Yse,variants:_n.variants,defaultProps:_n.defaultProps}),o6=Vn("skeleton-start-color"),a6=Vn("skeleton-end-color"),Xse={[o6.variable]:"colors.gray.100",[a6.variable]:"colors.gray.400",_dark:{[o6.variable]:"colors.gray.800",[a6.variable]:"colors.gray.600"},background:o6.reference,borderColor:a6.reference,opacity:.7,borderRadius:"sm"},Zse={baseStyle:Xse},s6=Vn("skip-link-bg"),Qse={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[s6.variable]:"colors.white",_dark:{[s6.variable]:"colors.gray.700"},bg:s6.reference}},Jse={baseStyle:Qse},{defineMultiStyleConfig:ele,definePartsStyle:DS}=hr(jre.keys),S2=Vn("slider-thumb-size"),x2=Vn("slider-track-size"),vd=Vn("slider-bg"),tle=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...P_({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},nle=e=>({...P_({orientation:e.orientation,horizontal:{h:x2.reference},vertical:{w:x2.reference}}),overflow:"hidden",borderRadius:"sm",[vd.variable]:"colors.gray.200",_dark:{[vd.variable]:"colors.whiteAlpha.200"},_disabled:{[vd.variable]:"colors.gray.300",_dark:{[vd.variable]:"colors.whiteAlpha.300"}},bg:vd.reference}),rle=e=>{const{orientation:t}=e;return{...P_({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:S2.reference,h:S2.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},ile=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[vd.variable]:`colors.${t}.500`,_dark:{[vd.variable]:`colors.${t}.200`},bg:vd.reference}},ole=DS(e=>({container:tle(e),track:nle(e),thumb:rle(e),filledTrack:ile(e)})),ale=DS({container:{[S2.variable]:"sizes.4",[x2.variable]:"sizes.1"}}),sle=DS({container:{[S2.variable]:"sizes.3.5",[x2.variable]:"sizes.1"}}),lle=DS({container:{[S2.variable]:"sizes.2.5",[x2.variable]:"sizes.0.5"}}),ule={lg:ale,md:sle,sm:lle},cle=ele({baseStyle:ole,sizes:ule,defaultProps:{size:"md",colorScheme:"blue"}}),bh=yi("spinner-size"),dle={width:[bh.reference],height:[bh.reference]},fle={xs:{[bh.variable]:"sizes.3"},sm:{[bh.variable]:"sizes.4"},md:{[bh.variable]:"sizes.6"},lg:{[bh.variable]:"sizes.8"},xl:{[bh.variable]:"sizes.12"}},hle={baseStyle:dle,sizes:fle,defaultProps:{size:"md"}},{defineMultiStyleConfig:ple,definePartsStyle:sB}=hr(Bre.keys),gle={fontWeight:"medium"},mle={opacity:.8,marginBottom:"2"},vle={verticalAlign:"baseline",fontWeight:"semibold"},yle={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},ble=sB({container:{},label:gle,helpText:mle,number:vle,icon:yle}),Sle={md:sB({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},xle=ple({baseStyle:ble,sizes:Sle,defaultProps:{size:"md"}}),{defineMultiStyleConfig:wle,definePartsStyle:l4}=hr(Fre.keys),Fv=yi("switch-track-width"),Oh=yi("switch-track-height"),l6=yi("switch-track-diff"),Cle=Vu.subtract(Fv,Oh),p7=yi("switch-thumb-x"),H1=yi("switch-bg"),_le=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Fv.reference],height:[Oh.reference],transitionProperty:"common",transitionDuration:"fast",[H1.variable]:"colors.gray.300",_dark:{[H1.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[H1.variable]:`colors.${t}.500`,_dark:{[H1.variable]:`colors.${t}.200`}},bg:H1.reference}},kle={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oh.reference],height:[Oh.reference],_checked:{transform:`translateX(${p7.reference})`}},Ele=l4(e=>({container:{[l6.variable]:Cle,[p7.variable]:l6.reference,_rtl:{[p7.variable]:Vu(l6).negate().toString()}},track:_le(e),thumb:kle})),Ple={sm:l4({container:{[Fv.variable]:"1.375rem",[Oh.variable]:"sizes.3"}}),md:l4({container:{[Fv.variable]:"1.875rem",[Oh.variable]:"sizes.4"}}),lg:l4({container:{[Fv.variable]:"2.875rem",[Oh.variable]:"sizes.6"}})},Tle=wle({baseStyle:Ele,sizes:Ple,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Lle,definePartsStyle:bm}=hr($re.keys),Ale=bm({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Y4={"&[data-is-numeric=true]":{textAlign:"end"}},Ole=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},caption:{color:Et("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Mle=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},caption:{color:Et("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e)},td:{background:Et(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Ile={simple:Ole,striped:Mle,unstyled:{}},Rle={sm:bm({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:bm({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bm({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Dle=Lle({baseStyle:Ale,variants:Ile,sizes:Rle,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ko=Vn("tabs-color"),$s=Vn("tabs-bg"),G3=Vn("tabs-border-color"),{defineMultiStyleConfig:Nle,definePartsStyle:Kl}=hr(zre.keys),jle=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},Ble=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Fle=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},$le={p:4},zle=Kl(e=>({root:jle(e),tab:Ble(e),tablist:Fle(e),tabpanel:$le})),Hle={sm:Kl({tab:{py:1,px:4,fontSize:"sm"}}),md:Kl({tab:{fontSize:"md",py:2,px:4}}),lg:Kl({tab:{fontSize:"lg",py:3,px:4}})},Vle=Kl(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[Ko.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[$s.variable]:"colors.gray.200",_dark:{[$s.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ko.reference,bg:$s.reference}}}),Wle=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[G3.reference]:"transparent",_selected:{[Ko.variable]:`colors.${t}.600`,[G3.variable]:"colors.white",_dark:{[Ko.variable]:`colors.${t}.300`,[G3.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:G3.reference},color:Ko.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Ule=Kl(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[$s.variable]:"colors.gray.50",_dark:{[$s.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[$s.variable]:"colors.white",[Ko.variable]:`colors.${t}.600`,_dark:{[$s.variable]:"colors.gray.800",[Ko.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ko.reference,bg:$s.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Gle=Kl(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Co(n,`${t}.700`),bg:Co(n,`${t}.100`)}}}}),qle=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ko.variable]:"colors.gray.600",_dark:{[Ko.variable]:"inherit"},_selected:{[Ko.variable]:"colors.white",[$s.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:"colors.gray.800",[$s.variable]:`colors.${t}.300`}},color:Ko.reference,bg:$s.reference}}}),Yle=Kl({}),Kle={line:Vle,enclosed:Wle,"enclosed-colored":Ule,"soft-rounded":Gle,"solid-rounded":qle,unstyled:Yle},Xle=Nle({baseStyle:zle,sizes:Hle,variants:Kle,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Zle,definePartsStyle:Mh}=hr(Hre.keys),Qle={fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},Jle={lineHeight:1.2,overflow:"visible"},eue={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},tue=Mh({container:Qle,label:Jle,closeButton:eue}),nue={sm:Mh({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Mh({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Mh({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},rue={subtle:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.subtle(e)}}),solid:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.solid(e)}}),outline:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.outline(e)}})},iue=Zle({variants:rue,baseStyle:tue,sizes:nue,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),nA,oue={...(nA=_n.baseStyle)==null?void 0:nA.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},rA,aue={outline:e=>{var t;return((t=_n.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=_n.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=_n.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((rA=_n.variants)==null?void 0:rA.unstyled.field)??{}},iA,oA,aA,sA,sue={xs:((iA=_n.sizes)==null?void 0:iA.xs.field)??{},sm:((oA=_n.sizes)==null?void 0:oA.sm.field)??{},md:((aA=_n.sizes)==null?void 0:aA.md.field)??{},lg:((sA=_n.sizes)==null?void 0:sA.lg.field)??{}},lue={baseStyle:oue,sizes:sue,variants:aue,defaultProps:{size:"md",variant:"outline"}},q3=yi("tooltip-bg"),u6=yi("tooltip-fg"),uue=yi("popper-arrow-bg"),cue={bg:q3.reference,color:u6.reference,[q3.variable]:"colors.gray.700",[u6.variable]:"colors.whiteAlpha.900",_dark:{[q3.variable]:"colors.gray.300",[u6.variable]:"colors.gray.900"},[uue.variable]:q3.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},due={baseStyle:cue},fue={Accordion:Lie,Alert:jie,Avatar:Yie,Badge:Nv,Breadcrumb:ioe,Button:hoe,Checkbox:q4,CloseButton:Toe,Code:Moe,Container:Roe,Divider:Foe,Drawer:Xoe,Editable:rae,Form:uae,FormError:gae,FormLabel:vae,Heading:Sae,Input:_n,Kbd:Aae,Link:Mae,List:jae,Menu:qae,Modal:ise,NumberInput:pse,PinInput:yse,Popover:Lse,Progress:jse,Radio:Hse,Select:Kse,Skeleton:Zse,SkipLink:Jse,Slider:cle,Spinner:hle,Stat:xle,Switch:Tle,Table:Dle,Tabs:Xle,Tag:iue,Textarea:lue,Tooltip:due,Card:yoe},hue={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},pue=hue,gue={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},mue=gue,vue={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},yue=vue,bue={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Sue=bue,xue={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},wue=xue,Cue={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},_ue={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},kue={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},Eue={property:Cue,easing:_ue,duration:kue},Pue=Eue,Tue={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},Lue=Tue,Aue={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Oue=Aue,Mue={breakpoints:mue,zIndices:Lue,radii:Sue,blur:Oue,colors:yue,...iB,sizes:tB,shadows:wue,space:eB,borders:pue,transition:Pue},Iue={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Rue={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},Due="ltr",Nue={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},jue={semanticTokens:Iue,direction:Due,...Mue,components:fue,styles:Rue,config:Nue},Bue=typeof Element<"u",Fue=typeof Map=="function",$ue=typeof Set=="function",zue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function u4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!u4(e[r],t[r]))return!1;return!0}var o;if(Fue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!u4(r.value[1],t.get(r.value[0])))return!1;return!0}if($ue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(zue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(Bue&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!u4(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var Hue=function(t,n){try{return u4(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function h0(){const e=w.useContext(y2);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function lB(){const e=dy(),t=h0();return{...e,theme:t}}function Vue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__breakpoints)==null?void 0:o.asArray)==null?void 0:a[i]};return r(t)??r(n)??n}function Wue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function Uue(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),s=r.map((l,u)=>{if(e==="breakpoints")return Vue(o,l,a[u]??l);const d=`${e}.${l}`;return Wue(o,d,a[u]??l)});return Array.isArray(t)?s:s[0]}}function Gue(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=w.useMemo(()=>Fte(n),[n]);return N.createElement(Kne,{theme:i},N.createElement(que,{root:t}),r)}function que({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return N.createElement(MS,{styles:n=>({[t]:n.__cssVars})})}dre({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function Yue(){const{colorMode:e}=dy();return N.createElement(MS,{styles:t=>{const n=Vj(t,"styles.global"),r=Gj(n,{theme:t,colorMode:e});return r?xj(r)(t):void 0}})}var Kue=new Set([...Hte,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Xue=new Set(["htmlWidth","htmlHeight","htmlSize"]);function Zue(e){return Xue.has(e)||!Kue.has(e)}var Que=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=Wj(a,(h,m)=>Wte(m)),l=Gj(e,t),u=Object.assign({},i,l,Uj(s),o),d=xj(u)(t.theme);return r?[d,r]:d};function c6(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Zue);const i=Que({baseStyle:n}),o=u7(e,r)(i);return N.forwardRef(function(l,u){const{colorMode:d,forced:h}=dy();return N.createElement(o,{ref:u,"data-theme":h?d:void 0,...l})})}function Oe(e){return w.forwardRef(e)}function uB(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=lB(),a=e?Vj(i,`components.${e}`):void 0,s=n||a,l=Wl({theme:i,colorMode:o},(s==null?void 0:s.defaultProps)??{},Uj(ore(r,["children"]))),u=w.useRef({});if(s){const h=ene(s)(l);Hue(u.current,h)||(u.current=h)}return u.current}function Ao(e,t={}){return uB(e,t)}function Yi(e,t={}){return uB(e,t)}function Jue(){const e=new Map;return new Proxy(c6,{apply(t,n,r){return c6(...r)},get(t,n){return e.has(n)||e.set(n,c6(n)),e.get(n)}})}var Ce=Jue();function ece(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Mn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o}=e,a=w.createContext(void 0);a.displayName=t;function s(){var l;const u=w.useContext(a);if(!u&&n){const d=new Error(o??ece(r,i));throw d.name="ContextError",(l=Error.captureStackTrace)==null||l.call(Error,d,s),d}return u}return[a.Provider,s,a]}function tce(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function Yn(...e){return t=>{e.forEach(n=>{tce(n,t)})}}function nce(...e){return w.useMemo(()=>Yn(...e),e)}function lA(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var rce=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function uA(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function cA(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var g7=typeof window<"u"?w.useLayoutEffect:w.useEffect,K4=e=>e,ice=class{constructor(){sn(this,"descendants",new Map);sn(this,"register",e=>{if(e!=null)return rce(e)?this.registerNode(e):t=>{this.registerNode(t,e)}});sn(this,"unregister",e=>{this.descendants.delete(e);const t=lA(Array.from(this.descendants.keys()));this.assignIndex(t)});sn(this,"destroy",()=>{this.descendants.clear()});sn(this,"assignIndex",e=>{this.descendants.forEach(t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()})});sn(this,"count",()=>this.descendants.size);sn(this,"enabledCount",()=>this.enabledValues().length);sn(this,"values",()=>Array.from(this.descendants.values()).sort((t,n)=>t.index-n.index));sn(this,"enabledValues",()=>this.values().filter(e=>!e.disabled));sn(this,"item",e=>{if(this.count()!==0)return this.values()[e]});sn(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]});sn(this,"first",()=>this.item(0));sn(this,"firstEnabled",()=>this.enabledItem(0));sn(this,"last",()=>this.item(this.descendants.size-1));sn(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)});sn(this,"indexOf",e=>{var t;return e?((t=this.descendants.get(e))==null?void 0:t.index)??-1:-1});sn(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e)));sn(this,"next",(e,t=!0)=>{const n=uA(e,this.count(),t);return this.item(n)});sn(this,"nextEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=uA(r,this.enabledCount(),t);return this.enabledItem(i)});sn(this,"prev",(e,t=!0)=>{const n=cA(e,this.count()-1,t);return this.item(n)});sn(this,"prevEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=cA(r,this.enabledCount()-1,t);return this.enabledItem(i)});sn(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const n=Array.from(this.descendants.keys()).concat(e),r=lA(n);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(r)})}};function oce(){const e=w.useRef(new ice);return g7(()=>()=>e.current.destroy()),e.current}var[ace,cB]=Mn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function sce(e){const t=cB(),[n,r]=w.useState(-1),i=w.useRef(null);g7(()=>()=>{i.current&&t.unregister(i.current)},[]),g7(()=>{if(!i.current)return;const a=Number(i.current.dataset.index);n!=a&&!Number.isNaN(a)&&r(a)});const o=K4(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:Yn(o,i)}}function dB(){return[K4(ace),()=>K4(cB()),()=>oce(),i=>sce(i)]}var Qr=(...e)=>e.filter(Boolean).join(" "),dA={path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Da=Oe((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...u}=e,d=Qr("chakra-icon",s),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l},m={ref:t,focusable:o,className:d,__css:h},v=r??dA.viewBox;if(n&&typeof n!="string")return N.createElement(Ce.svg,{as:n,...m,...u});const b=a??dA.path;return N.createElement(Ce.svg,{verticalAlign:"middle",viewBox:v,...m,...u},b)});Da.displayName="Icon";function yt(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=w.Children.toArray(e.path),a=Oe((s,l)=>N.createElement(Da,{ref:l,viewBox:t,...i,...s},o.length?o:N.createElement("path",{fill:"currentColor",d:n})));return a.displayName=r,a}function Er(e,t=[]){const n=w.useRef(e);return w.useEffect(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function NS(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(m,v)=>m!==v}=e,o=Er(r),a=Er(i),[s,l]=w.useState(n),u=t!==void 0,d=u?t:s,h=Er(m=>{const b=typeof m=="function"?m(d):m;a(d,b)&&(u||l(b),o(b))},[u,o,d,a]);return[d,h]}const O_=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),jS=w.createContext({});function lce(){return w.useContext(jS).visualElement}const p0=w.createContext(null),np=typeof document<"u",X4=np?w.useLayoutEffect:w.useEffect,fB=w.createContext({strict:!1});function uce(e,t,n,r){const i=lce(),o=w.useContext(fB),a=w.useContext(p0),s=w.useContext(O_).reducedMotion,l=w.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;return X4(()=>{u&&u.render()}),w.useEffect(()=>{u&&u.animationState&&u.animationState.animateChanges()}),X4(()=>()=>u&&u.notify("Unmount"),[]),u}function Hg(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function cce(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Hg(n)&&(n.current=r))},[t])}function w2(e){return typeof e=="string"||Array.isArray(e)}function BS(e){return typeof e=="object"&&typeof e.start=="function"}const dce=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function FS(e){return BS(e.animate)||dce.some(t=>w2(e[t]))}function hB(e){return Boolean(FS(e)||e.variants)}function fce(e,t){if(FS(e)){const{initial:n,animate:r}=e;return{initial:n===!1||w2(n)?n:void 0,animate:w2(r)?r:void 0}}return e.inherit!==!1?t:{}}function hce(e){const{initial:t,animate:n}=fce(e,w.useContext(jS));return w.useMemo(()=>({initial:t,animate:n}),[fA(t),fA(n)])}function fA(e){return Array.isArray(e)?e.join(" "):e}const Bu=e=>({isEnabled:t=>e.some(n=>!!t[n])}),C2={measureLayout:Bu(["layout","layoutId","drag"]),animation:Bu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Bu(["exit"]),drag:Bu(["drag","dragControls"]),focus:Bu(["whileFocus"]),hover:Bu(["whileHover","onHoverStart","onHoverEnd"]),tap:Bu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Bu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Bu(["whileInView","onViewportEnter","onViewportLeave"])};function pce(e){for(const t in e)t==="projectionNodeConstructor"?C2.projectionNodeConstructor=e[t]:C2[t].Component=e[t]}function $S(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const $v={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let gce=1;function mce(){return $S(()=>{if($v.hasEverUpdated)return gce++})}const M_=w.createContext({});class vce extends N.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const pB=w.createContext({}),yce=Symbol.for("motionComponentSymbol");function bce({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&pce(e);function a(l,u){const d={...w.useContext(O_),...l,layoutId:Sce(l)},{isStatic:h}=d;let m=null;const v=hce(l),b=h?void 0:mce(),S=i(l,h);if(!h&&np){v.visualElement=uce(o,S,d,t);const k=w.useContext(fB).strict,E=w.useContext(pB);v.visualElement&&(m=v.visualElement.loadFeatures(d,k,e,b,n||C2.projectionNodeConstructor,E))}return w.createElement(vce,{visualElement:v.visualElement,props:d},m,w.createElement(jS.Provider,{value:v},r(o,l,b,cce(S,v.visualElement,u),S,h,v.visualElement)))}const s=w.forwardRef(a);return s[yce]=o,s}function Sce({layoutId:e}){const t=w.useContext(M_).id;return t&&e!==void 0?t+"-"+e:e}function xce(e){function t(r,i={}){return bce(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const wce=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function I_(e){return typeof e!="string"||e.includes("-")?!1:!!(wce.indexOf(e)>-1||/[A-Z]/.test(e))}const Z4={};function Cce(e){Object.assign(Z4,e)}const Q4=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g0=new Set(Q4);function gB(e,{layout:t,layoutId:n}){return g0.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Z4[e]||e==="opacity")}const ou=e=>!!(e!=null&&e.getVelocity),_ce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},kce=(e,t)=>Q4.indexOf(e)-Q4.indexOf(t);function Ece({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(kce);for(const s of t)a+=`${_ce[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function mB(e){return e.startsWith("--")}const Pce=(e,t)=>t&&typeof e=="number"?t.transform(e):e,vB=(e,t)=>n=>Math.max(Math.min(n,t),e),zv=e=>e%1?Number(e.toFixed(5)):e,_2=/(-)?([\d]*\.?[\d])+/g,m7=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Tce=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function gy(e){return typeof e=="string"}const rp={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Hv=Object.assign(Object.assign({},rp),{transform:vB(0,1)}),Y3=Object.assign(Object.assign({},rp),{default:1}),my=e=>({test:t=>gy(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),cd=my("deg"),Xl=my("%"),Lt=my("px"),Lce=my("vh"),Ace=my("vw"),hA=Object.assign(Object.assign({},Xl),{parse:e=>Xl.parse(e)/100,transform:e=>Xl.transform(e*100)}),R_=(e,t)=>n=>Boolean(gy(n)&&Tce.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yB=(e,t,n)=>r=>{if(!gy(r))return r;const[i,o,a,s]=r.match(_2);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Ch={test:R_("hsl","hue"),parse:yB("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xl.transform(zv(t))+", "+Xl.transform(zv(n))+", "+zv(Hv.transform(r))+")"},Oce=vB(0,255),d6=Object.assign(Object.assign({},rp),{transform:e=>Math.round(Oce(e))}),wd={test:R_("rgb","red"),parse:yB("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+d6.transform(e)+", "+d6.transform(t)+", "+d6.transform(n)+", "+zv(Hv.transform(r))+")"};function Mce(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const v7={test:R_("#"),parse:Mce,transform:wd.transform},So={test:e=>wd.test(e)||v7.test(e)||Ch.test(e),parse:e=>wd.test(e)?wd.parse(e):Ch.test(e)?Ch.parse(e):v7.parse(e),transform:e=>gy(e)?e:e.hasOwnProperty("red")?wd.transform(e):Ch.transform(e)},bB="${c}",SB="${n}";function Ice(e){var t,n,r,i;return isNaN(e)&&gy(e)&&((n=(t=e.match(_2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(m7))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function xB(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(m7);r&&(n=r.length,e=e.replace(m7,bB),t.push(...r.map(So.parse)));const i=e.match(_2);return i&&(e=e.replace(_2,SB),t.push(...i.map(rp.parse))),{values:t,numColors:n,tokenised:e}}function wB(e){return xB(e).values}function CB(e){const{values:t,numColors:n,tokenised:r}=xB(e),i=t.length;return o=>{let a=r;for(let s=0;stypeof e=="number"?0:e;function Dce(e){const t=wB(e);return CB(e)(t.map(Rce))}const Ju={test:Ice,parse:wB,createTransformer:CB,getAnimatableNone:Dce},Nce=new Set(["brightness","contrast","saturate","opacity"]);function jce(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(_2)||[];if(!r)return e;const i=n.replace(r,"");let o=Nce.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Bce=/([a-z-]*)\(.*?\)/g,y7=Object.assign(Object.assign({},Ju),{getAnimatableNone:e=>{const t=e.match(Bce);return t?t.map(jce).join(" "):e}}),pA={...rp,transform:Math.round},_B={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,size:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,rotate:cd,rotateX:cd,rotateY:cd,rotateZ:cd,scale:Y3,scaleX:Y3,scaleY:Y3,scaleZ:Y3,skew:cd,skewX:cd,skewY:cd,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:Hv,originX:hA,originY:hA,originZ:Lt,zIndex:pA,fillOpacity:Hv,strokeOpacity:Hv,numOctaves:pA};function D_(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,d=!1,h=!0;for(const m in t){const v=t[m];if(mB(m)){o[m]=v;continue}const b=_B[m],S=Pce(v,b);if(g0.has(m)){if(u=!0,a[m]=S,s.push(m),!h)continue;v!==(b.default||0)&&(h=!1)}else m.startsWith("origin")?(d=!0,l[m]=S):i[m]=S}if(t.transform||(u||r?i.transform=Ece(e,n,h,r):i.transform&&(i.transform="none")),d){const{originX:m="50%",originY:v="50%",originZ:b=0}=l;i.transformOrigin=`${m} ${v} ${b}`}}const N_=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function kB(e,t,n){for(const r in t)!ou(t[r])&&!gB(r,n)&&(e[r]=t[r])}function Fce({transformTemplate:e},t,n){return w.useMemo(()=>{const r=N_();return D_(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function $ce(e,t,n){const r=e.style||{},i={};return kB(i,r,e),Object.assign(i,Fce(e,t,n)),e.transformValues?e.transformValues(i):i}function zce(e,t,n){const r={},i=$ce(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const Hce=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],Vce=["whileTap","onTap","onTapStart","onTapCancel"],Wce=["onPan","onPanStart","onPanSessionStart","onPanEnd"],Uce=["whileInView","onViewportEnter","onViewportLeave","viewport"],Gce=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...Uce,...Vce,...Hce,...Wce]);function J4(e){return Gce.has(e)}let EB=e=>!J4(e);function qce(e){e&&(EB=t=>t.startsWith("on")?!J4(t):e(t))}try{qce(require("@emotion/is-prop-valid").default)}catch{}function Yce(e,t,n){const r={};for(const i in e)(EB(i)||n===!0&&J4(i)||!t&&!J4(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function gA(e,t,n){return typeof e=="string"?e:Lt.transform(t+n*e)}function Kce(e,t,n){const r=gA(t,e.x,e.width),i=gA(n,e.y,e.height);return`${r} ${i}`}const Xce={offset:"stroke-dashoffset",array:"stroke-dasharray"},Zce={offset:"strokeDashoffset",array:"strokeDasharray"};function Qce(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Xce:Zce;e[o.offset]=Lt.transform(-r);const a=Lt.transform(t),s=Lt.transform(n);e[o.array]=`${a} ${s}`}function j_(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,d){D_(e,l,u,d),e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:v}=e;h.transform&&(v&&(m.transform=h.transform),delete h.transform),v&&(r!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=Kce(v,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),o!==void 0&&Qce(h,o,a,s,!1)}const PB=()=>({...N_(),attrs:{}});function Jce(e,t){const n=w.useMemo(()=>{const r=PB();return j_(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};kB(r,e.style,e),n.style={...r,...n.style}}return n}function ede(e=!1){return(n,r,i,o,{latestValues:a},s)=>{const u=(I_(n)?Jce:zce)(r,a,s),h={...Yce(r,typeof n=="string",e),...u,ref:o};return i&&(h["data-projection-id"]=i),w.createElement(n,h)}}const TB=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function LB(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const AB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function OB(e,t,n,r){LB(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(AB.has(i)?i:TB(i),t.attrs[i])}function B_(e){const{style:t}=e,n={};for(const r in t)(ou(t[r])||gB(r,e))&&(n[r]=t[r]);return n}function MB(e){const t=B_(e);for(const n in e)if(ou(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function F_(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const k2=e=>Array.isArray(e),tde=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),IB=e=>k2(e)?e[e.length-1]||0:e;function c4(e){const t=ou(e)?e.get():e;return tde(t)?t.toValue():t}function nde({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:rde(r,i,o,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}const RB=e=>(t,n)=>{const r=w.useContext(jS),i=w.useContext(p0),o=()=>nde(e,t,r,i);return n?o():$S(o)};function rde(e,t,n,r){const i={},o=r(e);for(const m in o)i[m]=c4(o[m]);let{initial:a,animate:s}=e;const l=FS(e),u=hB(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const h=d?s:a;return h&&typeof h!="boolean"&&!BS(h)&&(Array.isArray(h)?h:[h]).forEach(v=>{const b=F_(e,v);if(!b)return;const{transitionEnd:S,transition:k,...E}=b;for(const _ in E){let T=E[_];if(Array.isArray(T)){const A=d?T.length-1:0;T=T[A]}T!==null&&(i[_]=T)}for(const _ in S)i[_]=S[_]}),i}const ide={useVisualState:RB({scrapeMotionValuesFromProps:MB,createRenderState:PB,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}j_(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),OB(t,n)}})},ode={useVisualState:RB({scrapeMotionValuesFromProps:B_,createRenderState:N_})};function ade(e,{forwardMotionProps:t=!1},n,r,i){return{...I_(e)?ide:ode,preloadedFeatures:n,useRender:ede(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var tr;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(tr||(tr={}));function zS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function b7(e,t,n,r){w.useEffect(()=>{const i=e.current;if(n&&i)return zS(i,t,n,r)},[e,t,n,r])}function sde({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(tr.Focus,!0)},i=()=>{n&&n.setActive(tr.Focus,!1)};b7(t,"focus",e?r:void 0),b7(t,"blur",e?i:void 0)}function DB(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function NB(e){return!!e.touches}function lde(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const ude={pageX:0,pageY:0};function cde(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||ude;return{x:r[t+"X"],y:r[t+"Y"]}}function dde(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function $_(e,t="page"){return{point:NB(e)?cde(e,t):dde(e,t)}}const jB=(e,t=!1)=>{const n=r=>e(r,$_(r));return t?lde(n):n},fde=()=>np&&window.onpointerdown===null,hde=()=>np&&window.ontouchstart===null,pde=()=>np&&window.onmousedown===null,gde={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},mde={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function BB(e){return fde()?e:hde()?mde[e]:pde()?gde[e]:e}function Sm(e,t,n,r){return zS(e,BB(t),jB(n,t==="pointerdown"),r)}function e5(e,t,n,r){return b7(e,BB(t),n&&jB(n,t==="pointerdown"),r)}function FB(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const mA=FB("dragHorizontal"),vA=FB("dragVertical");function $B(e){let t=!1;if(e==="y")t=vA();else if(e==="x")t=mA();else{const n=mA(),r=vA();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function zB(){const e=$B(!0);return e?(e(),!1):!0}function yA(e,t,n){return(r,i)=>{!DB(r)||zB()||(e.animationState&&e.animationState.setActive(tr.Hover,t),n&&n(r,i))}}function vde({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){e5(r,"pointerenter",e||n?yA(r,!0,e):void 0,{passive:!e}),e5(r,"pointerleave",t||n?yA(r,!1,t):void 0,{passive:!t})}const HB=(e,t)=>t?e===t?!0:HB(e,t.parentElement):!1;function z_(e){return w.useEffect(()=>()=>e(),[])}function VB(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),f6=.001,bde=.01,bA=10,Sde=.05,xde=1;function wde({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;yde(e<=bA*1e3);let a=1-t;a=n5(Sde,xde,a),e=n5(bde,bA,e/1e3),a<1?(i=u=>{const d=u*a,h=d*e,m=d-n,v=S7(u,a),b=Math.exp(-h);return f6-m/v*b},o=u=>{const h=u*a*e,m=h*n+n,v=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-h),S=S7(Math.pow(u,2),a);return(-i(u)+f6>0?-1:1)*((m-v)*b)/S}):(i=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-f6+d*h},o=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const s=5/e,l=_de(i,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const Cde=12;function _de(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Pde(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!SA(e,Ede)&&SA(e,kde)){const n=wde(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function H_(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=VB(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=Pde(o),v=xA,b=xA;function S(){const k=d?-(d/1e3):0,E=n-t,_=l/(2*Math.sqrt(s*u)),T=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const A=S7(T,_);v=I=>{const R=Math.exp(-_*T*I);return n-R*((k+_*T*E)/A*Math.sin(A*I)+E*Math.cos(A*I))},b=I=>{const R=Math.exp(-_*T*I);return _*T*R*(Math.sin(A*I)*(k+_*T*E)/A+E*Math.cos(A*I))-R*(Math.cos(A*I)*(k+_*T*E)-A*E*Math.sin(A*I))}}else if(_===1)v=A=>n-Math.exp(-T*A)*(E+(k+T*E)*A);else{const A=T*Math.sqrt(_*_-1);v=I=>{const R=Math.exp(-_*T*I),D=Math.min(A*I,300);return n-R*((k+_*T*E)*Math.sinh(D)+A*E*Math.cosh(D))/A}}}return S(),{next:k=>{const E=v(k);if(m)a.done=k>=h;else{const _=b(k)*1e3,T=Math.abs(_)<=r,A=Math.abs(n-E)<=i;a.done=T&&A}return a.value=a.done?n:E,a},flipTarget:()=>{d=-d,[t,n]=[n,t],S()}}}H_.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const xA=e=>0,E2=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},$r=(e,t,n)=>-n*e+n*t+e;function h6(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=h6(l,s,e+1/3),o=h6(l,s,e),a=h6(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const Tde=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Lde=[v7,wd,Ch],CA=e=>Lde.find(t=>t.test(e)),WB=(e,t)=>{let n=CA(e),r=CA(t),i=n.parse(e),o=r.parse(t);n===Ch&&(i=wA(i),n=wd),r===Ch&&(o=wA(o),r=wd);const a=Object.assign({},i);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Tde(i[l],o[l],s));return a.alpha=$r(i.alpha,o.alpha,s),n.transform(a)}},x7=e=>typeof e=="number",Ade=(e,t)=>n=>t(e(n)),HS=(...e)=>e.reduce(Ade);function UB(e,t){return x7(e)?n=>$r(e,t,n):So.test(e)?WB(e,t):qB(e,t)}const GB=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>UB(o,t[a]));return o=>{for(let a=0;a{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=UB(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function _A(e){const t=Ju.parse(e),n=t.length;let r=0,i=0,o=0;for(let a=0;a{const n=Ju.createTransformer(t),r=_A(e),i=_A(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?HS(GB(r.parsed,i.parsed),n):a=>`${a>0?t:e}`},Mde=(e,t)=>n=>$r(e,t,n);function Ide(e){if(typeof e=="number")return Mde;if(typeof e=="string")return So.test(e)?WB:qB;if(Array.isArray(e))return GB;if(typeof e=="object")return Ode}function Rde(e,t,n){const r=[],i=n||Ide(e[0]),o=e.length-1;for(let a=0;an(E2(e,t,r))}function Nde(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let l=1;for(;li||l===r);l++);o=l-1}const s=E2(e[o],e[o+1],i);return t[o](s)}}function YB(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;t5(o===t.length),t5(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Rde(t,r,i),s=o===2?Dde(e,a):Nde(e,a);return n?l=>s(n5(e[0],e[o-1],l)):s}const VS=e=>t=>1-e(1-t),V_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,jde=e=>t=>Math.pow(t,e),KB=e=>t=>t*t*((e+1)*t-e),Bde=e=>{const t=KB(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},XB=1.525,Fde=4/11,$de=8/11,zde=9/10,W_=e=>e,U_=jde(2),Hde=VS(U_),ZB=V_(U_),QB=e=>1-Math.sin(Math.acos(e)),G_=VS(QB),Vde=V_(G_),q_=KB(XB),Wde=VS(q_),Ude=V_(q_),Gde=Bde(XB),qde=4356/361,Yde=35442/1805,Kde=16061/1805,r5=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-r5(1-e*2)):.5*r5(e*2-1)+.5;function Qde(e,t){return e.map(()=>t||ZB).splice(0,e.length-1)}function Jde(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function efe(e,t){return e.map(n=>n*t)}function d4({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=efe(r&&r.length===a.length?r:Jde(a),i);function l(){return YB(s,a,{ease:Array.isArray(n)?n:Qde(a,n)})}let u=l();return{next:d=>(o.value=u(d),o.done=d>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}function tfe({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:d=>{const h=-s*Math.exp(-d/r);return a.done=!(h>i||h<-i),a.value=a.done?u:u+h,a},flipTarget:()=>{}}}const kA={keyframes:d4,spring:H_,decay:tfe};function nfe(e){if(Array.isArray(e.to))return d4;if(kA[e.type])return kA[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?d4:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?H_:d4}const JB=1/60*1e3,rfe=typeof performance<"u"?()=>performance.now():()=>Date.now(),eF=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(rfe()),JB);function ife(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=ife(()=>P2=!0),e),{}),afe=vy.reduce((e,t)=>{const n=WS[t];return e[t]=(r,i=!1,o=!1)=>(P2||ufe(),n.schedule(r,i,o)),e},{}),sfe=vy.reduce((e,t)=>(e[t]=WS[t].cancel,e),{});vy.reduce((e,t)=>(e[t]=()=>WS[t].process(xm),e),{});const lfe=e=>WS[e].process(xm),tF=e=>{P2=!1,xm.delta=w7?JB:Math.max(Math.min(e-xm.timestamp,ofe),1),xm.timestamp=e,C7=!0,vy.forEach(lfe),C7=!1,P2&&(w7=!1,eF(tF))},ufe=()=>{P2=!0,w7=!0,C7||eF(tF)},cfe=()=>xm;function nF(e,t,n=0){return e-t-n}function dfe(e,t,n=0,r=!0){return r?nF(t+-e,t,n):t-(e-t)+n}function ffe(e,t,n,r){return r?e>=t+n:e<=-n}const hfe=e=>{const t=({delta:n})=>e(n);return{start:()=>afe.update(t,!0),stop:()=>sfe.update(t)}};function rF(e){var t,n,{from:r,autoplay:i=!0,driver:o=hfe,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:d,onStop:h,onComplete:m,onRepeat:v,onUpdate:b}=e,S=VB(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:k}=S,E,_=0,T=S.duration,A,I=!1,R=!0,D;const j=nfe(S);!((n=(t=j).needsInterpolation)===null||n===void 0)&&n.call(t,r,k)&&(D=YB([0,100],[r,k],{clamp:!1}),r=0,k=100);const z=j(Object.assign(Object.assign({},S),{from:r,to:k}));function V(){_++,l==="reverse"?(R=_%2===0,a=dfe(a,T,u,R)):(a=nF(a,T,u),l==="mirror"&&z.flipTarget()),I=!1,v&&v()}function K(){E.stop(),m&&m()}function te(F){if(R||(F=-F),a+=F,!I){const U=z.next(Math.max(0,a));A=U.value,D&&(A=D(A)),I=R?U.done:a<=0}b==null||b(A),I&&(_===0&&(T??(T=a)),_{h==null||h(),E.stop()}}}function iF(e,t){return t?e*(1e3/t):0}function pfe({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:h,onComplete:m,onStop:v}){let b;function S(T){return n!==void 0&&Tr}function k(T){return n===void 0?r:r===void 0||Math.abs(n-T){var I;h==null||h(A),(I=T.onUpdate)===null||I===void 0||I.call(T,A)},onComplete:m,onStop:v}))}function _(T){E(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},T))}if(S(e))_({from:e,velocity:t,to:k(e)});else{let T=i*t+e;typeof u<"u"&&(T=u(T));const A=k(T),I=A===n?-1:1;let R,D;const j=z=>{R=D,D=z,t=iF(z-R,cfe().delta),(I===1&&z>A||I===-1&&zb==null?void 0:b.stop()}}const _7=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),EA=e=>_7(e)&&e.hasOwnProperty("z"),K3=(e,t)=>Math.abs(e-t);function Y_(e,t){if(x7(e)&&x7(t))return K3(e,t);if(_7(e)&&_7(t)){const n=K3(e.x,t.x),r=K3(e.y,t.y),i=EA(e)&&EA(t)?K3(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const oF=(e,t)=>1-3*t+3*e,aF=(e,t)=>3*t-6*e,sF=e=>3*e,i5=(e,t,n)=>((oF(t,n)*e+aF(t,n))*e+sF(t))*e,lF=(e,t,n)=>3*oF(t,n)*e*e+2*aF(t,n)*e+sF(t),gfe=1e-7,mfe=10;function vfe(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=i5(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>gfe&&++s=bfe?Sfe(a,h,e,n):m===0?h:vfe(a,s,s+X3,e,n)}return a=>a===0||a===1?a:i5(o(a),t,r)}function wfe({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(!1),s=w.useRef(null),l={passive:!(t||e||n||v)};function u(){s.current&&s.current(),s.current=null}function d(){return u(),a.current=!1,i.animationState&&i.animationState.setActive(tr.Tap,!1),!zB()}function h(b,S){d()&&(HB(i.current,b.target)?e&&e(b,S):n&&n(b,S))}function m(b,S){d()&&n&&n(b,S)}function v(b,S){u(),!a.current&&(a.current=!0,s.current=HS(Sm(window,"pointerup",h,l),Sm(window,"pointercancel",m,l)),i.animationState&&i.animationState.setActive(tr.Tap,!0),t&&t(b,S))}e5(i,"pointerdown",o?v:void 0,l),z_(u)}const Cfe="production",uF=typeof process>"u"||process.env===void 0?Cfe:"production",PA=new Set;function cF(e,t,n){e||PA.has(t)||(console.warn(t),n&&console.warn(n),PA.add(t))}const k7=new WeakMap,p6=new WeakMap,_fe=e=>{const t=k7.get(e.target);t&&t(e)},kfe=e=>{e.forEach(_fe)};function Efe({root:e,...t}){const n=e||document;p6.has(n)||p6.set(n,{});const r=p6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(kfe,{root:e,...t})),r[i]}function Pfe(e,t,n){const r=Efe(t);return k7.set(e,n),r.observe(e),()=>{k7.delete(e),r.unobserve(e)}}function Tfe({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=w.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?Ofe:Afe)(a,o.current,e,i)}const Lfe={some:0,all:1};function Afe(e,t,n,{root:r,margin:i,amount:o="some",once:a}){w.useEffect(()=>{if(!e||!n.current)return;const s={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:Lfe[o]},l=u=>{const{isIntersecting:d}=u;if(t.isInView===d||(t.isInView=d,a&&!d&&t.hasEnteredView))return;d&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(tr.InView,d);const h=n.getProps(),m=d?h.onViewportEnter:h.onViewportLeave;m&&m(u)};return Pfe(n.current,s,l)},[e,r,i,o])}function Ofe(e,t,n,{fallback:r=!0}){w.useEffect(()=>{!e||!r||(uF!=="production"&&cF(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(tr.InView,!0)}))},[e])}const Cd=e=>t=>(e(t),null),Mfe={inView:Cd(Tfe),tap:Cd(wfe),focus:Cd(sde),hover:Cd(vde)};function K_(){const e=w.useContext(p0);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Ife(){return Rfe(w.useContext(p0))}function Rfe(e){return e===null?!0:e.isPresent}function dF(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;re*1e3,Dfe={linear:W_,easeIn:U_,easeInOut:ZB,easeOut:Hde,circIn:QB,circInOut:Vde,circOut:G_,backIn:q_,backInOut:Ude,backOut:Wde,anticipate:Gde,bounceIn:Xde,bounceInOut:Zde,bounceOut:r5},TA=e=>{if(Array.isArray(e)){t5(e.length===4);const[t,n,r,i]=e;return xfe(t,n,r,i)}else if(typeof e=="string")return Dfe[e];return e},Nfe=e=>Array.isArray(e)&&typeof e[0]!="number",LA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ju.test(t)&&!t.startsWith("url(")),rh=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Z3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),g6=()=>({type:"keyframes",ease:"linear",duration:.3}),jfe=e=>({type:"keyframes",duration:.8,values:e}),AA={x:rh,y:rh,z:rh,rotate:rh,rotateX:rh,rotateY:rh,rotateZ:rh,scaleX:Z3,scaleY:Z3,scale:Z3,opacity:g6,backgroundColor:g6,color:g6,default:Z3},Bfe=(e,t)=>{let n;return k2(t)?n=jfe:n=AA[e]||AA.default,{to:t,...n(t)}},Ffe={..._B,color:So,backgroundColor:So,outlineColor:So,fill:So,stroke:So,borderColor:So,borderTopColor:So,borderRightColor:So,borderBottomColor:So,borderLeftColor:So,filter:y7,WebkitFilter:y7},X_=e=>Ffe[e];function Z_(e,t){var n;let r=X_(e);return r!==y7&&(r=Ju),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const $fe={current:!1},fF=1/60*1e3,zfe=typeof performance<"u"?()=>performance.now():()=>Date.now(),hF=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(zfe()),fF);function Hfe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=Hfe(()=>T2=!0),e),{}),Gs=yy.reduce((e,t)=>{const n=US[t];return e[t]=(r,i=!1,o=!1)=>(T2||Ufe(),n.schedule(r,i,o)),e},{}),Vh=yy.reduce((e,t)=>(e[t]=US[t].cancel,e),{}),m6=yy.reduce((e,t)=>(e[t]=()=>US[t].process(wm),e),{}),Wfe=e=>US[e].process(wm),pF=e=>{T2=!1,wm.delta=E7?fF:Math.max(Math.min(e-wm.timestamp,Vfe),1),wm.timestamp=e,P7=!0,yy.forEach(Wfe),P7=!1,T2&&(E7=!1,hF(pF))},Ufe=()=>{T2=!0,E7=!0,P7||hF(pF)},T7=()=>wm;function gF(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Vh.read(r),e(o-t))};return Gs.read(r,!0),()=>Vh.read(r)}function Gfe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}function qfe({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){const a={...o};return t&&(a.offset=t),o.duration&&(a.duration=o5(o.duration)),o.repeatDelay&&(a.repeatDelay=o5(o.repeatDelay)),e&&(a.ease=Nfe(e)?e.map(TA):TA(e)),o.type==="tween"&&(a.type="keyframes"),(n||i||r)&&(n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),o.type!=="spring"&&(a.type="keyframes"),a}function Yfe(e,t){var n,r;return(r=(n=(Q_(e,t)||{}).delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function Kfe(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Xfe(e,t,n){return Array.isArray(t.to)&&e.duration===void 0&&(e.duration=.8),Kfe(t),Gfe(e)||(e={...e,...Bfe(n,t.to)}),{...t,...qfe(e)}}function Zfe(e,t,n,r,i){const o=Q_(r,e)||{};let a=o.from!==void 0?o.from:t.get();const s=LA(e,n);a==="none"&&s&&typeof n=="string"?a=Z_(e,n):OA(a)&&typeof n=="string"?a=MA(n):!Array.isArray(n)&&OA(n)&&typeof a=="string"&&(n=MA(a));const l=LA(e,a);function u(){const h={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:m=>t.set(m)};return o.type==="inertia"||o.type==="decay"?pfe({...h,...o}):rF({...Xfe(o,h,e),onUpdate:m=>{h.onUpdate(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{h.onComplete(),o.onComplete&&o.onComplete()}})}function d(){const h=IB(n);return t.set(h),i(),o.onUpdate&&o.onUpdate(h),o.onComplete&&o.onComplete(),{stop:()=>{}}}return!l||!s||o.type===!1?d:u}function OA(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function MA(e){return typeof e=="number"?0:Z_("",e)}function Q_(e,t){return e[t]||e.default||e}function J_(e,t,n,r={}){return $fe.current&&(r={type:!1}),t.start(i=>{let o;const a=Zfe(e,t,n,r,i),s=Yfe(r,e),l=()=>o=a();let u;return s?u=gF(l,o5(s)):l(),()=>{u&&u(),o&&o.stop()}})}const Qfe=e=>/^\-?\d*\.?\d+$/.test(e),Jfe=e=>/^0[^.\s]+$/.test(e);function ek(e,t){e.indexOf(t)===-1&&e.push(t)}function tk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vv{constructor(){this.subscriptions=[]}add(t){return ek(this.subscriptions,t),()=>tk(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class the{constructor(t){this.version="7.6.9",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Vv,this.velocityUpdateSubscribers=new Vv,this.renderSubscribers=new Vv,this.canTrackVelocity=!1,this.updateAndNotify=(n,r=!0)=>{this.prev=this.current,this.current=n;const{delta:i,timestamp:o}=T7();this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,Gs.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),r&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Gs.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=ehe(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?iF(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Vm(e){return new the(e)}const mF=e=>t=>t.test(e),nhe={test:e=>e==="auto",parse:e=>e},vF=[rp,Lt,Xl,cd,Ace,Lce,nhe],V1=e=>vF.find(mF(e)),rhe=[...vF,So,Ju],ihe=e=>rhe.find(mF(e));function ohe(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function ahe(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function GS(e,t,n){const r=e.getProps();return F_(r,t,n!==void 0?n:r.custom,ohe(e),ahe(e))}function she(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vm(n))}function lhe(e,t){const n=GS(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const s=IB(o[a]);she(e,a,s)}}function uhe(e,t,n){var r,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sL7(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=L7(e,t,n);else{const i=typeof t=="function"?GS(e,t,n.custom):t;r=yF(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function L7(e,t,n={}){var r;const i=GS(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>yF(e,i,n):()=>Promise.resolve(),s=!((r=e.variantChildren)===null||r===void 0)&&r.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:m}=o;return hhe(e,t,d+u,h,m,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,d]=l==="beforeChildren"?[a,s]:[s,a];return u().then(d)}else return Promise.all([a(),s(n.delay)])}function yF(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(a=r);const d=[],h=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const m in l){const v=e.getValue(m),b=l[m];if(!v||b===void 0||h&&ghe(h,m))continue;let S={delay:n,...a};e.shouldReduceMotion&&g0.has(m)&&(S={...S,type:!1,delay:0});let k=J_(m,v,b,S);a5(u)&&(u.add(m),k=k.then(()=>u.remove(m))),d.push(k)}return Promise.all(d).then(()=>{s&&lhe(e,s)})}function hhe(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(phe).forEach((u,d)=>{a.push(L7(u,t,{...o,delay:n+l(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function phe(e,t){return e.sortNodePosition(t)}function ghe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const nk=[tr.Animate,tr.InView,tr.Focus,tr.Hover,tr.Tap,tr.Drag,tr.Exit],mhe=[...nk].reverse(),vhe=nk.length;function yhe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>fhe(e,n,r)))}function bhe(e){let t=yhe(e);const n=xhe();let r=!0;const i=(l,u)=>{const d=GS(e,u);if(d){const{transition:h,transitionEnd:m,...v}=d;l={...l,...v,...m}}return l};function o(l){t=l(e)}function a(l,u){var d;const h=e.getProps(),m=e.getVariantContext(!0)||{},v=[],b=new Set;let S={},k=1/0;for(let _=0;_k&&R;const K=Array.isArray(I)?I:[I];let te=K.reduce(i,{});D===!1&&(te={});const{prevResolvedValues:q={}}=A,F={...q,...te},U=X=>{V=!0,b.delete(X),A.needsAnimating[X]=!0};for(const X in F){const Z=te[X],W=q[X];S.hasOwnProperty(X)||(Z!==W?k2(Z)&&k2(W)?!dF(Z,W)||z?U(X):A.protectedKeys[X]=!0:Z!==void 0?U(X):b.add(X):Z!==void 0&&b.has(X)?U(X):A.protectedKeys[X]=!0)}A.prevProp=I,A.prevResolvedValues=te,A.isActive&&(S={...S,...te}),r&&e.blockInitialAnimation&&(V=!1),V&&!j&&v.push(...K.map(X=>({animation:X,options:{type:T,...l}})))}if(b.size){const _={};b.forEach(T=>{const A=e.getBaseTarget(T);A!==void 0&&(_[T]=A)}),v.push({animation:_})}let E=Boolean(v.length);return r&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(v):Promise.resolve()}function s(l,u,d){var h;if(n[l].isActive===u)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(l,u)}),n[l].isActive=u;const m=a(d,l);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n}}function She(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dF(t,e):!1}function ih(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xhe(){return{[tr.Animate]:ih(!0),[tr.InView]:ih(),[tr.Hover]:ih(),[tr.Tap]:ih(),[tr.Drag]:ih(),[tr.Focus]:ih(),[tr.Exit]:ih()}}const whe={animation:Cd(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=bhe(e)),BS(t)&&w.useEffect(()=>t.subscribe(e),[t])}),exit:Cd(e=>{const{custom:t,visualElement:n}=e,[r,i]=K_(),o=w.useContext(p0);w.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(tr.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})};class bF{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=y6(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,h=Y_(u.offset,{x:0,y:0})>=3;if(!d&&!h)return;const{point:m}=u,{timestamp:v}=T7();this.history.push({...m,timestamp:v});const{onStart:b,onMove:S}=this.handlers;d||(b&&b(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{if(this.lastMoveEvent=u,this.lastMoveEventInfo=v6(d,this.transformPagePoint),DB(u)&&u.buttons===0){this.handlePointerUp(u,d);return}Gs.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{this.end();const{onEnd:h,onSessionEnd:m}=this.handlers,v=y6(v6(d,this.transformPagePoint),this.history);this.startEvent&&h&&h(u,v),m&&m(u,v)},NB(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=$_(t),o=v6(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=T7();this.history=[{...a,timestamp:s}];const{onSessionStart:l}=n;l&&l(t,y6(o,this.history)),this.removeListeners=HS(Sm(window,"pointermove",this.handlePointerMove),Sm(window,"pointerup",this.handlePointerUp),Sm(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vh.update(this.updatePoint)}}function v6(e,t){return t?{point:t(e.point)}:e}function IA(e,t){return{x:e.x-t.x,y:e.y-t.y}}function y6({point:e},t){return{point:e,delta:IA(e,SF(t)),offset:IA(e,Che(t)),velocity:_he(t,.1)}}function Che(e){return e[0]}function SF(e){return e[e.length-1]}function _he(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=SF(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>o5(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Oa(e){return e.max-e.min}function RA(e,t=0,n=.01){return Y_(e,t)n&&(e=r?$r(n,e,r.max):Math.min(e,n)),e}function BA(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Phe(e,{top:t,left:n,bottom:r,right:i}){return{x:BA(e.x,n,i),y:BA(e.y,t,r)}}function FA(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=E2(t.min,t.max-r,e.min):r>i&&(n=E2(e.min,e.max-i,t.min)),n5(0,1,n)}function Ahe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const A7=.35;function Ohe(e=A7){return e===!1?e=0:e===!0&&(e=A7),{x:$A(e,"left","right"),y:$A(e,"top","bottom")}}function $A(e,t,n){return{min:zA(e,t),max:zA(e,n)}}function zA(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}const HA=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gv=()=>({x:HA(),y:HA()}),VA=()=>({min:0,max:0}),pi=()=>({x:VA(),y:VA()});function Rl(e){return[e("x"),e("y")]}function xF({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Mhe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Ihe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function b6(e){return e===void 0||e===1}function O7({scale:e,scaleX:t,scaleY:n}){return!b6(e)||!b6(t)||!b6(n)}function ch(e){return O7(e)||wF(e)||e.z||e.rotate||e.rotateX||e.rotateY}function wF(e){return WA(e.x)||WA(e.y)}function WA(e){return e&&e!=="0%"}function s5(e,t,n){const r=e-n,i=t*r;return n+i}function UA(e,t,n,r,i){return i!==void 0&&(e=s5(e,i,r)),s5(e,n,r)+t}function M7(e,t=0,n=1,r,i){e.min=UA(e.min,t,n,r,i),e.max=UA(e.max,t,n,r,i)}function CF(e,{x:t,y:n}){M7(e.x,t.translate,t.scale,t.originPoint),M7(e.y,n.translate,n.scale,n.originPoint)}function Rhe(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let u=0;u{this.stopAnimation(),n&&this.snapToCursor($_(s,"page").point)},i=(s,l)=>{var u;const{drag:d,dragPropagation:h,onDragStart:m}=this.getProps();d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=$B(d),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rl(v=>{var b,S;let k=this.getAxisMotionValue(v).get()||0;if(Xl.test(k)){const E=(S=(b=this.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.layoutBox[v];E&&(k=Oa(E)*(parseFloat(k)/100))}this.originPoint[v]=k}),m==null||m(s,l),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(tr.Drag,!0))},o=(s,l)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:h,onDrag:m}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:v}=l;if(d&&this.currentDirection===null){this.currentDirection=$he(v),this.currentDirection!==null&&(h==null||h(this.currentDirection));return}this.updateAxis("x",l.point,v),this.updateAxis("y",l.point,v),this.visualElement.render(),m==null||m(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new bF(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(tr.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Q3(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Ehe(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Hg(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Phe(r.layoutBox,t):this.constraints=!1,this.elastic=Ohe(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Rl(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Ahe(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Hg(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=jhe(r,i.root,this.visualElement.getTransformPagePoint());let a=The(i.layout.layoutBox,o);if(n){const s=n(Mhe(a));this.hasMutatedConstraints=!!s,s&&(a=xF(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=Rl(d=>{var h;if(!Q3(d,n,this.currentDirection))return;let m=(h=l==null?void 0:l[d])!==null&&h!==void 0?h:{};a&&(m={min:0,max:0});const v=i?200:1e6,b=i?40:1e7,S={type:"inertia",velocity:r?t[d]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(d,S)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return J_(t,r,0,n)}stopAnimation(){Rl(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n,r;const i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)}snapToCursor(t){Rl(n=>{const{drag:r}=this.getProps();if(!Q3(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[n];o.set(t[n]-$r(a,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Hg(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rl(s=>{const l=this.getAxisMotionValue(s);if(l){const u=l.get();o[s]=Lhe({min:u,max:u},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Rl(s=>{if(!Q3(s,n,null))return;const l=this.getAxisMotionValue(s),{min:u,max:d}=this.constraints[s];l.set($r(u,d,o[s]))})}addListeners(){var t;if(!this.visualElement.current)return;Bhe.set(this.visualElement,this);const n=this.visualElement.current,r=Sm(n,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),i=()=>{const{dragConstraints:u}=this.getProps();Hg(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const s=zS(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Rl(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=u[h].translate,m.set(m.get()+u[h].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),l==null||l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=A7,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function Q3(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function $he(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function zhe(e){const{dragControls:t,visualElement:n}=e,r=$S(()=>new Fhe(n));w.useEffect(()=>t&&t.subscribe(r),[r,t]),w.useEffect(()=>r.addListeners(),[r])}function Hhe({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(null),{transformPagePoint:s}=w.useContext(O_),l={onSessionStart:r,onStart:t,onMove:e,onEnd:(d,h)=>{a.current=null,n&&n(d,h)}};w.useEffect(()=>{a.current!==null&&a.current.updateHandlers(l)});function u(d){a.current=new bF(d,l,{transformPagePoint:s})}e5(i,"pointerdown",o&&u),z_(()=>a.current&&a.current.end())}const Vhe={pan:Cd(Hhe),drag:Cd(zhe)};function I7(e){return typeof e=="string"&&e.startsWith("var(--")}const kF=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Whe(e){const t=kF.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function R7(e,t,n=1){const[r,i]=Whe(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():I7(i)?R7(i,t,n+1):i}function Uhe(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!I7(o))return;const a=R7(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!I7(o))continue;const a=R7(o,r);a&&(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const Ghe=new Set(["width","height","top","left","right","bottom","x","y"]),EF=e=>Ghe.has(e),qhe=e=>Object.keys(e).some(EF),PF=(e,t)=>{e.set(t,!1),e.set(t)},qA=e=>e===rp||e===Lt;var YA;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(YA||(YA={}));const KA=(e,t)=>parseFloat(e.split(", ")[t]),XA=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return KA(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?KA(o[1],e):0}},Yhe=new Set(["x","y","z"]),Khe=Q4.filter(e=>!Yhe.has(e));function Xhe(e){const t=[];return Khe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZA={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:XA(4,13),y:XA(5,14)},Zhe=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=ZA[u](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const d=t.getValue(u);PF(d,s[u]),e[u]=ZA[u](l,o)}),e},Qhe=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(EF);let o=[],a=!1;const s=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],h=V1(d);const m=t[l];let v;if(k2(m)){const b=m.length,S=m[0]===null?1:0;d=m[S],h=V1(d);for(let k=S;k=0?window.pageYOffset:null,u=Zhe(t,e,s);return o.length&&o.forEach(([d,h])=>{e.getValue(d).set(h)}),e.render(),np&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function Jhe(e,t,n,r){return qhe(t)?Qhe(e,t,n,r):{target:t,transitionEnd:r}}const epe=(e,t,n,r)=>{const i=Uhe(e,t,r);return t=i.target,r=i.transitionEnd,Jhe(e,t,n,r)},D7={current:null},TF={current:!1};function tpe(){if(TF.current=!0,!!np)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>D7.current=e.matches;e.addListener(t),t()}else D7.current=!1}function npe(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ou(o))e.addValue(i,o),a5(r)&&r.add(i);else if(ou(a))e.addValue(i,Vm(o)),a5(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,Vm(s!==void 0?s:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const LF=Object.keys(C2),rpe=LF.length,QA=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ipe{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Gs.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=FS(n),this.isVariantNode=hB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(n);for(const d in u){const h=u[d];a[d]!==void 0&&ou(h)&&(h.set(a[d],!1),a5(l)&&l.add(d))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),TF.current||tpe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:D7.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Vh.update(this.notifyUpdate),Vh.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=g0.has(t),i=n.onChange(a=>{this.latestValues[t]=a,this.props.onUpdate&&Gs.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isProjectionDirty=!0)}),o=n.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const s=[];for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:m})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):pi()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;nr.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vm(n),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=F_(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ou(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Vv),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const AF=["initial",...nk],ope=AF.length;class OF extends ipe{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=dhe(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){uhe(this,r,a);const s=epe(this,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function ape(e){return window.getComputedStyle(e)}class spe extends OF{readValueFromInstance(t,n){if(g0.has(n)){const r=X_(n);return r&&r.default||0}else{const r=ape(t),i=(mB(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return _F(t,n)}build(t,n,r,i){D_(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return B_(t)}renderInstance(t,n,r,i){LB(t,n,r,i)}}class lpe extends OF{getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return g0.has(n)?((r=X_(n))===null||r===void 0?void 0:r.default)||0:(n=AB.has(n)?n:TB(n),t.getAttribute(n))}measureInstanceViewportBox(){return pi()}scrapeMotionValuesFromProps(t){return MB(t)}build(t,n,r,i){j_(t,n,r,i.transformTemplate)}renderInstance(t,n,r,i){OB(t,n,r,i)}}const upe=(e,t)=>I_(e)?new lpe(t,{enableHardwareAcceleration:!1}):new spe(t,{enableHardwareAcceleration:!0});function JA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const W1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Lt.test(e))e=parseFloat(e);else return e;const n=JA(e,t.target.x),r=JA(e,t.target.y);return`${n}% ${r}%`}},eO="_$css",cpe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(kF,v=>(o.push(v),eO)));const a=Ju.parse(e);if(a.length>5)return r;const s=Ju.createTransformer(e),l=typeof a[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=d;const h=$r(u,d,.5);typeof a[2+l]=="number"&&(a[2+l]/=h),typeof a[3+l]=="number"&&(a[3+l]/=h);let m=s(a);if(i){let v=0;m=m.replace(eO,()=>{const b=o[v];return v++,b})}return m}};class dpe extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Cce(hpe),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),$v.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||Gs.postRender(()=>{var s;!((s=a.getStack())===null||s===void 0)&&s.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function fpe(e){const[t,n]=K_(),r=w.useContext(M_);return N.createElement(dpe,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(pB),isPresent:t,safeToRemove:n})}const hpe={borderRadius:{...W1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:W1,borderTopRightRadius:W1,borderBottomLeftRadius:W1,borderBottomRightRadius:W1,boxShadow:cpe},ppe={measureLayout:fpe};function gpe(e,t,n={}){const r=ou(e)?e:Vm(e);return J_("",r,t,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const MF=["TopLeft","TopRight","BottomLeft","BottomRight"],mpe=MF.length,tO=e=>typeof e=="string"?parseFloat(e):e,nO=e=>typeof e=="number"||Lt.test(e);function vpe(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=$r(0,(a=n.opacity)!==null&&a!==void 0?a:1,ype(r)),e.opacityExit=$r((s=t.opacity)!==null&&s!==void 0?s:1,0,bpe(r))):o&&(e.opacity=$r((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(let d=0;drt?1:n(E2(e,t,r))}function iO(e,t){e.min=t.min,e.max=t.max}function Ms(e,t){iO(e.x,t.x),iO(e.y,t.y)}function oO(e,t,n,r,i){return e-=t,e=s5(e,1/n,r),i!==void 0&&(e=s5(e,1/i,r)),e}function Spe(e,t=0,n=1,r=.5,i,o=e,a=e){if(Xl.test(t)&&(t=parseFloat(t),t=$r(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=$r(o.min,o.max,r);e===o&&(s-=t),e.min=oO(e.min,t,n,s,i),e.max=oO(e.max,t,n,s,i)}function aO(e,t,[n,r,i],o,a){Spe(e,t[n],t[r],t[i],t.scale,o,a)}const xpe=["x","scaleX","originX"],wpe=["y","scaleY","originY"];function sO(e,t,n,r){aO(e.x,t,xpe,n==null?void 0:n.x,r==null?void 0:r.x),aO(e.y,t,wpe,n==null?void 0:n.y,r==null?void 0:r.y)}function lO(e){return e.translate===0&&e.scale===1}function RF(e){return lO(e.x)&&lO(e.y)}function DF(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function uO(e){return Oa(e.x)/Oa(e.y)}function Cpe(e,t,n=.1){return Y_(e,t)<=n}class _pe{constructor(){this.members=[]}add(t){ek(this.members,t),t.scheduleRender()}remove(t){if(tk(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cO(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),d&&(r+=`rotateY(${d}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}const kpe=(e,t)=>e.depth-t.depth;class Epe{constructor(){this.children=[],this.isDirty=!1}add(t){ek(this.children,t),this.isDirty=!0}remove(t){tk(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(kpe),this.isDirty=!1,this.children.forEach(t)}}const dO=["","X","Y","Z"],fO=1e3;let Ppe=0;function NF({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,s={},l=t==null?void 0:t()){this.id=Ppe++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Mpe),this.nodes.forEach(Ipe)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let u=0;uthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=gF(v,250),$v.hasAnimatedSinceResize&&($v.hasAnimatedSinceResize=!1,this.nodes.forEach(pO))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeTargetChanged:b,layout:S})=>{var k,E,_,T,A;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const I=(E=(k=this.options.transition)!==null&&k!==void 0?k:h.getDefaultTransition())!==null&&E!==void 0?E:Bpe,{onLayoutAnimationStart:R,onLayoutAnimationComplete:D}=h.getProps(),j=!this.targetLayout||!DF(this.targetLayout,S)||b,z=!v&&b;if(!((_=this.resumeFrom)===null||_===void 0)&&_.instance||z||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,z);const V={...Q_(I,"layout"),onPlay:R,onComplete:D};h.shouldReduceMotion&&(V.delay=0,V.type=!1),this.startAnimation(V)}else!v&&this.animationProgress===0&&pO(this),this.isLead()&&((A=(T=this.options).onExitComplete)===null||A===void 0||A.call(T));this.targetLayout=S})}unmount(){var a,s;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(s=this.parent)===null||s===void 0||s.children.delete(this),this.instance=void 0,Vh.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(Rpe),this.animationId++)}willUpdate(a=!0){var s,l,u;if(this.root.isUpdateBlocked()){(l=(s=this.options).onExitComplete)===null||l===void 0||l.call(s);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{var T;const A=_/1e3;gO(v.x,a.x,A),gO(v.y,a.y,A),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((T=this.relativeParent)===null||T===void 0)&&T.layout)&&(Uv(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Npe(this.relativeTarget,this.relativeTargetOrigin,b,A)),S&&(this.animationValues=m,vpe(m,h,this.latestValues,A,E,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(0)}startAnimation(a){var s,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((l=this.resumingFrom.currentAnimation)===null||l===void 0||l.stop()),this.pendingAnimation&&(Vh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gs.update(()=>{$v.hasAnimatedSinceResize=!0,this.currentAnimation=gpe(0,fO,{...a,onUpdate:u=>{var d;this.mixTargetDelta(u),(d=a.onUpdate)===null||d===void 0||d.call(a,u)},onComplete:()=>{var u;(u=a.onComplete)===null||u===void 0||u.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,fO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:d}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&jF(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||pi();const h=Oa(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const m=Oa(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m}Ms(s,l),Vg(s,d),Wv(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(a,s){var l,u,d;this.sharedNodes.has(a)||this.sharedNodes.set(a,new _pe),this.sharedNodes.get(a).add(s),s.promote({transition:(l=s.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(d=(u=s.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(u,s)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let d=0;d{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(hO),this.root.sharedNodes.clear()}}}function Tpe(e){e.updateLayout()}function Lpe(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(b);b.min=o[v].min,b.max=b.min+S}):jF(s,i.layoutBox,o)&&Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(o[v]);b.max=b.min+S});const u=Gv();Wv(u,o,i.layoutBox);const d=Gv();l?Wv(d,e.applyTransform(a,!0),i.measuredBox):Wv(d,o,i.layoutBox);const h=!RF(u);let m=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const k=pi();Uv(k,i.layoutBox,b.layoutBox);const E=pi();Uv(E,o,S.layoutBox),DF(k,E)||(m=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:d,layoutDelta:u,hasLayoutChanged:h,hasRelativeTargetChanged:m})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function Ape(e){e.clearSnapshot()}function hO(e){e.clearMeasurements()}function Ope(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Mpe(e){e.resolveTargetDelta()}function Ipe(e){e.calcProjection()}function Rpe(e){e.resetRotation()}function Dpe(e){e.removeLeadSnapshot()}function gO(e,t,n){e.translate=$r(t.translate,0,n),e.scale=$r(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mO(e,t,n,r){e.min=$r(t.min,n.min,r),e.max=$r(t.max,n.max,r)}function Npe(e,t,n,r){mO(e.x,t.x,n.x,r),mO(e.y,t.y,n.y,r)}function jpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Bpe={duration:.45,ease:[.4,0,.1,1]};function Fpe(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function vO(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function $pe(e){vO(e.x),vO(e.y)}function jF(e,t,n){return e==="position"||e==="preserve-aspect"&&!Cpe(uO(t),uO(n),.2)}const zpe=NF({attachResizeListener:(e,t)=>zS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),S6={current:void 0},Hpe=NF({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!S6.current){const e=new zpe(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),S6.current=e}return S6.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),Vpe={...whe,...Mfe,...Vhe,...ppe},du=xce((e,t)=>ade(e,t,Vpe,upe,Hpe));function BF(){const e=w.useRef(!1);return X4(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Wpe(){const e=BF(),[t,n]=w.useState(0),r=w.useCallback(()=>{e.current&&n(t+1)},[t]);return[w.useCallback(()=>Gs.postRender(r),[r]),t]}class Upe extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Gpe({children:e,isPresent:t}){const n=w.useId(),r=w.useRef(null),i=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:l}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` + )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},Ise={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Rse=e=>({bg:Et("gray.100","whiteAlpha.300")(e)}),Dse=e=>({transitionProperty:"common",transitionDuration:"slow",...Mse(e)}),Nse=vv(e=>({label:Ise,filledTrack:Dse(e),track:Rse(e)})),jse={xs:vv({track:{h:"1"}}),sm:vv({track:{h:"2"}}),md:vv({track:{h:"3"}}),lg:vv({track:{h:"4"}})},Bse=Ose({sizes:jse,baseStyle:Nse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:$se,definePartsStyle:s4}=hr(Nre.keys),Fse=e=>{var t;const n=(t=Po(q4.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},zse=s4(e=>{var t,n,r,i;return{label:(n=(t=q4).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=q4).baseStyle)==null?void 0:i.call(r,e).container,control:Fse(e)}}),Hse={md:s4({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:s4({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:s4({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Vse=$se({baseStyle:zse,sizes:Hse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Wse,definePartsStyle:Use}=hr(jre.keys),W3=Vn("select-bg"),qL,Gse={...(qL=_n.baseStyle)==null?void 0:qL.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:W3.reference,[W3.variable]:"colors.white",_dark:{[W3.variable]:"colors.gray.700"},"> option, > optgroup":{bg:W3.reference}},qse={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},Yse=Use({field:Gse,icon:qse}),U3={paddingInlineEnd:"8"},YL,KL,XL,ZL,QL,JL,eA,tA,Kse={lg:{...(YL=_n.sizes)==null?void 0:YL.lg,field:{...(KL=_n.sizes)==null?void 0:KL.lg.field,...U3}},md:{...(XL=_n.sizes)==null?void 0:XL.md,field:{...(ZL=_n.sizes)==null?void 0:ZL.md.field,...U3}},sm:{...(QL=_n.sizes)==null?void 0:QL.sm,field:{...(JL=_n.sizes)==null?void 0:JL.sm.field,...U3}},xs:{...(eA=_n.sizes)==null?void 0:eA.xs,field:{...(tA=_n.sizes)==null?void 0:tA.xs.field,...U3},icon:{insetEnd:"1"}}},Xse=Wse({baseStyle:Yse,sizes:Kse,variants:_n.variants,defaultProps:_n.defaultProps}),a6=Vn("skeleton-start-color"),s6=Vn("skeleton-end-color"),Zse={[a6.variable]:"colors.gray.100",[s6.variable]:"colors.gray.400",_dark:{[a6.variable]:"colors.gray.800",[s6.variable]:"colors.gray.600"},background:a6.reference,borderColor:s6.reference,opacity:.7,borderRadius:"sm"},Qse={baseStyle:Zse},l6=Vn("skip-link-bg"),Jse={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[l6.variable]:"colors.white",_dark:{[l6.variable]:"colors.gray.700"},bg:l6.reference}},ele={baseStyle:Jse},{defineMultiStyleConfig:tle,definePartsStyle:NS}=hr(Bre.keys),S2=Vn("slider-thumb-size"),x2=Vn("slider-track-size"),vd=Vn("slider-bg"),nle=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...P_({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},rle=e=>({...P_({orientation:e.orientation,horizontal:{h:x2.reference},vertical:{w:x2.reference}}),overflow:"hidden",borderRadius:"sm",[vd.variable]:"colors.gray.200",_dark:{[vd.variable]:"colors.whiteAlpha.200"},_disabled:{[vd.variable]:"colors.gray.300",_dark:{[vd.variable]:"colors.whiteAlpha.300"}},bg:vd.reference}),ile=e=>{const{orientation:t}=e;return{...P_({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:S2.reference,h:S2.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},ole=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[vd.variable]:`colors.${t}.500`,_dark:{[vd.variable]:`colors.${t}.200`},bg:vd.reference}},ale=NS(e=>({container:nle(e),track:rle(e),thumb:ile(e),filledTrack:ole(e)})),sle=NS({container:{[S2.variable]:"sizes.4",[x2.variable]:"sizes.1"}}),lle=NS({container:{[S2.variable]:"sizes.3.5",[x2.variable]:"sizes.1"}}),ule=NS({container:{[S2.variable]:"sizes.2.5",[x2.variable]:"sizes.0.5"}}),cle={lg:sle,md:lle,sm:ule},dle=tle({baseStyle:ale,sizes:cle,defaultProps:{size:"md",colorScheme:"blue"}}),bh=yi("spinner-size"),fle={width:[bh.reference],height:[bh.reference]},hle={xs:{[bh.variable]:"sizes.3"},sm:{[bh.variable]:"sizes.4"},md:{[bh.variable]:"sizes.6"},lg:{[bh.variable]:"sizes.8"},xl:{[bh.variable]:"sizes.12"}},ple={baseStyle:fle,sizes:hle,defaultProps:{size:"md"}},{defineMultiStyleConfig:gle,definePartsStyle:lB}=hr($re.keys),mle={fontWeight:"medium"},vle={opacity:.8,marginBottom:"2"},yle={verticalAlign:"baseline",fontWeight:"semibold"},ble={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},Sle=lB({container:{},label:mle,helpText:vle,number:yle,icon:ble}),xle={md:lB({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},wle=gle({baseStyle:Sle,sizes:xle,defaultProps:{size:"md"}}),{defineMultiStyleConfig:Cle,definePartsStyle:l4}=hr(Fre.keys),$v=yi("switch-track-width"),Oh=yi("switch-track-height"),u6=yi("switch-track-diff"),_le=Vu.subtract($v,Oh),g7=yi("switch-thumb-x"),H1=yi("switch-bg"),kle=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[$v.reference],height:[Oh.reference],transitionProperty:"common",transitionDuration:"fast",[H1.variable]:"colors.gray.300",_dark:{[H1.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[H1.variable]:`colors.${t}.500`,_dark:{[H1.variable]:`colors.${t}.200`}},bg:H1.reference}},Ele={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oh.reference],height:[Oh.reference],_checked:{transform:`translateX(${g7.reference})`}},Ple=l4(e=>({container:{[u6.variable]:_le,[g7.variable]:u6.reference,_rtl:{[g7.variable]:Vu(u6).negate().toString()}},track:kle(e),thumb:Ele})),Tle={sm:l4({container:{[$v.variable]:"1.375rem",[Oh.variable]:"sizes.3"}}),md:l4({container:{[$v.variable]:"1.875rem",[Oh.variable]:"sizes.4"}}),lg:l4({container:{[$v.variable]:"2.875rem",[Oh.variable]:"sizes.6"}})},Lle=Cle({baseStyle:Ple,sizes:Tle,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ale,definePartsStyle:bm}=hr(zre.keys),Ole=bm({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Y4={"&[data-is-numeric=true]":{textAlign:"end"}},Mle=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},caption:{color:Et("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Ile=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...Y4},caption:{color:Et("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e)},td:{background:Et(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Rle={simple:Mle,striped:Ile,unstyled:{}},Dle={sm:bm({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:bm({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bm({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Nle=Ale({baseStyle:Ole,variants:Rle,sizes:Dle,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ko=Vn("tabs-color"),Fs=Vn("tabs-bg"),G3=Vn("tabs-border-color"),{defineMultiStyleConfig:jle,definePartsStyle:Kl}=hr(Hre.keys),Ble=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},$le=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Fle=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},zle={p:4},Hle=Kl(e=>({root:Ble(e),tab:$le(e),tablist:Fle(e),tabpanel:zle})),Vle={sm:Kl({tab:{py:1,px:4,fontSize:"sm"}}),md:Kl({tab:{fontSize:"md",py:2,px:4}}),lg:Kl({tab:{fontSize:"lg",py:3,px:4}})},Wle=Kl(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[Ko.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Fs.variable]:"colors.gray.200",_dark:{[Fs.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ko.reference,bg:Fs.reference}}}),Ule=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[G3.reference]:"transparent",_selected:{[Ko.variable]:`colors.${t}.600`,[G3.variable]:"colors.white",_dark:{[Ko.variable]:`colors.${t}.300`,[G3.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:G3.reference},color:Ko.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Gle=Kl(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Fs.variable]:"colors.gray.50",_dark:{[Fs.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Fs.variable]:"colors.white",[Ko.variable]:`colors.${t}.600`,_dark:{[Fs.variable]:"colors.gray.800",[Ko.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ko.reference,bg:Fs.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),qle=Kl(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:_o(n,`${t}.700`),bg:_o(n,`${t}.100`)}}}}),Yle=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ko.variable]:"colors.gray.600",_dark:{[Ko.variable]:"inherit"},_selected:{[Ko.variable]:"colors.white",[Fs.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:"colors.gray.800",[Fs.variable]:`colors.${t}.300`}},color:Ko.reference,bg:Fs.reference}}}),Kle=Kl({}),Xle={line:Wle,enclosed:Ule,"enclosed-colored":Gle,"soft-rounded":qle,"solid-rounded":Yle,unstyled:Kle},Zle=jle({baseStyle:Hle,sizes:Vle,variants:Xle,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Qle,definePartsStyle:Mh}=hr(Vre.keys),Jle={fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},eue={lineHeight:1.2,overflow:"visible"},tue={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},nue=Mh({container:Jle,label:eue,closeButton:tue}),rue={sm:Mh({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Mh({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Mh({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},iue={subtle:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.subtle(e)}}),solid:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.solid(e)}}),outline:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.outline(e)}})},oue=Qle({variants:iue,baseStyle:nue,sizes:rue,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),nA,aue={...(nA=_n.baseStyle)==null?void 0:nA.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},rA,sue={outline:e=>{var t;return((t=_n.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=_n.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=_n.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((rA=_n.variants)==null?void 0:rA.unstyled.field)??{}},iA,oA,aA,sA,lue={xs:((iA=_n.sizes)==null?void 0:iA.xs.field)??{},sm:((oA=_n.sizes)==null?void 0:oA.sm.field)??{},md:((aA=_n.sizes)==null?void 0:aA.md.field)??{},lg:((sA=_n.sizes)==null?void 0:sA.lg.field)??{}},uue={baseStyle:aue,sizes:lue,variants:sue,defaultProps:{size:"md",variant:"outline"}},q3=yi("tooltip-bg"),c6=yi("tooltip-fg"),cue=yi("popper-arrow-bg"),due={bg:q3.reference,color:c6.reference,[q3.variable]:"colors.gray.700",[c6.variable]:"colors.whiteAlpha.900",_dark:{[q3.variable]:"colors.gray.300",[c6.variable]:"colors.gray.900"},[cue.variable]:q3.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},fue={baseStyle:due},hue={Accordion:Aie,Alert:Bie,Avatar:Kie,Badge:Nv,Breadcrumb:ooe,Button:poe,Checkbox:q4,CloseButton:Loe,Code:Ioe,Container:Doe,Divider:Foe,Drawer:Zoe,Editable:iae,Form:cae,FormError:mae,FormLabel:yae,Heading:xae,Input:_n,Kbd:Oae,Link:Iae,List:Bae,Menu:Yae,Modal:ose,NumberInput:gse,PinInput:bse,Popover:Ase,Progress:Bse,Radio:Vse,Select:Xse,Skeleton:Qse,SkipLink:ele,Slider:dle,Spinner:ple,Stat:wle,Switch:Lle,Table:Nle,Tabs:Zle,Tag:oue,Textarea:uue,Tooltip:fue,Card:boe},pue={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},gue=pue,mue={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},vue=mue,yue={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},bue=yue,Sue={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},xue=Sue,wue={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Cue=wue,_ue={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},kue={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Eue={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},Pue={property:_ue,easing:kue,duration:Eue},Tue=Pue,Lue={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},Aue=Lue,Oue={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Mue=Oue,Iue={breakpoints:vue,zIndices:Aue,radii:xue,blur:Mue,colors:bue,...oB,sizes:nB,shadows:Cue,space:tB,borders:gue,transition:Tue},Rue={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Due={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},Nue="ltr",jue={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Bue={semanticTokens:Rue,direction:Nue,...Iue,components:hue,styles:Due,config:jue},$ue=typeof Element<"u",Fue=typeof Map=="function",zue=typeof Set=="function",Hue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function u4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!u4(e[r],t[r]))return!1;return!0}var o;if(Fue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!u4(r.value[1],t.get(r.value[0])))return!1;return!0}if(zue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Hue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if($ue&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!u4(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var Vue=function(t,n){try{return u4(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function h0(){const e=w.useContext(y2);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function uB(){const e=dy(),t=h0();return{...e,theme:t}}function Wue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__breakpoints)==null?void 0:o.asArray)==null?void 0:a[i]};return r(t)??r(n)??n}function Uue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function Gue(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),s=r.map((l,u)=>{if(e==="breakpoints")return Wue(o,l,a[u]??l);const d=`${e}.${l}`;return Uue(o,d,a[u]??l)});return Array.isArray(t)?s:s[0]}}function que(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=w.useMemo(()=>Fte(n),[n]);return N.createElement(Xne,{theme:i},N.createElement(Yue,{root:t}),r)}function Yue({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return N.createElement(IS,{styles:n=>({[t]:n.__cssVars})})}fre({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function Kue(){const{colorMode:e}=dy();return N.createElement(IS,{styles:t=>{const n=Wj(t,"styles.global"),r=qj(n,{theme:t,colorMode:e});return r?wj(r)(t):void 0}})}var Xue=new Set([...Vte,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Zue=new Set(["htmlWidth","htmlHeight","htmlSize"]);function Que(e){return Zue.has(e)||!Xue.has(e)}var Jue=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=Uj(a,(h,m)=>Ute(m)),l=qj(e,t),u=Object.assign({},i,l,Gj(s),o),d=wj(u)(t.theme);return r?[d,r]:d};function d6(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Que);const i=Jue({baseStyle:n}),o=c7(e,r)(i);return N.forwardRef(function(l,u){const{colorMode:d,forced:h}=dy();return N.createElement(o,{ref:u,"data-theme":h?d:void 0,...l})})}function Ae(e){return w.forwardRef(e)}function cB(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=uB(),a=e?Wj(i,`components.${e}`):void 0,s=n||a,l=Wl({theme:i,colorMode:o},(s==null?void 0:s.defaultProps)??{},Gj(are(r,["children"]))),u=w.useRef({});if(s){const h=tne(s)(l);Vue(u.current,h)||(u.current=h)}return u.current}function Ao(e,t={}){return cB(e,t)}function Yi(e,t={}){return cB(e,t)}function ece(){const e=new Map;return new Proxy(d6,{apply(t,n,r){return d6(...r)},get(t,n){return e.has(n)||e.set(n,d6(n)),e.get(n)}})}var Ce=ece();function tce(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Mn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o}=e,a=w.createContext(void 0);a.displayName=t;function s(){var l;const u=w.useContext(a);if(!u&&n){const d=new Error(o??tce(r,i));throw d.name="ContextError",(l=Error.captureStackTrace)==null||l.call(Error,d,s),d}return u}return[a.Provider,s,a]}function nce(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function Yn(...e){return t=>{e.forEach(n=>{nce(n,t)})}}function rce(...e){return w.useMemo(()=>Yn(...e),e)}function lA(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var ice=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function uA(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function cA(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var m7=typeof window<"u"?w.useLayoutEffect:w.useEffect,K4=e=>e,oce=class{constructor(){an(this,"descendants",new Map);an(this,"register",e=>{if(e!=null)return ice(e)?this.registerNode(e):t=>{this.registerNode(t,e)}});an(this,"unregister",e=>{this.descendants.delete(e);const t=lA(Array.from(this.descendants.keys()));this.assignIndex(t)});an(this,"destroy",()=>{this.descendants.clear()});an(this,"assignIndex",e=>{this.descendants.forEach(t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()})});an(this,"count",()=>this.descendants.size);an(this,"enabledCount",()=>this.enabledValues().length);an(this,"values",()=>Array.from(this.descendants.values()).sort((t,n)=>t.index-n.index));an(this,"enabledValues",()=>this.values().filter(e=>!e.disabled));an(this,"item",e=>{if(this.count()!==0)return this.values()[e]});an(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]});an(this,"first",()=>this.item(0));an(this,"firstEnabled",()=>this.enabledItem(0));an(this,"last",()=>this.item(this.descendants.size-1));an(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)});an(this,"indexOf",e=>{var t;return e?((t=this.descendants.get(e))==null?void 0:t.index)??-1:-1});an(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e)));an(this,"next",(e,t=!0)=>{const n=uA(e,this.count(),t);return this.item(n)});an(this,"nextEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=uA(r,this.enabledCount(),t);return this.enabledItem(i)});an(this,"prev",(e,t=!0)=>{const n=cA(e,this.count()-1,t);return this.item(n)});an(this,"prevEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=cA(r,this.enabledCount()-1,t);return this.enabledItem(i)});an(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const n=Array.from(this.descendants.keys()).concat(e),r=lA(n);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(r)})}};function ace(){const e=w.useRef(new oce);return m7(()=>()=>e.current.destroy()),e.current}var[sce,dB]=Mn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function lce(e){const t=dB(),[n,r]=w.useState(-1),i=w.useRef(null);m7(()=>()=>{i.current&&t.unregister(i.current)},[]),m7(()=>{if(!i.current)return;const a=Number(i.current.dataset.index);n!=a&&!Number.isNaN(a)&&r(a)});const o=K4(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:Yn(o,i)}}function fB(){return[K4(sce),()=>K4(dB()),()=>ace(),i=>lce(i)]}var Qr=(...e)=>e.filter(Boolean).join(" "),dA={path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Da=Ae((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...u}=e,d=Qr("chakra-icon",s),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l},m={ref:t,focusable:o,className:d,__css:h},v=r??dA.viewBox;if(n&&typeof n!="string")return N.createElement(Ce.svg,{as:n,...m,...u});const b=a??dA.path;return N.createElement(Ce.svg,{verticalAlign:"middle",viewBox:v,...m,...u},b)});Da.displayName="Icon";function yt(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=w.Children.toArray(e.path),a=Ae((s,l)=>N.createElement(Da,{ref:l,viewBox:t,...i,...s},o.length?o:N.createElement("path",{fill:"currentColor",d:n})));return a.displayName=r,a}function Er(e,t=[]){const n=w.useRef(e);return w.useEffect(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function jS(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(m,v)=>m!==v}=e,o=Er(r),a=Er(i),[s,l]=w.useState(n),u=t!==void 0,d=u?t:s,h=Er(m=>{const b=typeof m=="function"?m(d):m;a(d,b)&&(u||l(b),o(b))},[u,o,d,a]);return[d,h]}const O_=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),BS=w.createContext({});function uce(){return w.useContext(BS).visualElement}const p0=w.createContext(null),np=typeof document<"u",X4=np?w.useLayoutEffect:w.useEffect,hB=w.createContext({strict:!1});function cce(e,t,n,r){const i=uce(),o=w.useContext(hB),a=w.useContext(p0),s=w.useContext(O_).reducedMotion,l=w.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;return X4(()=>{u&&u.render()}),w.useEffect(()=>{u&&u.animationState&&u.animationState.animateChanges()}),X4(()=>()=>u&&u.notify("Unmount"),[]),u}function Hg(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dce(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Hg(n)&&(n.current=r))},[t])}function w2(e){return typeof e=="string"||Array.isArray(e)}function $S(e){return typeof e=="object"&&typeof e.start=="function"}const fce=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function FS(e){return $S(e.animate)||fce.some(t=>w2(e[t]))}function pB(e){return Boolean(FS(e)||e.variants)}function hce(e,t){if(FS(e)){const{initial:n,animate:r}=e;return{initial:n===!1||w2(n)?n:void 0,animate:w2(r)?r:void 0}}return e.inherit!==!1?t:{}}function pce(e){const{initial:t,animate:n}=hce(e,w.useContext(BS));return w.useMemo(()=>({initial:t,animate:n}),[fA(t),fA(n)])}function fA(e){return Array.isArray(e)?e.join(" "):e}const Bu=e=>({isEnabled:t=>e.some(n=>!!t[n])}),C2={measureLayout:Bu(["layout","layoutId","drag"]),animation:Bu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Bu(["exit"]),drag:Bu(["drag","dragControls"]),focus:Bu(["whileFocus"]),hover:Bu(["whileHover","onHoverStart","onHoverEnd"]),tap:Bu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Bu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Bu(["whileInView","onViewportEnter","onViewportLeave"])};function gce(e){for(const t in e)t==="projectionNodeConstructor"?C2.projectionNodeConstructor=e[t]:C2[t].Component=e[t]}function zS(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let mce=1;function vce(){return zS(()=>{if(Fv.hasEverUpdated)return mce++})}const M_=w.createContext({});class yce extends N.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const gB=w.createContext({}),bce=Symbol.for("motionComponentSymbol");function Sce({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&gce(e);function a(l,u){const d={...w.useContext(O_),...l,layoutId:xce(l)},{isStatic:h}=d;let m=null;const v=pce(l),b=h?void 0:vce(),S=i(l,h);if(!h&&np){v.visualElement=cce(o,S,d,t);const k=w.useContext(hB).strict,E=w.useContext(gB);v.visualElement&&(m=v.visualElement.loadFeatures(d,k,e,b,n||C2.projectionNodeConstructor,E))}return w.createElement(yce,{visualElement:v.visualElement,props:d},m,w.createElement(BS.Provider,{value:v},r(o,l,b,dce(S,v.visualElement,u),S,h,v.visualElement)))}const s=w.forwardRef(a);return s[bce]=o,s}function xce({layoutId:e}){const t=w.useContext(M_).id;return t&&e!==void 0?t+"-"+e:e}function wce(e){function t(r,i={}){return Sce(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Cce=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function I_(e){return typeof e!="string"||e.includes("-")?!1:!!(Cce.indexOf(e)>-1||/[A-Z]/.test(e))}const Z4={};function _ce(e){Object.assign(Z4,e)}const Q4=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g0=new Set(Q4);function mB(e,{layout:t,layoutId:n}){return g0.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Z4[e]||e==="opacity")}const ou=e=>!!(e!=null&&e.getVelocity),kce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ece=(e,t)=>Q4.indexOf(e)-Q4.indexOf(t);function Pce({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(Ece);for(const s of t)a+=`${kce[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function vB(e){return e.startsWith("--")}const Tce=(e,t)=>t&&typeof e=="number"?t.transform(e):e,yB=(e,t)=>n=>Math.max(Math.min(n,t),e),zv=e=>e%1?Number(e.toFixed(5)):e,_2=/(-)?([\d]*\.?[\d])+/g,v7=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Lce=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function gy(e){return typeof e=="string"}const rp={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Hv=Object.assign(Object.assign({},rp),{transform:yB(0,1)}),Y3=Object.assign(Object.assign({},rp),{default:1}),my=e=>({test:t=>gy(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),cd=my("deg"),Xl=my("%"),Lt=my("px"),Ace=my("vh"),Oce=my("vw"),hA=Object.assign(Object.assign({},Xl),{parse:e=>Xl.parse(e)/100,transform:e=>Xl.transform(e*100)}),R_=(e,t)=>n=>Boolean(gy(n)&&Lce.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),bB=(e,t,n)=>r=>{if(!gy(r))return r;const[i,o,a,s]=r.match(_2);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Ch={test:R_("hsl","hue"),parse:bB("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xl.transform(zv(t))+", "+Xl.transform(zv(n))+", "+zv(Hv.transform(r))+")"},Mce=yB(0,255),f6=Object.assign(Object.assign({},rp),{transform:e=>Math.round(Mce(e))}),wd={test:R_("rgb","red"),parse:bB("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+f6.transform(e)+", "+f6.transform(t)+", "+f6.transform(n)+", "+zv(Hv.transform(r))+")"};function Ice(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const y7={test:R_("#"),parse:Ice,transform:wd.transform},xo={test:e=>wd.test(e)||y7.test(e)||Ch.test(e),parse:e=>wd.test(e)?wd.parse(e):Ch.test(e)?Ch.parse(e):y7.parse(e),transform:e=>gy(e)?e:e.hasOwnProperty("red")?wd.transform(e):Ch.transform(e)},SB="${c}",xB="${n}";function Rce(e){var t,n,r,i;return isNaN(e)&&gy(e)&&((n=(t=e.match(_2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(v7))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function wB(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(v7);r&&(n=r.length,e=e.replace(v7,SB),t.push(...r.map(xo.parse)));const i=e.match(_2);return i&&(e=e.replace(_2,xB),t.push(...i.map(rp.parse))),{values:t,numColors:n,tokenised:e}}function CB(e){return wB(e).values}function _B(e){const{values:t,numColors:n,tokenised:r}=wB(e),i=t.length;return o=>{let a=r;for(let s=0;stypeof e=="number"?0:e;function Nce(e){const t=CB(e);return _B(e)(t.map(Dce))}const Ju={test:Rce,parse:CB,createTransformer:_B,getAnimatableNone:Nce},jce=new Set(["brightness","contrast","saturate","opacity"]);function Bce(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(_2)||[];if(!r)return e;const i=n.replace(r,"");let o=jce.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const $ce=/([a-z-]*)\(.*?\)/g,b7=Object.assign(Object.assign({},Ju),{getAnimatableNone:e=>{const t=e.match($ce);return t?t.map(Bce).join(" "):e}}),pA={...rp,transform:Math.round},kB={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,size:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,rotate:cd,rotateX:cd,rotateY:cd,rotateZ:cd,scale:Y3,scaleX:Y3,scaleY:Y3,scaleZ:Y3,skew:cd,skewX:cd,skewY:cd,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:Hv,originX:hA,originY:hA,originZ:Lt,zIndex:pA,fillOpacity:Hv,strokeOpacity:Hv,numOctaves:pA};function D_(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,d=!1,h=!0;for(const m in t){const v=t[m];if(vB(m)){o[m]=v;continue}const b=kB[m],S=Tce(v,b);if(g0.has(m)){if(u=!0,a[m]=S,s.push(m),!h)continue;v!==(b.default||0)&&(h=!1)}else m.startsWith("origin")?(d=!0,l[m]=S):i[m]=S}if(t.transform||(u||r?i.transform=Pce(e,n,h,r):i.transform&&(i.transform="none")),d){const{originX:m="50%",originY:v="50%",originZ:b=0}=l;i.transformOrigin=`${m} ${v} ${b}`}}const N_=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function EB(e,t,n){for(const r in t)!ou(t[r])&&!mB(r,n)&&(e[r]=t[r])}function Fce({transformTemplate:e},t,n){return w.useMemo(()=>{const r=N_();return D_(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function zce(e,t,n){const r=e.style||{},i={};return EB(i,r,e),Object.assign(i,Fce(e,t,n)),e.transformValues?e.transformValues(i):i}function Hce(e,t,n){const r={},i=zce(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const Vce=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],Wce=["whileTap","onTap","onTapStart","onTapCancel"],Uce=["onPan","onPanStart","onPanSessionStart","onPanEnd"],Gce=["whileInView","onViewportEnter","onViewportLeave","viewport"],qce=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...Gce,...Wce,...Vce,...Uce]);function J4(e){return qce.has(e)}let PB=e=>!J4(e);function Yce(e){e&&(PB=t=>t.startsWith("on")?!J4(t):e(t))}try{Yce(require("@emotion/is-prop-valid").default)}catch{}function Kce(e,t,n){const r={};for(const i in e)(PB(i)||n===!0&&J4(i)||!t&&!J4(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function gA(e,t,n){return typeof e=="string"?e:Lt.transform(t+n*e)}function Xce(e,t,n){const r=gA(t,e.x,e.width),i=gA(n,e.y,e.height);return`${r} ${i}`}const Zce={offset:"stroke-dashoffset",array:"stroke-dasharray"},Qce={offset:"strokeDashoffset",array:"strokeDasharray"};function Jce(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Zce:Qce;e[o.offset]=Lt.transform(-r);const a=Lt.transform(t),s=Lt.transform(n);e[o.array]=`${a} ${s}`}function j_(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,d){D_(e,l,u,d),e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:v}=e;h.transform&&(v&&(m.transform=h.transform),delete h.transform),v&&(r!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=Xce(v,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),o!==void 0&&Jce(h,o,a,s,!1)}const TB=()=>({...N_(),attrs:{}});function ede(e,t){const n=w.useMemo(()=>{const r=TB();return j_(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};EB(r,e.style,e),n.style={...r,...n.style}}return n}function tde(e=!1){return(n,r,i,o,{latestValues:a},s)=>{const u=(I_(n)?ede:Hce)(r,a,s),h={...Kce(r,typeof n=="string",e),...u,ref:o};return i&&(h["data-projection-id"]=i),w.createElement(n,h)}}const LB=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function AB(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const OB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function MB(e,t,n,r){AB(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(OB.has(i)?i:LB(i),t.attrs[i])}function B_(e){const{style:t}=e,n={};for(const r in t)(ou(t[r])||mB(r,e))&&(n[r]=t[r]);return n}function IB(e){const t=B_(e);for(const n in e)if(ou(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function $_(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const k2=e=>Array.isArray(e),nde=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),RB=e=>k2(e)?e[e.length-1]||0:e;function c4(e){const t=ou(e)?e.get():e;return nde(t)?t.toValue():t}function rde({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:ide(r,i,o,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}const DB=e=>(t,n)=>{const r=w.useContext(BS),i=w.useContext(p0),o=()=>rde(e,t,r,i);return n?o():zS(o)};function ide(e,t,n,r){const i={},o=r(e);for(const m in o)i[m]=c4(o[m]);let{initial:a,animate:s}=e;const l=FS(e),u=pB(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const h=d?s:a;return h&&typeof h!="boolean"&&!$S(h)&&(Array.isArray(h)?h:[h]).forEach(v=>{const b=$_(e,v);if(!b)return;const{transitionEnd:S,transition:k,...E}=b;for(const _ in E){let T=E[_];if(Array.isArray(T)){const A=d?T.length-1:0;T=T[A]}T!==null&&(i[_]=T)}for(const _ in S)i[_]=S[_]}),i}const ode={useVisualState:DB({scrapeMotionValuesFromProps:IB,createRenderState:TB,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}j_(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),MB(t,n)}})},ade={useVisualState:DB({scrapeMotionValuesFromProps:B_,createRenderState:N_})};function sde(e,{forwardMotionProps:t=!1},n,r,i){return{...I_(e)?ode:ade,preloadedFeatures:n,useRender:tde(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var tr;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(tr||(tr={}));function HS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function S7(e,t,n,r){w.useEffect(()=>{const i=e.current;if(n&&i)return HS(i,t,n,r)},[e,t,n,r])}function lde({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(tr.Focus,!0)},i=()=>{n&&n.setActive(tr.Focus,!1)};S7(t,"focus",e?r:void 0),S7(t,"blur",e?i:void 0)}function NB(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function jB(e){return!!e.touches}function ude(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const cde={pageX:0,pageY:0};function dde(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||cde;return{x:r[t+"X"],y:r[t+"Y"]}}function fde(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function F_(e,t="page"){return{point:jB(e)?dde(e,t):fde(e,t)}}const BB=(e,t=!1)=>{const n=r=>e(r,F_(r));return t?ude(n):n},hde=()=>np&&window.onpointerdown===null,pde=()=>np&&window.ontouchstart===null,gde=()=>np&&window.onmousedown===null,mde={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},vde={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function $B(e){return hde()?e:pde()?vde[e]:gde()?mde[e]:e}function Sm(e,t,n,r){return HS(e,$B(t),BB(n,t==="pointerdown"),r)}function e5(e,t,n,r){return S7(e,$B(t),n&&BB(n,t==="pointerdown"),r)}function FB(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const mA=FB("dragHorizontal"),vA=FB("dragVertical");function zB(e){let t=!1;if(e==="y")t=vA();else if(e==="x")t=mA();else{const n=mA(),r=vA();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function HB(){const e=zB(!0);return e?(e(),!1):!0}function yA(e,t,n){return(r,i)=>{!NB(r)||HB()||(e.animationState&&e.animationState.setActive(tr.Hover,t),n&&n(r,i))}}function yde({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){e5(r,"pointerenter",e||n?yA(r,!0,e):void 0,{passive:!e}),e5(r,"pointerleave",t||n?yA(r,!1,t):void 0,{passive:!t})}const VB=(e,t)=>t?e===t?!0:VB(e,t.parentElement):!1;function z_(e){return w.useEffect(()=>()=>e(),[])}function WB(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),h6=.001,Sde=.01,bA=10,xde=.05,wde=1;function Cde({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;bde(e<=bA*1e3);let a=1-t;a=n5(xde,wde,a),e=n5(Sde,bA,e/1e3),a<1?(i=u=>{const d=u*a,h=d*e,m=d-n,v=x7(u,a),b=Math.exp(-h);return h6-m/v*b},o=u=>{const h=u*a*e,m=h*n+n,v=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-h),S=x7(Math.pow(u,2),a);return(-i(u)+h6>0?-1:1)*((m-v)*b)/S}):(i=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-h6+d*h},o=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const s=5/e,l=kde(i,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const _de=12;function kde(e,t,n){let r=n;for(let i=1;i<_de;i++)r=r-e(r)/t(r);return r}function x7(e,t){return e*Math.sqrt(1-t*t)}const Ede=["duration","bounce"],Pde=["stiffness","damping","mass"];function SA(e,t){return t.some(n=>e[n]!==void 0)}function Tde(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!SA(e,Pde)&&SA(e,Ede)){const n=Cde(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function H_(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=WB(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=Tde(o),v=xA,b=xA;function S(){const k=d?-(d/1e3):0,E=n-t,_=l/(2*Math.sqrt(s*u)),T=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const A=x7(T,_);v=I=>{const R=Math.exp(-_*T*I);return n-R*((k+_*T*E)/A*Math.sin(A*I)+E*Math.cos(A*I))},b=I=>{const R=Math.exp(-_*T*I);return _*T*R*(Math.sin(A*I)*(k+_*T*E)/A+E*Math.cos(A*I))-R*(Math.cos(A*I)*(k+_*T*E)-A*E*Math.sin(A*I))}}else if(_===1)v=A=>n-Math.exp(-T*A)*(E+(k+T*E)*A);else{const A=T*Math.sqrt(_*_-1);v=I=>{const R=Math.exp(-_*T*I),D=Math.min(A*I,300);return n-R*((k+_*T*E)*Math.sinh(D)+A*E*Math.cosh(D))/A}}}return S(),{next:k=>{const E=v(k);if(m)a.done=k>=h;else{const _=b(k)*1e3,T=Math.abs(_)<=r,A=Math.abs(n-E)<=i;a.done=T&&A}return a.value=a.done?n:E,a},flipTarget:()=>{d=-d,[t,n]=[n,t],S()}}}H_.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const xA=e=>0,E2=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Fr=(e,t,n)=>-n*e+n*t+e;function p6(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=p6(l,s,e+1/3),o=p6(l,s,e),a=p6(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const Lde=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Ade=[y7,wd,Ch],CA=e=>Ade.find(t=>t.test(e)),UB=(e,t)=>{let n=CA(e),r=CA(t),i=n.parse(e),o=r.parse(t);n===Ch&&(i=wA(i),n=wd),r===Ch&&(o=wA(o),r=wd);const a=Object.assign({},i);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Lde(i[l],o[l],s));return a.alpha=Fr(i.alpha,o.alpha,s),n.transform(a)}},w7=e=>typeof e=="number",Ode=(e,t)=>n=>t(e(n)),VS=(...e)=>e.reduce(Ode);function GB(e,t){return w7(e)?n=>Fr(e,t,n):xo.test(e)?UB(e,t):YB(e,t)}const qB=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>GB(o,t[a]));return o=>{for(let a=0;a{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=GB(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function _A(e){const t=Ju.parse(e),n=t.length;let r=0,i=0,o=0;for(let a=0;a{const n=Ju.createTransformer(t),r=_A(e),i=_A(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?VS(qB(r.parsed,i.parsed),n):a=>`${a>0?t:e}`},Ide=(e,t)=>n=>Fr(e,t,n);function Rde(e){if(typeof e=="number")return Ide;if(typeof e=="string")return xo.test(e)?UB:YB;if(Array.isArray(e))return qB;if(typeof e=="object")return Mde}function Dde(e,t,n){const r=[],i=n||Rde(e[0]),o=e.length-1;for(let a=0;an(E2(e,t,r))}function jde(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let l=1;for(;li||l===r);l++);o=l-1}const s=E2(e[o],e[o+1],i);return t[o](s)}}function KB(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;t5(o===t.length),t5(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Dde(t,r,i),s=o===2?Nde(e,a):jde(e,a);return n?l=>s(n5(e[0],e[o-1],l)):s}const WS=e=>t=>1-e(1-t),V_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bde=e=>t=>Math.pow(t,e),XB=e=>t=>t*t*((e+1)*t-e),$de=e=>{const t=XB(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},ZB=1.525,Fde=4/11,zde=8/11,Hde=9/10,W_=e=>e,U_=Bde(2),Vde=WS(U_),QB=V_(U_),JB=e=>1-Math.sin(Math.acos(e)),G_=WS(JB),Wde=V_(G_),q_=XB(ZB),Ude=WS(q_),Gde=V_(q_),qde=$de(ZB),Yde=4356/361,Kde=35442/1805,Xde=16061/1805,r5=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-r5(1-e*2)):.5*r5(e*2-1)+.5;function Jde(e,t){return e.map(()=>t||QB).splice(0,e.length-1)}function efe(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function tfe(e,t){return e.map(n=>n*t)}function d4({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=tfe(r&&r.length===a.length?r:efe(a),i);function l(){return KB(s,a,{ease:Array.isArray(n)?n:Jde(a,n)})}let u=l();return{next:d=>(o.value=u(d),o.done=d>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}function nfe({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:d=>{const h=-s*Math.exp(-d/r);return a.done=!(h>i||h<-i),a.value=a.done?u:u+h,a},flipTarget:()=>{}}}const kA={keyframes:d4,spring:H_,decay:nfe};function rfe(e){if(Array.isArray(e.to))return d4;if(kA[e.type])return kA[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?d4:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?H_:d4}const e$=1/60*1e3,ife=typeof performance<"u"?()=>performance.now():()=>Date.now(),t$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ife()),e$);function ofe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=ofe(()=>P2=!0),e),{}),sfe=vy.reduce((e,t)=>{const n=US[t];return e[t]=(r,i=!1,o=!1)=>(P2||cfe(),n.schedule(r,i,o)),e},{}),lfe=vy.reduce((e,t)=>(e[t]=US[t].cancel,e),{});vy.reduce((e,t)=>(e[t]=()=>US[t].process(xm),e),{});const ufe=e=>US[e].process(xm),n$=e=>{P2=!1,xm.delta=C7?e$:Math.max(Math.min(e-xm.timestamp,afe),1),xm.timestamp=e,_7=!0,vy.forEach(ufe),_7=!1,P2&&(C7=!1,t$(n$))},cfe=()=>{P2=!0,C7=!0,_7||t$(n$)},dfe=()=>xm;function r$(e,t,n=0){return e-t-n}function ffe(e,t,n=0,r=!0){return r?r$(t+-e,t,n):t-(e-t)+n}function hfe(e,t,n,r){return r?e>=t+n:e<=-n}const pfe=e=>{const t=({delta:n})=>e(n);return{start:()=>sfe.update(t,!0),stop:()=>lfe.update(t)}};function i$(e){var t,n,{from:r,autoplay:i=!0,driver:o=pfe,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:d,onStop:h,onComplete:m,onRepeat:v,onUpdate:b}=e,S=WB(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:k}=S,E,_=0,T=S.duration,A,I=!1,R=!0,D;const j=rfe(S);!((n=(t=j).needsInterpolation)===null||n===void 0)&&n.call(t,r,k)&&(D=KB([0,100],[r,k],{clamp:!1}),r=0,k=100);const z=j(Object.assign(Object.assign({},S),{from:r,to:k}));function V(){_++,l==="reverse"?(R=_%2===0,a=ffe(a,T,u,R)):(a=r$(a,T,u),l==="mirror"&&z.flipTarget()),I=!1,v&&v()}function K(){E.stop(),m&&m()}function te($){if(R||($=-$),a+=$,!I){const U=z.next(Math.max(0,a));A=U.value,D&&(A=D(A)),I=R?U.done:a<=0}b==null||b(A),I&&(_===0&&(T??(T=a)),_{h==null||h(),E.stop()}}}function o$(e,t){return t?e*(1e3/t):0}function gfe({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:h,onComplete:m,onStop:v}){let b;function S(T){return n!==void 0&&Tr}function k(T){return n===void 0?r:r===void 0||Math.abs(n-T){var I;h==null||h(A),(I=T.onUpdate)===null||I===void 0||I.call(T,A)},onComplete:m,onStop:v}))}function _(T){E(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},T))}if(S(e))_({from:e,velocity:t,to:k(e)});else{let T=i*t+e;typeof u<"u"&&(T=u(T));const A=k(T),I=A===n?-1:1;let R,D;const j=z=>{R=D,D=z,t=o$(z-R,dfe().delta),(I===1&&z>A||I===-1&&zb==null?void 0:b.stop()}}const k7=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),EA=e=>k7(e)&&e.hasOwnProperty("z"),K3=(e,t)=>Math.abs(e-t);function Y_(e,t){if(w7(e)&&w7(t))return K3(e,t);if(k7(e)&&k7(t)){const n=K3(e.x,t.x),r=K3(e.y,t.y),i=EA(e)&&EA(t)?K3(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const a$=(e,t)=>1-3*t+3*e,s$=(e,t)=>3*t-6*e,l$=e=>3*e,i5=(e,t,n)=>((a$(t,n)*e+s$(t,n))*e+l$(t))*e,u$=(e,t,n)=>3*a$(t,n)*e*e+2*s$(t,n)*e+l$(t),mfe=1e-7,vfe=10;function yfe(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=i5(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>mfe&&++s=Sfe?xfe(a,h,e,n):m===0?h:yfe(a,s,s+X3,e,n)}return a=>a===0||a===1?a:i5(o(a),t,r)}function Cfe({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(!1),s=w.useRef(null),l={passive:!(t||e||n||v)};function u(){s.current&&s.current(),s.current=null}function d(){return u(),a.current=!1,i.animationState&&i.animationState.setActive(tr.Tap,!1),!HB()}function h(b,S){d()&&(VB(i.current,b.target)?e&&e(b,S):n&&n(b,S))}function m(b,S){d()&&n&&n(b,S)}function v(b,S){u(),!a.current&&(a.current=!0,s.current=VS(Sm(window,"pointerup",h,l),Sm(window,"pointercancel",m,l)),i.animationState&&i.animationState.setActive(tr.Tap,!0),t&&t(b,S))}e5(i,"pointerdown",o?v:void 0,l),z_(u)}const _fe="production",c$=typeof process>"u"||process.env===void 0?_fe:"production",PA=new Set;function d$(e,t,n){e||PA.has(t)||(console.warn(t),n&&console.warn(n),PA.add(t))}const E7=new WeakMap,g6=new WeakMap,kfe=e=>{const t=E7.get(e.target);t&&t(e)},Efe=e=>{e.forEach(kfe)};function Pfe({root:e,...t}){const n=e||document;g6.has(n)||g6.set(n,{});const r=g6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Efe,{root:e,...t})),r[i]}function Tfe(e,t,n){const r=Pfe(t);return E7.set(e,n),r.observe(e),()=>{E7.delete(e),r.unobserve(e)}}function Lfe({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=w.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?Mfe:Ofe)(a,o.current,e,i)}const Afe={some:0,all:1};function Ofe(e,t,n,{root:r,margin:i,amount:o="some",once:a}){w.useEffect(()=>{if(!e||!n.current)return;const s={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:Afe[o]},l=u=>{const{isIntersecting:d}=u;if(t.isInView===d||(t.isInView=d,a&&!d&&t.hasEnteredView))return;d&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(tr.InView,d);const h=n.getProps(),m=d?h.onViewportEnter:h.onViewportLeave;m&&m(u)};return Tfe(n.current,s,l)},[e,r,i,o])}function Mfe(e,t,n,{fallback:r=!0}){w.useEffect(()=>{!e||!r||(c$!=="production"&&d$(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(tr.InView,!0)}))},[e])}const Cd=e=>t=>(e(t),null),Ife={inView:Cd(Lfe),tap:Cd(Cfe),focus:Cd(lde),hover:Cd(yde)};function K_(){const e=w.useContext(p0);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Rfe(){return Dfe(w.useContext(p0))}function Dfe(e){return e===null?!0:e.isPresent}function f$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;re*1e3,Nfe={linear:W_,easeIn:U_,easeInOut:QB,easeOut:Vde,circIn:JB,circInOut:Wde,circOut:G_,backIn:q_,backInOut:Gde,backOut:Ude,anticipate:qde,bounceIn:Zde,bounceInOut:Qde,bounceOut:r5},TA=e=>{if(Array.isArray(e)){t5(e.length===4);const[t,n,r,i]=e;return wfe(t,n,r,i)}else if(typeof e=="string")return Nfe[e];return e},jfe=e=>Array.isArray(e)&&typeof e[0]!="number",LA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ju.test(t)&&!t.startsWith("url(")),rh=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Z3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),m6=()=>({type:"keyframes",ease:"linear",duration:.3}),Bfe=e=>({type:"keyframes",duration:.8,values:e}),AA={x:rh,y:rh,z:rh,rotate:rh,rotateX:rh,rotateY:rh,rotateZ:rh,scaleX:Z3,scaleY:Z3,scale:Z3,opacity:m6,backgroundColor:m6,color:m6,default:Z3},$fe=(e,t)=>{let n;return k2(t)?n=Bfe:n=AA[e]||AA.default,{to:t,...n(t)}},Ffe={...kB,color:xo,backgroundColor:xo,outlineColor:xo,fill:xo,stroke:xo,borderColor:xo,borderTopColor:xo,borderRightColor:xo,borderBottomColor:xo,borderLeftColor:xo,filter:b7,WebkitFilter:b7},X_=e=>Ffe[e];function Z_(e,t){var n;let r=X_(e);return r!==b7&&(r=Ju),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const zfe={current:!1},h$=1/60*1e3,Hfe=typeof performance<"u"?()=>performance.now():()=>Date.now(),p$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Hfe()),h$);function Vfe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=Vfe(()=>T2=!0),e),{}),Gs=yy.reduce((e,t)=>{const n=GS[t];return e[t]=(r,i=!1,o=!1)=>(T2||Gfe(),n.schedule(r,i,o)),e},{}),Vh=yy.reduce((e,t)=>(e[t]=GS[t].cancel,e),{}),v6=yy.reduce((e,t)=>(e[t]=()=>GS[t].process(wm),e),{}),Ufe=e=>GS[e].process(wm),g$=e=>{T2=!1,wm.delta=P7?h$:Math.max(Math.min(e-wm.timestamp,Wfe),1),wm.timestamp=e,T7=!0,yy.forEach(Ufe),T7=!1,T2&&(P7=!1,p$(g$))},Gfe=()=>{T2=!0,P7=!0,T7||p$(g$)},L7=()=>wm;function m$(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Vh.read(r),e(o-t))};return Gs.read(r,!0),()=>Vh.read(r)}function qfe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}function Yfe({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){const a={...o};return t&&(a.offset=t),o.duration&&(a.duration=o5(o.duration)),o.repeatDelay&&(a.repeatDelay=o5(o.repeatDelay)),e&&(a.ease=jfe(e)?e.map(TA):TA(e)),o.type==="tween"&&(a.type="keyframes"),(n||i||r)&&(n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),o.type!=="spring"&&(a.type="keyframes"),a}function Kfe(e,t){var n,r;return(r=(n=(Q_(e,t)||{}).delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function Xfe(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Zfe(e,t,n){return Array.isArray(t.to)&&e.duration===void 0&&(e.duration=.8),Xfe(t),qfe(e)||(e={...e,...$fe(n,t.to)}),{...t,...Yfe(e)}}function Qfe(e,t,n,r,i){const o=Q_(r,e)||{};let a=o.from!==void 0?o.from:t.get();const s=LA(e,n);a==="none"&&s&&typeof n=="string"?a=Z_(e,n):OA(a)&&typeof n=="string"?a=MA(n):!Array.isArray(n)&&OA(n)&&typeof a=="string"&&(n=MA(a));const l=LA(e,a);function u(){const h={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:m=>t.set(m)};return o.type==="inertia"||o.type==="decay"?gfe({...h,...o}):i$({...Zfe(o,h,e),onUpdate:m=>{h.onUpdate(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{h.onComplete(),o.onComplete&&o.onComplete()}})}function d(){const h=RB(n);return t.set(h),i(),o.onUpdate&&o.onUpdate(h),o.onComplete&&o.onComplete(),{stop:()=>{}}}return!l||!s||o.type===!1?d:u}function OA(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function MA(e){return typeof e=="number"?0:Z_("",e)}function Q_(e,t){return e[t]||e.default||e}function J_(e,t,n,r={}){return zfe.current&&(r={type:!1}),t.start(i=>{let o;const a=Qfe(e,t,n,r,i),s=Kfe(r,e),l=()=>o=a();let u;return s?u=m$(l,o5(s)):l(),()=>{u&&u(),o&&o.stop()}})}const Jfe=e=>/^\-?\d*\.?\d+$/.test(e),ehe=e=>/^0[^.\s]+$/.test(e);function ek(e,t){e.indexOf(t)===-1&&e.push(t)}function tk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vv{constructor(){this.subscriptions=[]}add(t){return ek(this.subscriptions,t),()=>tk(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class nhe{constructor(t){this.version="7.6.9",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Vv,this.velocityUpdateSubscribers=new Vv,this.renderSubscribers=new Vv,this.canTrackVelocity=!1,this.updateAndNotify=(n,r=!0)=>{this.prev=this.current,this.current=n;const{delta:i,timestamp:o}=L7();this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,Gs.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),r&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Gs.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=the(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?o$(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Vm(e){return new nhe(e)}const v$=e=>t=>t.test(e),rhe={test:e=>e==="auto",parse:e=>e},y$=[rp,Lt,Xl,cd,Oce,Ace,rhe],V1=e=>y$.find(v$(e)),ihe=[...y$,xo,Ju],ohe=e=>ihe.find(v$(e));function ahe(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function she(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function qS(e,t,n){const r=e.getProps();return $_(r,t,n!==void 0?n:r.custom,ahe(e),she(e))}function lhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vm(n))}function uhe(e,t){const n=qS(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const s=RB(o[a]);lhe(e,a,s)}}function che(e,t,n){var r,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sA7(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=A7(e,t,n);else{const i=typeof t=="function"?qS(e,t,n.custom):t;r=b$(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function A7(e,t,n={}){var r;const i=qS(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>b$(e,i,n):()=>Promise.resolve(),s=!((r=e.variantChildren)===null||r===void 0)&&r.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:m}=o;return phe(e,t,d+u,h,m,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,d]=l==="beforeChildren"?[a,s]:[s,a];return u().then(d)}else return Promise.all([a(),s(n.delay)])}function b$(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(a=r);const d=[],h=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const m in l){const v=e.getValue(m),b=l[m];if(!v||b===void 0||h&&mhe(h,m))continue;let S={delay:n,...a};e.shouldReduceMotion&&g0.has(m)&&(S={...S,type:!1,delay:0});let k=J_(m,v,b,S);a5(u)&&(u.add(m),k=k.then(()=>u.remove(m))),d.push(k)}return Promise.all(d).then(()=>{s&&uhe(e,s)})}function phe(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(ghe).forEach((u,d)=>{a.push(A7(u,t,{...o,delay:n+l(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function ghe(e,t){return e.sortNodePosition(t)}function mhe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const nk=[tr.Animate,tr.InView,tr.Focus,tr.Hover,tr.Tap,tr.Drag,tr.Exit],vhe=[...nk].reverse(),yhe=nk.length;function bhe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hhe(e,n,r)))}function She(e){let t=bhe(e);const n=whe();let r=!0;const i=(l,u)=>{const d=qS(e,u);if(d){const{transition:h,transitionEnd:m,...v}=d;l={...l,...v,...m}}return l};function o(l){t=l(e)}function a(l,u){var d;const h=e.getProps(),m=e.getVariantContext(!0)||{},v=[],b=new Set;let S={},k=1/0;for(let _=0;_k&&R;const K=Array.isArray(I)?I:[I];let te=K.reduce(i,{});D===!1&&(te={});const{prevResolvedValues:q={}}=A,$={...q,...te},U=X=>{V=!0,b.delete(X),A.needsAnimating[X]=!0};for(const X in $){const Z=te[X],W=q[X];S.hasOwnProperty(X)||(Z!==W?k2(Z)&&k2(W)?!f$(Z,W)||z?U(X):A.protectedKeys[X]=!0:Z!==void 0?U(X):b.add(X):Z!==void 0&&b.has(X)?U(X):A.protectedKeys[X]=!0)}A.prevProp=I,A.prevResolvedValues=te,A.isActive&&(S={...S,...te}),r&&e.blockInitialAnimation&&(V=!1),V&&!j&&v.push(...K.map(X=>({animation:X,options:{type:T,...l}})))}if(b.size){const _={};b.forEach(T=>{const A=e.getBaseTarget(T);A!==void 0&&(_[T]=A)}),v.push({animation:_})}let E=Boolean(v.length);return r&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(v):Promise.resolve()}function s(l,u,d){var h;if(n[l].isActive===u)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(l,u)}),n[l].isActive=u;const m=a(d,l);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n}}function xhe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!f$(t,e):!1}function ih(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function whe(){return{[tr.Animate]:ih(!0),[tr.InView]:ih(),[tr.Hover]:ih(),[tr.Tap]:ih(),[tr.Drag]:ih(),[tr.Focus]:ih(),[tr.Exit]:ih()}}const Che={animation:Cd(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=She(e)),$S(t)&&w.useEffect(()=>t.subscribe(e),[t])}),exit:Cd(e=>{const{custom:t,visualElement:n}=e,[r,i]=K_(),o=w.useContext(p0);w.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(tr.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})};class S${constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=b6(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,h=Y_(u.offset,{x:0,y:0})>=3;if(!d&&!h)return;const{point:m}=u,{timestamp:v}=L7();this.history.push({...m,timestamp:v});const{onStart:b,onMove:S}=this.handlers;d||(b&&b(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{if(this.lastMoveEvent=u,this.lastMoveEventInfo=y6(d,this.transformPagePoint),NB(u)&&u.buttons===0){this.handlePointerUp(u,d);return}Gs.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{this.end();const{onEnd:h,onSessionEnd:m}=this.handlers,v=b6(y6(d,this.transformPagePoint),this.history);this.startEvent&&h&&h(u,v),m&&m(u,v)},jB(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=F_(t),o=y6(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=L7();this.history=[{...a,timestamp:s}];const{onSessionStart:l}=n;l&&l(t,b6(o,this.history)),this.removeListeners=VS(Sm(window,"pointermove",this.handlePointerMove),Sm(window,"pointerup",this.handlePointerUp),Sm(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vh.update(this.updatePoint)}}function y6(e,t){return t?{point:t(e.point)}:e}function IA(e,t){return{x:e.x-t.x,y:e.y-t.y}}function b6({point:e},t){return{point:e,delta:IA(e,x$(t)),offset:IA(e,_he(t)),velocity:khe(t,.1)}}function _he(e){return e[0]}function x$(e){return e[e.length-1]}function khe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=x$(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>o5(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Oa(e){return e.max-e.min}function RA(e,t=0,n=.01){return Y_(e,t)n&&(e=r?Fr(n,e,r.max):Math.min(e,n)),e}function BA(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function The(e,{top:t,left:n,bottom:r,right:i}){return{x:BA(e.x,n,i),y:BA(e.y,t,r)}}function $A(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=E2(t.min,t.max-r,e.min):r>i&&(n=E2(e.min,e.max-i,t.min)),n5(0,1,n)}function Ohe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const O7=.35;function Mhe(e=O7){return e===!1?e=0:e===!0&&(e=O7),{x:FA(e,"left","right"),y:FA(e,"top","bottom")}}function FA(e,t,n){return{min:zA(e,t),max:zA(e,n)}}function zA(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}const HA=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gv=()=>({x:HA(),y:HA()}),VA=()=>({min:0,max:0}),pi=()=>({x:VA(),y:VA()});function Rl(e){return[e("x"),e("y")]}function w$({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ihe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rhe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function S6(e){return e===void 0||e===1}function M7({scale:e,scaleX:t,scaleY:n}){return!S6(e)||!S6(t)||!S6(n)}function ch(e){return M7(e)||C$(e)||e.z||e.rotate||e.rotateX||e.rotateY}function C$(e){return WA(e.x)||WA(e.y)}function WA(e){return e&&e!=="0%"}function s5(e,t,n){const r=e-n,i=t*r;return n+i}function UA(e,t,n,r,i){return i!==void 0&&(e=s5(e,i,r)),s5(e,n,r)+t}function I7(e,t=0,n=1,r,i){e.min=UA(e.min,t,n,r,i),e.max=UA(e.max,t,n,r,i)}function _$(e,{x:t,y:n}){I7(e.x,t.translate,t.scale,t.originPoint),I7(e.y,n.translate,n.scale,n.originPoint)}function Dhe(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let u=0;u{this.stopAnimation(),n&&this.snapToCursor(F_(s,"page").point)},i=(s,l)=>{var u;const{drag:d,dragPropagation:h,onDragStart:m}=this.getProps();d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=zB(d),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rl(v=>{var b,S;let k=this.getAxisMotionValue(v).get()||0;if(Xl.test(k)){const E=(S=(b=this.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.layoutBox[v];E&&(k=Oa(E)*(parseFloat(k)/100))}this.originPoint[v]=k}),m==null||m(s,l),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(tr.Drag,!0))},o=(s,l)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:h,onDrag:m}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:v}=l;if(d&&this.currentDirection===null){this.currentDirection=zhe(v),this.currentDirection!==null&&(h==null||h(this.currentDirection));return}this.updateAxis("x",l.point,v),this.updateAxis("y",l.point,v),this.visualElement.render(),m==null||m(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new S$(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(tr.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Q3(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Phe(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Hg(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=The(r.layoutBox,t):this.constraints=!1,this.elastic=Mhe(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Rl(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Ohe(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Hg(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Bhe(r,i.root,this.visualElement.getTransformPagePoint());let a=Lhe(i.layout.layoutBox,o);if(n){const s=n(Ihe(a));this.hasMutatedConstraints=!!s,s&&(a=w$(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=Rl(d=>{var h;if(!Q3(d,n,this.currentDirection))return;let m=(h=l==null?void 0:l[d])!==null&&h!==void 0?h:{};a&&(m={min:0,max:0});const v=i?200:1e6,b=i?40:1e7,S={type:"inertia",velocity:r?t[d]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(d,S)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return J_(t,r,0,n)}stopAnimation(){Rl(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n,r;const i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)}snapToCursor(t){Rl(n=>{const{drag:r}=this.getProps();if(!Q3(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[n];o.set(t[n]-Fr(a,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Hg(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rl(s=>{const l=this.getAxisMotionValue(s);if(l){const u=l.get();o[s]=Ahe({min:u,max:u},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Rl(s=>{if(!Q3(s,n,null))return;const l=this.getAxisMotionValue(s),{min:u,max:d}=this.constraints[s];l.set(Fr(u,d,o[s]))})}addListeners(){var t;if(!this.visualElement.current)return;$he.set(this.visualElement,this);const n=this.visualElement.current,r=Sm(n,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),i=()=>{const{dragConstraints:u}=this.getProps();Hg(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const s=HS(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Rl(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=u[h].translate,m.set(m.get()+u[h].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),l==null||l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=O7,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function Q3(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zhe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function Hhe(e){const{dragControls:t,visualElement:n}=e,r=zS(()=>new Fhe(n));w.useEffect(()=>t&&t.subscribe(r),[r,t]),w.useEffect(()=>r.addListeners(),[r])}function Vhe({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(null),{transformPagePoint:s}=w.useContext(O_),l={onSessionStart:r,onStart:t,onMove:e,onEnd:(d,h)=>{a.current=null,n&&n(d,h)}};w.useEffect(()=>{a.current!==null&&a.current.updateHandlers(l)});function u(d){a.current=new S$(d,l,{transformPagePoint:s})}e5(i,"pointerdown",o&&u),z_(()=>a.current&&a.current.end())}const Whe={pan:Cd(Vhe),drag:Cd(Hhe)};function R7(e){return typeof e=="string"&&e.startsWith("var(--")}const E$=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Uhe(e){const t=E$.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function D7(e,t,n=1){const[r,i]=Uhe(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():R7(i)?D7(i,t,n+1):i}function Ghe(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!R7(o))return;const a=D7(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!R7(o))continue;const a=D7(o,r);a&&(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const qhe=new Set(["width","height","top","left","right","bottom","x","y"]),P$=e=>qhe.has(e),Yhe=e=>Object.keys(e).some(P$),T$=(e,t)=>{e.set(t,!1),e.set(t)},qA=e=>e===rp||e===Lt;var YA;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(YA||(YA={}));const KA=(e,t)=>parseFloat(e.split(", ")[t]),XA=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return KA(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?KA(o[1],e):0}},Khe=new Set(["x","y","z"]),Xhe=Q4.filter(e=>!Khe.has(e));function Zhe(e){const t=[];return Xhe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZA={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:XA(4,13),y:XA(5,14)},Qhe=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=ZA[u](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const d=t.getValue(u);T$(d,s[u]),e[u]=ZA[u](l,o)}),e},Jhe=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(P$);let o=[],a=!1;const s=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],h=V1(d);const m=t[l];let v;if(k2(m)){const b=m.length,S=m[0]===null?1:0;d=m[S],h=V1(d);for(let k=S;k=0?window.pageYOffset:null,u=Qhe(t,e,s);return o.length&&o.forEach(([d,h])=>{e.getValue(d).set(h)}),e.render(),np&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function epe(e,t,n,r){return Yhe(t)?Jhe(e,t,n,r):{target:t,transitionEnd:r}}const tpe=(e,t,n,r)=>{const i=Ghe(e,t,r);return t=i.target,r=i.transitionEnd,epe(e,t,n,r)},N7={current:null},L$={current:!1};function npe(){if(L$.current=!0,!!np)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>N7.current=e.matches;e.addListener(t),t()}else N7.current=!1}function rpe(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ou(o))e.addValue(i,o),a5(r)&&r.add(i);else if(ou(a))e.addValue(i,Vm(o)),a5(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,Vm(s!==void 0?s:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const A$=Object.keys(C2),ipe=A$.length,QA=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ope{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Gs.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=FS(n),this.isVariantNode=pB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(n);for(const d in u){const h=u[d];a[d]!==void 0&&ou(h)&&(h.set(a[d],!1),a5(l)&&l.add(d))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),L$.current||npe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:N7.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Vh.update(this.notifyUpdate),Vh.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=g0.has(t),i=n.onChange(a=>{this.latestValues[t]=a,this.props.onUpdate&&Gs.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isProjectionDirty=!0)}),o=n.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const s=[];for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:m})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):pi()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;nr.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vm(n),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=$_(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ou(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Vv),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const O$=["initial",...nk],ape=O$.length;class M$ extends ope{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=fhe(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){che(this,r,a);const s=tpe(this,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function spe(e){return window.getComputedStyle(e)}class lpe extends M${readValueFromInstance(t,n){if(g0.has(n)){const r=X_(n);return r&&r.default||0}else{const r=spe(t),i=(vB(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return k$(t,n)}build(t,n,r,i){D_(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return B_(t)}renderInstance(t,n,r,i){AB(t,n,r,i)}}class upe extends M${getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return g0.has(n)?((r=X_(n))===null||r===void 0?void 0:r.default)||0:(n=OB.has(n)?n:LB(n),t.getAttribute(n))}measureInstanceViewportBox(){return pi()}scrapeMotionValuesFromProps(t){return IB(t)}build(t,n,r,i){j_(t,n,r,i.transformTemplate)}renderInstance(t,n,r,i){MB(t,n,r,i)}}const cpe=(e,t)=>I_(e)?new upe(t,{enableHardwareAcceleration:!1}):new lpe(t,{enableHardwareAcceleration:!0});function JA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const W1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Lt.test(e))e=parseFloat(e);else return e;const n=JA(e,t.target.x),r=JA(e,t.target.y);return`${n}% ${r}%`}},eO="_$css",dpe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(E$,v=>(o.push(v),eO)));const a=Ju.parse(e);if(a.length>5)return r;const s=Ju.createTransformer(e),l=typeof a[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=d;const h=Fr(u,d,.5);typeof a[2+l]=="number"&&(a[2+l]/=h),typeof a[3+l]=="number"&&(a[3+l]/=h);let m=s(a);if(i){let v=0;m=m.replace(eO,()=>{const b=o[v];return v++,b})}return m}};class fpe extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;_ce(ppe),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Fv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||Gs.postRender(()=>{var s;!((s=a.getStack())===null||s===void 0)&&s.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function hpe(e){const[t,n]=K_(),r=w.useContext(M_);return N.createElement(fpe,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(gB),isPresent:t,safeToRemove:n})}const ppe={borderRadius:{...W1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:W1,borderTopRightRadius:W1,borderBottomLeftRadius:W1,borderBottomRightRadius:W1,boxShadow:dpe},gpe={measureLayout:hpe};function mpe(e,t,n={}){const r=ou(e)?e:Vm(e);return J_("",r,t,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const I$=["TopLeft","TopRight","BottomLeft","BottomRight"],vpe=I$.length,tO=e=>typeof e=="string"?parseFloat(e):e,nO=e=>typeof e=="number"||Lt.test(e);function ype(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=Fr(0,(a=n.opacity)!==null&&a!==void 0?a:1,bpe(r)),e.opacityExit=Fr((s=t.opacity)!==null&&s!==void 0?s:1,0,Spe(r))):o&&(e.opacity=Fr((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(let d=0;drt?1:n(E2(e,t,r))}function iO(e,t){e.min=t.min,e.max=t.max}function Ms(e,t){iO(e.x,t.x),iO(e.y,t.y)}function oO(e,t,n,r,i){return e-=t,e=s5(e,1/n,r),i!==void 0&&(e=s5(e,1/i,r)),e}function xpe(e,t=0,n=1,r=.5,i,o=e,a=e){if(Xl.test(t)&&(t=parseFloat(t),t=Fr(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Fr(o.min,o.max,r);e===o&&(s-=t),e.min=oO(e.min,t,n,s,i),e.max=oO(e.max,t,n,s,i)}function aO(e,t,[n,r,i],o,a){xpe(e,t[n],t[r],t[i],t.scale,o,a)}const wpe=["x","scaleX","originX"],Cpe=["y","scaleY","originY"];function sO(e,t,n,r){aO(e.x,t,wpe,n==null?void 0:n.x,r==null?void 0:r.x),aO(e.y,t,Cpe,n==null?void 0:n.y,r==null?void 0:r.y)}function lO(e){return e.translate===0&&e.scale===1}function D$(e){return lO(e.x)&&lO(e.y)}function N$(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function uO(e){return Oa(e.x)/Oa(e.y)}function _pe(e,t,n=.1){return Y_(e,t)<=n}class kpe{constructor(){this.members=[]}add(t){ek(this.members,t),t.scheduleRender()}remove(t){if(tk(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cO(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),d&&(r+=`rotateY(${d}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}const Epe=(e,t)=>e.depth-t.depth;class Ppe{constructor(){this.children=[],this.isDirty=!1}add(t){ek(this.children,t),this.isDirty=!0}remove(t){tk(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Epe),this.isDirty=!1,this.children.forEach(t)}}const dO=["","X","Y","Z"],fO=1e3;let Tpe=0;function j$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,s={},l=t==null?void 0:t()){this.id=Tpe++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Ipe),this.nodes.forEach(Rpe)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let u=0;uthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=m$(v,250),Fv.hasAnimatedSinceResize&&(Fv.hasAnimatedSinceResize=!1,this.nodes.forEach(pO))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeTargetChanged:b,layout:S})=>{var k,E,_,T,A;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const I=(E=(k=this.options.transition)!==null&&k!==void 0?k:h.getDefaultTransition())!==null&&E!==void 0?E:$pe,{onLayoutAnimationStart:R,onLayoutAnimationComplete:D}=h.getProps(),j=!this.targetLayout||!N$(this.targetLayout,S)||b,z=!v&&b;if(!((_=this.resumeFrom)===null||_===void 0)&&_.instance||z||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,z);const V={...Q_(I,"layout"),onPlay:R,onComplete:D};h.shouldReduceMotion&&(V.delay=0,V.type=!1),this.startAnimation(V)}else!v&&this.animationProgress===0&&pO(this),this.isLead()&&((A=(T=this.options).onExitComplete)===null||A===void 0||A.call(T));this.targetLayout=S})}unmount(){var a,s;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(s=this.parent)===null||s===void 0||s.children.delete(this),this.instance=void 0,Vh.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(Dpe),this.animationId++)}willUpdate(a=!0){var s,l,u;if(this.root.isUpdateBlocked()){(l=(s=this.options).onExitComplete)===null||l===void 0||l.call(s);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{var T;const A=_/1e3;gO(v.x,a.x,A),gO(v.y,a.y,A),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((T=this.relativeParent)===null||T===void 0)&&T.layout)&&(Uv(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jpe(this.relativeTarget,this.relativeTargetOrigin,b,A)),S&&(this.animationValues=m,ype(m,h,this.latestValues,A,E,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(0)}startAnimation(a){var s,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((l=this.resumingFrom.currentAnimation)===null||l===void 0||l.stop()),this.pendingAnimation&&(Vh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gs.update(()=>{Fv.hasAnimatedSinceResize=!0,this.currentAnimation=mpe(0,fO,{...a,onUpdate:u=>{var d;this.mixTargetDelta(u),(d=a.onUpdate)===null||d===void 0||d.call(a,u)},onComplete:()=>{var u;(u=a.onComplete)===null||u===void 0||u.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,fO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:d}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&B$(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||pi();const h=Oa(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const m=Oa(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m}Ms(s,l),Vg(s,d),Wv(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(a,s){var l,u,d;this.sharedNodes.has(a)||this.sharedNodes.set(a,new kpe),this.sharedNodes.get(a).add(s),s.promote({transition:(l=s.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(d=(u=s.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(u,s)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let d=0;d{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(hO),this.root.sharedNodes.clear()}}}function Lpe(e){e.updateLayout()}function Ape(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(b);b.min=o[v].min,b.max=b.min+S}):B$(s,i.layoutBox,o)&&Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(o[v]);b.max=b.min+S});const u=Gv();Wv(u,o,i.layoutBox);const d=Gv();l?Wv(d,e.applyTransform(a,!0),i.measuredBox):Wv(d,o,i.layoutBox);const h=!D$(u);let m=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const k=pi();Uv(k,i.layoutBox,b.layoutBox);const E=pi();Uv(E,o,S.layoutBox),N$(k,E)||(m=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:d,layoutDelta:u,hasLayoutChanged:h,hasRelativeTargetChanged:m})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function Ope(e){e.clearSnapshot()}function hO(e){e.clearMeasurements()}function Mpe(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Ipe(e){e.resolveTargetDelta()}function Rpe(e){e.calcProjection()}function Dpe(e){e.resetRotation()}function Npe(e){e.removeLeadSnapshot()}function gO(e,t,n){e.translate=Fr(t.translate,0,n),e.scale=Fr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mO(e,t,n,r){e.min=Fr(t.min,n.min,r),e.max=Fr(t.max,n.max,r)}function jpe(e,t,n,r){mO(e.x,t.x,n.x,r),mO(e.y,t.y,n.y,r)}function Bpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $pe={duration:.45,ease:[.4,0,.1,1]};function Fpe(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function vO(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function zpe(e){vO(e.x),vO(e.y)}function B$(e,t,n){return e==="position"||e==="preserve-aspect"&&!_pe(uO(t),uO(n),.2)}const Hpe=j$({attachResizeListener:(e,t)=>HS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),x6={current:void 0},Vpe=j$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!x6.current){const e=new Hpe(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),x6.current=e}return x6.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),Wpe={...Che,...Ife,...Whe,...gpe},du=wce((e,t)=>sde(e,t,Wpe,cpe,Vpe));function $$(){const e=w.useRef(!1);return X4(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Upe(){const e=$$(),[t,n]=w.useState(0),r=w.useCallback(()=>{e.current&&n(t+1)},[t]);return[w.useCallback(()=>Gs.postRender(r),[r]),t]}class Gpe extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function qpe({children:e,isPresent:t}){const n=w.useId(),r=w.useRef(null),i=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:l}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${o}px !important; @@ -43,8 +43,8 @@ var uee=Object.defineProperty;var cee=(e,t,n)=>t in e?uee(e,t,{enumerable:!0,con top: ${s}px !important; left: ${l}px !important; } - `),()=>{document.head.removeChild(u)}},[t]),w.createElement(Upe,{isPresent:t,childRef:r,sizeRef:i},w.cloneElement(e,{ref:r}))}const x6=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=$S(qpe),l=w.useId(),u=w.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:d=>{s.set(d,!0);for(const h of s.values())if(!h)return;r&&r()},register:d=>(s.set(d,!1),()=>s.delete(d))}),o?void 0:[n]);return w.useMemo(()=>{s.forEach((d,h)=>s.set(h,!1))},[n]),w.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=w.createElement(Gpe,{isPresent:n},e)),w.createElement(p0.Provider,{value:u},e)};function qpe(){return new Map}const Bg=e=>e.key||"";function Ype(e,t){e.forEach(n=>{const r=Bg(n);t.set(r,n)})}function Kpe(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const nf=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",cF(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=Wpe();const l=w.useContext(M_).forceRender;l&&(s=l);const u=BF(),d=Kpe(e);let h=d;const m=new Set,v=w.useRef(h),b=w.useRef(new Map).current,S=w.useRef(!0);if(X4(()=>{S.current=!1,Ype(d,b),v.current=h}),z_(()=>{S.current=!0,b.clear(),m.clear()}),S.current)return w.createElement(w.Fragment,null,h.map(T=>w.createElement(x6,{key:Bg(T),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},T)));h=[...h];const k=v.current.map(Bg),E=d.map(Bg),_=k.length;for(let T=0;T<_;T++){const A=k[T];E.indexOf(A)===-1&&m.add(A)}return a==="wait"&&m.size&&(h=[]),m.forEach(T=>{if(E.indexOf(T)!==-1)return;const A=b.get(T);if(!A)return;const I=k.indexOf(T),R=()=>{b.delete(T),m.delete(T);const D=v.current.findIndex(j=>j.key===T);if(v.current.splice(D,1),!m.size){if(v.current=d,u.current===!1)return;s(),r&&r()}};h.splice(I,0,w.createElement(x6,{key:Bg(A),isPresent:!1,onExitComplete:R,custom:t,presenceAffectsLayout:o,mode:a},A))}),h=h.map(T=>{const A=T.key;return m.has(A)?T:w.createElement(x6,{key:Bg(T),isPresent:!0,presenceAffectsLayout:o,mode:a},T)}),uF!=="production"&&a==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),w.createElement(w.Fragment,null,m.size?h:h.map(T=>w.cloneElement(T)))};var $l=function(){return $l=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function N7(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;re.filter(Boolean).join(" ");function Xpe(){return!1}var Zpe=e=>{const{condition:t,message:n}=e;t&&Xpe()&&console.warn(n)},_h={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},U1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function j7(e){switch((e==null?void 0:e.direction)??"right"){case"right":return U1.slideRight;case"left":return U1.slideLeft;case"bottom":return U1.slideDown;case"top":return U1.slideUp;default:return U1.slideRight}}var Ih={enter:{duration:.2,ease:_h.easeOut},exit:{duration:.1,ease:_h.easeIn}},qs={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Qpe=e=>e!=null&&parseInt(e.toString(),10)>0,bO={exit:{height:{duration:.2,ease:_h.ease},opacity:{duration:.3,ease:_h.ease}},enter:{height:{duration:.3,ease:_h.ease},opacity:{duration:.4,ease:_h.ease}}},Jpe={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:Qpe(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??qs.exit(bO.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??qs.enter(bO.enter,i)})},$F=w.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:s,className:l,transition:u,transitionEnd:d,...h}=e,[m,v]=w.useState(!1);w.useEffect(()=>{const _=setTimeout(()=>{v(!0)});return()=>clearTimeout(_)},[]),Zpe({condition:Boolean(o>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const b=parseFloat(o.toString())>0,S={startingHeight:o,endingHeight:a,animateOpacity:i,transition:m?u:{enter:{duration:0}},transitionEnd:{enter:d==null?void 0:d.enter,exit:r?d==null?void 0:d.exit:{...d==null?void 0:d.exit,display:b?"block":"none"}}},k=r?n:!0,E=n||r?"enter":"exit";return N.createElement(nf,{initial:!1,custom:S},k&&N.createElement(du.div,{ref:t,...h,className:by("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:S,variants:Jpe,initial:r?"exit":!1,animate:E,exit:"exit"}))});$F.displayName="Collapse";var ege={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??qs.exit(Ih.exit,n),transitionEnd:t==null?void 0:t.exit})},zF={initial:"exit",animate:"enter",exit:"exit",variants:ege},tge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:s,delay:l,...u}=t,d=i||r?"enter":"exit",h=r?i&&r:!0,m={transition:a,transitionEnd:s,delay:l};return N.createElement(nf,{custom:m},h&&N.createElement(du.div,{ref:n,className:by("chakra-fade",o),custom:m,...zF,animate:d,...u}))});tge.displayName="Fade";var nge={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??qs.enter(Ih.enter,n),transitionEnd:e==null?void 0:e.enter})},HF={initial:"exit",animate:"enter",exit:"exit",variants:nge},rge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:u,delay:d,...h}=t,m=r?i&&r:!0,v=i||r?"enter":"exit",b={initialScale:a,reverse:o,transition:l,transitionEnd:u,delay:d};return N.createElement(nf,{custom:b},m&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",s),...HF,animate:v,custom:b,...h}))});rge.displayName="ScaleFade";var SO={exit:{duration:.15,ease:_h.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},ige={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=j7({direction:e});return{...i,transition:(t==null?void 0:t.exit)??qs.exit(SO.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=j7({direction:e});return{...i,transition:(n==null?void 0:n.enter)??qs.enter(SO.enter,r),transitionEnd:t==null?void 0:t.enter}}},VF=w.forwardRef(function(t,n){const{direction:r="right",style:i,unmountOnExit:o,in:a,className:s,transition:l,transitionEnd:u,delay:d,motionProps:h,...m}=t,v=j7({direction:r}),b=Object.assign({position:"fixed"},v.position,i),S=o?a&&o:!0,k=a||o?"enter":"exit",E={transitionEnd:u,transition:l,direction:r,delay:d};return N.createElement(nf,{custom:E},S&&N.createElement(du.div,{...m,ref:n,initial:"exit",className:by("chakra-slide",s),animate:k,exit:"exit",custom:E,variants:ige,style:b,...h}))});VF.displayName="Slide";var oge={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}},B7={initial:"initial",animate:"enter",exit:"exit",variants:oge},age=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:d,delay:h,...m}=t,v=r?i&&r:!0,b=i||r?"enter":"exit",S={offsetX:s,offsetY:l,reverse:o,transition:u,transitionEnd:d,delay:h};return N.createElement(nf,{custom:S},v&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",a),custom:S,...B7,animate:b,...m}))});age.displayName="SlideFade";var Sy=(...e)=>e.filter(Boolean).join(" ");function sge(){return!1}var qS=e=>{const{condition:t,message:n}=e;t&&sge()&&console.warn(n)};function w6(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[lge,YS]=Mn({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[uge,rk]=Mn({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[cge,K$e,dge,fge]=dB(),Wg=Oe(function(t,n){const{getButtonProps:r}=rk(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...YS().button};return N.createElement(Ce.button,{...i,className:Sy("chakra-accordion__button",t.className),__css:a})});Wg.displayName="AccordionButton";function hge(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;mge(e),vge(e);const s=dge(),[l,u]=w.useState(-1);w.useEffect(()=>()=>{u(-1)},[]);const[d,h]=NS({value:r,defaultValue(){return i?n??[]:n??-1},onChange:t});return{index:d,setIndex:h,htmlProps:a,getAccordionItemProps:v=>{let b=!1;return v!==null&&(b=Array.isArray(d)?d.includes(v):d===v),{isOpen:b,onChange:k=>{if(v!==null)if(i&&Array.isArray(d)){const E=k?d.concat(v):d.filter(_=>_!==v);h(E)}else k?h(v):o&&h(-1)}}},focusedIndex:l,setFocusedIndex:u,descendants:s}}var[pge,ik]=Mn({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function gge(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=ik(),s=w.useRef(null),l=w.useId(),u=r??l,d=`accordion-button-${u}`,h=`accordion-panel-${u}`;yge(e);const{register:m,index:v,descendants:b}=fge({disabled:t&&!n}),{isOpen:S,onChange:k}=o(v===-1?null:v);bge({isOpen:S,isDisabled:t});const E=()=>{k==null||k(!0)},_=()=>{k==null||k(!1)},T=w.useCallback(()=>{k==null||k(!S),a(v)},[v,a,S,k]),A=w.useCallback(j=>{const V={ArrowDown:()=>{const K=b.nextEnabled(v);K==null||K.node.focus()},ArrowUp:()=>{const K=b.prevEnabled(v);K==null||K.node.focus()},Home:()=>{const K=b.firstEnabled();K==null||K.node.focus()},End:()=>{const K=b.lastEnabled();K==null||K.node.focus()}}[j.key];V&&(j.preventDefault(),V(j))},[b,v]),I=w.useCallback(()=>{a(v)},[a,v]),R=w.useCallback(function(z={},V=null){return{...z,type:"button",ref:Yn(m,s,V),id:d,disabled:!!t,"aria-expanded":!!S,"aria-controls":h,onClick:w6(z.onClick,T),onFocus:w6(z.onFocus,I),onKeyDown:w6(z.onKeyDown,A)}},[d,t,S,T,I,A,h,m]),D=w.useCallback(function(z={},V=null){return{...z,ref:V,role:"region",id:h,"aria-labelledby":d,hidden:!S}},[d,S,h]);return{isOpen:S,isDisabled:t,isFocusable:n,onOpen:E,onClose:_,getButtonProps:R,getPanelProps:D,htmlProps:i}}function mge(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;qS({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function vge(e){qS({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function yge(e){qS({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. - `})}function bge(e){qS({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Ug(e){const{isOpen:t,isDisabled:n}=rk(),{reduceMotion:r}=ik(),i=Sy("chakra-accordion__icon",e.className),o=YS(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return N.createElement(Da,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}Ug.displayName="AccordionIcon";var Gg=Oe(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=gge(t),l={...YS().container,overflowAnchor:"none"},u=w.useMemo(()=>a,[a]);return N.createElement(uge,{value:u},N.createElement(Ce.div,{ref:n,...o,className:Sy("chakra-accordion__item",i),__css:l},typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r))});Gg.displayName="AccordionItem";var qg=Oe(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=ik(),{getPanelProps:s,isOpen:l}=rk(),u=s(o,n),d=Sy("chakra-accordion__panel",r),h=YS();a||delete u.hidden;const m=N.createElement(Ce.div,{...u,__css:h.panel,className:d});return a?m:N.createElement($F,{in:l,...i},m)});qg.displayName="AccordionPanel";var ok=Oe(function({children:t,reduceMotion:n,...r},i){const o=Yi("Accordion",r),a=En(r),{htmlProps:s,descendants:l,...u}=hge(a),d=w.useMemo(()=>({...u,reduceMotion:!!n}),[u,n]);return N.createElement(cge,{value:l},N.createElement(pge,{value:d},N.createElement(lge,{value:o},N.createElement(Ce.div,{ref:i,...s,className:Sy("chakra-accordion",r.className),__css:o.root},t))))});ok.displayName="Accordion";var Sge=(...e)=>e.filter(Boolean).join(" "),xge=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),xy=Oe((e,t)=>{const n=Ao("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:s,...l}=En(e),u=Sge("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${xge} ${o} linear infinite`,...n};return N.createElement(Ce.div,{ref:t,__css:d,className:u,...l},r&&N.createElement(Ce.span,{srOnly:!0},r))});xy.displayName="Spinner";var KS=(...e)=>e.filter(Boolean).join(" ");function wge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))}function Cge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))}function xO(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[_ge,kge]=Mn({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Ege,ak]=Mn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),WF={info:{icon:Cge,colorScheme:"blue"},warning:{icon:xO,colorScheme:"orange"},success:{icon:wge,colorScheme:"green"},error:{icon:xO,colorScheme:"red"},loading:{icon:xy,colorScheme:"blue"}};function Pge(e){return WF[e].colorScheme}function Tge(e){return WF[e].icon}var UF=Oe(function(t,n){const{status:r="info",addRole:i=!0,...o}=En(t),a=t.colorScheme??Pge(r),s=Yi("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return N.createElement(_ge,{value:{status:r}},N.createElement(Ege,{value:s},N.createElement(Ce.div,{role:i?"alert":void 0,ref:n,...o,className:KS("chakra-alert",t.className),__css:l})))});UF.displayName="Alert";var GF=Oe(function(t,n){const i={display:"inline",...ak().description};return N.createElement(Ce.div,{ref:n,...t,className:KS("chakra-alert__desc",t.className),__css:i})});GF.displayName="AlertDescription";function qF(e){const{status:t}=kge(),n=Tge(t),r=ak(),i=t==="loading"?r.spinner:r.icon;return N.createElement(Ce.span,{display:"inherit",...e,className:KS("chakra-alert__icon",e.className),__css:i},e.children||N.createElement(n,{h:"100%",w:"100%"}))}qF.displayName="AlertIcon";var YF=Oe(function(t,n){const r=ak();return N.createElement(Ce.div,{ref:n,...t,className:KS("chakra-alert__title",t.className),__css:r.title})});YF.displayName="AlertTitle";function Lge(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Age(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[u,d]=w.useState("pending");w.useEffect(()=>{d(n?"loading":"pending")},[n]);const h=w.useRef(),m=w.useCallback(()=>{if(!n)return;v();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=S=>{v(),d("loaded"),i==null||i(S)},b.onerror=S=>{v(),d("failed"),o==null||o(S)},h.current=b},[n,a,r,s,i,o,t]),v=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return Ws(()=>{if(!l)return u==="loading"&&m(),()=>{v()}},[u,m,l]),l?"loaded":u}var Oge=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError",l5=Oe(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return N.createElement("img",{width:r,height:i,ref:n,alt:o,...a})});l5.displayName="NativeImage";var XS=Oe(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:s,fit:l,loading:u,ignoreFallback:d,crossOrigin:h,fallbackStrategy:m="beforeLoadOrError",referrerPolicy:v,...b}=t,S=r!==void 0||i!==void 0,k=u!=null||d||!S,E=Age({...t,ignoreFallback:k}),_=Oge(E,m),T={ref:n,objectFit:l,objectPosition:s,...k?b:Lge(b,["onError","onLoad"])};return _?i||N.createElement(Ce.img,{as:l5,className:"chakra-image__placeholder",src:r,...T}):N.createElement(Ce.img,{as:l5,src:o,srcSet:a,crossOrigin:h,loading:u,referrerPolicy:v,className:"chakra-image",...T})});XS.displayName="Image";Oe((e,t)=>N.createElement(Ce.img,{ref:t,as:l5,className:"chakra-image",...e}));function ZS(e){return w.Children.toArray(e).filter(t=>w.isValidElement(t))}var QS=(...e)=>e.filter(Boolean).join(" "),wO=e=>e?"":void 0,[Mge,Ige]=Mn({strict:!1,name:"ButtonGroupContext"});function F7(e){const{children:t,className:n,...r}=e,i=w.isValidElement(t)?w.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=QS("chakra-button__icon",n);return N.createElement(Ce.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o},i)}F7.displayName="ButtonIcon";function $7(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=N.createElement(xy,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...s}=e,l=QS("chakra-button__spinner",o),u=n==="start"?"marginEnd":"marginStart",d=w.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,u,r]);return N.createElement(Ce.div,{className:l,...s,__css:d},i)}$7.displayName="ButtonSpinner";function Rge(e){const[t,n]=w.useState(!e);return{ref:w.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}var as=Oe((e,t)=>{const n=Ige(),r=Ao("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:s,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:b="start",className:S,as:k,...E}=En(e),_=w.useMemo(()=>{const R={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:R}}},[r,n]),{ref:T,type:A}=Rge(k),I={rightIcon:u,leftIcon:l,iconSpacing:h,children:s};return N.createElement(Ce.button,{disabled:i||o,ref:nce(t,T),as:k,type:m??A,"data-active":wO(a),"data-loading":wO(o),__css:_,className:QS("chakra-button",S),...E},o&&b==="start"&&N.createElement($7,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:h},v),o?d||N.createElement(Ce.span,{opacity:0},N.createElement(CO,{...I})):N.createElement(CO,{...I}),o&&b==="end"&&N.createElement($7,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:h},v))});as.displayName="Button";function CO(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return N.createElement(N.Fragment,null,t&&N.createElement(F7,{marginEnd:i},t),r,n&&N.createElement(F7,{marginStart:i},n))}var oo=Oe(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:u,...d}=t,h=QS("chakra-button__group",a),m=w.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:u}),[r,i,o,u]);let v={display:"inline-flex"};return l?v={...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:v={...v,"& > *:not(style) ~ *:not(style)":{marginStart:s}},N.createElement(Mge,{value:m},N.createElement(Ce.div,{ref:n,role:"group",__css:v,className:h,"data-attached":l?"":void 0,...d}))});oo.displayName="ButtonGroup";var ss=Oe((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,s=n||r,l=w.isValidElement(s)?w.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return N.createElement(as,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a},l)});ss.displayName="IconButton";var y0=(...e)=>e.filter(Boolean).join(" "),J3=e=>e?"":void 0,C6=e=>e?!0:void 0;function _O(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[Dge,KF]=Mn({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[Nge,b0]=Mn({strict:!1,name:"FormControlContext"});function jge(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,s=w.useId(),l=t||`field-${s}`,u=`${l}-label`,d=`${l}-feedback`,h=`${l}-helptext`,[m,v]=w.useState(!1),[b,S]=w.useState(!1),[k,E]=w.useState(!1),_=w.useCallback((D={},j=null)=>({id:h,...D,ref:Yn(j,z=>{z&&S(!0)})}),[h]),T=w.useCallback((D={},j=null)=>({...D,ref:j,"data-focus":J3(k),"data-disabled":J3(i),"data-invalid":J3(r),"data-readonly":J3(o),id:D.id??u,htmlFor:D.htmlFor??l}),[l,i,k,r,o,u]),A=w.useCallback((D={},j=null)=>({id:d,...D,ref:Yn(j,z=>{z&&v(!0)}),"aria-live":"polite"}),[d]),I=w.useCallback((D={},j=null)=>({...D,...a,ref:j,role:"group"}),[a]),R=w.useCallback((D={},j=null)=>({...D,ref:j,role:"presentation","aria-hidden":!0,children:D.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!k,onFocus:()=>E(!0),onBlur:()=>E(!1),hasFeedbackText:m,setHasFeedbackText:v,hasHelpText:b,setHasHelpText:S,id:l,labelId:u,feedbackId:d,helpTextId:h,htmlProps:a,getHelpTextProps:_,getErrorMessageProps:A,getRootProps:I,getLabelProps:T,getRequiredIndicatorProps:R}}var dn=Oe(function(t,n){const r=Yi("Form",t),i=En(t),{getRootProps:o,htmlProps:a,...s}=jge(i),l=y0("chakra-form-control",t.className);return N.createElement(Nge,{value:s},N.createElement(Dge,{value:r},N.createElement(Ce.div,{...o({},n),className:l,__css:r.container})))});dn.displayName="FormControl";var lr=Oe(function(t,n){const r=b0(),i=KF(),o=y0("chakra-form__helper-text",t.className);return N.createElement(Ce.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});lr.displayName="FormHelperText";function sk(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=lk(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":C6(n),"aria-required":C6(i),"aria-readonly":C6(r)}}function lk(e){const t=b0(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:u,onFocus:d,onBlur:h,...m}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&v.push(t.feedbackId),t!=null&&t.hasHelpText&&v.push(t.helpTextId),{...m,"aria-describedby":v.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??u??(t==null?void 0:t.isDisabled),isReadOnly:i??l??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:_O(t==null?void 0:t.onFocus,d),onBlur:_O(t==null?void 0:t.onBlur,h)}}var[Bge,Fge]=Mn({name:"FormErrorStylesContext",errorMessage:`useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),ur=Oe((e,t)=>{const n=Yi("FormError",e),r=En(e),i=b0();return i!=null&&i.isInvalid?N.createElement(Bge,{value:n},N.createElement(Ce.div,{...i==null?void 0:i.getErrorMessageProps(r,t),className:y0("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})):null});ur.displayName="FormErrorMessage";var $ge=Oe((e,t)=>{const n=Fge(),r=b0();if(!(r!=null&&r.isInvalid))return null;const i=y0("chakra-form__error-icon",e.className);return N.createElement(Da,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:i},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))});$ge.displayName="FormErrorIcon";var kn=Oe(function(t,n){const r=Ao("FormLabel",t),i=En(t),{className:o,children:a,requiredIndicator:s=N.createElement(XF,null),optionalIndicator:l=null,...u}=i,d=b0(),h=(d==null?void 0:d.getLabelProps(u,n))??{ref:n,...u};return N.createElement(Ce.label,{...h,className:y0("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r}},a,d!=null&&d.isRequired?s:l)});kn.displayName="FormLabel";var XF=Oe(function(t,n){const r=b0(),i=KF();if(!(r!=null&&r.isRequired))return null;const o=y0("chakra-form__required-indicator",t.className);return N.createElement(Ce.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});XF.displayName="RequiredIndicator";function Vd(e,t){const n=w.useRef(!1),r=w.useRef(!1);w.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),w.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}var uk={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},zge=Ce("span",{baseStyle:uk});zge.displayName="VisuallyHidden";var Hge=Ce("input",{baseStyle:uk});Hge.displayName="VisuallyHiddenInput";var kO=!1,JS=null,Wm=!1,z7=new Set,Vge=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function Wge(e){return!(e.metaKey||!Vge&&e.altKey||e.ctrlKey)}function ck(e,t){z7.forEach(n=>n(e,t))}function EO(e){Wm=!0,Wge(e)&&(JS="keyboard",ck("keyboard",e))}function wg(e){JS="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wm=!0,ck("pointer",e))}function Uge(e){e.target===window||e.target===document||(Wm||(JS="keyboard",ck("keyboard",e)),Wm=!1)}function Gge(){Wm=!1}function PO(){return JS!=="pointer"}function qge(){if(typeof window>"u"||kO)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){Wm=!0,e.apply(this,n)},document.addEventListener("keydown",EO,!0),document.addEventListener("keyup",EO,!0),window.addEventListener("focus",Uge,!0),window.addEventListener("blur",Gge,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",wg,!0),document.addEventListener("pointermove",wg,!0),document.addEventListener("pointerup",wg,!0)):(document.addEventListener("mousedown",wg,!0),document.addEventListener("mousemove",wg,!0),document.addEventListener("mouseup",wg,!0)),kO=!0}function Yge(e){qge(),e(PO());const t=()=>e(PO());return z7.add(t),()=>{z7.delete(t)}}var[X$e,Kge]=Mn({name:"CheckboxGroupContext",strict:!1}),Xge=(...e)=>e.filter(Boolean).join(" "),yo=e=>e?"":void 0;function Ya(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function Zge(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}function Qge(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e},N.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function Jge(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e},N.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function eme(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?Jge:Qge;return n||t?N.createElement(Ce.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},N.createElement(i,{...r})):null}function tme(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function ZF(e={}){const t=lk(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:s,onFocus:l,"aria-describedby":u}=t,{defaultChecked:d,isChecked:h,isFocusable:m,onChange:v,isIndeterminate:b,name:S,value:k,tabIndex:E=void 0,"aria-label":_,"aria-labelledby":T,"aria-invalid":A,...I}=e,R=tme(I,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),D=Er(v),j=Er(s),z=Er(l),[V,K]=w.useState(!1),[te,q]=w.useState(!1),[F,U]=w.useState(!1),[X,Z]=w.useState(!1);w.useEffect(()=>Yge(K),[]);const W=w.useRef(null),[Q,ie]=w.useState(!0),[fe,Se]=w.useState(!!d),Te=h!==void 0,ye=Te?h:fe,He=w.useCallback(Ae=>{if(r||n){Ae.preventDefault();return}Te||Se(ye?Ae.target.checked:b?!0:Ae.target.checked),D==null||D(Ae)},[r,n,ye,Te,b,D]);Ws(()=>{W.current&&(W.current.indeterminate=Boolean(b))},[b]),Vd(()=>{n&&q(!1)},[n,q]),Ws(()=>{const Ae=W.current;Ae!=null&&Ae.form&&(Ae.form.onreset=()=>{Se(!!d)})},[]);const Ne=n&&!m,tt=w.useCallback(Ae=>{Ae.key===" "&&Z(!0)},[Z]),_e=w.useCallback(Ae=>{Ae.key===" "&&Z(!1)},[Z]);Ws(()=>{if(!W.current)return;W.current.checked!==ye&&Se(W.current.checked)},[W.current]);const lt=w.useCallback((Ae={},ut=null)=>{const Mt=at=>{te&&at.preventDefault(),Z(!0)};return{...Ae,ref:ut,"data-active":yo(X),"data-hover":yo(F),"data-checked":yo(ye),"data-focus":yo(te),"data-focus-visible":yo(te&&V),"data-indeterminate":yo(b),"data-disabled":yo(n),"data-invalid":yo(o),"data-readonly":yo(r),"aria-hidden":!0,onMouseDown:Ya(Ae.onMouseDown,Mt),onMouseUp:Ya(Ae.onMouseUp,()=>Z(!1)),onMouseEnter:Ya(Ae.onMouseEnter,()=>U(!0)),onMouseLeave:Ya(Ae.onMouseLeave,()=>U(!1))}},[X,ye,n,te,V,F,b,o,r]),wt=w.useCallback((Ae={},ut=null)=>({...R,...Ae,ref:Yn(ut,Mt=>{Mt&&ie(Mt.tagName==="LABEL")}),onClick:Ya(Ae.onClick,()=>{var Mt;Q||((Mt=W.current)==null||Mt.click(),requestAnimationFrame(()=>{var at;(at=W.current)==null||at.focus()}))}),"data-disabled":yo(n),"data-checked":yo(ye),"data-invalid":yo(o)}),[R,n,ye,o,Q]),ct=w.useCallback((Ae={},ut=null)=>({...Ae,ref:Yn(W,ut),type:"checkbox",name:S,value:k,id:a,tabIndex:E,onChange:Ya(Ae.onChange,He),onBlur:Ya(Ae.onBlur,j,()=>q(!1)),onFocus:Ya(Ae.onFocus,z,()=>q(!0)),onKeyDown:Ya(Ae.onKeyDown,tt),onKeyUp:Ya(Ae.onKeyUp,_e),required:i,checked:ye,disabled:Ne,readOnly:r,"aria-label":_,"aria-labelledby":T,"aria-invalid":A?Boolean(A):o,"aria-describedby":u,"aria-disabled":n,style:uk}),[S,k,a,He,j,z,tt,_e,i,ye,Ne,r,_,T,A,o,u,n,E]),mt=w.useCallback((Ae={},ut=null)=>({...Ae,ref:ut,onMouseDown:Ya(Ae.onMouseDown,TO),onTouchStart:Ya(Ae.onTouchStart,TO),"data-disabled":yo(n),"data-checked":yo(ye),"data-invalid":yo(o)}),[ye,n,o]);return{state:{isInvalid:o,isFocused:te,isChecked:ye,isActive:X,isHovered:F,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:wt,getCheckboxProps:lt,getInputProps:ct,getLabelProps:mt,htmlProps:R}}function TO(e){e.preventDefault(),e.stopPropagation()}var nme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},rme={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ime=tf({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),ome=tf({from:{opacity:0},to:{opacity:1}}),ame=tf({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),QF=Oe(function(t,n){const r=Kge(),i={...r,...t},o=Yi("Checkbox",i),a=En(t),{spacing:s="0.5rem",className:l,children:u,iconColor:d,iconSize:h,icon:m=N.createElement(eme,null),isChecked:v,isDisabled:b=r==null?void 0:r.isDisabled,onChange:S,inputProps:k,...E}=a;let _=v;r!=null&&r.value&&a.value&&(_=r.value.includes(a.value));let T=S;r!=null&&r.onChange&&a.value&&(T=Zge(r.onChange,S));const{state:A,getInputProps:I,getCheckboxProps:R,getLabelProps:D,getRootProps:j}=ZF({...E,isDisabled:b,isChecked:_,onChange:T}),z=w.useMemo(()=>({animation:A.isIndeterminate?`${ome} 20ms linear, ${ame} 200ms linear`:`${ime} 200ms linear`,fontSize:h,color:d,...o.icon}),[d,h,,A.isIndeterminate,o.icon]),V=w.cloneElement(m,{__css:z,isIndeterminate:A.isIndeterminate,isChecked:A.isChecked});return N.createElement(Ce.label,{__css:{...rme,...o.container},className:Xge("chakra-checkbox",l),...j()},N.createElement("input",{className:"chakra-checkbox__input",...I(k,n)}),N.createElement(Ce.span,{__css:{...nme,...o.control},className:"chakra-checkbox__control",...R()},V),u&&N.createElement(Ce.span,{className:"chakra-checkbox__label",...D(),__css:{marginStart:s,...o.label}},u))});QF.displayName="Checkbox";function sme(e){return N.createElement(Da,{focusable:"false","aria-hidden":!0,...e},N.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}var ex=Oe(function(t,n){const r=Ao("CloseButton",t),{children:i,isDisabled:o,__css:a,...s}=En(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return N.createElement(Ce.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...l,...r,...a},...s},i||N.createElement(sme,{width:"1em",height:"1em"}))});ex.displayName="CloseButton";function lme(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function dk(e,t){let n=lme(e);const r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function H7(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function u5(e,t,n){return(e-t)*100/(n-t)}function JF(e,t,n){return(n-t)*e+t}function V7(e,t,n){const r=Math.round((e-t)/n)*n+t,i=H7(n);return dk(r,i)}function Cm(e,t,n){return e==null?e:(nr==null?"":_6(r,o,n)??""),m=typeof i<"u",v=m?i:d,b=e$(dd(v),o),S=n??b,k=w.useCallback(V=>{V!==v&&(m||h(V.toString()),u==null||u(V.toString(),dd(V)))},[u,m,v]),E=w.useCallback(V=>{let K=V;return l&&(K=Cm(K,a,s)),dk(K,S)},[S,l,s,a]),_=w.useCallback((V=o)=>{let K;v===""?K=dd(V):K=dd(v)+V,K=E(K),k(K)},[E,o,k,v]),T=w.useCallback((V=o)=>{let K;v===""?K=dd(-V):K=dd(v)-V,K=E(K),k(K)},[E,o,k,v]),A=w.useCallback(()=>{let V;r==null?V="":V=_6(r,o,n)??a,k(V)},[r,n,o,k,a]),I=w.useCallback(V=>{const K=_6(V,o,S)??a;k(K)},[S,o,k,a]),R=dd(v);return{isOutOfRange:R>s||R{document.head.removeChild(u)}},[t]),w.createElement(Gpe,{isPresent:t,childRef:r,sizeRef:i},w.cloneElement(e,{ref:r}))}const w6=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=zS(Ype),l=w.useId(),u=w.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:d=>{s.set(d,!0);for(const h of s.values())if(!h)return;r&&r()},register:d=>(s.set(d,!1),()=>s.delete(d))}),o?void 0:[n]);return w.useMemo(()=>{s.forEach((d,h)=>s.set(h,!1))},[n]),w.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=w.createElement(qpe,{isPresent:n},e)),w.createElement(p0.Provider,{value:u},e)};function Ype(){return new Map}const Bg=e=>e.key||"";function Kpe(e,t){e.forEach(n=>{const r=Bg(n);t.set(r,n)})}function Xpe(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const nf=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",d$(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=Upe();const l=w.useContext(M_).forceRender;l&&(s=l);const u=$$(),d=Xpe(e);let h=d;const m=new Set,v=w.useRef(h),b=w.useRef(new Map).current,S=w.useRef(!0);if(X4(()=>{S.current=!1,Kpe(d,b),v.current=h}),z_(()=>{S.current=!0,b.clear(),m.clear()}),S.current)return w.createElement(w.Fragment,null,h.map(T=>w.createElement(w6,{key:Bg(T),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},T)));h=[...h];const k=v.current.map(Bg),E=d.map(Bg),_=k.length;for(let T=0;T<_;T++){const A=k[T];E.indexOf(A)===-1&&m.add(A)}return a==="wait"&&m.size&&(h=[]),m.forEach(T=>{if(E.indexOf(T)!==-1)return;const A=b.get(T);if(!A)return;const I=k.indexOf(T),R=()=>{b.delete(T),m.delete(T);const D=v.current.findIndex(j=>j.key===T);if(v.current.splice(D,1),!m.size){if(v.current=d,u.current===!1)return;s(),r&&r()}};h.splice(I,0,w.createElement(w6,{key:Bg(A),isPresent:!1,onExitComplete:R,custom:t,presenceAffectsLayout:o,mode:a},A))}),h=h.map(T=>{const A=T.key;return m.has(A)?T:w.createElement(w6,{key:Bg(T),isPresent:!0,presenceAffectsLayout:o,mode:a},T)}),c$!=="production"&&a==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),w.createElement(w.Fragment,null,m.size?h:h.map(T=>w.cloneElement(T)))};var Fl=function(){return Fl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function j7(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;re.filter(Boolean).join(" ");function Zpe(){return!1}var Qpe=e=>{const{condition:t,message:n}=e;t&&Zpe()&&console.warn(n)},_h={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},U1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function B7(e){switch((e==null?void 0:e.direction)??"right"){case"right":return U1.slideRight;case"left":return U1.slideLeft;case"bottom":return U1.slideDown;case"top":return U1.slideUp;default:return U1.slideRight}}var Ih={enter:{duration:.2,ease:_h.easeOut},exit:{duration:.1,ease:_h.easeIn}},qs={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Jpe=e=>e!=null&&parseInt(e.toString(),10)>0,bO={exit:{height:{duration:.2,ease:_h.ease},opacity:{duration:.3,ease:_h.ease}},enter:{height:{duration:.3,ease:_h.ease},opacity:{duration:.4,ease:_h.ease}}},ege={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:Jpe(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??qs.exit(bO.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??qs.enter(bO.enter,i)})},z$=w.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:s,className:l,transition:u,transitionEnd:d,...h}=e,[m,v]=w.useState(!1);w.useEffect(()=>{const _=setTimeout(()=>{v(!0)});return()=>clearTimeout(_)},[]),Qpe({condition:Boolean(o>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const b=parseFloat(o.toString())>0,S={startingHeight:o,endingHeight:a,animateOpacity:i,transition:m?u:{enter:{duration:0}},transitionEnd:{enter:d==null?void 0:d.enter,exit:r?d==null?void 0:d.exit:{...d==null?void 0:d.exit,display:b?"block":"none"}}},k=r?n:!0,E=n||r?"enter":"exit";return N.createElement(nf,{initial:!1,custom:S},k&&N.createElement(du.div,{ref:t,...h,className:by("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:S,variants:ege,initial:r?"exit":!1,animate:E,exit:"exit"}))});z$.displayName="Collapse";var tge={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??qs.exit(Ih.exit,n),transitionEnd:t==null?void 0:t.exit})},H$={initial:"exit",animate:"enter",exit:"exit",variants:tge},nge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:s,delay:l,...u}=t,d=i||r?"enter":"exit",h=r?i&&r:!0,m={transition:a,transitionEnd:s,delay:l};return N.createElement(nf,{custom:m},h&&N.createElement(du.div,{ref:n,className:by("chakra-fade",o),custom:m,...H$,animate:d,...u}))});nge.displayName="Fade";var rge={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??qs.enter(Ih.enter,n),transitionEnd:e==null?void 0:e.enter})},V$={initial:"exit",animate:"enter",exit:"exit",variants:rge},ige=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:u,delay:d,...h}=t,m=r?i&&r:!0,v=i||r?"enter":"exit",b={initialScale:a,reverse:o,transition:l,transitionEnd:u,delay:d};return N.createElement(nf,{custom:b},m&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",s),...V$,animate:v,custom:b,...h}))});ige.displayName="ScaleFade";var SO={exit:{duration:.15,ease:_h.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},oge={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=B7({direction:e});return{...i,transition:(t==null?void 0:t.exit)??qs.exit(SO.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=B7({direction:e});return{...i,transition:(n==null?void 0:n.enter)??qs.enter(SO.enter,r),transitionEnd:t==null?void 0:t.enter}}},W$=w.forwardRef(function(t,n){const{direction:r="right",style:i,unmountOnExit:o,in:a,className:s,transition:l,transitionEnd:u,delay:d,motionProps:h,...m}=t,v=B7({direction:r}),b=Object.assign({position:"fixed"},v.position,i),S=o?a&&o:!0,k=a||o?"enter":"exit",E={transitionEnd:u,transition:l,direction:r,delay:d};return N.createElement(nf,{custom:E},S&&N.createElement(du.div,{...m,ref:n,initial:"exit",className:by("chakra-slide",s),animate:k,exit:"exit",custom:E,variants:oge,style:b,...h}))});W$.displayName="Slide";var age={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}},$7={initial:"initial",animate:"enter",exit:"exit",variants:age},sge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:d,delay:h,...m}=t,v=r?i&&r:!0,b=i||r?"enter":"exit",S={offsetX:s,offsetY:l,reverse:o,transition:u,transitionEnd:d,delay:h};return N.createElement(nf,{custom:S},v&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",a),custom:S,...$7,animate:b,...m}))});sge.displayName="SlideFade";var Sy=(...e)=>e.filter(Boolean).join(" ");function lge(){return!1}var YS=e=>{const{condition:t,message:n}=e;t&&lge()&&console.warn(n)};function C6(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[uge,KS]=Mn({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[cge,rk]=Mn({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[dge,XFe,fge,hge]=fB(),Wg=Ae(function(t,n){const{getButtonProps:r}=rk(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...KS().button};return N.createElement(Ce.button,{...i,className:Sy("chakra-accordion__button",t.className),__css:a})});Wg.displayName="AccordionButton";function pge(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;vge(e),yge(e);const s=fge(),[l,u]=w.useState(-1);w.useEffect(()=>()=>{u(-1)},[]);const[d,h]=jS({value:r,defaultValue(){return i?n??[]:n??-1},onChange:t});return{index:d,setIndex:h,htmlProps:a,getAccordionItemProps:v=>{let b=!1;return v!==null&&(b=Array.isArray(d)?d.includes(v):d===v),{isOpen:b,onChange:k=>{if(v!==null)if(i&&Array.isArray(d)){const E=k?d.concat(v):d.filter(_=>_!==v);h(E)}else k?h(v):o&&h(-1)}}},focusedIndex:l,setFocusedIndex:u,descendants:s}}var[gge,ik]=Mn({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function mge(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=ik(),s=w.useRef(null),l=w.useId(),u=r??l,d=`accordion-button-${u}`,h=`accordion-panel-${u}`;bge(e);const{register:m,index:v,descendants:b}=hge({disabled:t&&!n}),{isOpen:S,onChange:k}=o(v===-1?null:v);Sge({isOpen:S,isDisabled:t});const E=()=>{k==null||k(!0)},_=()=>{k==null||k(!1)},T=w.useCallback(()=>{k==null||k(!S),a(v)},[v,a,S,k]),A=w.useCallback(j=>{const V={ArrowDown:()=>{const K=b.nextEnabled(v);K==null||K.node.focus()},ArrowUp:()=>{const K=b.prevEnabled(v);K==null||K.node.focus()},Home:()=>{const K=b.firstEnabled();K==null||K.node.focus()},End:()=>{const K=b.lastEnabled();K==null||K.node.focus()}}[j.key];V&&(j.preventDefault(),V(j))},[b,v]),I=w.useCallback(()=>{a(v)},[a,v]),R=w.useCallback(function(z={},V=null){return{...z,type:"button",ref:Yn(m,s,V),id:d,disabled:!!t,"aria-expanded":!!S,"aria-controls":h,onClick:C6(z.onClick,T),onFocus:C6(z.onFocus,I),onKeyDown:C6(z.onKeyDown,A)}},[d,t,S,T,I,A,h,m]),D=w.useCallback(function(z={},V=null){return{...z,ref:V,role:"region",id:h,"aria-labelledby":d,hidden:!S}},[d,S,h]);return{isOpen:S,isDisabled:t,isFocusable:n,onOpen:E,onClose:_,getButtonProps:R,getPanelProps:D,htmlProps:i}}function vge(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;YS({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function yge(e){YS({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function bge(e){YS({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. + `})}function Sge(e){YS({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Ug(e){const{isOpen:t,isDisabled:n}=rk(),{reduceMotion:r}=ik(),i=Sy("chakra-accordion__icon",e.className),o=KS(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return N.createElement(Da,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}Ug.displayName="AccordionIcon";var Gg=Ae(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=mge(t),l={...KS().container,overflowAnchor:"none"},u=w.useMemo(()=>a,[a]);return N.createElement(cge,{value:u},N.createElement(Ce.div,{ref:n,...o,className:Sy("chakra-accordion__item",i),__css:l},typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r))});Gg.displayName="AccordionItem";var qg=Ae(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=ik(),{getPanelProps:s,isOpen:l}=rk(),u=s(o,n),d=Sy("chakra-accordion__panel",r),h=KS();a||delete u.hidden;const m=N.createElement(Ce.div,{...u,__css:h.panel,className:d});return a?m:N.createElement(z$,{in:l,...i},m)});qg.displayName="AccordionPanel";var ok=Ae(function({children:t,reduceMotion:n,...r},i){const o=Yi("Accordion",r),a=En(r),{htmlProps:s,descendants:l,...u}=pge(a),d=w.useMemo(()=>({...u,reduceMotion:!!n}),[u,n]);return N.createElement(dge,{value:l},N.createElement(gge,{value:d},N.createElement(uge,{value:o},N.createElement(Ce.div,{ref:i,...s,className:Sy("chakra-accordion",r.className),__css:o.root},t))))});ok.displayName="Accordion";var xge=(...e)=>e.filter(Boolean).join(" "),wge=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),xy=Ae((e,t)=>{const n=Ao("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:s,...l}=En(e),u=xge("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${wge} ${o} linear infinite`,...n};return N.createElement(Ce.div,{ref:t,__css:d,className:u,...l},r&&N.createElement(Ce.span,{srOnly:!0},r))});xy.displayName="Spinner";var XS=(...e)=>e.filter(Boolean).join(" ");function Cge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))}function _ge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))}function xO(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[kge,Ege]=Mn({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Pge,ak]=Mn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),U$={info:{icon:_ge,colorScheme:"blue"},warning:{icon:xO,colorScheme:"orange"},success:{icon:Cge,colorScheme:"green"},error:{icon:xO,colorScheme:"red"},loading:{icon:xy,colorScheme:"blue"}};function Tge(e){return U$[e].colorScheme}function Lge(e){return U$[e].icon}var G$=Ae(function(t,n){const{status:r="info",addRole:i=!0,...o}=En(t),a=t.colorScheme??Tge(r),s=Yi("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return N.createElement(kge,{value:{status:r}},N.createElement(Pge,{value:s},N.createElement(Ce.div,{role:i?"alert":void 0,ref:n,...o,className:XS("chakra-alert",t.className),__css:l})))});G$.displayName="Alert";var q$=Ae(function(t,n){const i={display:"inline",...ak().description};return N.createElement(Ce.div,{ref:n,...t,className:XS("chakra-alert__desc",t.className),__css:i})});q$.displayName="AlertDescription";function Y$(e){const{status:t}=Ege(),n=Lge(t),r=ak(),i=t==="loading"?r.spinner:r.icon;return N.createElement(Ce.span,{display:"inherit",...e,className:XS("chakra-alert__icon",e.className),__css:i},e.children||N.createElement(n,{h:"100%",w:"100%"}))}Y$.displayName="AlertIcon";var K$=Ae(function(t,n){const r=ak();return N.createElement(Ce.div,{ref:n,...t,className:XS("chakra-alert__title",t.className),__css:r.title})});K$.displayName="AlertTitle";function Age(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Oge(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[u,d]=w.useState("pending");w.useEffect(()=>{d(n?"loading":"pending")},[n]);const h=w.useRef(),m=w.useCallback(()=>{if(!n)return;v();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=S=>{v(),d("loaded"),i==null||i(S)},b.onerror=S=>{v(),d("failed"),o==null||o(S)},h.current=b},[n,a,r,s,i,o,t]),v=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return Ws(()=>{if(!l)return u==="loading"&&m(),()=>{v()}},[u,m,l]),l?"loaded":u}var Mge=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError",l5=Ae(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return N.createElement("img",{width:r,height:i,ref:n,alt:o,...a})});l5.displayName="NativeImage";var ZS=Ae(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:s,fit:l,loading:u,ignoreFallback:d,crossOrigin:h,fallbackStrategy:m="beforeLoadOrError",referrerPolicy:v,...b}=t,S=r!==void 0||i!==void 0,k=u!=null||d||!S,E=Oge({...t,ignoreFallback:k}),_=Mge(E,m),T={ref:n,objectFit:l,objectPosition:s,...k?b:Age(b,["onError","onLoad"])};return _?i||N.createElement(Ce.img,{as:l5,className:"chakra-image__placeholder",src:r,...T}):N.createElement(Ce.img,{as:l5,src:o,srcSet:a,crossOrigin:h,loading:u,referrerPolicy:v,className:"chakra-image",...T})});ZS.displayName="Image";Ae((e,t)=>N.createElement(Ce.img,{ref:t,as:l5,className:"chakra-image",...e}));function QS(e){return w.Children.toArray(e).filter(t=>w.isValidElement(t))}var JS=(...e)=>e.filter(Boolean).join(" "),wO=e=>e?"":void 0,[Ige,Rge]=Mn({strict:!1,name:"ButtonGroupContext"});function F7(e){const{children:t,className:n,...r}=e,i=w.isValidElement(t)?w.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=JS("chakra-button__icon",n);return N.createElement(Ce.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o},i)}F7.displayName="ButtonIcon";function z7(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=N.createElement(xy,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...s}=e,l=JS("chakra-button__spinner",o),u=n==="start"?"marginEnd":"marginStart",d=w.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,u,r]);return N.createElement(Ce.div,{className:l,...s,__css:d},i)}z7.displayName="ButtonSpinner";function Dge(e){const[t,n]=w.useState(!e);return{ref:w.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}var as=Ae((e,t)=>{const n=Rge(),r=Ao("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:s,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:b="start",className:S,as:k,...E}=En(e),_=w.useMemo(()=>{const R={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:R}}},[r,n]),{ref:T,type:A}=Dge(k),I={rightIcon:u,leftIcon:l,iconSpacing:h,children:s};return N.createElement(Ce.button,{disabled:i||o,ref:rce(t,T),as:k,type:m??A,"data-active":wO(a),"data-loading":wO(o),__css:_,className:JS("chakra-button",S),...E},o&&b==="start"&&N.createElement(z7,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:h},v),o?d||N.createElement(Ce.span,{opacity:0},N.createElement(CO,{...I})):N.createElement(CO,{...I}),o&&b==="end"&&N.createElement(z7,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:h},v))});as.displayName="Button";function CO(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return N.createElement(N.Fragment,null,t&&N.createElement(F7,{marginEnd:i},t),r,n&&N.createElement(F7,{marginStart:i},n))}var oo=Ae(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:u,...d}=t,h=JS("chakra-button__group",a),m=w.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:u}),[r,i,o,u]);let v={display:"inline-flex"};return l?v={...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:v={...v,"& > *:not(style) ~ *:not(style)":{marginStart:s}},N.createElement(Ige,{value:m},N.createElement(Ce.div,{ref:n,role:"group",__css:v,className:h,"data-attached":l?"":void 0,...d}))});oo.displayName="ButtonGroup";var ss=Ae((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,s=n||r,l=w.isValidElement(s)?w.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return N.createElement(as,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a},l)});ss.displayName="IconButton";var y0=(...e)=>e.filter(Boolean).join(" "),J3=e=>e?"":void 0,_6=e=>e?!0:void 0;function _O(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[Nge,X$]=Mn({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[jge,b0]=Mn({strict:!1,name:"FormControlContext"});function Bge(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,s=w.useId(),l=t||`field-${s}`,u=`${l}-label`,d=`${l}-feedback`,h=`${l}-helptext`,[m,v]=w.useState(!1),[b,S]=w.useState(!1),[k,E]=w.useState(!1),_=w.useCallback((D={},j=null)=>({id:h,...D,ref:Yn(j,z=>{z&&S(!0)})}),[h]),T=w.useCallback((D={},j=null)=>({...D,ref:j,"data-focus":J3(k),"data-disabled":J3(i),"data-invalid":J3(r),"data-readonly":J3(o),id:D.id??u,htmlFor:D.htmlFor??l}),[l,i,k,r,o,u]),A=w.useCallback((D={},j=null)=>({id:d,...D,ref:Yn(j,z=>{z&&v(!0)}),"aria-live":"polite"}),[d]),I=w.useCallback((D={},j=null)=>({...D,...a,ref:j,role:"group"}),[a]),R=w.useCallback((D={},j=null)=>({...D,ref:j,role:"presentation","aria-hidden":!0,children:D.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!k,onFocus:()=>E(!0),onBlur:()=>E(!1),hasFeedbackText:m,setHasFeedbackText:v,hasHelpText:b,setHasHelpText:S,id:l,labelId:u,feedbackId:d,helpTextId:h,htmlProps:a,getHelpTextProps:_,getErrorMessageProps:A,getRootProps:I,getLabelProps:T,getRequiredIndicatorProps:R}}var dn=Ae(function(t,n){const r=Yi("Form",t),i=En(t),{getRootProps:o,htmlProps:a,...s}=Bge(i),l=y0("chakra-form-control",t.className);return N.createElement(jge,{value:s},N.createElement(Nge,{value:r},N.createElement(Ce.div,{...o({},n),className:l,__css:r.container})))});dn.displayName="FormControl";var lr=Ae(function(t,n){const r=b0(),i=X$(),o=y0("chakra-form__helper-text",t.className);return N.createElement(Ce.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});lr.displayName="FormHelperText";function sk(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=lk(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":_6(n),"aria-required":_6(i),"aria-readonly":_6(r)}}function lk(e){const t=b0(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:u,onFocus:d,onBlur:h,...m}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&v.push(t.feedbackId),t!=null&&t.hasHelpText&&v.push(t.helpTextId),{...m,"aria-describedby":v.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??u??(t==null?void 0:t.isDisabled),isReadOnly:i??l??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:_O(t==null?void 0:t.onFocus,d),onBlur:_O(t==null?void 0:t.onBlur,h)}}var[$ge,Fge]=Mn({name:"FormErrorStylesContext",errorMessage:`useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),ur=Ae((e,t)=>{const n=Yi("FormError",e),r=En(e),i=b0();return i!=null&&i.isInvalid?N.createElement($ge,{value:n},N.createElement(Ce.div,{...i==null?void 0:i.getErrorMessageProps(r,t),className:y0("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})):null});ur.displayName="FormErrorMessage";var zge=Ae((e,t)=>{const n=Fge(),r=b0();if(!(r!=null&&r.isInvalid))return null;const i=y0("chakra-form__error-icon",e.className);return N.createElement(Da,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:i},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))});zge.displayName="FormErrorIcon";var kn=Ae(function(t,n){const r=Ao("FormLabel",t),i=En(t),{className:o,children:a,requiredIndicator:s=N.createElement(Z$,null),optionalIndicator:l=null,...u}=i,d=b0(),h=(d==null?void 0:d.getLabelProps(u,n))??{ref:n,...u};return N.createElement(Ce.label,{...h,className:y0("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r}},a,d!=null&&d.isRequired?s:l)});kn.displayName="FormLabel";var Z$=Ae(function(t,n){const r=b0(),i=X$();if(!(r!=null&&r.isRequired))return null;const o=y0("chakra-form__required-indicator",t.className);return N.createElement(Ce.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});Z$.displayName="RequiredIndicator";function Vd(e,t){const n=w.useRef(!1),r=w.useRef(!1);w.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),w.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}var uk={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Hge=Ce("span",{baseStyle:uk});Hge.displayName="VisuallyHidden";var Vge=Ce("input",{baseStyle:uk});Vge.displayName="VisuallyHiddenInput";var kO=!1,ex=null,Wm=!1,H7=new Set,Wge=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function Uge(e){return!(e.metaKey||!Wge&&e.altKey||e.ctrlKey)}function ck(e,t){H7.forEach(n=>n(e,t))}function EO(e){Wm=!0,Uge(e)&&(ex="keyboard",ck("keyboard",e))}function wg(e){ex="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wm=!0,ck("pointer",e))}function Gge(e){e.target===window||e.target===document||(Wm||(ex="keyboard",ck("keyboard",e)),Wm=!1)}function qge(){Wm=!1}function PO(){return ex!=="pointer"}function Yge(){if(typeof window>"u"||kO)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){Wm=!0,e.apply(this,n)},document.addEventListener("keydown",EO,!0),document.addEventListener("keyup",EO,!0),window.addEventListener("focus",Gge,!0),window.addEventListener("blur",qge,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",wg,!0),document.addEventListener("pointermove",wg,!0),document.addEventListener("pointerup",wg,!0)):(document.addEventListener("mousedown",wg,!0),document.addEventListener("mousemove",wg,!0),document.addEventListener("mouseup",wg,!0)),kO=!0}function Kge(e){Yge(),e(PO());const t=()=>e(PO());return H7.add(t),()=>{H7.delete(t)}}var[ZFe,Xge]=Mn({name:"CheckboxGroupContext",strict:!1}),Zge=(...e)=>e.filter(Boolean).join(" "),bo=e=>e?"":void 0;function Ya(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function Qge(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}function Jge(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e},N.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function eme(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e},N.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function tme(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?eme:Jge;return n||t?N.createElement(Ce.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},N.createElement(i,{...r})):null}function nme(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Q$(e={}){const t=lk(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:s,onFocus:l,"aria-describedby":u}=t,{defaultChecked:d,isChecked:h,isFocusable:m,onChange:v,isIndeterminate:b,name:S,value:k,tabIndex:E=void 0,"aria-label":_,"aria-labelledby":T,"aria-invalid":A,...I}=e,R=nme(I,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),D=Er(v),j=Er(s),z=Er(l),[V,K]=w.useState(!1),[te,q]=w.useState(!1),[$,U]=w.useState(!1),[X,Z]=w.useState(!1);w.useEffect(()=>Kge(K),[]);const W=w.useRef(null),[Q,ie]=w.useState(!0),[fe,Se]=w.useState(!!d),Pe=h!==void 0,ye=Pe?h:fe,We=w.useCallback(Le=>{if(r||n){Le.preventDefault();return}Pe||Se(ye?Le.target.checked:b?!0:Le.target.checked),D==null||D(Le)},[r,n,ye,Pe,b,D]);Ws(()=>{W.current&&(W.current.indeterminate=Boolean(b))},[b]),Vd(()=>{n&&q(!1)},[n,q]),Ws(()=>{const Le=W.current;Le!=null&&Le.form&&(Le.form.onreset=()=>{Se(!!d)})},[]);const De=n&&!m,ot=w.useCallback(Le=>{Le.key===" "&&Z(!0)},[Z]),He=w.useCallback(Le=>{Le.key===" "&&Z(!1)},[Z]);Ws(()=>{if(!W.current)return;W.current.checked!==ye&&Se(W.current.checked)},[W.current]);const Be=w.useCallback((Le={},lt=null)=>{const Mt=ut=>{te&&ut.preventDefault(),Z(!0)};return{...Le,ref:lt,"data-active":bo(X),"data-hover":bo($),"data-checked":bo(ye),"data-focus":bo(te),"data-focus-visible":bo(te&&V),"data-indeterminate":bo(b),"data-disabled":bo(n),"data-invalid":bo(o),"data-readonly":bo(r),"aria-hidden":!0,onMouseDown:Ya(Le.onMouseDown,Mt),onMouseUp:Ya(Le.onMouseUp,()=>Z(!1)),onMouseEnter:Ya(Le.onMouseEnter,()=>U(!0)),onMouseLeave:Ya(Le.onMouseLeave,()=>U(!1))}},[X,ye,n,te,V,$,b,o,r]),wt=w.useCallback((Le={},lt=null)=>({...R,...Le,ref:Yn(lt,Mt=>{Mt&&ie(Mt.tagName==="LABEL")}),onClick:Ya(Le.onClick,()=>{var Mt;Q||((Mt=W.current)==null||Mt.click(),requestAnimationFrame(()=>{var ut;(ut=W.current)==null||ut.focus()}))}),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[R,n,ye,o,Q]),st=w.useCallback((Le={},lt=null)=>({...Le,ref:Yn(W,lt),type:"checkbox",name:S,value:k,id:a,tabIndex:E,onChange:Ya(Le.onChange,We),onBlur:Ya(Le.onBlur,j,()=>q(!1)),onFocus:Ya(Le.onFocus,z,()=>q(!0)),onKeyDown:Ya(Le.onKeyDown,ot),onKeyUp:Ya(Le.onKeyUp,He),required:i,checked:ye,disabled:De,readOnly:r,"aria-label":_,"aria-labelledby":T,"aria-invalid":A?Boolean(A):o,"aria-describedby":u,"aria-disabled":n,style:uk}),[S,k,a,We,j,z,ot,He,i,ye,De,r,_,T,A,o,u,n,E]),mt=w.useCallback((Le={},lt=null)=>({...Le,ref:lt,onMouseDown:Ya(Le.onMouseDown,TO),onTouchStart:Ya(Le.onTouchStart,TO),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[ye,n,o]);return{state:{isInvalid:o,isFocused:te,isChecked:ye,isActive:X,isHovered:$,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:wt,getCheckboxProps:Be,getInputProps:st,getLabelProps:mt,htmlProps:R}}function TO(e){e.preventDefault(),e.stopPropagation()}var rme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},ime={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ome=tf({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),ame=tf({from:{opacity:0},to:{opacity:1}}),sme=tf({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),J$=Ae(function(t,n){const r=Xge(),i={...r,...t},o=Yi("Checkbox",i),a=En(t),{spacing:s="0.5rem",className:l,children:u,iconColor:d,iconSize:h,icon:m=N.createElement(tme,null),isChecked:v,isDisabled:b=r==null?void 0:r.isDisabled,onChange:S,inputProps:k,...E}=a;let _=v;r!=null&&r.value&&a.value&&(_=r.value.includes(a.value));let T=S;r!=null&&r.onChange&&a.value&&(T=Qge(r.onChange,S));const{state:A,getInputProps:I,getCheckboxProps:R,getLabelProps:D,getRootProps:j}=Q$({...E,isDisabled:b,isChecked:_,onChange:T}),z=w.useMemo(()=>({animation:A.isIndeterminate?`${ame} 20ms linear, ${sme} 200ms linear`:`${ome} 200ms linear`,fontSize:h,color:d,...o.icon}),[d,h,,A.isIndeterminate,o.icon]),V=w.cloneElement(m,{__css:z,isIndeterminate:A.isIndeterminate,isChecked:A.isChecked});return N.createElement(Ce.label,{__css:{...ime,...o.container},className:Zge("chakra-checkbox",l),...j()},N.createElement("input",{className:"chakra-checkbox__input",...I(k,n)}),N.createElement(Ce.span,{__css:{...rme,...o.control},className:"chakra-checkbox__control",...R()},V),u&&N.createElement(Ce.span,{className:"chakra-checkbox__label",...D(),__css:{marginStart:s,...o.label}},u))});J$.displayName="Checkbox";function lme(e){return N.createElement(Da,{focusable:"false","aria-hidden":!0,...e},N.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}var tx=Ae(function(t,n){const r=Ao("CloseButton",t),{children:i,isDisabled:o,__css:a,...s}=En(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return N.createElement(Ce.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...l,...r,...a},...s},i||N.createElement(lme,{width:"1em",height:"1em"}))});tx.displayName="CloseButton";function ume(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function dk(e,t){let n=ume(e);const r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function V7(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function u5(e,t,n){return(e-t)*100/(n-t)}function eF(e,t,n){return(n-t)*e+t}function W7(e,t,n){const r=Math.round((e-t)/n)*n+t,i=V7(n);return dk(r,i)}function Cm(e,t,n){return e==null?e:(nr==null?"":k6(r,o,n)??""),m=typeof i<"u",v=m?i:d,b=tF(dd(v),o),S=n??b,k=w.useCallback(V=>{V!==v&&(m||h(V.toString()),u==null||u(V.toString(),dd(V)))},[u,m,v]),E=w.useCallback(V=>{let K=V;return l&&(K=Cm(K,a,s)),dk(K,S)},[S,l,s,a]),_=w.useCallback((V=o)=>{let K;v===""?K=dd(V):K=dd(v)+V,K=E(K),k(K)},[E,o,k,v]),T=w.useCallback((V=o)=>{let K;v===""?K=dd(-V):K=dd(v)-V,K=E(K),k(K)},[E,o,k,v]),A=w.useCallback(()=>{let V;r==null?V="":V=k6(r,o,n)??a,k(V)},[r,n,o,k,a]),I=w.useCallback(V=>{const K=k6(V,o,S)??a;k(K)},[S,o,k,a]),R=dd(v);return{isOutOfRange:R>s||Rt in e?uee(e,t,{enumerable:!0,con --chakra-vh: 100dvh; } } -`,cme=()=>N.createElement(MS,{styles:t$}),dme=()=>N.createElement(MS,{styles:` +`,dme=()=>N.createElement(IS,{styles:nF}),fme=()=>N.createElement(IS,{styles:` html { line-height: 1.5; -webkit-text-size-adjust: 100%; @@ -343,8 +343,8 @@ var uee=Object.defineProperty;var cee=(e,t,n)=>t in e?uee(e,t,{enumerable:!0,con display: none; } - ${t$} - `});function Rh(e,t,n,r){const i=Er(n);return w.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function fme(e){return"current"in e}var n$=()=>typeof window<"u";function hme(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var pme=e=>n$()&&e.test(navigator.vendor),gme=e=>n$()&&e.test(hme()),mme=()=>gme(/mac|iphone|ipad|ipod/i),vme=()=>mme()&&pme(/apple/i);function yme(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o;return((o=t.current)==null?void 0:o.ownerDocument)??document};Rh(i,"pointerdown",o=>{if(!vme()||!r)return;const a=o.target,l=(n??[t]).some(u=>{const d=fme(u)?u.current:u;return(d==null?void 0:d.contains(a))||d===a});i().activeElement!==a&&l&&(o.preventDefault(),a.focus())})}var bme=ure?w.useLayoutEffect:w.useEffect;function LO(e,t=[]){const n=w.useRef(e);return bme(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function Sme(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function xme(e,t){const n=w.useId();return w.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Wh(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=LO(n),a=LO(t),[s,l]=w.useState(e.defaultIsOpen||!1),[u,d]=Sme(r,s),h=xme(i,"disclosure"),m=w.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),v=w.useCallback(()=>{u||l(!0),o==null||o()},[u,o]),b=w.useCallback(()=>{(d?m:v)()},[d,v,m]);return{isOpen:!!d,onOpen:v,onClose:m,onToggle:b,isControlled:u,getButtonProps:(S={})=>({...S,"aria-expanded":d,"aria-controls":h,onClick:cre(S.onClick,b)}),getDisclosureProps:(S={})=>({...S,hidden:!d,id:h})}}function fk(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var hk=Oe(function(t,n){const{htmlSize:r,...i}=t,o=Yi("Input",i),a=En(i),s=sk(a),l=Qr("chakra-input",t.className);return N.createElement(Ce.input,{size:r,...s,__css:o.field,ref:n,className:l})});hk.displayName="Input";hk.id="Input";var[wme,r$]=Mn({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Cme=Oe(function(t,n){const r=Yi("Input",t),{children:i,className:o,...a}=En(t),s=Qr("chakra-input__group",o),l={},u=ZS(i),d=r.field;u.forEach(m=>{r&&(d&&m.type.id==="InputLeftElement"&&(l.paddingStart=d.height??d.h),d&&m.type.id==="InputRightElement"&&(l.paddingEnd=d.height??d.h),m.type.id==="InputRightAddon"&&(l.borderEndRadius=0),m.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const h=u.map(m=>{var v,b;const S=fk({size:((v=m.props)==null?void 0:v.size)||t.size,variant:((b=m.props)==null?void 0:b.variant)||t.variant});return m.type.id!=="Input"?w.cloneElement(m,S):w.cloneElement(m,Object.assign(S,l,m.props))});return N.createElement(Ce.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative"},...a},N.createElement(wme,{value:r},h))});Cme.displayName="InputGroup";var _me={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},kme=Ce("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),pk=Oe(function(t,n){const{placement:r="left",...i}=t,o=_me[r]??{},a=r$();return N.createElement(kme,{ref:n,...i,__css:{...a.addon,...o}})});pk.displayName="InputAddon";var i$=Oe(function(t,n){return N.createElement(pk,{ref:n,placement:"left",...t,className:Qr("chakra-input__left-addon",t.className)})});i$.displayName="InputLeftAddon";i$.id="InputLeftAddon";var o$=Oe(function(t,n){return N.createElement(pk,{ref:n,placement:"right",...t,className:Qr("chakra-input__right-addon",t.className)})});o$.displayName="InputRightAddon";o$.id="InputRightAddon";var Eme=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),tx=Oe(function(t,n){const{placement:r="left",...i}=t,o=r$(),a=o.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...o.element};return N.createElement(Eme,{ref:n,__css:l,...i})});tx.id="InputElement";tx.displayName="InputElement";var a$=Oe(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__left-element",r);return N.createElement(tx,{ref:n,placement:"left",className:o,...i})});a$.id="InputLeftElement";a$.displayName="InputLeftElement";var s$=Oe(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__right-element",r);return N.createElement(tx,{ref:n,placement:"right",className:o,...i})});s$.id="InputRightElement";s$.displayName="InputRightElement";function Pme(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Wd(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):Pme(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}var Tme=Oe(function(e,t){const{ratio:n=4/3,children:r,className:i,...o}=e,a=w.Children.only(r),s=Qr("chakra-aspect-ratio",i);return N.createElement(Ce.div,{ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:Wd(n,l=>`${1/l*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o},a)});Tme.displayName="AspectRatio";var Lme=Oe(function(t,n){const r=Ao("Badge",t),{className:i,...o}=En(t);return N.createElement(Ce.span,{ref:n,className:Qr("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});Lme.displayName="Badge";var _o=Ce("div");_o.displayName="Box";var l$=Oe(function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return N.createElement(_o,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})});l$.displayName="Square";var Ame=Oe(function(t,n){const{size:r,...i}=t;return N.createElement(l$,{size:r,ref:n,borderRadius:"9999px",...i})});Ame.displayName="Circle";var u$=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});u$.displayName="Center";var Ome={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};Oe(function(t,n){const{axis:r="both",...i}=t;return N.createElement(Ce.div,{ref:n,__css:Ome[r],...i,position:"absolute"})});var Mme=Oe(function(t,n){const r=Ao("Code",t),{className:i,...o}=En(t);return N.createElement(Ce.code,{ref:n,className:Qr("chakra-code",t.className),...o,__css:{display:"inline-block",...r}})});Mme.displayName="Code";var Ime=Oe(function(t,n){const{className:r,centerContent:i,...o}=En(t),a=Ao("Container",t);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});Ime.displayName="Container";var Rme=Oe(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:u,...d}=Ao("Divider",t),{className:h,orientation:m="horizontal",__css:v,...b}=En(t),S={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return N.createElement(Ce.hr,{ref:n,"aria-orientation":m,...b,__css:{...d,border:"0",borderColor:u,borderStyle:l,...S[m],...v},className:Qr("chakra-divider",h)})});Rme.displayName="Divider";var qe=Oe(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:s,grow:l,shrink:u,...d}=t,h={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:u};return N.createElement(Ce.div,{ref:n,__css:h,...d})});qe.displayName="Flex";var c$=Oe(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:s,row:l,autoFlow:u,autoRows:d,templateRows:h,autoColumns:m,templateColumns:v,...b}=t,S={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:m,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:h,gridTemplateColumns:v};return N.createElement(Ce.div,{ref:n,__css:S,...b})});c$.displayName="Grid";function AO(e){return Wd(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}var Dme=Oe(function(t,n){const{area:r,colSpan:i,colStart:o,colEnd:a,rowEnd:s,rowSpan:l,rowStart:u,...d}=t,h=fk({gridArea:r,gridColumn:AO(i),gridRow:AO(l),gridColumnStart:o,gridColumnEnd:a,gridRowStart:u,gridRowEnd:s});return N.createElement(Ce.div,{ref:n,__css:h,...d})});Dme.displayName="GridItem";var Dh=Oe(function(t,n){const r=Ao("Heading",t),{className:i,...o}=En(t);return N.createElement(Ce.h2,{ref:n,className:Qr("chakra-heading",t.className),...o,__css:r})});Dh.displayName="Heading";Oe(function(t,n){const r=Ao("Mark",t),i=En(t);return N.createElement(_o,{ref:n,...i,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...r}})});var Nme=Oe(function(t,n){const r=Ao("Kbd",t),{className:i,...o}=En(t);return N.createElement(Ce.kbd,{ref:n,className:Qr("chakra-kbd",i),...o,__css:{fontFamily:"mono",...r}})});Nme.displayName="Kbd";var Nh=Oe(function(t,n){const r=Ao("Link",t),{className:i,isExternal:o,...a}=En(t);return N.createElement(Ce.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Qr("chakra-link",i),...a,__css:r})});Nh.displayName="Link";Oe(function(t,n){const{isExternal:r,target:i,rel:o,className:a,...s}=t;return N.createElement(Ce.a,{...s,ref:n,className:Qr("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":o,target:r?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})});Oe(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.div,{ref:n,position:"relative",...i,className:Qr("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})});var[jme,d$]=Mn({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),gk=Oe(function(t,n){const r=Yi("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:s,...l}=En(t),u=ZS(i),h=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return N.createElement(jme,{value:r},N.createElement(Ce.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...h},...l},u))});gk.displayName="List";var Bme=Oe((e,t)=>{const{as:n,...r}=e;return N.createElement(gk,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});Bme.displayName="OrderedList";var Fme=Oe(function(t,n){const{as:r,...i}=t;return N.createElement(gk,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});Fme.displayName="UnorderedList";var $me=Oe(function(t,n){const r=d$();return N.createElement(Ce.li,{ref:n,...t,__css:r.item})});$me.displayName="ListItem";var zme=Oe(function(t,n){const r=d$();return N.createElement(Da,{ref:n,role:"presentation",...t,__css:r.icon})});zme.displayName="ListIcon";var Hme=Oe(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:s,...l}=t,u=h0(),d=s?Wme(s,u):Ume(r);return N.createElement(c$,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:d,...l})});Hme.displayName="SimpleGrid";function Vme(e){return typeof e=="number"?`${e}px`:e}function Wme(e,t){return Wd(e,n=>{const r=Uue("sizes",n,Vme(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function Ume(e){return Wd(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var f$=Ce("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});f$.displayName="Spacer";var W7="& > *:not(style) ~ *:not(style)";function Gme(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[W7]:Wd(n,i=>r[i])}}function qme(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Wd(n,i=>r[i])}}var h$=e=>N.createElement(Ce.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});h$.displayName="StackItem";var mk=Oe((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:s,children:l,divider:u,className:d,shouldWrapChildren:h,...m}=e,v=n?"row":r??"column",b=w.useMemo(()=>Gme({direction:v,spacing:a}),[v,a]),S=w.useMemo(()=>qme({spacing:a,direction:v}),[a,v]),k=!!u,E=!h&&!k,_=w.useMemo(()=>{const A=ZS(l);return E?A:A.map((I,R)=>{const D=typeof I.key<"u"?I.key:R,j=R+1===A.length,V=h?N.createElement(h$,{key:D},I):I;if(!k)return V;const K=w.cloneElement(u,{__css:S}),te=j?null:K;return N.createElement(w.Fragment,{key:D},V,te)})},[u,S,k,E,h,l]),T=Qr("chakra-stack",d);return N.createElement(Ce.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:b.flexDirection,flexWrap:s,className:T,__css:k?{}:{[W7]:b[W7]},...m},_)});mk.displayName="Stack";var wy=Oe((e,t)=>N.createElement(mk,{align:"center",...e,direction:"row",ref:t}));wy.displayName="HStack";var yn=Oe((e,t)=>N.createElement(mk,{align:"center",...e,direction:"column",ref:t}));yn.displayName="VStack";var fn=Oe(function(t,n){const r=Ao("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=En(t),u=fk({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return N.createElement(Ce.p,{ref:n,className:Qr("chakra-text",t.className),...u,...l,__css:r})});fn.displayName="Text";function OO(e){return typeof e=="number"?`${e}px`:e}var Yme=Oe(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:s,direction:l,align:u,className:d,shouldWrapChildren:h,...m}=t,v=w.useMemo(()=>{const{spacingX:S=r,spacingY:k=r}={spacingX:i,spacingY:o};return{"--chakra-wrap-x-spacing":E=>Wd(S,_=>OO(QC("space",_)(E))),"--chakra-wrap-y-spacing":E=>Wd(k,_=>OO(QC("space",_)(E))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:u,flexDirection:l,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[r,i,o,s,u,l]),b=w.useMemo(()=>h?w.Children.map(a,(S,k)=>N.createElement(p$,{key:k},S)):a,[a,h]);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-wrap",d),overflow:"hidden",...m},N.createElement(Ce.ul,{className:"chakra-wrap__list",__css:v},b))});Yme.displayName="Wrap";var p$=Oe(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Qr("chakra-wrap__listitem",r),...i})});p$.displayName="WrapItem";var Kme={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},g$=Kme,Cg=()=>{},Xme={document:g$,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Cg,removeEventListener:Cg,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:Cg,removeListener:Cg}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)},setTimeout:()=>0,clearTimeout:Cg,setInterval:()=>0,clearInterval:Cg},Zme=Xme,Qme={window:Zme,document:g$},m$=typeof window<"u"?{window,document}:Qme,v$=w.createContext(m$);v$.displayName="EnvironmentContext";function y$(e){const{children:t,environment:n}=e,[r,i]=w.useState(null),[o,a]=w.useState(!1);w.useEffect(()=>a(!0),[]);const s=w.useMemo(()=>{if(n)return n;const l=r==null?void 0:r.ownerDocument,u=r==null?void 0:r.ownerDocument.defaultView;return l?{document:l,window:u}:m$},[r,n]);return N.createElement(v$.Provider,{value:s},t,!n&&o&&N.createElement("span",{id:"__chakra_env",hidden:!0,ref:l=>{w.startTransition(()=>{l&&i(l)})}}))}y$.displayName="EnvironmentProvider";var Jme=e=>e?"":void 0;function e0e(){const e=w.useRef(new Map),t=e.current,n=w.useCallback((i,o,a,s)=>{e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),r=w.useCallback((i,o,a,s)=>{i.removeEventListener(o,a,s),e.current.delete(a)},[]);return w.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function k6(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function t0e(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:u,onKeyUp:d,tabIndex:h,onMouseOver:m,onMouseLeave:v,...b}=e,[S,k]=w.useState(!0),[E,_]=w.useState(!1),T=e0e(),A=Z=>{Z&&Z.tagName!=="BUTTON"&&k(!1)},I=S?h:h||0,R=n&&!r,D=w.useCallback(Z=>{if(n){Z.stopPropagation(),Z.preventDefault();return}Z.currentTarget.focus(),l==null||l(Z)},[n,l]),j=w.useCallback(Z=>{E&&k6(Z)&&(Z.preventDefault(),Z.stopPropagation(),_(!1),T.remove(document,"keyup",j,!1))},[E,T]),z=w.useCallback(Z=>{if(u==null||u(Z),n||Z.defaultPrevented||Z.metaKey||!k6(Z.nativeEvent)||S)return;const W=i&&Z.key==="Enter";o&&Z.key===" "&&(Z.preventDefault(),_(!0)),W&&(Z.preventDefault(),Z.currentTarget.click()),T.add(document,"keyup",j,!1)},[n,S,u,i,o,T,j]),V=w.useCallback(Z=>{if(d==null||d(Z),n||Z.defaultPrevented||Z.metaKey||!k6(Z.nativeEvent)||S)return;o&&Z.key===" "&&(Z.preventDefault(),_(!1),Z.currentTarget.click())},[o,S,n,d]),K=w.useCallback(Z=>{Z.button===0&&(_(!1),T.remove(document,"mouseup",K,!1))},[T]),te=w.useCallback(Z=>{if(Z.button!==0)return;if(n){Z.stopPropagation(),Z.preventDefault();return}S||_(!0),Z.currentTarget.focus({preventScroll:!0}),T.add(document,"mouseup",K,!1),a==null||a(Z)},[n,S,a,T,K]),q=w.useCallback(Z=>{Z.button===0&&(S||_(!1),s==null||s(Z))},[s,S]),F=w.useCallback(Z=>{if(n){Z.preventDefault();return}m==null||m(Z)},[n,m]),U=w.useCallback(Z=>{E&&(Z.preventDefault(),_(!1)),v==null||v(Z)},[E,v]),X=Yn(t,A);return S?{...b,ref:X,type:"button","aria-disabled":R?void 0:n,disabled:R,onClick:D,onMouseDown:a,onMouseUp:s,onKeyUp:d,onKeyDown:u,onMouseOver:m,onMouseLeave:v}:{...b,ref:X,role:"button","data-active":Jme(E),"aria-disabled":n?"true":void 0,tabIndex:R?void 0:I,onClick:D,onMouseDown:te,onMouseUp:q,onKeyUp:V,onKeyDown:z,onMouseOver:F,onMouseLeave:U}}function b$(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function S$(e){if(!b$(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function n0e(e){var t;return((t=x$(e))==null?void 0:t.defaultView)??window}function x$(e){return b$(e)?e.ownerDocument:document}function r0e(e){return x$(e).activeElement}var w$=e=>e.hasAttribute("tabindex"),i0e=e=>w$(e)&&e.tabIndex===-1;function o0e(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function C$(e){return e.parentElement&&C$(e.parentElement)?!0:e.hidden}function a0e(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function _$(e){if(!S$(e)||C$(e)||o0e(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():a0e(e)?!0:w$(e)}function s0e(e){return e?S$(e)&&_$(e)&&!i0e(e):!1}var l0e=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],u0e=l0e.join(),c0e=e=>e.offsetWidth>0&&e.offsetHeight>0;function k$(e){const t=Array.from(e.querySelectorAll(u0e));return t.unshift(e),t.filter(n=>_$(n)&&c0e(n))}function d0e(e){const t=e.current;if(!t)return!1;const n=r0e(t);return!n||t.contains(n)?!1:!!s0e(n)}function f0e(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;Vd(()=>{if(!o||d0e(e))return;const a=(i==null?void 0:i.current)||e.current;a&&requestAnimationFrame(()=>{a.focus()})},[o,e,i])}var h0e={preventScroll:!0,shouldFocus:!1};function p0e(e,t=h0e){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:o}=t,a=g0e(e)?e.current:e,s=i&&o,l=w.useRef(s),u=w.useRef(o);Ws(()=>{!u.current&&o&&(l.current=s),u.current=o},[o,s]);const d=w.useCallback(()=>{if(!(!o||!a||!l.current)&&(l.current=!1,!a.contains(document.activeElement)))if(n!=null&&n.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:r})});else{const h=k$(a);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:r})})}},[o,r,a,n]);Vd(()=>{d()},[d]),Rh(a,"transitionend",d)}function g0e(e){return"current"in e}var Zo="top",ls="bottom",us="right",Qo="left",vk="auto",Cy=[Zo,ls,us,Qo],Um="start",L2="end",m0e="clippingParents",E$="viewport",G1="popper",v0e="reference",MO=Cy.reduce(function(e,t){return e.concat([t+"-"+Um,t+"-"+L2])},[]),P$=[].concat(Cy,[vk]).reduce(function(e,t){return e.concat([t,t+"-"+Um,t+"-"+L2])},[]),y0e="beforeRead",b0e="read",S0e="afterRead",x0e="beforeMain",w0e="main",C0e="afterMain",_0e="beforeWrite",k0e="write",E0e="afterWrite",P0e=[y0e,b0e,S0e,x0e,w0e,C0e,_0e,k0e,E0e];function au(e){return e?(e.nodeName||"").toLowerCase():null}function hs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uh(e){var t=hs(e).Element;return e instanceof t||e instanceof Element}function is(e){var t=hs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yk(e){if(typeof ShadowRoot>"u")return!1;var t=hs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function T0e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!is(o)||!au(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function L0e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!is(i)||!au(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const A0e={name:"applyStyles",enabled:!0,phase:"write",fn:T0e,effect:L0e,requires:["computeStyles"]};function Zl(e){return e.split("-")[0]}var jh=Math.max,c5=Math.min,Gm=Math.round;function U7(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function T$(){return!/^((?!chrome|android).)*safari/i.test(U7())}function qm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&is(e)&&(i=e.offsetWidth>0&&Gm(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Gm(r.height)/e.offsetHeight||1);var a=Uh(e)?hs(e):window,s=a.visualViewport,l=!T$()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,h=r.width/i,m=r.height/o;return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function bk(e){var t=qm(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function L$(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ec(e){return hs(e).getComputedStyle(e)}function O0e(e){return["table","td","th"].indexOf(au(e))>=0}function rf(e){return((Uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function nx(e){return au(e)==="html"?e:e.assignedSlot||e.parentNode||(yk(e)?e.host:null)||rf(e)}function IO(e){return!is(e)||ec(e).position==="fixed"?null:e.offsetParent}function M0e(e){var t=/firefox/i.test(U7()),n=/Trident/i.test(U7());if(n&&is(e)){var r=ec(e);if(r.position==="fixed")return null}var i=nx(e);for(yk(i)&&(i=i.host);is(i)&&["html","body"].indexOf(au(i))<0;){var o=ec(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _y(e){for(var t=hs(e),n=IO(e);n&&O0e(n)&&ec(n).position==="static";)n=IO(n);return n&&(au(n)==="html"||au(n)==="body"&&ec(n).position==="static")?t:n||M0e(e)||t}function Sk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qv(e,t,n){return jh(e,c5(t,n))}function I0e(e,t,n){var r=qv(e,t,n);return r>n?n:r}function A$(){return{top:0,right:0,bottom:0,left:0}}function O$(e){return Object.assign({},A$(),e)}function M$(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var R0e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,O$(typeof t!="number"?t:M$(t,Cy))};function D0e(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Zl(n.placement),l=Sk(s),u=[Qo,us].indexOf(s)>=0,d=u?"height":"width";if(!(!o||!a)){var h=R0e(i.padding,n),m=bk(o),v=l==="y"?Zo:Qo,b=l==="y"?ls:us,S=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],k=a[l]-n.rects.reference[l],E=_y(o),_=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,T=S/2-k/2,A=h[v],I=_-m[d]-h[b],R=_/2-m[d]/2+T,D=qv(A,R,I),j=l;n.modifiersData[r]=(t={},t[j]=D,t.centerOffset=D-R,t)}}function N0e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||L$(t.elements.popper,i)&&(t.elements.arrow=i))}const j0e={name:"arrow",enabled:!0,phase:"main",fn:D0e,effect:N0e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ym(e){return e.split("-")[1]}var B0e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F0e(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Gm(t*i)/i||0,y:Gm(n*i)/i||0}}function RO(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,S=b===void 0?0:b,k=typeof d=="function"?d({x:v,y:S}):{x:v,y:S};v=k.x,S=k.y;var E=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),T=Qo,A=Zo,I=window;if(u){var R=_y(n),D="clientHeight",j="clientWidth";if(R===hs(n)&&(R=rf(n),ec(R).position!=="static"&&s==="absolute"&&(D="scrollHeight",j="scrollWidth")),R=R,i===Zo||(i===Qo||i===us)&&o===L2){A=ls;var z=h&&R===I&&I.visualViewport?I.visualViewport.height:R[D];S-=z-r.height,S*=l?1:-1}if(i===Qo||(i===Zo||i===ls)&&o===L2){T=us;var V=h&&R===I&&I.visualViewport?I.visualViewport.width:R[j];v-=V-r.width,v*=l?1:-1}}var K=Object.assign({position:s},u&&B0e),te=d===!0?F0e({x:v,y:S}):{x:v,y:S};if(v=te.x,S=te.y,l){var q;return Object.assign({},K,(q={},q[A]=_?"0":"",q[T]=E?"0":"",q.transform=(I.devicePixelRatio||1)<=1?"translate("+v+"px, "+S+"px)":"translate3d("+v+"px, "+S+"px, 0)",q))}return Object.assign({},K,(t={},t[A]=_?S+"px":"",t[T]=E?v+"px":"",t.transform="",t))}function $0e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Zl(t.placement),variation:Ym(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,RO(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,RO(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const z0e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$0e,data:{}};var eb={passive:!0};function H0e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=hs(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,eb)}),s&&l.addEventListener("resize",n.update,eb),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,eb)}),s&&l.removeEventListener("resize",n.update,eb)}}const V0e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:H0e,data:{}};var W0e={left:"right",right:"left",bottom:"top",top:"bottom"};function h4(e){return e.replace(/left|right|bottom|top/g,function(t){return W0e[t]})}var U0e={start:"end",end:"start"};function DO(e){return e.replace(/start|end/g,function(t){return U0e[t]})}function xk(e){var t=hs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wk(e){return qm(rf(e)).left+xk(e).scrollLeft}function G0e(e,t){var n=hs(e),r=rf(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=T$();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+wk(e),y:l}}function q0e(e){var t,n=rf(e),r=xk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=jh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=jh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+wk(e),l=-r.scrollTop;return ec(i||n).direction==="rtl"&&(s+=jh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ck(e){var t=ec(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function I$(e){return["html","body","#document"].indexOf(au(e))>=0?e.ownerDocument.body:is(e)&&Ck(e)?e:I$(nx(e))}function Yv(e,t){var n;t===void 0&&(t=[]);var r=I$(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=hs(r),a=i?[o].concat(o.visualViewport||[],Ck(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Yv(nx(a)))}function G7(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Y0e(e,t){var n=qm(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function NO(e,t,n){return t===E$?G7(G0e(e,n)):Uh(t)?Y0e(t,n):G7(q0e(rf(e)))}function K0e(e){var t=Yv(nx(e)),n=["absolute","fixed"].indexOf(ec(e).position)>=0,r=n&&is(e)?_y(e):e;return Uh(r)?t.filter(function(i){return Uh(i)&&L$(i,r)&&au(i)!=="body"}):[]}function X0e(e,t,n,r){var i=t==="clippingParents"?K0e(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var d=NO(e,u,r);return l.top=jh(d.top,l.top),l.right=c5(d.right,l.right),l.bottom=c5(d.bottom,l.bottom),l.left=jh(d.left,l.left),l},NO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function R$(e){var t=e.reference,n=e.element,r=e.placement,i=r?Zl(r):null,o=r?Ym(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Zo:l={x:a,y:t.y-n.height};break;case ls:l={x:a,y:t.y+t.height};break;case us:l={x:t.x+t.width,y:s};break;case Qo:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?Sk(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case Um:l[u]=l[u]-(t[d]/2-n[d]/2);break;case L2:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function A2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?m0e:s,u=n.rootBoundary,d=u===void 0?E$:u,h=n.elementContext,m=h===void 0?G1:h,v=n.altBoundary,b=v===void 0?!1:v,S=n.padding,k=S===void 0?0:S,E=O$(typeof k!="number"?k:M$(k,Cy)),_=m===G1?v0e:G1,T=e.rects.popper,A=e.elements[b?_:m],I=X0e(Uh(A)?A:A.contextElement||rf(e.elements.popper),l,d,a),R=qm(e.elements.reference),D=R$({reference:R,element:T,strategy:"absolute",placement:i}),j=G7(Object.assign({},T,D)),z=m===G1?j:R,V={top:I.top-z.top+E.top,bottom:z.bottom-I.bottom+E.bottom,left:I.left-z.left+E.left,right:z.right-I.right+E.right},K=e.modifiersData.offset;if(m===G1&&K){var te=K[i];Object.keys(V).forEach(function(q){var F=[us,ls].indexOf(q)>=0?1:-1,U=[Zo,ls].indexOf(q)>=0?"y":"x";V[q]+=te[U]*F})}return V}function Z0e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?P$:l,d=Ym(r),h=d?s?MO:MO.filter(function(b){return Ym(b)===d}):Cy,m=h.filter(function(b){return u.indexOf(b)>=0});m.length===0&&(m=h);var v=m.reduce(function(b,S){return b[S]=A2(e,{placement:S,boundary:i,rootBoundary:o,padding:a})[Zl(S)],b},{});return Object.keys(v).sort(function(b,S){return v[b]-v[S]})}function Q0e(e){if(Zl(e)===vk)return[];var t=h4(e);return[DO(e),t,DO(t)]}function J0e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,S=n.allowedAutoPlacements,k=t.options.placement,E=Zl(k),_=E===k,T=l||(_||!b?[h4(k)]:Q0e(k)),A=[k].concat(T).reduce(function(ye,He){return ye.concat(Zl(He)===vk?Z0e(t,{placement:He,boundary:d,rootBoundary:h,padding:u,flipVariations:b,allowedAutoPlacements:S}):He)},[]),I=t.rects.reference,R=t.rects.popper,D=new Map,j=!0,z=A[0],V=0;V=0,U=F?"width":"height",X=A2(t,{placement:K,boundary:d,rootBoundary:h,altBoundary:m,padding:u}),Z=F?q?us:Qo:q?ls:Zo;I[U]>R[U]&&(Z=h4(Z));var W=h4(Z),Q=[];if(o&&Q.push(X[te]<=0),s&&Q.push(X[Z]<=0,X[W]<=0),Q.every(function(ye){return ye})){z=K,j=!1;break}D.set(K,Q)}if(j)for(var ie=b?3:1,fe=function(He){var Ne=A.find(function(tt){var _e=D.get(tt);if(_e)return _e.slice(0,He).every(function(lt){return lt})});if(Ne)return z=Ne,"break"},Se=ie;Se>0;Se--){var Te=fe(Se);if(Te==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const e1e={name:"flip",enabled:!0,phase:"main",fn:J0e,requiresIfExists:["offset"],data:{_skip:!1}};function jO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function BO(e){return[Zo,us,ls,Qo].some(function(t){return e[t]>=0})}function t1e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=A2(t,{elementContext:"reference"}),s=A2(t,{altBoundary:!0}),l=jO(a,r),u=jO(s,i,o),d=BO(l),h=BO(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const n1e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:t1e};function r1e(e,t,n){var r=Zl(e),i=[Qo,Zo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Qo,us].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function i1e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=P$.reduce(function(d,h){return d[h]=r1e(h,t.rects,o),d},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const o1e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:i1e};function a1e(e){var t=e.state,n=e.name;t.modifiersData[n]=R$({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const s1e={name:"popperOffsets",enabled:!0,phase:"read",fn:a1e,data:{}};function l1e(e){return e==="x"?"y":"x"}function u1e(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,S=b===void 0?0:b,k=A2(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:d}),E=Zl(t.placement),_=Ym(t.placement),T=!_,A=Sk(E),I=l1e(A),R=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,z=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,V=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,te={x:0,y:0};if(R){if(o){var q,F=A==="y"?Zo:Qo,U=A==="y"?ls:us,X=A==="y"?"height":"width",Z=R[A],W=Z+k[F],Q=Z-k[U],ie=v?-j[X]/2:0,fe=_===Um?D[X]:j[X],Se=_===Um?-j[X]:-D[X],Te=t.elements.arrow,ye=v&&Te?bk(Te):{width:0,height:0},He=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:A$(),Ne=He[F],tt=He[U],_e=qv(0,D[X],ye[X]),lt=T?D[X]/2-ie-_e-Ne-V.mainAxis:fe-_e-Ne-V.mainAxis,wt=T?-D[X]/2+ie+_e+tt+V.mainAxis:Se+_e+tt+V.mainAxis,ct=t.elements.arrow&&_y(t.elements.arrow),mt=ct?A==="y"?ct.clientTop||0:ct.clientLeft||0:0,St=(q=K==null?void 0:K[A])!=null?q:0,Ae=Z+lt-St-mt,ut=Z+wt-St,Mt=qv(v?c5(W,Ae):W,Z,v?jh(Q,ut):Q);R[A]=Mt,te[A]=Mt-Z}if(s){var at,Ct=A==="x"?Zo:Qo,Zt=A==="x"?ls:us,le=R[I],De=I==="y"?"height":"width",Ue=le+k[Ct],Ye=le-k[Zt],we=[Zo,Qo].indexOf(E)!==-1,je=(at=K==null?void 0:K[I])!=null?at:0,_t=we?Ue:le-D[De]-j[De]-je+V.altAxis,Dt=we?le+D[De]+j[De]-je-V.altAxis:Ye,Le=v&&we?I0e(_t,le,Dt):qv(v?_t:Ue,le,v?Dt:Ye);R[I]=Le,te[I]=Le-le}t.modifiersData[r]=te}}const c1e={name:"preventOverflow",enabled:!0,phase:"main",fn:u1e,requiresIfExists:["offset"]};function d1e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function f1e(e){return e===hs(e)||!is(e)?xk(e):d1e(e)}function h1e(e){var t=e.getBoundingClientRect(),n=Gm(t.width)/e.offsetWidth||1,r=Gm(t.height)/e.offsetHeight||1;return n!==1||r!==1}function p1e(e,t,n){n===void 0&&(n=!1);var r=is(t),i=is(t)&&h1e(t),o=rf(t),a=qm(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((au(t)!=="body"||Ck(o))&&(s=f1e(t)),is(t)?(l=qm(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=wk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function g1e(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function m1e(e){var t=g1e(e);return P0e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function v1e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function y1e(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var FO={placement:"bottom",modifiers:[],strategy:"absolute"};function $O(){for(var e=arguments.length,t=new Array(e),n=0;n({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),oi={arrowShadowColor:_g("--popper-arrow-shadow-color"),arrowSize:_g("--popper-arrow-size","8px"),arrowSizeHalf:_g("--popper-arrow-size-half"),arrowBg:_g("--popper-arrow-bg"),transformOrigin:_g("--popper-transform-origin"),arrowOffset:_g("--popper-arrow-offset")};function w1e(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var C1e={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},_1e=e=>C1e[e],zO={scroll:!0,resize:!0};function k1e(e){let t;return typeof e=="object"?t={enabled:!0,options:{...zO,...e}}:t={enabled:e,options:zO},t}var E1e={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},P1e={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{HO(e)},effect:({state:e})=>()=>{HO(e)}},HO=e=>{e.elements.popper.style.setProperty(oi.transformOrigin.var,_1e(e.placement))},T1e={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{L1e(e)}},L1e=e=>{var t;if(!e.placement)return;const n=A1e(e.placement);if((t=e.elements)!=null&&t.arrow&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:oi.arrowSize.varRef,height:oi.arrowSize.varRef,zIndex:-1});const r={[oi.arrowSizeHalf.var]:`calc(${oi.arrowSize.varRef} / 2)`,[oi.arrowOffset.var]:`calc(${oi.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},A1e=e=>{if(e.startsWith("top"))return{property:"bottom",value:oi.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:oi.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:oi.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:oi.arrowOffset.varRef}},O1e={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{VO(e)},effect:({state:e})=>()=>{VO(e)}},VO=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");t&&Object.assign(t.style,{transform:"rotate(45deg)",background:oi.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:w1e(e.placement)})},M1e={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},I1e={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function R1e(e,t="ltr"){var n;const r=((n=M1e[e])==null?void 0:n[t])||e;return t==="ltr"?r:I1e[e]??r}function D$(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:h=!0,matchWidth:m,direction:v="ltr"}=e,b=w.useRef(null),S=w.useRef(null),k=w.useRef(null),E=R1e(r,v),_=w.useRef(()=>{}),T=w.useCallback(()=>{var V;!t||!b.current||!S.current||((V=_.current)==null||V.call(_),k.current=x1e(b.current,S.current,{placement:E,modifiers:[O1e,T1e,P1e,{...E1e,enabled:!!m},{name:"eventListeners",...k1e(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:d}},...n??[]],strategy:i}),k.current.forceUpdate(),_.current=k.current.destroy)},[E,t,n,m,a,o,s,l,u,h,d,i]);w.useEffect(()=>()=>{var V;!b.current&&!S.current&&((V=k.current)==null||V.destroy(),k.current=null)},[]);const A=w.useCallback(V=>{b.current=V,T()},[T]),I=w.useCallback((V={},K=null)=>({...V,ref:Yn(A,K)}),[A]),R=w.useCallback(V=>{S.current=V,T()},[T]),D=w.useCallback((V={},K=null)=>({...V,ref:Yn(R,K),style:{...V.style,position:i,minWidth:m?void 0:"max-content",inset:"0 auto auto 0"}}),[i,R,m]),j=w.useCallback((V={},K=null)=>{const{size:te,shadowColor:q,bg:F,style:U,...X}=V;return{...X,ref:K,"data-popper-arrow":"",style:D1e(V)}},[]),z=w.useCallback((V={},K=null)=>({...V,ref:K,"data-popper-arrow-inner":""}),[]);return{update(){var V;(V=k.current)==null||V.update()},forceUpdate(){var V;(V=k.current)==null||V.forceUpdate()},transformOrigin:oi.transformOrigin.varRef,referenceRef:A,popperRef:R,getPopperProps:D,getArrowProps:j,getArrowInnerProps:z,getReferenceProps:I}}function D1e(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function N$(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=Er(n),a=Er(t),[s,l]=w.useState(e.defaultIsOpen||!1),u=r!==void 0?r:s,d=r!==void 0,h=w.useId(),m=i??`disclosure-${h}`,v=w.useCallback(()=>{d||l(!1),a==null||a()},[d,a]),b=w.useCallback(()=>{d||l(!0),o==null||o()},[d,o]),S=w.useCallback(()=>{u?v():b()},[u,b,v]);function k(_={}){return{..._,"aria-expanded":u,"aria-controls":m,onClick(T){var A;(A=_.onClick)==null||A.call(_,T),S()}}}function E(_={}){return{..._,hidden:!u,id:m}}return{isOpen:u,onOpen:b,onClose:v,onToggle:S,isControlled:d,getButtonProps:k,getDisclosureProps:E}}function N1e(e){const{isOpen:t,ref:n}=e,[r,i]=w.useState(t),[o,a]=w.useState(!1);return w.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),Rh(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var l;const u=n0e(n.current),d=new u.CustomEvent("animationend",{bubbles:!0});(l=n.current)==null||l.dispatchEvent(d)}}}function j$(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}var Qs={},j1e={get exports(){return Qs},set exports(e){Qs=e}},Na={},Bh={},B1e={get exports(){return Bh},set exports(e){Bh=e}},B$={};/** + ${nF} + `});function Rh(e,t,n,r){const i=Er(n);return w.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function hme(e){return"current"in e}var rF=()=>typeof window<"u";function pme(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var gme=e=>rF()&&e.test(navigator.vendor),mme=e=>rF()&&e.test(pme()),vme=()=>mme(/mac|iphone|ipad|ipod/i),yme=()=>vme()&&gme(/apple/i);function bme(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o;return((o=t.current)==null?void 0:o.ownerDocument)??document};Rh(i,"pointerdown",o=>{if(!yme()||!r)return;const a=o.target,l=(n??[t]).some(u=>{const d=hme(u)?u.current:u;return(d==null?void 0:d.contains(a))||d===a});i().activeElement!==a&&l&&(o.preventDefault(),a.focus())})}var Sme=cre?w.useLayoutEffect:w.useEffect;function LO(e,t=[]){const n=w.useRef(e);return Sme(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function xme(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function wme(e,t){const n=w.useId();return w.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Wh(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=LO(n),a=LO(t),[s,l]=w.useState(e.defaultIsOpen||!1),[u,d]=xme(r,s),h=wme(i,"disclosure"),m=w.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),v=w.useCallback(()=>{u||l(!0),o==null||o()},[u,o]),b=w.useCallback(()=>{(d?m:v)()},[d,v,m]);return{isOpen:!!d,onOpen:v,onClose:m,onToggle:b,isControlled:u,getButtonProps:(S={})=>({...S,"aria-expanded":d,"aria-controls":h,onClick:dre(S.onClick,b)}),getDisclosureProps:(S={})=>({...S,hidden:!d,id:h})}}function fk(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var hk=Ae(function(t,n){const{htmlSize:r,...i}=t,o=Yi("Input",i),a=En(i),s=sk(a),l=Qr("chakra-input",t.className);return N.createElement(Ce.input,{size:r,...s,__css:o.field,ref:n,className:l})});hk.displayName="Input";hk.id="Input";var[Cme,iF]=Mn({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),_me=Ae(function(t,n){const r=Yi("Input",t),{children:i,className:o,...a}=En(t),s=Qr("chakra-input__group",o),l={},u=QS(i),d=r.field;u.forEach(m=>{r&&(d&&m.type.id==="InputLeftElement"&&(l.paddingStart=d.height??d.h),d&&m.type.id==="InputRightElement"&&(l.paddingEnd=d.height??d.h),m.type.id==="InputRightAddon"&&(l.borderEndRadius=0),m.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const h=u.map(m=>{var v,b;const S=fk({size:((v=m.props)==null?void 0:v.size)||t.size,variant:((b=m.props)==null?void 0:b.variant)||t.variant});return m.type.id!=="Input"?w.cloneElement(m,S):w.cloneElement(m,Object.assign(S,l,m.props))});return N.createElement(Ce.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative"},...a},N.createElement(Cme,{value:r},h))});_me.displayName="InputGroup";var kme={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},Eme=Ce("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),pk=Ae(function(t,n){const{placement:r="left",...i}=t,o=kme[r]??{},a=iF();return N.createElement(Eme,{ref:n,...i,__css:{...a.addon,...o}})});pk.displayName="InputAddon";var oF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"left",...t,className:Qr("chakra-input__left-addon",t.className)})});oF.displayName="InputLeftAddon";oF.id="InputLeftAddon";var aF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"right",...t,className:Qr("chakra-input__right-addon",t.className)})});aF.displayName="InputRightAddon";aF.id="InputRightAddon";var Pme=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),nx=Ae(function(t,n){const{placement:r="left",...i}=t,o=iF(),a=o.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...o.element};return N.createElement(Pme,{ref:n,__css:l,...i})});nx.id="InputElement";nx.displayName="InputElement";var sF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__left-element",r);return N.createElement(nx,{ref:n,placement:"left",className:o,...i})});sF.id="InputLeftElement";sF.displayName="InputLeftElement";var lF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__right-element",r);return N.createElement(nx,{ref:n,placement:"right",className:o,...i})});lF.id="InputRightElement";lF.displayName="InputRightElement";function Tme(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Wd(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):Tme(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}var Lme=Ae(function(e,t){const{ratio:n=4/3,children:r,className:i,...o}=e,a=w.Children.only(r),s=Qr("chakra-aspect-ratio",i);return N.createElement(Ce.div,{ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:Wd(n,l=>`${1/l*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o},a)});Lme.displayName="AspectRatio";var Ame=Ae(function(t,n){const r=Ao("Badge",t),{className:i,...o}=En(t);return N.createElement(Ce.span,{ref:n,className:Qr("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});Ame.displayName="Badge";var ko=Ce("div");ko.displayName="Box";var uF=Ae(function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return N.createElement(ko,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})});uF.displayName="Square";var Ome=Ae(function(t,n){const{size:r,...i}=t;return N.createElement(uF,{size:r,ref:n,borderRadius:"9999px",...i})});Ome.displayName="Circle";var cF=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});cF.displayName="Center";var Mme={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};Ae(function(t,n){const{axis:r="both",...i}=t;return N.createElement(Ce.div,{ref:n,__css:Mme[r],...i,position:"absolute"})});var Ime=Ae(function(t,n){const r=Ao("Code",t),{className:i,...o}=En(t);return N.createElement(Ce.code,{ref:n,className:Qr("chakra-code",t.className),...o,__css:{display:"inline-block",...r}})});Ime.displayName="Code";var Rme=Ae(function(t,n){const{className:r,centerContent:i,...o}=En(t),a=Ao("Container",t);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});Rme.displayName="Container";var Dme=Ae(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:u,...d}=Ao("Divider",t),{className:h,orientation:m="horizontal",__css:v,...b}=En(t),S={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return N.createElement(Ce.hr,{ref:n,"aria-orientation":m,...b,__css:{...d,border:"0",borderColor:u,borderStyle:l,...S[m],...v},className:Qr("chakra-divider",h)})});Dme.displayName="Divider";var Ge=Ae(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:s,grow:l,shrink:u,...d}=t,h={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:u};return N.createElement(Ce.div,{ref:n,__css:h,...d})});Ge.displayName="Flex";var dF=Ae(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:s,row:l,autoFlow:u,autoRows:d,templateRows:h,autoColumns:m,templateColumns:v,...b}=t,S={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:m,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:h,gridTemplateColumns:v};return N.createElement(Ce.div,{ref:n,__css:S,...b})});dF.displayName="Grid";function AO(e){return Wd(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}var Nme=Ae(function(t,n){const{area:r,colSpan:i,colStart:o,colEnd:a,rowEnd:s,rowSpan:l,rowStart:u,...d}=t,h=fk({gridArea:r,gridColumn:AO(i),gridRow:AO(l),gridColumnStart:o,gridColumnEnd:a,gridRowStart:u,gridRowEnd:s});return N.createElement(Ce.div,{ref:n,__css:h,...d})});Nme.displayName="GridItem";var Dh=Ae(function(t,n){const r=Ao("Heading",t),{className:i,...o}=En(t);return N.createElement(Ce.h2,{ref:n,className:Qr("chakra-heading",t.className),...o,__css:r})});Dh.displayName="Heading";Ae(function(t,n){const r=Ao("Mark",t),i=En(t);return N.createElement(ko,{ref:n,...i,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...r}})});var jme=Ae(function(t,n){const r=Ao("Kbd",t),{className:i,...o}=En(t);return N.createElement(Ce.kbd,{ref:n,className:Qr("chakra-kbd",i),...o,__css:{fontFamily:"mono",...r}})});jme.displayName="Kbd";var Nh=Ae(function(t,n){const r=Ao("Link",t),{className:i,isExternal:o,...a}=En(t);return N.createElement(Ce.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Qr("chakra-link",i),...a,__css:r})});Nh.displayName="Link";Ae(function(t,n){const{isExternal:r,target:i,rel:o,className:a,...s}=t;return N.createElement(Ce.a,{...s,ref:n,className:Qr("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":o,target:r?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})});Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.div,{ref:n,position:"relative",...i,className:Qr("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})});var[Bme,fF]=Mn({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),gk=Ae(function(t,n){const r=Yi("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:s,...l}=En(t),u=QS(i),h=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return N.createElement(Bme,{value:r},N.createElement(Ce.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...h},...l},u))});gk.displayName="List";var $me=Ae((e,t)=>{const{as:n,...r}=e;return N.createElement(gk,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});$me.displayName="OrderedList";var Fme=Ae(function(t,n){const{as:r,...i}=t;return N.createElement(gk,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});Fme.displayName="UnorderedList";var zme=Ae(function(t,n){const r=fF();return N.createElement(Ce.li,{ref:n,...t,__css:r.item})});zme.displayName="ListItem";var Hme=Ae(function(t,n){const r=fF();return N.createElement(Da,{ref:n,role:"presentation",...t,__css:r.icon})});Hme.displayName="ListIcon";var Vme=Ae(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:s,...l}=t,u=h0(),d=s?Ume(s,u):Gme(r);return N.createElement(dF,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:d,...l})});Vme.displayName="SimpleGrid";function Wme(e){return typeof e=="number"?`${e}px`:e}function Ume(e,t){return Wd(e,n=>{const r=Gue("sizes",n,Wme(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function Gme(e){return Wd(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var hF=Ce("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});hF.displayName="Spacer";var U7="& > *:not(style) ~ *:not(style)";function qme(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[U7]:Wd(n,i=>r[i])}}function Yme(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Wd(n,i=>r[i])}}var pF=e=>N.createElement(Ce.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});pF.displayName="StackItem";var mk=Ae((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:s,children:l,divider:u,className:d,shouldWrapChildren:h,...m}=e,v=n?"row":r??"column",b=w.useMemo(()=>qme({direction:v,spacing:a}),[v,a]),S=w.useMemo(()=>Yme({spacing:a,direction:v}),[a,v]),k=!!u,E=!h&&!k,_=w.useMemo(()=>{const A=QS(l);return E?A:A.map((I,R)=>{const D=typeof I.key<"u"?I.key:R,j=R+1===A.length,V=h?N.createElement(pF,{key:D},I):I;if(!k)return V;const K=w.cloneElement(u,{__css:S}),te=j?null:K;return N.createElement(w.Fragment,{key:D},V,te)})},[u,S,k,E,h,l]),T=Qr("chakra-stack",d);return N.createElement(Ce.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:b.flexDirection,flexWrap:s,className:T,__css:k?{}:{[U7]:b[U7]},...m},_)});mk.displayName="Stack";var wy=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"row",ref:t}));wy.displayName="HStack";var yn=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"column",ref:t}));yn.displayName="VStack";var fn=Ae(function(t,n){const r=Ao("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=En(t),u=fk({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return N.createElement(Ce.p,{ref:n,className:Qr("chakra-text",t.className),...u,...l,__css:r})});fn.displayName="Text";function OO(e){return typeof e=="number"?`${e}px`:e}var Kme=Ae(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:s,direction:l,align:u,className:d,shouldWrapChildren:h,...m}=t,v=w.useMemo(()=>{const{spacingX:S=r,spacingY:k=r}={spacingX:i,spacingY:o};return{"--chakra-wrap-x-spacing":E=>Wd(S,_=>OO(JC("space",_)(E))),"--chakra-wrap-y-spacing":E=>Wd(k,_=>OO(JC("space",_)(E))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:u,flexDirection:l,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[r,i,o,s,u,l]),b=w.useMemo(()=>h?w.Children.map(a,(S,k)=>N.createElement(gF,{key:k},S)):a,[a,h]);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-wrap",d),overflow:"hidden",...m},N.createElement(Ce.ul,{className:"chakra-wrap__list",__css:v},b))});Kme.displayName="Wrap";var gF=Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Qr("chakra-wrap__listitem",r),...i})});gF.displayName="WrapItem";var Xme={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},mF=Xme,Cg=()=>{},Zme={document:mF,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Cg,removeEventListener:Cg,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:Cg,removeListener:Cg}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)},setTimeout:()=>0,clearTimeout:Cg,setInterval:()=>0,clearInterval:Cg},Qme=Zme,Jme={window:Qme,document:mF},vF=typeof window<"u"?{window,document}:Jme,yF=w.createContext(vF);yF.displayName="EnvironmentContext";function bF(e){const{children:t,environment:n}=e,[r,i]=w.useState(null),[o,a]=w.useState(!1);w.useEffect(()=>a(!0),[]);const s=w.useMemo(()=>{if(n)return n;const l=r==null?void 0:r.ownerDocument,u=r==null?void 0:r.ownerDocument.defaultView;return l?{document:l,window:u}:vF},[r,n]);return N.createElement(yF.Provider,{value:s},t,!n&&o&&N.createElement("span",{id:"__chakra_env",hidden:!0,ref:l=>{w.startTransition(()=>{l&&i(l)})}}))}bF.displayName="EnvironmentProvider";var e0e=e=>e?"":void 0;function t0e(){const e=w.useRef(new Map),t=e.current,n=w.useCallback((i,o,a,s)=>{e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),r=w.useCallback((i,o,a,s)=>{i.removeEventListener(o,a,s),e.current.delete(a)},[]);return w.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function E6(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function n0e(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:u,onKeyUp:d,tabIndex:h,onMouseOver:m,onMouseLeave:v,...b}=e,[S,k]=w.useState(!0),[E,_]=w.useState(!1),T=t0e(),A=Z=>{Z&&Z.tagName!=="BUTTON"&&k(!1)},I=S?h:h||0,R=n&&!r,D=w.useCallback(Z=>{if(n){Z.stopPropagation(),Z.preventDefault();return}Z.currentTarget.focus(),l==null||l(Z)},[n,l]),j=w.useCallback(Z=>{E&&E6(Z)&&(Z.preventDefault(),Z.stopPropagation(),_(!1),T.remove(document,"keyup",j,!1))},[E,T]),z=w.useCallback(Z=>{if(u==null||u(Z),n||Z.defaultPrevented||Z.metaKey||!E6(Z.nativeEvent)||S)return;const W=i&&Z.key==="Enter";o&&Z.key===" "&&(Z.preventDefault(),_(!0)),W&&(Z.preventDefault(),Z.currentTarget.click()),T.add(document,"keyup",j,!1)},[n,S,u,i,o,T,j]),V=w.useCallback(Z=>{if(d==null||d(Z),n||Z.defaultPrevented||Z.metaKey||!E6(Z.nativeEvent)||S)return;o&&Z.key===" "&&(Z.preventDefault(),_(!1),Z.currentTarget.click())},[o,S,n,d]),K=w.useCallback(Z=>{Z.button===0&&(_(!1),T.remove(document,"mouseup",K,!1))},[T]),te=w.useCallback(Z=>{if(Z.button!==0)return;if(n){Z.stopPropagation(),Z.preventDefault();return}S||_(!0),Z.currentTarget.focus({preventScroll:!0}),T.add(document,"mouseup",K,!1),a==null||a(Z)},[n,S,a,T,K]),q=w.useCallback(Z=>{Z.button===0&&(S||_(!1),s==null||s(Z))},[s,S]),$=w.useCallback(Z=>{if(n){Z.preventDefault();return}m==null||m(Z)},[n,m]),U=w.useCallback(Z=>{E&&(Z.preventDefault(),_(!1)),v==null||v(Z)},[E,v]),X=Yn(t,A);return S?{...b,ref:X,type:"button","aria-disabled":R?void 0:n,disabled:R,onClick:D,onMouseDown:a,onMouseUp:s,onKeyUp:d,onKeyDown:u,onMouseOver:m,onMouseLeave:v}:{...b,ref:X,role:"button","data-active":e0e(E),"aria-disabled":n?"true":void 0,tabIndex:R?void 0:I,onClick:D,onMouseDown:te,onMouseUp:q,onKeyUp:V,onKeyDown:z,onMouseOver:$,onMouseLeave:U}}function SF(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function xF(e){if(!SF(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function r0e(e){var t;return((t=wF(e))==null?void 0:t.defaultView)??window}function wF(e){return SF(e)?e.ownerDocument:document}function i0e(e){return wF(e).activeElement}var CF=e=>e.hasAttribute("tabindex"),o0e=e=>CF(e)&&e.tabIndex===-1;function a0e(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function _F(e){return e.parentElement&&_F(e.parentElement)?!0:e.hidden}function s0e(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function kF(e){if(!xF(e)||_F(e)||a0e(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():s0e(e)?!0:CF(e)}function l0e(e){return e?xF(e)&&kF(e)&&!o0e(e):!1}var u0e=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],c0e=u0e.join(),d0e=e=>e.offsetWidth>0&&e.offsetHeight>0;function EF(e){const t=Array.from(e.querySelectorAll(c0e));return t.unshift(e),t.filter(n=>kF(n)&&d0e(n))}function f0e(e){const t=e.current;if(!t)return!1;const n=i0e(t);return!n||t.contains(n)?!1:!!l0e(n)}function h0e(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;Vd(()=>{if(!o||f0e(e))return;const a=(i==null?void 0:i.current)||e.current;a&&requestAnimationFrame(()=>{a.focus()})},[o,e,i])}var p0e={preventScroll:!0,shouldFocus:!1};function g0e(e,t=p0e){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:o}=t,a=m0e(e)?e.current:e,s=i&&o,l=w.useRef(s),u=w.useRef(o);Ws(()=>{!u.current&&o&&(l.current=s),u.current=o},[o,s]);const d=w.useCallback(()=>{if(!(!o||!a||!l.current)&&(l.current=!1,!a.contains(document.activeElement)))if(n!=null&&n.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:r})});else{const h=EF(a);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:r})})}},[o,r,a,n]);Vd(()=>{d()},[d]),Rh(a,"transitionend",d)}function m0e(e){return"current"in e}var Zo="top",ls="bottom",us="right",Qo="left",vk="auto",Cy=[Zo,ls,us,Qo],Um="start",L2="end",v0e="clippingParents",PF="viewport",G1="popper",y0e="reference",MO=Cy.reduce(function(e,t){return e.concat([t+"-"+Um,t+"-"+L2])},[]),TF=[].concat(Cy,[vk]).reduce(function(e,t){return e.concat([t,t+"-"+Um,t+"-"+L2])},[]),b0e="beforeRead",S0e="read",x0e="afterRead",w0e="beforeMain",C0e="main",_0e="afterMain",k0e="beforeWrite",E0e="write",P0e="afterWrite",T0e=[b0e,S0e,x0e,w0e,C0e,_0e,k0e,E0e,P0e];function au(e){return e?(e.nodeName||"").toLowerCase():null}function hs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uh(e){var t=hs(e).Element;return e instanceof t||e instanceof Element}function is(e){var t=hs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yk(e){if(typeof ShadowRoot>"u")return!1;var t=hs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L0e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!is(o)||!au(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function A0e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!is(i)||!au(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const O0e={name:"applyStyles",enabled:!0,phase:"write",fn:L0e,effect:A0e,requires:["computeStyles"]};function Zl(e){return e.split("-")[0]}var jh=Math.max,c5=Math.min,Gm=Math.round;function G7(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function LF(){return!/^((?!chrome|android).)*safari/i.test(G7())}function qm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&is(e)&&(i=e.offsetWidth>0&&Gm(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Gm(r.height)/e.offsetHeight||1);var a=Uh(e)?hs(e):window,s=a.visualViewport,l=!LF()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,h=r.width/i,m=r.height/o;return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function bk(e){var t=qm(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function AF(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ec(e){return hs(e).getComputedStyle(e)}function M0e(e){return["table","td","th"].indexOf(au(e))>=0}function rf(e){return((Uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function rx(e){return au(e)==="html"?e:e.assignedSlot||e.parentNode||(yk(e)?e.host:null)||rf(e)}function IO(e){return!is(e)||ec(e).position==="fixed"?null:e.offsetParent}function I0e(e){var t=/firefox/i.test(G7()),n=/Trident/i.test(G7());if(n&&is(e)){var r=ec(e);if(r.position==="fixed")return null}var i=rx(e);for(yk(i)&&(i=i.host);is(i)&&["html","body"].indexOf(au(i))<0;){var o=ec(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _y(e){for(var t=hs(e),n=IO(e);n&&M0e(n)&&ec(n).position==="static";)n=IO(n);return n&&(au(n)==="html"||au(n)==="body"&&ec(n).position==="static")?t:n||I0e(e)||t}function Sk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qv(e,t,n){return jh(e,c5(t,n))}function R0e(e,t,n){var r=qv(e,t,n);return r>n?n:r}function OF(){return{top:0,right:0,bottom:0,left:0}}function MF(e){return Object.assign({},OF(),e)}function IF(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var D0e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,MF(typeof t!="number"?t:IF(t,Cy))};function N0e(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Zl(n.placement),l=Sk(s),u=[Qo,us].indexOf(s)>=0,d=u?"height":"width";if(!(!o||!a)){var h=D0e(i.padding,n),m=bk(o),v=l==="y"?Zo:Qo,b=l==="y"?ls:us,S=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],k=a[l]-n.rects.reference[l],E=_y(o),_=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,T=S/2-k/2,A=h[v],I=_-m[d]-h[b],R=_/2-m[d]/2+T,D=qv(A,R,I),j=l;n.modifiersData[r]=(t={},t[j]=D,t.centerOffset=D-R,t)}}function j0e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||AF(t.elements.popper,i)&&(t.elements.arrow=i))}const B0e={name:"arrow",enabled:!0,phase:"main",fn:N0e,effect:j0e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ym(e){return e.split("-")[1]}var $0e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F0e(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Gm(t*i)/i||0,y:Gm(n*i)/i||0}}function RO(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,S=b===void 0?0:b,k=typeof d=="function"?d({x:v,y:S}):{x:v,y:S};v=k.x,S=k.y;var E=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),T=Qo,A=Zo,I=window;if(u){var R=_y(n),D="clientHeight",j="clientWidth";if(R===hs(n)&&(R=rf(n),ec(R).position!=="static"&&s==="absolute"&&(D="scrollHeight",j="scrollWidth")),R=R,i===Zo||(i===Qo||i===us)&&o===L2){A=ls;var z=h&&R===I&&I.visualViewport?I.visualViewport.height:R[D];S-=z-r.height,S*=l?1:-1}if(i===Qo||(i===Zo||i===ls)&&o===L2){T=us;var V=h&&R===I&&I.visualViewport?I.visualViewport.width:R[j];v-=V-r.width,v*=l?1:-1}}var K=Object.assign({position:s},u&&$0e),te=d===!0?F0e({x:v,y:S}):{x:v,y:S};if(v=te.x,S=te.y,l){var q;return Object.assign({},K,(q={},q[A]=_?"0":"",q[T]=E?"0":"",q.transform=(I.devicePixelRatio||1)<=1?"translate("+v+"px, "+S+"px)":"translate3d("+v+"px, "+S+"px, 0)",q))}return Object.assign({},K,(t={},t[A]=_?S+"px":"",t[T]=E?v+"px":"",t.transform="",t))}function z0e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Zl(t.placement),variation:Ym(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,RO(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,RO(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const H0e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:z0e,data:{}};var eb={passive:!0};function V0e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=hs(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,eb)}),s&&l.addEventListener("resize",n.update,eb),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,eb)}),s&&l.removeEventListener("resize",n.update,eb)}}const W0e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:V0e,data:{}};var U0e={left:"right",right:"left",bottom:"top",top:"bottom"};function h4(e){return e.replace(/left|right|bottom|top/g,function(t){return U0e[t]})}var G0e={start:"end",end:"start"};function DO(e){return e.replace(/start|end/g,function(t){return G0e[t]})}function xk(e){var t=hs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wk(e){return qm(rf(e)).left+xk(e).scrollLeft}function q0e(e,t){var n=hs(e),r=rf(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=LF();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+wk(e),y:l}}function Y0e(e){var t,n=rf(e),r=xk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=jh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=jh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+wk(e),l=-r.scrollTop;return ec(i||n).direction==="rtl"&&(s+=jh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ck(e){var t=ec(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function RF(e){return["html","body","#document"].indexOf(au(e))>=0?e.ownerDocument.body:is(e)&&Ck(e)?e:RF(rx(e))}function Yv(e,t){var n;t===void 0&&(t=[]);var r=RF(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=hs(r),a=i?[o].concat(o.visualViewport||[],Ck(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Yv(rx(a)))}function q7(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function K0e(e,t){var n=qm(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function NO(e,t,n){return t===PF?q7(q0e(e,n)):Uh(t)?K0e(t,n):q7(Y0e(rf(e)))}function X0e(e){var t=Yv(rx(e)),n=["absolute","fixed"].indexOf(ec(e).position)>=0,r=n&&is(e)?_y(e):e;return Uh(r)?t.filter(function(i){return Uh(i)&&AF(i,r)&&au(i)!=="body"}):[]}function Z0e(e,t,n,r){var i=t==="clippingParents"?X0e(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var d=NO(e,u,r);return l.top=jh(d.top,l.top),l.right=c5(d.right,l.right),l.bottom=c5(d.bottom,l.bottom),l.left=jh(d.left,l.left),l},NO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function DF(e){var t=e.reference,n=e.element,r=e.placement,i=r?Zl(r):null,o=r?Ym(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Zo:l={x:a,y:t.y-n.height};break;case ls:l={x:a,y:t.y+t.height};break;case us:l={x:t.x+t.width,y:s};break;case Qo:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?Sk(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case Um:l[u]=l[u]-(t[d]/2-n[d]/2);break;case L2:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function A2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?v0e:s,u=n.rootBoundary,d=u===void 0?PF:u,h=n.elementContext,m=h===void 0?G1:h,v=n.altBoundary,b=v===void 0?!1:v,S=n.padding,k=S===void 0?0:S,E=MF(typeof k!="number"?k:IF(k,Cy)),_=m===G1?y0e:G1,T=e.rects.popper,A=e.elements[b?_:m],I=Z0e(Uh(A)?A:A.contextElement||rf(e.elements.popper),l,d,a),R=qm(e.elements.reference),D=DF({reference:R,element:T,strategy:"absolute",placement:i}),j=q7(Object.assign({},T,D)),z=m===G1?j:R,V={top:I.top-z.top+E.top,bottom:z.bottom-I.bottom+E.bottom,left:I.left-z.left+E.left,right:z.right-I.right+E.right},K=e.modifiersData.offset;if(m===G1&&K){var te=K[i];Object.keys(V).forEach(function(q){var $=[us,ls].indexOf(q)>=0?1:-1,U=[Zo,ls].indexOf(q)>=0?"y":"x";V[q]+=te[U]*$})}return V}function Q0e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?TF:l,d=Ym(r),h=d?s?MO:MO.filter(function(b){return Ym(b)===d}):Cy,m=h.filter(function(b){return u.indexOf(b)>=0});m.length===0&&(m=h);var v=m.reduce(function(b,S){return b[S]=A2(e,{placement:S,boundary:i,rootBoundary:o,padding:a})[Zl(S)],b},{});return Object.keys(v).sort(function(b,S){return v[b]-v[S]})}function J0e(e){if(Zl(e)===vk)return[];var t=h4(e);return[DO(e),t,DO(t)]}function e1e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,S=n.allowedAutoPlacements,k=t.options.placement,E=Zl(k),_=E===k,T=l||(_||!b?[h4(k)]:J0e(k)),A=[k].concat(T).reduce(function(ye,We){return ye.concat(Zl(We)===vk?Q0e(t,{placement:We,boundary:d,rootBoundary:h,padding:u,flipVariations:b,allowedAutoPlacements:S}):We)},[]),I=t.rects.reference,R=t.rects.popper,D=new Map,j=!0,z=A[0],V=0;V=0,U=$?"width":"height",X=A2(t,{placement:K,boundary:d,rootBoundary:h,altBoundary:m,padding:u}),Z=$?q?us:Qo:q?ls:Zo;I[U]>R[U]&&(Z=h4(Z));var W=h4(Z),Q=[];if(o&&Q.push(X[te]<=0),s&&Q.push(X[Z]<=0,X[W]<=0),Q.every(function(ye){return ye})){z=K,j=!1;break}D.set(K,Q)}if(j)for(var ie=b?3:1,fe=function(We){var De=A.find(function(ot){var He=D.get(ot);if(He)return He.slice(0,We).every(function(Be){return Be})});if(De)return z=De,"break"},Se=ie;Se>0;Se--){var Pe=fe(Se);if(Pe==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const t1e={name:"flip",enabled:!0,phase:"main",fn:e1e,requiresIfExists:["offset"],data:{_skip:!1}};function jO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function BO(e){return[Zo,us,ls,Qo].some(function(t){return e[t]>=0})}function n1e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=A2(t,{elementContext:"reference"}),s=A2(t,{altBoundary:!0}),l=jO(a,r),u=jO(s,i,o),d=BO(l),h=BO(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const r1e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:n1e};function i1e(e,t,n){var r=Zl(e),i=[Qo,Zo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Qo,us].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function o1e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=TF.reduce(function(d,h){return d[h]=i1e(h,t.rects,o),d},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const a1e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o1e};function s1e(e){var t=e.state,n=e.name;t.modifiersData[n]=DF({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const l1e={name:"popperOffsets",enabled:!0,phase:"read",fn:s1e,data:{}};function u1e(e){return e==="x"?"y":"x"}function c1e(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,S=b===void 0?0:b,k=A2(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:d}),E=Zl(t.placement),_=Ym(t.placement),T=!_,A=Sk(E),I=u1e(A),R=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,z=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,V=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,te={x:0,y:0};if(R){if(o){var q,$=A==="y"?Zo:Qo,U=A==="y"?ls:us,X=A==="y"?"height":"width",Z=R[A],W=Z+k[$],Q=Z-k[U],ie=v?-j[X]/2:0,fe=_===Um?D[X]:j[X],Se=_===Um?-j[X]:-D[X],Pe=t.elements.arrow,ye=v&&Pe?bk(Pe):{width:0,height:0},We=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:OF(),De=We[$],ot=We[U],He=qv(0,D[X],ye[X]),Be=T?D[X]/2-ie-He-De-V.mainAxis:fe-He-De-V.mainAxis,wt=T?-D[X]/2+ie+He+ot+V.mainAxis:Se+He+ot+V.mainAxis,st=t.elements.arrow&&_y(t.elements.arrow),mt=st?A==="y"?st.clientTop||0:st.clientLeft||0:0,St=(q=K==null?void 0:K[A])!=null?q:0,Le=Z+Be-St-mt,lt=Z+wt-St,Mt=qv(v?c5(W,Le):W,Z,v?jh(Q,lt):Q);R[A]=Mt,te[A]=Mt-Z}if(s){var ut,_t=A==="x"?Zo:Qo,ln=A==="x"?ls:us,ae=R[I],Re=I==="y"?"height":"width",Ye=ae+k[_t],Ke=ae-k[ln],xe=[Zo,Qo].indexOf(E)!==-1,Ne=(ut=K==null?void 0:K[I])!=null?ut:0,Ct=xe?Ye:ae-D[Re]-j[Re]-Ne+V.altAxis,Dt=xe?ae+D[Re]+j[Re]-Ne-V.altAxis:Ke,Te=v&&xe?R0e(Ct,ae,Dt):qv(v?Ct:Ye,ae,v?Dt:Ke);R[I]=Te,te[I]=Te-ae}t.modifiersData[r]=te}}const d1e={name:"preventOverflow",enabled:!0,phase:"main",fn:c1e,requiresIfExists:["offset"]};function f1e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function h1e(e){return e===hs(e)||!is(e)?xk(e):f1e(e)}function p1e(e){var t=e.getBoundingClientRect(),n=Gm(t.width)/e.offsetWidth||1,r=Gm(t.height)/e.offsetHeight||1;return n!==1||r!==1}function g1e(e,t,n){n===void 0&&(n=!1);var r=is(t),i=is(t)&&p1e(t),o=rf(t),a=qm(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((au(t)!=="body"||Ck(o))&&(s=h1e(t)),is(t)?(l=qm(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=wk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function m1e(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function v1e(e){var t=m1e(e);return T0e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function y1e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function b1e(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var $O={placement:"bottom",modifiers:[],strategy:"absolute"};function FO(){for(var e=arguments.length,t=new Array(e),n=0;n({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),oi={arrowShadowColor:_g("--popper-arrow-shadow-color"),arrowSize:_g("--popper-arrow-size","8px"),arrowSizeHalf:_g("--popper-arrow-size-half"),arrowBg:_g("--popper-arrow-bg"),transformOrigin:_g("--popper-transform-origin"),arrowOffset:_g("--popper-arrow-offset")};function C1e(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var _1e={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},k1e=e=>_1e[e],zO={scroll:!0,resize:!0};function E1e(e){let t;return typeof e=="object"?t={enabled:!0,options:{...zO,...e}}:t={enabled:e,options:zO},t}var P1e={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},T1e={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{HO(e)},effect:({state:e})=>()=>{HO(e)}},HO=e=>{e.elements.popper.style.setProperty(oi.transformOrigin.var,k1e(e.placement))},L1e={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A1e(e)}},A1e=e=>{var t;if(!e.placement)return;const n=O1e(e.placement);if((t=e.elements)!=null&&t.arrow&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:oi.arrowSize.varRef,height:oi.arrowSize.varRef,zIndex:-1});const r={[oi.arrowSizeHalf.var]:`calc(${oi.arrowSize.varRef} / 2)`,[oi.arrowOffset.var]:`calc(${oi.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},O1e=e=>{if(e.startsWith("top"))return{property:"bottom",value:oi.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:oi.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:oi.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:oi.arrowOffset.varRef}},M1e={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{VO(e)},effect:({state:e})=>()=>{VO(e)}},VO=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");t&&Object.assign(t.style,{transform:"rotate(45deg)",background:oi.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:C1e(e.placement)})},I1e={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},R1e={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function D1e(e,t="ltr"){var n;const r=((n=I1e[e])==null?void 0:n[t])||e;return t==="ltr"?r:R1e[e]??r}function NF(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:h=!0,matchWidth:m,direction:v="ltr"}=e,b=w.useRef(null),S=w.useRef(null),k=w.useRef(null),E=D1e(r,v),_=w.useRef(()=>{}),T=w.useCallback(()=>{var V;!t||!b.current||!S.current||((V=_.current)==null||V.call(_),k.current=w1e(b.current,S.current,{placement:E,modifiers:[M1e,L1e,T1e,{...P1e,enabled:!!m},{name:"eventListeners",...E1e(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:d}},...n??[]],strategy:i}),k.current.forceUpdate(),_.current=k.current.destroy)},[E,t,n,m,a,o,s,l,u,h,d,i]);w.useEffect(()=>()=>{var V;!b.current&&!S.current&&((V=k.current)==null||V.destroy(),k.current=null)},[]);const A=w.useCallback(V=>{b.current=V,T()},[T]),I=w.useCallback((V={},K=null)=>({...V,ref:Yn(A,K)}),[A]),R=w.useCallback(V=>{S.current=V,T()},[T]),D=w.useCallback((V={},K=null)=>({...V,ref:Yn(R,K),style:{...V.style,position:i,minWidth:m?void 0:"max-content",inset:"0 auto auto 0"}}),[i,R,m]),j=w.useCallback((V={},K=null)=>{const{size:te,shadowColor:q,bg:$,style:U,...X}=V;return{...X,ref:K,"data-popper-arrow":"",style:N1e(V)}},[]),z=w.useCallback((V={},K=null)=>({...V,ref:K,"data-popper-arrow-inner":""}),[]);return{update(){var V;(V=k.current)==null||V.update()},forceUpdate(){var V;(V=k.current)==null||V.forceUpdate()},transformOrigin:oi.transformOrigin.varRef,referenceRef:A,popperRef:R,getPopperProps:D,getArrowProps:j,getArrowInnerProps:z,getReferenceProps:I}}function N1e(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function jF(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=Er(n),a=Er(t),[s,l]=w.useState(e.defaultIsOpen||!1),u=r!==void 0?r:s,d=r!==void 0,h=w.useId(),m=i??`disclosure-${h}`,v=w.useCallback(()=>{d||l(!1),a==null||a()},[d,a]),b=w.useCallback(()=>{d||l(!0),o==null||o()},[d,o]),S=w.useCallback(()=>{u?v():b()},[u,b,v]);function k(_={}){return{..._,"aria-expanded":u,"aria-controls":m,onClick(T){var A;(A=_.onClick)==null||A.call(_,T),S()}}}function E(_={}){return{..._,hidden:!u,id:m}}return{isOpen:u,onOpen:b,onClose:v,onToggle:S,isControlled:d,getButtonProps:k,getDisclosureProps:E}}function j1e(e){const{isOpen:t,ref:n}=e,[r,i]=w.useState(t),[o,a]=w.useState(!1);return w.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),Rh(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var l;const u=r0e(n.current),d=new u.CustomEvent("animationend",{bubbles:!0});(l=n.current)==null||l.dispatchEvent(d)}}}function BF(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}var Qs={},B1e={get exports(){return Qs},set exports(e){Qs=e}},Na={},Bh={},$1e={get exports(){return Bh},set exports(e){Bh=e}},$F={};/** * @license React * scheduler.production.min.js * @@ -352,7 +352,7 @@ var uee=Object.defineProperty;var cee=(e,t,n)=>t in e?uee(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(W,Q){var ie=W.length;W.push(Q);e:for(;0>>1,Se=W[fe];if(0>>1;fei(He,ie))Nei(tt,He)?(W[fe]=tt,W[Ne]=ie,fe=Ne):(W[fe]=He,W[ye]=ie,fe=ye);else if(Nei(tt,ie))W[fe]=tt,W[Ne]=ie,fe=Ne;else break e}}return Q}function i(W,Q){var ie=W.sortIndex-Q.sortIndex;return ie!==0?ie:W.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],d=1,h=null,m=3,v=!1,b=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(W){for(var Q=n(u);Q!==null;){if(Q.callback===null)r(u);else if(Q.startTime<=W)r(u),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(u)}}function A(W){if(S=!1,T(W),!b)if(n(l)!==null)b=!0,X(I);else{var Q=n(u);Q!==null&&Z(A,Q.startTime-W)}}function I(W,Q){b=!1,S&&(S=!1,E(j),j=-1),v=!0;var ie=m;try{for(T(Q),h=n(l);h!==null&&(!(h.expirationTime>Q)||W&&!K());){var fe=h.callback;if(typeof fe=="function"){h.callback=null,m=h.priorityLevel;var Se=fe(h.expirationTime<=Q);Q=e.unstable_now(),typeof Se=="function"?h.callback=Se:h===n(l)&&r(l),T(Q)}else r(l);h=n(l)}if(h!==null)var Te=!0;else{var ye=n(u);ye!==null&&Z(A,ye.startTime-Q),Te=!1}return Te}finally{h=null,m=ie,v=!1}}var R=!1,D=null,j=-1,z=5,V=-1;function K(){return!(e.unstable_now()-VW||125fe?(W.sortIndex=ie,t(u,W),n(l)===null&&W===n(u)&&(S?(E(j),j=-1):S=!0,Z(A,ie-fe))):(W.sortIndex=Se,t(l,W),b||v||(b=!0,X(I))),W},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(W){var Q=m;return function(){var ie=m;m=Q;try{return W.apply(this,arguments)}finally{m=ie}}}})(B$);(function(e){e.exports=B$})(B1e);/** + */(function(e){function t(W,Q){var ie=W.length;W.push(Q);e:for(;0>>1,Se=W[fe];if(0>>1;fei(We,ie))Dei(ot,We)?(W[fe]=ot,W[De]=ie,fe=De):(W[fe]=We,W[ye]=ie,fe=ye);else if(Dei(ot,ie))W[fe]=ot,W[De]=ie,fe=De;else break e}}return Q}function i(W,Q){var ie=W.sortIndex-Q.sortIndex;return ie!==0?ie:W.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],d=1,h=null,m=3,v=!1,b=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(W){for(var Q=n(u);Q!==null;){if(Q.callback===null)r(u);else if(Q.startTime<=W)r(u),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(u)}}function A(W){if(S=!1,T(W),!b)if(n(l)!==null)b=!0,X(I);else{var Q=n(u);Q!==null&&Z(A,Q.startTime-W)}}function I(W,Q){b=!1,S&&(S=!1,E(j),j=-1),v=!0;var ie=m;try{for(T(Q),h=n(l);h!==null&&(!(h.expirationTime>Q)||W&&!K());){var fe=h.callback;if(typeof fe=="function"){h.callback=null,m=h.priorityLevel;var Se=fe(h.expirationTime<=Q);Q=e.unstable_now(),typeof Se=="function"?h.callback=Se:h===n(l)&&r(l),T(Q)}else r(l);h=n(l)}if(h!==null)var Pe=!0;else{var ye=n(u);ye!==null&&Z(A,ye.startTime-Q),Pe=!1}return Pe}finally{h=null,m=ie,v=!1}}var R=!1,D=null,j=-1,z=5,V=-1;function K(){return!(e.unstable_now()-VW||125fe?(W.sortIndex=ie,t(u,W),n(l)===null&&W===n(u)&&(S?(E(j),j=-1):S=!0,Z(A,ie-fe))):(W.sortIndex=Se,t(l,W),b||v||(b=!0,X(I))),W},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(W){var Q=m;return function(){var ie=m;m=Q;try{return W.apply(this,arguments)}finally{m=ie}}}})($F);(function(e){e.exports=$F})($1e);/** * @license React * react-dom.production.min.js * @@ -360,15 +360,15 @@ var uee=Object.defineProperty;var cee=(e,t,n)=>t in e?uee(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var F$=w,Ma=Bh;function $e(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),q7=Object.prototype.hasOwnProperty,F1e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,WO={},UO={};function $1e(e){return q7.call(UO,e)?!0:q7.call(WO,e)?!1:F1e.test(e)?UO[e]=!0:(WO[e]=!0,!1)}function z1e(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function H1e(e,t,n,r){if(t===null||typeof t>"u"||z1e(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oo(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var qi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qi[e]=new Oo(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qi[t]=new Oo(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qi[e]=new Oo(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qi[e]=new Oo(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){qi[e]=new Oo(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qi[e]=new Oo(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qi[e]=new Oo(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qi[e]=new Oo(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qi[e]=new Oo(e,5,!1,e.toLowerCase(),null,!1,!1)});var _k=/[\-:]([a-z])/g;function kk(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!1,!1)});qi.xlinkHref=new Oo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ek(e,t,n,r){var i=qi.hasOwnProperty(t)?qi[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Y7=Object.prototype.hasOwnProperty,F1e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,WO={},UO={};function z1e(e){return Y7.call(UO,e)?!0:Y7.call(WO,e)?!1:F1e.test(e)?UO[e]=!0:(WO[e]=!0,!1)}function H1e(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function V1e(e,t,n,r){if(t===null||typeof t>"u"||H1e(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oo(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var qi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qi[e]=new Oo(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qi[t]=new Oo(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qi[e]=new Oo(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qi[e]=new Oo(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){qi[e]=new Oo(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qi[e]=new Oo(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qi[e]=new Oo(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qi[e]=new Oo(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qi[e]=new Oo(e,5,!1,e.toLowerCase(),null,!1,!1)});var _k=/[\-:]([a-z])/g;function kk(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!1,!1)});qi.xlinkHref=new Oo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ek(e,t,n,r){var i=qi.hasOwnProperty(t)?qi[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` -`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{P6=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yv(e):""}function V1e(e){switch(e.tag){case 5:return yv(e.type);case 16:return yv("Lazy");case 13:return yv("Suspense");case 19:return yv("SuspenseList");case 0:case 2:case 15:return e=T6(e.type,!1),e;case 11:return e=T6(e.type.render,!1),e;case 1:return e=T6(e.type,!0),e;default:return""}}function Z7(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kg:return"Fragment";case Yg:return"Portal";case Y7:return"Profiler";case Pk:return"StrictMode";case K7:return"Suspense";case X7:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case H$:return(e.displayName||"Context")+".Consumer";case z$:return(e._context.displayName||"Context")+".Provider";case Tk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lk:return t=e.displayName||null,t!==null?t:Z7(e.type)||"Memo";case pd:t=e._payload,e=e._init;try{return Z7(e(t))}catch{}}return null}function W1e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Z7(t);case 8:return t===Pk?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ud(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function W$(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function U1e(e){var t=W$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nb(e){e._valueTracker||(e._valueTracker=U1e(e))}function U$(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W$(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function d5(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Q7(e,t){var n=t.checked;return Tr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qO(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ud(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function G$(e,t){t=t.checked,t!=null&&Ek(e,"checked",t,!1)}function J7(e,t){G$(e,t);var n=Ud(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?e9(e,t.type,n):t.hasOwnProperty("defaultValue")&&e9(e,t.type,Ud(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YO(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function e9(e,t,n){(t!=="number"||d5(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bv=Array.isArray;function _m(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=rb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function M2(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kv={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},G1e=["Webkit","ms","Moz","O"];Object.keys(Kv).forEach(function(e){G1e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kv[t]=Kv[e]})});function X$(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kv.hasOwnProperty(e)&&Kv[e]?(""+t).trim():t+"px"}function Z$(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=X$(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var q1e=Tr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function r9(e,t){if(t){if(q1e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error($e(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error($e(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error($e(61))}if(t.style!=null&&typeof t.style!="object")throw Error($e(62))}}function i9(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var o9=null;function Ak(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var a9=null,km=null,Em=null;function ZO(e){if(e=Py(e)){if(typeof a9!="function")throw Error($e(280));var t=e.stateNode;t&&(t=sx(t),a9(e.stateNode,e.type,t))}}function Q$(e){km?Em?Em.push(e):Em=[e]:km=e}function J$(){if(km){var e=km,t=Em;if(Em=km=null,ZO(e),t)for(e=0;e>>=0,e===0?32:31-(ive(e)/ove|0)|0}var ib=64,ob=4194304;function Sv(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function g5(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Sv(s):(o&=a,o!==0&&(r=Sv(o)))}else a=n&~i,a!==0?r=Sv(a):o!==0&&(r=Sv(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ky(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ys(t),e[t]=n}function uve(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zv),aM=String.fromCharCode(32),sM=!1;function bz(e,t){switch(e){case"keyup":return jve.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sz(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xg=!1;function Fve(e,t){switch(e){case"compositionend":return Sz(t);case"keypress":return t.which!==32?null:(sM=!0,aM);case"textInput":return e=t.data,e===aM&&sM?null:e;default:return null}}function $ve(e,t){if(Xg)return e==="compositionend"||!Bk&&bz(e,t)?(e=vz(),g4=Dk=_d=null,Xg=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dM(n)}}function _z(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_z(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kz(){for(var e=window,t=d5();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=d5(e.document)}return t}function Fk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Kve(e){var t=kz(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_z(n.ownerDocument.documentElement,n)){if(r!==null&&Fk(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=fM(n,o);var a=fM(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zg=null,f9=null,Jv=null,h9=!1;function hM(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;h9||Zg==null||Zg!==d5(r)||(r=Zg,"selectionStart"in r&&Fk(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jv&&B2(Jv,r)||(Jv=r,r=y5(f9,"onSelect"),0em||(e.current=b9[em],b9[em]=null,em--)}function nr(e,t){em++,b9[em]=e.current,e.current=t}var Gd={},so=af(Gd),Jo=af(!1),Gh=Gd;function Xm(e,t){var n=e.type.contextTypes;if(!n)return Gd;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function S5(){fr(Jo),fr(so)}function SM(e,t,n){if(so.current!==Gd)throw Error($e(168));nr(so,t),nr(Jo,n)}function Rz(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error($e(108,W1e(e)||"Unknown",i));return Tr({},n,r)}function x5(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gd,Gh=so.current,nr(so,e),nr(Jo,Jo.current),!0}function xM(e,t,n){var r=e.stateNode;if(!r)throw Error($e(169));n?(e=Rz(e,t,Gh),r.__reactInternalMemoizedMergedChildContext=e,fr(Jo),fr(so),nr(so,e)):fr(Jo),nr(Jo,n)}var Hu=null,lx=!1,H6=!1;function Dz(e){Hu===null?Hu=[e]:Hu.push(e)}function s2e(e){lx=!0,Dz(e)}function sf(){if(!H6&&Hu!==null){H6=!0;var e=0,t=Bn;try{var n=Hu;for(Bn=1;e>=a,i-=a,Uu=1<<32-Ys(t)+i|n<j?(z=D,D=null):z=D.sibling;var V=m(E,D,T[j],A);if(V===null){D===null&&(D=z);break}e&&D&&V.alternate===null&&t(E,D),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V,D=z}if(j===T.length)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;jj?(z=D,D=null):z=D.sibling;var K=m(E,D,V.value,A);if(K===null){D===null&&(D=z);break}e&&D&&K.alternate===null&&t(E,D),_=o(K,_,j),R===null?I=K:R.sibling=K,R=K,D=z}if(V.done)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;!V.done;j++,V=T.next())V=h(E,V.value,A),V!==null&&(_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return yr&&dh(E,j),I}for(D=r(E,D);!V.done;j++,V=T.next())V=v(D,E,j,V.value,A),V!==null&&(e&&V.alternate!==null&&D.delete(V.key===null?j:V.key),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return e&&D.forEach(function(te){return t(E,te)}),yr&&dh(E,j),I}function k(E,_,T,A){if(typeof T=="object"&&T!==null&&T.type===Kg&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case tb:e:{for(var I=T.key,R=_;R!==null;){if(R.key===I){if(I=T.type,I===Kg){if(R.tag===7){n(E,R.sibling),_=i(R,T.props.children),_.return=E,E=_;break e}}else if(R.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===pd&&TM(I)===R.type){n(E,R.sibling),_=i(R,T.props),_.ref=Q1(E,R,T),_.return=E,E=_;break e}n(E,R);break}else t(E,R);R=R.sibling}T.type===Kg?(_=$h(T.props.children,E.mode,A,T.key),_.return=E,E=_):(A=C4(T.type,T.key,T.props,null,E.mode,A),A.ref=Q1(E,_,T),A.return=E,E=A)}return a(E);case Yg:e:{for(R=T.key;_!==null;){if(_.key===R)if(_.tag===4&&_.stateNode.containerInfo===T.containerInfo&&_.stateNode.implementation===T.implementation){n(E,_.sibling),_=i(_,T.children||[]),_.return=E,E=_;break e}else{n(E,_);break}else t(E,_);_=_.sibling}_=X6(T,E.mode,A),_.return=E,E=_}return a(E);case pd:return R=T._init,k(E,_,R(T._payload),A)}if(bv(T))return b(E,_,T,A);if(q1(T))return S(E,_,T,A);fb(E,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,_!==null&&_.tag===6?(n(E,_.sibling),_=i(_,T),_.return=E,E=_):(n(E,_),_=K6(T,E.mode,A),_.return=E,E=_),a(E)):n(E,_)}return k}var Qm=Vz(!0),Wz=Vz(!1),Ty={},Jl=af(Ty),H2=af(Ty),V2=af(Ty);function Ph(e){if(e===Ty)throw Error($e(174));return e}function Yk(e,t){switch(nr(V2,t),nr(H2,e),nr(Jl,Ty),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:n9(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=n9(t,e)}fr(Jl),nr(Jl,t)}function Jm(){fr(Jl),fr(H2),fr(V2)}function Uz(e){Ph(V2.current);var t=Ph(Jl.current),n=n9(t,e.type);t!==n&&(nr(H2,e),nr(Jl,n))}function Kk(e){H2.current===e&&(fr(Jl),fr(H2))}var _r=af(0);function P5(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var V6=[];function Xk(){for(var e=0;en?n:4,e(!0);var r=W6.transition;W6.transition={};try{e(!1),t()}finally{Bn=n,W6.transition=r}}function sH(){return ds().memoizedState}function d2e(e,t,n){var r=Dd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lH(e))uH(t,n);else if(n=Fz(e,t,n,r),n!==null){var i=Po();Ks(n,e,r,i),cH(n,t,r)}}function f2e(e,t,n){var r=Dd(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lH(e))uH(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Js(s,a)){var l=t.interleaved;l===null?(i.next=i,Gk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Fz(e,t,i,r),n!==null&&(i=Po(),Ks(n,e,r,i),cH(n,t,r))}}function lH(e){var t=e.alternate;return e===Pr||t!==null&&t===Pr}function uH(e,t){e2=T5=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cH(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mk(e,n)}}var L5={readContext:cs,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useInsertionEffect:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useDeferredValue:Qi,useTransition:Qi,useMutableSource:Qi,useSyncExternalStore:Qi,useId:Qi,unstable_isNewReconciler:!1},h2e={readContext:cs,useCallback:function(e,t){return Dl().memoizedState=[e,t===void 0?null:t],e},useContext:cs,useEffect:AM,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,b4(4194308,4,nH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return b4(4194308,4,e,t)},useInsertionEffect:function(e,t){return b4(4,2,e,t)},useMemo:function(e,t){var n=Dl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=d2e.bind(null,Pr,e),[r.memoizedState,e]},useRef:function(e){var t=Dl();return e={current:e},t.memoizedState=e},useState:LM,useDebugValue:tE,useDeferredValue:function(e){return Dl().memoizedState=e},useTransition:function(){var e=LM(!1),t=e[0];return e=c2e.bind(null,e[1]),Dl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pr,i=Dl();if(yr){if(n===void 0)throw Error($e(407));n=n()}else{if(n=t(),Li===null)throw Error($e(349));Yh&30||Yz(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,AM(Xz.bind(null,r,o,e),[e]),r.flags|=2048,G2(9,Kz.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dl(),t=Li.identifierPrefix;if(yr){var n=Gu,r=Uu;n=(r&~(1<<32-Ys(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=W2++,0")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{T6=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yv(e):""}function W1e(e){switch(e.tag){case 5:return yv(e.type);case 16:return yv("Lazy");case 13:return yv("Suspense");case 19:return yv("SuspenseList");case 0:case 2:case 15:return e=L6(e.type,!1),e;case 11:return e=L6(e.type.render,!1),e;case 1:return e=L6(e.type,!0),e;default:return""}}function Q7(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kg:return"Fragment";case Yg:return"Portal";case K7:return"Profiler";case Pk:return"StrictMode";case X7:return"Suspense";case Z7:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case VF:return(e.displayName||"Context")+".Consumer";case HF:return(e._context.displayName||"Context")+".Provider";case Tk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lk:return t=e.displayName||null,t!==null?t:Q7(e.type)||"Memo";case pd:t=e._payload,e=e._init;try{return Q7(e(t))}catch{}}return null}function U1e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q7(t);case 8:return t===Pk?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ud(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function UF(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function G1e(e){var t=UF(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nb(e){e._valueTracker||(e._valueTracker=G1e(e))}function GF(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=UF(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function d5(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function J7(e,t){var n=t.checked;return Tr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qO(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ud(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qF(e,t){t=t.checked,t!=null&&Ek(e,"checked",t,!1)}function e9(e,t){qF(e,t);var n=Ud(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?t9(e,t.type,n):t.hasOwnProperty("defaultValue")&&t9(e,t.type,Ud(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YO(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function t9(e,t,n){(t!=="number"||d5(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bv=Array.isArray;function _m(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=rb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function M2(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kv={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q1e=["Webkit","ms","Moz","O"];Object.keys(Kv).forEach(function(e){q1e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kv[t]=Kv[e]})});function ZF(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kv.hasOwnProperty(e)&&Kv[e]?(""+t).trim():t+"px"}function QF(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ZF(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Y1e=Tr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function i9(e,t){if(t){if(Y1e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Fe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Fe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Fe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Fe(62))}}function o9(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var a9=null;function Ak(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var s9=null,km=null,Em=null;function ZO(e){if(e=Py(e)){if(typeof s9!="function")throw Error(Fe(280));var t=e.stateNode;t&&(t=lx(t),s9(e.stateNode,e.type,t))}}function JF(e){km?Em?Em.push(e):Em=[e]:km=e}function ez(){if(km){var e=km,t=Em;if(Em=km=null,ZO(e),t)for(e=0;e>>=0,e===0?32:31-(ove(e)/ave|0)|0}var ib=64,ob=4194304;function Sv(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function g5(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Sv(s):(o&=a,o!==0&&(r=Sv(o)))}else a=n&~i,a!==0?r=Sv(a):o!==0&&(r=Sv(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ky(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ys(t),e[t]=n}function cve(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zv),aM=String.fromCharCode(32),sM=!1;function Sz(e,t){switch(e){case"keyup":return Bve.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xz(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xg=!1;function Fve(e,t){switch(e){case"compositionend":return xz(t);case"keypress":return t.which!==32?null:(sM=!0,aM);case"textInput":return e=t.data,e===aM&&sM?null:e;default:return null}}function zve(e,t){if(Xg)return e==="compositionend"||!Bk&&Sz(e,t)?(e=yz(),g4=Dk=_d=null,Xg=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dM(n)}}function kz(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kz(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ez(){for(var e=window,t=d5();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=d5(e.document)}return t}function $k(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Xve(e){var t=Ez(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kz(n.ownerDocument.documentElement,n)){if(r!==null&&$k(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=fM(n,o);var a=fM(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zg=null,h9=null,Jv=null,p9=!1;function hM(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;p9||Zg==null||Zg!==d5(r)||(r=Zg,"selectionStart"in r&&$k(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jv&&B2(Jv,r)||(Jv=r,r=y5(h9,"onSelect"),0em||(e.current=S9[em],S9[em]=null,em--)}function nr(e,t){em++,S9[em]=e.current,e.current=t}var Gd={},lo=af(Gd),Jo=af(!1),Gh=Gd;function Xm(e,t){var n=e.type.contextTypes;if(!n)return Gd;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function S5(){fr(Jo),fr(lo)}function SM(e,t,n){if(lo.current!==Gd)throw Error(Fe(168));nr(lo,t),nr(Jo,n)}function Dz(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Fe(108,U1e(e)||"Unknown",i));return Tr({},n,r)}function x5(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gd,Gh=lo.current,nr(lo,e),nr(Jo,Jo.current),!0}function xM(e,t,n){var r=e.stateNode;if(!r)throw Error(Fe(169));n?(e=Dz(e,t,Gh),r.__reactInternalMemoizedMergedChildContext=e,fr(Jo),fr(lo),nr(lo,e)):fr(Jo),nr(Jo,n)}var Hu=null,ux=!1,V6=!1;function Nz(e){Hu===null?Hu=[e]:Hu.push(e)}function l2e(e){ux=!0,Nz(e)}function sf(){if(!V6&&Hu!==null){V6=!0;var e=0,t=Bn;try{var n=Hu;for(Bn=1;e>=a,i-=a,Uu=1<<32-Ys(t)+i|n<j?(z=D,D=null):z=D.sibling;var V=m(E,D,T[j],A);if(V===null){D===null&&(D=z);break}e&&D&&V.alternate===null&&t(E,D),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V,D=z}if(j===T.length)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;jj?(z=D,D=null):z=D.sibling;var K=m(E,D,V.value,A);if(K===null){D===null&&(D=z);break}e&&D&&K.alternate===null&&t(E,D),_=o(K,_,j),R===null?I=K:R.sibling=K,R=K,D=z}if(V.done)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;!V.done;j++,V=T.next())V=h(E,V.value,A),V!==null&&(_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return yr&&dh(E,j),I}for(D=r(E,D);!V.done;j++,V=T.next())V=v(D,E,j,V.value,A),V!==null&&(e&&V.alternate!==null&&D.delete(V.key===null?j:V.key),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return e&&D.forEach(function(te){return t(E,te)}),yr&&dh(E,j),I}function k(E,_,T,A){if(typeof T=="object"&&T!==null&&T.type===Kg&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case tb:e:{for(var I=T.key,R=_;R!==null;){if(R.key===I){if(I=T.type,I===Kg){if(R.tag===7){n(E,R.sibling),_=i(R,T.props.children),_.return=E,E=_;break e}}else if(R.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===pd&&TM(I)===R.type){n(E,R.sibling),_=i(R,T.props),_.ref=Q1(E,R,T),_.return=E,E=_;break e}n(E,R);break}else t(E,R);R=R.sibling}T.type===Kg?(_=Fh(T.props.children,E.mode,A,T.key),_.return=E,E=_):(A=C4(T.type,T.key,T.props,null,E.mode,A),A.ref=Q1(E,_,T),A.return=E,E=A)}return a(E);case Yg:e:{for(R=T.key;_!==null;){if(_.key===R)if(_.tag===4&&_.stateNode.containerInfo===T.containerInfo&&_.stateNode.implementation===T.implementation){n(E,_.sibling),_=i(_,T.children||[]),_.return=E,E=_;break e}else{n(E,_);break}else t(E,_);_=_.sibling}_=Z6(T,E.mode,A),_.return=E,E=_}return a(E);case pd:return R=T._init,k(E,_,R(T._payload),A)}if(bv(T))return b(E,_,T,A);if(q1(T))return S(E,_,T,A);fb(E,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,_!==null&&_.tag===6?(n(E,_.sibling),_=i(_,T),_.return=E,E=_):(n(E,_),_=X6(T,E.mode,A),_.return=E,E=_),a(E)):n(E,_)}return k}var Qm=Wz(!0),Uz=Wz(!1),Ty={},Jl=af(Ty),H2=af(Ty),V2=af(Ty);function Ph(e){if(e===Ty)throw Error(Fe(174));return e}function Yk(e,t){switch(nr(V2,t),nr(H2,e),nr(Jl,Ty),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:r9(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=r9(t,e)}fr(Jl),nr(Jl,t)}function Jm(){fr(Jl),fr(H2),fr(V2)}function Gz(e){Ph(V2.current);var t=Ph(Jl.current),n=r9(t,e.type);t!==n&&(nr(H2,e),nr(Jl,n))}function Kk(e){H2.current===e&&(fr(Jl),fr(H2))}var _r=af(0);function P5(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var W6=[];function Xk(){for(var e=0;en?n:4,e(!0);var r=U6.transition;U6.transition={};try{e(!1),t()}finally{Bn=n,U6.transition=r}}function lH(){return ds().memoizedState}function f2e(e,t,n){var r=Dd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uH(e))cH(t,n);else if(n=Fz(e,t,n,r),n!==null){var i=To();Ks(n,e,r,i),dH(n,t,r)}}function h2e(e,t,n){var r=Dd(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uH(e))cH(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Js(s,a)){var l=t.interleaved;l===null?(i.next=i,Gk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Fz(e,t,i,r),n!==null&&(i=To(),Ks(n,e,r,i),dH(n,t,r))}}function uH(e){var t=e.alternate;return e===Pr||t!==null&&t===Pr}function cH(e,t){e2=T5=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function dH(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mk(e,n)}}var L5={readContext:cs,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useInsertionEffect:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useDeferredValue:Qi,useTransition:Qi,useMutableSource:Qi,useSyncExternalStore:Qi,useId:Qi,unstable_isNewReconciler:!1},p2e={readContext:cs,useCallback:function(e,t){return Dl().memoizedState=[e,t===void 0?null:t],e},useContext:cs,useEffect:AM,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,b4(4194308,4,rH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return b4(4194308,4,e,t)},useInsertionEffect:function(e,t){return b4(4,2,e,t)},useMemo:function(e,t){var n=Dl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=f2e.bind(null,Pr,e),[r.memoizedState,e]},useRef:function(e){var t=Dl();return e={current:e},t.memoizedState=e},useState:LM,useDebugValue:tE,useDeferredValue:function(e){return Dl().memoizedState=e},useTransition:function(){var e=LM(!1),t=e[0];return e=d2e.bind(null,e[1]),Dl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pr,i=Dl();if(yr){if(n===void 0)throw Error(Fe(407));n=n()}else{if(n=t(),Li===null)throw Error(Fe(349));Yh&30||Kz(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,AM(Zz.bind(null,r,o,e),[e]),r.flags|=2048,G2(9,Xz.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dl(),t=Li.identifierPrefix;if(yr){var n=Gu,r=Uu;n=(r&~(1<<32-Ys(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=W2++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[zl]=t,e[z2]=r,bH(e,t,!1,!1),t.stateNode=e;e:{switch(a=i9(n,r),n){case"dialog":or("cancel",e),or("close",e),i=r;break;case"iframe":case"object":case"embed":or("load",e),i=r;break;case"video":case"audio":for(i=0;it0&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304)}else{if(!r)if(e=P5(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),J1(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!yr)return Ji(t),null}else 2*Zr()-o.renderingStartTime>t0&&n!==1073741824&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Zr(),t.sibling=null,n=_r.current,nr(_r,r?n&1|2:n&1),t):(Ji(t),null);case 22:case 23:return sE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_a&1073741824&&(Ji(t),t.subtreeFlags&6&&(t.flags|=8192)):Ji(t),null;case 24:return null;case 25:return null}throw Error($e(156,t.tag))}function x2e(e,t){switch(zk(t),t.tag){case 1:return ea(t.type)&&S5(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jm(),fr(Jo),fr(so),Xk(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kk(t),null;case 13:if(fr(_r),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($e(340));Zm()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fr(_r),null;case 4:return Jm(),null;case 10:return Uk(t.type._context),null;case 22:case 23:return sE(),null;case 24:return null;default:return null}}var pb=!1,io=!1,w2e=typeof WeakSet=="function"?WeakSet:Set,ht=null;function im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Fr(e,t,r)}else n.current=null}function O9(e,t,n){try{n()}catch(r){Fr(e,t,r)}}var FM=!1;function C2e(e,t){if(p9=m5,e=kz(),Fk(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,d=0,h=e,m=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(s=a+i),h!==o||r!==0&&h.nodeType!==3||(l=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(v=h.firstChild)!==null;)m=h,h=v;for(;;){if(h===e)break t;if(m===n&&++u===i&&(s=a),m===o&&++d===r&&(l=a),(v=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(g9={focusedElem:e,selectionRange:n},m5=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){t=ht;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var S=b.memoizedProps,k=b.memoizedState,E=t.stateNode,_=E.getSnapshotBeforeUpdate(t.elementType===t.type?S:Ns(t.type,S),k);E.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($e(163))}}catch(A){Fr(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}return b=FM,FM=!1,b}function t2(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&O9(t,n,o)}i=i.next}while(i!==r)}}function dx(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function M9(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wH(e){var t=e.alternate;t!==null&&(e.alternate=null,wH(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zl],delete t[z2],delete t[y9],delete t[o2e],delete t[a2e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function CH(e){return e.tag===5||e.tag===3||e.tag===4}function $M(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||CH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function I9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=b5));else if(r!==4&&(e=e.child,e!==null))for(I9(e,t,n),e=e.sibling;e!==null;)I9(e,t,n),e=e.sibling}function R9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(R9(e,t,n),e=e.sibling;e!==null;)R9(e,t,n),e=e.sibling}var Hi=null,js=!1;function sd(e,t,n){for(n=n.child;n!==null;)_H(e,t,n),n=n.sibling}function _H(e,t,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(rx,n)}catch{}switch(n.tag){case 5:io||im(n,t);case 6:var r=Hi,i=js;Hi=null,sd(e,t,n),Hi=r,js=i,Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Hi.removeChild(n.stateNode));break;case 18:Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?z6(e.parentNode,n):e.nodeType===1&&z6(e,n),N2(e)):z6(Hi,n.stateNode));break;case 4:r=Hi,i=js,Hi=n.stateNode.containerInfo,js=!0,sd(e,t,n),Hi=r,js=i;break;case 0:case 11:case 14:case 15:if(!io&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&O9(n,t,a),i=i.next}while(i!==r)}sd(e,t,n);break;case 1:if(!io&&(im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Fr(n,t,s)}sd(e,t,n);break;case 21:sd(e,t,n);break;case 22:n.mode&1?(io=(r=io)||n.memoizedState!==null,sd(e,t,n),io=r):sd(e,t,n);break;default:sd(e,t,n)}}function zM(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new w2e),t.forEach(function(r){var i=M2e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Is(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Zr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*k2e(r/1960))-r,10e?16:e,kd===null)var r=!1;else{if(e=kd,kd=null,M5=0,pn&6)throw Error($e(331));var i=pn;for(pn|=4,ht=e.current;ht!==null;){var o=ht,a=o.child;if(ht.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lZr()-oE?Fh(e,0):iE|=n),ta(e,t)}function MH(e,t){t===0&&(e.mode&1?(t=ob,ob<<=1,!(ob&130023424)&&(ob=4194304)):t=1);var n=Po();e=rc(e,t),e!==null&&(ky(e,t,n),ta(e,n))}function O2e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),MH(e,n)}function M2e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error($e(314))}r!==null&&r.delete(t),MH(e,n)}var IH;IH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Jo.current)Xo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xo=!1,b2e(e,t,n);Xo=!!(e.flags&131072)}else Xo=!1,yr&&t.flags&1048576&&Nz(t,C5,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;S4(e,t),e=t.pendingProps;var i=Xm(t,so.current);Tm(t,n),i=Qk(null,t,r,e,i,n);var o=Jk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(r)?(o=!0,x5(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qk(t),i.updater=ux,t.stateNode=i,i._reactInternals=t,_9(t,r,e,n),t=P9(null,t,r,!0,o,n)):(t.tag=0,yr&&o&&$k(t),xo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(S4(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=R2e(r),e=Ns(r,e),i){case 0:t=E9(null,t,r,e,n);break e;case 1:t=NM(null,t,r,e,n);break e;case 11:t=RM(null,t,r,e,n);break e;case 14:t=DM(null,t,r,Ns(r.type,e),n);break e}throw Error($e(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),E9(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),NM(e,t,r,i,n);case 3:e:{if(mH(t),e===null)throw Error($e(387));r=t.pendingProps,o=t.memoizedState,i=o.element,$z(e,t),E5(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=e0(Error($e(423)),t),t=jM(e,t,r,n,i);break e}else if(r!==i){i=e0(Error($e(424)),t),t=jM(e,t,r,n,i);break e}else for(Ea=Md(t.stateNode.containerInfo.firstChild),La=t,yr=!0,Fs=null,n=Wz(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zm(),r===i){t=ic(e,t,n);break e}xo(e,t,r,n)}t=t.child}return t;case 5:return Uz(t),e===null&&x9(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,m9(r,i)?a=null:o!==null&&m9(r,o)&&(t.flags|=32),gH(e,t),xo(e,t,a,n),t.child;case 6:return e===null&&x9(t),null;case 13:return vH(e,t,n);case 4:return Yk(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qm(t,null,r,n):xo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),RM(e,t,r,i,n);case 7:return xo(e,t,t.pendingProps,n),t.child;case 8:return xo(e,t,t.pendingProps.children,n),t.child;case 12:return xo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,nr(_5,r._currentValue),r._currentValue=a,o!==null)if(Js(o.value,a)){if(o.children===i.children&&!Jo.current){t=ic(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qu(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),w9(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error($e(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),w9(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}xo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Tm(t,n),i=cs(i),r=r(i),t.flags|=1,xo(e,t,r,n),t.child;case 14:return r=t.type,i=Ns(r,t.pendingProps),i=Ns(r.type,i),DM(e,t,r,i,n);case 15:return hH(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),S4(e,t),t.tag=1,ea(r)?(e=!0,x5(t)):e=!1,Tm(t,n),Hz(t,r,i),_9(t,r,i,n),P9(null,t,r,!0,e,n);case 19:return yH(e,t,n);case 22:return pH(e,t,n)}throw Error($e(156,t.tag))};function RH(e,t){return az(e,t)}function I2e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ns(e,t,n,r){return new I2e(e,t,n,r)}function uE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function R2e(e){if(typeof e=="function")return uE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tk)return 11;if(e===Lk)return 14}return 2}function Nd(e,t){var n=e.alternate;return n===null?(n=ns(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function C4(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")uE(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kg:return $h(n.children,i,o,t);case Pk:a=8,i|=8;break;case Y7:return e=ns(12,n,t,i|2),e.elementType=Y7,e.lanes=o,e;case K7:return e=ns(13,n,t,i),e.elementType=K7,e.lanes=o,e;case X7:return e=ns(19,n,t,i),e.elementType=X7,e.lanes=o,e;case V$:return hx(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case z$:a=10;break e;case H$:a=9;break e;case Tk:a=11;break e;case Lk:a=14;break e;case pd:a=16,r=null;break e}throw Error($e(130,e==null?e:typeof e,""))}return t=ns(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function $h(e,t,n,r){return e=ns(7,e,r,t),e.lanes=n,e}function hx(e,t,n,r){return e=ns(22,e,r,t),e.elementType=V$,e.lanes=n,e.stateNode={isHidden:!1},e}function K6(e,t,n){return e=ns(6,e,null,t),e.lanes=n,e}function X6(e,t,n){return t=ns(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function D2e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=A6(0),this.expirationTimes=A6(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=A6(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cE(e,t,n,r,i,o,a,s,l){return e=new D2e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ns(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qk(o),e}function N2e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Na})(j1e);const vb=d_(Qs);var[z2e,H2e]=Mn({strict:!1,name:"PortalManagerContext"});function BH(e){const{children:t,zIndex:n}=e;return N.createElement(z2e,{value:{zIndex:n}},t)}BH.displayName="PortalManager";var[FH,V2e]=Mn({strict:!1,name:"PortalContext"}),pE="chakra-portal",W2e=".chakra-portal",U2e=e=>N.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),G2e=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=w.useState(null),o=w.useRef(null),[,a]=w.useState({});w.useEffect(()=>a({}),[]);const s=V2e(),l=H2e();Ws(()=>{if(!r)return;const d=r.ownerDocument,h=t?s??d.body:d.body;if(!h)return;o.current=d.createElement("div"),o.current.className=pE,h.appendChild(o.current),a({});const m=o.current;return()=>{h.contains(m)&&h.removeChild(m)}},[r]);const u=l!=null&&l.zIndex?N.createElement(U2e,{zIndex:l==null?void 0:l.zIndex},n):n;return o.current?Qs.createPortal(N.createElement(FH,{value:o.current},u),o.current):N.createElement("span",{ref:d=>{d&&i(d)}})},q2e=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=w.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=pE),l},[i]),[,s]=w.useState({});return Ws(()=>s({}),[]),Ws(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Qs.createPortal(N.createElement(FH,{value:r?a:null},t),a):null};function ap(e){const{containerRef:t,...n}=e;return t?N.createElement(q2e,{containerRef:t,...n}):N.createElement(G2e,{...n})}ap.defaultProps={appendToParentPortal:!0};ap.className=pE;ap.selector=W2e;ap.displayName="Portal";var Y2e=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eg=new WeakMap,yb=new WeakMap,bb={},Z6=0,$H=function(e){return e&&(e.host||$H(e.parentNode))},K2e=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=$H(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return Boolean(n)})},X2e=function(e,t,n,r){var i=K2e(t,Array.isArray(e)?e:[e]);bb[n]||(bb[n]=new WeakMap);var o=bb[n],a=[],s=new Set,l=new Set(i),u=function(h){!h||s.has(h)||(s.add(h),u(h.parentNode))};i.forEach(u);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))d(m);else{var v=m.getAttribute(r),b=v!==null&&v!=="false",S=(Eg.get(m)||0)+1,k=(o.get(m)||0)+1;Eg.set(m,S),o.set(m,k),a.push(m),S===1&&b&&yb.set(m,!0),k===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}})};return d(t),s.clear(),Z6++,function(){a.forEach(function(h){var m=Eg.get(h)-1,v=o.get(h)-1;Eg.set(h,m),o.set(h,v),m||(yb.has(h)||h.removeAttribute(r),yb.delete(h)),v||h.removeAttribute(n)}),Z6--,Z6||(Eg=new WeakMap,Eg=new WeakMap,yb=new WeakMap,bb={})}},zH=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||Y2e(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),X2e(r,i,n,"aria-hidden")):function(){return null}};function gE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var jn={},Z2e={get exports(){return jn},set exports(e){jn=e}},Q2e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",J2e=Q2e,eye=J2e;function HH(){}function VH(){}VH.resetWarningCache=HH;var tye=function(){function e(r,i,o,a,s,l){if(l!==eye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:VH,resetWarningCache:HH};return n.PropTypes=n,n};Z2e.exports=tye();var F9="data-focus-lock",WH="data-focus-lock-disabled",nye="data-no-focus-lock",rye="data-autofocus-inside",iye="data-no-autofocus";function oye(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function aye(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function UH(e,t){return aye(t||null,function(n){return e.forEach(function(r){return oye(r,n)})})}var Q6={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function GH(e){return e}function qH(e,t){t===void 0&&(t=GH);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return i}function mE(e,t){return t===void 0&&(t=GH),qH(e,t)}function YH(e){e===void 0&&(e={});var t=qH(null);return t.options=$l({async:!0,ssr:!1},e),t}var KH=function(e){var t=e.sideCar,n=FF(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,$l({},n))};KH.isSideCarExport=!0;function sye(e,t){return e.useMedium(t),KH}var XH=mE({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),ZH=mE(),lye=mE(),uye=YH({async:!0}),cye=[],vE=w.forwardRef(function(t,n){var r,i=w.useState(),o=i[0],a=i[1],s=w.useRef(),l=w.useRef(!1),u=w.useRef(null),d=t.children,h=t.disabled,m=t.noFocusGuards,v=t.persistentFocus,b=t.crossFrame,S=t.autoFocus;t.allowTextSelection;var k=t.group,E=t.className,_=t.whiteList,T=t.hasPositiveIndices,A=t.shards,I=A===void 0?cye:A,R=t.as,D=R===void 0?"div":R,j=t.lockProps,z=j===void 0?{}:j,V=t.sideCar,K=t.returnFocus,te=t.focusOptions,q=t.onActivation,F=t.onDeactivation,U=w.useState({}),X=U[0],Z=w.useCallback(function(){u.current=u.current||document&&document.activeElement,s.current&&q&&q(s.current),l.current=!0},[q]),W=w.useCallback(function(){l.current=!1,F&&F(s.current)},[F]);w.useEffect(function(){h||(u.current=null)},[]);var Q=w.useCallback(function(tt){var _e=u.current;if(_e&&_e.focus){var lt=typeof K=="function"?K(_e):K;if(lt){var wt=typeof lt=="object"?lt:void 0;u.current=null,tt?Promise.resolve().then(function(){return _e.focus(wt)}):_e.focus(wt)}}},[K]),ie=w.useCallback(function(tt){l.current&&XH.useMedium(tt)},[]),fe=ZH.useMedium,Se=w.useCallback(function(tt){s.current!==tt&&(s.current=tt,a(tt))},[]),Te=bn((r={},r[WH]=h&&"disabled",r[F9]=k,r),z),ye=m!==!0,He=ye&&m!=="tail",Ne=UH([n,Se]);return w.createElement(w.Fragment,null,ye&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:Q6}),T?w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:Q6}):null],!h&&w.createElement(V,{id:X,sideCar:uye,observed:o,disabled:h,persistentFocus:v,crossFrame:b,autoFocus:S,whiteList:_,shards:I,onActivation:Z,onDeactivation:W,returnFocus:Q,focusOptions:te}),w.createElement(D,bn({ref:Ne},Te,{className:E,onBlur:fe,onFocus:ie}),d),He&&w.createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:Q6}))});vE.propTypes={};vE.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const QH=vE;function $9(e,t){return $9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$9(e,t)}function yE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$9(e,t)}function JH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dye(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function s(){a=e(o.map(function(u){return u.props})),t(a)}var l=function(u){yE(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return a};var h=d.prototype;return h.componentDidMount=function(){o.push(this),s()},h.componentDidUpdate=function(){s()},h.componentWillUnmount=function(){var v=o.indexOf(this);o.splice(v,1),s()},h.render=function(){return N.createElement(i,this.props)},d}(w.PureComponent);return JH(l,"displayName","SideEffect("+n(i)+")"),l}}var fu=function(e){for(var t=Array(e.length),n=0;n=0}).sort(bye)},Sye=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],SE=Sye.join(","),xye="".concat(SE,", [data-focus-guard]"),lV=function(e,t){var n;return fu(((n=e.shadowRoot)===null||n===void 0?void 0:n.children)||e.children).reduce(function(r,i){return r.concat(i.matches(t?xye:SE)?[i]:[],lV(i))},[])},xE=function(e,t){return e.reduce(function(n,r){return n.concat(lV(r,t),r.parentNode?fu(r.parentNode.querySelectorAll(SE)).filter(function(i){return i===r}):[])},[])},wye=function(e){var t=e.querySelectorAll("[".concat(rye,"]"));return fu(t).map(function(n){return xE([n])}).reduce(function(n,r){return n.concat(r)},[])},wE=function(e,t){return fu(e).filter(function(n){return nV(t,n)}).filter(function(n){return mye(n)})},KM=function(e,t){return t===void 0&&(t=new Map),fu(e).filter(function(n){return rV(t,n)})},H9=function(e,t,n){return sV(wE(xE(e,n),t),!0,n)},XM=function(e,t){return sV(wE(xE(e),t),!1)},Cye=function(e,t){return wE(wye(e),t)},Y2=function(e,t){return e.shadowRoot?Y2(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:fu(e.children).some(function(n){return Y2(n,t)})},_ye=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},uV=function(e){return e.parentNode?uV(e.parentNode):e},CE=function(e){var t=z9(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(F9);return n.push.apply(n,i?_ye(fu(uV(r).querySelectorAll("[".concat(F9,'="').concat(i,'"]:not([').concat(WH,'="disabled"])')))):[r]),n},[])},cV=function(e){return e.activeElement?e.activeElement.shadowRoot?cV(e.activeElement.shadowRoot):e.activeElement:void 0},_E=function(){return document.activeElement?document.activeElement.shadowRoot?cV(document.activeElement.shadowRoot):document.activeElement:void 0},kye=function(e){return e===document.activeElement},Eye=function(e){return Boolean(fu(e.querySelectorAll("iframe")).some(function(t){return kye(t)}))},dV=function(e){var t=document&&_E();return!t||t.dataset&&t.dataset.focusGuard?!1:CE(e).some(function(n){return Y2(n,t)||Eye(n)})},Pye=function(){var e=document&&_E();return e?fu(document.querySelectorAll("[".concat(nye,"]"))).some(function(t){return Y2(t,e)}):!1},Tye=function(e,t){return t.filter(aV).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},kE=function(e,t){return aV(e)&&e.name?Tye(e,t):e},Lye=function(e){var t=new Set;return e.forEach(function(n){return t.add(kE(n,e))}),e.filter(function(n){return t.has(n)})},ZM=function(e){return e[0]&&e.length>1?kE(e[0],e):e[0]},QM=function(e,t){return e.length>1?e.indexOf(kE(e[t],e)):t},fV="NEW_FOCUS",Aye=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=bE(n);if(!(n&&e.indexOf(n)>=0)){var l=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):l,d=r?e.indexOf(r):-1,h=l-u,m=t.indexOf(o),v=t.indexOf(a),b=Lye(t),S=n!==void 0?b.indexOf(n):-1,k=S-(r?b.indexOf(r):l),E=QM(e,0),_=QM(e,i-1);if(l===-1||d===-1)return fV;if(!h&&d>=0)return d;if(l<=m&&s&&Math.abs(h)>1)return _;if(l>=v&&s&&Math.abs(h)>1)return E;if(h&&Math.abs(k)>1)return d;if(l<=m)return _;if(l>v)return E;if(h)return Math.abs(h)>1?d:(i+d+h)%i}},Oye=function(e){return function(t){var n,r=(n=iV(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Mye=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=KM(r.filter(Oye(n)));return i&&i.length?ZM(i):ZM(KM(t))},V9=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&V9(e.parentNode.host||e.parentNode,t),t},J6=function(e,t){for(var n=V9(e),r=V9(t),i=0;i=0)return o}return!1},hV=function(e,t,n){var r=z9(e),i=z9(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(s){a=J6(a||s,s)||a,n.filter(Boolean).forEach(function(l){var u=J6(o,l);u&&(!a||Y2(u,a)?a=u:a=J6(u,a))})}),a},Iye=function(e,t){return e.reduce(function(n,r){return n.concat(Cye(r,t))},[])},Rye=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(yye)},Dye=function(e,t){var n=document&&_E(),r=CE(e).filter(D5),i=hV(n||e,e,r),o=new Map,a=XM(r,o),s=H9(r,o).filter(function(m){var v=m.node;return D5(v)});if(!(!s[0]&&(s=a,!s[0]))){var l=XM([i],o).map(function(m){var v=m.node;return v}),u=Rye(l,s),d=u.map(function(m){var v=m.node;return v}),h=Aye(d,l,n,t);return h===fV?{node:Mye(a,d,Iye(r,o))}:h===void 0?h:u[h]}},Nye=function(e){var t=CE(e).filter(D5),n=hV(e,e,t),r=new Map,i=H9([n],r,!0),o=H9(t,r).filter(function(a){var s=a.node;return D5(s)}).map(function(a){var s=a.node;return s});return i.map(function(a){var s=a.node,l=a.index;return{node:s,index:l,lockItem:o.indexOf(s)>=0,guard:bE(s)}})},jye=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},eC=0,tC=!1,Bye=function(e,t,n){n===void 0&&(n={});var r=Dye(e,t);if(!tC&&r){if(eC>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),tC=!0,setTimeout(function(){tC=!1},1);return}eC++,jye(r.node,n.focusOptions),eC--}};const pV=Bye;function gV(e){var t=window,n=t.setImmediate;typeof n<"u"?n(e):setTimeout(e,1)}var Fye=function(){return document&&document.activeElement===document.body},$ye=function(){return Fye()||Pye()},Am=null,am=null,Om=null,K2=!1,zye=function(){return!0},Hye=function(t){return(Am.whiteList||zye)(t)},Vye=function(t,n){Om={observerNode:t,portaledElement:n}},Wye=function(t){return Om&&Om.portaledElement===t};function JM(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var Uye=function(t){return t&&"current"in t?t.current:t},Gye=function(t){return t?Boolean(K2):K2==="meanwhile"},qye=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Yye=function(t,n){return n.some(function(r){return qye(t,r,r)})},N5=function(){var t=!1;if(Am){var n=Am,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||Om&&Om.portaledElement,d=document&&document.activeElement;if(u){var h=[u].concat(a.map(Uye).filter(Boolean));if((!d||Hye(d))&&(i||Gye(s)||!$ye()||!am&&o)&&(u&&!(dV(h)||d&&Yye(d,h)||Wye(d))&&(document&&!am&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(t=pV(h,am,{focusOptions:l}),Om={})),K2=!1,am=document&&document.activeElement),document){var m=document&&document.activeElement,v=Nye(h),b=v.map(function(S){var k=S.node;return k}).indexOf(m);b>-1&&(v.filter(function(S){var k=S.guard,E=S.node;return k&&E.dataset.focusAutoGuard}).forEach(function(S){var k=S.node;return k.removeAttribute("tabIndex")}),JM(b,v.length,1,v),JM(b,-1,-1,v))}}}return t},mV=function(t){N5()&&t&&(t.stopPropagation(),t.preventDefault())},EE=function(){return gV(N5)},Kye=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Vye(r,n)},Xye=function(){return null},vV=function(){K2="just",setTimeout(function(){K2="meanwhile"},0)},Zye=function(){document.addEventListener("focusin",mV),document.addEventListener("focusout",EE),window.addEventListener("blur",vV)},Qye=function(){document.removeEventListener("focusin",mV),document.removeEventListener("focusout",EE),window.removeEventListener("blur",vV)};function Jye(e){return e.filter(function(t){var n=t.disabled;return!n})}function e3e(e){var t=e.slice(-1)[0];t&&!Am&&Zye();var n=Am,r=n&&t&&t.id===n.id;Am=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(am=null,(!r||n.observed!==t.observed)&&t.onActivation(),N5(),gV(N5)):(Qye(),am=null)}XH.assignSyncMedium(Kye);ZH.assignMedium(EE);lye.assignMedium(function(e){return e({moveFocusInside:pV,focusInside:dV})});const t3e=dye(Jye,e3e)(Xye);var yV=w.forwardRef(function(t,n){return w.createElement(QH,bn({sideCar:t3e,ref:n},t))}),bV=QH.propTypes||{};bV.sideCar;gE(bV,["sideCar"]);yV.propTypes={};const n3e=yV;var SV=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=w.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&k$(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),h=w.useCallback(()=>{var v;(v=n==null?void 0:n.current)==null||v.focus()},[n]),m=i&&!n;return N.createElement(n3e,{crossFrame:u,persistentFocus:l,autoFocus:s,disabled:a,onActivation:d,onDeactivation:h,returnFocus:m},o)};SV.displayName="FocusLock";var _4="right-scroll-bar-position",k4="width-before-scroll-bar",r3e="with-scroll-bars-hidden",i3e="--removed-body-scroll-bar-size",xV=YH(),nC=function(){},yx=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:nC,onWheelCapture:nC,onTouchMoveCapture:nC}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,m=e.sideCar,v=e.noIsolation,b=e.inert,S=e.allowPinchZoom,k=e.as,E=k===void 0?"div":k,_=FF(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),T=m,A=UH([n,t]),I=$l($l({},_),i);return w.createElement(w.Fragment,null,d&&w.createElement(T,{sideCar:xV,removeScrollBar:u,shards:h,noIsolation:v,inert:b,setCallbacks:o,allowPinchZoom:!!S,lockRef:n}),a?w.cloneElement(w.Children.only(s),$l($l({},I),{ref:A})):w.createElement(E,$l({},I,{className:l,ref:A}),s))});yx.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};yx.classNames={fullWidth:k4,zeroRight:_4};var o3e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function a3e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o3e();return t&&e.setAttribute("nonce",t),e}function s3e(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function l3e(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var u3e=function(){var e=0,t=null;return{add:function(n){e==0&&(t=a3e())&&(s3e(t,n),l3e(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c3e=function(){var e=u3e();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wV=function(){var e=c3e(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},d3e={left:0,top:0,right:0,gap:0},rC=function(e){return parseInt(e||"",10)||0},f3e=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[rC(n),rC(r),rC(i)]},h3e=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return d3e;var t=f3e(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},p3e=wV(),g3e=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` - .`.concat(r3e,` { +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Y6(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function E9(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var v2e=typeof WeakMap=="function"?WeakMap:Map;function fH(e,t,n){n=qu(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){O5||(O5=!0,N9=r),E9(e,t)},n}function hH(e,t,n){n=qu(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){E9(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){E9(e,t),typeof r!="function"&&(Rd===null?Rd=new Set([this]):Rd.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function OM(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new v2e;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=O2e.bind(null,e,t,n),t.then(e,e))}function MM(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function IM(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qu(-1,1),t.tag=2,Id(n,t,1))),n.lanes|=1),e)}var y2e=uc.ReactCurrentOwner,Xo=!1;function wo(e,t,n,r){t.child=e===null?Uz(t,null,n,r):Qm(t,e.child,n,r)}function RM(e,t,n,r,i){n=n.render;var o=t.ref;return Tm(t,i),r=Qk(e,t,n,r,o,i),n=Jk(),e!==null&&!Xo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ic(e,t,i)):(yr&&n&&Fk(t),t.flags|=1,wo(e,t,r,i),t.child)}function DM(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!uE(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,pH(e,t,o,r,i)):(e=C4(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:B2,n(a,r)&&e.ref===t.ref)return ic(e,t,i)}return t.flags|=1,e=Nd(o,r),e.ref=t.ref,e.return=t,t.child=e}function pH(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(B2(o,r)&&e.ref===t.ref)if(Xo=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Xo=!0);else return t.lanes=e.lanes,ic(e,t,i)}return P9(e,t,n,r,i)}function gH(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},nr(om,_a),_a|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,nr(om,_a),_a|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,nr(om,_a),_a|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,nr(om,_a),_a|=r;return wo(e,t,i,n),t.child}function mH(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function P9(e,t,n,r,i){var o=ea(n)?Gh:lo.current;return o=Xm(t,o),Tm(t,i),n=Qk(e,t,n,r,o,i),r=Jk(),e!==null&&!Xo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ic(e,t,i)):(yr&&r&&Fk(t),t.flags|=1,wo(e,t,n,i),t.child)}function NM(e,t,n,r,i){if(ea(n)){var o=!0;x5(t)}else o=!1;if(Tm(t,i),t.stateNode===null)S4(e,t),Vz(t,n,r),k9(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=cs(u):(u=ea(n)?Gh:lo.current,u=Xm(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";h||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&PM(t,a,r,u),gd=!1;var m=t.memoizedState;a.state=m,E5(t,r,a,i),l=t.memoizedState,s!==r||m!==l||Jo.current||gd?(typeof d=="function"&&(_9(t,n,d,r),l=t.memoizedState),(s=gd||EM(t,n,s,r,m,l,u))?(h||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,zz(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ns(t.type,s),a.props=u,h=t.pendingProps,m=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=cs(l):(l=ea(n)?Gh:lo.current,l=Xm(t,l));var v=n.getDerivedStateFromProps;(d=typeof v=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==h||m!==l)&&PM(t,a,r,l),gd=!1,m=t.memoizedState,a.state=m,E5(t,r,a,i);var b=t.memoizedState;s!==h||m!==b||Jo.current||gd?(typeof v=="function"&&(_9(t,n,v,r),b=t.memoizedState),(u=gd||EM(t,n,u,r,m,b,l)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,b,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,b,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),a.props=r,a.state=b,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return T9(e,t,n,r,o,i)}function T9(e,t,n,r,i,o){mH(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&xM(t,n,!1),ic(e,t,o);r=t.stateNode,y2e.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Qm(t,e.child,null,o),t.child=Qm(t,null,s,o)):wo(e,t,s,o),t.memoizedState=r.state,i&&xM(t,n,!0),t.child}function vH(e){var t=e.stateNode;t.pendingContext?SM(e,t.pendingContext,t.pendingContext!==t.context):t.context&&SM(e,t.context,!1),Yk(e,t.containerInfo)}function jM(e,t,n,r,i){return Zm(),Hk(i),t.flags|=256,wo(e,t,n,r),t.child}var L9={dehydrated:null,treeContext:null,retryLane:0};function A9(e){return{baseLanes:e,cachePool:null,transitions:null}}function yH(e,t,n){var r=t.pendingProps,i=_r.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),nr(_r,i&1),e===null)return w9(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=px(a,r,0,null),e=Fh(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=A9(n),t.memoizedState=L9,e):nE(t,a));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return b2e(e,t,a,r,s,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Nd(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=Nd(s,o):(o=Fh(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?A9(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=L9,r}return o=e.child,e=o.sibling,r=Nd(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function nE(e,t){return t=px({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function hb(e,t,n,r){return r!==null&&Hk(r),Qm(t,e.child,null,n),e=nE(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function b2e(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=Y6(Error(Fe(422))),hb(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=px({mode:"visible",children:r.children},i,0,null),o=Fh(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Qm(t,e.child,null,a),t.child.memoizedState=A9(a),t.memoizedState=L9,o);if(!(t.mode&1))return hb(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(Fe(419)),r=Y6(o,r,void 0),hb(e,t,a,r)}if(s=(a&e.childLanes)!==0,Xo||s){if(r=Li,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,rc(e,i),Ks(r,e,i,-1))}return lE(),r=Y6(Error(Fe(421))),hb(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=M2e.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ea=Md(i.nextSibling),La=t,yr=!0,$s=null,e!==null&&(Za[Qa++]=Uu,Za[Qa++]=Gu,Za[Qa++]=qh,Uu=e.id,Gu=e.overflow,qh=t),t=nE(t,r.children),t.flags|=4096,t)}function BM(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),C9(e.return,t,n)}function K6(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function bH(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(wo(e,t,r.children,n),r=_r.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&BM(e,n,t);else if(e.tag===19)BM(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(nr(_r,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&P5(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),K6(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&P5(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}K6(t,!0,n,null,o);break;case"together":K6(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function S4(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ic(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kh|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Fe(153));if(t.child!==null){for(e=t.child,n=Nd(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Nd(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function S2e(e,t,n){switch(t.tag){case 3:vH(t),Zm();break;case 5:Gz(t);break;case 1:ea(t.type)&&x5(t);break;case 4:Yk(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;nr(_5,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(nr(_r,_r.current&1),t.flags|=128,null):n&t.child.childLanes?yH(e,t,n):(nr(_r,_r.current&1),e=ic(e,t,n),e!==null?e.sibling:null);nr(_r,_r.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return bH(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),nr(_r,_r.current),r)break;return null;case 22:case 23:return t.lanes=0,gH(e,t,n)}return ic(e,t,n)}var SH,O9,xH,wH;SH=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};O9=function(){};xH=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ph(Jl.current);var o=null;switch(n){case"input":i=J7(e,i),r=J7(e,r),o=[];break;case"select":i=Tr({},i,{value:void 0}),r=Tr({},r,{value:void 0}),o=[];break;case"textarea":i=n9(e,i),r=n9(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=b5)}i9(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(O2.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(O2.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&or("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};wH=function(e,t,n,r){n!==r&&(t.flags|=4)};function J1(e,t){if(!yr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ji(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function x2e(e,t,n){var r=t.pendingProps;switch(zk(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ji(t),null;case 1:return ea(t.type)&&S5(),Ji(t),null;case 3:return r=t.stateNode,Jm(),fr(Jo),fr(lo),Xk(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(db(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$s!==null&&($9($s),$s=null))),O9(e,t),Ji(t),null;case 5:Kk(t);var i=Ph(V2.current);if(n=t.type,e!==null&&t.stateNode!=null)xH(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Fe(166));return Ji(t),null}if(e=Ph(Jl.current),db(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[zl]=t,r[z2]=o,e=(t.mode&1)!==0,n){case"dialog":or("cancel",r),or("close",r);break;case"iframe":case"object":case"embed":or("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[zl]=t,e[z2]=r,SH(e,t,!1,!1),t.stateNode=e;e:{switch(a=o9(n,r),n){case"dialog":or("cancel",e),or("close",e),i=r;break;case"iframe":case"object":case"embed":or("load",e),i=r;break;case"video":case"audio":for(i=0;it0&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304)}else{if(!r)if(e=P5(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),J1(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!yr)return Ji(t),null}else 2*Zr()-o.renderingStartTime>t0&&n!==1073741824&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Zr(),t.sibling=null,n=_r.current,nr(_r,r?n&1|2:n&1),t):(Ji(t),null);case 22:case 23:return sE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_a&1073741824&&(Ji(t),t.subtreeFlags&6&&(t.flags|=8192)):Ji(t),null;case 24:return null;case 25:return null}throw Error(Fe(156,t.tag))}function w2e(e,t){switch(zk(t),t.tag){case 1:return ea(t.type)&&S5(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jm(),fr(Jo),fr(lo),Xk(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kk(t),null;case 13:if(fr(_r),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Fe(340));Zm()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fr(_r),null;case 4:return Jm(),null;case 10:return Uk(t.type._context),null;case 22:case 23:return sE(),null;case 24:return null;default:return null}}var pb=!1,io=!1,C2e=typeof WeakSet=="function"?WeakSet:Set,ht=null;function im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$r(e,t,r)}else n.current=null}function M9(e,t,n){try{n()}catch(r){$r(e,t,r)}}var $M=!1;function _2e(e,t){if(g9=m5,e=Ez(),$k(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,d=0,h=e,m=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(s=a+i),h!==o||r!==0&&h.nodeType!==3||(l=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(v=h.firstChild)!==null;)m=h,h=v;for(;;){if(h===e)break t;if(m===n&&++u===i&&(s=a),m===o&&++d===r&&(l=a),(v=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(m9={focusedElem:e,selectionRange:n},m5=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){t=ht;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var S=b.memoizedProps,k=b.memoizedState,E=t.stateNode,_=E.getSnapshotBeforeUpdate(t.elementType===t.type?S:Ns(t.type,S),k);E.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Fe(163))}}catch(A){$r(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}return b=$M,$M=!1,b}function t2(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&M9(t,n,o)}i=i.next}while(i!==r)}}function fx(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function I9(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function CH(e){var t=e.alternate;t!==null&&(e.alternate=null,CH(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zl],delete t[z2],delete t[b9],delete t[a2e],delete t[s2e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function _H(e){return e.tag===5||e.tag===3||e.tag===4}function FM(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_H(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function R9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=b5));else if(r!==4&&(e=e.child,e!==null))for(R9(e,t,n),e=e.sibling;e!==null;)R9(e,t,n),e=e.sibling}function D9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(D9(e,t,n),e=e.sibling;e!==null;)D9(e,t,n),e=e.sibling}var Hi=null,js=!1;function sd(e,t,n){for(n=n.child;n!==null;)kH(e,t,n),n=n.sibling}function kH(e,t,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(ix,n)}catch{}switch(n.tag){case 5:io||im(n,t);case 6:var r=Hi,i=js;Hi=null,sd(e,t,n),Hi=r,js=i,Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Hi.removeChild(n.stateNode));break;case 18:Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?H6(e.parentNode,n):e.nodeType===1&&H6(e,n),N2(e)):H6(Hi,n.stateNode));break;case 4:r=Hi,i=js,Hi=n.stateNode.containerInfo,js=!0,sd(e,t,n),Hi=r,js=i;break;case 0:case 11:case 14:case 15:if(!io&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&M9(n,t,a),i=i.next}while(i!==r)}sd(e,t,n);break;case 1:if(!io&&(im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){$r(n,t,s)}sd(e,t,n);break;case 21:sd(e,t,n);break;case 22:n.mode&1?(io=(r=io)||n.memoizedState!==null,sd(e,t,n),io=r):sd(e,t,n);break;default:sd(e,t,n)}}function zM(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new C2e),t.forEach(function(r){var i=I2e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Is(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Zr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*E2e(r/1960))-r,10e?16:e,kd===null)var r=!1;else{if(e=kd,kd=null,M5=0,pn&6)throw Error(Fe(331));var i=pn;for(pn|=4,ht=e.current;ht!==null;){var o=ht,a=o.child;if(ht.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lZr()-oE?$h(e,0):iE|=n),ta(e,t)}function IH(e,t){t===0&&(e.mode&1?(t=ob,ob<<=1,!(ob&130023424)&&(ob=4194304)):t=1);var n=To();e=rc(e,t),e!==null&&(ky(e,t,n),ta(e,n))}function M2e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),IH(e,n)}function I2e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Fe(314))}r!==null&&r.delete(t),IH(e,n)}var RH;RH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Jo.current)Xo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xo=!1,S2e(e,t,n);Xo=!!(e.flags&131072)}else Xo=!1,yr&&t.flags&1048576&&jz(t,C5,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;S4(e,t),e=t.pendingProps;var i=Xm(t,lo.current);Tm(t,n),i=Qk(null,t,r,e,i,n);var o=Jk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(r)?(o=!0,x5(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qk(t),i.updater=cx,t.stateNode=i,i._reactInternals=t,k9(t,r,e,n),t=T9(null,t,r,!0,o,n)):(t.tag=0,yr&&o&&Fk(t),wo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(S4(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=D2e(r),e=Ns(r,e),i){case 0:t=P9(null,t,r,e,n);break e;case 1:t=NM(null,t,r,e,n);break e;case 11:t=RM(null,t,r,e,n);break e;case 14:t=DM(null,t,r,Ns(r.type,e),n);break e}throw Error(Fe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),P9(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),NM(e,t,r,i,n);case 3:e:{if(vH(t),e===null)throw Error(Fe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,zz(e,t),E5(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=e0(Error(Fe(423)),t),t=jM(e,t,r,n,i);break e}else if(r!==i){i=e0(Error(Fe(424)),t),t=jM(e,t,r,n,i);break e}else for(Ea=Md(t.stateNode.containerInfo.firstChild),La=t,yr=!0,$s=null,n=Uz(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zm(),r===i){t=ic(e,t,n);break e}wo(e,t,r,n)}t=t.child}return t;case 5:return Gz(t),e===null&&w9(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,v9(r,i)?a=null:o!==null&&v9(r,o)&&(t.flags|=32),mH(e,t),wo(e,t,a,n),t.child;case 6:return e===null&&w9(t),null;case 13:return yH(e,t,n);case 4:return Yk(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qm(t,null,r,n):wo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),RM(e,t,r,i,n);case 7:return wo(e,t,t.pendingProps,n),t.child;case 8:return wo(e,t,t.pendingProps.children,n),t.child;case 12:return wo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,nr(_5,r._currentValue),r._currentValue=a,o!==null)if(Js(o.value,a)){if(o.children===i.children&&!Jo.current){t=ic(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qu(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),C9(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Fe(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),C9(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}wo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Tm(t,n),i=cs(i),r=r(i),t.flags|=1,wo(e,t,r,n),t.child;case 14:return r=t.type,i=Ns(r,t.pendingProps),i=Ns(r.type,i),DM(e,t,r,i,n);case 15:return pH(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),S4(e,t),t.tag=1,ea(r)?(e=!0,x5(t)):e=!1,Tm(t,n),Vz(t,r,i),k9(t,r,i,n),T9(null,t,r,!0,e,n);case 19:return bH(e,t,n);case 22:return gH(e,t,n)}throw Error(Fe(156,t.tag))};function DH(e,t){return sz(e,t)}function R2e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ns(e,t,n,r){return new R2e(e,t,n,r)}function uE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function D2e(e){if(typeof e=="function")return uE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tk)return 11;if(e===Lk)return 14}return 2}function Nd(e,t){var n=e.alternate;return n===null?(n=ns(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function C4(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")uE(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kg:return Fh(n.children,i,o,t);case Pk:a=8,i|=8;break;case K7:return e=ns(12,n,t,i|2),e.elementType=K7,e.lanes=o,e;case X7:return e=ns(13,n,t,i),e.elementType=X7,e.lanes=o,e;case Z7:return e=ns(19,n,t,i),e.elementType=Z7,e.lanes=o,e;case WF:return px(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case HF:a=10;break e;case VF:a=9;break e;case Tk:a=11;break e;case Lk:a=14;break e;case pd:a=16,r=null;break e}throw Error(Fe(130,e==null?e:typeof e,""))}return t=ns(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Fh(e,t,n,r){return e=ns(7,e,r,t),e.lanes=n,e}function px(e,t,n,r){return e=ns(22,e,r,t),e.elementType=WF,e.lanes=n,e.stateNode={isHidden:!1},e}function X6(e,t,n){return e=ns(6,e,null,t),e.lanes=n,e}function Z6(e,t,n){return t=ns(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function N2e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=O6(0),this.expirationTimes=O6(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=O6(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cE(e,t,n,r,i,o,a,s,l){return e=new N2e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ns(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qk(o),e}function j2e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Na})(B1e);const vb=d_(Qs);var[H2e,V2e]=Mn({strict:!1,name:"PortalManagerContext"});function $H(e){const{children:t,zIndex:n}=e;return N.createElement(H2e,{value:{zIndex:n}},t)}$H.displayName="PortalManager";var[FH,W2e]=Mn({strict:!1,name:"PortalContext"}),pE="chakra-portal",U2e=".chakra-portal",G2e=e=>N.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),q2e=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=w.useState(null),o=w.useRef(null),[,a]=w.useState({});w.useEffect(()=>a({}),[]);const s=W2e(),l=V2e();Ws(()=>{if(!r)return;const d=r.ownerDocument,h=t?s??d.body:d.body;if(!h)return;o.current=d.createElement("div"),o.current.className=pE,h.appendChild(o.current),a({});const m=o.current;return()=>{h.contains(m)&&h.removeChild(m)}},[r]);const u=l!=null&&l.zIndex?N.createElement(G2e,{zIndex:l==null?void 0:l.zIndex},n):n;return o.current?Qs.createPortal(N.createElement(FH,{value:o.current},u),o.current):N.createElement("span",{ref:d=>{d&&i(d)}})},Y2e=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=w.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=pE),l},[i]),[,s]=w.useState({});return Ws(()=>s({}),[]),Ws(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Qs.createPortal(N.createElement(FH,{value:r?a:null},t),a):null};function ap(e){const{containerRef:t,...n}=e;return t?N.createElement(Y2e,{containerRef:t,...n}):N.createElement(q2e,{...n})}ap.defaultProps={appendToParentPortal:!0};ap.className=pE;ap.selector=U2e;ap.displayName="Portal";var K2e=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eg=new WeakMap,yb=new WeakMap,bb={},Q6=0,zH=function(e){return e&&(e.host||zH(e.parentNode))},X2e=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=zH(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return Boolean(n)})},Z2e=function(e,t,n,r){var i=X2e(t,Array.isArray(e)?e:[e]);bb[n]||(bb[n]=new WeakMap);var o=bb[n],a=[],s=new Set,l=new Set(i),u=function(h){!h||s.has(h)||(s.add(h),u(h.parentNode))};i.forEach(u);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))d(m);else{var v=m.getAttribute(r),b=v!==null&&v!=="false",S=(Eg.get(m)||0)+1,k=(o.get(m)||0)+1;Eg.set(m,S),o.set(m,k),a.push(m),S===1&&b&&yb.set(m,!0),k===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}})};return d(t),s.clear(),Q6++,function(){a.forEach(function(h){var m=Eg.get(h)-1,v=o.get(h)-1;Eg.set(h,m),o.set(h,v),m||(yb.has(h)||h.removeAttribute(r),yb.delete(h)),v||h.removeAttribute(n)}),Q6--,Q6||(Eg=new WeakMap,Eg=new WeakMap,yb=new WeakMap,bb={})}},HH=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||K2e(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),Z2e(r,i,n,"aria-hidden")):function(){return null}};function gE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var jn={},Q2e={get exports(){return jn},set exports(e){jn=e}},J2e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eye=J2e,tye=eye;function VH(){}function WH(){}WH.resetWarningCache=VH;var nye=function(){function e(r,i,o,a,s,l){if(l!==tye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:WH,resetWarningCache:VH};return n.PropTypes=n,n};Q2e.exports=nye();var F9="data-focus-lock",UH="data-focus-lock-disabled",rye="data-no-focus-lock",iye="data-autofocus-inside",oye="data-no-autofocus";function aye(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sye(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function GH(e,t){return sye(t||null,function(n){return e.forEach(function(r){return aye(r,n)})})}var J6={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function qH(e){return e}function YH(e,t){t===void 0&&(t=qH);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return i}function mE(e,t){return t===void 0&&(t=qH),YH(e,t)}function KH(e){e===void 0&&(e={});var t=YH(null);return t.options=Fl({async:!0,ssr:!1},e),t}var XH=function(e){var t=e.sideCar,n=F$(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,Fl({},n))};XH.isSideCarExport=!0;function lye(e,t){return e.useMedium(t),XH}var ZH=mE({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),QH=mE(),uye=mE(),cye=KH({async:!0}),dye=[],vE=w.forwardRef(function(t,n){var r,i=w.useState(),o=i[0],a=i[1],s=w.useRef(),l=w.useRef(!1),u=w.useRef(null),d=t.children,h=t.disabled,m=t.noFocusGuards,v=t.persistentFocus,b=t.crossFrame,S=t.autoFocus;t.allowTextSelection;var k=t.group,E=t.className,_=t.whiteList,T=t.hasPositiveIndices,A=t.shards,I=A===void 0?dye:A,R=t.as,D=R===void 0?"div":R,j=t.lockProps,z=j===void 0?{}:j,V=t.sideCar,K=t.returnFocus,te=t.focusOptions,q=t.onActivation,$=t.onDeactivation,U=w.useState({}),X=U[0],Z=w.useCallback(function(){u.current=u.current||document&&document.activeElement,s.current&&q&&q(s.current),l.current=!0},[q]),W=w.useCallback(function(){l.current=!1,$&&$(s.current)},[$]);w.useEffect(function(){h||(u.current=null)},[]);var Q=w.useCallback(function(ot){var He=u.current;if(He&&He.focus){var Be=typeof K=="function"?K(He):K;if(Be){var wt=typeof Be=="object"?Be:void 0;u.current=null,ot?Promise.resolve().then(function(){return He.focus(wt)}):He.focus(wt)}}},[K]),ie=w.useCallback(function(ot){l.current&&ZH.useMedium(ot)},[]),fe=QH.useMedium,Se=w.useCallback(function(ot){s.current!==ot&&(s.current=ot,a(ot))},[]),Pe=bn((r={},r[UH]=h&&"disabled",r[F9]=k,r),z),ye=m!==!0,We=ye&&m!=="tail",De=GH([n,Se]);return w.createElement(w.Fragment,null,ye&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:J6}),T?w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:J6}):null],!h&&w.createElement(V,{id:X,sideCar:cye,observed:o,disabled:h,persistentFocus:v,crossFrame:b,autoFocus:S,whiteList:_,shards:I,onActivation:Z,onDeactivation:W,returnFocus:Q,focusOptions:te}),w.createElement(D,bn({ref:De},Pe,{className:E,onBlur:fe,onFocus:ie}),d),We&&w.createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:J6}))});vE.propTypes={};vE.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const JH=vE;function z9(e,t){return z9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},z9(e,t)}function yE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,z9(e,t)}function eV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fye(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function s(){a=e(o.map(function(u){return u.props})),t(a)}var l=function(u){yE(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return a};var h=d.prototype;return h.componentDidMount=function(){o.push(this),s()},h.componentDidUpdate=function(){s()},h.componentWillUnmount=function(){var v=o.indexOf(this);o.splice(v,1),s()},h.render=function(){return N.createElement(i,this.props)},d}(w.PureComponent);return eV(l,"displayName","SideEffect("+n(i)+")"),l}}var fu=function(e){for(var t=Array(e.length),n=0;n=0}).sort(Sye)},xye=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],SE=xye.join(","),wye="".concat(SE,", [data-focus-guard]"),uV=function(e,t){var n;return fu(((n=e.shadowRoot)===null||n===void 0?void 0:n.children)||e.children).reduce(function(r,i){return r.concat(i.matches(t?wye:SE)?[i]:[],uV(i))},[])},xE=function(e,t){return e.reduce(function(n,r){return n.concat(uV(r,t),r.parentNode?fu(r.parentNode.querySelectorAll(SE)).filter(function(i){return i===r}):[])},[])},Cye=function(e){var t=e.querySelectorAll("[".concat(iye,"]"));return fu(t).map(function(n){return xE([n])}).reduce(function(n,r){return n.concat(r)},[])},wE=function(e,t){return fu(e).filter(function(n){return rV(t,n)}).filter(function(n){return vye(n)})},KM=function(e,t){return t===void 0&&(t=new Map),fu(e).filter(function(n){return iV(t,n)})},V9=function(e,t,n){return lV(wE(xE(e,n),t),!0,n)},XM=function(e,t){return lV(wE(xE(e),t),!1)},_ye=function(e,t){return wE(Cye(e),t)},Y2=function(e,t){return e.shadowRoot?Y2(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:fu(e.children).some(function(n){return Y2(n,t)})},kye=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},cV=function(e){return e.parentNode?cV(e.parentNode):e},CE=function(e){var t=H9(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(F9);return n.push.apply(n,i?kye(fu(cV(r).querySelectorAll("[".concat(F9,'="').concat(i,'"]:not([').concat(UH,'="disabled"])')))):[r]),n},[])},dV=function(e){return e.activeElement?e.activeElement.shadowRoot?dV(e.activeElement.shadowRoot):e.activeElement:void 0},_E=function(){return document.activeElement?document.activeElement.shadowRoot?dV(document.activeElement.shadowRoot):document.activeElement:void 0},Eye=function(e){return e===document.activeElement},Pye=function(e){return Boolean(fu(e.querySelectorAll("iframe")).some(function(t){return Eye(t)}))},fV=function(e){var t=document&&_E();return!t||t.dataset&&t.dataset.focusGuard?!1:CE(e).some(function(n){return Y2(n,t)||Pye(n)})},Tye=function(){var e=document&&_E();return e?fu(document.querySelectorAll("[".concat(rye,"]"))).some(function(t){return Y2(t,e)}):!1},Lye=function(e,t){return t.filter(sV).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},kE=function(e,t){return sV(e)&&e.name?Lye(e,t):e},Aye=function(e){var t=new Set;return e.forEach(function(n){return t.add(kE(n,e))}),e.filter(function(n){return t.has(n)})},ZM=function(e){return e[0]&&e.length>1?kE(e[0],e):e[0]},QM=function(e,t){return e.length>1?e.indexOf(kE(e[t],e)):t},hV="NEW_FOCUS",Oye=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=bE(n);if(!(n&&e.indexOf(n)>=0)){var l=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):l,d=r?e.indexOf(r):-1,h=l-u,m=t.indexOf(o),v=t.indexOf(a),b=Aye(t),S=n!==void 0?b.indexOf(n):-1,k=S-(r?b.indexOf(r):l),E=QM(e,0),_=QM(e,i-1);if(l===-1||d===-1)return hV;if(!h&&d>=0)return d;if(l<=m&&s&&Math.abs(h)>1)return _;if(l>=v&&s&&Math.abs(h)>1)return E;if(h&&Math.abs(k)>1)return d;if(l<=m)return _;if(l>v)return E;if(h)return Math.abs(h)>1?d:(i+d+h)%i}},Mye=function(e){return function(t){var n,r=(n=oV(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Iye=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=KM(r.filter(Mye(n)));return i&&i.length?ZM(i):ZM(KM(t))},W9=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&W9(e.parentNode.host||e.parentNode,t),t},eC=function(e,t){for(var n=W9(e),r=W9(t),i=0;i=0)return o}return!1},pV=function(e,t,n){var r=H9(e),i=H9(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(s){a=eC(a||s,s)||a,n.filter(Boolean).forEach(function(l){var u=eC(o,l);u&&(!a||Y2(u,a)?a=u:a=eC(u,a))})}),a},Rye=function(e,t){return e.reduce(function(n,r){return n.concat(_ye(r,t))},[])},Dye=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(bye)},Nye=function(e,t){var n=document&&_E(),r=CE(e).filter(D5),i=pV(n||e,e,r),o=new Map,a=XM(r,o),s=V9(r,o).filter(function(m){var v=m.node;return D5(v)});if(!(!s[0]&&(s=a,!s[0]))){var l=XM([i],o).map(function(m){var v=m.node;return v}),u=Dye(l,s),d=u.map(function(m){var v=m.node;return v}),h=Oye(d,l,n,t);return h===hV?{node:Iye(a,d,Rye(r,o))}:h===void 0?h:u[h]}},jye=function(e){var t=CE(e).filter(D5),n=pV(e,e,t),r=new Map,i=V9([n],r,!0),o=V9(t,r).filter(function(a){var s=a.node;return D5(s)}).map(function(a){var s=a.node;return s});return i.map(function(a){var s=a.node,l=a.index;return{node:s,index:l,lockItem:o.indexOf(s)>=0,guard:bE(s)}})},Bye=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},tC=0,nC=!1,$ye=function(e,t,n){n===void 0&&(n={});var r=Nye(e,t);if(!nC&&r){if(tC>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),nC=!0,setTimeout(function(){nC=!1},1);return}tC++,Bye(r.node,n.focusOptions),tC--}};const gV=$ye;function mV(e){var t=window,n=t.setImmediate;typeof n<"u"?n(e):setTimeout(e,1)}var Fye=function(){return document&&document.activeElement===document.body},zye=function(){return Fye()||Tye()},Am=null,am=null,Om=null,K2=!1,Hye=function(){return!0},Vye=function(t){return(Am.whiteList||Hye)(t)},Wye=function(t,n){Om={observerNode:t,portaledElement:n}},Uye=function(t){return Om&&Om.portaledElement===t};function JM(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var Gye=function(t){return t&&"current"in t?t.current:t},qye=function(t){return t?Boolean(K2):K2==="meanwhile"},Yye=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Kye=function(t,n){return n.some(function(r){return Yye(t,r,r)})},N5=function(){var t=!1;if(Am){var n=Am,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||Om&&Om.portaledElement,d=document&&document.activeElement;if(u){var h=[u].concat(a.map(Gye).filter(Boolean));if((!d||Vye(d))&&(i||qye(s)||!zye()||!am&&o)&&(u&&!(fV(h)||d&&Kye(d,h)||Uye(d))&&(document&&!am&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(t=gV(h,am,{focusOptions:l}),Om={})),K2=!1,am=document&&document.activeElement),document){var m=document&&document.activeElement,v=jye(h),b=v.map(function(S){var k=S.node;return k}).indexOf(m);b>-1&&(v.filter(function(S){var k=S.guard,E=S.node;return k&&E.dataset.focusAutoGuard}).forEach(function(S){var k=S.node;return k.removeAttribute("tabIndex")}),JM(b,v.length,1,v),JM(b,-1,-1,v))}}}return t},vV=function(t){N5()&&t&&(t.stopPropagation(),t.preventDefault())},EE=function(){return mV(N5)},Xye=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Wye(r,n)},Zye=function(){return null},yV=function(){K2="just",setTimeout(function(){K2="meanwhile"},0)},Qye=function(){document.addEventListener("focusin",vV),document.addEventListener("focusout",EE),window.addEventListener("blur",yV)},Jye=function(){document.removeEventListener("focusin",vV),document.removeEventListener("focusout",EE),window.removeEventListener("blur",yV)};function e3e(e){return e.filter(function(t){var n=t.disabled;return!n})}function t3e(e){var t=e.slice(-1)[0];t&&!Am&&Qye();var n=Am,r=n&&t&&t.id===n.id;Am=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(am=null,(!r||n.observed!==t.observed)&&t.onActivation(),N5(),mV(N5)):(Jye(),am=null)}ZH.assignSyncMedium(Xye);QH.assignMedium(EE);uye.assignMedium(function(e){return e({moveFocusInside:gV,focusInside:fV})});const n3e=fye(e3e,t3e)(Zye);var bV=w.forwardRef(function(t,n){return w.createElement(JH,bn({sideCar:n3e,ref:n},t))}),SV=JH.propTypes||{};SV.sideCar;gE(SV,["sideCar"]);bV.propTypes={};const r3e=bV;var xV=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=w.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&EF(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),h=w.useCallback(()=>{var v;(v=n==null?void 0:n.current)==null||v.focus()},[n]),m=i&&!n;return N.createElement(r3e,{crossFrame:u,persistentFocus:l,autoFocus:s,disabled:a,onActivation:d,onDeactivation:h,returnFocus:m},o)};xV.displayName="FocusLock";var _4="right-scroll-bar-position",k4="width-before-scroll-bar",i3e="with-scroll-bars-hidden",o3e="--removed-body-scroll-bar-size",wV=KH(),rC=function(){},bx=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:rC,onWheelCapture:rC,onTouchMoveCapture:rC}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,m=e.sideCar,v=e.noIsolation,b=e.inert,S=e.allowPinchZoom,k=e.as,E=k===void 0?"div":k,_=F$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),T=m,A=GH([n,t]),I=Fl(Fl({},_),i);return w.createElement(w.Fragment,null,d&&w.createElement(T,{sideCar:wV,removeScrollBar:u,shards:h,noIsolation:v,inert:b,setCallbacks:o,allowPinchZoom:!!S,lockRef:n}),a?w.cloneElement(w.Children.only(s),Fl(Fl({},I),{ref:A})):w.createElement(E,Fl({},I,{className:l,ref:A}),s))});bx.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};bx.classNames={fullWidth:k4,zeroRight:_4};var a3e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s3e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a3e();return t&&e.setAttribute("nonce",t),e}function l3e(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u3e(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c3e=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s3e())&&(l3e(t,n),u3e(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d3e=function(){var e=c3e();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},CV=function(){var e=d3e(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},f3e={left:0,top:0,right:0,gap:0},iC=function(e){return parseInt(e||"",10)||0},h3e=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[iC(n),iC(r),iC(i)]},p3e=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f3e;var t=h3e(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},g3e=CV(),m3e=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` + .`.concat(i3e,` { overflow: hidden `).concat(r,`; padding-right: `).concat(s,"px ").concat(r,`; } @@ -402,12 +402,12 @@ Error generating stack: `+o.message+` } body { - `).concat(i3e,": ").concat(s,`px; + `).concat(o3e,": ").concat(s,`px; } -`)},m3e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=w.useMemo(function(){return h3e(i)},[i]);return w.createElement(p3e,{styles:g3e(o,!t,i,n?"":"!important")})},W9=!1;if(typeof window<"u")try{var Sb=Object.defineProperty({},"passive",{get:function(){return W9=!0,!0}});window.addEventListener("test",Sb,Sb),window.removeEventListener("test",Sb,Sb)}catch{W9=!1}var Pg=W9?{passive:!1}:!1,v3e=function(e){return e.tagName==="TEXTAREA"},CV=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!v3e(e)&&n[t]==="visible")},y3e=function(e){return CV(e,"overflowY")},b3e=function(e){return CV(e,"overflowX")},eI=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=_V(e,n);if(r){var i=kV(e,n),o=i[1],a=i[2];if(o>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},S3e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},x3e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},_V=function(e,t){return e==="v"?y3e(t):b3e(t)},kV=function(e,t){return e==="v"?S3e(t):x3e(t)},w3e=function(e,t){return e==="h"&&t==="rtl"?-1:1},C3e=function(e,t,n,r,i){var o=w3e(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,d=a>0,h=0,m=0;do{var v=kV(e,s),b=v[0],S=v[1],k=v[2],E=S-k-o*b;(b||E)&&_V(e,s)&&(h+=E,m+=b),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&(i&&h===0||!i&&a>h)||!d&&(i&&m===0||!i&&-a>m))&&(u=!0),u},xb=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tI=function(e){return[e.deltaX,e.deltaY]},nI=function(e){return e&&"current"in e?e.current:e},_3e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},k3e=function(e){return` +`)},v3e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=w.useMemo(function(){return p3e(i)},[i]);return w.createElement(g3e,{styles:m3e(o,!t,i,n?"":"!important")})},U9=!1;if(typeof window<"u")try{var Sb=Object.defineProperty({},"passive",{get:function(){return U9=!0,!0}});window.addEventListener("test",Sb,Sb),window.removeEventListener("test",Sb,Sb)}catch{U9=!1}var Pg=U9?{passive:!1}:!1,y3e=function(e){return e.tagName==="TEXTAREA"},_V=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!y3e(e)&&n[t]==="visible")},b3e=function(e){return _V(e,"overflowY")},S3e=function(e){return _V(e,"overflowX")},eI=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=kV(e,n);if(r){var i=EV(e,n),o=i[1],a=i[2];if(o>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},x3e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},w3e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},kV=function(e,t){return e==="v"?b3e(t):S3e(t)},EV=function(e,t){return e==="v"?x3e(t):w3e(t)},C3e=function(e,t){return e==="h"&&t==="rtl"?-1:1},_3e=function(e,t,n,r,i){var o=C3e(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,d=a>0,h=0,m=0;do{var v=EV(e,s),b=v[0],S=v[1],k=v[2],E=S-k-o*b;(b||E)&&kV(e,s)&&(h+=E,m+=b),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&(i&&h===0||!i&&a>h)||!d&&(i&&m===0||!i&&-a>m))&&(u=!0),u},xb=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tI=function(e){return[e.deltaX,e.deltaY]},nI=function(e){return e&&"current"in e?e.current:e},k3e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},E3e=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},E3e=0,Tg=[];function P3e(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),i=w.useState(E3e++)[0],o=w.useState(function(){return wV()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var S=N7([e.lockRef.current],(e.shards||[]).map(nI),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=w.useCallback(function(S,k){if("touches"in S&&S.touches.length===2)return!a.current.allowPinchZoom;var E=xb(S),_=n.current,T="deltaX"in S?S.deltaX:_[0]-E[0],A="deltaY"in S?S.deltaY:_[1]-E[1],I,R=S.target,D=Math.abs(T)>Math.abs(A)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var j=eI(D,R);if(!j)return!0;if(j?I=D:(I=D==="v"?"h":"v",j=eI(D,R)),!j)return!1;if(!r.current&&"changedTouches"in S&&(T||A)&&(r.current=I),!I)return!0;var z=r.current||I;return C3e(z,k,S,z==="h"?T:A,!0)},[]),l=w.useCallback(function(S){var k=S;if(!(!Tg.length||Tg[Tg.length-1]!==o)){var E="deltaY"in k?tI(k):xb(k),_=t.current.filter(function(I){return I.name===k.type&&I.target===k.target&&_3e(I.delta,E)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var T=(a.current.shards||[]).map(nI).filter(Boolean).filter(function(I){return I.contains(k.target)}),A=T.length>0?s(k,T[0]):!a.current.noIsolation;A&&k.cancelable&&k.preventDefault()}}},[]),u=w.useCallback(function(S,k,E,_){var T={name:S,delta:k,target:E,should:_};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(A){return A!==T})},1)},[]),d=w.useCallback(function(S){n.current=xb(S),r.current=void 0},[]),h=w.useCallback(function(S){u(S.type,tI(S),S.target,s(S,e.lockRef.current))},[]),m=w.useCallback(function(S){u(S.type,xb(S),S.target,s(S,e.lockRef.current))},[]);w.useEffect(function(){return Tg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Pg),document.addEventListener("touchmove",l,Pg),document.addEventListener("touchstart",d,Pg),function(){Tg=Tg.filter(function(S){return S!==o}),document.removeEventListener("wheel",l,Pg),document.removeEventListener("touchmove",l,Pg),document.removeEventListener("touchstart",d,Pg)}},[]);var v=e.removeScrollBar,b=e.inert;return w.createElement(w.Fragment,null,b?w.createElement(o,{styles:k3e(i)}):null,v?w.createElement(m3e,{gapMode:"margin"}):null)}const T3e=sye(xV,P3e);var EV=w.forwardRef(function(e,t){return w.createElement(yx,$l({},e,{ref:t,sideCar:T3e}))});EV.classNames=yx.classNames;const PV=EV;var sp=(...e)=>e.filter(Boolean).join(" ");function wv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var L3e=class{constructor(){sn(this,"modals");this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},U9=new L3e;function A3e(e,t){w.useEffect(()=>(t&&U9.add(e),()=>{U9.remove(e)}),[t,e])}function O3e(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,u=w.useRef(null),d=w.useRef(null),[h,m,v]=I3e(r,"chakra-modal","chakra-modal--header","chakra-modal--body");M3e(u,t&&a),A3e(u,t);const b=w.useRef(null),S=w.useCallback(j=>{b.current=j.target},[]),k=w.useCallback(j=>{j.key==="Escape"&&(j.stopPropagation(),o&&(n==null||n()),l==null||l())},[o,n,l]),[E,_]=w.useState(!1),[T,A]=w.useState(!1),I=w.useCallback((j={},z=null)=>({role:"dialog",...j,ref:Yn(z,u),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?m:void 0,"aria-describedby":T?v:void 0,onClick:wv(j.onClick,V=>V.stopPropagation())}),[v,T,h,m,E]),R=w.useCallback(j=>{j.stopPropagation(),b.current===j.target&&U9.isTopModal(u)&&(i&&(n==null||n()),s==null||s())},[n,i,s]),D=w.useCallback((j={},z=null)=>({...j,ref:Yn(z,d),onClick:wv(j.onClick,R),onKeyDown:wv(j.onKeyDown,k),onMouseDown:wv(j.onMouseDown,S)}),[k,S,R]);return{isOpen:t,onClose:n,headerId:m,bodyId:v,setBodyMounted:A,setHeaderMounted:_,dialogRef:u,overlayRef:d,getDialogProps:I,getDialogContainerProps:D}}function M3e(e,t){const n=e.current;w.useEffect(()=>{if(!(!e.current||!t))return zH(e.current)},[t,e,n])}function I3e(e,...t){const n=w.useId(),r=e||n;return w.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}var[R3e,lp]=Mn({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[D3e,qd]=Mn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Yd=e=>{const{portalProps:t,children:n,autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m,onCloseComplete:v}=e,b=Yi("Modal",e),k={...O3e(e),autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m};return N.createElement(D3e,{value:k},N.createElement(R3e,{value:b},N.createElement(nf,{onExitComplete:v},k.isOpen&&N.createElement(ap,{...t},n))))};Yd.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};Yd.displayName="Modal";var n0=Oe((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__body",n),s=lp();return N.createElement(Ce.div,{ref:t,className:a,id:i,...r,__css:s.body})});n0.displayName="ModalBody";var Ly=Oe((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=qd(),a=sp("chakra-modal__close-btn",r),s=lp();return N.createElement(ex,{ref:t,__css:s.closeButton,className:a,onClick:wv(n,l=>{l.stopPropagation(),o()}),...i})});Ly.displayName="ModalCloseButton";function TV(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d}=qd(),[h,m]=K_();return w.useEffect(()=>{!h&&m&&setTimeout(m)},[h,m]),N.createElement(SV,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:d},N.createElement(PV,{removeScrollBar:!u,allowPinchZoom:a,enabled:o,forwardProps:!0},e.children))}var N3e={slideInBottom:{...B7,custom:{offsetY:16,reverse:!0}},slideInRight:{...B7,custom:{offsetX:16,reverse:!0}},scale:{...HF,custom:{initialScale:.95,reverse:!0}},none:{}},j3e=Ce(du.section),B3e=e=>N3e[e||"none"],LV=w.forwardRef((e,t)=>{const{preset:n,motionProps:r=B3e(n),...i}=e;return N.createElement(j3e,{ref:t,...r,...i})});LV.displayName="ModalTransition";var Zh=Oe((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=qd(),u=s(a,t),d=l(i),h=sp("chakra-modal__content",n),m=lp(),v={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...m.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...m.dialogContainer},{motionPreset:S}=qd();return N.createElement(TV,null,N.createElement(Ce.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:b},N.createElement(LV,{preset:S,motionProps:o,className:h,...u,__css:v},r)))});Zh.displayName="ModalContent";var bx=Oe((e,t)=>{const{className:n,...r}=e,i=sp("chakra-modal__footer",n),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...lp().footer};return N.createElement(Ce.footer,{ref:t,...r,__css:a,className:i})});bx.displayName="ModalFooter";var w0=Oe((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__header",n),l={flex:0,...lp().header};return N.createElement(Ce.header,{ref:t,className:a,id:i,...r,__css:l})});w0.displayName="ModalHeader";var F3e=Ce(du.div),Kd=Oe((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=sp("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...lp().overlay},{motionPreset:u}=qd(),h=i||(u==="none"?{}:zF);return N.createElement(F3e,{...h,__css:l,ref:t,className:a,...o})});Kd.displayName="ModalOverlay";function AV(e){const{leastDestructiveRef:t,...n}=e;return N.createElement(Yd,{...n,initialFocusRef:t})}var OV=Oe((e,t)=>N.createElement(Zh,{ref:t,role:"alertdialog",...e})),[Z$e,$3e]=Mn(),z3e=Ce(VF),H3e=Oe((e,t)=>{const{className:n,children:r,motionProps:i,containerProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=qd(),d=s(a,t),h=l(o),m=sp("chakra-modal__content",n),v=lp(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...v.dialog},S={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...v.dialogContainer},{placement:k}=$3e();return N.createElement(TV,null,N.createElement(Ce.div,{...h,className:"chakra-modal__content-container",__css:S},N.createElement(z3e,{motionProps:i,direction:k,in:u,className:m,...d,__css:b},r)))});H3e.displayName="DrawerContent";function V3e(e,t){const n=Er(e);w.useEffect(()=>{let r=null;const i=()=>n();return t!==null&&(r=window.setInterval(i,t)),()=>{r&&window.clearInterval(r)}},[t,n])}var MV=(...e)=>e.filter(Boolean).join(" "),iC=e=>e?!0:void 0;function Al(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var W3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})),U3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"}));function rI(e,t,n,r){w.useEffect(()=>{if(!e.current||!r)return;const i=e.current.ownerDocument.defaultView??window,o=Array.isArray(t)?t:[t],a=new i.MutationObserver(s=>{for(const l of s)l.type==="attributes"&&l.attributeName&&o.includes(l.attributeName)&&n(l)});return a.observe(e.current,{attributes:!0,attributeFilter:o}),()=>a.disconnect()})}var G3e=50,iI=300;function q3e(e,t){const[n,r]=w.useState(!1),[i,o]=w.useState(null),[a,s]=w.useState(!0),l=w.useRef(null),u=()=>clearTimeout(l.current);V3e(()=>{i==="increment"&&e(),i==="decrement"&&t()},n?G3e:null);const d=w.useCallback(()=>{a&&e(),l.current=setTimeout(()=>{s(!1),r(!0),o("increment")},iI)},[e,a]),h=w.useCallback(()=>{a&&t(),l.current=setTimeout(()=>{s(!1),r(!0),o("decrement")},iI)},[t,a]),m=w.useCallback(()=>{s(!0),r(!1),u()},[]);return w.useEffect(()=>()=>u(),[]),{up:d,down:h,stop:m,isSpinning:n}}var Y3e=/^[Ee0-9+\-.]$/;function K3e(e){return Y3e.test(e)}function X3e(e,t){if(e.key==null)return!0;const n=e.ctrlKey||e.altKey||e.metaKey;return!(e.key.length===1)||n?!0:t(e.key)}function Z3e(e={}){const{focusInputOnChange:t=!0,clampValueOnBlur:n=!0,keepWithinRange:r=!0,min:i=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:a=1,isReadOnly:s,isDisabled:l,isRequired:u,isInvalid:d,pattern:h="[0-9]*(.[0-9]+)?",inputMode:m="decimal",allowMouseWheel:v,id:b,onChange:S,precision:k,name:E,"aria-describedby":_,"aria-label":T,"aria-labelledby":A,onFocus:I,onBlur:R,onInvalid:D,getAriaValueText:j,isValidCharacter:z,format:V,parse:K,...te}=e,q=Er(I),F=Er(R),U=Er(D),X=Er(z??K3e),Z=Er(j),W=ume(e),{update:Q,increment:ie,decrement:fe}=W,[Se,Te]=w.useState(!1),ye=!(s||l),He=w.useRef(null),Ne=w.useRef(null),tt=w.useRef(null),_e=w.useRef(null),lt=w.useCallback(Le=>Le.split("").filter(X).join(""),[X]),wt=w.useCallback(Le=>(K==null?void 0:K(Le))??Le,[K]),ct=w.useCallback(Le=>((V==null?void 0:V(Le))??Le).toString(),[V]);Vd(()=>{(W.valueAsNumber>o||W.valueAsNumber{if(!He.current)return;if(He.current.value!=W.value){const At=wt(He.current.value);W.setValue(lt(At))}},[wt,lt]);const mt=w.useCallback((Le=a)=>{ye&&ie(Le)},[ie,ye,a]),St=w.useCallback((Le=a)=>{ye&&fe(Le)},[fe,ye,a]),Ae=q3e(mt,St);rI(tt,"disabled",Ae.stop,Ae.isSpinning),rI(_e,"disabled",Ae.stop,Ae.isSpinning);const ut=w.useCallback(Le=>{if(Le.nativeEvent.isComposing)return;const Fe=wt(Le.currentTarget.value);Q(lt(Fe)),Ne.current={start:Le.currentTarget.selectionStart,end:Le.currentTarget.selectionEnd}},[Q,lt,wt]),Mt=w.useCallback(Le=>{var At;q==null||q(Le),Ne.current&&(Le.target.selectionStart=Ne.current.start??((At=Le.currentTarget.value)==null?void 0:At.length),Le.currentTarget.selectionEnd=Ne.current.end??Le.currentTarget.selectionStart)},[q]),at=w.useCallback(Le=>{if(Le.nativeEvent.isComposing)return;X3e(Le,X)||Le.preventDefault();const At=Ct(Le)*a,Fe=Le.key,nn={ArrowUp:()=>mt(At),ArrowDown:()=>St(At),Home:()=>Q(i),End:()=>Q(o)}[Fe];nn&&(Le.preventDefault(),nn(Le))},[X,a,mt,St,Q,i,o]),Ct=Le=>{let At=1;return(Le.metaKey||Le.ctrlKey)&&(At=.1),Le.shiftKey&&(At=10),At},Zt=w.useMemo(()=>{const Le=Z==null?void 0:Z(W.value);if(Le!=null)return Le;const At=W.value.toString();return At||void 0},[W.value,Z]),le=w.useCallback(()=>{let Le=W.value;if(W.value==="")return;/^[eE]/.test(W.value.toString())?W.setValue(""):(W.valueAsNumbero&&(Le=o),W.cast(Le))},[W,o,i]),De=w.useCallback(()=>{Te(!1),n&&le()},[n,Te,le]),Ue=w.useCallback(()=>{t&&requestAnimationFrame(()=>{var Le;(Le=He.current)==null||Le.focus()})},[t]),Ye=w.useCallback(Le=>{Le.preventDefault(),Ae.up(),Ue()},[Ue,Ae]),we=w.useCallback(Le=>{Le.preventDefault(),Ae.down(),Ue()},[Ue,Ae]);Rh(()=>He.current,"wheel",Le=>{var At;const vt=(((At=He.current)==null?void 0:At.ownerDocument)??document).activeElement===He.current;if(!v||!vt)return;Le.preventDefault();const nn=Ct(Le)*a,Rn=Math.sign(Le.deltaY);Rn===-1?mt(nn):Rn===1&&St(nn)},{passive:!1});const je=w.useCallback((Le={},At=null)=>{const Fe=l||r&&W.isAtMax;return{...Le,ref:Yn(At,tt),role:"button",tabIndex:-1,onPointerDown:Al(Le.onPointerDown,vt=>{vt.button!==0||Fe||Ye(vt)}),onPointerLeave:Al(Le.onPointerLeave,Ae.stop),onPointerUp:Al(Le.onPointerUp,Ae.stop),disabled:Fe,"aria-disabled":iC(Fe)}},[W.isAtMax,r,Ye,Ae.stop,l]),_t=w.useCallback((Le={},At=null)=>{const Fe=l||r&&W.isAtMin;return{...Le,ref:Yn(At,_e),role:"button",tabIndex:-1,onPointerDown:Al(Le.onPointerDown,vt=>{vt.button!==0||Fe||we(vt)}),onPointerLeave:Al(Le.onPointerLeave,Ae.stop),onPointerUp:Al(Le.onPointerUp,Ae.stop),disabled:Fe,"aria-disabled":iC(Fe)}},[W.isAtMin,r,we,Ae.stop,l]),Dt=w.useCallback((Le={},At=null)=>({name:E,inputMode:m,type:"text",pattern:h,"aria-labelledby":A,"aria-label":T,"aria-describedby":_,id:b,disabled:l,...Le,readOnly:Le.readOnly??s,"aria-readonly":Le.readOnly??s,"aria-required":Le.required??u,required:Le.required??u,ref:Yn(He,At),value:ct(W.value),role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Number.isNaN(W.valueAsNumber)?void 0:W.valueAsNumber,"aria-invalid":iC(d??W.isOutOfRange),"aria-valuetext":Zt,autoComplete:"off",autoCorrect:"off",onChange:Al(Le.onChange,ut),onKeyDown:Al(Le.onKeyDown,at),onFocus:Al(Le.onFocus,Mt,()=>Te(!0)),onBlur:Al(Le.onBlur,F,De)}),[E,m,h,A,T,ct,_,b,l,u,s,d,W.value,W.valueAsNumber,W.isOutOfRange,i,o,Zt,ut,at,Mt,F,De]);return{value:ct(W.value),valueAsNumber:W.valueAsNumber,isFocused:Se,isDisabled:l,isReadOnly:s,getIncrementButtonProps:je,getDecrementButtonProps:_t,getInputProps:Dt,htmlProps:te}}var[Q3e,Sx]=Mn({name:"NumberInputStylesContext",errorMessage:`useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[J3e,PE]=Mn({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),TE=Oe(function(t,n){const r=Yi("NumberInput",t),i=En(t),o=lk(i),{htmlProps:a,...s}=Z3e(o),l=w.useMemo(()=>s,[s]);return N.createElement(J3e,{value:l},N.createElement(Q3e,{value:r},N.createElement(Ce.div,{...a,ref:n,className:MV("chakra-numberinput",t.className),__css:{position:"relative",zIndex:0,...r.root}})))});TE.displayName="NumberInput";var IV=Oe(function(t,n){const r=Sx();return N.createElement(Ce.div,{"aria-hidden":!0,ref:n,...t,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})});IV.displayName="NumberInputStepper";var LE=Oe(function(t,n){const{getInputProps:r}=PE(),i=r(t,n),o=Sx();return N.createElement(Ce.input,{...i,className:MV("chakra-numberinput__field",t.className),__css:{width:"100%",...o.field}})});LE.displayName="NumberInputField";var RV=Ce("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),AE=Oe(function(t,n){const r=Sx(),{getDecrementButtonProps:i}=PE(),o=i(t,n);return N.createElement(RV,{...o,__css:r.stepper},t.children??N.createElement(W3e,null))});AE.displayName="NumberDecrementStepper";var OE=Oe(function(t,n){const{getIncrementButtonProps:r}=PE(),i=r(t,n),o=Sx();return N.createElement(RV,{...i,__css:o.stepper},t.children??N.createElement(U3e,null))});OE.displayName="NumberIncrementStepper";var Ay=(...e)=>e.filter(Boolean).join(" ");function ebe(e,...t){return tbe(e)?e(...t):e}var tbe=e=>typeof e=="function";function Ol(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function nbe(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var[rbe,up]=Mn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[ibe,Oy]=Mn({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Lg={click:"click",hover:"hover"};function obe(e={}){const{closeOnBlur:t=!0,closeOnEsc:n=!0,initialFocusRef:r,id:i,returnFocusOnClose:o=!0,autoFocus:a=!0,arrowSize:s,arrowShadowColor:l,trigger:u=Lg.click,openDelay:d=200,closeDelay:h=200,isLazy:m,lazyBehavior:v="unmount",computePositionOnMount:b,...S}=e,{isOpen:k,onClose:E,onOpen:_,onToggle:T}=N$(e),A=w.useRef(null),I=w.useRef(null),R=w.useRef(null),D=w.useRef(!1),j=w.useRef(!1);k&&(j.current=!0);const[z,V]=w.useState(!1),[K,te]=w.useState(!1),q=w.useId(),F=i??q,[U,X,Z,W]=["popover-trigger","popover-content","popover-header","popover-body"].map(ut=>`${ut}-${F}`),{referenceRef:Q,getArrowProps:ie,getPopperProps:fe,getArrowInnerProps:Se,forceUpdate:Te}=D$({...S,enabled:k||!!b}),ye=N1e({isOpen:k,ref:R});yme({enabled:k,ref:I}),f0e(R,{focusRef:I,visible:k,shouldFocus:o&&u===Lg.click}),p0e(R,{focusRef:r,visible:k,shouldFocus:a&&u===Lg.click});const He=j$({wasSelected:j.current,enabled:m,mode:v,isSelected:ye.present}),Ne=w.useCallback((ut={},Mt=null)=>{const at={...ut,style:{...ut.style,transformOrigin:oi.transformOrigin.varRef,[oi.arrowSize.var]:s?`${s}px`:void 0,[oi.arrowShadowColor.var]:l},ref:Yn(R,Mt),children:He?ut.children:null,id:X,tabIndex:-1,role:"dialog",onKeyDown:Ol(ut.onKeyDown,Ct=>{n&&Ct.key==="Escape"&&E()}),onBlur:Ol(ut.onBlur,Ct=>{const Zt=oI(Ct),le=oC(R.current,Zt),De=oC(I.current,Zt);k&&t&&(!le&&!De)&&E()}),"aria-labelledby":z?Z:void 0,"aria-describedby":K?W:void 0};return u===Lg.hover&&(at.role="tooltip",at.onMouseEnter=Ol(ut.onMouseEnter,()=>{D.current=!0}),at.onMouseLeave=Ol(ut.onMouseLeave,Ct=>{Ct.nativeEvent.relatedTarget!==null&&(D.current=!1,setTimeout(()=>E(),h))})),at},[He,X,z,Z,K,W,u,n,E,k,t,h,l,s]),tt=w.useCallback((ut={},Mt=null)=>fe({...ut,style:{visibility:k?"visible":"hidden",...ut.style}},Mt),[k,fe]),_e=w.useCallback((ut,Mt=null)=>({...ut,ref:Yn(Mt,A,Q)}),[A,Q]),lt=w.useRef(),wt=w.useRef(),ct=w.useCallback(ut=>{A.current==null&&Q(ut)},[Q]),mt=w.useCallback((ut={},Mt=null)=>{const at={...ut,ref:Yn(I,Mt,ct),id:U,"aria-haspopup":"dialog","aria-expanded":k,"aria-controls":X};return u===Lg.click&&(at.onClick=Ol(ut.onClick,T)),u===Lg.hover&&(at.onFocus=Ol(ut.onFocus,()=>{lt.current===void 0&&_()}),at.onBlur=Ol(ut.onBlur,Ct=>{const Zt=oI(Ct),le=!oC(R.current,Zt);k&&t&&le&&E()}),at.onKeyDown=Ol(ut.onKeyDown,Ct=>{Ct.key==="Escape"&&E()}),at.onMouseEnter=Ol(ut.onMouseEnter,()=>{D.current=!0,lt.current=window.setTimeout(()=>_(),d)}),at.onMouseLeave=Ol(ut.onMouseLeave,()=>{D.current=!1,lt.current&&(clearTimeout(lt.current),lt.current=void 0),wt.current=window.setTimeout(()=>{D.current===!1&&E()},h)})),at},[U,k,X,u,ct,T,_,t,E,d,h]);w.useEffect(()=>()=>{lt.current&&clearTimeout(lt.current),wt.current&&clearTimeout(wt.current)},[]);const St=w.useCallback((ut={},Mt=null)=>({...ut,id:Z,ref:Yn(Mt,at=>{V(!!at)})}),[Z]),Ae=w.useCallback((ut={},Mt=null)=>({...ut,id:W,ref:Yn(Mt,at=>{te(!!at)})}),[W]);return{forceUpdate:Te,isOpen:k,onAnimationComplete:ye.onComplete,onClose:E,getAnchorProps:_e,getArrowProps:ie,getArrowInnerProps:Se,getPopoverPositionerProps:tt,getPopoverProps:Ne,getTriggerProps:mt,getHeaderProps:St,getBodyProps:Ae}}function oC(e,t){return e===t||(e==null?void 0:e.contains(t))}function oI(e){const t=e.currentTarget.ownerDocument.activeElement;return e.relatedTarget??t}function ME(e){const t=Yi("Popover",e),{children:n,...r}=En(e),i=h0(),o=obe({...r,direction:i.direction});return N.createElement(rbe,{value:o},N.createElement(ibe,{value:t},ebe(n,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})))}ME.displayName="Popover";function IE(e){const{bg:t,bgColor:n,backgroundColor:r}=e,{getArrowProps:i,getArrowInnerProps:o}=up(),a=Oy(),s=t??n??r;return N.createElement(Ce.div,{...i(),className:"chakra-popover__arrow-positioner"},N.createElement(Ce.div,{className:Ay("chakra-popover__arrow",e.className),...o(e),__css:{...a.arrow,"--popper-arrow-bg":s?`colors.${s}, ${s}`:void 0}}))}IE.displayName="PopoverArrow";var abe=Oe(function(t,n){const{getBodyProps:r}=up(),i=Oy();return N.createElement(Ce.div,{...r(t,n),className:Ay("chakra-popover__body",t.className),__css:i.body})});abe.displayName="PopoverBody";var sbe=Oe(function(t,n){const{onClose:r}=up(),i=Oy();return N.createElement(ex,{size:"sm",onClick:r,className:Ay("chakra-popover__close-btn",t.className),__css:i.closeButton,ref:n,...t})});sbe.displayName="PopoverCloseButton";function lbe(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}var ube={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},cbe=Ce(du.section),DV=Oe(function(t,n){const{variants:r=ube,...i}=t,{isOpen:o}=up();return N.createElement(cbe,{ref:n,variants:lbe(r),initial:!1,animate:o?"enter":"exit",...i})});DV.displayName="PopoverTransition";var RE=Oe(function(t,n){const{rootProps:r,motionProps:i,...o}=t,{getPopoverProps:a,getPopoverPositionerProps:s,onAnimationComplete:l}=up(),u=Oy(),d={position:"relative",display:"flex",flexDirection:"column",...u.content};return N.createElement(Ce.div,{...s(r),__css:u.popper,className:"chakra-popover__popper"},N.createElement(DV,{...i,...a(o,n),onAnimationComplete:nbe(l,o.onAnimationComplete),className:Ay("chakra-popover__content",t.className),__css:d}))});RE.displayName="PopoverContent";var dbe=Oe(function(t,n){const{getHeaderProps:r}=up(),i=Oy();return N.createElement(Ce.header,{...r(t,n),className:Ay("chakra-popover__header",t.className),__css:i.header})});dbe.displayName="PopoverHeader";function DE(e){const t=w.Children.only(e.children),{getTriggerProps:n}=up();return w.cloneElement(t,n(t.props,t.ref))}DE.displayName="PopoverTrigger";function fbe(e,t,n){return(e-t)*100/(n-t)}var hbe=tf({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),pbe=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),gbe=tf({"0%":{left:"-40%"},"100%":{left:"100%"}}),mbe=tf({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function NV(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=fbe(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof o=="function"?o(t,l):i})(),role:s},percent:l,value:t}}var jV=e=>{const{size:t,isIndeterminate:n,...r}=e;return N.createElement(Ce.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:n?`${pbe} 2s linear infinite`:void 0},...r})};jV.displayName="Shape";var G9=e=>N.createElement(Ce.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});G9.displayName="Circle";var vbe=Oe((e,t)=>{const{size:n="48px",max:r=100,min:i=0,valueText:o,getValueText:a,value:s,capIsRound:l,children:u,thickness:d="10px",color:h="#0078d4",trackColor:m="#edebe9",isIndeterminate:v,...b}=e,S=NV({min:i,max:r,value:s,valueText:o,getValueText:a,isIndeterminate:v}),k=v?void 0:(S.percent??0)*2.64,E=k==null?void 0:`${k} ${264-k}`,_=v?{css:{animation:`${hbe} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:E,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},T={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return N.createElement(Ce.div,{ref:t,className:"chakra-progress",...S.bind,...b,__css:T},N.createElement(jV,{size:n,isIndeterminate:v},N.createElement(G9,{stroke:m,strokeWidth:d,className:"chakra-progress__track"}),N.createElement(G9,{stroke:h,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:l?"round":void 0,opacity:S.value===0&&!v?0:void 0,..._})),u)});vbe.displayName="CircularProgress";var[ybe,bbe]=Mn({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Sbe=Oe((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...s}=e,l=NV({value:i,min:n,max:r,isIndeterminate:o,role:a}),d={height:"100%",...bbe().filledTrack};return N.createElement(Ce.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:d})}),BV=Oe((e,t)=>{var n;const{value:r,min:i=0,max:o=100,hasStripe:a,isAnimated:s,children:l,borderRadius:u,isIndeterminate:d,"aria-label":h,"aria-labelledby":m,title:v,role:b,...S}=En(e),k=Yi("Progress",e),E=u??((n=k.track)==null?void 0:n.borderRadius),_={animation:`${mbe} 1s linear infinite`},I={...!d&&a&&s&&_,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${gbe} 1s ease infinite normal none running`}},R={overflow:"hidden",position:"relative",...k.track};return N.createElement(Ce.div,{ref:t,borderRadius:E,__css:R,...S},N.createElement(ybe,{value:k},N.createElement(Sbe,{"aria-label":h,"aria-labelledby":m,min:i,max:o,value:r,isIndeterminate:d,css:I,borderRadius:E,title:v,role:b}),l))});BV.displayName="Progress";var xbe=Ce("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});xbe.displayName="CircularProgressLabel";var wbe=(...e)=>e.filter(Boolean).join(" "),Cbe=e=>e?"":void 0;function _be(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}var FV=Oe(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return N.createElement(Ce.select,{...a,ref:n,className:wbe("chakra-select",o)},i&&N.createElement("option",{value:""},i),r)});FV.displayName="SelectField";var $V=Oe((e,t)=>{var n;const r=Yi("Select",e),{rootProps:i,placeholder:o,icon:a,color:s,height:l,h:u,minH:d,minHeight:h,iconColor:m,iconSize:v,...b}=En(e),[S,k]=_be(b,zte),E=sk(k),_={width:"100%",height:"fit-content",position:"relative",color:s},T={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return N.createElement(Ce.div,{className:"chakra-select__wrapper",__css:_,...S,...i},N.createElement(FV,{ref:t,height:u??l,minH:d??h,placeholder:o,...E,__css:T},e.children),N.createElement(zV,{"data-disabled":Cbe(E.disabled),...(m||s)&&{color:m||s},__css:r.icon,...v&&{fontSize:v}},a))});$V.displayName="Select";var kbe=e=>N.createElement("svg",{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Ebe=Ce("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),zV=e=>{const{children:t=N.createElement(kbe,null),...n}=e,r=w.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return N.createElement(Ebe,{...n,className:"chakra-select__icon-wrapper"},w.isValidElement(t)?r:null)};zV.displayName="SelectIcon";function Pbe(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Tbe(e){const t=Abe(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function HV(e){return!!e.touches}function Lbe(e){return HV(e)&&e.touches.length>1}function Abe(e){return e.view??window}function Obe(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Mbe(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function VV(e,t="page"){return HV(e)?Obe(e,t):Mbe(e,t)}function Ibe(e){return t=>{const n=Tbe(t);(!n||n&&t.button===0)&&e(t)}}function Rbe(e,t=!1){function n(i){e(i,{point:VV(i)})}return t?Ibe(n):n}function E4(e,t,n,r){return Pbe(e,t,Rbe(n,t==="pointerdown"),r)}function WV(e){const t=w.useRef(null);return t.current=e,t}var Dbe=class{constructor(e,t,n){sn(this,"history",[]);sn(this,"startEvent",null);sn(this,"lastEvent",null);sn(this,"lastEventInfo",null);sn(this,"handlers",{});sn(this,"removeListeners",()=>{});sn(this,"threshold",3);sn(this,"win");sn(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const e=aC(this.lastEventInfo,this.history),t=this.startEvent!==null,n=Fbe(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!n)return;const{timestamp:r}=OL();this.history.push({...e.point,timestamp:r});const{onStart:i,onMove:o}=this.handlers;t||(i==null||i(this.lastEvent,e),this.startEvent=this.lastEvent),o==null||o(this.lastEvent,e)});sn(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,ere.update(this.updatePoint,!0)});sn(this,"onPointerUp",(e,t)=>{const n=aC(t,this.history),{onEnd:r,onSessionEnd:i}=this.handlers;i==null||i(e,n),this.end(),!(!r||!this.startEvent)&&(r==null||r(e,n))});if(this.win=e.view??window,Lbe(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:VV(e)},{timestamp:i}=OL();this.history=[{...r.point,timestamp:i}];const{onSessionStart:o}=t;o==null||o(e,aC(r,this.history)),this.removeListeners=Bbe(E4(this.win,"pointermove",this.onPointerMove),E4(this.win,"pointerup",this.onPointerUp),E4(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),tre.update(this.updatePoint)}};function aI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function aC(e,t){return{point:e.point,delta:aI(e.point,t[t.length-1]),offset:aI(e.point,t[0]),velocity:jbe(t,.1)}}var Nbe=e=>e*1e3;function jbe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=e[e.length-1];for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Nbe(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Bbe(...e){return t=>e.reduce((n,r)=>r(n),t)}function sC(e,t){return Math.abs(e-t)}function sI(e){return"x"in e&&"y"in e}function Fbe(e,t){if(typeof e=="number"&&typeof t=="number")return sC(e,t);if(sI(e)&&sI(t)){const n=sC(e.x,t.x),r=sC(e.y,t.y);return Math.sqrt(n**2+r**2)}return 0}function UV(e,t){const{onPan:n,onPanStart:r,onPanEnd:i,onPanSessionStart:o,onPanSessionEnd:a,threshold:s}=t,l=Boolean(n||r||i||o||a),u=w.useRef(null),d=WV({onSessionStart:o,onSessionEnd:a,onStart:r,onMove:n,onEnd(h,m){u.current=null,i==null||i(h,m)}});w.useEffect(()=>{var h;(h=u.current)==null||h.updateHandlers(d.current)}),w.useEffect(()=>{const h=e.current;if(!h||!l)return;function m(v){u.current=new Dbe(v,d.current,s)}return E4(h,"pointerdown",m)},[e,l,d,s]),w.useEffect(()=>()=>{var h;(h=u.current)==null||h.end(),u.current=null},[])}function $be(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,r=new n.ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const[o]=i;let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;t({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}var zbe=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect;function Hbe(e,t){var n;if(!e||!e.parentElement)return;const r=((n=e.ownerDocument)==null?void 0:n.defaultView)??window,i=new r.MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}function GV({getNodes:e,observeMutation:t=!0}){const[n,r]=w.useState([]),[i,o]=w.useState(0);return zbe(()=>{const a=e(),s=a.map((l,u)=>$be(l,d=>{r(h=>[...h.slice(0,u),d,...h.slice(u+1)])}));if(t){const l=a[0];s.push(Hbe(l,()=>{o(u=>u+1)}))}return()=>{s.forEach(l=>{l==null||l()})}},[i]),n}function Vbe(e){return typeof e=="object"&&e!==null&&"current"in e}function Wbe(e){const[t]=GV({observeMutation:!1,getNodes(){return[Vbe(e)?e.current:e]}});return t}var Ube=Object.getOwnPropertyNames,Gbe=(e,t)=>function(){return e&&(t=(0,e[Ube(e)[0]])(e=0)),t},lf=Gbe({"../../../react-shim.js"(){}});lf();lf();lf();var Ja=e=>e?"":void 0,Mm=e=>e?!0:void 0,uf=(...e)=>e.filter(Boolean).join(" ");lf();function Im(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}lf();lf();function qbe(e){return{root:`slider-root-${e}`,getThumb:t=>`slider-thumb-${e}-${t}`,getInput:t=>`slider-input-${e}-${t}`,track:`slider-track-${e}`,innerTrack:`slider-filled-track-${e}`,getMarker:t=>`slider-marker-${e}-${t}`,output:`slider-output-${e}`}}function Cv(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}var P4={width:0,height:0},wb=e=>e||P4;function qV(e){const{orientation:t,thumbPercents:n,thumbRects:r,isReversed:i}=e,o=S=>{const k=r[S]??P4;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...Cv({orientation:t,vertical:{bottom:`calc(${n[S]}% - ${k.height/2}px)`},horizontal:{left:`calc(${n[S]}% - ${k.width/2}px)`}})}},a=t==="vertical"?r.reduce((S,k)=>wb(S).height>wb(k).height?S:k,P4):r.reduce((S,k)=>wb(S).width>wb(k).width?S:k,P4),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...Cv({orientation:t,vertical:a?{paddingLeft:a.width/2,paddingRight:a.width/2}:{},horizontal:a?{paddingTop:a.height/2,paddingBottom:a.height/2}:{}})},l={position:"absolute",...Cv({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},u=n.length===1,d=[0,i?100-n[0]:n[0]],h=u?d:n;let m=h[0];!u&&i&&(m=100-m);const v=Math.abs(h[h.length-1]-h[0]),b={...l,...Cv({orientation:t,vertical:i?{height:`${v}%`,top:`${m}%`}:{height:`${v}%`,bottom:`${m}%`},horizontal:i?{width:`${v}%`,right:`${m}%`}:{width:`${v}%`,left:`${m}%`}})};return{trackStyle:l,innerTrackStyle:b,rootStyle:s,getThumbStyle:o}}function YV(e){const{isReversed:t,direction:n,orientation:r}=e;return n==="ltr"||r==="vertical"?t:!t}function Ybe(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,minStepsBetweenThumbs:I=0,...R}=e,D=Er(m),j=Er(v),z=Er(S),V=YV({isReversed:a,direction:s,orientation:l}),[K,te]=NS({value:i,defaultValue:o??[25,75],onChange:r});if(!Array.isArray(K))throw new TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof K}\``);const[q,F]=w.useState(!1),[U,X]=w.useState(!1),[Z,W]=w.useState(-1),Q=!(d||h),ie=w.useRef(K),fe=K.map(Ke=>Cm(Ke,t,n)),Se=I*b,Te=Kbe(fe,t,n,Se),ye=w.useRef({eventSource:null,value:[],valueBounds:[]});ye.current.value=fe,ye.current.valueBounds=Te;const He=fe.map(Ke=>n-Ke+t),tt=(V?He:fe).map(Ke=>u5(Ke,t,n)),_e=l==="vertical",lt=w.useRef(null),wt=w.useRef(null),ct=GV({getNodes(){const Ke=wt.current,xt=Ke==null?void 0:Ke.querySelectorAll("[role=slider]");return xt?Array.from(xt):[]}}),mt=w.useId(),Ae=qbe(u??mt),ut=w.useCallback(Ke=>{var xt;if(!lt.current)return;ye.current.eventSource="pointer";const ft=lt.current.getBoundingClientRect(),{clientX:Ht,clientY:rn}=((xt=Ke.touches)==null?void 0:xt[0])??Ke,pr=_e?ft.bottom-rn:Ht-ft.left,Mo=_e?ft.height:ft.width;let Oi=pr/Mo;return V&&(Oi=1-Oi),JF(Oi,t,n)},[_e,V,n,t]),Mt=(n-t)/10,at=b||(n-t)/100,Ct=w.useMemo(()=>({setValueAtIndex(Ke,xt){if(!Q)return;const ft=ye.current.valueBounds[Ke];xt=parseFloat(V7(xt,ft.min,at)),xt=Cm(xt,ft.min,ft.max);const Ht=[...ye.current.value];Ht[Ke]=xt,te(Ht)},setActiveIndex:W,stepUp(Ke,xt=at){const ft=ye.current.value[Ke],Ht=V?ft-xt:ft+xt;Ct.setValueAtIndex(Ke,Ht)},stepDown(Ke,xt=at){const ft=ye.current.value[Ke],Ht=V?ft+xt:ft-xt;Ct.setValueAtIndex(Ke,Ht)},reset(){te(ie.current)}}),[at,V,te,Q]),Zt=w.useCallback(Ke=>{const xt=Ke.key,Ht={ArrowRight:()=>Ct.stepUp(Z),ArrowUp:()=>Ct.stepUp(Z),ArrowLeft:()=>Ct.stepDown(Z),ArrowDown:()=>Ct.stepDown(Z),PageUp:()=>Ct.stepUp(Z,Mt),PageDown:()=>Ct.stepDown(Z,Mt),Home:()=>{const{min:rn}=Te[Z];Ct.setValueAtIndex(Z,rn)},End:()=>{const{max:rn}=Te[Z];Ct.setValueAtIndex(Z,rn)}}[xt];Ht&&(Ke.preventDefault(),Ke.stopPropagation(),Ht(Ke),ye.current.eventSource="keyboard")},[Ct,Z,Mt,Te]),{getThumbStyle:le,rootStyle:De,trackStyle:Ue,innerTrackStyle:Ye}=w.useMemo(()=>qV({isReversed:V,orientation:l,thumbRects:ct,thumbPercents:tt}),[V,l,tt,ct]),we=w.useCallback(Ke=>{var xt;const ft=Ke??Z;if(ft!==-1&&A){const Ht=Ae.getThumb(ft),rn=(xt=wt.current)==null?void 0:xt.ownerDocument.getElementById(Ht);rn&&setTimeout(()=>rn.focus())}},[A,Z,Ae]);Vd(()=>{ye.current.eventSource==="keyboard"&&(j==null||j(ye.current.value))},[fe,j]);const je=Ke=>{const xt=ut(Ke)||0,ft=ye.current.value.map(Oi=>Math.abs(Oi-xt)),Ht=Math.min(...ft);let rn=ft.indexOf(Ht);const pr=ft.filter(Oi=>Oi===Ht);pr.length>1&&xt>ye.current.value[rn]&&(rn=rn+pr.length-1),W(rn),Ct.setValueAtIndex(rn,xt),we(rn)},_t=Ke=>{if(Z==-1)return;const xt=ut(Ke)||0;W(Z),Ct.setValueAtIndex(Z,xt),we(Z)};UV(wt,{onPanSessionStart(Ke){Q&&(F(!0),je(Ke),D==null||D(ye.current.value))},onPanSessionEnd(){Q&&(F(!1),j==null||j(ye.current.value))},onPan(Ke){Q&&_t(Ke)}});const Dt=w.useCallback((Ke={},xt=null)=>({...Ke,...R,id:Ae.root,ref:Yn(xt,wt),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja(U),style:{...Ke.style,...De}}),[R,d,U,De,Ae]),Le=w.useCallback((Ke={},xt=null)=>({...Ke,ref:Yn(xt,lt),id:Ae.track,"data-disabled":Ja(d),style:{...Ke.style,...Ue}}),[d,Ue,Ae]),At=w.useCallback((Ke={},xt=null)=>({...Ke,ref:xt,id:Ae.innerTrack,style:{...Ke.style,...Ye}}),[Ye,Ae]),Fe=w.useCallback((Ke,xt=null)=>{const{index:ft,...Ht}=Ke,rn=fe[ft];if(rn==null)throw new TypeError(`[range-slider > thumb] Cannot find value at index \`${ft}\`. The \`value\` or \`defaultValue\` length is : ${fe.length}`);const pr=Te[ft];return{...Ht,ref:xt,role:"slider",tabIndex:Q?0:void 0,id:Ae.getThumb(ft),"data-active":Ja(q&&Z===ft),"aria-valuetext":(z==null?void 0:z(rn))??(k==null?void 0:k[ft]),"aria-valuemin":pr.min,"aria-valuemax":pr.max,"aria-valuenow":rn,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E==null?void 0:E[ft],"aria-labelledby":E!=null&&E[ft]||_==null?void 0:_[ft],style:{...Ke.style,...le(ft)},onKeyDown:Im(Ke.onKeyDown,Zt),onFocus:Im(Ke.onFocus,()=>{X(!0),W(ft)}),onBlur:Im(Ke.onBlur,()=>{X(!1),W(-1)})}},[Ae,fe,Te,Q,q,Z,z,k,l,d,h,E,_,le,Zt,X]),vt=w.useCallback((Ke={},xt=null)=>({...Ke,ref:xt,id:Ae.output,htmlFor:fe.map((ft,Ht)=>Ae.getThumb(Ht)).join(" "),"aria-live":"off"}),[Ae,fe]),nn=w.useCallback((Ke,xt=null)=>{const{value:ft,...Ht}=Ke,rn=!(ftn),pr=ft>=fe[0]&&ft<=fe[fe.length-1];let Mo=u5(ft,t,n);Mo=V?100-Mo:Mo;const Oi={position:"absolute",pointerEvents:"none",...Cv({orientation:l,vertical:{bottom:`${Mo}%`},horizontal:{left:`${Mo}%`}})};return{...Ht,ref:xt,id:Ae.getMarker(Ke.value),role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!rn),"data-highlighted":Ja(pr),style:{...Ke.style,...Oi}}},[d,V,n,t,l,fe,Ae]),Rn=w.useCallback((Ke,xt=null)=>{const{index:ft,...Ht}=Ke;return{...Ht,ref:xt,id:Ae.getInput(ft),type:"hidden",value:fe[ft],name:Array.isArray(T)?T[ft]:`${T}-${ft}`}},[T,fe,Ae]);return{state:{value:fe,isFocused:U,isDragging:q,getThumbPercent:Ke=>tt[Ke],getThumbMinValue:Ke=>Te[Ke].min,getThumbMaxValue:Ke=>Te[Ke].max},actions:Ct,getRootProps:Dt,getTrackProps:Le,getInnerTrackProps:At,getThumbProps:Fe,getMarkerProps:nn,getInputProps:Rn,getOutputProps:vt}}function Kbe(e,t,n,r){return e.map((i,o)=>{const a=o===0?t:e[o-1]+r,s=o===e.length-1?n:e[o+1]-r;return{min:a,max:s}})}var[Xbe,xx]=Mn({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[Zbe,NE]=Mn({name:"RangeSliderStylesContext",errorMessage:`useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),KV=Oe(function(t,n){const r=Yi("Slider",t),i=En(t),{direction:o}=h0();i.direction=o;const{getRootProps:a,...s}=Ybe(i),l=w.useMemo(()=>({...s,name:t.name}),[s,t.name]);return N.createElement(Xbe,{value:l},N.createElement(Zbe,{value:r},N.createElement(Ce.div,{...a({},n),className:"chakra-slider",__css:r.container},t.children)))});KV.defaultProps={orientation:"horizontal"};KV.displayName="RangeSlider";var Qbe=Oe(function(t,n){const{getThumbProps:r,getInputProps:i,name:o}=xx(),a=NE(),s=r(t,n);return N.createElement(Ce.div,{...s,className:uf("chakra-slider__thumb",t.className),__css:a.thumb},s.children,o&&N.createElement("input",{...i({index:t.index})}))});Qbe.displayName="RangeSliderThumb";var Jbe=Oe(function(t,n){const{getTrackProps:r}=xx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:uf("chakra-slider__track",t.className),__css:i.track,"data-testid":"chakra-range-slider-track"})});Jbe.displayName="RangeSliderTrack";var e4e=Oe(function(t,n){const{getInnerTrackProps:r}=xx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:"chakra-slider__filled-track",__css:i.filledTrack})});e4e.displayName="RangeSliderFilledTrack";var t4e=Oe(function(t,n){const{getMarkerProps:r}=xx(),i=r(t,n);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",t.className)})});t4e.displayName="RangeSliderMark";lf();lf();function n4e(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,...I}=e,R=Er(m),D=Er(v),j=Er(S),z=YV({isReversed:a,direction:s,orientation:l}),[V,K]=NS({value:i,defaultValue:o??i4e(t,n),onChange:r}),[te,q]=w.useState(!1),[F,U]=w.useState(!1),X=!(d||h),Z=(n-t)/10,W=b||(n-t)/100,Q=Cm(V,t,n),ie=n-Q+t,Se=u5(z?ie:Q,t,n),Te=l==="vertical",ye=WV({min:t,max:n,step:b,isDisabled:d,value:Q,isInteractive:X,isReversed:z,isVertical:Te,eventSource:null,focusThumbOnChange:A,orientation:l}),He=w.useRef(null),Ne=w.useRef(null),tt=w.useRef(null),_e=w.useId(),lt=u??_e,[wt,ct]=[`slider-thumb-${lt}`,`slider-track-${lt}`],mt=w.useCallback(Fe=>{var vt;if(!He.current)return;const nn=ye.current;nn.eventSource="pointer";const Rn=He.current.getBoundingClientRect(),{clientX:Ke,clientY:xt}=((vt=Fe.touches)==null?void 0:vt[0])??Fe,ft=Te?Rn.bottom-xt:Ke-Rn.left,Ht=Te?Rn.height:Rn.width;let rn=ft/Ht;z&&(rn=1-rn);let pr=JF(rn,nn.min,nn.max);return nn.step&&(pr=parseFloat(V7(pr,nn.min,nn.step))),pr=Cm(pr,nn.min,nn.max),pr},[Te,z,ye]),St=w.useCallback(Fe=>{const vt=ye.current;vt.isInteractive&&(Fe=parseFloat(V7(Fe,vt.min,W)),Fe=Cm(Fe,vt.min,vt.max),K(Fe))},[W,K,ye]),Ae=w.useMemo(()=>({stepUp(Fe=W){const vt=z?Q-Fe:Q+Fe;St(vt)},stepDown(Fe=W){const vt=z?Q+Fe:Q-Fe;St(vt)},reset(){St(o||0)},stepTo(Fe){St(Fe)}}),[St,z,Q,W,o]),ut=w.useCallback(Fe=>{const vt=ye.current,Rn={ArrowRight:()=>Ae.stepUp(),ArrowUp:()=>Ae.stepUp(),ArrowLeft:()=>Ae.stepDown(),ArrowDown:()=>Ae.stepDown(),PageUp:()=>Ae.stepUp(Z),PageDown:()=>Ae.stepDown(Z),Home:()=>St(vt.min),End:()=>St(vt.max)}[Fe.key];Rn&&(Fe.preventDefault(),Fe.stopPropagation(),Rn(Fe),vt.eventSource="keyboard")},[Ae,St,Z,ye]),Mt=(j==null?void 0:j(Q))??k,at=Wbe(Ne),{getThumbStyle:Ct,rootStyle:Zt,trackStyle:le,innerTrackStyle:De}=w.useMemo(()=>{const Fe=ye.current,vt=at??{width:0,height:0};return qV({isReversed:z,orientation:Fe.orientation,thumbRects:[vt],thumbPercents:[Se]})},[z,at,Se,ye]),Ue=w.useCallback(()=>{ye.current.focusThumbOnChange&&setTimeout(()=>{var vt;return(vt=Ne.current)==null?void 0:vt.focus()})},[ye]);Vd(()=>{const Fe=ye.current;Ue(),Fe.eventSource==="keyboard"&&(D==null||D(Fe.value))},[Q,D]);function Ye(Fe){const vt=mt(Fe);vt!=null&&vt!==ye.current.value&&K(vt)}UV(tt,{onPanSessionStart(Fe){const vt=ye.current;vt.isInteractive&&(q(!0),Ue(),Ye(Fe),R==null||R(vt.value))},onPanSessionEnd(){const Fe=ye.current;Fe.isInteractive&&(q(!1),D==null||D(Fe.value))},onPan(Fe){ye.current.isInteractive&&Ye(Fe)}});const we=w.useCallback((Fe={},vt=null)=>({...Fe,...I,ref:Yn(vt,tt),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja(F),style:{...Fe.style,...Zt}}),[I,d,F,Zt]),je=w.useCallback((Fe={},vt=null)=>({...Fe,ref:Yn(vt,He),id:ct,"data-disabled":Ja(d),style:{...Fe.style,...le}}),[d,ct,le]),_t=w.useCallback((Fe={},vt=null)=>({...Fe,ref:vt,style:{...Fe.style,...De}}),[De]),Dt=w.useCallback((Fe={},vt=null)=>({...Fe,ref:Yn(vt,Ne),role:"slider",tabIndex:X?0:void 0,id:wt,"data-active":Ja(te),"aria-valuetext":Mt,"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":Q,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E,"aria-labelledby":E?void 0:_,style:{...Fe.style,...Ct(0)},onKeyDown:Im(Fe.onKeyDown,ut),onFocus:Im(Fe.onFocus,()=>U(!0)),onBlur:Im(Fe.onBlur,()=>U(!1))}),[X,wt,te,Mt,t,n,Q,l,d,h,E,_,Ct,ut]),Le=w.useCallback((Fe,vt=null)=>{const nn=!(Fe.valuen),Rn=Q>=Fe.value,Ke=u5(Fe.value,t,n),xt={position:"absolute",pointerEvents:"none",...r4e({orientation:l,vertical:{bottom:z?`${100-Ke}%`:`${Ke}%`},horizontal:{left:z?`${100-Ke}%`:`${Ke}%`}})};return{...Fe,ref:vt,role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!nn),"data-highlighted":Ja(Rn),style:{...Fe.style,...xt}}},[d,z,n,t,l,Q]),At=w.useCallback((Fe={},vt=null)=>({...Fe,ref:vt,type:"hidden",value:Q,name:T}),[T,Q]);return{state:{value:Q,isFocused:F,isDragging:te},actions:Ae,getRootProps:we,getTrackProps:je,getInnerTrackProps:_t,getThumbProps:Dt,getMarkerProps:Le,getInputProps:At}}function r4e(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}function i4e(e,t){return t"}),[a4e,Cx]=Mn({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),jE=Oe((e,t)=>{const n=Yi("Slider",e),r=En(e),{direction:i}=h0();r.direction=i;const{getInputProps:o,getRootProps:a,...s}=n4e(r),l=a(),u=o({},t);return N.createElement(o4e,{value:s},N.createElement(a4e,{value:n},N.createElement(Ce.div,{...l,className:uf("chakra-slider",e.className),__css:n.container},e.children,N.createElement("input",{...u}))))});jE.defaultProps={orientation:"horizontal"};jE.displayName="Slider";var XV=Oe((e,t)=>{const{getThumbProps:n}=wx(),r=Cx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__thumb",e.className),__css:r.thumb})});XV.displayName="SliderThumb";var ZV=Oe((e,t)=>{const{getTrackProps:n}=wx(),r=Cx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__track",e.className),__css:r.track})});ZV.displayName="SliderTrack";var QV=Oe((e,t)=>{const{getInnerTrackProps:n}=wx(),r=Cx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__filled-track",e.className),__css:r.filledTrack})});QV.displayName="SliderFilledTrack";var q9=Oe((e,t)=>{const{getMarkerProps:n}=wx(),r=Cx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",e.className),__css:r.mark})});q9.displayName="SliderMark";var s4e=(...e)=>e.filter(Boolean).join(" "),lI=e=>e?"":void 0,BE=Oe(function(t,n){const r=Yi("Switch",t),{spacing:i="0.5rem",children:o,...a}=En(t),{state:s,getInputProps:l,getCheckboxProps:u,getRootProps:d,getLabelProps:h}=ZF(a),m=w.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),v=w.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=w.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return N.createElement(Ce.label,{...d(),className:s4e("chakra-switch",t.className),__css:m},N.createElement("input",{className:"chakra-switch__input",...l({},n)}),N.createElement(Ce.span,{...u(),className:"chakra-switch__track",__css:v},N.createElement(Ce.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":lI(s.isChecked),"data-hover":lI(s.isHovered)})),o&&N.createElement(Ce.span,{className:"chakra-switch__label",...h(),__css:b},o))});BE.displayName="Switch";var C0=(...e)=>e.filter(Boolean).join(" ");function Y9(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[l4e,JV,u4e,c4e]=dB();function d4e(e){const{defaultIndex:t,onChange:n,index:r,isManual:i,isLazy:o,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...u}=e,[d,h]=w.useState(t??0),[m,v]=NS({defaultValue:t??0,value:r,onChange:n});w.useEffect(()=>{r!=null&&h(r)},[r]);const b=u4e(),S=w.useId();return{id:`tabs-${e.id??S}`,selectedIndex:m,focusedIndex:d,setSelectedIndex:v,setFocusedIndex:h,isManual:i,isLazy:o,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:u}}var[f4e,My]=Mn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function h4e(e){const{focusedIndex:t,orientation:n,direction:r}=My(),i=JV(),o=w.useCallback(a=>{const s=()=>{var _;const T=i.nextEnabled(t);T&&((_=T.node)==null||_.focus())},l=()=>{var _;const T=i.prevEnabled(t);T&&((_=T.node)==null||_.focus())},u=()=>{var _;const T=i.firstEnabled();T&&((_=T.node)==null||_.focus())},d=()=>{var _;const T=i.lastEnabled();T&&((_=T.node)==null||_.focus())},h=n==="horizontal",m=n==="vertical",v=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",S=r==="ltr"?"ArrowRight":"ArrowLeft",E={[b]:()=>h&&l(),[S]:()=>h&&s(),ArrowDown:()=>m&&s(),ArrowUp:()=>m&&l(),Home:u,End:d}[v];E&&(a.preventDefault(),E(a))},[i,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:Y9(e.onKeyDown,o)}}function p4e(e){const{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=My(),{index:u,register:d}=c4e({disabled:t&&!n}),h=u===l,m=()=>{i(u)},v=()=>{s(u),!o&&!(t&&n)&&i(u)},b=t0e({...r,ref:Yn(d,e.ref),isDisabled:t,isFocusable:n,onClick:Y9(e.onClick,m)}),S="button";return{...b,id:eW(a,u),role:"tab",tabIndex:h?0:-1,type:S,"aria-selected":h,"aria-controls":tW(a,u),onFocus:t?void 0:Y9(e.onFocus,v)}}var[g4e,m4e]=Mn({});function v4e(e){const t=My(),{id:n,selectedIndex:r}=t,o=ZS(e.children).map((a,s)=>w.createElement(g4e,{key:s,value:{isSelected:s===r,id:tW(n,s),tabId:eW(n,s),selectedIndex:r}},a));return{...e,children:o}}function y4e(e){const{children:t,...n}=e,{isLazy:r,lazyBehavior:i}=My(),{isSelected:o,id:a,tabId:s}=m4e(),l=w.useRef(!1);o&&(l.current=!0);const u=j$({wasSelected:l.current,isSelected:o,enabled:r,mode:i});return{tabIndex:0,...n,children:u?t:null,role:"tabpanel","aria-labelledby":s,hidden:!o,id:a}}function b4e(){const e=My(),t=JV(),{selectedIndex:n,orientation:r}=e,i=r==="horizontal",o=r==="vertical",[a,s]=w.useState(()=>{if(i)return{left:0,width:0};if(o)return{top:0,height:0}}),[l,u]=w.useState(!1);return Ws(()=>{if(n==null)return;const d=t.item(n);if(d==null)return;i&&s({left:d.node.offsetLeft,width:d.node.offsetWidth}),o&&s({top:d.node.offsetTop,height:d.node.offsetHeight});const h=requestAnimationFrame(()=>{u(!0)});return()=>{h&&cancelAnimationFrame(h)}},[n,i,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...a}}function eW(e,t){return`${e}--tab-${t}`}function tW(e,t){return`${e}--tabpanel-${t}`}var[S4e,Iy]=Mn({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),nW=Oe(function(t,n){const r=Yi("Tabs",t),{children:i,className:o,...a}=En(t),{htmlProps:s,descendants:l,...u}=d4e(a),d=w.useMemo(()=>u,[u]),{isFitted:h,...m}=s;return N.createElement(l4e,{value:l},N.createElement(f4e,{value:d},N.createElement(S4e,{value:r},N.createElement(Ce.div,{className:C0("chakra-tabs",o),ref:n,...m,__css:r.root},i))))});nW.displayName="Tabs";var x4e=Oe(function(t,n){const r=b4e(),i={...t.style,...r},o=Iy();return N.createElement(Ce.div,{ref:n,...t,className:C0("chakra-tabs__tab-indicator",t.className),style:i,__css:o.indicator})});x4e.displayName="TabIndicator";var w4e=Oe(function(t,n){const r=h4e({...t,ref:n}),o={display:"flex",...Iy().tablist};return N.createElement(Ce.div,{...r,className:C0("chakra-tabs__tablist",t.className),__css:o})});w4e.displayName="TabList";var rW=Oe(function(t,n){const r=y4e({...t,ref:n}),i=Iy();return N.createElement(Ce.div,{outline:"0",...r,className:C0("chakra-tabs__tab-panel",t.className),__css:i.tabpanel})});rW.displayName="TabPanel";var iW=Oe(function(t,n){const r=v4e(t),i=Iy();return N.createElement(Ce.div,{...r,width:"100%",ref:n,className:C0("chakra-tabs__tab-panels",t.className),__css:i.tabpanels})});iW.displayName="TabPanels";var oW=Oe(function(t,n){const r=Iy(),i=p4e({...t,ref:n}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return N.createElement(Ce.button,{...i,className:C0("chakra-tabs__tab",t.className),__css:o})});oW.displayName="Tab";var C4e=(...e)=>e.filter(Boolean).join(" ");function _4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var k4e=["h","minH","height","minHeight"],FE=Oe((e,t)=>{const n=Ao("Textarea",e),{className:r,rows:i,...o}=En(e),a=sk(o),s=i?_4e(n,k4e):n;return N.createElement(Ce.textarea,{ref:t,rows:i,...a,className:C4e("chakra-textarea",r),__css:s})});FE.displayName="Textarea";function E4e(e,t){const n=Er(e);w.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function K9(e,...t){return P4e(e)?e(...t):e}var P4e=e=>typeof e=="function";function T4e(e,t){const n=e??"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(i==null?void 0:i[t])??n}var L4e=(e,t)=>e.find(n=>n.id===t);function uI(e,t){const n=aW(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function aW(e,t){for(const[n,r]of Object.entries(e))if(L4e(r,t))return n}function A4e(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function O4e(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}var M4e={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Hl=I4e(M4e);function I4e(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(s=>s.id!=i)}))},notify:(i,o)=>{const a=R4e(i,o),{position:s,id:l}=a;return r(u=>{const h=s.includes("top")?[a,...u[s]??[]]:[...u[s]??[],a];return{...u,[s]:h}}),l},update:(i,o)=>{i&&r(a=>{const s={...a},{position:l,index:u}=uI(s,i);return l&&u!==-1&&(s[l][u]={...s[l][u],...o,message:sW(o)}),s})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=o[u].map(d=>({...d,requestClose:!0})),l),{...o}))},close:i=>{r(o=>{const a=aW(o,i);return a?{...o,[a]:o[a].map(s=>s.id==i?{...s,requestClose:!0}:s)}:o})},isActive:i=>Boolean(uI(Hl.getState(),i).position)}}var cI=0;function R4e(e,t={}){cI+=1;const n=t.id??cI,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Hl.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var D4e=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:s,icon:l}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return N.createElement(UF,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},N.createElement(qF,null,l),N.createElement(Ce.div,{flex:"1",maxWidth:"100%"},i&&N.createElement(YF,{id:u==null?void 0:u.title},i),s&&N.createElement(GF,{id:u==null?void 0:u.description,display:"block"},s)),o&&N.createElement(ex,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1}))};function sW(e={}){const{render:t,toastComponent:n=D4e}=e;return i=>typeof t=="function"?t({...i,...e}):N.createElement(n,{...i,...e})}function N4e(e,t){const n=i=>({...t,...i,position:T4e((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=sW(o);return Hl.notify(a,o)};return r.update=(i,o)=>{Hl.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(s=>r.update(a,{status:"success",duration:5e3,...K9(o.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...K9(o.error,s)}))},r.closeAll=Hl.closeAll,r.close=Hl.close,r.isActive=Hl.isActive,r}function Ry(e){const{theme:t}=lB();return w.useMemo(()=>N4e(t.direction,e),[e,t.direction])}var j4e={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},lW=w.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=j4e,toastSpacing:d="0.5rem"}=e,[h,m]=w.useState(s),v=Ife();Vd(()=>{v||r==null||r()},[v]),Vd(()=>{m(s)},[s]);const b=()=>m(null),S=()=>m(s),k=()=>{v&&i()};w.useEffect(()=>{v&&o&&i()},[v,o,i]),E4e(k,h);const E=w.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),_=w.useMemo(()=>A4e(a),[a]);return N.createElement(du.li,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:S,custom:{position:a},style:_},N.createElement(Ce.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:E},K9(n,{id:t,onClose:k})))});lW.displayName="ToastComponent";var B4e=e=>{const t=w.useSyncExternalStore(Hl.subscribe,Hl.getState,Hl.getState),{children:n,motionVariants:r,component:i=lW,portalProps:o}=e,s=Object.keys(t).map(l=>{const u=t[l];return N.createElement("ul",{role:"region","aria-live":"polite",key:l,id:`chakra-toast-manager-${l}`,style:O4e(l)},N.createElement(nf,{initial:!1},u.map(d=>N.createElement(i,{key:d.id,motionVariants:r,...d}))))});return N.createElement(N.Fragment,null,n,N.createElement(ap,{...o},s))};function F4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function $4e(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var z4e={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function tv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var j5=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},X9=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function H4e(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:s=!0,onOpen:l,onClose:u,placement:d,id:h,isOpen:m,defaultIsOpen:v,arrowSize:b=10,arrowShadowColor:S,arrowPadding:k,modifiers:E,isDisabled:_,gutter:T,offset:A,direction:I,...R}=e,{isOpen:D,onOpen:j,onClose:z}=N$({isOpen:m,defaultIsOpen:v,onOpen:l,onClose:u}),{referenceRef:V,getPopperProps:K,getArrowInnerProps:te,getArrowProps:q}=D$({enabled:D,placement:d,arrowPadding:k,modifiers:E,gutter:T,offset:A,direction:I}),F=w.useId(),X=`tooltip-${h??F}`,Z=w.useRef(null),W=w.useRef(),Q=w.useCallback(()=>{W.current&&(clearTimeout(W.current),W.current=void 0)},[]),ie=w.useRef(),fe=w.useCallback(()=>{ie.current&&(clearTimeout(ie.current),ie.current=void 0)},[]),Se=w.useCallback(()=>{fe(),z()},[z,fe]),Te=V4e(Z,Se),ye=w.useCallback(()=>{if(!_&&!W.current){Te();const mt=X9(Z);W.current=mt.setTimeout(j,t)}},[Te,_,j,t]),He=w.useCallback(()=>{Q();const mt=X9(Z);ie.current=mt.setTimeout(Se,n)},[n,Se,Q]),Ne=w.useCallback(()=>{D&&r&&He()},[r,He,D]),tt=w.useCallback(()=>{D&&a&&He()},[a,He,D]),_e=w.useCallback(mt=>{D&&mt.key==="Escape"&&He()},[D,He]);Rh(()=>j5(Z),"keydown",s?_e:void 0),Rh(()=>j5(Z),"scroll",()=>{D&&o&&Se()}),w.useEffect(()=>{_&&(Q(),D&&z())},[_,D,z,Q]),w.useEffect(()=>()=>{Q(),fe()},[Q,fe]),Rh(()=>Z.current,"pointerleave",He);const lt=w.useCallback((mt={},St=null)=>({...mt,ref:Yn(Z,St,V),onPointerEnter:tv(mt.onPointerEnter,ut=>{ut.pointerType!=="touch"&&ye()}),onClick:tv(mt.onClick,Ne),onPointerDown:tv(mt.onPointerDown,tt),onFocus:tv(mt.onFocus,ye),onBlur:tv(mt.onBlur,He),"aria-describedby":D?X:void 0}),[ye,He,tt,D,X,Ne,V]),wt=w.useCallback((mt={},St=null)=>K({...mt,style:{...mt.style,[oi.arrowSize.var]:b?`${b}px`:void 0,[oi.arrowShadowColor.var]:S}},St),[K,b,S]),ct=w.useCallback((mt={},St=null)=>{const Ae={...mt.style,position:"relative",transformOrigin:oi.transformOrigin.varRef};return{ref:St,...R,...mt,id:X,role:"tooltip",style:Ae}},[R,X]);return{isOpen:D,show:ye,hide:He,getTriggerProps:lt,getTooltipProps:ct,getTooltipPositionerProps:wt,getArrowProps:q,getArrowInnerProps:te}}var lC="chakra-ui:close-tooltip";function V4e(e,t){return w.useEffect(()=>{const n=j5(e);return n.addEventListener(lC,t),()=>n.removeEventListener(lC,t)},[t,e]),()=>{const n=j5(e),r=X9(e);n.dispatchEvent(new r.CustomEvent(lC))}}var W4e=Ce(du.div),lo=Oe((e,t)=>{const n=Ao("Tooltip",e),r=En(e),i=h0(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:u,bg:d,portalProps:h,background:m,backgroundColor:v,bgColor:b,motionProps:S,...k}=r,E=m??v??d??b;if(E){n.bg=E;const z=tne(i,"colors",E);n[oi.arrowBg.var]=z}const _=H4e({...k,direction:i.direction}),T=typeof o=="string"||s;let A;if(T)A=N.createElement(Ce.span,{display:"inline-block",tabIndex:0,..._.getTriggerProps()},o);else{const z=w.Children.only(o);A=w.cloneElement(z,_.getTriggerProps(z.props,z.ref))}const I=!!l,R=_.getTooltipProps({},t),D=I?F4e(R,["role","id"]):R,j=$4e(R,["role","id"]);return a?N.createElement(N.Fragment,null,A,N.createElement(nf,null,_.isOpen&&N.createElement(ap,{...h},N.createElement(Ce.div,{..._.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"}},N.createElement(W4e,{variants:z4e,initial:"exit",animate:"enter",exit:"exit",...S,...D,__css:n},a,I&&N.createElement(Ce.span,{srOnly:!0,...j},l),u&&N.createElement(Ce.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},N.createElement(Ce.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}}))))))):N.createElement(N.Fragment,null,o)});lo.displayName="Tooltip";var U4e=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetCSS:i=!0,theme:o={},environment:a,cssVarsRoot:s}=e,l=N.createElement(y$,{environment:a},t);return N.createElement(Gue,{theme:o,cssVarsRoot:s},N.createElement(fj,{colorModeManager:n,options:o.config},i?N.createElement(dme,null):N.createElement(cme,null),N.createElement(Yue,null),r?N.createElement(BH,{zIndex:r},l):l))};function G4e({children:e,theme:t=jue,toastOptions:n,...r}){return N.createElement(U4e,{theme:t,...r},e,N.createElement(B4e,{...n}))}var Z9={},dI=Qs;Z9.createRoot=dI.createRoot,Z9.hydrateRoot=dI.hydrateRoot;var Q9={},q4e={get exports(){return Q9},set exports(e){Q9=e}},uW={};/** +`)},P3e=0,Tg=[];function T3e(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),i=w.useState(P3e++)[0],o=w.useState(function(){return CV()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var S=j7([e.lockRef.current],(e.shards||[]).map(nI),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=w.useCallback(function(S,k){if("touches"in S&&S.touches.length===2)return!a.current.allowPinchZoom;var E=xb(S),_=n.current,T="deltaX"in S?S.deltaX:_[0]-E[0],A="deltaY"in S?S.deltaY:_[1]-E[1],I,R=S.target,D=Math.abs(T)>Math.abs(A)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var j=eI(D,R);if(!j)return!0;if(j?I=D:(I=D==="v"?"h":"v",j=eI(D,R)),!j)return!1;if(!r.current&&"changedTouches"in S&&(T||A)&&(r.current=I),!I)return!0;var z=r.current||I;return _3e(z,k,S,z==="h"?T:A,!0)},[]),l=w.useCallback(function(S){var k=S;if(!(!Tg.length||Tg[Tg.length-1]!==o)){var E="deltaY"in k?tI(k):xb(k),_=t.current.filter(function(I){return I.name===k.type&&I.target===k.target&&k3e(I.delta,E)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var T=(a.current.shards||[]).map(nI).filter(Boolean).filter(function(I){return I.contains(k.target)}),A=T.length>0?s(k,T[0]):!a.current.noIsolation;A&&k.cancelable&&k.preventDefault()}}},[]),u=w.useCallback(function(S,k,E,_){var T={name:S,delta:k,target:E,should:_};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(A){return A!==T})},1)},[]),d=w.useCallback(function(S){n.current=xb(S),r.current=void 0},[]),h=w.useCallback(function(S){u(S.type,tI(S),S.target,s(S,e.lockRef.current))},[]),m=w.useCallback(function(S){u(S.type,xb(S),S.target,s(S,e.lockRef.current))},[]);w.useEffect(function(){return Tg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Pg),document.addEventListener("touchmove",l,Pg),document.addEventListener("touchstart",d,Pg),function(){Tg=Tg.filter(function(S){return S!==o}),document.removeEventListener("wheel",l,Pg),document.removeEventListener("touchmove",l,Pg),document.removeEventListener("touchstart",d,Pg)}},[]);var v=e.removeScrollBar,b=e.inert;return w.createElement(w.Fragment,null,b?w.createElement(o,{styles:E3e(i)}):null,v?w.createElement(v3e,{gapMode:"margin"}):null)}const L3e=lye(wV,T3e);var PV=w.forwardRef(function(e,t){return w.createElement(bx,Fl({},e,{ref:t,sideCar:L3e}))});PV.classNames=bx.classNames;const TV=PV;var sp=(...e)=>e.filter(Boolean).join(" ");function wv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var A3e=class{constructor(){an(this,"modals");this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},G9=new A3e;function O3e(e,t){w.useEffect(()=>(t&&G9.add(e),()=>{G9.remove(e)}),[t,e])}function M3e(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,u=w.useRef(null),d=w.useRef(null),[h,m,v]=R3e(r,"chakra-modal","chakra-modal--header","chakra-modal--body");I3e(u,t&&a),O3e(u,t);const b=w.useRef(null),S=w.useCallback(j=>{b.current=j.target},[]),k=w.useCallback(j=>{j.key==="Escape"&&(j.stopPropagation(),o&&(n==null||n()),l==null||l())},[o,n,l]),[E,_]=w.useState(!1),[T,A]=w.useState(!1),I=w.useCallback((j={},z=null)=>({role:"dialog",...j,ref:Yn(z,u),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?m:void 0,"aria-describedby":T?v:void 0,onClick:wv(j.onClick,V=>V.stopPropagation())}),[v,T,h,m,E]),R=w.useCallback(j=>{j.stopPropagation(),b.current===j.target&&G9.isTopModal(u)&&(i&&(n==null||n()),s==null||s())},[n,i,s]),D=w.useCallback((j={},z=null)=>({...j,ref:Yn(z,d),onClick:wv(j.onClick,R),onKeyDown:wv(j.onKeyDown,k),onMouseDown:wv(j.onMouseDown,S)}),[k,S,R]);return{isOpen:t,onClose:n,headerId:m,bodyId:v,setBodyMounted:A,setHeaderMounted:_,dialogRef:u,overlayRef:d,getDialogProps:I,getDialogContainerProps:D}}function I3e(e,t){const n=e.current;w.useEffect(()=>{if(!(!e.current||!t))return HH(e.current)},[t,e,n])}function R3e(e,...t){const n=w.useId(),r=e||n;return w.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}var[D3e,lp]=Mn({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[N3e,qd]=Mn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Yd=e=>{const{portalProps:t,children:n,autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m,onCloseComplete:v}=e,b=Yi("Modal",e),k={...M3e(e),autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m};return N.createElement(N3e,{value:k},N.createElement(D3e,{value:b},N.createElement(nf,{onExitComplete:v},k.isOpen&&N.createElement(ap,{...t},n))))};Yd.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};Yd.displayName="Modal";var n0=Ae((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__body",n),s=lp();return N.createElement(Ce.div,{ref:t,className:a,id:i,...r,__css:s.body})});n0.displayName="ModalBody";var Ly=Ae((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=qd(),a=sp("chakra-modal__close-btn",r),s=lp();return N.createElement(tx,{ref:t,__css:s.closeButton,className:a,onClick:wv(n,l=>{l.stopPropagation(),o()}),...i})});Ly.displayName="ModalCloseButton";function LV(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d}=qd(),[h,m]=K_();return w.useEffect(()=>{!h&&m&&setTimeout(m)},[h,m]),N.createElement(xV,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:d},N.createElement(TV,{removeScrollBar:!u,allowPinchZoom:a,enabled:o,forwardProps:!0},e.children))}var j3e={slideInBottom:{...$7,custom:{offsetY:16,reverse:!0}},slideInRight:{...$7,custom:{offsetX:16,reverse:!0}},scale:{...V$,custom:{initialScale:.95,reverse:!0}},none:{}},B3e=Ce(du.section),$3e=e=>j3e[e||"none"],AV=w.forwardRef((e,t)=>{const{preset:n,motionProps:r=$3e(n),...i}=e;return N.createElement(B3e,{ref:t,...r,...i})});AV.displayName="ModalTransition";var Zh=Ae((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=qd(),u=s(a,t),d=l(i),h=sp("chakra-modal__content",n),m=lp(),v={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...m.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...m.dialogContainer},{motionPreset:S}=qd();return N.createElement(LV,null,N.createElement(Ce.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:b},N.createElement(AV,{preset:S,motionProps:o,className:h,...u,__css:v},r)))});Zh.displayName="ModalContent";var Sx=Ae((e,t)=>{const{className:n,...r}=e,i=sp("chakra-modal__footer",n),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...lp().footer};return N.createElement(Ce.footer,{ref:t,...r,__css:a,className:i})});Sx.displayName="ModalFooter";var w0=Ae((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__header",n),l={flex:0,...lp().header};return N.createElement(Ce.header,{ref:t,className:a,id:i,...r,__css:l})});w0.displayName="ModalHeader";var F3e=Ce(du.div),Kd=Ae((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=sp("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...lp().overlay},{motionPreset:u}=qd(),h=i||(u==="none"?{}:H$);return N.createElement(F3e,{...h,__css:l,ref:t,className:a,...o})});Kd.displayName="ModalOverlay";function OV(e){const{leastDestructiveRef:t,...n}=e;return N.createElement(Yd,{...n,initialFocusRef:t})}var MV=Ae((e,t)=>N.createElement(Zh,{ref:t,role:"alertdialog",...e})),[QFe,z3e]=Mn(),H3e=Ce(W$),V3e=Ae((e,t)=>{const{className:n,children:r,motionProps:i,containerProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=qd(),d=s(a,t),h=l(o),m=sp("chakra-modal__content",n),v=lp(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...v.dialog},S={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...v.dialogContainer},{placement:k}=z3e();return N.createElement(LV,null,N.createElement(Ce.div,{...h,className:"chakra-modal__content-container",__css:S},N.createElement(H3e,{motionProps:i,direction:k,in:u,className:m,...d,__css:b},r)))});V3e.displayName="DrawerContent";function W3e(e,t){const n=Er(e);w.useEffect(()=>{let r=null;const i=()=>n();return t!==null&&(r=window.setInterval(i,t)),()=>{r&&window.clearInterval(r)}},[t,n])}var IV=(...e)=>e.filter(Boolean).join(" "),oC=e=>e?!0:void 0;function Al(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var U3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})),G3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"}));function rI(e,t,n,r){w.useEffect(()=>{if(!e.current||!r)return;const i=e.current.ownerDocument.defaultView??window,o=Array.isArray(t)?t:[t],a=new i.MutationObserver(s=>{for(const l of s)l.type==="attributes"&&l.attributeName&&o.includes(l.attributeName)&&n(l)});return a.observe(e.current,{attributes:!0,attributeFilter:o}),()=>a.disconnect()})}var q3e=50,iI=300;function Y3e(e,t){const[n,r]=w.useState(!1),[i,o]=w.useState(null),[a,s]=w.useState(!0),l=w.useRef(null),u=()=>clearTimeout(l.current);W3e(()=>{i==="increment"&&e(),i==="decrement"&&t()},n?q3e:null);const d=w.useCallback(()=>{a&&e(),l.current=setTimeout(()=>{s(!1),r(!0),o("increment")},iI)},[e,a]),h=w.useCallback(()=>{a&&t(),l.current=setTimeout(()=>{s(!1),r(!0),o("decrement")},iI)},[t,a]),m=w.useCallback(()=>{s(!0),r(!1),u()},[]);return w.useEffect(()=>()=>u(),[]),{up:d,down:h,stop:m,isSpinning:n}}var K3e=/^[Ee0-9+\-.]$/;function X3e(e){return K3e.test(e)}function Z3e(e,t){if(e.key==null)return!0;const n=e.ctrlKey||e.altKey||e.metaKey;return!(e.key.length===1)||n?!0:t(e.key)}function Q3e(e={}){const{focusInputOnChange:t=!0,clampValueOnBlur:n=!0,keepWithinRange:r=!0,min:i=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:a=1,isReadOnly:s,isDisabled:l,isRequired:u,isInvalid:d,pattern:h="[0-9]*(.[0-9]+)?",inputMode:m="decimal",allowMouseWheel:v,id:b,onChange:S,precision:k,name:E,"aria-describedby":_,"aria-label":T,"aria-labelledby":A,onFocus:I,onBlur:R,onInvalid:D,getAriaValueText:j,isValidCharacter:z,format:V,parse:K,...te}=e,q=Er(I),$=Er(R),U=Er(D),X=Er(z??X3e),Z=Er(j),W=cme(e),{update:Q,increment:ie,decrement:fe}=W,[Se,Pe]=w.useState(!1),ye=!(s||l),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useRef(null),Be=w.useCallback(Te=>Te.split("").filter(X).join(""),[X]),wt=w.useCallback(Te=>(K==null?void 0:K(Te))??Te,[K]),st=w.useCallback(Te=>((V==null?void 0:V(Te))??Te).toString(),[V]);Vd(()=>{(W.valueAsNumber>o||W.valueAsNumber{if(!We.current)return;if(We.current.value!=W.value){const At=wt(We.current.value);W.setValue(Be(At))}},[wt,Be]);const mt=w.useCallback((Te=a)=>{ye&&ie(Te)},[ie,ye,a]),St=w.useCallback((Te=a)=>{ye&&fe(Te)},[fe,ye,a]),Le=Y3e(mt,St);rI(ot,"disabled",Le.stop,Le.isSpinning),rI(He,"disabled",Le.stop,Le.isSpinning);const lt=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;const $e=wt(Te.currentTarget.value);Q(Be($e)),De.current={start:Te.currentTarget.selectionStart,end:Te.currentTarget.selectionEnd}},[Q,Be,wt]),Mt=w.useCallback(Te=>{var At;q==null||q(Te),De.current&&(Te.target.selectionStart=De.current.start??((At=Te.currentTarget.value)==null?void 0:At.length),Te.currentTarget.selectionEnd=De.current.end??Te.currentTarget.selectionStart)},[q]),ut=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;Z3e(Te,X)||Te.preventDefault();const At=_t(Te)*a,$e=Te.key,tn={ArrowUp:()=>mt(At),ArrowDown:()=>St(At),Home:()=>Q(i),End:()=>Q(o)}[$e];tn&&(Te.preventDefault(),tn(Te))},[X,a,mt,St,Q,i,o]),_t=Te=>{let At=1;return(Te.metaKey||Te.ctrlKey)&&(At=.1),Te.shiftKey&&(At=10),At},ln=w.useMemo(()=>{const Te=Z==null?void 0:Z(W.value);if(Te!=null)return Te;const At=W.value.toString();return At||void 0},[W.value,Z]),ae=w.useCallback(()=>{let Te=W.value;if(W.value==="")return;/^[eE]/.test(W.value.toString())?W.setValue(""):(W.valueAsNumbero&&(Te=o),W.cast(Te))},[W,o,i]),Re=w.useCallback(()=>{Pe(!1),n&&ae()},[n,Pe,ae]),Ye=w.useCallback(()=>{t&&requestAnimationFrame(()=>{var Te;(Te=We.current)==null||Te.focus()})},[t]),Ke=w.useCallback(Te=>{Te.preventDefault(),Le.up(),Ye()},[Ye,Le]),xe=w.useCallback(Te=>{Te.preventDefault(),Le.down(),Ye()},[Ye,Le]);Rh(()=>We.current,"wheel",Te=>{var At;const vt=(((At=We.current)==null?void 0:At.ownerDocument)??document).activeElement===We.current;if(!v||!vt)return;Te.preventDefault();const tn=_t(Te)*a,Rn=Math.sign(Te.deltaY);Rn===-1?mt(tn):Rn===1&&St(tn)},{passive:!1});const Ne=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMax;return{...Te,ref:Yn(At,ot),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||Ke(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":oC($e)}},[W.isAtMax,r,Ke,Le.stop,l]),Ct=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMin;return{...Te,ref:Yn(At,He),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||xe(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":oC($e)}},[W.isAtMin,r,xe,Le.stop,l]),Dt=w.useCallback((Te={},At=null)=>({name:E,inputMode:m,type:"text",pattern:h,"aria-labelledby":A,"aria-label":T,"aria-describedby":_,id:b,disabled:l,...Te,readOnly:Te.readOnly??s,"aria-readonly":Te.readOnly??s,"aria-required":Te.required??u,required:Te.required??u,ref:Yn(We,At),value:st(W.value),role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Number.isNaN(W.valueAsNumber)?void 0:W.valueAsNumber,"aria-invalid":oC(d??W.isOutOfRange),"aria-valuetext":ln,autoComplete:"off",autoCorrect:"off",onChange:Al(Te.onChange,lt),onKeyDown:Al(Te.onKeyDown,ut),onFocus:Al(Te.onFocus,Mt,()=>Pe(!0)),onBlur:Al(Te.onBlur,$,Re)}),[E,m,h,A,T,st,_,b,l,u,s,d,W.value,W.valueAsNumber,W.isOutOfRange,i,o,ln,lt,ut,Mt,$,Re]);return{value:st(W.value),valueAsNumber:W.valueAsNumber,isFocused:Se,isDisabled:l,isReadOnly:s,getIncrementButtonProps:Ne,getDecrementButtonProps:Ct,getInputProps:Dt,htmlProps:te}}var[J3e,xx]=Mn({name:"NumberInputStylesContext",errorMessage:`useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[ebe,PE]=Mn({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),TE=Ae(function(t,n){const r=Yi("NumberInput",t),i=En(t),o=lk(i),{htmlProps:a,...s}=Q3e(o),l=w.useMemo(()=>s,[s]);return N.createElement(ebe,{value:l},N.createElement(J3e,{value:r},N.createElement(Ce.div,{...a,ref:n,className:IV("chakra-numberinput",t.className),__css:{position:"relative",zIndex:0,...r.root}})))});TE.displayName="NumberInput";var RV=Ae(function(t,n){const r=xx();return N.createElement(Ce.div,{"aria-hidden":!0,ref:n,...t,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})});RV.displayName="NumberInputStepper";var LE=Ae(function(t,n){const{getInputProps:r}=PE(),i=r(t,n),o=xx();return N.createElement(Ce.input,{...i,className:IV("chakra-numberinput__field",t.className),__css:{width:"100%",...o.field}})});LE.displayName="NumberInputField";var DV=Ce("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),AE=Ae(function(t,n){const r=xx(),{getDecrementButtonProps:i}=PE(),o=i(t,n);return N.createElement(DV,{...o,__css:r.stepper},t.children??N.createElement(U3e,null))});AE.displayName="NumberDecrementStepper";var OE=Ae(function(t,n){const{getIncrementButtonProps:r}=PE(),i=r(t,n),o=xx();return N.createElement(DV,{...i,__css:o.stepper},t.children??N.createElement(G3e,null))});OE.displayName="NumberIncrementStepper";var Ay=(...e)=>e.filter(Boolean).join(" ");function tbe(e,...t){return nbe(e)?e(...t):e}var nbe=e=>typeof e=="function";function Ol(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function rbe(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var[ibe,up]=Mn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[obe,Oy]=Mn({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Lg={click:"click",hover:"hover"};function abe(e={}){const{closeOnBlur:t=!0,closeOnEsc:n=!0,initialFocusRef:r,id:i,returnFocusOnClose:o=!0,autoFocus:a=!0,arrowSize:s,arrowShadowColor:l,trigger:u=Lg.click,openDelay:d=200,closeDelay:h=200,isLazy:m,lazyBehavior:v="unmount",computePositionOnMount:b,...S}=e,{isOpen:k,onClose:E,onOpen:_,onToggle:T}=jF(e),A=w.useRef(null),I=w.useRef(null),R=w.useRef(null),D=w.useRef(!1),j=w.useRef(!1);k&&(j.current=!0);const[z,V]=w.useState(!1),[K,te]=w.useState(!1),q=w.useId(),$=i??q,[U,X,Z,W]=["popover-trigger","popover-content","popover-header","popover-body"].map(lt=>`${lt}-${$}`),{referenceRef:Q,getArrowProps:ie,getPopperProps:fe,getArrowInnerProps:Se,forceUpdate:Pe}=NF({...S,enabled:k||!!b}),ye=j1e({isOpen:k,ref:R});bme({enabled:k,ref:I}),h0e(R,{focusRef:I,visible:k,shouldFocus:o&&u===Lg.click}),g0e(R,{focusRef:r,visible:k,shouldFocus:a&&u===Lg.click});const We=BF({wasSelected:j.current,enabled:m,mode:v,isSelected:ye.present}),De=w.useCallback((lt={},Mt=null)=>{const ut={...lt,style:{...lt.style,transformOrigin:oi.transformOrigin.varRef,[oi.arrowSize.var]:s?`${s}px`:void 0,[oi.arrowShadowColor.var]:l},ref:Yn(R,Mt),children:We?lt.children:null,id:X,tabIndex:-1,role:"dialog",onKeyDown:Ol(lt.onKeyDown,_t=>{n&&_t.key==="Escape"&&E()}),onBlur:Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=aC(R.current,ln),Re=aC(I.current,ln);k&&t&&(!ae&&!Re)&&E()}),"aria-labelledby":z?Z:void 0,"aria-describedby":K?W:void 0};return u===Lg.hover&&(ut.role="tooltip",ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0}),ut.onMouseLeave=Ol(lt.onMouseLeave,_t=>{_t.nativeEvent.relatedTarget!==null&&(D.current=!1,setTimeout(()=>E(),h))})),ut},[We,X,z,Z,K,W,u,n,E,k,t,h,l,s]),ot=w.useCallback((lt={},Mt=null)=>fe({...lt,style:{visibility:k?"visible":"hidden",...lt.style}},Mt),[k,fe]),He=w.useCallback((lt,Mt=null)=>({...lt,ref:Yn(Mt,A,Q)}),[A,Q]),Be=w.useRef(),wt=w.useRef(),st=w.useCallback(lt=>{A.current==null&&Q(lt)},[Q]),mt=w.useCallback((lt={},Mt=null)=>{const ut={...lt,ref:Yn(I,Mt,st),id:U,"aria-haspopup":"dialog","aria-expanded":k,"aria-controls":X};return u===Lg.click&&(ut.onClick=Ol(lt.onClick,T)),u===Lg.hover&&(ut.onFocus=Ol(lt.onFocus,()=>{Be.current===void 0&&_()}),ut.onBlur=Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=!aC(R.current,ln);k&&t&&ae&&E()}),ut.onKeyDown=Ol(lt.onKeyDown,_t=>{_t.key==="Escape"&&E()}),ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0,Be.current=window.setTimeout(()=>_(),d)}),ut.onMouseLeave=Ol(lt.onMouseLeave,()=>{D.current=!1,Be.current&&(clearTimeout(Be.current),Be.current=void 0),wt.current=window.setTimeout(()=>{D.current===!1&&E()},h)})),ut},[U,k,X,u,st,T,_,t,E,d,h]);w.useEffect(()=>()=>{Be.current&&clearTimeout(Be.current),wt.current&&clearTimeout(wt.current)},[]);const St=w.useCallback((lt={},Mt=null)=>({...lt,id:Z,ref:Yn(Mt,ut=>{V(!!ut)})}),[Z]),Le=w.useCallback((lt={},Mt=null)=>({...lt,id:W,ref:Yn(Mt,ut=>{te(!!ut)})}),[W]);return{forceUpdate:Pe,isOpen:k,onAnimationComplete:ye.onComplete,onClose:E,getAnchorProps:He,getArrowProps:ie,getArrowInnerProps:Se,getPopoverPositionerProps:ot,getPopoverProps:De,getTriggerProps:mt,getHeaderProps:St,getBodyProps:Le}}function aC(e,t){return e===t||(e==null?void 0:e.contains(t))}function oI(e){const t=e.currentTarget.ownerDocument.activeElement;return e.relatedTarget??t}function ME(e){const t=Yi("Popover",e),{children:n,...r}=En(e),i=h0(),o=abe({...r,direction:i.direction});return N.createElement(ibe,{value:o},N.createElement(obe,{value:t},tbe(n,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})))}ME.displayName="Popover";function IE(e){const{bg:t,bgColor:n,backgroundColor:r}=e,{getArrowProps:i,getArrowInnerProps:o}=up(),a=Oy(),s=t??n??r;return N.createElement(Ce.div,{...i(),className:"chakra-popover__arrow-positioner"},N.createElement(Ce.div,{className:Ay("chakra-popover__arrow",e.className),...o(e),__css:{...a.arrow,"--popper-arrow-bg":s?`colors.${s}, ${s}`:void 0}}))}IE.displayName="PopoverArrow";var sbe=Ae(function(t,n){const{getBodyProps:r}=up(),i=Oy();return N.createElement(Ce.div,{...r(t,n),className:Ay("chakra-popover__body",t.className),__css:i.body})});sbe.displayName="PopoverBody";var lbe=Ae(function(t,n){const{onClose:r}=up(),i=Oy();return N.createElement(tx,{size:"sm",onClick:r,className:Ay("chakra-popover__close-btn",t.className),__css:i.closeButton,ref:n,...t})});lbe.displayName="PopoverCloseButton";function ube(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}var cbe={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},dbe=Ce(du.section),NV=Ae(function(t,n){const{variants:r=cbe,...i}=t,{isOpen:o}=up();return N.createElement(dbe,{ref:n,variants:ube(r),initial:!1,animate:o?"enter":"exit",...i})});NV.displayName="PopoverTransition";var RE=Ae(function(t,n){const{rootProps:r,motionProps:i,...o}=t,{getPopoverProps:a,getPopoverPositionerProps:s,onAnimationComplete:l}=up(),u=Oy(),d={position:"relative",display:"flex",flexDirection:"column",...u.content};return N.createElement(Ce.div,{...s(r),__css:u.popper,className:"chakra-popover__popper"},N.createElement(NV,{...i,...a(o,n),onAnimationComplete:rbe(l,o.onAnimationComplete),className:Ay("chakra-popover__content",t.className),__css:d}))});RE.displayName="PopoverContent";var fbe=Ae(function(t,n){const{getHeaderProps:r}=up(),i=Oy();return N.createElement(Ce.header,{...r(t,n),className:Ay("chakra-popover__header",t.className),__css:i.header})});fbe.displayName="PopoverHeader";function DE(e){const t=w.Children.only(e.children),{getTriggerProps:n}=up();return w.cloneElement(t,n(t.props,t.ref))}DE.displayName="PopoverTrigger";function hbe(e,t,n){return(e-t)*100/(n-t)}var pbe=tf({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),gbe=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),mbe=tf({"0%":{left:"-40%"},"100%":{left:"100%"}}),vbe=tf({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function jV(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=hbe(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof o=="function"?o(t,l):i})(),role:s},percent:l,value:t}}var BV=e=>{const{size:t,isIndeterminate:n,...r}=e;return N.createElement(Ce.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:n?`${gbe} 2s linear infinite`:void 0},...r})};BV.displayName="Shape";var q9=e=>N.createElement(Ce.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});q9.displayName="Circle";var ybe=Ae((e,t)=>{const{size:n="48px",max:r=100,min:i=0,valueText:o,getValueText:a,value:s,capIsRound:l,children:u,thickness:d="10px",color:h="#0078d4",trackColor:m="#edebe9",isIndeterminate:v,...b}=e,S=jV({min:i,max:r,value:s,valueText:o,getValueText:a,isIndeterminate:v}),k=v?void 0:(S.percent??0)*2.64,E=k==null?void 0:`${k} ${264-k}`,_=v?{css:{animation:`${pbe} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:E,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},T={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return N.createElement(Ce.div,{ref:t,className:"chakra-progress",...S.bind,...b,__css:T},N.createElement(BV,{size:n,isIndeterminate:v},N.createElement(q9,{stroke:m,strokeWidth:d,className:"chakra-progress__track"}),N.createElement(q9,{stroke:h,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:l?"round":void 0,opacity:S.value===0&&!v?0:void 0,..._})),u)});ybe.displayName="CircularProgress";var[bbe,Sbe]=Mn({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),xbe=Ae((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...s}=e,l=jV({value:i,min:n,max:r,isIndeterminate:o,role:a}),d={height:"100%",...Sbe().filledTrack};return N.createElement(Ce.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:d})}),$V=Ae((e,t)=>{var n;const{value:r,min:i=0,max:o=100,hasStripe:a,isAnimated:s,children:l,borderRadius:u,isIndeterminate:d,"aria-label":h,"aria-labelledby":m,title:v,role:b,...S}=En(e),k=Yi("Progress",e),E=u??((n=k.track)==null?void 0:n.borderRadius),_={animation:`${vbe} 1s linear infinite`},I={...!d&&a&&s&&_,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${mbe} 1s ease infinite normal none running`}},R={overflow:"hidden",position:"relative",...k.track};return N.createElement(Ce.div,{ref:t,borderRadius:E,__css:R,...S},N.createElement(bbe,{value:k},N.createElement(xbe,{"aria-label":h,"aria-labelledby":m,min:i,max:o,value:r,isIndeterminate:d,css:I,borderRadius:E,title:v,role:b}),l))});$V.displayName="Progress";var wbe=Ce("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});wbe.displayName="CircularProgressLabel";var Cbe=(...e)=>e.filter(Boolean).join(" "),_be=e=>e?"":void 0;function kbe(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}var FV=Ae(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return N.createElement(Ce.select,{...a,ref:n,className:Cbe("chakra-select",o)},i&&N.createElement("option",{value:""},i),r)});FV.displayName="SelectField";var zV=Ae((e,t)=>{var n;const r=Yi("Select",e),{rootProps:i,placeholder:o,icon:a,color:s,height:l,h:u,minH:d,minHeight:h,iconColor:m,iconSize:v,...b}=En(e),[S,k]=kbe(b,Hte),E=sk(k),_={width:"100%",height:"fit-content",position:"relative",color:s},T={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return N.createElement(Ce.div,{className:"chakra-select__wrapper",__css:_,...S,...i},N.createElement(FV,{ref:t,height:u??l,minH:d??h,placeholder:o,...E,__css:T},e.children),N.createElement(HV,{"data-disabled":_be(E.disabled),...(m||s)&&{color:m||s},__css:r.icon,...v&&{fontSize:v}},a))});zV.displayName="Select";var Ebe=e=>N.createElement("svg",{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pbe=Ce("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),HV=e=>{const{children:t=N.createElement(Ebe,null),...n}=e,r=w.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return N.createElement(Pbe,{...n,className:"chakra-select__icon-wrapper"},w.isValidElement(t)?r:null)};HV.displayName="SelectIcon";function Tbe(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Lbe(e){const t=Obe(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function VV(e){return!!e.touches}function Abe(e){return VV(e)&&e.touches.length>1}function Obe(e){return e.view??window}function Mbe(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Ibe(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function WV(e,t="page"){return VV(e)?Mbe(e,t):Ibe(e,t)}function Rbe(e){return t=>{const n=Lbe(t);(!n||n&&t.button===0)&&e(t)}}function Dbe(e,t=!1){function n(i){e(i,{point:WV(i)})}return t?Rbe(n):n}function E4(e,t,n,r){return Tbe(e,t,Dbe(n,t==="pointerdown"),r)}function UV(e){const t=w.useRef(null);return t.current=e,t}var Nbe=class{constructor(e,t,n){an(this,"history",[]);an(this,"startEvent",null);an(this,"lastEvent",null);an(this,"lastEventInfo",null);an(this,"handlers",{});an(this,"removeListeners",()=>{});an(this,"threshold",3);an(this,"win");an(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const e=sC(this.lastEventInfo,this.history),t=this.startEvent!==null,n=Fbe(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!n)return;const{timestamp:r}=OL();this.history.push({...e.point,timestamp:r});const{onStart:i,onMove:o}=this.handlers;t||(i==null||i(this.lastEvent,e),this.startEvent=this.lastEvent),o==null||o(this.lastEvent,e)});an(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,tre.update(this.updatePoint,!0)});an(this,"onPointerUp",(e,t)=>{const n=sC(t,this.history),{onEnd:r,onSessionEnd:i}=this.handlers;i==null||i(e,n),this.end(),!(!r||!this.startEvent)&&(r==null||r(e,n))});if(this.win=e.view??window,Abe(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:WV(e)},{timestamp:i}=OL();this.history=[{...r.point,timestamp:i}];const{onSessionStart:o}=t;o==null||o(e,sC(r,this.history)),this.removeListeners=$be(E4(this.win,"pointermove",this.onPointerMove),E4(this.win,"pointerup",this.onPointerUp),E4(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),nre.update(this.updatePoint)}};function aI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sC(e,t){return{point:e.point,delta:aI(e.point,t[t.length-1]),offset:aI(e.point,t[0]),velocity:Bbe(t,.1)}}var jbe=e=>e*1e3;function Bbe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=e[e.length-1];for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>jbe(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function $be(...e){return t=>e.reduce((n,r)=>r(n),t)}function lC(e,t){return Math.abs(e-t)}function sI(e){return"x"in e&&"y"in e}function Fbe(e,t){if(typeof e=="number"&&typeof t=="number")return lC(e,t);if(sI(e)&&sI(t)){const n=lC(e.x,t.x),r=lC(e.y,t.y);return Math.sqrt(n**2+r**2)}return 0}function GV(e,t){const{onPan:n,onPanStart:r,onPanEnd:i,onPanSessionStart:o,onPanSessionEnd:a,threshold:s}=t,l=Boolean(n||r||i||o||a),u=w.useRef(null),d=UV({onSessionStart:o,onSessionEnd:a,onStart:r,onMove:n,onEnd(h,m){u.current=null,i==null||i(h,m)}});w.useEffect(()=>{var h;(h=u.current)==null||h.updateHandlers(d.current)}),w.useEffect(()=>{const h=e.current;if(!h||!l)return;function m(v){u.current=new Nbe(v,d.current,s)}return E4(h,"pointerdown",m)},[e,l,d,s]),w.useEffect(()=>()=>{var h;(h=u.current)==null||h.end(),u.current=null},[])}function zbe(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,r=new n.ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const[o]=i;let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;t({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}var Hbe=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect;function Vbe(e,t){var n;if(!e||!e.parentElement)return;const r=((n=e.ownerDocument)==null?void 0:n.defaultView)??window,i=new r.MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}function qV({getNodes:e,observeMutation:t=!0}){const[n,r]=w.useState([]),[i,o]=w.useState(0);return Hbe(()=>{const a=e(),s=a.map((l,u)=>zbe(l,d=>{r(h=>[...h.slice(0,u),d,...h.slice(u+1)])}));if(t){const l=a[0];s.push(Vbe(l,()=>{o(u=>u+1)}))}return()=>{s.forEach(l=>{l==null||l()})}},[i]),n}function Wbe(e){return typeof e=="object"&&e!==null&&"current"in e}function Ube(e){const[t]=qV({observeMutation:!1,getNodes(){return[Wbe(e)?e.current:e]}});return t}var Gbe=Object.getOwnPropertyNames,qbe=(e,t)=>function(){return e&&(t=(0,e[Gbe(e)[0]])(e=0)),t},lf=qbe({"../../../react-shim.js"(){}});lf();lf();lf();var Ja=e=>e?"":void 0,Mm=e=>e?!0:void 0,uf=(...e)=>e.filter(Boolean).join(" ");lf();function Im(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}lf();lf();function Ybe(e){return{root:`slider-root-${e}`,getThumb:t=>`slider-thumb-${e}-${t}`,getInput:t=>`slider-input-${e}-${t}`,track:`slider-track-${e}`,innerTrack:`slider-filled-track-${e}`,getMarker:t=>`slider-marker-${e}-${t}`,output:`slider-output-${e}`}}function Cv(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}var P4={width:0,height:0},wb=e=>e||P4;function YV(e){const{orientation:t,thumbPercents:n,thumbRects:r,isReversed:i}=e,o=S=>{const k=r[S]??P4;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...Cv({orientation:t,vertical:{bottom:`calc(${n[S]}% - ${k.height/2}px)`},horizontal:{left:`calc(${n[S]}% - ${k.width/2}px)`}})}},a=t==="vertical"?r.reduce((S,k)=>wb(S).height>wb(k).height?S:k,P4):r.reduce((S,k)=>wb(S).width>wb(k).width?S:k,P4),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...Cv({orientation:t,vertical:a?{paddingLeft:a.width/2,paddingRight:a.width/2}:{},horizontal:a?{paddingTop:a.height/2,paddingBottom:a.height/2}:{}})},l={position:"absolute",...Cv({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},u=n.length===1,d=[0,i?100-n[0]:n[0]],h=u?d:n;let m=h[0];!u&&i&&(m=100-m);const v=Math.abs(h[h.length-1]-h[0]),b={...l,...Cv({orientation:t,vertical:i?{height:`${v}%`,top:`${m}%`}:{height:`${v}%`,bottom:`${m}%`},horizontal:i?{width:`${v}%`,right:`${m}%`}:{width:`${v}%`,left:`${m}%`}})};return{trackStyle:l,innerTrackStyle:b,rootStyle:s,getThumbStyle:o}}function KV(e){const{isReversed:t,direction:n,orientation:r}=e;return n==="ltr"||r==="vertical"?t:!t}function Kbe(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,minStepsBetweenThumbs:I=0,...R}=e,D=Er(m),j=Er(v),z=Er(S),V=KV({isReversed:a,direction:s,orientation:l}),[K,te]=jS({value:i,defaultValue:o??[25,75],onChange:r});if(!Array.isArray(K))throw new TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof K}\``);const[q,$]=w.useState(!1),[U,X]=w.useState(!1),[Z,W]=w.useState(-1),Q=!(d||h),ie=w.useRef(K),fe=K.map(Xe=>Cm(Xe,t,n)),Se=I*b,Pe=Xbe(fe,t,n,Se),ye=w.useRef({eventSource:null,value:[],valueBounds:[]});ye.current.value=fe,ye.current.valueBounds=Pe;const We=fe.map(Xe=>n-Xe+t),ot=(V?We:fe).map(Xe=>u5(Xe,t,n)),He=l==="vertical",Be=w.useRef(null),wt=w.useRef(null),st=qV({getNodes(){const Xe=wt.current,xt=Xe==null?void 0:Xe.querySelectorAll("[role=slider]");return xt?Array.from(xt):[]}}),mt=w.useId(),Le=Ybe(u??mt),lt=w.useCallback(Xe=>{var xt;if(!Be.current)return;ye.current.eventSource="pointer";const ft=Be.current.getBoundingClientRect(),{clientX:Ht,clientY:nn}=((xt=Xe.touches)==null?void 0:xt[0])??Xe,pr=He?ft.bottom-nn:Ht-ft.left,Mo=He?ft.height:ft.width;let Oi=pr/Mo;return V&&(Oi=1-Oi),eF(Oi,t,n)},[He,V,n,t]),Mt=(n-t)/10,ut=b||(n-t)/100,_t=w.useMemo(()=>({setValueAtIndex(Xe,xt){if(!Q)return;const ft=ye.current.valueBounds[Xe];xt=parseFloat(W7(xt,ft.min,ut)),xt=Cm(xt,ft.min,ft.max);const Ht=[...ye.current.value];Ht[Xe]=xt,te(Ht)},setActiveIndex:W,stepUp(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft-xt:ft+xt;_t.setValueAtIndex(Xe,Ht)},stepDown(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft+xt:ft-xt;_t.setValueAtIndex(Xe,Ht)},reset(){te(ie.current)}}),[ut,V,te,Q]),ln=w.useCallback(Xe=>{const xt=Xe.key,Ht={ArrowRight:()=>_t.stepUp(Z),ArrowUp:()=>_t.stepUp(Z),ArrowLeft:()=>_t.stepDown(Z),ArrowDown:()=>_t.stepDown(Z),PageUp:()=>_t.stepUp(Z,Mt),PageDown:()=>_t.stepDown(Z,Mt),Home:()=>{const{min:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)},End:()=>{const{max:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)}}[xt];Ht&&(Xe.preventDefault(),Xe.stopPropagation(),Ht(Xe),ye.current.eventSource="keyboard")},[_t,Z,Mt,Pe]),{getThumbStyle:ae,rootStyle:Re,trackStyle:Ye,innerTrackStyle:Ke}=w.useMemo(()=>YV({isReversed:V,orientation:l,thumbRects:st,thumbPercents:ot}),[V,l,ot,st]),xe=w.useCallback(Xe=>{var xt;const ft=Xe??Z;if(ft!==-1&&A){const Ht=Le.getThumb(ft),nn=(xt=wt.current)==null?void 0:xt.ownerDocument.getElementById(Ht);nn&&setTimeout(()=>nn.focus())}},[A,Z,Le]);Vd(()=>{ye.current.eventSource==="keyboard"&&(j==null||j(ye.current.value))},[fe,j]);const Ne=Xe=>{const xt=lt(Xe)||0,ft=ye.current.value.map(Oi=>Math.abs(Oi-xt)),Ht=Math.min(...ft);let nn=ft.indexOf(Ht);const pr=ft.filter(Oi=>Oi===Ht);pr.length>1&&xt>ye.current.value[nn]&&(nn=nn+pr.length-1),W(nn),_t.setValueAtIndex(nn,xt),xe(nn)},Ct=Xe=>{if(Z==-1)return;const xt=lt(Xe)||0;W(Z),_t.setValueAtIndex(Z,xt),xe(Z)};GV(wt,{onPanSessionStart(Xe){Q&&($(!0),Ne(Xe),D==null||D(ye.current.value))},onPanSessionEnd(){Q&&($(!1),j==null||j(ye.current.value))},onPan(Xe){Q&&Ct(Xe)}});const Dt=w.useCallback((Xe={},xt=null)=>({...Xe,...R,id:Le.root,ref:Yn(xt,wt),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja(U),style:{...Xe.style,...Re}}),[R,d,U,Re,Le]),Te=w.useCallback((Xe={},xt=null)=>({...Xe,ref:Yn(xt,Be),id:Le.track,"data-disabled":Ja(d),style:{...Xe.style,...Ye}}),[d,Ye,Le]),At=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.innerTrack,style:{...Xe.style,...Ke}}),[Ke,Le]),$e=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe,nn=fe[ft];if(nn==null)throw new TypeError(`[range-slider > thumb] Cannot find value at index \`${ft}\`. The \`value\` or \`defaultValue\` length is : ${fe.length}`);const pr=Pe[ft];return{...Ht,ref:xt,role:"slider",tabIndex:Q?0:void 0,id:Le.getThumb(ft),"data-active":Ja(q&&Z===ft),"aria-valuetext":(z==null?void 0:z(nn))??(k==null?void 0:k[ft]),"aria-valuemin":pr.min,"aria-valuemax":pr.max,"aria-valuenow":nn,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E==null?void 0:E[ft],"aria-labelledby":E!=null&&E[ft]||_==null?void 0:_[ft],style:{...Xe.style,...ae(ft)},onKeyDown:Im(Xe.onKeyDown,ln),onFocus:Im(Xe.onFocus,()=>{X(!0),W(ft)}),onBlur:Im(Xe.onBlur,()=>{X(!1),W(-1)})}},[Le,fe,Pe,Q,q,Z,z,k,l,d,h,E,_,ae,ln,X]),vt=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.output,htmlFor:fe.map((ft,Ht)=>Le.getThumb(Ht)).join(" "),"aria-live":"off"}),[Le,fe]),tn=w.useCallback((Xe,xt=null)=>{const{value:ft,...Ht}=Xe,nn=!(ftn),pr=ft>=fe[0]&&ft<=fe[fe.length-1];let Mo=u5(ft,t,n);Mo=V?100-Mo:Mo;const Oi={position:"absolute",pointerEvents:"none",...Cv({orientation:l,vertical:{bottom:`${Mo}%`},horizontal:{left:`${Mo}%`}})};return{...Ht,ref:xt,id:Le.getMarker(Xe.value),role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!nn),"data-highlighted":Ja(pr),style:{...Xe.style,...Oi}}},[d,V,n,t,l,fe,Le]),Rn=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe;return{...Ht,ref:xt,id:Le.getInput(ft),type:"hidden",value:fe[ft],name:Array.isArray(T)?T[ft]:`${T}-${ft}`}},[T,fe,Le]);return{state:{value:fe,isFocused:U,isDragging:q,getThumbPercent:Xe=>ot[Xe],getThumbMinValue:Xe=>Pe[Xe].min,getThumbMaxValue:Xe=>Pe[Xe].max},actions:_t,getRootProps:Dt,getTrackProps:Te,getInnerTrackProps:At,getThumbProps:$e,getMarkerProps:tn,getInputProps:Rn,getOutputProps:vt}}function Xbe(e,t,n,r){return e.map((i,o)=>{const a=o===0?t:e[o-1]+r,s=o===e.length-1?n:e[o+1]-r;return{min:a,max:s}})}var[Zbe,wx]=Mn({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[Qbe,NE]=Mn({name:"RangeSliderStylesContext",errorMessage:`useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),XV=Ae(function(t,n){const r=Yi("Slider",t),i=En(t),{direction:o}=h0();i.direction=o;const{getRootProps:a,...s}=Kbe(i),l=w.useMemo(()=>({...s,name:t.name}),[s,t.name]);return N.createElement(Zbe,{value:l},N.createElement(Qbe,{value:r},N.createElement(Ce.div,{...a({},n),className:"chakra-slider",__css:r.container},t.children)))});XV.defaultProps={orientation:"horizontal"};XV.displayName="RangeSlider";var Jbe=Ae(function(t,n){const{getThumbProps:r,getInputProps:i,name:o}=wx(),a=NE(),s=r(t,n);return N.createElement(Ce.div,{...s,className:uf("chakra-slider__thumb",t.className),__css:a.thumb},s.children,o&&N.createElement("input",{...i({index:t.index})}))});Jbe.displayName="RangeSliderThumb";var e4e=Ae(function(t,n){const{getTrackProps:r}=wx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:uf("chakra-slider__track",t.className),__css:i.track,"data-testid":"chakra-range-slider-track"})});e4e.displayName="RangeSliderTrack";var t4e=Ae(function(t,n){const{getInnerTrackProps:r}=wx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:"chakra-slider__filled-track",__css:i.filledTrack})});t4e.displayName="RangeSliderFilledTrack";var n4e=Ae(function(t,n){const{getMarkerProps:r}=wx(),i=r(t,n);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",t.className)})});n4e.displayName="RangeSliderMark";lf();lf();function r4e(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,...I}=e,R=Er(m),D=Er(v),j=Er(S),z=KV({isReversed:a,direction:s,orientation:l}),[V,K]=jS({value:i,defaultValue:o??o4e(t,n),onChange:r}),[te,q]=w.useState(!1),[$,U]=w.useState(!1),X=!(d||h),Z=(n-t)/10,W=b||(n-t)/100,Q=Cm(V,t,n),ie=n-Q+t,Se=u5(z?ie:Q,t,n),Pe=l==="vertical",ye=UV({min:t,max:n,step:b,isDisabled:d,value:Q,isInteractive:X,isReversed:z,isVertical:Pe,eventSource:null,focusThumbOnChange:A,orientation:l}),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useId(),Be=u??He,[wt,st]=[`slider-thumb-${Be}`,`slider-track-${Be}`],mt=w.useCallback($e=>{var vt;if(!We.current)return;const tn=ye.current;tn.eventSource="pointer";const Rn=We.current.getBoundingClientRect(),{clientX:Xe,clientY:xt}=((vt=$e.touches)==null?void 0:vt[0])??$e,ft=Pe?Rn.bottom-xt:Xe-Rn.left,Ht=Pe?Rn.height:Rn.width;let nn=ft/Ht;z&&(nn=1-nn);let pr=eF(nn,tn.min,tn.max);return tn.step&&(pr=parseFloat(W7(pr,tn.min,tn.step))),pr=Cm(pr,tn.min,tn.max),pr},[Pe,z,ye]),St=w.useCallback($e=>{const vt=ye.current;vt.isInteractive&&($e=parseFloat(W7($e,vt.min,W)),$e=Cm($e,vt.min,vt.max),K($e))},[W,K,ye]),Le=w.useMemo(()=>({stepUp($e=W){const vt=z?Q-$e:Q+$e;St(vt)},stepDown($e=W){const vt=z?Q+$e:Q-$e;St(vt)},reset(){St(o||0)},stepTo($e){St($e)}}),[St,z,Q,W,o]),lt=w.useCallback($e=>{const vt=ye.current,Rn={ArrowRight:()=>Le.stepUp(),ArrowUp:()=>Le.stepUp(),ArrowLeft:()=>Le.stepDown(),ArrowDown:()=>Le.stepDown(),PageUp:()=>Le.stepUp(Z),PageDown:()=>Le.stepDown(Z),Home:()=>St(vt.min),End:()=>St(vt.max)}[$e.key];Rn&&($e.preventDefault(),$e.stopPropagation(),Rn($e),vt.eventSource="keyboard")},[Le,St,Z,ye]),Mt=(j==null?void 0:j(Q))??k,ut=Ube(De),{getThumbStyle:_t,rootStyle:ln,trackStyle:ae,innerTrackStyle:Re}=w.useMemo(()=>{const $e=ye.current,vt=ut??{width:0,height:0};return YV({isReversed:z,orientation:$e.orientation,thumbRects:[vt],thumbPercents:[Se]})},[z,ut,Se,ye]),Ye=w.useCallback(()=>{ye.current.focusThumbOnChange&&setTimeout(()=>{var vt;return(vt=De.current)==null?void 0:vt.focus()})},[ye]);Vd(()=>{const $e=ye.current;Ye(),$e.eventSource==="keyboard"&&(D==null||D($e.value))},[Q,D]);function Ke($e){const vt=mt($e);vt!=null&&vt!==ye.current.value&&K(vt)}GV(ot,{onPanSessionStart($e){const vt=ye.current;vt.isInteractive&&(q(!0),Ye(),Ke($e),R==null||R(vt.value))},onPanSessionEnd(){const $e=ye.current;$e.isInteractive&&(q(!1),D==null||D($e.value))},onPan($e){ye.current.isInteractive&&Ke($e)}});const xe=w.useCallback(($e={},vt=null)=>({...$e,...I,ref:Yn(vt,ot),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja($),style:{...$e.style,...ln}}),[I,d,$,ln]),Ne=w.useCallback(($e={},vt=null)=>({...$e,ref:Yn(vt,We),id:st,"data-disabled":Ja(d),style:{...$e.style,...ae}}),[d,st,ae]),Ct=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,style:{...$e.style,...Re}}),[Re]),Dt=w.useCallback(($e={},vt=null)=>({...$e,ref:Yn(vt,De),role:"slider",tabIndex:X?0:void 0,id:wt,"data-active":Ja(te),"aria-valuetext":Mt,"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":Q,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E,"aria-labelledby":E?void 0:_,style:{...$e.style,..._t(0)},onKeyDown:Im($e.onKeyDown,lt),onFocus:Im($e.onFocus,()=>U(!0)),onBlur:Im($e.onBlur,()=>U(!1))}),[X,wt,te,Mt,t,n,Q,l,d,h,E,_,_t,lt]),Te=w.useCallback(($e,vt=null)=>{const tn=!($e.valuen),Rn=Q>=$e.value,Xe=u5($e.value,t,n),xt={position:"absolute",pointerEvents:"none",...i4e({orientation:l,vertical:{bottom:z?`${100-Xe}%`:`${Xe}%`},horizontal:{left:z?`${100-Xe}%`:`${Xe}%`}})};return{...$e,ref:vt,role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!tn),"data-highlighted":Ja(Rn),style:{...$e.style,...xt}}},[d,z,n,t,l,Q]),At=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,type:"hidden",value:Q,name:T}),[T,Q]);return{state:{value:Q,isFocused:$,isDragging:te},actions:Le,getRootProps:xe,getTrackProps:Ne,getInnerTrackProps:Ct,getThumbProps:Dt,getMarkerProps:Te,getInputProps:At}}function i4e(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}function o4e(e,t){return t"}),[s4e,_x]=Mn({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),jE=Ae((e,t)=>{const n=Yi("Slider",e),r=En(e),{direction:i}=h0();r.direction=i;const{getInputProps:o,getRootProps:a,...s}=r4e(r),l=a(),u=o({},t);return N.createElement(a4e,{value:s},N.createElement(s4e,{value:n},N.createElement(Ce.div,{...l,className:uf("chakra-slider",e.className),__css:n.container},e.children,N.createElement("input",{...u}))))});jE.defaultProps={orientation:"horizontal"};jE.displayName="Slider";var ZV=Ae((e,t)=>{const{getThumbProps:n}=Cx(),r=_x(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__thumb",e.className),__css:r.thumb})});ZV.displayName="SliderThumb";var QV=Ae((e,t)=>{const{getTrackProps:n}=Cx(),r=_x(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__track",e.className),__css:r.track})});QV.displayName="SliderTrack";var JV=Ae((e,t)=>{const{getInnerTrackProps:n}=Cx(),r=_x(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__filled-track",e.className),__css:r.filledTrack})});JV.displayName="SliderFilledTrack";var Y9=Ae((e,t)=>{const{getMarkerProps:n}=Cx(),r=_x(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",e.className),__css:r.mark})});Y9.displayName="SliderMark";var l4e=(...e)=>e.filter(Boolean).join(" "),lI=e=>e?"":void 0,BE=Ae(function(t,n){const r=Yi("Switch",t),{spacing:i="0.5rem",children:o,...a}=En(t),{state:s,getInputProps:l,getCheckboxProps:u,getRootProps:d,getLabelProps:h}=Q$(a),m=w.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),v=w.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=w.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return N.createElement(Ce.label,{...d(),className:l4e("chakra-switch",t.className),__css:m},N.createElement("input",{className:"chakra-switch__input",...l({},n)}),N.createElement(Ce.span,{...u(),className:"chakra-switch__track",__css:v},N.createElement(Ce.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":lI(s.isChecked),"data-hover":lI(s.isHovered)})),o&&N.createElement(Ce.span,{className:"chakra-switch__label",...h(),__css:b},o))});BE.displayName="Switch";var C0=(...e)=>e.filter(Boolean).join(" ");function K9(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[u4e,eW,c4e,d4e]=fB();function f4e(e){const{defaultIndex:t,onChange:n,index:r,isManual:i,isLazy:o,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...u}=e,[d,h]=w.useState(t??0),[m,v]=jS({defaultValue:t??0,value:r,onChange:n});w.useEffect(()=>{r!=null&&h(r)},[r]);const b=c4e(),S=w.useId();return{id:`tabs-${e.id??S}`,selectedIndex:m,focusedIndex:d,setSelectedIndex:v,setFocusedIndex:h,isManual:i,isLazy:o,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:u}}var[h4e,My]=Mn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function p4e(e){const{focusedIndex:t,orientation:n,direction:r}=My(),i=eW(),o=w.useCallback(a=>{const s=()=>{var _;const T=i.nextEnabled(t);T&&((_=T.node)==null||_.focus())},l=()=>{var _;const T=i.prevEnabled(t);T&&((_=T.node)==null||_.focus())},u=()=>{var _;const T=i.firstEnabled();T&&((_=T.node)==null||_.focus())},d=()=>{var _;const T=i.lastEnabled();T&&((_=T.node)==null||_.focus())},h=n==="horizontal",m=n==="vertical",v=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",S=r==="ltr"?"ArrowRight":"ArrowLeft",E={[b]:()=>h&&l(),[S]:()=>h&&s(),ArrowDown:()=>m&&s(),ArrowUp:()=>m&&l(),Home:u,End:d}[v];E&&(a.preventDefault(),E(a))},[i,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:K9(e.onKeyDown,o)}}function g4e(e){const{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=My(),{index:u,register:d}=d4e({disabled:t&&!n}),h=u===l,m=()=>{i(u)},v=()=>{s(u),!o&&!(t&&n)&&i(u)},b=n0e({...r,ref:Yn(d,e.ref),isDisabled:t,isFocusable:n,onClick:K9(e.onClick,m)}),S="button";return{...b,id:tW(a,u),role:"tab",tabIndex:h?0:-1,type:S,"aria-selected":h,"aria-controls":nW(a,u),onFocus:t?void 0:K9(e.onFocus,v)}}var[m4e,v4e]=Mn({});function y4e(e){const t=My(),{id:n,selectedIndex:r}=t,o=QS(e.children).map((a,s)=>w.createElement(m4e,{key:s,value:{isSelected:s===r,id:nW(n,s),tabId:tW(n,s),selectedIndex:r}},a));return{...e,children:o}}function b4e(e){const{children:t,...n}=e,{isLazy:r,lazyBehavior:i}=My(),{isSelected:o,id:a,tabId:s}=v4e(),l=w.useRef(!1);o&&(l.current=!0);const u=BF({wasSelected:l.current,isSelected:o,enabled:r,mode:i});return{tabIndex:0,...n,children:u?t:null,role:"tabpanel","aria-labelledby":s,hidden:!o,id:a}}function S4e(){const e=My(),t=eW(),{selectedIndex:n,orientation:r}=e,i=r==="horizontal",o=r==="vertical",[a,s]=w.useState(()=>{if(i)return{left:0,width:0};if(o)return{top:0,height:0}}),[l,u]=w.useState(!1);return Ws(()=>{if(n==null)return;const d=t.item(n);if(d==null)return;i&&s({left:d.node.offsetLeft,width:d.node.offsetWidth}),o&&s({top:d.node.offsetTop,height:d.node.offsetHeight});const h=requestAnimationFrame(()=>{u(!0)});return()=>{h&&cancelAnimationFrame(h)}},[n,i,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...a}}function tW(e,t){return`${e}--tab-${t}`}function nW(e,t){return`${e}--tabpanel-${t}`}var[x4e,Iy]=Mn({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),rW=Ae(function(t,n){const r=Yi("Tabs",t),{children:i,className:o,...a}=En(t),{htmlProps:s,descendants:l,...u}=f4e(a),d=w.useMemo(()=>u,[u]),{isFitted:h,...m}=s;return N.createElement(u4e,{value:l},N.createElement(h4e,{value:d},N.createElement(x4e,{value:r},N.createElement(Ce.div,{className:C0("chakra-tabs",o),ref:n,...m,__css:r.root},i))))});rW.displayName="Tabs";var w4e=Ae(function(t,n){const r=S4e(),i={...t.style,...r},o=Iy();return N.createElement(Ce.div,{ref:n,...t,className:C0("chakra-tabs__tab-indicator",t.className),style:i,__css:o.indicator})});w4e.displayName="TabIndicator";var C4e=Ae(function(t,n){const r=p4e({...t,ref:n}),o={display:"flex",...Iy().tablist};return N.createElement(Ce.div,{...r,className:C0("chakra-tabs__tablist",t.className),__css:o})});C4e.displayName="TabList";var iW=Ae(function(t,n){const r=b4e({...t,ref:n}),i=Iy();return N.createElement(Ce.div,{outline:"0",...r,className:C0("chakra-tabs__tab-panel",t.className),__css:i.tabpanel})});iW.displayName="TabPanel";var oW=Ae(function(t,n){const r=y4e(t),i=Iy();return N.createElement(Ce.div,{...r,width:"100%",ref:n,className:C0("chakra-tabs__tab-panels",t.className),__css:i.tabpanels})});oW.displayName="TabPanels";var aW=Ae(function(t,n){const r=Iy(),i=g4e({...t,ref:n}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return N.createElement(Ce.button,{...i,className:C0("chakra-tabs__tab",t.className),__css:o})});aW.displayName="Tab";var _4e=(...e)=>e.filter(Boolean).join(" ");function k4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var E4e=["h","minH","height","minHeight"],$E=Ae((e,t)=>{const n=Ao("Textarea",e),{className:r,rows:i,...o}=En(e),a=sk(o),s=i?k4e(n,E4e):n;return N.createElement(Ce.textarea,{ref:t,rows:i,...a,className:_4e("chakra-textarea",r),__css:s})});$E.displayName="Textarea";function P4e(e,t){const n=Er(e);w.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function X9(e,...t){return T4e(e)?e(...t):e}var T4e=e=>typeof e=="function";function L4e(e,t){const n=e??"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(i==null?void 0:i[t])??n}var A4e=(e,t)=>e.find(n=>n.id===t);function uI(e,t){const n=sW(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function sW(e,t){for(const[n,r]of Object.entries(e))if(A4e(r,t))return n}function O4e(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function M4e(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}var I4e={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Hl=R4e(I4e);function R4e(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(s=>s.id!=i)}))},notify:(i,o)=>{const a=D4e(i,o),{position:s,id:l}=a;return r(u=>{const h=s.includes("top")?[a,...u[s]??[]]:[...u[s]??[],a];return{...u,[s]:h}}),l},update:(i,o)=>{i&&r(a=>{const s={...a},{position:l,index:u}=uI(s,i);return l&&u!==-1&&(s[l][u]={...s[l][u],...o,message:lW(o)}),s})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=o[u].map(d=>({...d,requestClose:!0})),l),{...o}))},close:i=>{r(o=>{const a=sW(o,i);return a?{...o,[a]:o[a].map(s=>s.id==i?{...s,requestClose:!0}:s)}:o})},isActive:i=>Boolean(uI(Hl.getState(),i).position)}}var cI=0;function D4e(e,t={}){cI+=1;const n=t.id??cI,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Hl.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var N4e=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:s,icon:l}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return N.createElement(G$,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},N.createElement(Y$,null,l),N.createElement(Ce.div,{flex:"1",maxWidth:"100%"},i&&N.createElement(K$,{id:u==null?void 0:u.title},i),s&&N.createElement(q$,{id:u==null?void 0:u.description,display:"block"},s)),o&&N.createElement(tx,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1}))};function lW(e={}){const{render:t,toastComponent:n=N4e}=e;return i=>typeof t=="function"?t({...i,...e}):N.createElement(n,{...i,...e})}function j4e(e,t){const n=i=>({...t,...i,position:L4e((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=lW(o);return Hl.notify(a,o)};return r.update=(i,o)=>{Hl.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(s=>r.update(a,{status:"success",duration:5e3,...X9(o.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...X9(o.error,s)}))},r.closeAll=Hl.closeAll,r.close=Hl.close,r.isActive=Hl.isActive,r}function Ry(e){const{theme:t}=uB();return w.useMemo(()=>j4e(t.direction,e),[e,t.direction])}var B4e={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},uW=w.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=B4e,toastSpacing:d="0.5rem"}=e,[h,m]=w.useState(s),v=Rfe();Vd(()=>{v||r==null||r()},[v]),Vd(()=>{m(s)},[s]);const b=()=>m(null),S=()=>m(s),k=()=>{v&&i()};w.useEffect(()=>{v&&o&&i()},[v,o,i]),P4e(k,h);const E=w.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),_=w.useMemo(()=>O4e(a),[a]);return N.createElement(du.li,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:S,custom:{position:a},style:_},N.createElement(Ce.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:E},X9(n,{id:t,onClose:k})))});uW.displayName="ToastComponent";var $4e=e=>{const t=w.useSyncExternalStore(Hl.subscribe,Hl.getState,Hl.getState),{children:n,motionVariants:r,component:i=uW,portalProps:o}=e,s=Object.keys(t).map(l=>{const u=t[l];return N.createElement("ul",{role:"region","aria-live":"polite",key:l,id:`chakra-toast-manager-${l}`,style:M4e(l)},N.createElement(nf,{initial:!1},u.map(d=>N.createElement(i,{key:d.id,motionVariants:r,...d}))))});return N.createElement(N.Fragment,null,n,N.createElement(ap,{...o},s))};function F4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function z4e(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var H4e={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function tv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var j5=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},Z9=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function V4e(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:s=!0,onOpen:l,onClose:u,placement:d,id:h,isOpen:m,defaultIsOpen:v,arrowSize:b=10,arrowShadowColor:S,arrowPadding:k,modifiers:E,isDisabled:_,gutter:T,offset:A,direction:I,...R}=e,{isOpen:D,onOpen:j,onClose:z}=jF({isOpen:m,defaultIsOpen:v,onOpen:l,onClose:u}),{referenceRef:V,getPopperProps:K,getArrowInnerProps:te,getArrowProps:q}=NF({enabled:D,placement:d,arrowPadding:k,modifiers:E,gutter:T,offset:A,direction:I}),$=w.useId(),X=`tooltip-${h??$}`,Z=w.useRef(null),W=w.useRef(),Q=w.useCallback(()=>{W.current&&(clearTimeout(W.current),W.current=void 0)},[]),ie=w.useRef(),fe=w.useCallback(()=>{ie.current&&(clearTimeout(ie.current),ie.current=void 0)},[]),Se=w.useCallback(()=>{fe(),z()},[z,fe]),Pe=W4e(Z,Se),ye=w.useCallback(()=>{if(!_&&!W.current){Pe();const mt=Z9(Z);W.current=mt.setTimeout(j,t)}},[Pe,_,j,t]),We=w.useCallback(()=>{Q();const mt=Z9(Z);ie.current=mt.setTimeout(Se,n)},[n,Se,Q]),De=w.useCallback(()=>{D&&r&&We()},[r,We,D]),ot=w.useCallback(()=>{D&&a&&We()},[a,We,D]),He=w.useCallback(mt=>{D&&mt.key==="Escape"&&We()},[D,We]);Rh(()=>j5(Z),"keydown",s?He:void 0),Rh(()=>j5(Z),"scroll",()=>{D&&o&&Se()}),w.useEffect(()=>{_&&(Q(),D&&z())},[_,D,z,Q]),w.useEffect(()=>()=>{Q(),fe()},[Q,fe]),Rh(()=>Z.current,"pointerleave",We);const Be=w.useCallback((mt={},St=null)=>({...mt,ref:Yn(Z,St,V),onPointerEnter:tv(mt.onPointerEnter,lt=>{lt.pointerType!=="touch"&&ye()}),onClick:tv(mt.onClick,De),onPointerDown:tv(mt.onPointerDown,ot),onFocus:tv(mt.onFocus,ye),onBlur:tv(mt.onBlur,We),"aria-describedby":D?X:void 0}),[ye,We,ot,D,X,De,V]),wt=w.useCallback((mt={},St=null)=>K({...mt,style:{...mt.style,[oi.arrowSize.var]:b?`${b}px`:void 0,[oi.arrowShadowColor.var]:S}},St),[K,b,S]),st=w.useCallback((mt={},St=null)=>{const Le={...mt.style,position:"relative",transformOrigin:oi.transformOrigin.varRef};return{ref:St,...R,...mt,id:X,role:"tooltip",style:Le}},[R,X]);return{isOpen:D,show:ye,hide:We,getTriggerProps:Be,getTooltipProps:st,getTooltipPositionerProps:wt,getArrowProps:q,getArrowInnerProps:te}}var uC="chakra-ui:close-tooltip";function W4e(e,t){return w.useEffect(()=>{const n=j5(e);return n.addEventListener(uC,t),()=>n.removeEventListener(uC,t)},[t,e]),()=>{const n=j5(e),r=Z9(e);n.dispatchEvent(new r.CustomEvent(uC))}}var U4e=Ce(du.div),uo=Ae((e,t)=>{const n=Ao("Tooltip",e),r=En(e),i=h0(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:u,bg:d,portalProps:h,background:m,backgroundColor:v,bgColor:b,motionProps:S,...k}=r,E=m??v??d??b;if(E){n.bg=E;const z=nne(i,"colors",E);n[oi.arrowBg.var]=z}const _=V4e({...k,direction:i.direction}),T=typeof o=="string"||s;let A;if(T)A=N.createElement(Ce.span,{display:"inline-block",tabIndex:0,..._.getTriggerProps()},o);else{const z=w.Children.only(o);A=w.cloneElement(z,_.getTriggerProps(z.props,z.ref))}const I=!!l,R=_.getTooltipProps({},t),D=I?F4e(R,["role","id"]):R,j=z4e(R,["role","id"]);return a?N.createElement(N.Fragment,null,A,N.createElement(nf,null,_.isOpen&&N.createElement(ap,{...h},N.createElement(Ce.div,{..._.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"}},N.createElement(U4e,{variants:H4e,initial:"exit",animate:"enter",exit:"exit",...S,...D,__css:n},a,I&&N.createElement(Ce.span,{srOnly:!0,...j},l),u&&N.createElement(Ce.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},N.createElement(Ce.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}}))))))):N.createElement(N.Fragment,null,o)});uo.displayName="Tooltip";var G4e=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetCSS:i=!0,theme:o={},environment:a,cssVarsRoot:s}=e,l=N.createElement(bF,{environment:a},t);return N.createElement(que,{theme:o,cssVarsRoot:s},N.createElement(hj,{colorModeManager:n,options:o.config},i?N.createElement(fme,null):N.createElement(dme,null),N.createElement(Kue,null),r?N.createElement($H,{zIndex:r},l):l))};function q4e({children:e,theme:t=Bue,toastOptions:n,...r}){return N.createElement(G4e,{theme:t,...r},e,N.createElement($4e,{...n}))}var Q9={},dI=Qs;Q9.createRoot=dI.createRoot,Q9.hydrateRoot=dI.hydrateRoot;var J9={},Y4e={get exports(){return J9},set exports(e){J9=e}},cW={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -415,7 +415,7 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r0=w;function Y4e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var K4e=typeof Object.is=="function"?Object.is:Y4e,X4e=r0.useState,Z4e=r0.useEffect,Q4e=r0.useLayoutEffect,J4e=r0.useDebugValue;function e5e(e,t){var n=t(),r=X4e({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return Q4e(function(){i.value=n,i.getSnapshot=t,uC(i)&&o({inst:i})},[e,n,t]),Z4e(function(){return uC(i)&&o({inst:i}),e(function(){uC(i)&&o({inst:i})})},[e]),J4e(n),n}function uC(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!K4e(e,n)}catch{return!0}}function t5e(e,t){return t()}var n5e=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?t5e:e5e;uW.useSyncExternalStore=r0.useSyncExternalStore!==void 0?r0.useSyncExternalStore:n5e;(function(e){e.exports=uW})(q4e);var J9={},r5e={get exports(){return J9},set exports(e){J9=e}},cW={};/** + */var r0=w;function K4e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var X4e=typeof Object.is=="function"?Object.is:K4e,Z4e=r0.useState,Q4e=r0.useEffect,J4e=r0.useLayoutEffect,e5e=r0.useDebugValue;function t5e(e,t){var n=t(),r=Z4e({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return J4e(function(){i.value=n,i.getSnapshot=t,cC(i)&&o({inst:i})},[e,n,t]),Q4e(function(){return cC(i)&&o({inst:i}),e(function(){cC(i)&&o({inst:i})})},[e]),e5e(n),n}function cC(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!X4e(e,n)}catch{return!0}}function n5e(e,t){return t()}var r5e=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n5e:t5e;cW.useSyncExternalStore=r0.useSyncExternalStore!==void 0?r0.useSyncExternalStore:r5e;(function(e){e.exports=cW})(Y4e);var e8={},i5e={get exports(){return e8},set exports(e){e8=e}},dW={};/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -423,7 +423,7 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var _x=w,i5e=Q9;function o5e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var a5e=typeof Object.is=="function"?Object.is:o5e,s5e=i5e.useSyncExternalStore,l5e=_x.useRef,u5e=_x.useEffect,c5e=_x.useMemo,d5e=_x.useDebugValue;cW.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=l5e(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=c5e(function(){function l(v){if(!u){if(u=!0,d=v,v=r(v),i!==void 0&&a.hasValue){var b=a.value;if(i(b,v))return h=b}return h=v}if(b=h,a5e(d,v))return b;var S=r(v);return i!==void 0&&i(b,S)?b:(d=v,h=S)}var u=!1,d,h,m=n===void 0?null:n;return[function(){return l(t())},m===null?void 0:function(){return l(m())}]},[t,n,r,i]);var s=s5e(e,o[0],o[1]);return u5e(function(){a.hasValue=!0,a.value=s},[s]),d5e(s),s};(function(e){e.exports=cW})(r5e);function f5e(e){e()}let dW=f5e;const h5e=e=>dW=e,p5e=()=>dW,Xd=w.createContext(null);function fW(){return w.useContext(Xd)}const g5e=()=>{throw new Error("uSES not initialized!")};let hW=g5e;const m5e=e=>{hW=e},v5e=(e,t)=>e===t;function y5e(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(r,i=v5e){const{store:o,subscription:a,getServerState:s}=t(),l=hW(a.addNestedSub,o.getState,s||o.getState,r,i);return w.useDebugValue(l),l}}const b5e=y5e();var fI={},S5e={get exports(){return fI},set exports(e){fI=e}},$n={};/** + */var kx=w,o5e=J9;function a5e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var s5e=typeof Object.is=="function"?Object.is:a5e,l5e=o5e.useSyncExternalStore,u5e=kx.useRef,c5e=kx.useEffect,d5e=kx.useMemo,f5e=kx.useDebugValue;dW.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=u5e(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=d5e(function(){function l(v){if(!u){if(u=!0,d=v,v=r(v),i!==void 0&&a.hasValue){var b=a.value;if(i(b,v))return h=b}return h=v}if(b=h,s5e(d,v))return b;var S=r(v);return i!==void 0&&i(b,S)?b:(d=v,h=S)}var u=!1,d,h,m=n===void 0?null:n;return[function(){return l(t())},m===null?void 0:function(){return l(m())}]},[t,n,r,i]);var s=l5e(e,o[0],o[1]);return c5e(function(){a.hasValue=!0,a.value=s},[s]),f5e(s),s};(function(e){e.exports=dW})(i5e);function h5e(e){e()}let fW=h5e;const p5e=e=>fW=e,g5e=()=>fW,Xd=w.createContext(null);function hW(){return w.useContext(Xd)}const m5e=()=>{throw new Error("uSES not initialized!")};let pW=m5e;const v5e=e=>{pW=e},y5e=(e,t)=>e===t;function b5e(e=Xd){const t=e===Xd?hW:()=>w.useContext(e);return function(r,i=y5e){const{store:o,subscription:a,getServerState:s}=t(),l=pW(a.addNestedSub,o.getState,s||o.getState,r,i);return w.useDebugValue(l),l}}const S5e=b5e();var fI={},x5e={get exports(){return fI},set exports(e){fI=e}},Fn={};/** * @license React * react-is.production.min.js * @@ -431,9 +431,9 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var $E=Symbol.for("react.element"),zE=Symbol.for("react.portal"),kx=Symbol.for("react.fragment"),Ex=Symbol.for("react.strict_mode"),Px=Symbol.for("react.profiler"),Tx=Symbol.for("react.provider"),Lx=Symbol.for("react.context"),x5e=Symbol.for("react.server_context"),Ax=Symbol.for("react.forward_ref"),Ox=Symbol.for("react.suspense"),Mx=Symbol.for("react.suspense_list"),Ix=Symbol.for("react.memo"),Rx=Symbol.for("react.lazy"),w5e=Symbol.for("react.offscreen"),pW;pW=Symbol.for("react.module.reference");function ps(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case $E:switch(e=e.type,e){case kx:case Px:case Ex:case Ox:case Mx:return e;default:switch(e=e&&e.$$typeof,e){case x5e:case Lx:case Ax:case Rx:case Ix:case Tx:return e;default:return t}}case zE:return t}}}$n.ContextConsumer=Lx;$n.ContextProvider=Tx;$n.Element=$E;$n.ForwardRef=Ax;$n.Fragment=kx;$n.Lazy=Rx;$n.Memo=Ix;$n.Portal=zE;$n.Profiler=Px;$n.StrictMode=Ex;$n.Suspense=Ox;$n.SuspenseList=Mx;$n.isAsyncMode=function(){return!1};$n.isConcurrentMode=function(){return!1};$n.isContextConsumer=function(e){return ps(e)===Lx};$n.isContextProvider=function(e){return ps(e)===Tx};$n.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$E};$n.isForwardRef=function(e){return ps(e)===Ax};$n.isFragment=function(e){return ps(e)===kx};$n.isLazy=function(e){return ps(e)===Rx};$n.isMemo=function(e){return ps(e)===Ix};$n.isPortal=function(e){return ps(e)===zE};$n.isProfiler=function(e){return ps(e)===Px};$n.isStrictMode=function(e){return ps(e)===Ex};$n.isSuspense=function(e){return ps(e)===Ox};$n.isSuspenseList=function(e){return ps(e)===Mx};$n.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===kx||e===Px||e===Ex||e===Ox||e===Mx||e===w5e||typeof e=="object"&&e!==null&&(e.$$typeof===Rx||e.$$typeof===Ix||e.$$typeof===Tx||e.$$typeof===Lx||e.$$typeof===Ax||e.$$typeof===pW||e.getModuleId!==void 0)};$n.typeOf=ps;(function(e){e.exports=$n})(S5e);function C5e(){const e=p5e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const hI={notify(){},get:()=>[]};function _5e(e,t){let n,r=hI;function i(h){return l(),r.subscribe(h)}function o(){r.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=C5e())}function u(){n&&(n(),n=void 0,r.clear(),r=hI)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return d}const k5e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",E5e=k5e?w.useLayoutEffect:w.useEffect;function P5e({store:e,context:t,children:n,serverState:r}){const i=w.useMemo(()=>{const s=_5e(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=w.useMemo(()=>e.getState(),[e]);E5e(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||Xd;return N.createElement(a.Provider,{value:i},n)}function gW(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(){const{store:r}=t();return r}}const T5e=gW();function L5e(e=Xd){const t=e===Xd?T5e:gW(e);return function(){return t().dispatch}}const A5e=L5e();m5e(J9.useSyncExternalStoreWithSelector);h5e(Qs.unstable_batchedUpdates);function T4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T4=function(n){return typeof n}:T4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T4(e)}function O5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pI(e,t){for(var n=0;n1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:HE(e)?2:VE(e)?3:0}function Rm(e,t){return _0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function D5e(e,t){return _0(e)===2?e.get(t):e[t]}function vW(e,t,n){var r=_0(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function yW(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function HE(e){return z5e&&e instanceof Map}function VE(e){return H5e&&e instanceof Set}function hh(e){return e.o||e.t}function WE(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=SW(e);delete t[vr];for(var n=Dm(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=N5e),Object.freeze(e),t&&Qh(e,function(n,r){return UE(r,!0)},!0)),e}function N5e(){zs(2)}function GE(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function eu(e){var t=o8[e];return t||zs(18,e),t}function j5e(e,t){o8[e]||(o8[e]=t)}function n8(){return X2}function cC(e,t){t&&(eu("Patches"),e.u=[],e.s=[],e.v=t)}function B5(e){r8(e),e.p.forEach(B5e),e.p=null}function r8(e){e===X2&&(X2=e.l)}function gI(e){return X2={p:[],l:X2,h:e,m:!0,_:0}}function B5e(e){var t=e[vr];t.i===0||t.i===1?t.j():t.O=!0}function dC(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||eu("ES5").S(t,e,r),r?(n[vr].P&&(B5(t),zs(4)),oc(e)&&(e=F5(t,e),t.l||$5(t,e)),t.u&&eu("Patches").M(n[vr].t,e,t.u,t.s)):e=F5(t,n,[]),B5(t),t.u&&t.v(t.u,t.s),e!==bW?e:void 0}function F5(e,t,n){if(GE(t))return t;var r=t[vr];if(!r)return Qh(t,function(o,a){return mI(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return $5(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=WE(r.k):r.o;Qh(r.i===3?new Set(i):i,function(o,a){return mI(e,r,i,o,a,n)}),$5(e,i,!1),n&&e.u&&eu("Patches").R(r,n,e.u,e.s)}return r.o}function mI(e,t,n,r,i,o){if(Zd(i)){var a=F5(e,i,o&&t&&t.i!==3&&!Rm(t.D,r)?o.concat(r):void 0);if(vW(n,r,a),!Zd(a))return;e.m=!1}if(oc(i)&&!GE(i)){if(!e.h.F&&e._<1)return;F5(e,i),t&&t.A.l||$5(e,i)}}function $5(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&UE(t,n)}function fC(e,t){var n=e[vr];return(n?hh(n):e)[t]}function vI(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Sd(e){e.P||(e.P=!0,e.l&&Sd(e.l))}function hC(e){e.o||(e.o=WE(e.t))}function i8(e,t,n){var r=HE(t)?eu("MapSet").N(t,n):VE(t)?eu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:n8(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},l=s,u=Z2;a&&(l=[s],u=_v);var d=Proxy.revocable(l,u),h=d.revoke,m=d.proxy;return s.k=m,s.j=h,m}(t,n):eu("ES5").J(t,n);return(n?n.A:n8()).p.push(r),r}function F5e(e){return Zd(e)||zs(22,e),function t(n){if(!oc(n))return n;var r,i=n[vr],o=_0(n);if(i){if(!i.P&&(i.i<4||!eu("ES5").K(i)))return i.t;i.I=!0,r=yI(n,o),i.I=!1}else r=yI(n,o);return Qh(r,function(a,s){i&&D5e(i.t,a)===s||vW(r,a,t(s))}),o===3?new Set(r):r}(e)}function yI(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return WE(e)}function $5e(){function e(o,a){var s=i[o];return s?s.enumerable=a:i[o]=s={configurable:!0,enumerable:a,get:function(){var l=this[vr];return Z2.get(l,o)},set:function(l){var u=this[vr];Z2.set(u,o,l)}},s}function t(o){for(var a=o.length-1;a>=0;a--){var s=o[a][vr];if(!s.P)switch(s.i){case 5:r(s)&&Sd(s);break;case 4:n(s)&&Sd(s)}}}function n(o){for(var a=o.t,s=o.k,l=Dm(s),u=l.length-1;u>=0;u--){var d=l[u];if(d!==vr){var h=a[d];if(h===void 0&&!Rm(a,d))return!0;var m=s[d],v=m&&m[vr];if(v?v.t!==h:!yW(m,h))return!0}}var b=!!a[vr];return l.length!==Dm(a).length+(b?0:1)}function r(o){var a=o.k;if(a.length!==o.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var l=0;l1?E-1:0),T=1;T1?d-1:0),m=1;m=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=eu("Patches").$;return Zd(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Ia=new W5e,xW=Ia.produce;Ia.produceWithPatches.bind(Ia);Ia.setAutoFreeze.bind(Ia);Ia.setUseProxies.bind(Ia);Ia.applyPatches.bind(Ia);Ia.createDraft.bind(Ia);Ia.finishDraft.bind(Ia);function wI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CI(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ro(1));return n(YE)(e,t)}if(typeof e!="function")throw new Error(ro(2));var i=e,o=t,a=[],s=a,l=!1;function u(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ro(3));return o}function h(S){if(typeof S!="function")throw new Error(ro(4));if(l)throw new Error(ro(5));var k=!0;return u(),s.push(S),function(){if(k){if(l)throw new Error(ro(6));k=!1,u();var _=s.indexOf(S);s.splice(_,1),a=null}}}function m(S){if(!U5e(S))throw new Error(ro(7));if(typeof S.type>"u")throw new Error(ro(8));if(l)throw new Error(ro(9));try{l=!0,o=i(o,S)}finally{l=!1}for(var k=a=s,E=0;E"u")throw new Error(ro(12));if(typeof n(void 0,{type:z5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ro(13))})}function wW(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(ro(14));h[v]=k,d=d||k!==S}return d=d||o.length!==Object.keys(l).length,d?h:l}}function H5(){for(var e=arguments.length,t=new Array(e),n=0;n-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return V5}function i(s,l){r(s)===V5&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var X5e=function(t,n){return t===n};function Z5e(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?t-1:0),r=1;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]{Object.keys(R).forEach(function(D){T(D)&&d[D]!==R[D]&&m.indexOf(D)===-1&&m.push(D)}),Object.keys(d).forEach(function(D){R[D]===void 0&&T(D)&&m.indexOf(D)===-1&&d[D]!==void 0&&m.push(D)}),v===null&&(v=setInterval(E,i)),d=R},o)}function E(){if(m.length===0){v&&clearInterval(v),v=null;return}var R=m.shift(),D=r.reduce(function(j,z){return z.in(j,R,d)},d[R]);if(D!==void 0)try{h[R]=l(D)}catch(j){console.error("redux-persist/createPersistoid: error serializing state",j)}else delete h[R];m.length===0&&_()}function _(){Object.keys(h).forEach(function(R){d[R]===void 0&&delete h[R]}),b=s.setItem(a,l(h)).catch(A)}function T(R){return!(n&&n.indexOf(R)===-1&&R!=="_persist"||t&&t.indexOf(R)!==-1)}function A(R){u&&u(R)}var I=function(){for(;m.length!==0;)E();return b||Promise.resolve()};return{update:k,flush:I}}function OSe(e){return JSON.stringify(e)}function MSe(e){var t=e.transforms||[],n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key),r=e.storage;e.debug;var i;return e.deserialize===!1?i=function(a){return a}:typeof e.deserialize=="function"?i=e.deserialize:i=ISe,r.getItem(n).then(function(o){if(o)try{var a={},s=i(o);return Object.keys(s).forEach(function(l){a[l]=t.reduceRight(function(u,d){return d.out(u,l,s)},i(s[l]))}),a}catch(l){throw l}else return})}function ISe(e){return JSON.parse(e)}function RSe(e){var t=e.storage,n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key);return t.removeItem(n,DSe)}function DSe(e){}function OI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Fu(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function BSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var FSe=5e3;function $Se(e,t){var n=e.version!==void 0?e.version:ESe;e.debug;var r=e.stateReconciler===void 0?LSe:e.stateReconciler,i=e.getStoredState||MSe,o=e.timeout!==void 0?e.timeout:FSe,a=null,s=!1,l=!0,u=function(h){return h._persist.rehydrated&&a&&!l&&a.update(h),h};return function(d,h){var m=d||{},v=m._persist,b=jSe(m,["_persist"]),S=b;if(h.type===TW){var k=!1,E=function(j,z){k||(h.rehydrate(e.key,j,z),k=!0)};if(o&&setTimeout(function(){!k&&E(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},o),l=!1,a||(a=ASe(e)),v)return Fu({},t(S,h),{_persist:v});if(typeof h.rehydrate!="function"||typeof h.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return h.register(e.key),i(e).then(function(D){var j=e.migrate||function(z,V){return Promise.resolve(z)};j(D,n).then(function(z){E(z)},function(z){E(void 0,z)})},function(D){E(void 0,D)}),Fu({},t(S,h),{_persist:{version:n,rehydrated:!1}})}else{if(h.type===LW)return s=!0,h.result(RSe(e)),Fu({},t(S,h),{_persist:v});if(h.type===EW)return h.result(a&&a.flush()),Fu({},t(S,h),{_persist:v});if(h.type===PW)l=!0;else if(h.type===ZE){if(s)return Fu({},S,{_persist:Fu({},v,{rehydrated:!0})});if(h.key===e.key){var _=t(S,h),T=h.payload,A=r!==!1&&T!==void 0?r(T,d,_,e):_,I=Fu({},A,{_persist:Fu({},v,{rehydrated:!0})});return u(I)}}}if(!v)return t(d,h);var R=t(S,h);return R===S?d:u(Fu({},R,{_persist:v}))}}function MI(e){return VSe(e)||HSe(e)||zSe()}function zSe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function HSe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function VSe(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:OW,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case AW:return s8({},t,{registry:[].concat(MI(t.registry),[n.key])});case ZE:var r=t.registry.indexOf(n.key),i=MI(t.registry);return i.splice(r,1),s8({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function GSe(e,t,n){var r=n||!1,i=YE(USe,OW,t&&t.enhancer?t.enhancer:void 0),o=function(u){i.dispatch({type:AW,key:u})},a=function(u,d,h){var m={type:ZE,payload:d,err:h,key:u};e.dispatch(m),i.dispatch(m),r&&s.getState().bootstrapped&&(r(),r=!1)},s=s8({},i,{purge:function(){var u=[];return e.dispatch({type:LW,result:function(h){u.push(h)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:EW,result:function(h){u.push(h)}}),Promise.all(u)},pause:function(){e.dispatch({type:PW})},persist:function(){e.dispatch({type:TW,register:o,rehydrate:a})}});return t&&t.manualPersist||s.persist(),s}var QE={},JE={};JE.__esModule=!0;JE.default=KSe;function M4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M4=function(n){return typeof n}:M4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M4(e)}function vC(){}var qSe={getItem:vC,setItem:vC,removeItem:vC};function YSe(e){if((typeof self>"u"?"undefined":M4(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function KSe(e){var t="".concat(e,"Storage");return YSe(t)?self[t]:qSe}QE.__esModule=!0;QE.default=QSe;var XSe=ZSe(JE);function ZSe(e){return e&&e.__esModule?e:{default:e}}function QSe(e){var t=(0,XSe.default)(e);return{getItem:function(r){return new Promise(function(i,o){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(o,a){o(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,o){i(t.removeItem(r))})}}}var MW=void 0,JSe=exe(QE);function exe(e){return e&&e.__esModule?e:{default:e}}var txe=(0,JSe.default)("local");MW=txe;var IW={},RW={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});Jh.PLACEHOLDER_UNDEFINED=Jh.PACKAGE_NAME=void 0;Jh.PACKAGE_NAME="redux-deep-persist";Jh.PLACEHOLDER_UNDEFINED="@@placeholder/undefined";var eP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigType=void 0,function(t){t[t.WHITELIST=0]="WHITELIST",t[t.BLACKLIST=1]="BLACKLIST"}(e.ConfigType||(e.ConfigType={}))})(eP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRootKeysGroup=e.throwError=e.configValidator=e.transformsValidator=e.singleTransformValidator=e.findDuplicatesAndSubsets=e.unique=e.preserveUndefined=e.mergeDeep=e.dissocPath=e.assocPath=e.path=e.difference=e.cloneDeep=e._cloneDeep=e.getCircularPath=e.isEmpty=e.isDate=e.isString=e.isIntegerString=e.isPlainObject=e.isArray=e.isLength=e.isObjectLike=void 0;const t=Jh,n=eP,r=function(q){return typeof q=="object"&&q!==null};e.isObjectLike=r;const i=function(q){return typeof q=="number"&&q>-1&&q%1==0&&q<=Number.MAX_SAFE_INTEGER};e.isLength=i,e.isArray=Array.isArray||function(q){return(0,e.isLength)(q&&q.length)&&Object.prototype.toString.call(q)==="[object Array]"};const o=function(q){return!!q&&typeof q=="object"&&!(0,e.isArray)(q)};e.isPlainObject=o;const a=function(q){return String(~~q)===q&&Number(q)>=0};e.isIntegerString=a;const s=function(q){return Object.prototype.toString.call(q)==="[object String]"};e.isString=s;const l=function(q){return Object.prototype.toString.call(q)==="[object Date]"};e.isDate=l;const u=function(q){return Object.keys(q).length===0};e.isEmpty=u;const d=Object.prototype.hasOwnProperty,h=function(q,F,U){U||(U=new Set([q])),F||(F="");for(const X in q){const Z=F?`${F}.${X}`:X,W=q[X];if((0,e.isObjectLike)(W))return U.has(W)?`${F}.${X}:`:(U.add(W),(0,e.getCircularPath)(W,Z,U))}return null};e.getCircularPath=h;const m=function(q){if(!(0,e.isObjectLike)(q))return q;if((0,e.isDate)(q))return new Date(+q);const F=(0,e.isArray)(q)?[]:{};for(const U in q){const X=q[U];F[U]=(0,e._cloneDeep)(X)}return F};e._cloneDeep=m;const v=function(q){const F=(0,e.getCircularPath)(q);if(F)throw new Error(`${t.PACKAGE_NAME}: circular dependency detected under the path '${F}' of object you're trying to persist: ${q}`);return(0,e._cloneDeep)(q)};e.cloneDeep=v;const b=function(q,F){if(q===F)return{};if(!(0,e.isObjectLike)(q)||!(0,e.isObjectLike)(F))return F;const U=(0,e.cloneDeep)(q),X=(0,e.cloneDeep)(F),Z=Object.keys(U).reduce((Q,ie)=>(d.call(X,ie)||(Q[ie]=void 0),Q),{});if((0,e.isDate)(U)||(0,e.isDate)(X))return U.valueOf()===X.valueOf()?{}:X;const W=Object.keys(X).reduce((Q,ie)=>{if(!d.call(U,ie))return Q[ie]=X[ie],Q;const fe=(0,e.difference)(U[ie],X[ie]);return(0,e.isObjectLike)(fe)&&(0,e.isEmpty)(fe)&&!(0,e.isDate)(fe)?(0,e.isArray)(U)&&!(0,e.isArray)(X)||!(0,e.isArray)(U)&&(0,e.isArray)(X)?X:Q:(Q[ie]=fe,Q)},Z);return delete W._persist,W};e.difference=b;const S=function(q,F){return F.reduce((U,X)=>{if(U){const Z=parseInt(X,10),W=(0,e.isIntegerString)(X)&&Z<0?U.length+Z:X;return(0,e.isString)(U)?U.charAt(W):U[W]}},q)};e.path=S;const k=function(q,F){return[...q].reverse().reduce((Z,W,Q)=>{const ie=(0,e.isIntegerString)(W)?[]:{};return ie[W]=Q===0?F:Z,ie},{})};e.assocPath=k;const E=function(q,F){const U=(0,e.cloneDeep)(q);return F.reduce((X,Z,W)=>(W===F.length-1&&X&&(0,e.isObjectLike)(X)&&delete X[Z],X&&X[Z]),U),U};e.dissocPath=E;const _=function(q,F,...U){if(!U||!U.length)return F;const X=U.shift(),{preservePlaceholder:Z,preserveUndefined:W}=q;if((0,e.isObjectLike)(F)&&(0,e.isObjectLike)(X))for(const Q in X)if((0,e.isObjectLike)(X[Q])&&(0,e.isObjectLike)(F[Q]))F[Q]||(F[Q]={}),_(q,F[Q],X[Q]);else if((0,e.isArray)(F)){let ie=X[Q];const fe=Z?t.PLACEHOLDER_UNDEFINED:void 0;W||(ie=typeof ie<"u"?ie:F[parseInt(Q,10)]),ie=ie!==t.PLACEHOLDER_UNDEFINED?ie:fe,F[parseInt(Q,10)]=ie}else{const ie=X[Q]!==t.PLACEHOLDER_UNDEFINED?X[Q]:void 0;F[Q]=ie}return _(q,F,...U)},T=function(q,F,U){return _({preservePlaceholder:U==null?void 0:U.preservePlaceholder,preserveUndefined:U==null?void 0:U.preserveUndefined},(0,e.cloneDeep)(q),(0,e.cloneDeep)(F))};e.mergeDeep=T;const A=function(q,F=[],U,X,Z){if(!(0,e.isObjectLike)(q))return q;for(const W in q){const Q=q[W],ie=(0,e.isArray)(q),fe=X?X+"."+W:W;Q===null&&(U===n.ConfigType.WHITELIST&&F.indexOf(fe)===-1||U===n.ConfigType.BLACKLIST&&F.indexOf(fe)!==-1)&&ie&&(q[parseInt(W,10)]=void 0),Q===void 0&&Z&&U===n.ConfigType.BLACKLIST&&F.indexOf(fe)===-1&&ie&&(q[parseInt(W,10)]=t.PLACEHOLDER_UNDEFINED),A(Q,F,U,fe,Z)}},I=function(q,F,U,X){const Z=(0,e.cloneDeep)(q);return A(Z,F,U,"",X),Z};e.preserveUndefined=I;const R=function(q,F,U){return U.indexOf(q)===F};e.unique=R;const D=function(q){return q.reduce((F,U)=>{const X=q.filter(Se=>Se===U),Z=q.filter(Se=>(U+".").indexOf(Se+".")===0),{duplicates:W,subsets:Q}=F,ie=X.length>1&&W.indexOf(U)===-1,fe=Z.length>1;return{duplicates:[...W,...ie?X:[]],subsets:[...Q,...fe?Z:[]].filter(e.unique).sort()}},{duplicates:[],subsets:[]})};e.findDuplicatesAndSubsets=D;const j=function(q,F,U){const X=U===n.ConfigType.WHITELIST?"whitelist":"blacklist",Z=`${t.PACKAGE_NAME}: incorrect ${X} configuration.`,W=`Check your create${U===n.ConfigType.WHITELIST?"White":"Black"}list arguments. + */var FE=Symbol.for("react.element"),zE=Symbol.for("react.portal"),Ex=Symbol.for("react.fragment"),Px=Symbol.for("react.strict_mode"),Tx=Symbol.for("react.profiler"),Lx=Symbol.for("react.provider"),Ax=Symbol.for("react.context"),w5e=Symbol.for("react.server_context"),Ox=Symbol.for("react.forward_ref"),Mx=Symbol.for("react.suspense"),Ix=Symbol.for("react.suspense_list"),Rx=Symbol.for("react.memo"),Dx=Symbol.for("react.lazy"),C5e=Symbol.for("react.offscreen"),gW;gW=Symbol.for("react.module.reference");function ps(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case FE:switch(e=e.type,e){case Ex:case Tx:case Px:case Mx:case Ix:return e;default:switch(e=e&&e.$$typeof,e){case w5e:case Ax:case Ox:case Dx:case Rx:case Lx:return e;default:return t}}case zE:return t}}}Fn.ContextConsumer=Ax;Fn.ContextProvider=Lx;Fn.Element=FE;Fn.ForwardRef=Ox;Fn.Fragment=Ex;Fn.Lazy=Dx;Fn.Memo=Rx;Fn.Portal=zE;Fn.Profiler=Tx;Fn.StrictMode=Px;Fn.Suspense=Mx;Fn.SuspenseList=Ix;Fn.isAsyncMode=function(){return!1};Fn.isConcurrentMode=function(){return!1};Fn.isContextConsumer=function(e){return ps(e)===Ax};Fn.isContextProvider=function(e){return ps(e)===Lx};Fn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===FE};Fn.isForwardRef=function(e){return ps(e)===Ox};Fn.isFragment=function(e){return ps(e)===Ex};Fn.isLazy=function(e){return ps(e)===Dx};Fn.isMemo=function(e){return ps(e)===Rx};Fn.isPortal=function(e){return ps(e)===zE};Fn.isProfiler=function(e){return ps(e)===Tx};Fn.isStrictMode=function(e){return ps(e)===Px};Fn.isSuspense=function(e){return ps(e)===Mx};Fn.isSuspenseList=function(e){return ps(e)===Ix};Fn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ex||e===Tx||e===Px||e===Mx||e===Ix||e===C5e||typeof e=="object"&&e!==null&&(e.$$typeof===Dx||e.$$typeof===Rx||e.$$typeof===Lx||e.$$typeof===Ax||e.$$typeof===Ox||e.$$typeof===gW||e.getModuleId!==void 0)};Fn.typeOf=ps;(function(e){e.exports=Fn})(x5e);function _5e(){const e=g5e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const hI={notify(){},get:()=>[]};function k5e(e,t){let n,r=hI;function i(h){return l(),r.subscribe(h)}function o(){r.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=_5e())}function u(){n&&(n(),n=void 0,r.clear(),r=hI)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return d}const E5e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P5e=E5e?w.useLayoutEffect:w.useEffect;function T5e({store:e,context:t,children:n,serverState:r}){const i=w.useMemo(()=>{const s=k5e(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=w.useMemo(()=>e.getState(),[e]);P5e(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||Xd;return N.createElement(a.Provider,{value:i},n)}function mW(e=Xd){const t=e===Xd?hW:()=>w.useContext(e);return function(){const{store:r}=t();return r}}const L5e=mW();function A5e(e=Xd){const t=e===Xd?L5e:mW(e);return function(){return t().dispatch}}const O5e=A5e();v5e(e8.useSyncExternalStoreWithSelector);p5e(Qs.unstable_batchedUpdates);function T4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T4=function(n){return typeof n}:T4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T4(e)}function M5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pI(e,t){for(var n=0;n1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:HE(e)?2:VE(e)?3:0}function Rm(e,t){return _0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function N5e(e,t){return _0(e)===2?e.get(t):e[t]}function yW(e,t,n){var r=_0(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function bW(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function HE(e){return H5e&&e instanceof Map}function VE(e){return V5e&&e instanceof Set}function hh(e){return e.o||e.t}function WE(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=xW(e);delete t[vr];for(var n=Dm(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=j5e),Object.freeze(e),t&&Qh(e,function(n,r){return UE(r,!0)},!0)),e}function j5e(){zs(2)}function GE(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function eu(e){var t=a8[e];return t||zs(18,e),t}function B5e(e,t){a8[e]||(a8[e]=t)}function r8(){return X2}function dC(e,t){t&&(eu("Patches"),e.u=[],e.s=[],e.v=t)}function B5(e){i8(e),e.p.forEach($5e),e.p=null}function i8(e){e===X2&&(X2=e.l)}function gI(e){return X2={p:[],l:X2,h:e,m:!0,_:0}}function $5e(e){var t=e[vr];t.i===0||t.i===1?t.j():t.O=!0}function fC(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||eu("ES5").S(t,e,r),r?(n[vr].P&&(B5(t),zs(4)),oc(e)&&(e=$5(t,e),t.l||F5(t,e)),t.u&&eu("Patches").M(n[vr].t,e,t.u,t.s)):e=$5(t,n,[]),B5(t),t.u&&t.v(t.u,t.s),e!==SW?e:void 0}function $5(e,t,n){if(GE(t))return t;var r=t[vr];if(!r)return Qh(t,function(o,a){return mI(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return F5(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=WE(r.k):r.o;Qh(r.i===3?new Set(i):i,function(o,a){return mI(e,r,i,o,a,n)}),F5(e,i,!1),n&&e.u&&eu("Patches").R(r,n,e.u,e.s)}return r.o}function mI(e,t,n,r,i,o){if(Zd(i)){var a=$5(e,i,o&&t&&t.i!==3&&!Rm(t.D,r)?o.concat(r):void 0);if(yW(n,r,a),!Zd(a))return;e.m=!1}if(oc(i)&&!GE(i)){if(!e.h.F&&e._<1)return;$5(e,i),t&&t.A.l||F5(e,i)}}function F5(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&UE(t,n)}function hC(e,t){var n=e[vr];return(n?hh(n):e)[t]}function vI(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Sd(e){e.P||(e.P=!0,e.l&&Sd(e.l))}function pC(e){e.o||(e.o=WE(e.t))}function o8(e,t,n){var r=HE(t)?eu("MapSet").N(t,n):VE(t)?eu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:r8(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},l=s,u=Z2;a&&(l=[s],u=_v);var d=Proxy.revocable(l,u),h=d.revoke,m=d.proxy;return s.k=m,s.j=h,m}(t,n):eu("ES5").J(t,n);return(n?n.A:r8()).p.push(r),r}function F5e(e){return Zd(e)||zs(22,e),function t(n){if(!oc(n))return n;var r,i=n[vr],o=_0(n);if(i){if(!i.P&&(i.i<4||!eu("ES5").K(i)))return i.t;i.I=!0,r=yI(n,o),i.I=!1}else r=yI(n,o);return Qh(r,function(a,s){i&&N5e(i.t,a)===s||yW(r,a,t(s))}),o===3?new Set(r):r}(e)}function yI(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return WE(e)}function z5e(){function e(o,a){var s=i[o];return s?s.enumerable=a:i[o]=s={configurable:!0,enumerable:a,get:function(){var l=this[vr];return Z2.get(l,o)},set:function(l){var u=this[vr];Z2.set(u,o,l)}},s}function t(o){for(var a=o.length-1;a>=0;a--){var s=o[a][vr];if(!s.P)switch(s.i){case 5:r(s)&&Sd(s);break;case 4:n(s)&&Sd(s)}}}function n(o){for(var a=o.t,s=o.k,l=Dm(s),u=l.length-1;u>=0;u--){var d=l[u];if(d!==vr){var h=a[d];if(h===void 0&&!Rm(a,d))return!0;var m=s[d],v=m&&m[vr];if(v?v.t!==h:!bW(m,h))return!0}}var b=!!a[vr];return l.length!==Dm(a).length+(b?0:1)}function r(o){var a=o.k;if(a.length!==o.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var l=0;l1?E-1:0),T=1;T1?d-1:0),m=1;m=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=eu("Patches").$;return Zd(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Ia=new U5e,wW=Ia.produce;Ia.produceWithPatches.bind(Ia);Ia.setAutoFreeze.bind(Ia);Ia.setUseProxies.bind(Ia);Ia.applyPatches.bind(Ia);Ia.createDraft.bind(Ia);Ia.finishDraft.bind(Ia);function wI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CI(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ro(1));return n(YE)(e,t)}if(typeof e!="function")throw new Error(ro(2));var i=e,o=t,a=[],s=a,l=!1;function u(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ro(3));return o}function h(S){if(typeof S!="function")throw new Error(ro(4));if(l)throw new Error(ro(5));var k=!0;return u(),s.push(S),function(){if(k){if(l)throw new Error(ro(6));k=!1,u();var _=s.indexOf(S);s.splice(_,1),a=null}}}function m(S){if(!G5e(S))throw new Error(ro(7));if(typeof S.type>"u")throw new Error(ro(8));if(l)throw new Error(ro(9));try{l=!0,o=i(o,S)}finally{l=!1}for(var k=a=s,E=0;E"u")throw new Error(ro(12));if(typeof n(void 0,{type:z5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ro(13))})}function CW(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(ro(14));h[v]=k,d=d||k!==S}return d=d||o.length!==Object.keys(l).length,d?h:l}}function H5(){for(var e=arguments.length,t=new Array(e),n=0;n-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return V5}function i(s,l){r(s)===V5&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var Z5e=function(t,n){return t===n};function Q5e(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?t-1:0),r=1;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]{Object.keys(R).forEach(function(D){T(D)&&d[D]!==R[D]&&m.indexOf(D)===-1&&m.push(D)}),Object.keys(d).forEach(function(D){R[D]===void 0&&T(D)&&m.indexOf(D)===-1&&d[D]!==void 0&&m.push(D)}),v===null&&(v=setInterval(E,i)),d=R},o)}function E(){if(m.length===0){v&&clearInterval(v),v=null;return}var R=m.shift(),D=r.reduce(function(j,z){return z.in(j,R,d)},d[R]);if(D!==void 0)try{h[R]=l(D)}catch(j){console.error("redux-persist/createPersistoid: error serializing state",j)}else delete h[R];m.length===0&&_()}function _(){Object.keys(h).forEach(function(R){d[R]===void 0&&delete h[R]}),b=s.setItem(a,l(h)).catch(A)}function T(R){return!(n&&n.indexOf(R)===-1&&R!=="_persist"||t&&t.indexOf(R)!==-1)}function A(R){u&&u(R)}var I=function(){for(;m.length!==0;)E();return b||Promise.resolve()};return{update:k,flush:I}}function MSe(e){return JSON.stringify(e)}function ISe(e){var t=e.transforms||[],n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key),r=e.storage;e.debug;var i;return e.deserialize===!1?i=function(a){return a}:typeof e.deserialize=="function"?i=e.deserialize:i=RSe,r.getItem(n).then(function(o){if(o)try{var a={},s=i(o);return Object.keys(s).forEach(function(l){a[l]=t.reduceRight(function(u,d){return d.out(u,l,s)},i(s[l]))}),a}catch(l){throw l}else return})}function RSe(e){return JSON.parse(e)}function DSe(e){var t=e.storage,n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key);return t.removeItem(n,NSe)}function NSe(e){}function OI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $u(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $Se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var FSe=5e3;function zSe(e,t){var n=e.version!==void 0?e.version:PSe;e.debug;var r=e.stateReconciler===void 0?ASe:e.stateReconciler,i=e.getStoredState||ISe,o=e.timeout!==void 0?e.timeout:FSe,a=null,s=!1,l=!0,u=function(h){return h._persist.rehydrated&&a&&!l&&a.update(h),h};return function(d,h){var m=d||{},v=m._persist,b=BSe(m,["_persist"]),S=b;if(h.type===LW){var k=!1,E=function(j,z){k||(h.rehydrate(e.key,j,z),k=!0)};if(o&&setTimeout(function(){!k&&E(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},o),l=!1,a||(a=OSe(e)),v)return $u({},t(S,h),{_persist:v});if(typeof h.rehydrate!="function"||typeof h.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return h.register(e.key),i(e).then(function(D){var j=e.migrate||function(z,V){return Promise.resolve(z)};j(D,n).then(function(z){E(z)},function(z){E(void 0,z)})},function(D){E(void 0,D)}),$u({},t(S,h),{_persist:{version:n,rehydrated:!1}})}else{if(h.type===AW)return s=!0,h.result(DSe(e)),$u({},t(S,h),{_persist:v});if(h.type===PW)return h.result(a&&a.flush()),$u({},t(S,h),{_persist:v});if(h.type===TW)l=!0;else if(h.type===ZE){if(s)return $u({},S,{_persist:$u({},v,{rehydrated:!0})});if(h.key===e.key){var _=t(S,h),T=h.payload,A=r!==!1&&T!==void 0?r(T,d,_,e):_,I=$u({},A,{_persist:$u({},v,{rehydrated:!0})});return u(I)}}}if(!v)return t(d,h);var R=t(S,h);return R===S?d:u($u({},R,{_persist:v}))}}function MI(e){return WSe(e)||VSe(e)||HSe()}function HSe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function VSe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function WSe(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:MW,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case OW:return l8({},t,{registry:[].concat(MI(t.registry),[n.key])});case ZE:var r=t.registry.indexOf(n.key),i=MI(t.registry);return i.splice(r,1),l8({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function qSe(e,t,n){var r=n||!1,i=YE(GSe,MW,t&&t.enhancer?t.enhancer:void 0),o=function(u){i.dispatch({type:OW,key:u})},a=function(u,d,h){var m={type:ZE,payload:d,err:h,key:u};e.dispatch(m),i.dispatch(m),r&&s.getState().bootstrapped&&(r(),r=!1)},s=l8({},i,{purge:function(){var u=[];return e.dispatch({type:AW,result:function(h){u.push(h)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:PW,result:function(h){u.push(h)}}),Promise.all(u)},pause:function(){e.dispatch({type:TW})},persist:function(){e.dispatch({type:LW,register:o,rehydrate:a})}});return t&&t.manualPersist||s.persist(),s}var QE={},JE={};JE.__esModule=!0;JE.default=XSe;function M4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M4=function(n){return typeof n}:M4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M4(e)}function yC(){}var YSe={getItem:yC,setItem:yC,removeItem:yC};function KSe(e){if((typeof self>"u"?"undefined":M4(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function XSe(e){var t="".concat(e,"Storage");return KSe(t)?self[t]:YSe}QE.__esModule=!0;QE.default=JSe;var ZSe=QSe(JE);function QSe(e){return e&&e.__esModule?e:{default:e}}function JSe(e){var t=(0,ZSe.default)(e);return{getItem:function(r){return new Promise(function(i,o){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(o,a){o(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,o){i(t.removeItem(r))})}}}var IW=void 0,exe=txe(QE);function txe(e){return e&&e.__esModule?e:{default:e}}var nxe=(0,exe.default)("local");IW=nxe;var RW={},DW={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});Jh.PLACEHOLDER_UNDEFINED=Jh.PACKAGE_NAME=void 0;Jh.PACKAGE_NAME="redux-deep-persist";Jh.PLACEHOLDER_UNDEFINED="@@placeholder/undefined";var eP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigType=void 0,function(t){t[t.WHITELIST=0]="WHITELIST",t[t.BLACKLIST=1]="BLACKLIST"}(e.ConfigType||(e.ConfigType={}))})(eP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRootKeysGroup=e.throwError=e.configValidator=e.transformsValidator=e.singleTransformValidator=e.findDuplicatesAndSubsets=e.unique=e.preserveUndefined=e.mergeDeep=e.dissocPath=e.assocPath=e.path=e.difference=e.cloneDeep=e._cloneDeep=e.getCircularPath=e.isEmpty=e.isDate=e.isString=e.isIntegerString=e.isPlainObject=e.isArray=e.isLength=e.isObjectLike=void 0;const t=Jh,n=eP,r=function(q){return typeof q=="object"&&q!==null};e.isObjectLike=r;const i=function(q){return typeof q=="number"&&q>-1&&q%1==0&&q<=Number.MAX_SAFE_INTEGER};e.isLength=i,e.isArray=Array.isArray||function(q){return(0,e.isLength)(q&&q.length)&&Object.prototype.toString.call(q)==="[object Array]"};const o=function(q){return!!q&&typeof q=="object"&&!(0,e.isArray)(q)};e.isPlainObject=o;const a=function(q){return String(~~q)===q&&Number(q)>=0};e.isIntegerString=a;const s=function(q){return Object.prototype.toString.call(q)==="[object String]"};e.isString=s;const l=function(q){return Object.prototype.toString.call(q)==="[object Date]"};e.isDate=l;const u=function(q){return Object.keys(q).length===0};e.isEmpty=u;const d=Object.prototype.hasOwnProperty,h=function(q,$,U){U||(U=new Set([q])),$||($="");for(const X in q){const Z=$?`${$}.${X}`:X,W=q[X];if((0,e.isObjectLike)(W))return U.has(W)?`${$}.${X}:`:(U.add(W),(0,e.getCircularPath)(W,Z,U))}return null};e.getCircularPath=h;const m=function(q){if(!(0,e.isObjectLike)(q))return q;if((0,e.isDate)(q))return new Date(+q);const $=(0,e.isArray)(q)?[]:{};for(const U in q){const X=q[U];$[U]=(0,e._cloneDeep)(X)}return $};e._cloneDeep=m;const v=function(q){const $=(0,e.getCircularPath)(q);if($)throw new Error(`${t.PACKAGE_NAME}: circular dependency detected under the path '${$}' of object you're trying to persist: ${q}`);return(0,e._cloneDeep)(q)};e.cloneDeep=v;const b=function(q,$){if(q===$)return{};if(!(0,e.isObjectLike)(q)||!(0,e.isObjectLike)($))return $;const U=(0,e.cloneDeep)(q),X=(0,e.cloneDeep)($),Z=Object.keys(U).reduce((Q,ie)=>(d.call(X,ie)||(Q[ie]=void 0),Q),{});if((0,e.isDate)(U)||(0,e.isDate)(X))return U.valueOf()===X.valueOf()?{}:X;const W=Object.keys(X).reduce((Q,ie)=>{if(!d.call(U,ie))return Q[ie]=X[ie],Q;const fe=(0,e.difference)(U[ie],X[ie]);return(0,e.isObjectLike)(fe)&&(0,e.isEmpty)(fe)&&!(0,e.isDate)(fe)?(0,e.isArray)(U)&&!(0,e.isArray)(X)||!(0,e.isArray)(U)&&(0,e.isArray)(X)?X:Q:(Q[ie]=fe,Q)},Z);return delete W._persist,W};e.difference=b;const S=function(q,$){return $.reduce((U,X)=>{if(U){const Z=parseInt(X,10),W=(0,e.isIntegerString)(X)&&Z<0?U.length+Z:X;return(0,e.isString)(U)?U.charAt(W):U[W]}},q)};e.path=S;const k=function(q,$){return[...q].reverse().reduce((Z,W,Q)=>{const ie=(0,e.isIntegerString)(W)?[]:{};return ie[W]=Q===0?$:Z,ie},{})};e.assocPath=k;const E=function(q,$){const U=(0,e.cloneDeep)(q);return $.reduce((X,Z,W)=>(W===$.length-1&&X&&(0,e.isObjectLike)(X)&&delete X[Z],X&&X[Z]),U),U};e.dissocPath=E;const _=function(q,$,...U){if(!U||!U.length)return $;const X=U.shift(),{preservePlaceholder:Z,preserveUndefined:W}=q;if((0,e.isObjectLike)($)&&(0,e.isObjectLike)(X))for(const Q in X)if((0,e.isObjectLike)(X[Q])&&(0,e.isObjectLike)($[Q]))$[Q]||($[Q]={}),_(q,$[Q],X[Q]);else if((0,e.isArray)($)){let ie=X[Q];const fe=Z?t.PLACEHOLDER_UNDEFINED:void 0;W||(ie=typeof ie<"u"?ie:$[parseInt(Q,10)]),ie=ie!==t.PLACEHOLDER_UNDEFINED?ie:fe,$[parseInt(Q,10)]=ie}else{const ie=X[Q]!==t.PLACEHOLDER_UNDEFINED?X[Q]:void 0;$[Q]=ie}return _(q,$,...U)},T=function(q,$,U){return _({preservePlaceholder:U==null?void 0:U.preservePlaceholder,preserveUndefined:U==null?void 0:U.preserveUndefined},(0,e.cloneDeep)(q),(0,e.cloneDeep)($))};e.mergeDeep=T;const A=function(q,$=[],U,X,Z){if(!(0,e.isObjectLike)(q))return q;for(const W in q){const Q=q[W],ie=(0,e.isArray)(q),fe=X?X+"."+W:W;Q===null&&(U===n.ConfigType.WHITELIST&&$.indexOf(fe)===-1||U===n.ConfigType.BLACKLIST&&$.indexOf(fe)!==-1)&&ie&&(q[parseInt(W,10)]=void 0),Q===void 0&&Z&&U===n.ConfigType.BLACKLIST&&$.indexOf(fe)===-1&&ie&&(q[parseInt(W,10)]=t.PLACEHOLDER_UNDEFINED),A(Q,$,U,fe,Z)}},I=function(q,$,U,X){const Z=(0,e.cloneDeep)(q);return A(Z,$,U,"",X),Z};e.preserveUndefined=I;const R=function(q,$,U){return U.indexOf(q)===$};e.unique=R;const D=function(q){return q.reduce(($,U)=>{const X=q.filter(Se=>Se===U),Z=q.filter(Se=>(U+".").indexOf(Se+".")===0),{duplicates:W,subsets:Q}=$,ie=X.length>1&&W.indexOf(U)===-1,fe=Z.length>1;return{duplicates:[...W,...ie?X:[]],subsets:[...Q,...fe?Z:[]].filter(e.unique).sort()}},{duplicates:[],subsets:[]})};e.findDuplicatesAndSubsets=D;const j=function(q,$,U){const X=U===n.ConfigType.WHITELIST?"whitelist":"blacklist",Z=`${t.PACKAGE_NAME}: incorrect ${X} configuration.`,W=`Check your create${U===n.ConfigType.WHITELIST?"White":"Black"}list arguments. -`;if(!(0,e.isString)(F)||F.length<1)throw new Error(`${Z} Name (key) of reducer is required. ${W}`);if(!q||!q.length)return;const{duplicates:Q,subsets:ie}=(0,e.findDuplicatesAndSubsets)(q);if(Q.length>1)throw new Error(`${Z} Duplicated paths. +`;if(!(0,e.isString)($)||$.length<1)throw new Error(`${Z} Name (key) of reducer is required. ${W}`);if(!q||!q.length)return;const{duplicates:Q,subsets:ie}=(0,e.findDuplicatesAndSubsets)(q);if(Q.length>1)throw new Error(`${Z} Duplicated paths. ${JSON.stringify(Q)} @@ -441,42 +441,42 @@ Error generating stack: `+o.message+` ${JSON.stringify(ie)} - ${W}`)};e.singleTransformValidator=j;const z=function(q){if(!(0,e.isArray)(q))return;const F=(q==null?void 0:q.map(U=>U.deepPersistKey).filter(U=>U))||[];if(F.length){const U=F.filter((X,Z)=>F.indexOf(X)!==Z);if(U.length)throw new Error(`${t.PACKAGE_NAME}: found duplicated keys in transforms creators. You can createWhitelist or createBlacklist for a specific root reducer key only once. Duplicated keys among createWhitelist and createBlacklist transforms are not allowed. + ${W}`)};e.singleTransformValidator=j;const z=function(q){if(!(0,e.isArray)(q))return;const $=(q==null?void 0:q.map(U=>U.deepPersistKey).filter(U=>U))||[];if($.length){const U=$.filter((X,Z)=>$.indexOf(X)!==Z);if(U.length)throw new Error(`${t.PACKAGE_NAME}: found duplicated keys in transforms creators. You can createWhitelist or createBlacklist for a specific root reducer key only once. Duplicated keys among createWhitelist and createBlacklist transforms are not allowed. - Duplicates: ${JSON.stringify(U)}`)}};e.transformsValidator=z;const V=function({whitelist:q,blacklist:F}){if(q&&q.length&&F&&F.length)throw new Error(`${t.PACKAGE_NAME}: you should not define a whitelist and blacklist in parallel. It is allowed to use only one of these lists per config.`);if(q){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)(q);(0,e.throwError)({duplicates:U,subsets:X},"whitelist")}if(F){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)(F);(0,e.throwError)({duplicates:U,subsets:X},"blacklist")}};e.configValidator=V;const K=function({duplicates:q,subsets:F},U){if(q.length)throw new Error(`${t.PACKAGE_NAME}: duplicates of paths found in your ${U}. + Duplicates: ${JSON.stringify(U)}`)}};e.transformsValidator=z;const V=function({whitelist:q,blacklist:$}){if(q&&q.length&&$&&$.length)throw new Error(`${t.PACKAGE_NAME}: you should not define a whitelist and blacklist in parallel. It is allowed to use only one of these lists per config.`);if(q){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)(q);(0,e.throwError)({duplicates:U,subsets:X},"whitelist")}if($){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)($);(0,e.throwError)({duplicates:U,subsets:X},"blacklist")}};e.configValidator=V;const K=function({duplicates:q,subsets:$},U){if(q.length)throw new Error(`${t.PACKAGE_NAME}: duplicates of paths found in your ${U}. - ${JSON.stringify(q)}`);if(F.length)throw new Error(`${t.PACKAGE_NAME}: subsets of some parent keys found in your ${U}. You must decide if you want to persist an entire path or its specific subset. + ${JSON.stringify(q)}`);if($.length)throw new Error(`${t.PACKAGE_NAME}: subsets of some parent keys found in your ${U}. You must decide if you want to persist an entire path or its specific subset. - ${JSON.stringify(F)}`)};e.throwError=K;const te=function(q){return(0,e.isArray)(q)?q.filter(e.unique).reduce((F,U)=>{const X=U.split("."),Z=X[0],W=X.slice(1).join(".")||void 0,Q=F.filter(fe=>Object.keys(fe)[0]===Z)[0],ie=Q?Object.values(Q)[0]:void 0;return Q||F.push({[Z]:W?[W]:void 0}),Q&&!ie&&W&&(Q[Z]=[W]),Q&&ie&&W&&ie.push(W),F},[]):[]};e.getRootKeysGroup=te})(RW);(function(e){var t=wo&&wo.__rest||function(h,m){var v={};for(var b in h)Object.prototype.hasOwnProperty.call(h,b)&&m.indexOf(b)<0&&(v[b]=h[b]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(h);S!k(_)&&h?h(E,_,T):E,out:(E,_,T)=>!k(_)&&m?m(E,_,T):E,deepPersistKey:b&&b[0]}},a=(h,m,v,{debug:b,whitelist:S,blacklist:k,transforms:E})=>{if(S||k)throw new Error("State reconciler autoMergeDeep uses custom transforms instead of old whitelist or blacklist config properties. Please use createWhitelist or createBlacklist transforms.");(0,n.transformsValidator)(E);const _=(0,n.cloneDeep)(v);let T=h;if(T&&(0,n.isObjectLike)(T)){const A=(0,n.difference)(m,v);(0,n.isEmpty)(A)||(T=(0,n.mergeDeep)(h,A,{preserveUndefined:!0}),b&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: sub state of your state was modified by reducer during rehydration. Values from reducer will be kept: ${JSON.stringify(A)}`)),Object.keys(T).forEach(I=>{if(I!=="_persist"){if((0,n.isObjectLike)(_[I])){_[I]=(0,n.mergeDeep)(_[I],T[I]);return}_[I]=T[I]}})}return b&&T&&(0,n.isObjectLike)(T)&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: rehydrated keys ${JSON.stringify(T)}`),_};e.autoMergeDeep=a;const s=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.WHITELIST),o(v=>{if(!m||!m.length)return v;let b=null,S;return m.forEach(k=>{const E=k.split(".");S=(0,n.path)(v,E),typeof S>"u"&&(0,n.isIntegerString)(E[E.length-1])&&(S=r.PLACEHOLDER_UNDEFINED);const _=(0,n.assocPath)(E,S),T=(0,n.isArray)(_)?[]:{};b=(0,n.mergeDeep)(b||T,_,{preservePlaceholder:!0})}),b||v},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.WHITELIST),{whitelist:[h]}));e.createWhitelist=s;const l=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.BLACKLIST),o(v=>{if(!m||!m.length)return;const b=(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST,!0);return m.map(k=>k.split(".")).reduce((k,E)=>(0,n.dissocPath)(k,E),b)},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST),{whitelist:[h]}));e.createBlacklist=l;const u=function(h,m){return m.map(v=>{const b=Object.keys(v)[0],S=v[b];return h===i.ConfigType.WHITELIST?(0,e.createWhitelist)(b,S):(0,e.createBlacklist)(b,S)})};e.getTransforms=u;const d=h=>{var{key:m,whitelist:v,blacklist:b,storage:S,transforms:k,rootReducer:E}=h,_=t(h,["key","whitelist","blacklist","storage","transforms","rootReducer"]);(0,n.configValidator)({whitelist:v,blacklist:b});const T=(0,n.getRootKeysGroup)(v),A=(0,n.getRootKeysGroup)(b),I=Object.keys(E(void 0,{type:""})),R=T.map(te=>Object.keys(te)[0]),D=A.map(te=>Object.keys(te)[0]),j=I.filter(te=>R.indexOf(te)===-1&&D.indexOf(te)===-1),z=(0,e.getTransforms)(i.ConfigType.WHITELIST,T),V=(0,e.getTransforms)(i.ConfigType.BLACKLIST,A),K=(0,n.isArray)(v)?j.map(te=>(0,e.createBlacklist)(te)):[];return Object.assign(Object.assign({},_),{key:m,storage:S,transforms:[...z,...V,...K,...k||[]],stateReconciler:e.autoMergeDeep})};e.getPersistConfig=d})(IW);const Ed=(e,t)=>Math.floor(e/t)*t,Gl=(e,t)=>Math.round(e/t)*t;var Ee={},nxe={get exports(){return Ee},set exports(e){Ee=e}};/** + ${JSON.stringify($)}`)};e.throwError=K;const te=function(q){return(0,e.isArray)(q)?q.filter(e.unique).reduce(($,U)=>{const X=U.split("."),Z=X[0],W=X.slice(1).join(".")||void 0,Q=$.filter(fe=>Object.keys(fe)[0]===Z)[0],ie=Q?Object.values(Q)[0]:void 0;return Q||$.push({[Z]:W?[W]:void 0}),Q&&!ie&&W&&(Q[Z]=[W]),Q&&ie&&W&&ie.push(W),$},[]):[]};e.getRootKeysGroup=te})(DW);(function(e){var t=Co&&Co.__rest||function(h,m){var v={};for(var b in h)Object.prototype.hasOwnProperty.call(h,b)&&m.indexOf(b)<0&&(v[b]=h[b]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(h);S!k(_)&&h?h(E,_,T):E,out:(E,_,T)=>!k(_)&&m?m(E,_,T):E,deepPersistKey:b&&b[0]}},a=(h,m,v,{debug:b,whitelist:S,blacklist:k,transforms:E})=>{if(S||k)throw new Error("State reconciler autoMergeDeep uses custom transforms instead of old whitelist or blacklist config properties. Please use createWhitelist or createBlacklist transforms.");(0,n.transformsValidator)(E);const _=(0,n.cloneDeep)(v);let T=h;if(T&&(0,n.isObjectLike)(T)){const A=(0,n.difference)(m,v);(0,n.isEmpty)(A)||(T=(0,n.mergeDeep)(h,A,{preserveUndefined:!0}),b&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: sub state of your state was modified by reducer during rehydration. Values from reducer will be kept: ${JSON.stringify(A)}`)),Object.keys(T).forEach(I=>{if(I!=="_persist"){if((0,n.isObjectLike)(_[I])){_[I]=(0,n.mergeDeep)(_[I],T[I]);return}_[I]=T[I]}})}return b&&T&&(0,n.isObjectLike)(T)&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: rehydrated keys ${JSON.stringify(T)}`),_};e.autoMergeDeep=a;const s=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.WHITELIST),o(v=>{if(!m||!m.length)return v;let b=null,S;return m.forEach(k=>{const E=k.split(".");S=(0,n.path)(v,E),typeof S>"u"&&(0,n.isIntegerString)(E[E.length-1])&&(S=r.PLACEHOLDER_UNDEFINED);const _=(0,n.assocPath)(E,S),T=(0,n.isArray)(_)?[]:{};b=(0,n.mergeDeep)(b||T,_,{preservePlaceholder:!0})}),b||v},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.WHITELIST),{whitelist:[h]}));e.createWhitelist=s;const l=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.BLACKLIST),o(v=>{if(!m||!m.length)return;const b=(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST,!0);return m.map(k=>k.split(".")).reduce((k,E)=>(0,n.dissocPath)(k,E),b)},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST),{whitelist:[h]}));e.createBlacklist=l;const u=function(h,m){return m.map(v=>{const b=Object.keys(v)[0],S=v[b];return h===i.ConfigType.WHITELIST?(0,e.createWhitelist)(b,S):(0,e.createBlacklist)(b,S)})};e.getTransforms=u;const d=h=>{var{key:m,whitelist:v,blacklist:b,storage:S,transforms:k,rootReducer:E}=h,_=t(h,["key","whitelist","blacklist","storage","transforms","rootReducer"]);(0,n.configValidator)({whitelist:v,blacklist:b});const T=(0,n.getRootKeysGroup)(v),A=(0,n.getRootKeysGroup)(b),I=Object.keys(E(void 0,{type:""})),R=T.map(te=>Object.keys(te)[0]),D=A.map(te=>Object.keys(te)[0]),j=I.filter(te=>R.indexOf(te)===-1&&D.indexOf(te)===-1),z=(0,e.getTransforms)(i.ConfigType.WHITELIST,T),V=(0,e.getTransforms)(i.ConfigType.BLACKLIST,A),K=(0,n.isArray)(v)?j.map(te=>(0,e.createBlacklist)(te)):[];return Object.assign(Object.assign({},_),{key:m,storage:S,transforms:[...z,...V,...K,...k||[]],stateReconciler:e.autoMergeDeep})};e.getPersistConfig=d})(RW);const Ed=(e,t)=>Math.floor(e/t)*t,Gl=(e,t)=>Math.round(e/t)*t;var ke={},rxe={get exports(){return ke},set exports(e){ke=e}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,m=2,v=4,b=1,S=2,k=1,E=2,_=4,T=8,A=16,I=32,R=64,D=128,j=256,z=512,V=30,K="...",te=800,q=16,F=1,U=2,X=3,Z=1/0,W=9007199254740991,Q=17976931348623157e292,ie=0/0,fe=4294967295,Se=fe-1,Te=fe>>>1,ye=[["ary",D],["bind",k],["bindKey",E],["curry",T],["curryRight",A],["flip",z],["partial",I],["partialRight",R],["rearg",j]],He="[object Arguments]",Ne="[object Array]",tt="[object AsyncFunction]",_e="[object Boolean]",lt="[object Date]",wt="[object DOMException]",ct="[object Error]",mt="[object Function]",St="[object GeneratorFunction]",Ae="[object Map]",ut="[object Number]",Mt="[object Null]",at="[object Object]",Ct="[object Promise]",Zt="[object Proxy]",le="[object RegExp]",De="[object Set]",Ue="[object String]",Ye="[object Symbol]",we="[object Undefined]",je="[object WeakMap]",_t="[object WeakSet]",Dt="[object ArrayBuffer]",Le="[object DataView]",At="[object Float32Array]",Fe="[object Float64Array]",vt="[object Int8Array]",nn="[object Int16Array]",Rn="[object Int32Array]",Ke="[object Uint8Array]",xt="[object Uint8ClampedArray]",ft="[object Uint16Array]",Ht="[object Uint32Array]",rn=/\b__p \+= '';/g,pr=/\b(__p \+=) '' \+/g,Mo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oi=/&(?:amp|lt|gt|quot|#39);/g,rl=/[&<>"']/g,I0=RegExp(Oi.source),Ba=RegExp(rl.source),kp=/<%-([\s\S]+?)%>/g,R0=/<%([\s\S]+?)%>/g,yc=/<%=([\s\S]+?)%>/g,Ep=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pp=/^\w*$/,ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vf=/[\\^$.*+?()[\]{}|]/g,D0=RegExp(vf.source),bc=/^\s+/,yf=/\s/,N0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,il=/\{\n\/\* \[wrapped with (.+)\] \*/,Sc=/,? & /,j0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,B0=/[()=,{}\[\]\/\s]/,F0=/\\(\\)?/g,$0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gs=/\w*$/,z0=/^[-+]0x[0-9a-f]+$/i,H0=/^0b[01]+$/i,V0=/^\[object .+?Constructor\]$/,W0=/^0o[0-7]+$/i,U0=/^(?:0|[1-9]\d*)$/,G0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,q0=/['\n\r\u2028\u2029\\]/g,ms="\\ud800-\\udfff",vu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",bu=vu+yu+al,Tp="\\u2700-\\u27bf",xc="a-z\\xdf-\\xf6\\xf8-\\xff",sl="\\xac\\xb1\\xd7\\xf7",oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dn="\\u2000-\\u206f",Pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",Hr="\\ufe0e\\ufe0f",li=sl+oa+Dn+Pn,sa="['’]",ll="["+ms+"]",ui="["+li+"]",vs="["+bu+"]",bf="\\d+",Su="["+Tp+"]",ys="["+xc+"]",Sf="[^"+ms+li+bf+Tp+xc+aa+"]",Mi="\\ud83c[\\udffb-\\udfff]",Lp="(?:"+vs+"|"+Mi+")",Ap="[^"+ms+"]",xf="(?:\\ud83c[\\udde6-\\uddff]){2}",ul="[\\ud800-\\udbff][\\udc00-\\udfff]",Io="["+aa+"]",cl="\\u200d",xu="(?:"+ys+"|"+Sf+")",Y0="(?:"+Io+"|"+Sf+")",wc="(?:"+sa+"(?:d|ll|m|re|s|t|ve))?",Cc="(?:"+sa+"(?:D|LL|M|RE|S|T|VE))?",wf=Lp+"?",_c="["+Hr+"]?",Fa="(?:"+cl+"(?:"+[Ap,xf,ul].join("|")+")"+_c+wf+")*",Cf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yt=_c+wf+Fa,Op="(?:"+[Su,xf,ul].join("|")+")"+Yt,kc="(?:"+[Ap+vs+"?",vs,xf,ul,ll].join("|")+")",Ec=RegExp(sa,"g"),Mp=RegExp(vs,"g"),la=RegExp(Mi+"(?="+Mi+")|"+kc+Yt,"g"),Xn=RegExp([Io+"?"+ys+"+"+wc+"(?="+[ui,Io,"$"].join("|")+")",Y0+"+"+Cc+"(?="+[ui,Io+xu,"$"].join("|")+")",Io+"?"+xu+"+"+wc,Io+"+"+Cc,wu,Cf,bf,Op].join("|"),"g"),_f=RegExp("["+cl+ms+bu+Hr+"]"),Ip=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,gn={};gn[At]=gn[Fe]=gn[vt]=gn[nn]=gn[Rn]=gn[Ke]=gn[xt]=gn[ft]=gn[Ht]=!0,gn[He]=gn[Ne]=gn[Dt]=gn[_e]=gn[Le]=gn[lt]=gn[ct]=gn[mt]=gn[Ae]=gn[ut]=gn[at]=gn[le]=gn[De]=gn[Ue]=gn[je]=!1;var Kt={};Kt[He]=Kt[Ne]=Kt[Dt]=Kt[Le]=Kt[_e]=Kt[lt]=Kt[At]=Kt[Fe]=Kt[vt]=Kt[nn]=Kt[Rn]=Kt[Ae]=Kt[ut]=Kt[at]=Kt[le]=Kt[De]=Kt[Ue]=Kt[Ye]=Kt[Ke]=Kt[xt]=Kt[ft]=Kt[Ht]=!0,Kt[ct]=Kt[mt]=Kt[je]=!1;var Dp={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",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loat,it=parseInt,Wt=typeof wo=="object"&&wo&&wo.Object===Object&&wo,Sn=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wt||Sn||Function("return this")(),Nt=t&&!t.nodeType&&t,Xt=Nt&&!0&&e&&!e.nodeType&&e,Jr=Xt&&Xt.exports===Nt,Ir=Jr&&Wt.process,xn=function(){try{var oe=Xt&&Xt.require&&Xt.require("util").types;return oe||Ir&&Ir.binding&&Ir.binding("util")}catch{}}(),ci=xn&&xn.isArrayBuffer,Ro=xn&&xn.isDate,uo=xn&&xn.isMap,$a=xn&&xn.isRegExp,dl=xn&&xn.isSet,X0=xn&&xn.isTypedArray;function Ii(oe,xe,ve){switch(ve.length){case 0:return oe.call(xe);case 1:return oe.call(xe,ve[0]);case 2:return oe.call(xe,ve[0],ve[1]);case 3:return oe.call(xe,ve[0],ve[1],ve[2])}return oe.apply(xe,ve)}function Z0(oe,xe,ve,nt){for(var It=-1,on=oe==null?0:oe.length;++It-1}function Np(oe,xe,ve){for(var nt=-1,It=oe==null?0:oe.length;++nt-1;);return ve}function bs(oe,xe){for(var ve=oe.length;ve--&&Lc(xe,oe[ve],0)>-1;);return ve}function J0(oe,xe){for(var ve=oe.length,nt=0;ve--;)oe[ve]===xe&&++nt;return nt}var Jy=Lf(Dp),Ss=Lf(K0);function hl(oe){return"\\"+re[oe]}function Bp(oe,xe){return oe==null?n:oe[xe]}function _u(oe){return _f.test(oe)}function Fp(oe){return Ip.test(oe)}function e3(oe){for(var xe,ve=[];!(xe=oe.next()).done;)ve.push(xe.value);return ve}function $p(oe){var xe=-1,ve=Array(oe.size);return oe.forEach(function(nt,It){ve[++xe]=[It,nt]}),ve}function zp(oe,xe){return function(ve){return oe(xe(ve))}}function da(oe,xe){for(var ve=-1,nt=oe.length,It=0,on=[];++ve-1}function b3(c,g){var C=this.__data__,O=Wr(C,c);return O<0?(++this.size,C.push([c,g])):C[O][1]=g,this}fa.prototype.clear=v3,fa.prototype.delete=y3,fa.prototype.get=p1,fa.prototype.has=g1,fa.prototype.set=b3;function ha(c){var g=-1,C=c==null?0:c.length;for(this.clear();++g=g?c:g)),c}function wi(c,g,C,O,B,H){var J,ne=g&h,ce=g&m,ke=g&v;if(C&&(J=B?C(c,O,B,H):C(c)),J!==n)return J;if(!wr(c))return c;var Pe=$t(c);if(Pe){if(J=BK(c),!ne)return Fi(c,J)}else{var Re=ki(c),et=Re==mt||Re==St;if(rd(c))return _l(c,ne);if(Re==at||Re==He||et&&!B){if(J=ce||et?{}:ST(c),!ne)return ce?I1(c,qc(J,c)):zo(c,st(J,c))}else{if(!Kt[Re])return B?c:{};J=FK(c,Re,ne)}}H||(H=new Dr);var bt=H.get(c);if(bt)return bt;H.set(c,J),KT(c)?c.forEach(function(Tt){J.add(wi(Tt,g,C,Tt,c,H))}):qT(c)&&c.forEach(function(Tt,Jt){J.set(Jt,wi(Tt,g,C,Jt,c,H))});var Pt=ke?ce?me:ya:ce?Vo:Ei,qt=Pe?n:Pt(c);return Zn(qt||c,function(Tt,Jt){qt&&(Jt=Tt,Tt=c[Jt]),ml(J,Jt,wi(Tt,g,C,Jt,c,H))}),J}function Kp(c){var g=Ei(c);return function(C){return Xp(C,c,g)}}function Xp(c,g,C){var O=C.length;if(c==null)return!O;for(c=mn(c);O--;){var B=C[O],H=g[B],J=c[B];if(J===n&&!(B in c)||!H(J))return!1}return!0}function b1(c,g,C){if(typeof c!="function")throw new Ri(a);return B1(function(){c.apply(n,C)},g)}function Yc(c,g,C,O){var B=-1,H=Ki,J=!0,ne=c.length,ce=[],ke=g.length;if(!ne)return ce;C&&(g=Un(g,Vr(C))),O?(H=Np,J=!1):g.length>=i&&(H=Oc,J=!1,g=new Wa(g));e:for(;++BB?0:B+C),O=O===n||O>B?B:Vt(O),O<0&&(O+=B),O=C>O?0:ZT(O);C0&&C(ne)?g>1?Ur(ne,g-1,C,O,B):za(B,ne):O||(B[B.length]=ne)}return B}var Qp=kl(),Bo=kl(!0);function va(c,g){return c&&Qp(c,g,Ei)}function Fo(c,g){return c&&Bo(c,g,Ei)}function Jp(c,g){return No(g,function(C){return Iu(c[C])})}function vl(c,g){g=Cl(g,c);for(var C=0,O=g.length;c!=null&&Cg}function tg(c,g){return c!=null&&un.call(c,g)}function ng(c,g){return c!=null&&g in mn(c)}function rg(c,g,C){return c>=fi(g,C)&&c=120&&Pe.length>=120)?new Wa(J&&Pe):n}Pe=c[0];var Re=-1,et=ne[0];e:for(;++Re-1;)ne!==c&&jf.call(ne,ce,1),jf.call(c,ce,1);return c}function Gf(c,g){for(var C=c?g.length:0,O=C-1;C--;){var B=g[C];if(C==O||B!==H){var H=B;Mu(B)?jf.call(c,B,1):hg(c,B)}}return c}function qf(c,g){return c+Eu(l1()*(g-c+1))}function xl(c,g,C,O){for(var B=-1,H=Rr($f((g-c)/(C||1)),0),J=ve(H);H--;)J[O?H:++B]=c,c+=C;return J}function ed(c,g){var C="";if(!c||g<1||g>W)return C;do g%2&&(C+=c),g=Eu(g/2),g&&(c+=c);while(g);return C}function Ot(c,g){return Lw(CT(c,g,Wo),c+"")}function lg(c){return Gc(Sg(c))}function Yf(c,g){var C=Sg(c);return P3(C,Tu(g,0,C.length))}function Au(c,g,C,O){if(!wr(c))return c;g=Cl(g,c);for(var B=-1,H=g.length,J=H-1,ne=c;ne!=null&&++BB?0:B+g),C=C>B?B:C,C<0&&(C+=B),B=g>C?0:C-g>>>0,g>>>=0;for(var H=ve(B);++O>>1,J=c[H];J!==null&&!ba(J)&&(C?J<=g:J=i){var ke=g?null:G(c);if(ke)return If(ke);J=!1,B=Oc,ce=new Wa}else ce=g?[]:ne;e:for(;++O=O?c:qr(c,g,C)}var L1=o3||function(c){return kt.clearTimeout(c)};function _l(c,g){if(g)return c.slice();var C=c.length,O=Nc?Nc(C):new c.constructor(C);return c.copy(O),O}function A1(c){var g=new c.constructor(c.byteLength);return new Di(g).set(new Di(c)),g}function Ou(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.byteLength)}function C3(c){var g=new c.constructor(c.source,gs.exec(c));return g.lastIndex=c.lastIndex,g}function Qn(c){return Hf?mn(Hf.call(c)):{}}function _3(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.length)}function O1(c,g){if(c!==g){var C=c!==n,O=c===null,B=c===c,H=ba(c),J=g!==n,ne=g===null,ce=g===g,ke=ba(g);if(!ne&&!ke&&!H&&c>g||H&&J&&ce&&!ne&&!ke||O&&J&&ce||!C&&ce||!B)return 1;if(!O&&!H&&!ke&&c=ne)return ce;var ke=C[O];return ce*(ke=="desc"?-1:1)}}return c.index-g.index}function k3(c,g,C,O){for(var B=-1,H=c.length,J=C.length,ne=-1,ce=g.length,ke=Rr(H-J,0),Pe=ve(ce+ke),Re=!O;++ne1?C[B-1]:n,J=B>2?C[2]:n;for(H=c.length>3&&typeof H=="function"?(B--,H):n,J&&mo(C[0],C[1],J)&&(H=B<3?n:H,B=1),g=mn(g);++O-1?B[H?g[J]:J]:n}}function D1(c){return mr(function(g){var C=g.length,O=C,B=fo.prototype.thru;for(c&&g.reverse();O--;){var H=g[O];if(typeof H!="function")throw new Ri(a);if(B&&!J&&be(H)=="wrapper")var J=new fo([],!0)}for(O=J?O:C;++O1&&an.reverse(),Pe&&cene))return!1;var ke=H.get(c),Pe=H.get(g);if(ke&&Pe)return ke==g&&Pe==c;var Re=-1,et=!0,bt=C&S?new Wa:n;for(H.set(c,g),H.set(g,c);++Re1?"& ":"")+g[O],g=g.join(C>2?", ":" "),c.replace(N0,`{ + */(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,m=2,v=4,b=1,S=2,k=1,E=2,_=4,T=8,A=16,I=32,R=64,D=128,j=256,z=512,V=30,K="...",te=800,q=16,$=1,U=2,X=3,Z=1/0,W=9007199254740991,Q=17976931348623157e292,ie=0/0,fe=4294967295,Se=fe-1,Pe=fe>>>1,ye=[["ary",D],["bind",k],["bindKey",E],["curry",T],["curryRight",A],["flip",z],["partial",I],["partialRight",R],["rearg",j]],We="[object Arguments]",De="[object Array]",ot="[object AsyncFunction]",He="[object Boolean]",Be="[object Date]",wt="[object DOMException]",st="[object Error]",mt="[object Function]",St="[object GeneratorFunction]",Le="[object Map]",lt="[object Number]",Mt="[object Null]",ut="[object Object]",_t="[object Promise]",ln="[object Proxy]",ae="[object RegExp]",Re="[object Set]",Ye="[object String]",Ke="[object Symbol]",xe="[object Undefined]",Ne="[object WeakMap]",Ct="[object WeakSet]",Dt="[object ArrayBuffer]",Te="[object DataView]",At="[object Float32Array]",$e="[object Float64Array]",vt="[object Int8Array]",tn="[object Int16Array]",Rn="[object Int32Array]",Xe="[object Uint8Array]",xt="[object Uint8ClampedArray]",ft="[object Uint16Array]",Ht="[object Uint32Array]",nn=/\b__p \+= '';/g,pr=/\b(__p \+=) '' \+/g,Mo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oi=/&(?:amp|lt|gt|quot|#39);/g,rl=/[&<>"']/g,I0=RegExp(Oi.source),Ba=RegExp(rl.source),kp=/<%-([\s\S]+?)%>/g,R0=/<%([\s\S]+?)%>/g,yc=/<%=([\s\S]+?)%>/g,Ep=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pp=/^\w*$/,ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vf=/[\\^$.*+?()[\]{}|]/g,D0=RegExp(vf.source),bc=/^\s+/,yf=/\s/,N0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,il=/\{\n\/\* \[wrapped with (.+)\] \*/,Sc=/,? & /,j0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,B0=/[()=,{}\[\]\/\s]/,$0=/\\(\\)?/g,F0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gs=/\w*$/,z0=/^[-+]0x[0-9a-f]+$/i,H0=/^0b[01]+$/i,V0=/^\[object .+?Constructor\]$/,W0=/^0o[0-7]+$/i,U0=/^(?:0|[1-9]\d*)$/,G0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,q0=/['\n\r\u2028\u2029\\]/g,ms="\\ud800-\\udfff",vu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",bu=vu+yu+al,Tp="\\u2700-\\u27bf",xc="a-z\\xdf-\\xf6\\xf8-\\xff",sl="\\xac\\xb1\\xd7\\xf7",oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dn="\\u2000-\\u206f",Pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",Hr="\\ufe0e\\ufe0f",li=sl+oa+Dn+Pn,sa="['’]",ll="["+ms+"]",ui="["+li+"]",vs="["+bu+"]",bf="\\d+",Su="["+Tp+"]",ys="["+xc+"]",Sf="[^"+ms+li+bf+Tp+xc+aa+"]",Mi="\\ud83c[\\udffb-\\udfff]",Lp="(?:"+vs+"|"+Mi+")",Ap="[^"+ms+"]",xf="(?:\\ud83c[\\udde6-\\uddff]){2}",ul="[\\ud800-\\udbff][\\udc00-\\udfff]",Io="["+aa+"]",cl="\\u200d",xu="(?:"+ys+"|"+Sf+")",Y0="(?:"+Io+"|"+Sf+")",wc="(?:"+sa+"(?:d|ll|m|re|s|t|ve))?",Cc="(?:"+sa+"(?:D|LL|M|RE|S|T|VE))?",wf=Lp+"?",_c="["+Hr+"]?",$a="(?:"+cl+"(?:"+[Ap,xf,ul].join("|")+")"+_c+wf+")*",Cf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yt=_c+wf+$a,Op="(?:"+[Su,xf,ul].join("|")+")"+Yt,kc="(?:"+[Ap+vs+"?",vs,xf,ul,ll].join("|")+")",Ec=RegExp(sa,"g"),Mp=RegExp(vs,"g"),la=RegExp(Mi+"(?="+Mi+")|"+kc+Yt,"g"),Xn=RegExp([Io+"?"+ys+"+"+wc+"(?="+[ui,Io,"$"].join("|")+")",Y0+"+"+Cc+"(?="+[ui,Io+xu,"$"].join("|")+")",Io+"?"+xu+"+"+wc,Io+"+"+Cc,wu,Cf,bf,Op].join("|"),"g"),_f=RegExp("["+cl+ms+bu+Hr+"]"),Ip=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,gn={};gn[At]=gn[$e]=gn[vt]=gn[tn]=gn[Rn]=gn[Xe]=gn[xt]=gn[ft]=gn[Ht]=!0,gn[We]=gn[De]=gn[Dt]=gn[He]=gn[Te]=gn[Be]=gn[st]=gn[mt]=gn[Le]=gn[lt]=gn[ut]=gn[ae]=gn[Re]=gn[Ye]=gn[Ne]=!1;var Kt={};Kt[We]=Kt[De]=Kt[Dt]=Kt[Te]=Kt[He]=Kt[Be]=Kt[At]=Kt[$e]=Kt[vt]=Kt[tn]=Kt[Rn]=Kt[Le]=Kt[lt]=Kt[ut]=Kt[ae]=Kt[Re]=Kt[Ye]=Kt[Ke]=Kt[Xe]=Kt[xt]=Kt[ft]=Kt[Ht]=!0,Kt[st]=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:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},K0={"&":"&","<":"<",">":">",'"':""","'":"'"},Y={"&":"&","<":"<",">":">",""":'"',"'":"'"},re={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ge=parseFloat,it=parseInt,Wt=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Sn=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wt||Sn||Function("return this")(),Nt=t&&!t.nodeType&&t,Xt=Nt&&!0&&e&&!e.nodeType&&e,Jr=Xt&&Xt.exports===Nt,Ir=Jr&&Wt.process,xn=function(){try{var oe=Xt&&Xt.require&&Xt.require("util").types;return oe||Ir&&Ir.binding&&Ir.binding("util")}catch{}}(),ci=xn&&xn.isArrayBuffer,Ro=xn&&xn.isDate,co=xn&&xn.isMap,Fa=xn&&xn.isRegExp,dl=xn&&xn.isSet,X0=xn&&xn.isTypedArray;function Ii(oe,we,ve){switch(ve.length){case 0:return oe.call(we);case 1:return oe.call(we,ve[0]);case 2:return oe.call(we,ve[0],ve[1]);case 3:return oe.call(we,ve[0],ve[1],ve[2])}return oe.apply(we,ve)}function Z0(oe,we,ve,nt){for(var It=-1,rn=oe==null?0:oe.length;++It-1}function Np(oe,we,ve){for(var nt=-1,It=oe==null?0:oe.length;++nt-1;);return ve}function bs(oe,we){for(var ve=oe.length;ve--&&Lc(we,oe[ve],0)>-1;);return ve}function J0(oe,we){for(var ve=oe.length,nt=0;ve--;)oe[ve]===we&&++nt;return nt}var Jy=Lf(Dp),Ss=Lf(K0);function hl(oe){return"\\"+re[oe]}function Bp(oe,we){return oe==null?n:oe[we]}function _u(oe){return _f.test(oe)}function $p(oe){return Ip.test(oe)}function e3(oe){for(var we,ve=[];!(we=oe.next()).done;)ve.push(we.value);return ve}function Fp(oe){var we=-1,ve=Array(oe.size);return oe.forEach(function(nt,It){ve[++we]=[It,nt]}),ve}function zp(oe,we){return function(ve){return oe(we(ve))}}function da(oe,we){for(var ve=-1,nt=oe.length,It=0,rn=[];++ve-1}function b3(c,g){var C=this.__data__,O=Wr(C,c);return O<0?(++this.size,C.push([c,g])):C[O][1]=g,this}fa.prototype.clear=v3,fa.prototype.delete=y3,fa.prototype.get=p1,fa.prototype.has=g1,fa.prototype.set=b3;function ha(c){var g=-1,C=c==null?0:c.length;for(this.clear();++g=g?c:g)),c}function wi(c,g,C,O,B,H){var J,ne=g&h,ce=g&m,_e=g&v;if(C&&(J=B?C(c,O,B,H):C(c)),J!==n)return J;if(!wr(c))return c;var Ee=Ft(c);if(Ee){if(J=$K(c),!ne)return $i(c,J)}else{var Ie=ki(c),tt=Ie==mt||Ie==St;if(rd(c))return _l(c,ne);if(Ie==ut||Ie==We||tt&&!B){if(J=ce||tt?{}:ST(c),!ne)return ce?I1(c,qc(J,c)):zo(c,ct(J,c))}else{if(!Kt[Ie])return B?c:{};J=FK(c,Ie,ne)}}H||(H=new Dr);var bt=H.get(c);if(bt)return bt;H.set(c,J),KT(c)?c.forEach(function(Tt){J.add(wi(Tt,g,C,Tt,c,H))}):qT(c)&&c.forEach(function(Tt,Qt){J.set(Qt,wi(Tt,g,C,Qt,c,H))});var Pt=_e?ce?me:ya:ce?Vo:Ei,qt=Ee?n:Pt(c);return Zn(qt||c,function(Tt,Qt){qt&&(Qt=Tt,Tt=c[Qt]),ml(J,Qt,wi(Tt,g,C,Qt,c,H))}),J}function Kp(c){var g=Ei(c);return function(C){return Xp(C,c,g)}}function Xp(c,g,C){var O=C.length;if(c==null)return!O;for(c=mn(c);O--;){var B=C[O],H=g[B],J=c[B];if(J===n&&!(B in c)||!H(J))return!1}return!0}function b1(c,g,C){if(typeof c!="function")throw new Ri(a);return B1(function(){c.apply(n,C)},g)}function Yc(c,g,C,O){var B=-1,H=Ki,J=!0,ne=c.length,ce=[],_e=g.length;if(!ne)return ce;C&&(g=Un(g,Vr(C))),O?(H=Np,J=!1):g.length>=i&&(H=Oc,J=!1,g=new Wa(g));e:for(;++BB?0:B+C),O=O===n||O>B?B:Vt(O),O<0&&(O+=B),O=C>O?0:ZT(O);C0&&C(ne)?g>1?Ur(ne,g-1,C,O,B):za(B,ne):O||(B[B.length]=ne)}return B}var Qp=kl(),Bo=kl(!0);function va(c,g){return c&&Qp(c,g,Ei)}function $o(c,g){return c&&Bo(c,g,Ei)}function Jp(c,g){return No(g,function(C){return Iu(c[C])})}function vl(c,g){g=Cl(g,c);for(var C=0,O=g.length;c!=null&&Cg}function tg(c,g){return c!=null&&un.call(c,g)}function ng(c,g){return c!=null&&g in mn(c)}function rg(c,g,C){return c>=fi(g,C)&&c=120&&Ee.length>=120)?new Wa(J&&Ee):n}Ee=c[0];var Ie=-1,tt=ne[0];e:for(;++Ie-1;)ne!==c&&jf.call(ne,ce,1),jf.call(c,ce,1);return c}function Gf(c,g){for(var C=c?g.length:0,O=C-1;C--;){var B=g[C];if(C==O||B!==H){var H=B;Mu(B)?jf.call(c,B,1):hg(c,B)}}return c}function qf(c,g){return c+Eu(l1()*(g-c+1))}function xl(c,g,C,O){for(var B=-1,H=Rr(Ff((g-c)/(C||1)),0),J=ve(H);H--;)J[O?H:++B]=c,c+=C;return J}function ed(c,g){var C="";if(!c||g<1||g>W)return C;do g%2&&(C+=c),g=Eu(g/2),g&&(c+=c);while(g);return C}function Ot(c,g){return Aw(CT(c,g,Wo),c+"")}function lg(c){return Gc(Sg(c))}function Yf(c,g){var C=Sg(c);return P3(C,Tu(g,0,C.length))}function Au(c,g,C,O){if(!wr(c))return c;g=Cl(g,c);for(var B=-1,H=g.length,J=H-1,ne=c;ne!=null&&++BB?0:B+g),C=C>B?B:C,C<0&&(C+=B),B=g>C?0:C-g>>>0,g>>>=0;for(var H=ve(B);++O>>1,J=c[H];J!==null&&!ba(J)&&(C?J<=g:J=i){var _e=g?null:G(c);if(_e)return If(_e);J=!1,B=Oc,ce=new Wa}else ce=g?[]:ne;e:for(;++O=O?c:qr(c,g,C)}var L1=o3||function(c){return kt.clearTimeout(c)};function _l(c,g){if(g)return c.slice();var C=c.length,O=Nc?Nc(C):new c.constructor(C);return c.copy(O),O}function A1(c){var g=new c.constructor(c.byteLength);return new Di(g).set(new Di(c)),g}function Ou(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.byteLength)}function C3(c){var g=new c.constructor(c.source,gs.exec(c));return g.lastIndex=c.lastIndex,g}function Qn(c){return Hf?mn(Hf.call(c)):{}}function _3(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.length)}function O1(c,g){if(c!==g){var C=c!==n,O=c===null,B=c===c,H=ba(c),J=g!==n,ne=g===null,ce=g===g,_e=ba(g);if(!ne&&!_e&&!H&&c>g||H&&J&&ce&&!ne&&!_e||O&&J&&ce||!C&&ce||!B)return 1;if(!O&&!H&&!_e&&c=ne)return ce;var _e=C[O];return ce*(_e=="desc"?-1:1)}}return c.index-g.index}function k3(c,g,C,O){for(var B=-1,H=c.length,J=C.length,ne=-1,ce=g.length,_e=Rr(H-J,0),Ee=ve(ce+_e),Ie=!O;++ne1?C[B-1]:n,J=B>2?C[2]:n;for(H=c.length>3&&typeof H=="function"?(B--,H):n,J&&vo(C[0],C[1],J)&&(H=B<3?n:H,B=1),g=mn(g);++O-1?B[H?g[J]:J]:n}}function D1(c){return mr(function(g){var C=g.length,O=C,B=ho.prototype.thru;for(c&&g.reverse();O--;){var H=g[O];if(typeof H!="function")throw new Ri(a);if(B&&!J&&be(H)=="wrapper")var J=new ho([],!0)}for(O=J?O:C;++O1&&on.reverse(),Ee&&cene))return!1;var _e=H.get(c),Ee=H.get(g);if(_e&&Ee)return _e==g&&Ee==c;var Ie=-1,tt=!0,bt=C&S?new Wa:n;for(H.set(c,g),H.set(g,c);++Ie1?"& ":"")+g[O],g=g.join(C>2?", ":" "),c.replace(N0,`{ /* [wrapped with `+g+`] */ -`)}function zK(c){return $t(c)||nh(c)||!!(a1&&c&&c[a1])}function Mu(c,g){var C=typeof c;return g=g??W,!!g&&(C=="number"||C!="symbol"&&U0.test(c))&&c>-1&&c%1==0&&c0){if(++g>=te)return arguments[0]}else g=0;return c.apply(n,arguments)}}function P3(c,g){var C=-1,O=c.length,B=O-1;for(g=g===n?O:g;++C1?c[g-1]:n;return C=typeof C=="function"?(c.pop(),C):n,DT(c,C)});function NT(c){var g=$(c);return g.__chain__=!0,g}function QX(c,g){return g(c),c}function T3(c,g){return g(c)}var JX=mr(function(c){var g=c.length,C=g?c[0]:0,O=this.__wrapped__,B=function(H){return Yp(H,c)};return g>1||this.__actions__.length||!(O instanceof Qt)||!Mu(C)?this.thru(B):(O=O.slice(C,+C+(g?1:0)),O.__actions__.push({func:T3,args:[B],thisArg:n}),new fo(O,this.__chain__).thru(function(H){return g&&!H.length&&H.push(n),H}))});function eZ(){return NT(this)}function tZ(){return new fo(this.value(),this.__chain__)}function nZ(){this.__values__===n&&(this.__values__=XT(this.value()));var c=this.__index__>=this.__values__.length,g=c?n:this.__values__[this.__index__++];return{done:c,value:g}}function rZ(){return this}function iZ(c){for(var g,C=this;C instanceof Vf;){var O=LT(C);O.__index__=0,O.__values__=n,g?B.__wrapped__=O:g=O;var B=O;C=C.__wrapped__}return B.__wrapped__=c,g}function oZ(){var c=this.__wrapped__;if(c instanceof Qt){var g=c;return this.__actions__.length&&(g=new Qt(this)),g=g.reverse(),g.__actions__.push({func:T3,args:[Aw],thisArg:n}),new fo(g,this.__chain__)}return this.thru(Aw)}function aZ(){return wl(this.__wrapped__,this.__actions__)}var sZ=gg(function(c,g,C){un.call(c,C)?++c[C]:pa(c,C,1)});function lZ(c,g,C){var O=$t(c)?Wn:S1;return C&&mo(c,g,C)&&(g=n),O(c,Me(g,3))}function uZ(c,g){var C=$t(c)?No:ma;return C(c,Me(g,3))}var cZ=R1(AT),dZ=R1(OT);function fZ(c,g){return Ur(L3(c,g),1)}function hZ(c,g){return Ur(L3(c,g),Z)}function pZ(c,g,C){return C=C===n?1:Vt(C),Ur(L3(c,g),C)}function jT(c,g){var C=$t(c)?Zn:Cs;return C(c,Me(g,3))}function BT(c,g){var C=$t(c)?Do:Zp;return C(c,Me(g,3))}var gZ=gg(function(c,g,C){un.call(c,C)?c[C].push(g):pa(c,C,[g])});function mZ(c,g,C,O){c=Ho(c)?c:Sg(c),C=C&&!O?Vt(C):0;var B=c.length;return C<0&&(C=Rr(B+C,0)),R3(c)?C<=B&&c.indexOf(g,C)>-1:!!B&&Lc(c,g,C)>-1}var vZ=Ot(function(c,g,C){var O=-1,B=typeof g=="function",H=Ho(c)?ve(c.length):[];return Cs(c,function(J){H[++O]=B?Ii(g,J,C):_s(J,g,C)}),H}),yZ=gg(function(c,g,C){pa(c,C,g)});function L3(c,g){var C=$t(c)?Un:jr;return C(c,Me(g,3))}function bZ(c,g,C,O){return c==null?[]:($t(g)||(g=g==null?[]:[g]),C=O?n:C,$t(C)||(C=C==null?[]:[C]),ji(c,g,C))}var SZ=gg(function(c,g,C){c[C?0:1].push(g)},function(){return[[],[]]});function xZ(c,g,C){var O=$t(c)?Ef:jp,B=arguments.length<3;return O(c,Me(g,4),C,B,Cs)}function wZ(c,g,C){var O=$t(c)?Ky:jp,B=arguments.length<3;return O(c,Me(g,4),C,B,Zp)}function CZ(c,g){var C=$t(c)?No:ma;return C(c,M3(Me(g,3)))}function _Z(c){var g=$t(c)?Gc:lg;return g(c)}function kZ(c,g,C){(C?mo(c,g,C):g===n)?g=1:g=Vt(g);var O=$t(c)?xi:Yf;return O(c,g)}function EZ(c){var g=$t(c)?xw:_i;return g(c)}function PZ(c){if(c==null)return 0;if(Ho(c))return R3(c)?Ha(c):c.length;var g=ki(c);return g==Ae||g==De?c.size:Gr(c).length}function TZ(c,g,C){var O=$t(c)?Pc:$o;return C&&mo(c,g,C)&&(g=n),O(c,Me(g,3))}var LZ=Ot(function(c,g){if(c==null)return[];var C=g.length;return C>1&&mo(c,g[0],g[1])?g=[]:C>2&&mo(g[0],g[1],g[2])&&(g=[g[0]]),ji(c,Ur(g,1),[])}),A3=a3||function(){return kt.Date.now()};function AZ(c,g){if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){if(--c<1)return g.apply(this,arguments)}}function FT(c,g,C){return g=C?n:g,g=c&&g==null?c.length:g,pe(c,D,n,n,n,n,g)}function $T(c,g){var C;if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){return--c>0&&(C=g.apply(this,arguments)),c<=1&&(g=n),C}}var Mw=Ot(function(c,g,C){var O=k;if(C.length){var B=da(C,Je(Mw));O|=I}return pe(c,O,g,C,B)}),zT=Ot(function(c,g,C){var O=k|E;if(C.length){var B=da(C,Je(zT));O|=I}return pe(g,O,c,C,B)});function HT(c,g,C){g=C?n:g;var O=pe(c,T,n,n,n,n,n,g);return O.placeholder=HT.placeholder,O}function VT(c,g,C){g=C?n:g;var O=pe(c,A,n,n,n,n,n,g);return O.placeholder=VT.placeholder,O}function WT(c,g,C){var O,B,H,J,ne,ce,ke=0,Pe=!1,Re=!1,et=!0;if(typeof c!="function")throw new Ri(a);g=qa(g)||0,wr(C)&&(Pe=!!C.leading,Re="maxWait"in C,H=Re?Rr(qa(C.maxWait)||0,g):H,et="trailing"in C?!!C.trailing:et);function bt(Kr){var Ls=O,Du=B;return O=B=n,ke=Kr,J=c.apply(Du,Ls),J}function Pt(Kr){return ke=Kr,ne=B1(Jt,g),Pe?bt(Kr):J}function qt(Kr){var Ls=Kr-ce,Du=Kr-ke,uL=g-Ls;return Re?fi(uL,H-Du):uL}function Tt(Kr){var Ls=Kr-ce,Du=Kr-ke;return ce===n||Ls>=g||Ls<0||Re&&Du>=H}function Jt(){var Kr=A3();if(Tt(Kr))return an(Kr);ne=B1(Jt,qt(Kr))}function an(Kr){return ne=n,et&&O?bt(Kr):(O=B=n,J)}function Sa(){ne!==n&&L1(ne),ke=0,O=ce=B=ne=n}function vo(){return ne===n?J:an(A3())}function xa(){var Kr=A3(),Ls=Tt(Kr);if(O=arguments,B=this,ce=Kr,Ls){if(ne===n)return Pt(ce);if(Re)return L1(ne),ne=B1(Jt,g),bt(ce)}return ne===n&&(ne=B1(Jt,g)),J}return xa.cancel=Sa,xa.flush=vo,xa}var OZ=Ot(function(c,g){return b1(c,1,g)}),MZ=Ot(function(c,g,C){return b1(c,qa(g)||0,C)});function IZ(c){return pe(c,z)}function O3(c,g){if(typeof c!="function"||g!=null&&typeof g!="function")throw new Ri(a);var C=function(){var O=arguments,B=g?g.apply(this,O):O[0],H=C.cache;if(H.has(B))return H.get(B);var J=c.apply(this,O);return C.cache=H.set(B,J)||H,J};return C.cache=new(O3.Cache||ha),C}O3.Cache=ha;function M3(c){if(typeof c!="function")throw new Ri(a);return function(){var g=arguments;switch(g.length){case 0:return!c.call(this);case 1:return!c.call(this,g[0]);case 2:return!c.call(this,g[0],g[1]);case 3:return!c.call(this,g[0],g[1],g[2])}return!c.apply(this,g)}}function RZ(c){return $T(2,c)}var DZ=_w(function(c,g){g=g.length==1&&$t(g[0])?Un(g[0],Vr(Me())):Un(Ur(g,1),Vr(Me()));var C=g.length;return Ot(function(O){for(var B=-1,H=fi(O.length,C);++B=g}),nh=og(function(){return arguments}())?og:function(c){return Br(c)&&un.call(c,"callee")&&!o1.call(c,"callee")},$t=ve.isArray,XZ=ci?Vr(ci):w1;function Ho(c){return c!=null&&I3(c.length)&&!Iu(c)}function Yr(c){return Br(c)&&Ho(c)}function ZZ(c){return c===!0||c===!1||Br(c)&&Ci(c)==_e}var rd=s3||Ww,QZ=Ro?Vr(Ro):C1;function JZ(c){return Br(c)&&c.nodeType===1&&!F1(c)}function eQ(c){if(c==null)return!0;if(Ho(c)&&($t(c)||typeof c=="string"||typeof c.splice=="function"||rd(c)||bg(c)||nh(c)))return!c.length;var g=ki(c);if(g==Ae||g==De)return!c.size;if(j1(c))return!Gr(c).length;for(var C in c)if(un.call(c,C))return!1;return!0}function tQ(c,g){return Xc(c,g)}function nQ(c,g,C){C=typeof C=="function"?C:n;var O=C?C(c,g):n;return O===n?Xc(c,g,n,C):!!O}function Rw(c){if(!Br(c))return!1;var g=Ci(c);return g==ct||g==wt||typeof c.message=="string"&&typeof c.name=="string"&&!F1(c)}function rQ(c){return typeof c=="number"&&Wp(c)}function Iu(c){if(!wr(c))return!1;var g=Ci(c);return g==mt||g==St||g==tt||g==Zt}function GT(c){return typeof c=="number"&&c==Vt(c)}function I3(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=W}function wr(c){var g=typeof c;return c!=null&&(g=="object"||g=="function")}function Br(c){return c!=null&&typeof c=="object"}var qT=uo?Vr(uo):Cw;function iQ(c,g){return c===g||Zc(c,g,Rt(g))}function oQ(c,g,C){return C=typeof C=="function"?C:n,Zc(c,g,Rt(g),C)}function aQ(c){return YT(c)&&c!=+c}function sQ(c){if(WK(c))throw new It(o);return ag(c)}function lQ(c){return c===null}function uQ(c){return c==null}function YT(c){return typeof c=="number"||Br(c)&&Ci(c)==ut}function F1(c){if(!Br(c)||Ci(c)!=at)return!1;var g=jc(c);if(g===null)return!0;var C=un.call(g,"constructor")&&g.constructor;return typeof C=="function"&&C instanceof C&&br.call(C)==Si}var Dw=$a?Vr($a):Sr;function cQ(c){return GT(c)&&c>=-W&&c<=W}var KT=dl?Vr(dl):Ut;function R3(c){return typeof c=="string"||!$t(c)&&Br(c)&&Ci(c)==Ue}function ba(c){return typeof c=="symbol"||Br(c)&&Ci(c)==Ye}var bg=X0?Vr(X0):ei;function dQ(c){return c===n}function fQ(c){return Br(c)&&ki(c)==je}function hQ(c){return Br(c)&&Ci(c)==_t}var pQ=P(yl),gQ=P(function(c,g){return c<=g});function XT(c){if(!c)return[];if(Ho(c))return R3(c)?Xi(c):Fi(c);if(Bc&&c[Bc])return e3(c[Bc]());var g=ki(c),C=g==Ae?$p:g==De?If:Sg;return C(c)}function Ru(c){if(!c)return c===0?c:0;if(c=qa(c),c===Z||c===-Z){var g=c<0?-1:1;return g*Q}return c===c?c:0}function Vt(c){var g=Ru(c),C=g%1;return g===g?C?g-C:g:0}function ZT(c){return c?Tu(Vt(c),0,fe):0}function qa(c){if(typeof c=="number")return c;if(ba(c))return ie;if(wr(c)){var g=typeof c.valueOf=="function"?c.valueOf():c;c=wr(g)?g+"":g}if(typeof c!="string")return c===0?c:+c;c=co(c);var C=H0.test(c);return C||W0.test(c)?it(c.slice(2),C?2:8):z0.test(c)?ie:+c}function QT(c){return Ua(c,Vo(c))}function mQ(c){return c?Tu(Vt(c),-W,W):c===0?c:0}function Ln(c){return c==null?"":po(c)}var vQ=go(function(c,g){if(j1(g)||Ho(g)){Ua(g,Ei(g),c);return}for(var C in g)un.call(g,C)&&ml(c,C,g[C])}),JT=go(function(c,g){Ua(g,Vo(g),c)}),D3=go(function(c,g,C,O){Ua(g,Vo(g),c,O)}),yQ=go(function(c,g,C,O){Ua(g,Ei(g),c,O)}),bQ=mr(Yp);function SQ(c,g){var C=Pu(c);return g==null?C:st(C,g)}var xQ=Ot(function(c,g){c=mn(c);var C=-1,O=g.length,B=O>2?g[2]:n;for(B&&mo(g[0],g[1],B)&&(O=1);++C1),H}),Ua(c,me(c),C),O&&(C=wi(C,h|m|v,jt));for(var B=g.length;B--;)hg(C,g[B]);return C});function FQ(c,g){return tL(c,M3(Me(g)))}var $Q=mr(function(c,g){return c==null?{}:E1(c,g)});function tL(c,g){if(c==null)return{};var C=Un(me(c),function(O){return[O]});return g=Me(g),sg(c,C,function(O,B){return g(O,B[0])})}function zQ(c,g,C){g=Cl(g,c);var O=-1,B=g.length;for(B||(B=1,c=n);++Og){var O=c;c=g,g=O}if(C||c%1||g%1){var B=l1();return fi(c+B*(g-c+ge("1e-"+((B+"").length-1))),g)}return qf(c,g)}var QQ=El(function(c,g,C){return g=g.toLowerCase(),c+(C?iL(g):g)});function iL(c){return Bw(Ln(c).toLowerCase())}function oL(c){return c=Ln(c),c&&c.replace(G0,Jy).replace(Mp,"")}function JQ(c,g,C){c=Ln(c),g=po(g);var O=c.length;C=C===n?O:Tu(Vt(C),0,O);var B=C;return C-=g.length,C>=0&&c.slice(C,B)==g}function eJ(c){return c=Ln(c),c&&Ba.test(c)?c.replace(rl,Ss):c}function tJ(c){return c=Ln(c),c&&D0.test(c)?c.replace(vf,"\\$&"):c}var nJ=El(function(c,g,C){return c+(C?"-":"")+g.toLowerCase()}),rJ=El(function(c,g,C){return c+(C?" ":"")+g.toLowerCase()}),iJ=vg("toLowerCase");function oJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;if(!g||O>=g)return c;var B=(g-O)/2;return f(Eu(B),C)+c+f($f(B),C)}function aJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;return g&&O>>0,C?(c=Ln(c),c&&(typeof g=="string"||g!=null&&!Dw(g))&&(g=po(g),!g&&_u(c))?Es(Xi(c),0,C):c.split(g,C)):[]}var hJ=El(function(c,g,C){return c+(C?" ":"")+Bw(g)});function pJ(c,g,C){return c=Ln(c),C=C==null?0:Tu(Vt(C),0,c.length),g=po(g),c.slice(C,C+g.length)==g}function gJ(c,g,C){var O=$.templateSettings;C&&mo(c,g,C)&&(g=n),c=Ln(c),g=D3({},g,O,ze);var B=D3({},g.imports,O.imports,ze),H=Ei(B),J=Mf(B,H),ne,ce,ke=0,Pe=g.interpolate||ol,Re="__p += '",et=Df((g.escape||ol).source+"|"+Pe.source+"|"+(Pe===yc?$0:ol).source+"|"+(g.evaluate||ol).source+"|$","g"),bt="//# sourceURL="+(un.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` -`;c.replace(et,function(Tt,Jt,an,Sa,vo,xa){return an||(an=Sa),Re+=c.slice(ke,xa).replace(q0,hl),Jt&&(ne=!0,Re+=`' + -__e(`+Jt+`) + -'`),vo&&(ce=!0,Re+=`'; -`+vo+`; -__p += '`),an&&(Re+=`' + -((__t = (`+an+`)) == null ? '' : __t) + -'`),ke=xa+Tt.length,Tt}),Re+=`'; -`;var Pt=un.call(g,"variable")&&g.variable;if(!Pt)Re=`with (obj) { -`+Re+` +`)}function HK(c){return Ft(c)||nh(c)||!!(a1&&c&&c[a1])}function Mu(c,g){var C=typeof c;return g=g??W,!!g&&(C=="number"||C!="symbol"&&U0.test(c))&&c>-1&&c%1==0&&c0){if(++g>=te)return arguments[0]}else g=0;return c.apply(n,arguments)}}function P3(c,g){var C=-1,O=c.length,B=O-1;for(g=g===n?O:g;++C1?c[g-1]:n;return C=typeof C=="function"?(c.pop(),C):n,DT(c,C)});function NT(c){var g=F(c);return g.__chain__=!0,g}function JX(c,g){return g(c),c}function T3(c,g){return g(c)}var eZ=mr(function(c){var g=c.length,C=g?c[0]:0,O=this.__wrapped__,B=function(H){return Yp(H,c)};return g>1||this.__actions__.length||!(O instanceof Zt)||!Mu(C)?this.thru(B):(O=O.slice(C,+C+(g?1:0)),O.__actions__.push({func:T3,args:[B],thisArg:n}),new ho(O,this.__chain__).thru(function(H){return g&&!H.length&&H.push(n),H}))});function tZ(){return NT(this)}function nZ(){return new ho(this.value(),this.__chain__)}function rZ(){this.__values__===n&&(this.__values__=XT(this.value()));var c=this.__index__>=this.__values__.length,g=c?n:this.__values__[this.__index__++];return{done:c,value:g}}function iZ(){return this}function oZ(c){for(var g,C=this;C instanceof Vf;){var O=LT(C);O.__index__=0,O.__values__=n,g?B.__wrapped__=O:g=O;var B=O;C=C.__wrapped__}return B.__wrapped__=c,g}function aZ(){var c=this.__wrapped__;if(c instanceof Zt){var g=c;return this.__actions__.length&&(g=new Zt(this)),g=g.reverse(),g.__actions__.push({func:T3,args:[Ow],thisArg:n}),new ho(g,this.__chain__)}return this.thru(Ow)}function sZ(){return wl(this.__wrapped__,this.__actions__)}var lZ=gg(function(c,g,C){un.call(c,C)?++c[C]:pa(c,C,1)});function uZ(c,g,C){var O=Ft(c)?Wn:S1;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}function cZ(c,g){var C=Ft(c)?No:ma;return C(c,Oe(g,3))}var dZ=R1(AT),fZ=R1(OT);function hZ(c,g){return Ur(L3(c,g),1)}function pZ(c,g){return Ur(L3(c,g),Z)}function gZ(c,g,C){return C=C===n?1:Vt(C),Ur(L3(c,g),C)}function jT(c,g){var C=Ft(c)?Zn:Cs;return C(c,Oe(g,3))}function BT(c,g){var C=Ft(c)?Do:Zp;return C(c,Oe(g,3))}var mZ=gg(function(c,g,C){un.call(c,C)?c[C].push(g):pa(c,C,[g])});function vZ(c,g,C,O){c=Ho(c)?c:Sg(c),C=C&&!O?Vt(C):0;var B=c.length;return C<0&&(C=Rr(B+C,0)),R3(c)?C<=B&&c.indexOf(g,C)>-1:!!B&&Lc(c,g,C)>-1}var yZ=Ot(function(c,g,C){var O=-1,B=typeof g=="function",H=Ho(c)?ve(c.length):[];return Cs(c,function(J){H[++O]=B?Ii(g,J,C):_s(J,g,C)}),H}),bZ=gg(function(c,g,C){pa(c,C,g)});function L3(c,g){var C=Ft(c)?Un:jr;return C(c,Oe(g,3))}function SZ(c,g,C,O){return c==null?[]:(Ft(g)||(g=g==null?[]:[g]),C=O?n:C,Ft(C)||(C=C==null?[]:[C]),ji(c,g,C))}var xZ=gg(function(c,g,C){c[C?0:1].push(g)},function(){return[[],[]]});function wZ(c,g,C){var O=Ft(c)?Ef:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Cs)}function CZ(c,g,C){var O=Ft(c)?Ky:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Zp)}function _Z(c,g){var C=Ft(c)?No:ma;return C(c,M3(Oe(g,3)))}function kZ(c){var g=Ft(c)?Gc:lg;return g(c)}function EZ(c,g,C){(C?vo(c,g,C):g===n)?g=1:g=Vt(g);var O=Ft(c)?xi:Yf;return O(c,g)}function PZ(c){var g=Ft(c)?ww:_i;return g(c)}function TZ(c){if(c==null)return 0;if(Ho(c))return R3(c)?Ha(c):c.length;var g=ki(c);return g==Le||g==Re?c.size:Gr(c).length}function LZ(c,g,C){var O=Ft(c)?Pc:Fo;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}var AZ=Ot(function(c,g){if(c==null)return[];var C=g.length;return C>1&&vo(c,g[0],g[1])?g=[]:C>2&&vo(g[0],g[1],g[2])&&(g=[g[0]]),ji(c,Ur(g,1),[])}),A3=a3||function(){return kt.Date.now()};function OZ(c,g){if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){if(--c<1)return g.apply(this,arguments)}}function $T(c,g,C){return g=C?n:g,g=c&&g==null?c.length:g,pe(c,D,n,n,n,n,g)}function FT(c,g){var C;if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){return--c>0&&(C=g.apply(this,arguments)),c<=1&&(g=n),C}}var Iw=Ot(function(c,g,C){var O=k;if(C.length){var B=da(C,et(Iw));O|=I}return pe(c,O,g,C,B)}),zT=Ot(function(c,g,C){var O=k|E;if(C.length){var B=da(C,et(zT));O|=I}return pe(g,O,c,C,B)});function HT(c,g,C){g=C?n:g;var O=pe(c,T,n,n,n,n,n,g);return O.placeholder=HT.placeholder,O}function VT(c,g,C){g=C?n:g;var O=pe(c,A,n,n,n,n,n,g);return O.placeholder=VT.placeholder,O}function WT(c,g,C){var O,B,H,J,ne,ce,_e=0,Ee=!1,Ie=!1,tt=!0;if(typeof c!="function")throw new Ri(a);g=qa(g)||0,wr(C)&&(Ee=!!C.leading,Ie="maxWait"in C,H=Ie?Rr(qa(C.maxWait)||0,g):H,tt="trailing"in C?!!C.trailing:tt);function bt(Kr){var Ls=O,Du=B;return O=B=n,_e=Kr,J=c.apply(Du,Ls),J}function Pt(Kr){return _e=Kr,ne=B1(Qt,g),Ee?bt(Kr):J}function qt(Kr){var Ls=Kr-ce,Du=Kr-_e,uL=g-Ls;return Ie?fi(uL,H-Du):uL}function Tt(Kr){var Ls=Kr-ce,Du=Kr-_e;return ce===n||Ls>=g||Ls<0||Ie&&Du>=H}function Qt(){var Kr=A3();if(Tt(Kr))return on(Kr);ne=B1(Qt,qt(Kr))}function on(Kr){return ne=n,tt&&O?bt(Kr):(O=B=n,J)}function Sa(){ne!==n&&L1(ne),_e=0,O=ce=B=ne=n}function yo(){return ne===n?J:on(A3())}function xa(){var Kr=A3(),Ls=Tt(Kr);if(O=arguments,B=this,ce=Kr,Ls){if(ne===n)return Pt(ce);if(Ie)return L1(ne),ne=B1(Qt,g),bt(ce)}return ne===n&&(ne=B1(Qt,g)),J}return xa.cancel=Sa,xa.flush=yo,xa}var MZ=Ot(function(c,g){return b1(c,1,g)}),IZ=Ot(function(c,g,C){return b1(c,qa(g)||0,C)});function RZ(c){return pe(c,z)}function O3(c,g){if(typeof c!="function"||g!=null&&typeof g!="function")throw new Ri(a);var C=function(){var O=arguments,B=g?g.apply(this,O):O[0],H=C.cache;if(H.has(B))return H.get(B);var J=c.apply(this,O);return C.cache=H.set(B,J)||H,J};return C.cache=new(O3.Cache||ha),C}O3.Cache=ha;function M3(c){if(typeof c!="function")throw new Ri(a);return function(){var g=arguments;switch(g.length){case 0:return!c.call(this);case 1:return!c.call(this,g[0]);case 2:return!c.call(this,g[0],g[1]);case 3:return!c.call(this,g[0],g[1],g[2])}return!c.apply(this,g)}}function DZ(c){return FT(2,c)}var NZ=kw(function(c,g){g=g.length==1&&Ft(g[0])?Un(g[0],Vr(Oe())):Un(Ur(g,1),Vr(Oe()));var C=g.length;return Ot(function(O){for(var B=-1,H=fi(O.length,C);++B=g}),nh=og(function(){return arguments}())?og:function(c){return Br(c)&&un.call(c,"callee")&&!o1.call(c,"callee")},Ft=ve.isArray,ZZ=ci?Vr(ci):w1;function Ho(c){return c!=null&&I3(c.length)&&!Iu(c)}function Yr(c){return Br(c)&&Ho(c)}function QZ(c){return c===!0||c===!1||Br(c)&&Ci(c)==He}var rd=s3||Uw,JZ=Ro?Vr(Ro):C1;function eQ(c){return Br(c)&&c.nodeType===1&&!$1(c)}function tQ(c){if(c==null)return!0;if(Ho(c)&&(Ft(c)||typeof c=="string"||typeof c.splice=="function"||rd(c)||bg(c)||nh(c)))return!c.length;var g=ki(c);if(g==Le||g==Re)return!c.size;if(j1(c))return!Gr(c).length;for(var C in c)if(un.call(c,C))return!1;return!0}function nQ(c,g){return Xc(c,g)}function rQ(c,g,C){C=typeof C=="function"?C:n;var O=C?C(c,g):n;return O===n?Xc(c,g,n,C):!!O}function Dw(c){if(!Br(c))return!1;var g=Ci(c);return g==st||g==wt||typeof c.message=="string"&&typeof c.name=="string"&&!$1(c)}function iQ(c){return typeof c=="number"&&Wp(c)}function Iu(c){if(!wr(c))return!1;var g=Ci(c);return g==mt||g==St||g==ot||g==ln}function GT(c){return typeof c=="number"&&c==Vt(c)}function I3(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=W}function wr(c){var g=typeof c;return c!=null&&(g=="object"||g=="function")}function Br(c){return c!=null&&typeof c=="object"}var qT=co?Vr(co):_w;function oQ(c,g){return c===g||Zc(c,g,Rt(g))}function aQ(c,g,C){return C=typeof C=="function"?C:n,Zc(c,g,Rt(g),C)}function sQ(c){return YT(c)&&c!=+c}function lQ(c){if(UK(c))throw new It(o);return ag(c)}function uQ(c){return c===null}function cQ(c){return c==null}function YT(c){return typeof c=="number"||Br(c)&&Ci(c)==lt}function $1(c){if(!Br(c)||Ci(c)!=ut)return!1;var g=jc(c);if(g===null)return!0;var C=un.call(g,"constructor")&&g.constructor;return typeof C=="function"&&C instanceof C&&br.call(C)==Si}var Nw=Fa?Vr(Fa):Sr;function dQ(c){return GT(c)&&c>=-W&&c<=W}var KT=dl?Vr(dl):Ut;function R3(c){return typeof c=="string"||!Ft(c)&&Br(c)&&Ci(c)==Ye}function ba(c){return typeof c=="symbol"||Br(c)&&Ci(c)==Ke}var bg=X0?Vr(X0):ei;function fQ(c){return c===n}function hQ(c){return Br(c)&&ki(c)==Ne}function pQ(c){return Br(c)&&Ci(c)==Ct}var gQ=P(yl),mQ=P(function(c,g){return c<=g});function XT(c){if(!c)return[];if(Ho(c))return R3(c)?Xi(c):$i(c);if(Bc&&c[Bc])return e3(c[Bc]());var g=ki(c),C=g==Le?Fp:g==Re?If:Sg;return C(c)}function Ru(c){if(!c)return c===0?c:0;if(c=qa(c),c===Z||c===-Z){var g=c<0?-1:1;return g*Q}return c===c?c:0}function Vt(c){var g=Ru(c),C=g%1;return g===g?C?g-C:g:0}function ZT(c){return c?Tu(Vt(c),0,fe):0}function qa(c){if(typeof c=="number")return c;if(ba(c))return ie;if(wr(c)){var g=typeof c.valueOf=="function"?c.valueOf():c;c=wr(g)?g+"":g}if(typeof c!="string")return c===0?c:+c;c=fo(c);var C=H0.test(c);return C||W0.test(c)?it(c.slice(2),C?2:8):z0.test(c)?ie:+c}function QT(c){return Ua(c,Vo(c))}function vQ(c){return c?Tu(Vt(c),-W,W):c===0?c:0}function Ln(c){return c==null?"":go(c)}var yQ=mo(function(c,g){if(j1(g)||Ho(g)){Ua(g,Ei(g),c);return}for(var C in g)un.call(g,C)&&ml(c,C,g[C])}),JT=mo(function(c,g){Ua(g,Vo(g),c)}),D3=mo(function(c,g,C,O){Ua(g,Vo(g),c,O)}),bQ=mo(function(c,g,C,O){Ua(g,Ei(g),c,O)}),SQ=mr(Yp);function xQ(c,g){var C=Pu(c);return g==null?C:ct(C,g)}var wQ=Ot(function(c,g){c=mn(c);var C=-1,O=g.length,B=O>2?g[2]:n;for(B&&vo(g[0],g[1],B)&&(O=1);++C1),H}),Ua(c,me(c),C),O&&(C=wi(C,h|m|v,jt));for(var B=g.length;B--;)hg(C,g[B]);return C});function FQ(c,g){return tL(c,M3(Oe(g)))}var zQ=mr(function(c,g){return c==null?{}:E1(c,g)});function tL(c,g){if(c==null)return{};var C=Un(me(c),function(O){return[O]});return g=Oe(g),sg(c,C,function(O,B){return g(O,B[0])})}function HQ(c,g,C){g=Cl(g,c);var O=-1,B=g.length;for(B||(B=1,c=n);++Og){var O=c;c=g,g=O}if(C||c%1||g%1){var B=l1();return fi(c+B*(g-c+ge("1e-"+((B+"").length-1))),g)}return qf(c,g)}var JQ=El(function(c,g,C){return g=g.toLowerCase(),c+(C?iL(g):g)});function iL(c){return $w(Ln(c).toLowerCase())}function oL(c){return c=Ln(c),c&&c.replace(G0,Jy).replace(Mp,"")}function eJ(c,g,C){c=Ln(c),g=go(g);var O=c.length;C=C===n?O:Tu(Vt(C),0,O);var B=C;return C-=g.length,C>=0&&c.slice(C,B)==g}function tJ(c){return c=Ln(c),c&&Ba.test(c)?c.replace(rl,Ss):c}function nJ(c){return c=Ln(c),c&&D0.test(c)?c.replace(vf,"\\$&"):c}var rJ=El(function(c,g,C){return c+(C?"-":"")+g.toLowerCase()}),iJ=El(function(c,g,C){return c+(C?" ":"")+g.toLowerCase()}),oJ=vg("toLowerCase");function aJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;if(!g||O>=g)return c;var B=(g-O)/2;return f(Eu(B),C)+c+f(Ff(B),C)}function sJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;return g&&O>>0,C?(c=Ln(c),c&&(typeof g=="string"||g!=null&&!Nw(g))&&(g=go(g),!g&&_u(c))?Es(Xi(c),0,C):c.split(g,C)):[]}var pJ=El(function(c,g,C){return c+(C?" ":"")+$w(g)});function gJ(c,g,C){return c=Ln(c),C=C==null?0:Tu(Vt(C),0,c.length),g=go(g),c.slice(C,C+g.length)==g}function mJ(c,g,C){var O=F.templateSettings;C&&vo(c,g,C)&&(g=n),c=Ln(c),g=D3({},g,O,ze);var B=D3({},g.imports,O.imports,ze),H=Ei(B),J=Mf(B,H),ne,ce,_e=0,Ee=g.interpolate||ol,Ie="__p += '",tt=Df((g.escape||ol).source+"|"+Ee.source+"|"+(Ee===yc?F0:ol).source+"|"+(g.evaluate||ol).source+"|$","g"),bt="//# sourceURL="+(un.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` +`;c.replace(tt,function(Tt,Qt,on,Sa,yo,xa){return on||(on=Sa),Ie+=c.slice(_e,xa).replace(q0,hl),Qt&&(ne=!0,Ie+=`' + +__e(`+Qt+`) + +'`),yo&&(ce=!0,Ie+=`'; +`+yo+`; +__p += '`),on&&(Ie+=`' + +((__t = (`+on+`)) == null ? '' : __t) + +'`),_e=xa+Tt.length,Tt}),Ie+=`'; +`;var Pt=un.call(g,"variable")&&g.variable;if(!Pt)Ie=`with (obj) { +`+Ie+` } -`;else if(B0.test(Pt))throw new It(s);Re=(ce?Re.replace(rn,""):Re).replace(pr,"$1").replace(Mo,"$1;"),Re="function("+(Pt||"obj")+`) { +`;else if(B0.test(Pt))throw new It(s);Ie=(ce?Ie.replace(nn,""):Ie).replace(pr,"$1").replace(Mo,"$1;"),Ie="function("+(Pt||"obj")+`) { `+(Pt?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(ce?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Re+`return __p -}`;var qt=sL(function(){return on(H,bt+"return "+Re).apply(n,J)});if(qt.source=Re,Rw(qt))throw qt;return qt}function mJ(c){return Ln(c).toLowerCase()}function vJ(c){return Ln(c).toUpperCase()}function yJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return co(c);if(!c||!(g=po(g)))return c;var O=Xi(c),B=Xi(g),H=ca(O,B),J=bs(O,B)+1;return Es(O,H,J).join("")}function bJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.slice(0,t1(c)+1);if(!c||!(g=po(g)))return c;var O=Xi(c),B=bs(O,Xi(g))+1;return Es(O,0,B).join("")}function SJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.replace(bc,"");if(!c||!(g=po(g)))return c;var O=Xi(c),B=ca(O,Xi(g));return Es(O,B).join("")}function xJ(c,g){var C=V,O=K;if(wr(g)){var B="separator"in g?g.separator:B;C="length"in g?Vt(g.length):C,O="omission"in g?po(g.omission):O}c=Ln(c);var H=c.length;if(_u(c)){var J=Xi(c);H=J.length}if(C>=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Dw(B)){if(c.slice(ne).search(B)){var ke,Pe=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;ke=B.exec(Pe);)var Re=ke.index;ce=ce.slice(0,Re===n?ne:Re)}}else if(c.indexOf(po(B),ne)!=ne){var et=ce.lastIndexOf(B);et>-1&&(ce=ce.slice(0,et))}return ce+O}function wJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var CJ=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),Bw=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?Fp(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Rw(C)?C:new It(C)}}),_J=mr(function(c,g){return Zn(g,function(C){C=Pl(C),pa(c,C,Mw(c[C],c))}),c});function kJ(c){var g=c==null?0:c.length,C=Me();return c=g?Un(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BW)return[];var C=fe,O=fi(c,fe);g=Me(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Qt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Qt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Qt.prototype.toArray=function(){return this.take(fe)},va(Qt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=$[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&($.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Qt,ke=ne[0],Pe=ce||$t(J),Re=function(Jt){var an=B.apply($,za([Jt],ne));return O&&et?an[0]:an};Pe&&C&&typeof ke=="function"&&ke.length!=1&&(ce=Pe=!1);var et=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!et,qt=ce&&!bt;if(!H&&Pe){J=qt?J:new Qt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Re],thisArg:n}),new fo(Tt,et)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Re),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Zn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);$.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply($t(H)?H:[],B)}return this[C](function(J){return g.apply($t(J)?J:[],B)})}}),va(Qt.prototype,function(c,g){var C=$[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,E).name]=[{name:"wrapper",func:n}],Qt.prototype.clone=Zi,Qt.prototype.reverse=Ni,Qt.prototype.value=f3,$.prototype.at=JX,$.prototype.chain=eZ,$.prototype.commit=tZ,$.prototype.next=nZ,$.prototype.plant=iZ,$.prototype.reverse=oZ,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=aZ,$.prototype.first=$.prototype.head,Bc&&($.prototype[Bc]=rZ),$},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(wo)})(nxe,Ee);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},rxe=.999,ixe=.1,oxe=20,nv=.95,RI=30,l8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},axe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),DW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],sxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",lxe=e=>e.kind==="line"&&e.layer==="base",U5=e=>e.kind==="image"&&e.layer==="base",uxe=e=>e.kind==="fillRect"&&e.layer==="base",cxe=e=>e.kind==="eraseRect"&&e.layer==="base",dxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},fxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},NW=cp({name:"canvas",initialState:fxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(Ee.clamp(n.width,64,512),64),height:Ed(Ee.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=axe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(dxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(Ee.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(U5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(U5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(Ee.clamp(o,64,512),64),height:Ed(Ee.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:jW,addFillRect:BW,addImageToStagingArea:hxe,addLine:pxe,addPointToCurrentLine:FW,clearCanvasHistory:$W,clearMask:nP,commitColorPickerColor:gxe,commitStagingAreaImage:mxe,discardStagedImages:vxe,fitBoundingBoxToStage:Q$e,mouseLeftCanvas:yxe,nextStagingAreaImage:bxe,prevStagingAreaImage:Sxe,redo:xxe,resetCanvas:rP,resetCanvasInteractionState:wxe,resetCanvasView:zW,resizeAndScaleCanvas:Dx,resizeCanvas:Cxe,setBoundingBoxCoordinates:yC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:J$e,setBoundingBoxScaleMethod:_xe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:kxe,setColorPickerColor:Exe,setCursorPosition:Pxe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:Nx,setIsDrawing:HW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:eze,setIsMoveStageKeyHeld:tze,setIsMovingBoundingBox:bC,setIsMovingStage:G5,setIsTransformingBoundingBox:SC,setLayer:q5,setMaskColor:VW,setMergedCanvas:Txe,setShouldAutoSave:WW,setShouldCropToBoundingBoxOnSave:UW,setShouldDarkenOutsideBoundingBox:GW,setShouldLockBoundingBox:nze,setShouldPreserveMaskedArea:qW,setShouldShowBoundingBox:Lxe,setShouldShowBrush:rze,setShouldShowBrushPreview:ize,setShouldShowCanvasDebugInfo:YW,setShouldShowCheckboardTransparency:oze,setShouldShowGrid:KW,setShouldShowIntermediates:XW,setShouldShowStagingImage:Axe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:Y5,setStageCoordinates:ZW,setStageScale:Oxe,setTool:tu,toggleShouldLockBoundingBox:aze,toggleTool:sze,undo:Mxe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:QW}=NW.actions,Ixe=NW.reducer,Rxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},JW=cp({name:"gallery",initialState:Rxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=Ee.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:xC,removeImage:eU,setCurrentImage:jI,addGalleryImages:Dxe,setIntermediateImage:Nxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:jxe,setShouldShowGallery:Bd,setGalleryScrollPosition:Bxe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:tU,setShouldAutoSwitchToNewImages:$xe,setCurrentCategory:kb,setGalleryWidth:zxe,setShouldUseSingleGalleryColumn:Hxe}=JW.actions,Vxe=JW.reducer,Wxe={isLightboxOpen:!1},Uxe=Wxe,nU=cp({name:"lightbox",initialState:Uxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=nU.actions,Gxe=nU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const qxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?qxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),K5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Yxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),rU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Kxe=rU,iU=cp({name:"generation",initialState:Kxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=K5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,u&&(e.perlin=u),typeof u>"u"&&(e.perlin=0),typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:k,init_image_path:E,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(E&&(e.initialImage=E),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof k=="boolean"&&(e.shouldFitToWidthHeight=k)),a&&a.length>0?(e.seedWeights=K5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),u&&(e.threshold=u),typeof u>"u"&&(e.threshold=0),d&&(e.perlin=d),typeof d>"u"&&(e.perlin=0),typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...rU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:oU,resetParametersState:lze,resetSeed:uze,setAllImageToImageParameters:Xxe,setAllParameters:aU,setAllTextToImageParameters:cze,setCfgScale:sU,setHeight:lU,setImg2imgStrength:u8,setInfillMethod:uU,setInitialImage:k0,setIterations:Zxe,setMaskPath:cU,setParameter:dze,setPerlin:dU,setPrompt:jx,setNegativePrompt:Q2,setSampler:fU,setSeamBlur:BI,setSeamless:hU,setSeamSize:FI,setSeamSteps:$I,setSeamStrength:zI,setSeed:Ny,setSeedWeights:pU,setShouldFitToWidthHeight:gU,setShouldGenerateVariations:Qxe,setShouldRandomizeSeed:Jxe,setSteps:mU,setThreshold:vU,setTileSize:HI,setVariationAmount:ewe,setWidth:yU}=iU.actions,twe=iU.reducer,bU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingStrength:.75},nwe=bU,SU=cp({name:"postprocessing",initialState:nwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...bU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:fze,setCodeformerFidelity:xU,setFacetoolStrength:I4,setFacetoolType:R4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:rwe,setShouldRunESRGAN:iwe,setShouldRunFacetool:owe,setUpscalingLevel:c8,setUpscalingStrength:d8}=SU.actions,awe=SU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function swe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wU(e){var t=swe(e,"string");return Xs(t)==="symbol"?t:String(t)}function WI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.init(t,n)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||hwe,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function KI(e,t,n){var r=uP(e,t,Object),i=r.obj,o=r.k;i[o]=n}function mwe(e,t,n,r){var i=uP(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function X5(e,t){var n=uP(e,t),r=n.obj,i=n.k;if(r)return r[i]}function XI(e,t,n){var r=X5(e,n);return r!==void 0?r:X5(t,n)}function CU(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):CU(e[r],t[r],n):e[r]=t[r]);return e}function Mg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var vwe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function ywe(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return vwe[t]}):e}var Fx=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,bwe=[" ",",","?","!",";"];function Swe(e,t,n){t=t||"",n=n||"";var r=bwe.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function ZI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eb(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _U(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?_U(l,u,n):void 0}i=i[r[o]]}return i}}var Cwe=function(e){Bx(n,e);var t=xwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hu(this,n),i=t.call(this),Fx&&Qd.call(Fd(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pu(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,d=[i,o];a&&typeof a!="string"&&(d=d.concat(a)),a&&typeof a=="string"&&(d=d.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(d=i.split("."));var h=X5(this.data,d);return h||!u||typeof a!="string"?h:_U(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var d=[i,o];a&&(d=d.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(d=i.split("."),s=o,o=d[1]),this.addNamespaces(o),KI(this.data,d,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},d=[i,o];i.indexOf(".")>-1&&(d=i.split("."),s=a,a=o,o=d[1]),this.addNamespaces(o);var h=X5(this.data,d)||{};s?CU(h,a,l):h=Eb(Eb({},h),a),KI(this.data,d,h),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Eb(Eb({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Qd),kU={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function QI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function bo(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var JI={},eR=function(e){Bx(n,e);var t=_we(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hu(this,n),i=t.call(this),Fx&&Qd.call(Fd(i)),gwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Fd(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=ql.create("translator"),i}return pu(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,d=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Swe(i,a,s);if(u&&!d){var h=i.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Xs(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=this.extractFromKey(i[i.length-1],o),h=d.key,m=d.namespaces,v=m[m.length-1],b=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(S){var k=o.nsSeparator||this.options.nsSeparator;return l?(E.res="".concat(v).concat(k).concat(h),E):"".concat(v).concat(k).concat(h)}return l?(E.res=h,E):h}var E=this.resolve(i,o),_=E&&E.res,T=E&&E.usedKey||h,A=E&&E.exactUsedKey||h,I=Object.prototype.toString.apply(_),R=["[object Number]","[object Function]","[object RegExp]"],D=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=typeof _!="string"&&typeof _!="boolean"&&typeof _!="number";if(j&&_&&z&&R.indexOf(I)<0&&!(typeof D=="string"&&I==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var V=this.options.returnedObjectHandler?this.options.returnedObjectHandler(T,_,bo(bo({},o),{},{ns:m})):"key '".concat(h," (").concat(this.language,")' returned an object instead of string.");return l?(E.res=V,E):V}if(u){var K=I==="[object Array]",te=K?[]:{},q=K?A:T;for(var F in _)if(Object.prototype.hasOwnProperty.call(_,F)){var U="".concat(q).concat(u).concat(F);te[F]=this.translate(U,bo(bo({},o),{joinArrays:!1,ns:m})),te[F]===U&&(te[F]=_[F])}_=te}}else if(j&&typeof D=="string"&&I==="[object Array]")_=_.join(D),_&&(_=this.extendTranslation(_,i,o,a));else{var X=!1,Z=!1,W=o.count!==void 0&&typeof o.count!="string",Q=n.hasDefaultValue(o),ie=W?this.pluralResolver.getSuffix(b,o.count,o):"",fe=o["defaultValue".concat(ie)]||o.defaultValue;!this.isValidLookup(_)&&Q&&(X=!0,_=fe),this.isValidLookup(_)||(Z=!0,_=h);var Se=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Te=Se&&Z?void 0:_,ye=Q&&fe!==_&&this.options.updateMissing;if(Z||X||ye){if(this.logger.log(ye?"updateKey":"missingKey",b,v,h,ye?fe:_),u){var He=this.resolve(h,bo(bo({},o),{},{keySeparator:!1}));He&&He.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ne=[],tt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&tt&&tt[0])for(var _e=0;_e1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,d,h;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var v=o.extractFromKey(m,a),b=v.key;l=b;var S=v.namespaces;o.options.fallbackNS&&(S=S.concat(o.options.fallbackNS));var k=a.count!==void 0&&typeof a.count!="string",E=k&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),_=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",T=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);S.forEach(function(A){o.isValidLookup(s)||(h=A,!JI["".concat(T[0],"-").concat(A)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(h)&&(JI["".concat(T[0],"-").concat(A)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(T.join(", "),`" won't get resolved as namespace "`).concat(h,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(function(I){if(!o.isValidLookup(s)){d=I;var R=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(R,b,I,A,a);else{var D;k&&(D=o.pluralResolver.getSuffix(I,a.count,a));var j="".concat(o.options.pluralSeparator,"zero");if(k&&(R.push(b+D),E&&R.push(b+j)),_){var z="".concat(b).concat(o.options.contextSeparator).concat(a.context);R.push(z),k&&(R.push(z+D),E&&R.push(z+j))}}for(var V;V=R.pop();)o.isValidLookup(s)||(u=V,s=o.getResource(I,A,V,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:d,usedNS:h}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(Qd);function wC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var tR=function(){function e(t){hu(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ql.create("languageUtils")}return pu(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=wC(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=wC(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=wC(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),Ewe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Pwe={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Twe=["v1","v2","v3"],nR={zero:0,one:1,two:2,few:3,many:4,other:5};function Lwe(){var e={};return Ewe.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Pwe[t.fc]}})}),e}var Awe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.languageUtils=t,this.options=n,this.logger=ql.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Lwe()}return pu(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return nR[a]-nR[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Twe.includes(this.options.compatibilityJSON)}}]),e}();function rR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pu(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:ywe,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Mg(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Mg(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Mg(r.nestingPrefix):r.nestingPrefixEscaped||Mg("$t("),this.nestingSuffix=r.nestingSuffix?Mg(r.nestingSuffix):r.nestingSuffixEscaped||Mg(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function h(k){return k.replace(/\$/g,"$$$$")}var m=function(E){if(E.indexOf(a.formatSeparator)<0){var _=XI(r,d,E);return a.alwaysFormat?a.format(_,void 0,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:E})):_}var T=E.split(a.formatSeparator),A=T.shift().trim(),I=T.join(a.formatSeparator).trim();return a.format(XI(r,d,A),I,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:A}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,S=[{regex:this.regexpUnescape,safeValue:function(E){return h(E)}},{regex:this.regexp,safeValue:function(E){return a.escapeValue?h(a.escape(E)):h(E)}}];return S.forEach(function(k){for(u=0;s=k.regex.exec(n);){var E=s[1].trim();if(l=m(E),l===void 0)if(typeof v=="function"){var _=v(n,s,o);l=typeof _=="string"?_:""}else if(o&&o.hasOwnProperty(E))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(E," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=YI(l));var T=k.safeValue(l);if(n=n.replace(s[0],T),b?(k.regex.lastIndex+=l.length,k.regex.lastIndex-=s[0].length):k.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,b){var S=this.nestingOptionsSeparator;if(v.indexOf(S)<0)return v;var k=v.split(new RegExp("".concat(S,"[ ]*{"))),E="{".concat(k[1]);v=k[0],E=this.interpolate(E,l);var _=E.match(/'/g),T=E.match(/"/g);(_&&_.length%2===0&&!T||T.length%2!==0)&&(E=E.replace(/'/g,'"'));try{l=JSON.parse(E),b&&(l=Rs(Rs({},b),l))}catch(A){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),A),"".concat(v).concat(S).concat(E)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var d=[];l=Rs({},o),l.applyPostProcessor=!1,delete l.defaultValue;var h=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=m.shift(),d=m,h=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=YI(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),h&&(s=d.reduce(function(v,b){return i.format(v,b,o.lng,Rs(Rs({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function iR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=fwe(s),u=l[0],d=l.slice(1),h=d.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=h),h==="false"&&(n[u.trim()]=!1),h==="true"&&(n[u.trim()]=!0),isNaN(h)||(n[u.trim()]=parseInt(h,10))}})}}return{formatName:t,formatOptions:n}}function Ig(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var Iwe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("formatter"),this.options=t,this.formats={number:Ig(function(n,r){var i=new Intl.NumberFormat(n,r);return function(o){return i.format(o)}}),currency:Ig(function(n,r){var i=new Intl.NumberFormat(n,ld(ld({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Ig(function(n,r){var i=new Intl.DateTimeFormat(n,ld({},r));return function(o){return i.format(o)}}),relativetime:Ig(function(n,r){var i=new Intl.RelativeTimeFormat(n,ld({},r));return function(o){return i.format(o,r.range||"day")}}),list:Ig(function(n,r){var i=new Intl.ListFormat(n,ld({},r));return function(o){return i.format(o)}})},this.init(t)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Ig(r)}},{key:"format",value:function(n,r,i,o){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,d){var h=Mwe(d),m=h.formatName,v=h.formatOptions;if(a.formats[m]){var b=u;try{var S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},k=S.locale||S.lng||o.locale||o.lng||i;b=a.formats[m](u,k,ld(ld(ld({},v),o),S))}catch(E){a.logger.warn(E)}return b}else a.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aR(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Nwe(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var jwe=function(e){Bx(n,e);var t=Rwe(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hu(this,n),a=t.call(this),Fx&&Qd.call(Fd(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=ql.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return pu(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},d={},h={},m={};return i.forEach(function(v){var b=!0;o.forEach(function(S){var k="".concat(v,"|").concat(S);!a.reload&&l.store.hasResourceBundle(v,S)?l.state[k]=2:l.state[k]<0||(l.state[k]===1?d[k]===void 0&&(d[k]=!0):(l.state[k]=1,b=!1,d[k]===void 0&&(d[k]=!0),u[k]===void 0&&(u[k]=!0),m[S]===void 0&&(m[S]=!0)))}),b||(h[v]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var d={};this.queue.forEach(function(h){mwe(h.loaded,[l],u),Nwe(h,i),o&&h.errors.push(o),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(function(m){d[m]||(d[m]={});var v=h.loaded[m];v.length&&v.forEach(function(b){d[m][b]===void 0&&(d[m][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(function(h){return!h.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!i.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:d});return}this.readingCalls++;var h=function(S,k){if(s.readingCalls--,s.waitingReads.length>0){var E=s.waitingReads.shift();s.read(E.lng,E.ns,E.fcName,E.tried,E.wait,E.callback)}if(S&&k&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(d){a.loadOne(d)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(d,h){d&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),d),!d&&h&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),h),o.loaded(i,d,h)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var h=aR(aR({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var v;m.length===5?v=m(i,o,a,s,h):v=m(i,o,a,s),v&&typeof v.then=="function"?v.then(function(b){return d(null,b)}).catch(d):d(null,v)}catch(b){d(b)}else m(i,o,a,s,d,h)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(Qd);function sR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Xs(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Xs(t[2])==="object"||Xs(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function lR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(){}function $we(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Z5=function(e){Bx(n,e);var t=Bwe(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(hu(this,n),r=t.call(this),Fx&&Qd.call(Fd(r)),r.options=lR(i),r.services={},r.logger=ql,r.modules={external:[]},$we(Fd(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),jy(r,Fd(r));setTimeout(function(){r.init(i,o)},0)}return r}return pu(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=sR();this.options=Ml(Ml(Ml({},s),this.options),lR(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ml(Ml({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?ql.init(l(this.modules.logger),this.options):ql.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Iwe);var d=new tR(this.options);this.store=new Cwe(this.options.resources,this.options);var h=this.services;h.logger=ql,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Awe(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Owe(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new jwe(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new eR(this.services,this.options),this.translator.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.external.forEach(function(E){E.init&&E.init(i)})}if(this.format=this.options.interpolation.format,a||(a=Pb),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments),i}});var S=iv(),k=function(){var _=function(A,I){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),S.resolve(I),a(A,I)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return _(null,i.t.bind(i));i.changeLanguage(i.options.lng,_)};return this.options.resources||!this.options.initImmediate?k():setTimeout(k,0),S}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],d=function(v){if(v){var b=o.services.languageUtils.toResolveHierarchy(v);b.forEach(function(S){u.indexOf(S)<0&&u.push(S)})}};if(l)d(l);else{var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.forEach(function(m){return d(m)})}this.options.preload&&this.options.preload.forEach(function(m){return d(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=iv();return i||(i=this.languages),o||(o=this.options.ns),a||(a=Pb),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&kU.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=iv();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},d=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var v=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(b){u(b,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(d,h){var m;if(Xs(h)!=="object"){for(var v=arguments.length,b=new Array(v>2?v-2:0),S=2;S1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var d=function(v,b){var S=o.services.backendConnector.state["".concat(v,"|").concat(b)];return S===-1||S===2};if(a.precheck){var h=a.precheck(this,d);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(s,i)&&(!l||d(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=iv();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=iv();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tR(sR());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=Ml(Ml(Ml({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(d){l[d]=i[d]}),l.services=Ml({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new eR(l.services,l.options),l.translator.on("*",function(d){for(var h=arguments.length,m=new Array(h>1?h-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Z5(e,t)});var zt=Z5.createInstance();zt.createInstance=Z5.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;function zwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J2(e){return J2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J2(e)}function Hwe(e,t){if(J2(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(J2(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Vwe(e){var t=Hwe(e,"string");return J2(t)==="symbol"?t:String(t)}function cR(e,t){for(var n=0;n0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!dR.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!dR.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},fR={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Ywe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(n=o[a].substring(s+1))}}}return n}},ov=null,hR=function(){if(ov!==null)return ov;try{ov=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ov=!1}return ov},Zwe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&hR()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&hR()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},av=null,pR=function(){if(av!==null)return av;try{av=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{av=!1}return av},Qwe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&pR()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&pR()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},Jwe={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},e6e={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},t6e={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},n6e={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function r6e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var PU=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};zwe(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Wwe(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=qwe(r,this.options||{},r6e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Kwe),this.addDetector(Xwe),this.addDetector(Zwe),this.addDetector(Qwe),this.addDetector(Jwe),this.addDetector(e6e),this.addDetector(t6e),this.addDetector(n6e)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();PU.type="languageDetector";function h8(e){return h8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h8(e)}var TU=[],i6e=TU.forEach,o6e=TU.slice;function p8(e){return i6e.call(o6e.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function LU(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":h8(XMLHttpRequest))==="object"}function a6e(e){return!!e&&typeof e.then=="function"}function s6e(e){return a6e(e)?e:Promise.resolve(e)}function l6e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ey={},u6e={get exports(){return ey},set exports(e){ey=e}},o2={},c6e={get exports(){return o2},set exports(e){o2=e}},gR;function d6e(){return gR||(gR=1,function(e,t){var n=typeof self<"u"?self:wo,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l(F){return F&&DataView.prototype.isPrototypeOf(F)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(F){return F&&u.indexOf(Object.prototype.toString.call(F))>-1};function h(F){if(typeof F!="string"&&(F=String(F)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(F))throw new TypeError("Invalid character in header field name");return F.toLowerCase()}function m(F){return typeof F!="string"&&(F=String(F)),F}function v(F){var U={next:function(){var X=F.shift();return{done:X===void 0,value:X}}};return s.iterable&&(U[Symbol.iterator]=function(){return U}),U}function b(F){this.map={},F instanceof b?F.forEach(function(U,X){this.append(X,U)},this):Array.isArray(F)?F.forEach(function(U){this.append(U[0],U[1])},this):F&&Object.getOwnPropertyNames(F).forEach(function(U){this.append(U,F[U])},this)}b.prototype.append=function(F,U){F=h(F),U=m(U);var X=this.map[F];this.map[F]=X?X+", "+U:U},b.prototype.delete=function(F){delete this.map[h(F)]},b.prototype.get=function(F){return F=h(F),this.has(F)?this.map[F]:null},b.prototype.has=function(F){return this.map.hasOwnProperty(h(F))},b.prototype.set=function(F,U){this.map[h(F)]=m(U)},b.prototype.forEach=function(F,U){for(var X in this.map)this.map.hasOwnProperty(X)&&F.call(U,this.map[X],X,this)},b.prototype.keys=function(){var F=[];return this.forEach(function(U,X){F.push(X)}),v(F)},b.prototype.values=function(){var F=[];return this.forEach(function(U){F.push(U)}),v(F)},b.prototype.entries=function(){var F=[];return this.forEach(function(U,X){F.push([X,U])}),v(F)},s.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(F){if(F.bodyUsed)return Promise.reject(new TypeError("Already read"));F.bodyUsed=!0}function k(F){return new Promise(function(U,X){F.onload=function(){U(F.result)},F.onerror=function(){X(F.error)}})}function E(F){var U=new FileReader,X=k(U);return U.readAsArrayBuffer(F),X}function _(F){var U=new FileReader,X=k(U);return U.readAsText(F),X}function T(F){for(var U=new Uint8Array(F),X=new Array(U.length),Z=0;Z-1?U:F}function j(F,U){U=U||{};var X=U.body;if(F instanceof j){if(F.bodyUsed)throw new TypeError("Already read");this.url=F.url,this.credentials=F.credentials,U.headers||(this.headers=new b(F.headers)),this.method=F.method,this.mode=F.mode,this.signal=F.signal,!X&&F._bodyInit!=null&&(X=F._bodyInit,F.bodyUsed=!0)}else this.url=String(F);if(this.credentials=U.credentials||this.credentials||"same-origin",(U.headers||!this.headers)&&(this.headers=new b(U.headers)),this.method=D(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&X)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(X)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function z(F){var U=new FormData;return F.trim().split("&").forEach(function(X){if(X){var Z=X.split("="),W=Z.shift().replace(/\+/g," "),Q=Z.join("=").replace(/\+/g," ");U.append(decodeURIComponent(W),decodeURIComponent(Q))}}),U}function V(F){var U=new b,X=F.replace(/\r?\n[\t ]+/g," ");return X.split(/\r?\n/).forEach(function(Z){var W=Z.split(":"),Q=W.shift().trim();if(Q){var ie=W.join(":").trim();U.append(Q,ie)}}),U}I.call(j.prototype);function K(F,U){U||(U={}),this.type="default",this.status=U.status===void 0?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new b(U.headers),this.url=U.url||"",this._initBody(F)}I.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},K.error=function(){var F=new K(null,{status:0,statusText:""});return F.type="error",F};var te=[301,302,303,307,308];K.redirect=function(F,U){if(te.indexOf(U)===-1)throw new RangeError("Invalid status code");return new K(null,{status:U,headers:{location:F}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,X){this.message=U,this.name=X;var Z=Error(U);this.stack=Z.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function q(F,U){return new Promise(function(X,Z){var W=new j(F,U);if(W.signal&&W.signal.aborted)return Z(new a.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function ie(){Q.abort()}Q.onload=function(){var fe={status:Q.status,statusText:Q.statusText,headers:V(Q.getAllResponseHeaders()||"")};fe.url="responseURL"in Q?Q.responseURL:fe.headers.get("X-Request-URL");var Se="response"in Q?Q.response:Q.responseText;X(new K(Se,fe))},Q.onerror=function(){Z(new TypeError("Network request failed"))},Q.ontimeout=function(){Z(new TypeError("Network request failed"))},Q.onabort=function(){Z(new a.DOMException("Aborted","AbortError"))},Q.open(W.method,W.url,!0),W.credentials==="include"?Q.withCredentials=!0:W.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&s.blob&&(Q.responseType="blob"),W.headers.forEach(function(fe,Se){Q.setRequestHeader(Se,fe)}),W.signal&&(W.signal.addEventListener("abort",ie),Q.onreadystatechange=function(){Q.readyState===4&&W.signal.removeEventListener("abort",ie)}),Q.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=b,o.Request=j,o.Response=K),a.Headers=b,a.Request=j,a.Response=K,a.fetch=q,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(c6e,o2)),o2}(function(e,t){var n;if(typeof fetch=="function"&&(typeof wo<"u"&&wo.fetch?n=wo.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof l6e<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||d6e();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(u6e,ey);const AU=ey,mR=rj({__proto__:null,default:AU},[ey]);function Q5(e){return Q5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q5(e)}var Yu;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Yu=global.fetch:typeof window<"u"&&window.fetch?Yu=window.fetch:Yu=fetch);var ty;LU()&&(typeof global<"u"&&global.XMLHttpRequest?ty=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ty=window.XMLHttpRequest));var J5;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?J5=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(J5=window.ActiveXObject));!Yu&&mR&&!ty&&!J5&&(Yu=AU||mR);typeof Yu!="function"&&(Yu=void 0);var g8=function(t,n){if(n&&Q5(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},vR=function(t,n,r){Yu(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},yR=!1,f6e=function(t,n,r,i){t.queryStringParams&&(n=g8(n,t.queryStringParams));var o=p8({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=p8({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},yR?{}:a);try{vR(n,s,i)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return i(l);try{Object.keys(a).forEach(function(u){delete s[u]}),vR(n,s,i),yR=!0}catch(u){i(u)}}},h6e=function(t,n,r,i){r&&Q5(r)==="object"&&(r=g8("",r).slice(1)),t.queryStringParams&&(n=g8(n,t.queryStringParams));try{var o;ty?o=new ty:o=new J5("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(l){console&&console.log(l)}},p6e=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Yu&&n.indexOf("file:")!==0)return f6e(t,n,r,i);if(LU()||typeof ActiveXObject=="function")return h6e(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ny(e){return ny=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ny(e)}function g6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return m6e(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=p8(i,this.options||{},b6e()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,i)),l=s6e(l),l.then(function(u){if(!u)return a(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});s.loadUrl(d,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,d;try{typeof l.data=="string"?u=a.options.parse(l.data,i,o):u=l.data}catch{d="failed parsing "+n+" to json"}if(d)return r(d,!1);r(null,u)})}},{key:"create",value:function(n,r,i,o,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,i,o),u=0,d=[],h=[];n.forEach(function(m){var v=s.options.addPath;typeof s.options.addPath=="function"&&(v=s.options.addPath(m,r));var b=s.services.interpolator.interpolate(v,{lng:m,ns:r});s.options.request(s.options,b,l,function(S,k){u+=1,d.push(S),h.push(k),u===n.length&&a&&a(d,h)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,s=i.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(h){var m=o.toResolveHierarchy(h);m.forEach(function(v){l.indexOf(v)<0&&l.push(v)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(h){i.read(d,h,"read",null,null,function(m,v){m&&a.warn("loading namespace ".concat(h," for language ").concat(d," failed"),m),!m&&v&&a.log("loaded namespace ".concat(h," for language ").concat(d),v),i.loaded("".concat(d,"|").concat(h),m,v)})})})}}}]),e}();MU.type="backend";function ry(e){return ry=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ry(e)}function S6e(e,t){if(ry(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ry(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IU(e){var t=S6e(e,"string");return ry(t)==="symbol"?t:String(t)}function RU(e,t,n){return t=IU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x6e(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var d=t.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}function C6e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return m8("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,e))return!1}}):w6e(e,t,n)}var _6e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,k6e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},E6e=function(t){return k6e[t]},P6e=function(t){return t.replace(_6e,E6e)};function wR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CR(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};v8=CR(CR({},v8),e)}function L6e(){return v8}var DU;function A6e(e){DU=e}function O6e(){return DU}function M6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(D6e)||{},i=r.i18n,o=r.defaultNS,a=n||i||O6e();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new N6e),!a){m8("You will need to pass in an i18next instance by using initReactI18next");var s=function(z){return Array.isArray(z)?z[z.length-1]:z},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&m8("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=CC(CC(CC({},L6e()),a.options.react),t),d=u.useSuspense,h=u.keyPrefix,m=e||o||a.options&&a.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(m);var v=(a.isInitialized||a.initializedStoreOnce)&&m.every(function(j){return C6e(j,a,u)});function b(){return a.getFixedT(null,u.nsMode==="fallback"?m:m[0],h)}var S=w.useState(b),k=z6e(S,2),E=k[0],_=k[1],T=m.join(),A=H6e(T),I=w.useRef(!0);w.useEffect(function(){var j=u.bindI18n,z=u.bindI18nStore;I.current=!0,!v&&!d&&xR(a,m,function(){I.current&&_(b)}),v&&A&&A!==T&&I.current&&_(b);function V(){I.current&&_(b)}return j&&a&&a.on(j,V),z&&a&&a.store.on(z,V),function(){I.current=!1,j&&a&&j.split(" ").forEach(function(K){return a.off(K,V)}),z&&a&&z.split(" ").forEach(function(K){return a.store.off(K,V)})}},[a,T]);var R=w.useRef(!0);w.useEffect(function(){I.current&&!R.current&&_(b),R.current=!1},[a,h]);var D=[E,a,v];if(D.t=E,D.i18n=a,D.ready=v,v||!v&&!d)return D;throw new Promise(function(j){xR(a,m,function(){j()})})}zt.use(MU).use(PU).use(R6e).init({fallbackLng:"en",debug:!1,ns:["common","gallery","hotkeys","parameters","settings","modelmanager","toast","tooltip","unifiedcanvas"],backend:{loadPath:"/locales/{{ns}}/{{lng}}.json"},interpolation:{escapeValue:!1},returnNull:!1});const V6e={isConnected:!1,isProcessing:!1,log:[],shouldShowLogViewer:!1,shouldDisplayInProgressType:"latents",shouldDisplayGuides:!0,isGFPGANAvailable:!0,isESRGANAvailable:!0,socketId:"",shouldConfirmOnDelete:!0,openAccordions:[],currentStep:0,totalSteps:0,currentIteration:0,totalIterations:0,currentStatus:zt.isInitialized?zt.t("common:statusDisconnected"):"Disconnected",currentStatusHasSteps:!1,model:"",model_id:"",model_hash:"",app_id:"",app_version:"",model_list:{},infill_methods:[],hasError:!1,wasErrorSeen:!0,isCancelable:!0,saveIntermediatesInterval:5,enableImageDebugging:!1,toastQueue:[],searchFolder:null,foundModels:null,openModel:null},NU=cp({name:"system",initialState:V6e,reducers:{setShouldDisplayInProgressType:(e,t)=>{e.shouldDisplayInProgressType=t.payload},setIsProcessing:(e,t)=>{e.isProcessing=t.payload},setCurrentStatus:(e,t)=>{e.currentStatus=t.payload},setSystemStatus:(e,t)=>({...e,...t.payload}),errorOccurred:e=>{e.hasError=!0,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusError"),e.wasErrorSeen=!1},errorSeen:e=>{e.hasError=!1,e.wasErrorSeen=!0,e.currentStatus=e.isConnected?zt.t("common:statusConnected"):zt.t("common:statusDisconnected")},addLogEntry:(e,t)=>{const{timestamp:n,message:r,level:i}=t.payload,a={timestamp:n,message:r,level:i||"info"};e.log.push(a)},setShouldShowLogViewer:(e,t)=>{e.shouldShowLogViewer=t.payload},setIsConnected:(e,t)=>{e.isConnected=t.payload,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.hasError=!1},setSocketId:(e,t)=>{e.socketId=t.payload},setShouldConfirmOnDelete:(e,t)=>{e.shouldConfirmOnDelete=t.payload},setOpenAccordions:(e,t)=>{e.openAccordions=t.payload},setSystemConfig:(e,t)=>({...e,...t.payload}),setShouldDisplayGuides:(e,t)=>{e.shouldDisplayGuides=t.payload},processingCanceled:e=>{e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusProcessingCanceled")},generationRequested:e=>{e.isProcessing=!0,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusPreparing")},setModelList:(e,t)=>{e.model_list=t.payload},setIsCancelable:(e,t)=>{e.isCancelable=t.payload},modelChangeRequested:e=>{e.currentStatus=zt.t("common:statusLoadingModel"),e.isCancelable=!1,e.isProcessing=!0,e.currentStatusHasSteps=!1},setSaveIntermediatesInterval:(e,t)=>{e.saveIntermediatesInterval=t.payload},setEnableImageDebugging:(e,t)=>{e.enableImageDebugging=t.payload},addToast:(e,t)=>{e.toastQueue.push(t.payload)},clearToastQueue:e=>{e.toastQueue=[]},setProcessingIndeterminateTask:(e,t)=>{e.isProcessing=!0,e.currentStatus=t.payload,e.currentStatusHasSteps=!1},setSearchFolder:(e,t)=>{e.searchFolder=t.payload},setFoundModels:(e,t)=>{e.foundModels=t.payload},setOpenModel:(e,t)=>{e.openModel=t.payload}}}),{setShouldDisplayInProgressType:W6e,setIsProcessing:Hs,addLogEntry:to,setShouldShowLogViewer:_C,setIsConnected:PR,setSocketId:hze,setShouldConfirmOnDelete:jU,setOpenAccordions:U6e,setSystemStatus:G6e,setCurrentStatus:D4,setSystemConfig:q6e,setShouldDisplayGuides:Y6e,processingCanceled:K6e,errorOccurred:TR,errorSeen:BU,setModelList:Tb,setIsCancelable:lm,modelChangeRequested:X6e,setSaveIntermediatesInterval:Z6e,setEnableImageDebugging:Q6e,generationRequested:J6e,addToast:Th,clearToastQueue:eCe,setProcessingIndeterminateTask:tCe,setSearchFolder:FU,setFoundModels:$U,setOpenModel:LR}=NU.actions,nCe=NU.reducer,cP=["txt2img","img2img","unifiedCanvas","nodes","postprocess","training"],rCe={activeTab:0,currentTheme:"dark",parametersPanelScrollPosition:0,shouldHoldParametersPanelOpen:!1,shouldPinParametersPanel:!0,shouldShowParametersPanel:!0,shouldShowDualDisplay:!0,shouldShowImageDetails:!1,shouldUseCanvasBetaLayout:!1,shouldShowExistingModelsInSearch:!1,addNewModelUIOption:null},iCe=rCe,zU=cp({name:"ui",initialState:iCe,reducers:{setActiveTab:(e,t)=>{typeof t.payload=="number"?e.activeTab=t.payload:e.activeTab=cP.indexOf(t.payload)},setCurrentTheme:(e,t)=>{e.currentTheme=t.payload},setParametersPanelScrollPosition:(e,t)=>{e.parametersPanelScrollPosition=t.payload},setShouldPinParametersPanel:(e,t)=>{e.shouldPinParametersPanel=t.payload},setShouldShowParametersPanel:(e,t)=>{e.shouldShowParametersPanel=t.payload},setShouldHoldParametersPanelOpen:(e,t)=>{e.shouldHoldParametersPanelOpen=t.payload},setShouldShowDualDisplay:(e,t)=>{e.shouldShowDualDisplay=t.payload},setShouldShowImageDetails:(e,t)=>{e.shouldShowImageDetails=t.payload},setShouldUseCanvasBetaLayout:(e,t)=>{e.shouldUseCanvasBetaLayout=t.payload},setShouldShowExistingModelsInSearch:(e,t)=>{e.shouldShowExistingModelsInSearch=t.payload},setAddNewModelUIOption:(e,t)=>{e.addNewModelUIOption=t.payload}}}),{setActiveTab:qo,setCurrentTheme:oCe,setParametersPanelScrollPosition:aCe,setShouldHoldParametersPanelOpen:sCe,setShouldPinParametersPanel:lCe,setShouldShowParametersPanel:Ku,setShouldShowDualDisplay:uCe,setShouldShowImageDetails:HU,setShouldUseCanvasBetaLayout:cCe,setShouldShowExistingModelsInSearch:dCe,setAddNewModelUIOption:zh}=zU.actions,fCe=zU.reducer,lu=Object.create(null);lu.open="0";lu.close="1";lu.ping="2";lu.pong="3";lu.message="4";lu.upgrade="5";lu.noop="6";const N4=Object.create(null);Object.keys(lu).forEach(e=>{N4[lu[e]]=e});const hCe={type:"error",data:"parser error"},pCe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",gCe=typeof ArrayBuffer=="function",mCe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,VU=({type:e,data:t},n,r)=>pCe&&t instanceof Blob?n?r(t):AR(t,r):gCe&&(t instanceof ArrayBuffer||mCe(t))?n?r(t):AR(new Blob([t]),r):r(lu[e]+(t||"")),AR=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+r)},n.readAsDataURL(e)},OR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r>4,d[i++]=(a&15)<<4|s>>2,d[i++]=(s&3)<<6|l&63;return u},yCe=typeof ArrayBuffer=="function",WU=(e,t)=>{if(typeof e!="string")return{type:"message",data:UU(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:bCe(e.substring(1),t)}:N4[n]?e.length>1?{type:N4[n],data:e.substring(1)}:{type:N4[n]}:hCe},bCe=(e,t)=>{if(yCe){const n=vCe(e);return UU(n,t)}else return{base64:!0,data:e}},UU=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},GU=String.fromCharCode(30),SCe=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{VU(o,!1,s=>{r[a]=s,++i===n&&t(r.join(GU))})})},xCe=(e,t)=>{const n=e.split(GU),r=[];for(let i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function YU(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const CCe=setTimeout,_Ce=clearTimeout;function $x(e,t){t.useNativeTimers?(e.setTimeoutFn=CCe.bind(Pd),e.clearTimeoutFn=_Ce.bind(Pd)):(e.setTimeoutFn=setTimeout.bind(Pd),e.clearTimeoutFn=clearTimeout.bind(Pd))}const kCe=1.33;function ECe(e){return typeof e=="string"?PCe(e):Math.ceil((e.byteLength||e.size)*kCe)}function PCe(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}class TCe extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class KU extends si{constructor(t){super(),this.writable=!1,$x(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new TCe(t,n,r)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=WU(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}}const XU="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),y8=64,LCe={};let MR=0,Lb=0,IR;function RR(e){let t="";do t=XU[e%y8]+t,e=Math.floor(e/y8);while(e>0);return t}function ZU(){const e=RR(+new Date);return e!==IR?(MR=0,IR=e):e+"."+RR(MR++)}for(;Lb{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};xCe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,SCe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=ZU()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=QU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new nu(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class nu extends si{constructor(t,n){super(),$x(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=YU(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new eG(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=nu.requestsCount++,nu.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=MCe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete nu.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}nu.requestsCount=0;nu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",DR);else if(typeof addEventListener=="function"){const e="onpagehide"in Pd?"pagehide":"unload";addEventListener(e,DR,!1)}}function DR(){for(let e in nu.requests)nu.requests.hasOwnProperty(e)&&nu.requests[e].abort()}const tG=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ab=Pd.WebSocket||Pd.MozWebSocket,NR=!0,DCe="arraybuffer",jR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class NCe extends KU{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=jR?{}:YU(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=NR&&!jR?n?new Ab(t,n):new Ab(t):new Ab(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||DCe,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const a={};try{NR&&this.ws.send(o)}catch{}i&&tG(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=ZU()),this.supportsBinary||(t.b64=1);const i=QU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!Ab}}const jCe={websocket:NCe,polling:RCe},BCe=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FCe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function b8(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=BCe.exec(e||""),o={},a=14;for(;a--;)o[FCe[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=$Ce(o,o.path),o.queryKey=zCe(o,o.query),o}function $Ce(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function zCe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let nG=class Fg extends si{constructor(t,n={}){super(),t&&typeof t=="object"&&(n=t,t=null),t?(t=b8(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=b8(n.host).host),$x(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=ACe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=qU,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new jCe[t](r)}open(){let t;if(this.opts.rememberUpgrade&&Fg.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;Fg.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Fg.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,d(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function s(){a("transport closed")}function l(){a("socket closed")}function u(h){n&&h.name!==n.name&&o()}const d=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",Fg.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){Fg.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,rG=Object.prototype.toString,UCe=typeof Blob=="function"||typeof Blob<"u"&&rG.call(Blob)==="[object BlobConstructor]",GCe=typeof File=="function"||typeof File<"u"&&rG.call(File)==="[object FileConstructor]";function dP(e){return VCe&&(e instanceof ArrayBuffer||WCe(e))||UCe&&e instanceof Blob||GCe&&e instanceof File}function j4(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case cn.ACK:case cn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class ZCe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=YCe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const QCe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:fP,Encoder:XCe,get PacketType(){return cn},protocol:KCe},Symbol.toStringTag,{value:"Module"}));function Bs(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const JCe=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class iG extends si{constructor(t,n,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Bs(t,"open",this.onopen.bind(this)),Bs(t,"packet",this.onpacket.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(JCe.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');n.unshift(t);const r={type:cn.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,s=n.pop();this._registerAckCallback(a,s),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){const r=this.flags.timeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:cn.CONNECT,data:t})}):this.packet({type:cn.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case cn.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case cn.EVENT:case cn.BINARY_EVENT:this.onevent(t);break;case cn.ACK:case cn.BINARY_ACK:this.onack(t);break;case cn.DISCONNECT:this.ondisconnect();break;case cn.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t)}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:cn.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:cn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}E0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};E0.prototype.reset=function(){this.attempts=0};E0.prototype.setMin=function(e){this.ms=e};E0.prototype.setMax=function(e){this.max=e};E0.prototype.setJitter=function(e){this.jitter=e};class w8 extends si{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$x(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new E0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||QCe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new nG(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Bs(n,"open",function(){r.onopen(),t&&t()}),o=Bs(n,"error",a=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",a),t?t(a):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Bs(t,"ping",this.onping.bind(this)),Bs(t,"data",this.ondata.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this)),Bs(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){tG(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r||(r=new iG(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const sv={};function B4(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=HCe(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=sv[i]&&o in sv[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new w8(r,t):(sv[i]||(sv[i]=new w8(r,t)),l=sv[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(B4,{Manager:w8,Socket:iG,io:B4,connect:B4});const e7e=["ddim","plms","k_lms","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_dpmpp_2_a","k_euler","k_euler_a","k_heun"],t7e=["ddim","plms","k_lms","dpmpp_2","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_euler","k_euler_a","k_heun"],n7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],r7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],i7e=[{key:"2x",value:2},{key:"4x",value:4}],hP=0,pP=4294967295,o7e=["gfpgan","codeformer"],a7e=[{key:"None",value:"none"},{key:"Fast",value:"latents"},{key:"Accurate",value:"full-res"}];var s7e=Math.PI/180;function l7e(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const Fm=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},pt={_global:Fm,version:"8.3.14",isBrowser:l7e(),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle(e){return pt.angleDeg?e*s7e:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:typeof window<"u"&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return pt.DD.isDragging},isDragReady(){return!!pt.DD.node},releaseCanvasOnDestroy:!0,document:Fm.document,_injectGlobal(e){Fm.Konva=e}},Ar=e=>{pt[e.prototype.getClassName()]=e};pt._injectGlobal(pt);class ka{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new ka(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var n=this.m;return{x:n[0]*t.x+n[2]*t.y+n[4],y:n[1]*t.x+n[3]*t.y+n[5]}}translate(t,n){return this.m[4]+=this.m[0]*t+this.m[2]*n,this.m[5]+=this.m[1]*t+this.m[3]*n,this}scale(t,n){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=n,this.m[3]*=n,this}rotate(t){var n=Math.cos(t),r=Math.sin(t),i=this.m[0]*n+this.m[2]*r,o=this.m[1]*n+this.m[3]*r,a=this.m[0]*-r+this.m[2]*n,s=this.m[1]*-r+this.m[3]*n;return this.m[0]=i,this.m[1]=o,this.m[2]=a,this.m[3]=s,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,n){var r=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,o=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=i,this.m[2]=o,this.m[3]=a,this}multiply(t){var n=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],s=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*t,r=-this.m[1]*t,i=-this.m[2]*t,o=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),s=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}getMatrix(){return this.m}decompose(){var t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=this.m[4],a=this.m[5],s=t*i-n*r;let l={x:o,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(t!=0||n!=0){var u=Math.sqrt(t*t+n*n);l.rotation=n>0?Math.acos(t/u):-Math.acos(t/u),l.scaleX=u,l.scaleY=s/u,l.skewX=(t*r+n*i)/s,l.skewY=0}else if(r!=0||i!=0){var d=Math.sqrt(r*r+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-r/d):-Math.acos(r/d)),l.scaleX=s/d,l.scaleY=d,l.skewX=0,l.skewY=(t*r+n*i)/s}return l.rotation=de._getRotation(l.rotation),l}}var u7e="[object Array]",c7e="[object Number]",d7e="[object String]",f7e="[object Boolean]",h7e=Math.PI/180,p7e=180/Math.PI,kC="#",g7e="",m7e="0",v7e="Konva warning: ",BR="Konva error: ",y7e="rgb(",EC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},b7e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Ob=[];const S7e=typeof requestAnimationFrame<"u"&&requestAnimationFrame||function(e){setTimeout(e,60)},de={_isElement(e){return!!(e&&e.nodeType==1)},_isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject(e){return!!e&&e.constructor===Object},_isArray(e){return Object.prototype.toString.call(e)===u7e},_isNumber(e){return Object.prototype.toString.call(e)===c7e&&!isNaN(e)&&isFinite(e)},_isString(e){return Object.prototype.toString.call(e)===d7e},_isBoolean(e){return Object.prototype.toString.call(e)===f7e},isObject(e){return e instanceof Object},isValidSelector(e){if(typeof e!="string")return!1;var t=e[0];return t==="#"||t==="."||t===t.toUpperCase()},_sign(e){return e===0||e>0?1:-1},requestAnimFrame(e){Ob.push(e),Ob.length===1&&S7e(function(){const t=Ob;Ob=[],t.forEach(function(n){n()})})},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch{}return e},createImageElement(){return document.createElement("img")},_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=de.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex(e,t,n){return((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},_hexToRgb(e){e=e.replace(kC,g7e);var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}},getRandomColor(){for(var e=(Math.random()*16777215<<0).toString(16);e.length<6;)e=m7e+e;return kC+e},getRGB(e){var t;return e in EC?(t=EC[e],{r:t[0],g:t[1],b:t[2]}):e[0]===kC?this._hexToRgb(e.substring(1)):e.substr(0,4)===y7e?(t=b7e.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA(e){return e=e||"black",de._namedColorToRBA(e)||de._hex3ColorToRGBA(e)||de._hex6ColorToRGBA(e)||de._rgbColorToRGBA(e)||de._rgbaColorToRGBA(e)||de._hslColorToRGBA(e)},_namedColorToRBA(e){var t=EC[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(e.indexOf("rgb(")===0){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(e.indexOf("rgba(")===0){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map((n,r)=>n.slice(-1)==="%"?r===3?parseInt(n)/100:parseInt(n)/100*255:Number(n));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if(e[0]==="#"&&e.length===7)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if(e[0]==="#"&&e.length===4)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100;let a,s,l;if(i===0)return l=o*255,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};o<.5?a=o*(1+i):a=o+i-o*i;const u=2*o-a,d=[0,0,0];for(let h=0;h<3;h++)s=r+1/3*-(h-1),s<0&&s++,s>1&&s--,6*s<1?l=u+(a-u)*6*s:2*s<1?l=a:3*s<2?l=u+(a-u)*(2/3-s)*6:l=u,d[h]=l*255;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height1?(a=n,s=r,l=(n-i)*(n-i)+(r-o)*(r-o)):(a=e+d*(n-e),s=t+d*(r-t),l=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,l]},_getProjectionToLine(e,t,n){var r=de.cloneObject(e),i=Number.MAX_VALUE;return t.forEach(function(o,a){if(!(!n&&a===t.length-1)){var s=t[(a+1)%t.length],l=de._getProjectionToSegment(o.x,o.y,s.x,s.y,e.x,e.y),u=l[0],d=l[1],h=l[2];ht.length){var a=t;t=e,e=a}for(r=0;r{t.width=0,t.height=0})}};function df(e){return de._isString(e)?'"'+e+'"':Object.prototype.toString.call(e)==="[object Number]"||de._isBoolean(e)?e:Object.prototype.toString.call(e)}function oG(e){return e>255?255:e<0?0:Math.round(e)}function Ge(){if(pt.isUnminified)return function(e,t){return de._isNumber(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function aG(e){if(pt.isUnminified)return function(t,n){let r=de._isNumber(t),i=de._isArray(t)&&t.length==e;return!r&&!i&&de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}}function gP(){if(pt.isUnminified)return function(e,t){var n=de._isNumber(e),r=e==="auto";return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function P0(){if(pt.isUnminified)return function(e,t){return de._isString(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function sG(){if(pt.isUnminified)return function(e,t){const n=de._isString(e),r=Object.prototype.toString.call(e)==="[object CanvasGradient]"||e&&e.addColorStop;return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function x7e(){if(pt.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(de._isArray(e)?e.forEach(function(r){de._isNumber(r)||de.warn('"'+t+'" attribute has non numeric element '+r+". Make sure that all elements are numbers.")}):de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function nl(){if(pt.isUnminified)return function(e,t){var n=e===!0||e===!1;return n||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function w7e(e){if(pt.isUnminified)return function(t,n){return t==null||de.isObject(t)||de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}var lv="get",uv="set";const ee={addGetterSetter(e,t,n,r,i){ee.addGetter(e,t,n),ee.addSetter(e,t,r,i),ee.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=lv+de._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var i=this.attrs[t];return i===void 0?n:i}},addSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]||ee.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]=function(o){return n&&o!==void 0&&o!==null&&(o=n.call(this,o,t)),this._setAttr(t,o),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o=n.length,a=de._capitalize,s=lv+a(t),l=uv+a(t),u,d;e.prototype[s]=function(){var m={};for(u=0;u{this._setAttr(t+a(S),void 0)}),this._fireChangeEvent(t,v,m),i&&i.call(this),this},ee.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=de._capitalize(t),r=uv+n,i=lv+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[i]()}},addDeprecatedGetterSetter(e,t,n,r){de.error("Adding deprecated "+t);var i=lv+de._capitalize(t),o=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){de.error(o);var a=this.attrs[t];return a===void 0?n:a},ee.addSetter(e,t,r,function(){de.error(o)}),ee.addOverloadedGetterSetter(e,t)},backCompat(e,t){de.each(t,function(n,r){var i=e.prototype[r],o=lv+de._capitalize(n),a=uv+de._capitalize(n);function s(){i.apply(this,arguments),de.error('"'+n+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}e.prototype[n]=s,e.prototype[o]=s,e.prototype[a]=s})},afterSetFilter(){this._filterUpToDate=!1}};function C7e(e){var t=[],n=e.length,r=de,i,o;for(i=0;itypeof d=="number"?Math.floor(d):d)),o+=_7e+u.join(FR)+k7e)):(o+=s.property,t||(o+=A7e+s.val)),o+=T7e;return o}clearTrace(){this.traceArr=[]}_trace(t){var n=this.traceArr,r;n.push(t),r=n.length,r>=M7e&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var n=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}_applyLineCap(t){var n=t.getLineCap();n&&this.setAttr("lineCap",n)}_applyOpacity(t){var n=t.getAbsoluteOpacity();n!==1&&this.setAttr("globalAlpha",n)}_applyLineJoin(t){var n=t.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}setAttr(t,n){this._context[t]=n}arc(t,n,r,i,o,a){this._context.arc(t,n,r,i,o,a)}arcTo(t,n,r,i,o){this._context.arcTo(t,n,r,i,o)}beginPath(){this._context.beginPath()}bezierCurveTo(t,n,r,i,o,a){this._context.bezierCurveTo(t,n,r,i,o,a)}clearRect(t,n,r,i){this._context.clearRect(t,n,r,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,n){var r=arguments;if(r.length===2)return this._context.createImageData(t,n);if(r.length===1)return this._context.createImageData(t)}createLinearGradient(t,n,r,i){return this._context.createLinearGradient(t,n,r,i)}createPattern(t,n){return this._context.createPattern(t,n)}createRadialGradient(t,n,r,i,o,a){return this._context.createRadialGradient(t,n,r,i,o,a)}drawImage(t,n,r,i,o,a,s,l,u){var d=arguments,h=this._context;d.length===3?h.drawImage(t,n,r):d.length===5?h.drawImage(t,n,r,i,o):d.length===9&&h.drawImage(t,n,r,i,o,a,s,l,u)}ellipse(t,n,r,i,o,a,s,l){this._context.ellipse(t,n,r,i,o,a,s,l)}isPointInPath(t,n){return this._context.isPointInPath(t,n)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,n,r,i){this._context.fillRect(t,n,r,i)}strokeRect(t,n,r,i){this._context.strokeRect(t,n,r,i)}fillText(t,n,r,i){i?this._context.fillText(t,n,r,i):this._context.fillText(t,n,r)}measureText(t){return this._context.measureText(t)}getImageData(t,n,r,i){return this._context.getImageData(t,n,r,i)}lineTo(t,n){this._context.lineTo(t,n)}moveTo(t,n){this._context.moveTo(t,n)}rect(t,n,r,i){this._context.rect(t,n,r,i)}putImageData(t,n,r){this._context.putImageData(t,n,r)}quadraticCurveTo(t,n,r,i){this._context.quadraticCurveTo(t,n,r,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,n){this._context.scale(t,n)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,n,r,i,o,a){this._context.setTransform(t,n,r,i,o,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,n,r,i){this._context.strokeText(t,n,r,i)}transform(t,n,r,i,o,a){this._context.transform(t,n,r,i,o,a)}translate(t,n){this._context.translate(t,n)}_enableTrace(){var t=this,n=$R.length,r=this.setAttr,i,o,a=function(s){var l=t[s],u;t[s]=function(){return o=C7e(Array.prototype.slice.call(arguments,0)),u=l.apply(t,arguments),t._trace({method:s,args:o}),u}};for(i=0;i{t.dragStatus==="dragging"&&(e=!0)}),e},justDragged:!1,get node(){var e;return vn._dragElements.forEach(t=>{e=t.node}),e},_dragElements:new Map,_drag(e){const t=[];vn._dragElements.forEach((n,r)=>{const{node:i}=n,o=i.getStage();o.setPointersPositions(e),n.pointerId===void 0&&(n.pointerId=de._getFirstPointerId(e));const a=o._changedPointerPositions.find(u=>u.id===n.pointerId);if(a){if(n.dragStatus!=="dragging"){var s=i.dragDistance(),l=Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y));if(l{n.fire("dragmove",{type:"dragmove",target:n,evt:e},!0)})},_endDragBefore(e){const t=[];vn._dragElements.forEach(n=>{const{node:r}=n,i=r.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find(s=>s.id===n.pointerId))return;(n.dragStatus==="dragging"||n.dragStatus==="stopped")&&(vn.justDragged=!0,pt._mouseListenClick=!1,pt._touchListenClick=!1,pt._pointerListenClick=!1,n.dragStatus="stopped");const a=n.node.getLayer()||n.node instanceof pt.Stage&&n.node;a&&t.indexOf(a)===-1&&t.push(a)}),t.forEach(n=>{n.draw()})},_endDragAfter(e){vn._dragElements.forEach((t,n)=>{t.dragStatus==="stopped"&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),t.dragStatus!=="dragging"&&vn._dragElements.delete(n)})}};pt.isBrowser&&(window.addEventListener("mouseup",vn._endDragBefore,!0),window.addEventListener("touchend",vn._endDragBefore,!0),window.addEventListener("mousemove",vn._drag),window.addEventListener("touchmove",vn._drag),window.addEventListener("mouseup",vn._endDragAfter,!1),window.addEventListener("touchend",vn._endDragAfter,!1));var F4="absoluteOpacity",Ib="allEventListeners",$u="absoluteTransform",zR="absoluteScale",ah="canvas",N7e="Change",j7e="children",B7e="konva",C8="listening",HR="mouseenter",VR="mouseleave",WR="set",UR="Shape",$4=" ",GR="stage",fd="transform",F7e="Stage",_8="visible",$7e=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join($4);let z7e=1,Xe=class k8{constructor(t){this._id=z7e++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){(t===fd||t===$u)&&this._cache.get(t)?this._cache.get(t).dirty=!0:t?this._cache.delete(t):this._cache.clear()}_getCache(t,n){var r=this._cache.get(t),i=t===fd||t===$u,o=r===void 0||i&&r.dirty===!0;return o&&(r=n.call(this),this._cache.set(t,r)),r}_calculate(t,n,r){if(!this._attachedDepsListeners.get(t)){const i=n.map(o=>o+"Change.konva").join($4);this.on(i,()=>{this._clearCache(t)}),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)}_getCanvasCache(){return this._cache.get(ah)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===$u&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(ah)){const{scene:t,filter:n,hit:r}=this._cache.get(ah);de.releaseCanvas(t,n,r),this._cache.delete(ah)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var n=t||{},r={};(n.x===void 0||n.y===void 0||n.width===void 0||n.height===void 0)&&(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(n.width||r.width),o=Math.ceil(n.height||r.height),a=n.pixelRatio,s=n.x===void 0?Math.floor(r.x):n.x,l=n.y===void 0?Math.floor(r.y):n.y,u=n.offset||0,d=n.drawBorder||!1,h=n.hitCanvasPixelRatio||1;if(!i||!o){de.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");return}i+=u*2+1,o+=u*2+1,s-=u,l-=u;var m=new $m({pixelRatio:a,width:i,height:o}),v=new $m({pixelRatio:a,width:0,height:0}),b=new mP({pixelRatio:h,width:i,height:o}),S=m.getContext(),k=b.getContext();return b.isCache=!0,m.isCache=!0,this._cache.delete(ah),this._filterUpToDate=!1,n.imageSmoothingEnabled===!1&&(m.getContext()._context.imageSmoothingEnabled=!1,v.getContext()._context.imageSmoothingEnabled=!1),S.save(),k.save(),S.translate(-s,-l),k.translate(-s,-l),this._isUnderCache=!0,this._clearSelfAndDescendantCache(F4),this._clearSelfAndDescendantCache(zR),this.drawScene(m,this),this.drawHit(b,this),this._isUnderCache=!1,S.restore(),k.restore(),d&&(S.save(),S.beginPath(),S.rect(0,0,i,o),S.closePath(),S.setAttr("strokeStyle","red"),S.setAttr("lineWidth",5),S.stroke(),S.restore()),this._cache.set(ah,{scene:m,filter:v,hit:b,x:s,y:l}),this._requestDraw(),this}isCached(){return this._cache.has(ah)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,n){var r=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],i,o,a,s,l=this.getAbsoluteTransform(n);return r.forEach(function(u){var d=l.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),{x:i,y:o,width:a-i,height:s-o}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const n=this._getCanvasCache();t.translate(n.x,n.y);var r=this._getCachedSceneCanvas(),i=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/i,r.height/i),t.restore()}_drawCachedHitCanvas(t){var n=this._getCanvasCache(),r=n.hit;t.save(),t.translate(n.x,n.y),t.drawImage(r._canvas,0,0,r.width/r.pixelRatio,r.height/r.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t=this.filters(),n=this._getCanvasCache(),r=n.scene,i=n.filter,o=i.getContext(),a,s,l,u;if(t){if(!this._filterUpToDate){var d=r.pixelRatio;i.setSize(r.width/r.pixelRatio,r.height/r.pixelRatio);try{for(a=t.length,o.clear(),o.drawImage(r._canvas,0,0,r.getWidth()/d,r.getHeight()/d),s=o.getImageData(0,0,i.getWidth(),i.getHeight()),l=0;l{var n,r;if(!t)return this;for(n in t)n!==j7e&&(r=WR+de._capitalize(n),de._isFunction(this[r])?this[r](t[n]):this._setAttr(n,t[n]))}),this}isListening(){return this._getCache(C8,this._isListening)}_isListening(t){if(!this.listening())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isListening(t):!0}isVisible(){return this._getCache(_8,this._isVisible)}_isVisible(t){if(!this.visible())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isVisible(t):!0}shouldDrawHit(t,n=!1){if(t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),i=!1;vn._dragElements.forEach(a=>{a.dragStatus==="dragging"&&(a.node.nodeType==="Stage"||a.node.getLayer()===r)&&(i=!0)});var o=!n&&!pt.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t=this.getDepth(),n=this,r=0,i,o,a,s;function l(u){for(i=[],o=u.length,a=0;a0&&i[0].getDepth()<=t&&l(i)}return n.nodeType!==F7e&&l(n.getStage().getChildren()),r}getDepth(){for(var t=0,n=this.parent;n;)t++,n=n.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(fd),this._clearSelfAndDescendantCache($u)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges(()=>{this.x(t.x),this.y(t.y)}),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(t){let n=!1,r=this.parent;for(;r;){if(r.isCached()){n=!0;break}r=r.parent}n&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new ka,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()}setAbsolutePosition(t){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(fd);var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this._clearCache(fd),this._clearSelfAndDescendantCache($u),this}_setTransform(t){var n;for(n in t)this.attrs[n]=t[n]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var n=t.x,r=t.y,i=this.x(),o=this.y();return n!==void 0&&(i+=n),r!==void 0&&(o+=r),this.setPosition({x:i,y:o}),this}_eachAncestorReverse(t,n){var r=[],i=this.getParent(),o,a;if(!(n&&n._id===this._id)){for(r.unshift(this);i&&(!n||i._id!==n._id);)r.unshift(i),i=i.parent;for(o=r.length,a=0;a0?(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0):!1}moveToBottom(){if(!this.parent)return de.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0?(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0):!1}setZIndex(t){if(!this.parent)return de.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&de.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(F4,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(t*=n.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t={},n=this.getAttrs(),r,i,o,a,s;t.attrs={};for(r in n)i=n[r],s=de.isObject(i)&&!de._isPlainObject(i)&&!de._isArray(i),!s&&(o=typeof this[r]=="function"&&this[r],delete n[r],a=o?o.call(this):null,n[r]=i,a!==i&&(t.attrs[r]=i));return t.className=this.getClassName(),de._prepareToStringify(t)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,n,r){var i=[];n&&this._isMatch(t)&&i.push(this);for(var o=this.parent;o;){if(o===r)return i;o._isMatch(t)&&i.push(o),o=o.parent}return i}isAncestorOf(t){return!1}findAncestor(t,n,r){return this.findAncestors(t,n,r)[0]}_isMatch(t){if(!t)return!1;if(typeof t=="function")return t(this);var n=t.replace(/ /g,"").split(","),r=n.length,i,o;for(i=0;i{try{const i=t==null?void 0:t.callback;i&&delete t.callback,de._urlToImage(this.toDataURL(t),function(o){n(o),i==null||i(o)})}catch(i){r(i)}})}toBlob(t){return new Promise((n,r)=>{try{const i=t==null?void 0:t.callback;i&&delete t.callback,this.toCanvas(t).toBlob(o=>{n(o),i==null||i(o)})}catch(i){r(i)}})}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return this.attrs.dragDistance!==void 0?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():pt.dragDistance}_off(t,n,r){var i=this.eventListeners[t],o,a,s;for(o=0;o=0;if(r&&!this.isDragging()){var i=!1;vn._dragElements.forEach(o=>{this.isAncestorOf(o.node)&&(i=!0)}),i||this._createDragElement(t)}})}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const n=vn._dragElements.get(this._id),r=n&&n.dragStatus==="dragging",i=n&&n.dragStatus==="ready";r?this.stopDrag():i&&vn._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const n=this.getStage();if(!n)return!1;const r={x:-t.x,y:-t.y,width:n.width()+2*t.x,height:n.height()+2*t.y};return de.haveIntersection(r,this.getClientRect())}static create(t,n){return de._isString(t)&&(t=JSON.parse(t)),this._createNode(t,n)}static _createNode(t,n){var r=k8.prototype.getClassName.call(t),i=t.children,o,a,s;n&&(t.attrs.container=n),pt[r]||(de.warn('Can not find a node with class name "'+r+'". Fallback to "Shape".'),r="Shape");const l=pt[r];if(o=new l(t.attrs),i)for(a=i.length,s=0;s0}removeChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.remove()}),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.destroy()}),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var n=0;n0?n[0]:void 0}_generalFind(t,n){var r=[];return this._descendants(i=>{const o=i._isMatch(t);return o&&r.push(i),!!(o&&n)}),r}_descendants(t){let n=!1;const r=this.getChildren();for(const i of r){if(n=t(i),n)return!0;if(i.hasChildren()&&(n=i._descendants(t),n))return!0}return!1}toObject(){var t=Xe.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach(n=>{t.children.push(n.toObject())}),t}isAncestorOf(t){for(var n=t.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}clone(t){var n=Xe.prototype.clone.call(this,t);return this.getChildren().forEach(function(r){n.add(r.clone())}),n}getAllIntersections(t){var n=[];return this.find("Shape").forEach(function(r){r.isVisible()&&r.intersects(t)&&n.push(r)}),n}_clearSelfAndDescendantCache(t){var n;super._clearSelfAndDescendantCache(t),!this.isCached()&&((n=this.children)===null||n===void 0||n.forEach(function(r){r._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;(t=this.children)===null||t===void 0||t.forEach(function(n,r){n.index=r}),this._requestDraw()}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas(),o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.scene,l=i&&i.isCache;if(!this.isVisible()&&!l)return this;if(s){o.save();var u=this.getAbsoluteTransform(n).getMatrix();o.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",i,n);return this}drawHit(t,n){if(!this.shouldDrawHit(n))return this;var r=this.getLayer(),i=t||r&&r.hitCanvas,o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.hit;if(s){o.save();var l=this.getAbsoluteTransform(n).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",i,n);return this}_drawChildren(t,n,r){var i,o=n&&n.getContext(),a=this.clipWidth(),s=this.clipHeight(),l=this.clipFunc(),u=a&&s||l;const d=r===this;if(u){o.save();var h=this.getAbsoluteTransform(r),m=h.getMatrix();if(o.transform(m[0],m[1],m[2],m[3],m[4],m[5]),o.beginPath(),l)l.call(this,o,this);else{var v=this.clipX(),b=this.clipY();o.rect(v,b,a,s)}o.clip(),m=h.copy().invert().getMatrix(),o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}var S=!d&&this.globalCompositeOperation()!=="source-over"&&t==="drawScene";S&&(o.save(),o._applyGlobalCompositeOperation(this)),(i=this.children)===null||i===void 0||i.forEach(function(k){k[t](n,r)}),S&&o.restore(),u&&o.restore()}getClientRect(t){var n;t=t||{};var r=t.skipTransform,i=t.relativeTo,o,a,s,l,u={x:1/0,y:1/0,width:0,height:0},d=this;(n=this.children)===null||n===void 0||n.forEach(function(S){if(S.visible()){var k=S.getClientRect({relativeTo:d,skipShadow:t.skipShadow,skipStroke:t.skipStroke});k.width===0&&k.height===0||(o===void 0?(o=k.x,a=k.y,s=k.x+k.width,l=k.y+k.height):(o=Math.min(o,k.x),a=Math.min(a,k.y),s=Math.max(s,k.x+k.width),l=Math.max(l,k.y+k.height)))}});for(var h=this.find("Shape"),m=!1,v=0;ve.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",Rg=e=>{const t=Ov(e);if(t==="pointer")return pt.pointerEventsEnabled&&TC.pointer;if(t==="touch")return TC.touch;if(t==="mouse")return TC.mouse};function YR(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&de.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const Y7e="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",z4=[];let Vx=class extends Aa{constructor(t){super(YR(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),z4.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",()=>{YR(this.attrs)}),this._checkVisibility()}_validateAdd(t){const n=t.getType()==="Layer",r=t.getType()==="FastLayer";n||r||de.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===V7e){if(t.charAt(0)==="."){var n=t.slice(1);t=document.getElementsByClassName(n)[0]}else{var r;t.charAt(0)!=="#"?r=t:r=t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t=this.children,n=t.length,r;for(r=0;r-1&&z4.splice(n,1),de.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(de.warn(Y7e),null)}_getPointerById(t){return this._pointerPositions.find(n=>n.id===t)}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var n=new $m({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),r=n.getContext()._context,i=this.children;return(t.x||t.y)&&r.translate(-1*t.x,-1*t.y),i.forEach(function(o){if(o.isVisible()){var a=o._toKonvaCanvas(t);r.drawImage(a._canvas,t.x,t.y,a.getWidth()/a.getPixelRatio(),a.getHeight()/a.getPixelRatio())}}),n}getIntersection(t){if(!t)return null;var n=this.children,r=n.length,i=r-1,o;for(o=i;o>=0;o--){const a=n[o].getIntersection(t);if(a)return a}return null}_resizeDOM(){var t=this.width(),n=this.height();this.content&&(this.content.style.width=t+qR,this.content.style.height=n+qR),this.bufferCanvas.setSize(t,n),this.bufferHitCanvas.setSize(t,n),this.children.forEach(r=>{r.setSize({width:t,height:n}),r.draw()})}add(t,...n){if(arguments.length>1){for(var r=0;rG7e&&de.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),pt.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return uG(t,this)}setPointerCapture(t){cG(t,this)}releaseCapture(t){a2(t)}getLayers(){return this.children}_bindContentEvents(){pt.isBrowser&&q7e.forEach(([t,n])=>{this.content.addEventListener(t,r=>{this[n](r)},{passive:!1})})}_pointerenter(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let n=this[t+"targetShape"];return n&&!n.getStage()&&(n=null),n}_pointerleave(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=this._getTargetShape(r),o=!vn.isDragging||pt.hitOnDragEnabled;i&&o?(i._fireAndBubble(n.pointerout,{evt:t}),i._fireAndBubble(n.pointerleave,{evt:t}),this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this[r+"targetShape"]=null):o&&(this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach(o=>{var a=this.getIntersection(o);if(vn.justDragged=!1,pt["_"+r+"ListenClick"]=!0,!(a&&a.isListening()))return;pt.capturePointerEventsEnabled&&a.setPointerCapture(o.id),this[r+"ClickStartShape"]=a,a._fireAndBubble(n.pointerdown,{evt:t,pointerId:o.id}),i=!0;const l=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&l&&t.preventDefault()}),i||this._fire(n.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;vn.isDragging&&vn.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!vn.isDragging||pt.hitOnDragEnabled;if(!i)return;var o={};let a=!1;var s=this._getTargetShape(r);this._changedPointerPositions.forEach(l=>{const u=PC(l.id)||this.getIntersection(l),d=l.id,h={evt:t,pointerId:d};var m=s!==u;if(m&&s&&(s._fireAndBubble(n.pointerout,Object.assign({},h),u),s._fireAndBubble(n.pointerleave,Object.assign({},h),u)),u){if(o[u._id])return;o[u._id]=!0}u&&u.isListening()?(a=!0,m&&(u._fireAndBubble(n.pointerover,Object.assign({},h),s),u._fireAndBubble(n.pointerenter,Object.assign({},h),s),this[r+"targetShape"]=u),u._fireAndBubble(n.pointermove,Object.assign({},h))):s&&(this._fire(n.pointerover,{evt:t,target:this,currentTarget:this,pointerId:d}),this[r+"targetShape"]=null)}),a||this._fire(n.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;this.setPointersPositions(t);const i=this[r+"ClickStartShape"],o=this[r+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach(l=>{const u=PC(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),a[u._id])return;a[u._id]=!0}const d=l.id,h={evt:t,pointerId:d};let m=!1;pt["_"+r+"InDblClickWindow"]?(m=!0,clearTimeout(this[r+"DblTimeout"])):vn.justDragged||(pt["_"+r+"InDblClickWindow"]=!0,clearTimeout(this[r+"DblTimeout"])),this[r+"DblTimeout"]=setTimeout(function(){pt["_"+r+"InDblClickWindow"]=!1},pt.dblClickWindow),u&&u.isListening()?(s=!0,this[r+"ClickEndShape"]=u,u._fireAndBubble(n.pointerup,Object.assign({},h)),pt["_"+r+"ListenClick"]&&i&&i===u&&(u._fireAndBubble(n.pointerclick,Object.assign({},h)),m&&o&&o===u&&u._fireAndBubble(n.pointerdblclick,Object.assign({},h)))):(this[r+"ClickEndShape"]=null,pt["_"+r+"ListenClick"]&&this._fire(n.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:d}),m&&this._fire(n.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:d}))}),s||this._fire(n.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),pt["_"+r+"ListenClick"]=!1,t.cancelable&&r!=="touch"&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(E8,{evt:t}):this._fire(E8,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(P8,{evt:t}):this._fire(P8,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const n=PC(t.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(um,vP(t)),a2(t.pointerId)}_lostpointercapture(t){a2(t.pointerId)}setPointersPositions(t){var n=this._getContentPosition(),r=null,i=null;t=t||window.event,t.touches!==void 0?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,o=>{this._pointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})}),Array.prototype.forEach.call(t.changedTouches||t.touches,o=>{this._changedPointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})})):(r=(t.clientX-n.left)/n.scaleX,i=(t.clientY-n.top)/n.scaleY,this.pointerPos={x:r,y:i},this._pointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}],this._changedPointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}])}_setPointerPosition(t){de.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new $m({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mP({pixelRatio:1,width:this.width(),height:this.height()}),!!pt.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return de.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach(function(t){t.batchDraw()}),this}};Vx.prototype.nodeType=H7e;Ar(Vx);ee.addGetterSetter(Vx,"container");var xG="hasShadow",wG="shadowRGBA",CG="patternImage",_G="linearGradient",kG="radialGradient";let Bb;function LC(){return Bb||(Bb=de.createCanvasElement().getContext("2d"),Bb)}const s2={};function K7e(e){e.fill()}function X7e(e){e.stroke()}function Z7e(e){e.fill()}function Q7e(e){e.stroke()}function J7e(){this._clearCache(xG)}function e9e(){this._clearCache(wG)}function t9e(){this._clearCache(CG)}function n9e(){this._clearCache(_G)}function r9e(){this._clearCache(kG)}class Be extends Xe{constructor(t){super(t);let n;for(;n=de.getRandomColor(),!(n&&!(n in s2)););this.colorKey=n,s2[n]=this}getContext(){return de.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return de.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(xG,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&this.shadowOpacity()!==0&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(CG,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=LC();const n=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(n&&n.setTransform){const r=new ka;r.translate(this.fillPatternX(),this.fillPatternY()),r.rotate(pt.getAngle(this.fillPatternRotation())),r.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),r.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const i=r.getMatrix(),o=typeof DOMMatrix>"u"?{a:i[0],b:i[1],c:i[2],d:i[3],e:i[4],f:i[5]}:new DOMMatrix(i);n.setTransform(o)}return n}}_getLinearGradient(){return this._getCache(_G,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var n=LC(),r=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),o=n.createLinearGradient(r.x,r.y,i.x,i.y),a=0;athis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops()))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],()=>this.strokeEnabled()&&this.strokeWidth()&&!!(this.stroke()||this.strokeLinearGradientColorStops()))}hasHitStroke(){const t=this.hitStrokeWidth();return t==="auto"?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var n=this.getStage(),r=n.bufferHitCanvas,i;return r.getContext().clear(),this.drawHit(r,null,!0),i=r.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,i[3]>0}destroy(){return Xe.prototype.destroy.call(this),delete s2[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var n;if(!this.getStage()||!((n=this.attrs.perfectDrawEnabled)!==null&&n!==void 0?n:!0))return!1;const i=t||this.hasFill(),o=this.hasStroke(),a=this.getAbsoluteOpacity()!==1;if(i&&o&&a)return!0;const s=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(i&&o&&s&&l)}setStrokeHitEnabled(t){de.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return this.hitStrokeWidth()!==0}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const n=t.skipTransform,r=t.relativeTo,i=this.getSelfRect(),a=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,s=i.width+a,l=i.height+a,u=!t.skipShadow&&this.hasShadow(),d=u?this.shadowOffsetX():0,h=u?this.shadowOffsetY():0,m=s+Math.abs(d),v=l+Math.abs(h),b=u&&this.shadowBlur()||0,S=m+b*2,k=v+b*2,E={width:S,height:k,x:-(a/2+b)+Math.min(d,0)+i.x,y:-(a/2+b)+Math.min(h,0)+i.y};return n?E:this._transformedRect(E,r)}drawScene(t,n){var r=this.getLayer(),i=t||r.getCanvas(),o=i.getContext(),a=this._getCanvasCache(),s=this.getSceneFunc(),l=this.hasShadow(),u,d,h,m=i.isCache,v=n===this;if(!this.isVisible()&&!v)return this;if(a){o.save();var b=this.getAbsoluteTransform(n).getMatrix();return o.transform(b[0],b[1],b[2],b[3],b[4],b[5]),this._drawCachedSceneCanvas(o),o.restore(),this}if(!s)return this;if(o.save(),this._useBufferCanvas()&&!m){u=this.getStage(),d=u.bufferCanvas,h=d.getContext(),h.clear(),h.save(),h._applyLineJoin(this);var S=this.getAbsoluteTransform(n).getMatrix();h.transform(S[0],S[1],S[2],S[3],S[4],S[5]),s.call(this,h,this),h.restore();var k=d.pixelRatio;l&&o._applyShadow(this),o._applyOpacity(this),o._applyGlobalCompositeOperation(this),o.drawImage(d._canvas,0,0,d.width/k,d.height/k)}else{if(o._applyLineJoin(this),!v){var S=this.getAbsoluteTransform(n).getMatrix();o.transform(S[0],S[1],S[2],S[3],S[4],S[5]),o._applyOpacity(this),o._applyGlobalCompositeOperation(this)}l&&o._applyShadow(this),s.call(this,o,this)}return o.restore(),this}drawHit(t,n,r=!1){if(!this.shouldDrawHit(n,r))return this;var i=this.getLayer(),o=t||i.hitCanvas,a=o&&o.getContext(),s=this.hitFunc()||this.sceneFunc(),l=this._getCanvasCache(),u=l&&l.hit;if(this.colorKey||de.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),u){a.save();var d=this.getAbsoluteTransform(n).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),a._applyLineJoin(this),!(this===n)){var m=this.getAbsoluteTransform(n).getMatrix();a.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return s.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var n=this._getCanvasCache(),r=this._getCachedSceneCanvas(),i=n.hit,o=i.getContext(),a=i.getWidth(),s=i.getHeight(),l,u,d,h,m,v;o.clear(),o.drawImage(r._canvas,0,0,a,s);try{for(l=o.getImageData(0,0,a,s),u=l.data,d=u.length,h=de._hexToRgb(this.colorKey),m=0;mt?(u[m]=h.r,u[m+1]=h.g,u[m+2]=h.b,u[m+3]=255):u[m+3]=0;o.putImageData(l,0,0)}catch(b){de.error("Unable to draw hit graph from cached scene canvas. "+b.message)}return this}hasPointerCapture(t){return uG(t,this)}setPointerCapture(t){cG(t,this)}releaseCapture(t){a2(t)}}Be.prototype._fillFunc=K7e;Be.prototype._strokeFunc=X7e;Be.prototype._fillFuncHit=Z7e;Be.prototype._strokeFuncHit=Q7e;Be.prototype._centroid=!1;Be.prototype.nodeType="Shape";Ar(Be);Be.prototype.eventListeners={};Be.prototype.on.call(Be.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",J7e);Be.prototype.on.call(Be.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",e9e);Be.prototype.on.call(Be.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",t9e);Be.prototype.on.call(Be.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",n9e);Be.prototype.on.call(Be.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",r9e);ee.addGetterSetter(Be,"stroke",void 0,sG());ee.addGetterSetter(Be,"strokeWidth",2,Ge());ee.addGetterSetter(Be,"fillAfterStrokeEnabled",!1);ee.addGetterSetter(Be,"hitStrokeWidth","auto",gP());ee.addGetterSetter(Be,"strokeHitEnabled",!0,nl());ee.addGetterSetter(Be,"perfectDrawEnabled",!0,nl());ee.addGetterSetter(Be,"shadowForStrokeEnabled",!0,nl());ee.addGetterSetter(Be,"lineJoin");ee.addGetterSetter(Be,"lineCap");ee.addGetterSetter(Be,"sceneFunc");ee.addGetterSetter(Be,"hitFunc");ee.addGetterSetter(Be,"dash");ee.addGetterSetter(Be,"dashOffset",0,Ge());ee.addGetterSetter(Be,"shadowColor",void 0,P0());ee.addGetterSetter(Be,"shadowBlur",0,Ge());ee.addGetterSetter(Be,"shadowOpacity",1,Ge());ee.addComponentsGetterSetter(Be,"shadowOffset",["x","y"]);ee.addGetterSetter(Be,"shadowOffsetX",0,Ge());ee.addGetterSetter(Be,"shadowOffsetY",0,Ge());ee.addGetterSetter(Be,"fillPatternImage");ee.addGetterSetter(Be,"fill",void 0,sG());ee.addGetterSetter(Be,"fillPatternX",0,Ge());ee.addGetterSetter(Be,"fillPatternY",0,Ge());ee.addGetterSetter(Be,"fillLinearGradientColorStops");ee.addGetterSetter(Be,"strokeLinearGradientColorStops");ee.addGetterSetter(Be,"fillRadialGradientStartRadius",0);ee.addGetterSetter(Be,"fillRadialGradientEndRadius",0);ee.addGetterSetter(Be,"fillRadialGradientColorStops");ee.addGetterSetter(Be,"fillPatternRepeat","repeat");ee.addGetterSetter(Be,"fillEnabled",!0);ee.addGetterSetter(Be,"strokeEnabled",!0);ee.addGetterSetter(Be,"shadowEnabled",!0);ee.addGetterSetter(Be,"dashEnabled",!0);ee.addGetterSetter(Be,"strokeScaleEnabled",!0);ee.addGetterSetter(Be,"fillPriority","color");ee.addComponentsGetterSetter(Be,"fillPatternOffset",["x","y"]);ee.addGetterSetter(Be,"fillPatternOffsetX",0,Ge());ee.addGetterSetter(Be,"fillPatternOffsetY",0,Ge());ee.addComponentsGetterSetter(Be,"fillPatternScale",["x","y"]);ee.addGetterSetter(Be,"fillPatternScaleX",1,Ge());ee.addGetterSetter(Be,"fillPatternScaleY",1,Ge());ee.addComponentsGetterSetter(Be,"fillLinearGradientStartPoint",["x","y"]);ee.addComponentsGetterSetter(Be,"strokeLinearGradientStartPoint",["x","y"]);ee.addGetterSetter(Be,"fillLinearGradientStartPointX",0);ee.addGetterSetter(Be,"strokeLinearGradientStartPointX",0);ee.addGetterSetter(Be,"fillLinearGradientStartPointY",0);ee.addGetterSetter(Be,"strokeLinearGradientStartPointY",0);ee.addComponentsGetterSetter(Be,"fillLinearGradientEndPoint",["x","y"]);ee.addComponentsGetterSetter(Be,"strokeLinearGradientEndPoint",["x","y"]);ee.addGetterSetter(Be,"fillLinearGradientEndPointX",0);ee.addGetterSetter(Be,"strokeLinearGradientEndPointX",0);ee.addGetterSetter(Be,"fillLinearGradientEndPointY",0);ee.addGetterSetter(Be,"strokeLinearGradientEndPointY",0);ee.addComponentsGetterSetter(Be,"fillRadialGradientStartPoint",["x","y"]);ee.addGetterSetter(Be,"fillRadialGradientStartPointX",0);ee.addGetterSetter(Be,"fillRadialGradientStartPointY",0);ee.addComponentsGetterSetter(Be,"fillRadialGradientEndPoint",["x","y"]);ee.addGetterSetter(Be,"fillRadialGradientEndPointX",0);ee.addGetterSetter(Be,"fillRadialGradientEndPointY",0);ee.addGetterSetter(Be,"fillPatternRotation",0);ee.backCompat(Be,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var i9e="#",o9e="beforeDraw",a9e="draw",EG=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],s9e=EG.length;let dp=class extends Aa{constructor(t){super(t),this.canvas=new $m,this.hitCanvas=new mP({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),t{this.draw(),this._waitingForDraw=!1})),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;for(var n=1,r=!1;;){for(let i=0;i0)return{antialiased:!0};return{}}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas();return this._fire(o9e,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Aa.prototype.drawScene.call(this,i,n),this._fire(a9e,{node:this}),this}drawHit(t,n){var r=this.getLayer(),i=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),Aa.prototype.drawHit.call(this,i,n),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(!(!this.parent||!this.parent.content)){var t=this.parent,n=!!this.hitCanvas._canvas.parentNode;n?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}destroy(){return de.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}};dp.prototype.nodeType="Layer";Ar(dp);ee.addGetterSetter(dp,"imageSmoothingEnabled",!0);ee.addGetterSetter(dp,"clearBeforeDraw",!0);ee.addGetterSetter(dp,"hitGraphEnabled",!0,nl());class yP extends dp{constructor(t){super(t),this.listening(!1),de.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}yP.prototype.nodeType="FastLayer";Ar(yP);let i0=class extends Aa{_validateAdd(t){var n=t.getType();n!=="Group"&&n!=="Shape"&&de.throw("You may only add groups and shapes to groups.")}};i0.prototype.nodeType="Group";Ar(i0);var AC=function(){return Fm.performance&&Fm.performance.now?function(){return Fm.performance.now()}:function(){return new Date().getTime()}}();class ts{constructor(t,n){this.id=ts.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:AC(),frameRate:0},this.func=t,this.setLayers(n)}setLayers(t){var n=[];return t?t.length>0?n=t:n=[t]:n=[],this.layers=n,this}getLayers(){return this.layers}addLayer(t){var n=this.layers,r=n.length,i;for(i=0;ithis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return t===void 0&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=KR,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=XR,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===KR?this.setTime(t):this.state===XR&&this.setTime(this.duration-t)}pause(){this.state=u9e,this.fire("onPause")}getTimer(){return new Date().getTime()}}class Xr{constructor(t){var n=this,r=t.node,i=r._id,o,a=t.easing||l2.Linear,s=!!t.yoyo,l;typeof t.duration>"u"?o=.3:t.duration===0?o=.001:o=t.duration,this.node=r,this._id=c9e++;var u=r.getLayer()||(r instanceof pt.Stage?r.getLayers():null);u||de.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new ts(function(){n.tween.onEnterFrame()},u),this.tween=new d9e(l,function(d){n._tweenFunc(d)},a,0,1,o*1e3,s),this._addListeners(),Xr.attrs[i]||(Xr.attrs[i]={}),Xr.attrs[i][this._id]||(Xr.attrs[i][this._id]={}),Xr.tweens[i]||(Xr.tweens[i]={});for(l in t)l9e[l]===void 0&&this._addAttr(l,t[l]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,n){var r=this.node,i=r._id,o,a,s,l,u,d,h,m;if(s=Xr.tweens[i][t],s&&delete Xr.attrs[i][s][t],o=r.getAttr(t),de._isArray(n))if(a=[],u=Math.max(n.length,o.length),t==="points"&&n.length!==o.length&&(n.length>o.length?(h=o,o=de._prepareArrayForTween(o,n,r.closed())):(d=n,n=de._prepareArrayForTween(n,o,r.closed()))),t.indexOf("fill")===0)for(l=0;l{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueEnd&&t.setAttr("points",n.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueStart&&t.points(n.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(t*1e3),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t=this.node._id,n=this._id,r=Xr.tweens[t],i;this.pause();for(i in r)delete Xr.tweens[t][i];delete Xr.attrs[t][n]}}Xr.attrs={};Xr.tweens={};Xe.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()};var n=new Xr(e);n.play()};const l2={BackEaseIn(e,t,n,r){var i=1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},BackEaseOut(e,t,n,r){var i=1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*(((i*=1.525)+1)*e-i))+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return e===0?t:(e/=r)===1?t+n:(o||(o=r*.3),!i||i0?t:n),d=a*n,h=s*(s>0?t:n),m=l*(l>0?n:t);return{x:u,y:r?-1*m:h,width:d-u,height:m-h}}}cc.prototype._centroid=!0;cc.prototype.className="Arc";cc.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(cc);ee.addGetterSetter(cc,"innerRadius",0,Ge());ee.addGetterSetter(cc,"outerRadius",0,Ge());ee.addGetterSetter(cc,"angle",0,Ge());ee.addGetterSetter(cc,"clockwise",!1,nl());function T8(e,t,n,r,i,o,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(i-n,2)+Math.pow(o-r,2)),u=a*s/(s+l),d=a*l/(s+l),h=n-u*(i-e),m=r-u*(o-t),v=n+d*(i-e),b=r+d*(o-t);return[h,m,v,b]}function QR(e,t){var n=e.length,r=[],i,o;for(i=2;i4){for(s=this.getTensionPoints(),l=s.length,u=o?0:4,o||t.quadraticCurveTo(s[0],s[1],s[2],s[3]);ud?u:d,k=u>d?1:u/d,E=u>d?d/u:1;t.translate(s,l),t.rotate(v),t.scale(k,E),t.arc(0,0,S,h,h+m,1-b),t.scale(1/k,1/E),t.rotate(-v),t.translate(-s,-l);break;case"z":r=!0,t.closePath();break}}!r&&!this.hasFill()?t.strokeShape(this):t.fillStrokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach(function(u){if(u.command==="A"){var d=u.points[4],h=u.points[5],m=u.points[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;b-=v){const S=Hn.getPointOnEllipticalArc(u.points[0],u.points[1],u.points[2],u.points[3],b,0);t.push(S.x,S.y)}else for(let b=d+v;bthis.dataArray[r].pathLength;)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return Hn.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return Hn.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return Hn.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],l=a[1],u=a[2],d=a[3],h=a[4],m=a[5],v=a[6];return h+=m*t/o.pathLength,Hn.getPointOnEllipticalArc(s,l,u,d,h,v)}return null}static getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}static getPointOnLine(t,n,r,i,o,a,s){a===void 0&&(a=n),s===void 0&&(s=r);var l=(o-r)/(i-n+1e-8),u=Math.sqrt(t*t/(1+l*l));i0&&!isNaN(b[0]);){var _=null,T=[],A=l,I=u,R,D,j,z,V,K,te,q,F,U;switch(v){case"l":l+=b.shift(),u+=b.shift(),_="L",T.push(l,u);break;case"L":l=b.shift(),u=b.shift(),T.push(l,u);break;case"m":var X=b.shift(),Z=b.shift();if(l+=X,u+=Z,_="M",a.length>2&&a[a.length-1].command==="z"){for(var W=a.length-2;W>=0;W--)if(a[W].command==="M"){l=a[W].points[0]+X,u=a[W].points[1]+Z;break}}T.push(l,u),v="l";break;case"M":l=b.shift(),u=b.shift(),_="M",T.push(l,u),v="L";break;case"h":l+=b.shift(),_="L",T.push(l,u);break;case"H":l=b.shift(),_="L",T.push(l,u);break;case"v":u+=b.shift(),_="L",T.push(l,u);break;case"V":u=b.shift(),_="L",T.push(l,u);break;case"C":T.push(b.shift(),b.shift(),b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"c":T.push(l+b.shift(),u+b.shift(),l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"S":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,b.shift(),b.shift()),l=b.shift(),u=b.shift(),_="C",T.push(l,u);break;case"s":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"Q":T.push(b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"q":T.push(l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="Q",T.push(l,u);break;case"T":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l=b.shift(),u=b.shift(),_="Q",T.push(D,j,l,u);break;case"t":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l+=b.shift(),u+=b.shift(),_="Q",T.push(D,j,l,u);break;case"A":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),F=l,U=u,l=b.shift(),u=b.shift(),_="A",T=this.convertEndpointToCenterParameterization(F,U,l,u,te,q,z,V,K);break;case"a":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),F=l,U=u,l+=b.shift(),u+=b.shift(),_="A",T=this.convertEndpointToCenterParameterization(F,U,l,u,te,q,z,V,K);break}a.push({command:_||v,points:T,start:{x:A,y:I},pathLength:this.calcLength(A,I,_||v,T)})}(v==="z"||v==="Z")&&a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(t,n,r,i){var o,a,s,l,u=Hn;switch(r){case"L":return u.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=u.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),l=.01;l<=1;l+=.01)s=u.getPointOnCubicBezier(l,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=u.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),l=.01;l<=1;l+=.01)s=u.getPointOnQuadraticBezier(l,t,n,i[0],i[1],i[2],i[3]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var d=i[4],h=i[5],m=i[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;l-=v)s=u.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(l=d+v;l1&&(s*=Math.sqrt(v),l*=Math.sqrt(v));var b=Math.sqrt((s*s*(l*l)-s*s*(m*m)-l*l*(h*h))/(s*s*(m*m)+l*l*(h*h)));o===a&&(b*=-1),isNaN(b)&&(b=0);var S=b*s*m/l,k=b*-l*h/s,E=(t+r)/2+Math.cos(d)*S-Math.sin(d)*k,_=(n+i)/2+Math.sin(d)*S+Math.cos(d)*k,T=function(V){return Math.sqrt(V[0]*V[0]+V[1]*V[1])},A=function(V,K){return(V[0]*K[0]+V[1]*K[1])/(T(V)*T(K))},I=function(V,K){return(V[0]*K[1]=1&&(z=0),a===0&&z>0&&(z=z-2*Math.PI),a===1&&z<0&&(z=z+2*Math.PI),[E,_,s,l,R,z,d,a]}}Hn.prototype.className="Path";Hn.prototype._attrsAffectingSize=["data"];Ar(Hn);ee.addGetterSetter(Hn,"data");class fp extends dc{_sceneFunc(t){super._sceneFunc(t);var n=Math.PI*2,r=this.points(),i=r,o=this.tension()!==0&&r.length>4;o&&(i=this.getTensionPoints());var a=this.pointerLength(),s=r.length,l,u;if(o){const m=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],r[s-2],r[s-1]],v=Hn.calcLength(i[i.length-4],i[i.length-3],"C",m),b=Hn.getPointOnQuadraticBezier(Math.min(1,1-a/v),m[0],m[1],m[2],m[3],m[4],m[5]);l=r[s-2]-b.x,u=r[s-1]-b.y}else l=r[s-2]-r[s-4],u=r[s-1]-r[s-3];var d=(Math.atan2(u,l)+n)%n,h=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(r[s-2],r[s-1]),t.rotate(d),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(r[0],r[1]),o?(l=(i[0]+i[2])/2-r[0],u=(i[1]+i[3])/2-r[1]):(l=r[2]-r[0],u=r[3]-r[1]),t.rotate((Math.atan2(-u,-l)+n)%n),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),n=this.pointerWidth()/2;return{x:t.x-n,y:t.y-n,width:t.width+n*2,height:t.height+n*2}}}fp.prototype.className="Arrow";Ar(fp);ee.addGetterSetter(fp,"pointerLength",10,Ge());ee.addGetterSetter(fp,"pointerWidth",10,Ge());ee.addGetterSetter(fp,"pointerAtBeginning",!1);ee.addGetterSetter(fp,"pointerAtEnding",!0);let T0=class extends Be{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,Math.PI*2,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}};T0.prototype._centroid=!0;T0.prototype.className="Circle";T0.prototype._attrsAffectingSize=["radius"];Ar(T0);ee.addGetterSetter(T0,"radius",0,Ge());class ff extends Be{_sceneFunc(t){var n=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),n!==r&&t.scale(1,r/n),t.arc(0,0,n,0,Math.PI*2,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radiusX()*2}getHeight(){return this.radiusY()*2}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}ff.prototype.className="Ellipse";ff.prototype._centroid=!0;ff.prototype._attrsAffectingSize=["radiusX","radiusY"];Ar(ff);ee.addComponentsGetterSetter(ff,"radius",["x","y"]);ee.addGetterSetter(ff,"radiusX",0,Ge());ee.addGetterSetter(ff,"radiusY",0,Ge());let fc=class PG extends Be{constructor(t){super(t),this.on("imageChange.konva",()=>{this._setImageLoad()}),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&t.readyState===4||t&&t.addEventListener&&t.addEventListener("load",()=>{this._requestDraw()})}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const n=this.getWidth(),r=this.getHeight(),i=this.attrs.image;let o;if(i){const a=this.attrs.cropWidth,s=this.attrs.cropHeight;a&&s?o=[i,this.cropX(),this.cropY(),a,s,0,0,n,r]:o=[i,0,0,n,r]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,o)}_hitFunc(t){var n=this.width(),r=this.height();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,n;return(t=this.attrs.width)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.width}getHeight(){var t,n;return(t=this.attrs.height)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.height}static fromURL(t,n,r=null){var i=de.createImageElement();i.onload=function(){var o=new PG({image:i});n(o)},i.onerror=r,i.crossOrigin="Anonymous",i.src=t}};fc.prototype.className="Image";Ar(fc);ee.addGetterSetter(fc,"image");ee.addComponentsGetterSetter(fc,"crop",["x","y","width","height"]);ee.addGetterSetter(fc,"cropX",0,Ge());ee.addGetterSetter(fc,"cropY",0,Ge());ee.addGetterSetter(fc,"cropWidth",0,Ge());ee.addGetterSetter(fc,"cropHeight",0,Ge());var TG=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],f9e="Change.konva",h9e="none",L8="up",A8="right",O8="down",M8="left",p9e=TG.length;class bP extends i0{constructor(t){super(t),this.on("add.konva",function(n){this._addListeners(n.child),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var n=this,r,i=function(){n._sync()};for(r=0;r{n=Math.min(n,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),{x:n,y:i,width:r-n,height:o-i}}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}pp.prototype.className="RegularPolygon";pp.prototype._centroid=!0;pp.prototype._attrsAffectingSize=["radius"];Ar(pp);ee.addGetterSetter(pp,"radius",0,Ge());ee.addGetterSetter(pp,"sides",0,Ge());var JR=Math.PI*2;class gp extends Be{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,JR,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),JR,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.outerRadius()*2}getHeight(){return this.outerRadius()*2}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}gp.prototype.className="Ring";gp.prototype._centroid=!0;gp.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(gp);ee.addGetterSetter(gp,"innerRadius",0,Ge());ee.addGetterSetter(gp,"outerRadius",0,Ge());class gu extends Be{constructor(t){super(t),this._updated=!0,this.anim=new ts(()=>{var n=this._updated;return this._updated=!1,n}),this.on("animationChange.konva",function(){this.frameIndex(0)}),this.on("frameIndexChange.konva",function(){this._updated=!0}),this.on("frameRateChange.konva",function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})}_sceneFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+0],l=o[i+1],u=o[i+2],d=o[i+3],h=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,u,d),t.closePath(),t.fillStrokeShape(this)),h)if(a){var m=a[n],v=r*2;t.drawImage(h,s,l,u,d,m[v+0],m[v+1],u,d)}else t.drawImage(h,s,l,u,d,0,0,u,d)}_hitFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+2],l=o[i+3];if(t.beginPath(),a){var u=a[n],d=r*2;t.rect(u[d+0],u[d+1],s,l)}else t.rect(0,0,s,l);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval(function(){t._updateIndex()},1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),n=this.animation(),r=this.animations(),i=r[n],o=i.length/4;t{t=t.trim();const n=t.indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return n&&!r&&(t=`"${t}"`),t}).join(", ")}var $b;function MC(){return $b||($b=de.createCanvasElement().getContext(v9e),$b)}function T9e(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)}function L9e(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function A9e(e){return e=e||{},!e.fillLinearGradientColorStops&&!e.fillRadialGradientColorStops&&!e.fillPatternImage&&(e.fill=e.fill||"black"),e}class Lr extends Be{constructor(t){super(A9e(t)),this._partialTextX=0,this._partialTextY=0;for(var n=0;n1&&(E+=a)}}}_hitFunc(t){var n=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}setText(t){var n=de._isString(t)?t:t==null?"":t+"";return this._setAttr(y9e,n),this}getWidth(){var t=this.attrs.width===Dg||this.attrs.width===void 0;return t?this.getTextWidth()+this.padding()*2:this.attrs.width}getHeight(){var t=this.attrs.height===Dg||this.attrs.height===void 0;return t?this.fontSize()*this.textArr.length*this.lineHeight()+this.padding()*2:this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return de.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var n=MC(),r=this.fontSize(),i;return n.save(),n.font=this._getContextFont(),i=n.measureText(t),n.restore(),{width:i.width,height:r}}_getContextFont(){return this.fontStyle()+Fb+this.fontVariant()+Fb+(this.fontSize()+w9e)+P9e(this.fontFamily())}_addTextLine(t){this.align()===cv&&(t=t.trim());var n=this._getTextWidth(t);return this.textArr.push({text:t,width:n,lastInParagraph:!1})}_getTextWidth(t){var n=this.letterSpacing(),r=t.length;return MC().measureText(t).width+(r?n*(r-1):0)}_setTextData(){var t=this.text().split(` -`),n=+this.fontSize(),r=0,i=this.lineHeight()*n,o=this.attrs.width,a=this.attrs.height,s=o!==Dg&&o!==void 0,l=a!==Dg&&a!==void 0,u=this.padding(),d=o-u*2,h=a-u*2,m=0,v=this.wrap(),b=v!==nD,S=v!==k9e&&b,k=this.ellipsis();this.textArr=[],MC().font=this._getContextFont();for(var E=k?this._getTextWidth(OC):0,_=0,T=t.length;_d)for(;A.length>0;){for(var R=0,D=A.length,j="",z=0;R>>1,K=A.slice(0,V+1),te=this._getTextWidth(K)+E;te<=d?(R=V+1,j=K,z=te):D=V}if(j){if(S){var q,F=A[j.length],U=F===Fb||F===eD;U&&z<=d?q=j.length:q=Math.max(j.lastIndexOf(Fb),j.lastIndexOf(eD))+1,q>0&&(R=q,j=j.slice(0,R),z=this._getTextWidth(j))}j=j.trimRight(),this._addTextLine(j),r=Math.max(r,z),m+=i;var X=this._shouldHandleEllipsis(m);if(X){this._tryToAddEllipsisToLastLine();break}if(A=A.slice(R),A=A.trimLeft(),A.length>0&&(I=this._getTextWidth(A),I<=d)){this._addTextLine(A),m+=i,r=Math.max(r,I);break}}else break}else this._addTextLine(A),m+=i,r=Math.max(r,I),this._shouldHandleEllipsis(m)&&_h)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,o=i!==Dg&&i!==void 0,a=this.padding(),s=i-a*2,l=this.wrap(),u=l!==nD;return!u||o&&t+r>s}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==Dg&&t!==void 0,r=this.padding(),i=t-r*2,o=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(!(!a||!o)){if(n){var s=this._getTextWidth(a.text+OC)=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i0&&(s+=t.dataArray[l].pathLength);var u=0;i==="center"&&(u=Math.max(0,s/2-a/2)),i==="right"&&(u=Math.max(0,s-a));for(var d=LG(this.text()),h=this.text().split(" ").length-1,m,v,b,S=-1,k=0,E=function(){k=0;for(var te=t.dataArray,q=S+1;q0)return S=q,te[q];te[q].command==="M"&&(m={x:te[q].points[0],y:te[q].points[1]})}return{}},_=function(te){var q=t._getTextSize(te).width+r;te===" "&&i==="justify"&&(q+=(s-a)/h);var F=0,U=0;for(v=void 0;Math.abs(q-F)/q>.01&&U<20;){U++;for(var X=F;b===void 0;)b=E(),b&&X+b.pathLengthq?v=Hn.getPointOnLine(q,m.x,m.y,b.points[0],b.points[1],m.x,m.y):b=void 0;break;case"A":var W=b.points[4],Q=b.points[5],ie=b.points[4]+Q;k===0?k=W+1e-8:q>F?k+=Math.PI/180*Q/Math.abs(Q):k-=Math.PI/360*Q/Math.abs(Q),(Q<0&&k=0&&k>ie)&&(k=ie,Z=!0),v=Hn.getPointOnEllipticalArc(b.points[0],b.points[1],b.points[2],b.points[3],k,b.points[6]);break;case"C":k===0?q>b.pathLength?k=1e-8:k=q/b.pathLength:q>F?k+=(q-F)/b.pathLength/2:k=Math.max(k-(F-q)/b.pathLength/2,0),k>1&&(k=1,Z=!0),v=Hn.getPointOnCubicBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3],b.points[4],b.points[5]);break;case"Q":k===0?k=q/b.pathLength:q>F?k+=(q-F)/b.pathLength:k-=(F-q)/b.pathLength,k>1&&(k=1,Z=!0),v=Hn.getPointOnQuadraticBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3]);break}v!==void 0&&(F=Hn.getLineLength(m.x,m.y,v.x,v.y)),Z&&(Z=!1,b=void 0)}},T="C",A=t._getTextSize(T).width+r,I=u/A-1,R=0;Re+`.${NG}`).join(" "),rD="nodesRect",I9e=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],R9e={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const D9e="ontouchstart"in pt._global;function N9e(e,t){if(e==="rotater")return"crosshair";t+=de.degToRad(R9e[e]||0);var n=(de.radToDeg(t)%360+360)%360;return de._inRange(n,315+22.5,360)||de._inRange(n,0,22.5)?"ns-resize":de._inRange(n,45-22.5,45+22.5)?"nesw-resize":de._inRange(n,90-22.5,90+22.5)?"ew-resize":de._inRange(n,135-22.5,135+22.5)?"nwse-resize":de._inRange(n,180-22.5,180+22.5)?"ns-resize":de._inRange(n,225-22.5,225+22.5)?"nesw-resize":de._inRange(n,270-22.5,270+22.5)?"ew-resize":de._inRange(n,315-22.5,315+22.5)?"nwse-resize":(de.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var eS=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],iD=1e8;function j9e(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}function jG(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),i=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:i})}function B9e(e,t){const n=j9e(e);return jG(e,t,n)}function F9e(e,t,n){let r=t;for(let i=0;i{const i=()=>{this.nodes().length===1&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),!this._transforming&&!this.isDragging()&&this.update()},o=r._attrsAffectingSize.map(a=>a+"Change."+this._getEventNamespace()).join(" ");r.on(o,i),r.on(I9e.map(a=>a+`.${this._getEventNamespace()}`).join(" "),i),r.on(`absoluteTransformChange.${this._getEventNamespace()}`,i),this._proxyDrag(r)}),this._resetTransformCache();var n=!!this.findOne(".top-left");return n&&this.update(),this}_proxyDrag(t){let n;t.on(`dragstart.${this._getEventNamespace()}`,r=>{n=t.getAbsolutePosition(),!this.isDragging()&&t!==this.findOne(".back")&&this.startDrag(r,!1)}),t.on(`dragmove.${this._getEventNamespace()}`,r=>{if(!n)return;const i=t.getAbsolutePosition(),o=i.x-n.x,a=i.y-n.y;this.nodes().forEach(s=>{if(s===t||s.isDragging())return;const l=s.getAbsolutePosition();s.setAbsolutePosition({x:l.x+o,y:l.y+a}),s.startDrag(r)}),n=null})}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach(t=>{t.off("."+this._getEventNamespace())}),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(rD),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(rD,this.__getNodeRect)}__getNodeShape(t,n=this.rotation(),r){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=t.getAbsoluteScale(r),a=t.getAbsolutePosition(r),s=i.x*o.x-t.offsetX()*o.x,l=i.y*o.y-t.offsetY()*o.y;const u=(pt.getAngle(t.getAbsoluteRotation())+Math.PI*2)%(Math.PI*2),d={x:a.x+s*Math.cos(u)+l*Math.sin(-u),y:a.y+l*Math.cos(u)+s*Math.sin(u),width:i.width*o.x,height:i.height*o.y,rotation:u};return jG(d,-pt.getAngle(n),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-iD,y:-iD,width:0,height:0,rotation:0};const n=[];this.nodes().map(u=>{const d=u.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var h=[{x:d.x,y:d.y},{x:d.x+d.width,y:d.y},{x:d.x+d.width,y:d.y+d.height},{x:d.x,y:d.y+d.height}],m=u.getAbsoluteTransform();h.forEach(function(v){var b=m.point(v);n.push(b)})});const r=new ka;r.rotate(-pt.getAngle(this.rotation()));var i,o,a,s;n.forEach(function(u){var d=r.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),r.invert();const l=r.point({x:i,y:o});return{x:l.x,y:l.y,width:a-i,height:s-o,rotation:pt.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),eS.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var n=new By({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:D9e?10:"auto"}),r=this;n.on("mousedown touchstart",function(i){r._handleMouseDown(i)}),n.on("dragstart",i=>{n.stopDrag(),i.cancelBubble=!0}),n.on("dragend",i=>{i.cancelBubble=!0}),n.on("mouseenter",()=>{var i=pt.getAngle(this.rotation()),o=N9e(t,i);n.getStage().content&&(n.getStage().content.style.cursor=o),this._cursorChange=!0}),n.on("mouseout",()=>{n.getStage().content&&(n.getStage().content.style.cursor=""),this._cursorChange=!1}),this.add(n)}_createBack(){var t=new Be({name:"back",width:0,height:0,draggable:!0,sceneFunc(n){var r=this.getParent(),i=r.padding();n.beginPath(),n.rect(-i,-i,this.width()+i*2,this.height()+i*2),n.moveTo(this.width()/2,-i),r.rotateEnabled()&&n.lineTo(this.width()/2,-r.rotateAnchorOffset()*de._sign(this.height())-i),n.fillStrokeShape(this)},hitFunc:(n,r)=>{if(this.shouldOverdrawWholeArea()){var i=this.padding();n.beginPath(),n.rect(-i,-i,r.width()+i*2,r.height()+i*2),n.fillStrokeShape(r)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",n=>{n.cancelBubble=!0}),t.on("dragmove",n=>{n.cancelBubble=!0}),t.on("dragend",n=>{n.cancelBubble=!0}),this.on("dragmove",n=>{this.update()})}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var n=this._getNodeRect(),r=n.width,i=n.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(i,2));this.sin=Math.abs(i/o),this.cos=Math.abs(r/o),typeof window<"u"&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),s=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:s.x-a.x,y:s.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach(l=>{l._fire("transformstart",{evt:t.evt,target:l})})}_handleMouseMove(t){var n,r,i,o=this.findOne("."+this._movingAnchorName),a=o.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let l={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const u=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(u,l,t)),o.setAbsolutePosition(l);const d=o.getAbsolutePosition();if(!(u.x===d.x&&u.y===d.y)){if(this._movingAnchorName==="rotater"){var h=this._getNodeRect();n=o.x()-h.width/2,r=-o.y()+h.height/2;let te=Math.atan2(-r,n)+Math.PI/2;h.height<0&&(te-=Math.PI);var m=pt.getAngle(this.rotation());const q=m+te,F=pt.getAngle(this.rotationSnapTolerance()),X=F9e(this.rotationSnaps(),q,F)-h.rotation,Z=B9e(h,X);this._fitNodesInto(Z,t);return}var v=this.keepRatio()||t.shiftKey,_=this.centeredScaling()||t.altKey;if(this._movingAnchorName==="top-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-left").x()>b.x?-1:1,k=this.findOne(".top-left").y()>b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-left").x(b.x-n),this.findOne(".top-left").y(b.y-r)}}else if(this._movingAnchorName==="top-center")this.findOne(".top-left").y(o.y());else if(this._movingAnchorName==="top-right"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(o.x()-b.x,2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-right").x()b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-right").x(b.x+n),this.findOne(".top-right").y(b.y-r)}var E=o.position();this.findOne(".top-left").y(E.y),this.findOne(".bottom-right").x(E.x)}else if(this._movingAnchorName==="middle-left")this.findOne(".top-left").x(o.x());else if(this._movingAnchorName==="middle-right")this.findOne(".bottom-right").x(o.x());else if(this._movingAnchorName==="bottom-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(o.y()-b.y,2));var S=b.x{r._fire("transformend",{evt:t,target:r})}),this._movingAnchorName=null}}_fitNodesInto(t,n){var r=this._getNodeRect();const i=1;if(de._inRange(t.width,-this.padding()*2-i,i)){this.update();return}if(de._inRange(t.height,-this.padding()*2-i,i)){this.update();return}const o=this.flipEnabled();var a=new ka;if(a.rotate(pt.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const h=a.point({x:-this.padding()*2,y:0});if(t.x+=h.x,t.y+=h.y,t.width+=this.padding()*2,this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,!o){this.update();return}}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const h=a.point({x:this.padding()*2,y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=this.padding()*2,!o){this.update();return}}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const h=a.point({x:0,y:-this.padding()*2});if(t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const h=a.point({x:0,y:this.padding()*2});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}if(this.boundBoxFunc()){const h=this.boundBoxFunc()(r,t);h?t=h:de.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new ka;l.translate(r.x,r.y),l.rotate(r.rotation),l.scale(r.width/s,r.height/s);const u=new ka;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const d=u.multiply(l.invert());this._nodes.forEach(h=>{var m;const v=h.getParent().getAbsoluteTransform(),b=h.getTransform().copy();b.translate(h.offsetX(),h.offsetY());const S=new ka;S.multiply(v.copy().invert()).multiply(d).multiply(v).multiply(b);const k=S.decompose();h.setAttrs(k),this._fire("transform",{evt:n,target:h}),h._fire("transform",{evt:n,target:h}),(m=h.getLayer())===null||m===void 0||m.batchDraw()}),this.rotation(de._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,n){this.findOne(t).setAttrs(n)}update(){var t,n=this._getNodeRect();this.rotation(de._getRotation(n.rotation));var r=n.width,i=n.height,o=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),l=this.anchorSize();this.find("._anchor").forEach(u=>{u.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})}),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+s,offsetY:l/2+s,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:r/2,y:0,offsetY:l/2+s,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:r,y:0,offsetX:l/2-s,offsetY:l/2+s,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:l/2+s,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:r,y:i/2,offsetX:l/2-s,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:l/2+s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:r/2,y:i,offsetY:l/2-s,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:r,y:i,offsetX:l/2-s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:r/2,y:-this.rotateAnchorOffset()*de._sign(i)-s,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:r,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),(t=this.getLayer())===null||t===void 0||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),i0.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Xe.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}};function $9e(e){return e instanceof Array||de.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach(function(t){eS.indexOf(t)===-1&&de.warn("Unknown anchor name: "+t+". Available names are: "+eS.join(", "))}),e||[]}In.prototype.className="Transformer";Ar(In);ee.addGetterSetter(In,"enabledAnchors",eS,$9e);ee.addGetterSetter(In,"flipEnabled",!0,nl());ee.addGetterSetter(In,"resizeEnabled",!0);ee.addGetterSetter(In,"anchorSize",10,Ge());ee.addGetterSetter(In,"rotateEnabled",!0);ee.addGetterSetter(In,"rotationSnaps",[]);ee.addGetterSetter(In,"rotateAnchorOffset",50,Ge());ee.addGetterSetter(In,"rotationSnapTolerance",5,Ge());ee.addGetterSetter(In,"borderEnabled",!0);ee.addGetterSetter(In,"anchorStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"anchorStrokeWidth",1,Ge());ee.addGetterSetter(In,"anchorFill","white");ee.addGetterSetter(In,"anchorCornerRadius",0,Ge());ee.addGetterSetter(In,"borderStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"borderStrokeWidth",1,Ge());ee.addGetterSetter(In,"borderDash");ee.addGetterSetter(In,"keepRatio",!0);ee.addGetterSetter(In,"centeredScaling",!1);ee.addGetterSetter(In,"ignoreStroke",!1);ee.addGetterSetter(In,"padding",0,Ge());ee.addGetterSetter(In,"node");ee.addGetterSetter(In,"nodes");ee.addGetterSetter(In,"boundBoxFunc");ee.addGetterSetter(In,"anchorDragBoundFunc");ee.addGetterSetter(In,"shouldOverdrawWholeArea",!1);ee.addGetterSetter(In,"useSingleNodeRotation",!0);ee.backCompat(In,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class hc extends Be{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,pt.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}hc.prototype.className="Wedge";hc.prototype._centroid=!0;hc.prototype._attrsAffectingSize=["radius"];Ar(hc);ee.addGetterSetter(hc,"radius",0,Ge());ee.addGetterSetter(hc,"angle",0,Ge());ee.addGetterSetter(hc,"clockwise",!1);ee.backCompat(hc,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});function oD(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var z9e=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],H9e=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function V9e(e,t){var n=e.data,r=e.width,i=e.height,o,a,s,l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D,j,z,V,K,te,q=t+t+1,F=r-1,U=i-1,X=t+1,Z=X*(X+1)/2,W=new oD,Q=null,ie=W,fe=null,Se=null,Te=z9e[t],ye=H9e[t];for(s=1;s>ye,K!==0?(K=255/K,n[d]=(m*Te>>ye)*K,n[d+1]=(v*Te>>ye)*K,n[d+2]=(b*Te>>ye)*K):n[d]=n[d+1]=n[d+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=h+((l=o+t+1)>ye,K>0?(K=255/K,n[l]=(m*Te>>ye)*K,n[l+1]=(v*Te>>ye)*K,n[l+2]=(b*Te>>ye)*K):n[l]=n[l+1]=n[l+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=o+((l=a+X)0&&V9e(t,n)};ee.addGetterSetter(Xe,"blurRadius",0,Ge(),ee.afterSetFilter);const U9e=function(e){var t=this.brightness()*255,n=e.data,r=n.length,i;for(i=0;i255?255:i,o=o<0?0:o>255?255:o,a=a<0?0:a>255?255:a,n[s]=i,n[s+1]=o,n[s+2]=a};ee.addGetterSetter(Xe,"contrast",0,Ge(),ee.afterSetFilter);const q9e=function(e){var t=this.embossStrength()*10,n=this.embossWhiteLevel()*255,r=this.embossDirection(),i=this.embossBlend(),o=0,a=0,s=e.data,l=e.width,u=e.height,d=l*4,h=u;switch(r){case"top-left":o=-1,a=-1;break;case"top":o=-1,a=0;break;case"top-right":o=-1,a=1;break;case"right":o=0,a=1;break;case"bottom-right":o=1,a=1;break;case"bottom":o=1,a=0;break;case"bottom-left":o=1,a=-1;break;case"left":o=0,a=-1;break;default:de.error("Unknown emboss direction: "+r)}do{var m=(h-1)*d,v=o;h+v<1&&(v=0),h+v>u&&(v=0);var b=(h-1+v)*l*4,S=l;do{var k=m+(S-1)*4,E=a;S+E<1&&(E=0),S+E>l&&(E=0);var _=b+(S-1+E)*4,T=s[k]-s[_],A=s[k+1]-s[_+1],I=s[k+2]-s[_+2],R=T,D=R>0?R:-R,j=A>0?A:-A,z=I>0?I:-I;if(j>D&&(R=A),z>D&&(R=I),R*=t,i){var V=s[k]+R,K=s[k+1]+R,te=s[k+2]+R;s[k]=V>255?255:V<0?0:V,s[k+1]=K>255?255:K<0?0:K,s[k+2]=te>255?255:te<0?0:te}else{var q=n-R;q<0?q=0:q>255&&(q=255),s[k]=s[k+1]=s[k+2]=q}}while(--S)}while(--h)};ee.addGetterSetter(Xe,"embossStrength",.5,Ge(),ee.afterSetFilter);ee.addGetterSetter(Xe,"embossWhiteLevel",.5,Ge(),ee.afterSetFilter);ee.addGetterSetter(Xe,"embossDirection","top-left",null,ee.afterSetFilter);ee.addGetterSetter(Xe,"embossBlend",!1,null,ee.afterSetFilter);function IC(e,t,n,r,i){var o=n-t,a=i-r,s;return o===0?r+a/2:a===0?r:(s=(e-t)/o,s=a*s+r,s)}const Y9e=function(e){var t=e.data,n=t.length,r=t[0],i=r,o,a=t[1],s=a,l,u=t[2],d=u,h,m,v=this.enhance();if(v!==0){for(m=0;mi&&(i=o),l=t[m+1],ls&&(s=l),h=t[m+2],hd&&(d=h);i===r&&(i=255,r=0),s===a&&(s=255,a=0),d===u&&(d=255,u=0);var b,S,k,E,_,T,A,I,R;for(v>0?(S=i+v*(255-i),k=r-v*(r-0),_=s+v*(255-s),T=a-v*(a-0),I=d+v*(255-d),R=u-v*(u-0)):(b=(i+r)*.5,S=i+v*(i-b),k=r+v*(r-b),E=(s+a)*.5,_=s+v*(s-E),T=a+v*(a-E),A=(d+u)*.5,I=d+v*(d-A),R=u+v*(u-A)),m=0;mE?k:E;var _=a,T=o,A,I,R=360/T*Math.PI/180,D,j;for(I=0;IT?_:T;var A=a,I=o,R,D,j=n.polarRotation||0,z,V;for(d=0;dt&&(A=T,I=0,R=-1),i=0;i=0&&v=0&&b=0&&v=0&&b=255*4?255:0}return a}function s8e(e,t,n){for(var r=[.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&v=0&&b=n))for(o=S;o=r||(a=(n*o+i)*4,s+=A[a+0],l+=A[a+1],u+=A[a+2],d+=A[a+3],T+=1);for(s=s/T,l=l/T,u=u/T,d=d/T,i=v;i=n))for(o=S;o=r||(a=(n*o+i)*4,A[a+0]=s,A[a+1]=l,A[a+2]=u,A[a+3]=d)}};ee.addGetterSetter(Xe,"pixelSize",8,Ge(),ee.afterSetFilter);const d8e=function(e){var t=Math.round(this.levels()*254)+1,n=e.data,r=n.length,i=255/t,o;for(o=0;o255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"blue",0,oG,ee.afterSetFilter);const h8e=function(e){var t=e.data,n=t.length,r=this.red(),i=this.green(),o=this.blue(),a=this.alpha(),s,l;for(s=0;s255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"blue",0,oG,ee.afterSetFilter);ee.addGetterSetter(Xe,"alpha",1,function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e});const p8e=function(e){var t=e.data,n=t.length,r,i,o,a;for(r=0;r127&&(u=255-u),d>127&&(d=255-d),h>127&&(h=255-h),t[l]=u,t[l+1]=d,t[l+2]=h}while(--s)}while(--o)},m8e=function(e){var t=this.threshold()*255,n=e.data,r=n.length,i;for(i=0;i{const{width:n,height:r}=t,i=document.createElement("div"),o=new $g.Stage({container:i,width:n,height:r}),a=new $g.Layer,s=new $g.Layer;a.add(new $g.Rect({...t,fill:"white"})),e.forEach(u=>s.add(new $g.Line({points:u.points,stroke:"black",strokeWidth:u.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,globalCompositeOperation:u.tool==="brush"?"source-over":"destination-out"}))),o.add(a),o.add(s);const l=o.toDataURL({...t});return i.remove(),l};let BG=null,FG=null;const y8e=e=>{BG=e},el=()=>BG,b8e=e=>{FG=e},$G=()=>FG,S8e=e=>{const t=window.open("");t&&e.forEach(n=>{const r=new Image;r.src=n.base64,t.document.write(n.caption),t.document.write("
"),t.document.write(r.outerHTML),t.document.write("

")})},zG=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),x8e=e=>{const t=el(),{generationMode:n,generationState:r,postprocessingState:i,canvasState:o,systemState:a}=e,{codeformerFidelity:s,facetoolStrength:l,facetoolType:u,hiresFix:d,hiresStrength:h,shouldRunESRGAN:m,shouldRunFacetool:v,upscalingLevel:b,upscalingStrength:S}=i,{cfgScale:k,height:E,img2imgStrength:_,infillMethod:T,initialImage:A,iterations:I,perlin:R,prompt:D,negativePrompt:j,sampler:z,seamBlur:V,seamless:K,seamSize:te,seamSteps:q,seamStrength:F,seed:U,seedWeights:X,shouldFitToWidthHeight:Z,shouldGenerateVariations:W,shouldRandomizeSeed:Q,steps:ie,threshold:fe,tileSize:Se,variationAmount:Te,width:ye}=r,{shouldDisplayInProgressType:He,saveIntermediatesInterval:Ne,enableImageDebugging:tt}=a,_e={prompt:D,iterations:I,steps:ie,cfg_scale:k,threshold:fe,perlin:R,height:E,width:ye,sampler_name:z,seed:U,progress_images:He==="full-res",progress_latents:He==="latents",save_intermediates:Ne,generation_mode:n,init_mask:""};let lt=!1,wt=!1;if(j!==""&&(_e.prompt=`${D} [${j}]`),_e.seed=Q?zG(hP,pP):U,["txt2img","img2img"].includes(n)&&(_e.seamless=K,_e.hires_fix=d,d&&(_e.strength=h),m&&(lt={level:b,strength:S}),v&&(wt={type:u,strength:l},u==="codeformer"&&(wt.codeformer_fidelity=s))),n==="img2img"&&A&&(_e.init_img=typeof A=="string"?A:A.url,_e.strength=_,_e.fit=Z),n==="unifiedCanvas"&&t){const{layerState:{objects:ct},boundingBoxCoordinates:mt,boundingBoxDimensions:St,stageScale:Ae,isMaskEnabled:ut,shouldPreserveMaskedArea:Mt,boundingBoxScaleMethod:at,scaledBoundingBoxDimensions:Ct}=o,Zt={...mt,...St},le=v8e(ut?ct.filter(tP):[],Zt);_e.init_mask=le,_e.fit=!1,_e.strength=_,_e.invert_mask=Mt,_e.bounding_box=Zt;const De=t.scale();t.scale({x:1/Ae,y:1/Ae});const Ue=t.getAbsolutePosition(),Ye=t.toDataURL({x:Zt.x+Ue.x,y:Zt.y+Ue.y,width:Zt.width,height:Zt.height});tt&&S8e([{base64:le,caption:"mask sent as init_mask"},{base64:Ye,caption:"image sent as init_img"}]),t.scale(De),_e.init_img=Ye,_e.progress_images=!1,at!=="none"&&(_e.inpaint_width=Ct.width,_e.inpaint_height=Ct.height),_e.seam_size=te,_e.seam_blur=V,_e.seam_strength=F,_e.seam_steps=q,_e.tile_size=Se,_e.infill_method=T,_e.force_outpaint=!1}return W?(_e.variation_amount=Te,X&&(_e.with_variations=Yxe(X))):_e.variation_amount=0,tt&&(_e.enable_image_debugging=tt),{generationParameters:_e,esrganParameters:lt,facetoolParameters:wt}};var w8e=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,C8e=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,_8e=/[^-+\dA-Z]/g;function no(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(aD[t]||t||aD.default);var i=t.slice(0,4);(i==="UTC:"||i==="GMT:")&&(t=t.slice(4),n=!0,i==="GMT:"&&(r=!0));var o=function(){return n?"getUTC":"get"},a=function(){return e[o()+"Date"]()},s=function(){return e[o()+"Day"]()},l=function(){return e[o()+"Month"]()},u=function(){return e[o()+"FullYear"]()},d=function(){return e[o()+"Hours"]()},h=function(){return e[o()+"Minutes"]()},m=function(){return e[o()+"Seconds"]()},v=function(){return e[o()+"Milliseconds"]()},b=function(){return n?0:e.getTimezoneOffset()},S=function(){return k8e(e)},k=function(){return E8e(e)},E={d:function(){return a()},dd:function(){return wa(a())},ddd:function(){return Uo.dayNames[s()]},DDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()],short:!0})},dddd:function(){return Uo.dayNames[s()+7]},DDDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()+7]})},m:function(){return l()+1},mm:function(){return wa(l()+1)},mmm:function(){return Uo.monthNames[l()]},mmmm:function(){return Uo.monthNames[l()+12]},yy:function(){return String(u()).slice(2)},yyyy:function(){return wa(u(),4)},h:function(){return d()%12||12},hh:function(){return wa(d()%12||12)},H:function(){return d()},HH:function(){return wa(d())},M:function(){return h()},MM:function(){return wa(h())},s:function(){return m()},ss:function(){return wa(m())},l:function(){return wa(v(),3)},L:function(){return wa(Math.floor(v()/10))},t:function(){return d()<12?Uo.timeNames[0]:Uo.timeNames[1]},tt:function(){return d()<12?Uo.timeNames[2]:Uo.timeNames[3]},T:function(){return d()<12?Uo.timeNames[4]:Uo.timeNames[5]},TT:function(){return d()<12?Uo.timeNames[6]:Uo.timeNames[7]},Z:function(){return r?"GMT":n?"UTC":P8e(e)},o:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60)*100+Math.abs(b())%60,4)},p:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60),2)+":"+wa(Math.floor(Math.abs(b())%60),2)},S:function(){return["th","st","nd","rd"][a()%10>3?0:(a()%100-a()%10!=10)*a()%10]},W:function(){return S()},WW:function(){return wa(S())},N:function(){return k()}};return t.replace(w8e,function(_){return _ in E?E[_]():_.slice(1,_.length-1)})}var aD={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Uo={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},wa=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return String(t).padStart(n,"0")},sD=function(t){var n=t.y,r=t.m,i=t.d,o=t._,a=t.dayName,s=t.short,l=s===void 0?!1:s,u=new Date,d=new Date;d.setDate(d[o+"Date"]()-1);var h=new Date;h.setDate(h[o+"Date"]()+1);var m=function(){return u[o+"Date"]()},v=function(){return u[o+"Month"]()},b=function(){return u[o+"FullYear"]()},S=function(){return d[o+"Date"]()},k=function(){return d[o+"Month"]()},E=function(){return d[o+"FullYear"]()},_=function(){return h[o+"Date"]()},T=function(){return h[o+"Month"]()},A=function(){return h[o+"FullYear"]()};return b()===n&&v()===r&&m()===i?l?"Tdy":"Today":E()===n&&k()===r&&S()===i?l?"Ysd":"Yesterday":A()===n&&T()===r&&_()===i?l?"Tmw":"Tomorrow":a},k8e=function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=new Date(n.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=n.getTimezoneOffset()-r.getTimezoneOffset();n.setHours(n.getHours()-i);var o=(n-r)/(864e5*7);return 1+Math.floor(o)},E8e=function(t){var n=t.getDay();return n===0&&(n=7),n},P8e=function(t){return(String(t).match(C8e)||[""]).pop().replace(_8e,"").replace(/GMT\+0000/g,"UTC")};const T8e=(e,t)=>{const{dispatch:n,getState:r}=e;return{emitGenerateImage:i=>{n(Hs(!0));const o=r(),{generation:a,postprocessing:s,system:l,canvas:u}=o,d={generationMode:i,generationState:a,postprocessingState:s,canvasState:u,systemState:l};n(J6e());const{generationParameters:h,esrganParameters:m,facetoolParameters:v}=x8e(d);t.emit("generateImage",h,m,v),h.init_mask&&(h.init_mask=h.init_mask.substr(0,64).concat("...")),h.init_img&&(h.init_img=h.init_img.substr(0,64).concat("...")),n(to({timestamp:no(new Date,"isoDateTime"),message:`Image generation requested: ${JSON.stringify({...h,...m,...v})}`}))},emitRunESRGAN:i=>{n(Hs(!0));const{postprocessing:{upscalingLevel:o,upscalingStrength:a}}=r(),s={upscale:[o,a]};t.emit("runPostprocessing",i,{type:"esrgan",...s}),n(to({timestamp:no(new Date,"isoDateTime"),message:`ESRGAN upscale requested: ${JSON.stringify({file:i.url,...s})}`}))},emitRunFacetool:i=>{n(Hs(!0));const{postprocessing:{facetoolType:o,facetoolStrength:a,codeformerFidelity:s}}=r(),l={facetool_strength:a};o==="codeformer"&&(l.codeformer_fidelity=s),t.emit("runPostprocessing",i,{type:o,...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`Face restoration (${o}) requested: ${JSON.stringify({file:i.url,...l})}`}))},emitDeleteImage:i=>{const{url:o,uuid:a,category:s,thumbnail:l}=i;n(eU(i)),t.emit("deleteImage",o,l,a,s)},emitRequestImages:i=>{const o=r().gallery,{earliest_mtime:a}=o.categories[i];t.emit("requestImages",i,a)},emitRequestNewImages:i=>{const o=r().gallery,{latest_mtime:a}=o.categories[i];t.emit("requestLatestImages",i,a)},emitCancelProcessing:()=>{t.emit("cancel")},emitRequestSystemConfig:()=>{t.emit("requestSystemConfig")},emitSearchForModels:i=>{t.emit("searchForModels",i)},emitAddNewModel:i=>{t.emit("addNewModel",i)},emitDeleteModel:i=>{t.emit("deleteModel",i)},emitRequestModelChange:i=>{n(X6e()),t.emit("requestModelChange",i)},emitSaveStagingAreaImageToGallery:i=>{t.emit("requestSaveStagingAreaImageToGallery",i)},emitRequestEmptyTempFolder:()=>{t.emit("requestEmptyTempFolder")}}};let Hb;const L8e=new Uint8Array(16);function A8e(){if(!Hb&&(Hb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Hb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Hb(L8e)}const zi=[];for(let e=0;e<256;++e)zi.push((e+256).toString(16).slice(1));function O8e(e,t=0){return(zi[e[t+0]]+zi[e[t+1]]+zi[e[t+2]]+zi[e[t+3]]+"-"+zi[e[t+4]]+zi[e[t+5]]+"-"+zi[e[t+6]]+zi[e[t+7]]+"-"+zi[e[t+8]]+zi[e[t+9]]+"-"+zi[e[t+10]]+zi[e[t+11]]+zi[e[t+12]]+zi[e[t+13]]+zi[e[t+14]]+zi[e[t+15]]).toLowerCase()}const M8e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lD={randomUUID:M8e};function cm(e,t,n){if(lD.randomUUID&&!t&&!e)return lD.randomUUID();e=e||{};const r=e.random||(e.rng||A8e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return O8e(r)}const I8=zr("socketio/generateImage"),I8e=zr("socketio/runESRGAN"),R8e=zr("socketio/runFacetool"),D8e=zr("socketio/deleteImage"),R8=zr("socketio/requestImages"),uD=zr("socketio/requestNewImages"),N8e=zr("socketio/cancelProcessing"),j8e=zr("socketio/requestSystemConfig"),cD=zr("socketio/searchForModels"),Fy=zr("socketio/addNewModel"),B8e=zr("socketio/deleteModel"),HG=zr("socketio/requestModelChange"),F8e=zr("socketio/saveStagingAreaImageToGallery"),$8e=zr("socketio/requestEmptyTempFolder"),z8e=e=>{const{dispatch:t,getState:n}=e;return{onConnect:()=>{try{t(PR(!0)),t(D4(zt.t("common:statusConnected"))),t(j8e());const r=n().gallery;r.categories.result.latest_mtime?t(uD("result")):t(R8("result")),r.categories.user.latest_mtime?t(uD("user")):t(R8("user"))}catch(r){console.error(r)}},onDisconnect:()=>{try{t(PR(!1)),t(D4(zt.t("common:statusDisconnected"))),t(to({timestamp:no(new Date,"isoDateTime"),message:"Disconnected from server",level:"warning"}))}catch(r){console.error(r)}},onGenerationResult:r=>{try{const i=n(),{activeTab:o}=i.ui,{shouldLoopback:a}=i.postprocessing,{boundingBox:s,generationMode:l,...u}=r,d={uuid:cm(),...u};if(["txt2img","img2img"].includes(l)&&t(sm({category:"result",image:{...d,category:"result"}})),l==="unifiedCanvas"&&r.boundingBox){const{boundingBox:h}=r;t(hxe({image:{...d,category:"temp"},boundingBox:h})),i.canvas.shouldAutoSave&&t(sm({image:{...d,category:"result"},category:"result"}))}if(a)switch(cP[o]){case"img2img":{t(k0(d));break}}t(xC()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image generated: ${r.url}`}))}catch(i){console.error(i)}},onIntermediateResult:r=>{try{t(Nxe({uuid:cm(),...r,category:"result"})),r.isBase64||t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image generated: ${r.url}`}))}catch(i){console.error(i)}},onPostprocessingResult:r=>{try{t(sm({category:"result",image:{uuid:cm(),...r,category:"result"}})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Postprocessed: ${r.url}`}))}catch(i){console.error(i)}},onProgressUpdate:r=>{try{t(Hs(!0)),t(G6e(r))}catch(i){console.error(i)}},onError:r=>{const{message:i,additionalData:o}=r;try{t(to({timestamp:no(new Date,"isoDateTime"),message:`Server error: ${i}`,level:"error"})),t(TR()),t(xC())}catch(a){console.error(a)}},onGalleryImages:r=>{const{images:i,areMoreImagesAvailable:o,category:a}=r,s=i.map(l=>({uuid:cm(),...l}));t(Dxe({images:s,areMoreImagesAvailable:o,category:a})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Loaded ${i.length} images`}))},onProcessingCanceled:()=>{t(K6e());const{intermediateImage:r}=n().gallery;r&&(r.isBase64||(t(sm({category:"result",image:r})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image saved: ${r.url}`}))),t(xC())),t(to({timestamp:no(new Date,"isoDateTime"),message:"Processing canceled",level:"warning"}))},onImageDeleted:r=>{const{url:i}=r;t(eU(r));const{generation:{initialImage:o,maskPath:a}}=n();(o===i||(o==null?void 0:o.url)===i)&&t(oU()),a===i&&t(cU("")),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image deleted: ${i}`}))},onSystemConfig:r=>{t(q6e(r)),r.infill_methods.includes("patchmatch")||t(uU(r.infill_methods[0]))},onFoundModels:r=>{const{search_folder:i,found_models:o}=r;t(FU(i)),t($U(o))},onNewModelAdded:r=>{const{new_model_name:i,model_list:o,update:a}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model Added: ${i}`,level:"info"})),t(Th({title:a?`${zt.t("modelmanager:modelUpdated")}: ${i}`:`${zt.t("modelmanager:modelAdded")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelDeleted:r=>{const{deleted_model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`${zt.t("modelmanager:modelAdded")}: ${i}`,level:"info"})),t(Th({title:`${zt.t("modelmanager:modelEntryDeleted")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelChanged:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(D4(zt.t("common:statusModelChanged"))),t(Hs(!1)),t(lm(!0)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model changed: ${i}`,level:"info"}))},onModelChangeFailed:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(lm(!0)),t(TR()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model change failed: ${i}`,level:"error"}))},onTempFolderEmptied:()=>{t(Th({title:zt.t("toast:tempFoldersEmptied"),status:"success",duration:2500,isClosable:!0}))}}},H8e=()=>{const{origin:e}=new URL(window.location.href),t=B4(e,{timeout:6e4,path:`${window.location.pathname}socket.io`});let n=!1;return i=>o=>a=>{const{onConnect:s,onDisconnect:l,onError:u,onPostprocessingResult:d,onGenerationResult:h,onIntermediateResult:m,onProgressUpdate:v,onGalleryImages:b,onProcessingCanceled:S,onImageDeleted:k,onSystemConfig:E,onModelChanged:_,onFoundModels:T,onNewModelAdded:A,onModelDeleted:I,onModelChangeFailed:R,onTempFolderEmptied:D}=z8e(i),{emitGenerateImage:j,emitRunESRGAN:z,emitRunFacetool:V,emitDeleteImage:K,emitRequestImages:te,emitRequestNewImages:q,emitCancelProcessing:F,emitRequestSystemConfig:U,emitSearchForModels:X,emitAddNewModel:Z,emitDeleteModel:W,emitRequestModelChange:Q,emitSaveStagingAreaImageToGallery:ie,emitRequestEmptyTempFolder:fe}=T8e(i,t);switch(n||(t.on("connect",()=>s()),t.on("disconnect",()=>l()),t.on("error",Se=>u(Se)),t.on("generationResult",Se=>h(Se)),t.on("postprocessingResult",Se=>d(Se)),t.on("intermediateResult",Se=>m(Se)),t.on("progressUpdate",Se=>v(Se)),t.on("galleryImages",Se=>b(Se)),t.on("processingCanceled",()=>{S()}),t.on("imageDeleted",Se=>{k(Se)}),t.on("systemConfig",Se=>{E(Se)}),t.on("foundModels",Se=>{T(Se)}),t.on("newModelAdded",Se=>{A(Se)}),t.on("modelDeleted",Se=>{I(Se)}),t.on("modelChanged",Se=>{_(Se)}),t.on("modelChangeFailed",Se=>{R(Se)}),t.on("tempFolderEmptied",()=>{D()}),n=!0),a.type){case"socketio/generateImage":{j(a.payload);break}case"socketio/runESRGAN":{z(a.payload);break}case"socketio/runFacetool":{V(a.payload);break}case"socketio/deleteImage":{K(a.payload);break}case"socketio/requestImages":{te(a.payload);break}case"socketio/requestNewImages":{q(a.payload);break}case"socketio/cancelProcessing":{F();break}case"socketio/requestSystemConfig":{U();break}case"socketio/searchForModels":{X(a.payload);break}case"socketio/addNewModel":{Z(a.payload);break}case"socketio/deleteModel":{W(a.payload);break}case"socketio/requestModelChange":{Q(a.payload);break}case"socketio/saveStagingAreaImageToGallery":{ie(a.payload);break}case"socketio/requestEmptyTempFolder":{fe();break}}o(a)}},V8e=["cursorPosition","isCanvasInitialized","doesCanvasNeedScaling"].map(e=>`canvas.${e}`),W8e=["currentIteration","currentStatus","currentStep","isCancelable","isConnected","isESRGANAvailable","isGFPGANAvailable","isProcessing","socketId","totalIterations","totalSteps","openModel"].map(e=>`system.${e}`),U8e=["categories","currentCategory","currentImage","currentImageUuid","shouldAutoSwitchToNewImages","shouldHoldGalleryOpen","intermediateImage"].map(e=>`gallery.${e}`),VG=wW({generation:twe,postprocessing:awe,gallery:Vxe,system:nCe,canvas:Ixe,ui:fCe,lightbox:Gxe}),G8e=IW.getPersistConfig({key:"root",storage:MW,rootReducer:VG,blacklist:[...V8e,...W8e,...U8e],debounce:300}),q8e=$Se(G8e,VG),WG=mSe({reducer:q8e,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(H8e()),devTools:{actionsDenylist:["canvas/setCursorPosition","canvas/setStageCoordinates","canvas/setStageScale","canvas/setIsDrawing","canvas/setBoundingBoxCoordinates","canvas/setBoundingBoxDimensions","canvas/setIsDrawing","canvas/addPointToCurrentLine"]}}),UG=GSe(WG),SP=w.createContext(null),Ie=A5e,he=b5e;let dD;const xP=()=>({setOpenUploader:e=>{e&&(dD=e)},openUploader:dD}),Or=ot(e=>e.ui,e=>cP[e.activeTab],{memoizeOptions:{equalityCheck:Ee.isEqual}}),Y8e=ot(e=>e.ui,e=>e.activeTab,{memoizeOptions:{equalityCheck:Ee.isEqual}}),mp=ot(e=>e.ui,e=>e,{memoizeOptions:{equalityCheck:Ee.isEqual}}),fD=e=>async(t,n)=>{const{imageFile:r}=e,i=n(),o=Or(i),a=new FormData;a.append("file",r,r.name),a.append("data",JSON.stringify({kind:"init"}));const l=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:a})).json(),u={uuid:cm(),category:"user",...l};t(sm({image:u,category:"user"})),o==="unifiedCanvas"?t(Nx(u)):o==="img2img"&&t(k0(u))};function K8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:nodes")}),y.jsx("p",{children:e("common:nodesDesc")})]})}const X8e=()=>{const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress post-processing-work-in-progress",children:[y.jsx("h1",{children:e("common:postProcessing")}),y.jsx("p",{children:e("common:postProcessDesc1")}),y.jsx("p",{children:e("common:postProcessDesc2")}),y.jsx("p",{children:e("common:postProcessDesc3")})]})};function Z8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:training")}),y.jsxs("p",{children:[e("common:trainingDesc1"),y.jsx("br",{}),y.jsx("br",{}),e("common:trainingDesc2")]})]})}function Q8e(e){const{i18n:t}=Ve(),n=localStorage.getItem("i18nextLng");N.useEffect(()=>{e()},[e]),N.useEffect(()=>{t.on("languageChanged",()=>{e()})},[e,t,n])}const J8e=yt({displayName:"ImageToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{transform:"matrix(1.10943,0,0,1.10943,-206.981,-213.533)",children:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M688.533,2405.95L542.987,2405.95C349.532,2405.95 192.47,2248.89 192.47,2055.44L192.47,542.987C192.47,349.532 349.532,192.47 542.987,192.47L2527.88,192.47C2721.33,192.47 2878.4,349.532 2878.4,542.987L2878.4,1172.79L3023.94,1172.79C3217.4,1172.79 3374.46,1329.85 3374.46,1523.3C3374.46,1523.3 3374.46,3035.75 3374.46,3035.75C3374.46,3229.21 3217.4,3386.27 3023.94,3386.27L1039.05,3386.27C845.595,3386.27 688.533,3229.21 688.533,3035.75L688.533,2405.95ZM3286.96,2634.37L3286.96,1523.3C3286.96,1378.14 3169.11,1260.29 3023.94,1260.29C3023.94,1260.29 1039.05,1260.29 1039.05,1260.29C893.887,1260.29 776.033,1378.14 776.033,1523.3L776.033,2489.79L1440.94,1736.22L2385.83,2775.59L2880.71,2200.41L3286.96,2634.37ZM2622.05,1405.51C2778.5,1405.51 2905.51,1532.53 2905.51,1688.98C2905.51,1845.42 2778.5,1972.44 2622.05,1972.44C2465.6,1972.44 2338.58,1845.42 2338.58,1688.98C2338.58,1532.53 2465.6,1405.51 2622.05,1405.51ZM2790.9,1172.79L1323.86,1172.79L944.882,755.906L279.97,1509.47L279.97,542.987C279.97,397.824 397.824,279.97 542.987,279.97C542.987,279.97 2527.88,279.97 2527.88,279.97C2673.04,279.97 2790.9,397.824 2790.9,542.987L2790.9,1172.79ZM2125.98,425.197C2282.43,425.197 2409.45,552.213 2409.45,708.661C2409.45,865.11 2282.43,992.126 2125.98,992.126C1969.54,992.126 1842.52,865.11 1842.52,708.661C1842.52,552.213 1969.54,425.197 2125.98,425.197Z"})})}),e_e=yt({displayName:"NodesIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 0,515.578 0,770.787L0,2766.03C0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM3427.88,770.787L3427.88,2766.03C3427.88,2957.53 3272.4,3113.01 3080.9,3113.01C3080.9,3113.01 462.407,3113.01 462.407,3113.01C270.906,3113.01 115.431,2957.53 115.431,2766.03L115.431,770.787C115.431,579.286 270.906,423.812 462.407,423.812L3080.9,423.812C3272.4,423.812 3427.88,579.286 3427.88,770.787ZM1214.23,1130.69L1321.47,1130.69C1324.01,1130.69 1326.54,1130.53 1329.05,1130.2C1329.05,1130.2 1367.3,1125.33 1397.94,1149.8C1421.63,1168.72 1437.33,1204.3 1437.33,1265.48L1437.33,2078.74L1220.99,2078.74C1146.83,2078.74 1086.61,2138.95 1086.61,2213.12L1086.61,2762.46C1086.61,2836.63 1146.83,2896.84 1220.99,2896.84L1770.34,2896.84C1844.5,2896.84 1904.71,2836.63 1904.71,2762.46L1904.71,2213.12C1904.71,2138.95 1844.5,2078.74 1770.34,2078.74L1554,2078.74L1554,1604.84C1625.84,1658.19 1703.39,1658.1 1703.39,1658.1C1703.54,1658.1 1703.69,1658.11 1703.84,1658.11L2362.2,1658.11L2362.2,1874.44C2362.2,1948.61 2422.42,2008.82 2496.58,2008.82L3045.93,2008.82C3120.09,2008.82 3180.3,1948.61 3180.3,1874.44L3180.3,1325.1C3180.3,1250.93 3120.09,1190.72 3045.93,1190.72L2496.58,1190.72C2422.42,1190.72 2362.2,1250.93 2362.2,1325.1L2362.2,1558.97L2362.2,1541.44L1704.23,1541.44C1702.2,1541.37 1650.96,1539.37 1609.51,1499.26C1577.72,1468.49 1554,1416.47 1554,1331.69L1554,1265.48C1554,1153.86 1513.98,1093.17 1470.76,1058.64C1411.24,1011.1 1338.98,1012.58 1319.15,1014.03L1214.23,1014.03L1214.23,796.992C1214.23,722.828 1154.02,662.617 1079.85,662.617L530.507,662.617C456.343,662.617 396.131,722.828 396.131,796.992L396.131,1346.34C396.131,1420.5 456.343,1480.71 530.507,1480.71L1079.85,1480.71C1154.02,1480.71 1214.23,1420.5 1214.23,1346.34L1214.23,1130.69Z"})}),t_e=yt({displayName:"PostprocessingIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M709.477,1596.53L992.591,1275.66L2239.09,2646.81L2891.95,1888.03L3427.88,2460.51L3427.88,994.78C3427.88,954.66 3421.05,916.122 3408.5,880.254L3521.9,855.419C3535.8,899.386 3543.31,946.214 3543.31,994.78L3543.31,2990.02C3543.31,3245.23 3336.11,3452.43 3080.9,3452.43C3080.9,3452.43 462.407,3452.43 462.407,3452.43C207.197,3452.43 -0,3245.23 -0,2990.02L-0,994.78C-0,739.571 207.197,532.373 462.407,532.373L505.419,532.373L504.644,532.546L807.104,600.085C820.223,601.729 832.422,607.722 841.77,617.116C850.131,625.517 855.784,636.21 858.055,647.804L462.407,647.804C270.906,647.804 115.431,803.279 115.431,994.78L115.431,2075.73L-0,2101.5L115.431,2127.28L115.431,2269.78L220.47,2150.73L482.345,2209.21C503.267,2211.83 522.722,2221.39 537.63,2236.37C552.538,2251.35 562.049,2270.9 564.657,2291.93L671.84,2776.17L779.022,2291.93C781.631,2270.9 791.141,2251.35 806.05,2236.37C820.958,2221.39 840.413,2211.83 861.334,2209.21L1353.15,2101.5L861.334,1993.8C840.413,1991.18 820.958,1981.62 806.05,1966.64C791.141,1951.66 781.631,1932.11 779.022,1911.08L709.477,1596.53ZM671.84,1573.09L725.556,2006.07C726.863,2016.61 731.63,2026.4 739.101,2033.91C746.573,2041.42 756.323,2046.21 766.808,2047.53L1197.68,2101.5L766.808,2155.48C756.323,2156.8 746.573,2161.59 739.101,2169.09C731.63,2176.6 726.863,2186.4 725.556,2196.94L671.84,2629.92L618.124,2196.94C616.817,2186.4 612.05,2176.6 604.579,2169.09C597.107,2161.59 587.357,2156.8 576.872,2155.48L146.001,2101.5L576.872,2047.53C587.357,2046.21 597.107,2041.42 604.579,2033.91C612.05,2026.4 616.817,2016.61 618.124,2006.07L671.84,1573.09ZM609.035,1710.36L564.657,1911.08C562.049,1932.11 552.538,1951.66 537.63,1966.64C522.722,1981.62 503.267,1991.18 482.345,1993.8L328.665,2028.11L609.035,1710.36ZM2297.12,938.615L2451.12,973.003C2480.59,976.695 2507.99,990.158 2528.99,1011.26C2549.99,1032.37 2563.39,1059.9 2567.07,1089.52L2672.73,1566.9C2634.5,1580.11 2593.44,1587.29 2550.72,1587.29C2344.33,1587.29 2176.77,1419.73 2176.77,1213.34C2176.77,1104.78 2223.13,1006.96 2297.12,938.615ZM2718.05,76.925L2793.72,686.847C2795.56,701.69 2802.27,715.491 2812.8,726.068C2823.32,736.644 2837.06,743.391 2851.83,745.242L3458.78,821.28L2851.83,897.318C2837.06,899.168 2823.32,905.916 2812.8,916.492C2802.27,927.068 2795.56,940.87 2793.72,955.712L2718.05,1565.63L2642.38,955.712C2640.54,940.87 2633.83,927.068 2623.3,916.492C2612.78,905.916 2599.04,899.168 2584.27,897.318L1977.32,821.28L2584.27,745.242C2599.04,743.391 2612.78,736.644 2623.3,726.068C2633.83,715.491 2640.54,701.69 2642.38,686.847L2718.05,76.925ZM2883.68,1043.06C2909.88,1094.13 2924.67,1152.02 2924.67,1213.34C2924.67,1335.4 2866.06,1443.88 2775.49,1512.14L2869.03,1089.52C2871.07,1073.15 2876.07,1057.42 2883.68,1043.06ZM925.928,201.2L959.611,472.704C960.431,479.311 963.42,485.455 968.105,490.163C972.79,494.871 978.904,497.875 985.479,498.698L1255.66,532.546L985.479,566.395C978.904,567.218 972.79,570.222 968.105,574.93C963.42,579.638 960.431,585.781 959.611,592.388L925.928,863.893L892.245,592.388C891.425,585.781 888.436,579.638 883.751,574.93C879.066,570.222 872.952,567.218 866.378,566.395L596.195,532.546L866.378,498.698C872.952,497.875 879.066,494.871 883.751,490.163C888.436,485.455 891.425,479.311 892.245,472.704L925.928,201.2ZM2864.47,532.373L3080.9,532.373C3258.7,532.373 3413.2,632.945 3490.58,780.281L3319.31,742.773C3257.14,683.925 3173.2,647.804 3080.9,647.804L2927.07,647.804C2919.95,642.994 2913.25,637.473 2907.11,631.298C2886.11,610.194 2872.71,582.655 2869.03,553.04L2864.47,532.373ZM1352.36,532.373L2571.64,532.373L2567.07,553.04C2563.39,582.655 2549.99,610.194 2528.99,631.298C2522.85,637.473 2516.16,642.994 2509.03,647.804L993.801,647.804C996.072,636.21 1001.73,625.517 1010.09,617.116C1019.43,607.722 1031.63,601.729 1044.75,600.085L1353.15,532.546L1352.36,532.373Z"})}),n_e=yt({displayName:"TextToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",transform:"matrix(1.11667,0,0,1.1066,-231.131,-213.062)",children:y.jsx("path",{d:"M2209.59,1137.35L2209.59,1098.17C2177.13,1108.99 2125.74,1121.91 2055.41,1136.94C2054.77,1137.08 2054.14,1137.21 2053.49,1137.35L1662.79,1137.35C1687.75,1101.98 1720.8,1074.35 1761.93,1054.44C1808.52,1031.9 1875.69,1012.22 1963.45,995.386C2081.86,973.146 2163.91,952.409 2209.59,933.174L2209.59,907.929C2209.59,859.241 2197.57,824.529 2173.53,803.792C2149.48,783.054 2104.1,772.686 2037.38,772.686C1992.3,772.686 1957.14,781.552 1931.89,799.284C1906.64,817.015 1886.21,848.121 1870.58,892.601L1640.67,851.127C1666.51,758.56 1710.99,690.037 1774.11,645.557C1837.22,601.077 1930.99,578.837 2055.41,578.837C2168.42,578.837 2252.57,592.211 2307.87,618.959C2363.17,645.707 2402.09,679.668 2424.63,720.842C2447.17,762.016 2458.44,837.602 2458.44,947.6L2456.7,1137.35L3021.34,1137.35C3214.79,1137.35 3371.86,1294.41 3371.86,1487.87C3371.86,1487.87 3371.86,3000.32 3371.86,3000.32C3371.86,3193.78 3214.79,3350.84 3021.34,3350.84C3021.34,3350.84 1036.45,3350.84 1036.45,3350.84C842.991,3350.84 685.93,3193.78 685.93,3000.32L685.93,1487.87C685.93,1400.21 718.174,1320.03 771.448,1258.54L772.123,1257.76L607.408,1257.76L498.311,1558L215.202,1558L730.028,236.22L1012.24,236.22L1373.06,1137.35L2209.59,1137.35ZM3284.36,2598.93L3284.36,1487.87C3284.36,1342.71 3166.5,1224.85 3021.34,1224.85C3021.34,1224.85 1036.45,1224.85 1036.45,1224.85C891.284,1224.85 773.43,1342.71 773.43,1487.87L773.43,2454.35L1438.34,1700.79L2383.22,2740.16L2878.11,2164.98L3284.36,2598.93ZM2619.44,1370.08C2775.89,1370.08 2902.91,1497.1 2902.91,1653.54C2902.91,1809.99 2775.89,1937.01 2619.44,1937.01C2462.99,1937.01 2335.98,1809.99 2335.98,1653.54C2335.98,1497.1 2462.99,1370.08 2619.44,1370.08ZM772.877,1256.89L772.849,1256.93L773.167,1256.57L772.877,1256.89ZM773.634,1256.04L773.563,1256.12L773.985,1255.64L773.634,1256.04ZM774.394,1255.18L774.276,1255.31L774.746,1254.78L774.394,1255.18ZM775.157,1254.32L774.988,1254.51L775.493,1253.95L775.157,1254.32ZM775.923,1253.47L775.698,1253.72L776.237,1253.12L775.923,1253.47ZM776.691,1252.62L776.403,1252.94L776.979,1252.3L776.691,1252.62ZM777.462,1251.77L777.098,1252.17L777.723,1251.49L777.462,1251.77ZM925.081,1155.44C868.026,1174.57 817.508,1207.99 777.775,1251.43C817.511,1207.99 868.031,1174.57 925.081,1155.44ZM925.646,1155.25L925.108,1155.43L926.103,1155.1L925.646,1155.25ZM935.286,1152.2C932.214,1153.12 929.159,1154.09 926.13,1155.09C929.165,1154.09 932.219,1153.12 935.286,1152.2ZM935.716,1152.07L935.384,1152.17L936.292,1151.89L935.716,1152.07ZM936.843,1151.73L936.451,1151.85L937.327,1151.59L936.843,1151.73ZM937.972,1151.4L937.514,1151.53L938.377,1151.28L937.972,1151.4ZM939.102,1151.07L938.57,1151.22L939.438,1150.97L939.102,1151.07ZM940.233,1150.74L939.613,1150.92L940.505,1150.67L940.233,1150.74ZM946.659,1148.98C944.639,1149.51 942.626,1150.07 940.626,1150.63C942.631,1150.06 944.642,1149.51 946.659,1148.98ZM947.056,1148.87L946.829,1148.93L947.659,1148.71L947.056,1148.87ZM948.198,1148.57L947.919,1148.65L948.705,1148.44L948.198,1148.57ZM949.342,1148.28L949.008,1148.37L949.771,1148.17L949.342,1148.28ZM950.488,1147.99L950.096,1148.09L950.848,1147.9L950.488,1147.99ZM951.635,1147.7L951.182,1147.81L951.932,1147.63L951.635,1147.7ZM952.783,1147.42L952.262,1147.55L953.022,1147.36L952.783,1147.42ZM953.933,1147.14L953.327,1147.28L954.115,1147.09L953.933,1147.14ZM958.213,1146.13C956.927,1146.42 955.644,1146.73 954.354,1147.04C955.637,1146.73 956.923,1146.43 958.213,1146.13ZM958.547,1146.06L958.409,1146.09L959.174,1145.91L958.547,1146.06ZM959.704,1145.79L959.517,1145.84L960.229,1145.68L959.704,1145.79ZM960.863,1145.54L960.626,1145.59L961.311,1145.44L960.863,1145.54ZM962.023,1145.28L961.736,1145.35L962.406,1145.2L962.023,1145.28ZM963.184,1145.03L962.846,1145.11L963.508,1144.97L963.184,1145.03ZM964.347,1144.79L963.956,1144.87L964.615,1144.73L964.347,1144.79ZM965.511,1144.55L965.066,1144.64L965.725,1144.5L965.511,1144.55ZM966.677,1144.31L966.172,1144.41L966.838,1144.28L966.677,1144.31ZM967.844,1144.08L967.269,1144.19L967.953,1144.05L967.844,1144.08ZM970.183,1143.62C969.793,1143.69 969.403,1143.77 969.013,1143.85L969.055,1143.84C969.413,1143.77 969.771,1143.7 970.129,1143.63L970.183,1143.62ZM971.354,1143.4L971.245,1143.42L971.882,1143.3L971.354,1143.4ZM972.526,1143.18L972.37,1143.21L972.987,1143.09L972.526,1143.18ZM973.7,1142.96L973.496,1143L974.103,1142.89L973.7,1142.96ZM974.876,1142.75L974.624,1142.8L975.225,1142.69L974.876,1142.75ZM976.052,1142.55L975.754,1142.6L976.349,1142.49L976.052,1142.55ZM977.23,1142.34L976.885,1142.4L977.476,1142.3L977.23,1142.34ZM978.41,1142.14L978.019,1142.21L978.605,1142.11L978.41,1142.14ZM979.59,1141.95L979.156,1142.02L979.736,1141.92L979.59,1141.95ZM980.772,1141.76L980.299,1141.83L980.868,1141.74L980.772,1141.76ZM981.955,1141.57L981.464,1141.65L982.002,1141.56L981.955,1141.57ZM983.14,1141.39L983.1,1141.39L983.605,1141.32L983.14,1141.39ZM984.326,1141.21L984.239,1141.22L984.778,1141.14L984.326,1141.21ZM985.513,1141.03L985.379,1141.05L985.928,1140.97L985.513,1141.03ZM986.702,1140.86L986.521,1140.89L987.073,1140.81L986.702,1140.86ZM987.891,1140.69L987.665,1140.73L988.218,1140.65L987.891,1140.69ZM989.082,1140.53L988.811,1140.57L989.363,1140.49L989.082,1140.53ZM990.275,1140.37L989.96,1140.41L990.508,1140.34L990.275,1140.37ZM991.468,1140.22L991.113,1140.26L991.654,1140.19L991.468,1140.22ZM992.663,1140.07L992.273,1140.12L992.8,1140.05L992.663,1140.07ZM993.859,1139.92L993.447,1139.97L993.948,1139.91L993.859,1139.92ZM995.056,1139.78L994.671,1139.82L995.097,1139.77L995.056,1139.78ZM996.255,1139.64L996.23,1139.64L996.578,1139.6L996.255,1139.64ZM997.454,1139.5L997.383,1139.51L997.852,1139.46L997.454,1139.5ZM998.655,1139.37L998.537,1139.38L999.041,1139.33L998.655,1139.37ZM999.857,1139.24L999.693,1139.26L1000.21,1139.21L999.857,1139.24ZM1001.06,1139.12L1000.85,1139.14L1001.38,1139.09L1001.06,1139.12ZM1002.26,1139L1002.01,1139.03L1002.54,1138.98L1002.26,1139ZM1003.47,1138.89L1003.18,1138.91L1003.7,1138.87L1003.47,1138.89ZM1004.68,1138.78L1004.34,1138.81L1004.86,1138.76L1004.68,1138.78ZM1005.89,1138.67L1005.52,1138.7L1006.02,1138.66L1005.89,1138.67ZM1007.1,1138.57L1006.71,1138.6L1007.18,1138.56L1007.1,1138.57ZM1008.31,1138.47L1007.96,1138.5L1008.35,1138.46L1008.31,1138.47ZM1009.52,1138.37L1009.5,1138.38L1009.72,1138.36L1009.52,1138.37ZM1010.73,1138.28L1010.67,1138.29L1011.1,1138.26L1010.73,1138.28ZM1011.94,1138.2L1011.84,1138.2L1012.32,1138.17L1011.94,1138.2ZM1013.16,1138.12L1013,1138.13L1013.51,1138.09L1013.16,1138.12ZM1014.37,1138.04L1014.17,1138.05L1014.69,1138.02L1014.37,1138.04ZM1015.59,1137.96L1015.35,1137.98L1015.86,1137.95L1015.59,1137.96ZM1016.81,1137.89L1016.52,1137.91L1017.04,1137.88L1016.81,1137.89ZM1018.03,1137.83L1017.7,1137.85L1018.21,1137.82L1018.03,1137.83ZM1019.25,1137.77L1018.89,1137.79L1019.39,1137.76L1019.25,1137.77ZM1020.47,1137.71L1020.1,1137.73L1020.56,1137.71L1020.47,1137.71ZM1021.69,1137.66L1021.36,1137.67L1021.74,1137.66L1021.69,1137.66ZM1022.92,1137.61L1022.91,1137.61L1023.02,1137.61L1022.92,1137.61ZM1024.14,1137.57L1024.09,1137.57L1024.49,1137.55L1024.14,1137.57ZM1025.37,1137.52L1025.27,1137.53L1025.74,1137.51L1025.37,1137.52ZM1026.6,1137.49L1026.45,1137.49L1026.94,1137.48L1026.6,1137.49ZM1027.82,1137.46L1027.63,1137.46L1028.14,1137.45L1027.82,1137.46ZM1029.05,1137.43L1028.81,1137.43L1029.33,1137.42L1029.05,1137.43ZM1030.28,1137.41L1030,1137.41L1030.52,1137.4L1030.28,1137.41ZM1031.51,1137.39L1031.19,1137.39L1031.7,1137.38L1031.51,1137.39ZM1032.75,1137.37L1032.39,1137.38L1032.89,1137.37L1032.75,1137.37ZM1033.98,1137.36L1033.61,1137.36L1034.07,1137.36L1033.98,1137.36ZM1035.21,1137.35L1034.87,1137.36L1035.26,1137.35L1035.21,1137.35ZM1050.1,1035.06L867.977,544.575L689.455,1035.06L1050.1,1035.06Z"})})}),r_e=yt({displayName:"TrainingIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0,768.593L0,2774.71C0,2930.6 78.519,3068.3 198.135,3150.37C273.059,3202.68 364.177,3233.38 462.407,3233.38C462.407,3233.38 3080.9,3233.38 3080.9,3233.38C3179.13,3233.38 3270.25,3202.68 3345.17,3150.37C3464.79,3068.3 3543.31,2930.6 3543.31,2774.71L3543.31,768.593C3543.31,517.323 3339.31,313.324 3088.04,313.324L455.269,313.324C203.999,313.324 0,517.323 0,768.593ZM3427.88,775.73L3427.88,2770.97C3427.88,2962.47 3272.4,3117.95 3080.9,3117.95L462.407,3117.95C270.906,3117.95 115.431,2962.47 115.431,2770.97C115.431,2770.97 115.431,775.73 115.431,775.73C115.431,584.229 270.906,428.755 462.407,428.755C462.407,428.755 3080.9,428.755 3080.9,428.755C3272.4,428.755 3427.88,584.229 3427.88,775.73ZM796.24,1322.76L796.24,1250.45C796.24,1199.03 836.16,1157.27 885.331,1157.27C885.331,1157.27 946.847,1157.27 946.847,1157.27C996.017,1157.27 1035.94,1199.03 1035.94,1250.45L1035.94,1644.81L2507.37,1644.81L2507.37,1250.45C2507.37,1199.03 2547.29,1157.27 2596.46,1157.27C2596.46,1157.27 2657.98,1157.27 2657.98,1157.27C2707.15,1157.27 2747.07,1199.03 2747.07,1250.45L2747.07,1322.76C2756.66,1319.22 2767.02,1317.29 2777.83,1317.29C2777.83,1317.29 2839.34,1317.29 2839.34,1317.29C2888.51,1317.29 2928.43,1357.21 2928.43,1406.38L2928.43,1527.32C2933.51,1526.26 2938.77,1525.71 2944.16,1525.71L2995.3,1525.71C3036.18,1525.71 3069.37,1557.59 3069.37,1596.86C3069.37,1596.86 3069.37,1946.44 3069.37,1946.44C3069.37,1985.72 3036.18,2017.6 2995.3,2017.6C2995.3,2017.6 2944.16,2017.6 2944.16,2017.6C2938.77,2017.6 2933.51,2017.04 2928.43,2015.99L2928.43,2136.92C2928.43,2186.09 2888.51,2226.01 2839.34,2226.01L2777.83,2226.01C2767.02,2226.01 2756.66,2224.08 2747.07,2220.55L2747.07,2292.85C2747.07,2344.28 2707.15,2386.03 2657.98,2386.03C2657.98,2386.03 2596.46,2386.03 2596.46,2386.03C2547.29,2386.03 2507.37,2344.28 2507.37,2292.85L2507.37,1898.5L1035.94,1898.5L1035.94,2292.85C1035.94,2344.28 996.017,2386.03 946.847,2386.03C946.847,2386.03 885.331,2386.03 885.331,2386.03C836.16,2386.03 796.24,2344.28 796.24,2292.85L796.24,2220.55C786.651,2224.08 776.29,2226.01 765.482,2226.01L703.967,2226.01C654.796,2226.01 614.876,2186.09 614.876,2136.92L614.876,2015.99C609.801,2017.04 604.539,2017.6 599.144,2017.6C599.144,2017.6 548.003,2017.6 548.003,2017.6C507.125,2017.6 473.937,1985.72 473.937,1946.44C473.937,1946.44 473.937,1596.86 473.937,1596.86C473.937,1557.59 507.125,1525.71 548.003,1525.71L599.144,1525.71C604.539,1525.71 609.801,1526.26 614.876,1527.32L614.876,1406.38C614.876,1357.21 654.796,1317.29 703.967,1317.29C703.967,1317.29 765.482,1317.29 765.482,1317.29C776.29,1317.29 786.651,1319.22 796.24,1322.76ZM977.604,1250.45C977.604,1232.7 963.822,1218.29 946.847,1218.29L885.331,1218.29C868.355,1218.29 854.573,1232.7 854.573,1250.45L854.573,2292.85C854.573,2310.61 868.355,2325.02 885.331,2325.02L946.847,2325.02C963.822,2325.02 977.604,2310.61 977.604,2292.85L977.604,1250.45ZM2565.7,1250.45C2565.7,1232.7 2579.49,1218.29 2596.46,1218.29L2657.98,1218.29C2674.95,1218.29 2688.73,1232.7 2688.73,1250.45L2688.73,2292.85C2688.73,2310.61 2674.95,2325.02 2657.98,2325.02L2596.46,2325.02C2579.49,2325.02 2565.7,2310.61 2565.7,2292.85L2565.7,1250.45ZM673.209,1406.38L673.209,2136.92C673.209,2153.9 686.991,2167.68 703.967,2167.68L765.482,2167.68C782.458,2167.68 796.24,2153.9 796.24,2136.92L796.24,1406.38C796.24,1389.41 782.458,1375.63 765.482,1375.63L703.967,1375.63C686.991,1375.63 673.209,1389.41 673.209,1406.38ZM2870.1,1406.38L2870.1,2136.92C2870.1,2153.9 2856.32,2167.68 2839.34,2167.68L2777.83,2167.68C2760.85,2167.68 2747.07,2153.9 2747.07,2136.92L2747.07,1406.38C2747.07,1389.41 2760.85,1375.63 2777.83,1375.63L2839.34,1375.63C2856.32,1375.63 2870.1,1389.41 2870.1,1406.38ZM614.876,1577.5C610.535,1574.24 605.074,1572.3 599.144,1572.3L548.003,1572.3C533.89,1572.3 522.433,1583.3 522.433,1596.86L522.433,1946.44C522.433,1960 533.89,1971.01 548.003,1971.01L599.144,1971.01C605.074,1971.01 610.535,1969.07 614.876,1965.81L614.876,1577.5ZM2928.43,1965.81L2928.43,1577.5C2932.77,1574.24 2938.23,1572.3 2944.16,1572.3L2995.3,1572.3C3009.42,1572.3 3020.87,1583.3 3020.87,1596.86L3020.87,1946.44C3020.87,1960 3009.42,1971.01 2995.3,1971.01L2944.16,1971.01C2938.23,1971.01 2932.77,1969.07 2928.43,1965.81ZM2507.37,1703.14L1035.94,1703.14L1035.94,1840.16L2507.37,1840.16L2507.37,1898.38L2507.37,1659.46L2507.37,1703.14Z"})}),i_e=yt({displayName:"UnifiedCanvasIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 -0,515.578 -0,770.787L-0,2766.03C-0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM922.933,3113.01L462.407,3113.01C437.741,3113.01 413.674,3110.43 390.453,3105.52L390.453,2899.11L922.933,2899.11L922.933,3113.01ZM947.933,2899.11L947.933,3113.01L1480.41,3113.01L1480.41,2899.11L947.933,2899.11ZM1505.41,2899.11L1505.41,3113.01L2037.89,3113.01L2037.89,2899.11L1505.41,2899.11ZM2062.89,2899.11L2062.89,3113.01L2595.37,3113.01L2595.37,2899.11L2062.89,2899.11ZM3152.85,3105.52C3129.63,3110.43 3105.57,3113.01 3080.9,3113.01L2620.37,3113.01L2620.37,2899.11L3152.85,2899.11L3152.85,3105.52ZM365.453,3099.26L365.408,3099.24C354.521,3096.07 343.79,3092.37 333.266,3088.14C315.377,3080.95 298.094,3072.26 281.651,3062.2C263.114,3050.85 245.648,3037.77 229.544,3023.17C213.34,3008.49 198.518,2992.28 185.34,2974.83C174.102,2959.94 164.06,2944.16 155.353,2927.66C150.517,2918.5 146.102,2909.13 142.102,2899.57L141.91,2899.11L365.453,2899.11L365.453,3099.26ZM3401.4,2899.11C3361.33,2995.39 3279.12,3069.8 3177.85,3099.26L3177.85,2899.11L3401.4,2899.11ZM132.624,2874.11C121.465,2840.08 115.431,2803.76 115.431,2766.03L115.431,2341.63L365.453,2341.63L365.453,2874.11L132.624,2874.11ZM922.933,918.103L922.933,669.193L390.453,669.193L390.453,1201.67L731.014,1201.67L731.014,1226.67L390.453,1226.67L390.453,1759.15L731.014,1759.15L731.014,1784.15L390.453,1784.15L390.453,2316.63L731.014,2316.63L731.014,2341.63L390.453,2341.63L390.453,2874.11L922.933,2874.11L922.933,2625.2C931.122,2627.1 939.463,2628.6 947.933,2629.66L947.933,2874.11L1480.41,2874.11L1480.41,2631.62L1505.41,2631.62L1505.41,2874.11L2037.89,2874.11L2037.89,2631.62L2062.89,2631.62L2062.89,2874.11L2595.37,2874.11L2595.37,2629.66C2603.85,2628.6 2612.18,2627.1 2620.37,2625.2L2620.37,2874.11L3152.85,2874.11L3152.85,2341.63L2812.29,2341.63L2812.29,2316.63L3152.85,2316.63L3152.85,1784.15L2812.29,1784.15L2812.29,1759.15L3152.85,1759.15L3152.85,1226.67L2812.29,1226.67L2812.29,1201.67L3152.85,1201.67L3152.85,669.193L2620.37,669.193L2620.37,918.103C2612.18,916.203 2603.84,914.708 2595.37,913.642L2595.37,669.193L2062.89,669.193L2062.89,911.688L2037.89,911.688L2037.89,669.193L1505.41,669.193L1505.41,911.688L1480.41,911.688L1480.41,669.193L947.933,669.193L947.933,913.642C939.462,914.708 931.123,916.203 922.933,918.103ZM3427.88,2341.63L3427.88,2766.03C3427.88,2803.76 3421.84,2840.08 3410.68,2874.11L3177.85,2874.11L3177.85,2341.63L3427.88,2341.63ZM2494.01,2603.04L2524.53,2603.04C2541.26,2603.04 2557.62,2601.44 2573.47,2598.39L2598.02,2593.66L2588.56,2544.56L2564.01,2549.29C2551.23,2551.75 2538.03,2553.04 2524.53,2553.04L2494.01,2553.04L2494.01,2603.04ZM1294.01,2603.04L1394.01,2603.04L1394.01,2553.04L1294.01,2553.04L1294.01,2603.04ZM1894.01,2603.04L1994.01,2603.04L1994.01,2553.04L1894.01,2553.04L1894.01,2603.04ZM2194.01,2603.04L2294.01,2603.04L2294.01,2553.04L2194.01,2553.04L2194.01,2603.04ZM1144.01,2603.04L1244.01,2603.04L1244.01,2553.04L1144.01,2553.04L1144.01,2603.04ZM1444.01,2603.04L1544.01,2603.04L1544.01,2553.04L1444.01,2553.04L1444.01,2603.04ZM1594.01,2603.04L1694.01,2603.04L1694.01,2553.04L1594.01,2553.04L1594.01,2603.04ZM2344.01,2603.04L2444.01,2603.04L2444.01,2553.04L2344.01,2553.04L2344.01,2603.04ZM2044.01,2603.04L2144.01,2603.04L2144.01,2553.04L2044.01,2553.04L2044.01,2603.04ZM994.01,2603.04L1094.01,2603.04L1094.01,2553.04L994.01,2553.04L994.01,2603.04ZM1744.01,2603.04L1844.01,2603.04L1844.01,2553.04L1744.01,2553.04L1744.01,2603.04ZM864.145,2551.46C878.835,2562.5 894.741,2572 911.624,2579.74L934.352,2590.15L955.18,2544.7L932.452,2534.28C918.844,2528.05 906.024,2520.39 894.185,2511.49L874.199,2496.47L844.16,2536.44L864.145,2551.46ZM2674.44,2554.92C2689.46,2544.16 2703.28,2531.82 2715.65,2518.14L2732.42,2499.61L2695.35,2466.06L2678.58,2484.6C2668.59,2495.63 2657.44,2505.59 2645.32,2514.28L2625,2528.84L2654.12,2569.48L2674.44,2554.92ZM865.632,1911.31L1339.59,1374.15L2030.89,2134.59L2392.97,1713.77L2677.68,2017.9L2677.68,2324.93C2677.68,2424.23 2597.06,2504.85 2497.76,2504.85C2497.76,2504.85 1045.55,2504.85 1045.55,2504.85C946.251,2504.85 865.632,2424.23 865.632,2324.93L865.632,1911.31ZM771.251,2417.22C776.455,2435.14 783.552,2452.26 792.313,2468.35L804.27,2490.3L848.18,2466.39L836.223,2444.43C829.171,2431.49 823.457,2417.7 819.268,2403.28L812.297,2379.27L764.28,2393.21L771.251,2417.22ZM2770.36,2422.83C2775.83,2405.47 2779.52,2387.33 2781.2,2368.61L2783.43,2343.71L2733.64,2339.24L2731.4,2364.14C2730.05,2379.21 2727.08,2393.82 2722.67,2407.79L2715.15,2431.63L2762.84,2446.67L2770.36,2422.83ZM761.068,2236.12L761.068,2336.12L811.068,2336.12L811.068,2236.12L761.068,2236.12ZM3177.85,1784.15L3177.85,2316.63L3427.88,2316.63L3427.88,1784.15L3177.85,1784.15ZM115.431,1784.15L115.431,2316.63L365.453,2316.63L365.453,1784.15L115.431,1784.15ZM2782.24,2291.41L2782.24,2191.41L2732.24,2191.41L2732.24,2291.41L2782.24,2291.41ZM761.068,2086.12L761.068,2186.12L811.068,2186.12L811.068,2086.12L761.068,2086.12ZM2782.24,2141.41L2782.24,2041.4L2732.24,2041.4L2732.24,2141.41L2782.24,2141.41ZM761.068,1936.12L761.068,2036.12L811.068,2036.12L811.068,1936.12L761.068,1936.12ZM2782.24,1991.4L2782.24,1891.4L2732.24,1891.4L2732.24,1991.4L2782.24,1991.4ZM761.068,1786.12L761.068,1886.12L811.068,1886.12L811.068,1786.12L761.068,1786.12ZM2782.24,1841.4L2782.24,1741.41L2732.24,1741.41L2732.24,1841.4L2782.24,1841.4ZM3177.85,1226.67L3177.85,1759.15L3427.88,1759.15L3427.88,1226.67L3177.85,1226.67ZM115.431,1226.67L115.431,1759.15L365.453,1759.15L365.453,1226.67L115.431,1226.67ZM761.068,1636.12L761.068,1736.12L811.068,1736.12L811.068,1636.12L761.068,1636.12ZM2782.24,1691.41L2782.24,1591.41L2732.24,1591.41L2732.24,1691.41L2782.24,1691.41ZM761.068,1486.12L761.068,1586.12L811.068,1586.12L811.068,1486.12L761.068,1486.12ZM2203.72,1132.2C2318.18,1132.2 2411.11,1225.13 2411.11,1339.59C2411.11,1454.05 2318.18,1546.98 2203.72,1546.98C2089.26,1546.98 1996.33,1454.05 1996.33,1339.59C1996.33,1225.13 2089.26,1132.2 2203.72,1132.2ZM2782.24,1541.41L2782.24,1441.41L2732.24,1441.41L2732.24,1541.41L2782.24,1541.41ZM761.068,1336.12L761.068,1436.12L811.068,1436.12L811.068,1336.12L761.068,1336.12ZM2782.24,1391.41L2782.24,1291.41L2732.24,1291.41L2732.24,1391.41L2782.24,1391.41ZM761.068,1186.12L761.068,1286.12L811.068,1286.12L811.068,1186.12L761.068,1186.12ZM2732.24,1197.98L2732.24,1241.41L2782.24,1241.41L2782.24,1172.98L2781.03,1172.98C2780.06,1162.82 2778.49,1152.83 2776.36,1143.04L2771.04,1118.62L2722.18,1129.24L2727.5,1153.67C2730.61,1167.95 2732.24,1182.78 2732.24,1197.98ZM3412.74,669.193L3412.89,669.694C3414.66,675.5 3416.28,681.348 3417.73,687.238C3420.46,698.265 3422.65,709.427 3424.28,720.67C3425.85,731.554 3426.91,742.513 3427.45,753.497C3427.74,759.256 3427.87,765.021 3427.88,770.787L3427.88,1201.67L3177.85,1201.67L3177.85,669.193L3412.74,669.193ZM115.431,1201.67L115.431,770.787C115.436,765.021 115.572,759.256 115.855,753.497C116.395,742.513 117.453,731.554 119.031,720.67C120.66,709.427 122.844,698.265 125.574,687.238C127.032,681.348 128.65,675.5 130.414,669.694L130.567,669.193L365.453,669.193L365.453,1201.67L115.431,1201.67ZM804.386,1055C794.186,1070.26 785.572,1086.67 778.777,1103.99L769.647,1127.26L816.194,1145.52L825.324,1122.25C830.797,1108.3 837.738,1095.08 845.955,1082.79L859.848,1062L818.279,1034.21L804.386,1055ZM2730.5,1043.14C2719.39,1028.39 2706.73,1014.86 2692.77,1002.81L2673.84,986.48L2641.17,1024.34L2660.1,1040.67C2671.37,1050.39 2681.59,1061.31 2690.56,1073.22L2705.6,1093.19L2745.54,1063.11L2730.5,1043.14ZM933.266,954.821C915.698,961.006 898.998,969.041 883.402,978.694L862.144,991.851L888.457,1034.37L909.715,1021.21C922.275,1013.44 935.723,1006.96 949.871,1001.98L973.452,993.681L956.848,946.518L933.266,954.821ZM2596.18,950.378C2578.71,945.327 2560.49,942.072 2541.72,940.832L2516.78,939.183L2513.48,989.074L2538.43,990.723C2553.54,991.722 2568.22,994.341 2582.28,998.409L2606.3,1005.36L2620.19,957.325L2596.18,950.378ZM2165.09,940.265L2065.09,940.265L2065.09,990.265L2165.09,990.265L2165.09,940.265ZM1865.08,940.265L1765.08,940.265L1765.08,990.265L1865.08,990.265L1865.08,940.265ZM1115.08,940.265L1015.08,940.265L1015.08,990.265L1115.08,990.265L1115.08,940.265ZM2015.09,940.265L1915.09,940.265L1915.09,990.265L2015.09,990.265L2015.09,940.265ZM2315.09,940.265L2215.09,940.265L2215.09,990.265L2315.09,990.265L2315.09,940.265ZM1265.08,940.265L1165.08,940.265L1165.08,990.265L1265.08,990.265L1265.08,940.265ZM1415.08,940.265L1315.08,940.265L1315.08,990.265L1415.08,990.265L1415.08,940.265ZM1565.08,940.265L1465.08,940.265L1465.08,990.265L1565.08,990.265L1565.08,940.265ZM1715.08,940.265L1615.08,940.265L1615.08,990.265L1715.08,990.265L1715.08,940.265ZM2465.09,940.265L2365.09,940.265L2365.09,990.265L2465.09,990.265L2465.09,940.265ZM365.453,437.562L365.453,644.193L139.286,644.193C178.303,544.782 261.917,467.677 365.453,437.562ZM922.933,423.812L922.933,644.193L390.453,644.193L390.453,431.295C413.674,426.391 437.741,423.812 462.407,423.812L922.933,423.812ZM947.933,423.812L947.933,644.193L1480.41,644.193L1480.41,423.812L947.933,423.812ZM1505.41,423.812L1505.41,644.193L2037.89,644.193L2037.89,423.812L1505.41,423.812ZM2062.89,423.812L2062.89,644.193L2595.37,644.193L2595.37,423.812L2062.89,423.812ZM2620.37,423.812L3080.9,423.812C3105.57,423.812 3129.63,426.391 3152.85,431.295L3152.85,644.193L2620.37,644.193L2620.37,423.812ZM3177.85,437.562C3281.38,467.669 3365,544.774 3404.02,644.193L3177.85,644.193L3177.85,437.562Z"})}),Ze=Oe((e,t)=>{const{tooltip:n="",styleClass:r,tooltipProps:i,asCheckbox:o,isChecked:a,...s}=e;return y.jsx(lo,{label:n,hasArrow:!0,...i,...i!=null&&i.placement?{placement:i.placement}:{placement:"top"},children:y.jsx(ss,{ref:t,className:r?`invokeai__icon-button ${r}`:"invokeai__icon-button","data-as-checkbox":o,"data-selected":a!==void 0?a:void 0,...s})})}),cr=Oe((e,t)=>{const{children:n,tooltip:r="",tooltipProps:i,styleClass:o,...a}=e;return y.jsx(lo,{label:r,...i,children:y.jsx(as,{ref:t,className:["invokeai__button",o].join(" "),...a,children:n})})}),Zs=e=>{const{triggerComponent:t,children:n,styleClass:r,hasArrow:i=!0,...o}=e;return y.jsxs(ME,{...o,children:[y.jsx(DE,{children:t}),y.jsxs(RE,{className:`invokeai__popover-content ${r}`,children:[i&&y.jsx(IE,{className:"invokeai__popover-arrow"}),n]})]})},Wx=ot(e=>e.lightbox,e=>e,{memoizeOptions:{equalityCheck:Ee.isEqual}}),hD=/^-?(0\.)?\.?$/,To=e=>{const{label:t,labelFontSize:n="sm",styleClass:r,isDisabled:i=!1,showStepper:o=!0,width:a,textAlign:s,isInvalid:l,value:u,onChange:d,min:h,max:m,isInteger:v=!0,formControlProps:b,formLabelProps:S,numberInputFieldProps:k,numberInputStepperProps:E,tooltipProps:_,...T}=e,[A,I]=w.useState(String(u));w.useEffect(()=>{!A.match(hD)&&u!==Number(A)&&I(String(u))},[u,A]);const R=j=>{I(j),j.match(hD)||d(v?Math.floor(Number(j)):Number(j))},D=j=>{const z=Ee.clamp(v?Math.floor(Number(j.target.value)):Number(j.target.value),h,m);I(String(z)),d(z)};return y.jsx(lo,{..._,children:y.jsxs(dn,{isDisabled:i,isInvalid:l,className:r?`invokeai__number-input-form-control ${r}`:"invokeai__number-input-form-control",...b,children:[t&&y.jsx(kn,{className:"invokeai__number-input-form-label",style:{display:t?"block":"none"},fontSize:n,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",...S,children:t}),y.jsxs(TE,{className:"invokeai__number-input-root",value:A,min:h,max:m,keepWithinRange:!0,clampValueOnBlur:!1,onChange:R,onBlur:D,width:a,...T,children:[y.jsx(LE,{className:"invokeai__number-input-field",textAlign:s,...k}),o&&y.jsxs("div",{className:"invokeai__number-input-stepper",children:[y.jsx(OE,{...E,className:"invokeai__number-input-stepper-button"}),y.jsx(AE,{...E,className:"invokeai__number-input-stepper-button"})]})]})]})})},tl=e=>{const{label:t,isDisabled:n,validValues:r,tooltip:i,tooltipProps:o,size:a="sm",fontSize:s="sm",styleClass:l,...u}=e;return y.jsxs(dn,{isDisabled:n,className:`invokeai__select ${l}`,onClick:d=>{d.stopPropagation(),d.nativeEvent.stopImmediatePropagation(),d.nativeEvent.stopPropagation(),d.nativeEvent.cancelBubble=!0},children:[t&&y.jsx(kn,{className:"invokeai__select-label",fontSize:s,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",children:t}),y.jsx(lo,{label:i,...o,children:y.jsx($V,{className:"invokeai__select-picker",fontSize:s,size:a,...u,children:r.map(d=>typeof d=="string"||typeof d=="number"?y.jsx("option",{value:d,className:"invokeai__select-option",children:d},d):y.jsx("option",{value:d.value,className:"invokeai__select-option",children:d.key},d.value))})})]})},$y=e=>e.postprocessing,ir=e=>e.system,o_e=e=>e.system.toastQueue,GG=ot(ir,e=>{const{model_list:t}=e,n=Ee.reduce(t,(r,i,o)=>(i.status==="active"&&(r=o),r),"");return{...t[n],name:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),a_e=ot([$y,ir],({facetoolStrength:e,facetoolType:t,codeformerFidelity:n},{isGFPGANAvailable:r})=>({facetoolStrength:e,facetoolType:t,codeformerFidelity:n,isGFPGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),wP=()=>{const e=Ie(),{facetoolStrength:t,facetoolType:n,codeformerFidelity:r,isGFPGANAvailable:i}=he(a_e),o=u=>e(I4(u)),a=u=>e(xU(u)),s=u=>e(R4(u.target.value)),{t:l}=Ve();return y.jsxs(qe,{direction:"column",gap:2,children:[y.jsx(tl,{label:l("parameters:type"),validValues:o7e.concat(),value:n,onChange:s}),y.jsx(To,{isDisabled:!i,label:l("parameters:strength"),step:.05,min:0,max:1,onChange:o,value:t,width:"90px",isInteger:!1}),n==="codeformer"&&y.jsx(To,{isDisabled:!i,label:l("parameters:codeformerFidelity"),step:.05,min:0,max:1,onChange:a,value:r,width:"90px",isInteger:!1})]})},s_e=ot([$y,ir],({upscalingLevel:e,upscalingStrength:t},{isESRGANAvailable:n})=>({upscalingLevel:e,upscalingStrength:t,isESRGANAvailable:n}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),CP=()=>{const e=Ie(),{upscalingLevel:t,upscalingStrength:n,isESRGANAvailable:r}=he(s_e),{t:i}=Ve(),o=s=>e(c8(Number(s.target.value))),a=s=>e(d8(s));return y.jsxs("div",{className:"upscale-settings",children:[y.jsx(tl,{isDisabled:!r,label:i("parameters:scale"),value:t,onChange:o,validValues:i7e}),y.jsx(To,{isDisabled:!r,label:i("parameters:strength"),step:.05,min:0,max:1,onChange:a,value:n,isInteger:!1})]})};var l_e=Object.create,qG=Object.defineProperty,u_e=Object.getOwnPropertyDescriptor,c_e=Object.getOwnPropertyNames,d_e=Object.getPrototypeOf,f_e=Object.prototype.hasOwnProperty,We=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of c_e(t))!f_e.call(e,i)&&i!==n&&qG(e,i,{get:()=>t[i],enumerable:!(r=u_e(t,i))||r.enumerable});return e},YG=(e,t,n)=>(n=e!=null?l_e(d_e(e)):{},h_e(t||!e||!e.__esModule?qG(n,"default",{value:e,enumerable:!0}):n,e)),p_e=We((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n}),KG=We((e,t)=>{function n(r,i){return r===i||r!==r&&i!==i}t.exports=n}),Ux=We((e,t)=>{var n=KG();function r(i,o){for(var a=i.length;a--;)if(n(i[a][0],o))return a;return-1}t.exports=r}),g_e=We((e,t)=>{var n=Ux(),r=Array.prototype,i=r.splice;function o(a){var s=this.__data__,l=n(s,a);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=o}),m_e=We((e,t)=>{var n=Ux();function r(i){var o=this.__data__,a=n(o,i);return a<0?void 0:o[a][1]}t.exports=r}),v_e=We((e,t)=>{var n=Ux();function r(i){return n(this.__data__,i)>-1}t.exports=r}),y_e=We((e,t)=>{var n=Ux();function r(i,o){var a=this.__data__,s=n(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=r}),Gx=We((e,t)=>{var n=p_e(),r=g_e(),i=m_e(),o=v_e(),a=y_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx();function r(){this.__data__=new n,this.size=0}t.exports=r}),S_e=We((e,t)=>{function n(r){var i=this.__data__,o=i.delete(r);return this.size=i.size,o}t.exports=n}),x_e=We((e,t)=>{function n(r){return this.__data__.get(r)}t.exports=n}),w_e=We((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),XG=We((e,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),pc=We((e,t)=>{var n=XG(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();t.exports=i}),_P=We((e,t)=>{var n=pc(),r=n.Symbol;t.exports=r}),C_e=We((e,t)=>{var n=_P(),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;function s(l){var u=i.call(l,a),d=l[a];try{l[a]=void 0;var h=!0}catch{}var m=o.call(l);return h&&(u?l[a]=d:delete l[a]),m}t.exports=s}),__e=We((e,t)=>{var n=Object.prototype,r=n.toString;function i(o){return r.call(o)}t.exports=i}),qx=We((e,t)=>{var n=_P(),r=C_e(),i=__e(),o="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;function l(u){return u==null?u===void 0?a:o:s&&s in Object(u)?r(u):i(u)}t.exports=l}),ZG=We((e,t)=>{function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}t.exports=n}),QG=We((e,t)=>{var n=qx(),r=ZG(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!r(u))return!1;var d=n(u);return d==o||d==a||d==i||d==s}t.exports=l}),k_e=We((e,t)=>{var n=pc(),r=n["__core-js_shared__"];t.exports=r}),E_e=We((e,t)=>{var n=k_e(),r=function(){var o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!r&&r in o}t.exports=i}),JG=We((e,t)=>{var n=Function.prototype,r=n.toString;function i(o){if(o!=null){try{return r.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}),P_e=We((e,t)=>{var n=QG(),r=E_e(),i=ZG(),o=JG(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,h=u.hasOwnProperty,m=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(b){if(!i(b)||r(b))return!1;var S=n(b)?m:s;return S.test(o(b))}t.exports=v}),T_e=We((e,t)=>{function n(r,i){return r==null?void 0:r[i]}t.exports=n}),L0=We((e,t)=>{var n=P_e(),r=T_e();function i(o,a){var s=r(o,a);return n(s)?s:void 0}t.exports=i}),kP=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"Map");t.exports=i}),Yx=We((e,t)=>{var n=L0(),r=n(Object,"create");t.exports=r}),L_e=We((e,t)=>{var n=Yx();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}),A_e=We((e,t)=>{function n(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}t.exports=n}),O_e=We((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var l=this.__data__;if(n){var u=l[s];return u===r?void 0:u}return o.call(l,s)?l[s]:void 0}t.exports=a}),M_e=We((e,t)=>{var n=Yx(),r=Object.prototype,i=r.hasOwnProperty;function o(a){var s=this.__data__;return n?s[a]!==void 0:i.call(s,a)}t.exports=o}),I_e=We((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=n&&a===void 0?r:a,this}t.exports=i}),R_e=We((e,t)=>{var n=L_e(),r=A_e(),i=O_e(),o=M_e(),a=I_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=R_e(),r=Gx(),i=kP();function o(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=o}),N_e=We((e,t)=>{function n(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}t.exports=n}),Kx=We((e,t)=>{var n=N_e();function r(i,o){var a=i.__data__;return n(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=r}),j_e=We((e,t)=>{var n=Kx();function r(i){var o=n(this,i).delete(i);return this.size-=o?1:0,o}t.exports=r}),B_e=We((e,t)=>{var n=Kx();function r(i){return n(this,i).get(i)}t.exports=r}),F_e=We((e,t)=>{var n=Kx();function r(i){return n(this,i).has(i)}t.exports=r}),$_e=We((e,t)=>{var n=Kx();function r(i,o){var a=n(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=r}),eq=We((e,t)=>{var n=D_e(),r=j_e(),i=B_e(),o=F_e(),a=$_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx(),r=kP(),i=eq(),o=200;function a(s,l){var u=this.__data__;if(u instanceof n){var d=u.__data__;if(!r||d.length{var n=Gx(),r=b_e(),i=S_e(),o=x_e(),a=w_e(),s=z_e();function l(u){var d=this.__data__=new n(u);this.size=d.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l}),V_e=We((e,t)=>{var n="__lodash_hash_undefined__";function r(i){return this.__data__.set(i,n),this}t.exports=r}),W_e=We((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),U_e=We((e,t)=>{var n=eq(),r=V_e(),i=W_e();function o(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new n;++s{function n(r,i){for(var o=-1,a=r==null?0:r.length;++o{function n(r,i){return r.has(i)}t.exports=n}),tq=We((e,t)=>{var n=U_e(),r=G_e(),i=q_e(),o=1,a=2;function s(l,u,d,h,m,v){var b=d&o,S=l.length,k=u.length;if(S!=k&&!(b&&k>S))return!1;var E=v.get(l),_=v.get(u);if(E&&_)return E==u&&_==l;var T=-1,A=!0,I=d&a?new n:void 0;for(v.set(l,u),v.set(u,l);++T{var n=pc(),r=n.Uint8Array;t.exports=r}),K_e=We((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=n}),X_e=We((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=a}),o}t.exports=n}),Z_e=We((e,t)=>{var n=_P(),r=Y_e(),i=KG(),o=tq(),a=K_e(),s=X_e(),l=1,u=2,d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Map]",b="[object Number]",S="[object RegExp]",k="[object Set]",E="[object String]",_="[object Symbol]",T="[object ArrayBuffer]",A="[object DataView]",I=n?n.prototype:void 0,R=I?I.valueOf:void 0;function D(j,z,V,K,te,q,F){switch(V){case A:if(j.byteLength!=z.byteLength||j.byteOffset!=z.byteOffset)return!1;j=j.buffer,z=z.buffer;case T:return!(j.byteLength!=z.byteLength||!q(new r(j),new r(z)));case d:case h:case b:return i(+j,+z);case m:return j.name==z.name&&j.message==z.message;case S:case E:return j==z+"";case v:var U=a;case k:var X=K&l;if(U||(U=s),j.size!=z.size&&!X)return!1;var Z=F.get(j);if(Z)return Z==z;K|=u,F.set(j,z);var W=o(U(j),U(z),K,te,q,F);return F.delete(j),W;case _:if(R)return R.call(j)==R.call(z)}return!1}t.exports=D}),Q_e=We((e,t)=>{function n(r,i){for(var o=-1,a=i.length,s=r.length;++o{var n=Array.isArray;t.exports=n}),J_e=We((e,t)=>{var n=Q_e(),r=EP();function i(o,a,s){var l=a(o);return r(o)?l:n(l,s(o))}t.exports=i}),eke=We((e,t)=>{function n(r,i){for(var o=-1,a=r==null?0:r.length,s=0,l=[];++o{function n(){return[]}t.exports=n}),nke=We((e,t)=>{var n=eke(),r=tke(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),n(a(l),function(u){return o.call(l,u)}))}:r;t.exports=s}),rke=We((e,t)=>{function n(r,i){for(var o=-1,a=Array(r);++o{function n(r){return r!=null&&typeof r=="object"}t.exports=n}),ike=We((e,t)=>{var n=qx(),r=Xx(),i="[object Arguments]";function o(a){return r(a)&&n(a)==i}t.exports=o}),oke=We((e,t)=>{var n=ike(),r=Xx(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(l){return r(l)&&o.call(l,"callee")&&!a.call(l,"callee")};t.exports=s}),ake=We((e,t)=>{function n(){return!1}t.exports=n}),nq=We((e,t)=>{var n=pc(),r=ake(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||r;t.exports=u}),ske=We((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??n,!!a&&(s=="number"||s!="symbol"&&r.test(o))&&o>-1&&o%1==0&&o{var n=9007199254740991;function r(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}t.exports=r}),lke=We((e,t)=>{var n=qx(),r=rq(),i=Xx(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",S="[object Set]",k="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",I="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",K="[object Uint16Array]",te="[object Uint32Array]",q={};q[A]=q[I]=q[R]=q[D]=q[j]=q[z]=q[V]=q[K]=q[te]=!0,q[o]=q[a]=q[_]=q[s]=q[T]=q[l]=q[u]=q[d]=q[h]=q[m]=q[v]=q[b]=q[S]=q[k]=q[E]=!1;function F(U){return i(U)&&r(U.length)&&!!q[n(U)]}t.exports=F}),uke=We((e,t)=>{function n(r){return function(i){return r(i)}}t.exports=n}),cke=We((e,t)=>{var n=XG(),r=typeof e=="object"&&e&&!e.nodeType&&e,i=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s}),iq=We((e,t)=>{var n=lke(),r=uke(),i=cke(),o=i&&i.isTypedArray,a=o?r(o):n;t.exports=a}),dke=We((e,t)=>{var n=rke(),r=oke(),i=EP(),o=nq(),a=ske(),s=iq(),l=Object.prototype,u=l.hasOwnProperty;function d(h,m){var v=i(h),b=!v&&r(h),S=!v&&!b&&o(h),k=!v&&!b&&!S&&s(h),E=v||b||S||k,_=E?n(h.length,String):[],T=_.length;for(var A in h)(m||u.call(h,A))&&!(E&&(A=="length"||S&&(A=="offset"||A=="parent")||k&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,T)))&&_.push(A);return _}t.exports=d}),fke=We((e,t)=>{var n=Object.prototype;function r(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||n;return i===a}t.exports=r}),hke=We((e,t)=>{function n(r,i){return function(o){return r(i(o))}}t.exports=n}),pke=We((e,t)=>{var n=hke(),r=n(Object.keys,Object);t.exports=r}),gke=We((e,t)=>{var n=fke(),r=pke(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=a}),mke=We((e,t)=>{var n=QG(),r=rq();function i(o){return o!=null&&r(o.length)&&!n(o)}t.exports=i}),vke=We((e,t)=>{var n=dke(),r=gke(),i=mke();function o(a){return i(a)?n(a):r(a)}t.exports=o}),yke=We((e,t)=>{var n=J_e(),r=nke(),i=vke();function o(a){return n(a,i,r)}t.exports=o}),bke=We((e,t)=>{var n=yke(),r=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,l,u,d,h,m){var v=u&r,b=n(s),S=b.length,k=n(l),E=k.length;if(S!=E&&!v)return!1;for(var _=S;_--;){var T=b[_];if(!(v?T in l:o.call(l,T)))return!1}var A=m.get(s),I=m.get(l);if(A&&I)return A==l&&I==s;var R=!0;m.set(s,l),m.set(l,s);for(var D=v;++_{var n=L0(),r=pc(),i=n(r,"DataView");t.exports=i}),xke=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"Promise");t.exports=i}),wke=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"Set");t.exports=i}),Cke=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"WeakMap");t.exports=i}),_ke=We((e,t)=>{var n=Ske(),r=kP(),i=xke(),o=wke(),a=Cke(),s=qx(),l=JG(),u="[object Map]",d="[object Object]",h="[object Promise]",m="[object Set]",v="[object WeakMap]",b="[object DataView]",S=l(n),k=l(r),E=l(i),_=l(o),T=l(a),A=s;(n&&A(new n(new ArrayBuffer(1)))!=b||r&&A(new r)!=u||i&&A(i.resolve())!=h||o&&A(new o)!=m||a&&A(new a)!=v)&&(A=function(I){var R=s(I),D=R==d?I.constructor:void 0,j=D?l(D):"";if(j)switch(j){case S:return b;case k:return u;case E:return h;case _:return m;case T:return v}return R}),t.exports=A}),kke=We((e,t)=>{var n=H_e(),r=tq(),i=Z_e(),o=bke(),a=_ke(),s=EP(),l=nq(),u=iq(),d=1,h="[object Arguments]",m="[object Array]",v="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function k(E,_,T,A,I,R){var D=s(E),j=s(_),z=D?m:a(E),V=j?m:a(_);z=z==h?v:z,V=V==h?v:V;var K=z==v,te=V==v,q=z==V;if(q&&l(E)){if(!l(_))return!1;D=!0,K=!1}if(q&&!K)return R||(R=new n),D||u(E)?r(E,_,T,A,I,R):i(E,_,z,T,A,I,R);if(!(T&d)){var F=K&&S.call(E,"__wrapped__"),U=te&&S.call(_,"__wrapped__");if(F||U){var X=F?E.value():E,Z=U?_.value():_;return R||(R=new n),I(X,Z,T,A,R)}}return q?(R||(R=new n),o(E,_,T,A,I,R)):!1}t.exports=k}),Eke=We((e,t)=>{var n=kke(),r=Xx();function i(o,a,s,l,u){return o===a?!0:o==null||a==null||!r(o)&&!r(a)?o!==o&&a!==a:n(o,a,s,l,i,u)}t.exports=i}),oq=We((e,t)=>{var n=Eke();function r(i,o){return n(i,o)}t.exports=r}),Pke=["ctrl","shift","alt","meta","mod"],Tke={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown"};function RC(e,t=","){return typeof e=="string"?e.split(t):e}function u2(e,t="+"){let n=e.toLocaleLowerCase().split(t).map(o=>o.trim()).map(o=>Tke[o]||o),r={alt:n.includes("alt"),ctrl:n.includes("ctrl"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},i=n.filter(o=>!Pke.includes(o));return{...r,keys:i}}function Lke(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function Ake(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function Oke(e){return aq(e,["input","textarea","select"])}function aq({target:e},t=!1){let n=e&&e.tagName;return t instanceof Array?Boolean(n&&t&&t.some(r=>r.toLowerCase()===n.toLowerCase())):Boolean(n&&t&&t===!0)}function Mke(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a '),!0):t?e.some(n=>t.includes(n))||e.includes("*"):!0}var Ike=(e,t,n)=>{let{alt:r,ctrl:i,meta:o,mod:a,shift:s,keys:l}=t,{altKey:u,ctrlKey:d,metaKey:h,shiftKey:m,key:v,code:b}=e,S=b.toLowerCase().replace("key",""),k=v.toLowerCase();if(u!==r&&k!=="alt"||m!==s&&k!=="shift")return!1;if(a){if(!h&&!d)return!1}else if(h!==o&&S!=="meta"||d!==i&&S!=="ctrl")return!1;return l&&l.length===1&&(l.includes(k)||l.includes(S))?!0:l?l.every(E=>n.has(E)):!l},Rke=w.createContext(void 0),Dke=()=>w.useContext(Rke),Nke=w.createContext({hotkeys:[],enabledScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),jke=()=>w.useContext(Nke),Bke=YG(oq());function Fke(e){let t=w.useRef(void 0);return(0,Bke.default)(t.current,e)||(t.current=e),t.current}var pD=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()};function Qe(e,t,n,r){let i=w.useRef(null),{current:o}=w.useRef(new Set),a=n instanceof Array?r instanceof Array?void 0:r:n,s=n instanceof Array?n:r instanceof Array?r:[],l=w.useCallback(t,[...s]),u=Fke(a),{enabledScopes:d}=jke(),h=Dke();return w.useLayoutEffect(()=>{if((u==null?void 0:u.enabled)===!1||!Mke(d,u==null?void 0:u.scopes))return;let m=S=>{var k;if(!(Oke(S)&&!aq(S,u==null?void 0:u.enableOnFormTags))){if(i.current!==null&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){pD(S);return}(k=S.target)!=null&&k.isContentEditable&&!(u!=null&&u.enableOnContentEditable)||RC(e,u==null?void 0:u.splitKey).forEach(E=>{var T;let _=u2(E,u==null?void 0:u.combinationKey);if(Ike(S,_,o)||(T=_.keys)!=null&&T.includes("*")){if(Lke(S,_,u==null?void 0:u.preventDefault),!Ake(S,_,u==null?void 0:u.enabled)){pD(S);return}l(S,_)}})}},v=S=>{o.add(S.key.toLowerCase()),((u==null?void 0:u.keydown)===void 0&&(u==null?void 0:u.keyup)!==!0||u!=null&&u.keydown)&&m(S)},b=S=>{S.key.toLowerCase()!=="meta"?o.delete(S.key.toLowerCase()):o.clear(),u!=null&&u.keyup&&m(S)};return(i.current||document).addEventListener("keyup",b),(i.current||document).addEventListener("keydown",v),h&&RC(e,u==null?void 0:u.splitKey).forEach(S=>h.addHotkey(u2(S,u==null?void 0:u.combinationKey))),()=>{(i.current||document).removeEventListener("keyup",b),(i.current||document).removeEventListener("keydown",v),h&&RC(e,u==null?void 0:u.splitKey).forEach(S=>h.removeHotkey(u2(S,u==null?void 0:u.combinationKey)))}},[e,l,u,d]),i}YG(oq());var D8=new Set;function $ke(e){(Array.isArray(e)?e:[e]).forEach(t=>D8.add(u2(t)))}function zke(e){(Array.isArray(e)?e:[e]).forEach(t=>{var r;let n=u2(t);for(let i of D8)(r=i.keys)!=null&&r.every(o=>{var a;return(a=n.keys)==null?void 0:a.includes(o)})&&D8.delete(i)})}window.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keydown",e=>{$ke(e.key)}),document.addEventListener("keyup",e=>{zke(e.key)})});var sq={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},gD=N.createContext&&N.createContext(sq),$d=globalThis&&globalThis.__assign||function(){return $d=Object.assign||function(e){for(var t,n=1,r=arguments.length;ne.canvas,Mr=ot([ln,Or,ir],(e,t,n)=>e.layerState.stagingArea.images.length>0||t==="unifiedCanvas"&&n.isProcessing),bq=e=>e.canvas.layerState.objects.find(U5),yp=e=>e.gallery,yEe=ot([yp,Wx,Mr,Or],(e,t,n,r)=>{const{categories:i,currentCategory:o,currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,galleryWidth:b,shouldUseSingleGalleryColumn:S}=e,{isLightboxOpen:k}=t;return{currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,galleryGridTemplateColumns:S?"auto":`repeat(auto-fill, minmax(${d}px, auto))`,activeTabName:r,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,images:i[o].images,areMoreImagesAvailable:i[o].areMoreImagesAvailable,currentCategory:o,galleryWidth:b,isLightboxOpen:k,isStaging:n,shouldEnableResize:!(k||r==="unifiedCanvas"&&s),shouldUseSingleGalleryColumn:S}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),bEe=ot([yp,ir,Wx,Or],(e,t,n,r)=>({mayDeleteImage:t.isConnected&&!t.isProcessing,galleryImageObjectFit:e.galleryImageObjectFit,galleryImageMinimumWidth:e.galleryImageMinimumWidth,shouldUseSingleGalleryColumn:e.shouldUseSingleGalleryColumn,activeTabName:r,isLightboxOpen:n.isLightboxOpen}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),SEe=ot(ir,e=>{const{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}=e;return{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),tS=w.forwardRef(({image:e,children:t},n)=>{const{isOpen:r,onOpen:i,onClose:o}=Wh(),a=Ie(),{shouldConfirmOnDelete:s,isConnected:l,isProcessing:u}=he(SEe),d=w.useRef(null),h=b=>{b.stopPropagation(),s?i():m()},m=()=>{l&&!u&&e&&a(D8e(e)),o()};Qe("delete",()=>{s?i():m()},[e,s,l,u]);const v=b=>a(jU(!b.target.checked));return y.jsxs(y.Fragment,{children:[w.cloneElement(t,{onClick:e?h:void 0,ref:n}),y.jsx(AV,{isOpen:r,leastDestructiveRef:d,onClose:o,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:"Delete image"}),y.jsx(n0,{children:y.jsxs(qe,{direction:"column",gap:5,children:[y.jsx(fn,{children:"Are you sure? Deleted images will be sent to the Bin. You can restore from there if you wish to."}),y.jsx(dn,{children:y.jsxs(qe,{alignItems:"center",children:[y.jsx(kn,{mb:0,children:"Don't ask me again"}),y.jsx(BE,{checked:!s,onChange:v})]})})]})}),y.jsxs(bx,{children:[y.jsx(as,{ref:d,onClick:o,className:"modal-close-btn",children:"Cancel"}),y.jsx(as,{colorScheme:"red",onClick:m,ml:3,children:"Delete"})]})]})})})]})});tS.displayName="DeleteImageModal";const xEe=ot([ir,yp,$y,mp,Wx,Or],(e,t,n,r,i,o)=>{const{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u}=e,{upscalingLevel:d,facetoolStrength:h}=n,{isLightboxOpen:m}=i,{shouldShowImageDetails:v}=r,{intermediateImage:b,currentImage:S}=t;return{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u,upscalingLevel:d,facetoolStrength:h,shouldDisableToolbarButtons:Boolean(b)||!S,currentImage:S,shouldShowImageDetails:v,activeTabName:o,isLightboxOpen:m}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),Sq=()=>{var z,V,K,te,q,F;const e=Ie(),{isProcessing:t,isConnected:n,isGFPGANAvailable:r,isESRGANAvailable:i,upscalingLevel:o,facetoolStrength:a,shouldDisableToolbarButtons:s,shouldShowImageDetails:l,currentImage:u,isLightboxOpen:d,activeTabName:h}=he(xEe),m=Ry(),{t:v}=Ve(),b=()=>{u&&(d&&e(Bm(!1)),e(k0(u)),e(qo("img2img")))},S=async()=>{if(!u)return;const U=await fetch(u.url).then(Z=>Z.blob()),X=[new ClipboardItem({[U.type]:U})];await navigator.clipboard.write(X),m({title:v("toast:imageCopied"),status:"success",duration:2500,isClosable:!0})},k=()=>{navigator.clipboard.writeText(u?window.location.toString()+u.url:"").then(()=>{m({title:v("toast:imageLinkCopied"),status:"success",duration:2500,isClosable:!0})})};Qe("shift+i",()=>{u?(b(),m({title:v("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:imageNotLoaded"),description:v("toast:imageNotLoadedDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const E=()=>{var U,X;u&&(u.metadata&&e(aU(u.metadata)),((U=u.metadata)==null?void 0:U.image.type)==="img2img"?e(qo("img2img")):((X=u.metadata)==null?void 0:X.image.type)==="txt2img"&&e(qo("txt2img")))};Qe("a",()=>{var U,X;["txt2img","img2img"].includes((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)==null?void 0:X.type)?(E(),m({title:v("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:parametersNotSet"),description:v("toast:parametersNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const _=()=>{u!=null&&u.metadata&&e(Ny(u.metadata.image.seed))};Qe("s",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.seed?(_(),m({title:v("toast:seedSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:seedNotSet"),description:v("toast:seedNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const T=()=>{var U,X,Z,W;if((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt){const[Q,ie]=aP((W=(Z=u==null?void 0:u.metadata)==null?void 0:Z.image)==null?void 0:W.prompt);Q&&e(jx(Q)),e(Q2(ie||""))}};Qe("p",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt?(T(),m({title:v("toast:promptSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:promptNotSet"),description:v("toast:promptNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const A=()=>{u&&e(I8e(u))};Qe("Shift+U",()=>{i&&!s&&n&&!t&&o?A():m({title:v("toast:upscalingFailed"),status:"error",duration:2500,isClosable:!0})},[u,i,s,n,t,o]);const I=()=>{u&&e(R8e(u))};Qe("Shift+R",()=>{r&&!s&&n&&!t&&a?I():m({title:v("toast:faceRestoreFailed"),status:"error",duration:2500,isClosable:!0})},[u,r,s,n,t,a]);const R=()=>e(HU(!l)),D=()=>{u&&(d&&e(Bm(!1)),e(Nx(u)),e(vi(!0)),h!=="unifiedCanvas"&&e(qo("unifiedCanvas")),m({title:v("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0}))};Qe("i",()=>{u?R():m({title:v("toast:metadataLoadFailed"),status:"error",duration:2500,isClosable:!0})},[u,l]);const j=()=>{e(Bm(!d))};return y.jsxs("div",{className:"current-image-options",children:[y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{"aria-label":`${v("parameters:sendTo")}...`,icon:y.jsx(pEe,{})}),children:y.jsxs("div",{className:"current-image-send-to-popover",children:[y.jsx(cr,{size:"sm",onClick:b,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToImg2Img")}),y.jsx(cr,{size:"sm",onClick:D,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToUnifiedCanvas")}),y.jsx(cr,{size:"sm",onClick:S,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImage")}),y.jsx(cr,{size:"sm",onClick:k,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImageToLink")}),y.jsx(Nh,{download:!0,href:u==null?void 0:u.url,children:y.jsx(cr,{leftIcon:y.jsx(TP,{}),size:"sm",w:"100%",children:v("parameters:downloadImage")})})]})}),y.jsx(Ze,{icon:y.jsx(Jke,{}),tooltip:d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"aria-label":d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"data-selected":d,onClick:j})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Ze,{icon:y.jsx(cEe,{}),tooltip:`${v("parameters:usePrompt")} (P)`,"aria-label":`${v("parameters:usePrompt")} (P)`,isDisabled:!((V=(z=u==null?void 0:u.metadata)==null?void 0:z.image)!=null&&V.prompt),onClick:T}),y.jsx(Ze,{icon:y.jsx(hEe,{}),tooltip:`${v("parameters:useSeed")} (S)`,"aria-label":`${v("parameters:useSeed")} (S)`,isDisabled:!((te=(K=u==null?void 0:u.metadata)==null?void 0:K.image)!=null&&te.seed),onClick:_}),y.jsx(Ze,{icon:y.jsx(Kke,{}),tooltip:`${v("parameters:useAll")} (A)`,"aria-label":`${v("parameters:useAll")} (A)`,isDisabled:!["txt2img","img2img"].includes((F=(q=u==null?void 0:u.metadata)==null?void 0:q.image)==null?void 0:F.type),onClick:E})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{icon:y.jsx(nEe,{}),"aria-label":v("parameters:restoreFaces")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(wP,{}),y.jsx(cr,{isDisabled:!r||!u||!(n&&!t)||!a,onClick:I,children:v("parameters:restoreFaces")})]})}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{icon:y.jsx(Qke,{}),"aria-label":v("parameters:upscale")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(CP,{}),y.jsx(cr,{isDisabled:!i||!u||!(n&&!t)||!o,onClick:A,children:v("parameters:upscaleImage")})]})})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(Ze,{icon:y.jsx(fq,{}),tooltip:`${v("parameters:info")} (I)`,"aria-label":`${v("parameters:info")} (I)`,"data-selected":l,onClick:R})}),y.jsx(tS,{image:u,children:y.jsx(Ze,{icon:y.jsx(vp,{}),tooltip:`${v("parameters:deleteImage")} (Del)`,"aria-label":`${v("parameters:deleteImage")} (Del)`,isDisabled:!u||!n||t,style:{backgroundColor:"var(--btn-delete-image)"}})})]})};yt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});yt({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});yt({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});yt({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});yt({displayName:"SunIcon",path:N.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},N.createElement("circle",{cx:"12",cy:"12",r:"5"}),N.createElement("path",{d:"M12 1v2"}),N.createElement("path",{d:"M12 21v2"}),N.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),N.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),N.createElement("path",{d:"M1 12h2"}),N.createElement("path",{d:"M21 12h2"}),N.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),N.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});yt({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});yt({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:N.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});yt({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});yt({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});yt({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});yt({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});yt({displayName:"ViewIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),N.createElement("circle",{cx:"12",cy:"12",r:"2"}))});yt({displayName:"ViewOffIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),N.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});yt({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});var wEe=yt({displayName:"DeleteIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});yt({displayName:"RepeatIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),N.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});yt({displayName:"RepeatClockIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),N.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});var CEe=yt({displayName:"EditIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),N.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});yt({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});yt({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});yt({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});yt({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});yt({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});yt({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});yt({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});yt({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});yt({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});var xq=yt({displayName:"ExternalLinkIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),N.createElement("path",{d:"M15 3h6v6"}),N.createElement("path",{d:"M10 14L21 3"}))});yt({displayName:"LinkIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),N.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});yt({displayName:"PlusSquareIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),N.createElement("path",{d:"M12 8v8"}),N.createElement("path",{d:"M8 12h8"}))});yt({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});yt({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});yt({displayName:"TimeIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),N.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});yt({displayName:"ArrowRightIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),N.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});yt({displayName:"ArrowLeftIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),N.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});yt({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});yt({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});yt({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});yt({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});yt({displayName:"EmailIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),N.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});yt({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});yt({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});yt({displayName:"SpinnerIcon",path:N.createElement(N.Fragment,null,N.createElement("defs",null,N.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},N.createElement("stop",{stopColor:"currentColor",offset:"0%"}),N.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),N.createElement("g",{transform:"translate(2)",fill:"none"},N.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),N.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),N.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});yt({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});yt({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:N.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});yt({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});yt({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});yt({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});yt({displayName:"InfoOutlineIcon",path:N.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},N.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),N.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),N.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});yt({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});yt({displayName:"QuestionOutlineIcon",path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});yt({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});yt({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});yt({viewBox:"0 0 14 14",path:N.createElement("g",{fill:"currentColor"},N.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});yt({displayName:"MinusIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});yt({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});function _Ee(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M245.09 327.74v-37.32c57.07 0 84.51 13.47 108.58 38.68 5.4 5.65 15 1.32 14.29-6.43-5.45-61.45-34.14-117.09-122.87-117.09v-37.32a8.32 8.32 0 00-14.05-6L146.58 242a8.2 8.2 0 000 11.94L231 333.71a8.32 8.32 0 0014.09-5.97z"}},{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}}]})(e)}const zn=({label:e,value:t,onClick:n,isLink:r,labelPosition:i,withCopy:o=!1})=>y.jsxs(qe,{gap:2,children:[n&&y.jsx(lo,{label:`Recall ${e}`,children:y.jsx(ss,{"aria-label":"Use this parameter",icon:y.jsx(_Ee,{}),size:"xs",variant:"ghost",fontSize:20,onClick:n})}),o&&y.jsx(lo,{label:`Copy ${e}`,children:y.jsx(ss,{"aria-label":`Copy ${e}`,icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(t.toString())})}),y.jsxs(qe,{direction:i?"column":"row",children:[y.jsxs(fn,{fontWeight:"semibold",whiteSpace:"pre-wrap",pr:2,children:[e,":"]}),r?y.jsxs(Nh,{href:t.toString(),isExternal:!0,wordBreak:"break-all",children:[t.toString()," ",y.jsx(xq,{mx:"2px"})]}):y.jsx(fn,{overflowY:"scroll",wordBreak:"break-all",children:t.toString()})]})]}),kEe=(e,t)=>e.image.uuid===t.image.uuid,MP=w.memo(({image:e,styleClass:t})=>{var V,K;const n=Ie();Qe("esc",()=>{n(HU(!1))});const r=((V=e==null?void 0:e.metadata)==null?void 0:V.image)||{},i=e==null?void 0:e.dreamPrompt,{cfg_scale:o,fit:a,height:s,hires_fix:l,init_image_path:u,mask_image_path:d,orig_path:h,perlin:m,postprocessing:v,prompt:b,sampler:S,scale:k,seamless:E,seed:_,steps:T,strength:A,threshold:I,type:R,variations:D,width:j}=r,z=JSON.stringify(e.metadata,null,2);return y.jsx("div",{className:`image-metadata-viewer ${t}`,children:y.jsxs(qe,{gap:1,direction:"column",width:"100%",children:[y.jsxs(qe,{gap:2,children:[y.jsx(fn,{fontWeight:"semibold",children:"File:"}),y.jsxs(Nh,{href:e.url,isExternal:!0,maxW:"calc(100% - 3rem)",children:[e.url.length>64?e.url.substring(0,64).concat("..."):e.url,y.jsx(xq,{mx:"2px"})]})]}),Object.keys(r).length>0?y.jsxs(y.Fragment,{children:[R&&y.jsx(zn,{label:"Generation type",value:R}),((K=e.metadata)==null?void 0:K.model_weights)&&y.jsx(zn,{label:"Model",value:e.metadata.model_weights}),["esrgan","gfpgan"].includes(R)&&y.jsx(zn,{label:"Original image",value:h}),R==="gfpgan"&&A!==void 0&&y.jsx(zn,{label:"Fix faces strength",value:A,onClick:()=>n(I4(A))}),R==="esrgan"&&k!==void 0&&y.jsx(zn,{label:"Upscaling scale",value:k,onClick:()=>n(c8(k))}),R==="esrgan"&&A!==void 0&&y.jsx(zn,{label:"Upscaling strength",value:A,onClick:()=>n(d8(A))}),b&&y.jsx(zn,{label:"Prompt",labelPosition:"top",value:i2(b),onClick:()=>n(jx(b))}),_!==void 0&&y.jsx(zn,{label:"Seed",value:_,onClick:()=>n(Ny(_))}),I!==void 0&&y.jsx(zn,{label:"Noise Threshold",value:I,onClick:()=>n(vU(I))}),m!==void 0&&y.jsx(zn,{label:"Perlin Noise",value:m,onClick:()=>n(dU(m))}),S&&y.jsx(zn,{label:"Sampler",value:S,onClick:()=>n(fU(S))}),T&&y.jsx(zn,{label:"Steps",value:T,onClick:()=>n(mU(T))}),o!==void 0&&y.jsx(zn,{label:"CFG scale",value:o,onClick:()=>n(sU(o))}),D&&D.length>0&&y.jsx(zn,{label:"Seed-weight pairs",value:K5(D),onClick:()=>n(pU(K5(D)))}),E&&y.jsx(zn,{label:"Seamless",value:E,onClick:()=>n(hU(E))}),l&&y.jsx(zn,{label:"High Resolution Optimization",value:l,onClick:()=>n(lP(l))}),j&&y.jsx(zn,{label:"Width",value:j,onClick:()=>n(yU(j))}),s&&y.jsx(zn,{label:"Height",value:s,onClick:()=>n(lU(s))}),u&&y.jsx(zn,{label:"Initial image",value:u,isLink:!0,onClick:()=>n(k0(u))}),d&&y.jsx(zn,{label:"Mask image",value:d,isLink:!0,onClick:()=>n(cU(d))}),R==="img2img"&&A&&y.jsx(zn,{label:"Image to image strength",value:A,onClick:()=>n(u8(A))}),a&&y.jsx(zn,{label:"Image to image fit",value:a,onClick:()=>n(gU(a))}),v&&v.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Dh,{size:"sm",children:"Postprocessing"}),v.map((te,q)=>{if(te.type==="esrgan"){const{scale:F,strength:U}=te;return y.jsxs(qe,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Upscale (ESRGAN)`}),y.jsx(zn,{label:"Scale",value:F,onClick:()=>n(c8(F))}),y.jsx(zn,{label:"Strength",value:U,onClick:()=>n(d8(U))})]},q)}else if(te.type==="gfpgan"){const{strength:F}=te;return y.jsxs(qe,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (GFPGAN)`}),y.jsx(zn,{label:"Strength",value:F,onClick:()=>{n(I4(F)),n(R4("gfpgan"))}})]},q)}else if(te.type==="codeformer"){const{strength:F,fidelity:U}=te;return y.jsxs(qe,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (Codeformer)`}),y.jsx(zn,{label:"Strength",value:F,onClick:()=>{n(I4(F)),n(R4("codeformer"))}}),U&&y.jsx(zn,{label:"Fidelity",value:U,onClick:()=>{n(xU(U)),n(R4("codeformer"))}})]},q)}})]}),i&&y.jsx(zn,{withCopy:!0,label:"Dream Prompt",value:i}),y.jsxs(qe,{gap:2,direction:"column",children:[y.jsxs(qe,{gap:2,children:[y.jsx(lo,{label:"Copy metadata JSON",children:y.jsx(ss,{"aria-label":"Copy metadata JSON",icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(z)})}),y.jsx(fn,{fontWeight:"semibold",children:"Metadata JSON:"})]}),y.jsx("div",{className:"image-json-viewer",children:y.jsx("pre",{children:z})})]})]}):y.jsx(u$,{width:"100%",pt:10,children:y.jsx(fn,{fontSize:"lg",fontWeight:"semibold",children:"No metadata available"})})]})})},kEe);MP.displayName="ImageMetadataViewer";const wq=ot([yp,mp],(e,t)=>{const{currentCategory:n,currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t,a=e.categories[r?r.category:"result"].images,s=a.findIndex(u=>{var d;return u.uuid===((d=e==null?void 0:e.currentImage)==null?void 0:d.uuid)}),l=a.length;return{imageToDisplay:i||r,isIntermediate:Boolean(i),viewerImageToDisplay:r,currentCategory:n,isOnFirstImage:s===0,isOnLastImage:!isNaN(s)&&s===l-1,shouldShowImageDetails:o,shouldShowPrevImageButton:s===0,shouldShowNextImageButton:!isNaN(s)&&s===l-1}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function EEe(){const e=Ie(),{isOnFirstImage:t,isOnLastImage:n,shouldShowImageDetails:r,imageToDisplay:i,isIntermediate:o}=he(wq),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return y.jsxs("div",{className:"current-image-preview",children:[i&&y.jsx(XS,{src:i.url,width:i.width,height:i.height,style:{imageRendering:o?"pixelated":"initial"}}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!t&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(uq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!n&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(cq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),r&&i&&y.jsx(MP,{image:i,styleClass:"current-image-metadata"})]})}var PEe=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof a>"u"?void 0:Number(a)}},REe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],xD="__resizable_base__",Cq=function(e){AEe(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(xD):o.className+=xD,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||OEe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,a=this.resizable.style.position;a!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=a}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&n.propsSize[s].toString().endsWith("%")){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var l=n.getParentSize(),u=Number(n.state[s].toString().replace("px","")),d=u/l[s]*100;return d+"%"}return DC(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?DC(r.width):i("width"),a=r&&typeof r.height<"u"&&!this.state.isResizing?DC(r.height):i("height");return{width:o,height:a}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,a=i&&Ng("left",o),s=i&&Ng("top",o),l,u;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=a?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(n=n&&n"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,v=typeof i.height>"u"||i.height<0?r:i.height,b=l||0,S=u||0;if(s){var k=(m-b)*this.ratio+S,E=(v-b)*this.ratio+S,_=(d-S)/this.ratio+b,T=(h-S)/this.ratio+b,A=Math.max(d,k),I=Math.min(h,E),R=Math.max(m,_),D=Math.min(v,T);n=Wb(n,A,I),r=Wb(r,R,D)}else n=Wb(n,d,h),r=Wb(r,m,v);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),a=o.left,s=o.top,l=o.right,u=o.bottom;this.resizableLeft=a,this.resizableRight=l,this.resizableTop=s,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&MEe(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ub(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var a=this.props.onResizeStart(n,r,this.resizable);if(a===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var u=this.parentNode;if(u){var d=this.window.getComputedStyle(u).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ub(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,a=i.maxHeight,s=i.minWidth,l=i.minHeight,u=Ub(n)?n.touches[0].clientX:n.clientX,d=Ub(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,v=h.original,b=h.width,S=h.height,k=this.getParentSize(),E=IEe(k,this.window.innerWidth,this.window.innerHeight,o,a,s,l);o=E.maxWidth,a=E.maxHeight,s=E.minWidth,l=E.minHeight;var _=this.calculateNewSizeFromDirection(u,d),T=_.newHeight,A=_.newWidth,I=this.calculateNewMaxFromBoundary(o,a);this.props.snap&&this.props.snap.x&&(A=SD(A,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(T=SD(T,this.props.snap.y,this.props.snapGap));var R=this.calculateNewSizeFromAspectRatio(A,T,{width:I.maxWidth,height:I.maxHeight},{width:s,height:l});if(A=R.newWidth,T=R.newHeight,this.props.grid){var D=bD(A,this.props.grid[0]),j=bD(T,this.props.grid[1]),z=this.props.snapGap||0;A=z===0||Math.abs(D-A)<=z?D:A,T=z===0||Math.abs(j-T)<=z?j:T}var V={width:A-v.width,height:T-v.height};if(b&&typeof b=="string"){if(b.endsWith("%")){var K=A/k.width*100;A=K+"%"}else if(b.endsWith("vw")){var te=A/this.window.innerWidth*100;A=te+"vw"}else if(b.endsWith("vh")){var q=A/this.window.innerHeight*100;A=q+"vh"}}if(S&&typeof S=="string"){if(S.endsWith("%")){var K=T/k.height*100;T=K+"%"}else if(S.endsWith("vw")){var te=T/this.window.innerWidth*100;T=te+"vw"}else if(S.endsWith("vh")){var q=T/this.window.innerHeight*100;T=q+"vh"}}var F={width:this.createSizeForCssProperty(A,"width"),height:this.createSizeForCssProperty(T,"height")};this.flexDir==="row"?F.flexBasis=F.width:this.flexDir==="column"&&(F.flexBasis=F.height),Qs.flushSync(function(){r.setState(F)}),this.props.onResize&&this.props.onResize(n,m,this.resizable,V)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,a=r.original;if(!(!i||!this.resizable)){var s={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,a=r.handleClasses,s=r.handleWrapperStyle,l=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?w.createElement(LEe,{key:h,direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:a&&a[h]},u&&u[h]?u[h]:null):null});return w.createElement("div",{className:l,style:s},d)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(a,s){return REe.indexOf(s)!==-1||(a[s]=n.props[s]),a},{}),i=Nl(Nl(Nl({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return w.createElement(o,Nl({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&w.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(w.PureComponent);const er=e=>{const{label:t,styleClass:n,...r}=e;return y.jsx(QF,{className:`invokeai__checkbox ${n}`,...r,children:t})};function _q(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21 11H6.414l5.293-5.293-1.414-1.414L2.586 12l7.707 7.707 1.414-1.414L6.414 13H21z"}}]})(e)}function DEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19.002 3h-14c-1.103 0-2 .897-2 2v4h2V5h14v14h-14v-4h-2v4c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2V5c0-1.103-.898-2-2-2z"}},{tag:"path",attr:{d:"m11 16 5-4-5-4v3.001H3v2h8z"}}]})(e)}function Qx(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 16c1.671 0 3-1.331 3-3s-1.329-3-3-3-3 1.331-3 3 1.329 3 3 3z"}},{tag:"path",attr:{d:"M20.817 11.186a8.94 8.94 0 0 0-1.355-3.219 9.053 9.053 0 0 0-2.43-2.43 8.95 8.95 0 0 0-3.219-1.355 9.028 9.028 0 0 0-1.838-.18V2L8 5l3.975 3V6.002c.484-.002.968.044 1.435.14a6.961 6.961 0 0 1 2.502 1.053 7.005 7.005 0 0 1 1.892 1.892A6.967 6.967 0 0 1 19 13a7.032 7.032 0 0 1-.55 2.725 7.11 7.11 0 0 1-.644 1.188 7.2 7.2 0 0 1-.858 1.039 7.028 7.028 0 0 1-3.536 1.907 7.13 7.13 0 0 1-2.822 0 6.961 6.961 0 0 1-2.503-1.054 7.002 7.002 0 0 1-1.89-1.89A6.996 6.996 0 0 1 5 13H3a9.02 9.02 0 0 0 1.539 5.034 9.096 9.096 0 0 0 2.428 2.428A8.95 8.95 0 0 0 12 22a9.09 9.09 0 0 0 1.814-.183 9.014 9.014 0 0 0 3.218-1.355 8.886 8.886 0 0 0 1.331-1.099 9.228 9.228 0 0 0 1.1-1.332A8.952 8.952 0 0 0 21 13a9.09 9.09 0 0 0-.183-1.814z"}}]})(e)}function NEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M6.758 8.758 5.344 7.344a8.048 8.048 0 0 0-1.841 2.859l1.873.701a6.048 6.048 0 0 1 1.382-2.146zM19 12.999a7.935 7.935 0 0 0-2.344-5.655A7.917 7.917 0 0 0 12 5.069V2L7 6l5 4V7.089a5.944 5.944 0 0 1 3.242 1.669A5.956 5.956 0 0 1 17 13v.002c0 .33-.033.655-.086.977-.007.043-.011.088-.019.131a6.053 6.053 0 0 1-1.138 2.536c-.16.209-.331.412-.516.597a5.954 5.954 0 0 1-.728.613 5.906 5.906 0 0 1-2.277 1.015c-.142.03-.285.05-.43.069-.062.009-.122.021-.184.027a6.104 6.104 0 0 1-1.898-.103L9.3 20.819a8.087 8.087 0 0 0 2.534.136c.069-.007.138-.021.207-.03.205-.026.409-.056.61-.098l.053-.009-.001-.005a7.877 7.877 0 0 0 2.136-.795l.001.001.028-.019a7.906 7.906 0 0 0 1.01-.67c.27-.209.532-.43.777-.675.248-.247.47-.513.681-.785.021-.028.049-.053.07-.081l-.006-.004a7.899 7.899 0 0 0 1.093-1.997l.008.003c.029-.078.05-.158.076-.237.037-.11.075-.221.107-.333.04-.14.073-.281.105-.423.022-.099.048-.195.066-.295.032-.171.056-.344.076-.516.01-.076.023-.15.03-.227.023-.249.037-.5.037-.753.002-.002.002-.004.002-.008zM6.197 16.597l-1.6 1.201a8.045 8.045 0 0 0 2.569 2.225l.961-1.754a6.018 6.018 0 0 1-1.93-1.672zM5 13c0-.145.005-.287.015-.429l-1.994-.143a7.977 7.977 0 0 0 .483 3.372l1.873-.701A5.975 5.975 0 0 1 5 13z"}}]})(e)}function jEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16.242 17.242a6.04 6.04 0 0 1-1.37 1.027l.961 1.754a8.068 8.068 0 0 0 2.569-2.225l-1.6-1.201a5.938 5.938 0 0 1-.56.645zm1.743-4.671a5.975 5.975 0 0 1-.362 2.528l1.873.701a7.977 7.977 0 0 0 .483-3.371l-1.994.142zm1.512-2.368a8.048 8.048 0 0 0-1.841-2.859l-1.414 1.414a6.071 6.071 0 0 1 1.382 2.146l1.873-.701zm-8.128 8.763c-.047-.005-.094-.015-.141-.021a6.701 6.701 0 0 1-.468-.075 5.923 5.923 0 0 1-2.421-1.122 5.954 5.954 0 0 1-.583-.506 6.138 6.138 0 0 1-.516-.597 5.91 5.91 0 0 1-.891-1.634 6.086 6.086 0 0 1-.247-.902c-.008-.043-.012-.088-.019-.131A6.332 6.332 0 0 1 6 13.002V13c0-1.603.624-3.109 1.758-4.242A5.944 5.944 0 0 1 11 7.089V10l5-4-5-4v3.069a7.917 7.917 0 0 0-4.656 2.275A7.936 7.936 0 0 0 4 12.999v.009c0 .253.014.504.037.753.007.076.021.15.03.227.021.172.044.345.076.516.019.1.044.196.066.295.032.142.065.283.105.423.032.112.07.223.107.333.026.079.047.159.076.237l.008-.003A7.948 7.948 0 0 0 5.6 17.785l-.007.005c.021.028.049.053.07.081.211.272.433.538.681.785a8.236 8.236 0 0 0 .966.816c.265.192.537.372.821.529l.028.019.001-.001a7.877 7.877 0 0 0 2.136.795l-.001.005.053.009c.201.042.405.071.61.098.069.009.138.023.207.03a8.038 8.038 0 0 0 2.532-.137l-.424-1.955a6.11 6.11 0 0 1-1.904.102z"}}]})(e)}function BEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11 6H9v3H6v2h3v3h2v-3h3V9h-3z"}},{tag:"path",attr:{d:"M10 2c-4.411 0-8 3.589-8 8s3.589 8 8 8a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8zm0 14c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6z"}}]})(e)}function FEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M6 9h8v2H6z"}},{tag:"path",attr:{d:"M10 18a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8 3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6z"}}]})(e)}function na(e){const[t,n]=w.useState(!1),{label:r,value:i,min:o=1,max:a=100,step:s=1,onChange:l,width:u="100%",tooltipSuffix:d="",withSliderMarks:h=!1,sliderMarkLeftOffset:m=0,sliderMarkRightOffset:v=-7,withInput:b=!1,isInteger:S=!1,inputWidth:k="5.5rem",inputReadOnly:E=!1,withReset:_=!1,hideTooltip:T=!1,isCompact:A=!1,handleReset:I,isResetDisabled:R,isSliderDisabled:D,isInputDisabled:j,styleClass:z,sliderFormControlProps:V,sliderFormLabelProps:K,sliderMarkProps:te,sliderTrackProps:q,sliderThumbProps:F,sliderNumberInputProps:U,sliderNumberInputFieldProps:X,sliderNumberInputStepperProps:Z,sliderTooltipProps:W,sliderIAIIconButtonProps:Q,...ie}=e,[fe,Se]=w.useState(String(i));w.useEffect(()=>{Se(i)},[i]);const Te=w.useMemo(()=>U!=null&&U.max?U.max:a,[a,U==null?void 0:U.max]),ye=_e=>{l(_e)},He=_e=>{_e.target.value===""&&(_e.target.value=String(o));const lt=Ee.clamp(S?Math.floor(Number(_e.target.value)):Number(fe),o,Te);l(lt)},Ne=_e=>{Se(_e)},tt=()=>{I&&I()};return y.jsxs(dn,{className:z?`invokeai__slider-component ${z}`:"invokeai__slider-component","data-markers":h,style:A?{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"1rem",margin:0,padding:0}:{},...V,children:[y.jsx(kn,{className:"invokeai__slider-component-label",...K,children:r}),y.jsxs(wy,{w:"100%",gap:2,alignItems:"center",children:[y.jsxs(jE,{"aria-label":r,value:i,min:o,max:a,step:s,onChange:ye,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),focusThumbOnChange:!1,isDisabled:D,width:u,...ie,children:[h&&y.jsxs(y.Fragment,{children:[y.jsx(q9,{value:o,className:"invokeai__slider-mark invokeai__slider-mark-start",ml:m,...te,children:o}),y.jsx(q9,{value:a,className:"invokeai__slider-mark invokeai__slider-mark-end",ml:v,...te,children:a})]}),y.jsx(ZV,{className:"invokeai__slider_track",...q,children:y.jsx(QV,{className:"invokeai__slider_track-filled"})}),y.jsx(lo,{hasArrow:!0,className:"invokeai__slider-component-tooltip",placement:"top",isOpen:t,label:`${i}${d}`,hidden:T,...W,children:y.jsx(XV,{className:"invokeai__slider-thumb",...F})})]}),b&&y.jsxs(TE,{min:o,max:Te,step:s,value:fe,onChange:Ne,onBlur:He,className:"invokeai__slider-number-field",isDisabled:j,...U,children:[y.jsx(LE,{className:"invokeai__slider-number-input",width:k,readOnly:E,minWidth:k,...X}),y.jsxs(IV,{...Z,children:[y.jsx(OE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"}),y.jsx(AE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"})]})]}),_&&y.jsx(Ze,{size:"sm","aria-label":"Reset",tooltip:"Reset",icon:y.jsx(Qx,{}),onClick:tt,isDisabled:R,...Q})]})]})}function kq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z"}}]})(e)}function Eq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146zm.122 2.112v-.002.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.507 4.507 0 0 0-.288-.076 4.922 4.922 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.924 4.924 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343a1.779 1.779 0 0 0 .062.46z"}}]})(e)}function $Ee(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"}}]})(e)}function zEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}}]})(e)}function HEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function VEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function Pq(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function WEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function UEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function GEe(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function qEe(e,t){e.classList?e.classList.add(t):GEe(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function YEe(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wD(e.className,t):e.setAttribute("class",wD(e.className&&e.className.baseVal||"",t))}const CD={disabled:!1},Tq=N.createContext(null);var Lq=function(t){return t.scrollTop},Mv="unmounted",ph="exited",gh="entering",zg="entered",N8="exiting",gc=function(e){yE(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ph,o.appearStatus=gh):l=zg:r.unmountOnExit||r.mountOnEnter?l=Mv:l=ph,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Mv?{status:ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==gh&&a!==zg&&(o=gh):(a===gh||a===zg)&&(o=N8)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===gh){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this);a&&Lq(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ph&&this.setState({status:Mv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[vb.findDOMNode(this),s],u=l[0],d=l[1],h=this.getTimeouts(),m=s?h.appear:h.enter;if(!i&&!a||CD.disabled){this.safeSetState({status:zg},function(){o.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:gh},function(){o.props.onEntering(u,d),o.onTransitionEnd(m,function(){o.safeSetState({status:zg},function(){o.props.onEntered(u,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:vb.findDOMNode(this);if(!o||CD.disabled){this.safeSetState({status:ph},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:N8},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ph},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Mv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=gE(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(Tq.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);gc.contextType=Tq;gc.propTypes={};function jg(){}gc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jg,onEntering:jg,onEntered:jg,onExit:jg,onExiting:jg,onExited:jg};gc.UNMOUNTED=Mv;gc.EXITED=ph;gc.ENTERING=gh;gc.ENTERED=zg;gc.EXITING=N8;const KEe=gc;var XEe=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return qEe(t,r)})},NC=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return YEe(t,r)})},IP=function(e){yE(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;ab,Object.values(b));return w.createElement(S.Provider,{value:k},v)}function d(h,m){const v=(m==null?void 0:m[e][l])||s,b=w.useContext(v);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const i=()=>{const o=n.map(a=>w.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,ZEe(i,...t)]}function ZEe(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const h=l(o)[`__scope${u}`];return{...s,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function QEe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Oq(...e){return t=>e.forEach(n=>QEe(n,t))}function fs(...e){return w.useCallback(Oq(...e),e)}const oy=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(ePe);if(o){const a=o.props.children,s=i.map(l=>l===o?w.Children.count(a)>1?w.Children.only(null):w.isValidElement(a)?a.props.children:null:l);return w.createElement(j8,bn({},r,{ref:t}),w.isValidElement(a)?w.cloneElement(a,void 0,s):null)}return w.createElement(j8,bn({},r,{ref:t}),n)});oy.displayName="Slot";const j8=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...tPe(r,n.props),ref:Oq(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});j8.displayName="SlotClone";const JEe=({children:e})=>w.createElement(w.Fragment,null,e);function ePe(e){return w.isValidElement(e)&&e.type===JEe}function tPe(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{o(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const nPe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ac=nPe.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:o,...a}=r,s=o?oy:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,bn({},a,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Mq(e,t){e&&Qs.flushSync(()=>e.dispatchEvent(t))}function Iq(e){const t=e+"CollectionProvider",[n,r]=Hy(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:b,children:S}=v,k=N.useRef(null),E=N.useRef(new Map).current;return N.createElement(i,{scope:b,itemMap:E,collectionRef:k},S)},s=e+"CollectionSlot",l=N.forwardRef((v,b)=>{const{scope:S,children:k}=v,E=o(s,S),_=fs(b,E.collectionRef);return N.createElement(oy,{ref:_},k)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",h=N.forwardRef((v,b)=>{const{scope:S,children:k,...E}=v,_=N.useRef(null),T=fs(b,_),A=o(u,S);return N.useEffect(()=>(A.itemMap.set(_,{ref:_,...E}),()=>void A.itemMap.delete(_))),N.createElement(oy,{[d]:"",ref:T},k)});function m(v){const b=o(e+"CollectionConsumer",v);return N.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const E=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,I)=>E.indexOf(A.ref.current)-E.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},m,r]}const rPe=w.createContext(void 0);function Rq(e){const t=w.useContext(rPe);return e||t||"ltr"}function uu(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function iPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const B8="dismissableLayer.update",oPe="dismissableLayer.pointerDownOutside",aPe="dismissableLayer.focusOutside";let _D;const sPe=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),lPe=w.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=w.useContext(sPe),[h,m]=w.useState(null),v=(n=h==null?void 0:h.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,b]=w.useState({}),S=fs(t,j=>m(j)),k=Array.from(d.layers),[E]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=k.indexOf(E),T=h?k.indexOf(h):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,I=T>=_,R=uPe(j=>{const z=j.target,V=[...d.branches].some(K=>K.contains(z));!I||V||(o==null||o(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),D=cPe(j=>{const z=j.target;[...d.branches].some(K=>K.contains(z))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return iPe(j=>{T===d.layers.size-1&&(i==null||i(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),w.useEffect(()=>{if(h)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(_D=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),kD(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=_D)}},[h,v,r,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),kD())},[h,d]),w.useEffect(()=>{const j=()=>b({});return document.addEventListener(B8,j),()=>document.removeEventListener(B8,j)},[]),w.createElement(ac.div,bn({},u,{ref:S,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:rr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:rr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:rr(e.onPointerDownCapture,R.onPointerDownCapture)}))});function uPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let u=function(){Dq(oPe,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function cPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Dq(aPe,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kD(){const e=new CustomEvent(B8);document.dispatchEvent(e)}function Dq(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Mq(i,o):i.dispatchEvent(o)}let jC=0;function dPe(){w.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ED()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ED()),jC++,()=>{jC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),jC--}},[])}function ED(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const BC="focusScope.autoFocusOnMount",FC="focusScope.autoFocusOnUnmount",PD={bubbles:!1,cancelable:!0},fPe=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=w.useState(null),u=uu(i),d=uu(o),h=w.useRef(null),m=fs(t,S=>l(S)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let S=function(E){if(v.paused||!s)return;const _=E.target;s.contains(_)?h.current=_:mh(h.current,{select:!0})},k=function(E){v.paused||!s||s.contains(E.relatedTarget)||mh(h.current,{select:!0})};return document.addEventListener("focusin",S),document.addEventListener("focusout",k),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k)}}},[r,s,v.paused]),w.useEffect(()=>{if(s){LD.add(v);const S=document.activeElement;if(!s.contains(S)){const E=new CustomEvent(BC,PD);s.addEventListener(BC,u),s.dispatchEvent(E),E.defaultPrevented||(hPe(yPe(Nq(s)),{select:!0}),document.activeElement===S&&mh(s))}return()=>{s.removeEventListener(BC,u),setTimeout(()=>{const E=new CustomEvent(FC,PD);s.addEventListener(FC,d),s.dispatchEvent(E),E.defaultPrevented||mh(S??document.body,{select:!0}),s.removeEventListener(FC,d),LD.remove(v)},0)}}},[s,u,d,v]);const b=w.useCallback(S=>{if(!n&&!r||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,E=document.activeElement;if(k&&E){const _=S.currentTarget,[T,A]=pPe(_);T&&A?!S.shiftKey&&E===A?(S.preventDefault(),n&&mh(T,{select:!0})):S.shiftKey&&E===T&&(S.preventDefault(),n&&mh(A,{select:!0})):E===_&&S.preventDefault()}},[n,r,v.paused]);return w.createElement(ac.div,bn({tabIndex:-1},a,{ref:m,onKeyDown:b}))});function hPe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mh(r,{select:t}),document.activeElement!==n)return}function pPe(e){const t=Nq(e),n=TD(t,e),r=TD(t.reverse(),e);return[n,r]}function Nq(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function TD(e,t){for(const n of e)if(!gPe(n,{upTo:t}))return n}function gPe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function mPe(e){return e instanceof HTMLInputElement&&"select"in e}function mh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&mPe(e)&&t&&e.select()}}const LD=vPe();function vPe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=AD(e,t),e.unshift(t)},remove(t){var n;e=AD(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function AD(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function yPe(e){return e.filter(t=>t.tagName!=="A")}const a0=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:()=>{},bPe=ZC["useId".toString()]||(()=>{});let SPe=0;function xPe(e){const[t,n]=w.useState(bPe());return a0(()=>{e||n(r=>r??String(SPe++))},[e]),e||(t?`radix-${t}`:"")}function A0(e){return e.split("-")[0]}function Jx(e){return e.split("-")[1]}function O0(e){return["top","bottom"].includes(A0(e))?"x":"y"}function RP(e){return e==="y"?"height":"width"}function OD(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=O0(t),l=RP(s),u=r[l]/2-i[l]/2,d=s==="x";let h;switch(A0(t)){case"top":h={x:o,y:r.y-i.height};break;case"bottom":h={x:o,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(Jx(t)){case"start":h[s]-=u*(n&&d?-1:1);break;case"end":h[s]+=u*(n&&d?-1:1)}return h}const wPe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=OD(l,r,s),h=r,m={},v=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=jq(r),d={x:i,y:o},h=O0(a),m=Jx(a),v=RP(h),b=await l.getDimensions(n),S=h==="y"?"top":"left",k=h==="y"?"bottom":"right",E=s.reference[v]+s.reference[h]-d[h]-s.floating[v],_=d[h]-s.reference[h],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let A=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0;A===0&&(A=s.floating[v]);const I=E/2-_/2,R=u[S],D=A-b[v]-u[k],j=A/2-b[v]/2+I,z=F8(R,j,D),V=(m==="start"?u[S]:u[k])>0&&j!==z&&s.reference[v]<=s.floating[v];return{[h]:d[h]-(V?jkPe[t])}function EPe(e,t,n){n===void 0&&(n=!1);const r=Jx(e),i=O0(e),o=RP(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=iS(a)),{main:a,cross:iS(a)}}const PPe={start:"end",end:"start"};function ID(e){return e.replace(/start|end/g,t=>PPe[t])}const Bq=["top","right","bottom","left"];Bq.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const TPe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...b}=e,S=A0(r),k=h||(S===a||!v?[iS(a)]:function(j){const z=iS(j);return[ID(j),z,ID(z)]}(a)),E=[a,...k],_=await rS(t,b),T=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&T.push(_[S]),d){const{main:j,cross:z}=EPe(r,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));T.push(_[j],_[z])}if(A=[...A,{placement:r,overflows:T}],!T.every(j=>j<=0)){var I,R;const j=((I=(R=i.flip)==null?void 0:R.index)!=null?I:0)+1,z=E[j];if(z)return{data:{index:j,overflows:A},reset:{placement:z}};let V="bottom";switch(m){case"bestFit":{var D;const K=(D=A.map(te=>[te,te.overflows.filter(q=>q>0).reduce((q,F)=>q+F,0)]).sort((te,q)=>te[1]-q[1])[0])==null?void 0:D[0].placement;K&&(V=K);break}case"initialPlacement":V=a}if(r!==V)return{reset:{placement:V}}}return{}}}};function RD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function DD(e){return Bq.some(t=>e[t]>=0)}const LPe=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=RD(await rS(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:DD(o)}}}case"escaped":{const o=RD(await rS(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:o,escaped:DD(o)}}}default:return{}}}}},APe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:s,platform:l,elements:u}=o,d=await(l.isRTL==null?void 0:l.isRTL(u.floating)),h=A0(s),m=Jx(s),v=O0(s)==="x",b=["left","top"].includes(h)?-1:1,S=d&&v?-1:1,k=typeof a=="function"?a(o):a;let{mainAxis:E,crossAxis:_,alignmentAxis:T}=typeof k=="number"?{mainAxis:k,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...k};return m&&typeof T=="number"&&(_=m==="end"?-1*T:T),v?{x:_*S,y:E*b}:{x:E*b,y:_*S}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Fq(e){return e==="x"?"y":"x"}const OPe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:k=>{let{x:E,y:_}=k;return{x:E,y:_}}},...l}=e,u={x:n,y:r},d=await rS(t,l),h=O0(A0(i)),m=Fq(h);let v=u[h],b=u[m];if(o){const k=h==="y"?"bottom":"right";v=F8(v+d[h==="y"?"top":"left"],v,v-d[k])}if(a){const k=m==="y"?"bottom":"right";b=F8(b+d[m==="y"?"top":"left"],b,b-d[k])}const S=s.fn({...t,[h]:v,[m]:b});return{...S,data:{x:S.x-n,y:S.y-r}}}}},MPe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,d={x:n,y:r},h=O0(i),m=Fq(h);let v=d[h],b=d[m];const S=typeof s=="function"?s({...o,placement:i}):s,k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(l){const I=h==="y"?"height":"width",R=o.reference[h]-o.floating[I]+k.mainAxis,D=o.reference[h]+o.reference[I]-k.mainAxis;vD&&(v=D)}if(u){var E,_,T,A;const I=h==="y"?"width":"height",R=["top","left"].includes(A0(i)),D=o.reference[m]-o.floating[I]+(R&&(E=(_=a.offset)==null?void 0:_[m])!=null?E:0)+(R?0:k.crossAxis),j=o.reference[m]+o.reference[I]+(R?0:(T=(A=a.offset)==null?void 0:A[m])!=null?T:0)-(R?k.crossAxis:0);bj&&(b=j)}return{[h]:v,[m]:b}}}};function $q(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function mc(e){if(e==null)return window;if(!$q(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vy(e){return mc(e).getComputedStyle(e)}function Xu(e){return $q(e)?"":e?(e.nodeName||"").toLowerCase():""}function zq(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function cu(e){return e instanceof mc(e).HTMLElement}function Jd(e){return e instanceof mc(e).Element}function DP(e){return typeof ShadowRoot>"u"?!1:e instanceof mc(e).ShadowRoot||e instanceof ShadowRoot}function ew(e){const{overflow:t,overflowX:n,overflowY:r}=Vy(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function IPe(e){return["table","td","th"].includes(Xu(e))}function ND(e){const t=/firefox/i.test(zq()),n=Vy(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Hq(){return!/^((?!chrome|android).)*safari/i.test(zq())}const jD=Math.min,c2=Math.max,oS=Math.round;function Zu(e,t,n){var r,i,o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&cu(e)&&(l=e.offsetWidth>0&&oS(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&oS(s.height)/e.offsetHeight||1);const d=Jd(e)?mc(e):window,h=!Hq()&&n,m=(s.left+(h&&(r=(i=d.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,v=(s.top+(h&&(o=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/u,b=s.width/l,S=s.height/u;return{width:b,height:S,top:v,right:m+b,bottom:v+S,left:m,x:m,y:v}}function zd(e){return(t=e,(t instanceof mc(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function tw(e){return Jd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vq(e){return Zu(zd(e)).left+tw(e).scrollLeft}function RPe(e,t,n){const r=cu(t),i=zd(t),o=Zu(e,r&&function(l){const u=Zu(l);return oS(u.width)!==l.offsetWidth||oS(u.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Xu(t)!=="body"||ew(i))&&(a=tw(t)),cu(t)){const l=Zu(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Vq(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Wq(e){return Xu(e)==="html"?e:e.assignedSlot||e.parentNode||(DP(e)?e.host:null)||zd(e)}function BD(e){return cu(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function $8(e){const t=mc(e);let n=BD(e);for(;n&&IPe(n)&&getComputedStyle(n).position==="static";)n=BD(n);return n&&(Xu(n)==="html"||Xu(n)==="body"&&getComputedStyle(n).position==="static"&&!ND(n))?t:n||function(r){let i=Wq(r);for(DP(i)&&(i=i.host);cu(i)&&!["html","body"].includes(Xu(i));){if(ND(i))return i;i=i.parentNode}return null}(e)||t}function FD(e){if(cu(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Zu(e);return{width:t.width,height:t.height}}function Uq(e){const t=Wq(e);return["html","body","#document"].includes(Xu(t))?e.ownerDocument.body:cu(t)&&ew(t)?t:Uq(t)}function aS(e,t){var n;t===void 0&&(t=[]);const r=Uq(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=mc(r),a=i?[o].concat(o.visualViewport||[],ew(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(aS(a))}function $D(e,t,n){return t==="viewport"?nS(function(r,i){const o=mc(r),a=zd(r),s=o.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,h=0;if(s){l=s.width,u=s.height;const m=Hq();(m||!m&&i==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:l,height:u,x:d,y:h}}(e,n)):Jd(t)?function(r,i){const o=Zu(r,!1,i==="fixed"),a=o.top+r.clientTop,s=o.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):nS(function(r){var i;const o=zd(r),a=tw(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=c2(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=c2(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-a.scrollLeft+Vq(r);const h=-a.scrollTop;return Vy(s||o).direction==="rtl"&&(d+=c2(o.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:h}}(zd(e)))}function DPe(e){const t=aS(e),n=["absolute","fixed"].includes(Vy(e).position)&&cu(e)?$8(e):e;return Jd(n)?t.filter(r=>Jd(r)&&function(i,o){const a=o.getRootNode==null?void 0:o.getRootNode();if(i.contains(o))return!0;if(a&&DP(a)){let s=o;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Xu(r)!=="body"):[]}const NPe={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?DPe(t):[].concat(n),r],a=o[0],s=o.reduce((l,u)=>{const d=$D(t,u,i);return l.top=c2(d.top,l.top),l.right=jD(d.right,l.right),l.bottom=jD(d.bottom,l.bottom),l.left=c2(d.left,l.left),l},$D(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=cu(n),o=zd(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Xu(n)!=="body"||ew(o))&&(a=tw(n)),cu(n))){const l=Zu(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Jd,getDimensions:FD,getOffsetParent:$8,getDocumentElement:zd,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:RPe(t,$8(n),r),floating:{...FD(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vy(e).direction==="rtl"};function jPe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,d=l||u?[...Jd(e)?aS(e):[],...aS(t)]:[];d.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;if(a){let b=!0;m=new ResizeObserver(()=>{b||n(),b=!1}),Jd(e)&&!s&&m.observe(e),m.observe(t)}let v=s?Zu(e):null;return s&&function b(){const S=Zu(e);!v||S.x===v.x&&S.y===v.y&&S.width===v.width&&S.height===v.height||n(),v=S,h=requestAnimationFrame(b)}(),n(),()=>{var b;d.forEach(S=>{l&&S.removeEventListener("scroll",n),u&&S.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const BPe=(e,t,n)=>wPe(e,t,{platform:NPe,...n});var z8=typeof document<"u"?w.useLayoutEffect:w.useEffect;function H8(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!H8(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!H8(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function FPe(e){const t=w.useRef(e);return z8(()=>{t.current=e}),t}function $Pe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=w.useRef(null),a=w.useRef(null),s=FPe(i),l=w.useRef(null),[u,d]=w.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[h,m]=w.useState(t);H8(h==null?void 0:h.map(T=>{let{options:A}=T;return A}),t==null?void 0:t.map(T=>{let{options:A}=T;return A}))||m(t);const v=w.useCallback(()=>{!o.current||!a.current||BPe(o.current,a.current,{middleware:h,placement:n,strategy:r}).then(T=>{b.current&&Qs.flushSync(()=>{d(T)})})},[h,n,r]);z8(()=>{b.current&&v()},[v]);const b=w.useRef(!1);z8(()=>(b.current=!0,()=>{b.current=!1}),[]);const S=w.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&a.current)if(s.current){const T=s.current(o.current,a.current,v);l.current=T}else v()},[v,s]),k=w.useCallback(T=>{o.current=T,S()},[S]),E=w.useCallback(T=>{a.current=T,S()},[S]),_=w.useMemo(()=>({reference:o,floating:a}),[]);return w.useMemo(()=>({...u,update:v,refs:_,reference:k,floating:E}),[u,v,_,k,E])}const zPe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?MD({element:t.current,padding:n}).fn(i):{}:t?MD({element:t,padding:n}).fn(i):{}}}};function HPe(e){const[t,n]=w.useState(void 0);return a0(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Gq="Popper",[NP,qq]=Hy(Gq),[VPe,Yq]=NP(Gq),WPe=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return w.createElement(VPe,{scope:t,anchor:r,onAnchorChange:i},n)},UPe="PopperAnchor",GPe=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Yq(UPe,n),a=w.useRef(null),s=fs(t,a);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:w.createElement(ac.div,bn({},i,{ref:s}))}),sS="PopperContent",[qPe,wze]=NP(sS),[YPe,KPe]=NP(sS,{hasParent:!1,positionUpdateFns:new Set}),XPe=w.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;const{__scopePopper:d,side:h="bottom",sideOffset:m=0,align:v="center",alignOffset:b=0,arrowPadding:S=0,collisionBoundary:k=[],collisionPadding:E=0,sticky:_="partial",hideWhenDetached:T=!1,avoidCollisions:A=!0,...I}=e,R=Yq(sS,d),[D,j]=w.useState(null),z=fs(t,le=>j(le)),[V,K]=w.useState(null),te=HPe(V),q=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,F=(r=te==null?void 0:te.height)!==null&&r!==void 0?r:0,U=h+(v!=="center"?"-"+v:""),X=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Z=Array.isArray(k)?k:[k],W=Z.length>0,Q={padding:X,boundary:Z.filter(QPe),altBoundary:W},{reference:ie,floating:fe,strategy:Se,x:Te,y:ye,placement:He,middlewareData:Ne,update:tt}=$Pe({strategy:"fixed",placement:U,whileElementsMounted:jPe,middleware:[APe({mainAxis:m+F,alignmentAxis:b}),A?OPe({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?MPe():void 0,...Q}):void 0,V?zPe({element:V,padding:S}):void 0,A?TPe({...Q}):void 0,JPe({arrowWidth:q,arrowHeight:F}),T?LPe({strategy:"referenceHidden"}):void 0].filter(ZPe)});a0(()=>{ie(R.anchor)},[ie,R.anchor]);const _e=Te!==null&&ye!==null,[lt,wt]=Kq(He),ct=(i=Ne.arrow)===null||i===void 0?void 0:i.x,mt=(o=Ne.arrow)===null||o===void 0?void 0:o.y,St=((a=Ne.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Ae,ut]=w.useState();a0(()=>{D&&ut(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Mt,positionUpdateFns:at}=KPe(sS,d),Ct=!Mt;w.useLayoutEffect(()=>{if(!Ct)return at.add(tt),()=>{at.delete(tt)}},[Ct,at,tt]),w.useLayoutEffect(()=>{Ct&&_e&&Array.from(at).reverse().forEach(le=>requestAnimationFrame(le))},[Ct,_e,at]);const Zt={"data-side":lt,"data-align":wt,...I,ref:z,style:{...I.style,animation:_e?void 0:"none",opacity:(s=Ne.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return w.createElement("div",{ref:fe,"data-radix-popper-content-wrapper":"",style:{position:Se,left:0,top:0,transform:_e?`translate3d(${Math.round(Te)}px, ${Math.round(ye)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ae,["--radix-popper-transform-origin"]:[(l=Ne.transformOrigin)===null||l===void 0?void 0:l.x,(u=Ne.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},w.createElement(qPe,{scope:d,placedSide:lt,onArrowChange:K,arrowX:ct,arrowY:mt,shouldHideArrow:St},Ct?w.createElement(YPe,{scope:d,hasParent:!0,positionUpdateFns:at},w.createElement(ac.div,Zt)):w.createElement(ac.div,Zt)))});function ZPe(e){return e!==void 0}function QPe(e){return e!==null}const JPe=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;const{placement:s,rects:l,middlewareData:u}=t,h=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=h?0:e.arrowWidth,v=h?0:e.arrowHeight,[b,S]=Kq(s),k={start:"0%",center:"50%",end:"100%"}[S],E=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+m/2,_=((o=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&o!==void 0?o:0)+v/2;let T="",A="";return b==="bottom"?(T=h?k:`${E}px`,A=`${-v}px`):b==="top"?(T=h?k:`${E}px`,A=`${l.floating.height+v}px`):b==="right"?(T=`${-v}px`,A=h?k:`${_}px`):b==="left"&&(T=`${l.floating.width+v}px`,A=h?k:`${_}px`),{data:{x:T,y:A}}}});function Kq(e){const[t,n="center"]=e.split("-");return[t,n]}const eTe=WPe,tTe=GPe,nTe=XPe;function rTe(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const Xq=e=>{const{present:t,children:n}=e,r=iTe(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=fs(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Xq.displayName="Presence";function iTe(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),a=e?"mounted":"unmounted",[s,l]=rTe(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=qb(r.current);o.current=s==="mounted"?u:"none"},[s]),a0(()=>{const u=r.current,d=i.current;if(d!==e){const m=o.current,v=qb(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),a0(()=>{if(t){const u=h=>{const v=qb(r.current).includes(h.animationName);h.target===t&&v&&Qs.flushSync(()=>l("ANIMATION_END"))},d=h=>{h.target===t&&(o.current=qb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qb(e){return(e==null?void 0:e.animationName)||"none"}function oTe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=aTe({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,s=uu(n),l=w.useCallback(u=>{if(o){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else i(u)},[o,e,i,s]);return[a,l]}function aTe({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=uu(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}const $C="rovingFocusGroup.onEntryFocus",sTe={bubbles:!1,cancelable:!0},jP="RovingFocusGroup",[V8,Zq,lTe]=Iq(jP),[uTe,Qq]=Hy(jP,[lTe]),[cTe,dTe]=uTe(jP),fTe=w.forwardRef((e,t)=>w.createElement(V8.Provider,{scope:e.__scopeRovingFocusGroup},w.createElement(V8.Slot,{scope:e.__scopeRovingFocusGroup},w.createElement(hTe,bn({},e,{ref:t}))))),hTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...d}=e,h=w.useRef(null),m=fs(t,h),v=Rq(o),[b=null,S]=oTe({prop:a,defaultProp:s,onChange:l}),[k,E]=w.useState(!1),_=uu(u),T=Zq(n),A=w.useRef(!1),[I,R]=w.useState(0);return w.useEffect(()=>{const D=h.current;if(D)return D.addEventListener($C,_),()=>D.removeEventListener($C,_)},[_]),w.createElement(cTe,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:b,onItemFocus:w.useCallback(D=>S(D),[S]),onItemShiftTab:w.useCallback(()=>E(!0),[]),onFocusableItemAdd:w.useCallback(()=>R(D=>D+1),[]),onFocusableItemRemove:w.useCallback(()=>R(D=>D-1),[])},w.createElement(ac.div,bn({tabIndex:k||I===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{A.current=!0}),onFocus:rr(e.onFocus,D=>{const j=!A.current;if(D.target===D.currentTarget&&j&&!k){const z=new CustomEvent($C,sTe);if(D.currentTarget.dispatchEvent(z),!z.defaultPrevented){const V=T().filter(U=>U.focusable),K=V.find(U=>U.active),te=V.find(U=>U.id===b),F=[K,te,...V].filter(Boolean).map(U=>U.ref.current);Jq(F)}}A.current=!1}),onBlur:rr(e.onBlur,()=>E(!1))})))}),pTe="RovingFocusGroupItem",gTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=xPe(),s=dTe(pTe,n),l=s.currentTabStopId===a,u=Zq(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=s;return w.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),w.createElement(V8.ItemSlot,{scope:n,id:a,focusable:r,active:i},w.createElement(ac.span,bn({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:rr(e.onMouseDown,m=>{r?s.onItemFocus(a):m.preventDefault()}),onFocus:rr(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:rr(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){s.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const v=yTe(m,s.orientation,s.dir);if(v!==void 0){m.preventDefault();let S=u().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const k=S.indexOf(m.currentTarget);S=s.loop?bTe(S,k+1):S.slice(k+1)}setTimeout(()=>Jq(S))}})})))}),mTe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function vTe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function yTe(e,t,n){const r=vTe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return mTe[r]}function Jq(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function bTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const STe=fTe,xTe=gTe,wTe=["Enter"," "],CTe=["ArrowDown","PageUp","Home"],eY=["ArrowUp","PageDown","End"],_Te=[...CTe,...eY],nw="Menu",[W8,kTe,ETe]=Iq(nw),[bp,tY]=Hy(nw,[ETe,qq,Qq]),BP=qq(),nY=Qq(),[PTe,rw]=bp(nw),[TTe,FP]=bp(nw),LTe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=BP(t),[l,u]=w.useState(null),d=w.useRef(!1),h=uu(o),m=Rq(i);return w.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.createElement(eTe,s,w.createElement(PTe,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:u},w.createElement(TTe,{scope:t,onClose:w.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:m,modal:a},r)))},ATe=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=BP(n);return w.createElement(tTe,bn({},i,r,{ref:t}))}),OTe="MenuPortal",[Cze,MTe]=bp(OTe,{forceMount:void 0}),Hd="MenuContent",[ITe,rY]=bp(Hd),RTe=w.forwardRef((e,t)=>{const n=MTe(Hd,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=rw(Hd,e.__scopeMenu),a=FP(Hd,e.__scopeMenu);return w.createElement(W8.Provider,{scope:e.__scopeMenu},w.createElement(Xq,{present:r||o.open},w.createElement(W8.Slot,{scope:e.__scopeMenu},a.modal?w.createElement(DTe,bn({},i,{ref:t})):w.createElement(NTe,bn({},i,{ref:t})))))}),DTe=w.forwardRef((e,t)=>{const n=rw(Hd,e.__scopeMenu),r=w.useRef(null),i=fs(t,r);return w.useEffect(()=>{const o=r.current;if(o)return zH(o)},[]),w.createElement(iY,bn({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),NTe=w.forwardRef((e,t)=>{const n=rw(Hd,e.__scopeMenu);return w.createElement(iY,bn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),iY=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...b}=e,S=rw(Hd,n),k=FP(Hd,n),E=BP(n),_=nY(n),T=kTe(n),[A,I]=w.useState(null),R=w.useRef(null),D=fs(t,R,S.onContentChange),j=w.useRef(0),z=w.useRef(""),V=w.useRef(0),K=w.useRef(null),te=w.useRef("right"),q=w.useRef(0),F=v?PV:w.Fragment,U=v?{as:oy,allowPinchZoom:!0}:void 0,X=W=>{var Q,ie;const fe=z.current+W,Se=T().filter(_e=>!_e.disabled),Te=document.activeElement,ye=(Q=Se.find(_e=>_e.ref.current===Te))===null||Q===void 0?void 0:Q.textValue,He=Se.map(_e=>_e.textValue),Ne=UTe(He,fe,ye),tt=(ie=Se.find(_e=>_e.textValue===Ne))===null||ie===void 0?void 0:ie.ref.current;(function _e(lt){z.current=lt,window.clearTimeout(j.current),lt!==""&&(j.current=window.setTimeout(()=>_e(""),1e3))})(fe),tt&&setTimeout(()=>tt.focus())};w.useEffect(()=>()=>window.clearTimeout(j.current),[]),dPe();const Z=w.useCallback(W=>{var Q,ie;return te.current===((Q=K.current)===null||Q===void 0?void 0:Q.side)&&qTe(W,(ie=K.current)===null||ie===void 0?void 0:ie.area)},[]);return w.createElement(ITe,{scope:n,searchRef:z,onItemEnter:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),onItemLeave:w.useCallback(W=>{var Q;Z(W)||((Q=R.current)===null||Q===void 0||Q.focus(),I(null))},[Z]),onTriggerLeave:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:w.useCallback(W=>{K.current=W},[])},w.createElement(F,U,w.createElement(fPe,{asChild:!0,trapped:i,onMountAutoFocus:rr(o,W=>{var Q;W.preventDefault(),(Q=R.current)===null||Q===void 0||Q.focus()}),onUnmountAutoFocus:a},w.createElement(lPe,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m},w.createElement(STe,bn({asChild:!0},_,{dir:k.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:W=>{k.isUsingKeyboardRef.current||W.preventDefault()}}),w.createElement(nTe,bn({role:"menu","aria-orientation":"vertical","data-state":HTe(S.open),"data-radix-menu-content":"",dir:k.dir},E,b,{ref:D,style:{outline:"none",...b.style},onKeyDown:rr(b.onKeyDown,W=>{const ie=W.target.closest("[data-radix-menu-content]")===W.currentTarget,fe=W.ctrlKey||W.altKey||W.metaKey,Se=W.key.length===1;ie&&(W.key==="Tab"&&W.preventDefault(),!fe&&Se&&X(W.key));const Te=R.current;if(W.target!==Te||!_Te.includes(W.key))return;W.preventDefault();const He=T().filter(Ne=>!Ne.disabled).map(Ne=>Ne.ref.current);eY.includes(W.key)&&He.reverse(),VTe(He)}),onBlur:rr(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(j.current),z.current="")}),onPointerMove:rr(e.onPointerMove,G8(W=>{const Q=W.target,ie=q.current!==W.clientX;if(W.currentTarget.contains(Q)&&ie){const fe=W.clientX>q.current?"right":"left";te.current=fe,q.current=W.clientX}}))})))))))}),U8="MenuItem",zD="menu.itemSelect",jTe=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=w.useRef(null),a=FP(U8,e.__scopeMenu),s=rY(U8,e.__scopeMenu),l=fs(t,o),u=w.useRef(!1),d=()=>{const h=o.current;if(!n&&h){const m=new CustomEvent(zD,{bubbles:!0,cancelable:!0});h.addEventListener(zD,v=>r==null?void 0:r(v),{once:!0}),Mq(h,m),m.defaultPrevented?u.current=!1:a.onClose()}};return w.createElement(BTe,bn({},i,{ref:l,disabled:n,onClick:rr(e.onClick,d),onPointerDown:h=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,h),u.current=!0},onPointerUp:rr(e.onPointerUp,h=>{var m;u.current||(m=h.currentTarget)===null||m===void 0||m.click()}),onKeyDown:rr(e.onKeyDown,h=>{const m=s.searchRef.current!=="";n||m&&h.key===" "||wTe.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}))}),BTe=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=rY(U8,n),s=nY(n),l=w.useRef(null),u=fs(t,l),[d,h]=w.useState(!1),[m,v]=w.useState("");return w.useEffect(()=>{const b=l.current;if(b){var S;v(((S=b.textContent)!==null&&S!==void 0?S:"").trim())}},[o.children]),w.createElement(W8.ItemSlot,{scope:n,disabled:r,textValue:i??m},w.createElement(xTe,bn({asChild:!0},s,{focusable:!r}),w.createElement(ac.div,bn({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:rr(e.onPointerMove,G8(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:rr(e.onPointerLeave,G8(b=>a.onItemLeave(b))),onFocus:rr(e.onFocus,()=>h(!0)),onBlur:rr(e.onBlur,()=>h(!1))}))))}),FTe="MenuRadioGroup";bp(FTe,{value:void 0,onValueChange:()=>{}});const $Te="MenuItemIndicator";bp($Te,{checked:!1});const zTe="MenuSub";bp(zTe);function HTe(e){return e?"open":"closed"}function VTe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function WTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function UTe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=WTe(e,Math.max(o,0));i.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function GTe(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=d>r&&n<(u-s)*(r-l)/(d-l)+s&&(i=!i)}return i}function qTe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return GTe(n,t)}function G8(e){return t=>t.pointerType==="mouse"?e(t):void 0}const YTe=LTe,KTe=ATe,XTe=RTe,ZTe=jTe,oY="ContextMenu",[QTe,_ze]=Hy(oY,[tY]),iw=tY(),[JTe,aY]=QTe(oY),eLe=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:o=!0}=e,[a,s]=w.useState(!1),l=iw(t),u=uu(r),d=w.useCallback(h=>{s(h),u(h)},[u]);return w.createElement(JTe,{scope:t,open:a,onOpenChange:d,modal:o},w.createElement(YTe,bn({},l,{dir:i,open:a,onOpenChange:d,modal:o}),n))},tLe="ContextMenuTrigger",nLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=aY(tLe,n),o=iw(n),a=w.useRef({x:0,y:0}),s=w.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...a.current})}),l=w.useRef(0),u=w.useCallback(()=>window.clearTimeout(l.current),[]),d=h=>{a.current={x:h.clientX,y:h.clientY},i.onOpenChange(!0)};return w.useEffect(()=>u,[u]),w.createElement(w.Fragment,null,w.createElement(KTe,bn({},o,{virtualRef:s})),w.createElement(ac.span,bn({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:rr(e.onContextMenu,h=>{u(),d(h),h.preventDefault()}),onPointerDown:rr(e.onPointerDown,Yb(h=>{u(),l.current=window.setTimeout(()=>d(h),700)})),onPointerMove:rr(e.onPointerMove,Yb(u)),onPointerCancel:rr(e.onPointerCancel,Yb(u)),onPointerUp:rr(e.onPointerUp,Yb(u))})))}),rLe="ContextMenuContent",iLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=aY(rLe,n),o=iw(n),a=w.useRef(!1);return w.createElement(XTe,bn({},o,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&a.current&&s.preventDefault(),a.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(a.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),oLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=iw(n);return w.createElement(ZTe,bn({},i,r,{ref:t}))});function Yb(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const aLe=eLe,sLe=nLe,lLe=iLe,ud=oLe,uLe=(e,t)=>e.image.uuid===t.image.uuid&&e.isSelected===t.isSelected,sY=w.memo(e=>{var te,q,F,U,X,Z,W,Q;const t=Ie(),{activeTabName:n,galleryImageObjectFit:r,galleryImageMinimumWidth:i,mayDeleteImage:o,shouldUseSingleGalleryColumn:a}=he(bEe),{image:s,isSelected:l}=e,{url:u,thumbnail:d,uuid:h,metadata:m}=s,[v,b]=w.useState(!1),S=Ry(),{t:k}=Ve(),E=()=>b(!0),_=()=>b(!1),T=()=>{var ie,fe;if(s.metadata){const[Se,Te]=aP((fe=(ie=s.metadata)==null?void 0:ie.image)==null?void 0:fe.prompt);Se&&t(jx(Se)),t(Q2(Te||""))}S({title:k("toast:promptSet"),status:"success",duration:2500,isClosable:!0})},A=()=>{s.metadata&&t(Ny(s.metadata.image.seed)),S({title:k("toast:seedSet"),status:"success",duration:2500,isClosable:!0})},I=()=>{t(k0(s)),n!=="img2img"&&t(qo("img2img")),S({title:k("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})},R=()=>{t(Nx(s)),t(Dx()),n!=="unifiedCanvas"&&t(qo("unifiedCanvas")),S({title:k("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0})},D=()=>{m&&t(aU(m)),S({title:k("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})},j=async()=>{var ie;if((ie=m==null?void 0:m.image)!=null&&ie.init_image_path&&(await fetch(m.image.init_image_path)).ok){t(qo("img2img")),t(Xxe(m)),S({title:k("toast:initialImageSet"),status:"success",duration:2500,isClosable:!0});return}S({title:k("toast:initialImageNotSet"),description:k("toast:initialImageNotSetDesc"),status:"error",duration:2500,isClosable:!0})},z=()=>t(jI(s)),V=ie=>{ie.dataTransfer.setData("invokeai/imageUuid",h),ie.dataTransfer.effectAllowed="move"},K=()=>{t(jI(s))};return y.jsxs(aLe,{onOpenChange:ie=>{t(tU(ie))},children:[y.jsx(sLe,{children:y.jsxs(_o,{position:"relative",className:"hoverable-image",onMouseOver:E,onMouseOut:_,userSelect:"none",draggable:!0,onDragStart:V,children:[y.jsx(XS,{className:"hoverable-image-image",objectFit:a?"contain":r,rounded:"md",src:d||u,loading:"lazy"}),y.jsx("div",{className:"hoverable-image-content",onClick:z,children:l&&y.jsx(Da,{width:"50%",height:"50%",as:PP,className:"hoverable-image-check"})}),v&&i>=64&&y.jsx("div",{className:"hoverable-image-delete-button",children:y.jsx(tS,{image:s,children:y.jsx(ss,{"aria-label":k("parameters:deleteImage"),icon:y.jsx(gEe,{}),size:"xs",variant:"imageHoverIconButton",fontSize:14,isDisabled:!o})})})]},h)}),y.jsxs(lLe,{className:"hoverable-image-context-menu",sticky:"always",onInteractOutside:ie=>{ie.detail.originalEvent.preventDefault()},children:[y.jsx(ud,{onClickCapture:K,children:k("parameters:openInViewer")}),y.jsx(ud,{onClickCapture:T,disabled:((q=(te=s==null?void 0:s.metadata)==null?void 0:te.image)==null?void 0:q.prompt)===void 0,children:k("parameters:usePrompt")}),y.jsx(ud,{onClickCapture:A,disabled:((U=(F=s==null?void 0:s.metadata)==null?void 0:F.image)==null?void 0:U.seed)===void 0,children:k("parameters:useSeed")}),y.jsx(ud,{onClickCapture:D,disabled:!["txt2img","img2img"].includes((Z=(X=s==null?void 0:s.metadata)==null?void 0:X.image)==null?void 0:Z.type),children:k("parameters:useAll")}),y.jsx(ud,{onClickCapture:j,disabled:((Q=(W=s==null?void 0:s.metadata)==null?void 0:W.image)==null?void 0:Q.type)!=="img2img",children:k("parameters:useInitImg")}),y.jsx(ud,{onClickCapture:I,children:k("parameters:sendToImg2Img")}),y.jsx(ud,{onClickCapture:R,children:k("parameters:sendToUnifiedCanvas")}),y.jsx(ud,{"data-warning":!0,children:y.jsx(tS,{image:s,children:y.jsx("p",{children:k("parameters:deleteImage")})})})]})]})},uLe);sY.displayName="HoverableImage";const Kb=320,HD=40,cLe={txt2img:{galleryMinWidth:200,galleryMaxWidth:500},img2img:{galleryMinWidth:200,galleryMaxWidth:500},unifiedCanvas:{galleryMinWidth:200,galleryMaxWidth:200},nodes:{galleryMinWidth:200,galleryMaxWidth:500},postprocess:{galleryMinWidth:200,galleryMaxWidth:500},training:{galleryMinWidth:200,galleryMaxWidth:500}},VD=400;function lY(){const e=Ie(),{t}=Ve(),{images:n,currentCategory:r,currentImageUuid:i,shouldPinGallery:o,shouldShowGallery:a,galleryScrollPosition:s,galleryImageMinimumWidth:l,galleryGridTemplateColumns:u,activeTabName:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,areMoreImagesAvailable:b,galleryWidth:S,isLightboxOpen:k,isStaging:E,shouldEnableResize:_,shouldUseSingleGalleryColumn:T}=he(yEe),{galleryMinWidth:A,galleryMaxWidth:I}=k?{galleryMinWidth:VD,galleryMaxWidth:VD}:cLe[d],[R,D]=w.useState(S>=Kb),[j,z]=w.useState(!1),[V,K]=w.useState(0),te=w.useRef(null),q=w.useRef(null),F=w.useRef(null);w.useEffect(()=>{S>=Kb&&D(!1)},[S]);const U=()=>{e(jxe(!o)),e(vi(!0))},X=()=>{a?W():Z()},Z=()=>{e(Bd(!0)),o&&e(vi(!0))},W=w.useCallback(()=>{e(Bd(!1)),e(tU(!1)),e(Bxe(q.current?q.current.scrollTop:0)),setTimeout(()=>o&&e(vi(!0)),400)},[e,o]),Q=()=>{e(R8(r))},ie=ye=>{e(rv(ye))},fe=()=>{m||(F.current=window.setTimeout(()=>W(),500))},Se=()=>{F.current&&window.clearTimeout(F.current)};Qe("g",()=>{X()},[a,o]),Qe("left",()=>{e(oP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Qe("right",()=>{e(iP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Qe("shift+g",()=>{U()},[o]),Qe("esc",()=>{e(Bd(!1))},{enabled:()=>!o,preventDefault:!0},[o]);const Te=32;return Qe("shift+up",()=>{if(l<256){const ye=Ee.clamp(l+Te,32,256);e(rv(ye))}},[l]),Qe("shift+down",()=>{if(l>32){const ye=Ee.clamp(l-Te,32,256);e(rv(ye))}},[l]),w.useEffect(()=>{q.current&&(q.current.scrollTop=s)},[s,a]),w.useEffect(()=>{function ye(He){!o&&te.current&&!te.current.contains(He.target)&&W()}return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[W,o]),y.jsx(Aq,{nodeRef:te,in:a||m,unmountOnExit:!0,timeout:200,classNames:"image-gallery-wrapper",children:y.jsxs("div",{className:"image-gallery-wrapper",style:{zIndex:o?1:100},"data-pinned":o,ref:te,onMouseLeave:o?void 0:fe,onMouseEnter:o?void 0:Se,onMouseOver:o?void 0:Se,children:[y.jsxs(Cq,{minWidth:A,maxWidth:o?I:window.innerWidth,className:"image-gallery-popup",handleStyles:{left:{width:"15px"}},enable:{left:_},size:{width:S,height:o?"100%":"100vh"},onResizeStart:(ye,He,Ne)=>{K(Ne.clientHeight),Ne.style.height=`${Ne.clientHeight}px`,o&&(Ne.style.position="fixed",Ne.style.right="1rem",z(!0))},onResizeStop:(ye,He,Ne,tt)=>{const _e=o?Ee.clamp(Number(S)+tt.width,A,Number(I)):Number(S)+tt.width;e(zxe(_e)),Ne.removeAttribute("data-resize-alert"),o&&(Ne.style.position="relative",Ne.style.removeProperty("right"),Ne.style.setProperty("height",o?"100%":"100vh"),z(!1),e(vi(!0)))},onResize:(ye,He,Ne,tt)=>{const _e=Ee.clamp(Number(S)+tt.width,A,Number(o?I:.95*window.innerWidth));_e>=Kb&&!R?D(!0):_e_e-HD&&e(rv(_e-HD)),o&&(_e>=I?Ne.setAttribute("data-resize-alert","true"):Ne.removeAttribute("data-resize-alert")),Ne.style.height=`${V}px`},children:[y.jsxs("div",{className:"image-gallery-header",children:[y.jsx(oo,{size:"sm",isAttached:!0,variant:"solid",className:"image-gallery-category-btn-group",children:R?y.jsxs(y.Fragment,{children:[y.jsx(cr,{size:"sm","data-selected":r==="result",onClick:()=>e(kb("result")),children:t("gallery:generations")}),y.jsx(cr,{size:"sm","data-selected":r==="user",onClick:()=>e(kb("user")),children:t("gallery:uploads")})]}):y.jsxs(y.Fragment,{children:[y.jsx(Ze,{"aria-label":t("gallery:showGenerations"),tooltip:t("gallery:showGenerations"),"data-selected":r==="result",icon:y.jsx(rEe,{}),onClick:()=>e(kb("result"))}),y.jsx(Ze,{"aria-label":t("gallery:showUploads"),tooltip:t("gallery:showUploads"),"data-selected":r==="user",icon:y.jsx(vEe,{}),onClick:()=>e(kb("user"))})]})}),y.jsxs("div",{className:"image-gallery-header-right-icons",children:[y.jsx(Zs,{isLazy:!0,trigger:"hover",placement:"left",triggerComponent:y.jsx(Ze,{size:"sm","aria-label":t("gallery:gallerySettings"),icon:y.jsx(OP,{}),className:"image-gallery-icon-btn",cursor:"pointer"}),children:y.jsxs("div",{className:"image-gallery-settings-popover",children:[y.jsxs("div",{children:[y.jsx(na,{value:l,onChange:ie,min:32,max:256,hideTooltip:!0,label:t("gallery:galleryImageSize")}),y.jsx(Ze,{size:"sm","aria-label":t("gallery:galleryImageResetSize"),tooltip:t("gallery:galleryImageResetSize"),onClick:()=>e(rv(64)),icon:y.jsx(Qx,{}),"data-selected":o,styleClass:"image-gallery-icon-btn"})]}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:maintainAspectRatio"),isChecked:h==="contain",onChange:()=>e(Fxe(h==="contain"?"cover":"contain"))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:autoSwitchNewImages"),isChecked:v,onChange:ye=>e($xe(ye.target.checked))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:singleColumnLayout"),isChecked:T,onChange:ye=>e(Hxe(ye.target.checked))})})]})}),y.jsx(Ze,{size:"sm",className:"image-gallery-icon-btn","aria-label":t("gallery:pinGallery"),tooltip:`${t("gallery:pinGallery")} (Shift+G)`,onClick:U,icon:o?y.jsx(kq,{}):y.jsx(Eq,{})})]})]}),y.jsx("div",{className:"image-gallery-container",ref:q,children:n.length||b?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"image-gallery",style:{gridTemplateColumns:u},children:n.map(ye=>{const{uuid:He}=ye,Ne=i===He;return y.jsx(sY,{image:ye,isSelected:Ne},He)})}),y.jsx(as,{onClick:Q,isDisabled:!b,className:"image-gallery-load-more-btn",children:t(b?"gallery:loadMore":"gallery:allImagesLoaded")})]}):y.jsxs("div",{className:"image-gallery-container-placeholder",children:[y.jsx(Pq,{}),y.jsx("p",{children:t("gallery:noImagesInGallery")})]})})]}),j&&y.jsx("div",{style:{width:`${S}px`,height:"100%"}})]})})}/*! ***************************************************************************** +`)+Ie+`return __p +}`;var qt=sL(function(){return rn(H,bt+"return "+Ie).apply(n,J)});if(qt.source=Ie,Dw(qt))throw qt;return qt}function vJ(c){return Ln(c).toLowerCase()}function yJ(c){return Ln(c).toUpperCase()}function bJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return fo(c);if(!c||!(g=go(g)))return c;var O=Xi(c),B=Xi(g),H=ca(O,B),J=bs(O,B)+1;return Es(O,H,J).join("")}function SJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.slice(0,t1(c)+1);if(!c||!(g=go(g)))return c;var O=Xi(c),B=bs(O,Xi(g))+1;return Es(O,0,B).join("")}function xJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.replace(bc,"");if(!c||!(g=go(g)))return c;var O=Xi(c),B=ca(O,Xi(g));return Es(O,B).join("")}function wJ(c,g){var C=V,O=K;if(wr(g)){var B="separator"in g?g.separator:B;C="length"in g?Vt(g.length):C,O="omission"in g?go(g.omission):O}c=Ln(c);var H=c.length;if(_u(c)){var J=Xi(c);H=J.length}if(C>=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Nw(B)){if(c.slice(ne).search(B)){var _e,Ee=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;_e=B.exec(Ee);)var Ie=_e.index;ce=ce.slice(0,Ie===n?ne:Ie)}}else if(c.indexOf(go(B),ne)!=ne){var tt=ce.lastIndexOf(B);tt>-1&&(ce=ce.slice(0,tt))}return ce+O}function CJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var _J=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),$w=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?$p(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Dw(C)?C:new It(C)}}),kJ=mr(function(c,g){return Zn(g,function(C){C=Pl(C),pa(c,C,Iw(c[C],c))}),c});function EJ(c){var g=c==null?0:c.length,C=Oe();return c=g?Un(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BW)return[];var C=fe,O=fi(c,fe);g=Oe(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Zt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Zt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Zt.prototype.toArray=function(){return this.take(fe)},va(Zt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=F[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&(F.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Zt,_e=ne[0],Ee=ce||Ft(J),Ie=function(Qt){var on=B.apply(F,za([Qt],ne));return O&&tt?on[0]:on};Ee&&C&&typeof _e=="function"&&_e.length!=1&&(ce=Ee=!1);var tt=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!tt,qt=ce&&!bt;if(!H&&Ee){J=qt?J:new Zt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Ie],thisArg:n}),new ho(Tt,tt)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Ie),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Zn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);F.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply(Ft(H)?H:[],B)}return this[C](function(J){return g.apply(Ft(J)?J:[],B)})}}),va(Zt.prototype,function(c,g){var C=F[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,E).name]=[{name:"wrapper",func:n}],Zt.prototype.clone=Zi,Zt.prototype.reverse=Ni,Zt.prototype.value=f3,F.prototype.at=eZ,F.prototype.chain=tZ,F.prototype.commit=nZ,F.prototype.next=rZ,F.prototype.plant=oZ,F.prototype.reverse=aZ,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=sZ,F.prototype.first=F.prototype.head,Bc&&(F.prototype[Bc]=iZ),F},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(Co)})(rxe,ke);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},ixe=.999,oxe=.1,axe=20,nv=.95,RI=30,u8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},sxe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),NW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],lxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",uxe=e=>e.kind==="line"&&e.layer==="base",U5=e=>e.kind==="image"&&e.layer==="base",cxe=e=>e.kind==="fillRect"&&e.layer==="base",dxe=e=>e.kind==="eraseRect"&&e.layer==="base",fxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},hxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},jW=cp({name:"canvas",initialState:hxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(ke.clamp(n.width,64,512),64),height:Ed(ke.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=sxe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(fxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(ke.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(U5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(U5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(ke.clamp(o,64,512),64),height:Ed(ke.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:BW,addFillRect:$W,addImageToStagingArea:pxe,addLine:gxe,addPointToCurrentLine:FW,clearCanvasHistory:zW,clearMask:nP,commitColorPickerColor:mxe,commitStagingAreaImage:vxe,discardStagedImages:yxe,fitBoundingBoxToStage:JFe,mouseLeftCanvas:bxe,nextStagingAreaImage:Sxe,prevStagingAreaImage:xxe,redo:wxe,resetCanvas:rP,resetCanvasInteractionState:Cxe,resetCanvasView:HW,resizeAndScaleCanvas:Nx,resizeCanvas:_xe,setBoundingBoxCoordinates:bC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:eze,setBoundingBoxScaleMethod:kxe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:Exe,setColorPickerColor:Pxe,setCursorPosition:Txe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:jx,setIsDrawing:VW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:tze,setIsMoveStageKeyHeld:nze,setIsMovingBoundingBox:SC,setIsMovingStage:G5,setIsTransformingBoundingBox:xC,setLayer:q5,setMaskColor:WW,setMergedCanvas:Lxe,setShouldAutoSave:UW,setShouldCropToBoundingBoxOnSave:GW,setShouldDarkenOutsideBoundingBox:qW,setShouldLockBoundingBox:rze,setShouldPreserveMaskedArea:YW,setShouldShowBoundingBox:Axe,setShouldShowBrush:ize,setShouldShowBrushPreview:oze,setShouldShowCanvasDebugInfo:KW,setShouldShowCheckboardTransparency:aze,setShouldShowGrid:XW,setShouldShowIntermediates:ZW,setShouldShowStagingImage:Oxe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:Y5,setStageCoordinates:QW,setStageScale:Mxe,setTool:tu,toggleShouldLockBoundingBox:sze,toggleTool:lze,undo:Ixe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:JW}=jW.actions,Rxe=jW.reducer,Dxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},eU=cp({name:"gallery",initialState:Dxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=ke.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:wC,removeImage:tU,setCurrentImage:jI,addGalleryImages:Nxe,setIntermediateImage:jxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:Bxe,setShouldShowGallery:Bd,setGalleryScrollPosition:$xe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:nU,setShouldAutoSwitchToNewImages:zxe,setCurrentCategory:kb,setGalleryWidth:Hxe,setShouldUseSingleGalleryColumn:Vxe}=eU.actions,Wxe=eU.reducer,Uxe={isLightboxOpen:!1},Gxe=Uxe,rU=cp({name:"lightbox",initialState:Gxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=rU.actions,qxe=rU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const Yxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?Yxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),K5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Kxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),iU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Xxe=iU,oU=cp({name:"generation",initialState:Xxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=K5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,u&&(e.perlin=u),typeof u>"u"&&(e.perlin=0),typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:k,init_image_path:E,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(E&&(e.initialImage=E),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof k=="boolean"&&(e.shouldFitToWidthHeight=k)),a&&a.length>0?(e.seedWeights=K5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),u&&(e.threshold=u),typeof u>"u"&&(e.threshold=0),d&&(e.perlin=d),typeof d>"u"&&(e.perlin=0),typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...iU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:aU,resetParametersState:uze,resetSeed:cze,setAllImageToImageParameters:Zxe,setAllParameters:sU,setAllTextToImageParameters:dze,setCfgScale:lU,setHeight:uU,setImg2imgStrength:c8,setInfillMethod:cU,setInitialImage:k0,setIterations:Qxe,setMaskPath:dU,setParameter:fze,setPerlin:fU,setPrompt:Bx,setNegativePrompt:Q2,setSampler:hU,setSeamBlur:BI,setSeamless:pU,setSeamSize:$I,setSeamSteps:FI,setSeamStrength:zI,setSeed:Ny,setSeedWeights:gU,setShouldFitToWidthHeight:mU,setShouldGenerateVariations:Jxe,setShouldRandomizeSeed:ewe,setSteps:vU,setThreshold:yU,setTileSize:HI,setVariationAmount:twe,setWidth:bU}=oU.actions,nwe=oU.reducer,SU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingDenoising:.75,upscalingStrength:.75},rwe=SU,xU=cp({name:"postprocessing",initialState:rwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingDenoising:(e,t)=>{e.upscalingDenoising=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...SU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:hze,setCodeformerFidelity:wU,setFacetoolStrength:I4,setFacetoolType:R4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:iwe,setShouldRunESRGAN:owe,setShouldRunFacetool:awe,setUpscalingLevel:d8,setUpscalingDenoising:WI,setUpscalingStrength:X5}=xU.actions,swe=xU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lwe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CU(e){var t=lwe(e,"string");return Xs(t)==="symbol"?t:String(t)}function UI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.init(t,n)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||pwe,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function XI(e,t,n){var r=uP(e,t,Object),i=r.obj,o=r.k;i[o]=n}function vwe(e,t,n,r){var i=uP(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function Z5(e,t){var n=uP(e,t),r=n.obj,i=n.k;if(r)return r[i]}function ZI(e,t,n){var r=Z5(e,n);return r!==void 0?r:Z5(t,n)}function _U(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):_U(e[r],t[r],n):e[r]=t[r]);return e}function Mg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ywe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function bwe(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return ywe[t]}):e}var Fx=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Swe=[" ",",","?","!",";"];function xwe(e,t,n){t=t||"",n=n||"";var r=Swe.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function QI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eb(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?kU(l,u,n):void 0}i=i[r[o]]}return i}}var _we=function(e){$x(n,e);var t=wwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hu(this,n),i=t.call(this),Fx&&Qd.call($d(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pu(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,d=[i,o];a&&typeof a!="string"&&(d=d.concat(a)),a&&typeof a=="string"&&(d=d.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(d=i.split("."));var h=Z5(this.data,d);return h||!u||typeof a!="string"?h:kU(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var d=[i,o];a&&(d=d.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(d=i.split("."),s=o,o=d[1]),this.addNamespaces(o),XI(this.data,d,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},d=[i,o];i.indexOf(".")>-1&&(d=i.split("."),s=a,a=o,o=d[1]),this.addNamespaces(o);var h=Z5(this.data,d)||{};s?_U(h,a,l):h=Eb(Eb({},h),a),XI(this.data,d,h),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Eb(Eb({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Qd),EU={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function JI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function So(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var eR={},tR=function(e){$x(n,e);var t=kwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hu(this,n),i=t.call(this),Fx&&Qd.call($d(i)),mwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,$d(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=ql.create("translator"),i}return pu(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,d=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!xwe(i,a,s);if(u&&!d){var h=i.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Xs(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=this.extractFromKey(i[i.length-1],o),h=d.key,m=d.namespaces,v=m[m.length-1],b=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(S){var k=o.nsSeparator||this.options.nsSeparator;return l?(E.res="".concat(v).concat(k).concat(h),E):"".concat(v).concat(k).concat(h)}return l?(E.res=h,E):h}var E=this.resolve(i,o),_=E&&E.res,T=E&&E.usedKey||h,A=E&&E.exactUsedKey||h,I=Object.prototype.toString.apply(_),R=["[object Number]","[object Function]","[object RegExp]"],D=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=typeof _!="string"&&typeof _!="boolean"&&typeof _!="number";if(j&&_&&z&&R.indexOf(I)<0&&!(typeof D=="string"&&I==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var V=this.options.returnedObjectHandler?this.options.returnedObjectHandler(T,_,So(So({},o),{},{ns:m})):"key '".concat(h," (").concat(this.language,")' returned an object instead of string.");return l?(E.res=V,E):V}if(u){var K=I==="[object Array]",te=K?[]:{},q=K?A:T;for(var $ in _)if(Object.prototype.hasOwnProperty.call(_,$)){var U="".concat(q).concat(u).concat($);te[$]=this.translate(U,So(So({},o),{joinArrays:!1,ns:m})),te[$]===U&&(te[$]=_[$])}_=te}}else if(j&&typeof D=="string"&&I==="[object Array]")_=_.join(D),_&&(_=this.extendTranslation(_,i,o,a));else{var X=!1,Z=!1,W=o.count!==void 0&&typeof o.count!="string",Q=n.hasDefaultValue(o),ie=W?this.pluralResolver.getSuffix(b,o.count,o):"",fe=o["defaultValue".concat(ie)]||o.defaultValue;!this.isValidLookup(_)&&Q&&(X=!0,_=fe),this.isValidLookup(_)||(Z=!0,_=h);var Se=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Pe=Se&&Z?void 0:_,ye=Q&&fe!==_&&this.options.updateMissing;if(Z||X||ye){if(this.logger.log(ye?"updateKey":"missingKey",b,v,h,ye?fe:_),u){var We=this.resolve(h,So(So({},o),{},{keySeparator:!1}));We&&We.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var De=[],ot=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ot&&ot[0])for(var He=0;He1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,d,h;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var v=o.extractFromKey(m,a),b=v.key;l=b;var S=v.namespaces;o.options.fallbackNS&&(S=S.concat(o.options.fallbackNS));var k=a.count!==void 0&&typeof a.count!="string",E=k&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),_=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",T=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);S.forEach(function(A){o.isValidLookup(s)||(h=A,!eR["".concat(T[0],"-").concat(A)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(h)&&(eR["".concat(T[0],"-").concat(A)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(T.join(", "),`" won't get resolved as namespace "`).concat(h,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(function(I){if(!o.isValidLookup(s)){d=I;var R=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(R,b,I,A,a);else{var D;k&&(D=o.pluralResolver.getSuffix(I,a.count,a));var j="".concat(o.options.pluralSeparator,"zero");if(k&&(R.push(b+D),E&&R.push(b+j)),_){var z="".concat(b).concat(o.options.contextSeparator).concat(a.context);R.push(z),k&&(R.push(z+D),E&&R.push(z+j))}}for(var V;V=R.pop();)o.isValidLookup(s)||(u=V,s=o.getResource(I,A,V,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:d,usedNS:h}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(Qd);function CC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var nR=function(){function e(t){hu(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ql.create("languageUtils")}return pu(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=CC(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=CC(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=CC(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),Pwe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Twe={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Lwe=["v1","v2","v3"],rR={zero:0,one:1,two:2,few:3,many:4,other:5};function Awe(){var e={};return Pwe.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Twe[t.fc]}})}),e}var Owe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.languageUtils=t,this.options=n,this.logger=ql.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Awe()}return pu(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return rR[a]-rR[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Lwe.includes(this.options.compatibilityJSON)}}]),e}();function iR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pu(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:bwe,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Mg(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Mg(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Mg(r.nestingPrefix):r.nestingPrefixEscaped||Mg("$t("),this.nestingSuffix=r.nestingSuffix?Mg(r.nestingSuffix):r.nestingSuffixEscaped||Mg(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function h(k){return k.replace(/\$/g,"$$$$")}var m=function(E){if(E.indexOf(a.formatSeparator)<0){var _=ZI(r,d,E);return a.alwaysFormat?a.format(_,void 0,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:E})):_}var T=E.split(a.formatSeparator),A=T.shift().trim(),I=T.join(a.formatSeparator).trim();return a.format(ZI(r,d,A),I,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:A}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,S=[{regex:this.regexpUnescape,safeValue:function(E){return h(E)}},{regex:this.regexp,safeValue:function(E){return a.escapeValue?h(a.escape(E)):h(E)}}];return S.forEach(function(k){for(u=0;s=k.regex.exec(n);){var E=s[1].trim();if(l=m(E),l===void 0)if(typeof v=="function"){var _=v(n,s,o);l=typeof _=="string"?_:""}else if(o&&o.hasOwnProperty(E))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(E," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=KI(l));var T=k.safeValue(l);if(n=n.replace(s[0],T),b?(k.regex.lastIndex+=l.length,k.regex.lastIndex-=s[0].length):k.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,b){var S=this.nestingOptionsSeparator;if(v.indexOf(S)<0)return v;var k=v.split(new RegExp("".concat(S,"[ ]*{"))),E="{".concat(k[1]);v=k[0],E=this.interpolate(E,l);var _=E.match(/'/g),T=E.match(/"/g);(_&&_.length%2===0&&!T||T.length%2!==0)&&(E=E.replace(/'/g,'"'));try{l=JSON.parse(E),b&&(l=Rs(Rs({},b),l))}catch(A){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),A),"".concat(v).concat(S).concat(E)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var d=[];l=Rs({},o),l.applyPostProcessor=!1,delete l.defaultValue;var h=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=m.shift(),d=m,h=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=KI(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),h&&(s=d.reduce(function(v,b){return i.format(v,b,o.lng,Rs(Rs({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=hwe(s),u=l[0],d=l.slice(1),h=d.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=h),h==="false"&&(n[u.trim()]=!1),h==="true"&&(n[u.trim()]=!0),isNaN(h)||(n[u.trim()]=parseInt(h,10))}})}}return{formatName:t,formatOptions:n}}function Ig(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var Rwe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("formatter"),this.options=t,this.formats={number:Ig(function(n,r){var i=new Intl.NumberFormat(n,r);return function(o){return i.format(o)}}),currency:Ig(function(n,r){var i=new Intl.NumberFormat(n,ld(ld({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Ig(function(n,r){var i=new Intl.DateTimeFormat(n,ld({},r));return function(o){return i.format(o)}}),relativetime:Ig(function(n,r){var i=new Intl.RelativeTimeFormat(n,ld({},r));return function(o){return i.format(o,r.range||"day")}}),list:Ig(function(n,r){var i=new Intl.ListFormat(n,ld({},r));return function(o){return i.format(o)}})},this.init(t)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Ig(r)}},{key:"format",value:function(n,r,i,o){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,d){var h=Iwe(d),m=h.formatName,v=h.formatOptions;if(a.formats[m]){var b=u;try{var S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},k=S.locale||S.lng||o.locale||o.lng||i;b=a.formats[m](u,k,ld(ld(ld({},v),o),S))}catch(E){a.logger.warn(E)}return b}else a.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function aR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sR(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jwe(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Bwe=function(e){$x(n,e);var t=Dwe(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hu(this,n),a=t.call(this),Fx&&Qd.call($d(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=ql.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return pu(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},d={},h={},m={};return i.forEach(function(v){var b=!0;o.forEach(function(S){var k="".concat(v,"|").concat(S);!a.reload&&l.store.hasResourceBundle(v,S)?l.state[k]=2:l.state[k]<0||(l.state[k]===1?d[k]===void 0&&(d[k]=!0):(l.state[k]=1,b=!1,d[k]===void 0&&(d[k]=!0),u[k]===void 0&&(u[k]=!0),m[S]===void 0&&(m[S]=!0)))}),b||(h[v]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var d={};this.queue.forEach(function(h){vwe(h.loaded,[l],u),jwe(h,i),o&&h.errors.push(o),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(function(m){d[m]||(d[m]={});var v=h.loaded[m];v.length&&v.forEach(function(b){d[m][b]===void 0&&(d[m][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(function(h){return!h.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!i.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:d});return}this.readingCalls++;var h=function(S,k){if(s.readingCalls--,s.waitingReads.length>0){var E=s.waitingReads.shift();s.read(E.lng,E.ns,E.fcName,E.tried,E.wait,E.callback)}if(S&&k&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(d){a.loadOne(d)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(d,h){d&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),d),!d&&h&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),h),o.loaded(i,d,h)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var h=sR(sR({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var v;m.length===5?v=m(i,o,a,s,h):v=m(i,o,a,s),v&&typeof v.then=="function"?v.then(function(b){return d(null,b)}).catch(d):d(null,v)}catch(b){d(b)}else m(i,o,a,s,d,h)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(Qd);function lR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Xs(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Xs(t[2])==="object"||Xs(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function uR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function cR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(){}function zwe(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Q5=function(e){$x(n,e);var t=$we(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(hu(this,n),r=t.call(this),Fx&&Qd.call($d(r)),r.options=uR(i),r.services={},r.logger=ql,r.modules={external:[]},zwe($d(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),jy(r,$d(r));setTimeout(function(){r.init(i,o)},0)}return r}return pu(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=lR();this.options=Ml(Ml(Ml({},s),this.options),uR(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ml(Ml({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?ql.init(l(this.modules.logger),this.options):ql.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Rwe);var d=new nR(this.options);this.store=new _we(this.options.resources,this.options);var h=this.services;h.logger=ql,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Owe(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Mwe(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new Bwe(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new tR(this.services,this.options),this.translator.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.external.forEach(function(E){E.init&&E.init(i)})}if(this.format=this.options.interpolation.format,a||(a=Pb),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments),i}});var S=iv(),k=function(){var _=function(A,I){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),S.resolve(I),a(A,I)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return _(null,i.t.bind(i));i.changeLanguage(i.options.lng,_)};return this.options.resources||!this.options.initImmediate?k():setTimeout(k,0),S}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],d=function(v){if(v){var b=o.services.languageUtils.toResolveHierarchy(v);b.forEach(function(S){u.indexOf(S)<0&&u.push(S)})}};if(l)d(l);else{var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.forEach(function(m){return d(m)})}this.options.preload&&this.options.preload.forEach(function(m){return d(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=iv();return i||(i=this.languages),o||(o=this.options.ns),a||(a=Pb),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&EU.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=iv();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},d=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var v=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(b){u(b,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(d,h){var m;if(Xs(h)!=="object"){for(var v=arguments.length,b=new Array(v>2?v-2:0),S=2;S1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var d=function(v,b){var S=o.services.backendConnector.state["".concat(v,"|").concat(b)];return S===-1||S===2};if(a.precheck){var h=a.precheck(this,d);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(s,i)&&(!l||d(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=iv();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=iv();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new nR(lR());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=Ml(Ml(Ml({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(d){l[d]=i[d]}),l.services=Ml({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new tR(l.services,l.options),l.translator.on("*",function(d){for(var h=arguments.length,m=new Array(h>1?h-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Q5(e,t)});var zt=Q5.createInstance();zt.createInstance=Q5.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;function Hwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J2(e){return J2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J2(e)}function Vwe(e,t){if(J2(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(J2(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wwe(e){var t=Vwe(e,"string");return J2(t)==="symbol"?t:String(t)}function dR(e,t){for(var n=0;n0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!fR.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!fR.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},hR={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Kwe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(n=o[a].substring(s+1))}}}return n}},ov=null,pR=function(){if(ov!==null)return ov;try{ov=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ov=!1}return ov},Qwe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&pR()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&pR()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},av=null,gR=function(){if(av!==null)return av;try{av=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{av=!1}return av},Jwe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&gR()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&gR()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},e6e={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},t6e={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},n6e={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},r6e={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function i6e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var TU=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hwe(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Uwe(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Ywe(r,this.options||{},i6e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Xwe),this.addDetector(Zwe),this.addDetector(Qwe),this.addDetector(Jwe),this.addDetector(e6e),this.addDetector(t6e),this.addDetector(n6e),this.addDetector(r6e)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();TU.type="languageDetector";function h8(e){return h8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h8(e)}var LU=[],o6e=LU.forEach,a6e=LU.slice;function p8(e){return o6e.call(a6e.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function AU(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":h8(XMLHttpRequest))==="object"}function s6e(e){return!!e&&typeof e.then=="function"}function l6e(e){return s6e(e)?e:Promise.resolve(e)}function u6e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ey={},c6e={get exports(){return ey},set exports(e){ey=e}},o2={},d6e={get exports(){return o2},set exports(e){o2=e}},mR;function f6e(){return mR||(mR=1,function(e,t){var n=typeof self<"u"?self:Co,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l($){return $&&DataView.prototype.isPrototypeOf($)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function($){return $&&u.indexOf(Object.prototype.toString.call($))>-1};function h($){if(typeof $!="string"&&($=String($)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test($))throw new TypeError("Invalid character in header field name");return $.toLowerCase()}function m($){return typeof $!="string"&&($=String($)),$}function v($){var U={next:function(){var X=$.shift();return{done:X===void 0,value:X}}};return s.iterable&&(U[Symbol.iterator]=function(){return U}),U}function b($){this.map={},$ instanceof b?$.forEach(function(U,X){this.append(X,U)},this):Array.isArray($)?$.forEach(function(U){this.append(U[0],U[1])},this):$&&Object.getOwnPropertyNames($).forEach(function(U){this.append(U,$[U])},this)}b.prototype.append=function($,U){$=h($),U=m(U);var X=this.map[$];this.map[$]=X?X+", "+U:U},b.prototype.delete=function($){delete this.map[h($)]},b.prototype.get=function($){return $=h($),this.has($)?this.map[$]:null},b.prototype.has=function($){return this.map.hasOwnProperty(h($))},b.prototype.set=function($,U){this.map[h($)]=m(U)},b.prototype.forEach=function($,U){for(var X in this.map)this.map.hasOwnProperty(X)&&$.call(U,this.map[X],X,this)},b.prototype.keys=function(){var $=[];return this.forEach(function(U,X){$.push(X)}),v($)},b.prototype.values=function(){var $=[];return this.forEach(function(U){$.push(U)}),v($)},b.prototype.entries=function(){var $=[];return this.forEach(function(U,X){$.push([X,U])}),v($)},s.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S($){if($.bodyUsed)return Promise.reject(new TypeError("Already read"));$.bodyUsed=!0}function k($){return new Promise(function(U,X){$.onload=function(){U($.result)},$.onerror=function(){X($.error)}})}function E($){var U=new FileReader,X=k(U);return U.readAsArrayBuffer($),X}function _($){var U=new FileReader,X=k(U);return U.readAsText($),X}function T($){for(var U=new Uint8Array($),X=new Array(U.length),Z=0;Z-1?U:$}function j($,U){U=U||{};var X=U.body;if($ instanceof j){if($.bodyUsed)throw new TypeError("Already read");this.url=$.url,this.credentials=$.credentials,U.headers||(this.headers=new b($.headers)),this.method=$.method,this.mode=$.mode,this.signal=$.signal,!X&&$._bodyInit!=null&&(X=$._bodyInit,$.bodyUsed=!0)}else this.url=String($);if(this.credentials=U.credentials||this.credentials||"same-origin",(U.headers||!this.headers)&&(this.headers=new b(U.headers)),this.method=D(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&X)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(X)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function z($){var U=new FormData;return $.trim().split("&").forEach(function(X){if(X){var Z=X.split("="),W=Z.shift().replace(/\+/g," "),Q=Z.join("=").replace(/\+/g," ");U.append(decodeURIComponent(W),decodeURIComponent(Q))}}),U}function V($){var U=new b,X=$.replace(/\r?\n[\t ]+/g," ");return X.split(/\r?\n/).forEach(function(Z){var W=Z.split(":"),Q=W.shift().trim();if(Q){var ie=W.join(":").trim();U.append(Q,ie)}}),U}I.call(j.prototype);function K($,U){U||(U={}),this.type="default",this.status=U.status===void 0?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new b(U.headers),this.url=U.url||"",this._initBody($)}I.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},K.error=function(){var $=new K(null,{status:0,statusText:""});return $.type="error",$};var te=[301,302,303,307,308];K.redirect=function($,U){if(te.indexOf(U)===-1)throw new RangeError("Invalid status code");return new K(null,{status:U,headers:{location:$}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,X){this.message=U,this.name=X;var Z=Error(U);this.stack=Z.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function q($,U){return new Promise(function(X,Z){var W=new j($,U);if(W.signal&&W.signal.aborted)return Z(new a.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function ie(){Q.abort()}Q.onload=function(){var fe={status:Q.status,statusText:Q.statusText,headers:V(Q.getAllResponseHeaders()||"")};fe.url="responseURL"in Q?Q.responseURL:fe.headers.get("X-Request-URL");var Se="response"in Q?Q.response:Q.responseText;X(new K(Se,fe))},Q.onerror=function(){Z(new TypeError("Network request failed"))},Q.ontimeout=function(){Z(new TypeError("Network request failed"))},Q.onabort=function(){Z(new a.DOMException("Aborted","AbortError"))},Q.open(W.method,W.url,!0),W.credentials==="include"?Q.withCredentials=!0:W.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&s.blob&&(Q.responseType="blob"),W.headers.forEach(function(fe,Se){Q.setRequestHeader(Se,fe)}),W.signal&&(W.signal.addEventListener("abort",ie),Q.onreadystatechange=function(){Q.readyState===4&&W.signal.removeEventListener("abort",ie)}),Q.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=b,o.Request=j,o.Response=K),a.Headers=b,a.Request=j,a.Response=K,a.fetch=q,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(d6e,o2)),o2}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Co<"u"&&Co.fetch?n=Co.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof u6e<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||f6e();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(c6e,ey);const OU=ey,vR=ij({__proto__:null,default:OU},[ey]);function J5(e){return J5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J5(e)}var Yu;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Yu=global.fetch:typeof window<"u"&&window.fetch?Yu=window.fetch:Yu=fetch);var ty;AU()&&(typeof global<"u"&&global.XMLHttpRequest?ty=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ty=window.XMLHttpRequest));var eS;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?eS=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(eS=window.ActiveXObject));!Yu&&vR&&!ty&&!eS&&(Yu=OU||vR);typeof Yu!="function"&&(Yu=void 0);var g8=function(t,n){if(n&&J5(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},yR=function(t,n,r){Yu(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},bR=!1,h6e=function(t,n,r,i){t.queryStringParams&&(n=g8(n,t.queryStringParams));var o=p8({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=p8({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},bR?{}:a);try{yR(n,s,i)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return i(l);try{Object.keys(a).forEach(function(u){delete s[u]}),yR(n,s,i),bR=!0}catch(u){i(u)}}},p6e=function(t,n,r,i){r&&J5(r)==="object"&&(r=g8("",r).slice(1)),t.queryStringParams&&(n=g8(n,t.queryStringParams));try{var o;ty?o=new ty:o=new eS("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(l){console&&console.log(l)}},g6e=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Yu&&n.indexOf("file:")!==0)return h6e(t,n,r,i);if(AU()||typeof ActiveXObject=="function")return p6e(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ny(e){return ny=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ny(e)}function m6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SR(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};m6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return v6e(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=p8(i,this.options||{},S6e()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,i)),l=l6e(l),l.then(function(u){if(!u)return a(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});s.loadUrl(d,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,d;try{typeof l.data=="string"?u=a.options.parse(l.data,i,o):u=l.data}catch{d="failed parsing "+n+" to json"}if(d)return r(d,!1);r(null,u)})}},{key:"create",value:function(n,r,i,o,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,i,o),u=0,d=[],h=[];n.forEach(function(m){var v=s.options.addPath;typeof s.options.addPath=="function"&&(v=s.options.addPath(m,r));var b=s.services.interpolator.interpolate(v,{lng:m,ns:r});s.options.request(s.options,b,l,function(S,k){u+=1,d.push(S),h.push(k),u===n.length&&a&&a(d,h)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,s=i.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(h){var m=o.toResolveHierarchy(h);m.forEach(function(v){l.indexOf(v)<0&&l.push(v)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(h){i.read(d,h,"read",null,null,function(m,v){m&&a.warn("loading namespace ".concat(h," for language ").concat(d," failed"),m),!m&&v&&a.log("loaded namespace ".concat(h," for language ").concat(d),v),i.loaded("".concat(d,"|").concat(h),m,v)})})})}}}]),e}();IU.type="backend";function ry(e){return ry=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ry(e)}function x6e(e,t){if(ry(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ry(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RU(e){var t=x6e(e,"string");return ry(t)==="symbol"?t:String(t)}function DU(e,t,n){return t=RU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w6e(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var d=t.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}function _6e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return m8("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,e))return!1}}):C6e(e,t,n)}var k6e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E6e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},P6e=function(t){return E6e[t]},T6e=function(t){return t.replace(k6e,P6e)};function CR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _R(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};v8=_R(_R({},v8),e)}function A6e(){return v8}var NU;function O6e(e){NU=e}function M6e(){return NU}function I6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kR(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(N6e)||{},i=r.i18n,o=r.defaultNS,a=n||i||M6e();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new j6e),!a){m8("You will need to pass in an i18next instance by using initReactI18next");var s=function(z){return Array.isArray(z)?z[z.length-1]:z},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&m8("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=_C(_C(_C({},A6e()),a.options.react),t),d=u.useSuspense,h=u.keyPrefix,m=e||o||a.options&&a.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(m);var v=(a.isInitialized||a.initializedStoreOnce)&&m.every(function(j){return _6e(j,a,u)});function b(){return a.getFixedT(null,u.nsMode==="fallback"?m:m[0],h)}var S=w.useState(b),k=H6e(S,2),E=k[0],_=k[1],T=m.join(),A=V6e(T),I=w.useRef(!0);w.useEffect(function(){var j=u.bindI18n,z=u.bindI18nStore;I.current=!0,!v&&!d&&wR(a,m,function(){I.current&&_(b)}),v&&A&&A!==T&&I.current&&_(b);function V(){I.current&&_(b)}return j&&a&&a.on(j,V),z&&a&&a.store.on(z,V),function(){I.current=!1,j&&a&&j.split(" ").forEach(function(K){return a.off(K,V)}),z&&a&&z.split(" ").forEach(function(K){return a.store.off(K,V)})}},[a,T]);var R=w.useRef(!0);w.useEffect(function(){I.current&&!R.current&&_(b),R.current=!1},[a,h]);var D=[E,a,v];if(D.t=E,D.i18n=a,D.ready=v,v||!v&&!d)return D;throw new Promise(function(j){wR(a,m,function(){j()})})}zt.use(IU).use(TU).use(D6e).init({fallbackLng:"en",debug:!1,ns:["common","gallery","hotkeys","parameters","settings","modelmanager","toast","tooltip","unifiedcanvas"],backend:{loadPath:"/locales/{{ns}}/{{lng}}.json"},interpolation:{escapeValue:!1},returnNull:!1});const W6e={isConnected:!1,isProcessing:!1,log:[],shouldShowLogViewer:!1,shouldDisplayInProgressType:"latents",shouldDisplayGuides:!0,isGFPGANAvailable:!0,isESRGANAvailable:!0,socketId:"",shouldConfirmOnDelete:!0,openAccordions:[],currentStep:0,totalSteps:0,currentIteration:0,totalIterations:0,currentStatus:zt.isInitialized?zt.t("common:statusDisconnected"):"Disconnected",currentStatusHasSteps:!1,model:"",model_id:"",model_hash:"",app_id:"",app_version:"",model_list:{},infill_methods:[],hasError:!1,wasErrorSeen:!0,isCancelable:!0,saveIntermediatesInterval:5,enableImageDebugging:!1,toastQueue:[],searchFolder:null,foundModels:null,openModel:null},jU=cp({name:"system",initialState:W6e,reducers:{setShouldDisplayInProgressType:(e,t)=>{e.shouldDisplayInProgressType=t.payload},setIsProcessing:(e,t)=>{e.isProcessing=t.payload},setCurrentStatus:(e,t)=>{e.currentStatus=t.payload},setSystemStatus:(e,t)=>({...e,...t.payload}),errorOccurred:e=>{e.hasError=!0,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusError"),e.wasErrorSeen=!1},errorSeen:e=>{e.hasError=!1,e.wasErrorSeen=!0,e.currentStatus=e.isConnected?zt.t("common:statusConnected"):zt.t("common:statusDisconnected")},addLogEntry:(e,t)=>{const{timestamp:n,message:r,level:i}=t.payload,a={timestamp:n,message:r,level:i||"info"};e.log.push(a)},setShouldShowLogViewer:(e,t)=>{e.shouldShowLogViewer=t.payload},setIsConnected:(e,t)=>{e.isConnected=t.payload,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.hasError=!1},setSocketId:(e,t)=>{e.socketId=t.payload},setShouldConfirmOnDelete:(e,t)=>{e.shouldConfirmOnDelete=t.payload},setOpenAccordions:(e,t)=>{e.openAccordions=t.payload},setSystemConfig:(e,t)=>({...e,...t.payload}),setShouldDisplayGuides:(e,t)=>{e.shouldDisplayGuides=t.payload},processingCanceled:e=>{e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusProcessingCanceled")},generationRequested:e=>{e.isProcessing=!0,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusPreparing")},setModelList:(e,t)=>{e.model_list=t.payload},setIsCancelable:(e,t)=>{e.isCancelable=t.payload},modelChangeRequested:e=>{e.currentStatus=zt.t("common:statusLoadingModel"),e.isCancelable=!1,e.isProcessing=!0,e.currentStatusHasSteps=!1},setSaveIntermediatesInterval:(e,t)=>{e.saveIntermediatesInterval=t.payload},setEnableImageDebugging:(e,t)=>{e.enableImageDebugging=t.payload},addToast:(e,t)=>{e.toastQueue.push(t.payload)},clearToastQueue:e=>{e.toastQueue=[]},setProcessingIndeterminateTask:(e,t)=>{e.isProcessing=!0,e.currentStatus=t.payload,e.currentStatusHasSteps=!1},setSearchFolder:(e,t)=>{e.searchFolder=t.payload},setFoundModels:(e,t)=>{e.foundModels=t.payload},setOpenModel:(e,t)=>{e.openModel=t.payload}}}),{setShouldDisplayInProgressType:U6e,setIsProcessing:Hs,addLogEntry:to,setShouldShowLogViewer:kC,setIsConnected:TR,setSocketId:pze,setShouldConfirmOnDelete:BU,setOpenAccordions:G6e,setSystemStatus:q6e,setCurrentStatus:D4,setSystemConfig:Y6e,setShouldDisplayGuides:K6e,processingCanceled:X6e,errorOccurred:LR,errorSeen:$U,setModelList:Tb,setIsCancelable:lm,modelChangeRequested:Z6e,setSaveIntermediatesInterval:Q6e,setEnableImageDebugging:J6e,generationRequested:eCe,addToast:Th,clearToastQueue:tCe,setProcessingIndeterminateTask:nCe,setSearchFolder:FU,setFoundModels:zU,setOpenModel:AR}=jU.actions,rCe=jU.reducer,cP=["txt2img","img2img","unifiedCanvas","nodes","postprocess","training"],iCe={activeTab:0,currentTheme:"dark",parametersPanelScrollPosition:0,shouldHoldParametersPanelOpen:!1,shouldPinParametersPanel:!0,shouldShowParametersPanel:!0,shouldShowDualDisplay:!0,shouldShowImageDetails:!1,shouldUseCanvasBetaLayout:!1,shouldShowExistingModelsInSearch:!1,addNewModelUIOption:null},oCe=iCe,HU=cp({name:"ui",initialState:oCe,reducers:{setActiveTab:(e,t)=>{typeof t.payload=="number"?e.activeTab=t.payload:e.activeTab=cP.indexOf(t.payload)},setCurrentTheme:(e,t)=>{e.currentTheme=t.payload},setParametersPanelScrollPosition:(e,t)=>{e.parametersPanelScrollPosition=t.payload},setShouldPinParametersPanel:(e,t)=>{e.shouldPinParametersPanel=t.payload},setShouldShowParametersPanel:(e,t)=>{e.shouldShowParametersPanel=t.payload},setShouldHoldParametersPanelOpen:(e,t)=>{e.shouldHoldParametersPanelOpen=t.payload},setShouldShowDualDisplay:(e,t)=>{e.shouldShowDualDisplay=t.payload},setShouldShowImageDetails:(e,t)=>{e.shouldShowImageDetails=t.payload},setShouldUseCanvasBetaLayout:(e,t)=>{e.shouldUseCanvasBetaLayout=t.payload},setShouldShowExistingModelsInSearch:(e,t)=>{e.shouldShowExistingModelsInSearch=t.payload},setAddNewModelUIOption:(e,t)=>{e.addNewModelUIOption=t.payload}}}),{setActiveTab:qo,setCurrentTheme:aCe,setParametersPanelScrollPosition:sCe,setShouldHoldParametersPanelOpen:lCe,setShouldPinParametersPanel:uCe,setShouldShowParametersPanel:Ku,setShouldShowDualDisplay:cCe,setShouldShowImageDetails:VU,setShouldUseCanvasBetaLayout:dCe,setShouldShowExistingModelsInSearch:fCe,setAddNewModelUIOption:zh}=HU.actions,hCe=HU.reducer,lu=Object.create(null);lu.open="0";lu.close="1";lu.ping="2";lu.pong="3";lu.message="4";lu.upgrade="5";lu.noop="6";const N4=Object.create(null);Object.keys(lu).forEach(e=>{N4[lu[e]]=e});const pCe={type:"error",data:"parser error"},gCe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",mCe=typeof ArrayBuffer=="function",vCe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,WU=({type:e,data:t},n,r)=>gCe&&t instanceof Blob?n?r(t):OR(t,r):mCe&&(t instanceof ArrayBuffer||vCe(t))?n?r(t):OR(new Blob([t]),r):r(lu[e]+(t||"")),OR=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+r)},n.readAsDataURL(e)},MR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r>4,d[i++]=(a&15)<<4|s>>2,d[i++]=(s&3)<<6|l&63;return u},bCe=typeof ArrayBuffer=="function",UU=(e,t)=>{if(typeof e!="string")return{type:"message",data:GU(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:SCe(e.substring(1),t)}:N4[n]?e.length>1?{type:N4[n],data:e.substring(1)}:{type:N4[n]}:pCe},SCe=(e,t)=>{if(bCe){const n=yCe(e);return GU(n,t)}else return{base64:!0,data:e}},GU=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},qU=String.fromCharCode(30),xCe=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{WU(o,!1,s=>{r[a]=s,++i===n&&t(r.join(qU))})})},wCe=(e,t)=>{const n=e.split(qU),r=[];for(let i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function KU(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const _Ce=setTimeout,kCe=clearTimeout;function zx(e,t){t.useNativeTimers?(e.setTimeoutFn=_Ce.bind(Pd),e.clearTimeoutFn=kCe.bind(Pd)):(e.setTimeoutFn=setTimeout.bind(Pd),e.clearTimeoutFn=clearTimeout.bind(Pd))}const ECe=1.33;function PCe(e){return typeof e=="string"?TCe(e):Math.ceil((e.byteLength||e.size)*ECe)}function TCe(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}class LCe extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class XU extends si{constructor(t){super(),this.writable=!1,zx(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new LCe(t,n,r)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=UU(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}}const ZU="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),y8=64,ACe={};let IR=0,Lb=0,RR;function DR(e){let t="";do t=ZU[e%y8]+t,e=Math.floor(e/y8);while(e>0);return t}function QU(){const e=DR(+new Date);return e!==RR?(IR=0,RR=e):e+"."+DR(IR++)}for(;Lb{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};wCe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,xCe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=QU()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new nu(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class nu extends si{constructor(t,n){super(),zx(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=KU(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new tG(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=nu.requestsCount++,nu.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=ICe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete nu.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}nu.requestsCount=0;nu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",NR);else if(typeof addEventListener=="function"){const e="onpagehide"in Pd?"pagehide":"unload";addEventListener(e,NR,!1)}}function NR(){for(let e in nu.requests)nu.requests.hasOwnProperty(e)&&nu.requests[e].abort()}const nG=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ab=Pd.WebSocket||Pd.MozWebSocket,jR=!0,NCe="arraybuffer",BR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class jCe extends XU{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=BR?{}:KU(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=jR&&!BR?n?new Ab(t,n):new Ab(t):new Ab(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||NCe,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const a={};try{jR&&this.ws.send(o)}catch{}i&&nG(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=QU()),this.supportsBinary||(t.b64=1);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!Ab}}const BCe={websocket:jCe,polling:DCe},$Ce=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FCe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function b8(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=$Ce.exec(e||""),o={},a=14;for(;a--;)o[FCe[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=zCe(o,o.path),o.queryKey=HCe(o,o.query),o}function zCe(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function HCe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let rG=class $g extends si{constructor(t,n={}){super(),t&&typeof t=="object"&&(n=t,t=null),t?(t=b8(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=b8(n.host).host),zx(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=OCe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=YU,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new BCe[t](r)}open(){let t;if(this.opts.rememberUpgrade&&$g.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;$g.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;$g.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,d(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function s(){a("transport closed")}function l(){a("socket closed")}function u(h){n&&h.name!==n.name&&o()}const d=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",$g.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){$g.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,iG=Object.prototype.toString,GCe=typeof Blob=="function"||typeof Blob<"u"&&iG.call(Blob)==="[object BlobConstructor]",qCe=typeof File=="function"||typeof File<"u"&&iG.call(File)==="[object FileConstructor]";function dP(e){return WCe&&(e instanceof ArrayBuffer||UCe(e))||GCe&&e instanceof Blob||qCe&&e instanceof File}function j4(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case cn.ACK:case cn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class QCe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=KCe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const JCe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:fP,Encoder:ZCe,get PacketType(){return cn},protocol:XCe},Symbol.toStringTag,{value:"Module"}));function Bs(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const e7e=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class oG extends si{constructor(t,n,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Bs(t,"open",this.onopen.bind(this)),Bs(t,"packet",this.onpacket.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(e7e.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');n.unshift(t);const r={type:cn.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,s=n.pop();this._registerAckCallback(a,s),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){const r=this.flags.timeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:cn.CONNECT,data:t})}):this.packet({type:cn.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case cn.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case cn.EVENT:case cn.BINARY_EVENT:this.onevent(t);break;case cn.ACK:case cn.BINARY_ACK:this.onack(t);break;case cn.DISCONNECT:this.ondisconnect();break;case cn.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t)}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:cn.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:cn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}E0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};E0.prototype.reset=function(){this.attempts=0};E0.prototype.setMin=function(e){this.ms=e};E0.prototype.setMax=function(e){this.max=e};E0.prototype.setJitter=function(e){this.jitter=e};class w8 extends si{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,zx(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new E0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||JCe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new rG(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Bs(n,"open",function(){r.onopen(),t&&t()}),o=Bs(n,"error",a=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",a),t?t(a):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Bs(t,"ping",this.onping.bind(this)),Bs(t,"data",this.ondata.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this)),Bs(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){nG(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r||(r=new oG(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const sv={};function B4(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=VCe(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=sv[i]&&o in sv[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new w8(r,t):(sv[i]||(sv[i]=new w8(r,t)),l=sv[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(B4,{Manager:w8,Socket:oG,io:B4,connect:B4});const t7e=["ddim","plms","k_lms","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_dpmpp_2_a","k_euler","k_euler_a","k_heun"],n7e=["ddim","plms","k_lms","dpmpp_2","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_euler","k_euler_a","k_heun"],r7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],i7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],o7e=[{key:"2x",value:2},{key:"4x",value:4}],hP=0,pP=4294967295,a7e=["gfpgan","codeformer"],s7e=[{key:"None",value:"none"},{key:"Fast",value:"latents"},{key:"Accurate",value:"full-res"}];var l7e=Math.PI/180;function u7e(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const $m=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},pt={_global:$m,version:"8.3.14",isBrowser:u7e(),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle(e){return pt.angleDeg?e*l7e:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:typeof window<"u"&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return pt.DD.isDragging},isDragReady(){return!!pt.DD.node},releaseCanvasOnDestroy:!0,document:$m.document,_injectGlobal(e){$m.Konva=e}},Ar=e=>{pt[e.prototype.getClassName()]=e};pt._injectGlobal(pt);class ka{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new ka(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var n=this.m;return{x:n[0]*t.x+n[2]*t.y+n[4],y:n[1]*t.x+n[3]*t.y+n[5]}}translate(t,n){return this.m[4]+=this.m[0]*t+this.m[2]*n,this.m[5]+=this.m[1]*t+this.m[3]*n,this}scale(t,n){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=n,this.m[3]*=n,this}rotate(t){var n=Math.cos(t),r=Math.sin(t),i=this.m[0]*n+this.m[2]*r,o=this.m[1]*n+this.m[3]*r,a=this.m[0]*-r+this.m[2]*n,s=this.m[1]*-r+this.m[3]*n;return this.m[0]=i,this.m[1]=o,this.m[2]=a,this.m[3]=s,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,n){var r=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,o=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=i,this.m[2]=o,this.m[3]=a,this}multiply(t){var n=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],s=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*t,r=-this.m[1]*t,i=-this.m[2]*t,o=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),s=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}getMatrix(){return this.m}decompose(){var t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=this.m[4],a=this.m[5],s=t*i-n*r;let l={x:o,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(t!=0||n!=0){var u=Math.sqrt(t*t+n*n);l.rotation=n>0?Math.acos(t/u):-Math.acos(t/u),l.scaleX=u,l.scaleY=s/u,l.skewX=(t*r+n*i)/s,l.skewY=0}else if(r!=0||i!=0){var d=Math.sqrt(r*r+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-r/d):-Math.acos(r/d)),l.scaleX=s/d,l.scaleY=d,l.skewX=0,l.skewY=(t*r+n*i)/s}return l.rotation=de._getRotation(l.rotation),l}}var c7e="[object Array]",d7e="[object Number]",f7e="[object String]",h7e="[object Boolean]",p7e=Math.PI/180,g7e=180/Math.PI,EC="#",m7e="",v7e="0",y7e="Konva warning: ",$R="Konva error: ",b7e="rgb(",PC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},S7e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Ob=[];const x7e=typeof requestAnimationFrame<"u"&&requestAnimationFrame||function(e){setTimeout(e,60)},de={_isElement(e){return!!(e&&e.nodeType==1)},_isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject(e){return!!e&&e.constructor===Object},_isArray(e){return Object.prototype.toString.call(e)===c7e},_isNumber(e){return Object.prototype.toString.call(e)===d7e&&!isNaN(e)&&isFinite(e)},_isString(e){return Object.prototype.toString.call(e)===f7e},_isBoolean(e){return Object.prototype.toString.call(e)===h7e},isObject(e){return e instanceof Object},isValidSelector(e){if(typeof e!="string")return!1;var t=e[0];return t==="#"||t==="."||t===t.toUpperCase()},_sign(e){return e===0||e>0?1:-1},requestAnimFrame(e){Ob.push(e),Ob.length===1&&x7e(function(){const t=Ob;Ob=[],t.forEach(function(n){n()})})},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch{}return e},createImageElement(){return document.createElement("img")},_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=de.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex(e,t,n){return((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},_hexToRgb(e){e=e.replace(EC,m7e);var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}},getRandomColor(){for(var e=(Math.random()*16777215<<0).toString(16);e.length<6;)e=v7e+e;return EC+e},getRGB(e){var t;return e in PC?(t=PC[e],{r:t[0],g:t[1],b:t[2]}):e[0]===EC?this._hexToRgb(e.substring(1)):e.substr(0,4)===b7e?(t=S7e.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA(e){return e=e||"black",de._namedColorToRBA(e)||de._hex3ColorToRGBA(e)||de._hex6ColorToRGBA(e)||de._rgbColorToRGBA(e)||de._rgbaColorToRGBA(e)||de._hslColorToRGBA(e)},_namedColorToRBA(e){var t=PC[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(e.indexOf("rgb(")===0){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(e.indexOf("rgba(")===0){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map((n,r)=>n.slice(-1)==="%"?r===3?parseInt(n)/100:parseInt(n)/100*255:Number(n));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if(e[0]==="#"&&e.length===7)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if(e[0]==="#"&&e.length===4)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100;let a,s,l;if(i===0)return l=o*255,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};o<.5?a=o*(1+i):a=o+i-o*i;const u=2*o-a,d=[0,0,0];for(let h=0;h<3;h++)s=r+1/3*-(h-1),s<0&&s++,s>1&&s--,6*s<1?l=u+(a-u)*6*s:2*s<1?l=a:3*s<2?l=u+(a-u)*(2/3-s)*6:l=u,d[h]=l*255;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height1?(a=n,s=r,l=(n-i)*(n-i)+(r-o)*(r-o)):(a=e+d*(n-e),s=t+d*(r-t),l=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,l]},_getProjectionToLine(e,t,n){var r=de.cloneObject(e),i=Number.MAX_VALUE;return t.forEach(function(o,a){if(!(!n&&a===t.length-1)){var s=t[(a+1)%t.length],l=de._getProjectionToSegment(o.x,o.y,s.x,s.y,e.x,e.y),u=l[0],d=l[1],h=l[2];ht.length){var a=t;t=e,e=a}for(r=0;r{t.width=0,t.height=0})}};function df(e){return de._isString(e)?'"'+e+'"':Object.prototype.toString.call(e)==="[object Number]"||de._isBoolean(e)?e:Object.prototype.toString.call(e)}function aG(e){return e>255?255:e<0?0:Math.round(e)}function qe(){if(pt.isUnminified)return function(e,t){return de._isNumber(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function sG(e){if(pt.isUnminified)return function(t,n){let r=de._isNumber(t),i=de._isArray(t)&&t.length==e;return!r&&!i&&de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}}function gP(){if(pt.isUnminified)return function(e,t){var n=de._isNumber(e),r=e==="auto";return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function P0(){if(pt.isUnminified)return function(e,t){return de._isString(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function lG(){if(pt.isUnminified)return function(e,t){const n=de._isString(e),r=Object.prototype.toString.call(e)==="[object CanvasGradient]"||e&&e.addColorStop;return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function w7e(){if(pt.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(de._isArray(e)?e.forEach(function(r){de._isNumber(r)||de.warn('"'+t+'" attribute has non numeric element '+r+". Make sure that all elements are numbers.")}):de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function nl(){if(pt.isUnminified)return function(e,t){var n=e===!0||e===!1;return n||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function C7e(e){if(pt.isUnminified)return function(t,n){return t==null||de.isObject(t)||de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}var lv="get",uv="set";const ee={addGetterSetter(e,t,n,r,i){ee.addGetter(e,t,n),ee.addSetter(e,t,r,i),ee.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=lv+de._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var i=this.attrs[t];return i===void 0?n:i}},addSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]||ee.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]=function(o){return n&&o!==void 0&&o!==null&&(o=n.call(this,o,t)),this._setAttr(t,o),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o=n.length,a=de._capitalize,s=lv+a(t),l=uv+a(t),u,d;e.prototype[s]=function(){var m={};for(u=0;u{this._setAttr(t+a(S),void 0)}),this._fireChangeEvent(t,v,m),i&&i.call(this),this},ee.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=de._capitalize(t),r=uv+n,i=lv+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[i]()}},addDeprecatedGetterSetter(e,t,n,r){de.error("Adding deprecated "+t);var i=lv+de._capitalize(t),o=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){de.error(o);var a=this.attrs[t];return a===void 0?n:a},ee.addSetter(e,t,r,function(){de.error(o)}),ee.addOverloadedGetterSetter(e,t)},backCompat(e,t){de.each(t,function(n,r){var i=e.prototype[r],o=lv+de._capitalize(n),a=uv+de._capitalize(n);function s(){i.apply(this,arguments),de.error('"'+n+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}e.prototype[n]=s,e.prototype[o]=s,e.prototype[a]=s})},afterSetFilter(){this._filterUpToDate=!1}};function _7e(e){var t=[],n=e.length,r=de,i,o;for(i=0;itypeof d=="number"?Math.floor(d):d)),o+=k7e+u.join(FR)+E7e)):(o+=s.property,t||(o+=O7e+s.val)),o+=L7e;return o}clearTrace(){this.traceArr=[]}_trace(t){var n=this.traceArr,r;n.push(t),r=n.length,r>=I7e&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var n=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}_applyLineCap(t){var n=t.getLineCap();n&&this.setAttr("lineCap",n)}_applyOpacity(t){var n=t.getAbsoluteOpacity();n!==1&&this.setAttr("globalAlpha",n)}_applyLineJoin(t){var n=t.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}setAttr(t,n){this._context[t]=n}arc(t,n,r,i,o,a){this._context.arc(t,n,r,i,o,a)}arcTo(t,n,r,i,o){this._context.arcTo(t,n,r,i,o)}beginPath(){this._context.beginPath()}bezierCurveTo(t,n,r,i,o,a){this._context.bezierCurveTo(t,n,r,i,o,a)}clearRect(t,n,r,i){this._context.clearRect(t,n,r,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,n){var r=arguments;if(r.length===2)return this._context.createImageData(t,n);if(r.length===1)return this._context.createImageData(t)}createLinearGradient(t,n,r,i){return this._context.createLinearGradient(t,n,r,i)}createPattern(t,n){return this._context.createPattern(t,n)}createRadialGradient(t,n,r,i,o,a){return this._context.createRadialGradient(t,n,r,i,o,a)}drawImage(t,n,r,i,o,a,s,l,u){var d=arguments,h=this._context;d.length===3?h.drawImage(t,n,r):d.length===5?h.drawImage(t,n,r,i,o):d.length===9&&h.drawImage(t,n,r,i,o,a,s,l,u)}ellipse(t,n,r,i,o,a,s,l){this._context.ellipse(t,n,r,i,o,a,s,l)}isPointInPath(t,n){return this._context.isPointInPath(t,n)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,n,r,i){this._context.fillRect(t,n,r,i)}strokeRect(t,n,r,i){this._context.strokeRect(t,n,r,i)}fillText(t,n,r,i){i?this._context.fillText(t,n,r,i):this._context.fillText(t,n,r)}measureText(t){return this._context.measureText(t)}getImageData(t,n,r,i){return this._context.getImageData(t,n,r,i)}lineTo(t,n){this._context.lineTo(t,n)}moveTo(t,n){this._context.moveTo(t,n)}rect(t,n,r,i){this._context.rect(t,n,r,i)}putImageData(t,n,r){this._context.putImageData(t,n,r)}quadraticCurveTo(t,n,r,i){this._context.quadraticCurveTo(t,n,r,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,n){this._context.scale(t,n)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,n,r,i,o,a){this._context.setTransform(t,n,r,i,o,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,n,r,i){this._context.strokeText(t,n,r,i)}transform(t,n,r,i,o,a){this._context.transform(t,n,r,i,o,a)}translate(t,n){this._context.translate(t,n)}_enableTrace(){var t=this,n=zR.length,r=this.setAttr,i,o,a=function(s){var l=t[s],u;t[s]=function(){return o=_7e(Array.prototype.slice.call(arguments,0)),u=l.apply(t,arguments),t._trace({method:s,args:o}),u}};for(i=0;i{t.dragStatus==="dragging"&&(e=!0)}),e},justDragged:!1,get node(){var e;return vn._dragElements.forEach(t=>{e=t.node}),e},_dragElements:new Map,_drag(e){const t=[];vn._dragElements.forEach((n,r)=>{const{node:i}=n,o=i.getStage();o.setPointersPositions(e),n.pointerId===void 0&&(n.pointerId=de._getFirstPointerId(e));const a=o._changedPointerPositions.find(u=>u.id===n.pointerId);if(a){if(n.dragStatus!=="dragging"){var s=i.dragDistance(),l=Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y));if(l{n.fire("dragmove",{type:"dragmove",target:n,evt:e},!0)})},_endDragBefore(e){const t=[];vn._dragElements.forEach(n=>{const{node:r}=n,i=r.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find(s=>s.id===n.pointerId))return;(n.dragStatus==="dragging"||n.dragStatus==="stopped")&&(vn.justDragged=!0,pt._mouseListenClick=!1,pt._touchListenClick=!1,pt._pointerListenClick=!1,n.dragStatus="stopped");const a=n.node.getLayer()||n.node instanceof pt.Stage&&n.node;a&&t.indexOf(a)===-1&&t.push(a)}),t.forEach(n=>{n.draw()})},_endDragAfter(e){vn._dragElements.forEach((t,n)=>{t.dragStatus==="stopped"&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),t.dragStatus!=="dragging"&&vn._dragElements.delete(n)})}};pt.isBrowser&&(window.addEventListener("mouseup",vn._endDragBefore,!0),window.addEventListener("touchend",vn._endDragBefore,!0),window.addEventListener("mousemove",vn._drag),window.addEventListener("touchmove",vn._drag),window.addEventListener("mouseup",vn._endDragAfter,!1),window.addEventListener("touchend",vn._endDragAfter,!1));var $4="absoluteOpacity",Ib="allEventListeners",Fu="absoluteTransform",HR="absoluteScale",ah="canvas",j7e="Change",B7e="children",$7e="konva",C8="listening",VR="mouseenter",WR="mouseleave",UR="set",GR="Shape",F4=" ",qR="stage",fd="transform",F7e="Stage",_8="visible",z7e=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(F4);let H7e=1,Ze=class k8{constructor(t){this._id=H7e++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){(t===fd||t===Fu)&&this._cache.get(t)?this._cache.get(t).dirty=!0:t?this._cache.delete(t):this._cache.clear()}_getCache(t,n){var r=this._cache.get(t),i=t===fd||t===Fu,o=r===void 0||i&&r.dirty===!0;return o&&(r=n.call(this),this._cache.set(t,r)),r}_calculate(t,n,r){if(!this._attachedDepsListeners.get(t)){const i=n.map(o=>o+"Change.konva").join(F4);this.on(i,()=>{this._clearCache(t)}),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)}_getCanvasCache(){return this._cache.get(ah)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===Fu&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(ah)){const{scene:t,filter:n,hit:r}=this._cache.get(ah);de.releaseCanvas(t,n,r),this._cache.delete(ah)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var n=t||{},r={};(n.x===void 0||n.y===void 0||n.width===void 0||n.height===void 0)&&(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(n.width||r.width),o=Math.ceil(n.height||r.height),a=n.pixelRatio,s=n.x===void 0?Math.floor(r.x):n.x,l=n.y===void 0?Math.floor(r.y):n.y,u=n.offset||0,d=n.drawBorder||!1,h=n.hitCanvasPixelRatio||1;if(!i||!o){de.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");return}i+=u*2+1,o+=u*2+1,s-=u,l-=u;var m=new Fm({pixelRatio:a,width:i,height:o}),v=new Fm({pixelRatio:a,width:0,height:0}),b=new mP({pixelRatio:h,width:i,height:o}),S=m.getContext(),k=b.getContext();return b.isCache=!0,m.isCache=!0,this._cache.delete(ah),this._filterUpToDate=!1,n.imageSmoothingEnabled===!1&&(m.getContext()._context.imageSmoothingEnabled=!1,v.getContext()._context.imageSmoothingEnabled=!1),S.save(),k.save(),S.translate(-s,-l),k.translate(-s,-l),this._isUnderCache=!0,this._clearSelfAndDescendantCache($4),this._clearSelfAndDescendantCache(HR),this.drawScene(m,this),this.drawHit(b,this),this._isUnderCache=!1,S.restore(),k.restore(),d&&(S.save(),S.beginPath(),S.rect(0,0,i,o),S.closePath(),S.setAttr("strokeStyle","red"),S.setAttr("lineWidth",5),S.stroke(),S.restore()),this._cache.set(ah,{scene:m,filter:v,hit:b,x:s,y:l}),this._requestDraw(),this}isCached(){return this._cache.has(ah)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,n){var r=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],i,o,a,s,l=this.getAbsoluteTransform(n);return r.forEach(function(u){var d=l.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),{x:i,y:o,width:a-i,height:s-o}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const n=this._getCanvasCache();t.translate(n.x,n.y);var r=this._getCachedSceneCanvas(),i=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/i,r.height/i),t.restore()}_drawCachedHitCanvas(t){var n=this._getCanvasCache(),r=n.hit;t.save(),t.translate(n.x,n.y),t.drawImage(r._canvas,0,0,r.width/r.pixelRatio,r.height/r.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t=this.filters(),n=this._getCanvasCache(),r=n.scene,i=n.filter,o=i.getContext(),a,s,l,u;if(t){if(!this._filterUpToDate){var d=r.pixelRatio;i.setSize(r.width/r.pixelRatio,r.height/r.pixelRatio);try{for(a=t.length,o.clear(),o.drawImage(r._canvas,0,0,r.getWidth()/d,r.getHeight()/d),s=o.getImageData(0,0,i.getWidth(),i.getHeight()),l=0;l{var n,r;if(!t)return this;for(n in t)n!==B7e&&(r=UR+de._capitalize(n),de._isFunction(this[r])?this[r](t[n]):this._setAttr(n,t[n]))}),this}isListening(){return this._getCache(C8,this._isListening)}_isListening(t){if(!this.listening())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isListening(t):!0}isVisible(){return this._getCache(_8,this._isVisible)}_isVisible(t){if(!this.visible())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isVisible(t):!0}shouldDrawHit(t,n=!1){if(t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),i=!1;vn._dragElements.forEach(a=>{a.dragStatus==="dragging"&&(a.node.nodeType==="Stage"||a.node.getLayer()===r)&&(i=!0)});var o=!n&&!pt.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t=this.getDepth(),n=this,r=0,i,o,a,s;function l(u){for(i=[],o=u.length,a=0;a0&&i[0].getDepth()<=t&&l(i)}return n.nodeType!==F7e&&l(n.getStage().getChildren()),r}getDepth(){for(var t=0,n=this.parent;n;)t++,n=n.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(fd),this._clearSelfAndDescendantCache(Fu)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges(()=>{this.x(t.x),this.y(t.y)}),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(t){let n=!1,r=this.parent;for(;r;){if(r.isCached()){n=!0;break}r=r.parent}n&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new ka,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()}setAbsolutePosition(t){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(fd);var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this._clearCache(fd),this._clearSelfAndDescendantCache(Fu),this}_setTransform(t){var n;for(n in t)this.attrs[n]=t[n]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var n=t.x,r=t.y,i=this.x(),o=this.y();return n!==void 0&&(i+=n),r!==void 0&&(o+=r),this.setPosition({x:i,y:o}),this}_eachAncestorReverse(t,n){var r=[],i=this.getParent(),o,a;if(!(n&&n._id===this._id)){for(r.unshift(this);i&&(!n||i._id!==n._id);)r.unshift(i),i=i.parent;for(o=r.length,a=0;a0?(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0):!1}moveToBottom(){if(!this.parent)return de.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0?(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0):!1}setZIndex(t){if(!this.parent)return de.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&de.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache($4,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(t*=n.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t={},n=this.getAttrs(),r,i,o,a,s;t.attrs={};for(r in n)i=n[r],s=de.isObject(i)&&!de._isPlainObject(i)&&!de._isArray(i),!s&&(o=typeof this[r]=="function"&&this[r],delete n[r],a=o?o.call(this):null,n[r]=i,a!==i&&(t.attrs[r]=i));return t.className=this.getClassName(),de._prepareToStringify(t)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,n,r){var i=[];n&&this._isMatch(t)&&i.push(this);for(var o=this.parent;o;){if(o===r)return i;o._isMatch(t)&&i.push(o),o=o.parent}return i}isAncestorOf(t){return!1}findAncestor(t,n,r){return this.findAncestors(t,n,r)[0]}_isMatch(t){if(!t)return!1;if(typeof t=="function")return t(this);var n=t.replace(/ /g,"").split(","),r=n.length,i,o;for(i=0;i{try{const i=t==null?void 0:t.callback;i&&delete t.callback,de._urlToImage(this.toDataURL(t),function(o){n(o),i==null||i(o)})}catch(i){r(i)}})}toBlob(t){return new Promise((n,r)=>{try{const i=t==null?void 0:t.callback;i&&delete t.callback,this.toCanvas(t).toBlob(o=>{n(o),i==null||i(o)})}catch(i){r(i)}})}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return this.attrs.dragDistance!==void 0?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():pt.dragDistance}_off(t,n,r){var i=this.eventListeners[t],o,a,s;for(o=0;o=0;if(r&&!this.isDragging()){var i=!1;vn._dragElements.forEach(o=>{this.isAncestorOf(o.node)&&(i=!0)}),i||this._createDragElement(t)}})}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const n=vn._dragElements.get(this._id),r=n&&n.dragStatus==="dragging",i=n&&n.dragStatus==="ready";r?this.stopDrag():i&&vn._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const n=this.getStage();if(!n)return!1;const r={x:-t.x,y:-t.y,width:n.width()+2*t.x,height:n.height()+2*t.y};return de.haveIntersection(r,this.getClientRect())}static create(t,n){return de._isString(t)&&(t=JSON.parse(t)),this._createNode(t,n)}static _createNode(t,n){var r=k8.prototype.getClassName.call(t),i=t.children,o,a,s;n&&(t.attrs.container=n),pt[r]||(de.warn('Can not find a node with class name "'+r+'". Fallback to "Shape".'),r="Shape");const l=pt[r];if(o=new l(t.attrs),i)for(a=i.length,s=0;s0}removeChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.remove()}),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.destroy()}),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var n=0;n0?n[0]:void 0}_generalFind(t,n){var r=[];return this._descendants(i=>{const o=i._isMatch(t);return o&&r.push(i),!!(o&&n)}),r}_descendants(t){let n=!1;const r=this.getChildren();for(const i of r){if(n=t(i),n)return!0;if(i.hasChildren()&&(n=i._descendants(t),n))return!0}return!1}toObject(){var t=Ze.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach(n=>{t.children.push(n.toObject())}),t}isAncestorOf(t){for(var n=t.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}clone(t){var n=Ze.prototype.clone.call(this,t);return this.getChildren().forEach(function(r){n.add(r.clone())}),n}getAllIntersections(t){var n=[];return this.find("Shape").forEach(function(r){r.isVisible()&&r.intersects(t)&&n.push(r)}),n}_clearSelfAndDescendantCache(t){var n;super._clearSelfAndDescendantCache(t),!this.isCached()&&((n=this.children)===null||n===void 0||n.forEach(function(r){r._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;(t=this.children)===null||t===void 0||t.forEach(function(n,r){n.index=r}),this._requestDraw()}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas(),o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.scene,l=i&&i.isCache;if(!this.isVisible()&&!l)return this;if(s){o.save();var u=this.getAbsoluteTransform(n).getMatrix();o.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",i,n);return this}drawHit(t,n){if(!this.shouldDrawHit(n))return this;var r=this.getLayer(),i=t||r&&r.hitCanvas,o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.hit;if(s){o.save();var l=this.getAbsoluteTransform(n).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",i,n);return this}_drawChildren(t,n,r){var i,o=n&&n.getContext(),a=this.clipWidth(),s=this.clipHeight(),l=this.clipFunc(),u=a&&s||l;const d=r===this;if(u){o.save();var h=this.getAbsoluteTransform(r),m=h.getMatrix();if(o.transform(m[0],m[1],m[2],m[3],m[4],m[5]),o.beginPath(),l)l.call(this,o,this);else{var v=this.clipX(),b=this.clipY();o.rect(v,b,a,s)}o.clip(),m=h.copy().invert().getMatrix(),o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}var S=!d&&this.globalCompositeOperation()!=="source-over"&&t==="drawScene";S&&(o.save(),o._applyGlobalCompositeOperation(this)),(i=this.children)===null||i===void 0||i.forEach(function(k){k[t](n,r)}),S&&o.restore(),u&&o.restore()}getClientRect(t){var n;t=t||{};var r=t.skipTransform,i=t.relativeTo,o,a,s,l,u={x:1/0,y:1/0,width:0,height:0},d=this;(n=this.children)===null||n===void 0||n.forEach(function(S){if(S.visible()){var k=S.getClientRect({relativeTo:d,skipShadow:t.skipShadow,skipStroke:t.skipStroke});k.width===0&&k.height===0||(o===void 0?(o=k.x,a=k.y,s=k.x+k.width,l=k.y+k.height):(o=Math.min(o,k.x),a=Math.min(a,k.y),s=Math.max(s,k.x+k.width),l=Math.max(l,k.y+k.height)))}});for(var h=this.find("Shape"),m=!1,v=0;ve.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",Rg=e=>{const t=Ov(e);if(t==="pointer")return pt.pointerEventsEnabled&&LC.pointer;if(t==="touch")return LC.touch;if(t==="mouse")return LC.mouse};function KR(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&de.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const K7e="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",z4=[];let Wx=class extends Aa{constructor(t){super(KR(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),z4.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",()=>{KR(this.attrs)}),this._checkVisibility()}_validateAdd(t){const n=t.getType()==="Layer",r=t.getType()==="FastLayer";n||r||de.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===W7e){if(t.charAt(0)==="."){var n=t.slice(1);t=document.getElementsByClassName(n)[0]}else{var r;t.charAt(0)!=="#"?r=t:r=t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t=this.children,n=t.length,r;for(r=0;r-1&&z4.splice(n,1),de.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(de.warn(K7e),null)}_getPointerById(t){return this._pointerPositions.find(n=>n.id===t)}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var n=new Fm({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),r=n.getContext()._context,i=this.children;return(t.x||t.y)&&r.translate(-1*t.x,-1*t.y),i.forEach(function(o){if(o.isVisible()){var a=o._toKonvaCanvas(t);r.drawImage(a._canvas,t.x,t.y,a.getWidth()/a.getPixelRatio(),a.getHeight()/a.getPixelRatio())}}),n}getIntersection(t){if(!t)return null;var n=this.children,r=n.length,i=r-1,o;for(o=i;o>=0;o--){const a=n[o].getIntersection(t);if(a)return a}return null}_resizeDOM(){var t=this.width(),n=this.height();this.content&&(this.content.style.width=t+YR,this.content.style.height=n+YR),this.bufferCanvas.setSize(t,n),this.bufferHitCanvas.setSize(t,n),this.children.forEach(r=>{r.setSize({width:t,height:n}),r.draw()})}add(t,...n){if(arguments.length>1){for(var r=0;rq7e&&de.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),pt.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}getLayers(){return this.children}_bindContentEvents(){pt.isBrowser&&Y7e.forEach(([t,n])=>{this.content.addEventListener(t,r=>{this[n](r)},{passive:!1})})}_pointerenter(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let n=this[t+"targetShape"];return n&&!n.getStage()&&(n=null),n}_pointerleave(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=this._getTargetShape(r),o=!vn.isDragging||pt.hitOnDragEnabled;i&&o?(i._fireAndBubble(n.pointerout,{evt:t}),i._fireAndBubble(n.pointerleave,{evt:t}),this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this[r+"targetShape"]=null):o&&(this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach(o=>{var a=this.getIntersection(o);if(vn.justDragged=!1,pt["_"+r+"ListenClick"]=!0,!(a&&a.isListening()))return;pt.capturePointerEventsEnabled&&a.setPointerCapture(o.id),this[r+"ClickStartShape"]=a,a._fireAndBubble(n.pointerdown,{evt:t,pointerId:o.id}),i=!0;const l=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&l&&t.preventDefault()}),i||this._fire(n.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;vn.isDragging&&vn.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!vn.isDragging||pt.hitOnDragEnabled;if(!i)return;var o={};let a=!1;var s=this._getTargetShape(r);this._changedPointerPositions.forEach(l=>{const u=TC(l.id)||this.getIntersection(l),d=l.id,h={evt:t,pointerId:d};var m=s!==u;if(m&&s&&(s._fireAndBubble(n.pointerout,Object.assign({},h),u),s._fireAndBubble(n.pointerleave,Object.assign({},h),u)),u){if(o[u._id])return;o[u._id]=!0}u&&u.isListening()?(a=!0,m&&(u._fireAndBubble(n.pointerover,Object.assign({},h),s),u._fireAndBubble(n.pointerenter,Object.assign({},h),s),this[r+"targetShape"]=u),u._fireAndBubble(n.pointermove,Object.assign({},h))):s&&(this._fire(n.pointerover,{evt:t,target:this,currentTarget:this,pointerId:d}),this[r+"targetShape"]=null)}),a||this._fire(n.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;this.setPointersPositions(t);const i=this[r+"ClickStartShape"],o=this[r+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach(l=>{const u=TC(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),a[u._id])return;a[u._id]=!0}const d=l.id,h={evt:t,pointerId:d};let m=!1;pt["_"+r+"InDblClickWindow"]?(m=!0,clearTimeout(this[r+"DblTimeout"])):vn.justDragged||(pt["_"+r+"InDblClickWindow"]=!0,clearTimeout(this[r+"DblTimeout"])),this[r+"DblTimeout"]=setTimeout(function(){pt["_"+r+"InDblClickWindow"]=!1},pt.dblClickWindow),u&&u.isListening()?(s=!0,this[r+"ClickEndShape"]=u,u._fireAndBubble(n.pointerup,Object.assign({},h)),pt["_"+r+"ListenClick"]&&i&&i===u&&(u._fireAndBubble(n.pointerclick,Object.assign({},h)),m&&o&&o===u&&u._fireAndBubble(n.pointerdblclick,Object.assign({},h)))):(this[r+"ClickEndShape"]=null,pt["_"+r+"ListenClick"]&&this._fire(n.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:d}),m&&this._fire(n.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:d}))}),s||this._fire(n.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),pt["_"+r+"ListenClick"]=!1,t.cancelable&&r!=="touch"&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(E8,{evt:t}):this._fire(E8,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(P8,{evt:t}):this._fire(P8,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const n=TC(t.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(um,vP(t)),a2(t.pointerId)}_lostpointercapture(t){a2(t.pointerId)}setPointersPositions(t){var n=this._getContentPosition(),r=null,i=null;t=t||window.event,t.touches!==void 0?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,o=>{this._pointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})}),Array.prototype.forEach.call(t.changedTouches||t.touches,o=>{this._changedPointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})})):(r=(t.clientX-n.left)/n.scaleX,i=(t.clientY-n.top)/n.scaleY,this.pointerPos={x:r,y:i},this._pointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}],this._changedPointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}])}_setPointerPosition(t){de.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new Fm({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mP({pixelRatio:1,width:this.width(),height:this.height()}),!!pt.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return de.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach(function(t){t.batchDraw()}),this}};Wx.prototype.nodeType=V7e;Ar(Wx);ee.addGetterSetter(Wx,"container");var wG="hasShadow",CG="shadowRGBA",_G="patternImage",kG="linearGradient",EG="radialGradient";let Bb;function AC(){return Bb||(Bb=de.createCanvasElement().getContext("2d"),Bb)}const s2={};function X7e(e){e.fill()}function Z7e(e){e.stroke()}function Q7e(e){e.fill()}function J7e(e){e.stroke()}function e9e(){this._clearCache(wG)}function t9e(){this._clearCache(CG)}function n9e(){this._clearCache(_G)}function r9e(){this._clearCache(kG)}function i9e(){this._clearCache(EG)}class je extends Ze{constructor(t){super(t);let n;for(;n=de.getRandomColor(),!(n&&!(n in s2)););this.colorKey=n,s2[n]=this}getContext(){return de.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return de.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(wG,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&this.shadowOpacity()!==0&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(_G,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=AC();const n=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(n&&n.setTransform){const r=new ka;r.translate(this.fillPatternX(),this.fillPatternY()),r.rotate(pt.getAngle(this.fillPatternRotation())),r.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),r.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const i=r.getMatrix(),o=typeof DOMMatrix>"u"?{a:i[0],b:i[1],c:i[2],d:i[3],e:i[4],f:i[5]}:new DOMMatrix(i);n.setTransform(o)}return n}}_getLinearGradient(){return this._getCache(kG,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var n=AC(),r=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),o=n.createLinearGradient(r.x,r.y,i.x,i.y),a=0;athis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops()))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],()=>this.strokeEnabled()&&this.strokeWidth()&&!!(this.stroke()||this.strokeLinearGradientColorStops()))}hasHitStroke(){const t=this.hitStrokeWidth();return t==="auto"?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var n=this.getStage(),r=n.bufferHitCanvas,i;return r.getContext().clear(),this.drawHit(r,null,!0),i=r.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,i[3]>0}destroy(){return Ze.prototype.destroy.call(this),delete s2[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var n;if(!this.getStage()||!((n=this.attrs.perfectDrawEnabled)!==null&&n!==void 0?n:!0))return!1;const i=t||this.hasFill(),o=this.hasStroke(),a=this.getAbsoluteOpacity()!==1;if(i&&o&&a)return!0;const s=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(i&&o&&s&&l)}setStrokeHitEnabled(t){de.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return this.hitStrokeWidth()!==0}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const n=t.skipTransform,r=t.relativeTo,i=this.getSelfRect(),a=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,s=i.width+a,l=i.height+a,u=!t.skipShadow&&this.hasShadow(),d=u?this.shadowOffsetX():0,h=u?this.shadowOffsetY():0,m=s+Math.abs(d),v=l+Math.abs(h),b=u&&this.shadowBlur()||0,S=m+b*2,k=v+b*2,E={width:S,height:k,x:-(a/2+b)+Math.min(d,0)+i.x,y:-(a/2+b)+Math.min(h,0)+i.y};return n?E:this._transformedRect(E,r)}drawScene(t,n){var r=this.getLayer(),i=t||r.getCanvas(),o=i.getContext(),a=this._getCanvasCache(),s=this.getSceneFunc(),l=this.hasShadow(),u,d,h,m=i.isCache,v=n===this;if(!this.isVisible()&&!v)return this;if(a){o.save();var b=this.getAbsoluteTransform(n).getMatrix();return o.transform(b[0],b[1],b[2],b[3],b[4],b[5]),this._drawCachedSceneCanvas(o),o.restore(),this}if(!s)return this;if(o.save(),this._useBufferCanvas()&&!m){u=this.getStage(),d=u.bufferCanvas,h=d.getContext(),h.clear(),h.save(),h._applyLineJoin(this);var S=this.getAbsoluteTransform(n).getMatrix();h.transform(S[0],S[1],S[2],S[3],S[4],S[5]),s.call(this,h,this),h.restore();var k=d.pixelRatio;l&&o._applyShadow(this),o._applyOpacity(this),o._applyGlobalCompositeOperation(this),o.drawImage(d._canvas,0,0,d.width/k,d.height/k)}else{if(o._applyLineJoin(this),!v){var S=this.getAbsoluteTransform(n).getMatrix();o.transform(S[0],S[1],S[2],S[3],S[4],S[5]),o._applyOpacity(this),o._applyGlobalCompositeOperation(this)}l&&o._applyShadow(this),s.call(this,o,this)}return o.restore(),this}drawHit(t,n,r=!1){if(!this.shouldDrawHit(n,r))return this;var i=this.getLayer(),o=t||i.hitCanvas,a=o&&o.getContext(),s=this.hitFunc()||this.sceneFunc(),l=this._getCanvasCache(),u=l&&l.hit;if(this.colorKey||de.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),u){a.save();var d=this.getAbsoluteTransform(n).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),a._applyLineJoin(this),!(this===n)){var m=this.getAbsoluteTransform(n).getMatrix();a.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return s.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var n=this._getCanvasCache(),r=this._getCachedSceneCanvas(),i=n.hit,o=i.getContext(),a=i.getWidth(),s=i.getHeight(),l,u,d,h,m,v;o.clear(),o.drawImage(r._canvas,0,0,a,s);try{for(l=o.getImageData(0,0,a,s),u=l.data,d=u.length,h=de._hexToRgb(this.colorKey),m=0;mt?(u[m]=h.r,u[m+1]=h.g,u[m+2]=h.b,u[m+3]=255):u[m+3]=0;o.putImageData(l,0,0)}catch(b){de.error("Unable to draw hit graph from cached scene canvas. "+b.message)}return this}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}}je.prototype._fillFunc=X7e;je.prototype._strokeFunc=Z7e;je.prototype._fillFuncHit=Q7e;je.prototype._strokeFuncHit=J7e;je.prototype._centroid=!1;je.prototype.nodeType="Shape";Ar(je);je.prototype.eventListeners={};je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",e9e);je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",t9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",n9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",r9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",i9e);ee.addGetterSetter(je,"stroke",void 0,lG());ee.addGetterSetter(je,"strokeWidth",2,qe());ee.addGetterSetter(je,"fillAfterStrokeEnabled",!1);ee.addGetterSetter(je,"hitStrokeWidth","auto",gP());ee.addGetterSetter(je,"strokeHitEnabled",!0,nl());ee.addGetterSetter(je,"perfectDrawEnabled",!0,nl());ee.addGetterSetter(je,"shadowForStrokeEnabled",!0,nl());ee.addGetterSetter(je,"lineJoin");ee.addGetterSetter(je,"lineCap");ee.addGetterSetter(je,"sceneFunc");ee.addGetterSetter(je,"hitFunc");ee.addGetterSetter(je,"dash");ee.addGetterSetter(je,"dashOffset",0,qe());ee.addGetterSetter(je,"shadowColor",void 0,P0());ee.addGetterSetter(je,"shadowBlur",0,qe());ee.addGetterSetter(je,"shadowOpacity",1,qe());ee.addComponentsGetterSetter(je,"shadowOffset",["x","y"]);ee.addGetterSetter(je,"shadowOffsetX",0,qe());ee.addGetterSetter(je,"shadowOffsetY",0,qe());ee.addGetterSetter(je,"fillPatternImage");ee.addGetterSetter(je,"fill",void 0,lG());ee.addGetterSetter(je,"fillPatternX",0,qe());ee.addGetterSetter(je,"fillPatternY",0,qe());ee.addGetterSetter(je,"fillLinearGradientColorStops");ee.addGetterSetter(je,"strokeLinearGradientColorStops");ee.addGetterSetter(je,"fillRadialGradientStartRadius",0);ee.addGetterSetter(je,"fillRadialGradientEndRadius",0);ee.addGetterSetter(je,"fillRadialGradientColorStops");ee.addGetterSetter(je,"fillPatternRepeat","repeat");ee.addGetterSetter(je,"fillEnabled",!0);ee.addGetterSetter(je,"strokeEnabled",!0);ee.addGetterSetter(je,"shadowEnabled",!0);ee.addGetterSetter(je,"dashEnabled",!0);ee.addGetterSetter(je,"strokeScaleEnabled",!0);ee.addGetterSetter(je,"fillPriority","color");ee.addComponentsGetterSetter(je,"fillPatternOffset",["x","y"]);ee.addGetterSetter(je,"fillPatternOffsetX",0,qe());ee.addGetterSetter(je,"fillPatternOffsetY",0,qe());ee.addComponentsGetterSetter(je,"fillPatternScale",["x","y"]);ee.addGetterSetter(je,"fillPatternScaleX",1,qe());ee.addGetterSetter(je,"fillPatternScaleY",1,qe());ee.addComponentsGetterSetter(je,"fillLinearGradientStartPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientStartPointX",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointX",0);ee.addGetterSetter(je,"fillLinearGradientStartPointY",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillLinearGradientEndPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientEndPointX",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointX",0);ee.addGetterSetter(je,"fillLinearGradientEndPointY",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientStartPointX",0);ee.addGetterSetter(je,"fillRadialGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientEndPointX",0);ee.addGetterSetter(je,"fillRadialGradientEndPointY",0);ee.addGetterSetter(je,"fillPatternRotation",0);ee.backCompat(je,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var o9e="#",a9e="beforeDraw",s9e="draw",PG=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],l9e=PG.length;let dp=class extends Aa{constructor(t){super(t),this.canvas=new Fm,this.hitCanvas=new mP({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),t{this.draw(),this._waitingForDraw=!1})),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;for(var n=1,r=!1;;){for(let i=0;i0)return{antialiased:!0};return{}}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas();return this._fire(a9e,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Aa.prototype.drawScene.call(this,i,n),this._fire(s9e,{node:this}),this}drawHit(t,n){var r=this.getLayer(),i=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),Aa.prototype.drawHit.call(this,i,n),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(!(!this.parent||!this.parent.content)){var t=this.parent,n=!!this.hitCanvas._canvas.parentNode;n?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}destroy(){return de.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}};dp.prototype.nodeType="Layer";Ar(dp);ee.addGetterSetter(dp,"imageSmoothingEnabled",!0);ee.addGetterSetter(dp,"clearBeforeDraw",!0);ee.addGetterSetter(dp,"hitGraphEnabled",!0,nl());class yP extends dp{constructor(t){super(t),this.listening(!1),de.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}yP.prototype.nodeType="FastLayer";Ar(yP);let i0=class extends Aa{_validateAdd(t){var n=t.getType();n!=="Group"&&n!=="Shape"&&de.throw("You may only add groups and shapes to groups.")}};i0.prototype.nodeType="Group";Ar(i0);var OC=function(){return $m.performance&&$m.performance.now?function(){return $m.performance.now()}:function(){return new Date().getTime()}}();class ts{constructor(t,n){this.id=ts.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:OC(),frameRate:0},this.func=t,this.setLayers(n)}setLayers(t){var n=[];return t?t.length>0?n=t:n=[t]:n=[],this.layers=n,this}getLayers(){return this.layers}addLayer(t){var n=this.layers,r=n.length,i;for(i=0;ithis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return t===void 0&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=XR,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=ZR,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===XR?this.setTime(t):this.state===ZR&&this.setTime(this.duration-t)}pause(){this.state=c9e,this.fire("onPause")}getTimer(){return new Date().getTime()}}class Xr{constructor(t){var n=this,r=t.node,i=r._id,o,a=t.easing||l2.Linear,s=!!t.yoyo,l;typeof t.duration>"u"?o=.3:t.duration===0?o=.001:o=t.duration,this.node=r,this._id=d9e++;var u=r.getLayer()||(r instanceof pt.Stage?r.getLayers():null);u||de.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new ts(function(){n.tween.onEnterFrame()},u),this.tween=new f9e(l,function(d){n._tweenFunc(d)},a,0,1,o*1e3,s),this._addListeners(),Xr.attrs[i]||(Xr.attrs[i]={}),Xr.attrs[i][this._id]||(Xr.attrs[i][this._id]={}),Xr.tweens[i]||(Xr.tweens[i]={});for(l in t)u9e[l]===void 0&&this._addAttr(l,t[l]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,n){var r=this.node,i=r._id,o,a,s,l,u,d,h,m;if(s=Xr.tweens[i][t],s&&delete Xr.attrs[i][s][t],o=r.getAttr(t),de._isArray(n))if(a=[],u=Math.max(n.length,o.length),t==="points"&&n.length!==o.length&&(n.length>o.length?(h=o,o=de._prepareArrayForTween(o,n,r.closed())):(d=n,n=de._prepareArrayForTween(n,o,r.closed()))),t.indexOf("fill")===0)for(l=0;l{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueEnd&&t.setAttr("points",n.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueStart&&t.points(n.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(t*1e3),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t=this.node._id,n=this._id,r=Xr.tweens[t],i;this.pause();for(i in r)delete Xr.tweens[t][i];delete Xr.attrs[t][n]}}Xr.attrs={};Xr.tweens={};Ze.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()};var n=new Xr(e);n.play()};const l2={BackEaseIn(e,t,n,r){var i=1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},BackEaseOut(e,t,n,r){var i=1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*(((i*=1.525)+1)*e-i))+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return e===0?t:(e/=r)===1?t+n:(o||(o=r*.3),!i||i0?t:n),d=a*n,h=s*(s>0?t:n),m=l*(l>0?n:t);return{x:u,y:r?-1*m:h,width:d-u,height:m-h}}}cc.prototype._centroid=!0;cc.prototype.className="Arc";cc.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(cc);ee.addGetterSetter(cc,"innerRadius",0,qe());ee.addGetterSetter(cc,"outerRadius",0,qe());ee.addGetterSetter(cc,"angle",0,qe());ee.addGetterSetter(cc,"clockwise",!1,nl());function T8(e,t,n,r,i,o,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(i-n,2)+Math.pow(o-r,2)),u=a*s/(s+l),d=a*l/(s+l),h=n-u*(i-e),m=r-u*(o-t),v=n+d*(i-e),b=r+d*(o-t);return[h,m,v,b]}function JR(e,t){var n=e.length,r=[],i,o;for(i=2;i4){for(s=this.getTensionPoints(),l=s.length,u=o?0:4,o||t.quadraticCurveTo(s[0],s[1],s[2],s[3]);ud?u:d,k=u>d?1:u/d,E=u>d?d/u:1;t.translate(s,l),t.rotate(v),t.scale(k,E),t.arc(0,0,S,h,h+m,1-b),t.scale(1/k,1/E),t.rotate(-v),t.translate(-s,-l);break;case"z":r=!0,t.closePath();break}}!r&&!this.hasFill()?t.strokeShape(this):t.fillStrokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach(function(u){if(u.command==="A"){var d=u.points[4],h=u.points[5],m=u.points[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;b-=v){const S=Hn.getPointOnEllipticalArc(u.points[0],u.points[1],u.points[2],u.points[3],b,0);t.push(S.x,S.y)}else for(let b=d+v;bthis.dataArray[r].pathLength;)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return Hn.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return Hn.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return Hn.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],l=a[1],u=a[2],d=a[3],h=a[4],m=a[5],v=a[6];return h+=m*t/o.pathLength,Hn.getPointOnEllipticalArc(s,l,u,d,h,v)}return null}static getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}static getPointOnLine(t,n,r,i,o,a,s){a===void 0&&(a=n),s===void 0&&(s=r);var l=(o-r)/(i-n+1e-8),u=Math.sqrt(t*t/(1+l*l));i0&&!isNaN(b[0]);){var _=null,T=[],A=l,I=u,R,D,j,z,V,K,te,q,$,U;switch(v){case"l":l+=b.shift(),u+=b.shift(),_="L",T.push(l,u);break;case"L":l=b.shift(),u=b.shift(),T.push(l,u);break;case"m":var X=b.shift(),Z=b.shift();if(l+=X,u+=Z,_="M",a.length>2&&a[a.length-1].command==="z"){for(var W=a.length-2;W>=0;W--)if(a[W].command==="M"){l=a[W].points[0]+X,u=a[W].points[1]+Z;break}}T.push(l,u),v="l";break;case"M":l=b.shift(),u=b.shift(),_="M",T.push(l,u),v="L";break;case"h":l+=b.shift(),_="L",T.push(l,u);break;case"H":l=b.shift(),_="L",T.push(l,u);break;case"v":u+=b.shift(),_="L",T.push(l,u);break;case"V":u=b.shift(),_="L",T.push(l,u);break;case"C":T.push(b.shift(),b.shift(),b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"c":T.push(l+b.shift(),u+b.shift(),l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"S":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,b.shift(),b.shift()),l=b.shift(),u=b.shift(),_="C",T.push(l,u);break;case"s":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"Q":T.push(b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"q":T.push(l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="Q",T.push(l,u);break;case"T":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l=b.shift(),u=b.shift(),_="Q",T.push(D,j,l,u);break;case"t":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l+=b.shift(),u+=b.shift(),_="Q",T.push(D,j,l,u);break;case"A":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l=b.shift(),u=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break;case"a":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l+=b.shift(),u+=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break}a.push({command:_||v,points:T,start:{x:A,y:I},pathLength:this.calcLength(A,I,_||v,T)})}(v==="z"||v==="Z")&&a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(t,n,r,i){var o,a,s,l,u=Hn;switch(r){case"L":return u.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=u.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),l=.01;l<=1;l+=.01)s=u.getPointOnCubicBezier(l,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=u.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),l=.01;l<=1;l+=.01)s=u.getPointOnQuadraticBezier(l,t,n,i[0],i[1],i[2],i[3]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var d=i[4],h=i[5],m=i[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;l-=v)s=u.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(l=d+v;l1&&(s*=Math.sqrt(v),l*=Math.sqrt(v));var b=Math.sqrt((s*s*(l*l)-s*s*(m*m)-l*l*(h*h))/(s*s*(m*m)+l*l*(h*h)));o===a&&(b*=-1),isNaN(b)&&(b=0);var S=b*s*m/l,k=b*-l*h/s,E=(t+r)/2+Math.cos(d)*S-Math.sin(d)*k,_=(n+i)/2+Math.sin(d)*S+Math.cos(d)*k,T=function(V){return Math.sqrt(V[0]*V[0]+V[1]*V[1])},A=function(V,K){return(V[0]*K[0]+V[1]*K[1])/(T(V)*T(K))},I=function(V,K){return(V[0]*K[1]=1&&(z=0),a===0&&z>0&&(z=z-2*Math.PI),a===1&&z<0&&(z=z+2*Math.PI),[E,_,s,l,R,z,d,a]}}Hn.prototype.className="Path";Hn.prototype._attrsAffectingSize=["data"];Ar(Hn);ee.addGetterSetter(Hn,"data");class fp extends dc{_sceneFunc(t){super._sceneFunc(t);var n=Math.PI*2,r=this.points(),i=r,o=this.tension()!==0&&r.length>4;o&&(i=this.getTensionPoints());var a=this.pointerLength(),s=r.length,l,u;if(o){const m=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],r[s-2],r[s-1]],v=Hn.calcLength(i[i.length-4],i[i.length-3],"C",m),b=Hn.getPointOnQuadraticBezier(Math.min(1,1-a/v),m[0],m[1],m[2],m[3],m[4],m[5]);l=r[s-2]-b.x,u=r[s-1]-b.y}else l=r[s-2]-r[s-4],u=r[s-1]-r[s-3];var d=(Math.atan2(u,l)+n)%n,h=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(r[s-2],r[s-1]),t.rotate(d),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(r[0],r[1]),o?(l=(i[0]+i[2])/2-r[0],u=(i[1]+i[3])/2-r[1]):(l=r[2]-r[0],u=r[3]-r[1]),t.rotate((Math.atan2(-u,-l)+n)%n),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),n=this.pointerWidth()/2;return{x:t.x-n,y:t.y-n,width:t.width+n*2,height:t.height+n*2}}}fp.prototype.className="Arrow";Ar(fp);ee.addGetterSetter(fp,"pointerLength",10,qe());ee.addGetterSetter(fp,"pointerWidth",10,qe());ee.addGetterSetter(fp,"pointerAtBeginning",!1);ee.addGetterSetter(fp,"pointerAtEnding",!0);let T0=class extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,Math.PI*2,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}};T0.prototype._centroid=!0;T0.prototype.className="Circle";T0.prototype._attrsAffectingSize=["radius"];Ar(T0);ee.addGetterSetter(T0,"radius",0,qe());class ff extends je{_sceneFunc(t){var n=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),n!==r&&t.scale(1,r/n),t.arc(0,0,n,0,Math.PI*2,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radiusX()*2}getHeight(){return this.radiusY()*2}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}ff.prototype.className="Ellipse";ff.prototype._centroid=!0;ff.prototype._attrsAffectingSize=["radiusX","radiusY"];Ar(ff);ee.addComponentsGetterSetter(ff,"radius",["x","y"]);ee.addGetterSetter(ff,"radiusX",0,qe());ee.addGetterSetter(ff,"radiusY",0,qe());let fc=class TG extends je{constructor(t){super(t),this.on("imageChange.konva",()=>{this._setImageLoad()}),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&t.readyState===4||t&&t.addEventListener&&t.addEventListener("load",()=>{this._requestDraw()})}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const n=this.getWidth(),r=this.getHeight(),i=this.attrs.image;let o;if(i){const a=this.attrs.cropWidth,s=this.attrs.cropHeight;a&&s?o=[i,this.cropX(),this.cropY(),a,s,0,0,n,r]:o=[i,0,0,n,r]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,o)}_hitFunc(t){var n=this.width(),r=this.height();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,n;return(t=this.attrs.width)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.width}getHeight(){var t,n;return(t=this.attrs.height)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.height}static fromURL(t,n,r=null){var i=de.createImageElement();i.onload=function(){var o=new TG({image:i});n(o)},i.onerror=r,i.crossOrigin="Anonymous",i.src=t}};fc.prototype.className="Image";Ar(fc);ee.addGetterSetter(fc,"image");ee.addComponentsGetterSetter(fc,"crop",["x","y","width","height"]);ee.addGetterSetter(fc,"cropX",0,qe());ee.addGetterSetter(fc,"cropY",0,qe());ee.addGetterSetter(fc,"cropWidth",0,qe());ee.addGetterSetter(fc,"cropHeight",0,qe());var LG=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],h9e="Change.konva",p9e="none",L8="up",A8="right",O8="down",M8="left",g9e=LG.length;class bP extends i0{constructor(t){super(t),this.on("add.konva",function(n){this._addListeners(n.child),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var n=this,r,i=function(){n._sync()};for(r=0;r{n=Math.min(n,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),{x:n,y:i,width:r-n,height:o-i}}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}pp.prototype.className="RegularPolygon";pp.prototype._centroid=!0;pp.prototype._attrsAffectingSize=["radius"];Ar(pp);ee.addGetterSetter(pp,"radius",0,qe());ee.addGetterSetter(pp,"sides",0,qe());var eD=Math.PI*2;class gp extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,eD,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),eD,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.outerRadius()*2}getHeight(){return this.outerRadius()*2}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}gp.prototype.className="Ring";gp.prototype._centroid=!0;gp.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(gp);ee.addGetterSetter(gp,"innerRadius",0,qe());ee.addGetterSetter(gp,"outerRadius",0,qe());class gu extends je{constructor(t){super(t),this._updated=!0,this.anim=new ts(()=>{var n=this._updated;return this._updated=!1,n}),this.on("animationChange.konva",function(){this.frameIndex(0)}),this.on("frameIndexChange.konva",function(){this._updated=!0}),this.on("frameRateChange.konva",function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})}_sceneFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+0],l=o[i+1],u=o[i+2],d=o[i+3],h=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,u,d),t.closePath(),t.fillStrokeShape(this)),h)if(a){var m=a[n],v=r*2;t.drawImage(h,s,l,u,d,m[v+0],m[v+1],u,d)}else t.drawImage(h,s,l,u,d,0,0,u,d)}_hitFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+2],l=o[i+3];if(t.beginPath(),a){var u=a[n],d=r*2;t.rect(u[d+0],u[d+1],s,l)}else t.rect(0,0,s,l);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval(function(){t._updateIndex()},1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),n=this.animation(),r=this.animations(),i=r[n],o=i.length/4;t{t=t.trim();const n=t.indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return n&&!r&&(t=`"${t}"`),t}).join(", ")}var Fb;function IC(){return Fb||(Fb=de.createCanvasElement().getContext(y9e),Fb)}function L9e(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)}function A9e(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function O9e(e){return e=e||{},!e.fillLinearGradientColorStops&&!e.fillRadialGradientColorStops&&!e.fillPatternImage&&(e.fill=e.fill||"black"),e}class Lr extends je{constructor(t){super(O9e(t)),this._partialTextX=0,this._partialTextY=0;for(var n=0;n1&&(E+=a)}}}_hitFunc(t){var n=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}setText(t){var n=de._isString(t)?t:t==null?"":t+"";return this._setAttr(b9e,n),this}getWidth(){var t=this.attrs.width===Dg||this.attrs.width===void 0;return t?this.getTextWidth()+this.padding()*2:this.attrs.width}getHeight(){var t=this.attrs.height===Dg||this.attrs.height===void 0;return t?this.fontSize()*this.textArr.length*this.lineHeight()+this.padding()*2:this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return de.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var n=IC(),r=this.fontSize(),i;return n.save(),n.font=this._getContextFont(),i=n.measureText(t),n.restore(),{width:i.width,height:r}}_getContextFont(){return this.fontStyle()+$b+this.fontVariant()+$b+(this.fontSize()+C9e)+T9e(this.fontFamily())}_addTextLine(t){this.align()===cv&&(t=t.trim());var n=this._getTextWidth(t);return this.textArr.push({text:t,width:n,lastInParagraph:!1})}_getTextWidth(t){var n=this.letterSpacing(),r=t.length;return IC().measureText(t).width+(r?n*(r-1):0)}_setTextData(){var t=this.text().split(` +`),n=+this.fontSize(),r=0,i=this.lineHeight()*n,o=this.attrs.width,a=this.attrs.height,s=o!==Dg&&o!==void 0,l=a!==Dg&&a!==void 0,u=this.padding(),d=o-u*2,h=a-u*2,m=0,v=this.wrap(),b=v!==rD,S=v!==E9e&&b,k=this.ellipsis();this.textArr=[],IC().font=this._getContextFont();for(var E=k?this._getTextWidth(MC):0,_=0,T=t.length;_d)for(;A.length>0;){for(var R=0,D=A.length,j="",z=0;R>>1,K=A.slice(0,V+1),te=this._getTextWidth(K)+E;te<=d?(R=V+1,j=K,z=te):D=V}if(j){if(S){var q,$=A[j.length],U=$===$b||$===tD;U&&z<=d?q=j.length:q=Math.max(j.lastIndexOf($b),j.lastIndexOf(tD))+1,q>0&&(R=q,j=j.slice(0,R),z=this._getTextWidth(j))}j=j.trimRight(),this._addTextLine(j),r=Math.max(r,z),m+=i;var X=this._shouldHandleEllipsis(m);if(X){this._tryToAddEllipsisToLastLine();break}if(A=A.slice(R),A=A.trimLeft(),A.length>0&&(I=this._getTextWidth(A),I<=d)){this._addTextLine(A),m+=i,r=Math.max(r,I);break}}else break}else this._addTextLine(A),m+=i,r=Math.max(r,I),this._shouldHandleEllipsis(m)&&_h)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,o=i!==Dg&&i!==void 0,a=this.padding(),s=i-a*2,l=this.wrap(),u=l!==rD;return!u||o&&t+r>s}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==Dg&&t!==void 0,r=this.padding(),i=t-r*2,o=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(!(!a||!o)){if(n){var s=this._getTextWidth(a.text+MC)=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i0&&(s+=t.dataArray[l].pathLength);var u=0;i==="center"&&(u=Math.max(0,s/2-a/2)),i==="right"&&(u=Math.max(0,s-a));for(var d=AG(this.text()),h=this.text().split(" ").length-1,m,v,b,S=-1,k=0,E=function(){k=0;for(var te=t.dataArray,q=S+1;q0)return S=q,te[q];te[q].command==="M"&&(m={x:te[q].points[0],y:te[q].points[1]})}return{}},_=function(te){var q=t._getTextSize(te).width+r;te===" "&&i==="justify"&&(q+=(s-a)/h);var $=0,U=0;for(v=void 0;Math.abs(q-$)/q>.01&&U<20;){U++;for(var X=$;b===void 0;)b=E(),b&&X+b.pathLengthq?v=Hn.getPointOnLine(q,m.x,m.y,b.points[0],b.points[1],m.x,m.y):b=void 0;break;case"A":var W=b.points[4],Q=b.points[5],ie=b.points[4]+Q;k===0?k=W+1e-8:q>$?k+=Math.PI/180*Q/Math.abs(Q):k-=Math.PI/360*Q/Math.abs(Q),(Q<0&&k=0&&k>ie)&&(k=ie,Z=!0),v=Hn.getPointOnEllipticalArc(b.points[0],b.points[1],b.points[2],b.points[3],k,b.points[6]);break;case"C":k===0?q>b.pathLength?k=1e-8:k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength/2:k=Math.max(k-($-q)/b.pathLength/2,0),k>1&&(k=1,Z=!0),v=Hn.getPointOnCubicBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3],b.points[4],b.points[5]);break;case"Q":k===0?k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength:k-=($-q)/b.pathLength,k>1&&(k=1,Z=!0),v=Hn.getPointOnQuadraticBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3]);break}v!==void 0&&($=Hn.getLineLength(m.x,m.y,v.x,v.y)),Z&&(Z=!1,b=void 0)}},T="C",A=t._getTextSize(T).width+r,I=u/A-1,R=0;Re+`.${jG}`).join(" "),iD="nodesRect",R9e=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],D9e={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const N9e="ontouchstart"in pt._global;function j9e(e,t){if(e==="rotater")return"crosshair";t+=de.degToRad(D9e[e]||0);var n=(de.radToDeg(t)%360+360)%360;return de._inRange(n,315+22.5,360)||de._inRange(n,0,22.5)?"ns-resize":de._inRange(n,45-22.5,45+22.5)?"nesw-resize":de._inRange(n,90-22.5,90+22.5)?"ew-resize":de._inRange(n,135-22.5,135+22.5)?"nwse-resize":de._inRange(n,180-22.5,180+22.5)?"ns-resize":de._inRange(n,225-22.5,225+22.5)?"nesw-resize":de._inRange(n,270-22.5,270+22.5)?"ew-resize":de._inRange(n,315-22.5,315+22.5)?"nwse-resize":(de.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var tS=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],oD=1e8;function B9e(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}function BG(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),i=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:i})}function $9e(e,t){const n=B9e(e);return BG(e,t,n)}function F9e(e,t,n){let r=t;for(let i=0;i{const i=()=>{this.nodes().length===1&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),!this._transforming&&!this.isDragging()&&this.update()},o=r._attrsAffectingSize.map(a=>a+"Change."+this._getEventNamespace()).join(" ");r.on(o,i),r.on(R9e.map(a=>a+`.${this._getEventNamespace()}`).join(" "),i),r.on(`absoluteTransformChange.${this._getEventNamespace()}`,i),this._proxyDrag(r)}),this._resetTransformCache();var n=!!this.findOne(".top-left");return n&&this.update(),this}_proxyDrag(t){let n;t.on(`dragstart.${this._getEventNamespace()}`,r=>{n=t.getAbsolutePosition(),!this.isDragging()&&t!==this.findOne(".back")&&this.startDrag(r,!1)}),t.on(`dragmove.${this._getEventNamespace()}`,r=>{if(!n)return;const i=t.getAbsolutePosition(),o=i.x-n.x,a=i.y-n.y;this.nodes().forEach(s=>{if(s===t||s.isDragging())return;const l=s.getAbsolutePosition();s.setAbsolutePosition({x:l.x+o,y:l.y+a}),s.startDrag(r)}),n=null})}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach(t=>{t.off("."+this._getEventNamespace())}),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(iD),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(iD,this.__getNodeRect)}__getNodeShape(t,n=this.rotation(),r){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=t.getAbsoluteScale(r),a=t.getAbsolutePosition(r),s=i.x*o.x-t.offsetX()*o.x,l=i.y*o.y-t.offsetY()*o.y;const u=(pt.getAngle(t.getAbsoluteRotation())+Math.PI*2)%(Math.PI*2),d={x:a.x+s*Math.cos(u)+l*Math.sin(-u),y:a.y+l*Math.cos(u)+s*Math.sin(u),width:i.width*o.x,height:i.height*o.y,rotation:u};return BG(d,-pt.getAngle(n),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-oD,y:-oD,width:0,height:0,rotation:0};const n=[];this.nodes().map(u=>{const d=u.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var h=[{x:d.x,y:d.y},{x:d.x+d.width,y:d.y},{x:d.x+d.width,y:d.y+d.height},{x:d.x,y:d.y+d.height}],m=u.getAbsoluteTransform();h.forEach(function(v){var b=m.point(v);n.push(b)})});const r=new ka;r.rotate(-pt.getAngle(this.rotation()));var i,o,a,s;n.forEach(function(u){var d=r.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),r.invert();const l=r.point({x:i,y:o});return{x:l.x,y:l.y,width:a-i,height:s-o,rotation:pt.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),tS.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var n=new By({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:N9e?10:"auto"}),r=this;n.on("mousedown touchstart",function(i){r._handleMouseDown(i)}),n.on("dragstart",i=>{n.stopDrag(),i.cancelBubble=!0}),n.on("dragend",i=>{i.cancelBubble=!0}),n.on("mouseenter",()=>{var i=pt.getAngle(this.rotation()),o=j9e(t,i);n.getStage().content&&(n.getStage().content.style.cursor=o),this._cursorChange=!0}),n.on("mouseout",()=>{n.getStage().content&&(n.getStage().content.style.cursor=""),this._cursorChange=!1}),this.add(n)}_createBack(){var t=new je({name:"back",width:0,height:0,draggable:!0,sceneFunc(n){var r=this.getParent(),i=r.padding();n.beginPath(),n.rect(-i,-i,this.width()+i*2,this.height()+i*2),n.moveTo(this.width()/2,-i),r.rotateEnabled()&&n.lineTo(this.width()/2,-r.rotateAnchorOffset()*de._sign(this.height())-i),n.fillStrokeShape(this)},hitFunc:(n,r)=>{if(this.shouldOverdrawWholeArea()){var i=this.padding();n.beginPath(),n.rect(-i,-i,r.width()+i*2,r.height()+i*2),n.fillStrokeShape(r)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",n=>{n.cancelBubble=!0}),t.on("dragmove",n=>{n.cancelBubble=!0}),t.on("dragend",n=>{n.cancelBubble=!0}),this.on("dragmove",n=>{this.update()})}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var n=this._getNodeRect(),r=n.width,i=n.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(i,2));this.sin=Math.abs(i/o),this.cos=Math.abs(r/o),typeof window<"u"&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),s=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:s.x-a.x,y:s.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach(l=>{l._fire("transformstart",{evt:t.evt,target:l})})}_handleMouseMove(t){var n,r,i,o=this.findOne("."+this._movingAnchorName),a=o.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let l={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const u=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(u,l,t)),o.setAbsolutePosition(l);const d=o.getAbsolutePosition();if(!(u.x===d.x&&u.y===d.y)){if(this._movingAnchorName==="rotater"){var h=this._getNodeRect();n=o.x()-h.width/2,r=-o.y()+h.height/2;let te=Math.atan2(-r,n)+Math.PI/2;h.height<0&&(te-=Math.PI);var m=pt.getAngle(this.rotation());const q=m+te,$=pt.getAngle(this.rotationSnapTolerance()),X=F9e(this.rotationSnaps(),q,$)-h.rotation,Z=$9e(h,X);this._fitNodesInto(Z,t);return}var v=this.keepRatio()||t.shiftKey,_=this.centeredScaling()||t.altKey;if(this._movingAnchorName==="top-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-left").x()>b.x?-1:1,k=this.findOne(".top-left").y()>b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-left").x(b.x-n),this.findOne(".top-left").y(b.y-r)}}else if(this._movingAnchorName==="top-center")this.findOne(".top-left").y(o.y());else if(this._movingAnchorName==="top-right"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(o.x()-b.x,2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-right").x()b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-right").x(b.x+n),this.findOne(".top-right").y(b.y-r)}var E=o.position();this.findOne(".top-left").y(E.y),this.findOne(".bottom-right").x(E.x)}else if(this._movingAnchorName==="middle-left")this.findOne(".top-left").x(o.x());else if(this._movingAnchorName==="middle-right")this.findOne(".bottom-right").x(o.x());else if(this._movingAnchorName==="bottom-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(o.y()-b.y,2));var S=b.x{r._fire("transformend",{evt:t,target:r})}),this._movingAnchorName=null}}_fitNodesInto(t,n){var r=this._getNodeRect();const i=1;if(de._inRange(t.width,-this.padding()*2-i,i)){this.update();return}if(de._inRange(t.height,-this.padding()*2-i,i)){this.update();return}const o=this.flipEnabled();var a=new ka;if(a.rotate(pt.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const h=a.point({x:-this.padding()*2,y:0});if(t.x+=h.x,t.y+=h.y,t.width+=this.padding()*2,this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,!o){this.update();return}}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const h=a.point({x:this.padding()*2,y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=this.padding()*2,!o){this.update();return}}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const h=a.point({x:0,y:-this.padding()*2});if(t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const h=a.point({x:0,y:this.padding()*2});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}if(this.boundBoxFunc()){const h=this.boundBoxFunc()(r,t);h?t=h:de.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new ka;l.translate(r.x,r.y),l.rotate(r.rotation),l.scale(r.width/s,r.height/s);const u=new ka;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const d=u.multiply(l.invert());this._nodes.forEach(h=>{var m;const v=h.getParent().getAbsoluteTransform(),b=h.getTransform().copy();b.translate(h.offsetX(),h.offsetY());const S=new ka;S.multiply(v.copy().invert()).multiply(d).multiply(v).multiply(b);const k=S.decompose();h.setAttrs(k),this._fire("transform",{evt:n,target:h}),h._fire("transform",{evt:n,target:h}),(m=h.getLayer())===null||m===void 0||m.batchDraw()}),this.rotation(de._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,n){this.findOne(t).setAttrs(n)}update(){var t,n=this._getNodeRect();this.rotation(de._getRotation(n.rotation));var r=n.width,i=n.height,o=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),l=this.anchorSize();this.find("._anchor").forEach(u=>{u.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})}),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+s,offsetY:l/2+s,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:r/2,y:0,offsetY:l/2+s,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:r,y:0,offsetX:l/2-s,offsetY:l/2+s,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:l/2+s,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:r,y:i/2,offsetX:l/2-s,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:l/2+s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:r/2,y:i,offsetY:l/2-s,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:r,y:i,offsetX:l/2-s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:r/2,y:-this.rotateAnchorOffset()*de._sign(i)-s,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:r,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),(t=this.getLayer())===null||t===void 0||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),i0.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Ze.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}};function z9e(e){return e instanceof Array||de.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach(function(t){tS.indexOf(t)===-1&&de.warn("Unknown anchor name: "+t+". Available names are: "+tS.join(", "))}),e||[]}In.prototype.className="Transformer";Ar(In);ee.addGetterSetter(In,"enabledAnchors",tS,z9e);ee.addGetterSetter(In,"flipEnabled",!0,nl());ee.addGetterSetter(In,"resizeEnabled",!0);ee.addGetterSetter(In,"anchorSize",10,qe());ee.addGetterSetter(In,"rotateEnabled",!0);ee.addGetterSetter(In,"rotationSnaps",[]);ee.addGetterSetter(In,"rotateAnchorOffset",50,qe());ee.addGetterSetter(In,"rotationSnapTolerance",5,qe());ee.addGetterSetter(In,"borderEnabled",!0);ee.addGetterSetter(In,"anchorStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"anchorStrokeWidth",1,qe());ee.addGetterSetter(In,"anchorFill","white");ee.addGetterSetter(In,"anchorCornerRadius",0,qe());ee.addGetterSetter(In,"borderStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"borderStrokeWidth",1,qe());ee.addGetterSetter(In,"borderDash");ee.addGetterSetter(In,"keepRatio",!0);ee.addGetterSetter(In,"centeredScaling",!1);ee.addGetterSetter(In,"ignoreStroke",!1);ee.addGetterSetter(In,"padding",0,qe());ee.addGetterSetter(In,"node");ee.addGetterSetter(In,"nodes");ee.addGetterSetter(In,"boundBoxFunc");ee.addGetterSetter(In,"anchorDragBoundFunc");ee.addGetterSetter(In,"shouldOverdrawWholeArea",!1);ee.addGetterSetter(In,"useSingleNodeRotation",!0);ee.backCompat(In,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class hc extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,pt.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}hc.prototype.className="Wedge";hc.prototype._centroid=!0;hc.prototype._attrsAffectingSize=["radius"];Ar(hc);ee.addGetterSetter(hc,"radius",0,qe());ee.addGetterSetter(hc,"angle",0,qe());ee.addGetterSetter(hc,"clockwise",!1);ee.backCompat(hc,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});function aD(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var H9e=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],V9e=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function W9e(e,t){var n=e.data,r=e.width,i=e.height,o,a,s,l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D,j,z,V,K,te,q=t+t+1,$=r-1,U=i-1,X=t+1,Z=X*(X+1)/2,W=new aD,Q=null,ie=W,fe=null,Se=null,Pe=H9e[t],ye=V9e[t];for(s=1;s>ye,K!==0?(K=255/K,n[d]=(m*Pe>>ye)*K,n[d+1]=(v*Pe>>ye)*K,n[d+2]=(b*Pe>>ye)*K):n[d]=n[d+1]=n[d+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=h+((l=o+t+1)<$?l:$)<<2,A+=fe.r=n[l],I+=fe.g=n[l+1],R+=fe.b=n[l+2],D+=fe.a=n[l+3],m+=A,v+=I,b+=R,S+=D,fe=fe.next,k+=j=Se.r,E+=z=Se.g,_+=V=Se.b,T+=K=Se.a,A-=j,I-=z,R-=V,D-=K,Se=Se.next,d+=4;h+=r}for(o=0;o>ye,K>0?(K=255/K,n[l]=(m*Pe>>ye)*K,n[l+1]=(v*Pe>>ye)*K,n[l+2]=(b*Pe>>ye)*K):n[l]=n[l+1]=n[l+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=o+((l=a+X)0&&W9e(t,n)};ee.addGetterSetter(Ze,"blurRadius",0,qe(),ee.afterSetFilter);const G9e=function(e){var t=this.brightness()*255,n=e.data,r=n.length,i;for(i=0;i255?255:i,o=o<0?0:o>255?255:o,a=a<0?0:a>255?255:a,n[s]=i,n[s+1]=o,n[s+2]=a};ee.addGetterSetter(Ze,"contrast",0,qe(),ee.afterSetFilter);const Y9e=function(e){var t=this.embossStrength()*10,n=this.embossWhiteLevel()*255,r=this.embossDirection(),i=this.embossBlend(),o=0,a=0,s=e.data,l=e.width,u=e.height,d=l*4,h=u;switch(r){case"top-left":o=-1,a=-1;break;case"top":o=-1,a=0;break;case"top-right":o=-1,a=1;break;case"right":o=0,a=1;break;case"bottom-right":o=1,a=1;break;case"bottom":o=1,a=0;break;case"bottom-left":o=1,a=-1;break;case"left":o=0,a=-1;break;default:de.error("Unknown emboss direction: "+r)}do{var m=(h-1)*d,v=o;h+v<1&&(v=0),h+v>u&&(v=0);var b=(h-1+v)*l*4,S=l;do{var k=m+(S-1)*4,E=a;S+E<1&&(E=0),S+E>l&&(E=0);var _=b+(S-1+E)*4,T=s[k]-s[_],A=s[k+1]-s[_+1],I=s[k+2]-s[_+2],R=T,D=R>0?R:-R,j=A>0?A:-A,z=I>0?I:-I;if(j>D&&(R=A),z>D&&(R=I),R*=t,i){var V=s[k]+R,K=s[k+1]+R,te=s[k+2]+R;s[k]=V>255?255:V<0?0:V,s[k+1]=K>255?255:K<0?0:K,s[k+2]=te>255?255:te<0?0:te}else{var q=n-R;q<0?q=0:q>255&&(q=255),s[k]=s[k+1]=s[k+2]=q}}while(--S)}while(--h)};ee.addGetterSetter(Ze,"embossStrength",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossWhiteLevel",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossDirection","top-left",null,ee.afterSetFilter);ee.addGetterSetter(Ze,"embossBlend",!1,null,ee.afterSetFilter);function RC(e,t,n,r,i){var o=n-t,a=i-r,s;return o===0?r+a/2:a===0?r:(s=(e-t)/o,s=a*s+r,s)}const K9e=function(e){var t=e.data,n=t.length,r=t[0],i=r,o,a=t[1],s=a,l,u=t[2],d=u,h,m,v=this.enhance();if(v!==0){for(m=0;mi&&(i=o),l=t[m+1],ls&&(s=l),h=t[m+2],hd&&(d=h);i===r&&(i=255,r=0),s===a&&(s=255,a=0),d===u&&(d=255,u=0);var b,S,k,E,_,T,A,I,R;for(v>0?(S=i+v*(255-i),k=r-v*(r-0),_=s+v*(255-s),T=a-v*(a-0),I=d+v*(255-d),R=u-v*(u-0)):(b=(i+r)*.5,S=i+v*(i-b),k=r+v*(r-b),E=(s+a)*.5,_=s+v*(s-E),T=a+v*(a-E),A=(d+u)*.5,I=d+v*(d-A),R=u+v*(u-A)),m=0;mE?k:E;var _=a,T=o,A,I,R=360/T*Math.PI/180,D,j;for(I=0;IT?_:T;var A=a,I=o,R,D,j=n.polarRotation||0,z,V;for(d=0;dt&&(A=T,I=0,R=-1),i=0;i=0&&v=0&&b=0&&v=0&&b=255*4?255:0}return a}function l8e(e,t,n){for(var r=[.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&v=0&&b=n))for(o=S;o=r||(a=(n*o+i)*4,s+=A[a+0],l+=A[a+1],u+=A[a+2],d+=A[a+3],T+=1);for(s=s/T,l=l/T,u=u/T,d=d/T,i=v;i=n))for(o=S;o=r||(a=(n*o+i)*4,A[a+0]=s,A[a+1]=l,A[a+2]=u,A[a+3]=d)}};ee.addGetterSetter(Ze,"pixelSize",8,qe(),ee.afterSetFilter);const f8e=function(e){var t=Math.round(this.levels()*254)+1,n=e.data,r=n.length,i=255/t,o;for(o=0;o255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);const p8e=function(e){var t=e.data,n=t.length,r=this.red(),i=this.green(),o=this.blue(),a=this.alpha(),s,l;for(s=0;s255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);ee.addGetterSetter(Ze,"alpha",1,function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e});const g8e=function(e){var t=e.data,n=t.length,r,i,o,a;for(r=0;r127&&(u=255-u),d>127&&(d=255-d),h>127&&(h=255-h),t[l]=u,t[l+1]=d,t[l+2]=h}while(--s)}while(--o)},v8e=function(e){var t=this.threshold()*255,n=e.data,r=n.length,i;for(i=0;i{const{width:n,height:r}=t,i=document.createElement("div"),o=new Fg.Stage({container:i,width:n,height:r}),a=new Fg.Layer,s=new Fg.Layer;a.add(new Fg.Rect({...t,fill:"white"})),e.forEach(u=>s.add(new Fg.Line({points:u.points,stroke:"black",strokeWidth:u.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,globalCompositeOperation:u.tool==="brush"?"source-over":"destination-out"}))),o.add(a),o.add(s);const l=o.toDataURL({...t});return i.remove(),l};let $G=null,FG=null;const b8e=e=>{$G=e},el=()=>$G,S8e=e=>{FG=e},zG=()=>FG,x8e=e=>{const t=window.open("");t&&e.forEach(n=>{const r=new Image;r.src=n.base64,t.document.write(n.caption),t.document.write("
"),t.document.write(r.outerHTML),t.document.write("

")})},HG=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),w8e=e=>{const t=el(),{generationMode:n,generationState:r,postprocessingState:i,canvasState:o,systemState:a}=e,{codeformerFidelity:s,facetoolStrength:l,facetoolType:u,hiresFix:d,hiresStrength:h,shouldRunESRGAN:m,shouldRunFacetool:v,upscalingLevel:b,upscalingStrength:S,upscalingDenoising:k}=i,{cfgScale:E,height:_,img2imgStrength:T,infillMethod:A,initialImage:I,iterations:R,perlin:D,prompt:j,negativePrompt:z,sampler:V,seamBlur:K,seamless:te,seamSize:q,seamSteps:$,seamStrength:U,seed:X,seedWeights:Z,shouldFitToWidthHeight:W,shouldGenerateVariations:Q,shouldRandomizeSeed:ie,steps:fe,threshold:Se,tileSize:Pe,variationAmount:ye,width:We}=r,{shouldDisplayInProgressType:De,saveIntermediatesInterval:ot,enableImageDebugging:He}=a,Be={prompt:j,iterations:R,steps:fe,cfg_scale:E,threshold:Se,perlin:D,height:_,width:We,sampler_name:V,seed:X,progress_images:De==="full-res",progress_latents:De==="latents",save_intermediates:ot,generation_mode:n,init_mask:""};let wt=!1,st=!1;if(z!==""&&(Be.prompt=`${j} [${z}]`),Be.seed=ie?HG(hP,pP):X,["txt2img","img2img"].includes(n)&&(Be.seamless=te,Be.hires_fix=d,d&&(Be.strength=h),m&&(wt={level:b,denoise_str:k,strength:S}),v&&(st={type:u,strength:l},u==="codeformer"&&(st.codeformer_fidelity=s))),n==="img2img"&&I&&(Be.init_img=typeof I=="string"?I:I.url,Be.strength=T,Be.fit=W),n==="unifiedCanvas"&&t){const{layerState:{objects:mt},boundingBoxCoordinates:St,boundingBoxDimensions:Le,stageScale:lt,isMaskEnabled:Mt,shouldPreserveMaskedArea:ut,boundingBoxScaleMethod:_t,scaledBoundingBoxDimensions:ln}=o,ae={...St,...Le},Re=y8e(Mt?mt.filter(tP):[],ae);Be.init_mask=Re,Be.fit=!1,Be.strength=T,Be.invert_mask=ut,Be.bounding_box=ae;const Ye=t.scale();t.scale({x:1/lt,y:1/lt});const Ke=t.getAbsolutePosition(),xe=t.toDataURL({x:ae.x+Ke.x,y:ae.y+Ke.y,width:ae.width,height:ae.height});He&&x8e([{base64:Re,caption:"mask sent as init_mask"},{base64:xe,caption:"image sent as init_img"}]),t.scale(Ye),Be.init_img=xe,Be.progress_images=!1,_t!=="none"&&(Be.inpaint_width=ln.width,Be.inpaint_height=ln.height),Be.seam_size=q,Be.seam_blur=K,Be.seam_strength=U,Be.seam_steps=$,Be.tile_size=Pe,Be.infill_method=A,Be.force_outpaint=!1}return Q?(Be.variation_amount=ye,Z&&(Be.with_variations=Kxe(Z))):Be.variation_amount=0,He&&(Be.enable_image_debugging=He),{generationParameters:Be,esrganParameters:wt,facetoolParameters:st}};var C8e=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,_8e=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,k8e=/[^-+\dA-Z]/g;function no(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(sD[t]||t||sD.default);var i=t.slice(0,4);(i==="UTC:"||i==="GMT:")&&(t=t.slice(4),n=!0,i==="GMT:"&&(r=!0));var o=function(){return n?"getUTC":"get"},a=function(){return e[o()+"Date"]()},s=function(){return e[o()+"Day"]()},l=function(){return e[o()+"Month"]()},u=function(){return e[o()+"FullYear"]()},d=function(){return e[o()+"Hours"]()},h=function(){return e[o()+"Minutes"]()},m=function(){return e[o()+"Seconds"]()},v=function(){return e[o()+"Milliseconds"]()},b=function(){return n?0:e.getTimezoneOffset()},S=function(){return E8e(e)},k=function(){return P8e(e)},E={d:function(){return a()},dd:function(){return wa(a())},ddd:function(){return Uo.dayNames[s()]},DDD:function(){return lD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()],short:!0})},dddd:function(){return Uo.dayNames[s()+7]},DDDD:function(){return lD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()+7]})},m:function(){return l()+1},mm:function(){return wa(l()+1)},mmm:function(){return Uo.monthNames[l()]},mmmm:function(){return Uo.monthNames[l()+12]},yy:function(){return String(u()).slice(2)},yyyy:function(){return wa(u(),4)},h:function(){return d()%12||12},hh:function(){return wa(d()%12||12)},H:function(){return d()},HH:function(){return wa(d())},M:function(){return h()},MM:function(){return wa(h())},s:function(){return m()},ss:function(){return wa(m())},l:function(){return wa(v(),3)},L:function(){return wa(Math.floor(v()/10))},t:function(){return d()<12?Uo.timeNames[0]:Uo.timeNames[1]},tt:function(){return d()<12?Uo.timeNames[2]:Uo.timeNames[3]},T:function(){return d()<12?Uo.timeNames[4]:Uo.timeNames[5]},TT:function(){return d()<12?Uo.timeNames[6]:Uo.timeNames[7]},Z:function(){return r?"GMT":n?"UTC":T8e(e)},o:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60)*100+Math.abs(b())%60,4)},p:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60),2)+":"+wa(Math.floor(Math.abs(b())%60),2)},S:function(){return["th","st","nd","rd"][a()%10>3?0:(a()%100-a()%10!=10)*a()%10]},W:function(){return S()},WW:function(){return wa(S())},N:function(){return k()}};return t.replace(C8e,function(_){return _ in E?E[_]():_.slice(1,_.length-1)})}var sD={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Uo={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},wa=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return String(t).padStart(n,"0")},lD=function(t){var n=t.y,r=t.m,i=t.d,o=t._,a=t.dayName,s=t.short,l=s===void 0?!1:s,u=new Date,d=new Date;d.setDate(d[o+"Date"]()-1);var h=new Date;h.setDate(h[o+"Date"]()+1);var m=function(){return u[o+"Date"]()},v=function(){return u[o+"Month"]()},b=function(){return u[o+"FullYear"]()},S=function(){return d[o+"Date"]()},k=function(){return d[o+"Month"]()},E=function(){return d[o+"FullYear"]()},_=function(){return h[o+"Date"]()},T=function(){return h[o+"Month"]()},A=function(){return h[o+"FullYear"]()};return b()===n&&v()===r&&m()===i?l?"Tdy":"Today":E()===n&&k()===r&&S()===i?l?"Ysd":"Yesterday":A()===n&&T()===r&&_()===i?l?"Tmw":"Tomorrow":a},E8e=function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=new Date(n.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=n.getTimezoneOffset()-r.getTimezoneOffset();n.setHours(n.getHours()-i);var o=(n-r)/(864e5*7);return 1+Math.floor(o)},P8e=function(t){var n=t.getDay();return n===0&&(n=7),n},T8e=function(t){return(String(t).match(_8e)||[""]).pop().replace(k8e,"").replace(/GMT\+0000/g,"UTC")};const L8e=(e,t)=>{const{dispatch:n,getState:r}=e;return{emitGenerateImage:i=>{n(Hs(!0));const o=r(),{generation:a,postprocessing:s,system:l,canvas:u}=o,d={generationMode:i,generationState:a,postprocessingState:s,canvasState:u,systemState:l};n(eCe());const{generationParameters:h,esrganParameters:m,facetoolParameters:v}=w8e(d);t.emit("generateImage",h,m,v),h.init_mask&&(h.init_mask=h.init_mask.substr(0,64).concat("...")),h.init_img&&(h.init_img=h.init_img.substr(0,64).concat("...")),n(to({timestamp:no(new Date,"isoDateTime"),message:`Image generation requested: ${JSON.stringify({...h,...m,...v})}`}))},emitRunESRGAN:i=>{n(Hs(!0));const{postprocessing:{upscalingLevel:o,upscalingDenoising:a,upscalingStrength:s}}=r(),l={upscale:[o,a,s]};t.emit("runPostprocessing",i,{type:"esrgan",...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`ESRGAN upscale requested: ${JSON.stringify({file:i.url,...l})}`}))},emitRunFacetool:i=>{n(Hs(!0));const{postprocessing:{facetoolType:o,facetoolStrength:a,codeformerFidelity:s}}=r(),l={facetool_strength:a};o==="codeformer"&&(l.codeformer_fidelity=s),t.emit("runPostprocessing",i,{type:o,...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`Face restoration (${o}) requested: ${JSON.stringify({file:i.url,...l})}`}))},emitDeleteImage:i=>{const{url:o,uuid:a,category:s,thumbnail:l}=i;n(tU(i)),t.emit("deleteImage",o,l,a,s)},emitRequestImages:i=>{const o=r().gallery,{earliest_mtime:a}=o.categories[i];t.emit("requestImages",i,a)},emitRequestNewImages:i=>{const o=r().gallery,{latest_mtime:a}=o.categories[i];t.emit("requestLatestImages",i,a)},emitCancelProcessing:()=>{t.emit("cancel")},emitRequestSystemConfig:()=>{t.emit("requestSystemConfig")},emitSearchForModels:i=>{t.emit("searchForModels",i)},emitAddNewModel:i=>{t.emit("addNewModel",i)},emitDeleteModel:i=>{t.emit("deleteModel",i)},emitRequestModelChange:i=>{n(Z6e()),t.emit("requestModelChange",i)},emitSaveStagingAreaImageToGallery:i=>{t.emit("requestSaveStagingAreaImageToGallery",i)},emitRequestEmptyTempFolder:()=>{t.emit("requestEmptyTempFolder")}}};let Hb;const A8e=new Uint8Array(16);function O8e(){if(!Hb&&(Hb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Hb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Hb(A8e)}const zi=[];for(let e=0;e<256;++e)zi.push((e+256).toString(16).slice(1));function M8e(e,t=0){return(zi[e[t+0]]+zi[e[t+1]]+zi[e[t+2]]+zi[e[t+3]]+"-"+zi[e[t+4]]+zi[e[t+5]]+"-"+zi[e[t+6]]+zi[e[t+7]]+"-"+zi[e[t+8]]+zi[e[t+9]]+"-"+zi[e[t+10]]+zi[e[t+11]]+zi[e[t+12]]+zi[e[t+13]]+zi[e[t+14]]+zi[e[t+15]]).toLowerCase()}const I8e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),uD={randomUUID:I8e};function cm(e,t,n){if(uD.randomUUID&&!t&&!e)return uD.randomUUID();e=e||{};const r=e.random||(e.rng||O8e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return M8e(r)}const I8=zr("socketio/generateImage"),R8e=zr("socketio/runESRGAN"),D8e=zr("socketio/runFacetool"),N8e=zr("socketio/deleteImage"),R8=zr("socketio/requestImages"),cD=zr("socketio/requestNewImages"),j8e=zr("socketio/cancelProcessing"),B8e=zr("socketio/requestSystemConfig"),dD=zr("socketio/searchForModels"),$y=zr("socketio/addNewModel"),$8e=zr("socketio/deleteModel"),VG=zr("socketio/requestModelChange"),F8e=zr("socketio/saveStagingAreaImageToGallery"),z8e=zr("socketio/requestEmptyTempFolder"),H8e=e=>{const{dispatch:t,getState:n}=e;return{onConnect:()=>{try{t(TR(!0)),t(D4(zt.t("common:statusConnected"))),t(B8e());const r=n().gallery;r.categories.result.latest_mtime?t(cD("result")):t(R8("result")),r.categories.user.latest_mtime?t(cD("user")):t(R8("user"))}catch(r){console.error(r)}},onDisconnect:()=>{try{t(TR(!1)),t(D4(zt.t("common:statusDisconnected"))),t(to({timestamp:no(new Date,"isoDateTime"),message:"Disconnected from server",level:"warning"}))}catch(r){console.error(r)}},onGenerationResult:r=>{try{const i=n(),{activeTab:o}=i.ui,{shouldLoopback:a}=i.postprocessing,{boundingBox:s,generationMode:l,...u}=r,d={uuid:cm(),...u};if(["txt2img","img2img"].includes(l)&&t(sm({category:"result",image:{...d,category:"result"}})),l==="unifiedCanvas"&&r.boundingBox){const{boundingBox:h}=r;t(pxe({image:{...d,category:"temp"},boundingBox:h})),i.canvas.shouldAutoSave&&t(sm({image:{...d,category:"result"},category:"result"}))}if(a)switch(cP[o]){case"img2img":{t(k0(d));break}}t(wC()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image generated: ${r.url}`}))}catch(i){console.error(i)}},onIntermediateResult:r=>{try{t(jxe({uuid:cm(),...r,category:"result"})),r.isBase64||t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image generated: ${r.url}`}))}catch(i){console.error(i)}},onPostprocessingResult:r=>{try{t(sm({category:"result",image:{uuid:cm(),...r,category:"result"}})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Postprocessed: ${r.url}`}))}catch(i){console.error(i)}},onProgressUpdate:r=>{try{t(Hs(!0)),t(q6e(r))}catch(i){console.error(i)}},onError:r=>{const{message:i,additionalData:o}=r;try{t(to({timestamp:no(new Date,"isoDateTime"),message:`Server error: ${i}`,level:"error"})),t(LR()),t(wC())}catch(a){console.error(a)}},onGalleryImages:r=>{const{images:i,areMoreImagesAvailable:o,category:a}=r,s=i.map(l=>({uuid:cm(),...l}));t(Nxe({images:s,areMoreImagesAvailable:o,category:a})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Loaded ${i.length} images`}))},onProcessingCanceled:()=>{t(X6e());const{intermediateImage:r}=n().gallery;r&&(r.isBase64||(t(sm({category:"result",image:r})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image saved: ${r.url}`}))),t(wC())),t(to({timestamp:no(new Date,"isoDateTime"),message:"Processing canceled",level:"warning"}))},onImageDeleted:r=>{const{url:i}=r;t(tU(r));const{generation:{initialImage:o,maskPath:a}}=n();(o===i||(o==null?void 0:o.url)===i)&&t(aU()),a===i&&t(dU("")),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image deleted: ${i}`}))},onSystemConfig:r=>{t(Y6e(r)),r.infill_methods.includes("patchmatch")||t(cU(r.infill_methods[0]))},onFoundModels:r=>{const{search_folder:i,found_models:o}=r;t(FU(i)),t(zU(o))},onNewModelAdded:r=>{const{new_model_name:i,model_list:o,update:a}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model Added: ${i}`,level:"info"})),t(Th({title:a?`${zt.t("modelmanager:modelUpdated")}: ${i}`:`${zt.t("modelmanager:modelAdded")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelDeleted:r=>{const{deleted_model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`${zt.t("modelmanager:modelAdded")}: ${i}`,level:"info"})),t(Th({title:`${zt.t("modelmanager:modelEntryDeleted")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelChanged:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(D4(zt.t("common:statusModelChanged"))),t(Hs(!1)),t(lm(!0)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model changed: ${i}`,level:"info"}))},onModelChangeFailed:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(lm(!0)),t(LR()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model change failed: ${i}`,level:"error"}))},onTempFolderEmptied:()=>{t(Th({title:zt.t("toast:tempFoldersEmptied"),status:"success",duration:2500,isClosable:!0}))}}},V8e=()=>{const{origin:e}=new URL(window.location.href),t=B4(e,{timeout:6e4,path:`${window.location.pathname}socket.io`});let n=!1;return i=>o=>a=>{const{onConnect:s,onDisconnect:l,onError:u,onPostprocessingResult:d,onGenerationResult:h,onIntermediateResult:m,onProgressUpdate:v,onGalleryImages:b,onProcessingCanceled:S,onImageDeleted:k,onSystemConfig:E,onModelChanged:_,onFoundModels:T,onNewModelAdded:A,onModelDeleted:I,onModelChangeFailed:R,onTempFolderEmptied:D}=H8e(i),{emitGenerateImage:j,emitRunESRGAN:z,emitRunFacetool:V,emitDeleteImage:K,emitRequestImages:te,emitRequestNewImages:q,emitCancelProcessing:$,emitRequestSystemConfig:U,emitSearchForModels:X,emitAddNewModel:Z,emitDeleteModel:W,emitRequestModelChange:Q,emitSaveStagingAreaImageToGallery:ie,emitRequestEmptyTempFolder:fe}=L8e(i,t);switch(n||(t.on("connect",()=>s()),t.on("disconnect",()=>l()),t.on("error",Se=>u(Se)),t.on("generationResult",Se=>h(Se)),t.on("postprocessingResult",Se=>d(Se)),t.on("intermediateResult",Se=>m(Se)),t.on("progressUpdate",Se=>v(Se)),t.on("galleryImages",Se=>b(Se)),t.on("processingCanceled",()=>{S()}),t.on("imageDeleted",Se=>{k(Se)}),t.on("systemConfig",Se=>{E(Se)}),t.on("foundModels",Se=>{T(Se)}),t.on("newModelAdded",Se=>{A(Se)}),t.on("modelDeleted",Se=>{I(Se)}),t.on("modelChanged",Se=>{_(Se)}),t.on("modelChangeFailed",Se=>{R(Se)}),t.on("tempFolderEmptied",()=>{D()}),n=!0),a.type){case"socketio/generateImage":{j(a.payload);break}case"socketio/runESRGAN":{z(a.payload);break}case"socketio/runFacetool":{V(a.payload);break}case"socketio/deleteImage":{K(a.payload);break}case"socketio/requestImages":{te(a.payload);break}case"socketio/requestNewImages":{q(a.payload);break}case"socketio/cancelProcessing":{$();break}case"socketio/requestSystemConfig":{U();break}case"socketio/searchForModels":{X(a.payload);break}case"socketio/addNewModel":{Z(a.payload);break}case"socketio/deleteModel":{W(a.payload);break}case"socketio/requestModelChange":{Q(a.payload);break}case"socketio/saveStagingAreaImageToGallery":{ie(a.payload);break}case"socketio/requestEmptyTempFolder":{fe();break}}o(a)}},W8e=["cursorPosition","isCanvasInitialized","doesCanvasNeedScaling"].map(e=>`canvas.${e}`),U8e=["currentIteration","currentStatus","currentStep","isCancelable","isConnected","isESRGANAvailable","isGFPGANAvailable","isProcessing","socketId","totalIterations","totalSteps","openModel"].map(e=>`system.${e}`),G8e=["categories","currentCategory","currentImage","currentImageUuid","shouldAutoSwitchToNewImages","shouldHoldGalleryOpen","intermediateImage"].map(e=>`gallery.${e}`),WG=CW({generation:nwe,postprocessing:swe,gallery:Wxe,system:rCe,canvas:Rxe,ui:hCe,lightbox:qxe}),q8e=RW.getPersistConfig({key:"root",storage:IW,rootReducer:WG,blacklist:[...W8e,...U8e,...G8e],debounce:300}),Y8e=zSe(q8e,WG),UG=vSe({reducer:Y8e,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(V8e()),devTools:{actionsDenylist:["canvas/setCursorPosition","canvas/setStageCoordinates","canvas/setStageScale","canvas/setIsDrawing","canvas/setBoundingBoxCoordinates","canvas/setBoundingBoxDimensions","canvas/setIsDrawing","canvas/addPointToCurrentLine"]}}),GG=qSe(UG),SP=w.createContext(null),Me=O5e,he=S5e;let fD;const xP=()=>({setOpenUploader:e=>{e&&(fD=e)},openUploader:fD}),Or=at(e=>e.ui,e=>cP[e.activeTab],{memoizeOptions:{equalityCheck:ke.isEqual}}),K8e=at(e=>e.ui,e=>e.activeTab,{memoizeOptions:{equalityCheck:ke.isEqual}}),mp=at(e=>e.ui,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),hD=e=>async(t,n)=>{const{imageFile:r}=e,i=n(),o=Or(i),a=new FormData;a.append("file",r,r.name),a.append("data",JSON.stringify({kind:"init"}));const l=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:a})).json(),u={uuid:cm(),category:"user",...l};t(sm({image:u,category:"user"})),o==="unifiedCanvas"?t(jx(u)):o==="img2img"&&t(k0(u))};function X8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:nodes")}),y.jsx("p",{children:e("common:nodesDesc")})]})}const Z8e=()=>{const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress post-processing-work-in-progress",children:[y.jsx("h1",{children:e("common:postProcessing")}),y.jsx("p",{children:e("common:postProcessDesc1")}),y.jsx("p",{children:e("common:postProcessDesc2")}),y.jsx("p",{children:e("common:postProcessDesc3")})]})};function Q8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:training")}),y.jsxs("p",{children:[e("common:trainingDesc1"),y.jsx("br",{}),y.jsx("br",{}),e("common:trainingDesc2")]})]})}function J8e(e){const{i18n:t}=Ve(),n=localStorage.getItem("i18nextLng");N.useEffect(()=>{e()},[e]),N.useEffect(()=>{t.on("languageChanged",()=>{e()})},[e,t,n])}const e_e=yt({displayName:"ImageToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{transform:"matrix(1.10943,0,0,1.10943,-206.981,-213.533)",children:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M688.533,2405.95L542.987,2405.95C349.532,2405.95 192.47,2248.89 192.47,2055.44L192.47,542.987C192.47,349.532 349.532,192.47 542.987,192.47L2527.88,192.47C2721.33,192.47 2878.4,349.532 2878.4,542.987L2878.4,1172.79L3023.94,1172.79C3217.4,1172.79 3374.46,1329.85 3374.46,1523.3C3374.46,1523.3 3374.46,3035.75 3374.46,3035.75C3374.46,3229.21 3217.4,3386.27 3023.94,3386.27L1039.05,3386.27C845.595,3386.27 688.533,3229.21 688.533,3035.75L688.533,2405.95ZM3286.96,2634.37L3286.96,1523.3C3286.96,1378.14 3169.11,1260.29 3023.94,1260.29C3023.94,1260.29 1039.05,1260.29 1039.05,1260.29C893.887,1260.29 776.033,1378.14 776.033,1523.3L776.033,2489.79L1440.94,1736.22L2385.83,2775.59L2880.71,2200.41L3286.96,2634.37ZM2622.05,1405.51C2778.5,1405.51 2905.51,1532.53 2905.51,1688.98C2905.51,1845.42 2778.5,1972.44 2622.05,1972.44C2465.6,1972.44 2338.58,1845.42 2338.58,1688.98C2338.58,1532.53 2465.6,1405.51 2622.05,1405.51ZM2790.9,1172.79L1323.86,1172.79L944.882,755.906L279.97,1509.47L279.97,542.987C279.97,397.824 397.824,279.97 542.987,279.97C542.987,279.97 2527.88,279.97 2527.88,279.97C2673.04,279.97 2790.9,397.824 2790.9,542.987L2790.9,1172.79ZM2125.98,425.197C2282.43,425.197 2409.45,552.213 2409.45,708.661C2409.45,865.11 2282.43,992.126 2125.98,992.126C1969.54,992.126 1842.52,865.11 1842.52,708.661C1842.52,552.213 1969.54,425.197 2125.98,425.197Z"})})}),t_e=yt({displayName:"NodesIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 0,515.578 0,770.787L0,2766.03C0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM3427.88,770.787L3427.88,2766.03C3427.88,2957.53 3272.4,3113.01 3080.9,3113.01C3080.9,3113.01 462.407,3113.01 462.407,3113.01C270.906,3113.01 115.431,2957.53 115.431,2766.03L115.431,770.787C115.431,579.286 270.906,423.812 462.407,423.812L3080.9,423.812C3272.4,423.812 3427.88,579.286 3427.88,770.787ZM1214.23,1130.69L1321.47,1130.69C1324.01,1130.69 1326.54,1130.53 1329.05,1130.2C1329.05,1130.2 1367.3,1125.33 1397.94,1149.8C1421.63,1168.72 1437.33,1204.3 1437.33,1265.48L1437.33,2078.74L1220.99,2078.74C1146.83,2078.74 1086.61,2138.95 1086.61,2213.12L1086.61,2762.46C1086.61,2836.63 1146.83,2896.84 1220.99,2896.84L1770.34,2896.84C1844.5,2896.84 1904.71,2836.63 1904.71,2762.46L1904.71,2213.12C1904.71,2138.95 1844.5,2078.74 1770.34,2078.74L1554,2078.74L1554,1604.84C1625.84,1658.19 1703.39,1658.1 1703.39,1658.1C1703.54,1658.1 1703.69,1658.11 1703.84,1658.11L2362.2,1658.11L2362.2,1874.44C2362.2,1948.61 2422.42,2008.82 2496.58,2008.82L3045.93,2008.82C3120.09,2008.82 3180.3,1948.61 3180.3,1874.44L3180.3,1325.1C3180.3,1250.93 3120.09,1190.72 3045.93,1190.72L2496.58,1190.72C2422.42,1190.72 2362.2,1250.93 2362.2,1325.1L2362.2,1558.97L2362.2,1541.44L1704.23,1541.44C1702.2,1541.37 1650.96,1539.37 1609.51,1499.26C1577.72,1468.49 1554,1416.47 1554,1331.69L1554,1265.48C1554,1153.86 1513.98,1093.17 1470.76,1058.64C1411.24,1011.1 1338.98,1012.58 1319.15,1014.03L1214.23,1014.03L1214.23,796.992C1214.23,722.828 1154.02,662.617 1079.85,662.617L530.507,662.617C456.343,662.617 396.131,722.828 396.131,796.992L396.131,1346.34C396.131,1420.5 456.343,1480.71 530.507,1480.71L1079.85,1480.71C1154.02,1480.71 1214.23,1420.5 1214.23,1346.34L1214.23,1130.69Z"})}),n_e=yt({displayName:"PostprocessingIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M709.477,1596.53L992.591,1275.66L2239.09,2646.81L2891.95,1888.03L3427.88,2460.51L3427.88,994.78C3427.88,954.66 3421.05,916.122 3408.5,880.254L3521.9,855.419C3535.8,899.386 3543.31,946.214 3543.31,994.78L3543.31,2990.02C3543.31,3245.23 3336.11,3452.43 3080.9,3452.43C3080.9,3452.43 462.407,3452.43 462.407,3452.43C207.197,3452.43 -0,3245.23 -0,2990.02L-0,994.78C-0,739.571 207.197,532.373 462.407,532.373L505.419,532.373L504.644,532.546L807.104,600.085C820.223,601.729 832.422,607.722 841.77,617.116C850.131,625.517 855.784,636.21 858.055,647.804L462.407,647.804C270.906,647.804 115.431,803.279 115.431,994.78L115.431,2075.73L-0,2101.5L115.431,2127.28L115.431,2269.78L220.47,2150.73L482.345,2209.21C503.267,2211.83 522.722,2221.39 537.63,2236.37C552.538,2251.35 562.049,2270.9 564.657,2291.93L671.84,2776.17L779.022,2291.93C781.631,2270.9 791.141,2251.35 806.05,2236.37C820.958,2221.39 840.413,2211.83 861.334,2209.21L1353.15,2101.5L861.334,1993.8C840.413,1991.18 820.958,1981.62 806.05,1966.64C791.141,1951.66 781.631,1932.11 779.022,1911.08L709.477,1596.53ZM671.84,1573.09L725.556,2006.07C726.863,2016.61 731.63,2026.4 739.101,2033.91C746.573,2041.42 756.323,2046.21 766.808,2047.53L1197.68,2101.5L766.808,2155.48C756.323,2156.8 746.573,2161.59 739.101,2169.09C731.63,2176.6 726.863,2186.4 725.556,2196.94L671.84,2629.92L618.124,2196.94C616.817,2186.4 612.05,2176.6 604.579,2169.09C597.107,2161.59 587.357,2156.8 576.872,2155.48L146.001,2101.5L576.872,2047.53C587.357,2046.21 597.107,2041.42 604.579,2033.91C612.05,2026.4 616.817,2016.61 618.124,2006.07L671.84,1573.09ZM609.035,1710.36L564.657,1911.08C562.049,1932.11 552.538,1951.66 537.63,1966.64C522.722,1981.62 503.267,1991.18 482.345,1993.8L328.665,2028.11L609.035,1710.36ZM2297.12,938.615L2451.12,973.003C2480.59,976.695 2507.99,990.158 2528.99,1011.26C2549.99,1032.37 2563.39,1059.9 2567.07,1089.52L2672.73,1566.9C2634.5,1580.11 2593.44,1587.29 2550.72,1587.29C2344.33,1587.29 2176.77,1419.73 2176.77,1213.34C2176.77,1104.78 2223.13,1006.96 2297.12,938.615ZM2718.05,76.925L2793.72,686.847C2795.56,701.69 2802.27,715.491 2812.8,726.068C2823.32,736.644 2837.06,743.391 2851.83,745.242L3458.78,821.28L2851.83,897.318C2837.06,899.168 2823.32,905.916 2812.8,916.492C2802.27,927.068 2795.56,940.87 2793.72,955.712L2718.05,1565.63L2642.38,955.712C2640.54,940.87 2633.83,927.068 2623.3,916.492C2612.78,905.916 2599.04,899.168 2584.27,897.318L1977.32,821.28L2584.27,745.242C2599.04,743.391 2612.78,736.644 2623.3,726.068C2633.83,715.491 2640.54,701.69 2642.38,686.847L2718.05,76.925ZM2883.68,1043.06C2909.88,1094.13 2924.67,1152.02 2924.67,1213.34C2924.67,1335.4 2866.06,1443.88 2775.49,1512.14L2869.03,1089.52C2871.07,1073.15 2876.07,1057.42 2883.68,1043.06ZM925.928,201.2L959.611,472.704C960.431,479.311 963.42,485.455 968.105,490.163C972.79,494.871 978.904,497.875 985.479,498.698L1255.66,532.546L985.479,566.395C978.904,567.218 972.79,570.222 968.105,574.93C963.42,579.638 960.431,585.781 959.611,592.388L925.928,863.893L892.245,592.388C891.425,585.781 888.436,579.638 883.751,574.93C879.066,570.222 872.952,567.218 866.378,566.395L596.195,532.546L866.378,498.698C872.952,497.875 879.066,494.871 883.751,490.163C888.436,485.455 891.425,479.311 892.245,472.704L925.928,201.2ZM2864.47,532.373L3080.9,532.373C3258.7,532.373 3413.2,632.945 3490.58,780.281L3319.31,742.773C3257.14,683.925 3173.2,647.804 3080.9,647.804L2927.07,647.804C2919.95,642.994 2913.25,637.473 2907.11,631.298C2886.11,610.194 2872.71,582.655 2869.03,553.04L2864.47,532.373ZM1352.36,532.373L2571.64,532.373L2567.07,553.04C2563.39,582.655 2549.99,610.194 2528.99,631.298C2522.85,637.473 2516.16,642.994 2509.03,647.804L993.801,647.804C996.072,636.21 1001.73,625.517 1010.09,617.116C1019.43,607.722 1031.63,601.729 1044.75,600.085L1353.15,532.546L1352.36,532.373Z"})}),r_e=yt({displayName:"TextToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",transform:"matrix(1.11667,0,0,1.1066,-231.131,-213.062)",children:y.jsx("path",{d:"M2209.59,1137.35L2209.59,1098.17C2177.13,1108.99 2125.74,1121.91 2055.41,1136.94C2054.77,1137.08 2054.14,1137.21 2053.49,1137.35L1662.79,1137.35C1687.75,1101.98 1720.8,1074.35 1761.93,1054.44C1808.52,1031.9 1875.69,1012.22 1963.45,995.386C2081.86,973.146 2163.91,952.409 2209.59,933.174L2209.59,907.929C2209.59,859.241 2197.57,824.529 2173.53,803.792C2149.48,783.054 2104.1,772.686 2037.38,772.686C1992.3,772.686 1957.14,781.552 1931.89,799.284C1906.64,817.015 1886.21,848.121 1870.58,892.601L1640.67,851.127C1666.51,758.56 1710.99,690.037 1774.11,645.557C1837.22,601.077 1930.99,578.837 2055.41,578.837C2168.42,578.837 2252.57,592.211 2307.87,618.959C2363.17,645.707 2402.09,679.668 2424.63,720.842C2447.17,762.016 2458.44,837.602 2458.44,947.6L2456.7,1137.35L3021.34,1137.35C3214.79,1137.35 3371.86,1294.41 3371.86,1487.87C3371.86,1487.87 3371.86,3000.32 3371.86,3000.32C3371.86,3193.78 3214.79,3350.84 3021.34,3350.84C3021.34,3350.84 1036.45,3350.84 1036.45,3350.84C842.991,3350.84 685.93,3193.78 685.93,3000.32L685.93,1487.87C685.93,1400.21 718.174,1320.03 771.448,1258.54L772.123,1257.76L607.408,1257.76L498.311,1558L215.202,1558L730.028,236.22L1012.24,236.22L1373.06,1137.35L2209.59,1137.35ZM3284.36,2598.93L3284.36,1487.87C3284.36,1342.71 3166.5,1224.85 3021.34,1224.85C3021.34,1224.85 1036.45,1224.85 1036.45,1224.85C891.284,1224.85 773.43,1342.71 773.43,1487.87L773.43,2454.35L1438.34,1700.79L2383.22,2740.16L2878.11,2164.98L3284.36,2598.93ZM2619.44,1370.08C2775.89,1370.08 2902.91,1497.1 2902.91,1653.54C2902.91,1809.99 2775.89,1937.01 2619.44,1937.01C2462.99,1937.01 2335.98,1809.99 2335.98,1653.54C2335.98,1497.1 2462.99,1370.08 2619.44,1370.08ZM772.877,1256.89L772.849,1256.93L773.167,1256.57L772.877,1256.89ZM773.634,1256.04L773.563,1256.12L773.985,1255.64L773.634,1256.04ZM774.394,1255.18L774.276,1255.31L774.746,1254.78L774.394,1255.18ZM775.157,1254.32L774.988,1254.51L775.493,1253.95L775.157,1254.32ZM775.923,1253.47L775.698,1253.72L776.237,1253.12L775.923,1253.47ZM776.691,1252.62L776.403,1252.94L776.979,1252.3L776.691,1252.62ZM777.462,1251.77L777.098,1252.17L777.723,1251.49L777.462,1251.77ZM925.081,1155.44C868.026,1174.57 817.508,1207.99 777.775,1251.43C817.511,1207.99 868.031,1174.57 925.081,1155.44ZM925.646,1155.25L925.108,1155.43L926.103,1155.1L925.646,1155.25ZM935.286,1152.2C932.214,1153.12 929.159,1154.09 926.13,1155.09C929.165,1154.09 932.219,1153.12 935.286,1152.2ZM935.716,1152.07L935.384,1152.17L936.292,1151.89L935.716,1152.07ZM936.843,1151.73L936.451,1151.85L937.327,1151.59L936.843,1151.73ZM937.972,1151.4L937.514,1151.53L938.377,1151.28L937.972,1151.4ZM939.102,1151.07L938.57,1151.22L939.438,1150.97L939.102,1151.07ZM940.233,1150.74L939.613,1150.92L940.505,1150.67L940.233,1150.74ZM946.659,1148.98C944.639,1149.51 942.626,1150.07 940.626,1150.63C942.631,1150.06 944.642,1149.51 946.659,1148.98ZM947.056,1148.87L946.829,1148.93L947.659,1148.71L947.056,1148.87ZM948.198,1148.57L947.919,1148.65L948.705,1148.44L948.198,1148.57ZM949.342,1148.28L949.008,1148.37L949.771,1148.17L949.342,1148.28ZM950.488,1147.99L950.096,1148.09L950.848,1147.9L950.488,1147.99ZM951.635,1147.7L951.182,1147.81L951.932,1147.63L951.635,1147.7ZM952.783,1147.42L952.262,1147.55L953.022,1147.36L952.783,1147.42ZM953.933,1147.14L953.327,1147.28L954.115,1147.09L953.933,1147.14ZM958.213,1146.13C956.927,1146.42 955.644,1146.73 954.354,1147.04C955.637,1146.73 956.923,1146.43 958.213,1146.13ZM958.547,1146.06L958.409,1146.09L959.174,1145.91L958.547,1146.06ZM959.704,1145.79L959.517,1145.84L960.229,1145.68L959.704,1145.79ZM960.863,1145.54L960.626,1145.59L961.311,1145.44L960.863,1145.54ZM962.023,1145.28L961.736,1145.35L962.406,1145.2L962.023,1145.28ZM963.184,1145.03L962.846,1145.11L963.508,1144.97L963.184,1145.03ZM964.347,1144.79L963.956,1144.87L964.615,1144.73L964.347,1144.79ZM965.511,1144.55L965.066,1144.64L965.725,1144.5L965.511,1144.55ZM966.677,1144.31L966.172,1144.41L966.838,1144.28L966.677,1144.31ZM967.844,1144.08L967.269,1144.19L967.953,1144.05L967.844,1144.08ZM970.183,1143.62C969.793,1143.69 969.403,1143.77 969.013,1143.85L969.055,1143.84C969.413,1143.77 969.771,1143.7 970.129,1143.63L970.183,1143.62ZM971.354,1143.4L971.245,1143.42L971.882,1143.3L971.354,1143.4ZM972.526,1143.18L972.37,1143.21L972.987,1143.09L972.526,1143.18ZM973.7,1142.96L973.496,1143L974.103,1142.89L973.7,1142.96ZM974.876,1142.75L974.624,1142.8L975.225,1142.69L974.876,1142.75ZM976.052,1142.55L975.754,1142.6L976.349,1142.49L976.052,1142.55ZM977.23,1142.34L976.885,1142.4L977.476,1142.3L977.23,1142.34ZM978.41,1142.14L978.019,1142.21L978.605,1142.11L978.41,1142.14ZM979.59,1141.95L979.156,1142.02L979.736,1141.92L979.59,1141.95ZM980.772,1141.76L980.299,1141.83L980.868,1141.74L980.772,1141.76ZM981.955,1141.57L981.464,1141.65L982.002,1141.56L981.955,1141.57ZM983.14,1141.39L983.1,1141.39L983.605,1141.32L983.14,1141.39ZM984.326,1141.21L984.239,1141.22L984.778,1141.14L984.326,1141.21ZM985.513,1141.03L985.379,1141.05L985.928,1140.97L985.513,1141.03ZM986.702,1140.86L986.521,1140.89L987.073,1140.81L986.702,1140.86ZM987.891,1140.69L987.665,1140.73L988.218,1140.65L987.891,1140.69ZM989.082,1140.53L988.811,1140.57L989.363,1140.49L989.082,1140.53ZM990.275,1140.37L989.96,1140.41L990.508,1140.34L990.275,1140.37ZM991.468,1140.22L991.113,1140.26L991.654,1140.19L991.468,1140.22ZM992.663,1140.07L992.273,1140.12L992.8,1140.05L992.663,1140.07ZM993.859,1139.92L993.447,1139.97L993.948,1139.91L993.859,1139.92ZM995.056,1139.78L994.671,1139.82L995.097,1139.77L995.056,1139.78ZM996.255,1139.64L996.23,1139.64L996.578,1139.6L996.255,1139.64ZM997.454,1139.5L997.383,1139.51L997.852,1139.46L997.454,1139.5ZM998.655,1139.37L998.537,1139.38L999.041,1139.33L998.655,1139.37ZM999.857,1139.24L999.693,1139.26L1000.21,1139.21L999.857,1139.24ZM1001.06,1139.12L1000.85,1139.14L1001.38,1139.09L1001.06,1139.12ZM1002.26,1139L1002.01,1139.03L1002.54,1138.98L1002.26,1139ZM1003.47,1138.89L1003.18,1138.91L1003.7,1138.87L1003.47,1138.89ZM1004.68,1138.78L1004.34,1138.81L1004.86,1138.76L1004.68,1138.78ZM1005.89,1138.67L1005.52,1138.7L1006.02,1138.66L1005.89,1138.67ZM1007.1,1138.57L1006.71,1138.6L1007.18,1138.56L1007.1,1138.57ZM1008.31,1138.47L1007.96,1138.5L1008.35,1138.46L1008.31,1138.47ZM1009.52,1138.37L1009.5,1138.38L1009.72,1138.36L1009.52,1138.37ZM1010.73,1138.28L1010.67,1138.29L1011.1,1138.26L1010.73,1138.28ZM1011.94,1138.2L1011.84,1138.2L1012.32,1138.17L1011.94,1138.2ZM1013.16,1138.12L1013,1138.13L1013.51,1138.09L1013.16,1138.12ZM1014.37,1138.04L1014.17,1138.05L1014.69,1138.02L1014.37,1138.04ZM1015.59,1137.96L1015.35,1137.98L1015.86,1137.95L1015.59,1137.96ZM1016.81,1137.89L1016.52,1137.91L1017.04,1137.88L1016.81,1137.89ZM1018.03,1137.83L1017.7,1137.85L1018.21,1137.82L1018.03,1137.83ZM1019.25,1137.77L1018.89,1137.79L1019.39,1137.76L1019.25,1137.77ZM1020.47,1137.71L1020.1,1137.73L1020.56,1137.71L1020.47,1137.71ZM1021.69,1137.66L1021.36,1137.67L1021.74,1137.66L1021.69,1137.66ZM1022.92,1137.61L1022.91,1137.61L1023.02,1137.61L1022.92,1137.61ZM1024.14,1137.57L1024.09,1137.57L1024.49,1137.55L1024.14,1137.57ZM1025.37,1137.52L1025.27,1137.53L1025.74,1137.51L1025.37,1137.52ZM1026.6,1137.49L1026.45,1137.49L1026.94,1137.48L1026.6,1137.49ZM1027.82,1137.46L1027.63,1137.46L1028.14,1137.45L1027.82,1137.46ZM1029.05,1137.43L1028.81,1137.43L1029.33,1137.42L1029.05,1137.43ZM1030.28,1137.41L1030,1137.41L1030.52,1137.4L1030.28,1137.41ZM1031.51,1137.39L1031.19,1137.39L1031.7,1137.38L1031.51,1137.39ZM1032.75,1137.37L1032.39,1137.38L1032.89,1137.37L1032.75,1137.37ZM1033.98,1137.36L1033.61,1137.36L1034.07,1137.36L1033.98,1137.36ZM1035.21,1137.35L1034.87,1137.36L1035.26,1137.35L1035.21,1137.35ZM1050.1,1035.06L867.977,544.575L689.455,1035.06L1050.1,1035.06Z"})})}),i_e=yt({displayName:"TrainingIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0,768.593L0,2774.71C0,2930.6 78.519,3068.3 198.135,3150.37C273.059,3202.68 364.177,3233.38 462.407,3233.38C462.407,3233.38 3080.9,3233.38 3080.9,3233.38C3179.13,3233.38 3270.25,3202.68 3345.17,3150.37C3464.79,3068.3 3543.31,2930.6 3543.31,2774.71L3543.31,768.593C3543.31,517.323 3339.31,313.324 3088.04,313.324L455.269,313.324C203.999,313.324 0,517.323 0,768.593ZM3427.88,775.73L3427.88,2770.97C3427.88,2962.47 3272.4,3117.95 3080.9,3117.95L462.407,3117.95C270.906,3117.95 115.431,2962.47 115.431,2770.97C115.431,2770.97 115.431,775.73 115.431,775.73C115.431,584.229 270.906,428.755 462.407,428.755C462.407,428.755 3080.9,428.755 3080.9,428.755C3272.4,428.755 3427.88,584.229 3427.88,775.73ZM796.24,1322.76L796.24,1250.45C796.24,1199.03 836.16,1157.27 885.331,1157.27C885.331,1157.27 946.847,1157.27 946.847,1157.27C996.017,1157.27 1035.94,1199.03 1035.94,1250.45L1035.94,1644.81L2507.37,1644.81L2507.37,1250.45C2507.37,1199.03 2547.29,1157.27 2596.46,1157.27C2596.46,1157.27 2657.98,1157.27 2657.98,1157.27C2707.15,1157.27 2747.07,1199.03 2747.07,1250.45L2747.07,1322.76C2756.66,1319.22 2767.02,1317.29 2777.83,1317.29C2777.83,1317.29 2839.34,1317.29 2839.34,1317.29C2888.51,1317.29 2928.43,1357.21 2928.43,1406.38L2928.43,1527.32C2933.51,1526.26 2938.77,1525.71 2944.16,1525.71L2995.3,1525.71C3036.18,1525.71 3069.37,1557.59 3069.37,1596.86C3069.37,1596.86 3069.37,1946.44 3069.37,1946.44C3069.37,1985.72 3036.18,2017.6 2995.3,2017.6C2995.3,2017.6 2944.16,2017.6 2944.16,2017.6C2938.77,2017.6 2933.51,2017.04 2928.43,2015.99L2928.43,2136.92C2928.43,2186.09 2888.51,2226.01 2839.34,2226.01L2777.83,2226.01C2767.02,2226.01 2756.66,2224.08 2747.07,2220.55L2747.07,2292.85C2747.07,2344.28 2707.15,2386.03 2657.98,2386.03C2657.98,2386.03 2596.46,2386.03 2596.46,2386.03C2547.29,2386.03 2507.37,2344.28 2507.37,2292.85L2507.37,1898.5L1035.94,1898.5L1035.94,2292.85C1035.94,2344.28 996.017,2386.03 946.847,2386.03C946.847,2386.03 885.331,2386.03 885.331,2386.03C836.16,2386.03 796.24,2344.28 796.24,2292.85L796.24,2220.55C786.651,2224.08 776.29,2226.01 765.482,2226.01L703.967,2226.01C654.796,2226.01 614.876,2186.09 614.876,2136.92L614.876,2015.99C609.801,2017.04 604.539,2017.6 599.144,2017.6C599.144,2017.6 548.003,2017.6 548.003,2017.6C507.125,2017.6 473.937,1985.72 473.937,1946.44C473.937,1946.44 473.937,1596.86 473.937,1596.86C473.937,1557.59 507.125,1525.71 548.003,1525.71L599.144,1525.71C604.539,1525.71 609.801,1526.26 614.876,1527.32L614.876,1406.38C614.876,1357.21 654.796,1317.29 703.967,1317.29C703.967,1317.29 765.482,1317.29 765.482,1317.29C776.29,1317.29 786.651,1319.22 796.24,1322.76ZM977.604,1250.45C977.604,1232.7 963.822,1218.29 946.847,1218.29L885.331,1218.29C868.355,1218.29 854.573,1232.7 854.573,1250.45L854.573,2292.85C854.573,2310.61 868.355,2325.02 885.331,2325.02L946.847,2325.02C963.822,2325.02 977.604,2310.61 977.604,2292.85L977.604,1250.45ZM2565.7,1250.45C2565.7,1232.7 2579.49,1218.29 2596.46,1218.29L2657.98,1218.29C2674.95,1218.29 2688.73,1232.7 2688.73,1250.45L2688.73,2292.85C2688.73,2310.61 2674.95,2325.02 2657.98,2325.02L2596.46,2325.02C2579.49,2325.02 2565.7,2310.61 2565.7,2292.85L2565.7,1250.45ZM673.209,1406.38L673.209,2136.92C673.209,2153.9 686.991,2167.68 703.967,2167.68L765.482,2167.68C782.458,2167.68 796.24,2153.9 796.24,2136.92L796.24,1406.38C796.24,1389.41 782.458,1375.63 765.482,1375.63L703.967,1375.63C686.991,1375.63 673.209,1389.41 673.209,1406.38ZM2870.1,1406.38L2870.1,2136.92C2870.1,2153.9 2856.32,2167.68 2839.34,2167.68L2777.83,2167.68C2760.85,2167.68 2747.07,2153.9 2747.07,2136.92L2747.07,1406.38C2747.07,1389.41 2760.85,1375.63 2777.83,1375.63L2839.34,1375.63C2856.32,1375.63 2870.1,1389.41 2870.1,1406.38ZM614.876,1577.5C610.535,1574.24 605.074,1572.3 599.144,1572.3L548.003,1572.3C533.89,1572.3 522.433,1583.3 522.433,1596.86L522.433,1946.44C522.433,1960 533.89,1971.01 548.003,1971.01L599.144,1971.01C605.074,1971.01 610.535,1969.07 614.876,1965.81L614.876,1577.5ZM2928.43,1965.81L2928.43,1577.5C2932.77,1574.24 2938.23,1572.3 2944.16,1572.3L2995.3,1572.3C3009.42,1572.3 3020.87,1583.3 3020.87,1596.86L3020.87,1946.44C3020.87,1960 3009.42,1971.01 2995.3,1971.01L2944.16,1971.01C2938.23,1971.01 2932.77,1969.07 2928.43,1965.81ZM2507.37,1703.14L1035.94,1703.14L1035.94,1840.16L2507.37,1840.16L2507.37,1898.38L2507.37,1659.46L2507.37,1703.14Z"})}),o_e=yt({displayName:"UnifiedCanvasIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 -0,515.578 -0,770.787L-0,2766.03C-0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM922.933,3113.01L462.407,3113.01C437.741,3113.01 413.674,3110.43 390.453,3105.52L390.453,2899.11L922.933,2899.11L922.933,3113.01ZM947.933,2899.11L947.933,3113.01L1480.41,3113.01L1480.41,2899.11L947.933,2899.11ZM1505.41,2899.11L1505.41,3113.01L2037.89,3113.01L2037.89,2899.11L1505.41,2899.11ZM2062.89,2899.11L2062.89,3113.01L2595.37,3113.01L2595.37,2899.11L2062.89,2899.11ZM3152.85,3105.52C3129.63,3110.43 3105.57,3113.01 3080.9,3113.01L2620.37,3113.01L2620.37,2899.11L3152.85,2899.11L3152.85,3105.52ZM365.453,3099.26L365.408,3099.24C354.521,3096.07 343.79,3092.37 333.266,3088.14C315.377,3080.95 298.094,3072.26 281.651,3062.2C263.114,3050.85 245.648,3037.77 229.544,3023.17C213.34,3008.49 198.518,2992.28 185.34,2974.83C174.102,2959.94 164.06,2944.16 155.353,2927.66C150.517,2918.5 146.102,2909.13 142.102,2899.57L141.91,2899.11L365.453,2899.11L365.453,3099.26ZM3401.4,2899.11C3361.33,2995.39 3279.12,3069.8 3177.85,3099.26L3177.85,2899.11L3401.4,2899.11ZM132.624,2874.11C121.465,2840.08 115.431,2803.76 115.431,2766.03L115.431,2341.63L365.453,2341.63L365.453,2874.11L132.624,2874.11ZM922.933,918.103L922.933,669.193L390.453,669.193L390.453,1201.67L731.014,1201.67L731.014,1226.67L390.453,1226.67L390.453,1759.15L731.014,1759.15L731.014,1784.15L390.453,1784.15L390.453,2316.63L731.014,2316.63L731.014,2341.63L390.453,2341.63L390.453,2874.11L922.933,2874.11L922.933,2625.2C931.122,2627.1 939.463,2628.6 947.933,2629.66L947.933,2874.11L1480.41,2874.11L1480.41,2631.62L1505.41,2631.62L1505.41,2874.11L2037.89,2874.11L2037.89,2631.62L2062.89,2631.62L2062.89,2874.11L2595.37,2874.11L2595.37,2629.66C2603.85,2628.6 2612.18,2627.1 2620.37,2625.2L2620.37,2874.11L3152.85,2874.11L3152.85,2341.63L2812.29,2341.63L2812.29,2316.63L3152.85,2316.63L3152.85,1784.15L2812.29,1784.15L2812.29,1759.15L3152.85,1759.15L3152.85,1226.67L2812.29,1226.67L2812.29,1201.67L3152.85,1201.67L3152.85,669.193L2620.37,669.193L2620.37,918.103C2612.18,916.203 2603.84,914.708 2595.37,913.642L2595.37,669.193L2062.89,669.193L2062.89,911.688L2037.89,911.688L2037.89,669.193L1505.41,669.193L1505.41,911.688L1480.41,911.688L1480.41,669.193L947.933,669.193L947.933,913.642C939.462,914.708 931.123,916.203 922.933,918.103ZM3427.88,2341.63L3427.88,2766.03C3427.88,2803.76 3421.84,2840.08 3410.68,2874.11L3177.85,2874.11L3177.85,2341.63L3427.88,2341.63ZM2494.01,2603.04L2524.53,2603.04C2541.26,2603.04 2557.62,2601.44 2573.47,2598.39L2598.02,2593.66L2588.56,2544.56L2564.01,2549.29C2551.23,2551.75 2538.03,2553.04 2524.53,2553.04L2494.01,2553.04L2494.01,2603.04ZM1294.01,2603.04L1394.01,2603.04L1394.01,2553.04L1294.01,2553.04L1294.01,2603.04ZM1894.01,2603.04L1994.01,2603.04L1994.01,2553.04L1894.01,2553.04L1894.01,2603.04ZM2194.01,2603.04L2294.01,2603.04L2294.01,2553.04L2194.01,2553.04L2194.01,2603.04ZM1144.01,2603.04L1244.01,2603.04L1244.01,2553.04L1144.01,2553.04L1144.01,2603.04ZM1444.01,2603.04L1544.01,2603.04L1544.01,2553.04L1444.01,2553.04L1444.01,2603.04ZM1594.01,2603.04L1694.01,2603.04L1694.01,2553.04L1594.01,2553.04L1594.01,2603.04ZM2344.01,2603.04L2444.01,2603.04L2444.01,2553.04L2344.01,2553.04L2344.01,2603.04ZM2044.01,2603.04L2144.01,2603.04L2144.01,2553.04L2044.01,2553.04L2044.01,2603.04ZM994.01,2603.04L1094.01,2603.04L1094.01,2553.04L994.01,2553.04L994.01,2603.04ZM1744.01,2603.04L1844.01,2603.04L1844.01,2553.04L1744.01,2553.04L1744.01,2603.04ZM864.145,2551.46C878.835,2562.5 894.741,2572 911.624,2579.74L934.352,2590.15L955.18,2544.7L932.452,2534.28C918.844,2528.05 906.024,2520.39 894.185,2511.49L874.199,2496.47L844.16,2536.44L864.145,2551.46ZM2674.44,2554.92C2689.46,2544.16 2703.28,2531.82 2715.65,2518.14L2732.42,2499.61L2695.35,2466.06L2678.58,2484.6C2668.59,2495.63 2657.44,2505.59 2645.32,2514.28L2625,2528.84L2654.12,2569.48L2674.44,2554.92ZM865.632,1911.31L1339.59,1374.15L2030.89,2134.59L2392.97,1713.77L2677.68,2017.9L2677.68,2324.93C2677.68,2424.23 2597.06,2504.85 2497.76,2504.85C2497.76,2504.85 1045.55,2504.85 1045.55,2504.85C946.251,2504.85 865.632,2424.23 865.632,2324.93L865.632,1911.31ZM771.251,2417.22C776.455,2435.14 783.552,2452.26 792.313,2468.35L804.27,2490.3L848.18,2466.39L836.223,2444.43C829.171,2431.49 823.457,2417.7 819.268,2403.28L812.297,2379.27L764.28,2393.21L771.251,2417.22ZM2770.36,2422.83C2775.83,2405.47 2779.52,2387.33 2781.2,2368.61L2783.43,2343.71L2733.64,2339.24L2731.4,2364.14C2730.05,2379.21 2727.08,2393.82 2722.67,2407.79L2715.15,2431.63L2762.84,2446.67L2770.36,2422.83ZM761.068,2236.12L761.068,2336.12L811.068,2336.12L811.068,2236.12L761.068,2236.12ZM3177.85,1784.15L3177.85,2316.63L3427.88,2316.63L3427.88,1784.15L3177.85,1784.15ZM115.431,1784.15L115.431,2316.63L365.453,2316.63L365.453,1784.15L115.431,1784.15ZM2782.24,2291.41L2782.24,2191.41L2732.24,2191.41L2732.24,2291.41L2782.24,2291.41ZM761.068,2086.12L761.068,2186.12L811.068,2186.12L811.068,2086.12L761.068,2086.12ZM2782.24,2141.41L2782.24,2041.4L2732.24,2041.4L2732.24,2141.41L2782.24,2141.41ZM761.068,1936.12L761.068,2036.12L811.068,2036.12L811.068,1936.12L761.068,1936.12ZM2782.24,1991.4L2782.24,1891.4L2732.24,1891.4L2732.24,1991.4L2782.24,1991.4ZM761.068,1786.12L761.068,1886.12L811.068,1886.12L811.068,1786.12L761.068,1786.12ZM2782.24,1841.4L2782.24,1741.41L2732.24,1741.41L2732.24,1841.4L2782.24,1841.4ZM3177.85,1226.67L3177.85,1759.15L3427.88,1759.15L3427.88,1226.67L3177.85,1226.67ZM115.431,1226.67L115.431,1759.15L365.453,1759.15L365.453,1226.67L115.431,1226.67ZM761.068,1636.12L761.068,1736.12L811.068,1736.12L811.068,1636.12L761.068,1636.12ZM2782.24,1691.41L2782.24,1591.41L2732.24,1591.41L2732.24,1691.41L2782.24,1691.41ZM761.068,1486.12L761.068,1586.12L811.068,1586.12L811.068,1486.12L761.068,1486.12ZM2203.72,1132.2C2318.18,1132.2 2411.11,1225.13 2411.11,1339.59C2411.11,1454.05 2318.18,1546.98 2203.72,1546.98C2089.26,1546.98 1996.33,1454.05 1996.33,1339.59C1996.33,1225.13 2089.26,1132.2 2203.72,1132.2ZM2782.24,1541.41L2782.24,1441.41L2732.24,1441.41L2732.24,1541.41L2782.24,1541.41ZM761.068,1336.12L761.068,1436.12L811.068,1436.12L811.068,1336.12L761.068,1336.12ZM2782.24,1391.41L2782.24,1291.41L2732.24,1291.41L2732.24,1391.41L2782.24,1391.41ZM761.068,1186.12L761.068,1286.12L811.068,1286.12L811.068,1186.12L761.068,1186.12ZM2732.24,1197.98L2732.24,1241.41L2782.24,1241.41L2782.24,1172.98L2781.03,1172.98C2780.06,1162.82 2778.49,1152.83 2776.36,1143.04L2771.04,1118.62L2722.18,1129.24L2727.5,1153.67C2730.61,1167.95 2732.24,1182.78 2732.24,1197.98ZM3412.74,669.193L3412.89,669.694C3414.66,675.5 3416.28,681.348 3417.73,687.238C3420.46,698.265 3422.65,709.427 3424.28,720.67C3425.85,731.554 3426.91,742.513 3427.45,753.497C3427.74,759.256 3427.87,765.021 3427.88,770.787L3427.88,1201.67L3177.85,1201.67L3177.85,669.193L3412.74,669.193ZM115.431,1201.67L115.431,770.787C115.436,765.021 115.572,759.256 115.855,753.497C116.395,742.513 117.453,731.554 119.031,720.67C120.66,709.427 122.844,698.265 125.574,687.238C127.032,681.348 128.65,675.5 130.414,669.694L130.567,669.193L365.453,669.193L365.453,1201.67L115.431,1201.67ZM804.386,1055C794.186,1070.26 785.572,1086.67 778.777,1103.99L769.647,1127.26L816.194,1145.52L825.324,1122.25C830.797,1108.3 837.738,1095.08 845.955,1082.79L859.848,1062L818.279,1034.21L804.386,1055ZM2730.5,1043.14C2719.39,1028.39 2706.73,1014.86 2692.77,1002.81L2673.84,986.48L2641.17,1024.34L2660.1,1040.67C2671.37,1050.39 2681.59,1061.31 2690.56,1073.22L2705.6,1093.19L2745.54,1063.11L2730.5,1043.14ZM933.266,954.821C915.698,961.006 898.998,969.041 883.402,978.694L862.144,991.851L888.457,1034.37L909.715,1021.21C922.275,1013.44 935.723,1006.96 949.871,1001.98L973.452,993.681L956.848,946.518L933.266,954.821ZM2596.18,950.378C2578.71,945.327 2560.49,942.072 2541.72,940.832L2516.78,939.183L2513.48,989.074L2538.43,990.723C2553.54,991.722 2568.22,994.341 2582.28,998.409L2606.3,1005.36L2620.19,957.325L2596.18,950.378ZM2165.09,940.265L2065.09,940.265L2065.09,990.265L2165.09,990.265L2165.09,940.265ZM1865.08,940.265L1765.08,940.265L1765.08,990.265L1865.08,990.265L1865.08,940.265ZM1115.08,940.265L1015.08,940.265L1015.08,990.265L1115.08,990.265L1115.08,940.265ZM2015.09,940.265L1915.09,940.265L1915.09,990.265L2015.09,990.265L2015.09,940.265ZM2315.09,940.265L2215.09,940.265L2215.09,990.265L2315.09,990.265L2315.09,940.265ZM1265.08,940.265L1165.08,940.265L1165.08,990.265L1265.08,990.265L1265.08,940.265ZM1415.08,940.265L1315.08,940.265L1315.08,990.265L1415.08,990.265L1415.08,940.265ZM1565.08,940.265L1465.08,940.265L1465.08,990.265L1565.08,990.265L1565.08,940.265ZM1715.08,940.265L1615.08,940.265L1615.08,990.265L1715.08,990.265L1715.08,940.265ZM2465.09,940.265L2365.09,940.265L2365.09,990.265L2465.09,990.265L2465.09,940.265ZM365.453,437.562L365.453,644.193L139.286,644.193C178.303,544.782 261.917,467.677 365.453,437.562ZM922.933,423.812L922.933,644.193L390.453,644.193L390.453,431.295C413.674,426.391 437.741,423.812 462.407,423.812L922.933,423.812ZM947.933,423.812L947.933,644.193L1480.41,644.193L1480.41,423.812L947.933,423.812ZM1505.41,423.812L1505.41,644.193L2037.89,644.193L2037.89,423.812L1505.41,423.812ZM2062.89,423.812L2062.89,644.193L2595.37,644.193L2595.37,423.812L2062.89,423.812ZM2620.37,423.812L3080.9,423.812C3105.57,423.812 3129.63,426.391 3152.85,431.295L3152.85,644.193L2620.37,644.193L2620.37,423.812ZM3177.85,437.562C3281.38,467.669 3365,544.774 3404.02,644.193L3177.85,644.193L3177.85,437.562Z"})}),Qe=Ae((e,t)=>{const{tooltip:n="",styleClass:r,tooltipProps:i,asCheckbox:o,isChecked:a,...s}=e;return y.jsx(uo,{label:n,hasArrow:!0,...i,...i!=null&&i.placement?{placement:i.placement}:{placement:"top"},children:y.jsx(ss,{ref:t,className:r?`invokeai__icon-button ${r}`:"invokeai__icon-button","data-as-checkbox":o,"data-selected":a!==void 0?a:void 0,...s})})}),cr=Ae((e,t)=>{const{children:n,tooltip:r="",tooltipProps:i,styleClass:o,...a}=e;return y.jsx(uo,{label:r,...i,children:y.jsx(as,{ref:t,className:["invokeai__button",o].join(" "),...a,children:n})})}),Zs=e=>{const{triggerComponent:t,children:n,styleClass:r,hasArrow:i=!0,...o}=e;return y.jsxs(ME,{...o,children:[y.jsx(DE,{children:t}),y.jsxs(RE,{className:`invokeai__popover-content ${r}`,children:[i&&y.jsx(IE,{className:"invokeai__popover-arrow"}),n]})]})},Ux=at(e=>e.lightbox,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),pD=/^-?(0\.)?\.?$/,ra=e=>{const{label:t,labelFontSize:n="sm",styleClass:r,isDisabled:i=!1,showStepper:o=!0,width:a,textAlign:s,isInvalid:l,value:u,onChange:d,min:h,max:m,isInteger:v=!0,formControlProps:b,formLabelProps:S,numberInputFieldProps:k,numberInputStepperProps:E,tooltipProps:_,...T}=e,[A,I]=w.useState(String(u));w.useEffect(()=>{!A.match(pD)&&u!==Number(A)&&I(String(u))},[u,A]);const R=j=>{I(j),j.match(pD)||d(v?Math.floor(Number(j)):Number(j))},D=j=>{const z=ke.clamp(v?Math.floor(Number(j.target.value)):Number(j.target.value),h,m);I(String(z)),d(z)};return y.jsx(uo,{..._,children:y.jsxs(dn,{isDisabled:i,isInvalid:l,className:r?`invokeai__number-input-form-control ${r}`:"invokeai__number-input-form-control",...b,children:[t&&y.jsx(kn,{className:"invokeai__number-input-form-label",style:{display:t?"block":"none"},fontSize:n,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",...S,children:t}),y.jsxs(TE,{className:"invokeai__number-input-root",value:A,min:h,max:m,keepWithinRange:!0,clampValueOnBlur:!1,onChange:R,onBlur:D,width:a,...T,children:[y.jsx(LE,{className:"invokeai__number-input-field",textAlign:s,...k}),o&&y.jsxs("div",{className:"invokeai__number-input-stepper",children:[y.jsx(OE,{...E,className:"invokeai__number-input-stepper-button"}),y.jsx(AE,{...E,className:"invokeai__number-input-stepper-button"})]})]})]})})},tl=e=>{const{label:t,isDisabled:n,validValues:r,tooltip:i,tooltipProps:o,size:a="sm",fontSize:s="sm",styleClass:l,...u}=e;return y.jsxs(dn,{isDisabled:n,className:`invokeai__select ${l}`,onClick:d=>{d.stopPropagation(),d.nativeEvent.stopImmediatePropagation(),d.nativeEvent.stopPropagation(),d.nativeEvent.cancelBubble=!0},children:[t&&y.jsx(kn,{className:"invokeai__select-label",fontSize:s,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",children:t}),y.jsx(uo,{label:i,...o,children:y.jsx(zV,{className:"invokeai__select-picker",fontSize:s,size:a,...u,children:r.map(d=>typeof d=="string"||typeof d=="number"?y.jsx("option",{value:d,className:"invokeai__select-option",children:d},d):y.jsx("option",{value:d.value,className:"invokeai__select-option",children:d.key},d.value))})})]})},Fy=e=>e.postprocessing,ir=e=>e.system,a_e=e=>e.system.toastQueue,qG=at(ir,e=>{const{model_list:t}=e,n=ke.reduce(t,(r,i,o)=>(i.status==="active"&&(r=o),r),"");return{...t[n],name:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),s_e=at([Fy,ir],({facetoolStrength:e,facetoolType:t,codeformerFidelity:n},{isGFPGANAvailable:r})=>({facetoolStrength:e,facetoolType:t,codeformerFidelity:n,isGFPGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wP=()=>{const e=Me(),{facetoolStrength:t,facetoolType:n,codeformerFidelity:r,isGFPGANAvailable:i}=he(s_e),o=u=>e(I4(u)),a=u=>e(wU(u)),s=u=>e(R4(u.target.value)),{t:l}=Ve();return y.jsxs(Ge,{direction:"column",gap:2,children:[y.jsx(tl,{label:l("parameters:type"),validValues:a7e.concat(),value:n,onChange:s}),y.jsx(ra,{isDisabled:!i,label:l("parameters:strength"),step:.05,min:0,max:1,onChange:o,value:t,width:"90px",isInteger:!1}),n==="codeformer"&&y.jsx(ra,{isDisabled:!i,label:l("parameters:codeformerFidelity"),step:.05,min:0,max:1,onChange:a,value:r,width:"90px",isInteger:!1})]})};var YG={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},gD=N.createContext&&N.createContext(YG),Fd=globalThis&&globalThis.__assign||function(){return Fd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{Se(i)},[i]);const Pe=w.useMemo(()=>U!=null&&U.max?U.max:a,[a,U==null?void 0:U.max]),ye=He=>{l(He)},We=He=>{He.target.value===""&&(He.target.value=String(o));const Be=ke.clamp(S?Math.floor(Number(He.target.value)):Number(fe),o,Pe);l(Be)},De=He=>{Se(He)},ot=()=>{I&&I()};return y.jsxs(dn,{className:z?`invokeai__slider-component ${z}`:"invokeai__slider-component","data-markers":h,style:A?{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"1rem",margin:0,padding:0}:{},...V,children:[y.jsx(kn,{className:"invokeai__slider-component-label",...K,children:r}),y.jsxs(wy,{w:"100%",gap:2,alignItems:"center",children:[y.jsxs(jE,{"aria-label":r,value:i,min:o,max:a,step:s,onChange:ye,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),focusThumbOnChange:!1,isDisabled:D,width:u,...ie,children:[h&&y.jsxs(y.Fragment,{children:[y.jsx(Y9,{value:o,className:"invokeai__slider-mark invokeai__slider-mark-start",ml:m,...te,children:o}),y.jsx(Y9,{value:a,className:"invokeai__slider-mark invokeai__slider-mark-end",ml:v,...te,children:a})]}),y.jsx(QV,{className:"invokeai__slider_track",...q,children:y.jsx(JV,{className:"invokeai__slider_track-filled"})}),y.jsx(uo,{hasArrow:!0,className:"invokeai__slider-component-tooltip",placement:"top",isOpen:t,label:`${i}${d}`,hidden:T,...W,children:y.jsx(ZV,{className:"invokeai__slider-thumb",...$})})]}),b&&y.jsxs(TE,{min:o,max:Pe,step:s,value:fe,onChange:De,onBlur:We,className:"invokeai__slider-number-field",isDisabled:j,...U,children:[y.jsx(LE,{className:"invokeai__slider-number-input",width:k,readOnly:E,minWidth:k,...X}),y.jsxs(RV,{...Z,children:[y.jsx(OE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"}),y.jsx(AE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"})]})]}),_&&y.jsx(Qe,{size:"sm","aria-label":"Reset",tooltip:"Reset",icon:y.jsx(Gx,{}),onClick:ot,isDisabled:R,...Q})]})]})}const g_e=at([Fy,ir],({upscalingLevel:e,upscalingStrength:t,upscalingDenoising:n},{isESRGANAvailable:r})=>({upscalingLevel:e,upscalingDenoising:n,upscalingStrength:t,isESRGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CP=()=>{const e=Me(),{upscalingLevel:t,upscalingStrength:n,upscalingDenoising:r,isESRGANAvailable:i}=he(g_e),{t:o}=Ve(),a=l=>e(d8(Number(l.target.value))),s=l=>e(X5(l));return y.jsxs(Ge,{flexDir:"column",rowGap:"1rem",minWidth:"20rem",children:[y.jsx(tl,{isDisabled:!i,label:o("parameters:scale"),value:t,onChange:a,validValues:o7e}),y.jsx(so,{label:o("parameters:denoisingStrength"),value:r,min:0,max:1,step:.01,onChange:l=>{e(WI(l))},handleReset:()=>e(WI(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i}),y.jsx(so,{label:`${o("parameters:upscale")} ${o("parameters:strength")}`,value:n,min:0,max:1,step:.05,onChange:s,handleReset:()=>e(X5(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i})]})};var m_e=Object.create,ZG=Object.defineProperty,v_e=Object.getOwnPropertyDescriptor,y_e=Object.getOwnPropertyNames,b_e=Object.getPrototypeOf,S_e=Object.prototype.hasOwnProperty,Ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),x_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of y_e(t))!S_e.call(e,i)&&i!==n&&ZG(e,i,{get:()=>t[i],enumerable:!(r=v_e(t,i))||r.enumerable});return e},QG=(e,t,n)=>(n=e!=null?m_e(b_e(e)):{},x_e(t||!e||!e.__esModule?ZG(n,"default",{value:e,enumerable:!0}):n,e)),w_e=Ue((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n}),JG=Ue((e,t)=>{function n(r,i){return r===i||r!==r&&i!==i}t.exports=n}),qx=Ue((e,t)=>{var n=JG();function r(i,o){for(var a=i.length;a--;)if(n(i[a][0],o))return a;return-1}t.exports=r}),C_e=Ue((e,t)=>{var n=qx(),r=Array.prototype,i=r.splice;function o(a){var s=this.__data__,l=n(s,a);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=o}),__e=Ue((e,t)=>{var n=qx();function r(i){var o=this.__data__,a=n(o,i);return a<0?void 0:o[a][1]}t.exports=r}),k_e=Ue((e,t)=>{var n=qx();function r(i){return n(this.__data__,i)>-1}t.exports=r}),E_e=Ue((e,t)=>{var n=qx();function r(i,o){var a=this.__data__,s=n(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=r}),Yx=Ue((e,t)=>{var n=w_e(),r=C_e(),i=__e(),o=k_e(),a=E_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Yx();function r(){this.__data__=new n,this.size=0}t.exports=r}),T_e=Ue((e,t)=>{function n(r){var i=this.__data__,o=i.delete(r);return this.size=i.size,o}t.exports=n}),L_e=Ue((e,t)=>{function n(r){return this.__data__.get(r)}t.exports=n}),A_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),eq=Ue((e,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),pc=Ue((e,t)=>{var n=eq(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();t.exports=i}),_P=Ue((e,t)=>{var n=pc(),r=n.Symbol;t.exports=r}),O_e=Ue((e,t)=>{var n=_P(),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;function s(l){var u=i.call(l,a),d=l[a];try{l[a]=void 0;var h=!0}catch{}var m=o.call(l);return h&&(u?l[a]=d:delete l[a]),m}t.exports=s}),M_e=Ue((e,t)=>{var n=Object.prototype,r=n.toString;function i(o){return r.call(o)}t.exports=i}),Kx=Ue((e,t)=>{var n=_P(),r=O_e(),i=M_e(),o="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;function l(u){return u==null?u===void 0?a:o:s&&s in Object(u)?r(u):i(u)}t.exports=l}),tq=Ue((e,t)=>{function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}t.exports=n}),nq=Ue((e,t)=>{var n=Kx(),r=tq(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!r(u))return!1;var d=n(u);return d==o||d==a||d==i||d==s}t.exports=l}),I_e=Ue((e,t)=>{var n=pc(),r=n["__core-js_shared__"];t.exports=r}),R_e=Ue((e,t)=>{var n=I_e(),r=function(){var o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!r&&r in o}t.exports=i}),rq=Ue((e,t)=>{var n=Function.prototype,r=n.toString;function i(o){if(o!=null){try{return r.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}),D_e=Ue((e,t)=>{var n=nq(),r=R_e(),i=tq(),o=rq(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,h=u.hasOwnProperty,m=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(b){if(!i(b)||r(b))return!1;var S=n(b)?m:s;return S.test(o(b))}t.exports=v}),N_e=Ue((e,t)=>{function n(r,i){return r==null?void 0:r[i]}t.exports=n}),L0=Ue((e,t)=>{var n=D_e(),r=N_e();function i(o,a){var s=r(o,a);return n(s)?s:void 0}t.exports=i}),kP=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Map");t.exports=i}),Xx=Ue((e,t)=>{var n=L0(),r=n(Object,"create");t.exports=r}),j_e=Ue((e,t)=>{var n=Xx();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}),B_e=Ue((e,t)=>{function n(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}t.exports=n}),$_e=Ue((e,t)=>{var n=Xx(),r="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var l=this.__data__;if(n){var u=l[s];return u===r?void 0:u}return o.call(l,s)?l[s]:void 0}t.exports=a}),F_e=Ue((e,t)=>{var n=Xx(),r=Object.prototype,i=r.hasOwnProperty;function o(a){var s=this.__data__;return n?s[a]!==void 0:i.call(s,a)}t.exports=o}),z_e=Ue((e,t)=>{var n=Xx(),r="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=n&&a===void 0?r:a,this}t.exports=i}),H_e=Ue((e,t)=>{var n=j_e(),r=B_e(),i=$_e(),o=F_e(),a=z_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=H_e(),r=Yx(),i=kP();function o(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=o}),W_e=Ue((e,t)=>{function n(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}t.exports=n}),Zx=Ue((e,t)=>{var n=W_e();function r(i,o){var a=i.__data__;return n(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=r}),U_e=Ue((e,t)=>{var n=Zx();function r(i){var o=n(this,i).delete(i);return this.size-=o?1:0,o}t.exports=r}),G_e=Ue((e,t)=>{var n=Zx();function r(i){return n(this,i).get(i)}t.exports=r}),q_e=Ue((e,t)=>{var n=Zx();function r(i){return n(this,i).has(i)}t.exports=r}),Y_e=Ue((e,t)=>{var n=Zx();function r(i,o){var a=n(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=r}),iq=Ue((e,t)=>{var n=V_e(),r=U_e(),i=G_e(),o=q_e(),a=Y_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Yx(),r=kP(),i=iq(),o=200;function a(s,l){var u=this.__data__;if(u instanceof n){var d=u.__data__;if(!r||d.length{var n=Yx(),r=P_e(),i=T_e(),o=L_e(),a=A_e(),s=K_e();function l(u){var d=this.__data__=new n(u);this.size=d.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l}),Z_e=Ue((e,t)=>{var n="__lodash_hash_undefined__";function r(i){return this.__data__.set(i,n),this}t.exports=r}),Q_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),J_e=Ue((e,t)=>{var n=iq(),r=Z_e(),i=Q_e();function o(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new n;++s{function n(r,i){for(var o=-1,a=r==null?0:r.length;++o{function n(r,i){return r.has(i)}t.exports=n}),oq=Ue((e,t)=>{var n=J_e(),r=eke(),i=tke(),o=1,a=2;function s(l,u,d,h,m,v){var b=d&o,S=l.length,k=u.length;if(S!=k&&!(b&&k>S))return!1;var E=v.get(l),_=v.get(u);if(E&&_)return E==u&&_==l;var T=-1,A=!0,I=d&a?new n:void 0;for(v.set(l,u),v.set(u,l);++T{var n=pc(),r=n.Uint8Array;t.exports=r}),rke=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=n}),ike=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=a}),o}t.exports=n}),oke=Ue((e,t)=>{var n=_P(),r=nke(),i=JG(),o=oq(),a=rke(),s=ike(),l=1,u=2,d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Map]",b="[object Number]",S="[object RegExp]",k="[object Set]",E="[object String]",_="[object Symbol]",T="[object ArrayBuffer]",A="[object DataView]",I=n?n.prototype:void 0,R=I?I.valueOf:void 0;function D(j,z,V,K,te,q,$){switch(V){case A:if(j.byteLength!=z.byteLength||j.byteOffset!=z.byteOffset)return!1;j=j.buffer,z=z.buffer;case T:return!(j.byteLength!=z.byteLength||!q(new r(j),new r(z)));case d:case h:case b:return i(+j,+z);case m:return j.name==z.name&&j.message==z.message;case S:case E:return j==z+"";case v:var U=a;case k:var X=K&l;if(U||(U=s),j.size!=z.size&&!X)return!1;var Z=$.get(j);if(Z)return Z==z;K|=u,$.set(j,z);var W=o(U(j),U(z),K,te,q,$);return $.delete(j),W;case _:if(R)return R.call(j)==R.call(z)}return!1}t.exports=D}),ake=Ue((e,t)=>{function n(r,i){for(var o=-1,a=i.length,s=r.length;++o{var n=Array.isArray;t.exports=n}),ske=Ue((e,t)=>{var n=ake(),r=EP();function i(o,a,s){var l=a(o);return r(o)?l:n(l,s(o))}t.exports=i}),lke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=r==null?0:r.length,s=0,l=[];++o{function n(){return[]}t.exports=n}),cke=Ue((e,t)=>{var n=lke(),r=uke(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),n(a(l),function(u){return o.call(l,u)}))}:r;t.exports=s}),dke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=Array(r);++o{function n(r){return r!=null&&typeof r=="object"}t.exports=n}),fke=Ue((e,t)=>{var n=Kx(),r=Qx(),i="[object Arguments]";function o(a){return r(a)&&n(a)==i}t.exports=o}),hke=Ue((e,t)=>{var n=fke(),r=Qx(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(l){return r(l)&&o.call(l,"callee")&&!a.call(l,"callee")};t.exports=s}),pke=Ue((e,t)=>{function n(){return!1}t.exports=n}),aq=Ue((e,t)=>{var n=pc(),r=pke(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||r;t.exports=u}),gke=Ue((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??n,!!a&&(s=="number"||s!="symbol"&&r.test(o))&&o>-1&&o%1==0&&o{var n=9007199254740991;function r(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}t.exports=r}),mke=Ue((e,t)=>{var n=Kx(),r=sq(),i=Qx(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",S="[object Set]",k="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",I="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",K="[object Uint16Array]",te="[object Uint32Array]",q={};q[A]=q[I]=q[R]=q[D]=q[j]=q[z]=q[V]=q[K]=q[te]=!0,q[o]=q[a]=q[_]=q[s]=q[T]=q[l]=q[u]=q[d]=q[h]=q[m]=q[v]=q[b]=q[S]=q[k]=q[E]=!1;function $(U){return i(U)&&r(U.length)&&!!q[n(U)]}t.exports=$}),vke=Ue((e,t)=>{function n(r){return function(i){return r(i)}}t.exports=n}),yke=Ue((e,t)=>{var n=eq(),r=typeof e=="object"&&e&&!e.nodeType&&e,i=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s}),lq=Ue((e,t)=>{var n=mke(),r=vke(),i=yke(),o=i&&i.isTypedArray,a=o?r(o):n;t.exports=a}),bke=Ue((e,t)=>{var n=dke(),r=hke(),i=EP(),o=aq(),a=gke(),s=lq(),l=Object.prototype,u=l.hasOwnProperty;function d(h,m){var v=i(h),b=!v&&r(h),S=!v&&!b&&o(h),k=!v&&!b&&!S&&s(h),E=v||b||S||k,_=E?n(h.length,String):[],T=_.length;for(var A in h)(m||u.call(h,A))&&!(E&&(A=="length"||S&&(A=="offset"||A=="parent")||k&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,T)))&&_.push(A);return _}t.exports=d}),Ske=Ue((e,t)=>{var n=Object.prototype;function r(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||n;return i===a}t.exports=r}),xke=Ue((e,t)=>{function n(r,i){return function(o){return r(i(o))}}t.exports=n}),wke=Ue((e,t)=>{var n=xke(),r=n(Object.keys,Object);t.exports=r}),Cke=Ue((e,t)=>{var n=Ske(),r=wke(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=a}),_ke=Ue((e,t)=>{var n=nq(),r=sq();function i(o){return o!=null&&r(o.length)&&!n(o)}t.exports=i}),kke=Ue((e,t)=>{var n=bke(),r=Cke(),i=_ke();function o(a){return i(a)?n(a):r(a)}t.exports=o}),Eke=Ue((e,t)=>{var n=ske(),r=cke(),i=kke();function o(a){return n(a,i,r)}t.exports=o}),Pke=Ue((e,t)=>{var n=Eke(),r=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,l,u,d,h,m){var v=u&r,b=n(s),S=b.length,k=n(l),E=k.length;if(S!=E&&!v)return!1;for(var _=S;_--;){var T=b[_];if(!(v?T in l:o.call(l,T)))return!1}var A=m.get(s),I=m.get(l);if(A&&I)return A==l&&I==s;var R=!0;m.set(s,l),m.set(l,s);for(var D=v;++_{var n=L0(),r=pc(),i=n(r,"DataView");t.exports=i}),Lke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Promise");t.exports=i}),Ake=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Set");t.exports=i}),Oke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"WeakMap");t.exports=i}),Mke=Ue((e,t)=>{var n=Tke(),r=kP(),i=Lke(),o=Ake(),a=Oke(),s=Kx(),l=rq(),u="[object Map]",d="[object Object]",h="[object Promise]",m="[object Set]",v="[object WeakMap]",b="[object DataView]",S=l(n),k=l(r),E=l(i),_=l(o),T=l(a),A=s;(n&&A(new n(new ArrayBuffer(1)))!=b||r&&A(new r)!=u||i&&A(i.resolve())!=h||o&&A(new o)!=m||a&&A(new a)!=v)&&(A=function(I){var R=s(I),D=R==d?I.constructor:void 0,j=D?l(D):"";if(j)switch(j){case S:return b;case k:return u;case E:return h;case _:return m;case T:return v}return R}),t.exports=A}),Ike=Ue((e,t)=>{var n=X_e(),r=oq(),i=oke(),o=Pke(),a=Mke(),s=EP(),l=aq(),u=lq(),d=1,h="[object Arguments]",m="[object Array]",v="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function k(E,_,T,A,I,R){var D=s(E),j=s(_),z=D?m:a(E),V=j?m:a(_);z=z==h?v:z,V=V==h?v:V;var K=z==v,te=V==v,q=z==V;if(q&&l(E)){if(!l(_))return!1;D=!0,K=!1}if(q&&!K)return R||(R=new n),D||u(E)?r(E,_,T,A,I,R):i(E,_,z,T,A,I,R);if(!(T&d)){var $=K&&S.call(E,"__wrapped__"),U=te&&S.call(_,"__wrapped__");if($||U){var X=$?E.value():E,Z=U?_.value():_;return R||(R=new n),I(X,Z,T,A,R)}}return q?(R||(R=new n),o(E,_,T,A,I,R)):!1}t.exports=k}),Rke=Ue((e,t)=>{var n=Ike(),r=Qx();function i(o,a,s,l,u){return o===a?!0:o==null||a==null||!r(o)&&!r(a)?o!==o&&a!==a:n(o,a,s,l,i,u)}t.exports=i}),uq=Ue((e,t)=>{var n=Rke();function r(i,o){return n(i,o)}t.exports=r}),Dke=["ctrl","shift","alt","meta","mod"],Nke={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown"};function DC(e,t=","){return typeof e=="string"?e.split(t):e}function u2(e,t="+"){let n=e.toLocaleLowerCase().split(t).map(o=>o.trim()).map(o=>Nke[o]||o),r={alt:n.includes("alt"),ctrl:n.includes("ctrl"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},i=n.filter(o=>!Dke.includes(o));return{...r,keys:i}}function jke(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function Bke(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function $ke(e){return cq(e,["input","textarea","select"])}function cq({target:e},t=!1){let n=e&&e.tagName;return t instanceof Array?Boolean(n&&t&&t.some(r=>r.toLowerCase()===n.toLowerCase())):Boolean(n&&t&&t===!0)}function Fke(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a '),!0):t?e.some(n=>t.includes(n))||e.includes("*"):!0}var zke=(e,t,n)=>{let{alt:r,ctrl:i,meta:o,mod:a,shift:s,keys:l}=t,{altKey:u,ctrlKey:d,metaKey:h,shiftKey:m,key:v,code:b}=e,S=b.toLowerCase().replace("key",""),k=v.toLowerCase();if(u!==r&&k!=="alt"||m!==s&&k!=="shift")return!1;if(a){if(!h&&!d)return!1}else if(h!==o&&S!=="meta"||d!==i&&S!=="ctrl")return!1;return l&&l.length===1&&(l.includes(k)||l.includes(S))?!0:l?l.every(E=>n.has(E)):!l},Hke=w.createContext(void 0),Vke=()=>w.useContext(Hke),Wke=w.createContext({hotkeys:[],enabledScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),Uke=()=>w.useContext(Wke),Gke=QG(uq());function qke(e){let t=w.useRef(void 0);return(0,Gke.default)(t.current,e)||(t.current=e),t.current}var mD=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()};function Je(e,t,n,r){let i=w.useRef(null),{current:o}=w.useRef(new Set),a=n instanceof Array?r instanceof Array?void 0:r:n,s=n instanceof Array?n:r instanceof Array?r:[],l=w.useCallback(t,[...s]),u=qke(a),{enabledScopes:d}=Uke(),h=Vke();return w.useLayoutEffect(()=>{if((u==null?void 0:u.enabled)===!1||!Fke(d,u==null?void 0:u.scopes))return;let m=S=>{var k;if(!($ke(S)&&!cq(S,u==null?void 0:u.enableOnFormTags))){if(i.current!==null&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){mD(S);return}(k=S.target)!=null&&k.isContentEditable&&!(u!=null&&u.enableOnContentEditable)||DC(e,u==null?void 0:u.splitKey).forEach(E=>{var T;let _=u2(E,u==null?void 0:u.combinationKey);if(zke(S,_,o)||(T=_.keys)!=null&&T.includes("*")){if(jke(S,_,u==null?void 0:u.preventDefault),!Bke(S,_,u==null?void 0:u.enabled)){mD(S);return}l(S,_)}})}},v=S=>{o.add(S.key.toLowerCase()),((u==null?void 0:u.keydown)===void 0&&(u==null?void 0:u.keyup)!==!0||u!=null&&u.keydown)&&m(S)},b=S=>{S.key.toLowerCase()!=="meta"?o.delete(S.key.toLowerCase()):o.clear(),u!=null&&u.keyup&&m(S)};return(i.current||document).addEventListener("keyup",b),(i.current||document).addEventListener("keydown",v),h&&DC(e,u==null?void 0:u.splitKey).forEach(S=>h.addHotkey(u2(S,u==null?void 0:u.combinationKey))),()=>{(i.current||document).removeEventListener("keyup",b),(i.current||document).removeEventListener("keydown",v),h&&DC(e,u==null?void 0:u.splitKey).forEach(S=>h.removeHotkey(u2(S,u==null?void 0:u.combinationKey)))}},[e,l,u,d]),i}QG(uq());var D8=new Set;function Yke(e){(Array.isArray(e)?e:[e]).forEach(t=>D8.add(u2(t)))}function Kke(e){(Array.isArray(e)?e:[e]).forEach(t=>{var r;let n=u2(t);for(let i of D8)(r=i.keys)!=null&&r.every(o=>{var a;return(a=n.keys)==null?void 0:a.includes(o)})&&D8.delete(i)})}window.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keydown",e=>{Yke(e.key)}),document.addEventListener("keyup",e=>{Kke(e.key)})});function Xke(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}}]})(e)}function Zke(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(e)}function Qke(e){return gt({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}]})(e)}function dq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}]})(e)}function fq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}]})(e)}function Jke(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}]})(e)}function eEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}]})(e)}function hq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}]})(e)}function tEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}]})(e)}function nEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}]})(e)}function PP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function pq(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"}}]})(e)}function o0(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"}}]})(e)}function gq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z"}}]})(e)}function rEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}]})(e)}function TP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function mq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z"}}]})(e)}function iEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z"}}]})(e)}function oEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"}}]})(e)}function vq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M50.75 333.25c-12 12-18.75 28.28-18.75 45.26V424L0 480l32 32 56-32h45.49c16.97 0 33.25-6.74 45.25-18.74l126.64-126.62-128-128L50.75 333.25zM483.88 28.12c-37.47-37.5-98.28-37.5-135.75 0l-77.09 77.09-13.1-13.1c-9.44-9.44-24.65-9.31-33.94 0l-40.97 40.97c-9.37 9.37-9.37 24.57 0 33.94l161.94 161.94c9.44 9.44 24.65 9.31 33.94 0L419.88 288c9.37-9.37 9.37-24.57 0-33.94l-13.1-13.1 77.09-77.09c37.51-37.48 37.51-98.26.01-135.75z"}}]})(e)}function aEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"}}]})(e)}function sEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"}}]})(e)}function yq(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M512 320s-64 92.65-64 128c0 35.35 28.66 64 64 64s64-28.65 64-64-64-128-64-128zm-9.37-102.94L294.94 9.37C288.69 3.12 280.5 0 272.31 0s-16.38 3.12-22.62 9.37l-81.58 81.58L81.93 4.76c-6.25-6.25-16.38-6.25-22.62 0L36.69 27.38c-6.24 6.25-6.24 16.38 0 22.62l86.19 86.18-94.76 94.76c-37.49 37.48-37.49 98.26 0 135.75l117.19 117.19c18.74 18.74 43.31 28.12 67.87 28.12 24.57 0 49.13-9.37 67.87-28.12l221.57-221.57c12.5-12.5 12.5-32.75.01-45.25zm-116.22 70.97H65.93c1.36-3.84 3.57-7.98 7.43-11.83l13.15-13.15 81.61-81.61 58.6 58.6c12.49 12.49 32.75 12.49 45.24 0s12.49-32.75 0-45.24l-58.6-58.6 58.95-58.95 162.44 162.44-48.34 48.34z"}}]})(e)}function lEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.3.9 9 8.5 4.4 13.1z"}}]})(e)}function uEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"}}]})(e)}function cEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"}}]})(e)}function dEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z"}}]})(e)}function bq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"}}]})(e)}function fEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320.67 64c-442.6 0-357.57 384-158.46 384 39.9 0 77.47-20.69 101.42-55.86l25.73-37.79c15.66-22.99 46.97-22.99 62.63 0l25.73 37.79C401.66 427.31 439.23 448 479.13 448c189.86 0 290.63-384-158.46-384zM184 308.36c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05zm272 0c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05z"}}]})(e)}function hEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function Sq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"}}]})(e)}function pEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(e)}function gEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}}]})(e)}function zy(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function mEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z"}}]})(e)}function vEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z"}}]})(e)}function yEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z"}}]})(e)}function LP(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"}}]})(e)}function bEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M64 96H0c0 123.7 100.3 224 224 224v144c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320C288 196.3 187.7 96 64 96zm384-64c-84.2 0-157.4 46.5-195.7 115.2 27.7 30.2 48.2 66.9 59 107.6C424 243.1 512 147.9 512 32h-64z"}}]})(e)}function SEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"}}]})(e)}function vD(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"}}]})(e)}function AP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z"}}]})(e)}function xEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"}}]})(e)}function vp(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"}}]})(e)}function wEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"}}]})(e)}function Jx(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function CEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function OP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}]})(e)}const sn=e=>e.canvas,Mr=at([sn,Or,ir],(e,t,n)=>e.layerState.stagingArea.images.length>0||t==="unifiedCanvas"&&n.isProcessing),xq=e=>e.canvas.layerState.objects.find(U5),yp=e=>e.gallery,_Ee=at([yp,Ux,Mr,Or],(e,t,n,r)=>{const{categories:i,currentCategory:o,currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,galleryWidth:b,shouldUseSingleGalleryColumn:S}=e,{isLightboxOpen:k}=t;return{currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,galleryGridTemplateColumns:S?"auto":`repeat(auto-fill, minmax(${d}px, auto))`,activeTabName:r,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,images:i[o].images,areMoreImagesAvailable:i[o].areMoreImagesAvailable,currentCategory:o,galleryWidth:b,isLightboxOpen:k,isStaging:n,shouldEnableResize:!(k||r==="unifiedCanvas"&&s),shouldUseSingleGalleryColumn:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kEe=at([yp,ir,Ux,Or],(e,t,n,r)=>({mayDeleteImage:t.isConnected&&!t.isProcessing,galleryImageObjectFit:e.galleryImageObjectFit,galleryImageMinimumWidth:e.galleryImageMinimumWidth,shouldUseSingleGalleryColumn:e.shouldUseSingleGalleryColumn,activeTabName:r,isLightboxOpen:n.isLightboxOpen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EEe=at(ir,e=>{const{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}=e;return{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),nS=w.forwardRef(({image:e,children:t},n)=>{const{isOpen:r,onOpen:i,onClose:o}=Wh(),a=Me(),{shouldConfirmOnDelete:s,isConnected:l,isProcessing:u}=he(EEe),d=w.useRef(null),h=b=>{b.stopPropagation(),s?i():m()},m=()=>{l&&!u&&e&&a(N8e(e)),o()};Je("delete",()=>{s?i():m()},[e,s,l,u]);const v=b=>a(BU(!b.target.checked));return y.jsxs(y.Fragment,{children:[w.cloneElement(t,{onClick:e?h:void 0,ref:n}),y.jsx(OV,{isOpen:r,leastDestructiveRef:d,onClose:o,children:y.jsx(Kd,{children:y.jsxs(MV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:"Delete image"}),y.jsx(n0,{children:y.jsxs(Ge,{direction:"column",gap:5,children:[y.jsx(fn,{children:"Are you sure? Deleted images will be sent to the Bin. You can restore from there if you wish to."}),y.jsx(dn,{children:y.jsxs(Ge,{alignItems:"center",children:[y.jsx(kn,{mb:0,children:"Don't ask me again"}),y.jsx(BE,{checked:!s,onChange:v})]})})]})}),y.jsxs(Sx,{children:[y.jsx(as,{ref:d,onClick:o,className:"modal-close-btn",children:"Cancel"}),y.jsx(as,{colorScheme:"red",onClick:m,ml:3,children:"Delete"})]})]})})})]})});nS.displayName="DeleteImageModal";const PEe=at([ir,yp,Fy,mp,Ux,Or],(e,t,n,r,i,o)=>{const{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u}=e,{upscalingLevel:d,facetoolStrength:h}=n,{isLightboxOpen:m}=i,{shouldShowImageDetails:v}=r,{intermediateImage:b,currentImage:S}=t;return{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u,upscalingLevel:d,facetoolStrength:h,shouldDisableToolbarButtons:Boolean(b)||!S,currentImage:S,shouldShowImageDetails:v,activeTabName:o,isLightboxOpen:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wq=()=>{var z,V,K,te,q,$;const e=Me(),{isProcessing:t,isConnected:n,isGFPGANAvailable:r,isESRGANAvailable:i,upscalingLevel:o,facetoolStrength:a,shouldDisableToolbarButtons:s,shouldShowImageDetails:l,currentImage:u,isLightboxOpen:d,activeTabName:h}=he(PEe),m=Ry(),{t:v}=Ve(),b=()=>{u&&(d&&e(Bm(!1)),e(k0(u)),e(qo("img2img")))},S=async()=>{if(!u)return;const U=await fetch(u.url).then(Z=>Z.blob()),X=[new ClipboardItem({[U.type]:U})];await navigator.clipboard.write(X),m({title:v("toast:imageCopied"),status:"success",duration:2500,isClosable:!0})},k=()=>{navigator.clipboard.writeText(u?window.location.toString()+u.url:"").then(()=>{m({title:v("toast:imageLinkCopied"),status:"success",duration:2500,isClosable:!0})})};Je("shift+i",()=>{u?(b(),m({title:v("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:imageNotLoaded"),description:v("toast:imageNotLoadedDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const E=()=>{var U,X;u&&(u.metadata&&e(sU(u.metadata)),((U=u.metadata)==null?void 0:U.image.type)==="img2img"?e(qo("img2img")):((X=u.metadata)==null?void 0:X.image.type)==="txt2img"&&e(qo("txt2img")))};Je("a",()=>{var U,X;["txt2img","img2img"].includes((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)==null?void 0:X.type)?(E(),m({title:v("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:parametersNotSet"),description:v("toast:parametersNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const _=()=>{u!=null&&u.metadata&&e(Ny(u.metadata.image.seed))};Je("s",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.seed?(_(),m({title:v("toast:seedSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:seedNotSet"),description:v("toast:seedNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const T=()=>{var U,X,Z,W;if((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt){const[Q,ie]=aP((W=(Z=u==null?void 0:u.metadata)==null?void 0:Z.image)==null?void 0:W.prompt);Q&&e(Bx(Q)),e(Q2(ie||""))}};Je("p",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt?(T(),m({title:v("toast:promptSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:promptNotSet"),description:v("toast:promptNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const A=()=>{u&&e(R8e(u))};Je("Shift+U",()=>{i&&!s&&n&&!t&&o?A():m({title:v("toast:upscalingFailed"),status:"error",duration:2500,isClosable:!0})},[u,i,s,n,t,o]);const I=()=>{u&&e(D8e(u))};Je("Shift+R",()=>{r&&!s&&n&&!t&&a?I():m({title:v("toast:faceRestoreFailed"),status:"error",duration:2500,isClosable:!0})},[u,r,s,n,t,a]);const R=()=>e(VU(!l)),D=()=>{u&&(d&&e(Bm(!1)),e(jx(u)),e(vi(!0)),h!=="unifiedCanvas"&&e(qo("unifiedCanvas")),m({title:v("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0}))};Je("i",()=>{u?R():m({title:v("toast:metadataLoadFailed"),status:"error",duration:2500,isClosable:!0})},[u,l]);const j=()=>{e(Bm(!d))};return y.jsxs("div",{className:"current-image-options",children:[y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":`${v("parameters:sendTo")}...`,icon:y.jsx(SEe,{})}),children:y.jsxs("div",{className:"current-image-send-to-popover",children:[y.jsx(cr,{size:"sm",onClick:b,leftIcon:y.jsx(vD,{}),children:v("parameters:sendToImg2Img")}),y.jsx(cr,{size:"sm",onClick:D,leftIcon:y.jsx(vD,{}),children:v("parameters:sendToUnifiedCanvas")}),y.jsx(cr,{size:"sm",onClick:S,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImage")}),y.jsx(cr,{size:"sm",onClick:k,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImageToLink")}),y.jsx(Nh,{download:!0,href:u==null?void 0:u.url,children:y.jsx(cr,{leftIcon:y.jsx(TP,{}),size:"sm",w:"100%",children:v("parameters:downloadImage")})})]})}),y.jsx(Qe,{icon:y.jsx(oEe,{}),tooltip:d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"aria-label":d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"data-selected":d,onClick:j})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{icon:y.jsx(mEe,{}),tooltip:`${v("parameters:usePrompt")} (P)`,"aria-label":`${v("parameters:usePrompt")} (P)`,isDisabled:!((V=(z=u==null?void 0:u.metadata)==null?void 0:z.image)!=null&&V.prompt),onClick:T}),y.jsx(Qe,{icon:y.jsx(bEe,{}),tooltip:`${v("parameters:useSeed")} (S)`,"aria-label":`${v("parameters:useSeed")} (S)`,isDisabled:!((te=(K=u==null?void 0:u.metadata)==null?void 0:K.image)!=null&&te.seed),onClick:_}),y.jsx(Qe,{icon:y.jsx(tEe,{}),tooltip:`${v("parameters:useAll")} (A)`,"aria-label":`${v("parameters:useAll")} (A)`,isDisabled:!["txt2img","img2img"].includes(($=(q=u==null?void 0:u.metadata)==null?void 0:q.image)==null?void 0:$.type),onClick:E})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(lEe,{}),"aria-label":v("parameters:restoreFaces")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(wP,{}),y.jsx(cr,{isDisabled:!r||!u||!(n&&!t)||!a,onClick:I,children:v("parameters:restoreFaces")})]})}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(iEe,{}),"aria-label":v("parameters:upscale")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(CP,{}),y.jsx(cr,{isDisabled:!i||!u||!(n&&!t)||!o,onClick:A,children:v("parameters:upscaleImage")})]})})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(Qe,{icon:y.jsx(pq,{}),tooltip:`${v("parameters:info")} (I)`,"aria-label":`${v("parameters:info")} (I)`,"data-selected":l,onClick:R})}),y.jsx(nS,{image:u,children:y.jsx(Qe,{icon:y.jsx(vp,{}),tooltip:`${v("parameters:deleteImage")} (Del)`,"aria-label":`${v("parameters:deleteImage")} (Del)`,isDisabled:!u||!n||t,style:{backgroundColor:"var(--btn-delete-image)"}})})]})};yt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});yt({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});yt({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});yt({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});yt({displayName:"SunIcon",path:N.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},N.createElement("circle",{cx:"12",cy:"12",r:"5"}),N.createElement("path",{d:"M12 1v2"}),N.createElement("path",{d:"M12 21v2"}),N.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),N.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),N.createElement("path",{d:"M1 12h2"}),N.createElement("path",{d:"M21 12h2"}),N.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),N.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});yt({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});yt({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:N.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});yt({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});yt({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});yt({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});yt({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});yt({displayName:"ViewIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),N.createElement("circle",{cx:"12",cy:"12",r:"2"}))});yt({displayName:"ViewOffIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),N.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});yt({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});var TEe=yt({displayName:"DeleteIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});yt({displayName:"RepeatIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),N.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});yt({displayName:"RepeatClockIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),N.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});var LEe=yt({displayName:"EditIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),N.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});yt({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});yt({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});yt({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});yt({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});yt({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});yt({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});yt({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});yt({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});yt({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});var Cq=yt({displayName:"ExternalLinkIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),N.createElement("path",{d:"M15 3h6v6"}),N.createElement("path",{d:"M10 14L21 3"}))});yt({displayName:"LinkIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),N.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});yt({displayName:"PlusSquareIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),N.createElement("path",{d:"M12 8v8"}),N.createElement("path",{d:"M8 12h8"}))});yt({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});yt({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});yt({displayName:"TimeIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),N.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});yt({displayName:"ArrowRightIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),N.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});yt({displayName:"ArrowLeftIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),N.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});yt({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});yt({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});yt({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});yt({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});yt({displayName:"EmailIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),N.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});yt({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});yt({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});yt({displayName:"SpinnerIcon",path:N.createElement(N.Fragment,null,N.createElement("defs",null,N.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},N.createElement("stop",{stopColor:"currentColor",offset:"0%"}),N.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),N.createElement("g",{transform:"translate(2)",fill:"none"},N.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),N.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),N.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});yt({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});yt({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:N.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});yt({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});yt({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});yt({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});yt({displayName:"InfoOutlineIcon",path:N.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},N.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),N.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),N.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});yt({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});yt({displayName:"QuestionOutlineIcon",path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});yt({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});yt({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});yt({viewBox:"0 0 14 14",path:N.createElement("g",{fill:"currentColor"},N.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});yt({displayName:"MinusIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});yt({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});function AEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M245.09 327.74v-37.32c57.07 0 84.51 13.47 108.58 38.68 5.4 5.65 15 1.32 14.29-6.43-5.45-61.45-34.14-117.09-122.87-117.09v-37.32a8.32 8.32 0 00-14.05-6L146.58 242a8.2 8.2 0 000 11.94L231 333.71a8.32 8.32 0 0014.09-5.97z"}},{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}}]})(e)}const zn=({label:e,value:t,onClick:n,isLink:r,labelPosition:i,withCopy:o=!1})=>y.jsxs(Ge,{gap:2,children:[n&&y.jsx(uo,{label:`Recall ${e}`,children:y.jsx(ss,{"aria-label":"Use this parameter",icon:y.jsx(AEe,{}),size:"xs",variant:"ghost",fontSize:20,onClick:n})}),o&&y.jsx(uo,{label:`Copy ${e}`,children:y.jsx(ss,{"aria-label":`Copy ${e}`,icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(t.toString())})}),y.jsxs(Ge,{direction:i?"column":"row",children:[y.jsxs(fn,{fontWeight:"semibold",whiteSpace:"pre-wrap",pr:2,children:[e,":"]}),r?y.jsxs(Nh,{href:t.toString(),isExternal:!0,wordBreak:"break-all",children:[t.toString()," ",y.jsx(Cq,{mx:"2px"})]}):y.jsx(fn,{overflowY:"scroll",wordBreak:"break-all",children:t.toString()})]})]}),OEe=(e,t)=>e.image.uuid===t.image.uuid,MP=w.memo(({image:e,styleClass:t})=>{var V,K;const n=Me();Je("esc",()=>{n(VU(!1))});const r=((V=e==null?void 0:e.metadata)==null?void 0:V.image)||{},i=e==null?void 0:e.dreamPrompt,{cfg_scale:o,fit:a,height:s,hires_fix:l,init_image_path:u,mask_image_path:d,orig_path:h,perlin:m,postprocessing:v,prompt:b,sampler:S,scale:k,seamless:E,seed:_,steps:T,strength:A,threshold:I,type:R,variations:D,width:j}=r,z=JSON.stringify(e.metadata,null,2);return y.jsx("div",{className:`image-metadata-viewer ${t}`,children:y.jsxs(Ge,{gap:1,direction:"column",width:"100%",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(fn,{fontWeight:"semibold",children:"File:"}),y.jsxs(Nh,{href:e.url,isExternal:!0,maxW:"calc(100% - 3rem)",children:[e.url.length>64?e.url.substring(0,64).concat("..."):e.url,y.jsx(Cq,{mx:"2px"})]})]}),Object.keys(r).length>0?y.jsxs(y.Fragment,{children:[R&&y.jsx(zn,{label:"Generation type",value:R}),((K=e.metadata)==null?void 0:K.model_weights)&&y.jsx(zn,{label:"Model",value:e.metadata.model_weights}),["esrgan","gfpgan"].includes(R)&&y.jsx(zn,{label:"Original image",value:h}),R==="gfpgan"&&A!==void 0&&y.jsx(zn,{label:"Fix faces strength",value:A,onClick:()=>n(I4(A))}),R==="esrgan"&&k!==void 0&&y.jsx(zn,{label:"Upscaling scale",value:k,onClick:()=>n(d8(k))}),R==="esrgan"&&A!==void 0&&y.jsx(zn,{label:"Upscaling strength",value:A,onClick:()=>n(X5(A))}),b&&y.jsx(zn,{label:"Prompt",labelPosition:"top",value:i2(b),onClick:()=>n(Bx(b))}),_!==void 0&&y.jsx(zn,{label:"Seed",value:_,onClick:()=>n(Ny(_))}),I!==void 0&&y.jsx(zn,{label:"Noise Threshold",value:I,onClick:()=>n(yU(I))}),m!==void 0&&y.jsx(zn,{label:"Perlin Noise",value:m,onClick:()=>n(fU(m))}),S&&y.jsx(zn,{label:"Sampler",value:S,onClick:()=>n(hU(S))}),T&&y.jsx(zn,{label:"Steps",value:T,onClick:()=>n(vU(T))}),o!==void 0&&y.jsx(zn,{label:"CFG scale",value:o,onClick:()=>n(lU(o))}),D&&D.length>0&&y.jsx(zn,{label:"Seed-weight pairs",value:K5(D),onClick:()=>n(gU(K5(D)))}),E&&y.jsx(zn,{label:"Seamless",value:E,onClick:()=>n(pU(E))}),l&&y.jsx(zn,{label:"High Resolution Optimization",value:l,onClick:()=>n(lP(l))}),j&&y.jsx(zn,{label:"Width",value:j,onClick:()=>n(bU(j))}),s&&y.jsx(zn,{label:"Height",value:s,onClick:()=>n(uU(s))}),u&&y.jsx(zn,{label:"Initial image",value:u,isLink:!0,onClick:()=>n(k0(u))}),d&&y.jsx(zn,{label:"Mask image",value:d,isLink:!0,onClick:()=>n(dU(d))}),R==="img2img"&&A&&y.jsx(zn,{label:"Image to image strength",value:A,onClick:()=>n(c8(A))}),a&&y.jsx(zn,{label:"Image to image fit",value:a,onClick:()=>n(mU(a))}),v&&v.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Dh,{size:"sm",children:"Postprocessing"}),v.map((te,q)=>{if(te.type==="esrgan"){const{scale:$,strength:U}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Upscale (ESRGAN)`}),y.jsx(zn,{label:"Scale",value:$,onClick:()=>n(d8($))}),y.jsx(zn,{label:"Strength",value:U,onClick:()=>n(X5(U))})]},q)}else if(te.type==="gfpgan"){const{strength:$}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (GFPGAN)`}),y.jsx(zn,{label:"Strength",value:$,onClick:()=>{n(I4($)),n(R4("gfpgan"))}})]},q)}else if(te.type==="codeformer"){const{strength:$,fidelity:U}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (Codeformer)`}),y.jsx(zn,{label:"Strength",value:$,onClick:()=>{n(I4($)),n(R4("codeformer"))}}),U&&y.jsx(zn,{label:"Fidelity",value:U,onClick:()=>{n(wU(U)),n(R4("codeformer"))}})]},q)}})]}),i&&y.jsx(zn,{withCopy:!0,label:"Dream Prompt",value:i}),y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(uo,{label:"Copy metadata JSON",children:y.jsx(ss,{"aria-label":"Copy metadata JSON",icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(z)})}),y.jsx(fn,{fontWeight:"semibold",children:"Metadata JSON:"})]}),y.jsx("div",{className:"image-json-viewer",children:y.jsx("pre",{children:z})})]})]}):y.jsx(cF,{width:"100%",pt:10,children:y.jsx(fn,{fontSize:"lg",fontWeight:"semibold",children:"No metadata available"})})]})})},OEe);MP.displayName="ImageMetadataViewer";const _q=at([yp,mp],(e,t)=>{const{currentCategory:n,currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t,a=e.categories[r?r.category:"result"].images,s=a.findIndex(u=>{var d;return u.uuid===((d=e==null?void 0:e.currentImage)==null?void 0:d.uuid)}),l=a.length;return{imageToDisplay:i||r,isIntermediate:Boolean(i),viewerImageToDisplay:r,currentCategory:n,isOnFirstImage:s===0,isOnLastImage:!isNaN(s)&&s===l-1,shouldShowImageDetails:o,shouldShowPrevImageButton:s===0,shouldShowNextImageButton:!isNaN(s)&&s===l-1}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function MEe(){const e=Me(),{isOnFirstImage:t,isOnLastImage:n,shouldShowImageDetails:r,imageToDisplay:i,isIntermediate:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return y.jsxs("div",{className:"current-image-preview",children:[i&&y.jsx(ZS,{src:i.url,width:i.width,height:i.height,style:{imageRendering:o?"pixelated":"initial"}}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!t&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!n&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),r&&i&&y.jsx(MP,{image:i,styleClass:"current-image-metadata"})]})}var IEe=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof a>"u"?void 0:Number(a)}},FEe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],wD="__resizable_base__",kq=function(e){NEe(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(wD):o.className+=wD,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||jEe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,a=this.resizable.style.position;a!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=a}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&n.propsSize[s].toString().endsWith("%")){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var l=n.getParentSize(),u=Number(n.state[s].toString().replace("px","")),d=u/l[s]*100;return d+"%"}return NC(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?NC(r.width):i("width"),a=r&&typeof r.height<"u"&&!this.state.isResizing?NC(r.height):i("height");return{width:o,height:a}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,a=i&&Ng("left",o),s=i&&Ng("top",o),l,u;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=a?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(n=n&&n"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,v=typeof i.height>"u"||i.height<0?r:i.height,b=l||0,S=u||0;if(s){var k=(m-b)*this.ratio+S,E=(v-b)*this.ratio+S,_=(d-S)/this.ratio+b,T=(h-S)/this.ratio+b,A=Math.max(d,k),I=Math.min(h,E),R=Math.max(m,_),D=Math.min(v,T);n=Wb(n,A,I),r=Wb(r,R,D)}else n=Wb(n,d,h),r=Wb(r,m,v);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),a=o.left,s=o.top,l=o.right,u=o.bottom;this.resizableLeft=a,this.resizableRight=l,this.resizableTop=s,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&BEe(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ub(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var a=this.props.onResizeStart(n,r,this.resizable);if(a===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var u=this.parentNode;if(u){var d=this.window.getComputedStyle(u).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ub(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,a=i.maxHeight,s=i.minWidth,l=i.minHeight,u=Ub(n)?n.touches[0].clientX:n.clientX,d=Ub(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,v=h.original,b=h.width,S=h.height,k=this.getParentSize(),E=$Ee(k,this.window.innerWidth,this.window.innerHeight,o,a,s,l);o=E.maxWidth,a=E.maxHeight,s=E.minWidth,l=E.minHeight;var _=this.calculateNewSizeFromDirection(u,d),T=_.newHeight,A=_.newWidth,I=this.calculateNewMaxFromBoundary(o,a);this.props.snap&&this.props.snap.x&&(A=xD(A,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(T=xD(T,this.props.snap.y,this.props.snapGap));var R=this.calculateNewSizeFromAspectRatio(A,T,{width:I.maxWidth,height:I.maxHeight},{width:s,height:l});if(A=R.newWidth,T=R.newHeight,this.props.grid){var D=SD(A,this.props.grid[0]),j=SD(T,this.props.grid[1]),z=this.props.snapGap||0;A=z===0||Math.abs(D-A)<=z?D:A,T=z===0||Math.abs(j-T)<=z?j:T}var V={width:A-v.width,height:T-v.height};if(b&&typeof b=="string"){if(b.endsWith("%")){var K=A/k.width*100;A=K+"%"}else if(b.endsWith("vw")){var te=A/this.window.innerWidth*100;A=te+"vw"}else if(b.endsWith("vh")){var q=A/this.window.innerHeight*100;A=q+"vh"}}if(S&&typeof S=="string"){if(S.endsWith("%")){var K=T/k.height*100;T=K+"%"}else if(S.endsWith("vw")){var te=T/this.window.innerWidth*100;T=te+"vw"}else if(S.endsWith("vh")){var q=T/this.window.innerHeight*100;T=q+"vh"}}var $={width:this.createSizeForCssProperty(A,"width"),height:this.createSizeForCssProperty(T,"height")};this.flexDir==="row"?$.flexBasis=$.width:this.flexDir==="column"&&($.flexBasis=$.height),Qs.flushSync(function(){r.setState($)}),this.props.onResize&&this.props.onResize(n,m,this.resizable,V)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,a=r.original;if(!(!i||!this.resizable)){var s={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,a=r.handleClasses,s=r.handleWrapperStyle,l=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?w.createElement(DEe,{key:h,direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:a&&a[h]},u&&u[h]?u[h]:null):null});return w.createElement("div",{className:l,style:s},d)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(a,s){return FEe.indexOf(s)!==-1||(a[s]=n.props[s]),a},{}),i=Nl(Nl(Nl({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return w.createElement(o,Nl({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&w.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(w.PureComponent);const er=e=>{const{label:t,styleClass:n,...r}=e;return y.jsx(J$,{className:`invokeai__checkbox ${n}`,...r,children:t})};function Eq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z"}}]})(e)}function Pq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146zm.122 2.112v-.002.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.507 4.507 0 0 0-.288-.076 4.922 4.922 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.924 4.924 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343a1.779 1.779 0 0 0 .062.46z"}}]})(e)}function zEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"}}]})(e)}function HEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}}]})(e)}function VEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function WEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function Tq(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function UEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function GEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function qEe(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function YEe(e,t){e.classList?e.classList.add(t):qEe(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function CD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function KEe(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=CD(e.className,t):e.setAttribute("class",CD(e.className&&e.className.baseVal||"",t))}const _D={disabled:!1},Lq=N.createContext(null);var Aq=function(t){return t.scrollTop},Mv="unmounted",ph="exited",gh="entering",zg="entered",N8="exiting",gc=function(e){yE(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ph,o.appearStatus=gh):l=zg:r.unmountOnExit||r.mountOnEnter?l=Mv:l=ph,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Mv?{status:ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==gh&&a!==zg&&(o=gh):(a===gh||a===zg)&&(o=N8)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===gh){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this);a&&Aq(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ph&&this.setState({status:Mv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[vb.findDOMNode(this),s],u=l[0],d=l[1],h=this.getTimeouts(),m=s?h.appear:h.enter;if(!i&&!a||_D.disabled){this.safeSetState({status:zg},function(){o.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:gh},function(){o.props.onEntering(u,d),o.onTransitionEnd(m,function(){o.safeSetState({status:zg},function(){o.props.onEntered(u,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:vb.findDOMNode(this);if(!o||_D.disabled){this.safeSetState({status:ph},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:N8},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ph},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Mv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=gE(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(Lq.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);gc.contextType=Lq;gc.propTypes={};function jg(){}gc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jg,onEntering:jg,onEntered:jg,onExit:jg,onExiting:jg,onExited:jg};gc.UNMOUNTED=Mv;gc.EXITED=ph;gc.ENTERING=gh;gc.ENTERED=zg;gc.EXITING=N8;const XEe=gc;var ZEe=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return YEe(t,r)})},jC=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return KEe(t,r)})},IP=function(e){yE(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;ab,Object.values(b));return w.createElement(S.Provider,{value:k},v)}function d(h,m){const v=(m==null?void 0:m[e][l])||s,b=w.useContext(v);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const i=()=>{const o=n.map(a=>w.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,QEe(i,...t)]}function QEe(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const h=l(o)[`__scope${u}`];return{...s,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function JEe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Mq(...e){return t=>e.forEach(n=>JEe(n,t))}function fs(...e){return w.useCallback(Mq(...e),e)}const oy=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(tPe);if(o){const a=o.props.children,s=i.map(l=>l===o?w.Children.count(a)>1?w.Children.only(null):w.isValidElement(a)?a.props.children:null:l);return w.createElement(j8,bn({},r,{ref:t}),w.isValidElement(a)?w.cloneElement(a,void 0,s):null)}return w.createElement(j8,bn({},r,{ref:t}),n)});oy.displayName="Slot";const j8=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...nPe(r,n.props),ref:Mq(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});j8.displayName="SlotClone";const ePe=({children:e})=>w.createElement(w.Fragment,null,e);function tPe(e){return w.isValidElement(e)&&e.type===ePe}function nPe(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{o(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const rPe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ac=rPe.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:o,...a}=r,s=o?oy:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,bn({},a,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Iq(e,t){e&&Qs.flushSync(()=>e.dispatchEvent(t))}function Rq(e){const t=e+"CollectionProvider",[n,r]=Hy(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:b,children:S}=v,k=N.useRef(null),E=N.useRef(new Map).current;return N.createElement(i,{scope:b,itemMap:E,collectionRef:k},S)},s=e+"CollectionSlot",l=N.forwardRef((v,b)=>{const{scope:S,children:k}=v,E=o(s,S),_=fs(b,E.collectionRef);return N.createElement(oy,{ref:_},k)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",h=N.forwardRef((v,b)=>{const{scope:S,children:k,...E}=v,_=N.useRef(null),T=fs(b,_),A=o(u,S);return N.useEffect(()=>(A.itemMap.set(_,{ref:_,...E}),()=>void A.itemMap.delete(_))),N.createElement(oy,{[d]:"",ref:T},k)});function m(v){const b=o(e+"CollectionConsumer",v);return N.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const E=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,I)=>E.indexOf(A.ref.current)-E.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},m,r]}const iPe=w.createContext(void 0);function Dq(e){const t=w.useContext(iPe);return e||t||"ltr"}function uu(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function oPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const B8="dismissableLayer.update",aPe="dismissableLayer.pointerDownOutside",sPe="dismissableLayer.focusOutside";let kD;const lPe=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uPe=w.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=w.useContext(lPe),[h,m]=w.useState(null),v=(n=h==null?void 0:h.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,b]=w.useState({}),S=fs(t,j=>m(j)),k=Array.from(d.layers),[E]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=k.indexOf(E),T=h?k.indexOf(h):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,I=T>=_,R=cPe(j=>{const z=j.target,V=[...d.branches].some(K=>K.contains(z));!I||V||(o==null||o(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),D=dPe(j=>{const z=j.target;[...d.branches].some(K=>K.contains(z))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return oPe(j=>{T===d.layers.size-1&&(i==null||i(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),w.useEffect(()=>{if(h)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(kD=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),ED(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=kD)}},[h,v,r,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),ED())},[h,d]),w.useEffect(()=>{const j=()=>b({});return document.addEventListener(B8,j),()=>document.removeEventListener(B8,j)},[]),w.createElement(ac.div,bn({},u,{ref:S,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:rr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:rr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:rr(e.onPointerDownCapture,R.onPointerDownCapture)}))});function cPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let u=function(){Nq(aPe,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function dPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Nq(sPe,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ED(){const e=new CustomEvent(B8);document.dispatchEvent(e)}function Nq(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Iq(i,o):i.dispatchEvent(o)}let BC=0;function fPe(){w.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:PD()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:PD()),BC++,()=>{BC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),BC--}},[])}function PD(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const $C="focusScope.autoFocusOnMount",FC="focusScope.autoFocusOnUnmount",TD={bubbles:!1,cancelable:!0},hPe=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=w.useState(null),u=uu(i),d=uu(o),h=w.useRef(null),m=fs(t,S=>l(S)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let S=function(E){if(v.paused||!s)return;const _=E.target;s.contains(_)?h.current=_:mh(h.current,{select:!0})},k=function(E){v.paused||!s||s.contains(E.relatedTarget)||mh(h.current,{select:!0})};return document.addEventListener("focusin",S),document.addEventListener("focusout",k),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k)}}},[r,s,v.paused]),w.useEffect(()=>{if(s){AD.add(v);const S=document.activeElement;if(!s.contains(S)){const E=new CustomEvent($C,TD);s.addEventListener($C,u),s.dispatchEvent(E),E.defaultPrevented||(pPe(bPe(jq(s)),{select:!0}),document.activeElement===S&&mh(s))}return()=>{s.removeEventListener($C,u),setTimeout(()=>{const E=new CustomEvent(FC,TD);s.addEventListener(FC,d),s.dispatchEvent(E),E.defaultPrevented||mh(S??document.body,{select:!0}),s.removeEventListener(FC,d),AD.remove(v)},0)}}},[s,u,d,v]);const b=w.useCallback(S=>{if(!n&&!r||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,E=document.activeElement;if(k&&E){const _=S.currentTarget,[T,A]=gPe(_);T&&A?!S.shiftKey&&E===A?(S.preventDefault(),n&&mh(T,{select:!0})):S.shiftKey&&E===T&&(S.preventDefault(),n&&mh(A,{select:!0})):E===_&&S.preventDefault()}},[n,r,v.paused]);return w.createElement(ac.div,bn({tabIndex:-1},a,{ref:m,onKeyDown:b}))});function pPe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mh(r,{select:t}),document.activeElement!==n)return}function gPe(e){const t=jq(e),n=LD(t,e),r=LD(t.reverse(),e);return[n,r]}function jq(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function LD(e,t){for(const n of e)if(!mPe(n,{upTo:t}))return n}function mPe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vPe(e){return e instanceof HTMLInputElement&&"select"in e}function mh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&vPe(e)&&t&&e.select()}}const AD=yPe();function yPe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=OD(e,t),e.unshift(t)},remove(t){var n;e=OD(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function OD(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function bPe(e){return e.filter(t=>t.tagName!=="A")}const a0=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:()=>{},SPe=QC["useId".toString()]||(()=>{});let xPe=0;function wPe(e){const[t,n]=w.useState(SPe());return a0(()=>{e||n(r=>r??String(xPe++))},[e]),e||(t?`radix-${t}`:"")}function A0(e){return e.split("-")[0]}function ew(e){return e.split("-")[1]}function O0(e){return["top","bottom"].includes(A0(e))?"x":"y"}function RP(e){return e==="y"?"height":"width"}function MD(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=O0(t),l=RP(s),u=r[l]/2-i[l]/2,d=s==="x";let h;switch(A0(t)){case"top":h={x:o,y:r.y-i.height};break;case"bottom":h={x:o,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(ew(t)){case"start":h[s]-=u*(n&&d?-1:1);break;case"end":h[s]+=u*(n&&d?-1:1)}return h}const CPe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=MD(l,r,s),h=r,m={},v=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=Bq(r),d={x:i,y:o},h=O0(a),m=ew(a),v=RP(h),b=await l.getDimensions(n),S=h==="y"?"top":"left",k=h==="y"?"bottom":"right",E=s.reference[v]+s.reference[h]-d[h]-s.floating[v],_=d[h]-s.reference[h],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let A=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0;A===0&&(A=s.floating[v]);const I=E/2-_/2,R=u[S],D=A-b[v]-u[k],j=A/2-b[v]/2+I,z=$8(R,j,D),V=(m==="start"?u[S]:u[k])>0&&j!==z&&s.reference[v]<=s.floating[v];return{[h]:d[h]-(V?jEPe[t])}function PPe(e,t,n){n===void 0&&(n=!1);const r=ew(e),i=O0(e),o=RP(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=oS(a)),{main:a,cross:oS(a)}}const TPe={start:"end",end:"start"};function RD(e){return e.replace(/start|end/g,t=>TPe[t])}const $q=["top","right","bottom","left"];$q.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const LPe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...b}=e,S=A0(r),k=h||(S===a||!v?[oS(a)]:function(j){const z=oS(j);return[RD(j),z,RD(z)]}(a)),E=[a,...k],_=await iS(t,b),T=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&T.push(_[S]),d){const{main:j,cross:z}=PPe(r,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));T.push(_[j],_[z])}if(A=[...A,{placement:r,overflows:T}],!T.every(j=>j<=0)){var I,R;const j=((I=(R=i.flip)==null?void 0:R.index)!=null?I:0)+1,z=E[j];if(z)return{data:{index:j,overflows:A},reset:{placement:z}};let V="bottom";switch(m){case"bestFit":{var D;const K=(D=A.map(te=>[te,te.overflows.filter(q=>q>0).reduce((q,$)=>q+$,0)]).sort((te,q)=>te[1]-q[1])[0])==null?void 0:D[0].placement;K&&(V=K);break}case"initialPlacement":V=a}if(r!==V)return{reset:{placement:V}}}return{}}}};function DD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ND(e){return $q.some(t=>e[t]>=0)}const APe=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=DD(await iS(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:ND(o)}}}case"escaped":{const o=DD(await iS(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:o,escaped:ND(o)}}}default:return{}}}}},OPe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:s,platform:l,elements:u}=o,d=await(l.isRTL==null?void 0:l.isRTL(u.floating)),h=A0(s),m=ew(s),v=O0(s)==="x",b=["left","top"].includes(h)?-1:1,S=d&&v?-1:1,k=typeof a=="function"?a(o):a;let{mainAxis:E,crossAxis:_,alignmentAxis:T}=typeof k=="number"?{mainAxis:k,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...k};return m&&typeof T=="number"&&(_=m==="end"?-1*T:T),v?{x:_*S,y:E*b}:{x:E*b,y:_*S}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Fq(e){return e==="x"?"y":"x"}const MPe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:k=>{let{x:E,y:_}=k;return{x:E,y:_}}},...l}=e,u={x:n,y:r},d=await iS(t,l),h=O0(A0(i)),m=Fq(h);let v=u[h],b=u[m];if(o){const k=h==="y"?"bottom":"right";v=$8(v+d[h==="y"?"top":"left"],v,v-d[k])}if(a){const k=m==="y"?"bottom":"right";b=$8(b+d[m==="y"?"top":"left"],b,b-d[k])}const S=s.fn({...t,[h]:v,[m]:b});return{...S,data:{x:S.x-n,y:S.y-r}}}}},IPe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,d={x:n,y:r},h=O0(i),m=Fq(h);let v=d[h],b=d[m];const S=typeof s=="function"?s({...o,placement:i}):s,k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(l){const I=h==="y"?"height":"width",R=o.reference[h]-o.floating[I]+k.mainAxis,D=o.reference[h]+o.reference[I]-k.mainAxis;vD&&(v=D)}if(u){var E,_,T,A;const I=h==="y"?"width":"height",R=["top","left"].includes(A0(i)),D=o.reference[m]-o.floating[I]+(R&&(E=(_=a.offset)==null?void 0:_[m])!=null?E:0)+(R?0:k.crossAxis),j=o.reference[m]+o.reference[I]+(R?0:(T=(A=a.offset)==null?void 0:A[m])!=null?T:0)-(R?k.crossAxis:0);bj&&(b=j)}return{[h]:v,[m]:b}}}};function zq(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function mc(e){if(e==null)return window;if(!zq(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vy(e){return mc(e).getComputedStyle(e)}function Xu(e){return zq(e)?"":e?(e.nodeName||"").toLowerCase():""}function Hq(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function cu(e){return e instanceof mc(e).HTMLElement}function Jd(e){return e instanceof mc(e).Element}function DP(e){return typeof ShadowRoot>"u"?!1:e instanceof mc(e).ShadowRoot||e instanceof ShadowRoot}function tw(e){const{overflow:t,overflowX:n,overflowY:r}=Vy(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function RPe(e){return["table","td","th"].includes(Xu(e))}function jD(e){const t=/firefox/i.test(Hq()),n=Vy(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Vq(){return!/^((?!chrome|android).)*safari/i.test(Hq())}const BD=Math.min,c2=Math.max,aS=Math.round;function Zu(e,t,n){var r,i,o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&cu(e)&&(l=e.offsetWidth>0&&aS(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&aS(s.height)/e.offsetHeight||1);const d=Jd(e)?mc(e):window,h=!Vq()&&n,m=(s.left+(h&&(r=(i=d.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,v=(s.top+(h&&(o=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/u,b=s.width/l,S=s.height/u;return{width:b,height:S,top:v,right:m+b,bottom:v+S,left:m,x:m,y:v}}function zd(e){return(t=e,(t instanceof mc(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function nw(e){return Jd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wq(e){return Zu(zd(e)).left+nw(e).scrollLeft}function DPe(e,t,n){const r=cu(t),i=zd(t),o=Zu(e,r&&function(l){const u=Zu(l);return aS(u.width)!==l.offsetWidth||aS(u.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Xu(t)!=="body"||tw(i))&&(a=nw(t)),cu(t)){const l=Zu(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Wq(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Uq(e){return Xu(e)==="html"?e:e.assignedSlot||e.parentNode||(DP(e)?e.host:null)||zd(e)}function $D(e){return cu(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function F8(e){const t=mc(e);let n=$D(e);for(;n&&RPe(n)&&getComputedStyle(n).position==="static";)n=$D(n);return n&&(Xu(n)==="html"||Xu(n)==="body"&&getComputedStyle(n).position==="static"&&!jD(n))?t:n||function(r){let i=Uq(r);for(DP(i)&&(i=i.host);cu(i)&&!["html","body"].includes(Xu(i));){if(jD(i))return i;i=i.parentNode}return null}(e)||t}function FD(e){if(cu(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Zu(e);return{width:t.width,height:t.height}}function Gq(e){const t=Uq(e);return["html","body","#document"].includes(Xu(t))?e.ownerDocument.body:cu(t)&&tw(t)?t:Gq(t)}function sS(e,t){var n;t===void 0&&(t=[]);const r=Gq(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=mc(r),a=i?[o].concat(o.visualViewport||[],tw(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(sS(a))}function zD(e,t,n){return t==="viewport"?rS(function(r,i){const o=mc(r),a=zd(r),s=o.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,h=0;if(s){l=s.width,u=s.height;const m=Vq();(m||!m&&i==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:l,height:u,x:d,y:h}}(e,n)):Jd(t)?function(r,i){const o=Zu(r,!1,i==="fixed"),a=o.top+r.clientTop,s=o.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):rS(function(r){var i;const o=zd(r),a=nw(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=c2(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=c2(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-a.scrollLeft+Wq(r);const h=-a.scrollTop;return Vy(s||o).direction==="rtl"&&(d+=c2(o.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:h}}(zd(e)))}function NPe(e){const t=sS(e),n=["absolute","fixed"].includes(Vy(e).position)&&cu(e)?F8(e):e;return Jd(n)?t.filter(r=>Jd(r)&&function(i,o){const a=o.getRootNode==null?void 0:o.getRootNode();if(i.contains(o))return!0;if(a&&DP(a)){let s=o;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Xu(r)!=="body"):[]}const jPe={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?NPe(t):[].concat(n),r],a=o[0],s=o.reduce((l,u)=>{const d=zD(t,u,i);return l.top=c2(d.top,l.top),l.right=BD(d.right,l.right),l.bottom=BD(d.bottom,l.bottom),l.left=c2(d.left,l.left),l},zD(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=cu(n),o=zd(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Xu(n)!=="body"||tw(o))&&(a=nw(n)),cu(n))){const l=Zu(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Jd,getDimensions:FD,getOffsetParent:F8,getDocumentElement:zd,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:DPe(t,F8(n),r),floating:{...FD(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vy(e).direction==="rtl"};function BPe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,d=l||u?[...Jd(e)?sS(e):[],...sS(t)]:[];d.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;if(a){let b=!0;m=new ResizeObserver(()=>{b||n(),b=!1}),Jd(e)&&!s&&m.observe(e),m.observe(t)}let v=s?Zu(e):null;return s&&function b(){const S=Zu(e);!v||S.x===v.x&&S.y===v.y&&S.width===v.width&&S.height===v.height||n(),v=S,h=requestAnimationFrame(b)}(),n(),()=>{var b;d.forEach(S=>{l&&S.removeEventListener("scroll",n),u&&S.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const $Pe=(e,t,n)=>CPe(e,t,{platform:jPe,...n});var z8=typeof document<"u"?w.useLayoutEffect:w.useEffect;function H8(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!H8(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!H8(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function FPe(e){const t=w.useRef(e);return z8(()=>{t.current=e}),t}function zPe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=w.useRef(null),a=w.useRef(null),s=FPe(i),l=w.useRef(null),[u,d]=w.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[h,m]=w.useState(t);H8(h==null?void 0:h.map(T=>{let{options:A}=T;return A}),t==null?void 0:t.map(T=>{let{options:A}=T;return A}))||m(t);const v=w.useCallback(()=>{!o.current||!a.current||$Pe(o.current,a.current,{middleware:h,placement:n,strategy:r}).then(T=>{b.current&&Qs.flushSync(()=>{d(T)})})},[h,n,r]);z8(()=>{b.current&&v()},[v]);const b=w.useRef(!1);z8(()=>(b.current=!0,()=>{b.current=!1}),[]);const S=w.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&a.current)if(s.current){const T=s.current(o.current,a.current,v);l.current=T}else v()},[v,s]),k=w.useCallback(T=>{o.current=T,S()},[S]),E=w.useCallback(T=>{a.current=T,S()},[S]),_=w.useMemo(()=>({reference:o,floating:a}),[]);return w.useMemo(()=>({...u,update:v,refs:_,reference:k,floating:E}),[u,v,_,k,E])}const HPe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?ID({element:t.current,padding:n}).fn(i):{}:t?ID({element:t,padding:n}).fn(i):{}}}};function VPe(e){const[t,n]=w.useState(void 0);return a0(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const qq="Popper",[NP,Yq]=Hy(qq),[WPe,Kq]=NP(qq),UPe=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return w.createElement(WPe,{scope:t,anchor:r,onAnchorChange:i},n)},GPe="PopperAnchor",qPe=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Kq(GPe,n),a=w.useRef(null),s=fs(t,a);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:w.createElement(ac.div,bn({},i,{ref:s}))}),lS="PopperContent",[YPe,Cze]=NP(lS),[KPe,XPe]=NP(lS,{hasParent:!1,positionUpdateFns:new Set}),ZPe=w.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;const{__scopePopper:d,side:h="bottom",sideOffset:m=0,align:v="center",alignOffset:b=0,arrowPadding:S=0,collisionBoundary:k=[],collisionPadding:E=0,sticky:_="partial",hideWhenDetached:T=!1,avoidCollisions:A=!0,...I}=e,R=Kq(lS,d),[D,j]=w.useState(null),z=fs(t,ae=>j(ae)),[V,K]=w.useState(null),te=VPe(V),q=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,$=(r=te==null?void 0:te.height)!==null&&r!==void 0?r:0,U=h+(v!=="center"?"-"+v:""),X=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Z=Array.isArray(k)?k:[k],W=Z.length>0,Q={padding:X,boundary:Z.filter(JPe),altBoundary:W},{reference:ie,floating:fe,strategy:Se,x:Pe,y:ye,placement:We,middlewareData:De,update:ot}=zPe({strategy:"fixed",placement:U,whileElementsMounted:BPe,middleware:[OPe({mainAxis:m+$,alignmentAxis:b}),A?MPe({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?IPe():void 0,...Q}):void 0,V?HPe({element:V,padding:S}):void 0,A?LPe({...Q}):void 0,eTe({arrowWidth:q,arrowHeight:$}),T?APe({strategy:"referenceHidden"}):void 0].filter(QPe)});a0(()=>{ie(R.anchor)},[ie,R.anchor]);const He=Pe!==null&&ye!==null,[Be,wt]=Xq(We),st=(i=De.arrow)===null||i===void 0?void 0:i.x,mt=(o=De.arrow)===null||o===void 0?void 0:o.y,St=((a=De.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Le,lt]=w.useState();a0(()=>{D&<(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Mt,positionUpdateFns:ut}=XPe(lS,d),_t=!Mt;w.useLayoutEffect(()=>{if(!_t)return ut.add(ot),()=>{ut.delete(ot)}},[_t,ut,ot]),w.useLayoutEffect(()=>{_t&&He&&Array.from(ut).reverse().forEach(ae=>requestAnimationFrame(ae))},[_t,He,ut]);const ln={"data-side":Be,"data-align":wt,...I,ref:z,style:{...I.style,animation:He?void 0:"none",opacity:(s=De.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return w.createElement("div",{ref:fe,"data-radix-popper-content-wrapper":"",style:{position:Se,left:0,top:0,transform:He?`translate3d(${Math.round(Pe)}px, ${Math.round(ye)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Le,["--radix-popper-transform-origin"]:[(l=De.transformOrigin)===null||l===void 0?void 0:l.x,(u=De.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},w.createElement(YPe,{scope:d,placedSide:Be,onArrowChange:K,arrowX:st,arrowY:mt,shouldHideArrow:St},_t?w.createElement(KPe,{scope:d,hasParent:!0,positionUpdateFns:ut},w.createElement(ac.div,ln)):w.createElement(ac.div,ln)))});function QPe(e){return e!==void 0}function JPe(e){return e!==null}const eTe=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;const{placement:s,rects:l,middlewareData:u}=t,h=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=h?0:e.arrowWidth,v=h?0:e.arrowHeight,[b,S]=Xq(s),k={start:"0%",center:"50%",end:"100%"}[S],E=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+m/2,_=((o=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&o!==void 0?o:0)+v/2;let T="",A="";return b==="bottom"?(T=h?k:`${E}px`,A=`${-v}px`):b==="top"?(T=h?k:`${E}px`,A=`${l.floating.height+v}px`):b==="right"?(T=`${-v}px`,A=h?k:`${_}px`):b==="left"&&(T=`${l.floating.width+v}px`,A=h?k:`${_}px`),{data:{x:T,y:A}}}});function Xq(e){const[t,n="center"]=e.split("-");return[t,n]}const tTe=UPe,nTe=qPe,rTe=ZPe;function iTe(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const Zq=e=>{const{present:t,children:n}=e,r=oTe(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=fs(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Zq.displayName="Presence";function oTe(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),a=e?"mounted":"unmounted",[s,l]=iTe(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=qb(r.current);o.current=s==="mounted"?u:"none"},[s]),a0(()=>{const u=r.current,d=i.current;if(d!==e){const m=o.current,v=qb(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),a0(()=>{if(t){const u=h=>{const v=qb(r.current).includes(h.animationName);h.target===t&&v&&Qs.flushSync(()=>l("ANIMATION_END"))},d=h=>{h.target===t&&(o.current=qb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qb(e){return(e==null?void 0:e.animationName)||"none"}function aTe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=sTe({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,s=uu(n),l=w.useCallback(u=>{if(o){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else i(u)},[o,e,i,s]);return[a,l]}function sTe({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=uu(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}const zC="rovingFocusGroup.onEntryFocus",lTe={bubbles:!1,cancelable:!0},jP="RovingFocusGroup",[V8,Qq,uTe]=Rq(jP),[cTe,Jq]=Hy(jP,[uTe]),[dTe,fTe]=cTe(jP),hTe=w.forwardRef((e,t)=>w.createElement(V8.Provider,{scope:e.__scopeRovingFocusGroup},w.createElement(V8.Slot,{scope:e.__scopeRovingFocusGroup},w.createElement(pTe,bn({},e,{ref:t}))))),pTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...d}=e,h=w.useRef(null),m=fs(t,h),v=Dq(o),[b=null,S]=aTe({prop:a,defaultProp:s,onChange:l}),[k,E]=w.useState(!1),_=uu(u),T=Qq(n),A=w.useRef(!1),[I,R]=w.useState(0);return w.useEffect(()=>{const D=h.current;if(D)return D.addEventListener(zC,_),()=>D.removeEventListener(zC,_)},[_]),w.createElement(dTe,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:b,onItemFocus:w.useCallback(D=>S(D),[S]),onItemShiftTab:w.useCallback(()=>E(!0),[]),onFocusableItemAdd:w.useCallback(()=>R(D=>D+1),[]),onFocusableItemRemove:w.useCallback(()=>R(D=>D-1),[])},w.createElement(ac.div,bn({tabIndex:k||I===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{A.current=!0}),onFocus:rr(e.onFocus,D=>{const j=!A.current;if(D.target===D.currentTarget&&j&&!k){const z=new CustomEvent(zC,lTe);if(D.currentTarget.dispatchEvent(z),!z.defaultPrevented){const V=T().filter(U=>U.focusable),K=V.find(U=>U.active),te=V.find(U=>U.id===b),$=[K,te,...V].filter(Boolean).map(U=>U.ref.current);eY($)}}A.current=!1}),onBlur:rr(e.onBlur,()=>E(!1))})))}),gTe="RovingFocusGroupItem",mTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=wPe(),s=fTe(gTe,n),l=s.currentTabStopId===a,u=Qq(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=s;return w.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),w.createElement(V8.ItemSlot,{scope:n,id:a,focusable:r,active:i},w.createElement(ac.span,bn({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:rr(e.onMouseDown,m=>{r?s.onItemFocus(a):m.preventDefault()}),onFocus:rr(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:rr(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){s.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const v=bTe(m,s.orientation,s.dir);if(v!==void 0){m.preventDefault();let S=u().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const k=S.indexOf(m.currentTarget);S=s.loop?STe(S,k+1):S.slice(k+1)}setTimeout(()=>eY(S))}})})))}),vTe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yTe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function bTe(e,t,n){const r=yTe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return vTe[r]}function eY(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function STe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const xTe=hTe,wTe=mTe,CTe=["Enter"," "],_Te=["ArrowDown","PageUp","Home"],tY=["ArrowUp","PageDown","End"],kTe=[..._Te,...tY],rw="Menu",[W8,ETe,PTe]=Rq(rw),[bp,nY]=Hy(rw,[PTe,Yq,Jq]),BP=Yq(),rY=Jq(),[TTe,iw]=bp(rw),[LTe,$P]=bp(rw),ATe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=BP(t),[l,u]=w.useState(null),d=w.useRef(!1),h=uu(o),m=Dq(i);return w.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.createElement(tTe,s,w.createElement(TTe,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:u},w.createElement(LTe,{scope:t,onClose:w.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:m,modal:a},r)))},OTe=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=BP(n);return w.createElement(nTe,bn({},i,r,{ref:t}))}),MTe="MenuPortal",[_ze,ITe]=bp(MTe,{forceMount:void 0}),Hd="MenuContent",[RTe,iY]=bp(Hd),DTe=w.forwardRef((e,t)=>{const n=ITe(Hd,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=iw(Hd,e.__scopeMenu),a=$P(Hd,e.__scopeMenu);return w.createElement(W8.Provider,{scope:e.__scopeMenu},w.createElement(Zq,{present:r||o.open},w.createElement(W8.Slot,{scope:e.__scopeMenu},a.modal?w.createElement(NTe,bn({},i,{ref:t})):w.createElement(jTe,bn({},i,{ref:t})))))}),NTe=w.forwardRef((e,t)=>{const n=iw(Hd,e.__scopeMenu),r=w.useRef(null),i=fs(t,r);return w.useEffect(()=>{const o=r.current;if(o)return HH(o)},[]),w.createElement(oY,bn({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),jTe=w.forwardRef((e,t)=>{const n=iw(Hd,e.__scopeMenu);return w.createElement(oY,bn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),oY=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...b}=e,S=iw(Hd,n),k=$P(Hd,n),E=BP(n),_=rY(n),T=ETe(n),[A,I]=w.useState(null),R=w.useRef(null),D=fs(t,R,S.onContentChange),j=w.useRef(0),z=w.useRef(""),V=w.useRef(0),K=w.useRef(null),te=w.useRef("right"),q=w.useRef(0),$=v?TV:w.Fragment,U=v?{as:oy,allowPinchZoom:!0}:void 0,X=W=>{var Q,ie;const fe=z.current+W,Se=T().filter(He=>!He.disabled),Pe=document.activeElement,ye=(Q=Se.find(He=>He.ref.current===Pe))===null||Q===void 0?void 0:Q.textValue,We=Se.map(He=>He.textValue),De=GTe(We,fe,ye),ot=(ie=Se.find(He=>He.textValue===De))===null||ie===void 0?void 0:ie.ref.current;(function He(Be){z.current=Be,window.clearTimeout(j.current),Be!==""&&(j.current=window.setTimeout(()=>He(""),1e3))})(fe),ot&&setTimeout(()=>ot.focus())};w.useEffect(()=>()=>window.clearTimeout(j.current),[]),fPe();const Z=w.useCallback(W=>{var Q,ie;return te.current===((Q=K.current)===null||Q===void 0?void 0:Q.side)&&YTe(W,(ie=K.current)===null||ie===void 0?void 0:ie.area)},[]);return w.createElement(RTe,{scope:n,searchRef:z,onItemEnter:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),onItemLeave:w.useCallback(W=>{var Q;Z(W)||((Q=R.current)===null||Q===void 0||Q.focus(),I(null))},[Z]),onTriggerLeave:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:w.useCallback(W=>{K.current=W},[])},w.createElement($,U,w.createElement(hPe,{asChild:!0,trapped:i,onMountAutoFocus:rr(o,W=>{var Q;W.preventDefault(),(Q=R.current)===null||Q===void 0||Q.focus()}),onUnmountAutoFocus:a},w.createElement(uPe,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m},w.createElement(xTe,bn({asChild:!0},_,{dir:k.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:W=>{k.isUsingKeyboardRef.current||W.preventDefault()}}),w.createElement(rTe,bn({role:"menu","aria-orientation":"vertical","data-state":VTe(S.open),"data-radix-menu-content":"",dir:k.dir},E,b,{ref:D,style:{outline:"none",...b.style},onKeyDown:rr(b.onKeyDown,W=>{const ie=W.target.closest("[data-radix-menu-content]")===W.currentTarget,fe=W.ctrlKey||W.altKey||W.metaKey,Se=W.key.length===1;ie&&(W.key==="Tab"&&W.preventDefault(),!fe&&Se&&X(W.key));const Pe=R.current;if(W.target!==Pe||!kTe.includes(W.key))return;W.preventDefault();const We=T().filter(De=>!De.disabled).map(De=>De.ref.current);tY.includes(W.key)&&We.reverse(),WTe(We)}),onBlur:rr(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(j.current),z.current="")}),onPointerMove:rr(e.onPointerMove,G8(W=>{const Q=W.target,ie=q.current!==W.clientX;if(W.currentTarget.contains(Q)&&ie){const fe=W.clientX>q.current?"right":"left";te.current=fe,q.current=W.clientX}}))})))))))}),U8="MenuItem",HD="menu.itemSelect",BTe=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=w.useRef(null),a=$P(U8,e.__scopeMenu),s=iY(U8,e.__scopeMenu),l=fs(t,o),u=w.useRef(!1),d=()=>{const h=o.current;if(!n&&h){const m=new CustomEvent(HD,{bubbles:!0,cancelable:!0});h.addEventListener(HD,v=>r==null?void 0:r(v),{once:!0}),Iq(h,m),m.defaultPrevented?u.current=!1:a.onClose()}};return w.createElement($Te,bn({},i,{ref:l,disabled:n,onClick:rr(e.onClick,d),onPointerDown:h=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,h),u.current=!0},onPointerUp:rr(e.onPointerUp,h=>{var m;u.current||(m=h.currentTarget)===null||m===void 0||m.click()}),onKeyDown:rr(e.onKeyDown,h=>{const m=s.searchRef.current!=="";n||m&&h.key===" "||CTe.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}))}),$Te=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=iY(U8,n),s=rY(n),l=w.useRef(null),u=fs(t,l),[d,h]=w.useState(!1),[m,v]=w.useState("");return w.useEffect(()=>{const b=l.current;if(b){var S;v(((S=b.textContent)!==null&&S!==void 0?S:"").trim())}},[o.children]),w.createElement(W8.ItemSlot,{scope:n,disabled:r,textValue:i??m},w.createElement(wTe,bn({asChild:!0},s,{focusable:!r}),w.createElement(ac.div,bn({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:rr(e.onPointerMove,G8(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:rr(e.onPointerLeave,G8(b=>a.onItemLeave(b))),onFocus:rr(e.onFocus,()=>h(!0)),onBlur:rr(e.onBlur,()=>h(!1))}))))}),FTe="MenuRadioGroup";bp(FTe,{value:void 0,onValueChange:()=>{}});const zTe="MenuItemIndicator";bp(zTe,{checked:!1});const HTe="MenuSub";bp(HTe);function VTe(e){return e?"open":"closed"}function WTe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function UTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function GTe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=UTe(e,Math.max(o,0));i.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function qTe(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=d>r&&n<(u-s)*(r-l)/(d-l)+s&&(i=!i)}return i}function YTe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return qTe(n,t)}function G8(e){return t=>t.pointerType==="mouse"?e(t):void 0}const KTe=ATe,XTe=OTe,ZTe=DTe,QTe=BTe,aY="ContextMenu",[JTe,kze]=Hy(aY,[nY]),ow=nY(),[eLe,sY]=JTe(aY),tLe=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:o=!0}=e,[a,s]=w.useState(!1),l=ow(t),u=uu(r),d=w.useCallback(h=>{s(h),u(h)},[u]);return w.createElement(eLe,{scope:t,open:a,onOpenChange:d,modal:o},w.createElement(KTe,bn({},l,{dir:i,open:a,onOpenChange:d,modal:o}),n))},nLe="ContextMenuTrigger",rLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(nLe,n),o=ow(n),a=w.useRef({x:0,y:0}),s=w.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...a.current})}),l=w.useRef(0),u=w.useCallback(()=>window.clearTimeout(l.current),[]),d=h=>{a.current={x:h.clientX,y:h.clientY},i.onOpenChange(!0)};return w.useEffect(()=>u,[u]),w.createElement(w.Fragment,null,w.createElement(XTe,bn({},o,{virtualRef:s})),w.createElement(ac.span,bn({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:rr(e.onContextMenu,h=>{u(),d(h),h.preventDefault()}),onPointerDown:rr(e.onPointerDown,Yb(h=>{u(),l.current=window.setTimeout(()=>d(h),700)})),onPointerMove:rr(e.onPointerMove,Yb(u)),onPointerCancel:rr(e.onPointerCancel,Yb(u)),onPointerUp:rr(e.onPointerUp,Yb(u))})))}),iLe="ContextMenuContent",oLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(iLe,n),o=ow(n),a=w.useRef(!1);return w.createElement(ZTe,bn({},o,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&a.current&&s.preventDefault(),a.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(a.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),aLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=ow(n);return w.createElement(QTe,bn({},i,r,{ref:t}))});function Yb(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const sLe=tLe,lLe=rLe,uLe=oLe,ud=aLe,cLe=(e,t)=>e.image.uuid===t.image.uuid&&e.isSelected===t.isSelected,lY=w.memo(e=>{var te,q,$,U,X,Z,W,Q;const t=Me(),{activeTabName:n,galleryImageObjectFit:r,galleryImageMinimumWidth:i,mayDeleteImage:o,shouldUseSingleGalleryColumn:a}=he(kEe),{image:s,isSelected:l}=e,{url:u,thumbnail:d,uuid:h,metadata:m}=s,[v,b]=w.useState(!1),S=Ry(),{t:k}=Ve(),E=()=>b(!0),_=()=>b(!1),T=()=>{var ie,fe;if(s.metadata){const[Se,Pe]=aP((fe=(ie=s.metadata)==null?void 0:ie.image)==null?void 0:fe.prompt);Se&&t(Bx(Se)),t(Q2(Pe||""))}S({title:k("toast:promptSet"),status:"success",duration:2500,isClosable:!0})},A=()=>{s.metadata&&t(Ny(s.metadata.image.seed)),S({title:k("toast:seedSet"),status:"success",duration:2500,isClosable:!0})},I=()=>{t(k0(s)),n!=="img2img"&&t(qo("img2img")),S({title:k("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})},R=()=>{t(jx(s)),t(Nx()),n!=="unifiedCanvas"&&t(qo("unifiedCanvas")),S({title:k("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0})},D=()=>{m&&t(sU(m)),S({title:k("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})},j=async()=>{var ie;if((ie=m==null?void 0:m.image)!=null&&ie.init_image_path&&(await fetch(m.image.init_image_path)).ok){t(qo("img2img")),t(Zxe(m)),S({title:k("toast:initialImageSet"),status:"success",duration:2500,isClosable:!0});return}S({title:k("toast:initialImageNotSet"),description:k("toast:initialImageNotSetDesc"),status:"error",duration:2500,isClosable:!0})},z=()=>t(jI(s)),V=ie=>{ie.dataTransfer.setData("invokeai/imageUuid",h),ie.dataTransfer.effectAllowed="move"},K=()=>{t(jI(s))};return y.jsxs(sLe,{onOpenChange:ie=>{t(nU(ie))},children:[y.jsx(lLe,{children:y.jsxs(ko,{position:"relative",className:"hoverable-image",onMouseOver:E,onMouseOut:_,userSelect:"none",draggable:!0,onDragStart:V,children:[y.jsx(ZS,{className:"hoverable-image-image",objectFit:a?"contain":r,rounded:"md",src:d||u,loading:"lazy"}),y.jsx("div",{className:"hoverable-image-content",onClick:z,children:l&&y.jsx(Da,{width:"50%",height:"50%",as:PP,className:"hoverable-image-check"})}),v&&i>=64&&y.jsx("div",{className:"hoverable-image-delete-button",children:y.jsx(nS,{image:s,children:y.jsx(ss,{"aria-label":k("parameters:deleteImage"),icon:y.jsx(xEe,{}),size:"xs",variant:"imageHoverIconButton",fontSize:14,isDisabled:!o})})})]},h)}),y.jsxs(uLe,{className:"hoverable-image-context-menu",sticky:"always",onInteractOutside:ie=>{ie.detail.originalEvent.preventDefault()},children:[y.jsx(ud,{onClickCapture:K,children:k("parameters:openInViewer")}),y.jsx(ud,{onClickCapture:T,disabled:((q=(te=s==null?void 0:s.metadata)==null?void 0:te.image)==null?void 0:q.prompt)===void 0,children:k("parameters:usePrompt")}),y.jsx(ud,{onClickCapture:A,disabled:((U=($=s==null?void 0:s.metadata)==null?void 0:$.image)==null?void 0:U.seed)===void 0,children:k("parameters:useSeed")}),y.jsx(ud,{onClickCapture:D,disabled:!["txt2img","img2img"].includes((Z=(X=s==null?void 0:s.metadata)==null?void 0:X.image)==null?void 0:Z.type),children:k("parameters:useAll")}),y.jsx(ud,{onClickCapture:j,disabled:((Q=(W=s==null?void 0:s.metadata)==null?void 0:W.image)==null?void 0:Q.type)!=="img2img",children:k("parameters:useInitImg")}),y.jsx(ud,{onClickCapture:I,children:k("parameters:sendToImg2Img")}),y.jsx(ud,{onClickCapture:R,children:k("parameters:sendToUnifiedCanvas")}),y.jsx(ud,{"data-warning":!0,children:y.jsx(nS,{image:s,children:y.jsx("p",{children:k("parameters:deleteImage")})})})]})]})},cLe);lY.displayName="HoverableImage";const Kb=320,VD=40,dLe={txt2img:{galleryMinWidth:200,galleryMaxWidth:500},img2img:{galleryMinWidth:200,galleryMaxWidth:500},unifiedCanvas:{galleryMinWidth:200,galleryMaxWidth:200},nodes:{galleryMinWidth:200,galleryMaxWidth:500},postprocess:{galleryMinWidth:200,galleryMaxWidth:500},training:{galleryMinWidth:200,galleryMaxWidth:500}},WD=400;function uY(){const e=Me(),{t}=Ve(),{images:n,currentCategory:r,currentImageUuid:i,shouldPinGallery:o,shouldShowGallery:a,galleryScrollPosition:s,galleryImageMinimumWidth:l,galleryGridTemplateColumns:u,activeTabName:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,areMoreImagesAvailable:b,galleryWidth:S,isLightboxOpen:k,isStaging:E,shouldEnableResize:_,shouldUseSingleGalleryColumn:T}=he(_Ee),{galleryMinWidth:A,galleryMaxWidth:I}=k?{galleryMinWidth:WD,galleryMaxWidth:WD}:dLe[d],[R,D]=w.useState(S>=Kb),[j,z]=w.useState(!1),[V,K]=w.useState(0),te=w.useRef(null),q=w.useRef(null),$=w.useRef(null);w.useEffect(()=>{S>=Kb&&D(!1)},[S]);const U=()=>{e(Bxe(!o)),e(vi(!0))},X=()=>{a?W():Z()},Z=()=>{e(Bd(!0)),o&&e(vi(!0))},W=w.useCallback(()=>{e(Bd(!1)),e(nU(!1)),e($xe(q.current?q.current.scrollTop:0)),setTimeout(()=>o&&e(vi(!0)),400)},[e,o]),Q=()=>{e(R8(r))},ie=ye=>{e(rv(ye))},fe=()=>{m||($.current=window.setTimeout(()=>W(),500))},Se=()=>{$.current&&window.clearTimeout($.current)};Je("g",()=>{X()},[a,o]),Je("left",()=>{e(oP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("right",()=>{e(iP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("shift+g",()=>{U()},[o]),Je("esc",()=>{e(Bd(!1))},{enabled:()=>!o,preventDefault:!0},[o]);const Pe=32;return Je("shift+up",()=>{if(l<256){const ye=ke.clamp(l+Pe,32,256);e(rv(ye))}},[l]),Je("shift+down",()=>{if(l>32){const ye=ke.clamp(l-Pe,32,256);e(rv(ye))}},[l]),w.useEffect(()=>{q.current&&(q.current.scrollTop=s)},[s,a]),w.useEffect(()=>{function ye(We){!o&&te.current&&!te.current.contains(We.target)&&W()}return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[W,o]),y.jsx(Oq,{nodeRef:te,in:a||m,unmountOnExit:!0,timeout:200,classNames:"image-gallery-wrapper",children:y.jsxs("div",{className:"image-gallery-wrapper",style:{zIndex:o?1:100},"data-pinned":o,ref:te,onMouseLeave:o?void 0:fe,onMouseEnter:o?void 0:Se,onMouseOver:o?void 0:Se,children:[y.jsxs(kq,{minWidth:A,maxWidth:o?I:window.innerWidth,className:"image-gallery-popup",handleStyles:{left:{width:"15px"}},enable:{left:_},size:{width:S,height:o?"100%":"100vh"},onResizeStart:(ye,We,De)=>{K(De.clientHeight),De.style.height=`${De.clientHeight}px`,o&&(De.style.position="fixed",De.style.right="1rem",z(!0))},onResizeStop:(ye,We,De,ot)=>{const He=o?ke.clamp(Number(S)+ot.width,A,Number(I)):Number(S)+ot.width;e(Hxe(He)),De.removeAttribute("data-resize-alert"),o&&(De.style.position="relative",De.style.removeProperty("right"),De.style.setProperty("height",o?"100%":"100vh"),z(!1),e(vi(!0)))},onResize:(ye,We,De,ot)=>{const He=ke.clamp(Number(S)+ot.width,A,Number(o?I:.95*window.innerWidth));He>=Kb&&!R?D(!0):HeHe-VD&&e(rv(He-VD)),o&&(He>=I?De.setAttribute("data-resize-alert","true"):De.removeAttribute("data-resize-alert")),De.style.height=`${V}px`},children:[y.jsxs("div",{className:"image-gallery-header",children:[y.jsx(oo,{size:"sm",isAttached:!0,variant:"solid",className:"image-gallery-category-btn-group",children:R?y.jsxs(y.Fragment,{children:[y.jsx(cr,{size:"sm","data-selected":r==="result",onClick:()=>e(kb("result")),children:t("gallery:generations")}),y.jsx(cr,{size:"sm","data-selected":r==="user",onClick:()=>e(kb("user")),children:t("gallery:uploads")})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("gallery:showGenerations"),tooltip:t("gallery:showGenerations"),"data-selected":r==="result",icon:y.jsx(uEe,{}),onClick:()=>e(kb("result"))}),y.jsx(Qe,{"aria-label":t("gallery:showUploads"),tooltip:t("gallery:showUploads"),"data-selected":r==="user",icon:y.jsx(CEe,{}),onClick:()=>e(kb("user"))})]})}),y.jsxs("div",{className:"image-gallery-header-right-icons",children:[y.jsx(Zs,{isLazy:!0,trigger:"hover",placement:"left",triggerComponent:y.jsx(Qe,{size:"sm","aria-label":t("gallery:gallerySettings"),icon:y.jsx(OP,{}),className:"image-gallery-icon-btn",cursor:"pointer"}),children:y.jsxs("div",{className:"image-gallery-settings-popover",children:[y.jsxs("div",{children:[y.jsx(so,{value:l,onChange:ie,min:32,max:256,hideTooltip:!0,label:t("gallery:galleryImageSize")}),y.jsx(Qe,{size:"sm","aria-label":t("gallery:galleryImageResetSize"),tooltip:t("gallery:galleryImageResetSize"),onClick:()=>e(rv(64)),icon:y.jsx(Gx,{}),"data-selected":o,styleClass:"image-gallery-icon-btn"})]}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:maintainAspectRatio"),isChecked:h==="contain",onChange:()=>e(Fxe(h==="contain"?"cover":"contain"))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:autoSwitchNewImages"),isChecked:v,onChange:ye=>e(zxe(ye.target.checked))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:singleColumnLayout"),isChecked:T,onChange:ye=>e(Vxe(ye.target.checked))})})]})}),y.jsx(Qe,{size:"sm",className:"image-gallery-icon-btn","aria-label":t("gallery:pinGallery"),tooltip:`${t("gallery:pinGallery")} (Shift+G)`,onClick:U,icon:o?y.jsx(Eq,{}):y.jsx(Pq,{})})]})]}),y.jsx("div",{className:"image-gallery-container",ref:q,children:n.length||b?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"image-gallery",style:{gridTemplateColumns:u},children:n.map(ye=>{const{uuid:We}=ye,De=i===We;return y.jsx(lY,{image:ye,isSelected:De},We)})}),y.jsx(as,{onClick:Q,isDisabled:!b,className:"image-gallery-load-more-btn",children:t(b?"gallery:loadMore":"gallery:allImagesLoaded")})]}):y.jsxs("div",{className:"image-gallery-container-placeholder",children:[y.jsx(Tq,{}),y.jsx("p",{children:t("gallery:noImagesInGallery")})]})})]}),j&&y.jsx("div",{style:{width:`${S}px`,height:"100%"}})]})})}/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -489,7 +489,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var q8=function(e,t){return q8=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},q8(e,t)};function dLe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");q8(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ru=function(){return ru=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=n?(r(o),e.animation=null):e.animation&&(r(u),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function pf(e,t,n,r){var i=PLe(t);if(!(!e.mounted||!i)){var o=e.setTransformState,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=t.scale-s,h=t.positionX-l,m=t.positionY-u;n===0?o(t.scale,t.positionX,t.positionY):dY(e,r,n,function(v){var b=s+d*v,S=l+h*v,k=u+m*v;o(b,S,k)})}}function PLe(e){var t=e.scale,n=e.positionX,r=e.positionY;return!(isNaN(t)||isNaN(n)||isNaN(r))}function TLe(e,t,n){var r=e.offsetWidth,i=e.offsetHeight,o=t.offsetWidth,a=t.offsetHeight,s=o*n,l=a*n,u=r-s,d=i-l;return{wrapperWidth:r,wrapperHeight:i,newContentWidth:s,newDiffWidth:u,newContentHeight:l,newDiffHeight:d}}var LLe=function(e,t,n,r,i,o,a){var s=e>t?n*(a?1:.5):0,l=r>i?o*(a?1:.5):0,u=e-t-s,d=s,h=r-i-l,m=l;return{minPositionX:u,maxPositionX:d,minPositionY:h,maxPositionY:m}},$P=function(e,t){var n=e.wrapperComponent,r=e.contentComponent,i=e.setup.centerZoomedOut;if(!n||!r)throw new Error("Components are not mounted");var o=TLe(n,r,t),a=o.wrapperWidth,s=o.wrapperHeight,l=o.newContentWidth,u=o.newDiffWidth,d=o.newContentHeight,h=o.newDiffHeight,m=LLe(a,l,u,s,d,h,Boolean(i));return m},s0=function(e,t){var n=$P(e,t);return e.bounds=n,n};function ow(e,t,n,r,i,o,a){var s=n.minPositionX,l=n.minPositionY,u=n.maxPositionX,d=n.maxPositionY,h=0,m=0;a&&(h=i,m=o);var v=Y8(e,s-h,u+h,r),b=Y8(t,l-m,d+m,r);return{x:v,y:b}}var Y8=function(e,t,n,r){return r?en?rs(n,2):rs(e,2):rs(e,2)};function aw(e,t,n,r,i,o){var a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=r-s;if(typeof t!="number"||typeof n!="number")return console.error("Mouse X and Y position were not provided!"),{x:l,y:u};var h=l-t*d,m=u-n*d,v=ow(h,m,i,o,0,0,null);return v}function Wy(e,t,n,r,i){var o=i?r:0,a=t-o;return!isNaN(n)&&e>=n?n:!isNaN(t)&&e<=a?a:e}var UD=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,i=e.wrapperComponent,o=t.target,a=i==null?void 0:i.contains(o),s=r&&o&&a;if(!s)return!1;var l=sw(o,n);return!l},GD=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup,i=r.panning.disabled,o=t&&n&&!i;return!!o},ALe=function(e,t){var n=e.transformState,r=n.positionX,i=n.positionY;e.isPanning=!0;var o=t.clientX,a=t.clientY;e.startCoords={x:o-r,y:a-i}},OLe=function(e,t){var n=t.touches,r=e.transformState,i=r.positionX,o=r.positionY;e.isPanning=!0;var a=n.length===1;if(a){var s=n[0].clientX,l=n[0].clientY;e.startCoords={x:s-i,y:l-o}}};function MLe(e){var t=e.transformState,n=t.positionX,r=t.positionY,i=t.scale,o=e.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,u=e.wrapperComponent;if(!(a||!u||!e.bounds)){var d=e.bounds,h=d.maxPositionX,m=d.minPositionX,v=d.maxPositionY,b=d.minPositionY,S=n>h||nv||rh?u.offsetWidth:e.setup.minPositionX||0,_=r>v?u.offsetHeight:e.setup.minPositionY||0,T=aw(e,E,_,i,e.bounds,s||l),A=T.x,I=T.y;return{scale:i,positionX:S?A:n,positionY:k?I:r}}}function ILe(e,t,n,r,i){var o=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,l=e.transformState,u=l.scale,d=l.positionX,h=l.positionY,m=t!==d,v=n!==h,b=!m||!v;if(!(!a||b||!s)){var S=ow(t,n,s,o,r,i,a),k=S.x,E=S.y;e.setTransformState(u,k,E)}}var RLe=function(e,t,n){var r=e.startCoords,i=e.transformState,o=e.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=i.positionX,u=i.positionY;if(!r)return{x:l,y:u};var d=t-r.x,h=n-r.y,m=a?l:d,v=s?u:h;return{x:m,y:v}},lS=function(e,t){var n=e.setup,r=e.transformState,i=r.scale,o=n.minScale;return t>0&&i>=o?t:0},DLe=function(e){var t=e.mounted,n=e.setup,r=n.disabled,i=n.velocityAnimation,o=e.transformState.scale,a=i.disabled,s=!a||o>1||!r||t;return!!s},NLe=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,i=e.setup,o=i.disabled,a=i.velocityAnimation,s=e.transformState.scale,l=a.disabled,u=!l||s>1||!o||t;return!(!u||!n||!r)};function jLe(e,t){var n=e.setup.velocityAnimation,r=n.equalToMove,i=n.animationTime,o=n.sensitivity;return r?i*t*o:i}function qD(e,t,n,r,i,o,a,s,l,u){if(i){if(t>a&&n>a){var d=a+(e-a)*u;return d>l?l:do?o:d}}return r?t:Y8(e,o,a,i)}function BLe(e,t){var n=1;return t?Math.min(n,e.offsetWidth/window.innerWidth):n}function FLe(e,t){var n=DLe(e);if(n){var r=e.lastMousePosition,i=e.velocityTime,o=e.setup,a=e.wrapperComponent,s=o.velocityAnimation.equalToMove,l=Date.now();if(r&&i&&a){var u=BLe(a,s),d=t.x-r.x,h=t.y-r.y,m=d/u,v=h/u,b=l-i,S=d*d+h*h,k=Math.sqrt(S)/b;e.velocity={velocityX:m,velocityY:v,total:k}}e.lastMousePosition=t,e.velocityTime=l}}function $Le(e){var t=e.velocity,n=e.bounds,r=e.setup,i=e.wrapperComponent,o=NLe(e);if(!(!o||!t||!n||!i)){var a=t.velocityX,s=t.velocityY,l=t.total,u=n.maxPositionX,d=n.minPositionX,h=n.maxPositionY,m=n.minPositionY,v=r.limitToBounds,b=r.alignmentAnimation,S=r.zoomAnimation,k=r.panning,E=k.lockAxisY,_=k.lockAxisX,T=S.animationType,A=b.sizeX,I=b.sizeY,R=b.velocityAlignmentTime,D=R,j=jLe(e,l),z=Math.max(j,D),V=lS(e,A),K=lS(e,I),te=V*i.offsetWidth/100,q=K*i.offsetHeight/100,F=u+te,U=d-te,X=h+q,Z=m-q,W=e.transformState,Q=new Date().getTime();dY(e,T,z,function(ie){var fe=e.transformState,Se=fe.scale,Te=fe.positionX,ye=fe.positionY,He=new Date().getTime()-Q,Ne=He/D,tt=uY[b.animationType],_e=1-tt(Math.min(1,Ne)),lt=1-ie,wt=Te+a*lt,ct=ye+s*lt,mt=qD(wt,W.positionX,Te,_,v,d,u,U,F,_e),St=qD(ct,W.positionY,ye,E,v,m,h,Z,X,_e);(Te!==wt||ye!==ct)&&e.setTransformState(Se,mt,St)})}}function YD(e,t){var n=e.transformState.scale;Vl(e),s0(e,n),t.touches?OLe(e,t):ALe(e,t)}function KD(e,t,n){var r=e.startCoords,i=e.setup,o=i.alignmentAnimation,a=o.sizeX,s=o.sizeY;if(r){var l=RLe(e,t,n),u=l.x,d=l.y,h=lS(e,a),m=lS(e,s);FLe(e,{x:u,y:d}),ILe(e,u,d,h,m)}}function zLe(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,i=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var o=r==null?void 0:r.getBoundingClientRect(),a=i==null?void 0:i.getBoundingClientRect(),s=(o==null?void 0:o.width)||0,l=(o==null?void 0:o.height)||0,u=(a==null?void 0:a.width)||0,d=(a==null?void 0:a.height)||0,h=s.1&&h;m?$Le(e):fY(e)}}function fY(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,i=n.alignmentAnimation,o=i.disabled,a=i.sizeX,s=i.sizeY,l=i.animationTime,u=i.animationType,d=o||t=a;if((r>=1||s)&&fY(e),!(m||!i||!e.mounted)){var v=t||i.offsetWidth/2,b=n||i.offsetHeight/2,S=zP(e,a,v,b);S&&pf(e,S,d,h)}}function zP(e,t,n,r){var i=e.setup,o=i.minScale,a=i.maxScale,s=i.limitToBounds,l=Wy(rs(t,2),o,a,0,!1),u=s0(e,l),d=aw(e,n,r,l,u,s),h=d.x,m=d.y;return{scale:l,positionX:h,positionY:m}}var dm={previousScale:1,scale:1,positionX:0,positionY:0},HLe=ru(ru({},dm),{setComponents:function(){},contextInstance:null}),fv={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},pY=function(e){var t,n,r,i;return{previousScale:(t=e.initialScale)!==null&&t!==void 0?t:dm.scale,scale:(n=e.initialScale)!==null&&n!==void 0?n:dm.scale,positionX:(r=e.initialPositionX)!==null&&r!==void 0?r:dm.positionX,positionY:(i=e.initialPositionY)!==null&&i!==void 0?i:dm.positionY}},XD=function(e){var t=ru({},fv);return Object.keys(e).forEach(function(n){var r=typeof e[n]<"u",i=typeof fv[n]<"u";if(i&&r){var o=Object.prototype.toString.call(fv[n]),a=o==="[object Object]",s=o==="[object Array]";a?t[n]=ru(ru({},fv[n]),e[n]):s?t[n]=WD(WD([],fv[n]),e[n]):t[n]=e[n]}}),t},gY=function(e,t,n){var r=e.transformState.scale,i=e.wrapperComponent,o=e.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation,u=l.size;if(!i)throw new Error("Wrapper is not mounted");var d=r*Math.exp(t*n),h=Wy(rs(d,3),s,a,u,!1);return h};function mY(e,t,n,r,i){var o=e.wrapperComponent,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=o.offsetWidth,h=o.offsetHeight,m=(d/2-l)/s,v=(h/2-u)/s,b=gY(e,t,n),S=zP(e,b,m,v);if(!S)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,S,r,i)}function vY(e,t,n){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,a=pY(e.props),s=e.transformState,l=s.scale,u=s.positionX,d=s.positionY;if(i){var h=$P(e,a.scale),m=ow(a.positionX,a.positionY,h,o,0,0,i),v={scale:a.scale,positionX:m.x,positionY:m.y};l===a.scale&&u===a.positionX&&d===a.positionY||pf(e,v,t,n)}}function VLe(e,t,n){var r=e.wrapperComponent,i=e.setup,o=i.limitToBounds,a=i.minScale,s=i.maxScale;if(!r)return dm;var l=r.getBoundingClientRect(),u=WLe(t),d=u.x,h=u.y,m=t.offsetWidth,v=t.offsetHeight,b=r.offsetWidth/m,S=r.offsetHeight/v,k=Wy(n||Math.min(b,S),a,s,0,!1),E=(l.width-m*k)/2,_=(l.height-v*k)/2,T=(l.left-d)*k+E,A=(l.top-h)*k+_,I=$P(e,k),R=ow(T,A,I,o,0,0,r),D=R.x,j=R.y;return{positionX:D,positionY:j,scale:k}}function WLe(e){for(var t=e,n=0,r=0;t;)n+=t.offsetLeft,r+=t.offsetTop,t=t.offsetParent;return{x:n,y:r}}function ULe(e){if(e){if((e==null?void 0:e.offsetWidth)===void 0||(e==null?void 0:e.offsetHeight)===void 0)return console.error("Zoom node is not valid - it must contain offsetWidth and offsetHeight"),!1}else return console.error("Zoom node not found"),!1;return!0}var GLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),mY(e,1,t,n,r)}},qLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),mY(e,-1,t,n,r)}},YLe=function(e){return function(t,n,r,i,o){i===void 0&&(i=300),o===void 0&&(o="easeOut");var a=e.transformState,s=a.positionX,l=a.positionY,u=a.scale,d=e.wrapperComponent,h=e.contentComponent,m=e.setup.disabled;if(!(m||!d||!h)){var v={positionX:isNaN(t)?s:t,positionY:isNaN(n)?l:n,scale:isNaN(r)?u:r};pf(e,v,i,o)}}},KLe=function(e){return function(t,n){t===void 0&&(t=200),n===void 0&&(n="easeOut"),vY(e,t,n)}},XLe=function(e){return function(t,n,r){n===void 0&&(n=200),r===void 0&&(r="easeOut");var i=e.transformState,o=e.wrapperComponent,a=e.contentComponent;if(o&&a){var s=yY(t||i.scale,o,a);pf(e,s,n,r)}}},ZLe=function(e){return function(t,n,r,i){r===void 0&&(r=600),i===void 0&&(i="easeOut"),Vl(e);var o=e.wrapperComponent,a=typeof t=="string"?document.getElementById(t):t;if(o&&ULe(a)&&a&&o.contains(a)){var s=VLe(e,a,n);pf(e,s,r,i)}}},ri=function(e){return{instance:e,state:e.transformState,zoomIn:GLe(e),zoomOut:qLe(e),setTransform:YLe(e),resetTransform:KLe(e),centerView:XLe(e),zoomToElement:ZLe(e)}},zC=!1;function HC(){try{var e={get passive(){return zC=!0,!1}};return e}catch{return zC=!1,zC}}var sw=function(e,t){var n=e.tagName.toUpperCase(),r=t.find(function(o){return o.toUpperCase()===n});if(r)return!0;var i=t.find(function(o){return e.classList.contains(o)});return!!i},ZD=function(e){e&&clearTimeout(e)},QLe=function(e,t,n){return"translate3d("+e+"px, "+t+"px, 0) scale("+n+")"},yY=function(e,t,n){var r=n.offsetWidth*e,i=n.offsetHeight*e,o=(t.offsetWidth-r)/2,a=(t.offsetHeight-i)/2;return{scale:e,positionX:o,positionY:a}},JLe=function(e,t){var n=e.setup.wheel,r=n.disabled,i=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,l=e.isPanning,u=t.target,d=s&&!l&&!r&&u;if(!d||i&&!t.ctrlKey||o&&t.ctrlKey)return!1;var h=sw(u,a);return!h};function eAe(e,t){var n=e?e.deltaY<0?1:-1:0,r=fLe(t,n);return r}function bY(e,t,n){var r=t.getBoundingClientRect(),i=0,o=0;if("clientX"in e)i=(e.clientX-r.left)/n,o=(e.clientY-r.top)/n;else{var a=e.touches[0];i=(a.clientX-r.left)/n,o=(a.clientY-r.top)/n}return(isNaN(i)||isNaN(o))&&console.error("No mouse or touch offset found"),{x:i,y:o}}var tAe=function(e,t,n,r,i){var o=e.transformState.scale,a=e.wrapperComponent,s=e.setup,l=s.maxScale,u=s.minScale,d=s.zoomAnimation,h=d.size,m=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var v=o+t*(o-o*n)*n;if(i)return v;var b=r?!1:!m,S=Wy(rs(v,3),u,l,h,b);return S},nAe=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,i=e.setup,o=i.maxScale,a=i.minScale;return n?ra||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaYt.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY):!1},rAe=function(e,t){var n=e.setup.pinch,r=n.disabled,i=n.excluded,o=e.isInitialized,a=t.target,s=o&&!r&&a;if(!s)return!1;var l=sw(a,i);return!l},iAe=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance,i=n&&!t&&r;return!!i},oAe=function(e,t,n){var r=n.getBoundingClientRect(),i=e.touches,o=rs(i[0].clientX-r.left,5),a=rs(i[0].clientY-r.top,5),s=rs(i[1].clientX-r.left,5),l=rs(i[1].clientY-r.top,5);return{x:(o+s)/2/t,y:(a+l)/2/t}},SY=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},aAe=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,i=e.setup,o=i.maxScale,a=i.minScale,s=i.zoomAnimation,l=s.size,u=s.disabled;if(!n||r===null||!t)throw new Error("Pinch touches distance was not provided");if(t<0)return e.transformState.scale;var d=t/r,h=d*n;return Wy(rs(h,2),a,o,l,!u)},sAe=160,lAe=100,uAe=function(e,t){var n=e.props,r=n.onWheelStart,i=n.onZoomStart;e.wheelStopEventTimer||(Vl(e),Pi(ri(e),t,r),Pi(ri(e),t,i))},cAe=function(e,t){var n=e.props,r=n.onWheel,i=n.onZoom,o=e.contentComponent,a=e.setup,s=e.transformState,l=s.scale,u=a.limitToBounds,d=a.centerZoomedOut,h=a.zoomAnimation,m=a.wheel,v=h.size,b=h.disabled,S=m.step;if(!o)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var k=eAe(t,null),E=tAe(e,k,S,!t.ctrlKey);if(l!==E){var _=s0(e,E),T=bY(t,o,l),A=b||v===0||d,I=u&&A,R=aw(e,T.x,T.y,E,_,I),D=R.x,j=R.y;e.previousWheelEvent=t,e.setTransformState(E,D,j),Pi(ri(e),t,r),Pi(ri(e),t,i)}},dAe=function(e,t){var n=e.props,r=n.onWheelStop,i=n.onZoomStop;ZD(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(hY(e,t.x,t.y),e.wheelAnimationTimer=null)},lAe);var o=nAe(e,t);o&&(ZD(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,Pi(ri(e),t,r),Pi(ri(e),t,i))},sAe))},fAe=function(e,t){var n=SY(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,Vl(e)},hAe=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,i=e.transformState.scale,o=e.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,u=l.disabled,d=l.size;if(!(r===null||!n)){var h=oAe(t,i,n);if(!(!isFinite(h.x)||!isFinite(h.y))){var m=SY(t),v=aAe(e,m);if(v!==i){var b=s0(e,v),S=u||d===0||s,k=a&&S,E=aw(e,h.x,h.y,v,b,k),_=E.x,T=E.y;e.pinchMidpoint=h,e.lastDistance=m,e.setTransformState(v,_,T)}}}},pAe=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,hY(e,t==null?void 0:t.x,t==null?void 0:t.y)};function gAe(e,t){var n=e.setup.doubleClick,r=n.disabled,i=n.mode,o=n.step,a=n.animationTime,s=n.animationType;if(!r){if(i==="reset")return vY(e,a,s);var l=e.transformState.scale,u=e.contentComponent;if(!u)return console.error("No ContentComponent found");var d=i==="zoomOut"?-1:1,h=gY(e,d,o),m=bY(t,u,l),v=zP(e,h,m.x,m.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,v,a,s)}}var mAe=function(e,t){var n=e.isInitialized,r=e.setup,i=e.wrapperComponent,o=r.doubleClick,a=o.disabled,s=o.excluded,l=t.target,u=i==null?void 0:i.contains(l),d=n&&l&&u&&!a;if(!d)return!1;var h=sw(l,s);return!(h||!d)},xY=N.createContext(HLe),vAe=function(e){dLe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mounted=!0,n.transformState=pY(n.props),n.setup=XD(n.props),n.wrapperComponent=null,n.contentComponent=null,n.isInitialized=!1,n.bounds=null,n.previousWheelEvent=null,n.wheelStopEventTimer=null,n.wheelAnimationTimer=null,n.isPanning=!1,n.startCoords=null,n.lastTouch=null,n.distance=null,n.lastDistance=null,n.pinchStartDistance=null,n.pinchStartScale=null,n.pinchMidpoint=null,n.velocity=null,n.velocityTime=null,n.lastMousePosition=null,n.animate=!1,n.animation=null,n.maxBounds=null,n.pressedKeys={},n.handleInitializeWrapperEvents=function(r){var i=HC();r.addEventListener("wheel",n.onWheelZoom,i),r.addEventListener("dblclick",n.onDoubleClick,i),r.addEventListener("touchstart",n.onTouchPanningStart,i),r.addEventListener("touchmove",n.onTouchPanning,i),r.addEventListener("touchend",n.onTouchPanningStop,i)},n.handleInitialize=function(){var r=n.setup.centerOnInit;n.applyTransformation(),n.forceUpdate(),r&&(setTimeout(function(){n.mounted&&n.setCenter()},50),setTimeout(function(){n.mounted&&n.setCenter()},100),setTimeout(function(){n.mounted&&n.setCenter()},200))},n.onWheelZoom=function(r){var i=n.setup.disabled;if(!i){var o=JLe(n,r);if(o){var a=n.isPressingKeys(n.setup.wheel.activationKeys);a&&(uAe(n,r),cAe(n,r),dAe(n,r))}}},n.onPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),Vl(n),YD(n,r),Pi(ri(n),r,o))}}},n.onPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(!i){var a=GD(n);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),KD(n,r.clientX,r.clientY),Pi(ri(n),r,o))}}},n.onPanningStop=function(r){var i=n.props.onPanningStop;n.isPanning&&(zLe(n),Pi(ri(n),r,i))},n.onPinchStart=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinchingStart,s=o.onZoomStart;if(!i){var l=rAe(n,r);l&&(fAe(n,r),Vl(n),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinch=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinching,s=o.onZoom;if(!i){var l=iAe(n);l&&(r.preventDefault(),r.stopPropagation(),hAe(n,r),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinchStop=function(r){var i=n.props,o=i.onPinchingStop,a=i.onZoomStop;n.pinchStartScale&&(pAe(n),Pi(ri(n),r,o),Pi(ri(n),r,a))},n.onTouchPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.lastTouch&&+new Date-n.lastTouch<200;if(s&&r.touches.length===1)n.onDoubleClick(r);else{n.lastTouch=+new Date,Vl(n);var l=r.touches,u=l.length===1,d=l.length===2;u&&(Vl(n),YD(n,r),Pi(ri(n),r,o)),d&&n.onPinchStart(r)}}}},n.onTouchPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(n.isPanning&&r.touches.length===1){if(i)return;var a=GD(n);if(!a)return;r.preventDefault(),r.stopPropagation();var s=r.touches[0];KD(n,s.clientX,s.clientY),Pi(ri(n),r,o)}else r.touches.length>1&&n.onPinch(r)},n.onTouchPanningStop=function(r){n.onPanningStop(r),n.onPinchStop(r)},n.onDoubleClick=function(r){var i=n.setup.disabled;if(!i){var o=mAe(n,r);o&&gAe(n,r)}},n.clearPanning=function(r){n.isPanning&&n.onPanningStop(r)},n.setKeyPressed=function(r){n.pressedKeys[r.key]=!0},n.setKeyUnPressed=function(r){n.pressedKeys[r.key]=!1},n.isPressingKeys=function(r){return r.length?Boolean(r.find(function(i){return n.pressedKeys[i]})):!0},n.setComponents=function(r,i){n.wrapperComponent=r,n.contentComponent=i,s0(n,n.transformState.scale),n.handleInitializeWrapperEvents(r),n.handleInitialize(),n.handleRef(),n.isInitialized=!0,Pi(ri(n),void 0,n.props.onInit)},n.setTransformState=function(r,i,o){!isNaN(r)&&!isNaN(i)&&!isNaN(o)?(r!==n.transformState.scale&&(n.transformState.previousScale=n.transformState.scale,n.transformState.scale=r),n.transformState.positionX=i,n.transformState.positionY=o,n.applyTransformation()):console.error("Detected NaN set state values")},n.setCenter=function(){if(n.wrapperComponent&&n.contentComponent){var r=yY(n.transformState.scale,n.wrapperComponent,n.contentComponent);n.setTransformState(r.scale,r.positionX,r.positionY)}},n.applyTransformation=function(){if(!(!n.mounted||!n.contentComponent)){var r=n.transformState,i=r.scale,o=r.positionX,a=r.positionY,s=QLe(o,a,i);n.contentComponent.style.transform=s,n.handleRef()}},n.handleRef=function(){n.props.setRef(ri(n))},n}return t.prototype.componentDidMount=function(){var n=HC();window.addEventListener("mousedown",this.onPanningStart,n),window.addEventListener("mousemove",this.onPanning,n),window.addEventListener("mouseup",this.onPanningStop,n),document.addEventListener("mouseleave",this.clearPanning,n),window.addEventListener("keyup",this.setKeyUnPressed,n),window.addEventListener("keydown",this.setKeyPressed,n),this.handleRef()},t.prototype.componentWillUnmount=function(){var n=HC();window.removeEventListener("mousedown",this.onPanningStart,n),window.removeEventListener("mousemove",this.onPanning,n),window.removeEventListener("mouseup",this.onPanningStop,n),window.removeEventListener("keyup",this.setKeyUnPressed,n),window.removeEventListener("keydown",this.setKeyPressed,n),Vl(this)},t.prototype.componentDidUpdate=function(n){n!==this.props&&(s0(this,this.transformState.scale),this.setup=XD(this.props))},t.prototype.render=function(){var n=ri(this),r=this.props.children,i=typeof r=="function"?r(n):r;return N.createElement(xY.Provider,{value:ru(ru({},this.transformState),{setComponents:this.setComponents,contextInstance:this})},i)},t}(w.Component),yAe=N.forwardRef(function(e,t){var n=w.useState(null),r=n[0],i=n[1];return w.useImperativeHandle(t,function(){return r},[r]),N.createElement(vAe,ru({},e,{setRef:i}))});function bAe(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var SAe=`.transform-component-module_wrapper__1_Fgj { +***************************************************************************** */var q8=function(e,t){return q8=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},q8(e,t)};function fLe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");q8(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ru=function(){return ru=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=n?(r(o),e.animation=null):e.animation&&(r(u),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function pf(e,t,n,r){var i=TLe(t);if(!(!e.mounted||!i)){var o=e.setTransformState,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=t.scale-s,h=t.positionX-l,m=t.positionY-u;n===0?o(t.scale,t.positionX,t.positionY):fY(e,r,n,function(v){var b=s+d*v,S=l+h*v,k=u+m*v;o(b,S,k)})}}function TLe(e){var t=e.scale,n=e.positionX,r=e.positionY;return!(isNaN(t)||isNaN(n)||isNaN(r))}function LLe(e,t,n){var r=e.offsetWidth,i=e.offsetHeight,o=t.offsetWidth,a=t.offsetHeight,s=o*n,l=a*n,u=r-s,d=i-l;return{wrapperWidth:r,wrapperHeight:i,newContentWidth:s,newDiffWidth:u,newContentHeight:l,newDiffHeight:d}}var ALe=function(e,t,n,r,i,o,a){var s=e>t?n*(a?1:.5):0,l=r>i?o*(a?1:.5):0,u=e-t-s,d=s,h=r-i-l,m=l;return{minPositionX:u,maxPositionX:d,minPositionY:h,maxPositionY:m}},FP=function(e,t){var n=e.wrapperComponent,r=e.contentComponent,i=e.setup.centerZoomedOut;if(!n||!r)throw new Error("Components are not mounted");var o=LLe(n,r,t),a=o.wrapperWidth,s=o.wrapperHeight,l=o.newContentWidth,u=o.newDiffWidth,d=o.newContentHeight,h=o.newDiffHeight,m=ALe(a,l,u,s,d,h,Boolean(i));return m},s0=function(e,t){var n=FP(e,t);return e.bounds=n,n};function aw(e,t,n,r,i,o,a){var s=n.minPositionX,l=n.minPositionY,u=n.maxPositionX,d=n.maxPositionY,h=0,m=0;a&&(h=i,m=o);var v=Y8(e,s-h,u+h,r),b=Y8(t,l-m,d+m,r);return{x:v,y:b}}var Y8=function(e,t,n,r){return r?en?rs(n,2):rs(e,2):rs(e,2)};function sw(e,t,n,r,i,o){var a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=r-s;if(typeof t!="number"||typeof n!="number")return console.error("Mouse X and Y position were not provided!"),{x:l,y:u};var h=l-t*d,m=u-n*d,v=aw(h,m,i,o,0,0,null);return v}function Wy(e,t,n,r,i){var o=i?r:0,a=t-o;return!isNaN(n)&&e>=n?n:!isNaN(t)&&e<=a?a:e}var GD=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,i=e.wrapperComponent,o=t.target,a=i==null?void 0:i.contains(o),s=r&&o&&a;if(!s)return!1;var l=lw(o,n);return!l},qD=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup,i=r.panning.disabled,o=t&&n&&!i;return!!o},OLe=function(e,t){var n=e.transformState,r=n.positionX,i=n.positionY;e.isPanning=!0;var o=t.clientX,a=t.clientY;e.startCoords={x:o-r,y:a-i}},MLe=function(e,t){var n=t.touches,r=e.transformState,i=r.positionX,o=r.positionY;e.isPanning=!0;var a=n.length===1;if(a){var s=n[0].clientX,l=n[0].clientY;e.startCoords={x:s-i,y:l-o}}};function ILe(e){var t=e.transformState,n=t.positionX,r=t.positionY,i=t.scale,o=e.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,u=e.wrapperComponent;if(!(a||!u||!e.bounds)){var d=e.bounds,h=d.maxPositionX,m=d.minPositionX,v=d.maxPositionY,b=d.minPositionY,S=n>h||nv||rh?u.offsetWidth:e.setup.minPositionX||0,_=r>v?u.offsetHeight:e.setup.minPositionY||0,T=sw(e,E,_,i,e.bounds,s||l),A=T.x,I=T.y;return{scale:i,positionX:S?A:n,positionY:k?I:r}}}function RLe(e,t,n,r,i){var o=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,l=e.transformState,u=l.scale,d=l.positionX,h=l.positionY,m=t!==d,v=n!==h,b=!m||!v;if(!(!a||b||!s)){var S=aw(t,n,s,o,r,i,a),k=S.x,E=S.y;e.setTransformState(u,k,E)}}var DLe=function(e,t,n){var r=e.startCoords,i=e.transformState,o=e.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=i.positionX,u=i.positionY;if(!r)return{x:l,y:u};var d=t-r.x,h=n-r.y,m=a?l:d,v=s?u:h;return{x:m,y:v}},uS=function(e,t){var n=e.setup,r=e.transformState,i=r.scale,o=n.minScale;return t>0&&i>=o?t:0},NLe=function(e){var t=e.mounted,n=e.setup,r=n.disabled,i=n.velocityAnimation,o=e.transformState.scale,a=i.disabled,s=!a||o>1||!r||t;return!!s},jLe=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,i=e.setup,o=i.disabled,a=i.velocityAnimation,s=e.transformState.scale,l=a.disabled,u=!l||s>1||!o||t;return!(!u||!n||!r)};function BLe(e,t){var n=e.setup.velocityAnimation,r=n.equalToMove,i=n.animationTime,o=n.sensitivity;return r?i*t*o:i}function YD(e,t,n,r,i,o,a,s,l,u){if(i){if(t>a&&n>a){var d=a+(e-a)*u;return d>l?l:do?o:d}}return r?t:Y8(e,o,a,i)}function $Le(e,t){var n=1;return t?Math.min(n,e.offsetWidth/window.innerWidth):n}function FLe(e,t){var n=NLe(e);if(n){var r=e.lastMousePosition,i=e.velocityTime,o=e.setup,a=e.wrapperComponent,s=o.velocityAnimation.equalToMove,l=Date.now();if(r&&i&&a){var u=$Le(a,s),d=t.x-r.x,h=t.y-r.y,m=d/u,v=h/u,b=l-i,S=d*d+h*h,k=Math.sqrt(S)/b;e.velocity={velocityX:m,velocityY:v,total:k}}e.lastMousePosition=t,e.velocityTime=l}}function zLe(e){var t=e.velocity,n=e.bounds,r=e.setup,i=e.wrapperComponent,o=jLe(e);if(!(!o||!t||!n||!i)){var a=t.velocityX,s=t.velocityY,l=t.total,u=n.maxPositionX,d=n.minPositionX,h=n.maxPositionY,m=n.minPositionY,v=r.limitToBounds,b=r.alignmentAnimation,S=r.zoomAnimation,k=r.panning,E=k.lockAxisY,_=k.lockAxisX,T=S.animationType,A=b.sizeX,I=b.sizeY,R=b.velocityAlignmentTime,D=R,j=BLe(e,l),z=Math.max(j,D),V=uS(e,A),K=uS(e,I),te=V*i.offsetWidth/100,q=K*i.offsetHeight/100,$=u+te,U=d-te,X=h+q,Z=m-q,W=e.transformState,Q=new Date().getTime();fY(e,T,z,function(ie){var fe=e.transformState,Se=fe.scale,Pe=fe.positionX,ye=fe.positionY,We=new Date().getTime()-Q,De=We/D,ot=cY[b.animationType],He=1-ot(Math.min(1,De)),Be=1-ie,wt=Pe+a*Be,st=ye+s*Be,mt=YD(wt,W.positionX,Pe,_,v,d,u,U,$,He),St=YD(st,W.positionY,ye,E,v,m,h,Z,X,He);(Pe!==wt||ye!==st)&&e.setTransformState(Se,mt,St)})}}function KD(e,t){var n=e.transformState.scale;Vl(e),s0(e,n),t.touches?MLe(e,t):OLe(e,t)}function XD(e,t,n){var r=e.startCoords,i=e.setup,o=i.alignmentAnimation,a=o.sizeX,s=o.sizeY;if(r){var l=DLe(e,t,n),u=l.x,d=l.y,h=uS(e,a),m=uS(e,s);FLe(e,{x:u,y:d}),RLe(e,u,d,h,m)}}function HLe(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,i=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var o=r==null?void 0:r.getBoundingClientRect(),a=i==null?void 0:i.getBoundingClientRect(),s=(o==null?void 0:o.width)||0,l=(o==null?void 0:o.height)||0,u=(a==null?void 0:a.width)||0,d=(a==null?void 0:a.height)||0,h=s.1&&h;m?zLe(e):hY(e)}}function hY(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,i=n.alignmentAnimation,o=i.disabled,a=i.sizeX,s=i.sizeY,l=i.animationTime,u=i.animationType,d=o||t=a;if((r>=1||s)&&hY(e),!(m||!i||!e.mounted)){var v=t||i.offsetWidth/2,b=n||i.offsetHeight/2,S=zP(e,a,v,b);S&&pf(e,S,d,h)}}function zP(e,t,n,r){var i=e.setup,o=i.minScale,a=i.maxScale,s=i.limitToBounds,l=Wy(rs(t,2),o,a,0,!1),u=s0(e,l),d=sw(e,n,r,l,u,s),h=d.x,m=d.y;return{scale:l,positionX:h,positionY:m}}var dm={previousScale:1,scale:1,positionX:0,positionY:0},VLe=ru(ru({},dm),{setComponents:function(){},contextInstance:null}),fv={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},gY=function(e){var t,n,r,i;return{previousScale:(t=e.initialScale)!==null&&t!==void 0?t:dm.scale,scale:(n=e.initialScale)!==null&&n!==void 0?n:dm.scale,positionX:(r=e.initialPositionX)!==null&&r!==void 0?r:dm.positionX,positionY:(i=e.initialPositionY)!==null&&i!==void 0?i:dm.positionY}},ZD=function(e){var t=ru({},fv);return Object.keys(e).forEach(function(n){var r=typeof e[n]<"u",i=typeof fv[n]<"u";if(i&&r){var o=Object.prototype.toString.call(fv[n]),a=o==="[object Object]",s=o==="[object Array]";a?t[n]=ru(ru({},fv[n]),e[n]):s?t[n]=UD(UD([],fv[n]),e[n]):t[n]=e[n]}}),t},mY=function(e,t,n){var r=e.transformState.scale,i=e.wrapperComponent,o=e.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation,u=l.size;if(!i)throw new Error("Wrapper is not mounted");var d=r*Math.exp(t*n),h=Wy(rs(d,3),s,a,u,!1);return h};function vY(e,t,n,r,i){var o=e.wrapperComponent,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=o.offsetWidth,h=o.offsetHeight,m=(d/2-l)/s,v=(h/2-u)/s,b=mY(e,t,n),S=zP(e,b,m,v);if(!S)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,S,r,i)}function yY(e,t,n){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,a=gY(e.props),s=e.transformState,l=s.scale,u=s.positionX,d=s.positionY;if(i){var h=FP(e,a.scale),m=aw(a.positionX,a.positionY,h,o,0,0,i),v={scale:a.scale,positionX:m.x,positionY:m.y};l===a.scale&&u===a.positionX&&d===a.positionY||pf(e,v,t,n)}}function WLe(e,t,n){var r=e.wrapperComponent,i=e.setup,o=i.limitToBounds,a=i.minScale,s=i.maxScale;if(!r)return dm;var l=r.getBoundingClientRect(),u=ULe(t),d=u.x,h=u.y,m=t.offsetWidth,v=t.offsetHeight,b=r.offsetWidth/m,S=r.offsetHeight/v,k=Wy(n||Math.min(b,S),a,s,0,!1),E=(l.width-m*k)/2,_=(l.height-v*k)/2,T=(l.left-d)*k+E,A=(l.top-h)*k+_,I=FP(e,k),R=aw(T,A,I,o,0,0,r),D=R.x,j=R.y;return{positionX:D,positionY:j,scale:k}}function ULe(e){for(var t=e,n=0,r=0;t;)n+=t.offsetLeft,r+=t.offsetTop,t=t.offsetParent;return{x:n,y:r}}function GLe(e){if(e){if((e==null?void 0:e.offsetWidth)===void 0||(e==null?void 0:e.offsetHeight)===void 0)return console.error("Zoom node is not valid - it must contain offsetWidth and offsetHeight"),!1}else return console.error("Zoom node not found"),!1;return!0}var qLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,1,t,n,r)}},YLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,-1,t,n,r)}},KLe=function(e){return function(t,n,r,i,o){i===void 0&&(i=300),o===void 0&&(o="easeOut");var a=e.transformState,s=a.positionX,l=a.positionY,u=a.scale,d=e.wrapperComponent,h=e.contentComponent,m=e.setup.disabled;if(!(m||!d||!h)){var v={positionX:isNaN(t)?s:t,positionY:isNaN(n)?l:n,scale:isNaN(r)?u:r};pf(e,v,i,o)}}},XLe=function(e){return function(t,n){t===void 0&&(t=200),n===void 0&&(n="easeOut"),yY(e,t,n)}},ZLe=function(e){return function(t,n,r){n===void 0&&(n=200),r===void 0&&(r="easeOut");var i=e.transformState,o=e.wrapperComponent,a=e.contentComponent;if(o&&a){var s=bY(t||i.scale,o,a);pf(e,s,n,r)}}},QLe=function(e){return function(t,n,r,i){r===void 0&&(r=600),i===void 0&&(i="easeOut"),Vl(e);var o=e.wrapperComponent,a=typeof t=="string"?document.getElementById(t):t;if(o&&GLe(a)&&a&&o.contains(a)){var s=WLe(e,a,n);pf(e,s,r,i)}}},ri=function(e){return{instance:e,state:e.transformState,zoomIn:qLe(e),zoomOut:YLe(e),setTransform:KLe(e),resetTransform:XLe(e),centerView:ZLe(e),zoomToElement:QLe(e)}},HC=!1;function VC(){try{var e={get passive(){return HC=!0,!1}};return e}catch{return HC=!1,HC}}var lw=function(e,t){var n=e.tagName.toUpperCase(),r=t.find(function(o){return o.toUpperCase()===n});if(r)return!0;var i=t.find(function(o){return e.classList.contains(o)});return!!i},QD=function(e){e&&clearTimeout(e)},JLe=function(e,t,n){return"translate3d("+e+"px, "+t+"px, 0) scale("+n+")"},bY=function(e,t,n){var r=n.offsetWidth*e,i=n.offsetHeight*e,o=(t.offsetWidth-r)/2,a=(t.offsetHeight-i)/2;return{scale:e,positionX:o,positionY:a}},eAe=function(e,t){var n=e.setup.wheel,r=n.disabled,i=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,l=e.isPanning,u=t.target,d=s&&!l&&!r&&u;if(!d||i&&!t.ctrlKey||o&&t.ctrlKey)return!1;var h=lw(u,a);return!h};function tAe(e,t){var n=e?e.deltaY<0?1:-1:0,r=hLe(t,n);return r}function SY(e,t,n){var r=t.getBoundingClientRect(),i=0,o=0;if("clientX"in e)i=(e.clientX-r.left)/n,o=(e.clientY-r.top)/n;else{var a=e.touches[0];i=(a.clientX-r.left)/n,o=(a.clientY-r.top)/n}return(isNaN(i)||isNaN(o))&&console.error("No mouse or touch offset found"),{x:i,y:o}}var nAe=function(e,t,n,r,i){var o=e.transformState.scale,a=e.wrapperComponent,s=e.setup,l=s.maxScale,u=s.minScale,d=s.zoomAnimation,h=d.size,m=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var v=o+t*(o-o*n)*n;if(i)return v;var b=r?!1:!m,S=Wy(rs(v,3),u,l,h,b);return S},rAe=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,i=e.setup,o=i.maxScale,a=i.minScale;return n?ra||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaYt.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY):!1},iAe=function(e,t){var n=e.setup.pinch,r=n.disabled,i=n.excluded,o=e.isInitialized,a=t.target,s=o&&!r&&a;if(!s)return!1;var l=lw(a,i);return!l},oAe=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance,i=n&&!t&&r;return!!i},aAe=function(e,t,n){var r=n.getBoundingClientRect(),i=e.touches,o=rs(i[0].clientX-r.left,5),a=rs(i[0].clientY-r.top,5),s=rs(i[1].clientX-r.left,5),l=rs(i[1].clientY-r.top,5);return{x:(o+s)/2/t,y:(a+l)/2/t}},xY=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},sAe=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,i=e.setup,o=i.maxScale,a=i.minScale,s=i.zoomAnimation,l=s.size,u=s.disabled;if(!n||r===null||!t)throw new Error("Pinch touches distance was not provided");if(t<0)return e.transformState.scale;var d=t/r,h=d*n;return Wy(rs(h,2),a,o,l,!u)},lAe=160,uAe=100,cAe=function(e,t){var n=e.props,r=n.onWheelStart,i=n.onZoomStart;e.wheelStopEventTimer||(Vl(e),Pi(ri(e),t,r),Pi(ri(e),t,i))},dAe=function(e,t){var n=e.props,r=n.onWheel,i=n.onZoom,o=e.contentComponent,a=e.setup,s=e.transformState,l=s.scale,u=a.limitToBounds,d=a.centerZoomedOut,h=a.zoomAnimation,m=a.wheel,v=h.size,b=h.disabled,S=m.step;if(!o)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var k=tAe(t,null),E=nAe(e,k,S,!t.ctrlKey);if(l!==E){var _=s0(e,E),T=SY(t,o,l),A=b||v===0||d,I=u&&A,R=sw(e,T.x,T.y,E,_,I),D=R.x,j=R.y;e.previousWheelEvent=t,e.setTransformState(E,D,j),Pi(ri(e),t,r),Pi(ri(e),t,i)}},fAe=function(e,t){var n=e.props,r=n.onWheelStop,i=n.onZoomStop;QD(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(pY(e,t.x,t.y),e.wheelAnimationTimer=null)},uAe);var o=rAe(e,t);o&&(QD(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,Pi(ri(e),t,r),Pi(ri(e),t,i))},lAe))},hAe=function(e,t){var n=xY(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,Vl(e)},pAe=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,i=e.transformState.scale,o=e.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,u=l.disabled,d=l.size;if(!(r===null||!n)){var h=aAe(t,i,n);if(!(!isFinite(h.x)||!isFinite(h.y))){var m=xY(t),v=sAe(e,m);if(v!==i){var b=s0(e,v),S=u||d===0||s,k=a&&S,E=sw(e,h.x,h.y,v,b,k),_=E.x,T=E.y;e.pinchMidpoint=h,e.lastDistance=m,e.setTransformState(v,_,T)}}}},gAe=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,pY(e,t==null?void 0:t.x,t==null?void 0:t.y)};function mAe(e,t){var n=e.setup.doubleClick,r=n.disabled,i=n.mode,o=n.step,a=n.animationTime,s=n.animationType;if(!r){if(i==="reset")return yY(e,a,s);var l=e.transformState.scale,u=e.contentComponent;if(!u)return console.error("No ContentComponent found");var d=i==="zoomOut"?-1:1,h=mY(e,d,o),m=SY(t,u,l),v=zP(e,h,m.x,m.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,v,a,s)}}var vAe=function(e,t){var n=e.isInitialized,r=e.setup,i=e.wrapperComponent,o=r.doubleClick,a=o.disabled,s=o.excluded,l=t.target,u=i==null?void 0:i.contains(l),d=n&&l&&u&&!a;if(!d)return!1;var h=lw(l,s);return!(h||!d)},wY=N.createContext(VLe),yAe=function(e){fLe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mounted=!0,n.transformState=gY(n.props),n.setup=ZD(n.props),n.wrapperComponent=null,n.contentComponent=null,n.isInitialized=!1,n.bounds=null,n.previousWheelEvent=null,n.wheelStopEventTimer=null,n.wheelAnimationTimer=null,n.isPanning=!1,n.startCoords=null,n.lastTouch=null,n.distance=null,n.lastDistance=null,n.pinchStartDistance=null,n.pinchStartScale=null,n.pinchMidpoint=null,n.velocity=null,n.velocityTime=null,n.lastMousePosition=null,n.animate=!1,n.animation=null,n.maxBounds=null,n.pressedKeys={},n.handleInitializeWrapperEvents=function(r){var i=VC();r.addEventListener("wheel",n.onWheelZoom,i),r.addEventListener("dblclick",n.onDoubleClick,i),r.addEventListener("touchstart",n.onTouchPanningStart,i),r.addEventListener("touchmove",n.onTouchPanning,i),r.addEventListener("touchend",n.onTouchPanningStop,i)},n.handleInitialize=function(){var r=n.setup.centerOnInit;n.applyTransformation(),n.forceUpdate(),r&&(setTimeout(function(){n.mounted&&n.setCenter()},50),setTimeout(function(){n.mounted&&n.setCenter()},100),setTimeout(function(){n.mounted&&n.setCenter()},200))},n.onWheelZoom=function(r){var i=n.setup.disabled;if(!i){var o=eAe(n,r);if(o){var a=n.isPressingKeys(n.setup.wheel.activationKeys);a&&(cAe(n,r),dAe(n,r),fAe(n,r))}}},n.onPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=GD(n,r);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),Vl(n),KD(n,r),Pi(ri(n),r,o))}}},n.onPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(!i){var a=qD(n);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),XD(n,r.clientX,r.clientY),Pi(ri(n),r,o))}}},n.onPanningStop=function(r){var i=n.props.onPanningStop;n.isPanning&&(HLe(n),Pi(ri(n),r,i))},n.onPinchStart=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinchingStart,s=o.onZoomStart;if(!i){var l=iAe(n,r);l&&(hAe(n,r),Vl(n),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinch=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinching,s=o.onZoom;if(!i){var l=oAe(n);l&&(r.preventDefault(),r.stopPropagation(),pAe(n,r),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinchStop=function(r){var i=n.props,o=i.onPinchingStop,a=i.onZoomStop;n.pinchStartScale&&(gAe(n),Pi(ri(n),r,o),Pi(ri(n),r,a))},n.onTouchPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=GD(n,r);if(a){var s=n.lastTouch&&+new Date-n.lastTouch<200;if(s&&r.touches.length===1)n.onDoubleClick(r);else{n.lastTouch=+new Date,Vl(n);var l=r.touches,u=l.length===1,d=l.length===2;u&&(Vl(n),KD(n,r),Pi(ri(n),r,o)),d&&n.onPinchStart(r)}}}},n.onTouchPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(n.isPanning&&r.touches.length===1){if(i)return;var a=qD(n);if(!a)return;r.preventDefault(),r.stopPropagation();var s=r.touches[0];XD(n,s.clientX,s.clientY),Pi(ri(n),r,o)}else r.touches.length>1&&n.onPinch(r)},n.onTouchPanningStop=function(r){n.onPanningStop(r),n.onPinchStop(r)},n.onDoubleClick=function(r){var i=n.setup.disabled;if(!i){var o=vAe(n,r);o&&mAe(n,r)}},n.clearPanning=function(r){n.isPanning&&n.onPanningStop(r)},n.setKeyPressed=function(r){n.pressedKeys[r.key]=!0},n.setKeyUnPressed=function(r){n.pressedKeys[r.key]=!1},n.isPressingKeys=function(r){return r.length?Boolean(r.find(function(i){return n.pressedKeys[i]})):!0},n.setComponents=function(r,i){n.wrapperComponent=r,n.contentComponent=i,s0(n,n.transformState.scale),n.handleInitializeWrapperEvents(r),n.handleInitialize(),n.handleRef(),n.isInitialized=!0,Pi(ri(n),void 0,n.props.onInit)},n.setTransformState=function(r,i,o){!isNaN(r)&&!isNaN(i)&&!isNaN(o)?(r!==n.transformState.scale&&(n.transformState.previousScale=n.transformState.scale,n.transformState.scale=r),n.transformState.positionX=i,n.transformState.positionY=o,n.applyTransformation()):console.error("Detected NaN set state values")},n.setCenter=function(){if(n.wrapperComponent&&n.contentComponent){var r=bY(n.transformState.scale,n.wrapperComponent,n.contentComponent);n.setTransformState(r.scale,r.positionX,r.positionY)}},n.applyTransformation=function(){if(!(!n.mounted||!n.contentComponent)){var r=n.transformState,i=r.scale,o=r.positionX,a=r.positionY,s=JLe(o,a,i);n.contentComponent.style.transform=s,n.handleRef()}},n.handleRef=function(){n.props.setRef(ri(n))},n}return t.prototype.componentDidMount=function(){var n=VC();window.addEventListener("mousedown",this.onPanningStart,n),window.addEventListener("mousemove",this.onPanning,n),window.addEventListener("mouseup",this.onPanningStop,n),document.addEventListener("mouseleave",this.clearPanning,n),window.addEventListener("keyup",this.setKeyUnPressed,n),window.addEventListener("keydown",this.setKeyPressed,n),this.handleRef()},t.prototype.componentWillUnmount=function(){var n=VC();window.removeEventListener("mousedown",this.onPanningStart,n),window.removeEventListener("mousemove",this.onPanning,n),window.removeEventListener("mouseup",this.onPanningStop,n),window.removeEventListener("keyup",this.setKeyUnPressed,n),window.removeEventListener("keydown",this.setKeyPressed,n),Vl(this)},t.prototype.componentDidUpdate=function(n){n!==this.props&&(s0(this,this.transformState.scale),this.setup=ZD(this.props))},t.prototype.render=function(){var n=ri(this),r=this.props.children,i=typeof r=="function"?r(n):r;return N.createElement(wY.Provider,{value:ru(ru({},this.transformState),{setComponents:this.setComponents,contextInstance:this})},i)},t}(w.Component),bAe=N.forwardRef(function(e,t){var n=w.useState(null),r=n[0],i=n[1];return w.useImperativeHandle(t,function(){return r},[r]),N.createElement(yAe,ru({},e,{setRef:i}))});function SAe(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var xAe=`.transform-component-module_wrapper__1_Fgj { position: relative; width: -moz-fit-content; width: fit-content; @@ -519,7 +519,7 @@ PERFORMANCE OF THIS SOFTWARE. .transform-component-module_content__2jYgh img { pointer-events: none; } -`,QD={wrapper:"transform-component-module_wrapper__1_Fgj",content:"transform-component-module_content__2jYgh"};bAe(SAe);var xAe=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,i=e.contentClass,o=i===void 0?"":i,a=e.wrapperStyle,s=e.contentStyle,l=w.useContext(xY).setComponents,u=w.useRef(null),d=w.useRef(null);return w.useEffect(function(){var h=u.current,m=d.current;h!==null&&m!==null&&l&&l(h,m)},[]),N.createElement("div",{ref:u,className:"react-transform-wrapper "+QD.wrapper+" "+r,style:a},N.createElement("div",{ref:d,className:"react-transform-component "+QD.content+" "+o,style:s},t))};function wAe({image:e,alt:t,ref:n,styleClass:r}){const[i,o]=w.useState(0),[a,s]=w.useState(!1),l=()=>{o(i===-3?0:i-1)},u=()=>{o(i===3?0:i+1)},d=()=>{s(!a)};return y.jsx(yAe,{centerOnInit:!0,minScale:.1,initialPositionX:50,initialPositionY:50,children:({zoomIn:h,zoomOut:m,resetTransform:v,centerView:b})=>y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"lightbox-image-options",children:[y.jsx(Ze,{icon:y.jsx(BEe,{}),"aria-label":"Zoom In",tooltip:"Zoom In",onClick:()=>h(),fontSize:20}),y.jsx(Ze,{icon:y.jsx(FEe,{}),"aria-label":"Zoom Out",tooltip:"Zoom Out",onClick:()=>m(),fontSize:20}),y.jsx(Ze,{icon:y.jsx(NEe,{}),"aria-label":"Rotate Left",tooltip:"Rotate Left",onClick:l,fontSize:20}),y.jsx(Ze,{icon:y.jsx(jEe,{}),"aria-label":"Rotate Right",tooltip:"Rotate Right",onClick:u,fontSize:20}),y.jsx(Ze,{icon:y.jsx(VEe,{}),"aria-label":"Flip Image",tooltip:"Flip Image",onClick:d,fontSize:20}),y.jsx(Ze,{icon:y.jsx(Qx,{}),"aria-label":"Reset",tooltip:"Reset",onClick:()=>{v(),o(0),s(!1)},fontSize:20})]}),y.jsx(xAe,{wrapperStyle:{width:"100%",height:"100%"},children:y.jsx("img",{style:{transform:`rotate(${i*90}deg) scaleX(${a?-1:1})`,width:"100%"},src:e,alt:t,ref:n,className:r||"",onLoad:()=>b(1,0,"easeOut")})})]})})}function CAe(){const e=Ie(),t=he(m=>m.lightbox.isLightboxOpen),{viewerImageToDisplay:n,shouldShowImageDetails:r,isOnFirstImage:i,isOnLastImage:o}=he(wq),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return Qe("Esc",()=>{t&&e(Bm(!1))},[t]),y.jsxs("div",{className:"lightbox-container",children:[y.jsx(Ze,{icon:y.jsx(DEe,{}),"aria-label":"Exit Viewer",className:"lightbox-close-btn",onClick:()=>{e(Bm(!1))},fontSize:20}),y.jsxs("div",{className:"lightbox-display-container",children:[y.jsxs("div",{className:"lightbox-preview-wrapper",children:[y.jsx(Sq,{}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!i&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(uq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!o&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(cq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),n&&y.jsxs(y.Fragment,{children:[y.jsx(wAe,{image:n.url,styleClass:"lightbox-image"}),r&&y.jsx(MP,{image:n})]})]}),y.jsx(lY,{})]})]})}function _Ae(e){return gt({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zM8 13H3V2h5v11zm6 0H9V2h5v11z"}}]})(e)}const kAe=ot(yp,e=>({resultImages:e.categories.result.images,userImages:e.categories.user.images})),EAe=()=>{const{resultImages:e,userImages:t}=he(kAe);return n=>{const r=e.find(o=>o.uuid===n);if(r)return r;const i=t.find(o=>o.uuid===n);if(i)return i}},PAe=ot([mp,Wx,Or],(e,t,n)=>{const{shouldShowDualDisplay:r,shouldPinParametersPanel:i}=e,{isLightboxOpen:o}=t;return{shouldShowDualDisplay:r,shouldPinParametersPanel:i,isLightboxOpen:o,shouldShowDualDisplayButton:["inpainting"].includes(n),activeTabName:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),HP=e=>{const t=Ie(),{optionsPanel:n,children:r,styleClass:i}=e,{activeTabName:o,shouldShowDualDisplay:a,isLightboxOpen:s,shouldShowDualDisplayButton:l}=he(PAe),u=EAe(),d=()=>{t(uCe(!a)),t(vi(!0))},h=m=>{const v=m.dataTransfer.getData("invokeai/imageUuid"),b=u(v);b&&(o==="img2img"?t(k0(b)):o==="unifiedCanvas"&&t(Nx(b)))};return y.jsx("div",{className:i?`workarea-wrapper ${i}`:"workarea-wrapper",children:y.jsxs("div",{className:"workarea-main",children:[n,y.jsxs("div",{className:"workarea-children-wrapper",onDrop:h,children:[r,l&&y.jsx(lo,{label:"Toggle Split View",children:y.jsx("div",{className:"workarea-split-button","data-selected":a,onClick:d,children:y.jsx(_Ae,{})})})]}),!s&&y.jsx(lY,{})]})})},TAe=e=>{const{styleClass:t}=e,n=w.useContext(SP),r=()=>{n&&n()};return y.jsx("div",{className:`image-uploader-button-outer ${t}`,onClick:r,children:y.jsxs("div",{className:"image-upload-button",children:[y.jsx(Zx,{}),y.jsx(Dh,{size:"lg",children:"Click or Drag and Drop"})]})})},LAe=ot([yp,mp,Or],(e,t,n)=>{const{currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t;return{activeTabName:n,shouldShowImageDetails:o,hasAnImageToDisplay:r||i}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),wY=()=>{const{hasAnImageToDisplay:e,activeTabName:t}=he(LAe);return y.jsx("div",{className:"current-image-area","data-tab-name":t,children:e?y.jsxs(y.Fragment,{children:[y.jsx(Sq,{}),y.jsx(EEe,{})]}):y.jsx("div",{className:"current-image-display-placeholder",children:y.jsx(WEe,{})})})},AAe=()=>{const e=w.useContext(SP);return y.jsx(Ze,{"aria-label":"Upload Image",tooltip:"Upload Image",icon:y.jsx(Zx,{}),onClick:e||void 0})};function OAe(){const e=he(o=>o.generation.initialImage),{t}=Ve(),n=Ie(),r=Ry(),i=()=>{r({title:t("toast:parametersFailed"),description:t("toast:parametersFailedDesc"),status:"error",isClosable:!0}),n(oU())};return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"init-image-preview-header",children:[y.jsx("h2",{children:t("parameters:initialImage")}),y.jsx(AAe,{})]}),e&&y.jsx("div",{className:"init-image-preview",children:y.jsx(XS,{fit:"contain",maxWidth:"100%",maxHeight:"100%",src:typeof e=="string"?e:e.url,onError:i})})]})}const MAe=()=>{const e=he(r=>r.generation.initialImage),{currentImage:t}=he(r=>r.gallery),n=e?y.jsx("div",{className:"image-to-image-area",children:y.jsx(OAe,{})}):y.jsx(TAe,{});return y.jsxs("div",{className:"workarea-split-view",children:[y.jsx("div",{className:"workarea-split-view-left",children:n}),t&&y.jsx("div",{className:"workarea-split-view-right",children:y.jsx(wY,{})})]})};var ao=(e=>(e[e.PROMPT=0]="PROMPT",e[e.GALLERY=1]="GALLERY",e[e.OTHER=2]="OTHER",e[e.SEED=3]="SEED",e[e.VARIATIONS=4]="VARIATIONS",e[e.UPSCALE=5]="UPSCALE",e[e.FACE_CORRECTION=6]="FACE_CORRECTION",e[e.IMAGE_TO_IMAGE=7]="IMAGE_TO_IMAGE",e[e.BOUNDING_BOX=8]="BOUNDING_BOX",e[e.SEAM_CORRECTION=9]="SEAM_CORRECTION",e[e.INFILL_AND_SCALING=10]="INFILL_AND_SCALING",e))(ao||{});const IAe=()=>{const{t:e}=Ve();return w.useMemo(()=>({[0]:{text:e("tooltip:feature.prompt"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[1]:{text:e("tooltip:feature.gallery"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[2]:{text:e("tooltip:feature.other"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[3]:{text:e("tooltip:feature.seed"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[4]:{text:e("tooltip:feature.variations"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[5]:{text:e("tooltip:feature.upscale"),href:"link/to/docs/feature1.html",guideImage:"asset/path.gif"},[6]:{text:e("tooltip:feature.faceCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[7]:{text:e("tooltip:feature.imageToImage"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[8]:{text:e("tooltip:feature.boundingBox"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[9]:{text:e("tooltip:feature.seamCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[10]:{text:e("tooltip:feature.infillAndScaling"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"}}),[e])},RAe=e=>IAe()[e],Vs=e=>{const{label:t,isDisabled:n=!1,width:r="auto",formControlProps:i,formLabelProps:o,styleClass:a,...s}=e;return y.jsxs(dn,{isDisabled:n,width:r,className:`invokeai__switch-form-control ${a}`,display:"flex",columnGap:"1rem",alignItems:"center",justifyContent:"space-between",...i,children:[y.jsx(kn,{className:"invokeai__switch-form-label",whiteSpace:"nowrap",marginRight:0,marginTop:.5,marginBottom:.5,fontSize:"sm",fontWeight:"bold",width:"auto",...o,children:t}),y.jsx(BE,{className:"invokeai__switch-root",...s})]})};function CY(){const e=he(i=>i.system.isGFPGANAvailable),t=he(i=>i.postprocessing.shouldRunFacetool),n=Ie(),r=i=>n(owe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function DAe(){const e=Ie(),t=he(i=>i.generation.shouldFitToWidthHeight),n=i=>e(gU(i.target.checked)),{t:r}=Ve();return y.jsx(Vs,{label:r("parameters:imageFit"),isChecked:t,onChange:n})}function _Y(e){const{t}=Ve(),{label:n=`${t("parameters:strength")}`,styleClass:r}=e,i=he(l=>l.generation.img2imgStrength),o=Ie(),a=l=>o(u8(l)),s=()=>{o(u8(.75))};return y.jsx(na,{label:n,step:.01,min:.01,max:1,onChange:a,value:i,isInteger:!1,styleClass:r,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:s})}const kY=()=>{const e=Ie(),t=he(i=>i.generation.seamless),n=i=>e(hU(i.target.checked)),{t:r}=Ve();return y.jsx(qe,{gap:2,direction:"column",children:y.jsx(Vs,{label:r("parameters:seamlessTiling"),fontSize:"md",isChecked:t,onChange:n})})},NAe=()=>y.jsx(qe,{gap:2,direction:"column",children:y.jsx(kY,{})});function jAe(){const e=Ie(),t=he(i=>i.generation.perlin),{t:n}=Ve(),r=i=>e(dU(i));return y.jsx(To,{label:n("parameters:perlinNoise"),min:0,max:1,step:.05,onChange:r,value:t,isInteger:!1})}function BAe(){const e=Ie(),{t}=Ve(),n=he(i=>i.generation.shouldRandomizeSeed),r=i=>e(Jxe(i.target.checked));return y.jsx(Vs,{label:t("parameters:randomizeSeed"),isChecked:n,onChange:r})}function FAe(){const e=he(a=>a.generation.seed),t=he(a=>a.generation.shouldRandomizeSeed),n=he(a=>a.generation.shouldGenerateVariations),{t:r}=Ve(),i=Ie(),o=a=>i(Ny(a));return y.jsx(To,{label:r("parameters:seed"),step:1,precision:0,flexGrow:1,min:hP,max:pP,isDisabled:t,isInvalid:e<0&&n,onChange:o,value:e,width:"auto"})}function $Ae(){const e=Ie(),t=he(i=>i.generation.shouldRandomizeSeed),{t:n}=Ve(),r=()=>e(Ny(zG(hP,pP)));return y.jsx(as,{size:"sm",isDisabled:t,onClick:r,padding:"0 1.5rem",children:y.jsx("p",{children:n("parameters:shuffle")})})}function zAe(){const e=Ie(),t=he(i=>i.generation.threshold),{t:n}=Ve(),r=i=>e(vU(i));return y.jsx(To,{label:n("parameters:noiseThreshold"),min:0,max:1e3,step:.1,onChange:r,value:t,isInteger:!1})}const VP=()=>y.jsxs(qe,{gap:2,direction:"column",children:[y.jsx(BAe,{}),y.jsxs(qe,{gap:2,children:[y.jsx(FAe,{}),y.jsx($Ae,{})]}),y.jsx(qe,{gap:2,children:y.jsx(zAe,{})}),y.jsx(qe,{gap:2,children:y.jsx(jAe,{})})]});function EY(){const e=he(i=>i.system.isESRGANAvailable),t=he(i=>i.postprocessing.shouldRunESRGAN),n=Ie(),r=i=>n(iwe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function WP(){const e=he(r=>r.generation.shouldGenerateVariations),t=Ie(),n=r=>t(Qxe(r.target.checked));return y.jsx(Vs,{isChecked:e,width:"auto",onChange:n})}function kr(e){const{label:t="",styleClass:n,isDisabled:r=!1,fontSize:i="sm",width:o,size:a="sm",isInvalid:s,...l}=e;return y.jsxs(dn,{className:`input ${n}`,isInvalid:s,isDisabled:r,children:[t!==""&&y.jsx(kn,{fontSize:i,fontWeight:"bold",alignItems:"center",whiteSpace:"nowrap",marginBottom:0,marginRight:0,className:"input-label",children:t}),y.jsx(hk,{...l,className:"input-entry",size:a,width:o})]})}function HAe(){const e=he(o=>o.generation.seedWeights),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Ie(),i=o=>r(pU(o.target.value));return y.jsx(kr,{label:n("parameters:seedWeights"),value:e,isInvalid:t&&!(sP(e)||e===""),isDisabled:!t,onChange:i})}function VAe(){const e=he(o=>o.generation.variationAmount),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Ie(),i=o=>r(ewe(o));return y.jsx(To,{label:n("parameters:variationAmount"),value:e,step:.01,min:0,max:1,isDisabled:!t,onChange:i,isInteger:!1})}const UP=()=>y.jsxs(qe,{gap:2,direction:"column",children:[y.jsx(VAe,{}),y.jsx(HAe,{})]});function WAe(){const e=Ie(),t=he(i=>i.generation.cfgScale),{t:n}=Ve(),r=i=>e(sU(i));return y.jsx(To,{label:n("parameters:cfgScale"),step:.5,min:1.01,max:200,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center",isInteger:!1})}function UAe(){const e=he(o=>o.generation.height),t=he(Or),n=Ie(),{t:r}=Ve(),i=o=>n(lU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:r("parameters:height"),value:e,flexGrow:1,onChange:i,validValues:r7e,styleClass:"main-settings-block"})}const GAe=ot([e=>e.generation],e=>{const{iterations:t}=e;return{iterations:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function qAe(){const e=Ie(),{iterations:t}=he(GAe),{t:n}=Ve(),r=i=>e(Zxe(i));return y.jsx(To,{label:n("parameters:images"),step:1,min:1,max:9999,onChange:r,value:t,width:"auto",labelFontSize:.5,styleClass:"main-settings-block",textAlign:"center"})}function YAe(){const e=he(o=>o.generation.sampler),t=he(GG),n=Ie(),{t:r}=Ve(),i=o=>n(fU(o.target.value));return y.jsx(tl,{label:r("parameters:sampler"),value:e,onChange:i,validValues:t.format==="diffusers"?t7e:e7e,styleClass:"main-settings-block"})}function KAe(){const e=Ie(),t=he(i=>i.generation.steps),{t:n}=Ve(),r=i=>e(mU(i));return y.jsx(To,{label:n("parameters:steps"),min:1,max:9999,step:1,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center"})}function XAe(){const e=he(o=>o.generation.width),t=he(Or),{t:n}=Ve(),r=Ie(),i=o=>r(yU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:n("parameters:width"),value:e,flexGrow:1,onChange:i,validValues:n7e,styleClass:"main-settings-block"})}function GP(){return y.jsx("div",{className:"main-settings",children:y.jsxs("div",{className:"main-settings-list",children:[y.jsxs("div",{className:"main-settings-row",children:[y.jsx(qAe,{}),y.jsx(KAe,{}),y.jsx(WAe,{})]}),y.jsxs("div",{className:"main-settings-row",children:[y.jsx(XAe,{}),y.jsx(UAe,{}),y.jsx(YAe,{})]})]})})}const ZAe=ot(ir,e=>e.shouldDisplayGuides),QAe=({children:e,feature:t})=>{const n=he(ZAe),{text:r}=RAe(t);return n?y.jsxs(ME,{trigger:"hover",children:[y.jsx(DE,{children:y.jsx(_o,{children:e})}),y.jsxs(RE,{className:"guide-popover-content",maxWidth:"400px",onClick:i=>i.preventDefault(),cursor:"initial",children:[y.jsx(IE,{className:"guide-popover-arrow"}),y.jsx("div",{className:"guide-popover-guide-content",children:r})]})]}):null},JAe=Oe(({feature:e,icon:t=zEe},n)=>y.jsx(QAe,{feature:e,children:y.jsx(_o,{ref:n,children:y.jsx(Da,{marginBottom:"-.15rem",as:t})})}));function eOe(e){const{header:t,feature:n,content:r,additionalHeaderComponents:i}=e;return y.jsxs(Gg,{className:"advanced-parameters-item",children:[y.jsx(Wg,{className:"advanced-parameters-header",children:y.jsxs(qe,{width:"100%",gap:"0.5rem",align:"center",children:[y.jsx(_o,{flexGrow:1,textAlign:"left",children:t}),i,n&&y.jsx(JAe,{feature:n}),y.jsx(Ug,{})]})}),y.jsx(qg,{className:"advanced-parameters-panel",children:r})]})}const qP=e=>{const{accordionInfo:t}=e,n=he(a=>a.system.openAccordions),r=Ie(),i=a=>r(U6e(a)),o=()=>{const a=[];return t&&Object.keys(t).forEach(s=>{const{header:l,feature:u,content:d,additionalHeaderComponents:h}=t[s];a.push(y.jsx(eOe,{header:l,feature:u,content:d,additionalHeaderComponents:h},s))}),a};return y.jsx(ok,{defaultIndex:n,allowMultiple:!0,reduceMotion:!0,onChange:i,className:"advanced-parameters",children:o()})},tOe=ot(ir,e=>({isProcessing:e.isProcessing,isConnected:e.isConnected,isCancelable:e.isCancelable}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function YP(e){const{...t}=e,n=Ie(),{isProcessing:r,isConnected:i,isCancelable:o}=he(tOe),a=()=>n(N8e()),{t:s}=Ve();return Qe("shift+x",()=>{(i||r)&&o&&a()},[i,r,o]),y.jsx(Ze,{icon:y.jsx(UEe,{}),tooltip:s("parameters:cancel"),"aria-label":s("parameters:cancel"),isDisabled:!i||!r||!o,onClick:a,styleClass:"cancel-btn",...t})}const KP=e=>e.generation;ot(KP,({shouldRandomizeSeed:e,shouldGenerateVariations:t})=>e||t,{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});const PY=ot([KP,ir,bq,Or],(e,t,n,r)=>{const{prompt:i,shouldGenerateVariations:o,seedWeights:a,initialImage:s,seed:l}=e,{isProcessing:u,isConnected:d}=t;let h=!0;const m=[];return(!i||Boolean(i.match(/^[\s\r\n]+$/)))&&(h=!1,m.push("Missing prompt")),r==="img2img"&&!s&&(h=!1,m.push("No initial image selected")),u&&(h=!1,m.push("System Busy")),d||(h=!1,m.push("System Disconnected")),o&&(!(sP(a)||a==="")||l===-1)&&(h=!1,m.push("Seed-Weights badly formatted.")),{isReady:h,reasonsWhyNotReady:m}},{memoizeOptions:{equalityCheck:Ee.isEqual,resultEqualityCheck:Ee.isEqual}});function XP(e){const{iconButton:t=!1,...n}=e,r=Ie(),{isReady:i}=he(PY),o=he(Or),a=()=>{r(I8(o))},{t:s}=Ve();return Qe(["ctrl+enter","meta+enter"],()=>{r(I8(o))},{enabled:()=>i,preventDefault:!0,enableOnFormTags:["input","textarea","select"]},[i,o]),y.jsx("div",{style:{flexGrow:4},children:t?y.jsx(Ze,{"aria-label":s("parameters:invoke"),type:"submit",icon:y.jsx(uEe,{}),isDisabled:!i,onClick:a,className:"invoke-btn",tooltip:s("parameters:invoke"),tooltipProps:{placement:"bottom"},...n}):y.jsx(cr,{"aria-label":s("parameters:invoke"),type:"submit",isDisabled:!i,onClick:a,className:"invoke-btn",...n,children:"Invoke"})})}const nOe=ot($y,({shouldLoopback:e})=>e),rOe=()=>{const e=Ie(),t=he(nOe),{t:n}=Ve();return y.jsx(Ze,{"aria-label":n("parameters:toggleLoopback"),tooltip:n("parameters:toggleLoopback"),styleClass:"loopback-btn",asCheckbox:!0,isChecked:t,icon:y.jsx(dEe,{}),onClick:()=>{e(rwe(!t))}})},ZP=()=>{const e=he(Or);return y.jsxs("div",{className:"process-buttons",children:[y.jsx(XP,{}),e==="img2img"&&y.jsx(rOe,{}),y.jsx(YP,{})]})},QP=()=>{const e=he(r=>r.generation.negativePrompt),t=Ie(),{t:n}=Ve();return y.jsx(dn,{children:y.jsx(FE,{id:"negativePrompt",name:"negativePrompt",value:e,onChange:r=>t(Q2(r.target.value)),background:"var(--prompt-bg-color)",placeholder:n("parameters:negativePrompts"),_placeholder:{fontSize:"0.8rem"},borderColor:"var(--border-color)",_hover:{borderColor:"var(--border-color-light)"},_focusVisible:{borderColor:"var(--border-color-invalid)",boxShadow:"0 0 10px var(--box-shadow-color-invalid)"},fontSize:"0.9rem",color:"var(--text-color-secondary)"})})},iOe=ot([e=>e.generation,Or],(e,t)=>({prompt:e.prompt,activeTabName:t}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),JP=()=>{const e=Ie(),{prompt:t,activeTabName:n}=he(iOe),{isReady:r}=he(PY),i=w.useRef(null),{t:o}=Ve(),a=l=>{e(jx(l.target.value))};Qe("alt+a",()=>{var l;(l=i.current)==null||l.focus()},[]);const s=l=>{l.key==="Enter"&&l.shiftKey===!1&&r&&(l.preventDefault(),e(I8(n)))};return y.jsx("div",{className:"prompt-bar",children:y.jsx(dn,{isInvalid:t.length===0||Boolean(t.match(/^[\s\r\n]+$/)),children:y.jsx(FE,{id:"prompt",name:"prompt",placeholder:o("parameters:promptPlaceholder"),size:"lg",value:t,onChange:a,onKeyDown:s,resize:"vertical",height:30,ref:i,_placeholder:{color:"var(--text-color-secondary)"}})})})},TY=""+new URL("logo-13003d72.png",import.meta.url).href,oOe=ot(mp,e=>{const{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}=e;return{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),eT=e=>{const t=Ie(),{shouldShowParametersPanel:n,shouldHoldParametersPanelOpen:r,shouldPinParametersPanel:i}=he(oOe),o=w.useRef(null),a=w.useRef(null),s=w.useRef(null),{children:l}=e;Qe("o",()=>{t(Ku(!n)),i&&setTimeout(()=>t(vi(!0)),400)},[n,i]),Qe("esc",()=>{t(Ku(!1))},{enabled:()=>!i,preventDefault:!0},[i]),Qe("shift+o",()=>{m(),t(vi(!0))},[i]);const u=w.useCallback(()=>{i||(t(aCe(a.current?a.current.scrollTop:0)),t(Ku(!1)),t(sCe(!1)))},[t,i]),d=()=>{s.current=window.setTimeout(()=>u(),500)},h=()=>{s.current&&window.clearTimeout(s.current)},m=()=>{t(lCe(!i)),t(vi(!0))};return w.useEffect(()=>{function v(b){o.current&&!o.current.contains(b.target)&&u()}return document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[u]),y.jsx(Aq,{nodeRef:o,in:n||r&&!i,unmountOnExit:!0,timeout:200,classNames:"parameters-panel-wrapper",children:y.jsx("div",{className:"parameters-panel-wrapper","data-pinned":i,tabIndex:1,ref:o,onMouseEnter:i?void 0:h,onMouseOver:i?void 0:h,style:{borderRight:i?"":"0.3rem solid var(--tab-list-text-inactive)"},children:y.jsx("div",{className:"parameters-panel-margin",children:y.jsxs("div",{className:"parameters-panel",ref:a,onMouseLeave:v=>{v.target!==a.current?h():!i&&d()},children:[y.jsx(lo,{label:"Pin Options Panel",children:y.jsx("div",{className:"parameters-panel-pin-button","data-selected":i,onClick:m,children:i?y.jsx(kq,{}):y.jsx(Eq,{})})}),!i&&y.jsxs("div",{className:"invoke-ai-logo-wrapper",children:[y.jsx("img",{src:TY,alt:"invoke-ai-logo"}),y.jsxs("h1",{children:["invoke ",y.jsx("strong",{children:"ai"})]})]}),l]})})})})};function aOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(CY,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(EY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(NAe,{})}},n=Ie(),r=he(Or);return w.useEffect(()=>{r==="img2img"&&n(lP(!1))},[r,n]),y.jsxs(eT,{children:[y.jsxs(qe,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(_Y,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(DAe,{}),y.jsx(qP,{accordionInfo:t})]})}function sOe(){return y.jsx(HP,{optionsPanel:y.jsx(aOe,{}),children:y.jsx(MAe,{})})}const lOe=()=>y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"text-to-image-area",children:y.jsx(wY,{})})}),uOe=ot([$y],({hiresFix:e,hiresStrength:t})=>({hiresFix:e,hiresStrength:t}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),cOe=()=>{const{hiresFix:e,hiresStrength:t}=he(uOe),n=Ie(),{t:r}=Ve(),i=a=>{n(VI(a))},o=()=>{n(VI(.75))};return y.jsx(na,{label:r("parameters:hiresStrength"),step:.01,min:.01,max:.99,onChange:i,value:t,isInteger:!1,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:o,isSliderDisabled:!e,isInputDisabled:!e,isResetDisabled:!e})},dOe=()=>{const e=Ie(),t=he(i=>i.postprocessing.hiresFix),{t:n}=Ve(),r=i=>e(lP(i.target.checked));return y.jsxs(qe,{gap:2,direction:"column",children:[y.jsx(Vs,{label:n("parameters:hiresOptim"),fontSize:"md",isChecked:t,onChange:r}),y.jsx(cOe,{})]})},fOe=()=>y.jsxs(qe,{gap:2,direction:"column",children:[y.jsx(kY,{}),y.jsx(dOe,{})]});function hOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(CY,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(EY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(fOe,{})}};return y.jsxs(eT,{children:[y.jsxs(qe,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(qP,{accordionInfo:t})]})}function pOe(){return y.jsx(HP,{optionsPanel:y.jsx(hOe,{}),children:y.jsx(lOe,{})})}var K8={},gOe={get exports(){return K8},set exports(e){K8=e}};/** +`,JD={wrapper:"transform-component-module_wrapper__1_Fgj",content:"transform-component-module_content__2jYgh"};SAe(xAe);var wAe=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,i=e.contentClass,o=i===void 0?"":i,a=e.wrapperStyle,s=e.contentStyle,l=w.useContext(wY).setComponents,u=w.useRef(null),d=w.useRef(null);return w.useEffect(function(){var h=u.current,m=d.current;h!==null&&m!==null&&l&&l(h,m)},[]),N.createElement("div",{ref:u,className:"react-transform-wrapper "+JD.wrapper+" "+r,style:a},N.createElement("div",{ref:d,className:"react-transform-component "+JD.content+" "+o,style:s},t))};function CAe({image:e,alt:t,ref:n,styleClass:r}){const[i,o]=w.useState(0),[a,s]=w.useState(!1),l=()=>{o(i===-3?0:i-1)},u=()=>{o(i===3?0:i+1)},d=()=>{s(!a)};return y.jsx(bAe,{centerOnInit:!0,minScale:.1,initialPositionX:50,initialPositionY:50,children:({zoomIn:h,zoomOut:m,resetTransform:v,centerView:b})=>y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"lightbox-image-options",children:[y.jsx(Qe,{icon:y.jsx(h_e,{}),"aria-label":"Zoom In",tooltip:"Zoom In",onClick:()=>h(),fontSize:20}),y.jsx(Qe,{icon:y.jsx(p_e,{}),"aria-label":"Zoom Out",tooltip:"Zoom Out",onClick:()=>m(),fontSize:20}),y.jsx(Qe,{icon:y.jsx(d_e,{}),"aria-label":"Rotate Left",tooltip:"Rotate Left",onClick:l,fontSize:20}),y.jsx(Qe,{icon:y.jsx(f_e,{}),"aria-label":"Rotate Right",tooltip:"Rotate Right",onClick:u,fontSize:20}),y.jsx(Qe,{icon:y.jsx(WEe,{}),"aria-label":"Flip Image",tooltip:"Flip Image",onClick:d,fontSize:20}),y.jsx(Qe,{icon:y.jsx(Gx,{}),"aria-label":"Reset",tooltip:"Reset",onClick:()=>{v(),o(0),s(!1)},fontSize:20})]}),y.jsx(wAe,{wrapperStyle:{width:"100%",height:"100%"},children:y.jsx("img",{style:{transform:`rotate(${i*90}deg) scaleX(${a?-1:1})`,width:"100%"},src:e,alt:t,ref:n,className:r||"",onLoad:()=>b(1,0,"easeOut")})})]})})}function _Ae(){const e=Me(),t=he(m=>m.lightbox.isLightboxOpen),{viewerImageToDisplay:n,shouldShowImageDetails:r,isOnFirstImage:i,isOnLastImage:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return Je("Esc",()=>{t&&e(Bm(!1))},[t]),y.jsxs("div",{className:"lightbox-container",children:[y.jsx(Qe,{icon:y.jsx(c_e,{}),"aria-label":"Exit Viewer",className:"lightbox-close-btn",onClick:()=>{e(Bm(!1))},fontSize:20}),y.jsxs("div",{className:"lightbox-display-container",children:[y.jsxs("div",{className:"lightbox-preview-wrapper",children:[y.jsx(wq,{}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!i&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!o&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),n&&y.jsxs(y.Fragment,{children:[y.jsx(CAe,{image:n.url,styleClass:"lightbox-image"}),r&&y.jsx(MP,{image:n})]})]}),y.jsx(uY,{})]})]})}function kAe(e){return gt({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zM8 13H3V2h5v11zm6 0H9V2h5v11z"}}]})(e)}const EAe=at(yp,e=>({resultImages:e.categories.result.images,userImages:e.categories.user.images})),PAe=()=>{const{resultImages:e,userImages:t}=he(EAe);return n=>{const r=e.find(o=>o.uuid===n);if(r)return r;const i=t.find(o=>o.uuid===n);if(i)return i}},TAe=at([mp,Ux,Or],(e,t,n)=>{const{shouldShowDualDisplay:r,shouldPinParametersPanel:i}=e,{isLightboxOpen:o}=t;return{shouldShowDualDisplay:r,shouldPinParametersPanel:i,isLightboxOpen:o,shouldShowDualDisplayButton:["inpainting"].includes(n),activeTabName:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),HP=e=>{const t=Me(),{optionsPanel:n,children:r,styleClass:i}=e,{activeTabName:o,shouldShowDualDisplay:a,isLightboxOpen:s,shouldShowDualDisplayButton:l}=he(TAe),u=PAe(),d=()=>{t(cCe(!a)),t(vi(!0))},h=m=>{const v=m.dataTransfer.getData("invokeai/imageUuid"),b=u(v);b&&(o==="img2img"?t(k0(b)):o==="unifiedCanvas"&&t(jx(b)))};return y.jsx("div",{className:i?`workarea-wrapper ${i}`:"workarea-wrapper",children:y.jsxs("div",{className:"workarea-main",children:[n,y.jsxs("div",{className:"workarea-children-wrapper",onDrop:h,children:[r,l&&y.jsx(uo,{label:"Toggle Split View",children:y.jsx("div",{className:"workarea-split-button","data-selected":a,onClick:d,children:y.jsx(kAe,{})})})]}),!s&&y.jsx(uY,{})]})})},LAe=e=>{const{styleClass:t}=e,n=w.useContext(SP),r=()=>{n&&n()};return y.jsx("div",{className:`image-uploader-button-outer ${t}`,onClick:r,children:y.jsxs("div",{className:"image-upload-button",children:[y.jsx(Jx,{}),y.jsx(Dh,{size:"lg",children:"Click or Drag and Drop"})]})})},AAe=at([yp,mp,Or],(e,t,n)=>{const{currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t;return{activeTabName:n,shouldShowImageDetails:o,hasAnImageToDisplay:r||i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CY=()=>{const{hasAnImageToDisplay:e,activeTabName:t}=he(AAe);return y.jsx("div",{className:"current-image-area","data-tab-name":t,children:e?y.jsxs(y.Fragment,{children:[y.jsx(wq,{}),y.jsx(MEe,{})]}):y.jsx("div",{className:"current-image-display-placeholder",children:y.jsx(UEe,{})})})},OAe=()=>{const e=w.useContext(SP);return y.jsx(Qe,{"aria-label":"Upload Image",tooltip:"Upload Image",icon:y.jsx(Jx,{}),onClick:e||void 0})};function MAe(){const e=he(o=>o.generation.initialImage),{t}=Ve(),n=Me(),r=Ry(),i=()=>{r({title:t("toast:parametersFailed"),description:t("toast:parametersFailedDesc"),status:"error",isClosable:!0}),n(aU())};return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"init-image-preview-header",children:[y.jsx("h2",{children:t("parameters:initialImage")}),y.jsx(OAe,{})]}),e&&y.jsx("div",{className:"init-image-preview",children:y.jsx(ZS,{fit:"contain",maxWidth:"100%",maxHeight:"100%",src:typeof e=="string"?e:e.url,onError:i})})]})}const IAe=()=>{const e=he(r=>r.generation.initialImage),{currentImage:t}=he(r=>r.gallery),n=e?y.jsx("div",{className:"image-to-image-area",children:y.jsx(MAe,{})}):y.jsx(LAe,{});return y.jsxs("div",{className:"workarea-split-view",children:[y.jsx("div",{className:"workarea-split-view-left",children:n}),t&&y.jsx("div",{className:"workarea-split-view-right",children:y.jsx(CY,{})})]})};var ao=(e=>(e[e.PROMPT=0]="PROMPT",e[e.GALLERY=1]="GALLERY",e[e.OTHER=2]="OTHER",e[e.SEED=3]="SEED",e[e.VARIATIONS=4]="VARIATIONS",e[e.UPSCALE=5]="UPSCALE",e[e.FACE_CORRECTION=6]="FACE_CORRECTION",e[e.IMAGE_TO_IMAGE=7]="IMAGE_TO_IMAGE",e[e.BOUNDING_BOX=8]="BOUNDING_BOX",e[e.SEAM_CORRECTION=9]="SEAM_CORRECTION",e[e.INFILL_AND_SCALING=10]="INFILL_AND_SCALING",e))(ao||{});const RAe=()=>{const{t:e}=Ve();return w.useMemo(()=>({[0]:{text:e("tooltip:feature.prompt"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[1]:{text:e("tooltip:feature.gallery"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[2]:{text:e("tooltip:feature.other"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[3]:{text:e("tooltip:feature.seed"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[4]:{text:e("tooltip:feature.variations"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[5]:{text:e("tooltip:feature.upscale"),href:"link/to/docs/feature1.html",guideImage:"asset/path.gif"},[6]:{text:e("tooltip:feature.faceCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[7]:{text:e("tooltip:feature.imageToImage"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[8]:{text:e("tooltip:feature.boundingBox"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[9]:{text:e("tooltip:feature.seamCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[10]:{text:e("tooltip:feature.infillAndScaling"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"}}),[e])},DAe=e=>RAe()[e],Vs=e=>{const{label:t,isDisabled:n=!1,width:r="auto",formControlProps:i,formLabelProps:o,styleClass:a,...s}=e;return y.jsxs(dn,{isDisabled:n,width:r,className:`invokeai__switch-form-control ${a}`,display:"flex",columnGap:"1rem",alignItems:"center",justifyContent:"space-between",...i,children:[y.jsx(kn,{className:"invokeai__switch-form-label",whiteSpace:"nowrap",marginRight:0,marginTop:.5,marginBottom:.5,fontSize:"sm",fontWeight:"bold",width:"auto",...o,children:t}),y.jsx(BE,{className:"invokeai__switch-root",...s})]})};function _Y(){const e=he(i=>i.system.isGFPGANAvailable),t=he(i=>i.postprocessing.shouldRunFacetool),n=Me(),r=i=>n(awe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function NAe(){const e=Me(),t=he(i=>i.generation.shouldFitToWidthHeight),n=i=>e(mU(i.target.checked)),{t:r}=Ve();return y.jsx(Vs,{label:r("parameters:imageFit"),isChecked:t,onChange:n})}function kY(e){const{t}=Ve(),{label:n=`${t("parameters:strength")}`,styleClass:r}=e,i=he(l=>l.generation.img2imgStrength),o=Me(),a=l=>o(c8(l)),s=()=>{o(c8(.75))};return y.jsx(so,{label:n,step:.01,min:.01,max:1,onChange:a,value:i,isInteger:!1,styleClass:r,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:s})}const EY=()=>{const e=Me(),t=he(i=>i.generation.seamless),n=i=>e(pU(i.target.checked)),{t:r}=Ve();return y.jsx(Ge,{gap:2,direction:"column",children:y.jsx(Vs,{label:r("parameters:seamlessTiling"),fontSize:"md",isChecked:t,onChange:n})})},jAe=()=>y.jsx(Ge,{gap:2,direction:"column",children:y.jsx(EY,{})});function BAe(){const e=Me(),t=he(i=>i.generation.perlin),{t:n}=Ve(),r=i=>e(fU(i));return y.jsx(ra,{label:n("parameters:perlinNoise"),min:0,max:1,step:.05,onChange:r,value:t,isInteger:!1})}function $Ae(){const e=Me(),{t}=Ve(),n=he(i=>i.generation.shouldRandomizeSeed),r=i=>e(ewe(i.target.checked));return y.jsx(Vs,{label:t("parameters:randomizeSeed"),isChecked:n,onChange:r})}function FAe(){const e=he(a=>a.generation.seed),t=he(a=>a.generation.shouldRandomizeSeed),n=he(a=>a.generation.shouldGenerateVariations),{t:r}=Ve(),i=Me(),o=a=>i(Ny(a));return y.jsx(ra,{label:r("parameters:seed"),step:1,precision:0,flexGrow:1,min:hP,max:pP,isDisabled:t,isInvalid:e<0&&n,onChange:o,value:e,width:"auto"})}function zAe(){const e=Me(),t=he(i=>i.generation.shouldRandomizeSeed),{t:n}=Ve(),r=()=>e(Ny(HG(hP,pP)));return y.jsx(as,{size:"sm",isDisabled:t,onClick:r,padding:"0 1.5rem",children:y.jsx("p",{children:n("parameters:shuffle")})})}function HAe(){const e=Me(),t=he(i=>i.generation.threshold),{t:n}=Ve(),r=i=>e(yU(i));return y.jsx(ra,{label:n("parameters:noiseThreshold"),min:0,max:1e3,step:.1,onChange:r,value:t,isInteger:!1})}const VP=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx($Ae,{}),y.jsxs(Ge,{gap:2,children:[y.jsx(FAe,{}),y.jsx(zAe,{})]}),y.jsx(Ge,{gap:2,children:y.jsx(HAe,{})}),y.jsx(Ge,{gap:2,children:y.jsx(BAe,{})})]});function PY(){const e=he(i=>i.system.isESRGANAvailable),t=he(i=>i.postprocessing.shouldRunESRGAN),n=Me(),r=i=>n(owe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function WP(){const e=he(r=>r.generation.shouldGenerateVariations),t=Me(),n=r=>t(Jxe(r.target.checked));return y.jsx(Vs,{isChecked:e,width:"auto",onChange:n})}function kr(e){const{label:t="",styleClass:n,isDisabled:r=!1,fontSize:i="sm",width:o,size:a="sm",isInvalid:s,...l}=e;return y.jsxs(dn,{className:`input ${n}`,isInvalid:s,isDisabled:r,children:[t!==""&&y.jsx(kn,{fontSize:i,fontWeight:"bold",alignItems:"center",whiteSpace:"nowrap",marginBottom:0,marginRight:0,className:"input-label",children:t}),y.jsx(hk,{...l,className:"input-entry",size:a,width:o})]})}function VAe(){const e=he(o=>o.generation.seedWeights),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Me(),i=o=>r(gU(o.target.value));return y.jsx(kr,{label:n("parameters:seedWeights"),value:e,isInvalid:t&&!(sP(e)||e===""),isDisabled:!t,onChange:i})}function WAe(){const e=he(o=>o.generation.variationAmount),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Me(),i=o=>r(twe(o));return y.jsx(ra,{label:n("parameters:variationAmount"),value:e,step:.01,min:0,max:1,isDisabled:!t,onChange:i,isInteger:!1})}const UP=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(WAe,{}),y.jsx(VAe,{})]});function UAe(){const e=Me(),t=he(i=>i.generation.cfgScale),{t:n}=Ve(),r=i=>e(lU(i));return y.jsx(ra,{label:n("parameters:cfgScale"),step:.5,min:1.01,max:200,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center",isInteger:!1})}function GAe(){const e=he(o=>o.generation.height),t=he(Or),n=Me(),{t:r}=Ve(),i=o=>n(uU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:r("parameters:height"),value:e,flexGrow:1,onChange:i,validValues:i7e,styleClass:"main-settings-block"})}const qAe=at([e=>e.generation],e=>{const{iterations:t}=e;return{iterations:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function YAe(){const e=Me(),{iterations:t}=he(qAe),{t:n}=Ve(),r=i=>e(Qxe(i));return y.jsx(ra,{label:n("parameters:images"),step:1,min:1,max:9999,onChange:r,value:t,width:"auto",labelFontSize:.5,styleClass:"main-settings-block",textAlign:"center"})}function KAe(){const e=he(o=>o.generation.sampler),t=he(qG),n=Me(),{t:r}=Ve(),i=o=>n(hU(o.target.value));return y.jsx(tl,{label:r("parameters:sampler"),value:e,onChange:i,validValues:t.format==="diffusers"?n7e:t7e,styleClass:"main-settings-block"})}function XAe(){const e=Me(),t=he(i=>i.generation.steps),{t:n}=Ve(),r=i=>e(vU(i));return y.jsx(ra,{label:n("parameters:steps"),min:1,max:9999,step:1,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center"})}function ZAe(){const e=he(o=>o.generation.width),t=he(Or),{t:n}=Ve(),r=Me(),i=o=>r(bU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:n("parameters:width"),value:e,flexGrow:1,onChange:i,validValues:r7e,styleClass:"main-settings-block"})}function GP(){return y.jsx("div",{className:"main-settings",children:y.jsxs("div",{className:"main-settings-list",children:[y.jsxs("div",{className:"main-settings-row",children:[y.jsx(YAe,{}),y.jsx(XAe,{}),y.jsx(UAe,{})]}),y.jsxs("div",{className:"main-settings-row",children:[y.jsx(ZAe,{}),y.jsx(GAe,{}),y.jsx(KAe,{})]})]})})}const QAe=at(ir,e=>e.shouldDisplayGuides),JAe=({children:e,feature:t})=>{const n=he(QAe),{text:r}=DAe(t);return n?y.jsxs(ME,{trigger:"hover",children:[y.jsx(DE,{children:y.jsx(ko,{children:e})}),y.jsxs(RE,{className:"guide-popover-content",maxWidth:"400px",onClick:i=>i.preventDefault(),cursor:"initial",children:[y.jsx(IE,{className:"guide-popover-arrow"}),y.jsx("div",{className:"guide-popover-guide-content",children:r})]})]}):null},eOe=Ae(({feature:e,icon:t=HEe},n)=>y.jsx(JAe,{feature:e,children:y.jsx(ko,{ref:n,children:y.jsx(Da,{marginBottom:"-.15rem",as:t})})}));function tOe(e){const{header:t,feature:n,content:r,additionalHeaderComponents:i}=e;return y.jsxs(Gg,{className:"advanced-parameters-item",children:[y.jsx(Wg,{className:"advanced-parameters-header",children:y.jsxs(Ge,{width:"100%",gap:"0.5rem",align:"center",children:[y.jsx(ko,{flexGrow:1,textAlign:"left",children:t}),i,n&&y.jsx(eOe,{feature:n}),y.jsx(Ug,{})]})}),y.jsx(qg,{className:"advanced-parameters-panel",children:r})]})}const qP=e=>{const{accordionInfo:t}=e,n=he(a=>a.system.openAccordions),r=Me(),i=a=>r(G6e(a)),o=()=>{const a=[];return t&&Object.keys(t).forEach(s=>{const{header:l,feature:u,content:d,additionalHeaderComponents:h}=t[s];a.push(y.jsx(tOe,{header:l,feature:u,content:d,additionalHeaderComponents:h},s))}),a};return y.jsx(ok,{defaultIndex:n,allowMultiple:!0,reduceMotion:!0,onChange:i,className:"advanced-parameters",children:o()})},nOe=at(ir,e=>({isProcessing:e.isProcessing,isConnected:e.isConnected,isCancelable:e.isCancelable}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function YP(e){const{...t}=e,n=Me(),{isProcessing:r,isConnected:i,isCancelable:o}=he(nOe),a=()=>n(j8e()),{t:s}=Ve();return Je("shift+x",()=>{(i||r)&&o&&a()},[i,r,o]),y.jsx(Qe,{icon:y.jsx(GEe,{}),tooltip:s("parameters:cancel"),"aria-label":s("parameters:cancel"),isDisabled:!i||!r||!o,onClick:a,styleClass:"cancel-btn",...t})}const KP=e=>e.generation;at(KP,({shouldRandomizeSeed:e,shouldGenerateVariations:t})=>e||t,{memoizeOptions:{resultEqualityCheck:ke.isEqual}});const TY=at([KP,ir,xq,Or],(e,t,n,r)=>{const{prompt:i,shouldGenerateVariations:o,seedWeights:a,initialImage:s,seed:l}=e,{isProcessing:u,isConnected:d}=t;let h=!0;const m=[];return(!i||Boolean(i.match(/^[\s\r\n]+$/)))&&(h=!1,m.push("Missing prompt")),r==="img2img"&&!s&&(h=!1,m.push("No initial image selected")),u&&(h=!1,m.push("System Busy")),d||(h=!1,m.push("System Disconnected")),o&&(!(sP(a)||a==="")||l===-1)&&(h=!1,m.push("Seed-Weights badly formatted.")),{isReady:h,reasonsWhyNotReady:m}},{memoizeOptions:{equalityCheck:ke.isEqual,resultEqualityCheck:ke.isEqual}});function XP(e){const{iconButton:t=!1,...n}=e,r=Me(),{isReady:i}=he(TY),o=he(Or),a=()=>{r(I8(o))},{t:s}=Ve();return Je(["ctrl+enter","meta+enter"],()=>{r(I8(o))},{enabled:()=>i,preventDefault:!0,enableOnFormTags:["input","textarea","select"]},[i,o]),y.jsx("div",{style:{flexGrow:4},children:t?y.jsx(Qe,{"aria-label":s("parameters:invoke"),type:"submit",icon:y.jsx(gEe,{}),isDisabled:!i,onClick:a,className:"invoke-btn",tooltip:s("parameters:invoke"),tooltipProps:{placement:"bottom"},...n}):y.jsx(cr,{"aria-label":s("parameters:invoke"),type:"submit",isDisabled:!i,onClick:a,className:"invoke-btn",...n,children:"Invoke"})})}const rOe=at(Fy,({shouldLoopback:e})=>e),iOe=()=>{const e=Me(),t=he(rOe),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("parameters:toggleLoopback"),tooltip:n("parameters:toggleLoopback"),styleClass:"loopback-btn",asCheckbox:!0,isChecked:t,icon:y.jsx(vEe,{}),onClick:()=>{e(iwe(!t))}})},ZP=()=>{const e=he(Or);return y.jsxs("div",{className:"process-buttons",children:[y.jsx(XP,{}),e==="img2img"&&y.jsx(iOe,{}),y.jsx(YP,{})]})},QP=()=>{const e=he(r=>r.generation.negativePrompt),t=Me(),{t:n}=Ve();return y.jsx(dn,{children:y.jsx($E,{id:"negativePrompt",name:"negativePrompt",value:e,onChange:r=>t(Q2(r.target.value)),background:"var(--prompt-bg-color)",placeholder:n("parameters:negativePrompts"),_placeholder:{fontSize:"0.8rem"},borderColor:"var(--border-color)",_hover:{borderColor:"var(--border-color-light)"},_focusVisible:{borderColor:"var(--border-color-invalid)",boxShadow:"0 0 10px var(--box-shadow-color-invalid)"},fontSize:"0.9rem",color:"var(--text-color-secondary)"})})},oOe=at([e=>e.generation,Or],(e,t)=>({prompt:e.prompt,activeTabName:t}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),JP=()=>{const e=Me(),{prompt:t,activeTabName:n}=he(oOe),{isReady:r}=he(TY),i=w.useRef(null),{t:o}=Ve(),a=l=>{e(Bx(l.target.value))};Je("alt+a",()=>{var l;(l=i.current)==null||l.focus()},[]);const s=l=>{l.key==="Enter"&&l.shiftKey===!1&&r&&(l.preventDefault(),e(I8(n)))};return y.jsx("div",{className:"prompt-bar",children:y.jsx(dn,{isInvalid:t.length===0||Boolean(t.match(/^[\s\r\n]+$/)),children:y.jsx($E,{id:"prompt",name:"prompt",placeholder:o("parameters:promptPlaceholder"),size:"lg",value:t,onChange:a,onKeyDown:s,resize:"vertical",height:30,ref:i,_placeholder:{color:"var(--text-color-secondary)"}})})})},LY=""+new URL("logo-13003d72.png",import.meta.url).href,aOe=at(mp,e=>{const{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}=e;return{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eT=e=>{const t=Me(),{shouldShowParametersPanel:n,shouldHoldParametersPanelOpen:r,shouldPinParametersPanel:i}=he(aOe),o=w.useRef(null),a=w.useRef(null),s=w.useRef(null),{children:l}=e;Je("o",()=>{t(Ku(!n)),i&&setTimeout(()=>t(vi(!0)),400)},[n,i]),Je("esc",()=>{t(Ku(!1))},{enabled:()=>!i,preventDefault:!0},[i]),Je("shift+o",()=>{m(),t(vi(!0))},[i]);const u=w.useCallback(()=>{i||(t(sCe(a.current?a.current.scrollTop:0)),t(Ku(!1)),t(lCe(!1)))},[t,i]),d=()=>{s.current=window.setTimeout(()=>u(),500)},h=()=>{s.current&&window.clearTimeout(s.current)},m=()=>{t(uCe(!i)),t(vi(!0))};return w.useEffect(()=>{function v(b){o.current&&!o.current.contains(b.target)&&u()}return document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[u]),y.jsx(Oq,{nodeRef:o,in:n||r&&!i,unmountOnExit:!0,timeout:200,classNames:"parameters-panel-wrapper",children:y.jsx("div",{className:"parameters-panel-wrapper","data-pinned":i,tabIndex:1,ref:o,onMouseEnter:i?void 0:h,onMouseOver:i?void 0:h,style:{borderRight:i?"":"0.3rem solid var(--tab-list-text-inactive)"},children:y.jsx("div",{className:"parameters-panel-margin",children:y.jsxs("div",{className:"parameters-panel",ref:a,onMouseLeave:v=>{v.target!==a.current?h():!i&&d()},children:[y.jsx(uo,{label:"Pin Options Panel",children:y.jsx("div",{className:"parameters-panel-pin-button","data-selected":i,onClick:m,children:i?y.jsx(Eq,{}):y.jsx(Pq,{})})}),!i&&y.jsxs("div",{className:"invoke-ai-logo-wrapper",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs("h1",{children:["invoke ",y.jsx("strong",{children:"ai"})]})]}),l]})})})})};function sOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(_Y,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(PY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(jAe,{})}},n=Me(),r=he(Or);return w.useEffect(()=>{r==="img2img"&&n(lP(!1))},[r,n]),y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(NAe,{}),y.jsx(qP,{accordionInfo:t})]})}function lOe(){return y.jsx(HP,{optionsPanel:y.jsx(sOe,{}),children:y.jsx(IAe,{})})}const uOe=()=>y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"text-to-image-area",children:y.jsx(CY,{})})}),cOe=at([Fy],({hiresFix:e,hiresStrength:t})=>({hiresFix:e,hiresStrength:t}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dOe=()=>{const{hiresFix:e,hiresStrength:t}=he(cOe),n=Me(),{t:r}=Ve(),i=a=>{n(VI(a))},o=()=>{n(VI(.75))};return y.jsx(so,{label:r("parameters:hiresStrength"),step:.01,min:.01,max:.99,onChange:i,value:t,isInteger:!1,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:o,isSliderDisabled:!e,isInputDisabled:!e,isResetDisabled:!e})},fOe=()=>{const e=Me(),t=he(i=>i.postprocessing.hiresFix),{t:n}=Ve(),r=i=>e(lP(i.target.checked));return y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(Vs,{label:n("parameters:hiresOptim"),fontSize:"md",isChecked:t,onChange:r}),y.jsx(dOe,{})]})},hOe=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(EY,{}),y.jsx(fOe,{})]});function pOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(_Y,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(PY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(hOe,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(qP,{accordionInfo:t})]})}function gOe(){return y.jsx(HP,{optionsPanel:y.jsx(pOe,{}),children:y.jsx(uOe,{})})}var K8={},mOe={get exports(){return K8},set exports(e){K8=e}};/** * @license React * react-reconciler.production.min.js * @@ -527,17 +527,17 @@ PERFORMANCE OF THIS SOFTWARE. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var mOe=function(t){var n={},r=w,i=Bh,o=Object.assign;function a(f){for(var p="https://reactjs.org/docs/error-decoder.html?invariant="+f,x=1;xse||L[G]!==M[se]){var pe=` -`+L[G].replace(" at new "," at ");return f.displayName&&pe.includes("")&&(pe=pe.replace("",f.displayName)),pe}while(1<=G&&0<=se);break}}}finally{al=!1,Error.prepareStackTrace=x}return(f=f?f.displayName||f.name:"")?yu(f):""}var Tp=Object.prototype.hasOwnProperty,xc=[],sl=-1;function oa(f){return{current:f}}function Dn(f){0>sl||(f.current=xc[sl],xc[sl]=null,sl--)}function Pn(f,p){sl++,xc[sl]=f.current,f.current=p}var aa={},Hr=oa(aa),li=oa(!1),sa=aa;function ll(f,p){var x=f.type.contextTypes;if(!x)return aa;var P=f.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===p)return P.__reactInternalMemoizedMaskedChildContext;var L={},M;for(M in x)L[M]=p[M];return P&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=p,f.__reactInternalMemoizedMaskedChildContext=L),L}function ui(f){return f=f.childContextTypes,f!=null}function vs(){Dn(li),Dn(Hr)}function bf(f,p,x){if(Hr.current!==aa)throw Error(a(168));Pn(Hr,p),Pn(li,x)}function Su(f,p,x){var P=f.stateNode;if(p=p.childContextTypes,typeof P.getChildContext!="function")return x;P=P.getChildContext();for(var L in P)if(!(L in p))throw Error(a(108,j(f)||"Unknown",L));return o({},x,P)}function ys(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||aa,sa=Hr.current,Pn(Hr,f),Pn(li,li.current),!0}function Sf(f,p,x){var P=f.stateNode;if(!P)throw Error(a(169));x?(f=Su(f,p,sa),P.__reactInternalMemoizedMergedChildContext=f,Dn(li),Dn(Hr),Pn(Hr,f)):Dn(li),Pn(li,x)}var Mi=Math.clz32?Math.clz32:xf,Lp=Math.log,Ap=Math.LN2;function xf(f){return f>>>=0,f===0?32:31-(Lp(f)/Ap|0)|0}var ul=64,Io=4194304;function cl(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function xu(f,p){var x=f.pendingLanes;if(x===0)return 0;var P=0,L=f.suspendedLanes,M=f.pingedLanes,G=x&268435455;if(G!==0){var se=G&~L;se!==0?P=cl(se):(M&=G,M!==0&&(P=cl(M)))}else G=x&~L,G!==0?P=cl(G):M!==0&&(P=cl(M));if(P===0)return 0;if(p!==0&&p!==P&&!(p&L)&&(L=P&-P,M=p&-p,L>=M||L===16&&(M&4194240)!==0))return p;if(P&4&&(P|=x&16),p=f.entangledLanes,p!==0)for(f=f.entanglements,p&=P;0x;x++)p.push(f);return p}function Fa(f,p,x){f.pendingLanes|=p,p!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,p=31-Mi(p),f[p]=x}function Cf(f,p){var x=f.pendingLanes&~p;f.pendingLanes=p,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=p,f.mutableReadLanes&=p,f.entangledLanes&=p,p=f.entanglements;var P=f.eventTimes;for(f=f.expirationTimes;0>=G,L-=G,uo=1<<32-Mi(p)+L|x<Gt?(ti=Rt,Rt=null):ti=Rt.sibling;var en=rt(me,Rt,be[Gt],Je);if(en===null){Rt===null&&(Rt=ti);break}f&&Rt&&en.alternate===null&&p(me,Rt),ue=M(en,ue,Gt),Bt===null?Me=en:Bt.sibling=en,Bt=en,Rt=ti}if(Gt===be.length)return x(me,Rt),Wn&&dl(me,Gt),Me;if(Rt===null){for(;GtGt?(ti=Rt,Rt=null):ti=Rt.sibling;var Ps=rt(me,Rt,en.value,Je);if(Ps===null){Rt===null&&(Rt=ti);break}f&&Rt&&Ps.alternate===null&&p(me,Rt),ue=M(Ps,ue,Gt),Bt===null?Me=Ps:Bt.sibling=Ps,Bt=Ps,Rt=ti}if(en.done)return x(me,Rt),Wn&&dl(me,Gt),Me;if(Rt===null){for(;!en.done;Gt++,en=be.next())en=jt(me,en.value,Je),en!==null&&(ue=M(en,ue,Gt),Bt===null?Me=en:Bt.sibling=en,Bt=en);return Wn&&dl(me,Gt),Me}for(Rt=P(me,Rt);!en.done;Gt++,en=be.next())en=Gn(Rt,me,Gt,en.value,Je),en!==null&&(f&&en.alternate!==null&&Rt.delete(en.key===null?Gt:en.key),ue=M(en,ue,Gt),Bt===null?Me=en:Bt.sibling=en,Bt=en);return f&&Rt.forEach(function(ki){return p(me,ki)}),Wn&&dl(me,Gt),Me}function ya(me,ue,be,Je){if(typeof be=="object"&&be!==null&&be.type===d&&be.key===null&&(be=be.props.children),typeof be=="object"&&be!==null){switch(be.$$typeof){case l:e:{for(var Me=be.key,Bt=ue;Bt!==null;){if(Bt.key===Me){if(Me=be.type,Me===d){if(Bt.tag===7){x(me,Bt.sibling),ue=L(Bt,be.props.children),ue.return=me,me=ue;break e}}else if(Bt.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===T&&t1(Me)===Bt.type){x(me,Bt.sibling),ue=L(Bt,be.props),ue.ref=Ha(me,Bt,be),ue.return=me,me=ue;break e}x(me,Bt);break}else p(me,Bt);Bt=Bt.sibling}be.type===d?(ue=kl(be.props.children,me.mode,Je,be.key),ue.return=me,me=ue):(Je=Zf(be.type,be.key,be.props,null,me.mode,Je),Je.ref=Ha(me,ue,be),Je.return=me,me=Je)}return G(me);case u:e:{for(Bt=be.key;ue!==null;){if(ue.key===Bt)if(ue.tag===4&&ue.stateNode.containerInfo===be.containerInfo&&ue.stateNode.implementation===be.implementation){x(me,ue.sibling),ue=L(ue,be.children||[]),ue.return=me,me=ue;break e}else{x(me,ue);break}else p(me,ue);ue=ue.sibling}ue=El(be,me.mode,Je),ue.return=me,me=ue}return G(me);case T:return Bt=be._init,ya(me,ue,Bt(be._payload),Je)}if(U(be))return Nn(me,ue,be,Je);if(R(be))return mr(me,ue,be,Je);Xi(me,be)}return typeof be=="string"&&be!==""||typeof be=="number"?(be=""+be,ue!==null&&ue.tag===6?(x(me,ue.sibling),ue=L(ue,be),ue.return=me,me=ue):(x(me,ue),ue=vg(be,me.mode,Je),ue.return=me,me=ue),G(me)):x(me,ue)}return ya}var Mc=r3(!0),i3=r3(!1),Rf={},jo=oa(Rf),Va=oa(Rf),oe=oa(Rf);function xe(f){if(f===Rf)throw Error(a(174));return f}function ve(f,p){Pn(oe,p),Pn(Va,f),Pn(jo,Rf),f=Z(p),Dn(jo),Pn(jo,f)}function nt(){Dn(jo),Dn(Va),Dn(oe)}function It(f){var p=xe(oe.current),x=xe(jo.current);p=W(x,f.type,p),x!==p&&(Pn(Va,f),Pn(jo,p))}function on(f){Va.current===f&&(Dn(jo),Dn(Va))}var Ft=oa(0);function mn(f){for(var p=f;p!==null;){if(p.tag===13){var x=p.memoizedState;if(x!==null&&(x=x.dehydrated,x===null||bc(x)||yf(x)))return p}else if(p.tag===19&&p.memoizedProps.revealOrder!==void 0){if(p.flags&128)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var Df=[];function n1(){for(var f=0;fx?x:4,f(!0);var P=Ic.transition;Ic.transition={};try{f(!1),p()}finally{Yt=x,Ic.transition=P}}function $c(){return Di().memoizedState}function c1(f,p,x){var P=qr(f);if(x={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null},Hc(f))Vc(p,x);else if(x=Oc(f,p,x,P),x!==null){var L=_i();$o(x,f,P,L),zf(x,p,P)}}function zc(f,p,x){var P=qr(f),L={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null};if(Hc(f))Vc(p,L);else{var M=f.alternate;if(f.lanes===0&&(M===null||M.lanes===0)&&(M=p.lastRenderedReducer,M!==null))try{var G=p.lastRenderedState,se=M(G,x);if(L.hasEagerState=!0,L.eagerState=se,Y(se,G)){var pe=p.interleaved;pe===null?(L.next=L,Mf(p)):(L.next=pe.next,pe.next=L),p.interleaved=L;return}}catch{}finally{}x=Oc(f,p,L,P),x!==null&&(L=_i(),$o(x,f,P,L),zf(x,p,P))}}function Hc(f){var p=f.alternate;return f===Tn||p!==null&&p===Tn}function Vc(f,p){Nf=un=!0;var x=f.pending;x===null?p.next=p:(p.next=x.next,x.next=p),f.pending=p}function zf(f,p,x){if(x&4194240){var P=p.lanes;P&=f.pendingLanes,x|=P,p.lanes=x,wu(f,x)}}var xs={readContext:co,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},mw={readContext:co,useCallback:function(f,p){return di().memoizedState=[f,p===void 0?null:p],f},useContext:co,useEffect:s3,useImperativeHandle:function(f,p,x){return x=x!=null?x.concat([f]):null,Eu(4194308,4,Rr.bind(null,p,f),x)},useLayoutEffect:function(f,p){return Eu(4194308,4,f,p)},useInsertionEffect:function(f,p){return Eu(4,2,f,p)},useMemo:function(f,p){var x=di();return p=p===void 0?null:p,f=f(),x.memoizedState=[f,p],f},useReducer:function(f,p,x){var P=di();return p=x!==void 0?x(p):p,P.memoizedState=P.baseState=p,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:p},P.queue=f,f=f.dispatch=c1.bind(null,Tn,f),[P.memoizedState,f]},useRef:function(f){var p=di();return f={current:f},p.memoizedState=f},useState:a3,useDebugValue:s1,useDeferredValue:function(f){return di().memoizedState=f},useTransition:function(){var f=a3(!1),p=f[0];return f=u1.bind(null,f[1]),di().memoizedState=f,[p,f]},useMutableSource:function(){},useSyncExternalStore:function(f,p,x){var P=Tn,L=di();if(Wn){if(x===void 0)throw Error(a(407));x=x()}else{if(x=p(),ei===null)throw Error(a(349));ku&30||a1(P,p,x)}L.memoizedState=x;var M={value:x,getSnapshot:p};return L.queue=M,s3(pl.bind(null,P,M,f),[f]),P.flags|=2048,Ff(9,Bc.bind(null,P,M,x,p),void 0,null),x},useId:function(){var f=di(),p=ei.identifierPrefix;if(Wn){var x=$a,P=uo;x=(P&~(1<<32-Mi(P)-1)).toString(32)+x,p=":"+p+"R"+x,x=Rc++,0le||L[G]!==M[le]){var pe=` +`+L[G].replace(" at new "," at ");return f.displayName&&pe.includes("")&&(pe=pe.replace("",f.displayName)),pe}while(1<=G&&0<=le);break}}}finally{al=!1,Error.prepareStackTrace=x}return(f=f?f.displayName||f.name:"")?yu(f):""}var Tp=Object.prototype.hasOwnProperty,xc=[],sl=-1;function oa(f){return{current:f}}function Dn(f){0>sl||(f.current=xc[sl],xc[sl]=null,sl--)}function Pn(f,p){sl++,xc[sl]=f.current,f.current=p}var aa={},Hr=oa(aa),li=oa(!1),sa=aa;function ll(f,p){var x=f.type.contextTypes;if(!x)return aa;var P=f.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===p)return P.__reactInternalMemoizedMaskedChildContext;var L={},M;for(M in x)L[M]=p[M];return P&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=p,f.__reactInternalMemoizedMaskedChildContext=L),L}function ui(f){return f=f.childContextTypes,f!=null}function vs(){Dn(li),Dn(Hr)}function bf(f,p,x){if(Hr.current!==aa)throw Error(a(168));Pn(Hr,p),Pn(li,x)}function Su(f,p,x){var P=f.stateNode;if(p=p.childContextTypes,typeof P.getChildContext!="function")return x;P=P.getChildContext();for(var L in P)if(!(L in p))throw Error(a(108,j(f)||"Unknown",L));return o({},x,P)}function ys(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||aa,sa=Hr.current,Pn(Hr,f),Pn(li,li.current),!0}function Sf(f,p,x){var P=f.stateNode;if(!P)throw Error(a(169));x?(f=Su(f,p,sa),P.__reactInternalMemoizedMergedChildContext=f,Dn(li),Dn(Hr),Pn(Hr,f)):Dn(li),Pn(li,x)}var Mi=Math.clz32?Math.clz32:xf,Lp=Math.log,Ap=Math.LN2;function xf(f){return f>>>=0,f===0?32:31-(Lp(f)/Ap|0)|0}var ul=64,Io=4194304;function cl(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function xu(f,p){var x=f.pendingLanes;if(x===0)return 0;var P=0,L=f.suspendedLanes,M=f.pingedLanes,G=x&268435455;if(G!==0){var le=G&~L;le!==0?P=cl(le):(M&=G,M!==0&&(P=cl(M)))}else G=x&~L,G!==0?P=cl(G):M!==0&&(P=cl(M));if(P===0)return 0;if(p!==0&&p!==P&&!(p&L)&&(L=P&-P,M=p&-p,L>=M||L===16&&(M&4194240)!==0))return p;if(P&4&&(P|=x&16),p=f.entangledLanes,p!==0)for(f=f.entanglements,p&=P;0x;x++)p.push(f);return p}function $a(f,p,x){f.pendingLanes|=p,p!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,p=31-Mi(p),f[p]=x}function Cf(f,p){var x=f.pendingLanes&~p;f.pendingLanes=p,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=p,f.mutableReadLanes&=p,f.entangledLanes&=p,p=f.entanglements;var P=f.eventTimes;for(f=f.expirationTimes;0>=G,L-=G,co=1<<32-Mi(p)+L|x<Gt?(ti=Rt,Rt=null):ti=Rt.sibling;var Jt=rt(me,Rt,be[Gt],et);if(Jt===null){Rt===null&&(Rt=ti);break}f&&Rt&&Jt.alternate===null&&p(me,Rt),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt,Rt=ti}if(Gt===be.length)return x(me,Rt),Wn&&dl(me,Gt),Oe;if(Rt===null){for(;GtGt?(ti=Rt,Rt=null):ti=Rt.sibling;var Ps=rt(me,Rt,Jt.value,et);if(Ps===null){Rt===null&&(Rt=ti);break}f&&Rt&&Ps.alternate===null&&p(me,Rt),ue=M(Ps,ue,Gt),Bt===null?Oe=Ps:Bt.sibling=Ps,Bt=Ps,Rt=ti}if(Jt.done)return x(me,Rt),Wn&&dl(me,Gt),Oe;if(Rt===null){for(;!Jt.done;Gt++,Jt=be.next())Jt=jt(me,Jt.value,et),Jt!==null&&(ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return Wn&&dl(me,Gt),Oe}for(Rt=P(me,Rt);!Jt.done;Gt++,Jt=be.next())Jt=Gn(Rt,me,Gt,Jt.value,et),Jt!==null&&(f&&Jt.alternate!==null&&Rt.delete(Jt.key===null?Gt:Jt.key),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return f&&Rt.forEach(function(ki){return p(me,ki)}),Wn&&dl(me,Gt),Oe}function ya(me,ue,be,et){if(typeof be=="object"&&be!==null&&be.type===d&&be.key===null&&(be=be.props.children),typeof be=="object"&&be!==null){switch(be.$$typeof){case l:e:{for(var Oe=be.key,Bt=ue;Bt!==null;){if(Bt.key===Oe){if(Oe=be.type,Oe===d){if(Bt.tag===7){x(me,Bt.sibling),ue=L(Bt,be.props.children),ue.return=me,me=ue;break e}}else if(Bt.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===T&&t1(Oe)===Bt.type){x(me,Bt.sibling),ue=L(Bt,be.props),ue.ref=Ha(me,Bt,be),ue.return=me,me=ue;break e}x(me,Bt);break}else p(me,Bt);Bt=Bt.sibling}be.type===d?(ue=kl(be.props.children,me.mode,et,be.key),ue.return=me,me=ue):(et=Zf(be.type,be.key,be.props,null,me.mode,et),et.ref=Ha(me,ue,be),et.return=me,me=et)}return G(me);case u:e:{for(Bt=be.key;ue!==null;){if(ue.key===Bt)if(ue.tag===4&&ue.stateNode.containerInfo===be.containerInfo&&ue.stateNode.implementation===be.implementation){x(me,ue.sibling),ue=L(ue,be.children||[]),ue.return=me,me=ue;break e}else{x(me,ue);break}else p(me,ue);ue=ue.sibling}ue=El(be,me.mode,et),ue.return=me,me=ue}return G(me);case T:return Bt=be._init,ya(me,ue,Bt(be._payload),et)}if(U(be))return Nn(me,ue,be,et);if(R(be))return mr(me,ue,be,et);Xi(me,be)}return typeof be=="string"&&be!==""||typeof be=="number"?(be=""+be,ue!==null&&ue.tag===6?(x(me,ue.sibling),ue=L(ue,be),ue.return=me,me=ue):(x(me,ue),ue=vg(be,me.mode,et),ue.return=me,me=ue),G(me)):x(me,ue)}return ya}var Mc=r3(!0),i3=r3(!1),Rf={},jo=oa(Rf),Va=oa(Rf),oe=oa(Rf);function we(f){if(f===Rf)throw Error(a(174));return f}function ve(f,p){Pn(oe,p),Pn(Va,f),Pn(jo,Rf),f=Z(p),Dn(jo),Pn(jo,f)}function nt(){Dn(jo),Dn(Va),Dn(oe)}function It(f){var p=we(oe.current),x=we(jo.current);p=W(x,f.type,p),x!==p&&(Pn(Va,f),Pn(jo,p))}function rn(f){Va.current===f&&(Dn(jo),Dn(Va))}var $t=oa(0);function mn(f){for(var p=f;p!==null;){if(p.tag===13){var x=p.memoizedState;if(x!==null&&(x=x.dehydrated,x===null||bc(x)||yf(x)))return p}else if(p.tag===19&&p.memoizedProps.revealOrder!==void 0){if(p.flags&128)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var Df=[];function n1(){for(var f=0;fx?x:4,f(!0);var P=Ic.transition;Ic.transition={};try{f(!1),p()}finally{Yt=x,Ic.transition=P}}function Fc(){return Di().memoizedState}function c1(f,p,x){var P=qr(f);if(x={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null},Hc(f))Vc(p,x);else if(x=Oc(f,p,x,P),x!==null){var L=_i();Fo(x,f,P,L),zf(x,p,P)}}function zc(f,p,x){var P=qr(f),L={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null};if(Hc(f))Vc(p,L);else{var M=f.alternate;if(f.lanes===0&&(M===null||M.lanes===0)&&(M=p.lastRenderedReducer,M!==null))try{var G=p.lastRenderedState,le=M(G,x);if(L.hasEagerState=!0,L.eagerState=le,Y(le,G)){var pe=p.interleaved;pe===null?(L.next=L,Mf(p)):(L.next=pe.next,pe.next=L),p.interleaved=L;return}}catch{}finally{}x=Oc(f,p,L,P),x!==null&&(L=_i(),Fo(x,f,P,L),zf(x,p,P))}}function Hc(f){var p=f.alternate;return f===Tn||p!==null&&p===Tn}function Vc(f,p){Nf=un=!0;var x=f.pending;x===null?p.next=p:(p.next=x.next,x.next=p),f.pending=p}function zf(f,p,x){if(x&4194240){var P=p.lanes;P&=f.pendingLanes,x|=P,p.lanes=x,wu(f,x)}}var xs={readContext:fo,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},vw={readContext:fo,useCallback:function(f,p){return di().memoizedState=[f,p===void 0?null:p],f},useContext:fo,useEffect:s3,useImperativeHandle:function(f,p,x){return x=x!=null?x.concat([f]):null,Eu(4194308,4,Rr.bind(null,p,f),x)},useLayoutEffect:function(f,p){return Eu(4194308,4,f,p)},useInsertionEffect:function(f,p){return Eu(4,2,f,p)},useMemo:function(f,p){var x=di();return p=p===void 0?null:p,f=f(),x.memoizedState=[f,p],f},useReducer:function(f,p,x){var P=di();return p=x!==void 0?x(p):p,P.memoizedState=P.baseState=p,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:p},P.queue=f,f=f.dispatch=c1.bind(null,Tn,f),[P.memoizedState,f]},useRef:function(f){var p=di();return f={current:f},p.memoizedState=f},useState:a3,useDebugValue:s1,useDeferredValue:function(f){return di().memoizedState=f},useTransition:function(){var f=a3(!1),p=f[0];return f=u1.bind(null,f[1]),di().memoizedState=f,[p,f]},useMutableSource:function(){},useSyncExternalStore:function(f,p,x){var P=Tn,L=di();if(Wn){if(x===void 0)throw Error(a(407));x=x()}else{if(x=p(),ei===null)throw Error(a(349));ku&30||a1(P,p,x)}L.memoizedState=x;var M={value:x,getSnapshot:p};return L.queue=M,s3(pl.bind(null,P,M,f),[f]),P.flags|=2048,$f(9,Bc.bind(null,P,M,x,p),void 0,null),x},useId:function(){var f=di(),p=ei.identifierPrefix;if(Wn){var x=Fa,P=co;x=(P&~(1<<32-Mi(P)-1)).toString(32)+x,p=":"+p+"R"+x,x=Rc++,0sg&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304)}else{if(!P)if(f=mn(M),f!==null){if(p.flags|=128,P=!0,f=f.updateQueue,f!==null&&(p.updateQueue=f,p.flags|=4),Gc(L,!0),L.tail===null&&L.tailMode==="hidden"&&!M.alternate&&!Wn)return xi(p),null}else 2*Xn()-L.renderingStartTime>sg&&x!==1073741824&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304);L.isBackwards?(M.sibling=p.child,p.child=M):(f=L.last,f!==null?f.sibling=M:p.child=M,L.last=M)}return L.tail!==null?(p=L.tail,L.rendering=p,L.tail=p.sibling,L.renderingStartTime=Xn(),p.sibling=null,f=Ft.current,Pn(Ft,P?f&1|2:f&1),p):(xi(p),null);case 22:case 23:return td(),x=p.memoizedState!==null,f!==null&&f.memoizedState!==null!==x&&(p.flags|=8192),x&&p.mode&1?ho&1073741824&&(xi(p),ct&&p.subtreeFlags&6&&(p.flags|=8192)):xi(p),null;case 24:return null;case 25:return null}throw Error(a(156,p.tag))}function y1(f,p){switch(Z0(p),p.tag){case 1:return ui(p.type)&&vs(),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return nt(),Dn(li),Dn(Hr),n1(),f=p.flags,f&65536&&!(f&128)?(p.flags=f&-65537|128,p):null;case 5:return on(p),null;case 13:if(Dn(Ft),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(a(340));Tc()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Dn(Ft),null;case 4:return nt(),null;case 10:return Af(p.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var ml=!1,Wr=!1,ww=typeof WeakSet=="function"?WeakSet:Set,st=null;function qc(f,p){var x=f.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(P){Qn(f,p,P)}else x.current=null}function pa(f,p,x){try{x()}catch(P){Qn(f,p,P)}}var Yp=!1;function Tu(f,p){for(Q(f.containerInfo),st=p;st!==null;)if(f=st,p=f.child,(f.subtreeFlags&1028)!==0&&p!==null)p.return=f,st=p;else for(;st!==null;){f=st;try{var x=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var P=x.memoizedProps,L=x.memoizedState,M=f.stateNode,G=M.getSnapshotBeforeUpdate(f.elementType===f.type?P:ua(f.type,P),L);M.__reactInternalSnapshotBeforeUpdate=G}break;case 3:ct&&rl(f.stateNode.containerInfo);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(se){Qn(f,f.return,se)}if(p=f.sibling,p!==null){p.return=f.return,st=p;break}st=f.return}return x=Yp,Yp=!1,x}function wi(f,p,x){var P=p.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var L=P=P.next;do{if((L.tag&f)===f){var M=L.destroy;L.destroy=void 0,M!==void 0&&pa(p,x,M)}L=L.next}while(L!==P)}}function Kp(f,p){if(p=p.updateQueue,p=p!==null?p.lastEffect:null,p!==null){var x=p=p.next;do{if((x.tag&f)===f){var P=x.create;x.destroy=P()}x=x.next}while(x!==p)}}function Xp(f){var p=f.ref;if(p!==null){var x=f.stateNode;switch(f.tag){case 5:f=X(x);break;default:f=x}typeof p=="function"?p(f):p.current=f}}function b1(f){var p=f.alternate;p!==null&&(f.alternate=null,b1(p)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(p=f.stateNode,p!==null&&at(p)),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function Yc(f){return f.tag===5||f.tag===3||f.tag===4}function Cs(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||Yc(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Zp(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Ke(x,f,p):At(x,f);else if(P!==4&&(f=f.child,f!==null))for(Zp(f,p,x),f=f.sibling;f!==null;)Zp(f,p,x),f=f.sibling}function S1(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Rn(x,f,p):Le(x,f);else if(P!==4&&(f=f.child,f!==null))for(S1(f,p,x),f=f.sibling;f!==null;)S1(f,p,x),f=f.sibling}var Nr=null,ga=!1;function ma(f,p,x){for(x=x.child;x!==null;)Ur(f,p,x),x=x.sibling}function Ur(f,p,x){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(gn,x)}catch{}switch(x.tag){case 5:Wr||qc(x,p);case 6:if(ct){var P=Nr,L=ga;Nr=null,ma(f,p,x),Nr=P,ga=L,Nr!==null&&(ga?ft(Nr,x.stateNode):xt(Nr,x.stateNode))}else ma(f,p,x);break;case 18:ct&&Nr!==null&&(ga?G0(Nr,x.stateNode):U0(Nr,x.stateNode));break;case 4:ct?(P=Nr,L=ga,Nr=x.stateNode.containerInfo,ga=!0,ma(f,p,x),Nr=P,ga=L):(mt&&(P=x.stateNode.containerInfo,L=Ba(P),yc(P,L)),ma(f,p,x));break;case 0:case 11:case 14:case 15:if(!Wr&&(P=x.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){L=P=P.next;do{var M=L,G=M.destroy;M=M.tag,G!==void 0&&(M&2||M&4)&&pa(x,p,G),L=L.next}while(L!==P)}ma(f,p,x);break;case 1:if(!Wr&&(qc(x,p),P=x.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=x.memoizedProps,P.state=x.memoizedState,P.componentWillUnmount()}catch(se){Qn(x,p,se)}ma(f,p,x);break;case 21:ma(f,p,x);break;case 22:x.mode&1?(Wr=(P=Wr)||x.memoizedState!==null,ma(f,p,x),Wr=P):ma(f,p,x);break;default:ma(f,p,x)}}function Qp(f){var p=f.updateQueue;if(p!==null){f.updateQueue=null;var x=f.stateNode;x===null&&(x=f.stateNode=new ww),p.forEach(function(P){var L=k3.bind(null,f,P);x.has(P)||(x.add(P),P.then(L,L))})}}function Bo(f,p){var x=p.deletions;if(x!==null)for(var P=0;P";case ng:return":has("+(C1(f)||"")+")";case rg:return'[role="'+f.value+'"]';case ig:return'"'+f.value+'"';case Kc:return'[data-testname="'+f.value+'"]';default:throw Error(a(365))}}function Xc(f,p){var x=[];f=[f,0];for(var P=0;PL&&(L=G),P&=~M}if(P=L,P=Xn()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*Cw(P/1960))-P,10f?16:f,Ot===null)var P=!1;else{if(f=Ot,Ot=null,lg=0,Ut&6)throw Error(a(331));var L=Ut;for(Ut|=4,st=f.current;st!==null;){var M=st,G=M.child;if(st.flags&16){var se=M.deletions;if(se!==null){for(var pe=0;peXn()-E1?wl(f,0):k1|=x),hi(f,p)}function O1(f,p){p===0&&(f.mode&1?(p=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):p=1);var x=_i();f=ca(f,p),f!==null&&(Fa(f,p,x),hi(f,x))}function kw(f){var p=f.memoizedState,x=0;p!==null&&(x=p.retryLane),O1(f,x)}function k3(f,p){var x=0;switch(f.tag){case 13:var P=f.stateNode,L=f.memoizedState;L!==null&&(x=L.retryLane);break;case 19:P=f.stateNode;break;default:throw Error(a(314))}P!==null&&P.delete(p),O1(f,x)}var M1;M1=function(f,p,x){if(f!==null)if(f.memoizedProps!==p.pendingProps||li.current)Zi=!0;else{if(!(f.lanes&x)&&!(p.flags&128))return Zi=!1,Sw(f,p,x);Zi=!!(f.flags&131072)}else Zi=!1,Wn&&p.flags&1048576&&X0(p,Ir,p.index);switch(p.lanes=0,p.tag){case 2:var P=p.type;Wa(f,p),f=p.pendingProps;var L=ll(p,Hr.current);Ac(p,x),L=i1(null,p,P,f,L,x);var M=Dc();return p.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(p.tag=1,p.memoizedState=null,p.updateQueue=null,ui(P)?(M=!0,ys(p)):M=!1,p.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,J0(p),L.updater=da,p.stateNode=L,L._reactInternals=p,e1(p,P,f,x),p=fa(null,p,P,!0,M,x)):(p.tag=0,Wn&&M&&Ii(p),Ni(null,p,L,x),p=p.child),p;case 16:P=p.elementType;e:{switch(Wa(f,p),f=p.pendingProps,L=P._init,P=L(P._payload),p.type=P,L=p.tag=gg(P),f=ua(P,f),L){case 0:p=h1(null,p,P,f,x);break e;case 1:p=m3(null,p,P,f,x);break e;case 11:p=f3(null,p,P,f,x);break e;case 14:p=gl(null,p,P,ua(P.type,f),x);break e}throw Error(a(306,P,""))}return p;case 0:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),h1(f,p,P,L,x);case 1:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),m3(f,p,P,L,x);case 3:e:{if(v3(p),f===null)throw Error(a(387));P=p.pendingProps,M=p.memoizedState,L=M.element,Jy(f,p),Fp(p,P,null,x);var G=p.memoizedState;if(P=G.element,St&&M.isDehydrated)if(M={element:P,isDehydrated:!1,cache:G.cache,pendingSuspenseBoundaries:G.pendingSuspenseBoundaries,transitions:G.transitions},p.updateQueue.baseState=M,p.memoizedState=M,p.flags&256){L=Wc(Error(a(423)),p),p=y3(f,p,P,x,L);break e}else if(P!==L){L=Wc(Error(a(424)),p),p=y3(f,p,P,x,L);break e}else for(St&&(Do=B0(p.stateNode.containerInfo),Zn=p,Wn=!0,Ki=null,No=!1),x=i3(p,null,P,x),p.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(Tc(),P===L){p=ws(f,p,x);break e}Ni(f,p,P,x)}p=p.child}return p;case 5:return It(p),f===null&&Ef(p),P=p.type,L=p.pendingProps,M=f!==null?f.memoizedProps:null,G=L.children,He(P,L)?G=null:M!==null&&He(P,M)&&(p.flags|=32),g3(f,p),Ni(f,p,G,x),p.child;case 6:return f===null&&Ef(p),null;case 13:return b3(f,p,x);case 4:return ve(p,p.stateNode.containerInfo),P=p.pendingProps,f===null?p.child=Mc(p,null,P,x):Ni(f,p,P,x),p.child;case 11:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),f3(f,p,P,L,x);case 7:return Ni(f,p,p.pendingProps,x),p.child;case 8:return Ni(f,p,p.pendingProps.children,x),p.child;case 12:return Ni(f,p,p.pendingProps.children,x),p.child;case 10:e:{if(P=p.type._context,L=p.pendingProps,M=p.memoizedProps,G=L.value,Qy(p,P,G),M!==null)if(Y(M.value,G)){if(M.children===L.children&&!li.current){p=ws(f,p,x);break e}}else for(M=p.child,M!==null&&(M.return=p);M!==null;){var se=M.dependencies;if(se!==null){G=M.child;for(var pe=se.firstContext;pe!==null;){if(pe.context===P){if(M.tag===1){pe=Ss(-1,x&-x),pe.tag=2;var ze=M.updateQueue;if(ze!==null){ze=ze.shared;var dt=ze.pending;dt===null?pe.next=pe:(pe.next=dt.next,dt.next=pe),ze.pending=pe}}M.lanes|=x,pe=M.alternate,pe!==null&&(pe.lanes|=x),Of(M.return,x,p),se.lanes|=x;break}pe=pe.next}}else if(M.tag===10)G=M.type===p.type?null:M.child;else if(M.tag===18){if(G=M.return,G===null)throw Error(a(341));G.lanes|=x,se=G.alternate,se!==null&&(se.lanes|=x),Of(G,x,p),G=M.sibling}else G=M.child;if(G!==null)G.return=M;else for(G=M;G!==null;){if(G===p){G=null;break}if(M=G.sibling,M!==null){M.return=G.return,G=M;break}G=G.return}M=G}Ni(f,p,L.children,x),p=p.child}return p;case 9:return L=p.type,P=p.pendingProps.children,Ac(p,x),L=co(L),P=P(L),p.flags|=1,Ni(f,p,P,x),p.child;case 14:return P=p.type,L=ua(P,p.pendingProps),L=ua(P.type,L),gl(f,p,P,L,x);case 15:return h3(f,p,p.type,p.pendingProps,x);case 17:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),Wa(f,p),p.tag=1,ui(P)?(f=!0,ys(p)):f=!1,Ac(p,x),t3(p,P,L),e1(p,P,L,x),fa(null,p,P,!0,f,x);case 19:return x3(f,p,x);case 22:return p3(f,p,x)}throw Error(a(156,p.tag))};function Fi(f,p){return kc(f,p)}function Ua(f,p,x,P){this.tag=f,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(f,p,x,P){return new Ua(f,p,x,P)}function I1(f){return f=f.prototype,!(!f||!f.isReactComponent)}function gg(f){if(typeof f=="function")return I1(f)?1:0;if(f!=null){if(f=f.$$typeof,f===S)return 11;if(f===_)return 14}return 2}function go(f,p){var x=f.alternate;return x===null?(x=zo(f.tag,p,f.key,f.mode),x.elementType=f.elementType,x.type=f.type,x.stateNode=f.stateNode,x.alternate=f,f.alternate=x):(x.pendingProps=p,x.type=f.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=f.flags&14680064,x.childLanes=f.childLanes,x.lanes=f.lanes,x.child=f.child,x.memoizedProps=f.memoizedProps,x.memoizedState=f.memoizedState,x.updateQueue=f.updateQueue,p=f.dependencies,x.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},x.sibling=f.sibling,x.index=f.index,x.ref=f.ref,x}function Zf(f,p,x,P,L,M){var G=2;if(P=f,typeof f=="function")I1(f)&&(G=1);else if(typeof f=="string")G=5;else e:switch(f){case d:return kl(x.children,L,M,p);case h:G=8,L|=8;break;case m:return f=zo(12,x,p,L|2),f.elementType=m,f.lanes=M,f;case k:return f=zo(13,x,p,L),f.elementType=k,f.lanes=M,f;case E:return f=zo(19,x,p,L),f.elementType=E,f.lanes=M,f;case A:return mg(x,L,M,p);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case v:G=10;break e;case b:G=9;break e;case S:G=11;break e;case _:G=14;break e;case T:G=16,P=null;break e}throw Error(a(130,f==null?f:typeof f,""))}return p=zo(G,x,p,L),p.elementType=f,p.type=P,p.lanes=M,p}function kl(f,p,x,P){return f=zo(7,f,P,p),f.lanes=x,f}function mg(f,p,x,P){return f=zo(22,f,P,p),f.elementType=A,f.lanes=x,f.stateNode={isHidden:!1},f}function vg(f,p,x){return f=zo(6,f,null,p),f.lanes=x,f}function El(f,p,x){return p=zo(4,f.children!==null?f.children:[],f.key,p),p.lanes=x,p.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},p}function Qf(f,p,x,P,L){this.tag=p,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=lt,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=P,this.onRecoverableError=L,St&&(this.mutableSourceEagerHydrationData=null)}function E3(f,p,x,P,L,M,G,se,pe){return f=new Qf(f,p,x,se,pe),p===1?(p=1,M===!0&&(p|=8)):p=0,M=zo(3,null,null,p),f.current=M,M.stateNode=f,M.memoizedState={element:P,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},J0(M),f}function R1(f){if(!f)return aa;f=f._reactInternals;e:{if(z(f)!==f||f.tag!==1)throw Error(a(170));var p=f;do{switch(p.tag){case 3:p=p.stateNode.context;break e;case 1:if(ui(p.type)){p=p.stateNode.__reactInternalMemoizedMergedChildContext;break e}}p=p.return}while(p!==null);throw Error(a(171))}if(f.tag===1){var x=f.type;if(ui(x))return Su(f,x,p)}return p}function D1(f){var p=f._reactInternals;if(p===void 0)throw typeof f.render=="function"?Error(a(188)):(f=Object.keys(f).join(","),Error(a(268,f)));return f=te(p),f===null?null:f.stateNode}function Jf(f,p){if(f=f.memoizedState,f!==null&&f.dehydrated!==null){var x=f.retryLane;f.retryLane=x!==0&&x=ze&&M>=jt&&L<=dt&&G<=rt){f.splice(p,1);break}else if(P!==ze||x.width!==pe.width||rtG){if(!(M!==jt||x.height!==pe.height||dtL)){ze>P&&(pe.width+=ze-P,pe.x=P),dtM&&(pe.height+=jt-M,pe.y=M),rtx&&(x=G)),Gsg&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304)}else{if(!P)if(f=mn(M),f!==null){if(p.flags|=128,P=!0,f=f.updateQueue,f!==null&&(p.updateQueue=f,p.flags|=4),Gc(L,!0),L.tail===null&&L.tailMode==="hidden"&&!M.alternate&&!Wn)return xi(p),null}else 2*Xn()-L.renderingStartTime>sg&&x!==1073741824&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304);L.isBackwards?(M.sibling=p.child,p.child=M):(f=L.last,f!==null?f.sibling=M:p.child=M,L.last=M)}return L.tail!==null?(p=L.tail,L.rendering=p,L.tail=p.sibling,L.renderingStartTime=Xn(),p.sibling=null,f=$t.current,Pn($t,P?f&1|2:f&1),p):(xi(p),null);case 22:case 23:return td(),x=p.memoizedState!==null,f!==null&&f.memoizedState!==null!==x&&(p.flags|=8192),x&&p.mode&1?po&1073741824&&(xi(p),st&&p.subtreeFlags&6&&(p.flags|=8192)):xi(p),null;case 24:return null;case 25:return null}throw Error(a(156,p.tag))}function y1(f,p){switch(Z0(p),p.tag){case 1:return ui(p.type)&&vs(),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return nt(),Dn(li),Dn(Hr),n1(),f=p.flags,f&65536&&!(f&128)?(p.flags=f&-65537|128,p):null;case 5:return rn(p),null;case 13:if(Dn($t),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(a(340));Tc()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Dn($t),null;case 4:return nt(),null;case 10:return Af(p.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var ml=!1,Wr=!1,Cw=typeof WeakSet=="function"?WeakSet:Set,ct=null;function qc(f,p){var x=f.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(P){Qn(f,p,P)}else x.current=null}function pa(f,p,x){try{x()}catch(P){Qn(f,p,P)}}var Yp=!1;function Tu(f,p){for(Q(f.containerInfo),ct=p;ct!==null;)if(f=ct,p=f.child,(f.subtreeFlags&1028)!==0&&p!==null)p.return=f,ct=p;else for(;ct!==null;){f=ct;try{var x=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var P=x.memoizedProps,L=x.memoizedState,M=f.stateNode,G=M.getSnapshotBeforeUpdate(f.elementType===f.type?P:ua(f.type,P),L);M.__reactInternalSnapshotBeforeUpdate=G}break;case 3:st&&rl(f.stateNode.containerInfo);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(le){Qn(f,f.return,le)}if(p=f.sibling,p!==null){p.return=f.return,ct=p;break}ct=f.return}return x=Yp,Yp=!1,x}function wi(f,p,x){var P=p.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var L=P=P.next;do{if((L.tag&f)===f){var M=L.destroy;L.destroy=void 0,M!==void 0&&pa(p,x,M)}L=L.next}while(L!==P)}}function Kp(f,p){if(p=p.updateQueue,p=p!==null?p.lastEffect:null,p!==null){var x=p=p.next;do{if((x.tag&f)===f){var P=x.create;x.destroy=P()}x=x.next}while(x!==p)}}function Xp(f){var p=f.ref;if(p!==null){var x=f.stateNode;switch(f.tag){case 5:f=X(x);break;default:f=x}typeof p=="function"?p(f):p.current=f}}function b1(f){var p=f.alternate;p!==null&&(f.alternate=null,b1(p)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(p=f.stateNode,p!==null&&ut(p)),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function Yc(f){return f.tag===5||f.tag===3||f.tag===4}function Cs(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||Yc(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Zp(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Xe(x,f,p):At(x,f);else if(P!==4&&(f=f.child,f!==null))for(Zp(f,p,x),f=f.sibling;f!==null;)Zp(f,p,x),f=f.sibling}function S1(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Rn(x,f,p):Te(x,f);else if(P!==4&&(f=f.child,f!==null))for(S1(f,p,x),f=f.sibling;f!==null;)S1(f,p,x),f=f.sibling}var Nr=null,ga=!1;function ma(f,p,x){for(x=x.child;x!==null;)Ur(f,p,x),x=x.sibling}function Ur(f,p,x){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(gn,x)}catch{}switch(x.tag){case 5:Wr||qc(x,p);case 6:if(st){var P=Nr,L=ga;Nr=null,ma(f,p,x),Nr=P,ga=L,Nr!==null&&(ga?ft(Nr,x.stateNode):xt(Nr,x.stateNode))}else ma(f,p,x);break;case 18:st&&Nr!==null&&(ga?G0(Nr,x.stateNode):U0(Nr,x.stateNode));break;case 4:st?(P=Nr,L=ga,Nr=x.stateNode.containerInfo,ga=!0,ma(f,p,x),Nr=P,ga=L):(mt&&(P=x.stateNode.containerInfo,L=Ba(P),yc(P,L)),ma(f,p,x));break;case 0:case 11:case 14:case 15:if(!Wr&&(P=x.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){L=P=P.next;do{var M=L,G=M.destroy;M=M.tag,G!==void 0&&(M&2||M&4)&&pa(x,p,G),L=L.next}while(L!==P)}ma(f,p,x);break;case 1:if(!Wr&&(qc(x,p),P=x.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=x.memoizedProps,P.state=x.memoizedState,P.componentWillUnmount()}catch(le){Qn(x,p,le)}ma(f,p,x);break;case 21:ma(f,p,x);break;case 22:x.mode&1?(Wr=(P=Wr)||x.memoizedState!==null,ma(f,p,x),Wr=P):ma(f,p,x);break;default:ma(f,p,x)}}function Qp(f){var p=f.updateQueue;if(p!==null){f.updateQueue=null;var x=f.stateNode;x===null&&(x=f.stateNode=new Cw),p.forEach(function(P){var L=k3.bind(null,f,P);x.has(P)||(x.add(P),P.then(L,L))})}}function Bo(f,p){var x=p.deletions;if(x!==null)for(var P=0;P";case ng:return":has("+(C1(f)||"")+")";case rg:return'[role="'+f.value+'"]';case ig:return'"'+f.value+'"';case Kc:return'[data-testname="'+f.value+'"]';default:throw Error(a(365))}}function Xc(f,p){var x=[];f=[f,0];for(var P=0;PL&&(L=G),P&=~M}if(P=L,P=Xn()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*_w(P/1960))-P,10f?16:f,Ot===null)var P=!1;else{if(f=Ot,Ot=null,lg=0,Ut&6)throw Error(a(331));var L=Ut;for(Ut|=4,ct=f.current;ct!==null;){var M=ct,G=M.child;if(ct.flags&16){var le=M.deletions;if(le!==null){for(var pe=0;peXn()-E1?wl(f,0):k1|=x),hi(f,p)}function O1(f,p){p===0&&(f.mode&1?(p=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):p=1);var x=_i();f=ca(f,p),f!==null&&($a(f,p,x),hi(f,x))}function Ew(f){var p=f.memoizedState,x=0;p!==null&&(x=p.retryLane),O1(f,x)}function k3(f,p){var x=0;switch(f.tag){case 13:var P=f.stateNode,L=f.memoizedState;L!==null&&(x=L.retryLane);break;case 19:P=f.stateNode;break;default:throw Error(a(314))}P!==null&&P.delete(p),O1(f,x)}var M1;M1=function(f,p,x){if(f!==null)if(f.memoizedProps!==p.pendingProps||li.current)Zi=!0;else{if(!(f.lanes&x)&&!(p.flags&128))return Zi=!1,xw(f,p,x);Zi=!!(f.flags&131072)}else Zi=!1,Wn&&p.flags&1048576&&X0(p,Ir,p.index);switch(p.lanes=0,p.tag){case 2:var P=p.type;Wa(f,p),f=p.pendingProps;var L=ll(p,Hr.current);Ac(p,x),L=i1(null,p,P,f,L,x);var M=Dc();return p.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(p.tag=1,p.memoizedState=null,p.updateQueue=null,ui(P)?(M=!0,ys(p)):M=!1,p.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,J0(p),L.updater=da,p.stateNode=L,L._reactInternals=p,e1(p,P,f,x),p=fa(null,p,P,!0,M,x)):(p.tag=0,Wn&&M&&Ii(p),Ni(null,p,L,x),p=p.child),p;case 16:P=p.elementType;e:{switch(Wa(f,p),f=p.pendingProps,L=P._init,P=L(P._payload),p.type=P,L=p.tag=gg(P),f=ua(P,f),L){case 0:p=h1(null,p,P,f,x);break e;case 1:p=m3(null,p,P,f,x);break e;case 11:p=f3(null,p,P,f,x);break e;case 14:p=gl(null,p,P,ua(P.type,f),x);break e}throw Error(a(306,P,""))}return p;case 0:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),h1(f,p,P,L,x);case 1:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),m3(f,p,P,L,x);case 3:e:{if(v3(p),f===null)throw Error(a(387));P=p.pendingProps,M=p.memoizedState,L=M.element,Jy(f,p),$p(p,P,null,x);var G=p.memoizedState;if(P=G.element,St&&M.isDehydrated)if(M={element:P,isDehydrated:!1,cache:G.cache,pendingSuspenseBoundaries:G.pendingSuspenseBoundaries,transitions:G.transitions},p.updateQueue.baseState=M,p.memoizedState=M,p.flags&256){L=Wc(Error(a(423)),p),p=y3(f,p,P,x,L);break e}else if(P!==L){L=Wc(Error(a(424)),p),p=y3(f,p,P,x,L);break e}else for(St&&(Do=B0(p.stateNode.containerInfo),Zn=p,Wn=!0,Ki=null,No=!1),x=i3(p,null,P,x),p.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(Tc(),P===L){p=ws(f,p,x);break e}Ni(f,p,P,x)}p=p.child}return p;case 5:return It(p),f===null&&Ef(p),P=p.type,L=p.pendingProps,M=f!==null?f.memoizedProps:null,G=L.children,We(P,L)?G=null:M!==null&&We(P,M)&&(p.flags|=32),g3(f,p),Ni(f,p,G,x),p.child;case 6:return f===null&&Ef(p),null;case 13:return b3(f,p,x);case 4:return ve(p,p.stateNode.containerInfo),P=p.pendingProps,f===null?p.child=Mc(p,null,P,x):Ni(f,p,P,x),p.child;case 11:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),f3(f,p,P,L,x);case 7:return Ni(f,p,p.pendingProps,x),p.child;case 8:return Ni(f,p,p.pendingProps.children,x),p.child;case 12:return Ni(f,p,p.pendingProps.children,x),p.child;case 10:e:{if(P=p.type._context,L=p.pendingProps,M=p.memoizedProps,G=L.value,Qy(p,P,G),M!==null)if(Y(M.value,G)){if(M.children===L.children&&!li.current){p=ws(f,p,x);break e}}else for(M=p.child,M!==null&&(M.return=p);M!==null;){var le=M.dependencies;if(le!==null){G=M.child;for(var pe=le.firstContext;pe!==null;){if(pe.context===P){if(M.tag===1){pe=Ss(-1,x&-x),pe.tag=2;var ze=M.updateQueue;if(ze!==null){ze=ze.shared;var dt=ze.pending;dt===null?pe.next=pe:(pe.next=dt.next,dt.next=pe),ze.pending=pe}}M.lanes|=x,pe=M.alternate,pe!==null&&(pe.lanes|=x),Of(M.return,x,p),le.lanes|=x;break}pe=pe.next}}else if(M.tag===10)G=M.type===p.type?null:M.child;else if(M.tag===18){if(G=M.return,G===null)throw Error(a(341));G.lanes|=x,le=G.alternate,le!==null&&(le.lanes|=x),Of(G,x,p),G=M.sibling}else G=M.child;if(G!==null)G.return=M;else for(G=M;G!==null;){if(G===p){G=null;break}if(M=G.sibling,M!==null){M.return=G.return,G=M;break}G=G.return}M=G}Ni(f,p,L.children,x),p=p.child}return p;case 9:return L=p.type,P=p.pendingProps.children,Ac(p,x),L=fo(L),P=P(L),p.flags|=1,Ni(f,p,P,x),p.child;case 14:return P=p.type,L=ua(P,p.pendingProps),L=ua(P.type,L),gl(f,p,P,L,x);case 15:return h3(f,p,p.type,p.pendingProps,x);case 17:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),Wa(f,p),p.tag=1,ui(P)?(f=!0,ys(p)):f=!1,Ac(p,x),t3(p,P,L),e1(p,P,L,x),fa(null,p,P,!0,f,x);case 19:return x3(f,p,x);case 22:return p3(f,p,x)}throw Error(a(156,p.tag))};function $i(f,p){return kc(f,p)}function Ua(f,p,x,P){this.tag=f,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(f,p,x,P){return new Ua(f,p,x,P)}function I1(f){return f=f.prototype,!(!f||!f.isReactComponent)}function gg(f){if(typeof f=="function")return I1(f)?1:0;if(f!=null){if(f=f.$$typeof,f===S)return 11;if(f===_)return 14}return 2}function mo(f,p){var x=f.alternate;return x===null?(x=zo(f.tag,p,f.key,f.mode),x.elementType=f.elementType,x.type=f.type,x.stateNode=f.stateNode,x.alternate=f,f.alternate=x):(x.pendingProps=p,x.type=f.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=f.flags&14680064,x.childLanes=f.childLanes,x.lanes=f.lanes,x.child=f.child,x.memoizedProps=f.memoizedProps,x.memoizedState=f.memoizedState,x.updateQueue=f.updateQueue,p=f.dependencies,x.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},x.sibling=f.sibling,x.index=f.index,x.ref=f.ref,x}function Zf(f,p,x,P,L,M){var G=2;if(P=f,typeof f=="function")I1(f)&&(G=1);else if(typeof f=="string")G=5;else e:switch(f){case d:return kl(x.children,L,M,p);case h:G=8,L|=8;break;case m:return f=zo(12,x,p,L|2),f.elementType=m,f.lanes=M,f;case k:return f=zo(13,x,p,L),f.elementType=k,f.lanes=M,f;case E:return f=zo(19,x,p,L),f.elementType=E,f.lanes=M,f;case A:return mg(x,L,M,p);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case v:G=10;break e;case b:G=9;break e;case S:G=11;break e;case _:G=14;break e;case T:G=16,P=null;break e}throw Error(a(130,f==null?f:typeof f,""))}return p=zo(G,x,p,L),p.elementType=f,p.type=P,p.lanes=M,p}function kl(f,p,x,P){return f=zo(7,f,P,p),f.lanes=x,f}function mg(f,p,x,P){return f=zo(22,f,P,p),f.elementType=A,f.lanes=x,f.stateNode={isHidden:!1},f}function vg(f,p,x){return f=zo(6,f,null,p),f.lanes=x,f}function El(f,p,x){return p=zo(4,f.children!==null?f.children:[],f.key,p),p.lanes=x,p.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},p}function Qf(f,p,x,P,L){this.tag=p,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Be,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=P,this.onRecoverableError=L,St&&(this.mutableSourceEagerHydrationData=null)}function E3(f,p,x,P,L,M,G,le,pe){return f=new Qf(f,p,x,le,pe),p===1?(p=1,M===!0&&(p|=8)):p=0,M=zo(3,null,null,p),f.current=M,M.stateNode=f,M.memoizedState={element:P,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},J0(M),f}function R1(f){if(!f)return aa;f=f._reactInternals;e:{if(z(f)!==f||f.tag!==1)throw Error(a(170));var p=f;do{switch(p.tag){case 3:p=p.stateNode.context;break e;case 1:if(ui(p.type)){p=p.stateNode.__reactInternalMemoizedMergedChildContext;break e}}p=p.return}while(p!==null);throw Error(a(171))}if(f.tag===1){var x=f.type;if(ui(x))return Su(f,x,p)}return p}function D1(f){var p=f._reactInternals;if(p===void 0)throw typeof f.render=="function"?Error(a(188)):(f=Object.keys(f).join(","),Error(a(268,f)));return f=te(p),f===null?null:f.stateNode}function Jf(f,p){if(f=f.memoizedState,f!==null&&f.dehydrated!==null){var x=f.retryLane;f.retryLane=x!==0&&x=ze&&M>=jt&&L<=dt&&G<=rt){f.splice(p,1);break}else if(P!==ze||x.width!==pe.width||rtG){if(!(M!==jt||x.height!==pe.height||dtL)){ze>P&&(pe.width+=ze-P,pe.x=P),dtM&&(pe.height+=jt-M,pe.y=M),rtx&&(x=G)),G ")+` No matching component was found for: - `)+f.join(" > ")}return null},n.getPublicRootInstance=function(f){if(f=f.current,!f.child)return null;switch(f.child.tag){case 5:return X(f.child.stateNode);default:return f.child.stateNode}},n.injectIntoDevTools=function(f){if(f={bundleType:f.bundleType,version:f.version,rendererPackageName:f.rendererPackageName,rendererConfig:f.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:yg,findFiberByHostInstance:f.findFiberByHostInstance||N1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0"},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")f=!1;else{var p=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(p.isDisabled||!p.supportsFiber)f=!0;else{try{gn=p.inject(f),Kt=p}catch{}f=!!p.checkDCE}}return f},n.isAlreadyRendering=function(){return!1},n.observeVisibleRects=function(f,p,x,P){if(!le)throw Error(a(363));f=_1(f,p);var L=Dt(f,x,P).disconnect;return{disconnect:function(){L()}}},n.registerMutableSourceForHydration=function(f,p){var x=p._getVersion;x=x(p._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[p,x]:f.mutableSourceEagerHydrationData.push(p,x)},n.runWithPriority=function(f,p){var x=Yt;try{return Yt=f,p()}finally{Yt=x}},n.shouldError=function(){return null},n.shouldSuspend=function(){return!1},n.updateContainer=function(f,p,x,P){var L=p.current,M=_i(),G=qr(L);return x=R1(x),p.context===null?p.context=x:p.pendingContext=x,p=Ss(M,G),p.payload={element:f},P=P===void 0?null:P,P!==null&&(p.callback=P),f=hl(L,p,G),f!==null&&($o(f,L,G,M),Bp(f,L,G)),G},n};(function(e){e.exports=mOe})(gOe);const vOe=d_(K8);var uS={},yOe={get exports(){return uS},set exports(e){uS=e}},Sp={};/** + `)+f.join(" > ")}return null},n.getPublicRootInstance=function(f){if(f=f.current,!f.child)return null;switch(f.child.tag){case 5:return X(f.child.stateNode);default:return f.child.stateNode}},n.injectIntoDevTools=function(f){if(f={bundleType:f.bundleType,version:f.version,rendererPackageName:f.rendererPackageName,rendererConfig:f.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:yg,findFiberByHostInstance:f.findFiberByHostInstance||N1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0"},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")f=!1;else{var p=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(p.isDisabled||!p.supportsFiber)f=!0;else{try{gn=p.inject(f),Kt=p}catch{}f=!!p.checkDCE}}return f},n.isAlreadyRendering=function(){return!1},n.observeVisibleRects=function(f,p,x,P){if(!ae)throw Error(a(363));f=_1(f,p);var L=Dt(f,x,P).disconnect;return{disconnect:function(){L()}}},n.registerMutableSourceForHydration=function(f,p){var x=p._getVersion;x=x(p._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[p,x]:f.mutableSourceEagerHydrationData.push(p,x)},n.runWithPriority=function(f,p){var x=Yt;try{return Yt=f,p()}finally{Yt=x}},n.shouldError=function(){return null},n.shouldSuspend=function(){return!1},n.updateContainer=function(f,p,x,P){var L=p.current,M=_i(),G=qr(L);return x=R1(x),p.context===null?p.context=x:p.pendingContext=x,p=Ss(M,G),p.payload={element:f},P=P===void 0?null:P,P!==null&&(p.callback=P),f=hl(L,p,G),f!==null&&(Fo(f,L,G,M),Bp(f,L,G)),G},n};(function(e){e.exports=vOe})(mOe);const yOe=d_(K8);var cS={},bOe={get exports(){return cS},set exports(e){cS=e}},Sp={};/** * @license React * react-reconciler-constants.production.min.js * @@ -545,14 +545,14 @@ No matching component was found for: * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */Sp.ConcurrentRoot=1;Sp.ContinuousEventPriority=4;Sp.DefaultEventPriority=16;Sp.DiscreteEventPriority=1;Sp.IdleEventPriority=536870912;Sp.LegacyRoot=0;(function(e){e.exports=Sp})(yOe);const JD={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let eN=!1,tN=!1;const tT=".react-konva-event",bOe=`ReactKonva: You have a Konva node with draggable = true and position defined but no onDragMove or onDragEnd events are handled. + */Sp.ConcurrentRoot=1;Sp.ContinuousEventPriority=4;Sp.DefaultEventPriority=16;Sp.DiscreteEventPriority=1;Sp.IdleEventPriority=536870912;Sp.LegacyRoot=0;(function(e){e.exports=Sp})(bOe);const eN={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let tN=!1,nN=!1;const tT=".react-konva-event",SOe=`ReactKonva: You have a Konva node with draggable = true and position defined but no onDragMove or onDragEnd events are handled. Position of a node will be changed during drag&drop, so you should update state of the react app as well. Consider to add onDragMove or onDragEnd events. For more info see: https://github.com/konvajs/react-konva/issues/256 -`,SOe=`ReactKonva: You are using "zIndex" attribute for a Konva node. +`,xOe=`ReactKonva: You are using "zIndex" attribute for a Konva node. react-konva may get confused with ordering. Just define correct order of elements in your render function of a component. For more info see: https://github.com/konvajs/react-konva/issues/194 -`,xOe={};function lw(e,t,n=xOe){if(!eN&&"zIndex"in t&&(console.warn(SOe),eN=!0),!tN&&t.draggable){var r=t.x!==void 0||t.y!==void 0,i=t.onDragEnd||t.onDragMove;r&&!i&&(console.warn(bOe),tN=!0)}for(var o in n)if(!JD[o]){var a=o.slice(0,2)==="on",s=n[o]!==t[o];if(a&&s){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),e.off(l,n[o])}var u=!t.hasOwnProperty(o);u&&e.setAttr(o,void 0)}var d=t._useStrictMode,h={},m=!1;const v={};for(var o in t)if(!JD[o]){var a=o.slice(0,2)==="on",b=n[o]!==t[o];if(a&&b){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),t[o]&&(v[l]=t[o])}!a&&(t[o]!==n[o]||d&&t[o]!==e.getAttr(o))&&(m=!0,h[o]=t[o])}m&&(e.setAttrs(h),gf(e));for(var l in v)e.on(l+tT,v[l])}function gf(e){if(!pt.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const LY={},wOe={};ep.Node.prototype._applyProps=lw;function COe(e,t){if(typeof t=="string"){console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`);return}e.add(t),gf(e)}function _Oe(e,t,n){let r=ep[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=ep.Group);const i={},o={};for(var a in t){var s=a.slice(0,2)==="on";s?o[a]=t[a]:i[a]=t[a]}const l=new r(i);return lw(l,o),l}function kOe(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function EOe(e,t,n){return!1}function POe(e){return e}function TOe(){return null}function LOe(){return null}function AOe(e,t,n,r){return wOe}function OOe(){}function MOe(e){}function IOe(e,t){return!1}function ROe(){return LY}function DOe(){return LY}const NOe=setTimeout,jOe=clearTimeout,BOe=-1;function FOe(e,t){return!1}const $Oe=!1,zOe=!0,HOe=!0;function VOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function WOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function AY(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),gf(e)}function UOe(e,t,n){AY(e,t,n)}function GOe(e,t){t.destroy(),t.off(tT),gf(e)}function qOe(e,t){t.destroy(),t.off(tT),gf(e)}function YOe(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function KOe(e,t,n){}function XOe(e,t,n,r,i){lw(e,i,r)}function ZOe(e){e.hide(),gf(e)}function QOe(e){}function JOe(e,t){(t.visible==null||t.visible)&&e.show()}function eMe(e,t){}function tMe(e){}function nMe(){}const rMe=()=>uS.DefaultEventPriority,iMe=Object.freeze(Object.defineProperty({__proto__:null,appendChild:VOe,appendChildToContainer:WOe,appendInitialChild:COe,cancelTimeout:jOe,clearContainer:tMe,commitMount:KOe,commitTextUpdate:YOe,commitUpdate:XOe,createInstance:_Oe,createTextInstance:kOe,detachDeletedInstance:nMe,finalizeInitialChildren:EOe,getChildHostContext:DOe,getCurrentEventPriority:rMe,getPublicInstance:POe,getRootHostContext:ROe,hideInstance:ZOe,hideTextInstance:QOe,idlePriority:Bh.unstable_IdlePriority,insertBefore:AY,insertInContainerBefore:UOe,isPrimaryRenderer:$Oe,noTimeout:BOe,now:Bh.unstable_now,prepareForCommit:TOe,preparePortalMount:LOe,prepareUpdate:AOe,removeChild:GOe,removeChildFromContainer:qOe,resetAfterCommit:OOe,resetTextContent:MOe,run:Bh.unstable_runWithPriority,scheduleTimeout:NOe,shouldDeprioritizeSubtree:IOe,shouldSetTextContent:FOe,supportsMutation:HOe,unhideInstance:JOe,unhideTextInstance:eMe,warnsIfNotActing:zOe},Symbol.toStringTag,{value:"Module"}));var oMe=Object.defineProperty,aMe=Object.defineProperties,sMe=Object.getOwnPropertyDescriptors,nN=Object.getOwnPropertySymbols,lMe=Object.prototype.hasOwnProperty,uMe=Object.prototype.propertyIsEnumerable,rN=(e,t,n)=>t in e?oMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iN=(e,t)=>{for(var n in t||(t={}))lMe.call(t,n)&&rN(e,n,t[n]);if(nN)for(var n of nN(t))uMe.call(t,n)&&rN(e,n,t[n]);return e},cMe=(e,t)=>aMe(e,sMe(t));function nT(e,t,n){if(!e)return;if(n(e)===!0)return e;let r=t?e.return:e.child;for(;r;){const i=nT(r,t,n);if(i)return i;r=t?null:r.sibling}}function OY(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch{return e}}const rT=OY(w.createContext(null));class MY extends w.Component{render(){return w.createElement(rT.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:dMe,ReactCurrentDispatcher:fMe}=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function hMe(){const e=w.useContext(rT);if(!e)throw new Error("its-fine: useFiber must be called within a !");const t=w.useId();return w.useMemo(()=>{var r;return(r=dMe.current)!=null?r:nT(e,!1,i=>{let o=i.memoizedState;for(;o;){if(o.memoizedState===t)return!0;o=o.next}})},[e,t])}const hv=[],oN=new WeakMap;function pMe(){var e;const t=hMe();hv.splice(0,hv.length),nT(t,!0,n=>{var r;const i=(r=n.type)==null?void 0:r._context;i&&i!==rT&&hv.push(OY(i))});for(const n of hv){const r=(e=fMe.current)==null?void 0:e.readContext(n);oN.set(n,r)}return w.useMemo(()=>hv.reduce((n,r)=>i=>w.createElement(n,null,w.createElement(r.Provider,cMe(iN({},i),{value:oN.get(r)}))),n=>w.createElement(MY,iN({},n))),[])}function gMe(e){const t=N.useRef();return N.useLayoutEffect(()=>{t.current=e}),t.current}const mMe=e=>{const t=N.useRef(),n=N.useRef(),r=N.useRef(),i=gMe(e),o=pMe(),a=s=>{const{forwardedRef:l}=e;l&&(typeof l=="function"?l(s):l.current=s)};return N.useLayoutEffect(()=>(n.current=new ep.Stage({width:e.width,height:e.height,container:t.current}),a(n.current),r.current=Iv.createContainer(n.current,uS.LegacyRoot,!1,null),Iv.updateContainer(N.createElement(o,{},e.children),r.current),()=>{ep.isBrowser&&(a(null),Iv.updateContainer(null,r.current,null),n.current.destroy())}),[]),N.useLayoutEffect(()=>{a(n.current),lw(n.current,e,i),Iv.updateContainer(N.createElement(o,{},e.children),r.current,null)}),N.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},pv="Layer",sc="Group",lc="Rect",sh="Circle",cS="Line",IY="Image",vMe="Transformer",Iv=vOe(iMe);Iv.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:N.version,rendererPackageName:"react-konva"});const yMe=N.forwardRef((e,t)=>N.createElement(MY,{},N.createElement(mMe,{...e,forwardedRef:t}))),bMe=ot([ln,Mr],(e,t)=>{const{tool:n,isMovingBoundingBox:r}=e;return{tool:n,isStaging:t,isMovingBoundingBox:r}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),SMe=()=>{const e=Ie(),{tool:t,isStaging:n,isMovingBoundingBox:r}=he(bMe);return{handleDragStart:w.useCallback(()=>{(t==="move"||n)&&!r&&e(G5(!0))},[e,r,n,t]),handleDragMove:w.useCallback(i=>{if(!((t==="move"||n)&&!r))return;const o={x:i.target.x(),y:i.target.y()};e(ZW(o))},[e,r,n,t]),handleDragEnd:w.useCallback(()=>{(t==="move"||n)&&!r&&e(G5(!1))},[e,r,n,t])}},xMe=ot([ln,Or,Mr],(e,t,n)=>{const{cursorPosition:r,shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isMaskEnabled:s,shouldSnapToGrid:l}=e;return{activeTabName:t,isCursorOnCanvas:Boolean(r),shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isStaging:n,isMaskEnabled:s,shouldSnapToGrid:l}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),wMe=()=>{const e=Ie(),{activeTabName:t,shouldShowBoundingBox:n,tool:r,isStaging:i,isMaskEnabled:o,shouldSnapToGrid:a}=he(xMe),s=w.useRef(null),l=$G(),u=()=>e(nP());Qe(["shift+c"],()=>{u()},{enabled:()=>!i,preventDefault:!0},[]);const d=()=>e(Dy(!o));Qe(["h"],()=>{d()},{enabled:()=>!i,preventDefault:!0},[o]),Qe(["n"],()=>{e(Y5(!a))},{enabled:!0,preventDefault:!0},[a]),Qe("esc",()=>{e(wxe())},{enabled:()=>!0,preventDefault:!0}),Qe("shift+h",()=>{e(Lxe(!n))},{enabled:()=>!i,preventDefault:!0},[t,n]),Qe(["space"],h=>{h.repeat||(l==null||l.container().focus(),r!=="move"&&(s.current=r,e(tu("move"))),r==="move"&&s.current&&s.current!=="move"&&(e(tu(s.current)),s.current="move"))},{keyup:!0,keydown:!0,preventDefault:!0},[r,s])},iT=e=>{const t=e.getPointerPosition(),n=e.getAbsoluteTransform().copy();if(!t||!n)return;const r=n.invert().point(t);return{x:r.x,y:r.y}},RY=()=>{const e=Ie(),t=el(),n=$G();return{updateColorUnderCursor:()=>{if(!n||!t)return;const r=n.getPointerPosition();if(!r)return;const i=$g.pixelRatio,[o,a,s,l]=t.getContext().getImageData(r.x*i,r.y*i,1,1).data;e(Exe({r:o,g:a,b:s,a:l}))},commitColorUnderCursor:()=>{e(gxe())}}},CMe=ot([Or,ln,Mr],(e,t,n)=>{const{tool:r}=t;return{tool:r,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),_Me=e=>{const t=Ie(),{tool:n,isStaging:r}=he(CMe),{commitColorUnderCursor:i}=RY();return w.useCallback(o=>{if(!e.current)return;if(e.current.container().focus(),n==="move"||r){t(G5(!0));return}if(n==="colorPicker"){i();return}const a=iT(e.current);a&&(o.evt.preventDefault(),t(HW(!0)),t(pxe([a.x,a.y])))},[e,n,r,t,i])},kMe=ot([Or,ln,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),EMe=(e,t,n)=>{const r=Ie(),{isDrawing:i,tool:o,isStaging:a}=he(kMe),{updateColorUnderCursor:s}=RY();return w.useCallback(()=>{if(!e.current)return;const l=iT(e.current);if(l){if(r(Pxe(l)),n.current=l,o==="colorPicker"){s();return}!i||o==="move"||a||(t.current=!0,r(FW([l.x,l.y])))}},[t,r,i,a,n,e,o,s])},PMe=()=>{const e=Ie();return w.useCallback(()=>{e(yxe())},[e])},TMe=ot([Or,ln,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),LMe=(e,t)=>{const n=Ie(),{tool:r,isDrawing:i,isStaging:o}=he(TMe);return w.useCallback(()=>{if(r==="move"||o){n(G5(!1));return}if(!t.current&&i&&e.current){const a=iT(e.current);if(!a)return;n(FW([a.x,a.y]))}else t.current=!1;n(HW(!1))},[t,n,i,o,e,r])},AMe=ot([ln],e=>{const{isMoveStageKeyHeld:t,stageScale:n}=e;return{isMoveStageKeyHeld:t,stageScale:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),OMe=e=>{const t=Ie(),{isMoveStageKeyHeld:n,stageScale:r}=he(AMe);return w.useCallback(i=>{if(!e.current||n)return;i.evt.preventDefault();const o=e.current.getPointerPosition();if(!o)return;const a={x:(o.x-e.current.x())/r,y:(o.y-e.current.y())/r};let s=i.evt.deltaY;i.evt.ctrlKey&&(s=-s);const l=Ee.clamp(r*rxe**s,ixe,oxe),u={x:o.x-a.x*l,y:o.y-a.y*l};t(Oxe(l)),t(ZW(u))},[e,n,r,t])},MMe=ot(ln,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageDimensions:r,stageScale:i,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a,stageDimensions:r,stageScale:i}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),IMe=()=>{const{boundingBoxCoordinates:e,boundingBoxDimensions:t,shouldDarkenOutsideBoundingBox:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(MMe);return y.jsxs(sc,{children:[y.jsx(lc,{offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fill:"rgba(0,0,0,0.4)",listening:!1,visible:n}),y.jsx(lc,{x:e.x,y:e.y,width:t.width,height:t.height,fill:"rgb(255,255,255)",listening:!1,visible:n,globalCompositeOperation:"destination-out"})]})},RMe=ot([ln],e=>{const{stageScale:t,stageCoordinates:n,stageDimensions:r}=e;return{stageScale:t,stageCoordinates:n,stageDimensions:r}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),DMe={dark:"rgba(255, 255, 255, 0.2)",green:"rgba(255, 255, 255, 0.2)",light:"rgba(0, 0, 0, 0.2)"},NMe=()=>{const{colorMode:e}=dy(),{stageScale:t,stageCoordinates:n,stageDimensions:r}=he(RMe),[i,o]=w.useState([]),a=w.useCallback(s=>s/t,[t]);return w.useLayoutEffect(()=>{const s=DMe[e],{width:l,height:u}=r,{x:d,y:h}=n,m={x1:0,y1:0,x2:l,y2:u,offset:{x:a(d),y:a(h)}},v={x:Math.ceil(a(d)/64)*64,y:Math.ceil(a(h)/64)*64},b={x1:-v.x,y1:-v.y,x2:a(l)-v.x+64,y2:a(u)-v.y+64},k={x1:Math.min(m.x1,b.x1),y1:Math.min(m.y1,b.y1),x2:Math.max(m.x2,b.x2),y2:Math.max(m.y2,b.y2)},E=k.x2-k.x1,_=k.y2-k.y1,T=Math.round(E/64)+1,A=Math.round(_/64)+1,I=Ee.range(0,T).map(D=>y.jsx(cS,{x:k.x1+D*64,y:k.y1,points:[0,0,0,_],stroke:s,strokeWidth:1},`x_${D}`)),R=Ee.range(0,A).map(D=>y.jsx(cS,{x:k.x1,y:k.y1+D*64,points:[0,0,E,0],stroke:s,strokeWidth:1},`y_${D}`));o(I.concat(R))},[t,n,r,e,a]),y.jsx(sc,{children:i})},jMe=ot([e=>e.gallery],e=>e.intermediateImage?e.intermediateImage:null,{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),BMe=e=>{const{...t}=e,n=he(jMe),[r,i]=w.useState(null);if(w.useEffect(()=>{if(!n)return;const u=new Image;u.onload=()=>{i(u)},u.src=n.url},[n]),!(n!=null&&n.boundingBox))return null;const{boundingBox:{x:o,y:a,width:s,height:l}}=n;return r?y.jsx(IY,{x:o,y:a,width:s,height:l,image:r,listening:!1,...t}):null},Hh=e=>{const{r:t,g:n,b:r,a:i}=e;return`rgba(${t}, ${n}, ${r}, ${i})`},FMe=ot(ln,e=>{const{maskColor:t,stageCoordinates:n,stageDimensions:r,stageScale:i}=e;return{stageCoordinates:n,stageDimensions:r,stageScale:i,maskColorString:Hh(t)}}),aN=e=>`data:image/svg+xml;utf8, +`,wOe={};function uw(e,t,n=wOe){if(!tN&&"zIndex"in t&&(console.warn(xOe),tN=!0),!nN&&t.draggable){var r=t.x!==void 0||t.y!==void 0,i=t.onDragEnd||t.onDragMove;r&&!i&&(console.warn(SOe),nN=!0)}for(var o in n)if(!eN[o]){var a=o.slice(0,2)==="on",s=n[o]!==t[o];if(a&&s){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),e.off(l,n[o])}var u=!t.hasOwnProperty(o);u&&e.setAttr(o,void 0)}var d=t._useStrictMode,h={},m=!1;const v={};for(var o in t)if(!eN[o]){var a=o.slice(0,2)==="on",b=n[o]!==t[o];if(a&&b){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),t[o]&&(v[l]=t[o])}!a&&(t[o]!==n[o]||d&&t[o]!==e.getAttr(o))&&(m=!0,h[o]=t[o])}m&&(e.setAttrs(h),gf(e));for(var l in v)e.on(l+tT,v[l])}function gf(e){if(!pt.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const AY={},COe={};ep.Node.prototype._applyProps=uw;function _Oe(e,t){if(typeof t=="string"){console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`);return}e.add(t),gf(e)}function kOe(e,t,n){let r=ep[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=ep.Group);const i={},o={};for(var a in t){var s=a.slice(0,2)==="on";s?o[a]=t[a]:i[a]=t[a]}const l=new r(i);return uw(l,o),l}function EOe(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function POe(e,t,n){return!1}function TOe(e){return e}function LOe(){return null}function AOe(){return null}function OOe(e,t,n,r){return COe}function MOe(){}function IOe(e){}function ROe(e,t){return!1}function DOe(){return AY}function NOe(){return AY}const jOe=setTimeout,BOe=clearTimeout,$Oe=-1;function FOe(e,t){return!1}const zOe=!1,HOe=!0,VOe=!0;function WOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function UOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function OY(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),gf(e)}function GOe(e,t,n){OY(e,t,n)}function qOe(e,t){t.destroy(),t.off(tT),gf(e)}function YOe(e,t){t.destroy(),t.off(tT),gf(e)}function KOe(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function XOe(e,t,n){}function ZOe(e,t,n,r,i){uw(e,i,r)}function QOe(e){e.hide(),gf(e)}function JOe(e){}function eMe(e,t){(t.visible==null||t.visible)&&e.show()}function tMe(e,t){}function nMe(e){}function rMe(){}const iMe=()=>cS.DefaultEventPriority,oMe=Object.freeze(Object.defineProperty({__proto__:null,appendChild:WOe,appendChildToContainer:UOe,appendInitialChild:_Oe,cancelTimeout:BOe,clearContainer:nMe,commitMount:XOe,commitTextUpdate:KOe,commitUpdate:ZOe,createInstance:kOe,createTextInstance:EOe,detachDeletedInstance:rMe,finalizeInitialChildren:POe,getChildHostContext:NOe,getCurrentEventPriority:iMe,getPublicInstance:TOe,getRootHostContext:DOe,hideInstance:QOe,hideTextInstance:JOe,idlePriority:Bh.unstable_IdlePriority,insertBefore:OY,insertInContainerBefore:GOe,isPrimaryRenderer:zOe,noTimeout:$Oe,now:Bh.unstable_now,prepareForCommit:LOe,preparePortalMount:AOe,prepareUpdate:OOe,removeChild:qOe,removeChildFromContainer:YOe,resetAfterCommit:MOe,resetTextContent:IOe,run:Bh.unstable_runWithPriority,scheduleTimeout:jOe,shouldDeprioritizeSubtree:ROe,shouldSetTextContent:FOe,supportsMutation:VOe,unhideInstance:eMe,unhideTextInstance:tMe,warnsIfNotActing:HOe},Symbol.toStringTag,{value:"Module"}));var aMe=Object.defineProperty,sMe=Object.defineProperties,lMe=Object.getOwnPropertyDescriptors,rN=Object.getOwnPropertySymbols,uMe=Object.prototype.hasOwnProperty,cMe=Object.prototype.propertyIsEnumerable,iN=(e,t,n)=>t in e?aMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oN=(e,t)=>{for(var n in t||(t={}))uMe.call(t,n)&&iN(e,n,t[n]);if(rN)for(var n of rN(t))cMe.call(t,n)&&iN(e,n,t[n]);return e},dMe=(e,t)=>sMe(e,lMe(t));function nT(e,t,n){if(!e)return;if(n(e)===!0)return e;let r=t?e.return:e.child;for(;r;){const i=nT(r,t,n);if(i)return i;r=t?null:r.sibling}}function MY(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch{return e}}const rT=MY(w.createContext(null));class IY extends w.Component{render(){return w.createElement(rT.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:fMe,ReactCurrentDispatcher:hMe}=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function pMe(){const e=w.useContext(rT);if(!e)throw new Error("its-fine: useFiber must be called within a !");const t=w.useId();return w.useMemo(()=>{var r;return(r=fMe.current)!=null?r:nT(e,!1,i=>{let o=i.memoizedState;for(;o;){if(o.memoizedState===t)return!0;o=o.next}})},[e,t])}const hv=[],aN=new WeakMap;function gMe(){var e;const t=pMe();hv.splice(0,hv.length),nT(t,!0,n=>{var r;const i=(r=n.type)==null?void 0:r._context;i&&i!==rT&&hv.push(MY(i))});for(const n of hv){const r=(e=hMe.current)==null?void 0:e.readContext(n);aN.set(n,r)}return w.useMemo(()=>hv.reduce((n,r)=>i=>w.createElement(n,null,w.createElement(r.Provider,dMe(oN({},i),{value:aN.get(r)}))),n=>w.createElement(IY,oN({},n))),[])}function mMe(e){const t=N.useRef();return N.useLayoutEffect(()=>{t.current=e}),t.current}const vMe=e=>{const t=N.useRef(),n=N.useRef(),r=N.useRef(),i=mMe(e),o=gMe(),a=s=>{const{forwardedRef:l}=e;l&&(typeof l=="function"?l(s):l.current=s)};return N.useLayoutEffect(()=>(n.current=new ep.Stage({width:e.width,height:e.height,container:t.current}),a(n.current),r.current=Iv.createContainer(n.current,cS.LegacyRoot,!1,null),Iv.updateContainer(N.createElement(o,{},e.children),r.current),()=>{ep.isBrowser&&(a(null),Iv.updateContainer(null,r.current,null),n.current.destroy())}),[]),N.useLayoutEffect(()=>{a(n.current),uw(n.current,e,i),Iv.updateContainer(N.createElement(o,{},e.children),r.current,null)}),N.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},pv="Layer",sc="Group",lc="Rect",sh="Circle",dS="Line",RY="Image",yMe="Transformer",Iv=yOe(oMe);Iv.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:N.version,rendererPackageName:"react-konva"});const bMe=N.forwardRef((e,t)=>N.createElement(IY,{},N.createElement(vMe,{...e,forwardedRef:t}))),SMe=at([sn,Mr],(e,t)=>{const{tool:n,isMovingBoundingBox:r}=e;return{tool:n,isStaging:t,isMovingBoundingBox:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),xMe=()=>{const e=Me(),{tool:t,isStaging:n,isMovingBoundingBox:r}=he(SMe);return{handleDragStart:w.useCallback(()=>{(t==="move"||n)&&!r&&e(G5(!0))},[e,r,n,t]),handleDragMove:w.useCallback(i=>{if(!((t==="move"||n)&&!r))return;const o={x:i.target.x(),y:i.target.y()};e(QW(o))},[e,r,n,t]),handleDragEnd:w.useCallback(()=>{(t==="move"||n)&&!r&&e(G5(!1))},[e,r,n,t])}},wMe=at([sn,Or,Mr],(e,t,n)=>{const{cursorPosition:r,shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isMaskEnabled:s,shouldSnapToGrid:l}=e;return{activeTabName:t,isCursorOnCanvas:Boolean(r),shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isStaging:n,isMaskEnabled:s,shouldSnapToGrid:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CMe=()=>{const e=Me(),{activeTabName:t,shouldShowBoundingBox:n,tool:r,isStaging:i,isMaskEnabled:o,shouldSnapToGrid:a}=he(wMe),s=w.useRef(null),l=zG(),u=()=>e(nP());Je(["shift+c"],()=>{u()},{enabled:()=>!i,preventDefault:!0},[]);const d=()=>e(Dy(!o));Je(["h"],()=>{d()},{enabled:()=>!i,preventDefault:!0},[o]),Je(["n"],()=>{e(Y5(!a))},{enabled:!0,preventDefault:!0},[a]),Je("esc",()=>{e(Cxe())},{enabled:()=>!0,preventDefault:!0}),Je("shift+h",()=>{e(Axe(!n))},{enabled:()=>!i,preventDefault:!0},[t,n]),Je(["space"],h=>{h.repeat||(l==null||l.container().focus(),r!=="move"&&(s.current=r,e(tu("move"))),r==="move"&&s.current&&s.current!=="move"&&(e(tu(s.current)),s.current="move"))},{keyup:!0,keydown:!0,preventDefault:!0},[r,s])},iT=e=>{const t=e.getPointerPosition(),n=e.getAbsoluteTransform().copy();if(!t||!n)return;const r=n.invert().point(t);return{x:r.x,y:r.y}},DY=()=>{const e=Me(),t=el(),n=zG();return{updateColorUnderCursor:()=>{if(!n||!t)return;const r=n.getPointerPosition();if(!r)return;const i=Fg.pixelRatio,[o,a,s,l]=t.getContext().getImageData(r.x*i,r.y*i,1,1).data;e(Pxe({r:o,g:a,b:s,a:l}))},commitColorUnderCursor:()=>{e(mxe())}}},_Me=at([Or,sn,Mr],(e,t,n)=>{const{tool:r}=t;return{tool:r,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kMe=e=>{const t=Me(),{tool:n,isStaging:r}=he(_Me),{commitColorUnderCursor:i}=DY();return w.useCallback(o=>{if(!e.current)return;if(e.current.container().focus(),n==="move"||r){t(G5(!0));return}if(n==="colorPicker"){i();return}const a=iT(e.current);a&&(o.evt.preventDefault(),t(VW(!0)),t(gxe([a.x,a.y])))},[e,n,r,t,i])},EMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PMe=(e,t,n)=>{const r=Me(),{isDrawing:i,tool:o,isStaging:a}=he(EMe),{updateColorUnderCursor:s}=DY();return w.useCallback(()=>{if(!e.current)return;const l=iT(e.current);if(l){if(r(Txe(l)),n.current=l,o==="colorPicker"){s();return}!i||o==="move"||a||(t.current=!0,r(FW([l.x,l.y])))}},[t,r,i,a,n,e,o,s])},TMe=()=>{const e=Me();return w.useCallback(()=>{e(bxe())},[e])},LMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),AMe=(e,t)=>{const n=Me(),{tool:r,isDrawing:i,isStaging:o}=he(LMe);return w.useCallback(()=>{if(r==="move"||o){n(G5(!1));return}if(!t.current&&i&&e.current){const a=iT(e.current);if(!a)return;n(FW([a.x,a.y]))}else t.current=!1;n(VW(!1))},[t,n,i,o,e,r])},OMe=at([sn],e=>{const{isMoveStageKeyHeld:t,stageScale:n}=e;return{isMoveStageKeyHeld:t,stageScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),MMe=e=>{const t=Me(),{isMoveStageKeyHeld:n,stageScale:r}=he(OMe);return w.useCallback(i=>{if(!e.current||n)return;i.evt.preventDefault();const o=e.current.getPointerPosition();if(!o)return;const a={x:(o.x-e.current.x())/r,y:(o.y-e.current.y())/r};let s=i.evt.deltaY;i.evt.ctrlKey&&(s=-s);const l=ke.clamp(r*ixe**s,oxe,axe),u={x:o.x-a.x*l,y:o.y-a.y*l};t(Mxe(l)),t(QW(u))},[e,n,r,t])},IMe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageDimensions:r,stageScale:i,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a,stageDimensions:r,stageScale:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RMe=()=>{const{boundingBoxCoordinates:e,boundingBoxDimensions:t,shouldDarkenOutsideBoundingBox:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(IMe);return y.jsxs(sc,{children:[y.jsx(lc,{offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fill:"rgba(0,0,0,0.4)",listening:!1,visible:n}),y.jsx(lc,{x:e.x,y:e.y,width:t.width,height:t.height,fill:"rgb(255,255,255)",listening:!1,visible:n,globalCompositeOperation:"destination-out"})]})},DMe=at([sn],e=>{const{stageScale:t,stageCoordinates:n,stageDimensions:r}=e;return{stageScale:t,stageCoordinates:n,stageDimensions:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NMe={dark:"rgba(255, 255, 255, 0.2)",green:"rgba(255, 255, 255, 0.2)",light:"rgba(0, 0, 0, 0.2)"},jMe=()=>{const{colorMode:e}=dy(),{stageScale:t,stageCoordinates:n,stageDimensions:r}=he(DMe),[i,o]=w.useState([]),a=w.useCallback(s=>s/t,[t]);return w.useLayoutEffect(()=>{const s=NMe[e],{width:l,height:u}=r,{x:d,y:h}=n,m={x1:0,y1:0,x2:l,y2:u,offset:{x:a(d),y:a(h)}},v={x:Math.ceil(a(d)/64)*64,y:Math.ceil(a(h)/64)*64},b={x1:-v.x,y1:-v.y,x2:a(l)-v.x+64,y2:a(u)-v.y+64},k={x1:Math.min(m.x1,b.x1),y1:Math.min(m.y1,b.y1),x2:Math.max(m.x2,b.x2),y2:Math.max(m.y2,b.y2)},E=k.x2-k.x1,_=k.y2-k.y1,T=Math.round(E/64)+1,A=Math.round(_/64)+1,I=ke.range(0,T).map(D=>y.jsx(dS,{x:k.x1+D*64,y:k.y1,points:[0,0,0,_],stroke:s,strokeWidth:1},`x_${D}`)),R=ke.range(0,A).map(D=>y.jsx(dS,{x:k.x1,y:k.y1+D*64,points:[0,0,E,0],stroke:s,strokeWidth:1},`y_${D}`));o(I.concat(R))},[t,n,r,e,a]),y.jsx(sc,{children:i})},BMe=at([e=>e.gallery],e=>e.intermediateImage?e.intermediateImage:null,{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),$Me=e=>{const{...t}=e,n=he(BMe),[r,i]=w.useState(null);if(w.useEffect(()=>{if(!n)return;const u=new Image;u.onload=()=>{i(u)},u.src=n.url},[n]),!(n!=null&&n.boundingBox))return null;const{boundingBox:{x:o,y:a,width:s,height:l}}=n;return r?y.jsx(RY,{x:o,y:a,width:s,height:l,image:r,listening:!1,...t}):null},Hh=e=>{const{r:t,g:n,b:r,a:i}=e;return`rgba(${t}, ${n}, ${r}, ${i})`},FMe=at(sn,e=>{const{maskColor:t,stageCoordinates:n,stageDimensions:r,stageScale:i}=e;return{stageCoordinates:n,stageDimensions:r,stageScale:i,maskColorString:Hh(t)}}),sN=e=>`data:image/svg+xml;utf8, @@ -630,9 +630,9 @@ For more info see: https://github.com/konvajs/react-konva/issues/194 -`.replaceAll("black",e),$Me=e=>{const{...t}=e,{maskColorString:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(FMe),[a,s]=w.useState(null),[l,u]=w.useState(0),d=w.useRef(null),h=w.useCallback(()=>{u(l+1),setTimeout(h,500)},[l]);return w.useEffect(()=>{if(a)return;const m=new Image;m.onload=()=>{s(m)},m.src=aN(n)},[a,n]),w.useEffect(()=>{a&&(a.src=aN(n))},[a,n]),w.useEffect(()=>{const m=setInterval(()=>u(v=>(v+1)%5),50);return()=>clearInterval(m)},[]),!a||!Ee.isNumber(r.x)||!Ee.isNumber(r.y)||!Ee.isNumber(o)||!Ee.isNumber(i.width)||!Ee.isNumber(i.height)?null:y.jsx(lc,{ref:d,offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fillPatternImage:a,fillPatternOffsetY:Ee.isNumber(l)?l:0,fillPatternRepeat:"repeat",fillPatternScale:{x:1/o,y:1/o},listening:!0,globalCompositeOperation:"source-in",...t})},zMe=ot([ln],e=>({objects:e.layerState.objects}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),HMe=e=>{const{...t}=e,{objects:n}=he(zMe);return y.jsx(sc,{listening:!1,...t,children:n.filter(tP).map((r,i)=>y.jsx(cS,{points:r.points,stroke:"rgb(0,0,0)",strokeWidth:r.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:r.tool==="brush"?"source-over":"destination-out"},i))})};var lh=w,VMe=function(t,n,r){const i=lh.useRef("loading"),o=lh.useRef(),[a,s]=lh.useState(0),l=lh.useRef(),u=lh.useRef(),d=lh.useRef();return(l.current!==t||u.current!==n||d.current!==r)&&(i.current="loading",o.current=void 0,l.current=t,u.current=n,d.current=r),lh.useLayoutEffect(function(){if(!t)return;var h=document.createElement("img");function m(){i.current="loaded",o.current=h,s(Math.random())}function v(){i.current="failed",o.current=void 0,s(Math.random())}return h.addEventListener("load",m),h.addEventListener("error",v),n&&(h.crossOrigin=n),r&&(h.referrerpolicy=r),h.src=t,function(){h.removeEventListener("load",m),h.removeEventListener("error",v)}},[t,n,r]),[o.current,i.current]};const DY=e=>{const{url:t,x:n,y:r}=e,[i]=VMe(t);return y.jsx(IY,{x:n,y:r,image:i,listening:!1})},WMe=ot([ln],e=>{const{layerState:{objects:t}}=e;return{objects:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),UMe=()=>{const{objects:e}=he(WMe);return e?y.jsx(sc,{name:"outpainting-objects",listening:!1,children:e.map((t,n)=>{if(U5(t))return y.jsx(DY,{x:t.x,y:t.y,url:t.image.url},n);if(lxe(t)){const r=y.jsx(cS,{points:t.points,stroke:t.color?Hh(t.color):"rgb(0,0,0)",strokeWidth:t.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:t.tool==="brush"?"source-over":"destination-out"},n);return t.clip?y.jsx(sc,{clipX:t.clip.x,clipY:t.clip.y,clipWidth:t.clip.width,clipHeight:t.clip.height,children:r},n):r}else{if(uxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:Hh(t.color)},n);if(cxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:"rgb(255, 255, 255)",globalCompositeOperation:"destination-out"},n)}})}):null},GMe=ot([ln],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingImage:r,shouldShowStagingOutline:i,boundingBoxCoordinates:{x:o,y:a},boundingBoxDimensions:{width:s,height:l}}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),qMe=e=>{const{...t}=e,{currentStagingAreaImage:n,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}=he(GMe);return y.jsxs(sc,{...t,children:[r&&n&&y.jsx(DY,{url:n.image.url,x:o,y:a}),i&&y.jsxs(sc,{children:[y.jsx(lc,{x:o,y:a,width:s,height:l,strokeWidth:1,stroke:"white",strokeScaleEnabled:!1}),y.jsx(lc,{x:o,y:a,width:s,height:l,dash:[4,4],strokeWidth:1,stroke:"black",strokeScaleEnabled:!1})]})]})},YMe=ot([ln],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingOutline:r,shouldShowStagingImage:i}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:i,shouldShowStagingOutline:r}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),KMe=()=>{const e=Ie(),{isOnFirstImage:t,isOnLastImage:n,currentStagingAreaImage:r,shouldShowStagingImage:i}=he(YMe),{t:o}=Ve(),a=w.useCallback(()=>{e(NI(!0))},[e]),s=w.useCallback(()=>{e(NI(!1))},[e]);Qe(["left"],()=>{l()},{enabled:()=>!0,preventDefault:!0}),Qe(["right"],()=>{u()},{enabled:()=>!0,preventDefault:!0}),Qe(["enter"],()=>{d()},{enabled:()=>!0,preventDefault:!0});const l=()=>e(Sxe()),u=()=>e(bxe()),d=()=>e(mxe());return r?y.jsx(qe,{pos:"absolute",bottom:"1rem",w:"100%",align:"center",justify:"center",filter:"drop-shadow(0 0.5rem 1rem rgba(0,0,0))",onMouseOver:a,onMouseOut:s,children:y.jsxs(oo,{isAttached:!0,children:[y.jsx(Ze,{tooltip:`${o("unifiedcanvas:previous")} (Left)`,"aria-label":`${o("unifiedcanvas:previous")} (Left)`,icon:y.jsx(qke,{}),onClick:l,"data-selected":!0,isDisabled:t}),y.jsx(Ze,{tooltip:`${o("unifiedcanvas:next")} (Right)`,"aria-label":`${o("unifiedcanvas:next")} (Right)`,icon:y.jsx(Yke,{}),onClick:u,"data-selected":!0,isDisabled:n}),y.jsx(Ze,{tooltip:`${o("unifiedcanvas:accept")} (Enter)`,"aria-label":`${o("unifiedcanvas:accept")} (Enter)`,icon:y.jsx(PP,{}),onClick:d,"data-selected":!0}),y.jsx(Ze,{tooltip:o("unifiedcanvas:showHide"),"aria-label":o("unifiedcanvas:showHide"),"data-alert":!i,icon:i?y.jsx(tEe,{}):y.jsx(eEe,{}),onClick:()=>e(Axe(!i)),"data-selected":!0}),y.jsx(Ze,{tooltip:o("unifiedcanvas:saveToGallery"),"aria-label":o("unifiedcanvas:saveToGallery"),icon:y.jsx(LP,{}),onClick:()=>e(F8e(r.image.url)),"data-selected":!0}),y.jsx(Ze,{tooltip:o("unifiedcanvas:discardAll"),"aria-label":o("unifiedcanvas:discardAll"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),onClick:()=>e(vxe()),"data-selected":!0,style:{backgroundColor:"var(--btn-delete-image)"},fontSize:20})]})}):null},fm=e=>Math.round(e*100)/100,XMe=ot([ln],e=>{const{cursorPosition:t}=e,{cursorX:n,cursorY:r}=t?{cursorX:t.x,cursorY:t.y}:{cursorX:-1,cursorY:-1};return{cursorCoordinatesString:`(${fm(n)}, ${fm(r)})`}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function ZMe(){const{cursorCoordinatesString:e}=he(XMe),{t}=Ve();return y.jsx("div",{children:`${t("unifiedcanvas:cursorPosition")}: ${e}`})}const QMe=ot([ln],e=>{const{stageDimensions:{width:t,height:n},stageCoordinates:{x:r,y:i},boundingBoxDimensions:{width:o,height:a},scaledBoundingBoxDimensions:{width:s,height:l},boundingBoxCoordinates:{x:u,y:d},stageScale:h,shouldShowCanvasDebugInfo:m,layer:v,boundingBoxScaleMethod:b,shouldPreserveMaskedArea:S}=e;let k="inherit";return(b==="none"&&(o<512||a<512)||b==="manual"&&s*l<512*512)&&(k="var(--status-working-color)"),{activeLayerColor:v==="mask"?"var(--status-working-color)":"inherit",activeLayerString:v.charAt(0).toUpperCase()+v.slice(1),boundingBoxColor:k,boundingBoxCoordinatesString:`(${fm(u)}, ${fm(d)})`,boundingBoxDimensionsString:`${o}×${a}`,scaledBoundingBoxDimensionsString:`${s}×${l}`,canvasCoordinatesString:`${fm(r)}×${fm(i)}`,canvasDimensionsString:`${t}×${n}`,canvasScaleString:Math.round(h*100),shouldShowCanvasDebugInfo:m,shouldShowBoundingBox:b!=="auto",shouldShowScaledBoundingBox:b!=="none",shouldPreserveMaskedArea:S}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),JMe=()=>{const{activeLayerColor:e,activeLayerString:t,boundingBoxColor:n,boundingBoxCoordinatesString:r,boundingBoxDimensionsString:i,scaledBoundingBoxDimensionsString:o,shouldShowScaledBoundingBox:a,canvasCoordinatesString:s,canvasDimensionsString:l,canvasScaleString:u,shouldShowCanvasDebugInfo:d,shouldShowBoundingBox:h,shouldPreserveMaskedArea:m}=he(QMe),{t:v}=Ve();return y.jsxs("div",{className:"canvas-status-text",children:[y.jsx("div",{style:{color:e},children:`${v("unifiedcanvas:activeLayer")}: ${t}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasScale")}: ${u}%`}),m&&y.jsx("div",{style:{color:"var(--status-working-color)"},children:"Preserve Masked Area: On"}),h&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:boundingBox")}: ${i}`}),a&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:scaledBoundingBox")}: ${o}`}),d&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:`${v("unifiedcanvas:boundingBoxPosition")}: ${r}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasDimensions")}: ${l}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasPosition")}: ${s}`}),y.jsx(ZMe,{})]})]})},eIe=ot(ln,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageScale:r,isDrawing:i,isTransformingBoundingBox:o,isMovingBoundingBox:a,tool:s,shouldSnapToGrid:l}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,isDrawing:i,isMovingBoundingBox:a,isTransformingBoundingBox:o,stageScale:r,shouldSnapToGrid:l,tool:s,hitStrokeWidth:20/r}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),tIe=e=>{const{...t}=e,n=Ie(),{boundingBoxCoordinates:r,boundingBoxDimensions:i,isDrawing:o,isMovingBoundingBox:a,isTransformingBoundingBox:s,stageScale:l,shouldSnapToGrid:u,tool:d,hitStrokeWidth:h}=he(eIe),m=w.useRef(null),v=w.useRef(null),[b,S]=w.useState(!1);w.useEffect(()=>{var te;!m.current||!v.current||(m.current.nodes([v.current]),(te=m.current.getLayer())==null||te.batchDraw())},[]);const k=64*l,E=w.useCallback(te=>{if(!u){n(yC({x:Math.floor(te.target.x()),y:Math.floor(te.target.y())}));return}const q=te.target.x(),F=te.target.y(),U=Gl(q,64),X=Gl(F,64);te.target.x(U),te.target.y(X),n(yC({x:U,y:X}))},[n,u]),_=w.useCallback(()=>{if(!v.current)return;const te=v.current,q=te.scaleX(),F=te.scaleY(),U=Math.round(te.width()*q),X=Math.round(te.height()*F),Z=Math.round(te.x()),W=Math.round(te.y());n(Ev({width:U,height:X})),n(yC({x:u?Ed(Z,64):Z,y:u?Ed(W,64):W})),te.scaleX(1),te.scaleY(1)},[n,u]),T=w.useCallback((te,q,F)=>{const U=te.x%k,X=te.y%k;return{x:Ed(q.x,k)+U,y:Ed(q.y,k)+X}},[k]),A=()=>{n(SC(!0))},I=()=>{n(SC(!1)),n(bC(!1)),n(Cb(!1)),S(!1)},R=()=>{n(bC(!0))},D=()=>{n(SC(!1)),n(bC(!1)),n(Cb(!1)),S(!1)},j=()=>{S(!0)},z=()=>{!s&&!a&&S(!1)},V=()=>{n(Cb(!0))},K=()=>{n(Cb(!1))};return y.jsxs(sc,{...t,children:[y.jsx(lc,{height:i.height,width:i.width,x:r.x,y:r.y,onMouseEnter:V,onMouseOver:V,onMouseLeave:K,onMouseOut:K}),y.jsx(lc,{draggable:!0,fillEnabled:!1,height:i.height,hitStrokeWidth:h,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onDragMove:E,onMouseDown:R,onMouseOut:z,onMouseOver:j,onMouseEnter:j,onMouseUp:D,onTransform:_,onTransformEnd:I,ref:v,stroke:b?"rgba(255,255,255,0.7)":"white",strokeWidth:(b?8:1)/l,width:i.width,x:r.x,y:r.y}),y.jsx(vMe,{anchorCornerRadius:3,anchorDragBoundFunc:T,anchorFill:"rgba(212,216,234,1)",anchorSize:15,anchorStroke:"rgb(42,42,42)",borderDash:[4,4],borderEnabled:!0,borderStroke:"black",draggable:!1,enabledAnchors:d==="move"?void 0:[],flipEnabled:!1,ignoreStroke:!0,keepRatio:!1,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onMouseDown:A,onMouseUp:I,onTransformEnd:I,ref:m,rotateEnabled:!1})]})},nIe=ot(ln,e=>{const{cursorPosition:t,brushSize:n,colorPickerColor:r,maskColor:i,brushColor:o,tool:a,layer:s,shouldShowBrush:l,isMovingBoundingBox:u,isTransformingBoundingBox:d,stageScale:h,stageDimensions:m,boundingBoxCoordinates:v,boundingBoxDimensions:b,shouldRestrictStrokesToBox:S}=e,k=S?{clipX:v.x,clipY:v.y,clipWidth:b.width,clipHeight:b.height}:{};return{cursorPosition:t,brushX:t?t.x:m.width/2,brushY:t?t.y:m.height/2,radius:n/2,colorPickerOuterRadius:RI/h,colorPickerInnerRadius:(RI-l8+1)/h,maskColorString:Hh({...i,a:.5}),brushColorString:Hh(o),colorPickerColorString:Hh(r),tool:a,layer:s,shouldShowBrush:l,shouldDrawBrushPreview:!(u||d||!t)&&l,strokeWidth:1.5/h,dotRadius:1.5/h,clip:k}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),rIe=e=>{const{...t}=e,{brushX:n,brushY:r,radius:i,maskColorString:o,tool:a,layer:s,shouldDrawBrushPreview:l,dotRadius:u,strokeWidth:d,brushColorString:h,colorPickerColorString:m,colorPickerInnerRadius:v,colorPickerOuterRadius:b,clip:S}=he(nIe);return l?y.jsxs(sc,{listening:!1,...S,...t,children:[a==="colorPicker"?y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:b,stroke:h,strokeWidth:l8,strokeScaleEnabled:!1}),y.jsx(sh,{x:n,y:r,radius:v,stroke:m,strokeWidth:l8,strokeScaleEnabled:!1})]}):y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:i,fill:s==="mask"?o:h,globalCompositeOperation:a==="eraser"?"destination-out":"source-out"}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(255,255,255,0.4)",strokeWidth:d*2,strokeEnabled:!0,listening:!1}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(0,0,0,1)",strokeWidth:d,strokeEnabled:!0,listening:!1})]}),y.jsx(sh,{x:n,y:r,radius:u*2,fill:"rgba(255,255,255,0.4)",listening:!1}),y.jsx(sh,{x:n,y:r,radius:u,fill:"rgba(0,0,0,1)",listening:!1})]}):null},iIe=ot([ln,Mr],(e,t)=>{const{isMaskEnabled:n,stageScale:r,shouldShowBoundingBox:i,isTransformingBoundingBox:o,isMouseOverBoundingBox:a,isMovingBoundingBox:s,stageDimensions:l,stageCoordinates:u,tool:d,isMovingStage:h,shouldShowIntermediates:m,shouldShowGrid:v,shouldRestrictStrokesToBox:b}=e;let S="none";return d==="move"||t?h?S="grabbing":S="grab":o?S=void 0:b&&!a&&(S="default"),{isMaskEnabled:n,isModifyingBoundingBox:o||s,shouldShowBoundingBox:i,shouldShowGrid:v,stageCoordinates:u,stageCursor:S,stageDimensions:l,stageScale:r,tool:d,isStaging:t,shouldShowIntermediates:m}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),NY=()=>{const{isMaskEnabled:e,isModifyingBoundingBox:t,shouldShowBoundingBox:n,shouldShowGrid:r,stageCoordinates:i,stageCursor:o,stageDimensions:a,stageScale:s,tool:l,isStaging:u,shouldShowIntermediates:d}=he(iIe);wMe();const h=w.useRef(null),m=w.useRef(null),v=w.useCallback(z=>{b8e(z),h.current=z},[]),b=w.useCallback(z=>{y8e(z),m.current=z},[]),S=w.useRef({x:0,y:0}),k=w.useRef(!1),E=OMe(h),_=_Me(h),T=LMe(h,k),A=EMe(h,k,S),I=PMe(),{handleDragStart:R,handleDragMove:D,handleDragEnd:j}=SMe();return y.jsx("div",{className:"inpainting-canvas-container",children:y.jsxs("div",{className:"inpainting-canvas-wrapper",children:[y.jsxs(yMe,{tabIndex:-1,ref:v,className:"inpainting-canvas-stage",style:{...o?{cursor:o}:{}},x:i.x,y:i.y,width:a.width,height:a.height,scale:{x:s,y:s},onTouchStart:_,onTouchMove:A,onTouchEnd:T,onMouseDown:_,onMouseLeave:I,onMouseMove:A,onMouseUp:T,onDragStart:R,onDragMove:D,onDragEnd:j,onContextMenu:z=>z.evt.preventDefault(),onWheel:E,draggable:(l==="move"||u)&&!t,children:[y.jsx(pv,{id:"grid",visible:r,children:y.jsx(NMe,{})}),y.jsx(pv,{id:"base",ref:b,listening:!1,imageSmoothingEnabled:!1,children:y.jsx(UMe,{})}),y.jsxs(pv,{id:"mask",visible:e,listening:!1,children:[y.jsx(HMe,{visible:!0,listening:!1}),y.jsx($Me,{listening:!1})]}),y.jsx(pv,{children:y.jsx(IMe,{})}),y.jsxs(pv,{id:"preview",imageSmoothingEnabled:!1,children:[!u&&y.jsx(rIe,{visible:l!=="move",listening:!1}),y.jsx(qMe,{visible:u}),d&&y.jsx(BMe,{}),y.jsx(tIe,{visible:n&&!u})]})]}),y.jsx(JMe,{}),y.jsx(KMe,{})]})})},oIe=ot(ln,bq,Or,(e,t,n)=>{const{doesCanvasNeedScaling:r,isCanvasInitialized:i}=e;return{doesCanvasNeedScaling:r,activeTabName:n,initialCanvasImage:t,isCanvasInitialized:i}}),jY=()=>{const e=Ie(),{doesCanvasNeedScaling:t,activeTabName:n,initialCanvasImage:r,isCanvasInitialized:i}=he(oIe),o=w.useRef(null);return w.useLayoutEffect(()=>{window.setTimeout(()=>{if(!o.current)return;const{clientWidth:a,clientHeight:s}=o.current;e(kxe({width:a,height:s})),e(i?Cxe():Dx()),e(vi(!1))},0)},[e,r,t,n,i]),y.jsx("div",{ref:o,className:"inpainting-canvas-area",children:y.jsx(xy,{thickness:"2px",speed:"1s",size:"xl"})})},aIe=ot([ln,Or,ir],(e,t,n)=>{const{futureLayerStates:r}=e;return{canRedo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function BY(){const e=Ie(),{canRedo:t,activeTabName:n}=he(aIe),{t:r}=Ve(),i=()=>{e(xxe())};return Qe(["meta+shift+z","ctrl+shift+z","control+y","meta+y"],()=>{i()},{enabled:()=>t,preventDefault:!0},[n,t]),y.jsx(Ze,{"aria-label":`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,tooltip:`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,icon:y.jsx(fEe,{}),onClick:i,isDisabled:!t})}const sIe=ot([ln,Or,ir],(e,t,n)=>{const{pastLayerStates:r}=e;return{canUndo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function FY(){const e=Ie(),{t}=Ve(),{canUndo:n,activeTabName:r}=he(sIe),i=()=>{e(Mxe())};return Qe(["meta+z","ctrl+z"],()=>{i()},{enabled:()=>n,preventDefault:!0},[r,n]),y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:undo")} (Ctrl+Z)`,tooltip:`${t("unifiedcanvas:undo")} (Ctrl+Z)`,icon:y.jsx(mEe,{}),onClick:i,isDisabled:!n})}const lIe=(e,t,n)=>{const r=document.createElement("img");r.addEventListener("load",()=>{const i=document.createElement("canvas");i.width=t,i.height=n;const o=i.getContext("2d");o&&(o.drawImage(r,0,0),i.toBlob(a=>{a&&navigator.clipboard.write([new ClipboardItem({[a.type]:a})])}),i.remove(),r.remove())}),r.src=e},uIe=e=>{const t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t),t.remove()},cIe=(e,t,n,r)=>{const i=e.scale(),o=e.getClientRect({relativeTo:e.getParent()});e.scale({x:1/t,y:1/t});const{x:a,y:s,width:l,height:u}=e.getClientRect(),d=r?{x:r.x+n.x,y:r.y+n.y,width:r.width,height:r.height}:{x:a,y:s,width:l,height:u},h=e.toDataURL(d);return e.scale(i),{dataURL:h,boundingBox:{x:o.x,y:o.y,width:l,height:u}}},dIe={cropVisible:!1,cropToBoundingBox:!1,shouldSaveToGallery:!1,shouldDownload:!1,shouldCopy:!1,shouldSetAsInitialImage:!0},Td=(e=dIe)=>async(t,n)=>{const{cropVisible:r,cropToBoundingBox:i,shouldSaveToGallery:o,shouldDownload:a,shouldCopy:s,shouldSetAsInitialImage:l}=e;t(tCe("Exporting Image")),t(lm(!1));const u=n(),{stageScale:d,boundingBoxCoordinates:h,boundingBoxDimensions:m,stageCoordinates:v}=u.canvas,b=el();if(!b){t(Hs(!1)),t(lm(!0));return}const{dataURL:S,boundingBox:k}=cIe(b,d,v,i?{...h,...m}:void 0);if(!S){t(Hs(!1)),t(lm(!0));return}const E=new FormData;E.append("data",JSON.stringify({dataURL:S,filename:"merged_canvas.png",kind:o?"result":"temp",cropVisible:r}));const T=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:E})).json(),{url:A,width:I,height:R}=T,D={uuid:cm(),category:o?"result":"user",...T};a&&(uIe(A),t(Th({title:zt.t("toast:downloadImageStarted"),status:"success",duration:2500,isClosable:!0}))),s&&(lIe(A,I,R),t(Th({title:zt.t("toast:imageCopied"),status:"success",duration:2500,isClosable:!0}))),o&&(t(sm({image:D,category:"result"})),t(Th({title:zt.t("toast:imageSavedToGallery"),status:"success",duration:2500,isClosable:!0}))),l&&(t(Txe({kind:"image",layer:"base",...k,image:D})),t(Th({title:zt.t("toast:canvasMerged"),status:"success",duration:2500,isClosable:!0}))),t(Hs(!1)),t(D4(zt.t("common:statusConnected"))),t(lm(!0))};function fIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Ie(),{t:o}=Ve();Qe(["meta+c","ctrl+c"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldCopy:!0}))};return y.jsx(Ze,{"aria-label":`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:a,isDisabled:e})}function hIe(){const e=Ie(),{t}=Ve(),n=el(),r=he(Mr),i=he(s=>s.system.isProcessing),o=he(s=>s.canvas.shouldCropToBoundingBoxOnSave);Qe(["shift+d"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n,i]);const a=()=>{e(Td({cropVisible:!o,cropToBoundingBox:o,shouldDownload:!0}))};return y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:a,isDisabled:r})}function pIe(){const e=he(Mr),{openUploader:t}=xP(),{t:n}=Ve();return y.jsx(Ze,{"aria-label":n("common:upload"),tooltip:n("common:upload"),icon:y.jsx(Zx,{}),onClick:t,isDisabled:e})}const gIe=ot([ln,Mr],(e,t)=>{const{layer:n,isMaskEnabled:r}=e;return{layer:n,isMaskEnabled:r,isStaging:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function mIe(){const e=Ie(),{t}=Ve(),{layer:n,isMaskEnabled:r,isStaging:i}=he(gIe),o=()=>{e(q5(n==="mask"?"base":"mask"))};Qe(["q"],()=>{o()},{enabled:()=>!i,preventDefault:!0},[n]);const a=s=>{const l=s.target.value;e(q5(l)),l==="mask"&&!r&&e(Dy(!0))};return y.jsx(tl,{tooltip:`${t("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:n,validValues:DW,onChange:a,isDisabled:i})}function vIe(){const e=Ie(),{t}=Ve(),n=el(),r=he(Mr),i=he(a=>a.system.isProcessing);Qe(["shift+m"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n,i]);const o=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))};return y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(vq,{}),onClick:o,isDisabled:r})}function yIe(){const e=he(o=>o.canvas.tool),t=he(Mr),n=Ie(),{t:r}=Ve();Qe(["v"],()=>{i()},{enabled:()=>!t,preventDefault:!0},[]);const i=()=>n(tu("move"));return y.jsx(Ze,{"aria-label":`${r("unifiedcanvas:move")} (V)`,tooltip:`${r("unifiedcanvas:move")} (V)`,icon:y.jsx(dq,{}),"data-selected":e==="move"||t,onClick:i})}function bIe(){const e=he(i=>i.ui.shouldPinParametersPanel),t=Ie(),{t:n}=Ve(),r=()=>{t(Ku(!0)),e&&setTimeout(()=>t(vi(!0)),400)};return y.jsxs(qe,{flexDirection:"column",gap:"0.5rem",children:[y.jsx(Ze,{tooltip:`${n("parameters:showOptionsPanel")} (O)`,tooltipProps:{placement:"top"},"aria-label":n("parameters:showOptionsPanel"),onClick:r,children:y.jsx(AP,{})}),y.jsx(qe,{children:y.jsx(XP,{iconButton:!0})}),y.jsx(qe,{children:y.jsx(YP,{width:"100%",height:"40px"})})]})}function SIe(){const e=Ie(),{t}=Ve(),n=he(Mr),r=()=>{e(rP()),e(Dx())};return y.jsx(Ze,{"aria-label":t("unifiedcanvas:clearCanvas"),tooltip:t("unifiedcanvas:clearCanvas"),icon:y.jsx(vp,{}),onClick:r,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})}function $Y(e,t,n=250){const[r,i]=w.useState(0);return w.useEffect(()=>{const o=setTimeout(()=>{r===1&&e(),i(0)},n);return r===2&&t(),()=>clearTimeout(o)},[r,e,t,n]),()=>i(o=>o+1)}function xIe(){const e=el(),t=Ie(),{t:n}=Ve();Qe(["r"],()=>{i()},{enabled:()=>!0,preventDefault:!0},[e]);const r=$Y(()=>i(!1),()=>i(!0)),i=(o=!1)=>{const a=el();if(!a)return;const s=a.getClientRect({skipTransform:!0});t(zW({contentRect:s,shouldScaleTo1:o}))};return y.jsx(Ze,{"aria-label":`${n("unifiedcanvas:resetView")} (R)`,tooltip:`${n("unifiedcanvas:resetView")} (R)`,icon:y.jsx(hq,{}),onClick:r})}function wIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Ie(),{t:o}=Ve();Qe(["shift+s"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldSaveToGallery:!0}))};return y.jsx(Ze,{"aria-label":`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:a,isDisabled:e})}const CIe=ot([ln,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i}=e;return{tool:i,isStaging:t,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),_Ie=()=>{const e=Ie(),{t}=Ve(),{tool:n,isStaging:r}=he(CIe);Qe(["b"],()=>{i()},{enabled:()=>!r,preventDefault:!0},[]),Qe(["e"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n]),Qe(["c"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n]),Qe(["shift+f"],()=>{s()},{enabled:()=>!r,preventDefault:!0}),Qe(["delete","backspace"],()=>{l()},{enabled:()=>!r,preventDefault:!0});const i=()=>e(tu("brush")),o=()=>e(tu("eraser")),a=()=>e(tu("colorPicker")),s=()=>e(BW()),l=()=>e(jW());return y.jsxs(qe,{flexDirection:"column",gap:"0.5rem",children:[y.jsxs(oo,{children:[y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:brush")} (B)`,tooltip:`${t("unifiedcanvas:brush")} (B)`,icon:y.jsx(yq,{}),"data-selected":n==="brush"&&!r,onClick:i,isDisabled:r}),y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:eraser")} (E)`,tooltip:`${t("unifiedcanvas:eraser")} (B)`,icon:y.jsx(pq,{}),"data-selected":n==="eraser"&&!r,isDisabled:r,onClick:o})]}),y.jsxs(oo,{children:[y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(mq,{}),isDisabled:r,onClick:s}),y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:r,onClick:l})]}),y.jsx(Ze,{"aria-label":`${t("unifiedcanvas:colorPicker")} (C)`,tooltip:`${t("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(gq,{}),"data-selected":n==="colorPicker"&&!r,isDisabled:r,onClick:a,width:"max-content"})]})},oT=Oe((e,t)=>{const{acceptButtonText:n="Accept",acceptCallback:r,cancelButtonText:i="Cancel",cancelCallback:o,children:a,title:s,triggerComponent:l}=e,{isOpen:u,onOpen:d,onClose:h}=Wh(),m=w.useRef(null),v=()=>{r(),h()},b=()=>{o&&o(),h()};return y.jsxs(y.Fragment,{children:[w.cloneElement(l,{onClick:d,ref:t}),y.jsx(AV,{isOpen:u,leastDestructiveRef:m,onClose:h,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:s}),y.jsx(n0,{children:a}),y.jsxs(bx,{children:[y.jsx(as,{ref:m,onClick:b,className:"modal-close-btn",children:i}),y.jsx(as,{colorScheme:"red",onClick:v,ml:3,children:n})]})]})})})]})}),zY=()=>{const e=he(Mr),t=Ie(),{t:n}=Ve(),r=()=>{t($8e()),t(rP()),t($W())};return y.jsxs(oT,{title:n("unifiedcanvas:emptyTempImageFolder"),acceptCallback:r,acceptButtonText:n("unifiedcanvas:emptyFolder"),triggerComponent:y.jsx(cr,{leftIcon:y.jsx(vp,{}),size:"sm",isDisabled:e,children:n("unifiedcanvas:emptyTempImageFolder")}),children:[y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderConfirm")})]})},HY=()=>{const e=he(Mr),t=Ie(),{t:n}=Ve();return y.jsxs(oT,{title:n("unifiedcanvas:clearCanvasHistory"),acceptCallback:()=>t($W()),acceptButtonText:n("unifiedcanvas:clearHistory"),triggerComponent:y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),isDisabled:e,children:n("unifiedcanvas:clearCanvasHistory")}),children:[y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryConfirm")})]})},kIe=ot([ln],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),EIe=()=>{const e=Ie(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldShowCanvasDebugInfo:i,shouldShowIntermediates:o}=he(kIe);return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{tooltip:t("unifiedcanvas:canvasSettings"),tooltipProps:{placement:"bottom"},"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(qe,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:o,onChange:a=>e(XW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:a=>e(WW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:a=>e(UW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:i,onChange:a=>e(YW(a.target.checked))}),y.jsx(HY,{}),y.jsx(zY,{})]})})},PIe=()=>{const e=he(t=>t.ui.shouldShowParametersPanel);return y.jsxs(qe,{flexDirection:"column",rowGap:"0.5rem",width:"6rem",children:[y.jsx(mIe,{}),y.jsx(_Ie,{}),y.jsxs(qe,{gap:"0.5rem",children:[y.jsx(yIe,{}),y.jsx(xIe,{})]}),y.jsxs(qe,{columnGap:"0.5rem",children:[y.jsx(vIe,{}),y.jsx(wIe,{})]}),y.jsxs(qe,{columnGap:"0.5rem",children:[y.jsx(fIe,{}),y.jsx(hIe,{})]}),y.jsxs(qe,{gap:"0.5rem",children:[y.jsx(FY,{}),y.jsx(BY,{})]}),y.jsxs(qe,{gap:"0.5rem",children:[y.jsx(pIe,{}),y.jsx(SIe,{})]}),y.jsx(EIe,{}),!e&&y.jsx(bIe,{})]})};function TIe(){const e=Ie(),t=he(i=>i.canvas.brushSize),{t:n}=Ve(),r=he(Mr);return Qe(["BracketLeft"],()=>{e(jm(Math.max(t-5,5)))},{enabled:()=>!r,preventDefault:!0},[t]),Qe(["BracketRight"],()=>{e(jm(Math.min(t+5,500)))},{enabled:()=>!r,preventDefault:!0},[t]),y.jsx(na,{label:n("unifiedcanvas:brushSize"),value:t,withInput:!0,onChange:i=>e(jm(i)),sliderNumberInputProps:{max:500},inputReadOnly:!1,width:"100px",isCompact:!0})}function uw(){return(uw=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function X8(e){var t=w.useRef(e),n=w.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var l0=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:k.buttons>0)&&i.current?o(sN(i.current,k,s.current)):S(!1)},b=function(){return S(!1)};function S(k){var E=l.current,_=Z8(i.current),T=k?_.addEventListener:_.removeEventListener;T(E?"touchmove":"mousemove",v),T(E?"touchend":"mouseup",b)}return[function(k){var E=k.nativeEvent,_=i.current;if(_&&(lN(E),!function(A,I){return I&&!d2(A)}(E,l.current)&&_)){if(d2(E)){l.current=!0;var T=E.changedTouches||[];T.length&&(s.current=T[0].identifier)}_.focus(),o(sN(_,E,s.current)),S(!0)}},function(k){var E=k.which||k.keyCode;E<37||E>40||(k.preventDefault(),a({left:E===39?.05:E===37?-.05:0,top:E===40?.05:E===38?-.05:0}))},S]},[a,o]),d=u[0],h=u[1],m=u[2];return w.useEffect(function(){return m},[m]),N.createElement("div",uw({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))}),cw=function(e){return e.filter(Boolean).join(" ")},sT=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,o=cw(["react-colorful__pointer",e.className]);return N.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},N.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ko=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},WY=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:ko(e.h),s:ko(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:ko(i/2),a:ko(r,2)}},Q8=function(e){var t=WY(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},VC=function(e){var t=WY(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},LIe=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),u=o%6;return{r:ko(255*[r,s,a,a,l,r][u]),g:ko(255*[l,r,r,s,a,a][u]),b:ko(255*[a,a,l,r,r,s][u]),a:ko(i,2)}},AIe=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:ko(60*(s<0?s+6:s)),s:ko(o?a/o*100:0),v:ko(o/255*100),a:i}},OIe=N.memo(function(e){var t=e.hue,n=e.onChange,r=cw(["react-colorful__hue",e.className]);return N.createElement("div",{className:r},N.createElement(aT,{onMove:function(i){n({h:360*i.left})},onKey:function(i){n({h:l0(t+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":ko(t),"aria-valuemax":"360","aria-valuemin":"0"},N.createElement(sT,{className:"react-colorful__hue-pointer",left:t/360,color:Q8({h:t,s:100,v:100,a:1})})))}),MIe=N.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q8({h:t.h,s:100,v:100,a:1})};return N.createElement("div",{className:"react-colorful__saturation",style:r},N.createElement(aT,{onMove:function(i){n({s:100*i.left,v:100-100*i.top})},onKey:function(i){n({s:l0(t.s+100*i.left,0,100),v:l0(t.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ko(t.s)+"%, Brightness "+ko(t.v)+"%"},N.createElement(sT,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q8(t)})))}),UY=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function IIe(e,t,n){var r=X8(n),i=w.useState(function(){return e.toHsva(t)}),o=i[0],a=i[1],s=w.useRef({color:t,hsva:o});w.useEffect(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},a(u)}},[t,e]),w.useEffect(function(){var u;UY(o,s.current.hsva)||e.equal(u=e.fromHsva(o),s.current.color)||(s.current={hsva:o,color:u},r(u))},[o,e,r]);var l=w.useCallback(function(u){a(function(d){return Object.assign({},d,u)})},[]);return[o,l]}var RIe=typeof window<"u"?w.useLayoutEffect:w.useEffect,DIe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},uN=new Map,NIe=function(e){RIe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!uN.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,uN.set(t,n);var r=DIe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},jIe=function(e){var t=e.className,n=e.hsva,r=e.onChange,i={backgroundImage:"linear-gradient(90deg, "+VC(Object.assign({},n,{a:0}))+", "+VC(Object.assign({},n,{a:1}))+")"},o=cw(["react-colorful__alpha",t]),a=ko(100*n.a);return N.createElement("div",{className:o},N.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),N.createElement(aT,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:l0(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},N.createElement(sT,{className:"react-colorful__alpha-pointer",left:n.a,color:VC(n)})))},BIe=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,o=e.onChange,a=VY(e,["className","colorModel","color","onChange"]),s=w.useRef(null);NIe(s);var l=IIe(n,i,o),u=l[0],d=l[1],h=cw(["react-colorful",t]);return N.createElement("div",uw({},a,{ref:s,className:h}),N.createElement(MIe,{hsva:u,onChange:d}),N.createElement(OIe,{hue:u.h,onChange:d}),N.createElement(jIe,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},FIe={defaultColor:{r:0,g:0,b:0,a:1},toHsva:AIe,fromHsva:LIe,equal:UY},$Ie=function(e){return N.createElement(BIe,uw({},e,{colorModel:FIe}))};const dS=e=>{const{styleClass:t,...n}=e;return y.jsx($Ie,{className:`invokeai__color-picker ${t}`,...n})},zIe=ot([ln,Mr],(e,t)=>{const{brushColor:n,maskColor:r,layer:i}=e;return{brushColor:n,maskColor:r,layer:i,isStaging:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function HIe(){const e=Ie(),{brushColor:t,maskColor:n,layer:r,isStaging:i}=he(zIe),o=()=>{if(r==="base")return`rgba(${t.r},${t.g},${t.b},${t.a})`;if(r==="mask")return`rgba(${n.r},${n.g},${n.b},${n.a})`};return Qe(["shift+BracketLeft"],()=>{e(Nm({...t,a:Ee.clamp(t.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),Qe(["shift+BracketRight"],()=>{e(Nm({...t,a:Ee.clamp(t.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(_o,{style:{width:"30px",height:"30px",minWidth:"30px",minHeight:"30px",borderRadius:"99999999px",backgroundColor:o(),cursor:"pointer"}}),children:y.jsxs(qe,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[r==="base"&&y.jsx(dS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:t,onChange:a=>e(Nm(a))}),r==="mask"&&y.jsx(dS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:a=>e(VW(a))})]})})}function GY(){return y.jsxs(qe,{columnGap:"1rem",alignItems:"center",children:[y.jsx(TIe,{}),y.jsx(HIe,{})]})}function VIe(){const e=Ie(),t=he(r=>r.canvas.shouldRestrictStrokesToBox),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaLimitToBox"),isChecked:t,onChange:r=>e(QW(r.target.checked))})}function WIe(){return y.jsxs(qe,{gap:"1rem",alignItems:"center",children:[y.jsx(GY,{}),y.jsx(VIe,{})]})}function UIe(){const e=Ie(),{t}=Ve(),n=()=>e(nP());return y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:n,tooltip:`${t("unifiedcanvas:clearMask")} (Shift+C)`,children:t("unifiedcanvas:betaClear")})}function GIe(){const e=he(i=>i.canvas.isMaskEnabled),t=Ie(),{t:n}=Ve(),r=()=>t(Dy(!e));return y.jsx(er,{label:`${n("unifiedcanvas:enableMask")} (H)`,isChecked:e,onChange:r})}function qIe(){const e=Ie(),{t}=Ve(),n=he(r=>r.canvas.shouldPreserveMaskedArea);return y.jsx(er,{label:t("unifiedcanvas:betaPreserveMasked"),isChecked:n,onChange:r=>e(qW(r.target.checked))})}function YIe(){return y.jsxs(qe,{gap:"1rem",alignItems:"center",children:[y.jsx(GY,{}),y.jsx(GIe,{}),y.jsx(qIe,{}),y.jsx(UIe,{})]})}function KIe(){const e=he(r=>r.canvas.shouldDarkenOutsideBoundingBox),t=Ie(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaDarkenOutside"),isChecked:e,onChange:r=>t(GW(r.target.checked))})}function XIe(){const e=he(r=>r.canvas.shouldShowGrid),t=Ie(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:showGrid"),isChecked:e,onChange:r=>t(KW(r.target.checked))})}function ZIe(){const e=he(i=>i.canvas.shouldSnapToGrid),t=Ie(),{t:n}=Ve(),r=i=>t(Y5(i.target.checked));return y.jsx(er,{label:`${n("unifiedcanvas:snapToGrid")} (N)`,isChecked:e,onChange:r})}function QIe(){return y.jsxs(qe,{alignItems:"center",gap:"1rem",children:[y.jsx(XIe,{}),y.jsx(ZIe,{}),y.jsx(KIe,{})]})}const JIe=ot([ln],e=>{const{tool:t,layer:n}=e;return{tool:t,layer:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function eRe(){const{tool:e,layer:t}=he(JIe);return y.jsxs(qe,{height:"2rem",minHeight:"2rem",maxHeight:"2rem",alignItems:"center",children:[t=="base"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(WIe,{}),t=="mask"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(YIe,{}),e=="move"&&y.jsx(QIe,{})]})}const tRe=ot([ln],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),nRe=()=>{const e=Ie(),{doesCanvasNeedScaling:t}=he(tRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=Ee.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsxs(qe,{flexDirection:"row",width:"100%",height:"100%",columnGap:"1rem",padding:"1rem",children:[y.jsx(PIe,{}),y.jsxs(qe,{width:"100%",height:"100%",flexDirection:"column",rowGap:"1rem",children:[y.jsx(eRe,{}),t?y.jsx(jY,{}):y.jsx(NY,{})]})]})})},rRe=ot([ln,Mr],(e,t)=>{const{maskColor:n,layer:r,isMaskEnabled:i,shouldPreserveMaskedArea:o}=e;return{layer:r,maskColor:n,maskColorString:Hh(n),isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),iRe=()=>{const e=Ie(),{t}=Ve(),{layer:n,maskColor:r,isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:a}=he(rRe);Qe(["q"],()=>{s()},{enabled:()=>!a,preventDefault:!0},[n]),Qe(["shift+c"],()=>{l()},{enabled:()=>!a,preventDefault:!0},[]),Qe(["h"],()=>{u()},{enabled:()=>!a,preventDefault:!0},[i]);const s=()=>{e(q5(n==="mask"?"base":"mask"))},l=()=>e(nP()),u=()=>e(Dy(!i));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(oo,{children:y.jsx(Ze,{"aria-label":t("unifiedcanvas:maskingOptions"),tooltip:t("unifiedcanvas:maskingOptions"),icon:y.jsx(aEe,{}),style:n==="mask"?{backgroundColor:"var(--accent-color)"}:{backgroundColor:"var(--btn-base-color)"},isDisabled:a})}),children:y.jsxs(qe,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:`${t("unifiedcanvas:enableMask")} (H)`,isChecked:i,onChange:u}),y.jsx(er,{label:t("unifiedcanvas:preserveMaskedArea"),isChecked:o,onChange:d=>e(qW(d.target.checked))}),y.jsx(dS,{style:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:r,onChange:d=>e(VW(d))}),y.jsxs(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:l,children:[t("unifiedcanvas:clearMask")," (Shift+C)"]})]})})},oRe=ot([ln],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),aRe=()=>{const e=Ie(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldDarkenOutsideBoundingBox:i,shouldShowCanvasDebugInfo:o,shouldShowGrid:a,shouldShowIntermediates:s,shouldSnapToGrid:l,shouldRestrictStrokesToBox:u}=he(oRe);Qe(["n"],()=>{e(Y5(!l))},{enabled:!0,preventDefault:!0},[l]);const d=h=>e(Y5(h.target.checked));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{tooltip:t("unifiedcanvas:canvasSettings"),"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(qe,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:s,onChange:h=>e(XW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showGrid"),isChecked:a,onChange:h=>e(KW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:snapToGrid"),isChecked:l,onChange:d}),y.jsx(er,{label:t("unifiedcanvas:darkenOutsideSelection"),isChecked:i,onChange:h=>e(GW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:h=>e(WW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:h=>e(UW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:limitStrokesToBox"),isChecked:u,onChange:h=>e(QW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:o,onChange:h=>e(YW(h.target.checked))}),y.jsx(HY,{}),y.jsx(zY,{})]})})},sRe=ot([ln,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i,brushColor:o,brushSize:a}=e;return{tool:i,isStaging:t,isProcessing:r,brushColor:o,brushSize:a}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),lRe=()=>{const e=Ie(),{tool:t,brushColor:n,brushSize:r,isStaging:i}=he(sRe),{t:o}=Ve();Qe(["b"],()=>{a()},{enabled:()=>!i,preventDefault:!0},[]),Qe(["e"],()=>{s()},{enabled:()=>!i,preventDefault:!0},[t]),Qe(["c"],()=>{l()},{enabled:()=>!i,preventDefault:!0},[t]),Qe(["shift+f"],()=>{u()},{enabled:()=>!i,preventDefault:!0}),Qe(["delete","backspace"],()=>{d()},{enabled:()=>!i,preventDefault:!0}),Qe(["BracketLeft"],()=>{e(jm(Math.max(r-5,5)))},{enabled:()=>!i,preventDefault:!0},[r]),Qe(["BracketRight"],()=>{e(jm(Math.min(r+5,500)))},{enabled:()=>!i,preventDefault:!0},[r]),Qe(["shift+BracketLeft"],()=>{e(Nm({...n,a:Ee.clamp(n.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]),Qe(["shift+BracketRight"],()=>{e(Nm({...n,a:Ee.clamp(n.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]);const a=()=>e(tu("brush")),s=()=>e(tu("eraser")),l=()=>e(tu("colorPicker")),u=()=>e(BW()),d=()=>e(jW());return y.jsxs(oo,{isAttached:!0,children:[y.jsx(Ze,{"aria-label":`${o("unifiedcanvas:brush")} (B)`,tooltip:`${o("unifiedcanvas:brush")} (B)`,icon:y.jsx(yq,{}),"data-selected":t==="brush"&&!i,onClick:a,isDisabled:i}),y.jsx(Ze,{"aria-label":`${o("unifiedcanvas:eraser")} (E)`,tooltip:`${o("unifiedcanvas:eraser")} (E)`,icon:y.jsx(pq,{}),"data-selected":t==="eraser"&&!i,isDisabled:i,onClick:s}),y.jsx(Ze,{"aria-label":`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(mq,{}),isDisabled:i,onClick:u}),y.jsx(Ze,{"aria-label":`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:i,onClick:d}),y.jsx(Ze,{"aria-label":`${o("unifiedcanvas:colorPicker")} (C)`,tooltip:`${o("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(gq,{}),"data-selected":t==="colorPicker"&&!i,isDisabled:i,onClick:l}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{"aria-label":o("unifiedcanvas:brushOptions"),tooltip:o("unifiedcanvas:brushOptions"),icon:y.jsx(AP,{})}),children:y.jsxs(qe,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[y.jsx(qe,{gap:"1rem",justifyContent:"space-between",children:y.jsx(na,{label:o("unifiedcanvas:brushSize"),value:r,withInput:!0,onChange:h=>e(jm(h)),sliderNumberInputProps:{max:500},inputReadOnly:!1})}),y.jsx(dS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:h=>e(Nm(h))})]})})]})},uRe=ot([ir,ln,Mr],(e,t,n)=>{const{isProcessing:r}=e,{tool:i,shouldCropToBoundingBoxOnSave:o,layer:a,isMaskEnabled:s}=t;return{isProcessing:r,isStaging:n,isMaskEnabled:s,tool:i,layer:a,shouldCropToBoundingBoxOnSave:o}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),cRe=()=>{const e=Ie(),{isProcessing:t,isStaging:n,isMaskEnabled:r,layer:i,tool:o,shouldCropToBoundingBoxOnSave:a}=he(uRe),s=el(),{t:l}=Ve(),{openUploader:u}=xP();Qe(["v"],()=>{d()},{enabled:()=>!n,preventDefault:!0},[]),Qe(["r"],()=>{m()},{enabled:()=>!0,preventDefault:!0},[s]),Qe(["shift+m"],()=>{b()},{enabled:()=>!n,preventDefault:!0},[s,t]),Qe(["shift+s"],()=>{S()},{enabled:()=>!n,preventDefault:!0},[s,t]),Qe(["meta+c","ctrl+c"],()=>{k()},{enabled:()=>!n,preventDefault:!0},[s,t]),Qe(["shift+d"],()=>{E()},{enabled:()=>!n,preventDefault:!0},[s,t]);const d=()=>e(tu("move")),h=$Y(()=>m(!1),()=>m(!0)),m=(T=!1)=>{const A=el();if(!A)return;const I=A.getClientRect({skipTransform:!0});e(zW({contentRect:I,shouldScaleTo1:T}))},v=()=>{e(rP()),e(Dx())},b=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))},S=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldSaveToGallery:!0}))},k=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldCopy:!0}))},E=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldDownload:!0}))},_=T=>{const A=T.target.value;e(q5(A)),A==="mask"&&!r&&e(Dy(!0))};return y.jsxs("div",{className:"inpainting-settings",children:[y.jsx(tl,{tooltip:`${l("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:i,validValues:DW,onChange:_,isDisabled:n}),y.jsx(iRe,{}),y.jsx(lRe,{}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Ze,{"aria-label":`${l("unifiedcanvas:move")} (V)`,tooltip:`${l("unifiedcanvas:move")} (V)`,icon:y.jsx(dq,{}),"data-selected":o==="move"||n,onClick:d}),y.jsx(Ze,{"aria-label":`${l("unifiedcanvas:resetView")} (R)`,tooltip:`${l("unifiedcanvas:resetView")} (R)`,icon:y.jsx(hq,{}),onClick:h})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Ze,{"aria-label":`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(vq,{}),onClick:b,isDisabled:n}),y.jsx(Ze,{"aria-label":`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:S,isDisabled:n}),y.jsx(Ze,{"aria-label":`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:k,isDisabled:n}),y.jsx(Ze,{"aria-label":`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:E,isDisabled:n})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(FY,{}),y.jsx(BY,{})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Ze,{"aria-label":`${l("common:upload")}`,tooltip:`${l("common:upload")}`,icon:y.jsx(Zx,{}),onClick:u,isDisabled:n}),y.jsx(Ze,{"aria-label":`${l("unifiedcanvas:clearCanvas")}`,tooltip:`${l("unifiedcanvas:clearCanvas")}`,icon:y.jsx(vp,{}),onClick:v,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(aRe,{})})]})},dRe=ot([ln],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),fRe=()=>{const e=Ie(),{doesCanvasNeedScaling:t}=he(dRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=Ee.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"workarea-split-view-left",children:y.jsxs("div",{className:"inpainting-main-area",children:[y.jsx(cRe,{}),y.jsx("div",{className:"inpainting-canvas-area",children:t?y.jsx(jY,{}):y.jsx(NY,{})})]})})})},hRe=ot(ln,e=>{const{boundingBoxDimensions:t,boundingBoxScaleMethod:n}=e;return{boundingBoxDimensions:t,boundingBoxScale:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),pRe=()=>{const e=Ie(),{boundingBoxDimensions:t}=he(hRe),{t:n}=Ve(),r=s=>{e(Ev({...t,width:Math.floor(s)}))},i=s=>{e(Ev({...t,height:Math.floor(s)}))},o=()=>{e(Ev({...t,width:Math.floor(512)}))},a=()=>{e(Ev({...t,height:Math.floor(512)}))};return y.jsxs(qe,{direction:"column",gap:"1rem",children:[y.jsx(na,{label:n("parameters:width"),min:64,max:1024,step:64,value:t.width,onChange:r,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:o}),y.jsx(na,{label:n("parameters:height"),min:64,max:1024,step:64,value:t.height,onChange:i,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:a})]})},gRe=ot([KP,ir,ln],(e,t,n)=>{const{tileSize:r,infillMethod:i}=e,{infill_methods:o}=t,{boundingBoxScaleMethod:a,scaledBoundingBoxDimensions:s}=n;return{boundingBoxScale:a,scaledBoundingBoxDimensions:s,tileSize:r,infillMethod:i,availableInfillMethods:o,isManual:a==="manual"}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),mRe=()=>{const e=Ie(),{tileSize:t,infillMethod:n,availableInfillMethods:r,boundingBoxScale:i,isManual:o,scaledBoundingBoxDimensions:a}=he(gRe),{t:s}=Ve(),l=v=>{e(_b({...a,width:Math.floor(v)}))},u=v=>{e(_b({...a,height:Math.floor(v)}))},d=()=>{e(_b({...a,width:Math.floor(512)}))},h=()=>{e(_b({...a,height:Math.floor(512)}))},m=v=>{e(_xe(v.target.value))};return y.jsxs(qe,{direction:"column",gap:"1rem",children:[y.jsx(tl,{label:s("parameters:scaleBeforeProcessing"),validValues:sxe,value:i,onChange:m}),y.jsx(na,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledWidth"),min:64,max:1024,step:64,value:a.width,onChange:l,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:d}),y.jsx(na,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledHeight"),min:64,max:1024,step:64,value:a.height,onChange:u,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:h}),y.jsx(tl,{label:s("parameters:infillMethod"),value:n,validValues:r,onChange:v=>e(uU(v.target.value))}),y.jsx(na,{isInputDisabled:n!=="tile",isResetDisabled:n!=="tile",isSliderDisabled:n!=="tile",sliderMarkRightOffset:-4,label:s("parameters:tileSize"),min:16,max:64,sliderNumberInputProps:{max:256},value:t,onChange:v=>{e(HI(v))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(HI(32))}})]})};function vRe(){const e=Ie(),t=he(r=>r.generation.seamBlur),{t:n}=Ve();return y.jsx(na,{sliderMarkRightOffset:-4,label:n("parameters:seamBlur"),min:0,max:64,sliderNumberInputProps:{max:512},value:t,onChange:r=>{e(BI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(BI(16))}})}function yRe(){const e=Ie(),{t}=Ve(),n=he(r=>r.generation.seamSize);return y.jsx(na,{sliderMarkRightOffset:-6,label:t("parameters:seamSize"),min:1,max:256,sliderNumberInputProps:{max:512},value:n,onChange:r=>{e(FI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>e(FI(96))})}function bRe(){const{t:e}=Ve(),t=he(r=>r.generation.seamSteps),n=Ie();return y.jsx(na,{sliderMarkRightOffset:-4,label:e("parameters:seamSteps"),min:1,max:100,sliderNumberInputProps:{max:999},value:t,onChange:r=>{n($I(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{n($I(30))}})}function SRe(){const e=Ie(),{t}=Ve(),n=he(r=>r.generation.seamStrength);return y.jsx(na,{sliderMarkRightOffset:-7,label:t("parameters:seamStrength"),min:.01,max:.99,step:.01,value:n,onChange:r=>{e(zI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(zI(.7))}})}const xRe=()=>y.jsxs(qe,{direction:"column",gap:"1rem",children:[y.jsx(yRe,{}),y.jsx(vRe,{}),y.jsx(SRe,{}),y.jsx(bRe,{})]});function wRe(){const{t:e}=Ve(),t={boundingBox:{header:`${e("parameters:boundingBoxHeader")}`,feature:ao.BOUNDING_BOX,content:y.jsx(pRe,{})},seamCorrection:{header:`${e("parameters:seamCorrectionHeader")}`,feature:ao.SEAM_CORRECTION,content:y.jsx(xRe,{})},infillAndScaling:{header:`${e("parameters:infillScalingHeader")}`,feature:ao.INFILL_AND_SCALING,content:y.jsx(mRe,{})},seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})}};return y.jsxs(eT,{children:[y.jsxs(qe,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(_Y,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(qP,{accordionInfo:t})]})}function CRe(){const e=he(t=>t.ui.shouldUseCanvasBetaLayout);return y.jsx(HP,{optionsPanel:y.jsx(wRe,{}),styleClass:"inpainting-workarea-overrides",children:e?y.jsx(nRe,{}):y.jsx(fRe,{})})}const es={txt2img:{title:y.jsx(n_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(pOe,{}),tooltip:"Text To Image"},img2img:{title:y.jsx(J8e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(sOe,{}),tooltip:"Image To Image"},unifiedCanvas:{title:y.jsx(i_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(CRe,{}),tooltip:"Unified Canvas"},nodes:{title:y.jsx(e_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(K8e,{}),tooltip:"Nodes"},postprocess:{title:y.jsx(t_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(X8e,{}),tooltip:"Post Processing"},training:{title:y.jsx(r_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Z8e,{}),tooltip:"Training"}};function _Re(){es.txt2img.tooltip=zt.t("common:text2img"),es.img2img.tooltip=zt.t("common:img2img"),es.unifiedCanvas.tooltip=zt.t("common:unifiedCanvas"),es.nodes.tooltip=zt.t("common:nodes"),es.postprocess.tooltip=zt.t("common:postProcessing"),es.training.tooltip=zt.t("common:training")}function kRe(){const e=he(Y8e),t=he(o=>o.lightbox.isLightboxOpen);Q8e(_Re);const n=Ie();Qe("1",()=>{n(qo(0))}),Qe("2",()=>{n(qo(1))}),Qe("3",()=>{n(qo(2))}),Qe("4",()=>{n(qo(3))}),Qe("5",()=>{n(qo(4))}),Qe("6",()=>{n(qo(5))}),Qe("z",()=>{n(Bm(!t))},[t]);const r=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(lo,{hasArrow:!0,label:es[a].tooltip,placement:"right",children:y.jsx(oW,{children:es[a].title})},a))}),o},i=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(rW,{className:"app-tabs-panel",children:es[a].workarea},a))}),o};return y.jsxs(nW,{isLazy:!0,className:"app-tabs",variant:"unstyled",defaultIndex:e,index:e,onChange:o=>{n(qo(o))},children:[y.jsx("div",{className:"app-tabs-list",children:r()}),y.jsx(iW,{className:"app-tabs-panels",children:t?y.jsx(CAe,{}):i()})]})}var ERe=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Uy(e,t){var n=PRe(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function PRe(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),i=ERe.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var TRe=[".DS_Store","Thumbs.db"];function LRe(e){return m0(this,void 0,void 0,function(){return v0(this,function(t){return fS(e)&&ARe(e.dataTransfer)?[2,RRe(e.dataTransfer,e.type)]:ORe(e)?[2,MRe(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,IRe(e)]:[2,[]]})})}function ARe(e){return fS(e)}function ORe(e){return fS(e)&&fS(e.target)}function fS(e){return typeof e=="object"&&e!==null}function MRe(e){return J8(e.target.files).map(function(t){return Uy(t)})}function IRe(e){return m0(this,void 0,void 0,function(){var t;return v0(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return Uy(r)})]}})})}function RRe(e,t){return m0(this,void 0,void 0,function(){var n,r;return v0(this,function(i){switch(i.label){case 0:return e.items?(n=J8(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(DRe))]):[3,2];case 1:return r=i.sent(),[2,cN(qY(r))];case 2:return[2,cN(J8(e.files).map(function(o){return Uy(o)}))]}})})}function cN(e){return e.filter(function(t){return TRe.indexOf(t.name)===-1})}function J8(e){if(e===null)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,gN(n)];if(e.sizen)return[!1,gN(n)]}return[!0,null]}function Sh(e){return e!=null}function ZRe(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(l){var u=ZY(l,n),d=ay(u,1),h=d[0],m=QY(l,r,i),v=ay(m,1),b=v[0],S=s?s(l):null;return h&&b&&!S})}function hS(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Xb(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function vN(e){e.preventDefault()}function QRe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function JRe(e){return e.indexOf("Edge/")!==-1}function eDe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return QRe(e)||JRe(e)}function Il(){for(var e=arguments.length,t=new Array(e),n=0;n1?i-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vDe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var lT=w.forwardRef(function(e,t){var n=e.children,r=pS(e,aDe),i=rK(r),o=i.open,a=pS(i,sDe);return w.useImperativeHandle(t,function(){return{open:o}},[o]),N.createElement(w.Fragment,null,n(Cr(Cr({},a),{},{open:o})))});lT.displayName="Dropzone";var nK={disabled:!1,getFilesFromEvent:LRe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};lT.defaultProps=nK;lT.propTypes={children:jn.func,accept:jn.objectOf(jn.arrayOf(jn.string)),multiple:jn.bool,preventDropOnDocument:jn.bool,noClick:jn.bool,noKeyboard:jn.bool,noDrag:jn.bool,noDragEventsBubbling:jn.bool,minSize:jn.number,maxSize:jn.number,maxFiles:jn.number,disabled:jn.bool,getFilesFromEvent:jn.func,onFileDialogCancel:jn.func,onFileDialogOpen:jn.func,useFsAccessApi:jn.bool,autoFocus:jn.bool,onDragEnter:jn.func,onDragLeave:jn.func,onDragOver:jn.func,onDrop:jn.func,onDropAccepted:jn.func,onDropRejected:jn.func,onError:jn.func,validator:jn.func};var r_={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function rK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Cr(Cr({},nK),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,m=t.onDrop,v=t.onDropAccepted,b=t.onDropRejected,S=t.onFileDialogCancel,k=t.onFileDialogOpen,E=t.useFsAccessApi,_=t.autoFocus,T=t.preventDropOnDocument,A=t.noClick,I=t.noKeyboard,R=t.noDrag,D=t.noDragEventsBubbling,j=t.onError,z=t.validator,V=w.useMemo(function(){return rDe(n)},[n]),K=w.useMemo(function(){return nDe(n)},[n]),te=w.useMemo(function(){return typeof k=="function"?k:bN},[k]),q=w.useMemo(function(){return typeof S=="function"?S:bN},[S]),F=w.useRef(null),U=w.useRef(null),X=w.useReducer(yDe,r_),Z=WC(X,2),W=Z[0],Q=Z[1],ie=W.isFocused,fe=W.isFileDialogActive,Se=w.useRef(typeof window<"u"&&window.isSecureContext&&E&&tDe()),Te=function(){!Se.current&&fe&&setTimeout(function(){if(U.current){var je=U.current.files;je.length||(Q({type:"closeDialog"}),q())}},300)};w.useEffect(function(){return window.addEventListener("focus",Te,!1),function(){window.removeEventListener("focus",Te,!1)}},[U,fe,q,Se]);var ye=w.useRef([]),He=function(je){F.current&&F.current.contains(je.target)||(je.preventDefault(),ye.current=[])};w.useEffect(function(){return T&&(document.addEventListener("dragover",vN,!1),document.addEventListener("drop",He,!1)),function(){T&&(document.removeEventListener("dragover",vN),document.removeEventListener("drop",He))}},[F,T]),w.useEffect(function(){return!r&&_&&F.current&&F.current.focus(),function(){}},[F,_,r]);var Ne=w.useCallback(function(we){j?j(we):console.error(we)},[j]),tt=w.useCallback(function(we){we.preventDefault(),we.persist(),le(we),ye.current=[].concat(cDe(ye.current),[we.target]),Xb(we)&&Promise.resolve(i(we)).then(function(je){if(!(hS(we)&&!D)){var _t=je.length,Dt=_t>0&&ZRe({files:je,accept:V,minSize:a,maxSize:o,multiple:s,maxFiles:l,validator:z}),Le=_t>0&&!Dt;Q({isDragAccept:Dt,isDragReject:Le,isDragActive:!0,type:"setDraggedFiles"}),u&&u(we)}}).catch(function(je){return Ne(je)})},[i,u,Ne,D,V,a,o,s,l,z]),_e=w.useCallback(function(we){we.preventDefault(),we.persist(),le(we);var je=Xb(we);if(je&&we.dataTransfer)try{we.dataTransfer.dropEffect="copy"}catch{}return je&&h&&h(we),!1},[h,D]),lt=w.useCallback(function(we){we.preventDefault(),we.persist(),le(we);var je=ye.current.filter(function(Dt){return F.current&&F.current.contains(Dt)}),_t=je.indexOf(we.target);_t!==-1&&je.splice(_t,1),ye.current=je,!(je.length>0)&&(Q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Xb(we)&&d&&d(we))},[F,d,D]),wt=w.useCallback(function(we,je){var _t=[],Dt=[];we.forEach(function(Le){var At=ZY(Le,V),Fe=WC(At,2),vt=Fe[0],nn=Fe[1],Rn=QY(Le,a,o),Ke=WC(Rn,2),xt=Ke[0],ft=Ke[1],Ht=z?z(Le):null;if(vt&&xt&&!Ht)_t.push(Le);else{var rn=[nn,ft];Ht&&(rn=rn.concat(Ht)),Dt.push({file:Le,errors:rn.filter(function(pr){return pr})})}}),(!s&&_t.length>1||s&&l>=1&&_t.length>l)&&(_t.forEach(function(Le){Dt.push({file:Le,errors:[XRe]})}),_t.splice(0)),Q({acceptedFiles:_t,fileRejections:Dt,type:"setFiles"}),m&&m(_t,Dt,je),Dt.length>0&&b&&b(Dt,je),_t.length>0&&v&&v(_t,je)},[Q,s,V,a,o,l,m,v,b,z]),ct=w.useCallback(function(we){we.preventDefault(),we.persist(),le(we),ye.current=[],Xb(we)&&Promise.resolve(i(we)).then(function(je){hS(we)&&!D||wt(je,we)}).catch(function(je){return Ne(je)}),Q({type:"reset"})},[i,wt,Ne,D]),mt=w.useCallback(function(){if(Se.current){Q({type:"openDialog"}),te();var we={multiple:s,types:K};window.showOpenFilePicker(we).then(function(je){return i(je)}).then(function(je){wt(je,null),Q({type:"closeDialog"})}).catch(function(je){iDe(je)?(q(je),Q({type:"closeDialog"})):oDe(je)?(Se.current=!1,U.current?(U.current.value=null,U.current.click()):Ne(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):Ne(je)});return}U.current&&(Q({type:"openDialog"}),te(),U.current.value=null,U.current.click())},[Q,te,q,E,wt,Ne,K,s]),St=w.useCallback(function(we){!F.current||!F.current.isEqualNode(we.target)||(we.key===" "||we.key==="Enter"||we.keyCode===32||we.keyCode===13)&&(we.preventDefault(),mt())},[F,mt]),Ae=w.useCallback(function(){Q({type:"focus"})},[]),ut=w.useCallback(function(){Q({type:"blur"})},[]),Mt=w.useCallback(function(){A||(eDe()?setTimeout(mt,0):mt())},[A,mt]),at=function(je){return r?null:je},Ct=function(je){return I?null:at(je)},Zt=function(je){return R?null:at(je)},le=function(je){D&&je.stopPropagation()},De=w.useMemo(function(){return function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},je=we.refKey,_t=je===void 0?"ref":je,Dt=we.role,Le=we.onKeyDown,At=we.onFocus,Fe=we.onBlur,vt=we.onClick,nn=we.onDragEnter,Rn=we.onDragOver,Ke=we.onDragLeave,xt=we.onDrop,ft=pS(we,lDe);return Cr(Cr(n_({onKeyDown:Ct(Il(Le,St)),onFocus:Ct(Il(At,Ae)),onBlur:Ct(Il(Fe,ut)),onClick:at(Il(vt,Mt)),onDragEnter:Zt(Il(nn,tt)),onDragOver:Zt(Il(Rn,_e)),onDragLeave:Zt(Il(Ke,lt)),onDrop:Zt(Il(xt,ct)),role:typeof Dt=="string"&&Dt!==""?Dt:"presentation"},_t,F),!r&&!I?{tabIndex:0}:{}),ft)}},[F,St,Ae,ut,Mt,tt,_e,lt,ct,I,R,r]),Ue=w.useCallback(function(we){we.stopPropagation()},[]),Ye=w.useMemo(function(){return function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},je=we.refKey,_t=je===void 0?"ref":je,Dt=we.onChange,Le=we.onClick,At=pS(we,uDe),Fe=n_({accept:V,multiple:s,type:"file",style:{display:"none"},onChange:at(Il(Dt,ct)),onClick:at(Il(Le,Ue)),tabIndex:-1},_t,U);return Cr(Cr({},Fe),At)}},[U,n,s,ct,r]);return Cr(Cr({},W),{},{isFocused:ie&&!r,getRootProps:De,getInputProps:Ye,rootRef:F,inputRef:U,open:at(mt)})}function yDe(e,t){switch(t.type){case"focus":return Cr(Cr({},e),{},{isFocused:!0});case"blur":return Cr(Cr({},e),{},{isFocused:!1});case"openDialog":return Cr(Cr({},r_),{},{isFileDialogActive:!0});case"closeDialog":return Cr(Cr({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Cr(Cr({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Cr(Cr({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Cr({},r_);default:return e}}function bN(){}const bDe=e=>{const{isDragAccept:t,isDragReject:n,overlaySecondaryText:r,setIsHandlingUpload:i}=e;return Qe("esc",()=>{i(!1)}),y.jsxs("div",{className:"dropzone-container",children:[t&&y.jsx("div",{className:"dropzone-overlay is-drag-accept",children:y.jsxs(Dh,{size:"lg",children:["Upload Image",r]})}),n&&y.jsxs("div",{className:"dropzone-overlay is-drag-reject",children:[y.jsx(Dh,{size:"lg",children:"Invalid Upload"}),y.jsx(Dh,{size:"md",children:"Must be single JPEG or PNG image"})]})]})},SDe=e=>{const{children:t}=e,n=Ie(),r=he(Or),i=Ry({}),{t:o}=Ve(),[a,s]=w.useState(!1),{setOpenUploader:l}=xP(),u=w.useCallback(T=>{s(!0);const A=T.errors.reduce((I,R)=>`${I} -${R.message}`,"");i({title:o("toast:uploadFailed"),description:A,status:"error",isClosable:!0})},[o,i]),d=w.useCallback(async T=>{n(fD({imageFile:T}))},[n]),h=w.useCallback((T,A)=>{A.forEach(I=>{u(I)}),T.forEach(I=>{d(I)})},[d,u]),{getRootProps:m,getInputProps:v,isDragAccept:b,isDragReject:S,isDragActive:k,open:E}=rK({accept:{"image/png":[".png"],"image/jpeg":[".jpg",".jpeg",".png"]},noClick:!0,onDrop:h,onDragOver:()=>s(!0),maxFiles:1});l(E),w.useEffect(()=>{const T=A=>{var j;const I=(j=A.clipboardData)==null?void 0:j.items;if(!I)return;const R=[];for(const z of I)z.kind==="file"&&["image/png","image/jpg"].includes(z.type)&&R.push(z);if(!R.length)return;if(A.stopImmediatePropagation(),R.length>1){i({description:o("toast:uploadFailedMultipleImagesDesc"),status:"error",isClosable:!0});return}const D=R[0].getAsFile();if(!D){i({description:o("toast:uploadFailedUnableToLoadDesc"),status:"error",isClosable:!0});return}n(fD({imageFile:D}))};return document.addEventListener("paste",T),()=>{document.removeEventListener("paste",T)}},[o,n,i,r]);const _=["img2img","unifiedCanvas"].includes(r)?` to ${es[r].tooltip}`:"";return y.jsx(SP.Provider,{value:E,children:y.jsxs("div",{...m({style:{}}),onKeyDown:T=>{T.key},children:[y.jsx("input",{...v()}),t,k&&a&&y.jsx(bDe,{isDragAccept:b,isDragReject:S,overlaySecondaryText:_,setIsHandlingUpload:s})]})})},xDe=ot(ir,e=>e.log,{memoizeOptions:{resultEqualityCheck:(e,t)=>e.length===t.length}}),wDe=ot(ir,e=>({shouldShowLogViewer:e.shouldShowLogViewer,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),CDe=()=>{const e=Ie(),t=he(xDe),{shouldShowLogViewer:n,hasError:r,wasErrorSeen:i}=he(wDe),[o,a]=w.useState(!0),s=w.useRef(null);w.useLayoutEffect(()=>{s.current!==null&&o&&(s.current.scrollTop=s.current.scrollHeight)},[o,t,n]);const l=()=>{e(BU()),e(_C(!n))};Qe("`",()=>{e(_C(!n))},[n]),Qe("esc",()=>{e(_C(!1))});const u=()=>{s.current&&o&&s.current.scrollTop{const{timestamp:m,message:v,level:b}=d;return y.jsxs("div",{className:`console-entry console-${b}-color`,children:[y.jsxs("p",{className:"console-timestamp",children:[m,":"]}),y.jsx("p",{className:"console-message",children:v})]},h)})})}),n&&y.jsx(lo,{hasArrow:!0,label:o?"Autoscroll On":"Autoscroll Off",children:y.jsx(ss,{className:"console-autoscroll-icon-button","data-autoscroll-enabled":o,size:"sm","aria-label":"Toggle autoscroll",variant:"solid",icon:y.jsx(Gke,{}),onClick:()=>a(!o)})}),y.jsx(lo,{hasArrow:!0,label:n?"Hide Console":"Show Console",children:y.jsx(ss,{className:"console-toggle-icon-button","data-error-seen":r||!i,size:"sm",position:"fixed",variant:"solid","aria-label":"Toggle Log Viewer",icon:n?y.jsx(sEe,{}):y.jsx(fq,{}),onClick:l})})]})},_De=ot(ir,e=>({isProcessing:e.isProcessing,currentStep:e.currentStep,totalSteps:e.totalSteps,currentStatusHasSteps:e.currentStatusHasSteps}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),kDe=()=>{const{isProcessing:e,currentStep:t,totalSteps:n,currentStatusHasSteps:r}=he(_De),i=t?Math.round(t*100/n):0;return y.jsx(BV,{value:i,isIndeterminate:e&&!r,className:"progress-bar"})};function EDe(e){const{title:t,hotkey:n,description:r}=e;return y.jsxs("div",{className:"hotkey-modal-item",children:[y.jsxs("div",{className:"hotkey-info",children:[y.jsx("p",{className:"hotkey-title",children:t}),r&&y.jsx("p",{className:"hotkey-description",children:r})]}),y.jsx("div",{className:"hotkey-key",children:n})]})}function PDe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),{t:i}=Ve(),o=[{title:i("hotkeys:invoke.title"),desc:i("hotkeys:invoke.desc"),hotkey:"Ctrl+Enter"},{title:i("hotkeys:cancel.title"),desc:i("hotkeys:cancel.desc"),hotkey:"Shift+X"},{title:i("hotkeys:focusPrompt.title"),desc:i("hotkeys:focusPrompt.desc"),hotkey:"Alt+A"},{title:i("hotkeys:toggleOptions.title"),desc:i("hotkeys:toggleOptions.desc"),hotkey:"O"},{title:i("hotkeys:pinOptions.title"),desc:i("hotkeys:pinOptions.desc"),hotkey:"Shift+O"},{title:i("hotkeys:toggleViewer.title"),desc:i("hotkeys:toggleViewer.desc"),hotkey:"Z"},{title:i("hotkeys:toggleGallery.title"),desc:i("hotkeys:toggleGallery.desc"),hotkey:"G"},{title:i("hotkeys:maximizeWorkSpace.title"),desc:i("hotkeys:maximizeWorkSpace.desc"),hotkey:"F"},{title:i("hotkeys:changeTabs.title"),desc:i("hotkeys:changeTabs.desc"),hotkey:"1-5"},{title:i("hotkeys:consoleToggle.title"),desc:i("hotkeys:consoleToggle.desc"),hotkey:"`"}],a=[{title:i("hotkeys:setPrompt.title"),desc:i("hotkeys:setPrompt.desc"),hotkey:"P"},{title:i("hotkeys:setSeed.title"),desc:i("hotkeys:setSeed.desc"),hotkey:"S"},{title:i("hotkeys:setParameters.title"),desc:i("hotkeys:setParameters.desc"),hotkey:"A"},{title:i("hotkeys:restoreFaces.title"),desc:i("hotkeys:restoreFaces.desc"),hotkey:"Shift+R"},{title:i("hotkeys:upscale.title"),desc:i("hotkeys:upscale.desc"),hotkey:"Shift+U"},{title:i("hotkeys:showInfo.title"),desc:i("hotkeys:showInfo.desc"),hotkey:"I"},{title:i("hotkeys:sendToImageToImage.title"),desc:i("hotkeys:sendToImageToImage.desc"),hotkey:"Shift+I"},{title:i("hotkeys:deleteImage.title"),desc:i("hotkeys:deleteImage.desc"),hotkey:"Del"},{title:i("hotkeys:closePanels.title"),desc:i("hotkeys:closePanels.desc"),hotkey:"Esc"}],s=[{title:i("hotkeys:previousImage.title"),desc:i("hotkeys:previousImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextImage.title"),desc:i("hotkeys:nextImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:toggleGalleryPin.title"),desc:i("hotkeys:toggleGalleryPin.desc"),hotkey:"Shift+G"},{title:i("hotkeys:increaseGalleryThumbSize.title"),desc:i("hotkeys:increaseGalleryThumbSize.desc"),hotkey:"Shift+Up"},{title:i("hotkeys:decreaseGalleryThumbSize.title"),desc:i("hotkeys:decreaseGalleryThumbSize.desc"),hotkey:"Shift+Down"}],l=[{title:i("hotkeys:selectBrush.title"),desc:i("hotkeys:selectBrush.desc"),hotkey:"B"},{title:i("hotkeys:selectEraser.title"),desc:i("hotkeys:selectEraser.desc"),hotkey:"E"},{title:i("hotkeys:decreaseBrushSize.title"),desc:i("hotkeys:decreaseBrushSize.desc"),hotkey:"["},{title:i("hotkeys:increaseBrushSize.title"),desc:i("hotkeys:increaseBrushSize.desc"),hotkey:"]"},{title:i("hotkeys:decreaseBrushOpacity.title"),desc:i("hotkeys:decreaseBrushOpacity.desc"),hotkey:"Shift + ["},{title:i("hotkeys:increaseBrushOpacity.title"),desc:i("hotkeys:increaseBrushOpacity.desc"),hotkey:"Shift + ]"},{title:i("hotkeys:moveTool.title"),desc:i("hotkeys:moveTool.desc"),hotkey:"V"},{title:i("hotkeys:fillBoundingBox.title"),desc:i("hotkeys:fillBoundingBox.desc"),hotkey:"Shift + F"},{title:i("hotkeys:eraseBoundingBox.title"),desc:i("hotkeys:eraseBoundingBox.desc"),hotkey:"Delete / Backspace"},{title:i("hotkeys:colorPicker.title"),desc:i("hotkeys:colorPicker.desc"),hotkey:"C"},{title:i("hotkeys:toggleSnap.title"),desc:i("hotkeys:toggleSnap.desc"),hotkey:"N"},{title:i("hotkeys:quickToggleMove.title"),desc:i("hotkeys:quickToggleMove.desc"),hotkey:"Hold Space"},{title:i("hotkeys:toggleLayer.title"),desc:i("hotkeys:toggleLayer.desc"),hotkey:"Q"},{title:i("hotkeys:clearMask.title"),desc:i("hotkeys:clearMask.desc"),hotkey:"Shift+C"},{title:i("hotkeys:hideMask.title"),desc:i("hotkeys:hideMask.desc"),hotkey:"H"},{title:i("hotkeys:showHideBoundingBox.title"),desc:i("hotkeys:showHideBoundingBox.desc"),hotkey:"Shift+H"},{title:i("hotkeys:mergeVisible.title"),desc:i("hotkeys:mergeVisible.desc"),hotkey:"Shift+M"},{title:i("hotkeys:saveToGallery.title"),desc:i("hotkeys:saveToGallery.desc"),hotkey:"Shift+S"},{title:i("hotkeys:copyToClipboard.title"),desc:i("hotkeys:copyToClipboard.desc"),hotkey:"Ctrl+C"},{title:i("hotkeys:downloadImage.title"),desc:i("hotkeys:downloadImage.desc"),hotkey:"Shift+D"},{title:i("hotkeys:undoStroke.title"),desc:i("hotkeys:undoStroke.desc"),hotkey:"Ctrl+Z"},{title:i("hotkeys:redoStroke.title"),desc:i("hotkeys:redoStroke.desc"),hotkey:"Ctrl+Shift+Z, Ctrl+Y"},{title:i("hotkeys:resetView.title"),desc:i("hotkeys:resetView.desc"),hotkey:"R"},{title:i("hotkeys:previousStagingImage.title"),desc:i("hotkeys:previousStagingImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextStagingImage.title"),desc:i("hotkeys:nextStagingImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:acceptStagingImage.title"),desc:i("hotkeys:acceptStagingImage.desc"),hotkey:"Enter"}],u=d=>{const h=[];return d.forEach((m,v)=>{h.push(y.jsx(EDe,{title:m.title,description:m.desc,hotkey:m.hotkey},v))}),y.jsx("div",{className:"hotkey-modal-category",children:h})};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:" modal hotkeys-modal",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx("h1",{children:"Keyboard Shorcuts"}),y.jsx("div",{className:"hotkeys-modal-items",children:y.jsxs(ok,{allowMultiple:!0,children:[y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:appHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(o)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:generalHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(a)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:galleryHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(s)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:unifiedCanvasHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(l)})]})]})})]})]})]})}var SN=Array.isArray,xN=Object.keys,TDe=Object.prototype.hasOwnProperty,LDe=typeof Element<"u";function i_(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=SN(e),r=SN(t),i,o,a;if(n&&r){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!i_(e[i],t[i]))return!1;return!0}if(n!=r)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var h=xN(e);if(o=h.length,o!==xN(t).length)return!1;for(i=o;i--!==0;)if(!TDe.call(t,h[i]))return!1;if(LDe&&e instanceof Element&&t instanceof Element)return e===t;for(i=o;i--!==0;)if(a=h[i],!(a==="_owner"&&e.$$typeof)&&!i_(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var md=function(t,n){try{return i_(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}},ADe=function(t){return ODe(t)&&!MDe(t)};function ODe(e){return!!e&&typeof e=="object"}function MDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||DDe(e)}var IDe=typeof Symbol=="function"&&Symbol.for,RDe=IDe?Symbol.for("react.element"):60103;function DDe(e){return e.$$typeof===RDe}function NDe(e){return Array.isArray(e)?[]:{}}function gS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?sy(NDe(e),e,t):e}function jDe(e,t,n){return e.concat(t).map(function(r){return gS(r,n)})}function BDe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(i){r[i]=gS(e[i],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=gS(t[i],n):r[i]=sy(e[i],t[i],n)}),r}function sy(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||jDe,n.isMergeableObject=n.isMergeableObject||ADe;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):BDe(e,t,n):gS(t,n)}sy.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return sy(r,i,n)},{})};var o_=sy,FDe=typeof global=="object"&&global&&global.Object===Object&&global;const iK=FDe;var $De=typeof self=="object"&&self&&self.Object===Object&&self,zDe=iK||$De||Function("return this")();const mu=zDe;var HDe=mu.Symbol;const ef=HDe;var oK=Object.prototype,VDe=oK.hasOwnProperty,WDe=oK.toString,gv=ef?ef.toStringTag:void 0;function UDe(e){var t=VDe.call(e,gv),n=e[gv];try{e[gv]=void 0;var r=!0}catch{}var i=WDe.call(e);return r&&(t?e[gv]=n:delete e[gv]),i}var GDe=Object.prototype,qDe=GDe.toString;function YDe(e){return qDe.call(e)}var KDe="[object Null]",XDe="[object Undefined]",wN=ef?ef.toStringTag:void 0;function xp(e){return e==null?e===void 0?XDe:KDe:wN&&wN in Object(e)?UDe(e):YDe(e)}function aK(e,t){return function(n){return e(t(n))}}var ZDe=aK(Object.getPrototypeOf,Object);const uT=ZDe;function wp(e){return e!=null&&typeof e=="object"}var QDe="[object Object]",JDe=Function.prototype,eNe=Object.prototype,sK=JDe.toString,tNe=eNe.hasOwnProperty,nNe=sK.call(Object);function CN(e){if(!wp(e)||xp(e)!=QDe)return!1;var t=uT(e);if(t===null)return!0;var n=tNe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&sK.call(n)==nNe}function rNe(){this.__data__=[],this.size=0}function lK(e,t){return e===t||e!==e&&t!==t}function dw(e,t){for(var n=e.length;n--;)if(lK(e[n][0],t))return n;return-1}var iNe=Array.prototype,oNe=iNe.splice;function aNe(e){var t=this.__data__,n=dw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():oNe.call(t,n,1),--this.size,!0}function sNe(e){var t=this.__data__,n=dw(t,e);return n<0?void 0:t[n][1]}function lNe(e){return dw(this.__data__,e)>-1}function uNe(e,t){var n=this.__data__,r=dw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=mje}var vje="[object Arguments]",yje="[object Array]",bje="[object Boolean]",Sje="[object Date]",xje="[object Error]",wje="[object Function]",Cje="[object Map]",_je="[object Number]",kje="[object Object]",Eje="[object RegExp]",Pje="[object Set]",Tje="[object String]",Lje="[object WeakMap]",Aje="[object ArrayBuffer]",Oje="[object DataView]",Mje="[object Float32Array]",Ije="[object Float64Array]",Rje="[object Int8Array]",Dje="[object Int16Array]",Nje="[object Int32Array]",jje="[object Uint8Array]",Bje="[object Uint8ClampedArray]",Fje="[object Uint16Array]",$je="[object Uint32Array]",sr={};sr[Mje]=sr[Ije]=sr[Rje]=sr[Dje]=sr[Nje]=sr[jje]=sr[Bje]=sr[Fje]=sr[$je]=!0;sr[vje]=sr[yje]=sr[Aje]=sr[bje]=sr[Oje]=sr[Sje]=sr[xje]=sr[wje]=sr[Cje]=sr[_je]=sr[kje]=sr[Eje]=sr[Pje]=sr[Tje]=sr[Lje]=!1;function zje(e){return wp(e)&&gK(e.length)&&!!sr[xp(e)]}function cT(e){return function(t){return e(t)}}var mK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f2=mK&&typeof module=="object"&&module&&!module.nodeType&&module,Hje=f2&&f2.exports===mK,GC=Hje&&iK.process,Vje=function(){try{var e=f2&&f2.require&&f2.require("util").types;return e||GC&&GC.binding&&GC.binding("util")}catch{}}();const u0=Vje;var LN=u0&&u0.isTypedArray,Wje=LN?cT(LN):zje;const Uje=Wje;var Gje=Object.prototype,qje=Gje.hasOwnProperty;function vK(e,t){var n=qy(e),r=!n&&sje(e),i=!n&&!r&&pK(e),o=!n&&!r&&!i&&Uje(e),a=n||r||i||o,s=a?nje(e.length,String):[],l=s.length;for(var u in e)(t||qje.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||gje(u,l)))&&s.push(u);return s}var Yje=Object.prototype;function dT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Yje;return e===n}var Kje=aK(Object.keys,Object);const Xje=Kje;var Zje=Object.prototype,Qje=Zje.hasOwnProperty;function Jje(e){if(!dT(e))return Xje(e);var t=[];for(var n in Object(e))Qje.call(e,n)&&n!="constructor"&&t.push(n);return t}function yK(e){return e!=null&&gK(e.length)&&!uK(e)}function fT(e){return yK(e)?vK(e):Jje(e)}function eBe(e,t){return e&&hw(t,fT(t),e)}function tBe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var nBe=Object.prototype,rBe=nBe.hasOwnProperty;function iBe(e){if(!Gy(e))return tBe(e);var t=dT(e),n=[];for(var r in e)r=="constructor"&&(t||!rBe.call(e,r))||n.push(r);return n}function hT(e){return yK(e)?vK(e,!0):iBe(e)}function oBe(e,t){return e&&hw(t,hT(t),e)}var bK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,AN=bK&&typeof module=="object"&&module&&!module.nodeType&&module,aBe=AN&&AN.exports===bK,ON=aBe?mu.Buffer:void 0,MN=ON?ON.allocUnsafe:void 0;function sBe(e,t){if(t)return e.slice();var n=e.length,r=MN?MN(n):new e.constructor(n);return e.copy(r),r}function SK(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[i]=e[i]);return n}function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var KN=function(t){return Array.isArray(t)&&t.length===0},Go=function(t){return typeof t=="function"},pw=function(t){return t!==null&&typeof t=="object"},o$e=function(t){return String(Math.floor(Number(t)))===t},qC=function(t){return Object.prototype.toString.call(t)==="[object String]"},OK=function(t){return w.Children.count(t)===0},YC=function(t){return pw(t)&&Go(t.then)};function Vi(e,t,n,r){r===void 0&&(r=0);for(var i=AK(t);e&&r=0?[]:{}}}return(o===0?e:i)[a[o]]===n?e:(n===void 0?delete i[a[o]]:i[a[o]]=n,o===0&&n===void 0&&delete r[a[o]],r)}function MK(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(e);i0?De.map(function(Ye){return j(Ye,Vi(le,Ye))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ue).then(function(Ye){return Ye.reduce(function(we,je,_t){return je==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||je&&(we=iu(we,De[_t],je)),we},{})})},[j]),V=w.useCallback(function(le){return Promise.all([z(le),m.validationSchema?D(le):{},m.validate?R(le):{}]).then(function(De){var Ue=De[0],Ye=De[1],we=De[2],je=o_.all([Ue,Ye,we],{arrayMerge:d$e});return je})},[m.validate,m.validationSchema,z,R,D]),K=Ka(function(le){return le===void 0&&(le=A.values),I({type:"SET_ISVALIDATING",payload:!0}),V(le).then(function(De){return E.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:De})),De})});w.useEffect(function(){a&&E.current===!0&&md(v.current,m.initialValues)&&K(v.current)},[a,K]);var te=w.useCallback(function(le){var De=le&&le.values?le.values:v.current,Ue=le&&le.errors?le.errors:b.current?b.current:m.initialErrors||{},Ye=le&&le.touched?le.touched:S.current?S.current:m.initialTouched||{},we=le&&le.status?le.status:k.current?k.current:m.initialStatus;v.current=De,b.current=Ue,S.current=Ye,k.current=we;var je=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!le&&!!le.isSubmitting,errors:Ue,touched:Ye,status:we,values:De,isValidating:!!le&&!!le.isValidating,submitCount:le&&le.submitCount&&typeof le.submitCount=="number"?le.submitCount:0}})};if(m.onReset){var _t=m.onReset(A.values,ct);YC(_t)?_t.then(je):je()}else je()},[m.initialErrors,m.initialStatus,m.initialTouched]);w.useEffect(function(){E.current===!0&&!md(v.current,m.initialValues)&&(u&&(v.current=m.initialValues,te()),a&&K(v.current))},[u,m.initialValues,te,a,K]),w.useEffect(function(){u&&E.current===!0&&!md(b.current,m.initialErrors)&&(b.current=m.initialErrors||uh,I({type:"SET_ERRORS",payload:m.initialErrors||uh}))},[u,m.initialErrors]),w.useEffect(function(){u&&E.current===!0&&!md(S.current,m.initialTouched)&&(S.current=m.initialTouched||Zb,I({type:"SET_TOUCHED",payload:m.initialTouched||Zb}))},[u,m.initialTouched]),w.useEffect(function(){u&&E.current===!0&&!md(k.current,m.initialStatus)&&(k.current=m.initialStatus,I({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]);var q=Ka(function(le){if(_.current[le]&&Go(_.current[le].validate)){var De=Vi(A.values,le),Ue=_.current[le].validate(De);return YC(Ue)?(I({type:"SET_ISVALIDATING",payload:!0}),Ue.then(function(Ye){return Ye}).then(function(Ye){I({type:"SET_FIELD_ERROR",payload:{field:le,value:Ye}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:le,value:Ue}}),Promise.resolve(Ue))}else if(m.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),D(A.values,le).then(function(Ye){return Ye}).then(function(Ye){I({type:"SET_FIELD_ERROR",payload:{field:le,value:Ye[le]}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),F=w.useCallback(function(le,De){var Ue=De.validate;_.current[le]={validate:Ue}},[]),U=w.useCallback(function(le){delete _.current[le]},[]),X=Ka(function(le,De){I({type:"SET_TOUCHED",payload:le});var Ue=De===void 0?i:De;return Ue?K(A.values):Promise.resolve()}),Z=w.useCallback(function(le){I({type:"SET_ERRORS",payload:le})},[]),W=Ka(function(le,De){var Ue=Go(le)?le(A.values):le;I({type:"SET_VALUES",payload:Ue});var Ye=De===void 0?n:De;return Ye?K(Ue):Promise.resolve()}),Q=w.useCallback(function(le,De){I({type:"SET_FIELD_ERROR",payload:{field:le,value:De}})},[]),ie=Ka(function(le,De,Ue){I({type:"SET_FIELD_VALUE",payload:{field:le,value:De}});var Ye=Ue===void 0?n:Ue;return Ye?K(iu(A.values,le,De)):Promise.resolve()}),fe=w.useCallback(function(le,De){var Ue=De,Ye=le,we;if(!qC(le)){le.persist&&le.persist();var je=le.target?le.target:le.currentTarget,_t=je.type,Dt=je.name,Le=je.id,At=je.value,Fe=je.checked,vt=je.outerHTML,nn=je.options,Rn=je.multiple;Ue=De||Dt||Le,Ye=/number|range/.test(_t)?(we=parseFloat(At),isNaN(we)?"":we):/checkbox/.test(_t)?h$e(Vi(A.values,Ue),Fe,At):nn&&Rn?f$e(nn):At}Ue&&ie(Ue,Ye)},[ie,A.values]),Se=Ka(function(le){if(qC(le))return function(De){return fe(De,le)};fe(le)}),Te=Ka(function(le,De,Ue){De===void 0&&(De=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:le,value:De}});var Ye=Ue===void 0?i:Ue;return Ye?K(A.values):Promise.resolve()}),ye=w.useCallback(function(le,De){le.persist&&le.persist();var Ue=le.target,Ye=Ue.name,we=Ue.id,je=Ue.outerHTML,_t=De||Ye||we;Te(_t,!0)},[Te]),He=Ka(function(le){if(qC(le))return function(De){return ye(De,le)};ye(le)}),Ne=w.useCallback(function(le){Go(le)?I({type:"SET_FORMIK_STATE",payload:le}):I({type:"SET_FORMIK_STATE",payload:function(){return le}})},[]),tt=w.useCallback(function(le){I({type:"SET_STATUS",payload:le})},[]),_e=w.useCallback(function(le){I({type:"SET_ISSUBMITTING",payload:le})},[]),lt=Ka(function(){return I({type:"SUBMIT_ATTEMPT"}),K().then(function(le){var De=le instanceof Error,Ue=!De&&Object.keys(le).length===0;if(Ue){var Ye;try{if(Ye=mt(),Ye===void 0)return}catch(we){throw we}return Promise.resolve(Ye).then(function(we){return E.current&&I({type:"SUBMIT_SUCCESS"}),we}).catch(function(we){if(E.current)throw I({type:"SUBMIT_FAILURE"}),we})}else if(E.current&&(I({type:"SUBMIT_FAILURE"}),De))throw le})}),wt=Ka(function(le){le&&le.preventDefault&&Go(le.preventDefault)&&le.preventDefault(),le&&le.stopPropagation&&Go(le.stopPropagation)&&le.stopPropagation(),lt().catch(function(De){console.warn("Warning: An unhandled error was caught from submitForm()",De)})}),ct={resetForm:te,validateForm:K,validateField:q,setErrors:Z,setFieldError:Q,setFieldTouched:Te,setFieldValue:ie,setStatus:tt,setSubmitting:_e,setTouched:X,setValues:W,setFormikState:Ne,submitForm:lt},mt=Ka(function(){return d(A.values,ct)}),St=Ka(function(le){le&&le.preventDefault&&Go(le.preventDefault)&&le.preventDefault(),le&&le.stopPropagation&&Go(le.stopPropagation)&&le.stopPropagation(),te()}),Ae=w.useCallback(function(le){return{value:Vi(A.values,le),error:Vi(A.errors,le),touched:!!Vi(A.touched,le),initialValue:Vi(v.current,le),initialTouched:!!Vi(S.current,le),initialError:Vi(b.current,le)}},[A.errors,A.touched,A.values]),ut=w.useCallback(function(le){return{setValue:function(Ue,Ye){return ie(le,Ue,Ye)},setTouched:function(Ue,Ye){return Te(le,Ue,Ye)},setError:function(Ue){return Q(le,Ue)}}},[ie,Te,Q]),Mt=w.useCallback(function(le){var De=pw(le),Ue=De?le.name:le,Ye=Vi(A.values,Ue),we={name:Ue,value:Ye,onChange:Se,onBlur:He};if(De){var je=le.type,_t=le.value,Dt=le.as,Le=le.multiple;je==="checkbox"?_t===void 0?we.checked=!!Ye:(we.checked=!!(Array.isArray(Ye)&&~Ye.indexOf(_t)),we.value=_t):je==="radio"?(we.checked=Ye===_t,we.value=_t):Dt==="select"&&Le&&(we.value=we.value||[],we.multiple=!0)}return we},[He,Se,A.values]),at=w.useMemo(function(){return!md(v.current,A.values)},[v.current,A.values]),Ct=w.useMemo(function(){return typeof s<"u"?at?A.errors&&Object.keys(A.errors).length===0:s!==!1&&Go(s)?s(m):s:A.errors&&Object.keys(A.errors).length===0},[s,at,A.errors,m]),Zt=qn({},A,{initialValues:v.current,initialErrors:b.current,initialTouched:S.current,initialStatus:k.current,handleBlur:He,handleChange:Se,handleReset:St,handleSubmit:wt,resetForm:te,setErrors:Z,setFormikState:Ne,setFieldTouched:Te,setFieldValue:ie,setFieldError:Q,setStatus:tt,setSubmitting:_e,setTouched:X,setValues:W,submitForm:lt,validateForm:K,validateField:q,isValid:Ct,dirty:at,unregisterField:U,registerField:F,getFieldProps:Mt,getFieldMeta:Ae,getFieldHelpers:ut,validateOnBlur:i,validateOnChange:n,validateOnMount:a});return Zt}function Yy(e){var t=l$e(e),n=e.component,r=e.children,i=e.render,o=e.innerRef;return w.useImperativeHandle(o,function(){return t}),w.createElement(a$e,{value:t},n?w.createElement(n,t):i?i(t):r?Go(r)?r(t):OK(r)?null:w.Children.only(r):null)}function u$e(e){var t={};if(e.inner){if(e.inner.length===0)return iu(t,e.path,e.message);for(var i=e.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;Vi(t,a.path)||(t=iu(t,a.path,a.message))}}return t}function c$e(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=c_(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}function c_(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(i){return Array.isArray(i)===!0||CN(i)?c_(i):i!==""?i:void 0}):CN(e[r])?t[r]=c_(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function d$e(e,t,n){var r=e.slice();return t.forEach(function(o,a){if(typeof r[a]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(o);r[a]=l?o_(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[a]=o_(e[a],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function f$e(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function h$e(e,t,n){if(typeof e=="boolean")return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var p$e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?w.useLayoutEffect:w.useEffect;function Ka(e){var t=w.useRef(e);return p$e(function(){t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;ir?i:r},0);return Array.from(qn({},t,{length:n+1}))}else return[]},b$e=function(e){i$e(t,e);function t(r){var i;return i=e.call(this,r)||this,i.updateArrayField=function(o,a,s){var l=i.props,u=l.name,d=l.formik.setFormikState;d(function(h){var m=typeof s=="function"?s:o,v=typeof a=="function"?a:o,b=iu(h.values,u,o(Vi(h.values,u))),S=s?m(Vi(h.errors,u)):void 0,k=a?v(Vi(h.touched,u)):void 0;return KN(S)&&(S=void 0),KN(k)&&(k=void 0),qn({},h,{values:b,errors:s?iu(h.errors,u,S):h.errors,touched:a?iu(h.touched,u,k):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(c0(a),[r$e(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(s){return v$e(s,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(s){return m$e(s,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(s){return KC(s,o,a)},function(s){return KC(s,o,null)},function(s){return KC(s,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(s){return y$e(s,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(s){var l=s?[o].concat(s):[o];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(YN(i)),i.pop=i.pop.bind(YN(i)),i}var n=t.prototype;return n.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!md(Vi(i.formik.values,i.name),Vi(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(i){var o;return this.updateArrayField(function(a){var s=a?c0(a):[];return o||(o=s[i]),Go(s.splice)&&s.splice(i,1),s},!0,!0),o},n.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},n.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},o=this.props,a=o.component,s=o.render,l=o.children,u=o.name,d=o.formik,h=Lh(d,["validate","validationSchema"]),m=qn({},i,{form:h,name:u});return a?w.createElement(a,m):s?s(m):l?typeof l=="function"?l(m):OK(l)?null:w.Children.only(l):null},t}(w.Component);b$e.defaultProps={validateOnChange:!0};const S$e=ot([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),XN=64,ZN=2048;function x$e(){const{openModel:e,model_list:t}=he(S$e),n=he(l=>l.system.isProcessing),r=Ie(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,default:!1,format:"ckpt"});w.useEffect(()=>{var l,u,d,h,m,v,b;if(e){const S=Ee.pickBy(t,(k,E)=>Ee.isEqual(E,e));a({name:e,description:(l=S[e])==null?void 0:l.description,config:(u=S[e])==null?void 0:u.config,weights:(d=S[e])==null?void 0:d.weights,vae:(h=S[e])==null?void 0:h.vae,width:(m=S[e])==null?void 0:m.width,height:(v=S[e])==null?void 0:v.height,default:(b=S[e])==null?void 0:b.default,format:"ckpt"})}},[t,e]);const s=l=>{r(Fy({...l,width:Number(l.width),height:Number(l.height)}))};return e?y.jsxs(qe,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(qe,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(qe,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.config&&d.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"lg"}),u.config&&d.config?y.jsx(ur,{children:u.config}):y.jsx(lr,{margin:0,children:i("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.weights&&d.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"lg"}),u.weights&&d.weights?y.jsx(ur,{children:u.weights}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.vae&&d.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"lg"}),u.vae&&d.vae?y.jsx(ur,{children:u.vae}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!u.width&&d.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:i("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:h,form:m})=>y.jsx(To,{id:"width",name:"width",min:XN,max:ZN,step:64,value:m.values.width,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.width&&d.width?y.jsx(ur,{children:u.width}):y.jsx(lr,{margin:0,children:i("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.height&&d.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:i("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:h,form:m})=>y.jsx(To,{id:"height",name:"height",min:XN,max:ZN,step:64,value:m.values.height,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.height&&d.height?y.jsx(ur,{children:u.height}):y.jsx(lr,{margin:0,children:i("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})})})]}):y.jsx(qe,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const w$e=ot([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function C$e(){const{openModel:e,model_list:t}=he(w$e),n=he(l=>l.system.isProcessing),r=Ie(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",repo_id:"",path:"",vae:{repo_id:"",path:""},default:!1,format:"diffusers"});w.useEffect(()=>{var l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D;if(e){const j=Ee.pickBy(t,(z,V)=>Ee.isEqual(V,e));a({name:e,description:(l=j[e])==null?void 0:l.description,path:(u=j[e])!=null&&u.path&&((d=j[e])==null?void 0:d.path)!=="None"?(h=j[e])==null?void 0:h.path:"",repo_id:(m=j[e])!=null&&m.repo_id&&((v=j[e])==null?void 0:v.repo_id)!=="None"?(b=j[e])==null?void 0:b.repo_id:"",vae:{repo_id:(k=(S=j[e])==null?void 0:S.vae)!=null&&k.repo_id?(_=(E=j[e])==null?void 0:E.vae)==null?void 0:_.repo_id:"",path:(A=(T=j[e])==null?void 0:T.vae)!=null&&A.path?(R=(I=j[e])==null?void 0:I.vae)==null?void 0:R.path:""},default:(D=j[e])==null?void 0:D.default,format:"diffusers"})}},[t,e]);const s=l=>{const u=l;l.path===""&&delete u.path,l.repo_id===""&&delete u.repo_id,l.vae.path===""&&delete u.vae.path,l.vae.repo_id===""&&delete u.vae.repo_id,r(Fy(l))};return e?y.jsxs(qe,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(qe,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(qe,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>{var h,m,v,b,S,k,E,_,T,A;return y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.path&&d.path,isRequired:!0,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"lg"}),u.path&&d.path?y.jsx(ur,{children:u.path}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.repo_id&&d.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:i("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"lg"}),u.repo_id&&d.repo_id?y.jsx(ur,{children:u.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:repoIDValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((h=u.vae)!=null&&h.path)&&((m=d.vae)==null?void 0:m.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"lg"}),(v=u.vae)!=null&&v.path&&((b=d.vae)!=null&&b.path)?y.jsx(ur,{children:(S=u.vae)==null?void 0:S.path}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((k=u.vae)!=null&&k.repo_id)&&((E=d.vae)==null?void 0:E.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:i("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"lg"}),(_=u.vae)!=null&&_.repo_id&&((T=d.vae)!=null&&T.repo_id)?y.jsx(ur,{children:(A=u.vae)==null?void 0:A.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeRepoIDValidationMsg")})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})}})})]}):y.jsx(qe,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const RK=ot([ir],e=>{const{model_list:t}=e,n=[];return Ee.forEach(t,r=>{n.push(r.weights)}),n});function _$e(){const{t:e}=Ve();return y.jsx(_o,{position:"absolute",zIndex:2,right:4,top:4,fontSize:"0.7rem",fontWeight:"bold",backgroundColor:"var(--accent-color)",padding:"0.2rem 0.5rem",borderRadius:"0.2rem",alignItems:"center",children:e("modelmanager:modelExists")})}function QN({model:e,modelsToAdd:t,setModelsToAdd:n}){const r=he(RK),i=o=>{t.includes(o.target.value)?n(Ee.remove(t,a=>a!==o.target.value)):n([...t,o.target.value])};return y.jsxs(_o,{position:"relative",children:[r.includes(e.location)?y.jsx(_$e,{}):null,y.jsx(er,{value:e.name,label:y.jsx(y.Fragment,{children:y.jsxs(yn,{alignItems:"start",children:[y.jsx("p",{style:{fontWeight:"bold"},children:e.name}),y.jsx("p",{style:{fontStyle:"italic"},children:e.location})]})}),isChecked:t.includes(e.name),isDisabled:r.includes(e.location),onChange:i,padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",_checked:{backgroundColor:"var(--accent-color)",color:"var(--text-color)"},_disabled:{backgroundColor:"var(--background-color-secondary)"}})]})}function k$e(){const e=Ie(),{t}=Ve(),n=he(S=>S.system.searchFolder),r=he(S=>S.system.foundModels),i=he(RK),o=he(S=>S.ui.shouldShowExistingModelsInSearch),a=he(S=>S.system.isProcessing),[s,l]=N.useState([]),u=()=>{e(FU(null)),e($U(null)),l([])},d=S=>{e(cD(S.checkpointFolder))},h=()=>{l([]),r&&r.forEach(S=>{i.includes(S.location)||l(k=>[...k,S.name])})},m=()=>{l([])},v=()=>{const S=r==null?void 0:r.filter(k=>s.includes(k.name));S==null||S.forEach(k=>{const E={name:k.name,description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:k.location,vae:"",width:512,height:512,default:!1,format:"ckpt"};e(Fy(E))}),l([])},b=()=>{const S=[],k=[];return r&&r.forEach((E,_)=>{i.includes(E.location)?k.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_)):S.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_))}),y.jsxs(y.Fragment,{children:[S,o&&k]})};return y.jsxs(y.Fragment,{children:[n?y.jsxs(qe,{flexDirection:"column",padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",rowGap:"0.5rem",position:"relative",children:[y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",backgroundColor:"var(--background-color-secondary)",padding:"0.2rem 1rem",width:"max-content",borderRadius:"0.2rem"},children:t("modelmanager:checkpointFolder")}),y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",maxWidth:"80%"},children:n}),y.jsx(Ze,{"aria-label":t("modelmanager:scanAgain"),tooltip:t("modelmanager:scanAgain"),icon:y.jsx(Qx,{}),position:"absolute",right:16,fontSize:18,disabled:a,onClick:()=>e(cD(n))}),y.jsx(Ze,{"aria-label":t("modelmanager:clearCheckpointFolder"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),position:"absolute",right:5,onClick:u})]}):y.jsx(Yy,{initialValues:{checkpointFolder:""},onSubmit:S=>{d(S)},children:({handleSubmit:S})=>y.jsx("form",{onSubmit:S,children:y.jsxs(wy,{columnGap:"0.5rem",children:[y.jsx(dn,{isRequired:!0,width:"max-content",children:y.jsx(dr,{as:kr,id:"checkpointFolder",name:"checkpointFolder",type:"text",width:"lg",size:"md",label:t("modelmanager:checkpointFolder")})}),y.jsx(Ze,{icon:y.jsx($Ee,{}),"aria-label":t("modelmanager:findModels"),tooltip:t("modelmanager:findModels"),type:"submit",disabled:a})]})})}),r&&y.jsxs(qe,{flexDirection:"column",rowGap:"1rem",children:[y.jsxs(qe,{justifyContent:"space-between",alignItems:"center",children:[y.jsxs("p",{children:[t("modelmanager:modelsFound"),": ",r.length]}),y.jsxs("p",{children:[t("modelmanager:selected"),": ",s.length]})]}),y.jsxs(qe,{columnGap:"0.5rem",justifyContent:"space-between",children:[y.jsxs(qe,{columnGap:"0.5rem",children:[y.jsx(cr,{isDisabled:s.length===r.length,onClick:h,children:t("modelmanager:selectAll")}),y.jsx(cr,{isDisabled:s.length===0,onClick:m,children:t("modelmanager:deselectAll")}),y.jsx(er,{label:t("modelmanager:showExisting"),isChecked:o,onChange:()=>e(dCe(!o))})]}),y.jsx(cr,{isDisabled:s.length===0,onClick:v,backgroundColor:s.length>0?"var(--accent-color) !important":"",children:t("modelmanager:addSelected")})]}),y.jsxs(qe,{rowGap:"1rem",flexDirection:"column",maxHeight:"18rem",overflowY:"scroll",paddingRight:"1rem",paddingLeft:"0.2rem",borderRadius:"0.2rem",children:[r.length>0?s.length===0&&y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",margin:"0 0.5rem 0 1rem",textAlign:"center",backgroundColor:"var(--notice-color)",boxShadow:"0 0 200px 6px var(--notice-color)",marginTop:"1rem",width:"max-content",children:t("modelmanager:selectAndAdd")}):y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",textAlign:"center",backgroundColor:"var(--status-bad-color)",children:t("modelmanager:noModelsFound")}),b()]})]})]})}const JN=64,ej=2048;function E$e(){const e=Ie(),{t}=Ve(),n=he(u=>u.system.isProcessing);function r(u){return/\s/.test(u)}function i(u){let d;return r(u)&&(d=t("modelmanager:cannotUseSpaces")),d}const o={name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,format:"ckpt",default:!1},a=u=>{e(Fy(u)),e(zh(null))},[s,l]=N.useState(!1);return y.jsxs(y.Fragment,{children:[y.jsx(Ze,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(_q,{})}),y.jsx(k$e,{}),y.jsx(er,{label:t("modelmanager:addManually"),isChecked:s,onChange:()=>l(!s)}),s&&y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:u,errors:d,touched:h})=>y.jsx("form",{onSubmit:u,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(fn,{fontSize:20,fontWeight:"bold",alignSelf:"start",children:t("modelmanager:manual")}),y.jsxs(dn,{isInvalid:!!d.name&&h.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl"}),d.name&&h.name?y.jsx(ur,{children:d.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.description&&h.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl"}),d.description&&h.description?y.jsx(ur,{children:d.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.config&&h.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"2xl"}),d.config&&h.config?y.jsx(ur,{children:d.config}):y.jsx(lr,{margin:0,children:t("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.weights&&h.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"2xl"}),d.weights&&h.weights?y.jsx(ur,{children:d.weights}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.vae&&h.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"2xl"}),d.vae&&h.vae?y.jsx(ur,{children:d.vae}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!d.width&&h.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:t("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:m,form:v})=>y.jsx(To,{id:"width",name:"width",min:JN,max:ej,step:64,width:"90%",value:v.values.width,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.width&&h.width?y.jsx(ur,{children:d.width}):y.jsx(lr,{margin:0,children:t("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.height&&h.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:t("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:m,form:v})=>y.jsx(To,{id:"height",name:"height",min:JN,max:ej,width:"90%",step:64,value:v.values.height,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.height&&h.height?y.jsx(ur,{children:d.height}):y.jsx(lr,{margin:0,children:t("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})})]})}function Qb({children:e}){return y.jsx(qe,{flexDirection:"column",backgroundColor:"var(--background-color)",padding:"1rem 1rem",borderRadius:"0.5rem",rowGap:"1rem",width:"100%",children:e})}function P$e(){const e=Ie(),{t}=Ve(),n=he(s=>s.system.isProcessing);function r(s){return/\s/.test(s)}function i(s){let l;return r(s)&&(l=t("modelmanager:cannotUseSpaces")),l}const o={name:"",description:"",repo_id:"",path:"",format:"diffusers",default:!1,vae:{repo_id:"",path:""}},a=s=>{const l=s;s.path===""&&delete l.path,s.repo_id===""&&delete l.repo_id,s.vae.path===""&&delete l.vae.path,s.vae.repo_id===""&&delete l.vae.repo_id,e(Fy(l)),e(zh(null))};return y.jsxs(qe,{children:[y.jsx(Ze,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(_q,{})}),y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:s,errors:l,touched:u})=>{var d,h,m,v,b,S,k,E,_,T;return y.jsx("form",{onSubmit:s,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.name&&u.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl",isRequired:!0}),l.name&&u.name?y.jsx(ur,{children:l.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]})}),y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.description&&u.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl",isRequired:!0}),l.description&&u.description?y.jsx(ur,{children:l.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]})}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",fontSize:"sm",children:t("modelmanager:formMessageDiffusersModelLocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersModelLocationDesc")}),y.jsxs(dn,{isInvalid:!!l.path&&u.path,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"2xl"}),l.path&&u.path?y.jsx(ur,{children:l.path}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!l.repo_id&&u.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:t("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"2xl"}),l.repo_id&&u.repo_id?y.jsx(ur,{children:l.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:repoIDValidationMsg")})]})]})]}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",children:t("modelmanager:formMessageDiffusersVAELocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersVAELocationDesc")}),y.jsxs(dn,{isInvalid:!!((d=l.vae)!=null&&d.path)&&((h=u.vae)==null?void 0:h.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"2xl"}),(m=l.vae)!=null&&m.path&&((v=u.vae)!=null&&v.path)?y.jsx(ur,{children:(b=l.vae)==null?void 0:b.path}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((S=l.vae)!=null&&S.repo_id)&&((k=u.vae)==null?void 0:k.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:t("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"2xl"}),(E=l.vae)!=null&&E.repo_id&&((_=u.vae)!=null&&_.repo_id)?y.jsx(ur,{children:(T=l.vae)==null?void 0:T.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeRepoIDValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})}})]})}function tj({text:e,onClick:t}){return y.jsx(qe,{position:"relative",width:"50%",height:"200px",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",justifyContent:"center",alignItems:"center",_hover:{cursor:"pointer",backgroundColor:"var(--accent-color)"},onClick:t,children:y.jsx(fn,{fontWeight:"bold",children:e})})}function T$e(){const{isOpen:e,onOpen:t,onClose:n}=Wh(),r=he(s=>s.ui.addNewModelUIOption),i=Ie(),{t:o}=Ve(),a=()=>{n(),i(zh(null))};return y.jsxs(y.Fragment,{children:[y.jsx(cr,{"aria-label":o("modelmanager:addNewModel"),tooltip:o("modelmanager:addNewModel"),onClick:t,className:"modal-close-btn",size:"sm",children:y.jsxs(qe,{columnGap:"0.5rem",alignItems:"center",children:[y.jsx(zy,{}),o("modelmanager:addNew")]})}),y.jsxs(Yd,{isOpen:e,onClose:a,size:"3xl",closeOnOverlayClick:!1,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal add-model-modal",fontFamily:"Inter",children:[y.jsx(w0,{children:o("modelmanager:addNewModel")}),y.jsx(Ly,{marginTop:"0.3rem"}),y.jsxs(n0,{className:"add-model-modal-body",children:[r==null&&y.jsxs(qe,{columnGap:"1rem",children:[y.jsx(tj,{text:o("modelmanager:addCheckpointModel"),onClick:()=>i(zh("ckpt"))}),y.jsx(tj,{text:o("modelmanager:addDiffuserModel"),onClick:()=>i(zh("diffusers"))})]}),r=="ckpt"&&y.jsx(E$e,{}),r=="diffusers"&&y.jsx(P$e,{})]})]})]})]})}function Jb(e){const{isProcessing:t,isConnected:n}=he(v=>v.system),r=he(v=>v.system.openModel),{t:i}=Ve(),o=Ie(),{name:a,status:s,description:l}=e,u=()=>{o(HG(a))},d=()=>{o(LR(a))},h=()=>{o(B8e(a)),o(LR(null))},m=()=>{switch(s){case"active":return"var(--status-good-color)";case"cached":return"var(--status-working-color)";case"not loaded":return"var(--text-color-secondary)"}};return y.jsxs(qe,{alignItems:"center",padding:"0.5rem 0.5rem",borderRadius:"0.2rem",backgroundColor:a===r?"var(--accent-color)":"",_hover:{backgroundColor:a===r?"var(--accent-color)":"var(--background-color)"},children:[y.jsx(_o,{onClick:d,cursor:"pointer",children:y.jsx(lo,{label:l,hasArrow:!0,placement:"bottom",children:y.jsx(fn,{fontWeight:"bold",children:a})})}),y.jsx(f$,{onClick:d,cursor:"pointer"}),y.jsxs(qe,{gap:2,alignItems:"center",children:[y.jsx(fn,{color:m(),children:s}),y.jsx(as,{size:"sm",onClick:u,isDisabled:s==="active"||t||!n,className:"modal-close-btn",children:i("modelmanager:load")}),y.jsx(Ze,{icon:y.jsx(CEe,{}),size:"sm",onClick:d,"aria-label":"Modify Config",isDisabled:s==="active"||t||!n,className:" modal-close-btn"}),y.jsx(oT,{title:i("modelmanager:deleteModel"),acceptCallback:h,acceptButtonText:i("modelmanager:delete"),triggerComponent:y.jsx(Ze,{icon:y.jsx(wEe,{}),size:"sm","aria-label":i("modelmanager:deleteConfig"),isDisabled:s==="active"||t||!n,className:" modal-close-btn",style:{backgroundColor:"var(--btn-delete-image)"}}),children:y.jsxs(qe,{rowGap:"1rem",flexDirection:"column",children:[y.jsx("p",{style:{fontWeight:"bold"},children:i("modelmanager:deleteMsg1")}),y.jsx("p",{style:{color:"var(--text-color-secondary"},children:i("modelmanager:deleteMsg2")})]})})]})]})}const L$e=ot(ir,e=>Ee.map(e.model_list,(n,r)=>({name:r,...n})),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function XC({label:e,isActive:t,onClick:n}){return y.jsx(cr,{onClick:n,isActive:t,_active:{backgroundColor:"var(--accent-color)",_hover:{backgroundColor:"var(--accent-color)"}},size:"sm",children:e})}const A$e=()=>{const e=he(L$e),[t,n]=w.useState(""),[r,i]=w.useState("all"),[o,a]=w.useTransition(),{t:s}=Ve(),l=d=>{a(()=>{n(d.target.value)})},u=w.useMemo(()=>{const d=[],h=[],m=[],v=[];return e.forEach((b,S)=>{b.name.toLowerCase().includes(t.toLowerCase())&&(m.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)),b.format===r&&v.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))),b.format!=="diffusers"?d.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)):h.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))}),t!==""?r==="all"?y.jsx(_o,{marginTop:"1rem",children:m}):y.jsx(_o,{marginTop:"1rem",children:v}):y.jsxs(qe,{flexDirection:"column",rowGap:"1.5rem",children:[r==="all"&&y.jsxs(y.Fragment,{children:[y.jsxs(_o,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",margin:"1rem 0",width:"max-content",fontSize:"14",children:s("modelmanager:checkpointModels")}),d]}),y.jsxs(_o,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",marginBottom:"0.5rem",width:"max-content",fontSize:"14",children:s("modelmanager:diffusersModels")}),h]})]}),r==="ckpt"&&y.jsx(qe,{flexDirection:"column",marginTop:"1rem",children:d}),r==="diffusers"&&y.jsx(qe,{flexDirection:"column",marginTop:"1rem",children:h})]})},[e,t,s,r]);return y.jsxs(qe,{flexDirection:"column",rowGap:"2rem",width:"50%",minWidth:"50%",children:[y.jsxs(qe,{justifyContent:"space-between",children:[y.jsx(fn,{fontSize:"1.4rem",fontWeight:"bold",children:s("modelmanager:availableModels")}),y.jsx(T$e,{})]}),y.jsx(kr,{onChange:l,label:s("modelmanager:search")}),y.jsxs(qe,{flexDirection:"column",gap:1,maxHeight:window.innerHeight-360,overflow:"scroll",paddingRight:"1rem",children:[y.jsxs(qe,{columnGap:"0.5rem",children:[y.jsx(XC,{label:s("modelmanager:allModels"),onClick:()=>i("all"),isActive:r==="all"}),y.jsx(XC,{label:s("modelmanager:checkpointModels"),onClick:()=>i("ckpt"),isActive:r==="ckpt"}),y.jsx(XC,{label:s("modelmanager:diffusersModels"),onClick:()=>i("diffusers"),isActive:r==="diffusers"})]}),u]})]})};function O$e({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),i=he(s=>s.system.model_list),o=he(s=>s.system.openModel),{t:a}=Ve();return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,size:"6xl",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal",fontFamily:"Inter",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx(w0,{fontWeight:"bold",children:a("modelmanager:modelManager")}),y.jsxs(qe,{padding:"0 1.5rem 1.5rem 1.5rem",width:"100%",columnGap:"2rem",children:[y.jsx(A$e,{}),o&&i[o].format==="diffusers"?y.jsx(C$e,{}):y.jsx(x$e,{})]})]})]})]})}const M$e=ot([ir],e=>{const{isProcessing:t,model_list:n}=e;return{models:Ee.map(n,(i,o)=>o),isProcessing:t}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),I$e=()=>{const e=Ie(),{models:t,isProcessing:n}=he(M$e),r=he(GG),i=o=>{e(HG(o.target.value))};return y.jsx(qe,{style:{paddingLeft:"0.3rem"},children:y.jsx(tl,{style:{fontSize:"0.8rem"},tooltip:r.description,isDisabled:n,value:r.name,validValues:t,onChange:i})})},R$e=ot([ir,mp],(e,t)=>{const{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,model_list:o,saveIntermediatesInterval:a,enableImageDebugging:s}=e,{shouldUseCanvasBetaLayout:l}=t;return{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,models:Ee.map(o,(u,d)=>d),saveIntermediatesInterval:a,enableImageDebugging:s,shouldUseCanvasBetaLayout:l}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),D$e=({children:e})=>{const t=Ie(),{t:n}=Ve(),r=he(_=>_.generation.steps),{isOpen:i,onOpen:o,onClose:a}=Wh(),{isOpen:s,onOpen:l,onClose:u}=Wh(),{shouldDisplayInProgressType:d,shouldConfirmOnDelete:h,shouldDisplayGuides:m,saveIntermediatesInterval:v,enableImageDebugging:b,shouldUseCanvasBetaLayout:S}=he(R$e),k=()=>{UG.purge().then(()=>{a(),l()})},E=_=>{_>r&&(_=r),_<1&&(_=1),t(Z6e(_))};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:o}),y.jsxs(Yd,{isOpen:i,onClose:a,size:"lg",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal settings-modal",children:[y.jsx(w0,{className:"settings-modal-header",children:n("common:settingsLabel")}),y.jsx(Ly,{className:"modal-close-btn"}),y.jsxs(n0,{className:"settings-modal-content",children:[y.jsxs("div",{className:"settings-modal-items",children:[y.jsxs("div",{className:"settings-modal-item",style:{gridAutoFlow:"row",rowGap:"0.5rem"},children:[y.jsx(tl,{label:n("settings:displayInProgress"),validValues:a7e,value:d,onChange:_=>t(W6e(_.target.value))}),d==="full-res"&&y.jsx(To,{label:n("settings:saveSteps"),min:1,max:r,step:1,onChange:E,value:v,width:"auto",textAlign:"center"})]}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:confirmOnDelete"),isChecked:h,onChange:_=>t(jU(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:displayHelpIcons"),isChecked:m,onChange:_=>t(Y6e(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:useCanvasBeta"),isChecked:S,onChange:_=>t(cCe(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-items",children:[y.jsx("h2",{style:{fontWeight:"bold"},children:"Developer"}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:enableImageDebugging"),isChecked:b,onChange:_=>t(Q6e(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-reset",children:[y.jsx(Dh,{size:"md",children:n("settings:resetWebUI")}),y.jsx(as,{colorScheme:"red",onClick:k,children:n("settings:resetWebUI")}),y.jsx(fn,{children:n("settings:resetWebUIDesc1")}),y.jsx(fn,{children:n("settings:resetWebUIDesc2")})]})]}),y.jsx(bx,{children:y.jsx(as,{onClick:a,className:"modal-close-btn",children:n("common:close")})})]})]}),y.jsxs(Yd,{closeOnOverlayClick:!1,isOpen:s,onClose:u,isCentered:!0,children:[y.jsx(Kd,{bg:"blackAlpha.300",backdropFilter:"blur(40px)"}),y.jsx(Zh,{children:y.jsx(n0,{pb:6,pt:6,children:y.jsx(qe,{justifyContent:"center",children:y.jsx(fn,{fontSize:"lg",children:y.jsx(fn,{children:n("settings:resetComplete")})})})})})]})]})},N$e=ot(ir,e=>({isConnected:e.isConnected,isProcessing:e.isProcessing,currentIteration:e.currentIteration,totalIterations:e.totalIterations,currentStatus:e.currentStatus,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),j$e=()=>{const{isConnected:e,isProcessing:t,currentIteration:n,totalIterations:r,currentStatus:i,hasError:o,wasErrorSeen:a}=he(N$e),s=Ie(),{t:l}=Ve();let u;e&&!o?u="status-good":u="status-bad";let d=i;[l("common:statusGenerating"),l("common:statusPreparing"),l("common:statusSavingImage"),l("common:statusRestoringFaces"),l("common:statusUpscaling")].includes(d)&&(u="status-working"),d&&t&&r>1&&(d=`${l(d)} (${n}/${r})`);const m=o&&!a?"Click to clear, check logs for details":void 0,v=o&&!a?"pointer":"initial",b=()=>{(o||!a)&&s(BU())};return y.jsx(lo,{label:m,children:y.jsx(fn,{cursor:v,onClick:b,className:`status ${u}`,children:l(d)})})};function B$e(){const{t:e}=Ve(),{setColorMode:t,colorMode:n}=dy(),r=Ie(),i=he(l=>l.ui.currentTheme),o={dark:e("common:darkTheme"),light:e("common:lightTheme"),green:e("common:greenTheme")};w.useEffect(()=>{n!==i&&t(i)},[t,n,i]);const a=l=>{r(oCe(l))},s=()=>{const l=[];return Object.keys(o).forEach(u=>{l.push(y.jsx(cr,{style:{width:"6rem"},leftIcon:i===u?y.jsx(PP,{}):void 0,size:"sm",onClick:()=>a(u),children:o[u]},u))}),l};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{"aria-label":e("common:themeLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(lEe,{})}),children:y.jsx(yn,{align:"stretch",children:s()})})}function F$e(){const{t:e,i18n:t}=Ve(),n={en:e("common:langEnglish"),nl:e("common:langDutch"),fr:e("common:langFrench"),de:e("common:langGerman"),it:e("common:langItalian"),ja:e("common:langJapanese"),pl:e("common:langPolish"),pt_br:e("common:langBrPortuguese"),ru:e("common:langRussian"),zh_cn:e("common:langSimplifiedChinese"),es:e("common:langSpanish"),ua:e("common:langUkranian")},r=()=>{const i=[];return Object.keys(n).forEach(o=>{i.push(y.jsx(cr,{"data-selected":localStorage.getItem("i18nextLng")===o,onClick:()=>t.changeLanguage(o),className:"modal-close-btn lang-select-btn","aria-label":n[o],tooltip:n[o],size:"sm",minWidth:"200px",children:n[o]},o))}),i};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{"aria-label":e("common:languagePickerLabel"),tooltip:e("common:languagePickerLabel"),icon:y.jsx(oEe,{}),size:"sm",variant:"link","data-variant":"link",fontSize:26}),children:y.jsx(yn,{children:r()})})}const $$e=()=>{const{t:e}=Ve(),t=he(n=>n.system.app_version);return y.jsxs("div",{className:"site-header",children:[y.jsxs("div",{className:"site-header-left-side",children:[y.jsx("img",{src:TY,alt:"invoke-ai-logo"}),y.jsxs(qe,{alignItems:"center",columnGap:"0.6rem",children:[y.jsxs(fn,{fontSize:"1.4rem",children:["invoke ",y.jsx("strong",{children:"ai"})]}),y.jsx(fn,{fontWeight:"bold",color:"var(--text-color-secondary)",marginTop:"0.2rem",children:t})]})]}),y.jsxs("div",{className:"site-header-right-side",children:[y.jsx(j$e,{}),y.jsx(I$e,{}),y.jsx(O$e,{children:y.jsx(Ze,{"aria-label":e("modelmanager:modelManager"),tooltip:e("modelmanager:modelManager"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(Zke,{})})}),y.jsx(PDe,{children:y.jsx(Ze,{"aria-label":e("common:hotkeysLabel"),tooltip:e("common:hotkeysLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(iEe,{})})}),y.jsx(B$e,{}),y.jsx(F$e,{}),y.jsx(Ze,{"aria-label":e("common:reportBugLabel"),tooltip:e("common:reportBugLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI/issues",children:y.jsx(Xke,{})})}),y.jsx(Ze,{"aria-label":e("common:githubLabel"),tooltip:e("common:githubLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI",children:y.jsx(Uke,{})})}),y.jsx(Ze,{"aria-label":e("common:discordLabel"),tooltip:e("common:discordLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"https://discord.gg/ZmtBAhwWhy",children:y.jsx(Wke,{})})}),y.jsx(D$e,{children:y.jsx(Ze,{"aria-label":e("common:settingsLabel"),tooltip:e("common:settingsLabel"),variant:"link","data-variant":"link",fontSize:22,size:"sm",icon:y.jsx(HEe,{})})})]})]})};function z$e(){async function e(n=""){return await fetch(n,{method:"GET",cache:"no-cache"})}const t=()=>{const n=document.location;e(n+"/flaskwebgui-keep-server-alive").then(i=>i)};(!{}.NODE_ENV||{}.NODE_ENV==="production")&&document.addEventListener("DOMContentLoaded",()=>{t(),setInterval(t,3e3)})}const H$e=()=>{const e=Ie(),t=he(o_e),n=Ry();w.useEffect(()=>{t.forEach(r=>{n(r)}),t.length>0&&e(eCe())},[e,n,t])},DK=ot([yp,mp,Or],(e,t,n)=>{const{shouldPinParametersPanel:r,shouldShowParametersPanel:i,shouldHoldParametersPanelOpen:o,shouldUseCanvasBetaLayout:a}=t,{shouldShowGallery:s,shouldPinGallery:l,shouldHoldGalleryOpen:u}=e,d=a&&n==="unifiedCanvas",h=!d&&!(i||o&&!r)&&["txt2img","img2img","unifiedCanvas"].includes(n),m=!(s||u&&!l)&&["txt2img","img2img","unifiedCanvas"].includes(n);return{shouldPinParametersPanel:r,shouldShowProcessButtons:!d&&(!r||!i),shouldShowParametersPanelButton:h,shouldShowParametersPanel:i,shouldShowGallery:s,shouldPinGallery:l,shouldShowGalleryButton:m}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),V$e=()=>{const e=Ie(),{shouldShowParametersPanel:t,shouldShowParametersPanelButton:n,shouldShowProcessButtons:r,shouldPinParametersPanel:i,shouldShowGallery:o,shouldPinGallery:a}=he(DK),s=()=>{e(Ku(!0)),i&&setTimeout(()=>e(vi(!0)),400)};return Qe("f",()=>{o||t?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(a||i)&&setTimeout(()=>e(vi(!0)),400)},[o,t]),n?y.jsxs("div",{className:"show-hide-button-options",children:[y.jsx(Ze,{tooltip:"Show Options Panel (O)",tooltipProps:{placement:"top"},"aria-label":"Show Options Panel",onClick:s,children:y.jsx(AP,{})}),r&&y.jsxs(y.Fragment,{children:[y.jsx(XP,{iconButton:!0}),y.jsx(YP,{})]})]}):null},W$e=()=>{const e=Ie(),{shouldShowGallery:t,shouldShowGalleryButton:n,shouldPinGallery:r,shouldShowParametersPanel:i,shouldPinParametersPanel:o}=he(DK),a=()=>{e(Bd(!0)),r&&e(vi(!0))};return Qe("f",()=>{t||i?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(r||o)&&setTimeout(()=>e(vi(!0)),400)},[t,i]),n?y.jsx(Ze,{tooltip:"Show Gallery (G)",tooltipProps:{placement:"top"},"aria-label":"Show Gallery",styleClass:"floating-show-hide-button right show-hide-button-gallery",onClick:a,children:y.jsx(Pq,{})}):null};z$e();const U$e=()=>(H$e(),y.jsxs("div",{className:"App",children:[y.jsxs(SDe,{children:[y.jsx(kDe,{}),y.jsxs("div",{className:"app-content",children:[y.jsx($$e,{}),y.jsx(kRe,{})]}),y.jsx("div",{className:"app-console",children:y.jsx(CDe,{})})]}),y.jsx(V$e,{}),y.jsx(W$e,{})]})),nj=()=>y.jsx(qe,{width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center",children:y.jsx(xy,{thickness:"2px",speed:"1s",emptyColor:"gray.200",color:"gray.400",size:"xl"})});const G$e=Aj({key:"invokeai-style-cache",prepend:!0});Z9.createRoot(document.getElementById("root")).render(y.jsx(N.StrictMode,{children:y.jsx(P5e,{store:WG,children:y.jsx(mW,{loading:y.jsx(nj,{}),persistor:UG,children:y.jsx(Gne,{value:G$e,children:y.jsx(G4e,{children:y.jsx(N.Suspense,{fallback:y.jsx(nj,{}),children:y.jsx(U$e,{})})})})})})})); +`.replaceAll("black",e),zMe=e=>{const{...t}=e,{maskColorString:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(FMe),[a,s]=w.useState(null),[l,u]=w.useState(0),d=w.useRef(null),h=w.useCallback(()=>{u(l+1),setTimeout(h,500)},[l]);return w.useEffect(()=>{if(a)return;const m=new Image;m.onload=()=>{s(m)},m.src=sN(n)},[a,n]),w.useEffect(()=>{a&&(a.src=sN(n))},[a,n]),w.useEffect(()=>{const m=setInterval(()=>u(v=>(v+1)%5),50);return()=>clearInterval(m)},[]),!a||!ke.isNumber(r.x)||!ke.isNumber(r.y)||!ke.isNumber(o)||!ke.isNumber(i.width)||!ke.isNumber(i.height)?null:y.jsx(lc,{ref:d,offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fillPatternImage:a,fillPatternOffsetY:ke.isNumber(l)?l:0,fillPatternRepeat:"repeat",fillPatternScale:{x:1/o,y:1/o},listening:!0,globalCompositeOperation:"source-in",...t})},HMe=at([sn],e=>({objects:e.layerState.objects}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),VMe=e=>{const{...t}=e,{objects:n}=he(HMe);return y.jsx(sc,{listening:!1,...t,children:n.filter(tP).map((r,i)=>y.jsx(dS,{points:r.points,stroke:"rgb(0,0,0)",strokeWidth:r.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:r.tool==="brush"?"source-over":"destination-out"},i))})};var lh=w,WMe=function(t,n,r){const i=lh.useRef("loading"),o=lh.useRef(),[a,s]=lh.useState(0),l=lh.useRef(),u=lh.useRef(),d=lh.useRef();return(l.current!==t||u.current!==n||d.current!==r)&&(i.current="loading",o.current=void 0,l.current=t,u.current=n,d.current=r),lh.useLayoutEffect(function(){if(!t)return;var h=document.createElement("img");function m(){i.current="loaded",o.current=h,s(Math.random())}function v(){i.current="failed",o.current=void 0,s(Math.random())}return h.addEventListener("load",m),h.addEventListener("error",v),n&&(h.crossOrigin=n),r&&(h.referrerpolicy=r),h.src=t,function(){h.removeEventListener("load",m),h.removeEventListener("error",v)}},[t,n,r]),[o.current,i.current]};const NY=e=>{const{url:t,x:n,y:r}=e,[i]=WMe(t);return y.jsx(RY,{x:n,y:r,image:i,listening:!1})},UMe=at([sn],e=>{const{layerState:{objects:t}}=e;return{objects:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),GMe=()=>{const{objects:e}=he(UMe);return e?y.jsx(sc,{name:"outpainting-objects",listening:!1,children:e.map((t,n)=>{if(U5(t))return y.jsx(NY,{x:t.x,y:t.y,url:t.image.url},n);if(uxe(t)){const r=y.jsx(dS,{points:t.points,stroke:t.color?Hh(t.color):"rgb(0,0,0)",strokeWidth:t.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:t.tool==="brush"?"source-over":"destination-out"},n);return t.clip?y.jsx(sc,{clipX:t.clip.x,clipY:t.clip.y,clipWidth:t.clip.width,clipHeight:t.clip.height,children:r},n):r}else{if(cxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:Hh(t.color)},n);if(dxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:"rgb(255, 255, 255)",globalCompositeOperation:"destination-out"},n)}})}):null},qMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingImage:r,shouldShowStagingOutline:i,boundingBoxCoordinates:{x:o,y:a},boundingBoxDimensions:{width:s,height:l}}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),YMe=e=>{const{...t}=e,{currentStagingAreaImage:n,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}=he(qMe);return y.jsxs(sc,{...t,children:[r&&n&&y.jsx(NY,{url:n.image.url,x:o,y:a}),i&&y.jsxs(sc,{children:[y.jsx(lc,{x:o,y:a,width:s,height:l,strokeWidth:1,stroke:"white",strokeScaleEnabled:!1}),y.jsx(lc,{x:o,y:a,width:s,height:l,dash:[4,4],strokeWidth:1,stroke:"black",strokeScaleEnabled:!1})]})]})},KMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingOutline:r,shouldShowStagingImage:i}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:i,shouldShowStagingOutline:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XMe=()=>{const e=Me(),{isOnFirstImage:t,isOnLastImage:n,currentStagingAreaImage:r,shouldShowStagingImage:i}=he(KMe),{t:o}=Ve(),a=w.useCallback(()=>{e(NI(!0))},[e]),s=w.useCallback(()=>{e(NI(!1))},[e]);Je(["left"],()=>{l()},{enabled:()=>!0,preventDefault:!0}),Je(["right"],()=>{u()},{enabled:()=>!0,preventDefault:!0}),Je(["enter"],()=>{d()},{enabled:()=>!0,preventDefault:!0});const l=()=>e(xxe()),u=()=>e(Sxe()),d=()=>e(vxe());return r?y.jsx(Ge,{pos:"absolute",bottom:"1rem",w:"100%",align:"center",justify:"center",filter:"drop-shadow(0 0.5rem 1rem rgba(0,0,0))",onMouseOver:a,onMouseOut:s,children:y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{tooltip:`${o("unifiedcanvas:previous")} (Left)`,"aria-label":`${o("unifiedcanvas:previous")} (Left)`,icon:y.jsx(Jke,{}),onClick:l,"data-selected":!0,isDisabled:t}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:next")} (Right)`,"aria-label":`${o("unifiedcanvas:next")} (Right)`,icon:y.jsx(eEe,{}),onClick:u,"data-selected":!0,isDisabled:n}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:accept")} (Enter)`,"aria-label":`${o("unifiedcanvas:accept")} (Enter)`,icon:y.jsx(PP,{}),onClick:d,"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:showHide"),"aria-label":o("unifiedcanvas:showHide"),"data-alert":!i,icon:i?y.jsx(sEe,{}):y.jsx(aEe,{}),onClick:()=>e(Oxe(!i)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:saveToGallery"),"aria-label":o("unifiedcanvas:saveToGallery"),icon:y.jsx(LP,{}),onClick:()=>e(F8e(r.image.url)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:discardAll"),"aria-label":o("unifiedcanvas:discardAll"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),onClick:()=>e(yxe()),"data-selected":!0,style:{backgroundColor:"var(--btn-delete-image)"},fontSize:20})]})}):null},fm=e=>Math.round(e*100)/100,ZMe=at([sn],e=>{const{cursorPosition:t}=e,{cursorX:n,cursorY:r}=t?{cursorX:t.x,cursorY:t.y}:{cursorX:-1,cursorY:-1};return{cursorCoordinatesString:`(${fm(n)}, ${fm(r)})`}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function QMe(){const{cursorCoordinatesString:e}=he(ZMe),{t}=Ve();return y.jsx("div",{children:`${t("unifiedcanvas:cursorPosition")}: ${e}`})}const JMe=at([sn],e=>{const{stageDimensions:{width:t,height:n},stageCoordinates:{x:r,y:i},boundingBoxDimensions:{width:o,height:a},scaledBoundingBoxDimensions:{width:s,height:l},boundingBoxCoordinates:{x:u,y:d},stageScale:h,shouldShowCanvasDebugInfo:m,layer:v,boundingBoxScaleMethod:b,shouldPreserveMaskedArea:S}=e;let k="inherit";return(b==="none"&&(o<512||a<512)||b==="manual"&&s*l<512*512)&&(k="var(--status-working-color)"),{activeLayerColor:v==="mask"?"var(--status-working-color)":"inherit",activeLayerString:v.charAt(0).toUpperCase()+v.slice(1),boundingBoxColor:k,boundingBoxCoordinatesString:`(${fm(u)}, ${fm(d)})`,boundingBoxDimensionsString:`${o}×${a}`,scaledBoundingBoxDimensionsString:`${s}×${l}`,canvasCoordinatesString:`${fm(r)}×${fm(i)}`,canvasDimensionsString:`${t}×${n}`,canvasScaleString:Math.round(h*100),shouldShowCanvasDebugInfo:m,shouldShowBoundingBox:b!=="auto",shouldShowScaledBoundingBox:b!=="none",shouldPreserveMaskedArea:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eIe=()=>{const{activeLayerColor:e,activeLayerString:t,boundingBoxColor:n,boundingBoxCoordinatesString:r,boundingBoxDimensionsString:i,scaledBoundingBoxDimensionsString:o,shouldShowScaledBoundingBox:a,canvasCoordinatesString:s,canvasDimensionsString:l,canvasScaleString:u,shouldShowCanvasDebugInfo:d,shouldShowBoundingBox:h,shouldPreserveMaskedArea:m}=he(JMe),{t:v}=Ve();return y.jsxs("div",{className:"canvas-status-text",children:[y.jsx("div",{style:{color:e},children:`${v("unifiedcanvas:activeLayer")}: ${t}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasScale")}: ${u}%`}),m&&y.jsx("div",{style:{color:"var(--status-working-color)"},children:"Preserve Masked Area: On"}),h&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:boundingBox")}: ${i}`}),a&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:scaledBoundingBox")}: ${o}`}),d&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:`${v("unifiedcanvas:boundingBoxPosition")}: ${r}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasDimensions")}: ${l}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasPosition")}: ${s}`}),y.jsx(QMe,{})]})]})},tIe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageScale:r,isDrawing:i,isTransformingBoundingBox:o,isMovingBoundingBox:a,tool:s,shouldSnapToGrid:l}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,isDrawing:i,isMovingBoundingBox:a,isTransformingBoundingBox:o,stageScale:r,shouldSnapToGrid:l,tool:s,hitStrokeWidth:20/r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),nIe=e=>{const{...t}=e,n=Me(),{boundingBoxCoordinates:r,boundingBoxDimensions:i,isDrawing:o,isMovingBoundingBox:a,isTransformingBoundingBox:s,stageScale:l,shouldSnapToGrid:u,tool:d,hitStrokeWidth:h}=he(tIe),m=w.useRef(null),v=w.useRef(null),[b,S]=w.useState(!1);w.useEffect(()=>{var te;!m.current||!v.current||(m.current.nodes([v.current]),(te=m.current.getLayer())==null||te.batchDraw())},[]);const k=64*l,E=w.useCallback(te=>{if(!u){n(bC({x:Math.floor(te.target.x()),y:Math.floor(te.target.y())}));return}const q=te.target.x(),$=te.target.y(),U=Gl(q,64),X=Gl($,64);te.target.x(U),te.target.y(X),n(bC({x:U,y:X}))},[n,u]),_=w.useCallback(()=>{if(!v.current)return;const te=v.current,q=te.scaleX(),$=te.scaleY(),U=Math.round(te.width()*q),X=Math.round(te.height()*$),Z=Math.round(te.x()),W=Math.round(te.y());n(Ev({width:U,height:X})),n(bC({x:u?Ed(Z,64):Z,y:u?Ed(W,64):W})),te.scaleX(1),te.scaleY(1)},[n,u]),T=w.useCallback((te,q,$)=>{const U=te.x%k,X=te.y%k;return{x:Ed(q.x,k)+U,y:Ed(q.y,k)+X}},[k]),A=()=>{n(xC(!0))},I=()=>{n(xC(!1)),n(SC(!1)),n(Cb(!1)),S(!1)},R=()=>{n(SC(!0))},D=()=>{n(xC(!1)),n(SC(!1)),n(Cb(!1)),S(!1)},j=()=>{S(!0)},z=()=>{!s&&!a&&S(!1)},V=()=>{n(Cb(!0))},K=()=>{n(Cb(!1))};return y.jsxs(sc,{...t,children:[y.jsx(lc,{height:i.height,width:i.width,x:r.x,y:r.y,onMouseEnter:V,onMouseOver:V,onMouseLeave:K,onMouseOut:K}),y.jsx(lc,{draggable:!0,fillEnabled:!1,height:i.height,hitStrokeWidth:h,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onDragMove:E,onMouseDown:R,onMouseOut:z,onMouseOver:j,onMouseEnter:j,onMouseUp:D,onTransform:_,onTransformEnd:I,ref:v,stroke:b?"rgba(255,255,255,0.7)":"white",strokeWidth:(b?8:1)/l,width:i.width,x:r.x,y:r.y}),y.jsx(yMe,{anchorCornerRadius:3,anchorDragBoundFunc:T,anchorFill:"rgba(212,216,234,1)",anchorSize:15,anchorStroke:"rgb(42,42,42)",borderDash:[4,4],borderEnabled:!0,borderStroke:"black",draggable:!1,enabledAnchors:d==="move"?void 0:[],flipEnabled:!1,ignoreStroke:!0,keepRatio:!1,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onMouseDown:A,onMouseUp:I,onTransformEnd:I,ref:m,rotateEnabled:!1})]})},rIe=at(sn,e=>{const{cursorPosition:t,brushSize:n,colorPickerColor:r,maskColor:i,brushColor:o,tool:a,layer:s,shouldShowBrush:l,isMovingBoundingBox:u,isTransformingBoundingBox:d,stageScale:h,stageDimensions:m,boundingBoxCoordinates:v,boundingBoxDimensions:b,shouldRestrictStrokesToBox:S}=e,k=S?{clipX:v.x,clipY:v.y,clipWidth:b.width,clipHeight:b.height}:{};return{cursorPosition:t,brushX:t?t.x:m.width/2,brushY:t?t.y:m.height/2,radius:n/2,colorPickerOuterRadius:RI/h,colorPickerInnerRadius:(RI-u8+1)/h,maskColorString:Hh({...i,a:.5}),brushColorString:Hh(o),colorPickerColorString:Hh(r),tool:a,layer:s,shouldShowBrush:l,shouldDrawBrushPreview:!(u||d||!t)&&l,strokeWidth:1.5/h,dotRadius:1.5/h,clip:k}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),iIe=e=>{const{...t}=e,{brushX:n,brushY:r,radius:i,maskColorString:o,tool:a,layer:s,shouldDrawBrushPreview:l,dotRadius:u,strokeWidth:d,brushColorString:h,colorPickerColorString:m,colorPickerInnerRadius:v,colorPickerOuterRadius:b,clip:S}=he(rIe);return l?y.jsxs(sc,{listening:!1,...S,...t,children:[a==="colorPicker"?y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:b,stroke:h,strokeWidth:u8,strokeScaleEnabled:!1}),y.jsx(sh,{x:n,y:r,radius:v,stroke:m,strokeWidth:u8,strokeScaleEnabled:!1})]}):y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:i,fill:s==="mask"?o:h,globalCompositeOperation:a==="eraser"?"destination-out":"source-out"}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(255,255,255,0.4)",strokeWidth:d*2,strokeEnabled:!0,listening:!1}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(0,0,0,1)",strokeWidth:d,strokeEnabled:!0,listening:!1})]}),y.jsx(sh,{x:n,y:r,radius:u*2,fill:"rgba(255,255,255,0.4)",listening:!1}),y.jsx(sh,{x:n,y:r,radius:u,fill:"rgba(0,0,0,1)",listening:!1})]}):null},oIe=at([sn,Mr],(e,t)=>{const{isMaskEnabled:n,stageScale:r,shouldShowBoundingBox:i,isTransformingBoundingBox:o,isMouseOverBoundingBox:a,isMovingBoundingBox:s,stageDimensions:l,stageCoordinates:u,tool:d,isMovingStage:h,shouldShowIntermediates:m,shouldShowGrid:v,shouldRestrictStrokesToBox:b}=e;let S="none";return d==="move"||t?h?S="grabbing":S="grab":o?S=void 0:b&&!a&&(S="default"),{isMaskEnabled:n,isModifyingBoundingBox:o||s,shouldShowBoundingBox:i,shouldShowGrid:v,stageCoordinates:u,stageCursor:S,stageDimensions:l,stageScale:r,tool:d,isStaging:t,shouldShowIntermediates:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),jY=()=>{const{isMaskEnabled:e,isModifyingBoundingBox:t,shouldShowBoundingBox:n,shouldShowGrid:r,stageCoordinates:i,stageCursor:o,stageDimensions:a,stageScale:s,tool:l,isStaging:u,shouldShowIntermediates:d}=he(oIe);CMe();const h=w.useRef(null),m=w.useRef(null),v=w.useCallback(z=>{S8e(z),h.current=z},[]),b=w.useCallback(z=>{b8e(z),m.current=z},[]),S=w.useRef({x:0,y:0}),k=w.useRef(!1),E=MMe(h),_=kMe(h),T=AMe(h,k),A=PMe(h,k,S),I=TMe(),{handleDragStart:R,handleDragMove:D,handleDragEnd:j}=xMe();return y.jsx("div",{className:"inpainting-canvas-container",children:y.jsxs("div",{className:"inpainting-canvas-wrapper",children:[y.jsxs(bMe,{tabIndex:-1,ref:v,className:"inpainting-canvas-stage",style:{...o?{cursor:o}:{}},x:i.x,y:i.y,width:a.width,height:a.height,scale:{x:s,y:s},onTouchStart:_,onTouchMove:A,onTouchEnd:T,onMouseDown:_,onMouseLeave:I,onMouseMove:A,onMouseUp:T,onDragStart:R,onDragMove:D,onDragEnd:j,onContextMenu:z=>z.evt.preventDefault(),onWheel:E,draggable:(l==="move"||u)&&!t,children:[y.jsx(pv,{id:"grid",visible:r,children:y.jsx(jMe,{})}),y.jsx(pv,{id:"base",ref:b,listening:!1,imageSmoothingEnabled:!1,children:y.jsx(GMe,{})}),y.jsxs(pv,{id:"mask",visible:e,listening:!1,children:[y.jsx(VMe,{visible:!0,listening:!1}),y.jsx(zMe,{listening:!1})]}),y.jsx(pv,{children:y.jsx(RMe,{})}),y.jsxs(pv,{id:"preview",imageSmoothingEnabled:!1,children:[!u&&y.jsx(iIe,{visible:l!=="move",listening:!1}),y.jsx(YMe,{visible:u}),d&&y.jsx($Me,{}),y.jsx(nIe,{visible:n&&!u})]})]}),y.jsx(eIe,{}),y.jsx(XMe,{})]})})},aIe=at(sn,xq,Or,(e,t,n)=>{const{doesCanvasNeedScaling:r,isCanvasInitialized:i}=e;return{doesCanvasNeedScaling:r,activeTabName:n,initialCanvasImage:t,isCanvasInitialized:i}}),BY=()=>{const e=Me(),{doesCanvasNeedScaling:t,activeTabName:n,initialCanvasImage:r,isCanvasInitialized:i}=he(aIe),o=w.useRef(null);return w.useLayoutEffect(()=>{window.setTimeout(()=>{if(!o.current)return;const{clientWidth:a,clientHeight:s}=o.current;e(Exe({width:a,height:s})),e(i?_xe():Nx()),e(vi(!1))},0)},[e,r,t,n,i]),y.jsx("div",{ref:o,className:"inpainting-canvas-area",children:y.jsx(xy,{thickness:"2px",speed:"1s",size:"xl"})})},sIe=at([sn,Or,ir],(e,t,n)=>{const{futureLayerStates:r}=e;return{canRedo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function $Y(){const e=Me(),{canRedo:t,activeTabName:n}=he(sIe),{t:r}=Ve(),i=()=>{e(wxe())};return Je(["meta+shift+z","ctrl+shift+z","control+y","meta+y"],()=>{i()},{enabled:()=>t,preventDefault:!0},[n,t]),y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,tooltip:`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,icon:y.jsx(yEe,{}),onClick:i,isDisabled:!t})}const lIe=at([sn,Or,ir],(e,t,n)=>{const{pastLayerStates:r}=e;return{canUndo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function FY(){const e=Me(),{t}=Ve(),{canUndo:n,activeTabName:r}=he(lIe),i=()=>{e(Ixe())};return Je(["meta+z","ctrl+z"],()=>{i()},{enabled:()=>n,preventDefault:!0},[r,n]),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:undo")} (Ctrl+Z)`,tooltip:`${t("unifiedcanvas:undo")} (Ctrl+Z)`,icon:y.jsx(wEe,{}),onClick:i,isDisabled:!n})}const uIe=(e,t,n)=>{const r=document.createElement("img");r.addEventListener("load",()=>{const i=document.createElement("canvas");i.width=t,i.height=n;const o=i.getContext("2d");o&&(o.drawImage(r,0,0),i.toBlob(a=>{a&&navigator.clipboard.write([new ClipboardItem({[a.type]:a})])}),i.remove(),r.remove())}),r.src=e},cIe=e=>{const t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t),t.remove()},dIe=(e,t,n,r)=>{const i=e.scale(),o=e.getClientRect({relativeTo:e.getParent()});e.scale({x:1/t,y:1/t});const{x:a,y:s,width:l,height:u}=e.getClientRect(),d=r?{x:r.x+n.x,y:r.y+n.y,width:r.width,height:r.height}:{x:a,y:s,width:l,height:u},h=e.toDataURL(d);return e.scale(i),{dataURL:h,boundingBox:{x:o.x,y:o.y,width:l,height:u}}},fIe={cropVisible:!1,cropToBoundingBox:!1,shouldSaveToGallery:!1,shouldDownload:!1,shouldCopy:!1,shouldSetAsInitialImage:!0},Td=(e=fIe)=>async(t,n)=>{const{cropVisible:r,cropToBoundingBox:i,shouldSaveToGallery:o,shouldDownload:a,shouldCopy:s,shouldSetAsInitialImage:l}=e;t(nCe("Exporting Image")),t(lm(!1));const u=n(),{stageScale:d,boundingBoxCoordinates:h,boundingBoxDimensions:m,stageCoordinates:v}=u.canvas,b=el();if(!b){t(Hs(!1)),t(lm(!0));return}const{dataURL:S,boundingBox:k}=dIe(b,d,v,i?{...h,...m}:void 0);if(!S){t(Hs(!1)),t(lm(!0));return}const E=new FormData;E.append("data",JSON.stringify({dataURL:S,filename:"merged_canvas.png",kind:o?"result":"temp",cropVisible:r}));const T=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:E})).json(),{url:A,width:I,height:R}=T,D={uuid:cm(),category:o?"result":"user",...T};a&&(cIe(A),t(Th({title:zt.t("toast:downloadImageStarted"),status:"success",duration:2500,isClosable:!0}))),s&&(uIe(A,I,R),t(Th({title:zt.t("toast:imageCopied"),status:"success",duration:2500,isClosable:!0}))),o&&(t(sm({image:D,category:"result"})),t(Th({title:zt.t("toast:imageSavedToGallery"),status:"success",duration:2500,isClosable:!0}))),l&&(t(Lxe({kind:"image",layer:"base",...k,image:D})),t(Th({title:zt.t("toast:canvasMerged"),status:"success",duration:2500,isClosable:!0}))),t(Hs(!1)),t(D4(zt.t("common:statusConnected"))),t(lm(!0))};function hIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["meta+c","ctrl+c"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldCopy:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:a,isDisabled:e})}function pIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(s=>s.system.isProcessing),o=he(s=>s.canvas.shouldCropToBoundingBoxOnSave);Je(["shift+d"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n,i]);const a=()=>{e(Td({cropVisible:!o,cropToBoundingBox:o,shouldDownload:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:a,isDisabled:r})}function gIe(){const e=he(Mr),{openUploader:t}=xP(),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("common:upload"),tooltip:n("common:upload"),icon:y.jsx(Jx,{}),onClick:t,isDisabled:e})}const mIe=at([sn,Mr],(e,t)=>{const{layer:n,isMaskEnabled:r}=e;return{layer:n,isMaskEnabled:r,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function vIe(){const e=Me(),{t}=Ve(),{layer:n,isMaskEnabled:r,isStaging:i}=he(mIe),o=()=>{e(q5(n==="mask"?"base":"mask"))};Je(["q"],()=>{o()},{enabled:()=>!i,preventDefault:!0},[n]);const a=s=>{const l=s.target.value;e(q5(l)),l==="mask"&&!r&&e(Dy(!0))};return y.jsx(tl,{tooltip:`${t("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:n,validValues:NW,onChange:a,isDisabled:i})}function yIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(a=>a.system.isProcessing);Je(["shift+m"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n,i]);const o=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:o,isDisabled:r})}function bIe(){const e=he(o=>o.canvas.tool),t=he(Mr),n=Me(),{t:r}=Ve();Je(["v"],()=>{i()},{enabled:()=>!t,preventDefault:!0},[]);const i=()=>n(tu("move"));return y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:move")} (V)`,tooltip:`${r("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":e==="move"||t,onClick:i})}function SIe(){const e=he(i=>i.ui.shouldPinParametersPanel),t=Me(),{t:n}=Ve(),r=()=>{t(Ku(!0)),e&&setTimeout(()=>t(vi(!0)),400)};return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsx(Qe,{tooltip:`${n("parameters:showOptionsPanel")} (O)`,tooltipProps:{placement:"top"},"aria-label":n("parameters:showOptionsPanel"),onClick:r,children:y.jsx(AP,{})}),y.jsx(Ge,{children:y.jsx(XP,{iconButton:!0})}),y.jsx(Ge,{children:y.jsx(YP,{width:"100%",height:"40px"})})]})}function xIe(){const e=Me(),{t}=Ve(),n=he(Mr),r=()=>{e(rP()),e(Nx())};return y.jsx(Qe,{"aria-label":t("unifiedcanvas:clearCanvas"),tooltip:t("unifiedcanvas:clearCanvas"),icon:y.jsx(vp,{}),onClick:r,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})}function zY(e,t,n=250){const[r,i]=w.useState(0);return w.useEffect(()=>{const o=setTimeout(()=>{r===1&&e(),i(0)},n);return r===2&&t(),()=>clearTimeout(o)},[r,e,t,n]),()=>i(o=>o+1)}function wIe(){const e=el(),t=Me(),{t:n}=Ve();Je(["r"],()=>{i()},{enabled:()=>!0,preventDefault:!0},[e]);const r=zY(()=>i(!1),()=>i(!0)),i=(o=!1)=>{const a=el();if(!a)return;const s=a.getClientRect({skipTransform:!0});t(HW({contentRect:s,shouldScaleTo1:o}))};return y.jsx(Qe,{"aria-label":`${n("unifiedcanvas:resetView")} (R)`,tooltip:`${n("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:r})}function CIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["shift+s"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldSaveToGallery:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:a,isDisabled:e})}const _Ie=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i}=e;return{tool:i,isStaging:t,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kIe=()=>{const e=Me(),{t}=Ve(),{tool:n,isStaging:r}=he(_Ie);Je(["b"],()=>{i()},{enabled:()=>!r,preventDefault:!0},[]),Je(["e"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["c"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["shift+f"],()=>{s()},{enabled:()=>!r,preventDefault:!0}),Je(["delete","backspace"],()=>{l()},{enabled:()=>!r,preventDefault:!0});const i=()=>e(tu("brush")),o=()=>e(tu("eraser")),a=()=>e(tu("colorPicker")),s=()=>e($W()),l=()=>e(BW());return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:brush")} (B)`,tooltip:`${t("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":n==="brush"&&!r,onClick:i,isDisabled:r}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraser")} (E)`,tooltip:`${t("unifiedcanvas:eraser")} (B)`,icon:y.jsx(mq,{}),"data-selected":n==="eraser"&&!r,isDisabled:r,onClick:o})]}),y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:r,onClick:s}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:r,onClick:l})]}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:colorPicker")} (C)`,tooltip:`${t("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":n==="colorPicker"&&!r,isDisabled:r,onClick:a,width:"max-content"})]})},oT=Ae((e,t)=>{const{acceptButtonText:n="Accept",acceptCallback:r,cancelButtonText:i="Cancel",cancelCallback:o,children:a,title:s,triggerComponent:l}=e,{isOpen:u,onOpen:d,onClose:h}=Wh(),m=w.useRef(null),v=()=>{r(),h()},b=()=>{o&&o(),h()};return y.jsxs(y.Fragment,{children:[w.cloneElement(l,{onClick:d,ref:t}),y.jsx(OV,{isOpen:u,leastDestructiveRef:m,onClose:h,children:y.jsx(Kd,{children:y.jsxs(MV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:s}),y.jsx(n0,{children:a}),y.jsxs(Sx,{children:[y.jsx(as,{ref:m,onClick:b,className:"modal-close-btn",children:i}),y.jsx(as,{colorScheme:"red",onClick:v,ml:3,children:n})]})]})})})]})}),HY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve(),r=()=>{t(z8e()),t(rP()),t(zW())};return y.jsxs(oT,{title:n("unifiedcanvas:emptyTempImageFolder"),acceptCallback:r,acceptButtonText:n("unifiedcanvas:emptyFolder"),triggerComponent:y.jsx(cr,{leftIcon:y.jsx(vp,{}),size:"sm",isDisabled:e,children:n("unifiedcanvas:emptyTempImageFolder")}),children:[y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderConfirm")})]})},VY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve();return y.jsxs(oT,{title:n("unifiedcanvas:clearCanvasHistory"),acceptCallback:()=>t(zW()),acceptButtonText:n("unifiedcanvas:clearHistory"),triggerComponent:y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),isDisabled:e,children:n("unifiedcanvas:clearCanvasHistory")}),children:[y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryConfirm")})]})},EIe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PIe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldShowCanvasDebugInfo:i,shouldShowIntermediates:o}=he(EIe);return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),tooltipProps:{placement:"bottom"},"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:o,onChange:a=>e(ZW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:a=>e(UW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:a=>e(GW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:i,onChange:a=>e(KW(a.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},TIe=()=>{const e=he(t=>t.ui.shouldShowParametersPanel);return y.jsxs(Ge,{flexDirection:"column",rowGap:"0.5rem",width:"6rem",children:[y.jsx(vIe,{}),y.jsx(kIe,{}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(bIe,{}),y.jsx(wIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(yIe,{}),y.jsx(CIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(hIe,{}),y.jsx(pIe,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(gIe,{}),y.jsx(xIe,{})]}),y.jsx(PIe,{}),!e&&y.jsx(SIe,{})]})};function LIe(){const e=Me(),t=he(i=>i.canvas.brushSize),{t:n}=Ve(),r=he(Mr);return Je(["BracketLeft"],()=>{e(jm(Math.max(t-5,5)))},{enabled:()=>!r,preventDefault:!0},[t]),Je(["BracketRight"],()=>{e(jm(Math.min(t+5,500)))},{enabled:()=>!r,preventDefault:!0},[t]),y.jsx(so,{label:n("unifiedcanvas:brushSize"),value:t,withInput:!0,onChange:i=>e(jm(i)),sliderNumberInputProps:{max:500},inputReadOnly:!1,width:"100px",isCompact:!0})}function cw(){return(cw=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function X8(e){var t=w.useRef(e),n=w.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var l0=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:k.buttons>0)&&i.current?o(lN(i.current,k,s.current)):S(!1)},b=function(){return S(!1)};function S(k){var E=l.current,_=Z8(i.current),T=k?_.addEventListener:_.removeEventListener;T(E?"touchmove":"mousemove",v),T(E?"touchend":"mouseup",b)}return[function(k){var E=k.nativeEvent,_=i.current;if(_&&(uN(E),!function(A,I){return I&&!d2(A)}(E,l.current)&&_)){if(d2(E)){l.current=!0;var T=E.changedTouches||[];T.length&&(s.current=T[0].identifier)}_.focus(),o(lN(_,E,s.current)),S(!0)}},function(k){var E=k.which||k.keyCode;E<37||E>40||(k.preventDefault(),a({left:E===39?.05:E===37?-.05:0,top:E===40?.05:E===38?-.05:0}))},S]},[a,o]),d=u[0],h=u[1],m=u[2];return w.useEffect(function(){return m},[m]),N.createElement("div",cw({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))}),dw=function(e){return e.filter(Boolean).join(" ")},sT=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,o=dw(["react-colorful__pointer",e.className]);return N.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},N.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Eo=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},UY=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:Eo(e.h),s:Eo(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:Eo(i/2),a:Eo(r,2)}},Q8=function(e){var t=UY(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},WC=function(e){var t=UY(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},AIe=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),u=o%6;return{r:Eo(255*[r,s,a,a,l,r][u]),g:Eo(255*[l,r,r,s,a,a][u]),b:Eo(255*[a,a,l,r,r,s][u]),a:Eo(i,2)}},OIe=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:Eo(60*(s<0?s+6:s)),s:Eo(o?a/o*100:0),v:Eo(o/255*100),a:i}},MIe=N.memo(function(e){var t=e.hue,n=e.onChange,r=dw(["react-colorful__hue",e.className]);return N.createElement("div",{className:r},N.createElement(aT,{onMove:function(i){n({h:360*i.left})},onKey:function(i){n({h:l0(t+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":Eo(t),"aria-valuemax":"360","aria-valuemin":"0"},N.createElement(sT,{className:"react-colorful__hue-pointer",left:t/360,color:Q8({h:t,s:100,v:100,a:1})})))}),IIe=N.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q8({h:t.h,s:100,v:100,a:1})};return N.createElement("div",{className:"react-colorful__saturation",style:r},N.createElement(aT,{onMove:function(i){n({s:100*i.left,v:100-100*i.top})},onKey:function(i){n({s:l0(t.s+100*i.left,0,100),v:l0(t.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Eo(t.s)+"%, Brightness "+Eo(t.v)+"%"},N.createElement(sT,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q8(t)})))}),GY=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function RIe(e,t,n){var r=X8(n),i=w.useState(function(){return e.toHsva(t)}),o=i[0],a=i[1],s=w.useRef({color:t,hsva:o});w.useEffect(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},a(u)}},[t,e]),w.useEffect(function(){var u;GY(o,s.current.hsva)||e.equal(u=e.fromHsva(o),s.current.color)||(s.current={hsva:o,color:u},r(u))},[o,e,r]);var l=w.useCallback(function(u){a(function(d){return Object.assign({},d,u)})},[]);return[o,l]}var DIe=typeof window<"u"?w.useLayoutEffect:w.useEffect,NIe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},cN=new Map,jIe=function(e){DIe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!cN.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,cN.set(t,n);var r=NIe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},BIe=function(e){var t=e.className,n=e.hsva,r=e.onChange,i={backgroundImage:"linear-gradient(90deg, "+WC(Object.assign({},n,{a:0}))+", "+WC(Object.assign({},n,{a:1}))+")"},o=dw(["react-colorful__alpha",t]),a=Eo(100*n.a);return N.createElement("div",{className:o},N.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),N.createElement(aT,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:l0(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},N.createElement(sT,{className:"react-colorful__alpha-pointer",left:n.a,color:WC(n)})))},$Ie=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,o=e.onChange,a=WY(e,["className","colorModel","color","onChange"]),s=w.useRef(null);jIe(s);var l=RIe(n,i,o),u=l[0],d=l[1],h=dw(["react-colorful",t]);return N.createElement("div",cw({},a,{ref:s,className:h}),N.createElement(IIe,{hsva:u,onChange:d}),N.createElement(MIe,{hue:u.h,onChange:d}),N.createElement(BIe,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},FIe={defaultColor:{r:0,g:0,b:0,a:1},toHsva:OIe,fromHsva:AIe,equal:GY},zIe=function(e){return N.createElement($Ie,cw({},e,{colorModel:FIe}))};const fS=e=>{const{styleClass:t,...n}=e;return y.jsx(zIe,{className:`invokeai__color-picker ${t}`,...n})},HIe=at([sn,Mr],(e,t)=>{const{brushColor:n,maskColor:r,layer:i}=e;return{brushColor:n,maskColor:r,layer:i,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function VIe(){const e=Me(),{brushColor:t,maskColor:n,layer:r,isStaging:i}=he(HIe),o=()=>{if(r==="base")return`rgba(${t.r},${t.g},${t.b},${t.a})`;if(r==="mask")return`rgba(${n.r},${n.g},${n.b},${n.a})`};return Je(["shift+BracketLeft"],()=>{e(Nm({...t,a:ke.clamp(t.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+BracketRight"],()=>{e(Nm({...t,a:ke.clamp(t.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(ko,{style:{width:"30px",height:"30px",minWidth:"30px",minHeight:"30px",borderRadius:"99999999px",backgroundColor:o(),cursor:"pointer"}}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[r==="base"&&y.jsx(fS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:t,onChange:a=>e(Nm(a))}),r==="mask"&&y.jsx(fS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:a=>e(WW(a))})]})})}function qY(){return y.jsxs(Ge,{columnGap:"1rem",alignItems:"center",children:[y.jsx(LIe,{}),y.jsx(VIe,{})]})}function WIe(){const e=Me(),t=he(r=>r.canvas.shouldRestrictStrokesToBox),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaLimitToBox"),isChecked:t,onChange:r=>e(JW(r.target.checked))})}function UIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(WIe,{})]})}function GIe(){const e=Me(),{t}=Ve(),n=()=>e(nP());return y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:n,tooltip:`${t("unifiedcanvas:clearMask")} (Shift+C)`,children:t("unifiedcanvas:betaClear")})}function qIe(){const e=he(i=>i.canvas.isMaskEnabled),t=Me(),{t:n}=Ve(),r=()=>t(Dy(!e));return y.jsx(er,{label:`${n("unifiedcanvas:enableMask")} (H)`,isChecked:e,onChange:r})}function YIe(){const e=Me(),{t}=Ve(),n=he(r=>r.canvas.shouldPreserveMaskedArea);return y.jsx(er,{label:t("unifiedcanvas:betaPreserveMasked"),isChecked:n,onChange:r=>e(YW(r.target.checked))})}function KIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(qIe,{}),y.jsx(YIe,{}),y.jsx(GIe,{})]})}function XIe(){const e=he(r=>r.canvas.shouldDarkenOutsideBoundingBox),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaDarkenOutside"),isChecked:e,onChange:r=>t(qW(r.target.checked))})}function ZIe(){const e=he(r=>r.canvas.shouldShowGrid),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:showGrid"),isChecked:e,onChange:r=>t(XW(r.target.checked))})}function QIe(){const e=he(i=>i.canvas.shouldSnapToGrid),t=Me(),{t:n}=Ve(),r=i=>t(Y5(i.target.checked));return y.jsx(er,{label:`${n("unifiedcanvas:snapToGrid")} (N)`,isChecked:e,onChange:r})}function JIe(){return y.jsxs(Ge,{alignItems:"center",gap:"1rem",children:[y.jsx(ZIe,{}),y.jsx(QIe,{}),y.jsx(XIe,{})]})}const eRe=at([sn],e=>{const{tool:t,layer:n}=e;return{tool:t,layer:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function tRe(){const{tool:e,layer:t}=he(eRe);return y.jsxs(Ge,{height:"2rem",minHeight:"2rem",maxHeight:"2rem",alignItems:"center",children:[t=="base"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(UIe,{}),t=="mask"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(KIe,{}),e=="move"&&y.jsx(JIe,{})]})}const nRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),rRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(nRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsxs(Ge,{flexDirection:"row",width:"100%",height:"100%",columnGap:"1rem",padding:"1rem",children:[y.jsx(TIe,{}),y.jsxs(Ge,{width:"100%",height:"100%",flexDirection:"column",rowGap:"1rem",children:[y.jsx(tRe,{}),t?y.jsx(BY,{}):y.jsx(jY,{})]})]})})},iRe=at([sn,Mr],(e,t)=>{const{maskColor:n,layer:r,isMaskEnabled:i,shouldPreserveMaskedArea:o}=e;return{layer:r,maskColor:n,maskColorString:Hh(n),isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),oRe=()=>{const e=Me(),{t}=Ve(),{layer:n,maskColor:r,isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:a}=he(iRe);Je(["q"],()=>{s()},{enabled:()=>!a,preventDefault:!0},[n]),Je(["shift+c"],()=>{l()},{enabled:()=>!a,preventDefault:!0},[]),Je(["h"],()=>{u()},{enabled:()=>!a,preventDefault:!0},[i]);const s=()=>{e(q5(n==="mask"?"base":"mask"))},l=()=>e(nP()),u=()=>e(Dy(!i));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(oo,{children:y.jsx(Qe,{"aria-label":t("unifiedcanvas:maskingOptions"),tooltip:t("unifiedcanvas:maskingOptions"),icon:y.jsx(fEe,{}),style:n==="mask"?{backgroundColor:"var(--accent-color)"}:{backgroundColor:"var(--btn-base-color)"},isDisabled:a})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:`${t("unifiedcanvas:enableMask")} (H)`,isChecked:i,onChange:u}),y.jsx(er,{label:t("unifiedcanvas:preserveMaskedArea"),isChecked:o,onChange:d=>e(YW(d.target.checked))}),y.jsx(fS,{style:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:r,onChange:d=>e(WW(d))}),y.jsxs(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:l,children:[t("unifiedcanvas:clearMask")," (Shift+C)"]})]})})},aRe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),sRe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldDarkenOutsideBoundingBox:i,shouldShowCanvasDebugInfo:o,shouldShowGrid:a,shouldShowIntermediates:s,shouldSnapToGrid:l,shouldRestrictStrokesToBox:u}=he(aRe);Je(["n"],()=>{e(Y5(!l))},{enabled:!0,preventDefault:!0},[l]);const d=h=>e(Y5(h.target.checked));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:s,onChange:h=>e(ZW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showGrid"),isChecked:a,onChange:h=>e(XW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:snapToGrid"),isChecked:l,onChange:d}),y.jsx(er,{label:t("unifiedcanvas:darkenOutsideSelection"),isChecked:i,onChange:h=>e(qW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:h=>e(UW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:h=>e(GW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:limitStrokesToBox"),isChecked:u,onChange:h=>e(JW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:o,onChange:h=>e(KW(h.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},lRe=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i,brushColor:o,brushSize:a}=e;return{tool:i,isStaging:t,isProcessing:r,brushColor:o,brushSize:a}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),uRe=()=>{const e=Me(),{tool:t,brushColor:n,brushSize:r,isStaging:i}=he(lRe),{t:o}=Ve();Je(["b"],()=>{a()},{enabled:()=>!i,preventDefault:!0},[]),Je(["e"],()=>{s()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["c"],()=>{l()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+f"],()=>{u()},{enabled:()=>!i,preventDefault:!0}),Je(["delete","backspace"],()=>{d()},{enabled:()=>!i,preventDefault:!0}),Je(["BracketLeft"],()=>{e(jm(Math.max(r-5,5)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["BracketRight"],()=>{e(jm(Math.min(r+5,500)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["shift+BracketLeft"],()=>{e(Nm({...n,a:ke.clamp(n.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]),Je(["shift+BracketRight"],()=>{e(Nm({...n,a:ke.clamp(n.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]);const a=()=>e(tu("brush")),s=()=>e(tu("eraser")),l=()=>e(tu("colorPicker")),u=()=>e($W()),d=()=>e(BW());return y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:brush")} (B)`,tooltip:`${o("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":t==="brush"&&!i,onClick:a,isDisabled:i}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraser")} (E)`,tooltip:`${o("unifiedcanvas:eraser")} (E)`,icon:y.jsx(mq,{}),"data-selected":t==="eraser"&&!i,isDisabled:i,onClick:s}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:i,onClick:u}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:i,onClick:d}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:colorPicker")} (C)`,tooltip:`${o("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":t==="colorPicker"&&!i,isDisabled:i,onClick:l}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":o("unifiedcanvas:brushOptions"),tooltip:o("unifiedcanvas:brushOptions"),icon:y.jsx(AP,{})}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[y.jsx(Ge,{gap:"1rem",justifyContent:"space-between",children:y.jsx(so,{label:o("unifiedcanvas:brushSize"),value:r,withInput:!0,onChange:h=>e(jm(h)),sliderNumberInputProps:{max:500},inputReadOnly:!1})}),y.jsx(fS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:h=>e(Nm(h))})]})})]})},cRe=at([ir,sn,Mr],(e,t,n)=>{const{isProcessing:r}=e,{tool:i,shouldCropToBoundingBoxOnSave:o,layer:a,isMaskEnabled:s}=t;return{isProcessing:r,isStaging:n,isMaskEnabled:s,tool:i,layer:a,shouldCropToBoundingBoxOnSave:o}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dRe=()=>{const e=Me(),{isProcessing:t,isStaging:n,isMaskEnabled:r,layer:i,tool:o,shouldCropToBoundingBoxOnSave:a}=he(cRe),s=el(),{t:l}=Ve(),{openUploader:u}=xP();Je(["v"],()=>{d()},{enabled:()=>!n,preventDefault:!0},[]),Je(["r"],()=>{m()},{enabled:()=>!0,preventDefault:!0},[s]),Je(["shift+m"],()=>{b()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+s"],()=>{S()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["meta+c","ctrl+c"],()=>{k()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+d"],()=>{E()},{enabled:()=>!n,preventDefault:!0},[s,t]);const d=()=>e(tu("move")),h=zY(()=>m(!1),()=>m(!0)),m=(T=!1)=>{const A=el();if(!A)return;const I=A.getClientRect({skipTransform:!0});e(HW({contentRect:I,shouldScaleTo1:T}))},v=()=>{e(rP()),e(Nx())},b=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))},S=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldSaveToGallery:!0}))},k=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldCopy:!0}))},E=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldDownload:!0}))},_=T=>{const A=T.target.value;e(q5(A)),A==="mask"&&!r&&e(Dy(!0))};return y.jsxs("div",{className:"inpainting-settings",children:[y.jsx(tl,{tooltip:`${l("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:i,validValues:NW,onChange:_,isDisabled:n}),y.jsx(oRe,{}),y.jsx(uRe,{}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:move")} (V)`,tooltip:`${l("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":o==="move"||n,onClick:d}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:resetView")} (R)`,tooltip:`${l("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:h})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:b,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:S,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:k,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:E,isDisabled:n})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("common:upload")}`,tooltip:`${l("common:upload")}`,icon:y.jsx(Jx,{}),onClick:u,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:clearCanvas")}`,tooltip:`${l("unifiedcanvas:clearCanvas")}`,icon:y.jsx(vp,{}),onClick:v,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(sRe,{})})]})},fRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),hRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(fRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"workarea-split-view-left",children:y.jsxs("div",{className:"inpainting-main-area",children:[y.jsx(dRe,{}),y.jsx("div",{className:"inpainting-canvas-area",children:t?y.jsx(BY,{}):y.jsx(jY,{})})]})})})},pRe=at(sn,e=>{const{boundingBoxDimensions:t,boundingBoxScaleMethod:n}=e;return{boundingBoxDimensions:t,boundingBoxScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),gRe=()=>{const e=Me(),{boundingBoxDimensions:t}=he(pRe),{t:n}=Ve(),r=s=>{e(Ev({...t,width:Math.floor(s)}))},i=s=>{e(Ev({...t,height:Math.floor(s)}))},o=()=>{e(Ev({...t,width:Math.floor(512)}))},a=()=>{e(Ev({...t,height:Math.floor(512)}))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(so,{label:n("parameters:width"),min:64,max:1024,step:64,value:t.width,onChange:r,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:o}),y.jsx(so,{label:n("parameters:height"),min:64,max:1024,step:64,value:t.height,onChange:i,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:a})]})},mRe=at([KP,ir,sn],(e,t,n)=>{const{tileSize:r,infillMethod:i}=e,{infill_methods:o}=t,{boundingBoxScaleMethod:a,scaledBoundingBoxDimensions:s}=n;return{boundingBoxScale:a,scaledBoundingBoxDimensions:s,tileSize:r,infillMethod:i,availableInfillMethods:o,isManual:a==="manual"}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),vRe=()=>{const e=Me(),{tileSize:t,infillMethod:n,availableInfillMethods:r,boundingBoxScale:i,isManual:o,scaledBoundingBoxDimensions:a}=he(mRe),{t:s}=Ve(),l=v=>{e(_b({...a,width:Math.floor(v)}))},u=v=>{e(_b({...a,height:Math.floor(v)}))},d=()=>{e(_b({...a,width:Math.floor(512)}))},h=()=>{e(_b({...a,height:Math.floor(512)}))},m=v=>{e(kxe(v.target.value))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(tl,{label:s("parameters:scaleBeforeProcessing"),validValues:lxe,value:i,onChange:m}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledWidth"),min:64,max:1024,step:64,value:a.width,onChange:l,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:d}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledHeight"),min:64,max:1024,step:64,value:a.height,onChange:u,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:h}),y.jsx(tl,{label:s("parameters:infillMethod"),value:n,validValues:r,onChange:v=>e(cU(v.target.value))}),y.jsx(so,{isInputDisabled:n!=="tile",isResetDisabled:n!=="tile",isSliderDisabled:n!=="tile",sliderMarkRightOffset:-4,label:s("parameters:tileSize"),min:16,max:64,sliderNumberInputProps:{max:256},value:t,onChange:v=>{e(HI(v))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(HI(32))}})]})};function yRe(){const e=Me(),t=he(r=>r.generation.seamBlur),{t:n}=Ve();return y.jsx(so,{sliderMarkRightOffset:-4,label:n("parameters:seamBlur"),min:0,max:64,sliderNumberInputProps:{max:512},value:t,onChange:r=>{e(BI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(BI(16))}})}function bRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamSize);return y.jsx(so,{sliderMarkRightOffset:-6,label:t("parameters:seamSize"),min:1,max:256,sliderNumberInputProps:{max:512},value:n,onChange:r=>{e($I(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>e($I(96))})}function SRe(){const{t:e}=Ve(),t=he(r=>r.generation.seamSteps),n=Me();return y.jsx(so,{sliderMarkRightOffset:-4,label:e("parameters:seamSteps"),min:1,max:100,sliderNumberInputProps:{max:999},value:t,onChange:r=>{n(FI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{n(FI(30))}})}function xRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamStrength);return y.jsx(so,{sliderMarkRightOffset:-7,label:t("parameters:seamStrength"),min:.01,max:.99,step:.01,value:n,onChange:r=>{e(zI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(zI(.7))}})}const wRe=()=>y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(bRe,{}),y.jsx(yRe,{}),y.jsx(xRe,{}),y.jsx(SRe,{})]});function CRe(){const{t:e}=Ve(),t={boundingBox:{header:`${e("parameters:boundingBoxHeader")}`,feature:ao.BOUNDING_BOX,content:y.jsx(gRe,{})},seamCorrection:{header:`${e("parameters:seamCorrectionHeader")}`,feature:ao.SEAM_CORRECTION,content:y.jsx(wRe,{})},infillAndScaling:{header:`${e("parameters:infillScalingHeader")}`,feature:ao.INFILL_AND_SCALING,content:y.jsx(vRe,{})},seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(qP,{accordionInfo:t})]})}function _Re(){const e=he(t=>t.ui.shouldUseCanvasBetaLayout);return y.jsx(HP,{optionsPanel:y.jsx(CRe,{}),styleClass:"inpainting-workarea-overrides",children:e?y.jsx(rRe,{}):y.jsx(hRe,{})})}const es={txt2img:{title:y.jsx(r_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(gOe,{}),tooltip:"Text To Image"},img2img:{title:y.jsx(e_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(lOe,{}),tooltip:"Image To Image"},unifiedCanvas:{title:y.jsx(o_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(_Re,{}),tooltip:"Unified Canvas"},nodes:{title:y.jsx(t_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(X8e,{}),tooltip:"Nodes"},postprocess:{title:y.jsx(n_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Z8e,{}),tooltip:"Post Processing"},training:{title:y.jsx(i_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Q8e,{}),tooltip:"Training"}};function kRe(){es.txt2img.tooltip=zt.t("common:text2img"),es.img2img.tooltip=zt.t("common:img2img"),es.unifiedCanvas.tooltip=zt.t("common:unifiedCanvas"),es.nodes.tooltip=zt.t("common:nodes"),es.postprocess.tooltip=zt.t("common:postProcessing"),es.training.tooltip=zt.t("common:training")}function ERe(){const e=he(K8e),t=he(o=>o.lightbox.isLightboxOpen);J8e(kRe);const n=Me();Je("1",()=>{n(qo(0))}),Je("2",()=>{n(qo(1))}),Je("3",()=>{n(qo(2))}),Je("4",()=>{n(qo(3))}),Je("5",()=>{n(qo(4))}),Je("6",()=>{n(qo(5))}),Je("z",()=>{n(Bm(!t))},[t]);const r=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(uo,{hasArrow:!0,label:es[a].tooltip,placement:"right",children:y.jsx(aW,{children:es[a].title})},a))}),o},i=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(iW,{className:"app-tabs-panel",children:es[a].workarea},a))}),o};return y.jsxs(rW,{isLazy:!0,className:"app-tabs",variant:"unstyled",defaultIndex:e,index:e,onChange:o=>{n(qo(o))},children:[y.jsx("div",{className:"app-tabs-list",children:r()}),y.jsx(oW,{className:"app-tabs-panels",children:t?y.jsx(_Ae,{}):i()})]})}var PRe=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Uy(e,t){var n=TRe(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function TRe(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),i=PRe.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var LRe=[".DS_Store","Thumbs.db"];function ARe(e){return m0(this,void 0,void 0,function(){return v0(this,function(t){return hS(e)&&ORe(e.dataTransfer)?[2,DRe(e.dataTransfer,e.type)]:MRe(e)?[2,IRe(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,RRe(e)]:[2,[]]})})}function ORe(e){return hS(e)}function MRe(e){return hS(e)&&hS(e.target)}function hS(e){return typeof e=="object"&&e!==null}function IRe(e){return J8(e.target.files).map(function(t){return Uy(t)})}function RRe(e){return m0(this,void 0,void 0,function(){var t;return v0(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return Uy(r)})]}})})}function DRe(e,t){return m0(this,void 0,void 0,function(){var n,r;return v0(this,function(i){switch(i.label){case 0:return e.items?(n=J8(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(NRe))]):[3,2];case 1:return r=i.sent(),[2,dN(YY(r))];case 2:return[2,dN(J8(e.files).map(function(o){return Uy(o)}))]}})})}function dN(e){return e.filter(function(t){return LRe.indexOf(t.name)===-1})}function J8(e){if(e===null)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,mN(n)];if(e.sizen)return[!1,mN(n)]}return[!0,null]}function Sh(e){return e!=null}function QRe(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(l){var u=QY(l,n),d=ay(u,1),h=d[0],m=JY(l,r,i),v=ay(m,1),b=v[0],S=s?s(l):null;return h&&b&&!S})}function pS(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Xb(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function yN(e){e.preventDefault()}function JRe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function eDe(e){return e.indexOf("Edge/")!==-1}function tDe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return JRe(e)||eDe(e)}function Il(){for(var e=arguments.length,t=new Array(e),n=0;n1?i-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yDe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var lT=w.forwardRef(function(e,t){var n=e.children,r=gS(e,sDe),i=iK(r),o=i.open,a=gS(i,lDe);return w.useImperativeHandle(t,function(){return{open:o}},[o]),N.createElement(w.Fragment,null,n(Cr(Cr({},a),{},{open:o})))});lT.displayName="Dropzone";var rK={disabled:!1,getFilesFromEvent:ARe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};lT.defaultProps=rK;lT.propTypes={children:jn.func,accept:jn.objectOf(jn.arrayOf(jn.string)),multiple:jn.bool,preventDropOnDocument:jn.bool,noClick:jn.bool,noKeyboard:jn.bool,noDrag:jn.bool,noDragEventsBubbling:jn.bool,minSize:jn.number,maxSize:jn.number,maxFiles:jn.number,disabled:jn.bool,getFilesFromEvent:jn.func,onFileDialogCancel:jn.func,onFileDialogOpen:jn.func,useFsAccessApi:jn.bool,autoFocus:jn.bool,onDragEnter:jn.func,onDragLeave:jn.func,onDragOver:jn.func,onDrop:jn.func,onDropAccepted:jn.func,onDropRejected:jn.func,onError:jn.func,validator:jn.func};var r_={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function iK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Cr(Cr({},rK),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,m=t.onDrop,v=t.onDropAccepted,b=t.onDropRejected,S=t.onFileDialogCancel,k=t.onFileDialogOpen,E=t.useFsAccessApi,_=t.autoFocus,T=t.preventDropOnDocument,A=t.noClick,I=t.noKeyboard,R=t.noDrag,D=t.noDragEventsBubbling,j=t.onError,z=t.validator,V=w.useMemo(function(){return iDe(n)},[n]),K=w.useMemo(function(){return rDe(n)},[n]),te=w.useMemo(function(){return typeof k=="function"?k:SN},[k]),q=w.useMemo(function(){return typeof S=="function"?S:SN},[S]),$=w.useRef(null),U=w.useRef(null),X=w.useReducer(bDe,r_),Z=UC(X,2),W=Z[0],Q=Z[1],ie=W.isFocused,fe=W.isFileDialogActive,Se=w.useRef(typeof window<"u"&&window.isSecureContext&&E&&nDe()),Pe=function(){!Se.current&&fe&&setTimeout(function(){if(U.current){var Ne=U.current.files;Ne.length||(Q({type:"closeDialog"}),q())}},300)};w.useEffect(function(){return window.addEventListener("focus",Pe,!1),function(){window.removeEventListener("focus",Pe,!1)}},[U,fe,q,Se]);var ye=w.useRef([]),We=function(Ne){$.current&&$.current.contains(Ne.target)||(Ne.preventDefault(),ye.current=[])};w.useEffect(function(){return T&&(document.addEventListener("dragover",yN,!1),document.addEventListener("drop",We,!1)),function(){T&&(document.removeEventListener("dragover",yN),document.removeEventListener("drop",We))}},[$,T]),w.useEffect(function(){return!r&&_&&$.current&&$.current.focus(),function(){}},[$,_,r]);var De=w.useCallback(function(xe){j?j(xe):console.error(xe)},[j]),ot=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[].concat(dDe(ye.current),[xe.target]),Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){if(!(pS(xe)&&!D)){var Ct=Ne.length,Dt=Ct>0&&QRe({files:Ne,accept:V,minSize:a,maxSize:o,multiple:s,maxFiles:l,validator:z}),Te=Ct>0&&!Dt;Q({isDragAccept:Dt,isDragReject:Te,isDragActive:!0,type:"setDraggedFiles"}),u&&u(xe)}}).catch(function(Ne){return De(Ne)})},[i,u,De,D,V,a,o,s,l,z]),He=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=Xb(xe);if(Ne&&xe.dataTransfer)try{xe.dataTransfer.dropEffect="copy"}catch{}return Ne&&h&&h(xe),!1},[h,D]),Be=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=ye.current.filter(function(Dt){return $.current&&$.current.contains(Dt)}),Ct=Ne.indexOf(xe.target);Ct!==-1&&Ne.splice(Ct,1),ye.current=Ne,!(Ne.length>0)&&(Q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Xb(xe)&&d&&d(xe))},[$,d,D]),wt=w.useCallback(function(xe,Ne){var Ct=[],Dt=[];xe.forEach(function(Te){var At=QY(Te,V),$e=UC(At,2),vt=$e[0],tn=$e[1],Rn=JY(Te,a,o),Xe=UC(Rn,2),xt=Xe[0],ft=Xe[1],Ht=z?z(Te):null;if(vt&&xt&&!Ht)Ct.push(Te);else{var nn=[tn,ft];Ht&&(nn=nn.concat(Ht)),Dt.push({file:Te,errors:nn.filter(function(pr){return pr})})}}),(!s&&Ct.length>1||s&&l>=1&&Ct.length>l)&&(Ct.forEach(function(Te){Dt.push({file:Te,errors:[ZRe]})}),Ct.splice(0)),Q({acceptedFiles:Ct,fileRejections:Dt,type:"setFiles"}),m&&m(Ct,Dt,Ne),Dt.length>0&&b&&b(Dt,Ne),Ct.length>0&&v&&v(Ct,Ne)},[Q,s,V,a,o,l,m,v,b,z]),st=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[],Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){pS(xe)&&!D||wt(Ne,xe)}).catch(function(Ne){return De(Ne)}),Q({type:"reset"})},[i,wt,De,D]),mt=w.useCallback(function(){if(Se.current){Q({type:"openDialog"}),te();var xe={multiple:s,types:K};window.showOpenFilePicker(xe).then(function(Ne){return i(Ne)}).then(function(Ne){wt(Ne,null),Q({type:"closeDialog"})}).catch(function(Ne){oDe(Ne)?(q(Ne),Q({type:"closeDialog"})):aDe(Ne)?(Se.current=!1,U.current?(U.current.value=null,U.current.click()):De(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):De(Ne)});return}U.current&&(Q({type:"openDialog"}),te(),U.current.value=null,U.current.click())},[Q,te,q,E,wt,De,K,s]),St=w.useCallback(function(xe){!$.current||!$.current.isEqualNode(xe.target)||(xe.key===" "||xe.key==="Enter"||xe.keyCode===32||xe.keyCode===13)&&(xe.preventDefault(),mt())},[$,mt]),Le=w.useCallback(function(){Q({type:"focus"})},[]),lt=w.useCallback(function(){Q({type:"blur"})},[]),Mt=w.useCallback(function(){A||(tDe()?setTimeout(mt,0):mt())},[A,mt]),ut=function(Ne){return r?null:Ne},_t=function(Ne){return I?null:ut(Ne)},ln=function(Ne){return R?null:ut(Ne)},ae=function(Ne){D&&Ne.stopPropagation()},Re=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.role,Te=xe.onKeyDown,At=xe.onFocus,$e=xe.onBlur,vt=xe.onClick,tn=xe.onDragEnter,Rn=xe.onDragOver,Xe=xe.onDragLeave,xt=xe.onDrop,ft=gS(xe,uDe);return Cr(Cr(n_({onKeyDown:_t(Il(Te,St)),onFocus:_t(Il(At,Le)),onBlur:_t(Il($e,lt)),onClick:ut(Il(vt,Mt)),onDragEnter:ln(Il(tn,ot)),onDragOver:ln(Il(Rn,He)),onDragLeave:ln(Il(Xe,Be)),onDrop:ln(Il(xt,st)),role:typeof Dt=="string"&&Dt!==""?Dt:"presentation"},Ct,$),!r&&!I?{tabIndex:0}:{}),ft)}},[$,St,Le,lt,Mt,ot,He,Be,st,I,R,r]),Ye=w.useCallback(function(xe){xe.stopPropagation()},[]),Ke=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.onChange,Te=xe.onClick,At=gS(xe,cDe),$e=n_({accept:V,multiple:s,type:"file",style:{display:"none"},onChange:ut(Il(Dt,st)),onClick:ut(Il(Te,Ye)),tabIndex:-1},Ct,U);return Cr(Cr({},$e),At)}},[U,n,s,st,r]);return Cr(Cr({},W),{},{isFocused:ie&&!r,getRootProps:Re,getInputProps:Ke,rootRef:$,inputRef:U,open:ut(mt)})}function bDe(e,t){switch(t.type){case"focus":return Cr(Cr({},e),{},{isFocused:!0});case"blur":return Cr(Cr({},e),{},{isFocused:!1});case"openDialog":return Cr(Cr({},r_),{},{isFileDialogActive:!0});case"closeDialog":return Cr(Cr({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Cr(Cr({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Cr(Cr({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Cr({},r_);default:return e}}function SN(){}const SDe=e=>{const{isDragAccept:t,isDragReject:n,overlaySecondaryText:r,setIsHandlingUpload:i}=e;return Je("esc",()=>{i(!1)}),y.jsxs("div",{className:"dropzone-container",children:[t&&y.jsx("div",{className:"dropzone-overlay is-drag-accept",children:y.jsxs(Dh,{size:"lg",children:["Upload Image",r]})}),n&&y.jsxs("div",{className:"dropzone-overlay is-drag-reject",children:[y.jsx(Dh,{size:"lg",children:"Invalid Upload"}),y.jsx(Dh,{size:"md",children:"Must be single JPEG or PNG image"})]})]})},xDe=e=>{const{children:t}=e,n=Me(),r=he(Or),i=Ry({}),{t:o}=Ve(),[a,s]=w.useState(!1),{setOpenUploader:l}=xP(),u=w.useCallback(T=>{s(!0);const A=T.errors.reduce((I,R)=>`${I} +${R.message}`,"");i({title:o("toast:uploadFailed"),description:A,status:"error",isClosable:!0})},[o,i]),d=w.useCallback(async T=>{n(hD({imageFile:T}))},[n]),h=w.useCallback((T,A)=>{A.forEach(I=>{u(I)}),T.forEach(I=>{d(I)})},[d,u]),{getRootProps:m,getInputProps:v,isDragAccept:b,isDragReject:S,isDragActive:k,open:E}=iK({accept:{"image/png":[".png"],"image/jpeg":[".jpg",".jpeg",".png"]},noClick:!0,onDrop:h,onDragOver:()=>s(!0),maxFiles:1});l(E),w.useEffect(()=>{const T=A=>{var j;const I=(j=A.clipboardData)==null?void 0:j.items;if(!I)return;const R=[];for(const z of I)z.kind==="file"&&["image/png","image/jpg"].includes(z.type)&&R.push(z);if(!R.length)return;if(A.stopImmediatePropagation(),R.length>1){i({description:o("toast:uploadFailedMultipleImagesDesc"),status:"error",isClosable:!0});return}const D=R[0].getAsFile();if(!D){i({description:o("toast:uploadFailedUnableToLoadDesc"),status:"error",isClosable:!0});return}n(hD({imageFile:D}))};return document.addEventListener("paste",T),()=>{document.removeEventListener("paste",T)}},[o,n,i,r]);const _=["img2img","unifiedCanvas"].includes(r)?` to ${es[r].tooltip}`:"";return y.jsx(SP.Provider,{value:E,children:y.jsxs("div",{...m({style:{}}),onKeyDown:T=>{T.key},children:[y.jsx("input",{...v()}),t,k&&a&&y.jsx(SDe,{isDragAccept:b,isDragReject:S,overlaySecondaryText:_,setIsHandlingUpload:s})]})})},wDe=at(ir,e=>e.log,{memoizeOptions:{resultEqualityCheck:(e,t)=>e.length===t.length}}),CDe=at(ir,e=>({shouldShowLogViewer:e.shouldShowLogViewer,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),_De=()=>{const e=Me(),t=he(wDe),{shouldShowLogViewer:n,hasError:r,wasErrorSeen:i}=he(CDe),[o,a]=w.useState(!0),s=w.useRef(null);w.useLayoutEffect(()=>{s.current!==null&&o&&(s.current.scrollTop=s.current.scrollHeight)},[o,t,n]);const l=()=>{e($U()),e(kC(!n))};Je("`",()=>{e(kC(!n))},[n]),Je("esc",()=>{e(kC(!1))});const u=()=>{s.current&&o&&s.current.scrollTop{const{timestamp:m,message:v,level:b}=d;return y.jsxs("div",{className:`console-entry console-${b}-color`,children:[y.jsxs("p",{className:"console-timestamp",children:[m,":"]}),y.jsx("p",{className:"console-message",children:v})]},h)})})}),n&&y.jsx(uo,{hasArrow:!0,label:o?"Autoscroll On":"Autoscroll Off",children:y.jsx(ss,{className:"console-autoscroll-icon-button","data-autoscroll-enabled":o,size:"sm","aria-label":"Toggle autoscroll",variant:"solid",icon:y.jsx(Qke,{}),onClick:()=>a(!o)})}),y.jsx(uo,{hasArrow:!0,label:n?"Hide Console":"Show Console",children:y.jsx(ss,{className:"console-toggle-icon-button","data-error-seen":r||!i,size:"sm",position:"fixed",variant:"solid","aria-label":"Toggle Log Viewer",icon:n?y.jsx(hEe,{}):y.jsx(pq,{}),onClick:l})})]})},kDe=at(ir,e=>({isProcessing:e.isProcessing,currentStep:e.currentStep,totalSteps:e.totalSteps,currentStatusHasSteps:e.currentStatusHasSteps}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EDe=()=>{const{isProcessing:e,currentStep:t,totalSteps:n,currentStatusHasSteps:r}=he(kDe),i=t?Math.round(t*100/n):0;return y.jsx($V,{value:i,isIndeterminate:e&&!r,className:"progress-bar"})};function PDe(e){const{title:t,hotkey:n,description:r}=e;return y.jsxs("div",{className:"hotkey-modal-item",children:[y.jsxs("div",{className:"hotkey-info",children:[y.jsx("p",{className:"hotkey-title",children:t}),r&&y.jsx("p",{className:"hotkey-description",children:r})]}),y.jsx("div",{className:"hotkey-key",children:n})]})}function TDe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),{t:i}=Ve(),o=[{title:i("hotkeys:invoke.title"),desc:i("hotkeys:invoke.desc"),hotkey:"Ctrl+Enter"},{title:i("hotkeys:cancel.title"),desc:i("hotkeys:cancel.desc"),hotkey:"Shift+X"},{title:i("hotkeys:focusPrompt.title"),desc:i("hotkeys:focusPrompt.desc"),hotkey:"Alt+A"},{title:i("hotkeys:toggleOptions.title"),desc:i("hotkeys:toggleOptions.desc"),hotkey:"O"},{title:i("hotkeys:pinOptions.title"),desc:i("hotkeys:pinOptions.desc"),hotkey:"Shift+O"},{title:i("hotkeys:toggleViewer.title"),desc:i("hotkeys:toggleViewer.desc"),hotkey:"Z"},{title:i("hotkeys:toggleGallery.title"),desc:i("hotkeys:toggleGallery.desc"),hotkey:"G"},{title:i("hotkeys:maximizeWorkSpace.title"),desc:i("hotkeys:maximizeWorkSpace.desc"),hotkey:"F"},{title:i("hotkeys:changeTabs.title"),desc:i("hotkeys:changeTabs.desc"),hotkey:"1-5"},{title:i("hotkeys:consoleToggle.title"),desc:i("hotkeys:consoleToggle.desc"),hotkey:"`"}],a=[{title:i("hotkeys:setPrompt.title"),desc:i("hotkeys:setPrompt.desc"),hotkey:"P"},{title:i("hotkeys:setSeed.title"),desc:i("hotkeys:setSeed.desc"),hotkey:"S"},{title:i("hotkeys:setParameters.title"),desc:i("hotkeys:setParameters.desc"),hotkey:"A"},{title:i("hotkeys:restoreFaces.title"),desc:i("hotkeys:restoreFaces.desc"),hotkey:"Shift+R"},{title:i("hotkeys:upscale.title"),desc:i("hotkeys:upscale.desc"),hotkey:"Shift+U"},{title:i("hotkeys:showInfo.title"),desc:i("hotkeys:showInfo.desc"),hotkey:"I"},{title:i("hotkeys:sendToImageToImage.title"),desc:i("hotkeys:sendToImageToImage.desc"),hotkey:"Shift+I"},{title:i("hotkeys:deleteImage.title"),desc:i("hotkeys:deleteImage.desc"),hotkey:"Del"},{title:i("hotkeys:closePanels.title"),desc:i("hotkeys:closePanels.desc"),hotkey:"Esc"}],s=[{title:i("hotkeys:previousImage.title"),desc:i("hotkeys:previousImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextImage.title"),desc:i("hotkeys:nextImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:toggleGalleryPin.title"),desc:i("hotkeys:toggleGalleryPin.desc"),hotkey:"Shift+G"},{title:i("hotkeys:increaseGalleryThumbSize.title"),desc:i("hotkeys:increaseGalleryThumbSize.desc"),hotkey:"Shift+Up"},{title:i("hotkeys:decreaseGalleryThumbSize.title"),desc:i("hotkeys:decreaseGalleryThumbSize.desc"),hotkey:"Shift+Down"}],l=[{title:i("hotkeys:selectBrush.title"),desc:i("hotkeys:selectBrush.desc"),hotkey:"B"},{title:i("hotkeys:selectEraser.title"),desc:i("hotkeys:selectEraser.desc"),hotkey:"E"},{title:i("hotkeys:decreaseBrushSize.title"),desc:i("hotkeys:decreaseBrushSize.desc"),hotkey:"["},{title:i("hotkeys:increaseBrushSize.title"),desc:i("hotkeys:increaseBrushSize.desc"),hotkey:"]"},{title:i("hotkeys:decreaseBrushOpacity.title"),desc:i("hotkeys:decreaseBrushOpacity.desc"),hotkey:"Shift + ["},{title:i("hotkeys:increaseBrushOpacity.title"),desc:i("hotkeys:increaseBrushOpacity.desc"),hotkey:"Shift + ]"},{title:i("hotkeys:moveTool.title"),desc:i("hotkeys:moveTool.desc"),hotkey:"V"},{title:i("hotkeys:fillBoundingBox.title"),desc:i("hotkeys:fillBoundingBox.desc"),hotkey:"Shift + F"},{title:i("hotkeys:eraseBoundingBox.title"),desc:i("hotkeys:eraseBoundingBox.desc"),hotkey:"Delete / Backspace"},{title:i("hotkeys:colorPicker.title"),desc:i("hotkeys:colorPicker.desc"),hotkey:"C"},{title:i("hotkeys:toggleSnap.title"),desc:i("hotkeys:toggleSnap.desc"),hotkey:"N"},{title:i("hotkeys:quickToggleMove.title"),desc:i("hotkeys:quickToggleMove.desc"),hotkey:"Hold Space"},{title:i("hotkeys:toggleLayer.title"),desc:i("hotkeys:toggleLayer.desc"),hotkey:"Q"},{title:i("hotkeys:clearMask.title"),desc:i("hotkeys:clearMask.desc"),hotkey:"Shift+C"},{title:i("hotkeys:hideMask.title"),desc:i("hotkeys:hideMask.desc"),hotkey:"H"},{title:i("hotkeys:showHideBoundingBox.title"),desc:i("hotkeys:showHideBoundingBox.desc"),hotkey:"Shift+H"},{title:i("hotkeys:mergeVisible.title"),desc:i("hotkeys:mergeVisible.desc"),hotkey:"Shift+M"},{title:i("hotkeys:saveToGallery.title"),desc:i("hotkeys:saveToGallery.desc"),hotkey:"Shift+S"},{title:i("hotkeys:copyToClipboard.title"),desc:i("hotkeys:copyToClipboard.desc"),hotkey:"Ctrl+C"},{title:i("hotkeys:downloadImage.title"),desc:i("hotkeys:downloadImage.desc"),hotkey:"Shift+D"},{title:i("hotkeys:undoStroke.title"),desc:i("hotkeys:undoStroke.desc"),hotkey:"Ctrl+Z"},{title:i("hotkeys:redoStroke.title"),desc:i("hotkeys:redoStroke.desc"),hotkey:"Ctrl+Shift+Z, Ctrl+Y"},{title:i("hotkeys:resetView.title"),desc:i("hotkeys:resetView.desc"),hotkey:"R"},{title:i("hotkeys:previousStagingImage.title"),desc:i("hotkeys:previousStagingImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextStagingImage.title"),desc:i("hotkeys:nextStagingImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:acceptStagingImage.title"),desc:i("hotkeys:acceptStagingImage.desc"),hotkey:"Enter"}],u=d=>{const h=[];return d.forEach((m,v)=>{h.push(y.jsx(PDe,{title:m.title,description:m.desc,hotkey:m.hotkey},v))}),y.jsx("div",{className:"hotkey-modal-category",children:h})};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:" modal hotkeys-modal",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx("h1",{children:"Keyboard Shorcuts"}),y.jsx("div",{className:"hotkeys-modal-items",children:y.jsxs(ok,{allowMultiple:!0,children:[y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:appHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(o)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:generalHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(a)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:galleryHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(s)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:unifiedCanvasHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(l)})]})]})})]})]})]})}var xN=Array.isArray,wN=Object.keys,LDe=Object.prototype.hasOwnProperty,ADe=typeof Element<"u";function i_(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=xN(e),r=xN(t),i,o,a;if(n&&r){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!i_(e[i],t[i]))return!1;return!0}if(n!=r)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var h=wN(e);if(o=h.length,o!==wN(t).length)return!1;for(i=o;i--!==0;)if(!LDe.call(t,h[i]))return!1;if(ADe&&e instanceof Element&&t instanceof Element)return e===t;for(i=o;i--!==0;)if(a=h[i],!(a==="_owner"&&e.$$typeof)&&!i_(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var md=function(t,n){try{return i_(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}},ODe=function(t){return MDe(t)&&!IDe(t)};function MDe(e){return!!e&&typeof e=="object"}function IDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||NDe(e)}var RDe=typeof Symbol=="function"&&Symbol.for,DDe=RDe?Symbol.for("react.element"):60103;function NDe(e){return e.$$typeof===DDe}function jDe(e){return Array.isArray(e)?[]:{}}function mS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?sy(jDe(e),e,t):e}function BDe(e,t,n){return e.concat(t).map(function(r){return mS(r,n)})}function $De(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(i){r[i]=mS(e[i],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=mS(t[i],n):r[i]=sy(e[i],t[i],n)}),r}function sy(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||BDe,n.isMergeableObject=n.isMergeableObject||ODe;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):$De(e,t,n):mS(t,n)}sy.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return sy(r,i,n)},{})};var o_=sy,FDe=typeof global=="object"&&global&&global.Object===Object&&global;const oK=FDe;var zDe=typeof self=="object"&&self&&self.Object===Object&&self,HDe=oK||zDe||Function("return this")();const mu=HDe;var VDe=mu.Symbol;const ef=VDe;var aK=Object.prototype,WDe=aK.hasOwnProperty,UDe=aK.toString,gv=ef?ef.toStringTag:void 0;function GDe(e){var t=WDe.call(e,gv),n=e[gv];try{e[gv]=void 0;var r=!0}catch{}var i=UDe.call(e);return r&&(t?e[gv]=n:delete e[gv]),i}var qDe=Object.prototype,YDe=qDe.toString;function KDe(e){return YDe.call(e)}var XDe="[object Null]",ZDe="[object Undefined]",CN=ef?ef.toStringTag:void 0;function xp(e){return e==null?e===void 0?ZDe:XDe:CN&&CN in Object(e)?GDe(e):KDe(e)}function sK(e,t){return function(n){return e(t(n))}}var QDe=sK(Object.getPrototypeOf,Object);const uT=QDe;function wp(e){return e!=null&&typeof e=="object"}var JDe="[object Object]",eNe=Function.prototype,tNe=Object.prototype,lK=eNe.toString,nNe=tNe.hasOwnProperty,rNe=lK.call(Object);function _N(e){if(!wp(e)||xp(e)!=JDe)return!1;var t=uT(e);if(t===null)return!0;var n=nNe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&lK.call(n)==rNe}function iNe(){this.__data__=[],this.size=0}function uK(e,t){return e===t||e!==e&&t!==t}function fw(e,t){for(var n=e.length;n--;)if(uK(e[n][0],t))return n;return-1}var oNe=Array.prototype,aNe=oNe.splice;function sNe(e){var t=this.__data__,n=fw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():aNe.call(t,n,1),--this.size,!0}function lNe(e){var t=this.__data__,n=fw(t,e);return n<0?void 0:t[n][1]}function uNe(e){return fw(this.__data__,e)>-1}function cNe(e,t){var n=this.__data__,r=fw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=vje}var yje="[object Arguments]",bje="[object Array]",Sje="[object Boolean]",xje="[object Date]",wje="[object Error]",Cje="[object Function]",_je="[object Map]",kje="[object Number]",Eje="[object Object]",Pje="[object RegExp]",Tje="[object Set]",Lje="[object String]",Aje="[object WeakMap]",Oje="[object ArrayBuffer]",Mje="[object DataView]",Ije="[object Float32Array]",Rje="[object Float64Array]",Dje="[object Int8Array]",Nje="[object Int16Array]",jje="[object Int32Array]",Bje="[object Uint8Array]",$je="[object Uint8ClampedArray]",Fje="[object Uint16Array]",zje="[object Uint32Array]",sr={};sr[Ije]=sr[Rje]=sr[Dje]=sr[Nje]=sr[jje]=sr[Bje]=sr[$je]=sr[Fje]=sr[zje]=!0;sr[yje]=sr[bje]=sr[Oje]=sr[Sje]=sr[Mje]=sr[xje]=sr[wje]=sr[Cje]=sr[_je]=sr[kje]=sr[Eje]=sr[Pje]=sr[Tje]=sr[Lje]=sr[Aje]=!1;function Hje(e){return wp(e)&&mK(e.length)&&!!sr[xp(e)]}function cT(e){return function(t){return e(t)}}var vK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f2=vK&&typeof module=="object"&&module&&!module.nodeType&&module,Vje=f2&&f2.exports===vK,qC=Vje&&oK.process,Wje=function(){try{var e=f2&&f2.require&&f2.require("util").types;return e||qC&&qC.binding&&qC.binding("util")}catch{}}();const u0=Wje;var AN=u0&&u0.isTypedArray,Uje=AN?cT(AN):Hje;const Gje=Uje;var qje=Object.prototype,Yje=qje.hasOwnProperty;function yK(e,t){var n=qy(e),r=!n&&lje(e),i=!n&&!r&&gK(e),o=!n&&!r&&!i&&Gje(e),a=n||r||i||o,s=a?rje(e.length,String):[],l=s.length;for(var u in e)(t||Yje.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mje(u,l)))&&s.push(u);return s}var Kje=Object.prototype;function dT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Kje;return e===n}var Xje=sK(Object.keys,Object);const Zje=Xje;var Qje=Object.prototype,Jje=Qje.hasOwnProperty;function eBe(e){if(!dT(e))return Zje(e);var t=[];for(var n in Object(e))Jje.call(e,n)&&n!="constructor"&&t.push(n);return t}function bK(e){return e!=null&&mK(e.length)&&!cK(e)}function fT(e){return bK(e)?yK(e):eBe(e)}function tBe(e,t){return e&&pw(t,fT(t),e)}function nBe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var rBe=Object.prototype,iBe=rBe.hasOwnProperty;function oBe(e){if(!Gy(e))return nBe(e);var t=dT(e),n=[];for(var r in e)r=="constructor"&&(t||!iBe.call(e,r))||n.push(r);return n}function hT(e){return bK(e)?yK(e,!0):oBe(e)}function aBe(e,t){return e&&pw(t,hT(t),e)}var SK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ON=SK&&typeof module=="object"&&module&&!module.nodeType&&module,sBe=ON&&ON.exports===SK,MN=sBe?mu.Buffer:void 0,IN=MN?MN.allocUnsafe:void 0;function lBe(e,t){if(t)return e.slice();var n=e.length,r=IN?IN(n):new e.constructor(n);return e.copy(r),r}function xK(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[i]=e[i]);return n}function KN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var XN=function(t){return Array.isArray(t)&&t.length===0},Go=function(t){return typeof t=="function"},gw=function(t){return t!==null&&typeof t=="object"},aFe=function(t){return String(Math.floor(Number(t)))===t},YC=function(t){return Object.prototype.toString.call(t)==="[object String]"},MK=function(t){return w.Children.count(t)===0},KC=function(t){return gw(t)&&Go(t.then)};function Vi(e,t,n,r){r===void 0&&(r=0);for(var i=OK(t);e&&r=0?[]:{}}}return(o===0?e:i)[a[o]]===n?e:(n===void 0?delete i[a[o]]:i[a[o]]=n,o===0&&n===void 0&&delete r[a[o]],r)}function IK(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(e);i0?Re.map(function(Ke){return j(Ke,Vi(ae,Ke))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ye).then(function(Ke){return Ke.reduce(function(xe,Ne,Ct){return Ne==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ne&&(xe=iu(xe,Re[Ct],Ne)),xe},{})})},[j]),V=w.useCallback(function(ae){return Promise.all([z(ae),m.validationSchema?D(ae):{},m.validate?R(ae):{}]).then(function(Re){var Ye=Re[0],Ke=Re[1],xe=Re[2],Ne=o_.all([Ye,Ke,xe],{arrayMerge:fFe});return Ne})},[m.validate,m.validationSchema,z,R,D]),K=Ka(function(ae){return ae===void 0&&(ae=A.values),I({type:"SET_ISVALIDATING",payload:!0}),V(ae).then(function(Re){return E.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:Re})),Re})});w.useEffect(function(){a&&E.current===!0&&md(v.current,m.initialValues)&&K(v.current)},[a,K]);var te=w.useCallback(function(ae){var Re=ae&&ae.values?ae.values:v.current,Ye=ae&&ae.errors?ae.errors:b.current?b.current:m.initialErrors||{},Ke=ae&&ae.touched?ae.touched:S.current?S.current:m.initialTouched||{},xe=ae&&ae.status?ae.status:k.current?k.current:m.initialStatus;v.current=Re,b.current=Ye,S.current=Ke,k.current=xe;var Ne=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!ae&&!!ae.isSubmitting,errors:Ye,touched:Ke,status:xe,values:Re,isValidating:!!ae&&!!ae.isValidating,submitCount:ae&&ae.submitCount&&typeof ae.submitCount=="number"?ae.submitCount:0}})};if(m.onReset){var Ct=m.onReset(A.values,st);KC(Ct)?Ct.then(Ne):Ne()}else Ne()},[m.initialErrors,m.initialStatus,m.initialTouched]);w.useEffect(function(){E.current===!0&&!md(v.current,m.initialValues)&&(u&&(v.current=m.initialValues,te()),a&&K(v.current))},[u,m.initialValues,te,a,K]),w.useEffect(function(){u&&E.current===!0&&!md(b.current,m.initialErrors)&&(b.current=m.initialErrors||uh,I({type:"SET_ERRORS",payload:m.initialErrors||uh}))},[u,m.initialErrors]),w.useEffect(function(){u&&E.current===!0&&!md(S.current,m.initialTouched)&&(S.current=m.initialTouched||Zb,I({type:"SET_TOUCHED",payload:m.initialTouched||Zb}))},[u,m.initialTouched]),w.useEffect(function(){u&&E.current===!0&&!md(k.current,m.initialStatus)&&(k.current=m.initialStatus,I({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]);var q=Ka(function(ae){if(_.current[ae]&&Go(_.current[ae].validate)){var Re=Vi(A.values,ae),Ye=_.current[ae].validate(Re);return KC(Ye)?(I({type:"SET_ISVALIDATING",payload:!0}),Ye.then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ye}}),Promise.resolve(Ye))}else if(m.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),D(A.values,ae).then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke[ae]}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),$=w.useCallback(function(ae,Re){var Ye=Re.validate;_.current[ae]={validate:Ye}},[]),U=w.useCallback(function(ae){delete _.current[ae]},[]),X=Ka(function(ae,Re){I({type:"SET_TOUCHED",payload:ae});var Ye=Re===void 0?i:Re;return Ye?K(A.values):Promise.resolve()}),Z=w.useCallback(function(ae){I({type:"SET_ERRORS",payload:ae})},[]),W=Ka(function(ae,Re){var Ye=Go(ae)?ae(A.values):ae;I({type:"SET_VALUES",payload:Ye});var Ke=Re===void 0?n:Re;return Ke?K(Ye):Promise.resolve()}),Q=w.useCallback(function(ae,Re){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Re}})},[]),ie=Ka(function(ae,Re,Ye){I({type:"SET_FIELD_VALUE",payload:{field:ae,value:Re}});var Ke=Ye===void 0?n:Ye;return Ke?K(iu(A.values,ae,Re)):Promise.resolve()}),fe=w.useCallback(function(ae,Re){var Ye=Re,Ke=ae,xe;if(!YC(ae)){ae.persist&&ae.persist();var Ne=ae.target?ae.target:ae.currentTarget,Ct=Ne.type,Dt=Ne.name,Te=Ne.id,At=Ne.value,$e=Ne.checked,vt=Ne.outerHTML,tn=Ne.options,Rn=Ne.multiple;Ye=Re||Dt||Te,Ke=/number|range/.test(Ct)?(xe=parseFloat(At),isNaN(xe)?"":xe):/checkbox/.test(Ct)?pFe(Vi(A.values,Ye),$e,At):tn&&Rn?hFe(tn):At}Ye&&ie(Ye,Ke)},[ie,A.values]),Se=Ka(function(ae){if(YC(ae))return function(Re){return fe(Re,ae)};fe(ae)}),Pe=Ka(function(ae,Re,Ye){Re===void 0&&(Re=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:ae,value:Re}});var Ke=Ye===void 0?i:Ye;return Ke?K(A.values):Promise.resolve()}),ye=w.useCallback(function(ae,Re){ae.persist&&ae.persist();var Ye=ae.target,Ke=Ye.name,xe=Ye.id,Ne=Ye.outerHTML,Ct=Re||Ke||xe;Pe(Ct,!0)},[Pe]),We=Ka(function(ae){if(YC(ae))return function(Re){return ye(Re,ae)};ye(ae)}),De=w.useCallback(function(ae){Go(ae)?I({type:"SET_FORMIK_STATE",payload:ae}):I({type:"SET_FORMIK_STATE",payload:function(){return ae}})},[]),ot=w.useCallback(function(ae){I({type:"SET_STATUS",payload:ae})},[]),He=w.useCallback(function(ae){I({type:"SET_ISSUBMITTING",payload:ae})},[]),Be=Ka(function(){return I({type:"SUBMIT_ATTEMPT"}),K().then(function(ae){var Re=ae instanceof Error,Ye=!Re&&Object.keys(ae).length===0;if(Ye){var Ke;try{if(Ke=mt(),Ke===void 0)return}catch(xe){throw xe}return Promise.resolve(Ke).then(function(xe){return E.current&&I({type:"SUBMIT_SUCCESS"}),xe}).catch(function(xe){if(E.current)throw I({type:"SUBMIT_FAILURE"}),xe})}else if(E.current&&(I({type:"SUBMIT_FAILURE"}),Re))throw ae})}),wt=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),Be().catch(function(Re){console.warn("Warning: An unhandled error was caught from submitForm()",Re)})}),st={resetForm:te,validateForm:K,validateField:q,setErrors:Z,setFieldError:Q,setFieldTouched:Pe,setFieldValue:ie,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,setFormikState:De,submitForm:Be},mt=Ka(function(){return d(A.values,st)}),St=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),te()}),Le=w.useCallback(function(ae){return{value:Vi(A.values,ae),error:Vi(A.errors,ae),touched:!!Vi(A.touched,ae),initialValue:Vi(v.current,ae),initialTouched:!!Vi(S.current,ae),initialError:Vi(b.current,ae)}},[A.errors,A.touched,A.values]),lt=w.useCallback(function(ae){return{setValue:function(Ye,Ke){return ie(ae,Ye,Ke)},setTouched:function(Ye,Ke){return Pe(ae,Ye,Ke)},setError:function(Ye){return Q(ae,Ye)}}},[ie,Pe,Q]),Mt=w.useCallback(function(ae){var Re=gw(ae),Ye=Re?ae.name:ae,Ke=Vi(A.values,Ye),xe={name:Ye,value:Ke,onChange:Se,onBlur:We};if(Re){var Ne=ae.type,Ct=ae.value,Dt=ae.as,Te=ae.multiple;Ne==="checkbox"?Ct===void 0?xe.checked=!!Ke:(xe.checked=!!(Array.isArray(Ke)&&~Ke.indexOf(Ct)),xe.value=Ct):Ne==="radio"?(xe.checked=Ke===Ct,xe.value=Ct):Dt==="select"&&Te&&(xe.value=xe.value||[],xe.multiple=!0)}return xe},[We,Se,A.values]),ut=w.useMemo(function(){return!md(v.current,A.values)},[v.current,A.values]),_t=w.useMemo(function(){return typeof s<"u"?ut?A.errors&&Object.keys(A.errors).length===0:s!==!1&&Go(s)?s(m):s:A.errors&&Object.keys(A.errors).length===0},[s,ut,A.errors,m]),ln=qn({},A,{initialValues:v.current,initialErrors:b.current,initialTouched:S.current,initialStatus:k.current,handleBlur:We,handleChange:Se,handleReset:St,handleSubmit:wt,resetForm:te,setErrors:Z,setFormikState:De,setFieldTouched:Pe,setFieldValue:ie,setFieldError:Q,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,submitForm:Be,validateForm:K,validateField:q,isValid:_t,dirty:ut,unregisterField:U,registerField:$,getFieldProps:Mt,getFieldMeta:Le,getFieldHelpers:lt,validateOnBlur:i,validateOnChange:n,validateOnMount:a});return ln}function Yy(e){var t=uFe(e),n=e.component,r=e.children,i=e.render,o=e.innerRef;return w.useImperativeHandle(o,function(){return t}),w.createElement(sFe,{value:t},n?w.createElement(n,t):i?i(t):r?Go(r)?r(t):MK(r)?null:w.Children.only(r):null)}function cFe(e){var t={};if(e.inner){if(e.inner.length===0)return iu(t,e.path,e.message);for(var i=e.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;Vi(t,a.path)||(t=iu(t,a.path,a.message))}}return t}function dFe(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=c_(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}function c_(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(i){return Array.isArray(i)===!0||_N(i)?c_(i):i!==""?i:void 0}):_N(e[r])?t[r]=c_(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function fFe(e,t,n){var r=e.slice();return t.forEach(function(o,a){if(typeof r[a]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(o);r[a]=l?o_(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[a]=o_(e[a],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function hFe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function pFe(e,t,n){if(typeof e=="boolean")return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var gFe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?w.useLayoutEffect:w.useEffect;function Ka(e){var t=w.useRef(e);return gFe(function(){t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;ir?i:r},0);return Array.from(qn({},t,{length:n+1}))}else return[]},SFe=function(e){oFe(t,e);function t(r){var i;return i=e.call(this,r)||this,i.updateArrayField=function(o,a,s){var l=i.props,u=l.name,d=l.formik.setFormikState;d(function(h){var m=typeof s=="function"?s:o,v=typeof a=="function"?a:o,b=iu(h.values,u,o(Vi(h.values,u))),S=s?m(Vi(h.errors,u)):void 0,k=a?v(Vi(h.touched,u)):void 0;return XN(S)&&(S=void 0),XN(k)&&(k=void 0),qn({},h,{values:b,errors:s?iu(h.errors,u,S):h.errors,touched:a?iu(h.touched,u,k):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(c0(a),[iFe(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(s){return yFe(s,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(s){return vFe(s,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(s){return XC(s,o,a)},function(s){return XC(s,o,null)},function(s){return XC(s,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(s){return bFe(s,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(s){var l=s?[o].concat(s):[o];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(KN(i)),i.pop=i.pop.bind(KN(i)),i}var n=t.prototype;return n.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!md(Vi(i.formik.values,i.name),Vi(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(i){var o;return this.updateArrayField(function(a){var s=a?c0(a):[];return o||(o=s[i]),Go(s.splice)&&s.splice(i,1),s},!0,!0),o},n.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},n.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},o=this.props,a=o.component,s=o.render,l=o.children,u=o.name,d=o.formik,h=Lh(d,["validate","validationSchema"]),m=qn({},i,{form:h,name:u});return a?w.createElement(a,m):s?s(m):l?typeof l=="function"?l(m):MK(l)?null:w.Children.only(l):null},t}(w.Component);SFe.defaultProps={validateOnChange:!0};const xFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),ZN=64,QN=2048;function wFe(){const{openModel:e,model_list:t}=he(xFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,default:!1,format:"ckpt"});w.useEffect(()=>{var l,u,d,h,m,v,b;if(e){const S=ke.pickBy(t,(k,E)=>ke.isEqual(E,e));a({name:e,description:(l=S[e])==null?void 0:l.description,config:(u=S[e])==null?void 0:u.config,weights:(d=S[e])==null?void 0:d.weights,vae:(h=S[e])==null?void 0:h.vae,width:(m=S[e])==null?void 0:m.width,height:(v=S[e])==null?void 0:v.height,default:(b=S[e])==null?void 0:b.default,format:"ckpt"})}},[t,e]);const s=l=>{r($y({...l,width:Number(l.width),height:Number(l.height)}))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.config&&d.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"lg"}),u.config&&d.config?y.jsx(ur,{children:u.config}):y.jsx(lr,{margin:0,children:i("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.weights&&d.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"lg"}),u.weights&&d.weights?y.jsx(ur,{children:u.weights}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.vae&&d.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"lg"}),u.vae&&d.vae?y.jsx(ur,{children:u.vae}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!u.width&&d.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:i("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:h,form:m})=>y.jsx(ra,{id:"width",name:"width",min:ZN,max:QN,step:64,value:m.values.width,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.width&&d.width?y.jsx(ur,{children:u.width}):y.jsx(lr,{margin:0,children:i("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.height&&d.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:i("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:h,form:m})=>y.jsx(ra,{id:"height",name:"height",min:ZN,max:QN,step:64,value:m.values.height,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.height&&d.height?y.jsx(ur,{children:u.height}):y.jsx(lr,{margin:0,children:i("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const CFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function _Fe(){const{openModel:e,model_list:t}=he(CFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",repo_id:"",path:"",vae:{repo_id:"",path:""},default:!1,format:"diffusers"});w.useEffect(()=>{var l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D;if(e){const j=ke.pickBy(t,(z,V)=>ke.isEqual(V,e));a({name:e,description:(l=j[e])==null?void 0:l.description,path:(u=j[e])!=null&&u.path&&((d=j[e])==null?void 0:d.path)!=="None"?(h=j[e])==null?void 0:h.path:"",repo_id:(m=j[e])!=null&&m.repo_id&&((v=j[e])==null?void 0:v.repo_id)!=="None"?(b=j[e])==null?void 0:b.repo_id:"",vae:{repo_id:(k=(S=j[e])==null?void 0:S.vae)!=null&&k.repo_id?(_=(E=j[e])==null?void 0:E.vae)==null?void 0:_.repo_id:"",path:(A=(T=j[e])==null?void 0:T.vae)!=null&&A.path?(R=(I=j[e])==null?void 0:I.vae)==null?void 0:R.path:""},default:(D=j[e])==null?void 0:D.default,format:"diffusers"})}},[t,e]);const s=l=>{const u=l;l.path===""&&delete u.path,l.repo_id===""&&delete u.repo_id,l.vae.path===""&&delete u.vae.path,l.vae.repo_id===""&&delete u.vae.repo_id,r($y(l))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>{var h,m,v,b,S,k,E,_,T,A;return y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.path&&d.path,isRequired:!0,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"lg"}),u.path&&d.path?y.jsx(ur,{children:u.path}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.repo_id&&d.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:i("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"lg"}),u.repo_id&&d.repo_id?y.jsx(ur,{children:u.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:repoIDValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((h=u.vae)!=null&&h.path)&&((m=d.vae)==null?void 0:m.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"lg"}),(v=u.vae)!=null&&v.path&&((b=d.vae)!=null&&b.path)?y.jsx(ur,{children:(S=u.vae)==null?void 0:S.path}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((k=u.vae)!=null&&k.repo_id)&&((E=d.vae)==null?void 0:E.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:i("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"lg"}),(_=u.vae)!=null&&_.repo_id&&((T=d.vae)!=null&&T.repo_id)?y.jsx(ur,{children:(A=u.vae)==null?void 0:A.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeRepoIDValidationMsg")})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})}})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const DK=at([ir],e=>{const{model_list:t}=e,n=[];return ke.forEach(t,r=>{n.push(r.weights)}),n});function kFe(){const{t:e}=Ve();return y.jsx(ko,{position:"absolute",zIndex:2,right:4,top:4,fontSize:"0.7rem",fontWeight:"bold",backgroundColor:"var(--accent-color)",padding:"0.2rem 0.5rem",borderRadius:"0.2rem",alignItems:"center",children:e("modelmanager:modelExists")})}function JN({model:e,modelsToAdd:t,setModelsToAdd:n}){const r=he(DK),i=o=>{t.includes(o.target.value)?n(ke.remove(t,a=>a!==o.target.value)):n([...t,o.target.value])};return y.jsxs(ko,{position:"relative",children:[r.includes(e.location)?y.jsx(kFe,{}):null,y.jsx(er,{value:e.name,label:y.jsx(y.Fragment,{children:y.jsxs(yn,{alignItems:"start",children:[y.jsx("p",{style:{fontWeight:"bold"},children:e.name}),y.jsx("p",{style:{fontStyle:"italic"},children:e.location})]})}),isChecked:t.includes(e.name),isDisabled:r.includes(e.location),onChange:i,padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",_checked:{backgroundColor:"var(--accent-color)",color:"var(--text-color)"},_disabled:{backgroundColor:"var(--background-color-secondary)"}})]})}function EFe(){const e=Me(),{t}=Ve(),n=he(S=>S.system.searchFolder),r=he(S=>S.system.foundModels),i=he(DK),o=he(S=>S.ui.shouldShowExistingModelsInSearch),a=he(S=>S.system.isProcessing),[s,l]=N.useState([]),u=()=>{e(FU(null)),e(zU(null)),l([])},d=S=>{e(dD(S.checkpointFolder))},h=()=>{l([]),r&&r.forEach(S=>{i.includes(S.location)||l(k=>[...k,S.name])})},m=()=>{l([])},v=()=>{const S=r==null?void 0:r.filter(k=>s.includes(k.name));S==null||S.forEach(k=>{const E={name:k.name,description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:k.location,vae:"",width:512,height:512,default:!1,format:"ckpt"};e($y(E))}),l([])},b=()=>{const S=[],k=[];return r&&r.forEach((E,_)=>{i.includes(E.location)?k.push(y.jsx(JN,{model:E,modelsToAdd:s,setModelsToAdd:l},_)):S.push(y.jsx(JN,{model:E,modelsToAdd:s,setModelsToAdd:l},_))}),y.jsxs(y.Fragment,{children:[S,o&&k]})};return y.jsxs(y.Fragment,{children:[n?y.jsxs(Ge,{flexDirection:"column",padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",rowGap:"0.5rem",position:"relative",children:[y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",backgroundColor:"var(--background-color-secondary)",padding:"0.2rem 1rem",width:"max-content",borderRadius:"0.2rem"},children:t("modelmanager:checkpointFolder")}),y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",maxWidth:"80%"},children:n}),y.jsx(Qe,{"aria-label":t("modelmanager:scanAgain"),tooltip:t("modelmanager:scanAgain"),icon:y.jsx(Gx,{}),position:"absolute",right:16,fontSize:18,disabled:a,onClick:()=>e(dD(n))}),y.jsx(Qe,{"aria-label":t("modelmanager:clearCheckpointFolder"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),position:"absolute",right:5,onClick:u})]}):y.jsx(Yy,{initialValues:{checkpointFolder:""},onSubmit:S=>{d(S)},children:({handleSubmit:S})=>y.jsx("form",{onSubmit:S,children:y.jsxs(wy,{columnGap:"0.5rem",children:[y.jsx(dn,{isRequired:!0,width:"max-content",children:y.jsx(dr,{as:kr,id:"checkpointFolder",name:"checkpointFolder",type:"text",width:"lg",size:"md",label:t("modelmanager:checkpointFolder")})}),y.jsx(Qe,{icon:y.jsx(zEe,{}),"aria-label":t("modelmanager:findModels"),tooltip:t("modelmanager:findModels"),type:"submit",disabled:a})]})})}),r&&y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",children:[y.jsxs(Ge,{justifyContent:"space-between",alignItems:"center",children:[y.jsxs("p",{children:[t("modelmanager:modelsFound"),": ",r.length]}),y.jsxs("p",{children:[t("modelmanager:selected"),": ",s.length]})]}),y.jsxs(Ge,{columnGap:"0.5rem",justifyContent:"space-between",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(cr,{isDisabled:s.length===r.length,onClick:h,children:t("modelmanager:selectAll")}),y.jsx(cr,{isDisabled:s.length===0,onClick:m,children:t("modelmanager:deselectAll")}),y.jsx(er,{label:t("modelmanager:showExisting"),isChecked:o,onChange:()=>e(fCe(!o))})]}),y.jsx(cr,{isDisabled:s.length===0,onClick:v,backgroundColor:s.length>0?"var(--accent-color) !important":"",children:t("modelmanager:addSelected")})]}),y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",maxHeight:"18rem",overflowY:"scroll",paddingRight:"1rem",paddingLeft:"0.2rem",borderRadius:"0.2rem",children:[r.length>0?s.length===0&&y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",margin:"0 0.5rem 0 1rem",textAlign:"center",backgroundColor:"var(--notice-color)",boxShadow:"0 0 200px 6px var(--notice-color)",marginTop:"1rem",width:"max-content",children:t("modelmanager:selectAndAdd")}):y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",textAlign:"center",backgroundColor:"var(--status-bad-color)",children:t("modelmanager:noModelsFound")}),b()]})]})]})}const ej=64,tj=2048;function PFe(){const e=Me(),{t}=Ve(),n=he(u=>u.system.isProcessing);function r(u){return/\s/.test(u)}function i(u){let d;return r(u)&&(d=t("modelmanager:cannotUseSpaces")),d}const o={name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,format:"ckpt",default:!1},a=u=>{e($y(u)),e(zh(null))},[s,l]=N.useState(!1);return y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(EFe,{}),y.jsx(er,{label:t("modelmanager:addManually"),isChecked:s,onChange:()=>l(!s)}),s&&y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:u,errors:d,touched:h})=>y.jsx("form",{onSubmit:u,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(fn,{fontSize:20,fontWeight:"bold",alignSelf:"start",children:t("modelmanager:manual")}),y.jsxs(dn,{isInvalid:!!d.name&&h.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl"}),d.name&&h.name?y.jsx(ur,{children:d.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.description&&h.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl"}),d.description&&h.description?y.jsx(ur,{children:d.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.config&&h.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"2xl"}),d.config&&h.config?y.jsx(ur,{children:d.config}):y.jsx(lr,{margin:0,children:t("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.weights&&h.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"2xl"}),d.weights&&h.weights?y.jsx(ur,{children:d.weights}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.vae&&h.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"2xl"}),d.vae&&h.vae?y.jsx(ur,{children:d.vae}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!d.width&&h.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:t("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:m,form:v})=>y.jsx(ra,{id:"width",name:"width",min:ej,max:tj,step:64,width:"90%",value:v.values.width,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.width&&h.width?y.jsx(ur,{children:d.width}):y.jsx(lr,{margin:0,children:t("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.height&&h.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:t("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:m,form:v})=>y.jsx(ra,{id:"height",name:"height",min:ej,max:tj,width:"90%",step:64,value:v.values.height,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.height&&h.height?y.jsx(ur,{children:d.height}):y.jsx(lr,{margin:0,children:t("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})})]})}function Qb({children:e}){return y.jsx(Ge,{flexDirection:"column",backgroundColor:"var(--background-color)",padding:"1rem 1rem",borderRadius:"0.5rem",rowGap:"1rem",width:"100%",children:e})}function TFe(){const e=Me(),{t}=Ve(),n=he(s=>s.system.isProcessing);function r(s){return/\s/.test(s)}function i(s){let l;return r(s)&&(l=t("modelmanager:cannotUseSpaces")),l}const o={name:"",description:"",repo_id:"",path:"",format:"diffusers",default:!1,vae:{repo_id:"",path:""}},a=s=>{const l=s;s.path===""&&delete l.path,s.repo_id===""&&delete l.repo_id,s.vae.path===""&&delete l.vae.path,s.vae.repo_id===""&&delete l.vae.repo_id,e($y(l)),e(zh(null))};return y.jsxs(Ge,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:s,errors:l,touched:u})=>{var d,h,m,v,b,S,k,E,_,T;return y.jsx("form",{onSubmit:s,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.name&&u.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl",isRequired:!0}),l.name&&u.name?y.jsx(ur,{children:l.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]})}),y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.description&&u.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl",isRequired:!0}),l.description&&u.description?y.jsx(ur,{children:l.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]})}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",fontSize:"sm",children:t("modelmanager:formMessageDiffusersModelLocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersModelLocationDesc")}),y.jsxs(dn,{isInvalid:!!l.path&&u.path,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"2xl"}),l.path&&u.path?y.jsx(ur,{children:l.path}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!l.repo_id&&u.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:t("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"2xl"}),l.repo_id&&u.repo_id?y.jsx(ur,{children:l.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:repoIDValidationMsg")})]})]})]}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",children:t("modelmanager:formMessageDiffusersVAELocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersVAELocationDesc")}),y.jsxs(dn,{isInvalid:!!((d=l.vae)!=null&&d.path)&&((h=u.vae)==null?void 0:h.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"2xl"}),(m=l.vae)!=null&&m.path&&((v=u.vae)!=null&&v.path)?y.jsx(ur,{children:(b=l.vae)==null?void 0:b.path}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((S=l.vae)!=null&&S.repo_id)&&((k=u.vae)==null?void 0:k.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:t("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"2xl"}),(E=l.vae)!=null&&E.repo_id&&((_=u.vae)!=null&&_.repo_id)?y.jsx(ur,{children:(T=l.vae)==null?void 0:T.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeRepoIDValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})}})]})}function nj({text:e,onClick:t}){return y.jsx(Ge,{position:"relative",width:"50%",height:"200px",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",justifyContent:"center",alignItems:"center",_hover:{cursor:"pointer",backgroundColor:"var(--accent-color)"},onClick:t,children:y.jsx(fn,{fontWeight:"bold",children:e})})}function LFe(){const{isOpen:e,onOpen:t,onClose:n}=Wh(),r=he(s=>s.ui.addNewModelUIOption),i=Me(),{t:o}=Ve(),a=()=>{n(),i(zh(null))};return y.jsxs(y.Fragment,{children:[y.jsx(cr,{"aria-label":o("modelmanager:addNewModel"),tooltip:o("modelmanager:addNewModel"),onClick:t,className:"modal-close-btn",size:"sm",children:y.jsxs(Ge,{columnGap:"0.5rem",alignItems:"center",children:[y.jsx(zy,{}),o("modelmanager:addNew")]})}),y.jsxs(Yd,{isOpen:e,onClose:a,size:"3xl",closeOnOverlayClick:!1,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal add-model-modal",fontFamily:"Inter",children:[y.jsx(w0,{children:o("modelmanager:addNewModel")}),y.jsx(Ly,{marginTop:"0.3rem"}),y.jsxs(n0,{className:"add-model-modal-body",children:[r==null&&y.jsxs(Ge,{columnGap:"1rem",children:[y.jsx(nj,{text:o("modelmanager:addCheckpointModel"),onClick:()=>i(zh("ckpt"))}),y.jsx(nj,{text:o("modelmanager:addDiffuserModel"),onClick:()=>i(zh("diffusers"))})]}),r=="ckpt"&&y.jsx(PFe,{}),r=="diffusers"&&y.jsx(TFe,{})]})]})]})]})}function Jb(e){const{isProcessing:t,isConnected:n}=he(v=>v.system),r=he(v=>v.system.openModel),{t:i}=Ve(),o=Me(),{name:a,status:s,description:l}=e,u=()=>{o(VG(a))},d=()=>{o(AR(a))},h=()=>{o($8e(a)),o(AR(null))},m=()=>{switch(s){case"active":return"var(--status-good-color)";case"cached":return"var(--status-working-color)";case"not loaded":return"var(--text-color-secondary)"}};return y.jsxs(Ge,{alignItems:"center",padding:"0.5rem 0.5rem",borderRadius:"0.2rem",backgroundColor:a===r?"var(--accent-color)":"",_hover:{backgroundColor:a===r?"var(--accent-color)":"var(--background-color)"},children:[y.jsx(ko,{onClick:d,cursor:"pointer",children:y.jsx(uo,{label:l,hasArrow:!0,placement:"bottom",children:y.jsx(fn,{fontWeight:"bold",children:a})})}),y.jsx(hF,{onClick:d,cursor:"pointer"}),y.jsxs(Ge,{gap:2,alignItems:"center",children:[y.jsx(fn,{color:m(),children:s}),y.jsx(as,{size:"sm",onClick:u,isDisabled:s==="active"||t||!n,className:"modal-close-btn",children:i("modelmanager:load")}),y.jsx(Qe,{icon:y.jsx(LEe,{}),size:"sm",onClick:d,"aria-label":"Modify Config",isDisabled:s==="active"||t||!n,className:" modal-close-btn"}),y.jsx(oT,{title:i("modelmanager:deleteModel"),acceptCallback:h,acceptButtonText:i("modelmanager:delete"),triggerComponent:y.jsx(Qe,{icon:y.jsx(TEe,{}),size:"sm","aria-label":i("modelmanager:deleteConfig"),isDisabled:s==="active"||t||!n,className:" modal-close-btn",style:{backgroundColor:"var(--btn-delete-image)"}}),children:y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",children:[y.jsx("p",{style:{fontWeight:"bold"},children:i("modelmanager:deleteMsg1")}),y.jsx("p",{style:{color:"var(--text-color-secondary"},children:i("modelmanager:deleteMsg2")})]})})]})]})}const AFe=at(ir,e=>ke.map(e.model_list,(n,r)=>({name:r,...n})),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function ZC({label:e,isActive:t,onClick:n}){return y.jsx(cr,{onClick:n,isActive:t,_active:{backgroundColor:"var(--accent-color)",_hover:{backgroundColor:"var(--accent-color)"}},size:"sm",children:e})}const OFe=()=>{const e=he(AFe),[t,n]=w.useState(""),[r,i]=w.useState("all"),[o,a]=w.useTransition(),{t:s}=Ve(),l=d=>{a(()=>{n(d.target.value)})},u=w.useMemo(()=>{const d=[],h=[],m=[],v=[];return e.forEach((b,S)=>{b.name.toLowerCase().includes(t.toLowerCase())&&(m.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)),b.format===r&&v.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))),b.format!=="diffusers"?d.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)):h.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))}),t!==""?r==="all"?y.jsx(ko,{marginTop:"1rem",children:m}):y.jsx(ko,{marginTop:"1rem",children:v}):y.jsxs(Ge,{flexDirection:"column",rowGap:"1.5rem",children:[r==="all"&&y.jsxs(y.Fragment,{children:[y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",margin:"1rem 0",width:"max-content",fontSize:"14",children:s("modelmanager:checkpointModels")}),d]}),y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",marginBottom:"0.5rem",width:"max-content",fontSize:"14",children:s("modelmanager:diffusersModels")}),h]})]}),r==="ckpt"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:d}),r==="diffusers"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:h})]})},[e,t,s,r]);return y.jsxs(Ge,{flexDirection:"column",rowGap:"2rem",width:"50%",minWidth:"50%",children:[y.jsxs(Ge,{justifyContent:"space-between",children:[y.jsx(fn,{fontSize:"1.4rem",fontWeight:"bold",children:s("modelmanager:availableModels")}),y.jsx(LFe,{})]}),y.jsx(kr,{onChange:l,label:s("modelmanager:search")}),y.jsxs(Ge,{flexDirection:"column",gap:1,maxHeight:window.innerHeight-360,overflow:"scroll",paddingRight:"1rem",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(ZC,{label:s("modelmanager:allModels"),onClick:()=>i("all"),isActive:r==="all"}),y.jsx(ZC,{label:s("modelmanager:checkpointModels"),onClick:()=>i("ckpt"),isActive:r==="ckpt"}),y.jsx(ZC,{label:s("modelmanager:diffusersModels"),onClick:()=>i("diffusers"),isActive:r==="diffusers"})]}),u]})]})};function MFe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),i=he(s=>s.system.model_list),o=he(s=>s.system.openModel),{t:a}=Ve();return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,size:"6xl",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal",fontFamily:"Inter",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx(w0,{fontWeight:"bold",children:a("modelmanager:modelManager")}),y.jsxs(Ge,{padding:"0 1.5rem 1.5rem 1.5rem",width:"100%",columnGap:"2rem",children:[y.jsx(OFe,{}),o&&i[o].format==="diffusers"?y.jsx(_Fe,{}):y.jsx(wFe,{})]})]})]})]})}const IFe=at([ir],e=>{const{isProcessing:t,model_list:n}=e;return{models:ke.map(n,(i,o)=>o),isProcessing:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RFe=()=>{const e=Me(),{models:t,isProcessing:n}=he(IFe),r=he(qG),i=o=>{e(VG(o.target.value))};return y.jsx(Ge,{style:{paddingLeft:"0.3rem"},children:y.jsx(tl,{style:{fontSize:"0.8rem"},tooltip:r.description,isDisabled:n,value:r.name,validValues:t,onChange:i})})},DFe=at([ir,mp],(e,t)=>{const{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,model_list:o,saveIntermediatesInterval:a,enableImageDebugging:s}=e,{shouldUseCanvasBetaLayout:l}=t;return{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,models:ke.map(o,(u,d)=>d),saveIntermediatesInterval:a,enableImageDebugging:s,shouldUseCanvasBetaLayout:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NFe=({children:e})=>{const t=Me(),{t:n}=Ve(),r=he(_=>_.generation.steps),{isOpen:i,onOpen:o,onClose:a}=Wh(),{isOpen:s,onOpen:l,onClose:u}=Wh(),{shouldDisplayInProgressType:d,shouldConfirmOnDelete:h,shouldDisplayGuides:m,saveIntermediatesInterval:v,enableImageDebugging:b,shouldUseCanvasBetaLayout:S}=he(DFe),k=()=>{GG.purge().then(()=>{a(),l()})},E=_=>{_>r&&(_=r),_<1&&(_=1),t(Q6e(_))};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:o}),y.jsxs(Yd,{isOpen:i,onClose:a,size:"lg",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal settings-modal",children:[y.jsx(w0,{className:"settings-modal-header",children:n("common:settingsLabel")}),y.jsx(Ly,{className:"modal-close-btn"}),y.jsxs(n0,{className:"settings-modal-content",children:[y.jsxs("div",{className:"settings-modal-items",children:[y.jsxs("div",{className:"settings-modal-item",style:{gridAutoFlow:"row",rowGap:"0.5rem"},children:[y.jsx(tl,{label:n("settings:displayInProgress"),validValues:s7e,value:d,onChange:_=>t(U6e(_.target.value))}),d==="full-res"&&y.jsx(ra,{label:n("settings:saveSteps"),min:1,max:r,step:1,onChange:E,value:v,width:"auto",textAlign:"center"})]}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:confirmOnDelete"),isChecked:h,onChange:_=>t(BU(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:displayHelpIcons"),isChecked:m,onChange:_=>t(K6e(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:useCanvasBeta"),isChecked:S,onChange:_=>t(dCe(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-items",children:[y.jsx("h2",{style:{fontWeight:"bold"},children:"Developer"}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:enableImageDebugging"),isChecked:b,onChange:_=>t(J6e(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-reset",children:[y.jsx(Dh,{size:"md",children:n("settings:resetWebUI")}),y.jsx(as,{colorScheme:"red",onClick:k,children:n("settings:resetWebUI")}),y.jsx(fn,{children:n("settings:resetWebUIDesc1")}),y.jsx(fn,{children:n("settings:resetWebUIDesc2")})]})]}),y.jsx(Sx,{children:y.jsx(as,{onClick:a,className:"modal-close-btn",children:n("common:close")})})]})]}),y.jsxs(Yd,{closeOnOverlayClick:!1,isOpen:s,onClose:u,isCentered:!0,children:[y.jsx(Kd,{bg:"blackAlpha.300",backdropFilter:"blur(40px)"}),y.jsx(Zh,{children:y.jsx(n0,{pb:6,pt:6,children:y.jsx(Ge,{justifyContent:"center",children:y.jsx(fn,{fontSize:"lg",children:y.jsx(fn,{children:n("settings:resetComplete")})})})})})]})]})},jFe=at(ir,e=>({isConnected:e.isConnected,isProcessing:e.isProcessing,currentIteration:e.currentIteration,totalIterations:e.totalIterations,currentStatus:e.currentStatus,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),BFe=()=>{const{isConnected:e,isProcessing:t,currentIteration:n,totalIterations:r,currentStatus:i,hasError:o,wasErrorSeen:a}=he(jFe),s=Me(),{t:l}=Ve();let u;e&&!o?u="status-good":u="status-bad";let d=i;[l("common:statusGenerating"),l("common:statusPreparing"),l("common:statusSavingImage"),l("common:statusRestoringFaces"),l("common:statusUpscaling")].includes(d)&&(u="status-working"),d&&t&&r>1&&(d=`${l(d)} (${n}/${r})`);const m=o&&!a?"Click to clear, check logs for details":void 0,v=o&&!a?"pointer":"initial",b=()=>{(o||!a)&&s($U())};return y.jsx(uo,{label:m,children:y.jsx(fn,{cursor:v,onClick:b,className:`status ${u}`,children:l(d)})})};function $Fe(){const{t:e}=Ve(),{setColorMode:t,colorMode:n}=dy(),r=Me(),i=he(l=>l.ui.currentTheme),o={dark:e("common:darkTheme"),light:e("common:lightTheme"),green:e("common:greenTheme")};w.useEffect(()=>{n!==i&&t(i)},[t,n,i]);const a=l=>{r(aCe(l))},s=()=>{const l=[];return Object.keys(o).forEach(u=>{l.push(y.jsx(cr,{style:{width:"6rem"},leftIcon:i===u?y.jsx(PP,{}):void 0,size:"sm",onClick:()=>a(u),children:o[u]},u))}),l};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:themeLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(pEe,{})}),children:y.jsx(yn,{align:"stretch",children:s()})})}function FFe(){const{t:e,i18n:t}=Ve(),n={en:e("common:langEnglish"),nl:e("common:langDutch"),fr:e("common:langFrench"),de:e("common:langGerman"),it:e("common:langItalian"),ja:e("common:langJapanese"),pl:e("common:langPolish"),pt_br:e("common:langBrPortuguese"),ru:e("common:langRussian"),zh_cn:e("common:langSimplifiedChinese"),es:e("common:langSpanish"),ua:e("common:langUkranian")},r=()=>{const i=[];return Object.keys(n).forEach(o=>{i.push(y.jsx(cr,{"data-selected":localStorage.getItem("i18nextLng")===o,onClick:()=>t.changeLanguage(o),className:"modal-close-btn lang-select-btn","aria-label":n[o],tooltip:n[o],size:"sm",minWidth:"200px",children:n[o]},o))}),i};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:languagePickerLabel"),tooltip:e("common:languagePickerLabel"),icon:y.jsx(dEe,{}),size:"sm",variant:"link","data-variant":"link",fontSize:26}),children:y.jsx(yn,{children:r()})})}const zFe=()=>{const{t:e}=Ve(),t=he(n=>n.system.app_version);return y.jsxs("div",{className:"site-header",children:[y.jsxs("div",{className:"site-header-left-side",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs(Ge,{alignItems:"center",columnGap:"0.6rem",children:[y.jsxs(fn,{fontSize:"1.4rem",children:["invoke ",y.jsx("strong",{children:"ai"})]}),y.jsx(fn,{fontWeight:"bold",color:"var(--text-color-secondary)",marginTop:"0.2rem",children:t})]})]}),y.jsxs("div",{className:"site-header-right-side",children:[y.jsx(BFe,{}),y.jsx(RFe,{}),y.jsx(MFe,{children:y.jsx(Qe,{"aria-label":e("modelmanager:modelManager"),tooltip:e("modelmanager:modelManager"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(rEe,{})})}),y.jsx(TDe,{children:y.jsx(Qe,{"aria-label":e("common:hotkeysLabel"),tooltip:e("common:hotkeysLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(cEe,{})})}),y.jsx($Fe,{}),y.jsx(FFe,{}),y.jsx(Qe,{"aria-label":e("common:reportBugLabel"),tooltip:e("common:reportBugLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI/issues",children:y.jsx(nEe,{})})}),y.jsx(Qe,{"aria-label":e("common:githubLabel"),tooltip:e("common:githubLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI",children:y.jsx(Zke,{})})}),y.jsx(Qe,{"aria-label":e("common:discordLabel"),tooltip:e("common:discordLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"https://discord.gg/ZmtBAhwWhy",children:y.jsx(Xke,{})})}),y.jsx(NFe,{children:y.jsx(Qe,{"aria-label":e("common:settingsLabel"),tooltip:e("common:settingsLabel"),variant:"link","data-variant":"link",fontSize:22,size:"sm",icon:y.jsx(VEe,{})})})]})]})};function HFe(){async function e(n=""){return await fetch(n,{method:"GET",cache:"no-cache"})}const t=()=>{const n=document.location;e(n+"/flaskwebgui-keep-server-alive").then(i=>i)};(!{}.NODE_ENV||{}.NODE_ENV==="production")&&document.addEventListener("DOMContentLoaded",()=>{t(),setInterval(t,3e3)})}const VFe=()=>{const e=Me(),t=he(a_e),n=Ry();w.useEffect(()=>{t.forEach(r=>{n(r)}),t.length>0&&e(tCe())},[e,n,t])},NK=at([yp,mp,Or],(e,t,n)=>{const{shouldPinParametersPanel:r,shouldShowParametersPanel:i,shouldHoldParametersPanelOpen:o,shouldUseCanvasBetaLayout:a}=t,{shouldShowGallery:s,shouldPinGallery:l,shouldHoldGalleryOpen:u}=e,d=a&&n==="unifiedCanvas",h=!d&&!(i||o&&!r)&&["txt2img","img2img","unifiedCanvas"].includes(n),m=!(s||u&&!l)&&["txt2img","img2img","unifiedCanvas"].includes(n);return{shouldPinParametersPanel:r,shouldShowProcessButtons:!d&&(!r||!i),shouldShowParametersPanelButton:h,shouldShowParametersPanel:i,shouldShowGallery:s,shouldPinGallery:l,shouldShowGalleryButton:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),WFe=()=>{const e=Me(),{shouldShowParametersPanel:t,shouldShowParametersPanelButton:n,shouldShowProcessButtons:r,shouldPinParametersPanel:i,shouldShowGallery:o,shouldPinGallery:a}=he(NK),s=()=>{e(Ku(!0)),i&&setTimeout(()=>e(vi(!0)),400)};return Je("f",()=>{o||t?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(a||i)&&setTimeout(()=>e(vi(!0)),400)},[o,t]),n?y.jsxs("div",{className:"show-hide-button-options",children:[y.jsx(Qe,{tooltip:"Show Options Panel (O)",tooltipProps:{placement:"top"},"aria-label":"Show Options Panel",onClick:s,children:y.jsx(AP,{})}),r&&y.jsxs(y.Fragment,{children:[y.jsx(XP,{iconButton:!0}),y.jsx(YP,{})]})]}):null},UFe=()=>{const e=Me(),{shouldShowGallery:t,shouldShowGalleryButton:n,shouldPinGallery:r,shouldShowParametersPanel:i,shouldPinParametersPanel:o}=he(NK),a=()=>{e(Bd(!0)),r&&e(vi(!0))};return Je("f",()=>{t||i?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(r||o)&&setTimeout(()=>e(vi(!0)),400)},[t,i]),n?y.jsx(Qe,{tooltip:"Show Gallery (G)",tooltipProps:{placement:"top"},"aria-label":"Show Gallery",styleClass:"floating-show-hide-button right show-hide-button-gallery",onClick:a,children:y.jsx(Tq,{})}):null};HFe();const GFe=()=>(VFe(),y.jsxs("div",{className:"App",children:[y.jsxs(xDe,{children:[y.jsx(EDe,{}),y.jsxs("div",{className:"app-content",children:[y.jsx(zFe,{}),y.jsx(ERe,{})]}),y.jsx("div",{className:"app-console",children:y.jsx(_De,{})})]}),y.jsx(WFe,{}),y.jsx(UFe,{})]})),rj=()=>y.jsx(Ge,{width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center",children:y.jsx(xy,{thickness:"2px",speed:"1s",emptyColor:"gray.200",color:"gray.400",size:"xl"})});const qFe=Oj({key:"invokeai-style-cache",prepend:!0});Q9.createRoot(document.getElementById("root")).render(y.jsx(N.StrictMode,{children:y.jsx(T5e,{store:UG,children:y.jsx(vW,{loading:y.jsx(rj,{}),persistor:GG,children:y.jsx(qne,{value:qFe,children:y.jsx(q4e,{children:y.jsx(N.Suspense,{fallback:y.jsx(rj,{}),children:y.jsx(GFe,{})})})})})})})); diff --git a/invokeai/frontend/dist/assets/index-b0bf79f4.css b/invokeai/frontend/dist/assets/index-b0bf79f4.css deleted file mode 100644 index 087ba9b01d..0000000000 --- a/invokeai/frontend/dist/assets/index-b0bf79f4.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Inter;src:url(./Inter-b9a8e5e2.ttf);font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:Inter;src:url(./Inter-Bold-790c108b.ttf);font-display:swap;font-weight:600;font-style:normal}@keyframes slideOut{0%{transform:translate(10rem)}to{transform:translate(0)}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}*{scrollbar-width:thick;scrollbar-color:var(--scrollbar-color) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-radius:8px;border:2px solid var(--scrollbar-color)}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-color-hover);border:2px solid var(--scrollbar-color-hover)}::-webkit-scrollbar-button{background:transparent}[data-theme=dark]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(57, 25, 153);--accent-color: rgb(80, 40, 200);--accent-color-bright: rgb(104, 60, 230);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 10);--background-color: rgb(26, 26, 32);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(16, 16, 22);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 162, 188);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(48, 48, 64);--border-color: rgb(30, 30, 46);--border-color-light: rgb(60, 60, 76);--svg-color: rgb(255, 255, 255);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(30, 32, 42);--tab-hover-color: rgb(46, 48, 58);--tab-panel-bg: rgb(36, 38, 48);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 216);--tab-list-text-inactive: rgb(92, 94, 114);--btn-base-color: rgb(30, 32, 42);--btn-base-color-hover: rgb(46, 48, 68);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 10);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-color: rgb(151, 113, 255);--slider-mark-color: rgb(151, 113, 255);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}[data-theme=light]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(186, 146, 0);--accent-color: rgb(235, 185, 5);--accent-color-bright: rgb(255, 200, 0);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(255, 255, 255);--background-color: rgb(220, 222, 224);--background-color-light: rgb(250, 252, 254);--background-color-secondary: rgb(208, 210, 212);--text-color: rgb(0, 0, 0);--text-color-secondary: rgb(40, 40, 40);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(142, 144, 146);--border-color: rgb(200, 200, 200);--border-color-light: rgb(147, 147, 147);--svg-color: rgb(50, 50, 50);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(237, 51, 51);--destructive-color-hover: rgb(255, 55, 55);--warning-color: rgb(224, 142, 42);--warning-color-hover: rgb(255, 167, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: none;--tab-color: rgb(202, 204, 206);--tab-hover-color: rgb(196, 198, 200);--tab-panel-bg: rgb(206, 208, 210);--tab-list-bg: rgb(235, 185, 5);--tab-list-text: rgb(0, 0, 0);--tab-list-text-inactive: rgb(106, 108, 110);--btn-base-color: rgb(184, 186, 188);--btn-base-color-hover: rgb(230, 232, 234);--btn-load-more: rgb(202, 204, 206);--btn-load-more-hover: rgb(178, 180, 182);--btn-svg-color: rgb(0, 0, 0);--btn-delete-image: rgb(213, 49, 49);--btn-checkbox-border-hover: rgb(176, 178, 182);--progress-bar-color: rgb(235, 185, 5);--prompt-bg-color: rgb(225, 227, 229);--switch-bg-color: rgb(178, 180, 182);--switch-bg-active-color: rgb(235, 185, 5);--slider-color: var(--accent-color);--slider-mark-color: rgb(0, 0, 0);--resizeable-handle-border-color: rgb(160, 162, 164);--metadata-bg-color: rgba(230, 230, 230, .9);--metadata-json-bg-color: rgba(0, 0, 0, .1);--status-good-color: rgb(21, 126, 0);--status-good-glow: var(--background-color);--status-working-color: rgb(235, 141, 0);--status-working-glow: var(--background-color);--status-bad-color: rgb(202, 0, 0);--status-bad-glow: var(--background-color);--notice-color: rgb(255, 71, 90);--settings-modal-bg: rgb(202, 204, 206);--input-checkbox-bg: rgb(167, 167, 171);--input-checkbox-checked-bg: rgb(235, 185, 5);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: rgb(0, 0, 0);--input-box-shadow-color: none;--error-level-info: rgb(42, 42, 42);--error-level-warning: rgb(173, 121, 0);--error-level-error: rgb(145, 14, 0);--console-bg-color: rgb(220, 224, 230);--console-icon-button-bg-color: var(--switch-bg-color);--console-icon-button-bg-color-hover: var(--resizeable-handle-border-color);--img2img-img-bg-color: rgb(180, 182, 184);--context-menu-bg-color: var(--background-color);--context-menu-box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, .35), 0px 10px 20px -15px rgba(22, 23, 24, .2);--context-menu-bg-color-hover: var(--background-color-secondary);--floating-button-drop-shadow-color: rgba(0, 0, 0, .7);--inpainting-alerts-bg: rgba(220, 222, 224, .75);--inpainting-alerts-icon-color: rgb(0, 0, 0);--inpainting-alerts-bg-active: rgb(255, 200, 0);--inpainting-alerts-icon-active: rgb(0, 0, 0);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(0, 0, 0);--checkboard-dots-color: rgb(160, 160, 172);--scrollbar-color: rgb(180, 180, 184);--scrollbar-color-hover: rgb(150, 150, 154)}[data-theme=green]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(10, 60, 40);--accent-color: rgb(20, 110, 70);--accent-color-bright: rgb(30, 180, 100);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 14);--background-color: rgb(30, 32, 37);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(22, 24, 28);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 164, 168);--subtext-color: rgb(24, 24, 28);--subtext-color-bright: rgb(68, 72, 76);--border-color: rgb(40, 44, 48);--border-color-light: rgb(60, 60, 64);--svg-color: rgb(220, 224, 228);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(40, 44, 48);--tab-hover-color: rgb(48, 52, 56);--tab-panel-bg: rgb(36, 40, 44);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 206);--tab-list-text-inactive: rgb(92, 94, 96);--btn-base-color: rgb(40, 44, 48);--btn-base-color-hover: rgb(56, 60, 64);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 14);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-mark-color: var(--accent-color-bright);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}@media (max-width: 600px){#root .app-content{padding:5px}#root .app-content .site-header{position:fixed;display:flex;height:100px;z-index:1}#root .app-content .site-header .site-header-left-side{position:absolute;display:flex;min-width:145px;float:left;padding-left:0}#root .app-content .site-header .site-header-right-side{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-rows:25px 25px 25px;grid-template-areas:"logoSpace logoSpace logoSpace sampler sampler sampler" "status status status status status status" "btn1 btn2 btn3 btn4 btn5 btn6";row-gap:15px}#root .app-content .site-header .site-header-right-side .chakra-popover__popper{grid-area:logoSpace}#root .app-content .site-header .site-header-right-side>:nth-child(1).chakra-text{grid-area:status;width:100%;display:flex;justify-content:center}#root .app-content .site-header .site-header-right-side>:nth-child(2){grid-area:sampler;display:flex;justify-content:center;align-items:center}#root .app-content .site-header .site-header-right-side>:nth-child(2) select{width:185px;margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper{right:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper svg{margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(3){grid-area:btn1}#root .app-content .site-header .site-header-right-side>:nth-child(4){grid-area:btn2}#root .app-content .site-header .site-header-right-side>:nth-child(6){grid-area:btn3}#root .app-content .site-header .site-header-right-side>:nth-child(7){grid-area:btn4}#root .app-content .site-header .site-header-right-side>:nth-child(8){grid-area:btn5}#root .app-content .site-header .site-header-right-side>:nth-child(9){grid-area:btn6}#root .app-content .app-tabs{position:fixed;display:flex;flex-direction:column;row-gap:15px;max-width:100%;overflow:hidden;margin-top:120px}#root .app-content .app-tabs .app-tabs-list{display:flex;justify-content:space-between}#root .app-content .app-tabs .app-tabs-panels{overflow:hidden;overflow-y:scroll}#root .app-content .app-tabs .app-tabs-panels .workarea-main{display:grid;grid-template-areas:"workarea" "options" "gallery";row-gap:15px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper{grid-area:options;width:100%;max-width:100%;height:inherit;overflow:inherit;padding:0 10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .main-settings-row,#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .advanced-parameters-item{max-width:100%}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper{grid-area:workarea}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .workarea-split-view{display:flex;flex-direction:column}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-options{column-gap:3px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .text-to-image-area{padding:0}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-preview{height:430px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button{row-gap:10px;padding:5px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button svg{width:2rem;height:2rem;margin-top:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-settings{display:flex;flex-wrap:wrap;row-gap:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-canvas-area .konvajs-content{height:400px!important}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper{grid-area:gallery;min-height:400px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper .image-gallery-popup{width:100%!important;max-width:100%!important}}svg{fill:var(--svg-color)}.App{display:grid;width:100vw;height:100vh;background-color:var(--background-color)}.app-content{display:grid;row-gap:1rem;padding:1rem;grid-auto-rows:min-content auto;width:calc(100vw + -0px);height:calc(100vh - .3rem)}.site-header{display:grid;grid-template-columns:auto max-content}.site-header-left-side{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem}.site-header-left-side img{width:32px;height:32px}.site-header-right-side{display:flex;align-items:center;column-gap:.5rem}.site-header-right-side .lang-select-btn[data-selected=true],.site-header-right-side .lang-select-btn[data-selected=true]:hover{background-color:var(--accent-color)}.status{font-size:.8rem;font-weight:700}.status-good{color:var(--status-good-color);text-shadow:0 0 10px var(--status-good-glow)}.status-bad{color:var(--status-bad-color);text-shadow:0 0 10px var(--status-bad-glow)}.status-working{color:var(--status-working-color);text-shadow:0 0 10px var(--status-working-glow)}.settings-modal{max-height:36rem;font-family:Inter}.settings-modal .settings-modal-content{display:grid;row-gap:2rem;overflow-y:scroll}.settings-modal .settings-modal-header{font-weight:700}.settings-modal .settings-modal-items{display:grid;row-gap:.5rem}.settings-modal .settings-modal-items .settings-modal-item{display:grid;grid-auto-flow:column;background-color:var(--background-color);padding:.4rem 1rem;border-radius:.5rem;align-items:center;width:100%}.settings-modal .settings-modal-reset{display:grid;row-gap:1rem}.settings-modal .settings-modal-reset button{min-width:100%;min-height:100%;background-color:var(--destructive-color)!important}.settings-modal .settings-modal-reset button:hover{background-color:var(--destructive-color-hover)}.settings-modal .settings-modal-reset button:disabled{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button:disabled:hover{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button svg{width:20px;height:20px;color:var(--btn-svg-color)}.add-model-modal{display:flex}.add-model-modal-body{display:flex;flex-direction:column;row-gap:1rem;padding-bottom:2rem}.add-model-form{display:flex;flex-direction:column;row-gap:.5rem}.hotkeys-modal{width:36rem;max-width:36rem;display:grid;padding:1rem;row-gap:1rem;font-family:Inter}.hotkeys-modal h1{font-size:1.2rem;font-weight:700}.hotkeys-modal h2{font-weight:700}.hotkeys-modal-button{display:flex;align-items:center;justify-content:space-between}.hotkeys-modal-items{max-height:36rem;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.hotkeys-modal-items::-webkit-scrollbar{display:none}.hotkeys-modal-items .chakra-accordion{display:grid;row-gap:.5rem}.hotkeys-modal-items .chakra-accordion__item{border:none;border-radius:.3rem;background-color:var(--tab-hover-color)}.hotkeys-modal-items button{border-radius:.3rem}.hotkeys-modal-items button[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.3rem}.hotkey-modal-category{display:grid;row-gap:.5rem}.hotkey-modal-item{display:grid;grid-template-columns:auto max-content;justify-content:space-between;align-items:center;background-color:var(--background-color);padding:.5rem 1rem;border-radius:.3rem}.hotkey-modal-item .hotkey-info{display:grid}.hotkey-modal-item .hotkey-info .hotkey-title{font-weight:700}.hotkey-modal-item .hotkey-info .hotkey-description{font-size:.9rem;color:var(--text-color-secondary)}.hotkey-modal-item .hotkey-key{font-size:.8rem;font-weight:700;background-color:var(--background-color-light);padding:.2rem .5rem;border-radius:.3rem}.console{width:100vw;display:flex;flex-direction:column;background:var(--console-bg-color);overflow:auto;direction:column;font-family:monospace;padding:0 1rem 1rem 3rem;border-top-width:.3rem;border-color:var(--resizeable-handle-border-color)}.console .console-info-color{color:var(--error-level-info)}.console .console-warning-color{color:var(--error-level-warning)}.console .console-error-color{color:var(--status-bad-color)}.console .console-entry{display:flex;column-gap:.5rem}.console .console-entry .console-timestamp{font-weight:semibold}.console .console-entry .console-message{word-break:break-all}.console-toggle-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:.5rem;z-index:10000}.console-toggle-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-toggle-icon-button[data-error-seen=true],.console-toggle-icon-button[data-error-seen=true]:hover{background:var(--status-bad-color)}.console-autoscroll-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:3rem;z-index:10000}.console-autoscroll-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]{background:var(--accent-color)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]:hover{background:var(--accent-color-hover)}.progress-bar{background-color:var(--root-bg-color);height:.3rem;z-index:99}.progress-bar div{background-color:var(--progress-bar-color)}.progress-bar div[data-indeterminate]{background-color:unset;background-image:linear-gradient(to right,transparent 0%,var(--progress-bar-color) 50%,transparent 100%)}.prompt-bar{display:grid;row-gap:1rem}.prompt-bar input,.prompt-bar textarea{background-color:var(--prompt-bg-color);font-size:1rem;border:2px solid var(--border-color)}.prompt-bar input:hover,.prompt-bar textarea:hover{border:2px solid var(--border-color-light)}.prompt-bar input:focus-visible,.prompt-bar textarea:focus-visible{border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.prompt-bar input[aria-invalid=true],.prompt-bar textarea[aria-invalid=true]{border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.prompt-bar input:disabled,.prompt-bar textarea:disabled{border:2px solid var(--border-color);box-shadow:none}.prompt-bar textarea{min-height:10rem}.process-buttons{display:flex;column-gap:.5rem}.invoke-btn{flex-grow:1;width:100%;min-width:100%;min-height:100%;background-color:var(--accent-color)!important}.invoke-btn:hover{background-color:var(--accent-color-hover)}.invoke-btn:disabled{background-color:var(--btn-base-color)}.invoke-btn:disabled:hover{background-color:var(--btn-base-color)}.invoke-btn svg{width:16px;height:16px;color:var(--btn-svg-color)}.cancel-btn{min-width:3rem;min-height:100%;background-color:var(--destructive-color)!important}.cancel-btn:hover{background-color:var(--destructive-color-hover)}.cancel-btn:disabled{background-color:var(--btn-base-color)}.cancel-btn:disabled:hover{background-color:var(--btn-base-color)}.cancel-btn svg{width:20px;height:20px;color:var(--btn-svg-color)}.loopback-btn[data-as-checkbox=true]{background-color:var(--btn-btn-base-color);border:3px solid var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true]:hover{background-color:var(--btn-btn-base-color);border-color:var(--btn-checkbox-border-hover)}.loopback-btn[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--text-color)}.main-settings,.main-settings-list{display:grid;row-gap:1rem}.main-settings-row{display:grid;grid-template-columns:repeat(3,auto);column-gap:.5rem;max-width:22.5rem}.main-settings-block{border-radius:.5rem;display:grid!important;grid-template-columns:auto!important;row-gap:.5rem}.main-settings-block .invokeai__number-input-form-label,.main-settings-block .invokeai__select-label{font-weight:700;font-size:.9rem!important}.main-settings-block .invokeai__select-label{margin:0}.advanced-parameters{padding-top:.5rem;display:grid;row-gap:.5rem}.advanced-parameters-item{display:grid;max-width:22.5rem;border:none;border-top:0px;border-radius:.4rem;background-color:var(--tab-panel-bg)}.advanced-parameters-item[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:0 0 .4rem .4rem}.advanced-parameters-panel{background-color:var(--tab-panel-bg);border-radius:0 0 .4rem .4rem;padding:1rem}.advanced-parameters-panel button{background-color:var(--btn-base-color)}.advanced-parameters-panel button:hover{background-color:var(--btn-base-color-hover)}.advanced-parameters-panel button:disabled:hover{background-color:var(--btn-base-color)}.advanced-parameters-header{border-radius:.4rem;font-weight:700}.advanced-parameters-header[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.4rem .4rem 0 0}.advanced-parameters-header:hover{background-color:var(--tab-hover-color)}.upscale-settings{display:grid;grid-template-columns:auto 1fr;column-gap:1rem}.inpainting-bounding-box-settings{display:flex;flex-direction:column;border-radius:.4rem;border:2px solid var(--tab-color)}.inpainting-bounding-box-header{background-color:var(--tab-color);display:flex;flex-direction:row;justify-content:space-between;padding:.5rem 1rem;border-radius:.3rem .3rem 0 0;align-items:center}.inpainting-bounding-box-header button{width:.5rem;height:1.2rem;background:none}.inpainting-bounding-box-header button:hover{background:none}.inpainting-bounding-box-settings-items{padding:1rem;display:flex;flex-direction:column;row-gap:1rem}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn{background-color:var(--btn-base-color)}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn:hover{background-color:var(--btn-base-color-hover)}.inpainting-bounding-box-dimensions-slider-numberinput{display:grid;grid-template-columns:repeat(3,auto);column-gap:1rem}.inpainting-bounding-box-darken{width:max-content}.current-image-area{display:flex;flex-direction:column;height:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem}.current-image-preview{position:relative;justify-content:center;align-items:center;display:flex;width:100%;height:100%}.current-image-preview img{border-radius:.5rem;object-fit:contain;max-width:100%;max-height:100%;height:auto;position:absolute}.current-image-metadata{grid-area:current-image-preview}.current-image-next-prev-buttons{grid-area:current-image-content;display:flex;justify-content:space-between;z-index:1;height:100%;width:100%;pointer-events:none}.next-prev-button-trigger-area{width:7rem;height:100%;width:15%;display:grid;align-items:center;pointer-events:auto}.next-prev-button-trigger-area.prev-button-trigger-area{justify-content:flex-start}.next-prev-button-trigger-area.next-button-trigger-area{justify-content:flex-end}.next-prev-button{font-size:4rem;fill:var(--white);filter:drop-shadow(0 0 1rem var(--text-color-secondary));opacity:70%}.current-image-display-placeholder{background-color:var(--background-color-secondary);display:grid;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:.5rem}.current-image-display-placeholder svg{width:10rem;height:10rem;color:var(--svg-color)}.current-image-options{width:100%;display:flex;justify-content:center;align-items:center;column-gap:.5em}.current-image-options .current-image-send-to-popover,.current-image-options .current-image-postprocessing-popover{display:flex;flex-direction:column;row-gap:.5rem;max-width:25rem}.current-image-options .current-image-send-to-popover .invokeai__button{place-content:start}.current-image-options .chakra-popover__popper{z-index:11}.current-image-options .delete-image-btn{background-color:var(--btn-base-color)}.current-image-options .delete-image-btn svg{fill:var(--btn-delete-image)}.image-gallery-wrapper-enter{transform:translate(150%)}.image-gallery-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.image-gallery-wrapper-exit{transform:translate(0)}.image-gallery-wrapper-exit-active{transform:translate(150%);transition:all .12s ease-out}.image-gallery-wrapper[data-pinned=false]{position:fixed;height:100vh;top:0;right:0}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup{border-radius:0;box-shadow:0 0 1rem var(--text-color-a3)}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup .image-gallery-container{max-height:calc(100vh + 4.7rem)}.image-gallery-wrapper .image-gallery-popup{background-color:var(--background-color-secondary);padding:1rem;display:flex;flex-direction:column;row-gap:1rem;border-radius:.5rem;border-left-width:.3rem;border-color:var(--tab-list-text-inactive)}.image-gallery-wrapper .image-gallery-popup[data-resize-alert=true]{border-color:var(--status-bad-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header{display:flex;align-items:center;column-gap:.5rem;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-header-right-icons{display:flex;flex-direction:row;column-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover{display:flex;flex-direction:column;row-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover div{display:flex;column-gap:.5rem;align-items:center;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header h1{font-weight:700}.image-gallery-wrapper .image-gallery-popup .image-gallery-container{display:flex;flex-direction:column;max-height:calc(100vh - (70px + 7rem));overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container::-webkit-scrollbar{display:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder{display:flex;flex-direction:column;row-gap:.5rem;background-color:var(--background-color);border-radius:.5rem;place-items:center;padding:2rem;text-align:center}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder p{color:var(--subtext-color-bright);font-family:Inter}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder svg{width:4rem;height:4rem;color:var(--svg-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn{background-color:var(--btn-load-more);font-size:.85rem;padding:.5rem;margin-top:1rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:disabled:hover{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-category-btn-group{width:max-content;column-gap:0;justify-content:stretch}.image-gallery-category-btn-group button{background-color:var(--btn-base-color);flex-grow:1}.image-gallery-category-btn-group button:hover{background-color:var(--btn-base-color-hover)}.image-gallery-category-btn-group button[data-selected=true]{background-color:var(--accent-color)}.image-gallery-category-btn-group button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.image-gallery{display:grid;grid-gap:.5rem}.image-gallery .hoverable-image{padding:.5rem;position:relative}.image-gallery .hoverable-image:before{content:"";display:block;padding-bottom:100%}.image-gallery .hoverable-image .hoverable-image-image{position:absolute;max-width:100%;top:50%;left:50%;transform:translate(-50%,-50%)}.hoverable-image{display:flex;justify-content:center;transition:transform .2s ease-out}.hoverable-image:hover{cursor:pointer;border-radius:.5rem;z-index:2}.hoverable-image .hoverable-image-image{width:100%;height:100%;max-width:100%;max-height:100%}.hoverable-image .hoverable-image-delete-button{position:absolute;top:.25rem;right:.25rem}.hoverable-image .hoverable-image-content{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;align-items:center;justify-content:center}.hoverable-image .hoverable-image-content .hoverable-image-check{fill:var(--status-good-color)}.hoverable-image .hoverable-image-icons{position:absolute;bottom:-2rem;display:grid;width:min-content;grid-template-columns:repeat(2,max-content);border-radius:.4rem;background-color:var(--background-color-secondary);padding:.2rem;gap:.2rem;grid-auto-rows:max-content}.hoverable-image .hoverable-image-icons button{width:12px;height:12px;border-radius:.2rem;padding:10px 0;flex-shrink:2}.hoverable-image .hoverable-image-icons button svg{width:12px;height:12px}.hoverable-image-context-menu{z-index:15;padding:.4rem;border-radius:.25rem;background-color:var(--context-menu-bg-color);box-shadow:var(--context-menu-box-shadow)}.hoverable-image-context-menu [role=menuitem]{font-size:.8rem;line-height:1rem;border-radius:3px;display:flex;align-items:center;height:1.75rem;padding:0 .5rem;position:relative;user-select:none;cursor:pointer;outline:none}.hoverable-image-context-menu [role=menuitem][data-disabled]{color:gray;pointer-events:none;cursor:not-allowed}.hoverable-image-context-menu [role=menuitem][data-warning]{color:var(--status-bad-color)}.hoverable-image-context-menu [role=menuitem][data-highlighted]{background-color:var(--context-menu-bg-color-hover)}.image-metadata-viewer{position:absolute;top:0;width:100%;border-radius:.5rem;padding:1rem;background-color:var(--metadata-bg-color);overflow:scroll;max-height:calc(100vh - (70px + 5.4rem));height:100%;z-index:10}.image-json-viewer{border-radius:.5rem;margin:0 .5rem 1rem;padding:1rem;overflow-x:scroll;word-break:break-all;background-color:var(--metadata-json-bg-color)}.lightbox-container{width:100%;height:100%;color:var(--text-color);overflow:hidden;position:absolute;left:0;top:0;background-color:var(--background-color-secondary);z-index:30;animation:popIn .3s ease-in}.lightbox-container .image-gallery-wrapper{max-height:100%!important}.lightbox-container .image-gallery-wrapper .image-gallery-container{max-height:calc(100vh - 5rem)}.lightbox-container .current-image-options{z-index:2;position:absolute;top:1rem}.lightbox-container .image-metadata-viewer{left:0;max-height:100%}.lightbox-close-btn{z-index:3;position:absolute;left:1rem;top:1rem;background-color:var(--btn-base-color)}.lightbox-close-btn:hover{background-color:var(--btn-base-color-hover)}.lightbox-close-btn:disabled:hover{background-color:var(--btn-base-color)}.lightbox-display-container{display:flex;flex-direction:row}.lightbox-preview-wrapper{overflow:hidden;background-color:var(--background-color-secondary);display:grid;grid-template-columns:auto max-content;place-items:center;width:100vw;height:100vh}.lightbox-preview-wrapper .current-image-next-prev-buttons{position:absolute}.lightbox-preview-wrapper .lightbox-image{grid-area:lightbox-content;border-radius:.5rem}.lightbox-preview-wrapper .lightbox-image-options{position:absolute;z-index:2;left:1rem;top:4.5rem;user-select:none;border-radius:.5rem;display:flex;flex-direction:column;row-gap:.5rem}@keyframes popIn{0%{opacity:0;filter:blur(100)}to{opacity:1;filter:blur(0)}}.app-tabs{display:grid;grid-template-columns:min-content auto;column-gap:1rem;height:calc(100vh - (70px + 1rem))}.app-tabs-list{display:grid;row-gap:.3rem;grid-auto-rows:min-content;color:var(--tab-list-text-inactive)}.app-tabs-list button{font-size:.85rem;padding:.5rem}.app-tabs-list button:hover{background-color:var(--tab-hover-color);border-radius:.3rem}.app-tabs-list button svg{width:24px;height:24px}.app-tabs-list button[aria-selected=true]{background-color:var(--tab-list-bg);color:var(--tab-list-text);font-weight:700;border-radius:.3rem;border:none}.app-tabs-panels .app-tabs-panel{padding:0;height:100%}.workarea-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main{display:flex;column-gap:1rem;height:100%}.workarea-wrapper .workarea-main .workarea-children-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main .workarea-split-view{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-left{padding-right:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-right{padding-left:.5rem}.workarea-wrapper .workarea-main .workarea-single-view{width:100%;height:100%;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view-left,.workarea-wrapper .workarea-main .workarea-split-view-right{display:flex;flex-direction:column;height:100%;width:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem;padding:1rem}.workarea-split-button{position:absolute;cursor:pointer;padding:.5rem;top:0;right:0}.workarea-split-button[data-selected=true]{top:0;right:0}.workarea-split-button[data-selected=true] svg{opacity:1}.workarea-split-button svg{opacity:.5}.parameters-panel-wrapper-enter{transform:translate(-150%)}.parameters-panel-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.parameters-panel-wrapper-exit{transform:translate(0)}.parameters-panel-wrapper-exit-active{transform:translate(-150%);transition:all .12s ease-out}.parameters-panel-wrapper{background-color:var(--background-color);height:calc(100vh - (70px + 1rem));width:22.5rem;max-width:22.5rem;flex-shrink:0;position:relative;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.parameters-panel-wrapper::-webkit-scrollbar{display:none}.parameters-panel-wrapper .parameters-panel{display:flex;flex-direction:column;row-gap:1rem;height:100%;-ms-overflow-style:none;scrollbar-width:none;background-color:var(--background-color)}.parameters-panel-wrapper .parameters-panel::-webkit-scrollbar{display:none}.parameters-panel-wrapper[data-pinned=false]{z-index:20;position:fixed;top:0;left:0;filter:var(--floating-panel-drop-shadow);width:24.5rem;max-width:24.5rem;height:100%}.parameters-panel-wrapper[data-pinned=false] .parameters-panel-margin{margin:1rem}.parameters-panel-wrapper .parameters-panel-pin-button{position:absolute;cursor:pointer;padding:.5rem;top:1rem;right:1rem;z-index:20}.parameters-panel-wrapper .parameters-panel-pin-button[data-selected=true]{top:0;right:0}.parameters-panel-wrapper .parameters-panel-pin-button svg{opacity:.5}.invoke-ai-logo-wrapper{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem;padding-top:.3rem}.invoke-ai-logo-wrapper img{width:32px;height:32px}.invoke-ai-logo-wrapper h1{font-size:1.4rem}.text-to-image-area{padding:1rem;height:100%}.image-to-image-area{display:flex;flex-direction:column;row-gap:1rem;width:100%;height:100%}.image-to-image-strength-main-option{display:flex;row-gap:.5rem!important}.image-to-image-strength-main-option .invokeai__slider-component-label{color:var(--text-color-secondary);font-size:.9rem!important}.init-image-preview-header{display:flex;align-items:center;justify-content:space-between;width:100%}.init-image-preview-header h2{font-weight:700;font-size:.9rem}.init-image-preview{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}.init-image-preview img{border-radius:.5rem;object-fit:contain;position:absolute}.image-to-image-current-image-display{position:relative}.floating-show-hide-button{position:absolute;top:50%;transform:translateY(-50%);z-index:20;padding:0;background-color:red!important;min-width:2rem;min-height:12rem;background-color:var(--btn-btn-base-color)!important}.floating-show-hide-button.left{left:0;border-radius:0 .5rem .5rem 0}.floating-show-hide-button.right{right:0;border-radius:.5rem 0 0 .5rem}.floating-show-hide-button:hover{background-color:var(--btn-btn-base-color-hover)}.floating-show-hide-button:disabled{background-color:var(--btn-base-color)}.floating-show-hide-button:disabled:hover{background-color:var(--btn-base-color)}.floating-show-hide-button svg{width:20px;height:20px;color:var(--btn-svg-color)}.show-hide-button-options{position:absolute;transform:translateY(-50%);z-index:20;min-width:2rem;top:50%;left:calc(42px + 2rem);border-radius:0 .5rem .5rem 0;display:flex;flex-direction:column;row-gap:.5rem}.show-hide-button-options button{border-radius:0 .3rem .3rem 0}.show-hide-button-gallery{padding-left:.75rem;padding-right:.75rem;background-color:var(--background-color)!important}.inpainting-main-area{display:flex;flex-direction:column;align-items:center;row-gap:1rem;width:100%;height:100%}.inpainting-main-area .inpainting-settings{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings svg{transform:scale(.9)}.inpainting-main-area .inpainting-settings .inpainting-buttons-group{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-button-dropdown{display:flex;flex-direction:column;row-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-color-picker{margin-left:1rem}.inpainting-main-area .inpainting-settings .inpainting-brush-options{display:flex;align-items:center;column-gap:1rem}.inpainting-canvas-area{display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:1rem;width:100%;height:100%}.inpainting-canvas-spiner{display:flex;align-items:center;width:100%;height:100%}.inpainting-canvas-container{display:flex;position:relative;height:100%;width:100%;border-radius:.5rem}.inpainting-canvas-wrapper{position:relative}.inpainting-canvas-stage{outline:none;border-radius:.5rem;box-shadow:0 0 0 1px var(--border-color-light);overflow:hidden}.inpainting-canvas-stage canvas{outline:none;border-radius:.5rem}.inpainting-options-btn{min-height:2rem}.canvas-status-text{position:absolute;top:0;left:0;background-color:var(--background-color);opacity:.65;display:flex;flex-direction:column;font-size:.8rem;padding:.25rem;min-width:12rem;border-radius:.25rem;margin:.25rem;pointer-events:none}.invokeai__number-input-form-control{display:flex;align-items:center;column-gap:1rem}.invokeai__number-input-form-control .invokeai__number-input-form-label{color:var(--text-color-secondary)}.invokeai__number-input-form-control .invokeai__number-input-form-label[data-focus]+.invokeai__number-input-root{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__number-input-form-control .invokeai__number-input-form-label[aria-invalid=true]+.invokeai__number-input-root{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__number-input-form-control .invokeai__number-input-root{height:2rem;display:grid;grid-template-columns:auto max-content;column-gap:.5rem;align-items:center;background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.3rem}.invokeai__number-input-form-control .invokeai__number-input-field{border:none;font-weight:700;width:100%;height:auto;font-size:.9rem;padding:0 .5rem}.invokeai__number-input-form-control .invokeai__number-input-field:focus{outline:none;box-shadow:none}.invokeai__number-input-form-control .invokeai__number-input-field:disabled{opacity:.2}.invokeai__number-input-form-control .invokeai__number-input-stepper{display:grid;padding-right:.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button{border:none;padding:0 .5rem;margin:0 -.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button svg{width:10px;height:10px}.input{display:grid;grid-template-columns:max-content auto;column-gap:1rem;align-items:center}.input .input-label{color:var(--text-color-secondary)}.input .input-entry{background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.2rem;font-weight:700}.input .input-entry:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.input .input-entry:disabled{opacity:.2}.input .input-entry[aria-invalid=true]{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__icon-button{background:var(--btn-base-color);cursor:pointer}.invokeai__icon-button:hover{background-color:var(--btn-base-color-hover)}.invokeai__icon-button[data-selected=true]{background-color:var(--accent-color)}.invokeai__icon-button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.invokeai__icon-button[disabled]{cursor:not-allowed}.invokeai__icon-button[data-variant=link],.invokeai__icon-button[data-variant=link]:hover{background:none}.invokeai__icon-button[data-as-checkbox=true]{background-color:var(--btn-base-color);border:3px solid var(--btn-base-color)}.invokeai__icon-button[data-as-checkbox=true] svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true]:hover{background-color:var(--btn-base-color);border-color:var(--btn-checkbox-border-hover)}.invokeai__icon-button[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true] svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-alert=true]{animation-name:pulseColor;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.invokeai__icon-button[data-alert=true]:hover{animation:none;background-color:var(--accent-color-hover)}@keyframes pulseColor{0%{background-color:var(--accent-color)}50%{background-color:var(--accent-color-dim)}to{background-color:var(--accent-color)}}.invokeai__button{background-color:var(--btn-base-color);place-content:center}.invokeai__button:hover{background-color:var(--btn-base-color-hover)}.invokeai__switch-form-control .invokeai__switch-form-label{color:var(--text-color-secondary)}.invokeai__switch-form-control .invokeai__switch-root span{background-color:var(--switch-bg-color)}.invokeai__switch-form-control .invokeai__switch-root span span{background-color:var(--white)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span{background:var(--switch-bg-active-color)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span span{background-color:var(--white)}.invokeai__select{display:flex;column-gap:1rem;align-items:center}.invokeai__select .invokeai__select-label{color:var(--text-color-secondary)}.invokeai__select .invokeai__select-picker{border:2px solid var(--border-color);background-color:var(--background-color-secondary);font-weight:700;font-size:.9rem;height:2rem;border-radius:.2rem}.invokeai__select .invokeai__select-picker:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__select .invokeai__select-option{background-color:var(--background-color-secondary);color:var(--text-color-secondary)}.invokeai__slider-component{padding-bottom:.5rem;border-radius:.5rem}.invokeai__slider-component .invokeai__slider-component-label{min-width:max-content;margin:0;font-weight:700;font-size:.9rem;color:var(--text-color-secondary)}.invokeai__slider-component .invokeai__slider_track{background-color:var(--tab-color)}.invokeai__slider-component .invokeai__slider_track-filled{background-color:var(--slider-color)}.invokeai__slider-component .invokeai__slider-thumb{width:4px}.invokeai__slider-component .invokeai__slider-mark{font-size:.75rem;font-weight:700;color:var(--slider-mark-color);margin-top:.3rem}.invokeai__slider-component .invokeai__slider-number-input{border:none;font-size:.9rem;font-weight:700;height:2rem;background-color:var(--background-color-secondary);border:2px solid var(--border-color)}.invokeai__slider-component .invokeai__slider-number-input:focus{outline:none;box-shadow:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__slider-component .invokeai__slider-number-input:disabled{opacity:.2}.invokeai__slider-component .invokeai__slider-number-stepper{border:none}.invokeai__slider-component[data-markers=true] .invokeai__slider_container{margin-top:-1rem}.invokeai__checkbox .chakra-checkbox__label{margin-top:1px;color:var(--text-color-secondary);font-size:.9rem}.invokeai__checkbox .chakra-checkbox__control{width:1rem;height:1rem;border:none;border-radius:.2rem;background-color:var(--input-checkbox-bg)}.invokeai__checkbox .chakra-checkbox__control svg{width:.6rem;height:.6rem;stroke-width:3px}.invokeai__checkbox .chakra-checkbox__control[data-checked]{color:var(--text-color);background-color:var(--input-checkbox-checked-bg)}.invokeai__popover-content{min-width:unset;width:unset;padding:1rem;border-radius:.5rem;background-color:var(--background-color);border:2px solid var(--border-color)}.invokeai__popover-content .invokeai__popover-arrow{background-color:var(--background-color)!important}.invokeai__color-picker .react-colorful__hue-pointer,.invokeai__color-picker .react-colorful__saturation-pointer{width:1.5rem;height:1.5rem;border-color:var(--white)}.dropzone-container{position:absolute;top:0;left:0;width:100vw;height:100vh;z-index:999;backdrop-filter:blur(20px)}.dropzone-container .dropzone-overlay{opacity:.5;width:100%;height:100%;display:flex;flex-direction:column;row-gap:1rem;align-items:center;justify-content:center;background-color:var(--background-color)}.dropzone-container .dropzone-overlay.is-drag-accept{box-shadow:inset 0 0 20rem 1rem var(--accent-color)}.dropzone-container .dropzone-overlay.is-drag-reject{box-shadow:inset 0 0 20rem 1rem var(--status-bad-color)}.dropzone-container .dropzone-overlay.is-handling-upload{box-shadow:inset 0 0 20rem 1rem var(--status-working-color)}.image-uploader-button-outer{width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:.5rem;color:var(--tab-list-text-inactive);background-color:var(--background-color)}.image-uploader-button-outer:hover{background-color:var(--background-color-light)}.image-upload-button-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.image-upload-button{display:flex;flex-direction:column;row-gap:2rem;align-items:center;justify-content:center;text-align:center}.image-upload-button svg{width:4rem;height:4rem}.image-upload-button h2{font-size:1.2rem}.work-in-progress{display:grid;width:100%;height:calc(100vh - (70px + 1rem));grid-auto-rows:max-content;background-color:var(--background-color-secondary);border-radius:.4rem;place-content:center;place-items:center;row-gap:1rem}.work-in-progress h1{font-size:2rem;font-weight:700}.work-in-progress p{text-align:center;max-width:50rem;color:var(--subtext-color-bright)}.guide-popover-arrow{background-color:var(--tab-panel-bg);box-shadow:none}.guide-popover-content{background-color:var(--background-color-secondary);border:none}.guide-popover-guide-content{background:var(--tab-panel-bg);border:2px solid var(--tab-hover-color);border-radius:.4rem;padding:.75rem 1rem;display:grid;grid-template-rows:repeat(auto-fill,1fr);grid-row-gap:.5rem;justify-content:space-between}.modal{background-color:var(--background-color-secondary);color:var(--text-color);font-family:Inter}.modal-close-btn{background-color:var(--btn-base-color)}.modal-close-btn:hover{background-color:var(--btn-base-color-hover)}.modal-close-btn:disabled:hover{background-color:var(--btn-base-color)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{-ms-overflow-style:none;scrollbar-width:none;background-color:var(--root-bg-color);overflow:hidden}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}#root{background-color:var(--root-bg-color);color:var(--text-color);font-family:Inter,Arial,Helvetica,sans-serif} diff --git a/invokeai/frontend/dist/assets/index-fecb6dd4.css b/invokeai/frontend/dist/assets/index-fecb6dd4.css new file mode 100644 index 0000000000..11433ce132 --- /dev/null +++ b/invokeai/frontend/dist/assets/index-fecb6dd4.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;src:url(./Inter-b9a8e5e2.ttf);font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:Inter;src:url(./Inter-Bold-790c108b.ttf);font-display:swap;font-weight:600;font-style:normal}@keyframes slideOut{0%{transform:translate(10rem)}to{transform:translate(0)}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}*{scrollbar-width:thick;scrollbar-color:var(--scrollbar-color) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-radius:8px;border:2px solid var(--scrollbar-color)}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-color-hover);border:2px solid var(--scrollbar-color-hover)}::-webkit-scrollbar-button{background:transparent}[data-theme=dark]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(57, 25, 153);--accent-color: rgb(80, 40, 200);--accent-color-bright: rgb(104, 60, 230);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 10);--background-color: rgb(26, 26, 32);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(16, 16, 22);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 162, 188);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(48, 48, 64);--border-color: rgb(30, 30, 46);--border-color-light: rgb(60, 60, 76);--svg-color: rgb(255, 255, 255);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(30, 32, 42);--tab-hover-color: rgb(46, 48, 58);--tab-panel-bg: rgb(36, 38, 48);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 216);--tab-list-text-inactive: rgb(92, 94, 114);--btn-base-color: rgb(30, 32, 42);--btn-base-color-hover: rgb(46, 48, 68);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 10);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-color: rgb(151, 113, 255);--slider-mark-color: rgb(151, 113, 255);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}[data-theme=light]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(186, 146, 0);--accent-color: rgb(235, 185, 5);--accent-color-bright: rgb(255, 200, 0);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(255, 255, 255);--background-color: rgb(220, 222, 224);--background-color-light: rgb(250, 252, 254);--background-color-secondary: rgb(208, 210, 212);--text-color: rgb(0, 0, 0);--text-color-secondary: rgb(40, 40, 40);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(142, 144, 146);--border-color: rgb(200, 200, 200);--border-color-light: rgb(147, 147, 147);--svg-color: rgb(50, 50, 50);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(237, 51, 51);--destructive-color-hover: rgb(255, 55, 55);--warning-color: rgb(224, 142, 42);--warning-color-hover: rgb(255, 167, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: none;--tab-color: rgb(202, 204, 206);--tab-hover-color: rgb(196, 198, 200);--tab-panel-bg: rgb(206, 208, 210);--tab-list-bg: rgb(235, 185, 5);--tab-list-text: rgb(0, 0, 0);--tab-list-text-inactive: rgb(106, 108, 110);--btn-base-color: rgb(184, 186, 188);--btn-base-color-hover: rgb(230, 232, 234);--btn-load-more: rgb(202, 204, 206);--btn-load-more-hover: rgb(178, 180, 182);--btn-svg-color: rgb(0, 0, 0);--btn-delete-image: rgb(213, 49, 49);--btn-checkbox-border-hover: rgb(176, 178, 182);--progress-bar-color: rgb(235, 185, 5);--prompt-bg-color: rgb(225, 227, 229);--switch-bg-color: rgb(178, 180, 182);--switch-bg-active-color: rgb(235, 185, 5);--slider-color: var(--accent-color);--slider-mark-color: rgb(0, 0, 0);--resizeable-handle-border-color: rgb(160, 162, 164);--metadata-bg-color: rgba(230, 230, 230, .9);--metadata-json-bg-color: rgba(0, 0, 0, .1);--status-good-color: rgb(21, 126, 0);--status-good-glow: var(--background-color);--status-working-color: rgb(235, 141, 0);--status-working-glow: var(--background-color);--status-bad-color: rgb(202, 0, 0);--status-bad-glow: var(--background-color);--notice-color: rgb(255, 71, 90);--settings-modal-bg: rgb(202, 204, 206);--input-checkbox-bg: rgb(167, 167, 171);--input-checkbox-checked-bg: rgb(235, 185, 5);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: rgb(0, 0, 0);--input-box-shadow-color: none;--error-level-info: rgb(42, 42, 42);--error-level-warning: rgb(173, 121, 0);--error-level-error: rgb(145, 14, 0);--console-bg-color: rgb(220, 224, 230);--console-icon-button-bg-color: var(--switch-bg-color);--console-icon-button-bg-color-hover: var(--resizeable-handle-border-color);--img2img-img-bg-color: rgb(180, 182, 184);--context-menu-bg-color: var(--background-color);--context-menu-box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, .35), 0px 10px 20px -15px rgba(22, 23, 24, .2);--context-menu-bg-color-hover: var(--background-color-secondary);--floating-button-drop-shadow-color: rgba(0, 0, 0, .7);--inpainting-alerts-bg: rgba(220, 222, 224, .75);--inpainting-alerts-icon-color: rgb(0, 0, 0);--inpainting-alerts-bg-active: rgb(255, 200, 0);--inpainting-alerts-icon-active: rgb(0, 0, 0);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(0, 0, 0);--checkboard-dots-color: rgb(160, 160, 172);--scrollbar-color: rgb(180, 180, 184);--scrollbar-color-hover: rgb(150, 150, 154)}[data-theme=green]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(10, 60, 40);--accent-color: rgb(20, 110, 70);--accent-color-bright: rgb(30, 180, 100);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 14);--background-color: rgb(30, 32, 37);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(22, 24, 28);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 164, 168);--subtext-color: rgb(24, 24, 28);--subtext-color-bright: rgb(68, 72, 76);--border-color: rgb(40, 44, 48);--border-color-light: rgb(60, 60, 64);--svg-color: rgb(220, 224, 228);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(40, 44, 48);--tab-hover-color: rgb(48, 52, 56);--tab-panel-bg: rgb(36, 40, 44);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 206);--tab-list-text-inactive: rgb(92, 94, 96);--btn-base-color: rgb(40, 44, 48);--btn-base-color-hover: rgb(56, 60, 64);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 14);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-mark-color: var(--accent-color-bright);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}@media (max-width: 600px){#root .app-content{padding:5px}#root .app-content .site-header{position:fixed;display:flex;height:100px;z-index:1}#root .app-content .site-header .site-header-left-side{position:absolute;display:flex;min-width:145px;float:left;padding-left:0}#root .app-content .site-header .site-header-right-side{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-rows:25px 25px 25px;grid-template-areas:"logoSpace logoSpace logoSpace sampler sampler sampler" "status status status status status status" "btn1 btn2 btn3 btn4 btn5 btn6";row-gap:15px}#root .app-content .site-header .site-header-right-side .chakra-popover__popper{grid-area:logoSpace}#root .app-content .site-header .site-header-right-side>:nth-child(1).chakra-text{grid-area:status;width:100%;display:flex;justify-content:center}#root .app-content .site-header .site-header-right-side>:nth-child(2){grid-area:sampler;display:flex;justify-content:center;align-items:center}#root .app-content .site-header .site-header-right-side>:nth-child(2) select{width:185px;margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper{right:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper svg{margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(3){grid-area:btn1}#root .app-content .site-header .site-header-right-side>:nth-child(4){grid-area:btn2}#root .app-content .site-header .site-header-right-side>:nth-child(6){grid-area:btn3}#root .app-content .site-header .site-header-right-side>:nth-child(7){grid-area:btn4}#root .app-content .site-header .site-header-right-side>:nth-child(8){grid-area:btn5}#root .app-content .site-header .site-header-right-side>:nth-child(9){grid-area:btn6}#root .app-content .app-tabs{position:fixed;display:flex;flex-direction:column;row-gap:15px;max-width:100%;overflow:hidden;margin-top:120px}#root .app-content .app-tabs .app-tabs-list{display:flex;justify-content:space-between}#root .app-content .app-tabs .app-tabs-panels{overflow:hidden;overflow-y:scroll}#root .app-content .app-tabs .app-tabs-panels .workarea-main{display:grid;grid-template-areas:"workarea" "options" "gallery";row-gap:15px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper{grid-area:options;width:100%;max-width:100%;height:inherit;overflow:inherit;padding:0 10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .main-settings-row,#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .advanced-parameters-item{max-width:100%}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper{grid-area:workarea}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .workarea-split-view{display:flex;flex-direction:column}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-options{column-gap:3px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .text-to-image-area{padding:0}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-preview{height:430px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button{row-gap:10px;padding:5px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button svg{width:2rem;height:2rem;margin-top:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-settings{display:flex;flex-wrap:wrap;row-gap:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-canvas-area .konvajs-content{height:400px!important}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper{grid-area:gallery;min-height:400px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper .image-gallery-popup{width:100%!important;max-width:100%!important}}svg{fill:var(--svg-color)}.App{display:grid;width:100vw;height:100vh;background-color:var(--background-color)}.app-content{display:grid;row-gap:1rem;padding:1rem;grid-auto-rows:min-content auto;width:calc(100vw + -0px);height:calc(100vh - .3rem)}.site-header{display:grid;grid-template-columns:auto max-content}.site-header-left-side{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem}.site-header-left-side img{width:32px;height:32px}.site-header-right-side{display:flex;align-items:center;column-gap:.5rem}.site-header-right-side .lang-select-btn[data-selected=true],.site-header-right-side .lang-select-btn[data-selected=true]:hover{background-color:var(--accent-color)}.status{font-size:.8rem;font-weight:700}.status-good{color:var(--status-good-color);text-shadow:0 0 10px var(--status-good-glow)}.status-bad{color:var(--status-bad-color);text-shadow:0 0 10px var(--status-bad-glow)}.status-working{color:var(--status-working-color);text-shadow:0 0 10px var(--status-working-glow)}.settings-modal{max-height:36rem;font-family:Inter}.settings-modal .settings-modal-content{display:grid;row-gap:2rem;overflow-y:scroll}.settings-modal .settings-modal-header{font-weight:700}.settings-modal .settings-modal-items{display:grid;row-gap:.5rem}.settings-modal .settings-modal-items .settings-modal-item{display:grid;grid-auto-flow:column;background-color:var(--background-color);padding:.4rem 1rem;border-radius:.5rem;align-items:center;width:100%}.settings-modal .settings-modal-reset{display:grid;row-gap:1rem}.settings-modal .settings-modal-reset button{min-width:100%;min-height:100%;background-color:var(--destructive-color)!important}.settings-modal .settings-modal-reset button:hover{background-color:var(--destructive-color-hover)}.settings-modal .settings-modal-reset button:disabled{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button:disabled:hover{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button svg{width:20px;height:20px;color:var(--btn-svg-color)}.add-model-modal{display:flex}.add-model-modal-body{display:flex;flex-direction:column;row-gap:1rem;padding-bottom:2rem}.add-model-form{display:flex;flex-direction:column;row-gap:.5rem}.hotkeys-modal{width:36rem;max-width:36rem;display:grid;padding:1rem;row-gap:1rem;font-family:Inter}.hotkeys-modal h1{font-size:1.2rem;font-weight:700}.hotkeys-modal h2{font-weight:700}.hotkeys-modal-button{display:flex;align-items:center;justify-content:space-between}.hotkeys-modal-items{max-height:36rem;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.hotkeys-modal-items::-webkit-scrollbar{display:none}.hotkeys-modal-items .chakra-accordion{display:grid;row-gap:.5rem}.hotkeys-modal-items .chakra-accordion__item{border:none;border-radius:.3rem;background-color:var(--tab-hover-color)}.hotkeys-modal-items button{border-radius:.3rem}.hotkeys-modal-items button[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.3rem}.hotkey-modal-category{display:grid;row-gap:.5rem}.hotkey-modal-item{display:grid;grid-template-columns:auto max-content;justify-content:space-between;align-items:center;background-color:var(--background-color);padding:.5rem 1rem;border-radius:.3rem}.hotkey-modal-item .hotkey-info{display:grid}.hotkey-modal-item .hotkey-info .hotkey-title{font-weight:700}.hotkey-modal-item .hotkey-info .hotkey-description{font-size:.9rem;color:var(--text-color-secondary)}.hotkey-modal-item .hotkey-key{font-size:.8rem;font-weight:700;background-color:var(--background-color-light);padding:.2rem .5rem;border-radius:.3rem}.console{width:100vw;display:flex;flex-direction:column;background:var(--console-bg-color);overflow:auto;direction:column;font-family:monospace;padding:0 1rem 1rem 3rem;border-top-width:.3rem;border-color:var(--resizeable-handle-border-color)}.console .console-info-color{color:var(--error-level-info)}.console .console-warning-color{color:var(--error-level-warning)}.console .console-error-color{color:var(--status-bad-color)}.console .console-entry{display:flex;column-gap:.5rem}.console .console-entry .console-timestamp{font-weight:semibold}.console .console-entry .console-message{word-break:break-all}.console-toggle-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:.5rem;z-index:10000}.console-toggle-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-toggle-icon-button[data-error-seen=true],.console-toggle-icon-button[data-error-seen=true]:hover{background:var(--status-bad-color)}.console-autoscroll-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:3rem;z-index:10000}.console-autoscroll-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]{background:var(--accent-color)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]:hover{background:var(--accent-color-hover)}.progress-bar{background-color:var(--root-bg-color);height:.3rem;z-index:99}.progress-bar div{background-color:var(--progress-bar-color)}.progress-bar div[data-indeterminate]{background-color:unset;background-image:linear-gradient(to right,transparent 0%,var(--progress-bar-color) 50%,transparent 100%)}.prompt-bar{display:grid;row-gap:1rem}.prompt-bar input,.prompt-bar textarea{background-color:var(--prompt-bg-color);font-size:1rem;border:2px solid var(--border-color)}.prompt-bar input:hover,.prompt-bar textarea:hover{border:2px solid var(--border-color-light)}.prompt-bar input:focus-visible,.prompt-bar textarea:focus-visible{border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.prompt-bar input[aria-invalid=true],.prompt-bar textarea[aria-invalid=true]{border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.prompt-bar input:disabled,.prompt-bar textarea:disabled{border:2px solid var(--border-color);box-shadow:none}.prompt-bar textarea{min-height:10rem}.process-buttons{display:flex;column-gap:.5rem}.invoke-btn{flex-grow:1;width:100%;min-width:100%;min-height:100%;background-color:var(--accent-color)!important}.invoke-btn:hover{background-color:var(--accent-color-hover)}.invoke-btn:disabled{background-color:var(--btn-base-color)}.invoke-btn:disabled:hover{background-color:var(--btn-base-color)}.invoke-btn svg{width:16px;height:16px;color:var(--btn-svg-color)}.cancel-btn{min-width:3rem;min-height:100%;background-color:var(--destructive-color)!important}.cancel-btn:hover{background-color:var(--destructive-color-hover)}.cancel-btn:disabled{background-color:var(--btn-base-color)}.cancel-btn:disabled:hover{background-color:var(--btn-base-color)}.cancel-btn svg{width:20px;height:20px;color:var(--btn-svg-color)}.loopback-btn[data-as-checkbox=true]{background-color:var(--btn-btn-base-color);border:3px solid var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true]:hover{background-color:var(--btn-btn-base-color);border-color:var(--btn-checkbox-border-hover)}.loopback-btn[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--text-color)}.main-settings,.main-settings-list{display:grid;row-gap:1rem}.main-settings-row{display:grid;grid-template-columns:repeat(3,auto);column-gap:.5rem;max-width:22.5rem}.main-settings-block{border-radius:.5rem;display:grid!important;grid-template-columns:auto!important;row-gap:.5rem}.main-settings-block .invokeai__number-input-form-label,.main-settings-block .invokeai__select-label{font-weight:700;font-size:.9rem!important}.main-settings-block .invokeai__select-label{margin:0}.advanced-parameters{padding-top:.5rem;display:grid;row-gap:.5rem}.advanced-parameters-item{display:grid;max-width:22.5rem;border:none;border-top:0px;border-radius:.4rem;background-color:var(--tab-panel-bg)}.advanced-parameters-item[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:0 0 .4rem .4rem}.advanced-parameters-panel{background-color:var(--tab-panel-bg);border-radius:0 0 .4rem .4rem;padding:1rem}.advanced-parameters-panel button{background-color:var(--btn-base-color)}.advanced-parameters-panel button:hover{background-color:var(--btn-base-color-hover)}.advanced-parameters-panel button:disabled:hover{background-color:var(--btn-base-color)}.advanced-parameters-header{border-radius:.4rem;font-weight:700}.advanced-parameters-header[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.4rem .4rem 0 0}.advanced-parameters-header:hover{background-color:var(--tab-hover-color)}.inpainting-bounding-box-settings{display:flex;flex-direction:column;border-radius:.4rem;border:2px solid var(--tab-color)}.inpainting-bounding-box-header{background-color:var(--tab-color);display:flex;flex-direction:row;justify-content:space-between;padding:.5rem 1rem;border-radius:.3rem .3rem 0 0;align-items:center}.inpainting-bounding-box-header button{width:.5rem;height:1.2rem;background:none}.inpainting-bounding-box-header button:hover{background:none}.inpainting-bounding-box-settings-items{padding:1rem;display:flex;flex-direction:column;row-gap:1rem}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn{background-color:var(--btn-base-color)}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn:hover{background-color:var(--btn-base-color-hover)}.inpainting-bounding-box-dimensions-slider-numberinput{display:grid;grid-template-columns:repeat(3,auto);column-gap:1rem}.inpainting-bounding-box-darken{width:max-content}.current-image-area{display:flex;flex-direction:column;height:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem}.current-image-preview{position:relative;justify-content:center;align-items:center;display:flex;width:100%;height:100%}.current-image-preview img{border-radius:.5rem;object-fit:contain;max-width:100%;max-height:100%;height:auto;position:absolute}.current-image-metadata{grid-area:current-image-preview}.current-image-next-prev-buttons{grid-area:current-image-content;display:flex;justify-content:space-between;z-index:1;height:100%;width:100%;pointer-events:none}.next-prev-button-trigger-area{width:7rem;height:100%;width:15%;display:grid;align-items:center;pointer-events:auto}.next-prev-button-trigger-area.prev-button-trigger-area{justify-content:flex-start}.next-prev-button-trigger-area.next-button-trigger-area{justify-content:flex-end}.next-prev-button{font-size:4rem;fill:var(--white);filter:drop-shadow(0 0 1rem var(--text-color-secondary));opacity:70%}.current-image-display-placeholder{background-color:var(--background-color-secondary);display:grid;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:.5rem}.current-image-display-placeholder svg{width:10rem;height:10rem;color:var(--svg-color)}.current-image-options{width:100%;display:flex;justify-content:center;align-items:center;column-gap:.5em}.current-image-options .current-image-send-to-popover,.current-image-options .current-image-postprocessing-popover{display:flex;flex-direction:column;row-gap:.5rem;max-width:25rem}.current-image-options .current-image-send-to-popover .invokeai__button{place-content:start}.current-image-options .chakra-popover__popper{z-index:11}.current-image-options .delete-image-btn{background-color:var(--btn-base-color)}.current-image-options .delete-image-btn svg{fill:var(--btn-delete-image)}.image-gallery-wrapper-enter{transform:translate(150%)}.image-gallery-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.image-gallery-wrapper-exit{transform:translate(0)}.image-gallery-wrapper-exit-active{transform:translate(150%);transition:all .12s ease-out}.image-gallery-wrapper[data-pinned=false]{position:fixed;height:100vh;top:0;right:0}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup{border-radius:0;box-shadow:0 0 1rem var(--text-color-a3)}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup .image-gallery-container{max-height:calc(100vh + 4.7rem)}.image-gallery-wrapper .image-gallery-popup{background-color:var(--background-color-secondary);padding:1rem;display:flex;flex-direction:column;row-gap:1rem;border-radius:.5rem;border-left-width:.3rem;border-color:var(--tab-list-text-inactive)}.image-gallery-wrapper .image-gallery-popup[data-resize-alert=true]{border-color:var(--status-bad-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header{display:flex;align-items:center;column-gap:.5rem;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-header-right-icons{display:flex;flex-direction:row;column-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover{display:flex;flex-direction:column;row-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover div{display:flex;column-gap:.5rem;align-items:center;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header h1{font-weight:700}.image-gallery-wrapper .image-gallery-popup .image-gallery-container{display:flex;flex-direction:column;max-height:calc(100vh - (70px + 7rem));overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container::-webkit-scrollbar{display:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder{display:flex;flex-direction:column;row-gap:.5rem;background-color:var(--background-color);border-radius:.5rem;place-items:center;padding:2rem;text-align:center}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder p{color:var(--subtext-color-bright);font-family:Inter}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder svg{width:4rem;height:4rem;color:var(--svg-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn{background-color:var(--btn-load-more);font-size:.85rem;padding:.5rem;margin-top:1rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:disabled:hover{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-category-btn-group{width:max-content;column-gap:0;justify-content:stretch}.image-gallery-category-btn-group button{background-color:var(--btn-base-color);flex-grow:1}.image-gallery-category-btn-group button:hover{background-color:var(--btn-base-color-hover)}.image-gallery-category-btn-group button[data-selected=true]{background-color:var(--accent-color)}.image-gallery-category-btn-group button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.image-gallery{display:grid;grid-gap:.5rem}.image-gallery .hoverable-image{padding:.5rem;position:relative}.image-gallery .hoverable-image:before{content:"";display:block;padding-bottom:100%}.image-gallery .hoverable-image .hoverable-image-image{position:absolute;max-width:100%;top:50%;left:50%;transform:translate(-50%,-50%)}.hoverable-image{display:flex;justify-content:center;transition:transform .2s ease-out}.hoverable-image:hover{cursor:pointer;border-radius:.5rem;z-index:2}.hoverable-image .hoverable-image-image{width:100%;height:100%;max-width:100%;max-height:100%}.hoverable-image .hoverable-image-delete-button{position:absolute;top:.25rem;right:.25rem}.hoverable-image .hoverable-image-content{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;align-items:center;justify-content:center}.hoverable-image .hoverable-image-content .hoverable-image-check{fill:var(--status-good-color)}.hoverable-image .hoverable-image-icons{position:absolute;bottom:-2rem;display:grid;width:min-content;grid-template-columns:repeat(2,max-content);border-radius:.4rem;background-color:var(--background-color-secondary);padding:.2rem;gap:.2rem;grid-auto-rows:max-content}.hoverable-image .hoverable-image-icons button{width:12px;height:12px;border-radius:.2rem;padding:10px 0;flex-shrink:2}.hoverable-image .hoverable-image-icons button svg{width:12px;height:12px}.hoverable-image-context-menu{z-index:15;padding:.4rem;border-radius:.25rem;background-color:var(--context-menu-bg-color);box-shadow:var(--context-menu-box-shadow)}.hoverable-image-context-menu [role=menuitem]{font-size:.8rem;line-height:1rem;border-radius:3px;display:flex;align-items:center;height:1.75rem;padding:0 .5rem;position:relative;user-select:none;cursor:pointer;outline:none}.hoverable-image-context-menu [role=menuitem][data-disabled]{color:gray;pointer-events:none;cursor:not-allowed}.hoverable-image-context-menu [role=menuitem][data-warning]{color:var(--status-bad-color)}.hoverable-image-context-menu [role=menuitem][data-highlighted]{background-color:var(--context-menu-bg-color-hover)}.image-metadata-viewer{position:absolute;top:0;width:100%;border-radius:.5rem;padding:1rem;background-color:var(--metadata-bg-color);overflow:scroll;max-height:calc(100vh - (70px + 5.4rem));height:100%;z-index:10}.image-json-viewer{border-radius:.5rem;margin:0 .5rem 1rem;padding:1rem;overflow-x:scroll;word-break:break-all;background-color:var(--metadata-json-bg-color)}.lightbox-container{width:100%;height:100%;color:var(--text-color);overflow:hidden;position:absolute;left:0;top:0;background-color:var(--background-color-secondary);z-index:30;animation:popIn .3s ease-in}.lightbox-container .image-gallery-wrapper{max-height:100%!important}.lightbox-container .image-gallery-wrapper .image-gallery-container{max-height:calc(100vh - 5rem)}.lightbox-container .current-image-options{z-index:2;position:absolute;top:1rem}.lightbox-container .image-metadata-viewer{left:0;max-height:100%}.lightbox-close-btn{z-index:3;position:absolute;left:1rem;top:1rem;background-color:var(--btn-base-color)}.lightbox-close-btn:hover{background-color:var(--btn-base-color-hover)}.lightbox-close-btn:disabled:hover{background-color:var(--btn-base-color)}.lightbox-display-container{display:flex;flex-direction:row}.lightbox-preview-wrapper{overflow:hidden;background-color:var(--background-color-secondary);display:grid;grid-template-columns:auto max-content;place-items:center;width:100vw;height:100vh}.lightbox-preview-wrapper .current-image-next-prev-buttons{position:absolute}.lightbox-preview-wrapper .lightbox-image{grid-area:lightbox-content;border-radius:.5rem}.lightbox-preview-wrapper .lightbox-image-options{position:absolute;z-index:2;left:1rem;top:4.5rem;user-select:none;border-radius:.5rem;display:flex;flex-direction:column;row-gap:.5rem}@keyframes popIn{0%{opacity:0;filter:blur(100)}to{opacity:1;filter:blur(0)}}.app-tabs{display:grid;grid-template-columns:min-content auto;column-gap:1rem;height:calc(100vh - (70px + 1rem))}.app-tabs-list{display:grid;row-gap:.3rem;grid-auto-rows:min-content;color:var(--tab-list-text-inactive)}.app-tabs-list button{font-size:.85rem;padding:.5rem}.app-tabs-list button:hover{background-color:var(--tab-hover-color);border-radius:.3rem}.app-tabs-list button svg{width:24px;height:24px}.app-tabs-list button[aria-selected=true]{background-color:var(--tab-list-bg);color:var(--tab-list-text);font-weight:700;border-radius:.3rem;border:none}.app-tabs-panels .app-tabs-panel{padding:0;height:100%}.workarea-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main{display:flex;column-gap:1rem;height:100%}.workarea-wrapper .workarea-main .workarea-children-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main .workarea-split-view{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-left{padding-right:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-right{padding-left:.5rem}.workarea-wrapper .workarea-main .workarea-single-view{width:100%;height:100%;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view-left,.workarea-wrapper .workarea-main .workarea-split-view-right{display:flex;flex-direction:column;height:100%;width:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem;padding:1rem}.workarea-split-button{position:absolute;cursor:pointer;padding:.5rem;top:0;right:0}.workarea-split-button[data-selected=true]{top:0;right:0}.workarea-split-button[data-selected=true] svg{opacity:1}.workarea-split-button svg{opacity:.5}.parameters-panel-wrapper-enter{transform:translate(-150%)}.parameters-panel-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.parameters-panel-wrapper-exit{transform:translate(0)}.parameters-panel-wrapper-exit-active{transform:translate(-150%);transition:all .12s ease-out}.parameters-panel-wrapper{background-color:var(--background-color);height:calc(100vh - (70px + 1rem));width:22.5rem;max-width:22.5rem;flex-shrink:0;position:relative;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.parameters-panel-wrapper::-webkit-scrollbar{display:none}.parameters-panel-wrapper .parameters-panel{display:flex;flex-direction:column;row-gap:1rem;height:100%;-ms-overflow-style:none;scrollbar-width:none;background-color:var(--background-color)}.parameters-panel-wrapper .parameters-panel::-webkit-scrollbar{display:none}.parameters-panel-wrapper[data-pinned=false]{z-index:20;position:fixed;top:0;left:0;filter:var(--floating-panel-drop-shadow);width:24.5rem;max-width:24.5rem;height:100%}.parameters-panel-wrapper[data-pinned=false] .parameters-panel-margin{margin:1rem}.parameters-panel-wrapper .parameters-panel-pin-button{position:absolute;cursor:pointer;padding:.5rem;top:1rem;right:1rem;z-index:20}.parameters-panel-wrapper .parameters-panel-pin-button[data-selected=true]{top:0;right:0}.parameters-panel-wrapper .parameters-panel-pin-button svg{opacity:.5}.invoke-ai-logo-wrapper{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem;padding-top:.3rem}.invoke-ai-logo-wrapper img{width:32px;height:32px}.invoke-ai-logo-wrapper h1{font-size:1.4rem}.text-to-image-area{padding:1rem;height:100%}.image-to-image-area{display:flex;flex-direction:column;row-gap:1rem;width:100%;height:100%}.image-to-image-strength-main-option{display:flex;row-gap:.5rem!important}.image-to-image-strength-main-option .invokeai__slider-component-label{color:var(--text-color-secondary);font-size:.9rem!important}.init-image-preview-header{display:flex;align-items:center;justify-content:space-between;width:100%}.init-image-preview-header h2{font-weight:700;font-size:.9rem}.init-image-preview{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}.init-image-preview img{border-radius:.5rem;object-fit:contain;position:absolute}.image-to-image-current-image-display{position:relative}.floating-show-hide-button{position:absolute;top:50%;transform:translateY(-50%);z-index:20;padding:0;background-color:red!important;min-width:2rem;min-height:12rem;background-color:var(--btn-btn-base-color)!important}.floating-show-hide-button.left{left:0;border-radius:0 .5rem .5rem 0}.floating-show-hide-button.right{right:0;border-radius:.5rem 0 0 .5rem}.floating-show-hide-button:hover{background-color:var(--btn-btn-base-color-hover)}.floating-show-hide-button:disabled{background-color:var(--btn-base-color)}.floating-show-hide-button:disabled:hover{background-color:var(--btn-base-color)}.floating-show-hide-button svg{width:20px;height:20px;color:var(--btn-svg-color)}.show-hide-button-options{position:absolute;transform:translateY(-50%);z-index:20;min-width:2rem;top:50%;left:calc(42px + 2rem);border-radius:0 .5rem .5rem 0;display:flex;flex-direction:column;row-gap:.5rem}.show-hide-button-options button{border-radius:0 .3rem .3rem 0}.show-hide-button-gallery{padding-left:.75rem;padding-right:.75rem;background-color:var(--background-color)!important}.inpainting-main-area{display:flex;flex-direction:column;align-items:center;row-gap:1rem;width:100%;height:100%}.inpainting-main-area .inpainting-settings{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings svg{transform:scale(.9)}.inpainting-main-area .inpainting-settings .inpainting-buttons-group{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-button-dropdown{display:flex;flex-direction:column;row-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-color-picker{margin-left:1rem}.inpainting-main-area .inpainting-settings .inpainting-brush-options{display:flex;align-items:center;column-gap:1rem}.inpainting-canvas-area{display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:1rem;width:100%;height:100%}.inpainting-canvas-spiner{display:flex;align-items:center;width:100%;height:100%}.inpainting-canvas-container{display:flex;position:relative;height:100%;width:100%;border-radius:.5rem}.inpainting-canvas-wrapper{position:relative}.inpainting-canvas-stage{outline:none;border-radius:.5rem;box-shadow:0 0 0 1px var(--border-color-light);overflow:hidden}.inpainting-canvas-stage canvas{outline:none;border-radius:.5rem}.inpainting-options-btn{min-height:2rem}.canvas-status-text{position:absolute;top:0;left:0;background-color:var(--background-color);opacity:.65;display:flex;flex-direction:column;font-size:.8rem;padding:.25rem;min-width:12rem;border-radius:.25rem;margin:.25rem;pointer-events:none}.invokeai__number-input-form-control{display:flex;align-items:center;column-gap:1rem}.invokeai__number-input-form-control .invokeai__number-input-form-label{color:var(--text-color-secondary)}.invokeai__number-input-form-control .invokeai__number-input-form-label[data-focus]+.invokeai__number-input-root{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__number-input-form-control .invokeai__number-input-form-label[aria-invalid=true]+.invokeai__number-input-root{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__number-input-form-control .invokeai__number-input-root{height:2rem;display:grid;grid-template-columns:auto max-content;column-gap:.5rem;align-items:center;background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.3rem}.invokeai__number-input-form-control .invokeai__number-input-field{border:none;font-weight:700;width:100%;height:auto;font-size:.9rem;padding:0 .5rem}.invokeai__number-input-form-control .invokeai__number-input-field:focus{outline:none;box-shadow:none}.invokeai__number-input-form-control .invokeai__number-input-field:disabled{opacity:.2}.invokeai__number-input-form-control .invokeai__number-input-stepper{display:grid;padding-right:.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button{border:none;padding:0 .5rem;margin:0 -.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button svg{width:10px;height:10px}.input{display:grid;grid-template-columns:max-content auto;column-gap:1rem;align-items:center}.input .input-label{color:var(--text-color-secondary)}.input .input-entry{background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.2rem;font-weight:700}.input .input-entry:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.input .input-entry:disabled{opacity:.2}.input .input-entry[aria-invalid=true]{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__icon-button{background:var(--btn-base-color);cursor:pointer}.invokeai__icon-button:hover{background-color:var(--btn-base-color-hover)}.invokeai__icon-button[data-selected=true]{background-color:var(--accent-color)}.invokeai__icon-button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.invokeai__icon-button[disabled]{cursor:not-allowed}.invokeai__icon-button[data-variant=link],.invokeai__icon-button[data-variant=link]:hover{background:none}.invokeai__icon-button[data-as-checkbox=true]{background-color:var(--btn-base-color);border:3px solid var(--btn-base-color)}.invokeai__icon-button[data-as-checkbox=true] svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true]:hover{background-color:var(--btn-base-color);border-color:var(--btn-checkbox-border-hover)}.invokeai__icon-button[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true] svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-alert=true]{animation-name:pulseColor;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.invokeai__icon-button[data-alert=true]:hover{animation:none;background-color:var(--accent-color-hover)}@keyframes pulseColor{0%{background-color:var(--accent-color)}50%{background-color:var(--accent-color-dim)}to{background-color:var(--accent-color)}}.invokeai__button{background-color:var(--btn-base-color);place-content:center}.invokeai__button:hover{background-color:var(--btn-base-color-hover)}.invokeai__switch-form-control .invokeai__switch-form-label{color:var(--text-color-secondary)}.invokeai__switch-form-control .invokeai__switch-root span{background-color:var(--switch-bg-color)}.invokeai__switch-form-control .invokeai__switch-root span span{background-color:var(--white)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span{background:var(--switch-bg-active-color)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span span{background-color:var(--white)}.invokeai__select{display:flex;column-gap:1rem;align-items:center}.invokeai__select .invokeai__select-label{color:var(--text-color-secondary)}.invokeai__select .invokeai__select-picker{border:2px solid var(--border-color);background-color:var(--background-color-secondary);font-weight:700;font-size:.9rem;height:2rem;border-radius:.2rem}.invokeai__select .invokeai__select-picker:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__select .invokeai__select-option{background-color:var(--background-color-secondary);color:var(--text-color-secondary)}.invokeai__slider-component{padding-bottom:.5rem;border-radius:.5rem}.invokeai__slider-component .invokeai__slider-component-label{min-width:max-content;margin:0;font-weight:700;font-size:.9rem;color:var(--text-color-secondary)}.invokeai__slider-component .invokeai__slider_track{background-color:var(--tab-color)}.invokeai__slider-component .invokeai__slider_track-filled{background-color:var(--slider-color)}.invokeai__slider-component .invokeai__slider-thumb{width:4px}.invokeai__slider-component .invokeai__slider-mark{font-size:.75rem;font-weight:700;color:var(--slider-mark-color);margin-top:.3rem}.invokeai__slider-component .invokeai__slider-number-input{border:none;font-size:.9rem;font-weight:700;height:2rem;background-color:var(--background-color-secondary);border:2px solid var(--border-color)}.invokeai__slider-component .invokeai__slider-number-input:focus{outline:none;box-shadow:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__slider-component .invokeai__slider-number-input:disabled{opacity:.2}.invokeai__slider-component .invokeai__slider-number-stepper{border:none}.invokeai__slider-component[data-markers=true] .invokeai__slider_container{margin-top:-1rem}.invokeai__checkbox .chakra-checkbox__label{margin-top:1px;color:var(--text-color-secondary);font-size:.9rem}.invokeai__checkbox .chakra-checkbox__control{width:1rem;height:1rem;border:none;border-radius:.2rem;background-color:var(--input-checkbox-bg)}.invokeai__checkbox .chakra-checkbox__control svg{width:.6rem;height:.6rem;stroke-width:3px}.invokeai__checkbox .chakra-checkbox__control[data-checked]{color:var(--text-color);background-color:var(--input-checkbox-checked-bg)}.invokeai__popover-content{min-width:unset;width:unset;padding:1rem;border-radius:.5rem;background-color:var(--background-color);border:2px solid var(--border-color)}.invokeai__popover-content .invokeai__popover-arrow{background-color:var(--background-color)!important}.invokeai__color-picker .react-colorful__hue-pointer,.invokeai__color-picker .react-colorful__saturation-pointer{width:1.5rem;height:1.5rem;border-color:var(--white)}.dropzone-container{position:absolute;top:0;left:0;width:100vw;height:100vh;z-index:999;backdrop-filter:blur(20px)}.dropzone-container .dropzone-overlay{opacity:.5;width:100%;height:100%;display:flex;flex-direction:column;row-gap:1rem;align-items:center;justify-content:center;background-color:var(--background-color)}.dropzone-container .dropzone-overlay.is-drag-accept{box-shadow:inset 0 0 20rem 1rem var(--accent-color)}.dropzone-container .dropzone-overlay.is-drag-reject{box-shadow:inset 0 0 20rem 1rem var(--status-bad-color)}.dropzone-container .dropzone-overlay.is-handling-upload{box-shadow:inset 0 0 20rem 1rem var(--status-working-color)}.image-uploader-button-outer{width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:.5rem;color:var(--tab-list-text-inactive);background-color:var(--background-color)}.image-uploader-button-outer:hover{background-color:var(--background-color-light)}.image-upload-button-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.image-upload-button{display:flex;flex-direction:column;row-gap:2rem;align-items:center;justify-content:center;text-align:center}.image-upload-button svg{width:4rem;height:4rem}.image-upload-button h2{font-size:1.2rem}.work-in-progress{display:grid;width:100%;height:calc(100vh - (70px + 1rem));grid-auto-rows:max-content;background-color:var(--background-color-secondary);border-radius:.4rem;place-content:center;place-items:center;row-gap:1rem}.work-in-progress h1{font-size:2rem;font-weight:700}.work-in-progress p{text-align:center;max-width:50rem;color:var(--subtext-color-bright)}.guide-popover-arrow{background-color:var(--tab-panel-bg);box-shadow:none}.guide-popover-content{background-color:var(--background-color-secondary);border:none}.guide-popover-guide-content{background:var(--tab-panel-bg);border:2px solid var(--tab-hover-color);border-radius:.4rem;padding:.75rem 1rem;display:grid;grid-template-rows:repeat(auto-fill,1fr);grid-row-gap:.5rem;justify-content:space-between}.modal{background-color:var(--background-color-secondary);color:var(--text-color);font-family:Inter}.modal-close-btn{background-color:var(--btn-base-color)}.modal-close-btn:hover{background-color:var(--btn-base-color-hover)}.modal-close-btn:disabled:hover{background-color:var(--btn-base-color)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{-ms-overflow-style:none;scrollbar-width:none;background-color:var(--root-bg-color);overflow:hidden}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}#root{background-color:var(--root-bg-color);color:var(--text-color);font-family:Inter,Arial,Helvetica,sans-serif} diff --git a/invokeai/frontend/dist/index.html b/invokeai/frontend/dist/index.html index 9e8d43854a..64faf31a18 100644 --- a/invokeai/frontend/dist/index.html +++ b/invokeai/frontend/dist/index.html @@ -5,8 +5,8 @@ InvokeAI - A Stable Diffusion Toolkit - - + + diff --git a/invokeai/frontend/dist/locales/parameters/en.json b/invokeai/frontend/dist/locales/parameters/en.json index 5bca8b0950..fef06c92fa 100644 --- a/invokeai/frontend/dist/locales/parameters/en.json +++ b/invokeai/frontend/dist/locales/parameters/en.json @@ -20,6 +20,7 @@ "upscaling": "Upscaling", "upscale": "Upscale", "upscaleImage": "Upscale Image", + "denoisingStrength": "Denoising Strength", "scale": "Scale", "otherOptions": "Other Options", "seamlessTiling": "Seamless Tiling", diff --git a/invokeai/frontend/stats.html b/invokeai/frontend/stats.html index 3ab0673ed4..3484a322d7 100644 --- a/invokeai/frontend/stats.html +++ b/invokeai/frontend/stats.html @@ -1,33093 +1,6177 @@ + - - - - - Rollup Visualizer - - - -
- - + - + window.addEventListener('resize', run); + + document.addEventListener('DOMContentLoaded', run); + /*-->*/ + + + From 158d1ef38455bf0ae90789dd8516aa0dcacc47ff Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Thu, 9 Feb 2023 13:01:08 -0500 Subject: [PATCH 08/20] bump version number; update contributors --- docs/other/CONTRIBUTORS.md | 4 +++- ldm/invoke/_version.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/other/CONTRIBUTORS.md b/docs/other/CONTRIBUTORS.md index a33d58c5d6..93ea357a5a 100644 --- a/docs/other/CONTRIBUTORS.md +++ b/docs/other/CONTRIBUTORS.md @@ -23,9 +23,11 @@ We thank them for all of their time and hard work. * @damian0815 - Attention Systems and Gameplay Engineer * @mauwii (Matthias Wild) - Continuous integration and product maintenance engineer * @Netsvetaev (Artur Netsvetaev) - UI/UX Developer -* @tildebyte - general gadfly and resident (self-appointed) know-it-all +* @tildebyte - General gadfly and resident (self-appointed) know-it-all * @keturn - Lead for Diffusers port * @ebr (Eugene Brodsky) - Cloud/DevOps/Sofware engineer; your friendly neighbourhood cluster-autoscaler +* @jpphoto (Jonathan Pollack) - Inference and rendering engine optimization +* @genomancer (Gregg Helt) - Model training and merging ## **Contributions by** diff --git a/ldm/invoke/_version.py b/ldm/invoke/_version.py index 30e673390e..5a0f2532eb 100644 --- a/ldm/invoke/_version.py +++ b/ldm/invoke/_version.py @@ -1 +1 @@ -__version__='2.3.0-rc7' +__version__='2.3.0' From 3feff09fb335d63c6f991191969a370f74679b29 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 9 Feb 2023 22:36:14 +1100 Subject: [PATCH 09/20] fixes #2049 use threshold not setting correct value --- .../dist/assets/{index-8606d352.js => index-77adb35d.js} | 2 +- invokeai/frontend/dist/index.html | 2 +- .../src/features/parameters/store/generationSlice.ts | 7 +++++-- invokeai/frontend/stats.html | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) rename invokeai/frontend/dist/assets/{index-8606d352.js => index-77adb35d.js} (99%) diff --git a/invokeai/frontend/dist/assets/index-8606d352.js b/invokeai/frontend/dist/assets/index-77adb35d.js similarity index 99% rename from invokeai/frontend/dist/assets/index-8606d352.js rename to invokeai/frontend/dist/assets/index-77adb35d.js index 0df2ce25d5..7a40cbe04c 100644 --- a/invokeai/frontend/dist/assets/index-8606d352.js +++ b/invokeai/frontend/dist/assets/index-77adb35d.js @@ -473,7 +473,7 @@ __p += '`),an&&(Re+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+Re+`return __p -}`;var qt=sL(function(){return on(H,bt+"return "+Re).apply(n,J)});if(qt.source=Re,Rw(qt))throw qt;return qt}function mJ(c){return Ln(c).toLowerCase()}function vJ(c){return Ln(c).toUpperCase()}function yJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return co(c);if(!c||!(g=po(g)))return c;var O=Xi(c),B=Xi(g),H=ca(O,B),J=bs(O,B)+1;return Es(O,H,J).join("")}function bJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.slice(0,t1(c)+1);if(!c||!(g=po(g)))return c;var O=Xi(c),B=bs(O,Xi(g))+1;return Es(O,0,B).join("")}function SJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.replace(bc,"");if(!c||!(g=po(g)))return c;var O=Xi(c),B=ca(O,Xi(g));return Es(O,B).join("")}function xJ(c,g){var C=V,O=K;if(wr(g)){var B="separator"in g?g.separator:B;C="length"in g?Vt(g.length):C,O="omission"in g?po(g.omission):O}c=Ln(c);var H=c.length;if(_u(c)){var J=Xi(c);H=J.length}if(C>=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Dw(B)){if(c.slice(ne).search(B)){var ke,Pe=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;ke=B.exec(Pe);)var Re=ke.index;ce=ce.slice(0,Re===n?ne:Re)}}else if(c.indexOf(po(B),ne)!=ne){var et=ce.lastIndexOf(B);et>-1&&(ce=ce.slice(0,et))}return ce+O}function wJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var CJ=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),Bw=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?Fp(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Rw(C)?C:new It(C)}}),_J=mr(function(c,g){return Zn(g,function(C){C=Pl(C),pa(c,C,Mw(c[C],c))}),c});function kJ(c){var g=c==null?0:c.length,C=Me();return c=g?Un(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BW)return[];var C=fe,O=fi(c,fe);g=Me(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Qt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Qt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Qt.prototype.toArray=function(){return this.take(fe)},va(Qt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=$[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&($.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Qt,ke=ne[0],Pe=ce||$t(J),Re=function(Jt){var an=B.apply($,za([Jt],ne));return O&&et?an[0]:an};Pe&&C&&typeof ke=="function"&&ke.length!=1&&(ce=Pe=!1);var et=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!et,qt=ce&&!bt;if(!H&&Pe){J=qt?J:new Qt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Re],thisArg:n}),new fo(Tt,et)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Re),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Zn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);$.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply($t(H)?H:[],B)}return this[C](function(J){return g.apply($t(J)?J:[],B)})}}),va(Qt.prototype,function(c,g){var C=$[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,E).name]=[{name:"wrapper",func:n}],Qt.prototype.clone=Zi,Qt.prototype.reverse=Ni,Qt.prototype.value=f3,$.prototype.at=JX,$.prototype.chain=eZ,$.prototype.commit=tZ,$.prototype.next=nZ,$.prototype.plant=iZ,$.prototype.reverse=oZ,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=aZ,$.prototype.first=$.prototype.head,Bc&&($.prototype[Bc]=rZ),$},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(wo)})(nxe,Ee);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},rxe=.999,ixe=.1,oxe=20,nv=.95,RI=30,l8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},axe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),DW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],sxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",lxe=e=>e.kind==="line"&&e.layer==="base",U5=e=>e.kind==="image"&&e.layer==="base",uxe=e=>e.kind==="fillRect"&&e.layer==="base",cxe=e=>e.kind==="eraseRect"&&e.layer==="base",dxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},fxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},NW=cp({name:"canvas",initialState:fxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(Ee.clamp(n.width,64,512),64),height:Ed(Ee.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=axe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(dxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(Ee.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(U5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(U5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(Ee.clamp(o,64,512),64),height:Ed(Ee.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:jW,addFillRect:BW,addImageToStagingArea:hxe,addLine:pxe,addPointToCurrentLine:FW,clearCanvasHistory:$W,clearMask:nP,commitColorPickerColor:gxe,commitStagingAreaImage:mxe,discardStagedImages:vxe,fitBoundingBoxToStage:Q$e,mouseLeftCanvas:yxe,nextStagingAreaImage:bxe,prevStagingAreaImage:Sxe,redo:xxe,resetCanvas:rP,resetCanvasInteractionState:wxe,resetCanvasView:zW,resizeAndScaleCanvas:Dx,resizeCanvas:Cxe,setBoundingBoxCoordinates:yC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:J$e,setBoundingBoxScaleMethod:_xe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:kxe,setColorPickerColor:Exe,setCursorPosition:Pxe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:Nx,setIsDrawing:HW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:eze,setIsMoveStageKeyHeld:tze,setIsMovingBoundingBox:bC,setIsMovingStage:G5,setIsTransformingBoundingBox:SC,setLayer:q5,setMaskColor:VW,setMergedCanvas:Txe,setShouldAutoSave:WW,setShouldCropToBoundingBoxOnSave:UW,setShouldDarkenOutsideBoundingBox:GW,setShouldLockBoundingBox:nze,setShouldPreserveMaskedArea:qW,setShouldShowBoundingBox:Lxe,setShouldShowBrush:rze,setShouldShowBrushPreview:ize,setShouldShowCanvasDebugInfo:YW,setShouldShowCheckboardTransparency:oze,setShouldShowGrid:KW,setShouldShowIntermediates:XW,setShouldShowStagingImage:Axe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:Y5,setStageCoordinates:ZW,setStageScale:Oxe,setTool:tu,toggleShouldLockBoundingBox:aze,toggleTool:sze,undo:Mxe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:QW}=NW.actions,Ixe=NW.reducer,Rxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},JW=cp({name:"gallery",initialState:Rxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=Ee.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:xC,removeImage:eU,setCurrentImage:jI,addGalleryImages:Dxe,setIntermediateImage:Nxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:jxe,setShouldShowGallery:Bd,setGalleryScrollPosition:Bxe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:tU,setShouldAutoSwitchToNewImages:$xe,setCurrentCategory:kb,setGalleryWidth:zxe,setShouldUseSingleGalleryColumn:Hxe}=JW.actions,Vxe=JW.reducer,Wxe={isLightboxOpen:!1},Uxe=Wxe,nU=cp({name:"lightbox",initialState:Uxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=nU.actions,Gxe=nU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const qxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?qxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),K5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Yxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),rU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Kxe=rU,iU=cp({name:"generation",initialState:Kxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=K5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,u&&(e.perlin=u),typeof u>"u"&&(e.perlin=0),typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:k,init_image_path:E,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(E&&(e.initialImage=E),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof k=="boolean"&&(e.shouldFitToWidthHeight=k)),a&&a.length>0?(e.seedWeights=K5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),u&&(e.threshold=u),typeof u>"u"&&(e.threshold=0),d&&(e.perlin=d),typeof d>"u"&&(e.perlin=0),typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...rU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:oU,resetParametersState:lze,resetSeed:uze,setAllImageToImageParameters:Xxe,setAllParameters:aU,setAllTextToImageParameters:cze,setCfgScale:sU,setHeight:lU,setImg2imgStrength:u8,setInfillMethod:uU,setInitialImage:k0,setIterations:Zxe,setMaskPath:cU,setParameter:dze,setPerlin:dU,setPrompt:jx,setNegativePrompt:Q2,setSampler:fU,setSeamBlur:BI,setSeamless:hU,setSeamSize:FI,setSeamSteps:$I,setSeamStrength:zI,setSeed:Ny,setSeedWeights:pU,setShouldFitToWidthHeight:gU,setShouldGenerateVariations:Qxe,setShouldRandomizeSeed:Jxe,setSteps:mU,setThreshold:vU,setTileSize:HI,setVariationAmount:ewe,setWidth:yU}=iU.actions,twe=iU.reducer,bU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingStrength:.75},nwe=bU,SU=cp({name:"postprocessing",initialState:nwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...bU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:fze,setCodeformerFidelity:xU,setFacetoolStrength:I4,setFacetoolType:R4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:rwe,setShouldRunESRGAN:iwe,setShouldRunFacetool:owe,setUpscalingLevel:c8,setUpscalingStrength:d8}=SU.actions,awe=SU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function swe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wU(e){var t=swe(e,"string");return Xs(t)==="symbol"?t:String(t)}function WI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Dw(B)){if(c.slice(ne).search(B)){var ke,Pe=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;ke=B.exec(Pe);)var Re=ke.index;ce=ce.slice(0,Re===n?ne:Re)}}else if(c.indexOf(po(B),ne)!=ne){var et=ce.lastIndexOf(B);et>-1&&(ce=ce.slice(0,et))}return ce+O}function wJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var CJ=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),Bw=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?Fp(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Rw(C)?C:new It(C)}}),_J=mr(function(c,g){return Zn(g,function(C){C=Pl(C),pa(c,C,Mw(c[C],c))}),c});function kJ(c){var g=c==null?0:c.length,C=Me();return c=g?Un(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BW)return[];var C=fe,O=fi(c,fe);g=Me(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Qt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Qt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Qt.prototype.toArray=function(){return this.take(fe)},va(Qt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=$[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&($.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Qt,ke=ne[0],Pe=ce||$t(J),Re=function(Jt){var an=B.apply($,za([Jt],ne));return O&&et?an[0]:an};Pe&&C&&typeof ke=="function"&&ke.length!=1&&(ce=Pe=!1);var et=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!et,qt=ce&&!bt;if(!H&&Pe){J=qt?J:new Qt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Re],thisArg:n}),new fo(Tt,et)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Re),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Zn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);$.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply($t(H)?H:[],B)}return this[C](function(J){return g.apply($t(J)?J:[],B)})}}),va(Qt.prototype,function(c,g){var C=$[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,E).name]=[{name:"wrapper",func:n}],Qt.prototype.clone=Zi,Qt.prototype.reverse=Ni,Qt.prototype.value=f3,$.prototype.at=JX,$.prototype.chain=eZ,$.prototype.commit=tZ,$.prototype.next=nZ,$.prototype.plant=iZ,$.prototype.reverse=oZ,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=aZ,$.prototype.first=$.prototype.head,Bc&&($.prototype[Bc]=rZ),$},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(wo)})(nxe,Ee);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},rxe=.999,ixe=.1,oxe=20,nv=.95,RI=30,l8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},axe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),DW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],sxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",lxe=e=>e.kind==="line"&&e.layer==="base",U5=e=>e.kind==="image"&&e.layer==="base",uxe=e=>e.kind==="fillRect"&&e.layer==="base",cxe=e=>e.kind==="eraseRect"&&e.layer==="base",dxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},fxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},NW=cp({name:"canvas",initialState:fxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(Ee.clamp(n.width,64,512),64),height:Ed(Ee.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=axe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(dxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(Ee.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(U5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(U5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(Ee.clamp(o,64,512),64),height:Ed(Ee.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(Ee.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:jW,addFillRect:BW,addImageToStagingArea:hxe,addLine:pxe,addPointToCurrentLine:FW,clearCanvasHistory:$W,clearMask:nP,commitColorPickerColor:gxe,commitStagingAreaImage:mxe,discardStagedImages:vxe,fitBoundingBoxToStage:Q$e,mouseLeftCanvas:yxe,nextStagingAreaImage:bxe,prevStagingAreaImage:Sxe,redo:xxe,resetCanvas:rP,resetCanvasInteractionState:wxe,resetCanvasView:zW,resizeAndScaleCanvas:Dx,resizeCanvas:Cxe,setBoundingBoxCoordinates:yC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:J$e,setBoundingBoxScaleMethod:_xe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:kxe,setColorPickerColor:Exe,setCursorPosition:Pxe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:Nx,setIsDrawing:HW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:eze,setIsMoveStageKeyHeld:tze,setIsMovingBoundingBox:bC,setIsMovingStage:G5,setIsTransformingBoundingBox:SC,setLayer:q5,setMaskColor:VW,setMergedCanvas:Txe,setShouldAutoSave:WW,setShouldCropToBoundingBoxOnSave:UW,setShouldDarkenOutsideBoundingBox:GW,setShouldLockBoundingBox:nze,setShouldPreserveMaskedArea:qW,setShouldShowBoundingBox:Lxe,setShouldShowBrush:rze,setShouldShowBrushPreview:ize,setShouldShowCanvasDebugInfo:YW,setShouldShowCheckboardTransparency:oze,setShouldShowGrid:KW,setShouldShowIntermediates:XW,setShouldShowStagingImage:Axe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:Y5,setStageCoordinates:ZW,setStageScale:Oxe,setTool:tu,toggleShouldLockBoundingBox:aze,toggleTool:sze,undo:Mxe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:QW}=NW.actions,Ixe=NW.reducer,Rxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},JW=cp({name:"gallery",initialState:Rxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=Ee.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:xC,removeImage:eU,setCurrentImage:jI,addGalleryImages:Dxe,setIntermediateImage:Nxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:jxe,setShouldShowGallery:Bd,setGalleryScrollPosition:Bxe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:tU,setShouldAutoSwitchToNewImages:$xe,setCurrentCategory:kb,setGalleryWidth:zxe,setShouldUseSingleGalleryColumn:Hxe}=JW.actions,Vxe=JW.reducer,Wxe={isLightboxOpen:!1},Uxe=Wxe,nU=cp({name:"lightbox",initialState:Uxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=nU.actions,Gxe=nU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const qxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?qxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),K5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Yxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),rU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Kxe=rU,iU=cp({name:"generation",initialState:Kxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=K5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,u&&(e.perlin=u),typeof u>"u"&&(e.perlin=0),typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:k,init_image_path:E,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(E&&(e.initialImage=E),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof k=="boolean"&&(e.shouldFitToWidthHeight=k)),a&&a.length>0?(e.seedWeights=K5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),typeof u>"u"?e.threshold=0:e.threshold=u,d&&(e.perlin=d),typeof d>"u"&&(e.perlin=0),typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...rU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:oU,resetParametersState:lze,resetSeed:uze,setAllImageToImageParameters:Xxe,setAllParameters:aU,setAllTextToImageParameters:cze,setCfgScale:sU,setHeight:lU,setImg2imgStrength:u8,setInfillMethod:uU,setInitialImage:k0,setIterations:Zxe,setMaskPath:cU,setParameter:dze,setPerlin:dU,setPrompt:jx,setNegativePrompt:Q2,setSampler:fU,setSeamBlur:BI,setSeamless:hU,setSeamSize:FI,setSeamSteps:$I,setSeamStrength:zI,setSeed:Ny,setSeedWeights:pU,setShouldFitToWidthHeight:gU,setShouldGenerateVariations:Qxe,setShouldRandomizeSeed:Jxe,setSteps:mU,setThreshold:vU,setTileSize:HI,setVariationAmount:ewe,setWidth:yU}=iU.actions,twe=iU.reducer,bU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingStrength:.75},nwe=bU,SU=cp({name:"postprocessing",initialState:nwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...bU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:fze,setCodeformerFidelity:xU,setFacetoolStrength:I4,setFacetoolType:R4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:rwe,setShouldRunESRGAN:iwe,setShouldRunFacetool:owe,setUpscalingLevel:c8,setUpscalingStrength:d8}=SU.actions,awe=SU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function swe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wU(e){var t=swe(e,"string");return Xs(t)==="symbol"?t:String(t)}function WI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.init(t,n)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||hwe,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function KI(e,t,n){var r=uP(e,t,Object),i=r.obj,o=r.k;i[o]=n}function mwe(e,t,n,r){var i=uP(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function X5(e,t){var n=uP(e,t),r=n.obj,i=n.k;if(r)return r[i]}function XI(e,t,n){var r=X5(e,n);return r!==void 0?r:X5(t,n)}function CU(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):CU(e[r],t[r],n):e[r]=t[r]);return e}function Mg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var vwe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function ywe(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return vwe[t]}):e}var Fx=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,bwe=[" ",",","?","!",";"];function Swe(e,t,n){t=t||"",n=n||"";var r=bwe.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function ZI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eb(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _U(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?_U(l,u,n):void 0}i=i[r[o]]}return i}}var Cwe=function(e){Bx(n,e);var t=xwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hu(this,n),i=t.call(this),Fx&&Qd.call(Fd(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pu(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,d=[i,o];a&&typeof a!="string"&&(d=d.concat(a)),a&&typeof a=="string"&&(d=d.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(d=i.split("."));var h=X5(this.data,d);return h||!u||typeof a!="string"?h:_U(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var d=[i,o];a&&(d=d.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(d=i.split("."),s=o,o=d[1]),this.addNamespaces(o),KI(this.data,d,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},d=[i,o];i.indexOf(".")>-1&&(d=i.split("."),s=a,a=o,o=d[1]),this.addNamespaces(o);var h=X5(this.data,d)||{};s?CU(h,a,l):h=Eb(Eb({},h),a),KI(this.data,d,h),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Eb(Eb({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Qd),kU={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function QI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function bo(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var JI={},eR=function(e){Bx(n,e);var t=_we(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hu(this,n),i=t.call(this),Fx&&Qd.call(Fd(i)),gwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Fd(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=ql.create("translator"),i}return pu(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,d=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Swe(i,a,s);if(u&&!d){var h=i.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Xs(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=this.extractFromKey(i[i.length-1],o),h=d.key,m=d.namespaces,v=m[m.length-1],b=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(S){var k=o.nsSeparator||this.options.nsSeparator;return l?(E.res="".concat(v).concat(k).concat(h),E):"".concat(v).concat(k).concat(h)}return l?(E.res=h,E):h}var E=this.resolve(i,o),_=E&&E.res,T=E&&E.usedKey||h,A=E&&E.exactUsedKey||h,I=Object.prototype.toString.apply(_),R=["[object Number]","[object Function]","[object RegExp]"],D=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=typeof _!="string"&&typeof _!="boolean"&&typeof _!="number";if(j&&_&&z&&R.indexOf(I)<0&&!(typeof D=="string"&&I==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var V=this.options.returnedObjectHandler?this.options.returnedObjectHandler(T,_,bo(bo({},o),{},{ns:m})):"key '".concat(h," (").concat(this.language,")' returned an object instead of string.");return l?(E.res=V,E):V}if(u){var K=I==="[object Array]",te=K?[]:{},q=K?A:T;for(var F in _)if(Object.prototype.hasOwnProperty.call(_,F)){var U="".concat(q).concat(u).concat(F);te[F]=this.translate(U,bo(bo({},o),{joinArrays:!1,ns:m})),te[F]===U&&(te[F]=_[F])}_=te}}else if(j&&typeof D=="string"&&I==="[object Array]")_=_.join(D),_&&(_=this.extendTranslation(_,i,o,a));else{var X=!1,Z=!1,W=o.count!==void 0&&typeof o.count!="string",Q=n.hasDefaultValue(o),ie=W?this.pluralResolver.getSuffix(b,o.count,o):"",fe=o["defaultValue".concat(ie)]||o.defaultValue;!this.isValidLookup(_)&&Q&&(X=!0,_=fe),this.isValidLookup(_)||(Z=!0,_=h);var Se=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Te=Se&&Z?void 0:_,ye=Q&&fe!==_&&this.options.updateMissing;if(Z||X||ye){if(this.logger.log(ye?"updateKey":"missingKey",b,v,h,ye?fe:_),u){var He=this.resolve(h,bo(bo({},o),{},{keySeparator:!1}));He&&He.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ne=[],tt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&tt&&tt[0])for(var _e=0;_e1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,d,h;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var v=o.extractFromKey(m,a),b=v.key;l=b;var S=v.namespaces;o.options.fallbackNS&&(S=S.concat(o.options.fallbackNS));var k=a.count!==void 0&&typeof a.count!="string",E=k&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),_=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",T=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);S.forEach(function(A){o.isValidLookup(s)||(h=A,!JI["".concat(T[0],"-").concat(A)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(h)&&(JI["".concat(T[0],"-").concat(A)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(T.join(", "),`" won't get resolved as namespace "`).concat(h,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(function(I){if(!o.isValidLookup(s)){d=I;var R=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(R,b,I,A,a);else{var D;k&&(D=o.pluralResolver.getSuffix(I,a.count,a));var j="".concat(o.options.pluralSeparator,"zero");if(k&&(R.push(b+D),E&&R.push(b+j)),_){var z="".concat(b).concat(o.options.contextSeparator).concat(a.context);R.push(z),k&&(R.push(z+D),E&&R.push(z+j))}}for(var V;V=R.pop();)o.isValidLookup(s)||(u=V,s=o.getResource(I,A,V,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:d,usedNS:h}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(Qd);function wC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var tR=function(){function e(t){hu(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ql.create("languageUtils")}return pu(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=wC(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=wC(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=wC(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),Ewe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Pwe={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Twe=["v1","v2","v3"],nR={zero:0,one:1,two:2,few:3,many:4,other:5};function Lwe(){var e={};return Ewe.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Pwe[t.fc]}})}),e}var Awe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.languageUtils=t,this.options=n,this.logger=ql.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Lwe()}return pu(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return nR[a]-nR[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Twe.includes(this.options.compatibilityJSON)}}]),e}();function rR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pu(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:ywe,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Mg(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Mg(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Mg(r.nestingPrefix):r.nestingPrefixEscaped||Mg("$t("),this.nestingSuffix=r.nestingSuffix?Mg(r.nestingSuffix):r.nestingSuffixEscaped||Mg(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function h(k){return k.replace(/\$/g,"$$$$")}var m=function(E){if(E.indexOf(a.formatSeparator)<0){var _=XI(r,d,E);return a.alwaysFormat?a.format(_,void 0,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:E})):_}var T=E.split(a.formatSeparator),A=T.shift().trim(),I=T.join(a.formatSeparator).trim();return a.format(XI(r,d,A),I,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:A}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,S=[{regex:this.regexpUnescape,safeValue:function(E){return h(E)}},{regex:this.regexp,safeValue:function(E){return a.escapeValue?h(a.escape(E)):h(E)}}];return S.forEach(function(k){for(u=0;s=k.regex.exec(n);){var E=s[1].trim();if(l=m(E),l===void 0)if(typeof v=="function"){var _=v(n,s,o);l=typeof _=="string"?_:""}else if(o&&o.hasOwnProperty(E))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(E," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=YI(l));var T=k.safeValue(l);if(n=n.replace(s[0],T),b?(k.regex.lastIndex+=l.length,k.regex.lastIndex-=s[0].length):k.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,b){var S=this.nestingOptionsSeparator;if(v.indexOf(S)<0)return v;var k=v.split(new RegExp("".concat(S,"[ ]*{"))),E="{".concat(k[1]);v=k[0],E=this.interpolate(E,l);var _=E.match(/'/g),T=E.match(/"/g);(_&&_.length%2===0&&!T||T.length%2!==0)&&(E=E.replace(/'/g,'"'));try{l=JSON.parse(E),b&&(l=Rs(Rs({},b),l))}catch(A){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),A),"".concat(v).concat(S).concat(E)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var d=[];l=Rs({},o),l.applyPostProcessor=!1,delete l.defaultValue;var h=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=m.shift(),d=m,h=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=YI(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),h&&(s=d.reduce(function(v,b){return i.format(v,b,o.lng,Rs(Rs({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function iR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=fwe(s),u=l[0],d=l.slice(1),h=d.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=h),h==="false"&&(n[u.trim()]=!1),h==="true"&&(n[u.trim()]=!0),isNaN(h)||(n[u.trim()]=parseInt(h,10))}})}}return{formatName:t,formatOptions:n}}function Ig(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var Iwe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("formatter"),this.options=t,this.formats={number:Ig(function(n,r){var i=new Intl.NumberFormat(n,r);return function(o){return i.format(o)}}),currency:Ig(function(n,r){var i=new Intl.NumberFormat(n,ld(ld({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Ig(function(n,r){var i=new Intl.DateTimeFormat(n,ld({},r));return function(o){return i.format(o)}}),relativetime:Ig(function(n,r){var i=new Intl.RelativeTimeFormat(n,ld({},r));return function(o){return i.format(o,r.range||"day")}}),list:Ig(function(n,r){var i=new Intl.ListFormat(n,ld({},r));return function(o){return i.format(o)}})},this.init(t)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Ig(r)}},{key:"format",value:function(n,r,i,o){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,d){var h=Mwe(d),m=h.formatName,v=h.formatOptions;if(a.formats[m]){var b=u;try{var S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},k=S.locale||S.lng||o.locale||o.lng||i;b=a.formats[m](u,k,ld(ld(ld({},v),o),S))}catch(E){a.logger.warn(E)}return b}else a.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aR(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Nwe(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var jwe=function(e){Bx(n,e);var t=Rwe(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hu(this,n),a=t.call(this),Fx&&Qd.call(Fd(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=ql.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return pu(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},d={},h={},m={};return i.forEach(function(v){var b=!0;o.forEach(function(S){var k="".concat(v,"|").concat(S);!a.reload&&l.store.hasResourceBundle(v,S)?l.state[k]=2:l.state[k]<0||(l.state[k]===1?d[k]===void 0&&(d[k]=!0):(l.state[k]=1,b=!1,d[k]===void 0&&(d[k]=!0),u[k]===void 0&&(u[k]=!0),m[S]===void 0&&(m[S]=!0)))}),b||(h[v]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var d={};this.queue.forEach(function(h){mwe(h.loaded,[l],u),Nwe(h,i),o&&h.errors.push(o),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(function(m){d[m]||(d[m]={});var v=h.loaded[m];v.length&&v.forEach(function(b){d[m][b]===void 0&&(d[m][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(function(h){return!h.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!i.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:d});return}this.readingCalls++;var h=function(S,k){if(s.readingCalls--,s.waitingReads.length>0){var E=s.waitingReads.shift();s.read(E.lng,E.ns,E.fcName,E.tried,E.wait,E.callback)}if(S&&k&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(d){a.loadOne(d)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(d,h){d&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),d),!d&&h&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),h),o.loaded(i,d,h)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var h=aR(aR({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var v;m.length===5?v=m(i,o,a,s,h):v=m(i,o,a,s),v&&typeof v.then=="function"?v.then(function(b){return d(null,b)}).catch(d):d(null,v)}catch(b){d(b)}else m(i,o,a,s,d,h)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(Qd);function sR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Xs(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Xs(t[2])==="object"||Xs(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function lR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(){}function $we(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Z5=function(e){Bx(n,e);var t=Bwe(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(hu(this,n),r=t.call(this),Fx&&Qd.call(Fd(r)),r.options=lR(i),r.services={},r.logger=ql,r.modules={external:[]},$we(Fd(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),jy(r,Fd(r));setTimeout(function(){r.init(i,o)},0)}return r}return pu(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=sR();this.options=Ml(Ml(Ml({},s),this.options),lR(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ml(Ml({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?ql.init(l(this.modules.logger),this.options):ql.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Iwe);var d=new tR(this.options);this.store=new Cwe(this.options.resources,this.options);var h=this.services;h.logger=ql,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Awe(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Owe(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new jwe(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new eR(this.services,this.options),this.translator.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.external.forEach(function(E){E.init&&E.init(i)})}if(this.format=this.options.interpolation.format,a||(a=Pb),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments),i}});var S=iv(),k=function(){var _=function(A,I){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),S.resolve(I),a(A,I)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return _(null,i.t.bind(i));i.changeLanguage(i.options.lng,_)};return this.options.resources||!this.options.initImmediate?k():setTimeout(k,0),S}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],d=function(v){if(v){var b=o.services.languageUtils.toResolveHierarchy(v);b.forEach(function(S){u.indexOf(S)<0&&u.push(S)})}};if(l)d(l);else{var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.forEach(function(m){return d(m)})}this.options.preload&&this.options.preload.forEach(function(m){return d(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=iv();return i||(i=this.languages),o||(o=this.options.ns),a||(a=Pb),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&kU.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=iv();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},d=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var v=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(b){u(b,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(d,h){var m;if(Xs(h)!=="object"){for(var v=arguments.length,b=new Array(v>2?v-2:0),S=2;S1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var d=function(v,b){var S=o.services.backendConnector.state["".concat(v,"|").concat(b)];return S===-1||S===2};if(a.precheck){var h=a.precheck(this,d);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(s,i)&&(!l||d(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=iv();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=iv();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tR(sR());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=Ml(Ml(Ml({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(d){l[d]=i[d]}),l.services=Ml({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new eR(l.services,l.options),l.translator.on("*",function(d){for(var h=arguments.length,m=new Array(h>1?h-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Z5(e,t)});var zt=Z5.createInstance();zt.createInstance=Z5.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;function zwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J2(e){return J2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J2(e)}function Hwe(e,t){if(J2(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(J2(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Vwe(e){var t=Hwe(e,"string");return J2(t)==="symbol"?t:String(t)}function cR(e,t){for(var n=0;n0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!dR.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!dR.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},fR={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Ywe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(n=o[a].substring(s+1))}}}return n}},ov=null,hR=function(){if(ov!==null)return ov;try{ov=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ov=!1}return ov},Zwe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&hR()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&hR()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},av=null,pR=function(){if(av!==null)return av;try{av=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{av=!1}return av},Qwe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&pR()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&pR()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},Jwe={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},e6e={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},t6e={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},n6e={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function r6e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var PU=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};zwe(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Wwe(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=qwe(r,this.options||{},r6e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Kwe),this.addDetector(Xwe),this.addDetector(Zwe),this.addDetector(Qwe),this.addDetector(Jwe),this.addDetector(e6e),this.addDetector(t6e),this.addDetector(n6e)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();PU.type="languageDetector";function h8(e){return h8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h8(e)}var TU=[],i6e=TU.forEach,o6e=TU.slice;function p8(e){return i6e.call(o6e.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function LU(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":h8(XMLHttpRequest))==="object"}function a6e(e){return!!e&&typeof e.then=="function"}function s6e(e){return a6e(e)?e:Promise.resolve(e)}function l6e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ey={},u6e={get exports(){return ey},set exports(e){ey=e}},o2={},c6e={get exports(){return o2},set exports(e){o2=e}},gR;function d6e(){return gR||(gR=1,function(e,t){var n=typeof self<"u"?self:wo,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l(F){return F&&DataView.prototype.isPrototypeOf(F)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(F){return F&&u.indexOf(Object.prototype.toString.call(F))>-1};function h(F){if(typeof F!="string"&&(F=String(F)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(F))throw new TypeError("Invalid character in header field name");return F.toLowerCase()}function m(F){return typeof F!="string"&&(F=String(F)),F}function v(F){var U={next:function(){var X=F.shift();return{done:X===void 0,value:X}}};return s.iterable&&(U[Symbol.iterator]=function(){return U}),U}function b(F){this.map={},F instanceof b?F.forEach(function(U,X){this.append(X,U)},this):Array.isArray(F)?F.forEach(function(U){this.append(U[0],U[1])},this):F&&Object.getOwnPropertyNames(F).forEach(function(U){this.append(U,F[U])},this)}b.prototype.append=function(F,U){F=h(F),U=m(U);var X=this.map[F];this.map[F]=X?X+", "+U:U},b.prototype.delete=function(F){delete this.map[h(F)]},b.prototype.get=function(F){return F=h(F),this.has(F)?this.map[F]:null},b.prototype.has=function(F){return this.map.hasOwnProperty(h(F))},b.prototype.set=function(F,U){this.map[h(F)]=m(U)},b.prototype.forEach=function(F,U){for(var X in this.map)this.map.hasOwnProperty(X)&&F.call(U,this.map[X],X,this)},b.prototype.keys=function(){var F=[];return this.forEach(function(U,X){F.push(X)}),v(F)},b.prototype.values=function(){var F=[];return this.forEach(function(U){F.push(U)}),v(F)},b.prototype.entries=function(){var F=[];return this.forEach(function(U,X){F.push([X,U])}),v(F)},s.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(F){if(F.bodyUsed)return Promise.reject(new TypeError("Already read"));F.bodyUsed=!0}function k(F){return new Promise(function(U,X){F.onload=function(){U(F.result)},F.onerror=function(){X(F.error)}})}function E(F){var U=new FileReader,X=k(U);return U.readAsArrayBuffer(F),X}function _(F){var U=new FileReader,X=k(U);return U.readAsText(F),X}function T(F){for(var U=new Uint8Array(F),X=new Array(U.length),Z=0;Z-1?U:F}function j(F,U){U=U||{};var X=U.body;if(F instanceof j){if(F.bodyUsed)throw new TypeError("Already read");this.url=F.url,this.credentials=F.credentials,U.headers||(this.headers=new b(F.headers)),this.method=F.method,this.mode=F.mode,this.signal=F.signal,!X&&F._bodyInit!=null&&(X=F._bodyInit,F.bodyUsed=!0)}else this.url=String(F);if(this.credentials=U.credentials||this.credentials||"same-origin",(U.headers||!this.headers)&&(this.headers=new b(U.headers)),this.method=D(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&X)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(X)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function z(F){var U=new FormData;return F.trim().split("&").forEach(function(X){if(X){var Z=X.split("="),W=Z.shift().replace(/\+/g," "),Q=Z.join("=").replace(/\+/g," ");U.append(decodeURIComponent(W),decodeURIComponent(Q))}}),U}function V(F){var U=new b,X=F.replace(/\r?\n[\t ]+/g," ");return X.split(/\r?\n/).forEach(function(Z){var W=Z.split(":"),Q=W.shift().trim();if(Q){var ie=W.join(":").trim();U.append(Q,ie)}}),U}I.call(j.prototype);function K(F,U){U||(U={}),this.type="default",this.status=U.status===void 0?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new b(U.headers),this.url=U.url||"",this._initBody(F)}I.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},K.error=function(){var F=new K(null,{status:0,statusText:""});return F.type="error",F};var te=[301,302,303,307,308];K.redirect=function(F,U){if(te.indexOf(U)===-1)throw new RangeError("Invalid status code");return new K(null,{status:U,headers:{location:F}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,X){this.message=U,this.name=X;var Z=Error(U);this.stack=Z.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function q(F,U){return new Promise(function(X,Z){var W=new j(F,U);if(W.signal&&W.signal.aborted)return Z(new a.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function ie(){Q.abort()}Q.onload=function(){var fe={status:Q.status,statusText:Q.statusText,headers:V(Q.getAllResponseHeaders()||"")};fe.url="responseURL"in Q?Q.responseURL:fe.headers.get("X-Request-URL");var Se="response"in Q?Q.response:Q.responseText;X(new K(Se,fe))},Q.onerror=function(){Z(new TypeError("Network request failed"))},Q.ontimeout=function(){Z(new TypeError("Network request failed"))},Q.onabort=function(){Z(new a.DOMException("Aborted","AbortError"))},Q.open(W.method,W.url,!0),W.credentials==="include"?Q.withCredentials=!0:W.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&s.blob&&(Q.responseType="blob"),W.headers.forEach(function(fe,Se){Q.setRequestHeader(Se,fe)}),W.signal&&(W.signal.addEventListener("abort",ie),Q.onreadystatechange=function(){Q.readyState===4&&W.signal.removeEventListener("abort",ie)}),Q.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=b,o.Request=j,o.Response=K),a.Headers=b,a.Request=j,a.Response=K,a.fetch=q,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(c6e,o2)),o2}(function(e,t){var n;if(typeof fetch=="function"&&(typeof wo<"u"&&wo.fetch?n=wo.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof l6e<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||d6e();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(u6e,ey);const AU=ey,mR=rj({__proto__:null,default:AU},[ey]);function Q5(e){return Q5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q5(e)}var Yu;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Yu=global.fetch:typeof window<"u"&&window.fetch?Yu=window.fetch:Yu=fetch);var ty;LU()&&(typeof global<"u"&&global.XMLHttpRequest?ty=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ty=window.XMLHttpRequest));var J5;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?J5=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(J5=window.ActiveXObject));!Yu&&mR&&!ty&&!J5&&(Yu=AU||mR);typeof Yu!="function"&&(Yu=void 0);var g8=function(t,n){if(n&&Q5(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},vR=function(t,n,r){Yu(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},yR=!1,f6e=function(t,n,r,i){t.queryStringParams&&(n=g8(n,t.queryStringParams));var o=p8({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=p8({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},yR?{}:a);try{vR(n,s,i)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return i(l);try{Object.keys(a).forEach(function(u){delete s[u]}),vR(n,s,i),yR=!0}catch(u){i(u)}}},h6e=function(t,n,r,i){r&&Q5(r)==="object"&&(r=g8("",r).slice(1)),t.queryStringParams&&(n=g8(n,t.queryStringParams));try{var o;ty?o=new ty:o=new J5("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(l){console&&console.log(l)}},p6e=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Yu&&n.indexOf("file:")!==0)return f6e(t,n,r,i);if(LU()||typeof ActiveXObject=="function")return h6e(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ny(e){return ny=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ny(e)}function g6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};g6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return m6e(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=p8(i,this.options||{},b6e()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,i)),l=s6e(l),l.then(function(u){if(!u)return a(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});s.loadUrl(d,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,d;try{typeof l.data=="string"?u=a.options.parse(l.data,i,o):u=l.data}catch{d="failed parsing "+n+" to json"}if(d)return r(d,!1);r(null,u)})}},{key:"create",value:function(n,r,i,o,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,i,o),u=0,d=[],h=[];n.forEach(function(m){var v=s.options.addPath;typeof s.options.addPath=="function"&&(v=s.options.addPath(m,r));var b=s.services.interpolator.interpolate(v,{lng:m,ns:r});s.options.request(s.options,b,l,function(S,k){u+=1,d.push(S),h.push(k),u===n.length&&a&&a(d,h)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,s=i.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(h){var m=o.toResolveHierarchy(h);m.forEach(function(v){l.indexOf(v)<0&&l.push(v)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(h){i.read(d,h,"read",null,null,function(m,v){m&&a.warn("loading namespace ".concat(h," for language ").concat(d," failed"),m),!m&&v&&a.log("loaded namespace ".concat(h," for language ").concat(d),v),i.loaded("".concat(d,"|").concat(h),m,v)})})})}}}]),e}();MU.type="backend";function ry(e){return ry=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ry(e)}function S6e(e,t){if(ry(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ry(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IU(e){var t=S6e(e,"string");return ry(t)==="symbol"?t:String(t)}function RU(e,t,n){return t=IU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x6e(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var d=t.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}function C6e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return m8("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,e))return!1}}):w6e(e,t,n)}var _6e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,k6e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},E6e=function(t){return k6e[t]},P6e=function(t){return t.replace(_6e,E6e)};function wR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CR(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};v8=CR(CR({},v8),e)}function L6e(){return v8}var DU;function A6e(e){DU=e}function O6e(){return DU}function M6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(D6e)||{},i=r.i18n,o=r.defaultNS,a=n||i||O6e();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new N6e),!a){m8("You will need to pass in an i18next instance by using initReactI18next");var s=function(z){return Array.isArray(z)?z[z.length-1]:z},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&m8("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=CC(CC(CC({},L6e()),a.options.react),t),d=u.useSuspense,h=u.keyPrefix,m=e||o||a.options&&a.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(m);var v=(a.isInitialized||a.initializedStoreOnce)&&m.every(function(j){return C6e(j,a,u)});function b(){return a.getFixedT(null,u.nsMode==="fallback"?m:m[0],h)}var S=w.useState(b),k=z6e(S,2),E=k[0],_=k[1],T=m.join(),A=H6e(T),I=w.useRef(!0);w.useEffect(function(){var j=u.bindI18n,z=u.bindI18nStore;I.current=!0,!v&&!d&&xR(a,m,function(){I.current&&_(b)}),v&&A&&A!==T&&I.current&&_(b);function V(){I.current&&_(b)}return j&&a&&a.on(j,V),z&&a&&a.store.on(z,V),function(){I.current=!1,j&&a&&j.split(" ").forEach(function(K){return a.off(K,V)}),z&&a&&z.split(" ").forEach(function(K){return a.store.off(K,V)})}},[a,T]);var R=w.useRef(!0);w.useEffect(function(){I.current&&!R.current&&_(b),R.current=!1},[a,h]);var D=[E,a,v];if(D.t=E,D.i18n=a,D.ready=v,v||!v&&!d)return D;throw new Promise(function(j){xR(a,m,function(){j()})})}zt.use(MU).use(PU).use(R6e).init({fallbackLng:"en",debug:!1,ns:["common","gallery","hotkeys","parameters","settings","modelmanager","toast","tooltip","unifiedcanvas"],backend:{loadPath:"/locales/{{ns}}/{{lng}}.json"},interpolation:{escapeValue:!1},returnNull:!1});const V6e={isConnected:!1,isProcessing:!1,log:[],shouldShowLogViewer:!1,shouldDisplayInProgressType:"latents",shouldDisplayGuides:!0,isGFPGANAvailable:!0,isESRGANAvailable:!0,socketId:"",shouldConfirmOnDelete:!0,openAccordions:[],currentStep:0,totalSteps:0,currentIteration:0,totalIterations:0,currentStatus:zt.isInitialized?zt.t("common:statusDisconnected"):"Disconnected",currentStatusHasSteps:!1,model:"",model_id:"",model_hash:"",app_id:"",app_version:"",model_list:{},infill_methods:[],hasError:!1,wasErrorSeen:!0,isCancelable:!0,saveIntermediatesInterval:5,enableImageDebugging:!1,toastQueue:[],searchFolder:null,foundModels:null,openModel:null},NU=cp({name:"system",initialState:V6e,reducers:{setShouldDisplayInProgressType:(e,t)=>{e.shouldDisplayInProgressType=t.payload},setIsProcessing:(e,t)=>{e.isProcessing=t.payload},setCurrentStatus:(e,t)=>{e.currentStatus=t.payload},setSystemStatus:(e,t)=>({...e,...t.payload}),errorOccurred:e=>{e.hasError=!0,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusError"),e.wasErrorSeen=!1},errorSeen:e=>{e.hasError=!1,e.wasErrorSeen=!0,e.currentStatus=e.isConnected?zt.t("common:statusConnected"):zt.t("common:statusDisconnected")},addLogEntry:(e,t)=>{const{timestamp:n,message:r,level:i}=t.payload,a={timestamp:n,message:r,level:i||"info"};e.log.push(a)},setShouldShowLogViewer:(e,t)=>{e.shouldShowLogViewer=t.payload},setIsConnected:(e,t)=>{e.isConnected=t.payload,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.hasError=!1},setSocketId:(e,t)=>{e.socketId=t.payload},setShouldConfirmOnDelete:(e,t)=>{e.shouldConfirmOnDelete=t.payload},setOpenAccordions:(e,t)=>{e.openAccordions=t.payload},setSystemConfig:(e,t)=>({...e,...t.payload}),setShouldDisplayGuides:(e,t)=>{e.shouldDisplayGuides=t.payload},processingCanceled:e=>{e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusProcessingCanceled")},generationRequested:e=>{e.isProcessing=!0,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusPreparing")},setModelList:(e,t)=>{e.model_list=t.payload},setIsCancelable:(e,t)=>{e.isCancelable=t.payload},modelChangeRequested:e=>{e.currentStatus=zt.t("common:statusLoadingModel"),e.isCancelable=!1,e.isProcessing=!0,e.currentStatusHasSteps=!1},setSaveIntermediatesInterval:(e,t)=>{e.saveIntermediatesInterval=t.payload},setEnableImageDebugging:(e,t)=>{e.enableImageDebugging=t.payload},addToast:(e,t)=>{e.toastQueue.push(t.payload)},clearToastQueue:e=>{e.toastQueue=[]},setProcessingIndeterminateTask:(e,t)=>{e.isProcessing=!0,e.currentStatus=t.payload,e.currentStatusHasSteps=!1},setSearchFolder:(e,t)=>{e.searchFolder=t.payload},setFoundModels:(e,t)=>{e.foundModels=t.payload},setOpenModel:(e,t)=>{e.openModel=t.payload}}}),{setShouldDisplayInProgressType:W6e,setIsProcessing:Hs,addLogEntry:to,setShouldShowLogViewer:_C,setIsConnected:PR,setSocketId:hze,setShouldConfirmOnDelete:jU,setOpenAccordions:U6e,setSystemStatus:G6e,setCurrentStatus:D4,setSystemConfig:q6e,setShouldDisplayGuides:Y6e,processingCanceled:K6e,errorOccurred:TR,errorSeen:BU,setModelList:Tb,setIsCancelable:lm,modelChangeRequested:X6e,setSaveIntermediatesInterval:Z6e,setEnableImageDebugging:Q6e,generationRequested:J6e,addToast:Th,clearToastQueue:eCe,setProcessingIndeterminateTask:tCe,setSearchFolder:FU,setFoundModels:$U,setOpenModel:LR}=NU.actions,nCe=NU.reducer,cP=["txt2img","img2img","unifiedCanvas","nodes","postprocess","training"],rCe={activeTab:0,currentTheme:"dark",parametersPanelScrollPosition:0,shouldHoldParametersPanelOpen:!1,shouldPinParametersPanel:!0,shouldShowParametersPanel:!0,shouldShowDualDisplay:!0,shouldShowImageDetails:!1,shouldUseCanvasBetaLayout:!1,shouldShowExistingModelsInSearch:!1,addNewModelUIOption:null},iCe=rCe,zU=cp({name:"ui",initialState:iCe,reducers:{setActiveTab:(e,t)=>{typeof t.payload=="number"?e.activeTab=t.payload:e.activeTab=cP.indexOf(t.payload)},setCurrentTheme:(e,t)=>{e.currentTheme=t.payload},setParametersPanelScrollPosition:(e,t)=>{e.parametersPanelScrollPosition=t.payload},setShouldPinParametersPanel:(e,t)=>{e.shouldPinParametersPanel=t.payload},setShouldShowParametersPanel:(e,t)=>{e.shouldShowParametersPanel=t.payload},setShouldHoldParametersPanelOpen:(e,t)=>{e.shouldHoldParametersPanelOpen=t.payload},setShouldShowDualDisplay:(e,t)=>{e.shouldShowDualDisplay=t.payload},setShouldShowImageDetails:(e,t)=>{e.shouldShowImageDetails=t.payload},setShouldUseCanvasBetaLayout:(e,t)=>{e.shouldUseCanvasBetaLayout=t.payload},setShouldShowExistingModelsInSearch:(e,t)=>{e.shouldShowExistingModelsInSearch=t.payload},setAddNewModelUIOption:(e,t)=>{e.addNewModelUIOption=t.payload}}}),{setActiveTab:qo,setCurrentTheme:oCe,setParametersPanelScrollPosition:aCe,setShouldHoldParametersPanelOpen:sCe,setShouldPinParametersPanel:lCe,setShouldShowParametersPanel:Ku,setShouldShowDualDisplay:uCe,setShouldShowImageDetails:HU,setShouldUseCanvasBetaLayout:cCe,setShouldShowExistingModelsInSearch:dCe,setAddNewModelUIOption:zh}=zU.actions,fCe=zU.reducer,lu=Object.create(null);lu.open="0";lu.close="1";lu.ping="2";lu.pong="3";lu.message="4";lu.upgrade="5";lu.noop="6";const N4=Object.create(null);Object.keys(lu).forEach(e=>{N4[lu[e]]=e});const hCe={type:"error",data:"parser error"},pCe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",gCe=typeof ArrayBuffer=="function",mCe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,VU=({type:e,data:t},n,r)=>pCe&&t instanceof Blob?n?r(t):AR(t,r):gCe&&(t instanceof ArrayBuffer||mCe(t))?n?r(t):AR(new Blob([t]),r):r(lu[e]+(t||"")),AR=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+r)},n.readAsDataURL(e)},OR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r>4,d[i++]=(a&15)<<4|s>>2,d[i++]=(s&3)<<6|l&63;return u},yCe=typeof ArrayBuffer=="function",WU=(e,t)=>{if(typeof e!="string")return{type:"message",data:UU(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:bCe(e.substring(1),t)}:N4[n]?e.length>1?{type:N4[n],data:e.substring(1)}:{type:N4[n]}:hCe},bCe=(e,t)=>{if(yCe){const n=vCe(e);return UU(n,t)}else return{base64:!0,data:e}},UU=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},GU=String.fromCharCode(30),SCe=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{VU(o,!1,s=>{r[a]=s,++i===n&&t(r.join(GU))})})},xCe=(e,t)=>{const n=e.split(GU),r=[];for(let i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function YU(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const CCe=setTimeout,_Ce=clearTimeout;function $x(e,t){t.useNativeTimers?(e.setTimeoutFn=CCe.bind(Pd),e.clearTimeoutFn=_Ce.bind(Pd)):(e.setTimeoutFn=setTimeout.bind(Pd),e.clearTimeoutFn=clearTimeout.bind(Pd))}const kCe=1.33;function ECe(e){return typeof e=="string"?PCe(e):Math.ceil((e.byteLength||e.size)*kCe)}function PCe(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}class TCe extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class KU extends si{constructor(t){super(),this.writable=!1,$x(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new TCe(t,n,r)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=WU(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}}const XU="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),y8=64,LCe={};let MR=0,Lb=0,IR;function RR(e){let t="";do t=XU[e%y8]+t,e=Math.floor(e/y8);while(e>0);return t}function ZU(){const e=RR(+new Date);return e!==IR?(MR=0,IR=e):e+"."+RR(MR++)}for(;Lb{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};xCe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,SCe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=ZU()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=QU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new nu(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class nu extends si{constructor(t,n){super(),$x(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=YU(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new eG(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=nu.requestsCount++,nu.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=MCe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete nu.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}nu.requestsCount=0;nu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",DR);else if(typeof addEventListener=="function"){const e="onpagehide"in Pd?"pagehide":"unload";addEventListener(e,DR,!1)}}function DR(){for(let e in nu.requests)nu.requests.hasOwnProperty(e)&&nu.requests[e].abort()}const tG=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ab=Pd.WebSocket||Pd.MozWebSocket,NR=!0,DCe="arraybuffer",jR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class NCe extends KU{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=jR?{}:YU(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=NR&&!jR?n?new Ab(t,n):new Ab(t):new Ab(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||DCe,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const a={};try{NR&&this.ws.send(o)}catch{}i&&tG(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=ZU()),this.supportsBinary||(t.b64=1);const i=QU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!Ab}}const jCe={websocket:NCe,polling:RCe},BCe=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FCe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function b8(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=BCe.exec(e||""),o={},a=14;for(;a--;)o[FCe[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=$Ce(o,o.path),o.queryKey=zCe(o,o.query),o}function $Ce(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function zCe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let nG=class Fg extends si{constructor(t,n={}){super(),t&&typeof t=="object"&&(n=t,t=null),t?(t=b8(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=b8(n.host).host),$x(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=ACe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=qU,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new jCe[t](r)}open(){let t;if(this.opts.rememberUpgrade&&Fg.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;Fg.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Fg.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,d(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function s(){a("transport closed")}function l(){a("socket closed")}function u(h){n&&h.name!==n.name&&o()}const d=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",Fg.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){Fg.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,rG=Object.prototype.toString,UCe=typeof Blob=="function"||typeof Blob<"u"&&rG.call(Blob)==="[object BlobConstructor]",GCe=typeof File=="function"||typeof File<"u"&&rG.call(File)==="[object FileConstructor]";function dP(e){return VCe&&(e instanceof ArrayBuffer||WCe(e))||UCe&&e instanceof Blob||GCe&&e instanceof File}function j4(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case cn.ACK:case cn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class ZCe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=YCe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const QCe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:fP,Encoder:XCe,get PacketType(){return cn},protocol:KCe},Symbol.toStringTag,{value:"Module"}));function Bs(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const JCe=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class iG extends si{constructor(t,n,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Bs(t,"open",this.onopen.bind(this)),Bs(t,"packet",this.onpacket.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(JCe.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');n.unshift(t);const r={type:cn.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,s=n.pop();this._registerAckCallback(a,s),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){const r=this.flags.timeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:cn.CONNECT,data:t})}):this.packet({type:cn.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case cn.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case cn.EVENT:case cn.BINARY_EVENT:this.onevent(t);break;case cn.ACK:case cn.BINARY_ACK:this.onack(t);break;case cn.DISCONNECT:this.ondisconnect();break;case cn.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t)}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:cn.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:cn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}E0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};E0.prototype.reset=function(){this.attempts=0};E0.prototype.setMin=function(e){this.ms=e};E0.prototype.setMax=function(e){this.max=e};E0.prototype.setJitter=function(e){this.jitter=e};class w8 extends si{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$x(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new E0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||QCe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new nG(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Bs(n,"open",function(){r.onopen(),t&&t()}),o=Bs(n,"error",a=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",a),t?t(a):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Bs(t,"ping",this.onping.bind(this)),Bs(t,"data",this.ondata.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this)),Bs(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){tG(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r||(r=new iG(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const sv={};function B4(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=HCe(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=sv[i]&&o in sv[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new w8(r,t):(sv[i]||(sv[i]=new w8(r,t)),l=sv[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(B4,{Manager:w8,Socket:iG,io:B4,connect:B4});const e7e=["ddim","plms","k_lms","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_dpmpp_2_a","k_euler","k_euler_a","k_heun"],t7e=["ddim","plms","k_lms","dpmpp_2","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_euler","k_euler_a","k_heun"],n7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],r7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],i7e=[{key:"2x",value:2},{key:"4x",value:4}],hP=0,pP=4294967295,o7e=["gfpgan","codeformer"],a7e=[{key:"None",value:"none"},{key:"Fast",value:"latents"},{key:"Accurate",value:"full-res"}];var s7e=Math.PI/180;function l7e(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const Fm=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},pt={_global:Fm,version:"8.3.14",isBrowser:l7e(),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle(e){return pt.angleDeg?e*s7e:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:typeof window<"u"&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return pt.DD.isDragging},isDragReady(){return!!pt.DD.node},releaseCanvasOnDestroy:!0,document:Fm.document,_injectGlobal(e){Fm.Konva=e}},Ar=e=>{pt[e.prototype.getClassName()]=e};pt._injectGlobal(pt);class ka{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new ka(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var n=this.m;return{x:n[0]*t.x+n[2]*t.y+n[4],y:n[1]*t.x+n[3]*t.y+n[5]}}translate(t,n){return this.m[4]+=this.m[0]*t+this.m[2]*n,this.m[5]+=this.m[1]*t+this.m[3]*n,this}scale(t,n){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=n,this.m[3]*=n,this}rotate(t){var n=Math.cos(t),r=Math.sin(t),i=this.m[0]*n+this.m[2]*r,o=this.m[1]*n+this.m[3]*r,a=this.m[0]*-r+this.m[2]*n,s=this.m[1]*-r+this.m[3]*n;return this.m[0]=i,this.m[1]=o,this.m[2]=a,this.m[3]=s,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,n){var r=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,o=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=i,this.m[2]=o,this.m[3]=a,this}multiply(t){var n=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],s=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*t,r=-this.m[1]*t,i=-this.m[2]*t,o=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),s=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}getMatrix(){return this.m}decompose(){var t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=this.m[4],a=this.m[5],s=t*i-n*r;let l={x:o,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(t!=0||n!=0){var u=Math.sqrt(t*t+n*n);l.rotation=n>0?Math.acos(t/u):-Math.acos(t/u),l.scaleX=u,l.scaleY=s/u,l.skewX=(t*r+n*i)/s,l.skewY=0}else if(r!=0||i!=0){var d=Math.sqrt(r*r+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-r/d):-Math.acos(r/d)),l.scaleX=s/d,l.scaleY=d,l.skewX=0,l.skewY=(t*r+n*i)/s}return l.rotation=de._getRotation(l.rotation),l}}var u7e="[object Array]",c7e="[object Number]",d7e="[object String]",f7e="[object Boolean]",h7e=Math.PI/180,p7e=180/Math.PI,kC="#",g7e="",m7e="0",v7e="Konva warning: ",BR="Konva error: ",y7e="rgb(",EC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},b7e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Ob=[];const S7e=typeof requestAnimationFrame<"u"&&requestAnimationFrame||function(e){setTimeout(e,60)},de={_isElement(e){return!!(e&&e.nodeType==1)},_isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject(e){return!!e&&e.constructor===Object},_isArray(e){return Object.prototype.toString.call(e)===u7e},_isNumber(e){return Object.prototype.toString.call(e)===c7e&&!isNaN(e)&&isFinite(e)},_isString(e){return Object.prototype.toString.call(e)===d7e},_isBoolean(e){return Object.prototype.toString.call(e)===f7e},isObject(e){return e instanceof Object},isValidSelector(e){if(typeof e!="string")return!1;var t=e[0];return t==="#"||t==="."||t===t.toUpperCase()},_sign(e){return e===0||e>0?1:-1},requestAnimFrame(e){Ob.push(e),Ob.length===1&&S7e(function(){const t=Ob;Ob=[],t.forEach(function(n){n()})})},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch{}return e},createImageElement(){return document.createElement("img")},_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=de.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex(e,t,n){return((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},_hexToRgb(e){e=e.replace(kC,g7e);var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}},getRandomColor(){for(var e=(Math.random()*16777215<<0).toString(16);e.length<6;)e=m7e+e;return kC+e},getRGB(e){var t;return e in EC?(t=EC[e],{r:t[0],g:t[1],b:t[2]}):e[0]===kC?this._hexToRgb(e.substring(1)):e.substr(0,4)===y7e?(t=b7e.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA(e){return e=e||"black",de._namedColorToRBA(e)||de._hex3ColorToRGBA(e)||de._hex6ColorToRGBA(e)||de._rgbColorToRGBA(e)||de._rgbaColorToRGBA(e)||de._hslColorToRGBA(e)},_namedColorToRBA(e){var t=EC[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(e.indexOf("rgb(")===0){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(e.indexOf("rgba(")===0){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map((n,r)=>n.slice(-1)==="%"?r===3?parseInt(n)/100:parseInt(n)/100*255:Number(n));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if(e[0]==="#"&&e.length===7)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if(e[0]==="#"&&e.length===4)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100;let a,s,l;if(i===0)return l=o*255,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};o<.5?a=o*(1+i):a=o+i-o*i;const u=2*o-a,d=[0,0,0];for(let h=0;h<3;h++)s=r+1/3*-(h-1),s<0&&s++,s>1&&s--,6*s<1?l=u+(a-u)*6*s:2*s<1?l=a:3*s<2?l=u+(a-u)*(2/3-s)*6:l=u,d[h]=l*255;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height1?(a=n,s=r,l=(n-i)*(n-i)+(r-o)*(r-o)):(a=e+d*(n-e),s=t+d*(r-t),l=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,l]},_getProjectionToLine(e,t,n){var r=de.cloneObject(e),i=Number.MAX_VALUE;return t.forEach(function(o,a){if(!(!n&&a===t.length-1)){var s=t[(a+1)%t.length],l=de._getProjectionToSegment(o.x,o.y,s.x,s.y,e.x,e.y),u=l[0],d=l[1],h=l[2];ht.length){var a=t;t=e,e=a}for(r=0;r{t.width=0,t.height=0})}};function df(e){return de._isString(e)?'"'+e+'"':Object.prototype.toString.call(e)==="[object Number]"||de._isBoolean(e)?e:Object.prototype.toString.call(e)}function oG(e){return e>255?255:e<0?0:Math.round(e)}function Ge(){if(pt.isUnminified)return function(e,t){return de._isNumber(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function aG(e){if(pt.isUnminified)return function(t,n){let r=de._isNumber(t),i=de._isArray(t)&&t.length==e;return!r&&!i&&de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}}function gP(){if(pt.isUnminified)return function(e,t){var n=de._isNumber(e),r=e==="auto";return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function P0(){if(pt.isUnminified)return function(e,t){return de._isString(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function sG(){if(pt.isUnminified)return function(e,t){const n=de._isString(e),r=Object.prototype.toString.call(e)==="[object CanvasGradient]"||e&&e.addColorStop;return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function x7e(){if(pt.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(de._isArray(e)?e.forEach(function(r){de._isNumber(r)||de.warn('"'+t+'" attribute has non numeric element '+r+". Make sure that all elements are numbers.")}):de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function nl(){if(pt.isUnminified)return function(e,t){var n=e===!0||e===!1;return n||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function w7e(e){if(pt.isUnminified)return function(t,n){return t==null||de.isObject(t)||de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}var lv="get",uv="set";const ee={addGetterSetter(e,t,n,r,i){ee.addGetter(e,t,n),ee.addSetter(e,t,r,i),ee.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=lv+de._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var i=this.attrs[t];return i===void 0?n:i}},addSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]||ee.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]=function(o){return n&&o!==void 0&&o!==null&&(o=n.call(this,o,t)),this._setAttr(t,o),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o=n.length,a=de._capitalize,s=lv+a(t),l=uv+a(t),u,d;e.prototype[s]=function(){var m={};for(u=0;u{this._setAttr(t+a(S),void 0)}),this._fireChangeEvent(t,v,m),i&&i.call(this),this},ee.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=de._capitalize(t),r=uv+n,i=lv+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[i]()}},addDeprecatedGetterSetter(e,t,n,r){de.error("Adding deprecated "+t);var i=lv+de._capitalize(t),o=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){de.error(o);var a=this.attrs[t];return a===void 0?n:a},ee.addSetter(e,t,r,function(){de.error(o)}),ee.addOverloadedGetterSetter(e,t)},backCompat(e,t){de.each(t,function(n,r){var i=e.prototype[r],o=lv+de._capitalize(n),a=uv+de._capitalize(n);function s(){i.apply(this,arguments),de.error('"'+n+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}e.prototype[n]=s,e.prototype[o]=s,e.prototype[a]=s})},afterSetFilter(){this._filterUpToDate=!1}};function C7e(e){var t=[],n=e.length,r=de,i,o;for(i=0;itypeof d=="number"?Math.floor(d):d)),o+=_7e+u.join(FR)+k7e)):(o+=s.property,t||(o+=A7e+s.val)),o+=T7e;return o}clearTrace(){this.traceArr=[]}_trace(t){var n=this.traceArr,r;n.push(t),r=n.length,r>=M7e&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var n=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}_applyLineCap(t){var n=t.getLineCap();n&&this.setAttr("lineCap",n)}_applyOpacity(t){var n=t.getAbsoluteOpacity();n!==1&&this.setAttr("globalAlpha",n)}_applyLineJoin(t){var n=t.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}setAttr(t,n){this._context[t]=n}arc(t,n,r,i,o,a){this._context.arc(t,n,r,i,o,a)}arcTo(t,n,r,i,o){this._context.arcTo(t,n,r,i,o)}beginPath(){this._context.beginPath()}bezierCurveTo(t,n,r,i,o,a){this._context.bezierCurveTo(t,n,r,i,o,a)}clearRect(t,n,r,i){this._context.clearRect(t,n,r,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,n){var r=arguments;if(r.length===2)return this._context.createImageData(t,n);if(r.length===1)return this._context.createImageData(t)}createLinearGradient(t,n,r,i){return this._context.createLinearGradient(t,n,r,i)}createPattern(t,n){return this._context.createPattern(t,n)}createRadialGradient(t,n,r,i,o,a){return this._context.createRadialGradient(t,n,r,i,o,a)}drawImage(t,n,r,i,o,a,s,l,u){var d=arguments,h=this._context;d.length===3?h.drawImage(t,n,r):d.length===5?h.drawImage(t,n,r,i,o):d.length===9&&h.drawImage(t,n,r,i,o,a,s,l,u)}ellipse(t,n,r,i,o,a,s,l){this._context.ellipse(t,n,r,i,o,a,s,l)}isPointInPath(t,n){return this._context.isPointInPath(t,n)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,n,r,i){this._context.fillRect(t,n,r,i)}strokeRect(t,n,r,i){this._context.strokeRect(t,n,r,i)}fillText(t,n,r,i){i?this._context.fillText(t,n,r,i):this._context.fillText(t,n,r)}measureText(t){return this._context.measureText(t)}getImageData(t,n,r,i){return this._context.getImageData(t,n,r,i)}lineTo(t,n){this._context.lineTo(t,n)}moveTo(t,n){this._context.moveTo(t,n)}rect(t,n,r,i){this._context.rect(t,n,r,i)}putImageData(t,n,r){this._context.putImageData(t,n,r)}quadraticCurveTo(t,n,r,i){this._context.quadraticCurveTo(t,n,r,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,n){this._context.scale(t,n)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,n,r,i,o,a){this._context.setTransform(t,n,r,i,o,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,n,r,i){this._context.strokeText(t,n,r,i)}transform(t,n,r,i,o,a){this._context.transform(t,n,r,i,o,a)}translate(t,n){this._context.translate(t,n)}_enableTrace(){var t=this,n=$R.length,r=this.setAttr,i,o,a=function(s){var l=t[s],u;t[s]=function(){return o=C7e(Array.prototype.slice.call(arguments,0)),u=l.apply(t,arguments),t._trace({method:s,args:o}),u}};for(i=0;i{t.dragStatus==="dragging"&&(e=!0)}),e},justDragged:!1,get node(){var e;return vn._dragElements.forEach(t=>{e=t.node}),e},_dragElements:new Map,_drag(e){const t=[];vn._dragElements.forEach((n,r)=>{const{node:i}=n,o=i.getStage();o.setPointersPositions(e),n.pointerId===void 0&&(n.pointerId=de._getFirstPointerId(e));const a=o._changedPointerPositions.find(u=>u.id===n.pointerId);if(a){if(n.dragStatus!=="dragging"){var s=i.dragDistance(),l=Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y));if(l{n.fire("dragmove",{type:"dragmove",target:n,evt:e},!0)})},_endDragBefore(e){const t=[];vn._dragElements.forEach(n=>{const{node:r}=n,i=r.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find(s=>s.id===n.pointerId))return;(n.dragStatus==="dragging"||n.dragStatus==="stopped")&&(vn.justDragged=!0,pt._mouseListenClick=!1,pt._touchListenClick=!1,pt._pointerListenClick=!1,n.dragStatus="stopped");const a=n.node.getLayer()||n.node instanceof pt.Stage&&n.node;a&&t.indexOf(a)===-1&&t.push(a)}),t.forEach(n=>{n.draw()})},_endDragAfter(e){vn._dragElements.forEach((t,n)=>{t.dragStatus==="stopped"&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),t.dragStatus!=="dragging"&&vn._dragElements.delete(n)})}};pt.isBrowser&&(window.addEventListener("mouseup",vn._endDragBefore,!0),window.addEventListener("touchend",vn._endDragBefore,!0),window.addEventListener("mousemove",vn._drag),window.addEventListener("touchmove",vn._drag),window.addEventListener("mouseup",vn._endDragAfter,!1),window.addEventListener("touchend",vn._endDragAfter,!1));var F4="absoluteOpacity",Ib="allEventListeners",$u="absoluteTransform",zR="absoluteScale",ah="canvas",N7e="Change",j7e="children",B7e="konva",C8="listening",HR="mouseenter",VR="mouseleave",WR="set",UR="Shape",$4=" ",GR="stage",fd="transform",F7e="Stage",_8="visible",$7e=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join($4);let z7e=1,Xe=class k8{constructor(t){this._id=z7e++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){(t===fd||t===$u)&&this._cache.get(t)?this._cache.get(t).dirty=!0:t?this._cache.delete(t):this._cache.clear()}_getCache(t,n){var r=this._cache.get(t),i=t===fd||t===$u,o=r===void 0||i&&r.dirty===!0;return o&&(r=n.call(this),this._cache.set(t,r)),r}_calculate(t,n,r){if(!this._attachedDepsListeners.get(t)){const i=n.map(o=>o+"Change.konva").join($4);this.on(i,()=>{this._clearCache(t)}),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)}_getCanvasCache(){return this._cache.get(ah)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===$u&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(ah)){const{scene:t,filter:n,hit:r}=this._cache.get(ah);de.releaseCanvas(t,n,r),this._cache.delete(ah)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var n=t||{},r={};(n.x===void 0||n.y===void 0||n.width===void 0||n.height===void 0)&&(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(n.width||r.width),o=Math.ceil(n.height||r.height),a=n.pixelRatio,s=n.x===void 0?Math.floor(r.x):n.x,l=n.y===void 0?Math.floor(r.y):n.y,u=n.offset||0,d=n.drawBorder||!1,h=n.hitCanvasPixelRatio||1;if(!i||!o){de.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");return}i+=u*2+1,o+=u*2+1,s-=u,l-=u;var m=new $m({pixelRatio:a,width:i,height:o}),v=new $m({pixelRatio:a,width:0,height:0}),b=new mP({pixelRatio:h,width:i,height:o}),S=m.getContext(),k=b.getContext();return b.isCache=!0,m.isCache=!0,this._cache.delete(ah),this._filterUpToDate=!1,n.imageSmoothingEnabled===!1&&(m.getContext()._context.imageSmoothingEnabled=!1,v.getContext()._context.imageSmoothingEnabled=!1),S.save(),k.save(),S.translate(-s,-l),k.translate(-s,-l),this._isUnderCache=!0,this._clearSelfAndDescendantCache(F4),this._clearSelfAndDescendantCache(zR),this.drawScene(m,this),this.drawHit(b,this),this._isUnderCache=!1,S.restore(),k.restore(),d&&(S.save(),S.beginPath(),S.rect(0,0,i,o),S.closePath(),S.setAttr("strokeStyle","red"),S.setAttr("lineWidth",5),S.stroke(),S.restore()),this._cache.set(ah,{scene:m,filter:v,hit:b,x:s,y:l}),this._requestDraw(),this}isCached(){return this._cache.has(ah)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,n){var r=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],i,o,a,s,l=this.getAbsoluteTransform(n);return r.forEach(function(u){var d=l.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),{x:i,y:o,width:a-i,height:s-o}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const n=this._getCanvasCache();t.translate(n.x,n.y);var r=this._getCachedSceneCanvas(),i=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/i,r.height/i),t.restore()}_drawCachedHitCanvas(t){var n=this._getCanvasCache(),r=n.hit;t.save(),t.translate(n.x,n.y),t.drawImage(r._canvas,0,0,r.width/r.pixelRatio,r.height/r.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t=this.filters(),n=this._getCanvasCache(),r=n.scene,i=n.filter,o=i.getContext(),a,s,l,u;if(t){if(!this._filterUpToDate){var d=r.pixelRatio;i.setSize(r.width/r.pixelRatio,r.height/r.pixelRatio);try{for(a=t.length,o.clear(),o.drawImage(r._canvas,0,0,r.getWidth()/d,r.getHeight()/d),s=o.getImageData(0,0,i.getWidth(),i.getHeight()),l=0;l{var n,r;if(!t)return this;for(n in t)n!==j7e&&(r=WR+de._capitalize(n),de._isFunction(this[r])?this[r](t[n]):this._setAttr(n,t[n]))}),this}isListening(){return this._getCache(C8,this._isListening)}_isListening(t){if(!this.listening())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isListening(t):!0}isVisible(){return this._getCache(_8,this._isVisible)}_isVisible(t){if(!this.visible())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isVisible(t):!0}shouldDrawHit(t,n=!1){if(t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),i=!1;vn._dragElements.forEach(a=>{a.dragStatus==="dragging"&&(a.node.nodeType==="Stage"||a.node.getLayer()===r)&&(i=!0)});var o=!n&&!pt.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t=this.getDepth(),n=this,r=0,i,o,a,s;function l(u){for(i=[],o=u.length,a=0;a0&&i[0].getDepth()<=t&&l(i)}return n.nodeType!==F7e&&l(n.getStage().getChildren()),r}getDepth(){for(var t=0,n=this.parent;n;)t++,n=n.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(fd),this._clearSelfAndDescendantCache($u)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges(()=>{this.x(t.x),this.y(t.y)}),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(t){let n=!1,r=this.parent;for(;r;){if(r.isCached()){n=!0;break}r=r.parent}n&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new ka,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()}setAbsolutePosition(t){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(fd);var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this._clearCache(fd),this._clearSelfAndDescendantCache($u),this}_setTransform(t){var n;for(n in t)this.attrs[n]=t[n]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var n=t.x,r=t.y,i=this.x(),o=this.y();return n!==void 0&&(i+=n),r!==void 0&&(o+=r),this.setPosition({x:i,y:o}),this}_eachAncestorReverse(t,n){var r=[],i=this.getParent(),o,a;if(!(n&&n._id===this._id)){for(r.unshift(this);i&&(!n||i._id!==n._id);)r.unshift(i),i=i.parent;for(o=r.length,a=0;a0?(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0):!1}moveToBottom(){if(!this.parent)return de.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0?(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0):!1}setZIndex(t){if(!this.parent)return de.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&de.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(F4,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(t*=n.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t={},n=this.getAttrs(),r,i,o,a,s;t.attrs={};for(r in n)i=n[r],s=de.isObject(i)&&!de._isPlainObject(i)&&!de._isArray(i),!s&&(o=typeof this[r]=="function"&&this[r],delete n[r],a=o?o.call(this):null,n[r]=i,a!==i&&(t.attrs[r]=i));return t.className=this.getClassName(),de._prepareToStringify(t)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,n,r){var i=[];n&&this._isMatch(t)&&i.push(this);for(var o=this.parent;o;){if(o===r)return i;o._isMatch(t)&&i.push(o),o=o.parent}return i}isAncestorOf(t){return!1}findAncestor(t,n,r){return this.findAncestors(t,n,r)[0]}_isMatch(t){if(!t)return!1;if(typeof t=="function")return t(this);var n=t.replace(/ /g,"").split(","),r=n.length,i,o;for(i=0;i{try{const i=t==null?void 0:t.callback;i&&delete t.callback,de._urlToImage(this.toDataURL(t),function(o){n(o),i==null||i(o)})}catch(i){r(i)}})}toBlob(t){return new Promise((n,r)=>{try{const i=t==null?void 0:t.callback;i&&delete t.callback,this.toCanvas(t).toBlob(o=>{n(o),i==null||i(o)})}catch(i){r(i)}})}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return this.attrs.dragDistance!==void 0?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():pt.dragDistance}_off(t,n,r){var i=this.eventListeners[t],o,a,s;for(o=0;o=0;if(r&&!this.isDragging()){var i=!1;vn._dragElements.forEach(o=>{this.isAncestorOf(o.node)&&(i=!0)}),i||this._createDragElement(t)}})}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const n=vn._dragElements.get(this._id),r=n&&n.dragStatus==="dragging",i=n&&n.dragStatus==="ready";r?this.stopDrag():i&&vn._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const n=this.getStage();if(!n)return!1;const r={x:-t.x,y:-t.y,width:n.width()+2*t.x,height:n.height()+2*t.y};return de.haveIntersection(r,this.getClientRect())}static create(t,n){return de._isString(t)&&(t=JSON.parse(t)),this._createNode(t,n)}static _createNode(t,n){var r=k8.prototype.getClassName.call(t),i=t.children,o,a,s;n&&(t.attrs.container=n),pt[r]||(de.warn('Can not find a node with class name "'+r+'". Fallback to "Shape".'),r="Shape");const l=pt[r];if(o=new l(t.attrs),i)for(a=i.length,s=0;s0}removeChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.remove()}),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.destroy()}),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var n=0;n0?n[0]:void 0}_generalFind(t,n){var r=[];return this._descendants(i=>{const o=i._isMatch(t);return o&&r.push(i),!!(o&&n)}),r}_descendants(t){let n=!1;const r=this.getChildren();for(const i of r){if(n=t(i),n)return!0;if(i.hasChildren()&&(n=i._descendants(t),n))return!0}return!1}toObject(){var t=Xe.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach(n=>{t.children.push(n.toObject())}),t}isAncestorOf(t){for(var n=t.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}clone(t){var n=Xe.prototype.clone.call(this,t);return this.getChildren().forEach(function(r){n.add(r.clone())}),n}getAllIntersections(t){var n=[];return this.find("Shape").forEach(function(r){r.isVisible()&&r.intersects(t)&&n.push(r)}),n}_clearSelfAndDescendantCache(t){var n;super._clearSelfAndDescendantCache(t),!this.isCached()&&((n=this.children)===null||n===void 0||n.forEach(function(r){r._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;(t=this.children)===null||t===void 0||t.forEach(function(n,r){n.index=r}),this._requestDraw()}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas(),o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.scene,l=i&&i.isCache;if(!this.isVisible()&&!l)return this;if(s){o.save();var u=this.getAbsoluteTransform(n).getMatrix();o.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",i,n);return this}drawHit(t,n){if(!this.shouldDrawHit(n))return this;var r=this.getLayer(),i=t||r&&r.hitCanvas,o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.hit;if(s){o.save();var l=this.getAbsoluteTransform(n).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",i,n);return this}_drawChildren(t,n,r){var i,o=n&&n.getContext(),a=this.clipWidth(),s=this.clipHeight(),l=this.clipFunc(),u=a&&s||l;const d=r===this;if(u){o.save();var h=this.getAbsoluteTransform(r),m=h.getMatrix();if(o.transform(m[0],m[1],m[2],m[3],m[4],m[5]),o.beginPath(),l)l.call(this,o,this);else{var v=this.clipX(),b=this.clipY();o.rect(v,b,a,s)}o.clip(),m=h.copy().invert().getMatrix(),o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}var S=!d&&this.globalCompositeOperation()!=="source-over"&&t==="drawScene";S&&(o.save(),o._applyGlobalCompositeOperation(this)),(i=this.children)===null||i===void 0||i.forEach(function(k){k[t](n,r)}),S&&o.restore(),u&&o.restore()}getClientRect(t){var n;t=t||{};var r=t.skipTransform,i=t.relativeTo,o,a,s,l,u={x:1/0,y:1/0,width:0,height:0},d=this;(n=this.children)===null||n===void 0||n.forEach(function(S){if(S.visible()){var k=S.getClientRect({relativeTo:d,skipShadow:t.skipShadow,skipStroke:t.skipStroke});k.width===0&&k.height===0||(o===void 0?(o=k.x,a=k.y,s=k.x+k.width,l=k.y+k.height):(o=Math.min(o,k.x),a=Math.min(a,k.y),s=Math.max(s,k.x+k.width),l=Math.max(l,k.y+k.height)))}});for(var h=this.find("Shape"),m=!1,v=0;ve.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",Rg=e=>{const t=Ov(e);if(t==="pointer")return pt.pointerEventsEnabled&&TC.pointer;if(t==="touch")return TC.touch;if(t==="mouse")return TC.mouse};function YR(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&de.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const Y7e="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",z4=[];let Vx=class extends Aa{constructor(t){super(YR(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),z4.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",()=>{YR(this.attrs)}),this._checkVisibility()}_validateAdd(t){const n=t.getType()==="Layer",r=t.getType()==="FastLayer";n||r||de.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===V7e){if(t.charAt(0)==="."){var n=t.slice(1);t=document.getElementsByClassName(n)[0]}else{var r;t.charAt(0)!=="#"?r=t:r=t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t=this.children,n=t.length,r;for(r=0;r-1&&z4.splice(n,1),de.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(de.warn(Y7e),null)}_getPointerById(t){return this._pointerPositions.find(n=>n.id===t)}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var n=new $m({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),r=n.getContext()._context,i=this.children;return(t.x||t.y)&&r.translate(-1*t.x,-1*t.y),i.forEach(function(o){if(o.isVisible()){var a=o._toKonvaCanvas(t);r.drawImage(a._canvas,t.x,t.y,a.getWidth()/a.getPixelRatio(),a.getHeight()/a.getPixelRatio())}}),n}getIntersection(t){if(!t)return null;var n=this.children,r=n.length,i=r-1,o;for(o=i;o>=0;o--){const a=n[o].getIntersection(t);if(a)return a}return null}_resizeDOM(){var t=this.width(),n=this.height();this.content&&(this.content.style.width=t+qR,this.content.style.height=n+qR),this.bufferCanvas.setSize(t,n),this.bufferHitCanvas.setSize(t,n),this.children.forEach(r=>{r.setSize({width:t,height:n}),r.draw()})}add(t,...n){if(arguments.length>1){for(var r=0;rG7e&&de.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),pt.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return uG(t,this)}setPointerCapture(t){cG(t,this)}releaseCapture(t){a2(t)}getLayers(){return this.children}_bindContentEvents(){pt.isBrowser&&q7e.forEach(([t,n])=>{this.content.addEventListener(t,r=>{this[n](r)},{passive:!1})})}_pointerenter(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let n=this[t+"targetShape"];return n&&!n.getStage()&&(n=null),n}_pointerleave(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=this._getTargetShape(r),o=!vn.isDragging||pt.hitOnDragEnabled;i&&o?(i._fireAndBubble(n.pointerout,{evt:t}),i._fireAndBubble(n.pointerleave,{evt:t}),this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this[r+"targetShape"]=null):o&&(this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach(o=>{var a=this.getIntersection(o);if(vn.justDragged=!1,pt["_"+r+"ListenClick"]=!0,!(a&&a.isListening()))return;pt.capturePointerEventsEnabled&&a.setPointerCapture(o.id),this[r+"ClickStartShape"]=a,a._fireAndBubble(n.pointerdown,{evt:t,pointerId:o.id}),i=!0;const l=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&l&&t.preventDefault()}),i||this._fire(n.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;vn.isDragging&&vn.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!vn.isDragging||pt.hitOnDragEnabled;if(!i)return;var o={};let a=!1;var s=this._getTargetShape(r);this._changedPointerPositions.forEach(l=>{const u=PC(l.id)||this.getIntersection(l),d=l.id,h={evt:t,pointerId:d};var m=s!==u;if(m&&s&&(s._fireAndBubble(n.pointerout,Object.assign({},h),u),s._fireAndBubble(n.pointerleave,Object.assign({},h),u)),u){if(o[u._id])return;o[u._id]=!0}u&&u.isListening()?(a=!0,m&&(u._fireAndBubble(n.pointerover,Object.assign({},h),s),u._fireAndBubble(n.pointerenter,Object.assign({},h),s),this[r+"targetShape"]=u),u._fireAndBubble(n.pointermove,Object.assign({},h))):s&&(this._fire(n.pointerover,{evt:t,target:this,currentTarget:this,pointerId:d}),this[r+"targetShape"]=null)}),a||this._fire(n.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;this.setPointersPositions(t);const i=this[r+"ClickStartShape"],o=this[r+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach(l=>{const u=PC(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),a[u._id])return;a[u._id]=!0}const d=l.id,h={evt:t,pointerId:d};let m=!1;pt["_"+r+"InDblClickWindow"]?(m=!0,clearTimeout(this[r+"DblTimeout"])):vn.justDragged||(pt["_"+r+"InDblClickWindow"]=!0,clearTimeout(this[r+"DblTimeout"])),this[r+"DblTimeout"]=setTimeout(function(){pt["_"+r+"InDblClickWindow"]=!1},pt.dblClickWindow),u&&u.isListening()?(s=!0,this[r+"ClickEndShape"]=u,u._fireAndBubble(n.pointerup,Object.assign({},h)),pt["_"+r+"ListenClick"]&&i&&i===u&&(u._fireAndBubble(n.pointerclick,Object.assign({},h)),m&&o&&o===u&&u._fireAndBubble(n.pointerdblclick,Object.assign({},h)))):(this[r+"ClickEndShape"]=null,pt["_"+r+"ListenClick"]&&this._fire(n.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:d}),m&&this._fire(n.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:d}))}),s||this._fire(n.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),pt["_"+r+"ListenClick"]=!1,t.cancelable&&r!=="touch"&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(E8,{evt:t}):this._fire(E8,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(P8,{evt:t}):this._fire(P8,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const n=PC(t.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(um,vP(t)),a2(t.pointerId)}_lostpointercapture(t){a2(t.pointerId)}setPointersPositions(t){var n=this._getContentPosition(),r=null,i=null;t=t||window.event,t.touches!==void 0?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,o=>{this._pointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})}),Array.prototype.forEach.call(t.changedTouches||t.touches,o=>{this._changedPointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})})):(r=(t.clientX-n.left)/n.scaleX,i=(t.clientY-n.top)/n.scaleY,this.pointerPos={x:r,y:i},this._pointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}],this._changedPointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}])}_setPointerPosition(t){de.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new $m({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mP({pixelRatio:1,width:this.width(),height:this.height()}),!!pt.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return de.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach(function(t){t.batchDraw()}),this}};Vx.prototype.nodeType=H7e;Ar(Vx);ee.addGetterSetter(Vx,"container");var xG="hasShadow",wG="shadowRGBA",CG="patternImage",_G="linearGradient",kG="radialGradient";let Bb;function LC(){return Bb||(Bb=de.createCanvasElement().getContext("2d"),Bb)}const s2={};function K7e(e){e.fill()}function X7e(e){e.stroke()}function Z7e(e){e.fill()}function Q7e(e){e.stroke()}function J7e(){this._clearCache(xG)}function e9e(){this._clearCache(wG)}function t9e(){this._clearCache(CG)}function n9e(){this._clearCache(_G)}function r9e(){this._clearCache(kG)}class Be extends Xe{constructor(t){super(t);let n;for(;n=de.getRandomColor(),!(n&&!(n in s2)););this.colorKey=n,s2[n]=this}getContext(){return de.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return de.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(xG,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&this.shadowOpacity()!==0&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(CG,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=LC();const n=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(n&&n.setTransform){const r=new ka;r.translate(this.fillPatternX(),this.fillPatternY()),r.rotate(pt.getAngle(this.fillPatternRotation())),r.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),r.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const i=r.getMatrix(),o=typeof DOMMatrix>"u"?{a:i[0],b:i[1],c:i[2],d:i[3],e:i[4],f:i[5]}:new DOMMatrix(i);n.setTransform(o)}return n}}_getLinearGradient(){return this._getCache(_G,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var n=LC(),r=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),o=n.createLinearGradient(r.x,r.y,i.x,i.y),a=0;athis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops()))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],()=>this.strokeEnabled()&&this.strokeWidth()&&!!(this.stroke()||this.strokeLinearGradientColorStops()))}hasHitStroke(){const t=this.hitStrokeWidth();return t==="auto"?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var n=this.getStage(),r=n.bufferHitCanvas,i;return r.getContext().clear(),this.drawHit(r,null,!0),i=r.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,i[3]>0}destroy(){return Xe.prototype.destroy.call(this),delete s2[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var n;if(!this.getStage()||!((n=this.attrs.perfectDrawEnabled)!==null&&n!==void 0?n:!0))return!1;const i=t||this.hasFill(),o=this.hasStroke(),a=this.getAbsoluteOpacity()!==1;if(i&&o&&a)return!0;const s=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(i&&o&&s&&l)}setStrokeHitEnabled(t){de.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return this.hitStrokeWidth()!==0}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const n=t.skipTransform,r=t.relativeTo,i=this.getSelfRect(),a=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,s=i.width+a,l=i.height+a,u=!t.skipShadow&&this.hasShadow(),d=u?this.shadowOffsetX():0,h=u?this.shadowOffsetY():0,m=s+Math.abs(d),v=l+Math.abs(h),b=u&&this.shadowBlur()||0,S=m+b*2,k=v+b*2,E={width:S,height:k,x:-(a/2+b)+Math.min(d,0)+i.x,y:-(a/2+b)+Math.min(h,0)+i.y};return n?E:this._transformedRect(E,r)}drawScene(t,n){var r=this.getLayer(),i=t||r.getCanvas(),o=i.getContext(),a=this._getCanvasCache(),s=this.getSceneFunc(),l=this.hasShadow(),u,d,h,m=i.isCache,v=n===this;if(!this.isVisible()&&!v)return this;if(a){o.save();var b=this.getAbsoluteTransform(n).getMatrix();return o.transform(b[0],b[1],b[2],b[3],b[4],b[5]),this._drawCachedSceneCanvas(o),o.restore(),this}if(!s)return this;if(o.save(),this._useBufferCanvas()&&!m){u=this.getStage(),d=u.bufferCanvas,h=d.getContext(),h.clear(),h.save(),h._applyLineJoin(this);var S=this.getAbsoluteTransform(n).getMatrix();h.transform(S[0],S[1],S[2],S[3],S[4],S[5]),s.call(this,h,this),h.restore();var k=d.pixelRatio;l&&o._applyShadow(this),o._applyOpacity(this),o._applyGlobalCompositeOperation(this),o.drawImage(d._canvas,0,0,d.width/k,d.height/k)}else{if(o._applyLineJoin(this),!v){var S=this.getAbsoluteTransform(n).getMatrix();o.transform(S[0],S[1],S[2],S[3],S[4],S[5]),o._applyOpacity(this),o._applyGlobalCompositeOperation(this)}l&&o._applyShadow(this),s.call(this,o,this)}return o.restore(),this}drawHit(t,n,r=!1){if(!this.shouldDrawHit(n,r))return this;var i=this.getLayer(),o=t||i.hitCanvas,a=o&&o.getContext(),s=this.hitFunc()||this.sceneFunc(),l=this._getCanvasCache(),u=l&&l.hit;if(this.colorKey||de.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),u){a.save();var d=this.getAbsoluteTransform(n).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),a._applyLineJoin(this),!(this===n)){var m=this.getAbsoluteTransform(n).getMatrix();a.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return s.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var n=this._getCanvasCache(),r=this._getCachedSceneCanvas(),i=n.hit,o=i.getContext(),a=i.getWidth(),s=i.getHeight(),l,u,d,h,m,v;o.clear(),o.drawImage(r._canvas,0,0,a,s);try{for(l=o.getImageData(0,0,a,s),u=l.data,d=u.length,h=de._hexToRgb(this.colorKey),m=0;mt?(u[m]=h.r,u[m+1]=h.g,u[m+2]=h.b,u[m+3]=255):u[m+3]=0;o.putImageData(l,0,0)}catch(b){de.error("Unable to draw hit graph from cached scene canvas. "+b.message)}return this}hasPointerCapture(t){return uG(t,this)}setPointerCapture(t){cG(t,this)}releaseCapture(t){a2(t)}}Be.prototype._fillFunc=K7e;Be.prototype._strokeFunc=X7e;Be.prototype._fillFuncHit=Z7e;Be.prototype._strokeFuncHit=Q7e;Be.prototype._centroid=!1;Be.prototype.nodeType="Shape";Ar(Be);Be.prototype.eventListeners={};Be.prototype.on.call(Be.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",J7e);Be.prototype.on.call(Be.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",e9e);Be.prototype.on.call(Be.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",t9e);Be.prototype.on.call(Be.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",n9e);Be.prototype.on.call(Be.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",r9e);ee.addGetterSetter(Be,"stroke",void 0,sG());ee.addGetterSetter(Be,"strokeWidth",2,Ge());ee.addGetterSetter(Be,"fillAfterStrokeEnabled",!1);ee.addGetterSetter(Be,"hitStrokeWidth","auto",gP());ee.addGetterSetter(Be,"strokeHitEnabled",!0,nl());ee.addGetterSetter(Be,"perfectDrawEnabled",!0,nl());ee.addGetterSetter(Be,"shadowForStrokeEnabled",!0,nl());ee.addGetterSetter(Be,"lineJoin");ee.addGetterSetter(Be,"lineCap");ee.addGetterSetter(Be,"sceneFunc");ee.addGetterSetter(Be,"hitFunc");ee.addGetterSetter(Be,"dash");ee.addGetterSetter(Be,"dashOffset",0,Ge());ee.addGetterSetter(Be,"shadowColor",void 0,P0());ee.addGetterSetter(Be,"shadowBlur",0,Ge());ee.addGetterSetter(Be,"shadowOpacity",1,Ge());ee.addComponentsGetterSetter(Be,"shadowOffset",["x","y"]);ee.addGetterSetter(Be,"shadowOffsetX",0,Ge());ee.addGetterSetter(Be,"shadowOffsetY",0,Ge());ee.addGetterSetter(Be,"fillPatternImage");ee.addGetterSetter(Be,"fill",void 0,sG());ee.addGetterSetter(Be,"fillPatternX",0,Ge());ee.addGetterSetter(Be,"fillPatternY",0,Ge());ee.addGetterSetter(Be,"fillLinearGradientColorStops");ee.addGetterSetter(Be,"strokeLinearGradientColorStops");ee.addGetterSetter(Be,"fillRadialGradientStartRadius",0);ee.addGetterSetter(Be,"fillRadialGradientEndRadius",0);ee.addGetterSetter(Be,"fillRadialGradientColorStops");ee.addGetterSetter(Be,"fillPatternRepeat","repeat");ee.addGetterSetter(Be,"fillEnabled",!0);ee.addGetterSetter(Be,"strokeEnabled",!0);ee.addGetterSetter(Be,"shadowEnabled",!0);ee.addGetterSetter(Be,"dashEnabled",!0);ee.addGetterSetter(Be,"strokeScaleEnabled",!0);ee.addGetterSetter(Be,"fillPriority","color");ee.addComponentsGetterSetter(Be,"fillPatternOffset",["x","y"]);ee.addGetterSetter(Be,"fillPatternOffsetX",0,Ge());ee.addGetterSetter(Be,"fillPatternOffsetY",0,Ge());ee.addComponentsGetterSetter(Be,"fillPatternScale",["x","y"]);ee.addGetterSetter(Be,"fillPatternScaleX",1,Ge());ee.addGetterSetter(Be,"fillPatternScaleY",1,Ge());ee.addComponentsGetterSetter(Be,"fillLinearGradientStartPoint",["x","y"]);ee.addComponentsGetterSetter(Be,"strokeLinearGradientStartPoint",["x","y"]);ee.addGetterSetter(Be,"fillLinearGradientStartPointX",0);ee.addGetterSetter(Be,"strokeLinearGradientStartPointX",0);ee.addGetterSetter(Be,"fillLinearGradientStartPointY",0);ee.addGetterSetter(Be,"strokeLinearGradientStartPointY",0);ee.addComponentsGetterSetter(Be,"fillLinearGradientEndPoint",["x","y"]);ee.addComponentsGetterSetter(Be,"strokeLinearGradientEndPoint",["x","y"]);ee.addGetterSetter(Be,"fillLinearGradientEndPointX",0);ee.addGetterSetter(Be,"strokeLinearGradientEndPointX",0);ee.addGetterSetter(Be,"fillLinearGradientEndPointY",0);ee.addGetterSetter(Be,"strokeLinearGradientEndPointY",0);ee.addComponentsGetterSetter(Be,"fillRadialGradientStartPoint",["x","y"]);ee.addGetterSetter(Be,"fillRadialGradientStartPointX",0);ee.addGetterSetter(Be,"fillRadialGradientStartPointY",0);ee.addComponentsGetterSetter(Be,"fillRadialGradientEndPoint",["x","y"]);ee.addGetterSetter(Be,"fillRadialGradientEndPointX",0);ee.addGetterSetter(Be,"fillRadialGradientEndPointY",0);ee.addGetterSetter(Be,"fillPatternRotation",0);ee.backCompat(Be,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var i9e="#",o9e="beforeDraw",a9e="draw",EG=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],s9e=EG.length;let dp=class extends Aa{constructor(t){super(t),this.canvas=new $m,this.hitCanvas=new mP({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),t{this.draw(),this._waitingForDraw=!1})),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;for(var n=1,r=!1;;){for(let i=0;i0)return{antialiased:!0};return{}}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas();return this._fire(o9e,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Aa.prototype.drawScene.call(this,i,n),this._fire(a9e,{node:this}),this}drawHit(t,n){var r=this.getLayer(),i=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),Aa.prototype.drawHit.call(this,i,n),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(!(!this.parent||!this.parent.content)){var t=this.parent,n=!!this.hitCanvas._canvas.parentNode;n?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}destroy(){return de.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}};dp.prototype.nodeType="Layer";Ar(dp);ee.addGetterSetter(dp,"imageSmoothingEnabled",!0);ee.addGetterSetter(dp,"clearBeforeDraw",!0);ee.addGetterSetter(dp,"hitGraphEnabled",!0,nl());class yP extends dp{constructor(t){super(t),this.listening(!1),de.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}yP.prototype.nodeType="FastLayer";Ar(yP);let i0=class extends Aa{_validateAdd(t){var n=t.getType();n!=="Group"&&n!=="Shape"&&de.throw("You may only add groups and shapes to groups.")}};i0.prototype.nodeType="Group";Ar(i0);var AC=function(){return Fm.performance&&Fm.performance.now?function(){return Fm.performance.now()}:function(){return new Date().getTime()}}();class ts{constructor(t,n){this.id=ts.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:AC(),frameRate:0},this.func=t,this.setLayers(n)}setLayers(t){var n=[];return t?t.length>0?n=t:n=[t]:n=[],this.layers=n,this}getLayers(){return this.layers}addLayer(t){var n=this.layers,r=n.length,i;for(i=0;ithis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return t===void 0&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=KR,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=XR,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===KR?this.setTime(t):this.state===XR&&this.setTime(this.duration-t)}pause(){this.state=u9e,this.fire("onPause")}getTimer(){return new Date().getTime()}}class Xr{constructor(t){var n=this,r=t.node,i=r._id,o,a=t.easing||l2.Linear,s=!!t.yoyo,l;typeof t.duration>"u"?o=.3:t.duration===0?o=.001:o=t.duration,this.node=r,this._id=c9e++;var u=r.getLayer()||(r instanceof pt.Stage?r.getLayers():null);u||de.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new ts(function(){n.tween.onEnterFrame()},u),this.tween=new d9e(l,function(d){n._tweenFunc(d)},a,0,1,o*1e3,s),this._addListeners(),Xr.attrs[i]||(Xr.attrs[i]={}),Xr.attrs[i][this._id]||(Xr.attrs[i][this._id]={}),Xr.tweens[i]||(Xr.tweens[i]={});for(l in t)l9e[l]===void 0&&this._addAttr(l,t[l]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,n){var r=this.node,i=r._id,o,a,s,l,u,d,h,m;if(s=Xr.tweens[i][t],s&&delete Xr.attrs[i][s][t],o=r.getAttr(t),de._isArray(n))if(a=[],u=Math.max(n.length,o.length),t==="points"&&n.length!==o.length&&(n.length>o.length?(h=o,o=de._prepareArrayForTween(o,n,r.closed())):(d=n,n=de._prepareArrayForTween(n,o,r.closed()))),t.indexOf("fill")===0)for(l=0;l{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueEnd&&t.setAttr("points",n.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueStart&&t.points(n.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(t*1e3),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t=this.node._id,n=this._id,r=Xr.tweens[t],i;this.pause();for(i in r)delete Xr.tweens[t][i];delete Xr.attrs[t][n]}}Xr.attrs={};Xr.tweens={};Xe.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()};var n=new Xr(e);n.play()};const l2={BackEaseIn(e,t,n,r){var i=1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},BackEaseOut(e,t,n,r){var i=1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*(((i*=1.525)+1)*e-i))+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return e===0?t:(e/=r)===1?t+n:(o||(o=r*.3),!i||i0?t:n),d=a*n,h=s*(s>0?t:n),m=l*(l>0?n:t);return{x:u,y:r?-1*m:h,width:d-u,height:m-h}}}cc.prototype._centroid=!0;cc.prototype.className="Arc";cc.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(cc);ee.addGetterSetter(cc,"innerRadius",0,Ge());ee.addGetterSetter(cc,"outerRadius",0,Ge());ee.addGetterSetter(cc,"angle",0,Ge());ee.addGetterSetter(cc,"clockwise",!1,nl());function T8(e,t,n,r,i,o,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(i-n,2)+Math.pow(o-r,2)),u=a*s/(s+l),d=a*l/(s+l),h=n-u*(i-e),m=r-u*(o-t),v=n+d*(i-e),b=r+d*(o-t);return[h,m,v,b]}function QR(e,t){var n=e.length,r=[],i,o;for(i=2;i4){for(s=this.getTensionPoints(),l=s.length,u=o?0:4,o||t.quadraticCurveTo(s[0],s[1],s[2],s[3]);ud?u:d,k=u>d?1:u/d,E=u>d?d/u:1;t.translate(s,l),t.rotate(v),t.scale(k,E),t.arc(0,0,S,h,h+m,1-b),t.scale(1/k,1/E),t.rotate(-v),t.translate(-s,-l);break;case"z":r=!0,t.closePath();break}}!r&&!this.hasFill()?t.strokeShape(this):t.fillStrokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach(function(u){if(u.command==="A"){var d=u.points[4],h=u.points[5],m=u.points[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;b-=v){const S=Hn.getPointOnEllipticalArc(u.points[0],u.points[1],u.points[2],u.points[3],b,0);t.push(S.x,S.y)}else for(let b=d+v;bthis.dataArray[r].pathLength;)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return Hn.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return Hn.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return Hn.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],l=a[1],u=a[2],d=a[3],h=a[4],m=a[5],v=a[6];return h+=m*t/o.pathLength,Hn.getPointOnEllipticalArc(s,l,u,d,h,v)}return null}static getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}static getPointOnLine(t,n,r,i,o,a,s){a===void 0&&(a=n),s===void 0&&(s=r);var l=(o-r)/(i-n+1e-8),u=Math.sqrt(t*t/(1+l*l));i0&&!isNaN(b[0]);){var _=null,T=[],A=l,I=u,R,D,j,z,V,K,te,q,F,U;switch(v){case"l":l+=b.shift(),u+=b.shift(),_="L",T.push(l,u);break;case"L":l=b.shift(),u=b.shift(),T.push(l,u);break;case"m":var X=b.shift(),Z=b.shift();if(l+=X,u+=Z,_="M",a.length>2&&a[a.length-1].command==="z"){for(var W=a.length-2;W>=0;W--)if(a[W].command==="M"){l=a[W].points[0]+X,u=a[W].points[1]+Z;break}}T.push(l,u),v="l";break;case"M":l=b.shift(),u=b.shift(),_="M",T.push(l,u),v="L";break;case"h":l+=b.shift(),_="L",T.push(l,u);break;case"H":l=b.shift(),_="L",T.push(l,u);break;case"v":u+=b.shift(),_="L",T.push(l,u);break;case"V":u=b.shift(),_="L",T.push(l,u);break;case"C":T.push(b.shift(),b.shift(),b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"c":T.push(l+b.shift(),u+b.shift(),l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"S":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,b.shift(),b.shift()),l=b.shift(),u=b.shift(),_="C",T.push(l,u);break;case"s":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"Q":T.push(b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"q":T.push(l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="Q",T.push(l,u);break;case"T":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l=b.shift(),u=b.shift(),_="Q",T.push(D,j,l,u);break;case"t":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l+=b.shift(),u+=b.shift(),_="Q",T.push(D,j,l,u);break;case"A":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),F=l,U=u,l=b.shift(),u=b.shift(),_="A",T=this.convertEndpointToCenterParameterization(F,U,l,u,te,q,z,V,K);break;case"a":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),F=l,U=u,l+=b.shift(),u+=b.shift(),_="A",T=this.convertEndpointToCenterParameterization(F,U,l,u,te,q,z,V,K);break}a.push({command:_||v,points:T,start:{x:A,y:I},pathLength:this.calcLength(A,I,_||v,T)})}(v==="z"||v==="Z")&&a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(t,n,r,i){var o,a,s,l,u=Hn;switch(r){case"L":return u.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=u.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),l=.01;l<=1;l+=.01)s=u.getPointOnCubicBezier(l,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=u.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),l=.01;l<=1;l+=.01)s=u.getPointOnQuadraticBezier(l,t,n,i[0],i[1],i[2],i[3]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var d=i[4],h=i[5],m=i[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;l-=v)s=u.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(l=d+v;l1&&(s*=Math.sqrt(v),l*=Math.sqrt(v));var b=Math.sqrt((s*s*(l*l)-s*s*(m*m)-l*l*(h*h))/(s*s*(m*m)+l*l*(h*h)));o===a&&(b*=-1),isNaN(b)&&(b=0);var S=b*s*m/l,k=b*-l*h/s,E=(t+r)/2+Math.cos(d)*S-Math.sin(d)*k,_=(n+i)/2+Math.sin(d)*S+Math.cos(d)*k,T=function(V){return Math.sqrt(V[0]*V[0]+V[1]*V[1])},A=function(V,K){return(V[0]*K[0]+V[1]*K[1])/(T(V)*T(K))},I=function(V,K){return(V[0]*K[1]=1&&(z=0),a===0&&z>0&&(z=z-2*Math.PI),a===1&&z<0&&(z=z+2*Math.PI),[E,_,s,l,R,z,d,a]}}Hn.prototype.className="Path";Hn.prototype._attrsAffectingSize=["data"];Ar(Hn);ee.addGetterSetter(Hn,"data");class fp extends dc{_sceneFunc(t){super._sceneFunc(t);var n=Math.PI*2,r=this.points(),i=r,o=this.tension()!==0&&r.length>4;o&&(i=this.getTensionPoints());var a=this.pointerLength(),s=r.length,l,u;if(o){const m=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],r[s-2],r[s-1]],v=Hn.calcLength(i[i.length-4],i[i.length-3],"C",m),b=Hn.getPointOnQuadraticBezier(Math.min(1,1-a/v),m[0],m[1],m[2],m[3],m[4],m[5]);l=r[s-2]-b.x,u=r[s-1]-b.y}else l=r[s-2]-r[s-4],u=r[s-1]-r[s-3];var d=(Math.atan2(u,l)+n)%n,h=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(r[s-2],r[s-1]),t.rotate(d),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(r[0],r[1]),o?(l=(i[0]+i[2])/2-r[0],u=(i[1]+i[3])/2-r[1]):(l=r[2]-r[0],u=r[3]-r[1]),t.rotate((Math.atan2(-u,-l)+n)%n),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),n=this.pointerWidth()/2;return{x:t.x-n,y:t.y-n,width:t.width+n*2,height:t.height+n*2}}}fp.prototype.className="Arrow";Ar(fp);ee.addGetterSetter(fp,"pointerLength",10,Ge());ee.addGetterSetter(fp,"pointerWidth",10,Ge());ee.addGetterSetter(fp,"pointerAtBeginning",!1);ee.addGetterSetter(fp,"pointerAtEnding",!0);let T0=class extends Be{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,Math.PI*2,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}};T0.prototype._centroid=!0;T0.prototype.className="Circle";T0.prototype._attrsAffectingSize=["radius"];Ar(T0);ee.addGetterSetter(T0,"radius",0,Ge());class ff extends Be{_sceneFunc(t){var n=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),n!==r&&t.scale(1,r/n),t.arc(0,0,n,0,Math.PI*2,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radiusX()*2}getHeight(){return this.radiusY()*2}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}ff.prototype.className="Ellipse";ff.prototype._centroid=!0;ff.prototype._attrsAffectingSize=["radiusX","radiusY"];Ar(ff);ee.addComponentsGetterSetter(ff,"radius",["x","y"]);ee.addGetterSetter(ff,"radiusX",0,Ge());ee.addGetterSetter(ff,"radiusY",0,Ge());let fc=class PG extends Be{constructor(t){super(t),this.on("imageChange.konva",()=>{this._setImageLoad()}),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&t.readyState===4||t&&t.addEventListener&&t.addEventListener("load",()=>{this._requestDraw()})}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const n=this.getWidth(),r=this.getHeight(),i=this.attrs.image;let o;if(i){const a=this.attrs.cropWidth,s=this.attrs.cropHeight;a&&s?o=[i,this.cropX(),this.cropY(),a,s,0,0,n,r]:o=[i,0,0,n,r]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,o)}_hitFunc(t){var n=this.width(),r=this.height();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,n;return(t=this.attrs.width)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.width}getHeight(){var t,n;return(t=this.attrs.height)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.height}static fromURL(t,n,r=null){var i=de.createImageElement();i.onload=function(){var o=new PG({image:i});n(o)},i.onerror=r,i.crossOrigin="Anonymous",i.src=t}};fc.prototype.className="Image";Ar(fc);ee.addGetterSetter(fc,"image");ee.addComponentsGetterSetter(fc,"crop",["x","y","width","height"]);ee.addGetterSetter(fc,"cropX",0,Ge());ee.addGetterSetter(fc,"cropY",0,Ge());ee.addGetterSetter(fc,"cropWidth",0,Ge());ee.addGetterSetter(fc,"cropHeight",0,Ge());var TG=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],f9e="Change.konva",h9e="none",L8="up",A8="right",O8="down",M8="left",p9e=TG.length;class bP extends i0{constructor(t){super(t),this.on("add.konva",function(n){this._addListeners(n.child),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var n=this,r,i=function(){n._sync()};for(r=0;r{n=Math.min(n,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),{x:n,y:i,width:r-n,height:o-i}}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}pp.prototype.className="RegularPolygon";pp.prototype._centroid=!0;pp.prototype._attrsAffectingSize=["radius"];Ar(pp);ee.addGetterSetter(pp,"radius",0,Ge());ee.addGetterSetter(pp,"sides",0,Ge());var JR=Math.PI*2;class gp extends Be{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,JR,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),JR,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.outerRadius()*2}getHeight(){return this.outerRadius()*2}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}gp.prototype.className="Ring";gp.prototype._centroid=!0;gp.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(gp);ee.addGetterSetter(gp,"innerRadius",0,Ge());ee.addGetterSetter(gp,"outerRadius",0,Ge());class gu extends Be{constructor(t){super(t),this._updated=!0,this.anim=new ts(()=>{var n=this._updated;return this._updated=!1,n}),this.on("animationChange.konva",function(){this.frameIndex(0)}),this.on("frameIndexChange.konva",function(){this._updated=!0}),this.on("frameRateChange.konva",function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})}_sceneFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+0],l=o[i+1],u=o[i+2],d=o[i+3],h=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,u,d),t.closePath(),t.fillStrokeShape(this)),h)if(a){var m=a[n],v=r*2;t.drawImage(h,s,l,u,d,m[v+0],m[v+1],u,d)}else t.drawImage(h,s,l,u,d,0,0,u,d)}_hitFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+2],l=o[i+3];if(t.beginPath(),a){var u=a[n],d=r*2;t.rect(u[d+0],u[d+1],s,l)}else t.rect(0,0,s,l);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval(function(){t._updateIndex()},1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),n=this.animation(),r=this.animations(),i=r[n],o=i.length/4;t{t=t.trim();const n=t.indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return n&&!r&&(t=`"${t}"`),t}).join(", ")}var $b;function MC(){return $b||($b=de.createCanvasElement().getContext(v9e),$b)}function T9e(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)}function L9e(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function A9e(e){return e=e||{},!e.fillLinearGradientColorStops&&!e.fillRadialGradientColorStops&&!e.fillPatternImage&&(e.fill=e.fill||"black"),e}class Lr extends Be{constructor(t){super(A9e(t)),this._partialTextX=0,this._partialTextY=0;for(var n=0;n1&&(E+=a)}}}_hitFunc(t){var n=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}setText(t){var n=de._isString(t)?t:t==null?"":t+"";return this._setAttr(y9e,n),this}getWidth(){var t=this.attrs.width===Dg||this.attrs.width===void 0;return t?this.getTextWidth()+this.padding()*2:this.attrs.width}getHeight(){var t=this.attrs.height===Dg||this.attrs.height===void 0;return t?this.fontSize()*this.textArr.length*this.lineHeight()+this.padding()*2:this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return de.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var n=MC(),r=this.fontSize(),i;return n.save(),n.font=this._getContextFont(),i=n.measureText(t),n.restore(),{width:i.width,height:r}}_getContextFont(){return this.fontStyle()+Fb+this.fontVariant()+Fb+(this.fontSize()+w9e)+P9e(this.fontFamily())}_addTextLine(t){this.align()===cv&&(t=t.trim());var n=this._getTextWidth(t);return this.textArr.push({text:t,width:n,lastInParagraph:!1})}_getTextWidth(t){var n=this.letterSpacing(),r=t.length;return MC().measureText(t).width+(r?n*(r-1):0)}_setTextData(){var t=this.text().split(` `),n=+this.fontSize(),r=0,i=this.lineHeight()*n,o=this.attrs.width,a=this.attrs.height,s=o!==Dg&&o!==void 0,l=a!==Dg&&a!==void 0,u=this.padding(),d=o-u*2,h=a-u*2,m=0,v=this.wrap(),b=v!==nD,S=v!==k9e&&b,k=this.ellipsis();this.textArr=[],MC().font=this._getContextFont();for(var E=k?this._getTextWidth(OC):0,_=0,T=t.length;_d)for(;A.length>0;){for(var R=0,D=A.length,j="",z=0;R>>1,K=A.slice(0,V+1),te=this._getTextWidth(K)+E;te<=d?(R=V+1,j=K,z=te):D=V}if(j){if(S){var q,F=A[j.length],U=F===Fb||F===eD;U&&z<=d?q=j.length:q=Math.max(j.lastIndexOf(Fb),j.lastIndexOf(eD))+1,q>0&&(R=q,j=j.slice(0,R),z=this._getTextWidth(j))}j=j.trimRight(),this._addTextLine(j),r=Math.max(r,z),m+=i;var X=this._shouldHandleEllipsis(m);if(X){this._tryToAddEllipsisToLastLine();break}if(A=A.slice(R),A=A.trimLeft(),A.length>0&&(I=this._getTextWidth(A),I<=d)){this._addTextLine(A),m+=i,r=Math.max(r,I);break}}else break}else this._addTextLine(A),m+=i,r=Math.max(r,I),this._shouldHandleEllipsis(m)&&_h)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,o=i!==Dg&&i!==void 0,a=this.padding(),s=i-a*2,l=this.wrap(),u=l!==nD;return!u||o&&t+r>s}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==Dg&&t!==void 0,r=this.padding(),i=t-r*2,o=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(!(!a||!o)){if(n){var s=this._getTextWidth(a.text+OC)=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i0&&(s+=t.dataArray[l].pathLength);var u=0;i==="center"&&(u=Math.max(0,s/2-a/2)),i==="right"&&(u=Math.max(0,s-a));for(var d=LG(this.text()),h=this.text().split(" ").length-1,m,v,b,S=-1,k=0,E=function(){k=0;for(var te=t.dataArray,q=S+1;q0)return S=q,te[q];te[q].command==="M"&&(m={x:te[q].points[0],y:te[q].points[1]})}return{}},_=function(te){var q=t._getTextSize(te).width+r;te===" "&&i==="justify"&&(q+=(s-a)/h);var F=0,U=0;for(v=void 0;Math.abs(q-F)/q>.01&&U<20;){U++;for(var X=F;b===void 0;)b=E(),b&&X+b.pathLengthq?v=Hn.getPointOnLine(q,m.x,m.y,b.points[0],b.points[1],m.x,m.y):b=void 0;break;case"A":var W=b.points[4],Q=b.points[5],ie=b.points[4]+Q;k===0?k=W+1e-8:q>F?k+=Math.PI/180*Q/Math.abs(Q):k-=Math.PI/360*Q/Math.abs(Q),(Q<0&&k=0&&k>ie)&&(k=ie,Z=!0),v=Hn.getPointOnEllipticalArc(b.points[0],b.points[1],b.points[2],b.points[3],k,b.points[6]);break;case"C":k===0?q>b.pathLength?k=1e-8:k=q/b.pathLength:q>F?k+=(q-F)/b.pathLength/2:k=Math.max(k-(F-q)/b.pathLength/2,0),k>1&&(k=1,Z=!0),v=Hn.getPointOnCubicBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3],b.points[4],b.points[5]);break;case"Q":k===0?k=q/b.pathLength:q>F?k+=(q-F)/b.pathLength:k-=(F-q)/b.pathLength,k>1&&(k=1,Z=!0),v=Hn.getPointOnQuadraticBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3]);break}v!==void 0&&(F=Hn.getLineLength(m.x,m.y,v.x,v.y)),Z&&(Z=!1,b=void 0)}},T="C",A=t._getTextSize(T).width+r,I=u/A-1,R=0;Re+`.${NG}`).join(" "),rD="nodesRect",I9e=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],R9e={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const D9e="ontouchstart"in pt._global;function N9e(e,t){if(e==="rotater")return"crosshair";t+=de.degToRad(R9e[e]||0);var n=(de.radToDeg(t)%360+360)%360;return de._inRange(n,315+22.5,360)||de._inRange(n,0,22.5)?"ns-resize":de._inRange(n,45-22.5,45+22.5)?"nesw-resize":de._inRange(n,90-22.5,90+22.5)?"ew-resize":de._inRange(n,135-22.5,135+22.5)?"nwse-resize":de._inRange(n,180-22.5,180+22.5)?"ns-resize":de._inRange(n,225-22.5,225+22.5)?"nesw-resize":de._inRange(n,270-22.5,270+22.5)?"ew-resize":de._inRange(n,315-22.5,315+22.5)?"nwse-resize":(de.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var eS=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],iD=1e8;function j9e(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}function jG(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),i=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:i})}function B9e(e,t){const n=j9e(e);return jG(e,t,n)}function F9e(e,t,n){let r=t;for(let i=0;i{const i=()=>{this.nodes().length===1&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),!this._transforming&&!this.isDragging()&&this.update()},o=r._attrsAffectingSize.map(a=>a+"Change."+this._getEventNamespace()).join(" ");r.on(o,i),r.on(I9e.map(a=>a+`.${this._getEventNamespace()}`).join(" "),i),r.on(`absoluteTransformChange.${this._getEventNamespace()}`,i),this._proxyDrag(r)}),this._resetTransformCache();var n=!!this.findOne(".top-left");return n&&this.update(),this}_proxyDrag(t){let n;t.on(`dragstart.${this._getEventNamespace()}`,r=>{n=t.getAbsolutePosition(),!this.isDragging()&&t!==this.findOne(".back")&&this.startDrag(r,!1)}),t.on(`dragmove.${this._getEventNamespace()}`,r=>{if(!n)return;const i=t.getAbsolutePosition(),o=i.x-n.x,a=i.y-n.y;this.nodes().forEach(s=>{if(s===t||s.isDragging())return;const l=s.getAbsolutePosition();s.setAbsolutePosition({x:l.x+o,y:l.y+a}),s.startDrag(r)}),n=null})}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach(t=>{t.off("."+this._getEventNamespace())}),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(rD),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(rD,this.__getNodeRect)}__getNodeShape(t,n=this.rotation(),r){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=t.getAbsoluteScale(r),a=t.getAbsolutePosition(r),s=i.x*o.x-t.offsetX()*o.x,l=i.y*o.y-t.offsetY()*o.y;const u=(pt.getAngle(t.getAbsoluteRotation())+Math.PI*2)%(Math.PI*2),d={x:a.x+s*Math.cos(u)+l*Math.sin(-u),y:a.y+l*Math.cos(u)+s*Math.sin(u),width:i.width*o.x,height:i.height*o.y,rotation:u};return jG(d,-pt.getAngle(n),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-iD,y:-iD,width:0,height:0,rotation:0};const n=[];this.nodes().map(u=>{const d=u.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var h=[{x:d.x,y:d.y},{x:d.x+d.width,y:d.y},{x:d.x+d.width,y:d.y+d.height},{x:d.x,y:d.y+d.height}],m=u.getAbsoluteTransform();h.forEach(function(v){var b=m.point(v);n.push(b)})});const r=new ka;r.rotate(-pt.getAngle(this.rotation()));var i,o,a,s;n.forEach(function(u){var d=r.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),r.invert();const l=r.point({x:i,y:o});return{x:l.x,y:l.y,width:a-i,height:s-o,rotation:pt.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),eS.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var n=new By({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:D9e?10:"auto"}),r=this;n.on("mousedown touchstart",function(i){r._handleMouseDown(i)}),n.on("dragstart",i=>{n.stopDrag(),i.cancelBubble=!0}),n.on("dragend",i=>{i.cancelBubble=!0}),n.on("mouseenter",()=>{var i=pt.getAngle(this.rotation()),o=N9e(t,i);n.getStage().content&&(n.getStage().content.style.cursor=o),this._cursorChange=!0}),n.on("mouseout",()=>{n.getStage().content&&(n.getStage().content.style.cursor=""),this._cursorChange=!1}),this.add(n)}_createBack(){var t=new Be({name:"back",width:0,height:0,draggable:!0,sceneFunc(n){var r=this.getParent(),i=r.padding();n.beginPath(),n.rect(-i,-i,this.width()+i*2,this.height()+i*2),n.moveTo(this.width()/2,-i),r.rotateEnabled()&&n.lineTo(this.width()/2,-r.rotateAnchorOffset()*de._sign(this.height())-i),n.fillStrokeShape(this)},hitFunc:(n,r)=>{if(this.shouldOverdrawWholeArea()){var i=this.padding();n.beginPath(),n.rect(-i,-i,r.width()+i*2,r.height()+i*2),n.fillStrokeShape(r)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",n=>{n.cancelBubble=!0}),t.on("dragmove",n=>{n.cancelBubble=!0}),t.on("dragend",n=>{n.cancelBubble=!0}),this.on("dragmove",n=>{this.update()})}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var n=this._getNodeRect(),r=n.width,i=n.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(i,2));this.sin=Math.abs(i/o),this.cos=Math.abs(r/o),typeof window<"u"&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),s=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:s.x-a.x,y:s.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach(l=>{l._fire("transformstart",{evt:t.evt,target:l})})}_handleMouseMove(t){var n,r,i,o=this.findOne("."+this._movingAnchorName),a=o.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let l={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const u=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(u,l,t)),o.setAbsolutePosition(l);const d=o.getAbsolutePosition();if(!(u.x===d.x&&u.y===d.y)){if(this._movingAnchorName==="rotater"){var h=this._getNodeRect();n=o.x()-h.width/2,r=-o.y()+h.height/2;let te=Math.atan2(-r,n)+Math.PI/2;h.height<0&&(te-=Math.PI);var m=pt.getAngle(this.rotation());const q=m+te,F=pt.getAngle(this.rotationSnapTolerance()),X=F9e(this.rotationSnaps(),q,F)-h.rotation,Z=B9e(h,X);this._fitNodesInto(Z,t);return}var v=this.keepRatio()||t.shiftKey,_=this.centeredScaling()||t.altKey;if(this._movingAnchorName==="top-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-left").x()>b.x?-1:1,k=this.findOne(".top-left").y()>b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-left").x(b.x-n),this.findOne(".top-left").y(b.y-r)}}else if(this._movingAnchorName==="top-center")this.findOne(".top-left").y(o.y());else if(this._movingAnchorName==="top-right"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(o.x()-b.x,2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-right").x()b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-right").x(b.x+n),this.findOne(".top-right").y(b.y-r)}var E=o.position();this.findOne(".top-left").y(E.y),this.findOne(".bottom-right").x(E.x)}else if(this._movingAnchorName==="middle-left")this.findOne(".top-left").x(o.x());else if(this._movingAnchorName==="middle-right")this.findOne(".bottom-right").x(o.x());else if(this._movingAnchorName==="bottom-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(o.y()-b.y,2));var S=b.x{r._fire("transformend",{evt:t,target:r})}),this._movingAnchorName=null}}_fitNodesInto(t,n){var r=this._getNodeRect();const i=1;if(de._inRange(t.width,-this.padding()*2-i,i)){this.update();return}if(de._inRange(t.height,-this.padding()*2-i,i)){this.update();return}const o=this.flipEnabled();var a=new ka;if(a.rotate(pt.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const h=a.point({x:-this.padding()*2,y:0});if(t.x+=h.x,t.y+=h.y,t.width+=this.padding()*2,this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,!o){this.update();return}}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const h=a.point({x:this.padding()*2,y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=this.padding()*2,!o){this.update();return}}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const h=a.point({x:0,y:-this.padding()*2});if(t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const h=a.point({x:0,y:this.padding()*2});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}if(this.boundBoxFunc()){const h=this.boundBoxFunc()(r,t);h?t=h:de.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new ka;l.translate(r.x,r.y),l.rotate(r.rotation),l.scale(r.width/s,r.height/s);const u=new ka;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const d=u.multiply(l.invert());this._nodes.forEach(h=>{var m;const v=h.getParent().getAbsoluteTransform(),b=h.getTransform().copy();b.translate(h.offsetX(),h.offsetY());const S=new ka;S.multiply(v.copy().invert()).multiply(d).multiply(v).multiply(b);const k=S.decompose();h.setAttrs(k),this._fire("transform",{evt:n,target:h}),h._fire("transform",{evt:n,target:h}),(m=h.getLayer())===null||m===void 0||m.batchDraw()}),this.rotation(de._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,n){this.findOne(t).setAttrs(n)}update(){var t,n=this._getNodeRect();this.rotation(de._getRotation(n.rotation));var r=n.width,i=n.height,o=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),l=this.anchorSize();this.find("._anchor").forEach(u=>{u.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})}),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+s,offsetY:l/2+s,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:r/2,y:0,offsetY:l/2+s,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:r,y:0,offsetX:l/2-s,offsetY:l/2+s,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:l/2+s,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:r,y:i/2,offsetX:l/2-s,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:l/2+s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:r/2,y:i,offsetY:l/2-s,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:r,y:i,offsetX:l/2-s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:r/2,y:-this.rotateAnchorOffset()*de._sign(i)-s,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:r,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),(t=this.getLayer())===null||t===void 0||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),i0.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Xe.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}};function $9e(e){return e instanceof Array||de.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach(function(t){eS.indexOf(t)===-1&&de.warn("Unknown anchor name: "+t+". Available names are: "+eS.join(", "))}),e||[]}In.prototype.className="Transformer";Ar(In);ee.addGetterSetter(In,"enabledAnchors",eS,$9e);ee.addGetterSetter(In,"flipEnabled",!0,nl());ee.addGetterSetter(In,"resizeEnabled",!0);ee.addGetterSetter(In,"anchorSize",10,Ge());ee.addGetterSetter(In,"rotateEnabled",!0);ee.addGetterSetter(In,"rotationSnaps",[]);ee.addGetterSetter(In,"rotateAnchorOffset",50,Ge());ee.addGetterSetter(In,"rotationSnapTolerance",5,Ge());ee.addGetterSetter(In,"borderEnabled",!0);ee.addGetterSetter(In,"anchorStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"anchorStrokeWidth",1,Ge());ee.addGetterSetter(In,"anchorFill","white");ee.addGetterSetter(In,"anchorCornerRadius",0,Ge());ee.addGetterSetter(In,"borderStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"borderStrokeWidth",1,Ge());ee.addGetterSetter(In,"borderDash");ee.addGetterSetter(In,"keepRatio",!0);ee.addGetterSetter(In,"centeredScaling",!1);ee.addGetterSetter(In,"ignoreStroke",!1);ee.addGetterSetter(In,"padding",0,Ge());ee.addGetterSetter(In,"node");ee.addGetterSetter(In,"nodes");ee.addGetterSetter(In,"boundBoxFunc");ee.addGetterSetter(In,"anchorDragBoundFunc");ee.addGetterSetter(In,"shouldOverdrawWholeArea",!1);ee.addGetterSetter(In,"useSingleNodeRotation",!0);ee.backCompat(In,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class hc extends Be{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,pt.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}hc.prototype.className="Wedge";hc.prototype._centroid=!0;hc.prototype._attrsAffectingSize=["radius"];Ar(hc);ee.addGetterSetter(hc,"radius",0,Ge());ee.addGetterSetter(hc,"angle",0,Ge());ee.addGetterSetter(hc,"clockwise",!1);ee.backCompat(hc,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});function oD(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var z9e=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],H9e=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function V9e(e,t){var n=e.data,r=e.width,i=e.height,o,a,s,l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D,j,z,V,K,te,q=t+t+1,F=r-1,U=i-1,X=t+1,Z=X*(X+1)/2,W=new oD,Q=null,ie=W,fe=null,Se=null,Te=z9e[t],ye=H9e[t];for(s=1;s>ye,K!==0?(K=255/K,n[d]=(m*Te>>ye)*K,n[d+1]=(v*Te>>ye)*K,n[d+2]=(b*Te>>ye)*K):n[d]=n[d+1]=n[d+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=h+((l=o+t+1)>ye,K>0?(K=255/K,n[l]=(m*Te>>ye)*K,n[l+1]=(v*Te>>ye)*K,n[l+2]=(b*Te>>ye)*K):n[l]=n[l+1]=n[l+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=o+((l=a+X)0&&V9e(t,n)};ee.addGetterSetter(Xe,"blurRadius",0,Ge(),ee.afterSetFilter);const U9e=function(e){var t=this.brightness()*255,n=e.data,r=n.length,i;for(i=0;i255?255:i,o=o<0?0:o>255?255:o,a=a<0?0:a>255?255:a,n[s]=i,n[s+1]=o,n[s+2]=a};ee.addGetterSetter(Xe,"contrast",0,Ge(),ee.afterSetFilter);const q9e=function(e){var t=this.embossStrength()*10,n=this.embossWhiteLevel()*255,r=this.embossDirection(),i=this.embossBlend(),o=0,a=0,s=e.data,l=e.width,u=e.height,d=l*4,h=u;switch(r){case"top-left":o=-1,a=-1;break;case"top":o=-1,a=0;break;case"top-right":o=-1,a=1;break;case"right":o=0,a=1;break;case"bottom-right":o=1,a=1;break;case"bottom":o=1,a=0;break;case"bottom-left":o=1,a=-1;break;case"left":o=0,a=-1;break;default:de.error("Unknown emboss direction: "+r)}do{var m=(h-1)*d,v=o;h+v<1&&(v=0),h+v>u&&(v=0);var b=(h-1+v)*l*4,S=l;do{var k=m+(S-1)*4,E=a;S+E<1&&(E=0),S+E>l&&(E=0);var _=b+(S-1+E)*4,T=s[k]-s[_],A=s[k+1]-s[_+1],I=s[k+2]-s[_+2],R=T,D=R>0?R:-R,j=A>0?A:-A,z=I>0?I:-I;if(j>D&&(R=A),z>D&&(R=I),R*=t,i){var V=s[k]+R,K=s[k+1]+R,te=s[k+2]+R;s[k]=V>255?255:V<0?0:V,s[k+1]=K>255?255:K<0?0:K,s[k+2]=te>255?255:te<0?0:te}else{var q=n-R;q<0?q=0:q>255&&(q=255),s[k]=s[k+1]=s[k+2]=q}}while(--S)}while(--h)};ee.addGetterSetter(Xe,"embossStrength",.5,Ge(),ee.afterSetFilter);ee.addGetterSetter(Xe,"embossWhiteLevel",.5,Ge(),ee.afterSetFilter);ee.addGetterSetter(Xe,"embossDirection","top-left",null,ee.afterSetFilter);ee.addGetterSetter(Xe,"embossBlend",!1,null,ee.afterSetFilter);function IC(e,t,n,r,i){var o=n-t,a=i-r,s;return o===0?r+a/2:a===0?r:(s=(e-t)/o,s=a*s+r,s)}const Y9e=function(e){var t=e.data,n=t.length,r=t[0],i=r,o,a=t[1],s=a,l,u=t[2],d=u,h,m,v=this.enhance();if(v!==0){for(m=0;mi&&(i=o),l=t[m+1],ls&&(s=l),h=t[m+2],hd&&(d=h);i===r&&(i=255,r=0),s===a&&(s=255,a=0),d===u&&(d=255,u=0);var b,S,k,E,_,T,A,I,R;for(v>0?(S=i+v*(255-i),k=r-v*(r-0),_=s+v*(255-s),T=a-v*(a-0),I=d+v*(255-d),R=u-v*(u-0)):(b=(i+r)*.5,S=i+v*(i-b),k=r+v*(r-b),E=(s+a)*.5,_=s+v*(s-E),T=a+v*(a-E),A=(d+u)*.5,I=d+v*(d-A),R=u+v*(u-A)),m=0;mE?k:E;var _=a,T=o,A,I,R=360/T*Math.PI/180,D,j;for(I=0;IT?_:T;var A=a,I=o,R,D,j=n.polarRotation||0,z,V;for(d=0;dt&&(A=T,I=0,R=-1),i=0;i=0&&v=0&&b=0&&v=0&&b=255*4?255:0}return a}function s8e(e,t,n){for(var r=[.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&v=0&&b=n))for(o=S;o=r||(a=(n*o+i)*4,s+=A[a+0],l+=A[a+1],u+=A[a+2],d+=A[a+3],T+=1);for(s=s/T,l=l/T,u=u/T,d=d/T,i=v;i=n))for(o=S;o=r||(a=(n*o+i)*4,A[a+0]=s,A[a+1]=l,A[a+2]=u,A[a+3]=d)}};ee.addGetterSetter(Xe,"pixelSize",8,Ge(),ee.afterSetFilter);const d8e=function(e){var t=Math.round(this.levels()*254)+1,n=e.data,r=n.length,i=255/t,o;for(o=0;o255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"blue",0,oG,ee.afterSetFilter);const h8e=function(e){var t=e.data,n=t.length,r=this.red(),i=this.green(),o=this.blue(),a=this.alpha(),s,l;for(s=0;s255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Xe,"blue",0,oG,ee.afterSetFilter);ee.addGetterSetter(Xe,"alpha",1,function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e});const p8e=function(e){var t=e.data,n=t.length,r,i,o,a;for(r=0;r127&&(u=255-u),d>127&&(d=255-d),h>127&&(h=255-h),t[l]=u,t[l+1]=d,t[l+2]=h}while(--s)}while(--o)},m8e=function(e){var t=this.threshold()*255,n=e.data,r=n.length,i;for(i=0;i{const{width:n,height:r}=t,i=document.createElement("div"),o=new $g.Stage({container:i,width:n,height:r}),a=new $g.Layer,s=new $g.Layer;a.add(new $g.Rect({...t,fill:"white"})),e.forEach(u=>s.add(new $g.Line({points:u.points,stroke:"black",strokeWidth:u.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,globalCompositeOperation:u.tool==="brush"?"source-over":"destination-out"}))),o.add(a),o.add(s);const l=o.toDataURL({...t});return i.remove(),l};let BG=null,FG=null;const y8e=e=>{BG=e},el=()=>BG,b8e=e=>{FG=e},$G=()=>FG,S8e=e=>{const t=window.open("");t&&e.forEach(n=>{const r=new Image;r.src=n.base64,t.document.write(n.caption),t.document.write("
"),t.document.write(r.outerHTML),t.document.write("

")})},zG=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),x8e=e=>{const t=el(),{generationMode:n,generationState:r,postprocessingState:i,canvasState:o,systemState:a}=e,{codeformerFidelity:s,facetoolStrength:l,facetoolType:u,hiresFix:d,hiresStrength:h,shouldRunESRGAN:m,shouldRunFacetool:v,upscalingLevel:b,upscalingStrength:S}=i,{cfgScale:k,height:E,img2imgStrength:_,infillMethod:T,initialImage:A,iterations:I,perlin:R,prompt:D,negativePrompt:j,sampler:z,seamBlur:V,seamless:K,seamSize:te,seamSteps:q,seamStrength:F,seed:U,seedWeights:X,shouldFitToWidthHeight:Z,shouldGenerateVariations:W,shouldRandomizeSeed:Q,steps:ie,threshold:fe,tileSize:Se,variationAmount:Te,width:ye}=r,{shouldDisplayInProgressType:He,saveIntermediatesInterval:Ne,enableImageDebugging:tt}=a,_e={prompt:D,iterations:I,steps:ie,cfg_scale:k,threshold:fe,perlin:R,height:E,width:ye,sampler_name:z,seed:U,progress_images:He==="full-res",progress_latents:He==="latents",save_intermediates:Ne,generation_mode:n,init_mask:""};let lt=!1,wt=!1;if(j!==""&&(_e.prompt=`${D} [${j}]`),_e.seed=Q?zG(hP,pP):U,["txt2img","img2img"].includes(n)&&(_e.seamless=K,_e.hires_fix=d,d&&(_e.strength=h),m&&(lt={level:b,strength:S}),v&&(wt={type:u,strength:l},u==="codeformer"&&(wt.codeformer_fidelity=s))),n==="img2img"&&A&&(_e.init_img=typeof A=="string"?A:A.url,_e.strength=_,_e.fit=Z),n==="unifiedCanvas"&&t){const{layerState:{objects:ct},boundingBoxCoordinates:mt,boundingBoxDimensions:St,stageScale:Ae,isMaskEnabled:ut,shouldPreserveMaskedArea:Mt,boundingBoxScaleMethod:at,scaledBoundingBoxDimensions:Ct}=o,Zt={...mt,...St},le=v8e(ut?ct.filter(tP):[],Zt);_e.init_mask=le,_e.fit=!1,_e.strength=_,_e.invert_mask=Mt,_e.bounding_box=Zt;const De=t.scale();t.scale({x:1/Ae,y:1/Ae});const Ue=t.getAbsolutePosition(),Ye=t.toDataURL({x:Zt.x+Ue.x,y:Zt.y+Ue.y,width:Zt.width,height:Zt.height});tt&&S8e([{base64:le,caption:"mask sent as init_mask"},{base64:Ye,caption:"image sent as init_img"}]),t.scale(De),_e.init_img=Ye,_e.progress_images=!1,at!=="none"&&(_e.inpaint_width=Ct.width,_e.inpaint_height=Ct.height),_e.seam_size=te,_e.seam_blur=V,_e.seam_strength=F,_e.seam_steps=q,_e.tile_size=Se,_e.infill_method=T,_e.force_outpaint=!1}return W?(_e.variation_amount=Te,X&&(_e.with_variations=Yxe(X))):_e.variation_amount=0,tt&&(_e.enable_image_debugging=tt),{generationParameters:_e,esrganParameters:lt,facetoolParameters:wt}};var w8e=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,C8e=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,_8e=/[^-+\dA-Z]/g;function no(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(aD[t]||t||aD.default);var i=t.slice(0,4);(i==="UTC:"||i==="GMT:")&&(t=t.slice(4),n=!0,i==="GMT:"&&(r=!0));var o=function(){return n?"getUTC":"get"},a=function(){return e[o()+"Date"]()},s=function(){return e[o()+"Day"]()},l=function(){return e[o()+"Month"]()},u=function(){return e[o()+"FullYear"]()},d=function(){return e[o()+"Hours"]()},h=function(){return e[o()+"Minutes"]()},m=function(){return e[o()+"Seconds"]()},v=function(){return e[o()+"Milliseconds"]()},b=function(){return n?0:e.getTimezoneOffset()},S=function(){return k8e(e)},k=function(){return E8e(e)},E={d:function(){return a()},dd:function(){return wa(a())},ddd:function(){return Uo.dayNames[s()]},DDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()],short:!0})},dddd:function(){return Uo.dayNames[s()+7]},DDDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()+7]})},m:function(){return l()+1},mm:function(){return wa(l()+1)},mmm:function(){return Uo.monthNames[l()]},mmmm:function(){return Uo.monthNames[l()+12]},yy:function(){return String(u()).slice(2)},yyyy:function(){return wa(u(),4)},h:function(){return d()%12||12},hh:function(){return wa(d()%12||12)},H:function(){return d()},HH:function(){return wa(d())},M:function(){return h()},MM:function(){return wa(h())},s:function(){return m()},ss:function(){return wa(m())},l:function(){return wa(v(),3)},L:function(){return wa(Math.floor(v()/10))},t:function(){return d()<12?Uo.timeNames[0]:Uo.timeNames[1]},tt:function(){return d()<12?Uo.timeNames[2]:Uo.timeNames[3]},T:function(){return d()<12?Uo.timeNames[4]:Uo.timeNames[5]},TT:function(){return d()<12?Uo.timeNames[6]:Uo.timeNames[7]},Z:function(){return r?"GMT":n?"UTC":P8e(e)},o:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60)*100+Math.abs(b())%60,4)},p:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60),2)+":"+wa(Math.floor(Math.abs(b())%60),2)},S:function(){return["th","st","nd","rd"][a()%10>3?0:(a()%100-a()%10!=10)*a()%10]},W:function(){return S()},WW:function(){return wa(S())},N:function(){return k()}};return t.replace(w8e,function(_){return _ in E?E[_]():_.slice(1,_.length-1)})}var aD={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Uo={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},wa=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return String(t).padStart(n,"0")},sD=function(t){var n=t.y,r=t.m,i=t.d,o=t._,a=t.dayName,s=t.short,l=s===void 0?!1:s,u=new Date,d=new Date;d.setDate(d[o+"Date"]()-1);var h=new Date;h.setDate(h[o+"Date"]()+1);var m=function(){return u[o+"Date"]()},v=function(){return u[o+"Month"]()},b=function(){return u[o+"FullYear"]()},S=function(){return d[o+"Date"]()},k=function(){return d[o+"Month"]()},E=function(){return d[o+"FullYear"]()},_=function(){return h[o+"Date"]()},T=function(){return h[o+"Month"]()},A=function(){return h[o+"FullYear"]()};return b()===n&&v()===r&&m()===i?l?"Tdy":"Today":E()===n&&k()===r&&S()===i?l?"Ysd":"Yesterday":A()===n&&T()===r&&_()===i?l?"Tmw":"Tomorrow":a},k8e=function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=new Date(n.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=n.getTimezoneOffset()-r.getTimezoneOffset();n.setHours(n.getHours()-i);var o=(n-r)/(864e5*7);return 1+Math.floor(o)},E8e=function(t){var n=t.getDay();return n===0&&(n=7),n},P8e=function(t){return(String(t).match(C8e)||[""]).pop().replace(_8e,"").replace(/GMT\+0000/g,"UTC")};const T8e=(e,t)=>{const{dispatch:n,getState:r}=e;return{emitGenerateImage:i=>{n(Hs(!0));const o=r(),{generation:a,postprocessing:s,system:l,canvas:u}=o,d={generationMode:i,generationState:a,postprocessingState:s,canvasState:u,systemState:l};n(J6e());const{generationParameters:h,esrganParameters:m,facetoolParameters:v}=x8e(d);t.emit("generateImage",h,m,v),h.init_mask&&(h.init_mask=h.init_mask.substr(0,64).concat("...")),h.init_img&&(h.init_img=h.init_img.substr(0,64).concat("...")),n(to({timestamp:no(new Date,"isoDateTime"),message:`Image generation requested: ${JSON.stringify({...h,...m,...v})}`}))},emitRunESRGAN:i=>{n(Hs(!0));const{postprocessing:{upscalingLevel:o,upscalingStrength:a}}=r(),s={upscale:[o,a]};t.emit("runPostprocessing",i,{type:"esrgan",...s}),n(to({timestamp:no(new Date,"isoDateTime"),message:`ESRGAN upscale requested: ${JSON.stringify({file:i.url,...s})}`}))},emitRunFacetool:i=>{n(Hs(!0));const{postprocessing:{facetoolType:o,facetoolStrength:a,codeformerFidelity:s}}=r(),l={facetool_strength:a};o==="codeformer"&&(l.codeformer_fidelity=s),t.emit("runPostprocessing",i,{type:o,...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`Face restoration (${o}) requested: ${JSON.stringify({file:i.url,...l})}`}))},emitDeleteImage:i=>{const{url:o,uuid:a,category:s,thumbnail:l}=i;n(eU(i)),t.emit("deleteImage",o,l,a,s)},emitRequestImages:i=>{const o=r().gallery,{earliest_mtime:a}=o.categories[i];t.emit("requestImages",i,a)},emitRequestNewImages:i=>{const o=r().gallery,{latest_mtime:a}=o.categories[i];t.emit("requestLatestImages",i,a)},emitCancelProcessing:()=>{t.emit("cancel")},emitRequestSystemConfig:()=>{t.emit("requestSystemConfig")},emitSearchForModels:i=>{t.emit("searchForModels",i)},emitAddNewModel:i=>{t.emit("addNewModel",i)},emitDeleteModel:i=>{t.emit("deleteModel",i)},emitRequestModelChange:i=>{n(X6e()),t.emit("requestModelChange",i)},emitSaveStagingAreaImageToGallery:i=>{t.emit("requestSaveStagingAreaImageToGallery",i)},emitRequestEmptyTempFolder:()=>{t.emit("requestEmptyTempFolder")}}};let Hb;const L8e=new Uint8Array(16);function A8e(){if(!Hb&&(Hb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Hb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Hb(L8e)}const zi=[];for(let e=0;e<256;++e)zi.push((e+256).toString(16).slice(1));function O8e(e,t=0){return(zi[e[t+0]]+zi[e[t+1]]+zi[e[t+2]]+zi[e[t+3]]+"-"+zi[e[t+4]]+zi[e[t+5]]+"-"+zi[e[t+6]]+zi[e[t+7]]+"-"+zi[e[t+8]]+zi[e[t+9]]+"-"+zi[e[t+10]]+zi[e[t+11]]+zi[e[t+12]]+zi[e[t+13]]+zi[e[t+14]]+zi[e[t+15]]).toLowerCase()}const M8e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lD={randomUUID:M8e};function cm(e,t,n){if(lD.randomUUID&&!t&&!e)return lD.randomUUID();e=e||{};const r=e.random||(e.rng||A8e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return O8e(r)}const I8=zr("socketio/generateImage"),I8e=zr("socketio/runESRGAN"),R8e=zr("socketio/runFacetool"),D8e=zr("socketio/deleteImage"),R8=zr("socketio/requestImages"),uD=zr("socketio/requestNewImages"),N8e=zr("socketio/cancelProcessing"),j8e=zr("socketio/requestSystemConfig"),cD=zr("socketio/searchForModels"),Fy=zr("socketio/addNewModel"),B8e=zr("socketio/deleteModel"),HG=zr("socketio/requestModelChange"),F8e=zr("socketio/saveStagingAreaImageToGallery"),$8e=zr("socketio/requestEmptyTempFolder"),z8e=e=>{const{dispatch:t,getState:n}=e;return{onConnect:()=>{try{t(PR(!0)),t(D4(zt.t("common:statusConnected"))),t(j8e());const r=n().gallery;r.categories.result.latest_mtime?t(uD("result")):t(R8("result")),r.categories.user.latest_mtime?t(uD("user")):t(R8("user"))}catch(r){console.error(r)}},onDisconnect:()=>{try{t(PR(!1)),t(D4(zt.t("common:statusDisconnected"))),t(to({timestamp:no(new Date,"isoDateTime"),message:"Disconnected from server",level:"warning"}))}catch(r){console.error(r)}},onGenerationResult:r=>{try{const i=n(),{activeTab:o}=i.ui,{shouldLoopback:a}=i.postprocessing,{boundingBox:s,generationMode:l,...u}=r,d={uuid:cm(),...u};if(["txt2img","img2img"].includes(l)&&t(sm({category:"result",image:{...d,category:"result"}})),l==="unifiedCanvas"&&r.boundingBox){const{boundingBox:h}=r;t(hxe({image:{...d,category:"temp"},boundingBox:h})),i.canvas.shouldAutoSave&&t(sm({image:{...d,category:"result"},category:"result"}))}if(a)switch(cP[o]){case"img2img":{t(k0(d));break}}t(xC()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image generated: ${r.url}`}))}catch(i){console.error(i)}},onIntermediateResult:r=>{try{t(Nxe({uuid:cm(),...r,category:"result"})),r.isBase64||t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image generated: ${r.url}`}))}catch(i){console.error(i)}},onPostprocessingResult:r=>{try{t(sm({category:"result",image:{uuid:cm(),...r,category:"result"}})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Postprocessed: ${r.url}`}))}catch(i){console.error(i)}},onProgressUpdate:r=>{try{t(Hs(!0)),t(G6e(r))}catch(i){console.error(i)}},onError:r=>{const{message:i,additionalData:o}=r;try{t(to({timestamp:no(new Date,"isoDateTime"),message:`Server error: ${i}`,level:"error"})),t(TR()),t(xC())}catch(a){console.error(a)}},onGalleryImages:r=>{const{images:i,areMoreImagesAvailable:o,category:a}=r,s=i.map(l=>({uuid:cm(),...l}));t(Dxe({images:s,areMoreImagesAvailable:o,category:a})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Loaded ${i.length} images`}))},onProcessingCanceled:()=>{t(K6e());const{intermediateImage:r}=n().gallery;r&&(r.isBase64||(t(sm({category:"result",image:r})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image saved: ${r.url}`}))),t(xC())),t(to({timestamp:no(new Date,"isoDateTime"),message:"Processing canceled",level:"warning"}))},onImageDeleted:r=>{const{url:i}=r;t(eU(r));const{generation:{initialImage:o,maskPath:a}}=n();(o===i||(o==null?void 0:o.url)===i)&&t(oU()),a===i&&t(cU("")),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image deleted: ${i}`}))},onSystemConfig:r=>{t(q6e(r)),r.infill_methods.includes("patchmatch")||t(uU(r.infill_methods[0]))},onFoundModels:r=>{const{search_folder:i,found_models:o}=r;t(FU(i)),t($U(o))},onNewModelAdded:r=>{const{new_model_name:i,model_list:o,update:a}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model Added: ${i}`,level:"info"})),t(Th({title:a?`${zt.t("modelmanager:modelUpdated")}: ${i}`:`${zt.t("modelmanager:modelAdded")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelDeleted:r=>{const{deleted_model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`${zt.t("modelmanager:modelAdded")}: ${i}`,level:"info"})),t(Th({title:`${zt.t("modelmanager:modelEntryDeleted")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelChanged:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(D4(zt.t("common:statusModelChanged"))),t(Hs(!1)),t(lm(!0)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model changed: ${i}`,level:"info"}))},onModelChangeFailed:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(lm(!0)),t(TR()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model change failed: ${i}`,level:"error"}))},onTempFolderEmptied:()=>{t(Th({title:zt.t("toast:tempFoldersEmptied"),status:"success",duration:2500,isClosable:!0}))}}},H8e=()=>{const{origin:e}=new URL(window.location.href),t=B4(e,{timeout:6e4,path:`${window.location.pathname}socket.io`});let n=!1;return i=>o=>a=>{const{onConnect:s,onDisconnect:l,onError:u,onPostprocessingResult:d,onGenerationResult:h,onIntermediateResult:m,onProgressUpdate:v,onGalleryImages:b,onProcessingCanceled:S,onImageDeleted:k,onSystemConfig:E,onModelChanged:_,onFoundModels:T,onNewModelAdded:A,onModelDeleted:I,onModelChangeFailed:R,onTempFolderEmptied:D}=z8e(i),{emitGenerateImage:j,emitRunESRGAN:z,emitRunFacetool:V,emitDeleteImage:K,emitRequestImages:te,emitRequestNewImages:q,emitCancelProcessing:F,emitRequestSystemConfig:U,emitSearchForModels:X,emitAddNewModel:Z,emitDeleteModel:W,emitRequestModelChange:Q,emitSaveStagingAreaImageToGallery:ie,emitRequestEmptyTempFolder:fe}=T8e(i,t);switch(n||(t.on("connect",()=>s()),t.on("disconnect",()=>l()),t.on("error",Se=>u(Se)),t.on("generationResult",Se=>h(Se)),t.on("postprocessingResult",Se=>d(Se)),t.on("intermediateResult",Se=>m(Se)),t.on("progressUpdate",Se=>v(Se)),t.on("galleryImages",Se=>b(Se)),t.on("processingCanceled",()=>{S()}),t.on("imageDeleted",Se=>{k(Se)}),t.on("systemConfig",Se=>{E(Se)}),t.on("foundModels",Se=>{T(Se)}),t.on("newModelAdded",Se=>{A(Se)}),t.on("modelDeleted",Se=>{I(Se)}),t.on("modelChanged",Se=>{_(Se)}),t.on("modelChangeFailed",Se=>{R(Se)}),t.on("tempFolderEmptied",()=>{D()}),n=!0),a.type){case"socketio/generateImage":{j(a.payload);break}case"socketio/runESRGAN":{z(a.payload);break}case"socketio/runFacetool":{V(a.payload);break}case"socketio/deleteImage":{K(a.payload);break}case"socketio/requestImages":{te(a.payload);break}case"socketio/requestNewImages":{q(a.payload);break}case"socketio/cancelProcessing":{F();break}case"socketio/requestSystemConfig":{U();break}case"socketio/searchForModels":{X(a.payload);break}case"socketio/addNewModel":{Z(a.payload);break}case"socketio/deleteModel":{W(a.payload);break}case"socketio/requestModelChange":{Q(a.payload);break}case"socketio/saveStagingAreaImageToGallery":{ie(a.payload);break}case"socketio/requestEmptyTempFolder":{fe();break}}o(a)}},V8e=["cursorPosition","isCanvasInitialized","doesCanvasNeedScaling"].map(e=>`canvas.${e}`),W8e=["currentIteration","currentStatus","currentStep","isCancelable","isConnected","isESRGANAvailable","isGFPGANAvailable","isProcessing","socketId","totalIterations","totalSteps","openModel"].map(e=>`system.${e}`),U8e=["categories","currentCategory","currentImage","currentImageUuid","shouldAutoSwitchToNewImages","shouldHoldGalleryOpen","intermediateImage"].map(e=>`gallery.${e}`),VG=wW({generation:twe,postprocessing:awe,gallery:Vxe,system:nCe,canvas:Ixe,ui:fCe,lightbox:Gxe}),G8e=IW.getPersistConfig({key:"root",storage:MW,rootReducer:VG,blacklist:[...V8e,...W8e,...U8e],debounce:300}),q8e=$Se(G8e,VG),WG=mSe({reducer:q8e,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(H8e()),devTools:{actionsDenylist:["canvas/setCursorPosition","canvas/setStageCoordinates","canvas/setStageScale","canvas/setIsDrawing","canvas/setBoundingBoxCoordinates","canvas/setBoundingBoxDimensions","canvas/setIsDrawing","canvas/addPointToCurrentLine"]}}),UG=GSe(WG),SP=w.createContext(null),Ie=A5e,he=b5e;let dD;const xP=()=>({setOpenUploader:e=>{e&&(dD=e)},openUploader:dD}),Or=ot(e=>e.ui,e=>cP[e.activeTab],{memoizeOptions:{equalityCheck:Ee.isEqual}}),Y8e=ot(e=>e.ui,e=>e.activeTab,{memoizeOptions:{equalityCheck:Ee.isEqual}}),mp=ot(e=>e.ui,e=>e,{memoizeOptions:{equalityCheck:Ee.isEqual}}),fD=e=>async(t,n)=>{const{imageFile:r}=e,i=n(),o=Or(i),a=new FormData;a.append("file",r,r.name),a.append("data",JSON.stringify({kind:"init"}));const l=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:a})).json(),u={uuid:cm(),category:"user",...l};t(sm({image:u,category:"user"})),o==="unifiedCanvas"?t(Nx(u)):o==="img2img"&&t(k0(u))};function K8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:nodes")}),y.jsx("p",{children:e("common:nodesDesc")})]})}const X8e=()=>{const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress post-processing-work-in-progress",children:[y.jsx("h1",{children:e("common:postProcessing")}),y.jsx("p",{children:e("common:postProcessDesc1")}),y.jsx("p",{children:e("common:postProcessDesc2")}),y.jsx("p",{children:e("common:postProcessDesc3")})]})};function Z8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:training")}),y.jsxs("p",{children:[e("common:trainingDesc1"),y.jsx("br",{}),y.jsx("br",{}),e("common:trainingDesc2")]})]})}function Q8e(e){const{i18n:t}=Ve(),n=localStorage.getItem("i18nextLng");N.useEffect(()=>{e()},[e]),N.useEffect(()=>{t.on("languageChanged",()=>{e()})},[e,t,n])}const J8e=yt({displayName:"ImageToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{transform:"matrix(1.10943,0,0,1.10943,-206.981,-213.533)",children:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M688.533,2405.95L542.987,2405.95C349.532,2405.95 192.47,2248.89 192.47,2055.44L192.47,542.987C192.47,349.532 349.532,192.47 542.987,192.47L2527.88,192.47C2721.33,192.47 2878.4,349.532 2878.4,542.987L2878.4,1172.79L3023.94,1172.79C3217.4,1172.79 3374.46,1329.85 3374.46,1523.3C3374.46,1523.3 3374.46,3035.75 3374.46,3035.75C3374.46,3229.21 3217.4,3386.27 3023.94,3386.27L1039.05,3386.27C845.595,3386.27 688.533,3229.21 688.533,3035.75L688.533,2405.95ZM3286.96,2634.37L3286.96,1523.3C3286.96,1378.14 3169.11,1260.29 3023.94,1260.29C3023.94,1260.29 1039.05,1260.29 1039.05,1260.29C893.887,1260.29 776.033,1378.14 776.033,1523.3L776.033,2489.79L1440.94,1736.22L2385.83,2775.59L2880.71,2200.41L3286.96,2634.37ZM2622.05,1405.51C2778.5,1405.51 2905.51,1532.53 2905.51,1688.98C2905.51,1845.42 2778.5,1972.44 2622.05,1972.44C2465.6,1972.44 2338.58,1845.42 2338.58,1688.98C2338.58,1532.53 2465.6,1405.51 2622.05,1405.51ZM2790.9,1172.79L1323.86,1172.79L944.882,755.906L279.97,1509.47L279.97,542.987C279.97,397.824 397.824,279.97 542.987,279.97C542.987,279.97 2527.88,279.97 2527.88,279.97C2673.04,279.97 2790.9,397.824 2790.9,542.987L2790.9,1172.79ZM2125.98,425.197C2282.43,425.197 2409.45,552.213 2409.45,708.661C2409.45,865.11 2282.43,992.126 2125.98,992.126C1969.54,992.126 1842.52,865.11 1842.52,708.661C1842.52,552.213 1969.54,425.197 2125.98,425.197Z"})})}),e_e=yt({displayName:"NodesIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 0,515.578 0,770.787L0,2766.03C0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM3427.88,770.787L3427.88,2766.03C3427.88,2957.53 3272.4,3113.01 3080.9,3113.01C3080.9,3113.01 462.407,3113.01 462.407,3113.01C270.906,3113.01 115.431,2957.53 115.431,2766.03L115.431,770.787C115.431,579.286 270.906,423.812 462.407,423.812L3080.9,423.812C3272.4,423.812 3427.88,579.286 3427.88,770.787ZM1214.23,1130.69L1321.47,1130.69C1324.01,1130.69 1326.54,1130.53 1329.05,1130.2C1329.05,1130.2 1367.3,1125.33 1397.94,1149.8C1421.63,1168.72 1437.33,1204.3 1437.33,1265.48L1437.33,2078.74L1220.99,2078.74C1146.83,2078.74 1086.61,2138.95 1086.61,2213.12L1086.61,2762.46C1086.61,2836.63 1146.83,2896.84 1220.99,2896.84L1770.34,2896.84C1844.5,2896.84 1904.71,2836.63 1904.71,2762.46L1904.71,2213.12C1904.71,2138.95 1844.5,2078.74 1770.34,2078.74L1554,2078.74L1554,1604.84C1625.84,1658.19 1703.39,1658.1 1703.39,1658.1C1703.54,1658.1 1703.69,1658.11 1703.84,1658.11L2362.2,1658.11L2362.2,1874.44C2362.2,1948.61 2422.42,2008.82 2496.58,2008.82L3045.93,2008.82C3120.09,2008.82 3180.3,1948.61 3180.3,1874.44L3180.3,1325.1C3180.3,1250.93 3120.09,1190.72 3045.93,1190.72L2496.58,1190.72C2422.42,1190.72 2362.2,1250.93 2362.2,1325.1L2362.2,1558.97L2362.2,1541.44L1704.23,1541.44C1702.2,1541.37 1650.96,1539.37 1609.51,1499.26C1577.72,1468.49 1554,1416.47 1554,1331.69L1554,1265.48C1554,1153.86 1513.98,1093.17 1470.76,1058.64C1411.24,1011.1 1338.98,1012.58 1319.15,1014.03L1214.23,1014.03L1214.23,796.992C1214.23,722.828 1154.02,662.617 1079.85,662.617L530.507,662.617C456.343,662.617 396.131,722.828 396.131,796.992L396.131,1346.34C396.131,1420.5 456.343,1480.71 530.507,1480.71L1079.85,1480.71C1154.02,1480.71 1214.23,1420.5 1214.23,1346.34L1214.23,1130.69Z"})}),t_e=yt({displayName:"PostprocessingIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M709.477,1596.53L992.591,1275.66L2239.09,2646.81L2891.95,1888.03L3427.88,2460.51L3427.88,994.78C3427.88,954.66 3421.05,916.122 3408.5,880.254L3521.9,855.419C3535.8,899.386 3543.31,946.214 3543.31,994.78L3543.31,2990.02C3543.31,3245.23 3336.11,3452.43 3080.9,3452.43C3080.9,3452.43 462.407,3452.43 462.407,3452.43C207.197,3452.43 -0,3245.23 -0,2990.02L-0,994.78C-0,739.571 207.197,532.373 462.407,532.373L505.419,532.373L504.644,532.546L807.104,600.085C820.223,601.729 832.422,607.722 841.77,617.116C850.131,625.517 855.784,636.21 858.055,647.804L462.407,647.804C270.906,647.804 115.431,803.279 115.431,994.78L115.431,2075.73L-0,2101.5L115.431,2127.28L115.431,2269.78L220.47,2150.73L482.345,2209.21C503.267,2211.83 522.722,2221.39 537.63,2236.37C552.538,2251.35 562.049,2270.9 564.657,2291.93L671.84,2776.17L779.022,2291.93C781.631,2270.9 791.141,2251.35 806.05,2236.37C820.958,2221.39 840.413,2211.83 861.334,2209.21L1353.15,2101.5L861.334,1993.8C840.413,1991.18 820.958,1981.62 806.05,1966.64C791.141,1951.66 781.631,1932.11 779.022,1911.08L709.477,1596.53ZM671.84,1573.09L725.556,2006.07C726.863,2016.61 731.63,2026.4 739.101,2033.91C746.573,2041.42 756.323,2046.21 766.808,2047.53L1197.68,2101.5L766.808,2155.48C756.323,2156.8 746.573,2161.59 739.101,2169.09C731.63,2176.6 726.863,2186.4 725.556,2196.94L671.84,2629.92L618.124,2196.94C616.817,2186.4 612.05,2176.6 604.579,2169.09C597.107,2161.59 587.357,2156.8 576.872,2155.48L146.001,2101.5L576.872,2047.53C587.357,2046.21 597.107,2041.42 604.579,2033.91C612.05,2026.4 616.817,2016.61 618.124,2006.07L671.84,1573.09ZM609.035,1710.36L564.657,1911.08C562.049,1932.11 552.538,1951.66 537.63,1966.64C522.722,1981.62 503.267,1991.18 482.345,1993.8L328.665,2028.11L609.035,1710.36ZM2297.12,938.615L2451.12,973.003C2480.59,976.695 2507.99,990.158 2528.99,1011.26C2549.99,1032.37 2563.39,1059.9 2567.07,1089.52L2672.73,1566.9C2634.5,1580.11 2593.44,1587.29 2550.72,1587.29C2344.33,1587.29 2176.77,1419.73 2176.77,1213.34C2176.77,1104.78 2223.13,1006.96 2297.12,938.615ZM2718.05,76.925L2793.72,686.847C2795.56,701.69 2802.27,715.491 2812.8,726.068C2823.32,736.644 2837.06,743.391 2851.83,745.242L3458.78,821.28L2851.83,897.318C2837.06,899.168 2823.32,905.916 2812.8,916.492C2802.27,927.068 2795.56,940.87 2793.72,955.712L2718.05,1565.63L2642.38,955.712C2640.54,940.87 2633.83,927.068 2623.3,916.492C2612.78,905.916 2599.04,899.168 2584.27,897.318L1977.32,821.28L2584.27,745.242C2599.04,743.391 2612.78,736.644 2623.3,726.068C2633.83,715.491 2640.54,701.69 2642.38,686.847L2718.05,76.925ZM2883.68,1043.06C2909.88,1094.13 2924.67,1152.02 2924.67,1213.34C2924.67,1335.4 2866.06,1443.88 2775.49,1512.14L2869.03,1089.52C2871.07,1073.15 2876.07,1057.42 2883.68,1043.06ZM925.928,201.2L959.611,472.704C960.431,479.311 963.42,485.455 968.105,490.163C972.79,494.871 978.904,497.875 985.479,498.698L1255.66,532.546L985.479,566.395C978.904,567.218 972.79,570.222 968.105,574.93C963.42,579.638 960.431,585.781 959.611,592.388L925.928,863.893L892.245,592.388C891.425,585.781 888.436,579.638 883.751,574.93C879.066,570.222 872.952,567.218 866.378,566.395L596.195,532.546L866.378,498.698C872.952,497.875 879.066,494.871 883.751,490.163C888.436,485.455 891.425,479.311 892.245,472.704L925.928,201.2ZM2864.47,532.373L3080.9,532.373C3258.7,532.373 3413.2,632.945 3490.58,780.281L3319.31,742.773C3257.14,683.925 3173.2,647.804 3080.9,647.804L2927.07,647.804C2919.95,642.994 2913.25,637.473 2907.11,631.298C2886.11,610.194 2872.71,582.655 2869.03,553.04L2864.47,532.373ZM1352.36,532.373L2571.64,532.373L2567.07,553.04C2563.39,582.655 2549.99,610.194 2528.99,631.298C2522.85,637.473 2516.16,642.994 2509.03,647.804L993.801,647.804C996.072,636.21 1001.73,625.517 1010.09,617.116C1019.43,607.722 1031.63,601.729 1044.75,600.085L1353.15,532.546L1352.36,532.373Z"})}),n_e=yt({displayName:"TextToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",transform:"matrix(1.11667,0,0,1.1066,-231.131,-213.062)",children:y.jsx("path",{d:"M2209.59,1137.35L2209.59,1098.17C2177.13,1108.99 2125.74,1121.91 2055.41,1136.94C2054.77,1137.08 2054.14,1137.21 2053.49,1137.35L1662.79,1137.35C1687.75,1101.98 1720.8,1074.35 1761.93,1054.44C1808.52,1031.9 1875.69,1012.22 1963.45,995.386C2081.86,973.146 2163.91,952.409 2209.59,933.174L2209.59,907.929C2209.59,859.241 2197.57,824.529 2173.53,803.792C2149.48,783.054 2104.1,772.686 2037.38,772.686C1992.3,772.686 1957.14,781.552 1931.89,799.284C1906.64,817.015 1886.21,848.121 1870.58,892.601L1640.67,851.127C1666.51,758.56 1710.99,690.037 1774.11,645.557C1837.22,601.077 1930.99,578.837 2055.41,578.837C2168.42,578.837 2252.57,592.211 2307.87,618.959C2363.17,645.707 2402.09,679.668 2424.63,720.842C2447.17,762.016 2458.44,837.602 2458.44,947.6L2456.7,1137.35L3021.34,1137.35C3214.79,1137.35 3371.86,1294.41 3371.86,1487.87C3371.86,1487.87 3371.86,3000.32 3371.86,3000.32C3371.86,3193.78 3214.79,3350.84 3021.34,3350.84C3021.34,3350.84 1036.45,3350.84 1036.45,3350.84C842.991,3350.84 685.93,3193.78 685.93,3000.32L685.93,1487.87C685.93,1400.21 718.174,1320.03 771.448,1258.54L772.123,1257.76L607.408,1257.76L498.311,1558L215.202,1558L730.028,236.22L1012.24,236.22L1373.06,1137.35L2209.59,1137.35ZM3284.36,2598.93L3284.36,1487.87C3284.36,1342.71 3166.5,1224.85 3021.34,1224.85C3021.34,1224.85 1036.45,1224.85 1036.45,1224.85C891.284,1224.85 773.43,1342.71 773.43,1487.87L773.43,2454.35L1438.34,1700.79L2383.22,2740.16L2878.11,2164.98L3284.36,2598.93ZM2619.44,1370.08C2775.89,1370.08 2902.91,1497.1 2902.91,1653.54C2902.91,1809.99 2775.89,1937.01 2619.44,1937.01C2462.99,1937.01 2335.98,1809.99 2335.98,1653.54C2335.98,1497.1 2462.99,1370.08 2619.44,1370.08ZM772.877,1256.89L772.849,1256.93L773.167,1256.57L772.877,1256.89ZM773.634,1256.04L773.563,1256.12L773.985,1255.64L773.634,1256.04ZM774.394,1255.18L774.276,1255.31L774.746,1254.78L774.394,1255.18ZM775.157,1254.32L774.988,1254.51L775.493,1253.95L775.157,1254.32ZM775.923,1253.47L775.698,1253.72L776.237,1253.12L775.923,1253.47ZM776.691,1252.62L776.403,1252.94L776.979,1252.3L776.691,1252.62ZM777.462,1251.77L777.098,1252.17L777.723,1251.49L777.462,1251.77ZM925.081,1155.44C868.026,1174.57 817.508,1207.99 777.775,1251.43C817.511,1207.99 868.031,1174.57 925.081,1155.44ZM925.646,1155.25L925.108,1155.43L926.103,1155.1L925.646,1155.25ZM935.286,1152.2C932.214,1153.12 929.159,1154.09 926.13,1155.09C929.165,1154.09 932.219,1153.12 935.286,1152.2ZM935.716,1152.07L935.384,1152.17L936.292,1151.89L935.716,1152.07ZM936.843,1151.73L936.451,1151.85L937.327,1151.59L936.843,1151.73ZM937.972,1151.4L937.514,1151.53L938.377,1151.28L937.972,1151.4ZM939.102,1151.07L938.57,1151.22L939.438,1150.97L939.102,1151.07ZM940.233,1150.74L939.613,1150.92L940.505,1150.67L940.233,1150.74ZM946.659,1148.98C944.639,1149.51 942.626,1150.07 940.626,1150.63C942.631,1150.06 944.642,1149.51 946.659,1148.98ZM947.056,1148.87L946.829,1148.93L947.659,1148.71L947.056,1148.87ZM948.198,1148.57L947.919,1148.65L948.705,1148.44L948.198,1148.57ZM949.342,1148.28L949.008,1148.37L949.771,1148.17L949.342,1148.28ZM950.488,1147.99L950.096,1148.09L950.848,1147.9L950.488,1147.99ZM951.635,1147.7L951.182,1147.81L951.932,1147.63L951.635,1147.7ZM952.783,1147.42L952.262,1147.55L953.022,1147.36L952.783,1147.42ZM953.933,1147.14L953.327,1147.28L954.115,1147.09L953.933,1147.14ZM958.213,1146.13C956.927,1146.42 955.644,1146.73 954.354,1147.04C955.637,1146.73 956.923,1146.43 958.213,1146.13ZM958.547,1146.06L958.409,1146.09L959.174,1145.91L958.547,1146.06ZM959.704,1145.79L959.517,1145.84L960.229,1145.68L959.704,1145.79ZM960.863,1145.54L960.626,1145.59L961.311,1145.44L960.863,1145.54ZM962.023,1145.28L961.736,1145.35L962.406,1145.2L962.023,1145.28ZM963.184,1145.03L962.846,1145.11L963.508,1144.97L963.184,1145.03ZM964.347,1144.79L963.956,1144.87L964.615,1144.73L964.347,1144.79ZM965.511,1144.55L965.066,1144.64L965.725,1144.5L965.511,1144.55ZM966.677,1144.31L966.172,1144.41L966.838,1144.28L966.677,1144.31ZM967.844,1144.08L967.269,1144.19L967.953,1144.05L967.844,1144.08ZM970.183,1143.62C969.793,1143.69 969.403,1143.77 969.013,1143.85L969.055,1143.84C969.413,1143.77 969.771,1143.7 970.129,1143.63L970.183,1143.62ZM971.354,1143.4L971.245,1143.42L971.882,1143.3L971.354,1143.4ZM972.526,1143.18L972.37,1143.21L972.987,1143.09L972.526,1143.18ZM973.7,1142.96L973.496,1143L974.103,1142.89L973.7,1142.96ZM974.876,1142.75L974.624,1142.8L975.225,1142.69L974.876,1142.75ZM976.052,1142.55L975.754,1142.6L976.349,1142.49L976.052,1142.55ZM977.23,1142.34L976.885,1142.4L977.476,1142.3L977.23,1142.34ZM978.41,1142.14L978.019,1142.21L978.605,1142.11L978.41,1142.14ZM979.59,1141.95L979.156,1142.02L979.736,1141.92L979.59,1141.95ZM980.772,1141.76L980.299,1141.83L980.868,1141.74L980.772,1141.76ZM981.955,1141.57L981.464,1141.65L982.002,1141.56L981.955,1141.57ZM983.14,1141.39L983.1,1141.39L983.605,1141.32L983.14,1141.39ZM984.326,1141.21L984.239,1141.22L984.778,1141.14L984.326,1141.21ZM985.513,1141.03L985.379,1141.05L985.928,1140.97L985.513,1141.03ZM986.702,1140.86L986.521,1140.89L987.073,1140.81L986.702,1140.86ZM987.891,1140.69L987.665,1140.73L988.218,1140.65L987.891,1140.69ZM989.082,1140.53L988.811,1140.57L989.363,1140.49L989.082,1140.53ZM990.275,1140.37L989.96,1140.41L990.508,1140.34L990.275,1140.37ZM991.468,1140.22L991.113,1140.26L991.654,1140.19L991.468,1140.22ZM992.663,1140.07L992.273,1140.12L992.8,1140.05L992.663,1140.07ZM993.859,1139.92L993.447,1139.97L993.948,1139.91L993.859,1139.92ZM995.056,1139.78L994.671,1139.82L995.097,1139.77L995.056,1139.78ZM996.255,1139.64L996.23,1139.64L996.578,1139.6L996.255,1139.64ZM997.454,1139.5L997.383,1139.51L997.852,1139.46L997.454,1139.5ZM998.655,1139.37L998.537,1139.38L999.041,1139.33L998.655,1139.37ZM999.857,1139.24L999.693,1139.26L1000.21,1139.21L999.857,1139.24ZM1001.06,1139.12L1000.85,1139.14L1001.38,1139.09L1001.06,1139.12ZM1002.26,1139L1002.01,1139.03L1002.54,1138.98L1002.26,1139ZM1003.47,1138.89L1003.18,1138.91L1003.7,1138.87L1003.47,1138.89ZM1004.68,1138.78L1004.34,1138.81L1004.86,1138.76L1004.68,1138.78ZM1005.89,1138.67L1005.52,1138.7L1006.02,1138.66L1005.89,1138.67ZM1007.1,1138.57L1006.71,1138.6L1007.18,1138.56L1007.1,1138.57ZM1008.31,1138.47L1007.96,1138.5L1008.35,1138.46L1008.31,1138.47ZM1009.52,1138.37L1009.5,1138.38L1009.72,1138.36L1009.52,1138.37ZM1010.73,1138.28L1010.67,1138.29L1011.1,1138.26L1010.73,1138.28ZM1011.94,1138.2L1011.84,1138.2L1012.32,1138.17L1011.94,1138.2ZM1013.16,1138.12L1013,1138.13L1013.51,1138.09L1013.16,1138.12ZM1014.37,1138.04L1014.17,1138.05L1014.69,1138.02L1014.37,1138.04ZM1015.59,1137.96L1015.35,1137.98L1015.86,1137.95L1015.59,1137.96ZM1016.81,1137.89L1016.52,1137.91L1017.04,1137.88L1016.81,1137.89ZM1018.03,1137.83L1017.7,1137.85L1018.21,1137.82L1018.03,1137.83ZM1019.25,1137.77L1018.89,1137.79L1019.39,1137.76L1019.25,1137.77ZM1020.47,1137.71L1020.1,1137.73L1020.56,1137.71L1020.47,1137.71ZM1021.69,1137.66L1021.36,1137.67L1021.74,1137.66L1021.69,1137.66ZM1022.92,1137.61L1022.91,1137.61L1023.02,1137.61L1022.92,1137.61ZM1024.14,1137.57L1024.09,1137.57L1024.49,1137.55L1024.14,1137.57ZM1025.37,1137.52L1025.27,1137.53L1025.74,1137.51L1025.37,1137.52ZM1026.6,1137.49L1026.45,1137.49L1026.94,1137.48L1026.6,1137.49ZM1027.82,1137.46L1027.63,1137.46L1028.14,1137.45L1027.82,1137.46ZM1029.05,1137.43L1028.81,1137.43L1029.33,1137.42L1029.05,1137.43ZM1030.28,1137.41L1030,1137.41L1030.52,1137.4L1030.28,1137.41ZM1031.51,1137.39L1031.19,1137.39L1031.7,1137.38L1031.51,1137.39ZM1032.75,1137.37L1032.39,1137.38L1032.89,1137.37L1032.75,1137.37ZM1033.98,1137.36L1033.61,1137.36L1034.07,1137.36L1033.98,1137.36ZM1035.21,1137.35L1034.87,1137.36L1035.26,1137.35L1035.21,1137.35ZM1050.1,1035.06L867.977,544.575L689.455,1035.06L1050.1,1035.06Z"})})}),r_e=yt({displayName:"TrainingIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0,768.593L0,2774.71C0,2930.6 78.519,3068.3 198.135,3150.37C273.059,3202.68 364.177,3233.38 462.407,3233.38C462.407,3233.38 3080.9,3233.38 3080.9,3233.38C3179.13,3233.38 3270.25,3202.68 3345.17,3150.37C3464.79,3068.3 3543.31,2930.6 3543.31,2774.71L3543.31,768.593C3543.31,517.323 3339.31,313.324 3088.04,313.324L455.269,313.324C203.999,313.324 0,517.323 0,768.593ZM3427.88,775.73L3427.88,2770.97C3427.88,2962.47 3272.4,3117.95 3080.9,3117.95L462.407,3117.95C270.906,3117.95 115.431,2962.47 115.431,2770.97C115.431,2770.97 115.431,775.73 115.431,775.73C115.431,584.229 270.906,428.755 462.407,428.755C462.407,428.755 3080.9,428.755 3080.9,428.755C3272.4,428.755 3427.88,584.229 3427.88,775.73ZM796.24,1322.76L796.24,1250.45C796.24,1199.03 836.16,1157.27 885.331,1157.27C885.331,1157.27 946.847,1157.27 946.847,1157.27C996.017,1157.27 1035.94,1199.03 1035.94,1250.45L1035.94,1644.81L2507.37,1644.81L2507.37,1250.45C2507.37,1199.03 2547.29,1157.27 2596.46,1157.27C2596.46,1157.27 2657.98,1157.27 2657.98,1157.27C2707.15,1157.27 2747.07,1199.03 2747.07,1250.45L2747.07,1322.76C2756.66,1319.22 2767.02,1317.29 2777.83,1317.29C2777.83,1317.29 2839.34,1317.29 2839.34,1317.29C2888.51,1317.29 2928.43,1357.21 2928.43,1406.38L2928.43,1527.32C2933.51,1526.26 2938.77,1525.71 2944.16,1525.71L2995.3,1525.71C3036.18,1525.71 3069.37,1557.59 3069.37,1596.86C3069.37,1596.86 3069.37,1946.44 3069.37,1946.44C3069.37,1985.72 3036.18,2017.6 2995.3,2017.6C2995.3,2017.6 2944.16,2017.6 2944.16,2017.6C2938.77,2017.6 2933.51,2017.04 2928.43,2015.99L2928.43,2136.92C2928.43,2186.09 2888.51,2226.01 2839.34,2226.01L2777.83,2226.01C2767.02,2226.01 2756.66,2224.08 2747.07,2220.55L2747.07,2292.85C2747.07,2344.28 2707.15,2386.03 2657.98,2386.03C2657.98,2386.03 2596.46,2386.03 2596.46,2386.03C2547.29,2386.03 2507.37,2344.28 2507.37,2292.85L2507.37,1898.5L1035.94,1898.5L1035.94,2292.85C1035.94,2344.28 996.017,2386.03 946.847,2386.03C946.847,2386.03 885.331,2386.03 885.331,2386.03C836.16,2386.03 796.24,2344.28 796.24,2292.85L796.24,2220.55C786.651,2224.08 776.29,2226.01 765.482,2226.01L703.967,2226.01C654.796,2226.01 614.876,2186.09 614.876,2136.92L614.876,2015.99C609.801,2017.04 604.539,2017.6 599.144,2017.6C599.144,2017.6 548.003,2017.6 548.003,2017.6C507.125,2017.6 473.937,1985.72 473.937,1946.44C473.937,1946.44 473.937,1596.86 473.937,1596.86C473.937,1557.59 507.125,1525.71 548.003,1525.71L599.144,1525.71C604.539,1525.71 609.801,1526.26 614.876,1527.32L614.876,1406.38C614.876,1357.21 654.796,1317.29 703.967,1317.29C703.967,1317.29 765.482,1317.29 765.482,1317.29C776.29,1317.29 786.651,1319.22 796.24,1322.76ZM977.604,1250.45C977.604,1232.7 963.822,1218.29 946.847,1218.29L885.331,1218.29C868.355,1218.29 854.573,1232.7 854.573,1250.45L854.573,2292.85C854.573,2310.61 868.355,2325.02 885.331,2325.02L946.847,2325.02C963.822,2325.02 977.604,2310.61 977.604,2292.85L977.604,1250.45ZM2565.7,1250.45C2565.7,1232.7 2579.49,1218.29 2596.46,1218.29L2657.98,1218.29C2674.95,1218.29 2688.73,1232.7 2688.73,1250.45L2688.73,2292.85C2688.73,2310.61 2674.95,2325.02 2657.98,2325.02L2596.46,2325.02C2579.49,2325.02 2565.7,2310.61 2565.7,2292.85L2565.7,1250.45ZM673.209,1406.38L673.209,2136.92C673.209,2153.9 686.991,2167.68 703.967,2167.68L765.482,2167.68C782.458,2167.68 796.24,2153.9 796.24,2136.92L796.24,1406.38C796.24,1389.41 782.458,1375.63 765.482,1375.63L703.967,1375.63C686.991,1375.63 673.209,1389.41 673.209,1406.38ZM2870.1,1406.38L2870.1,2136.92C2870.1,2153.9 2856.32,2167.68 2839.34,2167.68L2777.83,2167.68C2760.85,2167.68 2747.07,2153.9 2747.07,2136.92L2747.07,1406.38C2747.07,1389.41 2760.85,1375.63 2777.83,1375.63L2839.34,1375.63C2856.32,1375.63 2870.1,1389.41 2870.1,1406.38ZM614.876,1577.5C610.535,1574.24 605.074,1572.3 599.144,1572.3L548.003,1572.3C533.89,1572.3 522.433,1583.3 522.433,1596.86L522.433,1946.44C522.433,1960 533.89,1971.01 548.003,1971.01L599.144,1971.01C605.074,1971.01 610.535,1969.07 614.876,1965.81L614.876,1577.5ZM2928.43,1965.81L2928.43,1577.5C2932.77,1574.24 2938.23,1572.3 2944.16,1572.3L2995.3,1572.3C3009.42,1572.3 3020.87,1583.3 3020.87,1596.86L3020.87,1946.44C3020.87,1960 3009.42,1971.01 2995.3,1971.01L2944.16,1971.01C2938.23,1971.01 2932.77,1969.07 2928.43,1965.81ZM2507.37,1703.14L1035.94,1703.14L1035.94,1840.16L2507.37,1840.16L2507.37,1898.38L2507.37,1659.46L2507.37,1703.14Z"})}),i_e=yt({displayName:"UnifiedCanvasIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 -0,515.578 -0,770.787L-0,2766.03C-0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM922.933,3113.01L462.407,3113.01C437.741,3113.01 413.674,3110.43 390.453,3105.52L390.453,2899.11L922.933,2899.11L922.933,3113.01ZM947.933,2899.11L947.933,3113.01L1480.41,3113.01L1480.41,2899.11L947.933,2899.11ZM1505.41,2899.11L1505.41,3113.01L2037.89,3113.01L2037.89,2899.11L1505.41,2899.11ZM2062.89,2899.11L2062.89,3113.01L2595.37,3113.01L2595.37,2899.11L2062.89,2899.11ZM3152.85,3105.52C3129.63,3110.43 3105.57,3113.01 3080.9,3113.01L2620.37,3113.01L2620.37,2899.11L3152.85,2899.11L3152.85,3105.52ZM365.453,3099.26L365.408,3099.24C354.521,3096.07 343.79,3092.37 333.266,3088.14C315.377,3080.95 298.094,3072.26 281.651,3062.2C263.114,3050.85 245.648,3037.77 229.544,3023.17C213.34,3008.49 198.518,2992.28 185.34,2974.83C174.102,2959.94 164.06,2944.16 155.353,2927.66C150.517,2918.5 146.102,2909.13 142.102,2899.57L141.91,2899.11L365.453,2899.11L365.453,3099.26ZM3401.4,2899.11C3361.33,2995.39 3279.12,3069.8 3177.85,3099.26L3177.85,2899.11L3401.4,2899.11ZM132.624,2874.11C121.465,2840.08 115.431,2803.76 115.431,2766.03L115.431,2341.63L365.453,2341.63L365.453,2874.11L132.624,2874.11ZM922.933,918.103L922.933,669.193L390.453,669.193L390.453,1201.67L731.014,1201.67L731.014,1226.67L390.453,1226.67L390.453,1759.15L731.014,1759.15L731.014,1784.15L390.453,1784.15L390.453,2316.63L731.014,2316.63L731.014,2341.63L390.453,2341.63L390.453,2874.11L922.933,2874.11L922.933,2625.2C931.122,2627.1 939.463,2628.6 947.933,2629.66L947.933,2874.11L1480.41,2874.11L1480.41,2631.62L1505.41,2631.62L1505.41,2874.11L2037.89,2874.11L2037.89,2631.62L2062.89,2631.62L2062.89,2874.11L2595.37,2874.11L2595.37,2629.66C2603.85,2628.6 2612.18,2627.1 2620.37,2625.2L2620.37,2874.11L3152.85,2874.11L3152.85,2341.63L2812.29,2341.63L2812.29,2316.63L3152.85,2316.63L3152.85,1784.15L2812.29,1784.15L2812.29,1759.15L3152.85,1759.15L3152.85,1226.67L2812.29,1226.67L2812.29,1201.67L3152.85,1201.67L3152.85,669.193L2620.37,669.193L2620.37,918.103C2612.18,916.203 2603.84,914.708 2595.37,913.642L2595.37,669.193L2062.89,669.193L2062.89,911.688L2037.89,911.688L2037.89,669.193L1505.41,669.193L1505.41,911.688L1480.41,911.688L1480.41,669.193L947.933,669.193L947.933,913.642C939.462,914.708 931.123,916.203 922.933,918.103ZM3427.88,2341.63L3427.88,2766.03C3427.88,2803.76 3421.84,2840.08 3410.68,2874.11L3177.85,2874.11L3177.85,2341.63L3427.88,2341.63ZM2494.01,2603.04L2524.53,2603.04C2541.26,2603.04 2557.62,2601.44 2573.47,2598.39L2598.02,2593.66L2588.56,2544.56L2564.01,2549.29C2551.23,2551.75 2538.03,2553.04 2524.53,2553.04L2494.01,2553.04L2494.01,2603.04ZM1294.01,2603.04L1394.01,2603.04L1394.01,2553.04L1294.01,2553.04L1294.01,2603.04ZM1894.01,2603.04L1994.01,2603.04L1994.01,2553.04L1894.01,2553.04L1894.01,2603.04ZM2194.01,2603.04L2294.01,2603.04L2294.01,2553.04L2194.01,2553.04L2194.01,2603.04ZM1144.01,2603.04L1244.01,2603.04L1244.01,2553.04L1144.01,2553.04L1144.01,2603.04ZM1444.01,2603.04L1544.01,2603.04L1544.01,2553.04L1444.01,2553.04L1444.01,2603.04ZM1594.01,2603.04L1694.01,2603.04L1694.01,2553.04L1594.01,2553.04L1594.01,2603.04ZM2344.01,2603.04L2444.01,2603.04L2444.01,2553.04L2344.01,2553.04L2344.01,2603.04ZM2044.01,2603.04L2144.01,2603.04L2144.01,2553.04L2044.01,2553.04L2044.01,2603.04ZM994.01,2603.04L1094.01,2603.04L1094.01,2553.04L994.01,2553.04L994.01,2603.04ZM1744.01,2603.04L1844.01,2603.04L1844.01,2553.04L1744.01,2553.04L1744.01,2603.04ZM864.145,2551.46C878.835,2562.5 894.741,2572 911.624,2579.74L934.352,2590.15L955.18,2544.7L932.452,2534.28C918.844,2528.05 906.024,2520.39 894.185,2511.49L874.199,2496.47L844.16,2536.44L864.145,2551.46ZM2674.44,2554.92C2689.46,2544.16 2703.28,2531.82 2715.65,2518.14L2732.42,2499.61L2695.35,2466.06L2678.58,2484.6C2668.59,2495.63 2657.44,2505.59 2645.32,2514.28L2625,2528.84L2654.12,2569.48L2674.44,2554.92ZM865.632,1911.31L1339.59,1374.15L2030.89,2134.59L2392.97,1713.77L2677.68,2017.9L2677.68,2324.93C2677.68,2424.23 2597.06,2504.85 2497.76,2504.85C2497.76,2504.85 1045.55,2504.85 1045.55,2504.85C946.251,2504.85 865.632,2424.23 865.632,2324.93L865.632,1911.31ZM771.251,2417.22C776.455,2435.14 783.552,2452.26 792.313,2468.35L804.27,2490.3L848.18,2466.39L836.223,2444.43C829.171,2431.49 823.457,2417.7 819.268,2403.28L812.297,2379.27L764.28,2393.21L771.251,2417.22ZM2770.36,2422.83C2775.83,2405.47 2779.52,2387.33 2781.2,2368.61L2783.43,2343.71L2733.64,2339.24L2731.4,2364.14C2730.05,2379.21 2727.08,2393.82 2722.67,2407.79L2715.15,2431.63L2762.84,2446.67L2770.36,2422.83ZM761.068,2236.12L761.068,2336.12L811.068,2336.12L811.068,2236.12L761.068,2236.12ZM3177.85,1784.15L3177.85,2316.63L3427.88,2316.63L3427.88,1784.15L3177.85,1784.15ZM115.431,1784.15L115.431,2316.63L365.453,2316.63L365.453,1784.15L115.431,1784.15ZM2782.24,2291.41L2782.24,2191.41L2732.24,2191.41L2732.24,2291.41L2782.24,2291.41ZM761.068,2086.12L761.068,2186.12L811.068,2186.12L811.068,2086.12L761.068,2086.12ZM2782.24,2141.41L2782.24,2041.4L2732.24,2041.4L2732.24,2141.41L2782.24,2141.41ZM761.068,1936.12L761.068,2036.12L811.068,2036.12L811.068,1936.12L761.068,1936.12ZM2782.24,1991.4L2782.24,1891.4L2732.24,1891.4L2732.24,1991.4L2782.24,1991.4ZM761.068,1786.12L761.068,1886.12L811.068,1886.12L811.068,1786.12L761.068,1786.12ZM2782.24,1841.4L2782.24,1741.41L2732.24,1741.41L2732.24,1841.4L2782.24,1841.4ZM3177.85,1226.67L3177.85,1759.15L3427.88,1759.15L3427.88,1226.67L3177.85,1226.67ZM115.431,1226.67L115.431,1759.15L365.453,1759.15L365.453,1226.67L115.431,1226.67ZM761.068,1636.12L761.068,1736.12L811.068,1736.12L811.068,1636.12L761.068,1636.12ZM2782.24,1691.41L2782.24,1591.41L2732.24,1591.41L2732.24,1691.41L2782.24,1691.41ZM761.068,1486.12L761.068,1586.12L811.068,1586.12L811.068,1486.12L761.068,1486.12ZM2203.72,1132.2C2318.18,1132.2 2411.11,1225.13 2411.11,1339.59C2411.11,1454.05 2318.18,1546.98 2203.72,1546.98C2089.26,1546.98 1996.33,1454.05 1996.33,1339.59C1996.33,1225.13 2089.26,1132.2 2203.72,1132.2ZM2782.24,1541.41L2782.24,1441.41L2732.24,1441.41L2732.24,1541.41L2782.24,1541.41ZM761.068,1336.12L761.068,1436.12L811.068,1436.12L811.068,1336.12L761.068,1336.12ZM2782.24,1391.41L2782.24,1291.41L2732.24,1291.41L2732.24,1391.41L2782.24,1391.41ZM761.068,1186.12L761.068,1286.12L811.068,1286.12L811.068,1186.12L761.068,1186.12ZM2732.24,1197.98L2732.24,1241.41L2782.24,1241.41L2782.24,1172.98L2781.03,1172.98C2780.06,1162.82 2778.49,1152.83 2776.36,1143.04L2771.04,1118.62L2722.18,1129.24L2727.5,1153.67C2730.61,1167.95 2732.24,1182.78 2732.24,1197.98ZM3412.74,669.193L3412.89,669.694C3414.66,675.5 3416.28,681.348 3417.73,687.238C3420.46,698.265 3422.65,709.427 3424.28,720.67C3425.85,731.554 3426.91,742.513 3427.45,753.497C3427.74,759.256 3427.87,765.021 3427.88,770.787L3427.88,1201.67L3177.85,1201.67L3177.85,669.193L3412.74,669.193ZM115.431,1201.67L115.431,770.787C115.436,765.021 115.572,759.256 115.855,753.497C116.395,742.513 117.453,731.554 119.031,720.67C120.66,709.427 122.844,698.265 125.574,687.238C127.032,681.348 128.65,675.5 130.414,669.694L130.567,669.193L365.453,669.193L365.453,1201.67L115.431,1201.67ZM804.386,1055C794.186,1070.26 785.572,1086.67 778.777,1103.99L769.647,1127.26L816.194,1145.52L825.324,1122.25C830.797,1108.3 837.738,1095.08 845.955,1082.79L859.848,1062L818.279,1034.21L804.386,1055ZM2730.5,1043.14C2719.39,1028.39 2706.73,1014.86 2692.77,1002.81L2673.84,986.48L2641.17,1024.34L2660.1,1040.67C2671.37,1050.39 2681.59,1061.31 2690.56,1073.22L2705.6,1093.19L2745.54,1063.11L2730.5,1043.14ZM933.266,954.821C915.698,961.006 898.998,969.041 883.402,978.694L862.144,991.851L888.457,1034.37L909.715,1021.21C922.275,1013.44 935.723,1006.96 949.871,1001.98L973.452,993.681L956.848,946.518L933.266,954.821ZM2596.18,950.378C2578.71,945.327 2560.49,942.072 2541.72,940.832L2516.78,939.183L2513.48,989.074L2538.43,990.723C2553.54,991.722 2568.22,994.341 2582.28,998.409L2606.3,1005.36L2620.19,957.325L2596.18,950.378ZM2165.09,940.265L2065.09,940.265L2065.09,990.265L2165.09,990.265L2165.09,940.265ZM1865.08,940.265L1765.08,940.265L1765.08,990.265L1865.08,990.265L1865.08,940.265ZM1115.08,940.265L1015.08,940.265L1015.08,990.265L1115.08,990.265L1115.08,940.265ZM2015.09,940.265L1915.09,940.265L1915.09,990.265L2015.09,990.265L2015.09,940.265ZM2315.09,940.265L2215.09,940.265L2215.09,990.265L2315.09,990.265L2315.09,940.265ZM1265.08,940.265L1165.08,940.265L1165.08,990.265L1265.08,990.265L1265.08,940.265ZM1415.08,940.265L1315.08,940.265L1315.08,990.265L1415.08,990.265L1415.08,940.265ZM1565.08,940.265L1465.08,940.265L1465.08,990.265L1565.08,990.265L1565.08,940.265ZM1715.08,940.265L1615.08,940.265L1615.08,990.265L1715.08,990.265L1715.08,940.265ZM2465.09,940.265L2365.09,940.265L2365.09,990.265L2465.09,990.265L2465.09,940.265ZM365.453,437.562L365.453,644.193L139.286,644.193C178.303,544.782 261.917,467.677 365.453,437.562ZM922.933,423.812L922.933,644.193L390.453,644.193L390.453,431.295C413.674,426.391 437.741,423.812 462.407,423.812L922.933,423.812ZM947.933,423.812L947.933,644.193L1480.41,644.193L1480.41,423.812L947.933,423.812ZM1505.41,423.812L1505.41,644.193L2037.89,644.193L2037.89,423.812L1505.41,423.812ZM2062.89,423.812L2062.89,644.193L2595.37,644.193L2595.37,423.812L2062.89,423.812ZM2620.37,423.812L3080.9,423.812C3105.57,423.812 3129.63,426.391 3152.85,431.295L3152.85,644.193L2620.37,644.193L2620.37,423.812ZM3177.85,437.562C3281.38,467.669 3365,544.774 3404.02,644.193L3177.85,644.193L3177.85,437.562Z"})}),Ze=Oe((e,t)=>{const{tooltip:n="",styleClass:r,tooltipProps:i,asCheckbox:o,isChecked:a,...s}=e;return y.jsx(lo,{label:n,hasArrow:!0,...i,...i!=null&&i.placement?{placement:i.placement}:{placement:"top"},children:y.jsx(ss,{ref:t,className:r?`invokeai__icon-button ${r}`:"invokeai__icon-button","data-as-checkbox":o,"data-selected":a!==void 0?a:void 0,...s})})}),cr=Oe((e,t)=>{const{children:n,tooltip:r="",tooltipProps:i,styleClass:o,...a}=e;return y.jsx(lo,{label:r,...i,children:y.jsx(as,{ref:t,className:["invokeai__button",o].join(" "),...a,children:n})})}),Zs=e=>{const{triggerComponent:t,children:n,styleClass:r,hasArrow:i=!0,...o}=e;return y.jsxs(ME,{...o,children:[y.jsx(DE,{children:t}),y.jsxs(RE,{className:`invokeai__popover-content ${r}`,children:[i&&y.jsx(IE,{className:"invokeai__popover-arrow"}),n]})]})},Wx=ot(e=>e.lightbox,e=>e,{memoizeOptions:{equalityCheck:Ee.isEqual}}),hD=/^-?(0\.)?\.?$/,To=e=>{const{label:t,labelFontSize:n="sm",styleClass:r,isDisabled:i=!1,showStepper:o=!0,width:a,textAlign:s,isInvalid:l,value:u,onChange:d,min:h,max:m,isInteger:v=!0,formControlProps:b,formLabelProps:S,numberInputFieldProps:k,numberInputStepperProps:E,tooltipProps:_,...T}=e,[A,I]=w.useState(String(u));w.useEffect(()=>{!A.match(hD)&&u!==Number(A)&&I(String(u))},[u,A]);const R=j=>{I(j),j.match(hD)||d(v?Math.floor(Number(j)):Number(j))},D=j=>{const z=Ee.clamp(v?Math.floor(Number(j.target.value)):Number(j.target.value),h,m);I(String(z)),d(z)};return y.jsx(lo,{..._,children:y.jsxs(dn,{isDisabled:i,isInvalid:l,className:r?`invokeai__number-input-form-control ${r}`:"invokeai__number-input-form-control",...b,children:[t&&y.jsx(kn,{className:"invokeai__number-input-form-label",style:{display:t?"block":"none"},fontSize:n,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",...S,children:t}),y.jsxs(TE,{className:"invokeai__number-input-root",value:A,min:h,max:m,keepWithinRange:!0,clampValueOnBlur:!1,onChange:R,onBlur:D,width:a,...T,children:[y.jsx(LE,{className:"invokeai__number-input-field",textAlign:s,...k}),o&&y.jsxs("div",{className:"invokeai__number-input-stepper",children:[y.jsx(OE,{...E,className:"invokeai__number-input-stepper-button"}),y.jsx(AE,{...E,className:"invokeai__number-input-stepper-button"})]})]})]})})},tl=e=>{const{label:t,isDisabled:n,validValues:r,tooltip:i,tooltipProps:o,size:a="sm",fontSize:s="sm",styleClass:l,...u}=e;return y.jsxs(dn,{isDisabled:n,className:`invokeai__select ${l}`,onClick:d=>{d.stopPropagation(),d.nativeEvent.stopImmediatePropagation(),d.nativeEvent.stopPropagation(),d.nativeEvent.cancelBubble=!0},children:[t&&y.jsx(kn,{className:"invokeai__select-label",fontSize:s,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",children:t}),y.jsx(lo,{label:i,...o,children:y.jsx($V,{className:"invokeai__select-picker",fontSize:s,size:a,...u,children:r.map(d=>typeof d=="string"||typeof d=="number"?y.jsx("option",{value:d,className:"invokeai__select-option",children:d},d):y.jsx("option",{value:d.value,className:"invokeai__select-option",children:d.key},d.value))})})]})},$y=e=>e.postprocessing,ir=e=>e.system,o_e=e=>e.system.toastQueue,GG=ot(ir,e=>{const{model_list:t}=e,n=Ee.reduce(t,(r,i,o)=>(i.status==="active"&&(r=o),r),"");return{...t[n],name:n}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),a_e=ot([$y,ir],({facetoolStrength:e,facetoolType:t,codeformerFidelity:n},{isGFPGANAvailable:r})=>({facetoolStrength:e,facetoolType:t,codeformerFidelity:n,isGFPGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),wP=()=>{const e=Ie(),{facetoolStrength:t,facetoolType:n,codeformerFidelity:r,isGFPGANAvailable:i}=he(a_e),o=u=>e(I4(u)),a=u=>e(xU(u)),s=u=>e(R4(u.target.value)),{t:l}=Ve();return y.jsxs(qe,{direction:"column",gap:2,children:[y.jsx(tl,{label:l("parameters:type"),validValues:o7e.concat(),value:n,onChange:s}),y.jsx(To,{isDisabled:!i,label:l("parameters:strength"),step:.05,min:0,max:1,onChange:o,value:t,width:"90px",isInteger:!1}),n==="codeformer"&&y.jsx(To,{isDisabled:!i,label:l("parameters:codeformerFidelity"),step:.05,min:0,max:1,onChange:a,value:r,width:"90px",isInteger:!1})]})},s_e=ot([$y,ir],({upscalingLevel:e,upscalingStrength:t},{isESRGANAvailable:n})=>({upscalingLevel:e,upscalingStrength:t,isESRGANAvailable:n}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),CP=()=>{const e=Ie(),{upscalingLevel:t,upscalingStrength:n,isESRGANAvailable:r}=he(s_e),{t:i}=Ve(),o=s=>e(c8(Number(s.target.value))),a=s=>e(d8(s));return y.jsxs("div",{className:"upscale-settings",children:[y.jsx(tl,{isDisabled:!r,label:i("parameters:scale"),value:t,onChange:o,validValues:i7e}),y.jsx(To,{isDisabled:!r,label:i("parameters:strength"),step:.05,min:0,max:1,onChange:a,value:n,isInteger:!1})]})};var l_e=Object.create,qG=Object.defineProperty,u_e=Object.getOwnPropertyDescriptor,c_e=Object.getOwnPropertyNames,d_e=Object.getPrototypeOf,f_e=Object.prototype.hasOwnProperty,We=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of c_e(t))!f_e.call(e,i)&&i!==n&&qG(e,i,{get:()=>t[i],enumerable:!(r=u_e(t,i))||r.enumerable});return e},YG=(e,t,n)=>(n=e!=null?l_e(d_e(e)):{},h_e(t||!e||!e.__esModule?qG(n,"default",{value:e,enumerable:!0}):n,e)),p_e=We((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n}),KG=We((e,t)=>{function n(r,i){return r===i||r!==r&&i!==i}t.exports=n}),Ux=We((e,t)=>{var n=KG();function r(i,o){for(var a=i.length;a--;)if(n(i[a][0],o))return a;return-1}t.exports=r}),g_e=We((e,t)=>{var n=Ux(),r=Array.prototype,i=r.splice;function o(a){var s=this.__data__,l=n(s,a);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=o}),m_e=We((e,t)=>{var n=Ux();function r(i){var o=this.__data__,a=n(o,i);return a<0?void 0:o[a][1]}t.exports=r}),v_e=We((e,t)=>{var n=Ux();function r(i){return n(this.__data__,i)>-1}t.exports=r}),y_e=We((e,t)=>{var n=Ux();function r(i,o){var a=this.__data__,s=n(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=r}),Gx=We((e,t)=>{var n=p_e(),r=g_e(),i=m_e(),o=v_e(),a=y_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx();function r(){this.__data__=new n,this.size=0}t.exports=r}),S_e=We((e,t)=>{function n(r){var i=this.__data__,o=i.delete(r);return this.size=i.size,o}t.exports=n}),x_e=We((e,t)=>{function n(r){return this.__data__.get(r)}t.exports=n}),w_e=We((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),XG=We((e,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),pc=We((e,t)=>{var n=XG(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();t.exports=i}),_P=We((e,t)=>{var n=pc(),r=n.Symbol;t.exports=r}),C_e=We((e,t)=>{var n=_P(),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;function s(l){var u=i.call(l,a),d=l[a];try{l[a]=void 0;var h=!0}catch{}var m=o.call(l);return h&&(u?l[a]=d:delete l[a]),m}t.exports=s}),__e=We((e,t)=>{var n=Object.prototype,r=n.toString;function i(o){return r.call(o)}t.exports=i}),qx=We((e,t)=>{var n=_P(),r=C_e(),i=__e(),o="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;function l(u){return u==null?u===void 0?a:o:s&&s in Object(u)?r(u):i(u)}t.exports=l}),ZG=We((e,t)=>{function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}t.exports=n}),QG=We((e,t)=>{var n=qx(),r=ZG(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!r(u))return!1;var d=n(u);return d==o||d==a||d==i||d==s}t.exports=l}),k_e=We((e,t)=>{var n=pc(),r=n["__core-js_shared__"];t.exports=r}),E_e=We((e,t)=>{var n=k_e(),r=function(){var o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!r&&r in o}t.exports=i}),JG=We((e,t)=>{var n=Function.prototype,r=n.toString;function i(o){if(o!=null){try{return r.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}),P_e=We((e,t)=>{var n=QG(),r=E_e(),i=ZG(),o=JG(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,h=u.hasOwnProperty,m=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(b){if(!i(b)||r(b))return!1;var S=n(b)?m:s;return S.test(o(b))}t.exports=v}),T_e=We((e,t)=>{function n(r,i){return r==null?void 0:r[i]}t.exports=n}),L0=We((e,t)=>{var n=P_e(),r=T_e();function i(o,a){var s=r(o,a);return n(s)?s:void 0}t.exports=i}),kP=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"Map");t.exports=i}),Yx=We((e,t)=>{var n=L0(),r=n(Object,"create");t.exports=r}),L_e=We((e,t)=>{var n=Yx();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}),A_e=We((e,t)=>{function n(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}t.exports=n}),O_e=We((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var l=this.__data__;if(n){var u=l[s];return u===r?void 0:u}return o.call(l,s)?l[s]:void 0}t.exports=a}),M_e=We((e,t)=>{var n=Yx(),r=Object.prototype,i=r.hasOwnProperty;function o(a){var s=this.__data__;return n?s[a]!==void 0:i.call(s,a)}t.exports=o}),I_e=We((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=n&&a===void 0?r:a,this}t.exports=i}),R_e=We((e,t)=>{var n=L_e(),r=A_e(),i=O_e(),o=M_e(),a=I_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=R_e(),r=Gx(),i=kP();function o(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=o}),N_e=We((e,t)=>{function n(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}t.exports=n}),Kx=We((e,t)=>{var n=N_e();function r(i,o){var a=i.__data__;return n(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=r}),j_e=We((e,t)=>{var n=Kx();function r(i){var o=n(this,i).delete(i);return this.size-=o?1:0,o}t.exports=r}),B_e=We((e,t)=>{var n=Kx();function r(i){return n(this,i).get(i)}t.exports=r}),F_e=We((e,t)=>{var n=Kx();function r(i){return n(this,i).has(i)}t.exports=r}),$_e=We((e,t)=>{var n=Kx();function r(i,o){var a=n(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=r}),eq=We((e,t)=>{var n=D_e(),r=j_e(),i=B_e(),o=F_e(),a=$_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx(),r=kP(),i=eq(),o=200;function a(s,l){var u=this.__data__;if(u instanceof n){var d=u.__data__;if(!r||d.length{var n=Gx(),r=b_e(),i=S_e(),o=x_e(),a=w_e(),s=z_e();function l(u){var d=this.__data__=new n(u);this.size=d.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l}),V_e=We((e,t)=>{var n="__lodash_hash_undefined__";function r(i){return this.__data__.set(i,n),this}t.exports=r}),W_e=We((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),U_e=We((e,t)=>{var n=eq(),r=V_e(),i=W_e();function o(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new n;++s{function n(r,i){for(var o=-1,a=r==null?0:r.length;++o{function n(r,i){return r.has(i)}t.exports=n}),tq=We((e,t)=>{var n=U_e(),r=G_e(),i=q_e(),o=1,a=2;function s(l,u,d,h,m,v){var b=d&o,S=l.length,k=u.length;if(S!=k&&!(b&&k>S))return!1;var E=v.get(l),_=v.get(u);if(E&&_)return E==u&&_==l;var T=-1,A=!0,I=d&a?new n:void 0;for(v.set(l,u),v.set(u,l);++T{var n=pc(),r=n.Uint8Array;t.exports=r}),K_e=We((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=n}),X_e=We((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=a}),o}t.exports=n}),Z_e=We((e,t)=>{var n=_P(),r=Y_e(),i=KG(),o=tq(),a=K_e(),s=X_e(),l=1,u=2,d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Map]",b="[object Number]",S="[object RegExp]",k="[object Set]",E="[object String]",_="[object Symbol]",T="[object ArrayBuffer]",A="[object DataView]",I=n?n.prototype:void 0,R=I?I.valueOf:void 0;function D(j,z,V,K,te,q,F){switch(V){case A:if(j.byteLength!=z.byteLength||j.byteOffset!=z.byteOffset)return!1;j=j.buffer,z=z.buffer;case T:return!(j.byteLength!=z.byteLength||!q(new r(j),new r(z)));case d:case h:case b:return i(+j,+z);case m:return j.name==z.name&&j.message==z.message;case S:case E:return j==z+"";case v:var U=a;case k:var X=K&l;if(U||(U=s),j.size!=z.size&&!X)return!1;var Z=F.get(j);if(Z)return Z==z;K|=u,F.set(j,z);var W=o(U(j),U(z),K,te,q,F);return F.delete(j),W;case _:if(R)return R.call(j)==R.call(z)}return!1}t.exports=D}),Q_e=We((e,t)=>{function n(r,i){for(var o=-1,a=i.length,s=r.length;++o{var n=Array.isArray;t.exports=n}),J_e=We((e,t)=>{var n=Q_e(),r=EP();function i(o,a,s){var l=a(o);return r(o)?l:n(l,s(o))}t.exports=i}),eke=We((e,t)=>{function n(r,i){for(var o=-1,a=r==null?0:r.length,s=0,l=[];++o{function n(){return[]}t.exports=n}),nke=We((e,t)=>{var n=eke(),r=tke(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),n(a(l),function(u){return o.call(l,u)}))}:r;t.exports=s}),rke=We((e,t)=>{function n(r,i){for(var o=-1,a=Array(r);++o{function n(r){return r!=null&&typeof r=="object"}t.exports=n}),ike=We((e,t)=>{var n=qx(),r=Xx(),i="[object Arguments]";function o(a){return r(a)&&n(a)==i}t.exports=o}),oke=We((e,t)=>{var n=ike(),r=Xx(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(l){return r(l)&&o.call(l,"callee")&&!a.call(l,"callee")};t.exports=s}),ake=We((e,t)=>{function n(){return!1}t.exports=n}),nq=We((e,t)=>{var n=pc(),r=ake(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||r;t.exports=u}),ske=We((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??n,!!a&&(s=="number"||s!="symbol"&&r.test(o))&&o>-1&&o%1==0&&o{var n=9007199254740991;function r(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}t.exports=r}),lke=We((e,t)=>{var n=qx(),r=rq(),i=Xx(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",S="[object Set]",k="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",I="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",K="[object Uint16Array]",te="[object Uint32Array]",q={};q[A]=q[I]=q[R]=q[D]=q[j]=q[z]=q[V]=q[K]=q[te]=!0,q[o]=q[a]=q[_]=q[s]=q[T]=q[l]=q[u]=q[d]=q[h]=q[m]=q[v]=q[b]=q[S]=q[k]=q[E]=!1;function F(U){return i(U)&&r(U.length)&&!!q[n(U)]}t.exports=F}),uke=We((e,t)=>{function n(r){return function(i){return r(i)}}t.exports=n}),cke=We((e,t)=>{var n=XG(),r=typeof e=="object"&&e&&!e.nodeType&&e,i=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s}),iq=We((e,t)=>{var n=lke(),r=uke(),i=cke(),o=i&&i.isTypedArray,a=o?r(o):n;t.exports=a}),dke=We((e,t)=>{var n=rke(),r=oke(),i=EP(),o=nq(),a=ske(),s=iq(),l=Object.prototype,u=l.hasOwnProperty;function d(h,m){var v=i(h),b=!v&&r(h),S=!v&&!b&&o(h),k=!v&&!b&&!S&&s(h),E=v||b||S||k,_=E?n(h.length,String):[],T=_.length;for(var A in h)(m||u.call(h,A))&&!(E&&(A=="length"||S&&(A=="offset"||A=="parent")||k&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,T)))&&_.push(A);return _}t.exports=d}),fke=We((e,t)=>{var n=Object.prototype;function r(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||n;return i===a}t.exports=r}),hke=We((e,t)=>{function n(r,i){return function(o){return r(i(o))}}t.exports=n}),pke=We((e,t)=>{var n=hke(),r=n(Object.keys,Object);t.exports=r}),gke=We((e,t)=>{var n=fke(),r=pke(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=a}),mke=We((e,t)=>{var n=QG(),r=rq();function i(o){return o!=null&&r(o.length)&&!n(o)}t.exports=i}),vke=We((e,t)=>{var n=dke(),r=gke(),i=mke();function o(a){return i(a)?n(a):r(a)}t.exports=o}),yke=We((e,t)=>{var n=J_e(),r=nke(),i=vke();function o(a){return n(a,i,r)}t.exports=o}),bke=We((e,t)=>{var n=yke(),r=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,l,u,d,h,m){var v=u&r,b=n(s),S=b.length,k=n(l),E=k.length;if(S!=E&&!v)return!1;for(var _=S;_--;){var T=b[_];if(!(v?T in l:o.call(l,T)))return!1}var A=m.get(s),I=m.get(l);if(A&&I)return A==l&&I==s;var R=!0;m.set(s,l),m.set(l,s);for(var D=v;++_{var n=L0(),r=pc(),i=n(r,"DataView");t.exports=i}),xke=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"Promise");t.exports=i}),wke=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"Set");t.exports=i}),Cke=We((e,t)=>{var n=L0(),r=pc(),i=n(r,"WeakMap");t.exports=i}),_ke=We((e,t)=>{var n=Ske(),r=kP(),i=xke(),o=wke(),a=Cke(),s=qx(),l=JG(),u="[object Map]",d="[object Object]",h="[object Promise]",m="[object Set]",v="[object WeakMap]",b="[object DataView]",S=l(n),k=l(r),E=l(i),_=l(o),T=l(a),A=s;(n&&A(new n(new ArrayBuffer(1)))!=b||r&&A(new r)!=u||i&&A(i.resolve())!=h||o&&A(new o)!=m||a&&A(new a)!=v)&&(A=function(I){var R=s(I),D=R==d?I.constructor:void 0,j=D?l(D):"";if(j)switch(j){case S:return b;case k:return u;case E:return h;case _:return m;case T:return v}return R}),t.exports=A}),kke=We((e,t)=>{var n=H_e(),r=tq(),i=Z_e(),o=bke(),a=_ke(),s=EP(),l=nq(),u=iq(),d=1,h="[object Arguments]",m="[object Array]",v="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function k(E,_,T,A,I,R){var D=s(E),j=s(_),z=D?m:a(E),V=j?m:a(_);z=z==h?v:z,V=V==h?v:V;var K=z==v,te=V==v,q=z==V;if(q&&l(E)){if(!l(_))return!1;D=!0,K=!1}if(q&&!K)return R||(R=new n),D||u(E)?r(E,_,T,A,I,R):i(E,_,z,T,A,I,R);if(!(T&d)){var F=K&&S.call(E,"__wrapped__"),U=te&&S.call(_,"__wrapped__");if(F||U){var X=F?E.value():E,Z=U?_.value():_;return R||(R=new n),I(X,Z,T,A,R)}}return q?(R||(R=new n),o(E,_,T,A,I,R)):!1}t.exports=k}),Eke=We((e,t)=>{var n=kke(),r=Xx();function i(o,a,s,l,u){return o===a?!0:o==null||a==null||!r(o)&&!r(a)?o!==o&&a!==a:n(o,a,s,l,i,u)}t.exports=i}),oq=We((e,t)=>{var n=Eke();function r(i,o){return n(i,o)}t.exports=r}),Pke=["ctrl","shift","alt","meta","mod"],Tke={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown"};function RC(e,t=","){return typeof e=="string"?e.split(t):e}function u2(e,t="+"){let n=e.toLocaleLowerCase().split(t).map(o=>o.trim()).map(o=>Tke[o]||o),r={alt:n.includes("alt"),ctrl:n.includes("ctrl"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},i=n.filter(o=>!Pke.includes(o));return{...r,keys:i}}function Lke(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function Ake(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function Oke(e){return aq(e,["input","textarea","select"])}function aq({target:e},t=!1){let n=e&&e.tagName;return t instanceof Array?Boolean(n&&t&&t.some(r=>r.toLowerCase()===n.toLowerCase())):Boolean(n&&t&&t===!0)}function Mke(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a '),!0):t?e.some(n=>t.includes(n))||e.includes("*"):!0}var Ike=(e,t,n)=>{let{alt:r,ctrl:i,meta:o,mod:a,shift:s,keys:l}=t,{altKey:u,ctrlKey:d,metaKey:h,shiftKey:m,key:v,code:b}=e,S=b.toLowerCase().replace("key",""),k=v.toLowerCase();if(u!==r&&k!=="alt"||m!==s&&k!=="shift")return!1;if(a){if(!h&&!d)return!1}else if(h!==o&&S!=="meta"||d!==i&&S!=="ctrl")return!1;return l&&l.length===1&&(l.includes(k)||l.includes(S))?!0:l?l.every(E=>n.has(E)):!l},Rke=w.createContext(void 0),Dke=()=>w.useContext(Rke),Nke=w.createContext({hotkeys:[],enabledScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),jke=()=>w.useContext(Nke),Bke=YG(oq());function Fke(e){let t=w.useRef(void 0);return(0,Bke.default)(t.current,e)||(t.current=e),t.current}var pD=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()};function Qe(e,t,n,r){let i=w.useRef(null),{current:o}=w.useRef(new Set),a=n instanceof Array?r instanceof Array?void 0:r:n,s=n instanceof Array?n:r instanceof Array?r:[],l=w.useCallback(t,[...s]),u=Fke(a),{enabledScopes:d}=jke(),h=Dke();return w.useLayoutEffect(()=>{if((u==null?void 0:u.enabled)===!1||!Mke(d,u==null?void 0:u.scopes))return;let m=S=>{var k;if(!(Oke(S)&&!aq(S,u==null?void 0:u.enableOnFormTags))){if(i.current!==null&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){pD(S);return}(k=S.target)!=null&&k.isContentEditable&&!(u!=null&&u.enableOnContentEditable)||RC(e,u==null?void 0:u.splitKey).forEach(E=>{var T;let _=u2(E,u==null?void 0:u.combinationKey);if(Ike(S,_,o)||(T=_.keys)!=null&&T.includes("*")){if(Lke(S,_,u==null?void 0:u.preventDefault),!Ake(S,_,u==null?void 0:u.enabled)){pD(S);return}l(S,_)}})}},v=S=>{o.add(S.key.toLowerCase()),((u==null?void 0:u.keydown)===void 0&&(u==null?void 0:u.keyup)!==!0||u!=null&&u.keydown)&&m(S)},b=S=>{S.key.toLowerCase()!=="meta"?o.delete(S.key.toLowerCase()):o.clear(),u!=null&&u.keyup&&m(S)};return(i.current||document).addEventListener("keyup",b),(i.current||document).addEventListener("keydown",v),h&&RC(e,u==null?void 0:u.splitKey).forEach(S=>h.addHotkey(u2(S,u==null?void 0:u.combinationKey))),()=>{(i.current||document).removeEventListener("keyup",b),(i.current||document).removeEventListener("keydown",v),h&&RC(e,u==null?void 0:u.splitKey).forEach(S=>h.removeHotkey(u2(S,u==null?void 0:u.combinationKey)))}},[e,l,u,d]),i}YG(oq());var D8=new Set;function $ke(e){(Array.isArray(e)?e:[e]).forEach(t=>D8.add(u2(t)))}function zke(e){(Array.isArray(e)?e:[e]).forEach(t=>{var r;let n=u2(t);for(let i of D8)(r=i.keys)!=null&&r.every(o=>{var a;return(a=n.keys)==null?void 0:a.includes(o)})&&D8.delete(i)})}window.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keydown",e=>{$ke(e.key)}),document.addEventListener("keyup",e=>{zke(e.key)})});var sq={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},gD=N.createContext&&N.createContext(sq),$d=globalThis&&globalThis.__assign||function(){return $d=Object.assign||function(e){for(var t,n=1,r=arguments.length;ne.canvas,Mr=ot([ln,Or,ir],(e,t,n)=>e.layerState.stagingArea.images.length>0||t==="unifiedCanvas"&&n.isProcessing),bq=e=>e.canvas.layerState.objects.find(U5),yp=e=>e.gallery,yEe=ot([yp,Wx,Mr,Or],(e,t,n,r)=>{const{categories:i,currentCategory:o,currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,galleryWidth:b,shouldUseSingleGalleryColumn:S}=e,{isLightboxOpen:k}=t;return{currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,galleryGridTemplateColumns:S?"auto":`repeat(auto-fill, minmax(${d}px, auto))`,activeTabName:r,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,images:i[o].images,areMoreImagesAvailable:i[o].areMoreImagesAvailable,currentCategory:o,galleryWidth:b,isLightboxOpen:k,isStaging:n,shouldEnableResize:!(k||r==="unifiedCanvas"&&s),shouldUseSingleGalleryColumn:S}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),bEe=ot([yp,ir,Wx,Or],(e,t,n,r)=>({mayDeleteImage:t.isConnected&&!t.isProcessing,galleryImageObjectFit:e.galleryImageObjectFit,galleryImageMinimumWidth:e.galleryImageMinimumWidth,shouldUseSingleGalleryColumn:e.shouldUseSingleGalleryColumn,activeTabName:r,isLightboxOpen:n.isLightboxOpen}),{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),SEe=ot(ir,e=>{const{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}=e;return{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),tS=w.forwardRef(({image:e,children:t},n)=>{const{isOpen:r,onOpen:i,onClose:o}=Wh(),a=Ie(),{shouldConfirmOnDelete:s,isConnected:l,isProcessing:u}=he(SEe),d=w.useRef(null),h=b=>{b.stopPropagation(),s?i():m()},m=()=>{l&&!u&&e&&a(D8e(e)),o()};Qe("delete",()=>{s?i():m()},[e,s,l,u]);const v=b=>a(jU(!b.target.checked));return y.jsxs(y.Fragment,{children:[w.cloneElement(t,{onClick:e?h:void 0,ref:n}),y.jsx(AV,{isOpen:r,leastDestructiveRef:d,onClose:o,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:"Delete image"}),y.jsx(n0,{children:y.jsxs(qe,{direction:"column",gap:5,children:[y.jsx(fn,{children:"Are you sure? Deleted images will be sent to the Bin. You can restore from there if you wish to."}),y.jsx(dn,{children:y.jsxs(qe,{alignItems:"center",children:[y.jsx(kn,{mb:0,children:"Don't ask me again"}),y.jsx(BE,{checked:!s,onChange:v})]})})]})}),y.jsxs(bx,{children:[y.jsx(as,{ref:d,onClick:o,className:"modal-close-btn",children:"Cancel"}),y.jsx(as,{colorScheme:"red",onClick:m,ml:3,children:"Delete"})]})]})})})]})});tS.displayName="DeleteImageModal";const xEe=ot([ir,yp,$y,mp,Wx,Or],(e,t,n,r,i,o)=>{const{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u}=e,{upscalingLevel:d,facetoolStrength:h}=n,{isLightboxOpen:m}=i,{shouldShowImageDetails:v}=r,{intermediateImage:b,currentImage:S}=t;return{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u,upscalingLevel:d,facetoolStrength:h,shouldDisableToolbarButtons:Boolean(b)||!S,currentImage:S,shouldShowImageDetails:v,activeTabName:o,isLightboxOpen:m}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}}),Sq=()=>{var z,V,K,te,q,F;const e=Ie(),{isProcessing:t,isConnected:n,isGFPGANAvailable:r,isESRGANAvailable:i,upscalingLevel:o,facetoolStrength:a,shouldDisableToolbarButtons:s,shouldShowImageDetails:l,currentImage:u,isLightboxOpen:d,activeTabName:h}=he(xEe),m=Ry(),{t:v}=Ve(),b=()=>{u&&(d&&e(Bm(!1)),e(k0(u)),e(qo("img2img")))},S=async()=>{if(!u)return;const U=await fetch(u.url).then(Z=>Z.blob()),X=[new ClipboardItem({[U.type]:U})];await navigator.clipboard.write(X),m({title:v("toast:imageCopied"),status:"success",duration:2500,isClosable:!0})},k=()=>{navigator.clipboard.writeText(u?window.location.toString()+u.url:"").then(()=>{m({title:v("toast:imageLinkCopied"),status:"success",duration:2500,isClosable:!0})})};Qe("shift+i",()=>{u?(b(),m({title:v("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:imageNotLoaded"),description:v("toast:imageNotLoadedDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const E=()=>{var U,X;u&&(u.metadata&&e(aU(u.metadata)),((U=u.metadata)==null?void 0:U.image.type)==="img2img"?e(qo("img2img")):((X=u.metadata)==null?void 0:X.image.type)==="txt2img"&&e(qo("txt2img")))};Qe("a",()=>{var U,X;["txt2img","img2img"].includes((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)==null?void 0:X.type)?(E(),m({title:v("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:parametersNotSet"),description:v("toast:parametersNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const _=()=>{u!=null&&u.metadata&&e(Ny(u.metadata.image.seed))};Qe("s",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.seed?(_(),m({title:v("toast:seedSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:seedNotSet"),description:v("toast:seedNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const T=()=>{var U,X,Z,W;if((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt){const[Q,ie]=aP((W=(Z=u==null?void 0:u.metadata)==null?void 0:Z.image)==null?void 0:W.prompt);Q&&e(jx(Q)),e(Q2(ie||""))}};Qe("p",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt?(T(),m({title:v("toast:promptSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:promptNotSet"),description:v("toast:promptNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const A=()=>{u&&e(I8e(u))};Qe("Shift+U",()=>{i&&!s&&n&&!t&&o?A():m({title:v("toast:upscalingFailed"),status:"error",duration:2500,isClosable:!0})},[u,i,s,n,t,o]);const I=()=>{u&&e(R8e(u))};Qe("Shift+R",()=>{r&&!s&&n&&!t&&a?I():m({title:v("toast:faceRestoreFailed"),status:"error",duration:2500,isClosable:!0})},[u,r,s,n,t,a]);const R=()=>e(HU(!l)),D=()=>{u&&(d&&e(Bm(!1)),e(Nx(u)),e(vi(!0)),h!=="unifiedCanvas"&&e(qo("unifiedCanvas")),m({title:v("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0}))};Qe("i",()=>{u?R():m({title:v("toast:metadataLoadFailed"),status:"error",duration:2500,isClosable:!0})},[u,l]);const j=()=>{e(Bm(!d))};return y.jsxs("div",{className:"current-image-options",children:[y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{"aria-label":`${v("parameters:sendTo")}...`,icon:y.jsx(pEe,{})}),children:y.jsxs("div",{className:"current-image-send-to-popover",children:[y.jsx(cr,{size:"sm",onClick:b,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToImg2Img")}),y.jsx(cr,{size:"sm",onClick:D,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToUnifiedCanvas")}),y.jsx(cr,{size:"sm",onClick:S,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImage")}),y.jsx(cr,{size:"sm",onClick:k,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImageToLink")}),y.jsx(Nh,{download:!0,href:u==null?void 0:u.url,children:y.jsx(cr,{leftIcon:y.jsx(TP,{}),size:"sm",w:"100%",children:v("parameters:downloadImage")})})]})}),y.jsx(Ze,{icon:y.jsx(Jke,{}),tooltip:d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"aria-label":d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"data-selected":d,onClick:j})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Ze,{icon:y.jsx(cEe,{}),tooltip:`${v("parameters:usePrompt")} (P)`,"aria-label":`${v("parameters:usePrompt")} (P)`,isDisabled:!((V=(z=u==null?void 0:u.metadata)==null?void 0:z.image)!=null&&V.prompt),onClick:T}),y.jsx(Ze,{icon:y.jsx(hEe,{}),tooltip:`${v("parameters:useSeed")} (S)`,"aria-label":`${v("parameters:useSeed")} (S)`,isDisabled:!((te=(K=u==null?void 0:u.metadata)==null?void 0:K.image)!=null&&te.seed),onClick:_}),y.jsx(Ze,{icon:y.jsx(Kke,{}),tooltip:`${v("parameters:useAll")} (A)`,"aria-label":`${v("parameters:useAll")} (A)`,isDisabled:!["txt2img","img2img"].includes((F=(q=u==null?void 0:u.metadata)==null?void 0:q.image)==null?void 0:F.type),onClick:E})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{icon:y.jsx(nEe,{}),"aria-label":v("parameters:restoreFaces")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(wP,{}),y.jsx(cr,{isDisabled:!r||!u||!(n&&!t)||!a,onClick:I,children:v("parameters:restoreFaces")})]})}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Ze,{icon:y.jsx(Qke,{}),"aria-label":v("parameters:upscale")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(CP,{}),y.jsx(cr,{isDisabled:!i||!u||!(n&&!t)||!o,onClick:A,children:v("parameters:upscaleImage")})]})})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(Ze,{icon:y.jsx(fq,{}),tooltip:`${v("parameters:info")} (I)`,"aria-label":`${v("parameters:info")} (I)`,"data-selected":l,onClick:R})}),y.jsx(tS,{image:u,children:y.jsx(Ze,{icon:y.jsx(vp,{}),tooltip:`${v("parameters:deleteImage")} (Del)`,"aria-label":`${v("parameters:deleteImage")} (Del)`,isDisabled:!u||!n||t,style:{backgroundColor:"var(--btn-delete-image)"}})})]})};yt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});yt({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});yt({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});yt({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});yt({displayName:"SunIcon",path:N.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},N.createElement("circle",{cx:"12",cy:"12",r:"5"}),N.createElement("path",{d:"M12 1v2"}),N.createElement("path",{d:"M12 21v2"}),N.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),N.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),N.createElement("path",{d:"M1 12h2"}),N.createElement("path",{d:"M21 12h2"}),N.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),N.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});yt({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});yt({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:N.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});yt({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});yt({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});yt({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});yt({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});yt({displayName:"ViewIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),N.createElement("circle",{cx:"12",cy:"12",r:"2"}))});yt({displayName:"ViewOffIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),N.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});yt({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});var wEe=yt({displayName:"DeleteIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});yt({displayName:"RepeatIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),N.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});yt({displayName:"RepeatClockIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),N.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});var CEe=yt({displayName:"EditIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),N.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});yt({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});yt({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});yt({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});yt({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});yt({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});yt({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});yt({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});yt({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});yt({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});var xq=yt({displayName:"ExternalLinkIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),N.createElement("path",{d:"M15 3h6v6"}),N.createElement("path",{d:"M10 14L21 3"}))});yt({displayName:"LinkIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),N.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});yt({displayName:"PlusSquareIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),N.createElement("path",{d:"M12 8v8"}),N.createElement("path",{d:"M8 12h8"}))});yt({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});yt({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});yt({displayName:"TimeIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),N.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});yt({displayName:"ArrowRightIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),N.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});yt({displayName:"ArrowLeftIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),N.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});yt({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});yt({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});yt({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});yt({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});yt({displayName:"EmailIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),N.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});yt({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});yt({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});yt({displayName:"SpinnerIcon",path:N.createElement(N.Fragment,null,N.createElement("defs",null,N.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},N.createElement("stop",{stopColor:"currentColor",offset:"0%"}),N.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),N.createElement("g",{transform:"translate(2)",fill:"none"},N.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),N.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),N.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});yt({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});yt({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:N.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});yt({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});yt({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});yt({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});yt({displayName:"InfoOutlineIcon",path:N.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},N.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),N.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),N.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});yt({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});yt({displayName:"QuestionOutlineIcon",path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});yt({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});yt({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});yt({viewBox:"0 0 14 14",path:N.createElement("g",{fill:"currentColor"},N.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});yt({displayName:"MinusIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});yt({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});function _Ee(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M245.09 327.74v-37.32c57.07 0 84.51 13.47 108.58 38.68 5.4 5.65 15 1.32 14.29-6.43-5.45-61.45-34.14-117.09-122.87-117.09v-37.32a8.32 8.32 0 00-14.05-6L146.58 242a8.2 8.2 0 000 11.94L231 333.71a8.32 8.32 0 0014.09-5.97z"}},{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}}]})(e)}const zn=({label:e,value:t,onClick:n,isLink:r,labelPosition:i,withCopy:o=!1})=>y.jsxs(qe,{gap:2,children:[n&&y.jsx(lo,{label:`Recall ${e}`,children:y.jsx(ss,{"aria-label":"Use this parameter",icon:y.jsx(_Ee,{}),size:"xs",variant:"ghost",fontSize:20,onClick:n})}),o&&y.jsx(lo,{label:`Copy ${e}`,children:y.jsx(ss,{"aria-label":`Copy ${e}`,icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(t.toString())})}),y.jsxs(qe,{direction:i?"column":"row",children:[y.jsxs(fn,{fontWeight:"semibold",whiteSpace:"pre-wrap",pr:2,children:[e,":"]}),r?y.jsxs(Nh,{href:t.toString(),isExternal:!0,wordBreak:"break-all",children:[t.toString()," ",y.jsx(xq,{mx:"2px"})]}):y.jsx(fn,{overflowY:"scroll",wordBreak:"break-all",children:t.toString()})]})]}),kEe=(e,t)=>e.image.uuid===t.image.uuid,MP=w.memo(({image:e,styleClass:t})=>{var V,K;const n=Ie();Qe("esc",()=>{n(HU(!1))});const r=((V=e==null?void 0:e.metadata)==null?void 0:V.image)||{},i=e==null?void 0:e.dreamPrompt,{cfg_scale:o,fit:a,height:s,hires_fix:l,init_image_path:u,mask_image_path:d,orig_path:h,perlin:m,postprocessing:v,prompt:b,sampler:S,scale:k,seamless:E,seed:_,steps:T,strength:A,threshold:I,type:R,variations:D,width:j}=r,z=JSON.stringify(e.metadata,null,2);return y.jsx("div",{className:`image-metadata-viewer ${t}`,children:y.jsxs(qe,{gap:1,direction:"column",width:"100%",children:[y.jsxs(qe,{gap:2,children:[y.jsx(fn,{fontWeight:"semibold",children:"File:"}),y.jsxs(Nh,{href:e.url,isExternal:!0,maxW:"calc(100% - 3rem)",children:[e.url.length>64?e.url.substring(0,64).concat("..."):e.url,y.jsx(xq,{mx:"2px"})]})]}),Object.keys(r).length>0?y.jsxs(y.Fragment,{children:[R&&y.jsx(zn,{label:"Generation type",value:R}),((K=e.metadata)==null?void 0:K.model_weights)&&y.jsx(zn,{label:"Model",value:e.metadata.model_weights}),["esrgan","gfpgan"].includes(R)&&y.jsx(zn,{label:"Original image",value:h}),R==="gfpgan"&&A!==void 0&&y.jsx(zn,{label:"Fix faces strength",value:A,onClick:()=>n(I4(A))}),R==="esrgan"&&k!==void 0&&y.jsx(zn,{label:"Upscaling scale",value:k,onClick:()=>n(c8(k))}),R==="esrgan"&&A!==void 0&&y.jsx(zn,{label:"Upscaling strength",value:A,onClick:()=>n(d8(A))}),b&&y.jsx(zn,{label:"Prompt",labelPosition:"top",value:i2(b),onClick:()=>n(jx(b))}),_!==void 0&&y.jsx(zn,{label:"Seed",value:_,onClick:()=>n(Ny(_))}),I!==void 0&&y.jsx(zn,{label:"Noise Threshold",value:I,onClick:()=>n(vU(I))}),m!==void 0&&y.jsx(zn,{label:"Perlin Noise",value:m,onClick:()=>n(dU(m))}),S&&y.jsx(zn,{label:"Sampler",value:S,onClick:()=>n(fU(S))}),T&&y.jsx(zn,{label:"Steps",value:T,onClick:()=>n(mU(T))}),o!==void 0&&y.jsx(zn,{label:"CFG scale",value:o,onClick:()=>n(sU(o))}),D&&D.length>0&&y.jsx(zn,{label:"Seed-weight pairs",value:K5(D),onClick:()=>n(pU(K5(D)))}),E&&y.jsx(zn,{label:"Seamless",value:E,onClick:()=>n(hU(E))}),l&&y.jsx(zn,{label:"High Resolution Optimization",value:l,onClick:()=>n(lP(l))}),j&&y.jsx(zn,{label:"Width",value:j,onClick:()=>n(yU(j))}),s&&y.jsx(zn,{label:"Height",value:s,onClick:()=>n(lU(s))}),u&&y.jsx(zn,{label:"Initial image",value:u,isLink:!0,onClick:()=>n(k0(u))}),d&&y.jsx(zn,{label:"Mask image",value:d,isLink:!0,onClick:()=>n(cU(d))}),R==="img2img"&&A&&y.jsx(zn,{label:"Image to image strength",value:A,onClick:()=>n(u8(A))}),a&&y.jsx(zn,{label:"Image to image fit",value:a,onClick:()=>n(gU(a))}),v&&v.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Dh,{size:"sm",children:"Postprocessing"}),v.map((te,q)=>{if(te.type==="esrgan"){const{scale:F,strength:U}=te;return y.jsxs(qe,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Upscale (ESRGAN)`}),y.jsx(zn,{label:"Scale",value:F,onClick:()=>n(c8(F))}),y.jsx(zn,{label:"Strength",value:U,onClick:()=>n(d8(U))})]},q)}else if(te.type==="gfpgan"){const{strength:F}=te;return y.jsxs(qe,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (GFPGAN)`}),y.jsx(zn,{label:"Strength",value:F,onClick:()=>{n(I4(F)),n(R4("gfpgan"))}})]},q)}else if(te.type==="codeformer"){const{strength:F,fidelity:U}=te;return y.jsxs(qe,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (Codeformer)`}),y.jsx(zn,{label:"Strength",value:F,onClick:()=>{n(I4(F)),n(R4("codeformer"))}}),U&&y.jsx(zn,{label:"Fidelity",value:U,onClick:()=>{n(xU(U)),n(R4("codeformer"))}})]},q)}})]}),i&&y.jsx(zn,{withCopy:!0,label:"Dream Prompt",value:i}),y.jsxs(qe,{gap:2,direction:"column",children:[y.jsxs(qe,{gap:2,children:[y.jsx(lo,{label:"Copy metadata JSON",children:y.jsx(ss,{"aria-label":"Copy metadata JSON",icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(z)})}),y.jsx(fn,{fontWeight:"semibold",children:"Metadata JSON:"})]}),y.jsx("div",{className:"image-json-viewer",children:y.jsx("pre",{children:z})})]})]}):y.jsx(u$,{width:"100%",pt:10,children:y.jsx(fn,{fontSize:"lg",fontWeight:"semibold",children:"No metadata available"})})]})})},kEe);MP.displayName="ImageMetadataViewer";const wq=ot([yp,mp],(e,t)=>{const{currentCategory:n,currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t,a=e.categories[r?r.category:"result"].images,s=a.findIndex(u=>{var d;return u.uuid===((d=e==null?void 0:e.currentImage)==null?void 0:d.uuid)}),l=a.length;return{imageToDisplay:i||r,isIntermediate:Boolean(i),viewerImageToDisplay:r,currentCategory:n,isOnFirstImage:s===0,isOnLastImage:!isNaN(s)&&s===l-1,shouldShowImageDetails:o,shouldShowPrevImageButton:s===0,shouldShowNextImageButton:!isNaN(s)&&s===l-1}},{memoizeOptions:{resultEqualityCheck:Ee.isEqual}});function EEe(){const e=Ie(),{isOnFirstImage:t,isOnLastImage:n,shouldShowImageDetails:r,imageToDisplay:i,isIntermediate:o}=he(wq),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return y.jsxs("div",{className:"current-image-preview",children:[i&&y.jsx(XS,{src:i.url,width:i.width,height:i.height,style:{imageRendering:o?"pixelated":"initial"}}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!t&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(uq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!n&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(cq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),r&&i&&y.jsx(MP,{image:i,styleClass:"current-image-metadata"})]})}var PEe=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof a>"u"?void 0:Number(a)}},REe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],xD="__resizable_base__",Cq=function(e){AEe(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(xD):o.className+=xD,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||OEe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,a=this.resizable.style.position;a!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=a}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&n.propsSize[s].toString().endsWith("%")){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var l=n.getParentSize(),u=Number(n.state[s].toString().replace("px","")),d=u/l[s]*100;return d+"%"}return DC(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?DC(r.width):i("width"),a=r&&typeof r.height<"u"&&!this.state.isResizing?DC(r.height):i("height");return{width:o,height:a}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,a=i&&Ng("left",o),s=i&&Ng("top",o),l,u;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=a?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(n=n&&n"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,v=typeof i.height>"u"||i.height<0?r:i.height,b=l||0,S=u||0;if(s){var k=(m-b)*this.ratio+S,E=(v-b)*this.ratio+S,_=(d-S)/this.ratio+b,T=(h-S)/this.ratio+b,A=Math.max(d,k),I=Math.min(h,E),R=Math.max(m,_),D=Math.min(v,T);n=Wb(n,A,I),r=Wb(r,R,D)}else n=Wb(n,d,h),r=Wb(r,m,v);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),a=o.left,s=o.top,l=o.right,u=o.bottom;this.resizableLeft=a,this.resizableRight=l,this.resizableTop=s,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&MEe(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ub(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var a=this.props.onResizeStart(n,r,this.resizable);if(a===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var u=this.parentNode;if(u){var d=this.window.getComputedStyle(u).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ub(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,a=i.maxHeight,s=i.minWidth,l=i.minHeight,u=Ub(n)?n.touches[0].clientX:n.clientX,d=Ub(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,v=h.original,b=h.width,S=h.height,k=this.getParentSize(),E=IEe(k,this.window.innerWidth,this.window.innerHeight,o,a,s,l);o=E.maxWidth,a=E.maxHeight,s=E.minWidth,l=E.minHeight;var _=this.calculateNewSizeFromDirection(u,d),T=_.newHeight,A=_.newWidth,I=this.calculateNewMaxFromBoundary(o,a);this.props.snap&&this.props.snap.x&&(A=SD(A,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(T=SD(T,this.props.snap.y,this.props.snapGap));var R=this.calculateNewSizeFromAspectRatio(A,T,{width:I.maxWidth,height:I.maxHeight},{width:s,height:l});if(A=R.newWidth,T=R.newHeight,this.props.grid){var D=bD(A,this.props.grid[0]),j=bD(T,this.props.grid[1]),z=this.props.snapGap||0;A=z===0||Math.abs(D-A)<=z?D:A,T=z===0||Math.abs(j-T)<=z?j:T}var V={width:A-v.width,height:T-v.height};if(b&&typeof b=="string"){if(b.endsWith("%")){var K=A/k.width*100;A=K+"%"}else if(b.endsWith("vw")){var te=A/this.window.innerWidth*100;A=te+"vw"}else if(b.endsWith("vh")){var q=A/this.window.innerHeight*100;A=q+"vh"}}if(S&&typeof S=="string"){if(S.endsWith("%")){var K=T/k.height*100;T=K+"%"}else if(S.endsWith("vw")){var te=T/this.window.innerWidth*100;T=te+"vw"}else if(S.endsWith("vh")){var q=T/this.window.innerHeight*100;T=q+"vh"}}var F={width:this.createSizeForCssProperty(A,"width"),height:this.createSizeForCssProperty(T,"height")};this.flexDir==="row"?F.flexBasis=F.width:this.flexDir==="column"&&(F.flexBasis=F.height),Qs.flushSync(function(){r.setState(F)}),this.props.onResize&&this.props.onResize(n,m,this.resizable,V)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,a=r.original;if(!(!i||!this.resizable)){var s={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,a=r.handleClasses,s=r.handleWrapperStyle,l=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?w.createElement(LEe,{key:h,direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:a&&a[h]},u&&u[h]?u[h]:null):null});return w.createElement("div",{className:l,style:s},d)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(a,s){return REe.indexOf(s)!==-1||(a[s]=n.props[s]),a},{}),i=Nl(Nl(Nl({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return w.createElement(o,Nl({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&w.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(w.PureComponent);const er=e=>{const{label:t,styleClass:n,...r}=e;return y.jsx(QF,{className:`invokeai__checkbox ${n}`,...r,children:t})};function _q(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21 11H6.414l5.293-5.293-1.414-1.414L2.586 12l7.707 7.707 1.414-1.414L6.414 13H21z"}}]})(e)}function DEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19.002 3h-14c-1.103 0-2 .897-2 2v4h2V5h14v14h-14v-4h-2v4c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2V5c0-1.103-.898-2-2-2z"}},{tag:"path",attr:{d:"m11 16 5-4-5-4v3.001H3v2h8z"}}]})(e)}function Qx(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 16c1.671 0 3-1.331 3-3s-1.329-3-3-3-3 1.331-3 3 1.329 3 3 3z"}},{tag:"path",attr:{d:"M20.817 11.186a8.94 8.94 0 0 0-1.355-3.219 9.053 9.053 0 0 0-2.43-2.43 8.95 8.95 0 0 0-3.219-1.355 9.028 9.028 0 0 0-1.838-.18V2L8 5l3.975 3V6.002c.484-.002.968.044 1.435.14a6.961 6.961 0 0 1 2.502 1.053 7.005 7.005 0 0 1 1.892 1.892A6.967 6.967 0 0 1 19 13a7.032 7.032 0 0 1-.55 2.725 7.11 7.11 0 0 1-.644 1.188 7.2 7.2 0 0 1-.858 1.039 7.028 7.028 0 0 1-3.536 1.907 7.13 7.13 0 0 1-2.822 0 6.961 6.961 0 0 1-2.503-1.054 7.002 7.002 0 0 1-1.89-1.89A6.996 6.996 0 0 1 5 13H3a9.02 9.02 0 0 0 1.539 5.034 9.096 9.096 0 0 0 2.428 2.428A8.95 8.95 0 0 0 12 22a9.09 9.09 0 0 0 1.814-.183 9.014 9.014 0 0 0 3.218-1.355 8.886 8.886 0 0 0 1.331-1.099 9.228 9.228 0 0 0 1.1-1.332A8.952 8.952 0 0 0 21 13a9.09 9.09 0 0 0-.183-1.814z"}}]})(e)}function NEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M6.758 8.758 5.344 7.344a8.048 8.048 0 0 0-1.841 2.859l1.873.701a6.048 6.048 0 0 1 1.382-2.146zM19 12.999a7.935 7.935 0 0 0-2.344-5.655A7.917 7.917 0 0 0 12 5.069V2L7 6l5 4V7.089a5.944 5.944 0 0 1 3.242 1.669A5.956 5.956 0 0 1 17 13v.002c0 .33-.033.655-.086.977-.007.043-.011.088-.019.131a6.053 6.053 0 0 1-1.138 2.536c-.16.209-.331.412-.516.597a5.954 5.954 0 0 1-.728.613 5.906 5.906 0 0 1-2.277 1.015c-.142.03-.285.05-.43.069-.062.009-.122.021-.184.027a6.104 6.104 0 0 1-1.898-.103L9.3 20.819a8.087 8.087 0 0 0 2.534.136c.069-.007.138-.021.207-.03.205-.026.409-.056.61-.098l.053-.009-.001-.005a7.877 7.877 0 0 0 2.136-.795l.001.001.028-.019a7.906 7.906 0 0 0 1.01-.67c.27-.209.532-.43.777-.675.248-.247.47-.513.681-.785.021-.028.049-.053.07-.081l-.006-.004a7.899 7.899 0 0 0 1.093-1.997l.008.003c.029-.078.05-.158.076-.237.037-.11.075-.221.107-.333.04-.14.073-.281.105-.423.022-.099.048-.195.066-.295.032-.171.056-.344.076-.516.01-.076.023-.15.03-.227.023-.249.037-.5.037-.753.002-.002.002-.004.002-.008zM6.197 16.597l-1.6 1.201a8.045 8.045 0 0 0 2.569 2.225l.961-1.754a6.018 6.018 0 0 1-1.93-1.672zM5 13c0-.145.005-.287.015-.429l-1.994-.143a7.977 7.977 0 0 0 .483 3.372l1.873-.701A5.975 5.975 0 0 1 5 13z"}}]})(e)}function jEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16.242 17.242a6.04 6.04 0 0 1-1.37 1.027l.961 1.754a8.068 8.068 0 0 0 2.569-2.225l-1.6-1.201a5.938 5.938 0 0 1-.56.645zm1.743-4.671a5.975 5.975 0 0 1-.362 2.528l1.873.701a7.977 7.977 0 0 0 .483-3.371l-1.994.142zm1.512-2.368a8.048 8.048 0 0 0-1.841-2.859l-1.414 1.414a6.071 6.071 0 0 1 1.382 2.146l1.873-.701zm-8.128 8.763c-.047-.005-.094-.015-.141-.021a6.701 6.701 0 0 1-.468-.075 5.923 5.923 0 0 1-2.421-1.122 5.954 5.954 0 0 1-.583-.506 6.138 6.138 0 0 1-.516-.597 5.91 5.91 0 0 1-.891-1.634 6.086 6.086 0 0 1-.247-.902c-.008-.043-.012-.088-.019-.131A6.332 6.332 0 0 1 6 13.002V13c0-1.603.624-3.109 1.758-4.242A5.944 5.944 0 0 1 11 7.089V10l5-4-5-4v3.069a7.917 7.917 0 0 0-4.656 2.275A7.936 7.936 0 0 0 4 12.999v.009c0 .253.014.504.037.753.007.076.021.15.03.227.021.172.044.345.076.516.019.1.044.196.066.295.032.142.065.283.105.423.032.112.07.223.107.333.026.079.047.159.076.237l.008-.003A7.948 7.948 0 0 0 5.6 17.785l-.007.005c.021.028.049.053.07.081.211.272.433.538.681.785a8.236 8.236 0 0 0 .966.816c.265.192.537.372.821.529l.028.019.001-.001a7.877 7.877 0 0 0 2.136.795l-.001.005.053.009c.201.042.405.071.61.098.069.009.138.023.207.03a8.038 8.038 0 0 0 2.532-.137l-.424-1.955a6.11 6.11 0 0 1-1.904.102z"}}]})(e)}function BEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11 6H9v3H6v2h3v3h2v-3h3V9h-3z"}},{tag:"path",attr:{d:"M10 2c-4.411 0-8 3.589-8 8s3.589 8 8 8a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8zm0 14c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6z"}}]})(e)}function FEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M6 9h8v2H6z"}},{tag:"path",attr:{d:"M10 18a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8 3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6z"}}]})(e)}function na(e){const[t,n]=w.useState(!1),{label:r,value:i,min:o=1,max:a=100,step:s=1,onChange:l,width:u="100%",tooltipSuffix:d="",withSliderMarks:h=!1,sliderMarkLeftOffset:m=0,sliderMarkRightOffset:v=-7,withInput:b=!1,isInteger:S=!1,inputWidth:k="5.5rem",inputReadOnly:E=!1,withReset:_=!1,hideTooltip:T=!1,isCompact:A=!1,handleReset:I,isResetDisabled:R,isSliderDisabled:D,isInputDisabled:j,styleClass:z,sliderFormControlProps:V,sliderFormLabelProps:K,sliderMarkProps:te,sliderTrackProps:q,sliderThumbProps:F,sliderNumberInputProps:U,sliderNumberInputFieldProps:X,sliderNumberInputStepperProps:Z,sliderTooltipProps:W,sliderIAIIconButtonProps:Q,...ie}=e,[fe,Se]=w.useState(String(i));w.useEffect(()=>{Se(i)},[i]);const Te=w.useMemo(()=>U!=null&&U.max?U.max:a,[a,U==null?void 0:U.max]),ye=_e=>{l(_e)},He=_e=>{_e.target.value===""&&(_e.target.value=String(o));const lt=Ee.clamp(S?Math.floor(Number(_e.target.value)):Number(fe),o,Te);l(lt)},Ne=_e=>{Se(_e)},tt=()=>{I&&I()};return y.jsxs(dn,{className:z?`invokeai__slider-component ${z}`:"invokeai__slider-component","data-markers":h,style:A?{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"1rem",margin:0,padding:0}:{},...V,children:[y.jsx(kn,{className:"invokeai__slider-component-label",...K,children:r}),y.jsxs(wy,{w:"100%",gap:2,alignItems:"center",children:[y.jsxs(jE,{"aria-label":r,value:i,min:o,max:a,step:s,onChange:ye,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),focusThumbOnChange:!1,isDisabled:D,width:u,...ie,children:[h&&y.jsxs(y.Fragment,{children:[y.jsx(q9,{value:o,className:"invokeai__slider-mark invokeai__slider-mark-start",ml:m,...te,children:o}),y.jsx(q9,{value:a,className:"invokeai__slider-mark invokeai__slider-mark-end",ml:v,...te,children:a})]}),y.jsx(ZV,{className:"invokeai__slider_track",...q,children:y.jsx(QV,{className:"invokeai__slider_track-filled"})}),y.jsx(lo,{hasArrow:!0,className:"invokeai__slider-component-tooltip",placement:"top",isOpen:t,label:`${i}${d}`,hidden:T,...W,children:y.jsx(XV,{className:"invokeai__slider-thumb",...F})})]}),b&&y.jsxs(TE,{min:o,max:Te,step:s,value:fe,onChange:Ne,onBlur:He,className:"invokeai__slider-number-field",isDisabled:j,...U,children:[y.jsx(LE,{className:"invokeai__slider-number-input",width:k,readOnly:E,minWidth:k,...X}),y.jsxs(IV,{...Z,children:[y.jsx(OE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"}),y.jsx(AE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"})]})]}),_&&y.jsx(Ze,{size:"sm","aria-label":"Reset",tooltip:"Reset",icon:y.jsx(Qx,{}),onClick:tt,isDisabled:R,...Q})]})]})}function kq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z"}}]})(e)}function Eq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146zm.122 2.112v-.002.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.507 4.507 0 0 0-.288-.076 4.922 4.922 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.924 4.924 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343a1.779 1.779 0 0 0 .062.46z"}}]})(e)}function $Ee(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"}}]})(e)}function zEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}}]})(e)}function HEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function VEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function Pq(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function WEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function UEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function GEe(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function qEe(e,t){e.classList?e.classList.add(t):GEe(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function YEe(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wD(e.className,t):e.setAttribute("class",wD(e.className&&e.className.baseVal||"",t))}const CD={disabled:!1},Tq=N.createContext(null);var Lq=function(t){return t.scrollTop},Mv="unmounted",ph="exited",gh="entering",zg="entered",N8="exiting",gc=function(e){yE(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ph,o.appearStatus=gh):l=zg:r.unmountOnExit||r.mountOnEnter?l=Mv:l=ph,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Mv?{status:ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==gh&&a!==zg&&(o=gh):(a===gh||a===zg)&&(o=N8)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===gh){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this);a&&Lq(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ph&&this.setState({status:Mv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[vb.findDOMNode(this),s],u=l[0],d=l[1],h=this.getTimeouts(),m=s?h.appear:h.enter;if(!i&&!a||CD.disabled){this.safeSetState({status:zg},function(){o.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:gh},function(){o.props.onEntering(u,d),o.onTransitionEnd(m,function(){o.safeSetState({status:zg},function(){o.props.onEntered(u,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:vb.findDOMNode(this);if(!o||CD.disabled){this.safeSetState({status:ph},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:N8},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ph},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Mv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=gE(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(Tq.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);gc.contextType=Tq;gc.propTypes={};function jg(){}gc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jg,onEntering:jg,onEntered:jg,onExit:jg,onExiting:jg,onExited:jg};gc.UNMOUNTED=Mv;gc.EXITED=ph;gc.ENTERING=gh;gc.ENTERED=zg;gc.EXITING=N8;const KEe=gc;var XEe=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return qEe(t,r)})},NC=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return YEe(t,r)})},IP=function(e){yE(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;ab,Object.values(b));return w.createElement(S.Provider,{value:k},v)}function d(h,m){const v=(m==null?void 0:m[e][l])||s,b=w.useContext(v);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const i=()=>{const o=n.map(a=>w.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,ZEe(i,...t)]}function ZEe(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const h=l(o)[`__scope${u}`];return{...s,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function QEe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Oq(...e){return t=>e.forEach(n=>QEe(n,t))}function fs(...e){return w.useCallback(Oq(...e),e)}const oy=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(ePe);if(o){const a=o.props.children,s=i.map(l=>l===o?w.Children.count(a)>1?w.Children.only(null):w.isValidElement(a)?a.props.children:null:l);return w.createElement(j8,bn({},r,{ref:t}),w.isValidElement(a)?w.cloneElement(a,void 0,s):null)}return w.createElement(j8,bn({},r,{ref:t}),n)});oy.displayName="Slot";const j8=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...tPe(r,n.props),ref:Oq(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});j8.displayName="SlotClone";const JEe=({children:e})=>w.createElement(w.Fragment,null,e);function ePe(e){return w.isValidElement(e)&&e.type===JEe}function tPe(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{o(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const nPe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ac=nPe.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:o,...a}=r,s=o?oy:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,bn({},a,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Mq(e,t){e&&Qs.flushSync(()=>e.dispatchEvent(t))}function Iq(e){const t=e+"CollectionProvider",[n,r]=Hy(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:b,children:S}=v,k=N.useRef(null),E=N.useRef(new Map).current;return N.createElement(i,{scope:b,itemMap:E,collectionRef:k},S)},s=e+"CollectionSlot",l=N.forwardRef((v,b)=>{const{scope:S,children:k}=v,E=o(s,S),_=fs(b,E.collectionRef);return N.createElement(oy,{ref:_},k)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",h=N.forwardRef((v,b)=>{const{scope:S,children:k,...E}=v,_=N.useRef(null),T=fs(b,_),A=o(u,S);return N.useEffect(()=>(A.itemMap.set(_,{ref:_,...E}),()=>void A.itemMap.delete(_))),N.createElement(oy,{[d]:"",ref:T},k)});function m(v){const b=o(e+"CollectionConsumer",v);return N.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const E=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,I)=>E.indexOf(A.ref.current)-E.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},m,r]}const rPe=w.createContext(void 0);function Rq(e){const t=w.useContext(rPe);return e||t||"ltr"}function uu(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function iPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const B8="dismissableLayer.update",oPe="dismissableLayer.pointerDownOutside",aPe="dismissableLayer.focusOutside";let _D;const sPe=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),lPe=w.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=w.useContext(sPe),[h,m]=w.useState(null),v=(n=h==null?void 0:h.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,b]=w.useState({}),S=fs(t,j=>m(j)),k=Array.from(d.layers),[E]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=k.indexOf(E),T=h?k.indexOf(h):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,I=T>=_,R=uPe(j=>{const z=j.target,V=[...d.branches].some(K=>K.contains(z));!I||V||(o==null||o(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),D=cPe(j=>{const z=j.target;[...d.branches].some(K=>K.contains(z))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return iPe(j=>{T===d.layers.size-1&&(i==null||i(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),w.useEffect(()=>{if(h)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(_D=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),kD(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=_D)}},[h,v,r,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),kD())},[h,d]),w.useEffect(()=>{const j=()=>b({});return document.addEventListener(B8,j),()=>document.removeEventListener(B8,j)},[]),w.createElement(ac.div,bn({},u,{ref:S,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:rr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:rr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:rr(e.onPointerDownCapture,R.onPointerDownCapture)}))});function uPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let u=function(){Dq(oPe,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function cPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Dq(aPe,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kD(){const e=new CustomEvent(B8);document.dispatchEvent(e)}function Dq(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Mq(i,o):i.dispatchEvent(o)}let jC=0;function dPe(){w.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ED()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ED()),jC++,()=>{jC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),jC--}},[])}function ED(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const BC="focusScope.autoFocusOnMount",FC="focusScope.autoFocusOnUnmount",PD={bubbles:!1,cancelable:!0},fPe=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=w.useState(null),u=uu(i),d=uu(o),h=w.useRef(null),m=fs(t,S=>l(S)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let S=function(E){if(v.paused||!s)return;const _=E.target;s.contains(_)?h.current=_:mh(h.current,{select:!0})},k=function(E){v.paused||!s||s.contains(E.relatedTarget)||mh(h.current,{select:!0})};return document.addEventListener("focusin",S),document.addEventListener("focusout",k),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k)}}},[r,s,v.paused]),w.useEffect(()=>{if(s){LD.add(v);const S=document.activeElement;if(!s.contains(S)){const E=new CustomEvent(BC,PD);s.addEventListener(BC,u),s.dispatchEvent(E),E.defaultPrevented||(hPe(yPe(Nq(s)),{select:!0}),document.activeElement===S&&mh(s))}return()=>{s.removeEventListener(BC,u),setTimeout(()=>{const E=new CustomEvent(FC,PD);s.addEventListener(FC,d),s.dispatchEvent(E),E.defaultPrevented||mh(S??document.body,{select:!0}),s.removeEventListener(FC,d),LD.remove(v)},0)}}},[s,u,d,v]);const b=w.useCallback(S=>{if(!n&&!r||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,E=document.activeElement;if(k&&E){const _=S.currentTarget,[T,A]=pPe(_);T&&A?!S.shiftKey&&E===A?(S.preventDefault(),n&&mh(T,{select:!0})):S.shiftKey&&E===T&&(S.preventDefault(),n&&mh(A,{select:!0})):E===_&&S.preventDefault()}},[n,r,v.paused]);return w.createElement(ac.div,bn({tabIndex:-1},a,{ref:m,onKeyDown:b}))});function hPe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mh(r,{select:t}),document.activeElement!==n)return}function pPe(e){const t=Nq(e),n=TD(t,e),r=TD(t.reverse(),e);return[n,r]}function Nq(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function TD(e,t){for(const n of e)if(!gPe(n,{upTo:t}))return n}function gPe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function mPe(e){return e instanceof HTMLInputElement&&"select"in e}function mh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&mPe(e)&&t&&e.select()}}const LD=vPe();function vPe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=AD(e,t),e.unshift(t)},remove(t){var n;e=AD(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function AD(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function yPe(e){return e.filter(t=>t.tagName!=="A")}const a0=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:()=>{},bPe=ZC["useId".toString()]||(()=>{});let SPe=0;function xPe(e){const[t,n]=w.useState(bPe());return a0(()=>{e||n(r=>r??String(SPe++))},[e]),e||(t?`radix-${t}`:"")}function A0(e){return e.split("-")[0]}function Jx(e){return e.split("-")[1]}function O0(e){return["top","bottom"].includes(A0(e))?"x":"y"}function RP(e){return e==="y"?"height":"width"}function OD(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=O0(t),l=RP(s),u=r[l]/2-i[l]/2,d=s==="x";let h;switch(A0(t)){case"top":h={x:o,y:r.y-i.height};break;case"bottom":h={x:o,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(Jx(t)){case"start":h[s]-=u*(n&&d?-1:1);break;case"end":h[s]+=u*(n&&d?-1:1)}return h}const wPe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=OD(l,r,s),h=r,m={},v=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=jq(r),d={x:i,y:o},h=O0(a),m=Jx(a),v=RP(h),b=await l.getDimensions(n),S=h==="y"?"top":"left",k=h==="y"?"bottom":"right",E=s.reference[v]+s.reference[h]-d[h]-s.floating[v],_=d[h]-s.reference[h],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let A=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0;A===0&&(A=s.floating[v]);const I=E/2-_/2,R=u[S],D=A-b[v]-u[k],j=A/2-b[v]/2+I,z=F8(R,j,D),V=(m==="start"?u[S]:u[k])>0&&j!==z&&s.reference[v]<=s.floating[v];return{[h]:d[h]-(V?jkPe[t])}function EPe(e,t,n){n===void 0&&(n=!1);const r=Jx(e),i=O0(e),o=RP(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=iS(a)),{main:a,cross:iS(a)}}const PPe={start:"end",end:"start"};function ID(e){return e.replace(/start|end/g,t=>PPe[t])}const Bq=["top","right","bottom","left"];Bq.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const TPe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...b}=e,S=A0(r),k=h||(S===a||!v?[iS(a)]:function(j){const z=iS(j);return[ID(j),z,ID(z)]}(a)),E=[a,...k],_=await rS(t,b),T=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&T.push(_[S]),d){const{main:j,cross:z}=EPe(r,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));T.push(_[j],_[z])}if(A=[...A,{placement:r,overflows:T}],!T.every(j=>j<=0)){var I,R;const j=((I=(R=i.flip)==null?void 0:R.index)!=null?I:0)+1,z=E[j];if(z)return{data:{index:j,overflows:A},reset:{placement:z}};let V="bottom";switch(m){case"bestFit":{var D;const K=(D=A.map(te=>[te,te.overflows.filter(q=>q>0).reduce((q,F)=>q+F,0)]).sort((te,q)=>te[1]-q[1])[0])==null?void 0:D[0].placement;K&&(V=K);break}case"initialPlacement":V=a}if(r!==V)return{reset:{placement:V}}}return{}}}};function RD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function DD(e){return Bq.some(t=>e[t]>=0)}const LPe=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=RD(await rS(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:DD(o)}}}case"escaped":{const o=RD(await rS(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:o,escaped:DD(o)}}}default:return{}}}}},APe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:s,platform:l,elements:u}=o,d=await(l.isRTL==null?void 0:l.isRTL(u.floating)),h=A0(s),m=Jx(s),v=O0(s)==="x",b=["left","top"].includes(h)?-1:1,S=d&&v?-1:1,k=typeof a=="function"?a(o):a;let{mainAxis:E,crossAxis:_,alignmentAxis:T}=typeof k=="number"?{mainAxis:k,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...k};return m&&typeof T=="number"&&(_=m==="end"?-1*T:T),v?{x:_*S,y:E*b}:{x:E*b,y:_*S}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Fq(e){return e==="x"?"y":"x"}const OPe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:k=>{let{x:E,y:_}=k;return{x:E,y:_}}},...l}=e,u={x:n,y:r},d=await rS(t,l),h=O0(A0(i)),m=Fq(h);let v=u[h],b=u[m];if(o){const k=h==="y"?"bottom":"right";v=F8(v+d[h==="y"?"top":"left"],v,v-d[k])}if(a){const k=m==="y"?"bottom":"right";b=F8(b+d[m==="y"?"top":"left"],b,b-d[k])}const S=s.fn({...t,[h]:v,[m]:b});return{...S,data:{x:S.x-n,y:S.y-r}}}}},MPe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,d={x:n,y:r},h=O0(i),m=Fq(h);let v=d[h],b=d[m];const S=typeof s=="function"?s({...o,placement:i}):s,k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(l){const I=h==="y"?"height":"width",R=o.reference[h]-o.floating[I]+k.mainAxis,D=o.reference[h]+o.reference[I]-k.mainAxis;vD&&(v=D)}if(u){var E,_,T,A;const I=h==="y"?"width":"height",R=["top","left"].includes(A0(i)),D=o.reference[m]-o.floating[I]+(R&&(E=(_=a.offset)==null?void 0:_[m])!=null?E:0)+(R?0:k.crossAxis),j=o.reference[m]+o.reference[I]+(R?0:(T=(A=a.offset)==null?void 0:A[m])!=null?T:0)-(R?k.crossAxis:0);bj&&(b=j)}return{[h]:v,[m]:b}}}};function $q(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function mc(e){if(e==null)return window;if(!$q(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vy(e){return mc(e).getComputedStyle(e)}function Xu(e){return $q(e)?"":e?(e.nodeName||"").toLowerCase():""}function zq(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function cu(e){return e instanceof mc(e).HTMLElement}function Jd(e){return e instanceof mc(e).Element}function DP(e){return typeof ShadowRoot>"u"?!1:e instanceof mc(e).ShadowRoot||e instanceof ShadowRoot}function ew(e){const{overflow:t,overflowX:n,overflowY:r}=Vy(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function IPe(e){return["table","td","th"].includes(Xu(e))}function ND(e){const t=/firefox/i.test(zq()),n=Vy(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Hq(){return!/^((?!chrome|android).)*safari/i.test(zq())}const jD=Math.min,c2=Math.max,oS=Math.round;function Zu(e,t,n){var r,i,o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&cu(e)&&(l=e.offsetWidth>0&&oS(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&oS(s.height)/e.offsetHeight||1);const d=Jd(e)?mc(e):window,h=!Hq()&&n,m=(s.left+(h&&(r=(i=d.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,v=(s.top+(h&&(o=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/u,b=s.width/l,S=s.height/u;return{width:b,height:S,top:v,right:m+b,bottom:v+S,left:m,x:m,y:v}}function zd(e){return(t=e,(t instanceof mc(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function tw(e){return Jd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vq(e){return Zu(zd(e)).left+tw(e).scrollLeft}function RPe(e,t,n){const r=cu(t),i=zd(t),o=Zu(e,r&&function(l){const u=Zu(l);return oS(u.width)!==l.offsetWidth||oS(u.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Xu(t)!=="body"||ew(i))&&(a=tw(t)),cu(t)){const l=Zu(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Vq(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Wq(e){return Xu(e)==="html"?e:e.assignedSlot||e.parentNode||(DP(e)?e.host:null)||zd(e)}function BD(e){return cu(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function $8(e){const t=mc(e);let n=BD(e);for(;n&&IPe(n)&&getComputedStyle(n).position==="static";)n=BD(n);return n&&(Xu(n)==="html"||Xu(n)==="body"&&getComputedStyle(n).position==="static"&&!ND(n))?t:n||function(r){let i=Wq(r);for(DP(i)&&(i=i.host);cu(i)&&!["html","body"].includes(Xu(i));){if(ND(i))return i;i=i.parentNode}return null}(e)||t}function FD(e){if(cu(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Zu(e);return{width:t.width,height:t.height}}function Uq(e){const t=Wq(e);return["html","body","#document"].includes(Xu(t))?e.ownerDocument.body:cu(t)&&ew(t)?t:Uq(t)}function aS(e,t){var n;t===void 0&&(t=[]);const r=Uq(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=mc(r),a=i?[o].concat(o.visualViewport||[],ew(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(aS(a))}function $D(e,t,n){return t==="viewport"?nS(function(r,i){const o=mc(r),a=zd(r),s=o.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,h=0;if(s){l=s.width,u=s.height;const m=Hq();(m||!m&&i==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:l,height:u,x:d,y:h}}(e,n)):Jd(t)?function(r,i){const o=Zu(r,!1,i==="fixed"),a=o.top+r.clientTop,s=o.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):nS(function(r){var i;const o=zd(r),a=tw(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=c2(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=c2(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-a.scrollLeft+Vq(r);const h=-a.scrollTop;return Vy(s||o).direction==="rtl"&&(d+=c2(o.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:h}}(zd(e)))}function DPe(e){const t=aS(e),n=["absolute","fixed"].includes(Vy(e).position)&&cu(e)?$8(e):e;return Jd(n)?t.filter(r=>Jd(r)&&function(i,o){const a=o.getRootNode==null?void 0:o.getRootNode();if(i.contains(o))return!0;if(a&&DP(a)){let s=o;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Xu(r)!=="body"):[]}const NPe={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?DPe(t):[].concat(n),r],a=o[0],s=o.reduce((l,u)=>{const d=$D(t,u,i);return l.top=c2(d.top,l.top),l.right=jD(d.right,l.right),l.bottom=jD(d.bottom,l.bottom),l.left=c2(d.left,l.left),l},$D(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=cu(n),o=zd(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Xu(n)!=="body"||ew(o))&&(a=tw(n)),cu(n))){const l=Zu(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Jd,getDimensions:FD,getOffsetParent:$8,getDocumentElement:zd,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:RPe(t,$8(n),r),floating:{...FD(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vy(e).direction==="rtl"};function jPe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,d=l||u?[...Jd(e)?aS(e):[],...aS(t)]:[];d.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;if(a){let b=!0;m=new ResizeObserver(()=>{b||n(),b=!1}),Jd(e)&&!s&&m.observe(e),m.observe(t)}let v=s?Zu(e):null;return s&&function b(){const S=Zu(e);!v||S.x===v.x&&S.y===v.y&&S.width===v.width&&S.height===v.height||n(),v=S,h=requestAnimationFrame(b)}(),n(),()=>{var b;d.forEach(S=>{l&&S.removeEventListener("scroll",n),u&&S.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const BPe=(e,t,n)=>wPe(e,t,{platform:NPe,...n});var z8=typeof document<"u"?w.useLayoutEffect:w.useEffect;function H8(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!H8(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!H8(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function FPe(e){const t=w.useRef(e);return z8(()=>{t.current=e}),t}function $Pe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=w.useRef(null),a=w.useRef(null),s=FPe(i),l=w.useRef(null),[u,d]=w.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[h,m]=w.useState(t);H8(h==null?void 0:h.map(T=>{let{options:A}=T;return A}),t==null?void 0:t.map(T=>{let{options:A}=T;return A}))||m(t);const v=w.useCallback(()=>{!o.current||!a.current||BPe(o.current,a.current,{middleware:h,placement:n,strategy:r}).then(T=>{b.current&&Qs.flushSync(()=>{d(T)})})},[h,n,r]);z8(()=>{b.current&&v()},[v]);const b=w.useRef(!1);z8(()=>(b.current=!0,()=>{b.current=!1}),[]);const S=w.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&a.current)if(s.current){const T=s.current(o.current,a.current,v);l.current=T}else v()},[v,s]),k=w.useCallback(T=>{o.current=T,S()},[S]),E=w.useCallback(T=>{a.current=T,S()},[S]),_=w.useMemo(()=>({reference:o,floating:a}),[]);return w.useMemo(()=>({...u,update:v,refs:_,reference:k,floating:E}),[u,v,_,k,E])}const zPe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?MD({element:t.current,padding:n}).fn(i):{}:t?MD({element:t,padding:n}).fn(i):{}}}};function HPe(e){const[t,n]=w.useState(void 0);return a0(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Gq="Popper",[NP,qq]=Hy(Gq),[VPe,Yq]=NP(Gq),WPe=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return w.createElement(VPe,{scope:t,anchor:r,onAnchorChange:i},n)},UPe="PopperAnchor",GPe=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Yq(UPe,n),a=w.useRef(null),s=fs(t,a);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:w.createElement(ac.div,bn({},i,{ref:s}))}),sS="PopperContent",[qPe,wze]=NP(sS),[YPe,KPe]=NP(sS,{hasParent:!1,positionUpdateFns:new Set}),XPe=w.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;const{__scopePopper:d,side:h="bottom",sideOffset:m=0,align:v="center",alignOffset:b=0,arrowPadding:S=0,collisionBoundary:k=[],collisionPadding:E=0,sticky:_="partial",hideWhenDetached:T=!1,avoidCollisions:A=!0,...I}=e,R=Yq(sS,d),[D,j]=w.useState(null),z=fs(t,le=>j(le)),[V,K]=w.useState(null),te=HPe(V),q=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,F=(r=te==null?void 0:te.height)!==null&&r!==void 0?r:0,U=h+(v!=="center"?"-"+v:""),X=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Z=Array.isArray(k)?k:[k],W=Z.length>0,Q={padding:X,boundary:Z.filter(QPe),altBoundary:W},{reference:ie,floating:fe,strategy:Se,x:Te,y:ye,placement:He,middlewareData:Ne,update:tt}=$Pe({strategy:"fixed",placement:U,whileElementsMounted:jPe,middleware:[APe({mainAxis:m+F,alignmentAxis:b}),A?OPe({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?MPe():void 0,...Q}):void 0,V?zPe({element:V,padding:S}):void 0,A?TPe({...Q}):void 0,JPe({arrowWidth:q,arrowHeight:F}),T?LPe({strategy:"referenceHidden"}):void 0].filter(ZPe)});a0(()=>{ie(R.anchor)},[ie,R.anchor]);const _e=Te!==null&&ye!==null,[lt,wt]=Kq(He),ct=(i=Ne.arrow)===null||i===void 0?void 0:i.x,mt=(o=Ne.arrow)===null||o===void 0?void 0:o.y,St=((a=Ne.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Ae,ut]=w.useState();a0(()=>{D&&ut(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Mt,positionUpdateFns:at}=KPe(sS,d),Ct=!Mt;w.useLayoutEffect(()=>{if(!Ct)return at.add(tt),()=>{at.delete(tt)}},[Ct,at,tt]),w.useLayoutEffect(()=>{Ct&&_e&&Array.from(at).reverse().forEach(le=>requestAnimationFrame(le))},[Ct,_e,at]);const Zt={"data-side":lt,"data-align":wt,...I,ref:z,style:{...I.style,animation:_e?void 0:"none",opacity:(s=Ne.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return w.createElement("div",{ref:fe,"data-radix-popper-content-wrapper":"",style:{position:Se,left:0,top:0,transform:_e?`translate3d(${Math.round(Te)}px, ${Math.round(ye)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ae,["--radix-popper-transform-origin"]:[(l=Ne.transformOrigin)===null||l===void 0?void 0:l.x,(u=Ne.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},w.createElement(qPe,{scope:d,placedSide:lt,onArrowChange:K,arrowX:ct,arrowY:mt,shouldHideArrow:St},Ct?w.createElement(YPe,{scope:d,hasParent:!0,positionUpdateFns:at},w.createElement(ac.div,Zt)):w.createElement(ac.div,Zt)))});function ZPe(e){return e!==void 0}function QPe(e){return e!==null}const JPe=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;const{placement:s,rects:l,middlewareData:u}=t,h=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=h?0:e.arrowWidth,v=h?0:e.arrowHeight,[b,S]=Kq(s),k={start:"0%",center:"50%",end:"100%"}[S],E=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+m/2,_=((o=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&o!==void 0?o:0)+v/2;let T="",A="";return b==="bottom"?(T=h?k:`${E}px`,A=`${-v}px`):b==="top"?(T=h?k:`${E}px`,A=`${l.floating.height+v}px`):b==="right"?(T=`${-v}px`,A=h?k:`${_}px`):b==="left"&&(T=`${l.floating.width+v}px`,A=h?k:`${_}px`),{data:{x:T,y:A}}}});function Kq(e){const[t,n="center"]=e.split("-");return[t,n]}const eTe=WPe,tTe=GPe,nTe=XPe;function rTe(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const Xq=e=>{const{present:t,children:n}=e,r=iTe(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=fs(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Xq.displayName="Presence";function iTe(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),a=e?"mounted":"unmounted",[s,l]=rTe(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=qb(r.current);o.current=s==="mounted"?u:"none"},[s]),a0(()=>{const u=r.current,d=i.current;if(d!==e){const m=o.current,v=qb(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),a0(()=>{if(t){const u=h=>{const v=qb(r.current).includes(h.animationName);h.target===t&&v&&Qs.flushSync(()=>l("ANIMATION_END"))},d=h=>{h.target===t&&(o.current=qb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qb(e){return(e==null?void 0:e.animationName)||"none"}function oTe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=aTe({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,s=uu(n),l=w.useCallback(u=>{if(o){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else i(u)},[o,e,i,s]);return[a,l]}function aTe({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=uu(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}const $C="rovingFocusGroup.onEntryFocus",sTe={bubbles:!1,cancelable:!0},jP="RovingFocusGroup",[V8,Zq,lTe]=Iq(jP),[uTe,Qq]=Hy(jP,[lTe]),[cTe,dTe]=uTe(jP),fTe=w.forwardRef((e,t)=>w.createElement(V8.Provider,{scope:e.__scopeRovingFocusGroup},w.createElement(V8.Slot,{scope:e.__scopeRovingFocusGroup},w.createElement(hTe,bn({},e,{ref:t}))))),hTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...d}=e,h=w.useRef(null),m=fs(t,h),v=Rq(o),[b=null,S]=oTe({prop:a,defaultProp:s,onChange:l}),[k,E]=w.useState(!1),_=uu(u),T=Zq(n),A=w.useRef(!1),[I,R]=w.useState(0);return w.useEffect(()=>{const D=h.current;if(D)return D.addEventListener($C,_),()=>D.removeEventListener($C,_)},[_]),w.createElement(cTe,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:b,onItemFocus:w.useCallback(D=>S(D),[S]),onItemShiftTab:w.useCallback(()=>E(!0),[]),onFocusableItemAdd:w.useCallback(()=>R(D=>D+1),[]),onFocusableItemRemove:w.useCallback(()=>R(D=>D-1),[])},w.createElement(ac.div,bn({tabIndex:k||I===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{A.current=!0}),onFocus:rr(e.onFocus,D=>{const j=!A.current;if(D.target===D.currentTarget&&j&&!k){const z=new CustomEvent($C,sTe);if(D.currentTarget.dispatchEvent(z),!z.defaultPrevented){const V=T().filter(U=>U.focusable),K=V.find(U=>U.active),te=V.find(U=>U.id===b),F=[K,te,...V].filter(Boolean).map(U=>U.ref.current);Jq(F)}}A.current=!1}),onBlur:rr(e.onBlur,()=>E(!1))})))}),pTe="RovingFocusGroupItem",gTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=xPe(),s=dTe(pTe,n),l=s.currentTabStopId===a,u=Zq(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=s;return w.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),w.createElement(V8.ItemSlot,{scope:n,id:a,focusable:r,active:i},w.createElement(ac.span,bn({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:rr(e.onMouseDown,m=>{r?s.onItemFocus(a):m.preventDefault()}),onFocus:rr(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:rr(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){s.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const v=yTe(m,s.orientation,s.dir);if(v!==void 0){m.preventDefault();let S=u().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const k=S.indexOf(m.currentTarget);S=s.loop?bTe(S,k+1):S.slice(k+1)}setTimeout(()=>Jq(S))}})})))}),mTe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function vTe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function yTe(e,t,n){const r=vTe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return mTe[r]}function Jq(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function bTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const STe=fTe,xTe=gTe,wTe=["Enter"," "],CTe=["ArrowDown","PageUp","Home"],eY=["ArrowUp","PageDown","End"],_Te=[...CTe,...eY],nw="Menu",[W8,kTe,ETe]=Iq(nw),[bp,tY]=Hy(nw,[ETe,qq,Qq]),BP=qq(),nY=Qq(),[PTe,rw]=bp(nw),[TTe,FP]=bp(nw),LTe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=BP(t),[l,u]=w.useState(null),d=w.useRef(!1),h=uu(o),m=Rq(i);return w.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.createElement(eTe,s,w.createElement(PTe,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:u},w.createElement(TTe,{scope:t,onClose:w.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:m,modal:a},r)))},ATe=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=BP(n);return w.createElement(tTe,bn({},i,r,{ref:t}))}),OTe="MenuPortal",[Cze,MTe]=bp(OTe,{forceMount:void 0}),Hd="MenuContent",[ITe,rY]=bp(Hd),RTe=w.forwardRef((e,t)=>{const n=MTe(Hd,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=rw(Hd,e.__scopeMenu),a=FP(Hd,e.__scopeMenu);return w.createElement(W8.Provider,{scope:e.__scopeMenu},w.createElement(Xq,{present:r||o.open},w.createElement(W8.Slot,{scope:e.__scopeMenu},a.modal?w.createElement(DTe,bn({},i,{ref:t})):w.createElement(NTe,bn({},i,{ref:t})))))}),DTe=w.forwardRef((e,t)=>{const n=rw(Hd,e.__scopeMenu),r=w.useRef(null),i=fs(t,r);return w.useEffect(()=>{const o=r.current;if(o)return zH(o)},[]),w.createElement(iY,bn({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),NTe=w.forwardRef((e,t)=>{const n=rw(Hd,e.__scopeMenu);return w.createElement(iY,bn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),iY=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...b}=e,S=rw(Hd,n),k=FP(Hd,n),E=BP(n),_=nY(n),T=kTe(n),[A,I]=w.useState(null),R=w.useRef(null),D=fs(t,R,S.onContentChange),j=w.useRef(0),z=w.useRef(""),V=w.useRef(0),K=w.useRef(null),te=w.useRef("right"),q=w.useRef(0),F=v?PV:w.Fragment,U=v?{as:oy,allowPinchZoom:!0}:void 0,X=W=>{var Q,ie;const fe=z.current+W,Se=T().filter(_e=>!_e.disabled),Te=document.activeElement,ye=(Q=Se.find(_e=>_e.ref.current===Te))===null||Q===void 0?void 0:Q.textValue,He=Se.map(_e=>_e.textValue),Ne=UTe(He,fe,ye),tt=(ie=Se.find(_e=>_e.textValue===Ne))===null||ie===void 0?void 0:ie.ref.current;(function _e(lt){z.current=lt,window.clearTimeout(j.current),lt!==""&&(j.current=window.setTimeout(()=>_e(""),1e3))})(fe),tt&&setTimeout(()=>tt.focus())};w.useEffect(()=>()=>window.clearTimeout(j.current),[]),dPe();const Z=w.useCallback(W=>{var Q,ie;return te.current===((Q=K.current)===null||Q===void 0?void 0:Q.side)&&qTe(W,(ie=K.current)===null||ie===void 0?void 0:ie.area)},[]);return w.createElement(ITe,{scope:n,searchRef:z,onItemEnter:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),onItemLeave:w.useCallback(W=>{var Q;Z(W)||((Q=R.current)===null||Q===void 0||Q.focus(),I(null))},[Z]),onTriggerLeave:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:w.useCallback(W=>{K.current=W},[])},w.createElement(F,U,w.createElement(fPe,{asChild:!0,trapped:i,onMountAutoFocus:rr(o,W=>{var Q;W.preventDefault(),(Q=R.current)===null||Q===void 0||Q.focus()}),onUnmountAutoFocus:a},w.createElement(lPe,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m},w.createElement(STe,bn({asChild:!0},_,{dir:k.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:W=>{k.isUsingKeyboardRef.current||W.preventDefault()}}),w.createElement(nTe,bn({role:"menu","aria-orientation":"vertical","data-state":HTe(S.open),"data-radix-menu-content":"",dir:k.dir},E,b,{ref:D,style:{outline:"none",...b.style},onKeyDown:rr(b.onKeyDown,W=>{const ie=W.target.closest("[data-radix-menu-content]")===W.currentTarget,fe=W.ctrlKey||W.altKey||W.metaKey,Se=W.key.length===1;ie&&(W.key==="Tab"&&W.preventDefault(),!fe&&Se&&X(W.key));const Te=R.current;if(W.target!==Te||!_Te.includes(W.key))return;W.preventDefault();const He=T().filter(Ne=>!Ne.disabled).map(Ne=>Ne.ref.current);eY.includes(W.key)&&He.reverse(),VTe(He)}),onBlur:rr(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(j.current),z.current="")}),onPointerMove:rr(e.onPointerMove,G8(W=>{const Q=W.target,ie=q.current!==W.clientX;if(W.currentTarget.contains(Q)&&ie){const fe=W.clientX>q.current?"right":"left";te.current=fe,q.current=W.clientX}}))})))))))}),U8="MenuItem",zD="menu.itemSelect",jTe=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=w.useRef(null),a=FP(U8,e.__scopeMenu),s=rY(U8,e.__scopeMenu),l=fs(t,o),u=w.useRef(!1),d=()=>{const h=o.current;if(!n&&h){const m=new CustomEvent(zD,{bubbles:!0,cancelable:!0});h.addEventListener(zD,v=>r==null?void 0:r(v),{once:!0}),Mq(h,m),m.defaultPrevented?u.current=!1:a.onClose()}};return w.createElement(BTe,bn({},i,{ref:l,disabled:n,onClick:rr(e.onClick,d),onPointerDown:h=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,h),u.current=!0},onPointerUp:rr(e.onPointerUp,h=>{var m;u.current||(m=h.currentTarget)===null||m===void 0||m.click()}),onKeyDown:rr(e.onKeyDown,h=>{const m=s.searchRef.current!=="";n||m&&h.key===" "||wTe.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}))}),BTe=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=rY(U8,n),s=nY(n),l=w.useRef(null),u=fs(t,l),[d,h]=w.useState(!1),[m,v]=w.useState("");return w.useEffect(()=>{const b=l.current;if(b){var S;v(((S=b.textContent)!==null&&S!==void 0?S:"").trim())}},[o.children]),w.createElement(W8.ItemSlot,{scope:n,disabled:r,textValue:i??m},w.createElement(xTe,bn({asChild:!0},s,{focusable:!r}),w.createElement(ac.div,bn({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:rr(e.onPointerMove,G8(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:rr(e.onPointerLeave,G8(b=>a.onItemLeave(b))),onFocus:rr(e.onFocus,()=>h(!0)),onBlur:rr(e.onBlur,()=>h(!1))}))))}),FTe="MenuRadioGroup";bp(FTe,{value:void 0,onValueChange:()=>{}});const $Te="MenuItemIndicator";bp($Te,{checked:!1});const zTe="MenuSub";bp(zTe);function HTe(e){return e?"open":"closed"}function VTe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function WTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function UTe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=WTe(e,Math.max(o,0));i.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function GTe(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=d>r&&n<(u-s)*(r-l)/(d-l)+s&&(i=!i)}return i}function qTe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return GTe(n,t)}function G8(e){return t=>t.pointerType==="mouse"?e(t):void 0}const YTe=LTe,KTe=ATe,XTe=RTe,ZTe=jTe,oY="ContextMenu",[QTe,_ze]=Hy(oY,[tY]),iw=tY(),[JTe,aY]=QTe(oY),eLe=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:o=!0}=e,[a,s]=w.useState(!1),l=iw(t),u=uu(r),d=w.useCallback(h=>{s(h),u(h)},[u]);return w.createElement(JTe,{scope:t,open:a,onOpenChange:d,modal:o},w.createElement(YTe,bn({},l,{dir:i,open:a,onOpenChange:d,modal:o}),n))},tLe="ContextMenuTrigger",nLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=aY(tLe,n),o=iw(n),a=w.useRef({x:0,y:0}),s=w.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...a.current})}),l=w.useRef(0),u=w.useCallback(()=>window.clearTimeout(l.current),[]),d=h=>{a.current={x:h.clientX,y:h.clientY},i.onOpenChange(!0)};return w.useEffect(()=>u,[u]),w.createElement(w.Fragment,null,w.createElement(KTe,bn({},o,{virtualRef:s})),w.createElement(ac.span,bn({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:rr(e.onContextMenu,h=>{u(),d(h),h.preventDefault()}),onPointerDown:rr(e.onPointerDown,Yb(h=>{u(),l.current=window.setTimeout(()=>d(h),700)})),onPointerMove:rr(e.onPointerMove,Yb(u)),onPointerCancel:rr(e.onPointerCancel,Yb(u)),onPointerUp:rr(e.onPointerUp,Yb(u))})))}),rLe="ContextMenuContent",iLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=aY(rLe,n),o=iw(n),a=w.useRef(!1);return w.createElement(XTe,bn({},o,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&a.current&&s.preventDefault(),a.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(a.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),oLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=iw(n);return w.createElement(ZTe,bn({},i,r,{ref:t}))});function Yb(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const aLe=eLe,sLe=nLe,lLe=iLe,ud=oLe,uLe=(e,t)=>e.image.uuid===t.image.uuid&&e.isSelected===t.isSelected,sY=w.memo(e=>{var te,q,F,U,X,Z,W,Q;const t=Ie(),{activeTabName:n,galleryImageObjectFit:r,galleryImageMinimumWidth:i,mayDeleteImage:o,shouldUseSingleGalleryColumn:a}=he(bEe),{image:s,isSelected:l}=e,{url:u,thumbnail:d,uuid:h,metadata:m}=s,[v,b]=w.useState(!1),S=Ry(),{t:k}=Ve(),E=()=>b(!0),_=()=>b(!1),T=()=>{var ie,fe;if(s.metadata){const[Se,Te]=aP((fe=(ie=s.metadata)==null?void 0:ie.image)==null?void 0:fe.prompt);Se&&t(jx(Se)),t(Q2(Te||""))}S({title:k("toast:promptSet"),status:"success",duration:2500,isClosable:!0})},A=()=>{s.metadata&&t(Ny(s.metadata.image.seed)),S({title:k("toast:seedSet"),status:"success",duration:2500,isClosable:!0})},I=()=>{t(k0(s)),n!=="img2img"&&t(qo("img2img")),S({title:k("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})},R=()=>{t(Nx(s)),t(Dx()),n!=="unifiedCanvas"&&t(qo("unifiedCanvas")),S({title:k("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0})},D=()=>{m&&t(aU(m)),S({title:k("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})},j=async()=>{var ie;if((ie=m==null?void 0:m.image)!=null&&ie.init_image_path&&(await fetch(m.image.init_image_path)).ok){t(qo("img2img")),t(Xxe(m)),S({title:k("toast:initialImageSet"),status:"success",duration:2500,isClosable:!0});return}S({title:k("toast:initialImageNotSet"),description:k("toast:initialImageNotSetDesc"),status:"error",duration:2500,isClosable:!0})},z=()=>t(jI(s)),V=ie=>{ie.dataTransfer.setData("invokeai/imageUuid",h),ie.dataTransfer.effectAllowed="move"},K=()=>{t(jI(s))};return y.jsxs(aLe,{onOpenChange:ie=>{t(tU(ie))},children:[y.jsx(sLe,{children:y.jsxs(_o,{position:"relative",className:"hoverable-image",onMouseOver:E,onMouseOut:_,userSelect:"none",draggable:!0,onDragStart:V,children:[y.jsx(XS,{className:"hoverable-image-image",objectFit:a?"contain":r,rounded:"md",src:d||u,loading:"lazy"}),y.jsx("div",{className:"hoverable-image-content",onClick:z,children:l&&y.jsx(Da,{width:"50%",height:"50%",as:PP,className:"hoverable-image-check"})}),v&&i>=64&&y.jsx("div",{className:"hoverable-image-delete-button",children:y.jsx(tS,{image:s,children:y.jsx(ss,{"aria-label":k("parameters:deleteImage"),icon:y.jsx(gEe,{}),size:"xs",variant:"imageHoverIconButton",fontSize:14,isDisabled:!o})})})]},h)}),y.jsxs(lLe,{className:"hoverable-image-context-menu",sticky:"always",onInteractOutside:ie=>{ie.detail.originalEvent.preventDefault()},children:[y.jsx(ud,{onClickCapture:K,children:k("parameters:openInViewer")}),y.jsx(ud,{onClickCapture:T,disabled:((q=(te=s==null?void 0:s.metadata)==null?void 0:te.image)==null?void 0:q.prompt)===void 0,children:k("parameters:usePrompt")}),y.jsx(ud,{onClickCapture:A,disabled:((U=(F=s==null?void 0:s.metadata)==null?void 0:F.image)==null?void 0:U.seed)===void 0,children:k("parameters:useSeed")}),y.jsx(ud,{onClickCapture:D,disabled:!["txt2img","img2img"].includes((Z=(X=s==null?void 0:s.metadata)==null?void 0:X.image)==null?void 0:Z.type),children:k("parameters:useAll")}),y.jsx(ud,{onClickCapture:j,disabled:((Q=(W=s==null?void 0:s.metadata)==null?void 0:W.image)==null?void 0:Q.type)!=="img2img",children:k("parameters:useInitImg")}),y.jsx(ud,{onClickCapture:I,children:k("parameters:sendToImg2Img")}),y.jsx(ud,{onClickCapture:R,children:k("parameters:sendToUnifiedCanvas")}),y.jsx(ud,{"data-warning":!0,children:y.jsx(tS,{image:s,children:y.jsx("p",{children:k("parameters:deleteImage")})})})]})]})},uLe);sY.displayName="HoverableImage";const Kb=320,HD=40,cLe={txt2img:{galleryMinWidth:200,galleryMaxWidth:500},img2img:{galleryMinWidth:200,galleryMaxWidth:500},unifiedCanvas:{galleryMinWidth:200,galleryMaxWidth:200},nodes:{galleryMinWidth:200,galleryMaxWidth:500},postprocess:{galleryMinWidth:200,galleryMaxWidth:500},training:{galleryMinWidth:200,galleryMaxWidth:500}},VD=400;function lY(){const e=Ie(),{t}=Ve(),{images:n,currentCategory:r,currentImageUuid:i,shouldPinGallery:o,shouldShowGallery:a,galleryScrollPosition:s,galleryImageMinimumWidth:l,galleryGridTemplateColumns:u,activeTabName:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,areMoreImagesAvailable:b,galleryWidth:S,isLightboxOpen:k,isStaging:E,shouldEnableResize:_,shouldUseSingleGalleryColumn:T}=he(yEe),{galleryMinWidth:A,galleryMaxWidth:I}=k?{galleryMinWidth:VD,galleryMaxWidth:VD}:cLe[d],[R,D]=w.useState(S>=Kb),[j,z]=w.useState(!1),[V,K]=w.useState(0),te=w.useRef(null),q=w.useRef(null),F=w.useRef(null);w.useEffect(()=>{S>=Kb&&D(!1)},[S]);const U=()=>{e(jxe(!o)),e(vi(!0))},X=()=>{a?W():Z()},Z=()=>{e(Bd(!0)),o&&e(vi(!0))},W=w.useCallback(()=>{e(Bd(!1)),e(tU(!1)),e(Bxe(q.current?q.current.scrollTop:0)),setTimeout(()=>o&&e(vi(!0)),400)},[e,o]),Q=()=>{e(R8(r))},ie=ye=>{e(rv(ye))},fe=()=>{m||(F.current=window.setTimeout(()=>W(),500))},Se=()=>{F.current&&window.clearTimeout(F.current)};Qe("g",()=>{X()},[a,o]),Qe("left",()=>{e(oP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Qe("right",()=>{e(iP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Qe("shift+g",()=>{U()},[o]),Qe("esc",()=>{e(Bd(!1))},{enabled:()=>!o,preventDefault:!0},[o]);const Te=32;return Qe("shift+up",()=>{if(l<256){const ye=Ee.clamp(l+Te,32,256);e(rv(ye))}},[l]),Qe("shift+down",()=>{if(l>32){const ye=Ee.clamp(l-Te,32,256);e(rv(ye))}},[l]),w.useEffect(()=>{q.current&&(q.current.scrollTop=s)},[s,a]),w.useEffect(()=>{function ye(He){!o&&te.current&&!te.current.contains(He.target)&&W()}return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[W,o]),y.jsx(Aq,{nodeRef:te,in:a||m,unmountOnExit:!0,timeout:200,classNames:"image-gallery-wrapper",children:y.jsxs("div",{className:"image-gallery-wrapper",style:{zIndex:o?1:100},"data-pinned":o,ref:te,onMouseLeave:o?void 0:fe,onMouseEnter:o?void 0:Se,onMouseOver:o?void 0:Se,children:[y.jsxs(Cq,{minWidth:A,maxWidth:o?I:window.innerWidth,className:"image-gallery-popup",handleStyles:{left:{width:"15px"}},enable:{left:_},size:{width:S,height:o?"100%":"100vh"},onResizeStart:(ye,He,Ne)=>{K(Ne.clientHeight),Ne.style.height=`${Ne.clientHeight}px`,o&&(Ne.style.position="fixed",Ne.style.right="1rem",z(!0))},onResizeStop:(ye,He,Ne,tt)=>{const _e=o?Ee.clamp(Number(S)+tt.width,A,Number(I)):Number(S)+tt.width;e(zxe(_e)),Ne.removeAttribute("data-resize-alert"),o&&(Ne.style.position="relative",Ne.style.removeProperty("right"),Ne.style.setProperty("height",o?"100%":"100vh"),z(!1),e(vi(!0)))},onResize:(ye,He,Ne,tt)=>{const _e=Ee.clamp(Number(S)+tt.width,A,Number(o?I:.95*window.innerWidth));_e>=Kb&&!R?D(!0):_e_e-HD&&e(rv(_e-HD)),o&&(_e>=I?Ne.setAttribute("data-resize-alert","true"):Ne.removeAttribute("data-resize-alert")),Ne.style.height=`${V}px`},children:[y.jsxs("div",{className:"image-gallery-header",children:[y.jsx(oo,{size:"sm",isAttached:!0,variant:"solid",className:"image-gallery-category-btn-group",children:R?y.jsxs(y.Fragment,{children:[y.jsx(cr,{size:"sm","data-selected":r==="result",onClick:()=>e(kb("result")),children:t("gallery:generations")}),y.jsx(cr,{size:"sm","data-selected":r==="user",onClick:()=>e(kb("user")),children:t("gallery:uploads")})]}):y.jsxs(y.Fragment,{children:[y.jsx(Ze,{"aria-label":t("gallery:showGenerations"),tooltip:t("gallery:showGenerations"),"data-selected":r==="result",icon:y.jsx(rEe,{}),onClick:()=>e(kb("result"))}),y.jsx(Ze,{"aria-label":t("gallery:showUploads"),tooltip:t("gallery:showUploads"),"data-selected":r==="user",icon:y.jsx(vEe,{}),onClick:()=>e(kb("user"))})]})}),y.jsxs("div",{className:"image-gallery-header-right-icons",children:[y.jsx(Zs,{isLazy:!0,trigger:"hover",placement:"left",triggerComponent:y.jsx(Ze,{size:"sm","aria-label":t("gallery:gallerySettings"),icon:y.jsx(OP,{}),className:"image-gallery-icon-btn",cursor:"pointer"}),children:y.jsxs("div",{className:"image-gallery-settings-popover",children:[y.jsxs("div",{children:[y.jsx(na,{value:l,onChange:ie,min:32,max:256,hideTooltip:!0,label:t("gallery:galleryImageSize")}),y.jsx(Ze,{size:"sm","aria-label":t("gallery:galleryImageResetSize"),tooltip:t("gallery:galleryImageResetSize"),onClick:()=>e(rv(64)),icon:y.jsx(Qx,{}),"data-selected":o,styleClass:"image-gallery-icon-btn"})]}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:maintainAspectRatio"),isChecked:h==="contain",onChange:()=>e(Fxe(h==="contain"?"cover":"contain"))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:autoSwitchNewImages"),isChecked:v,onChange:ye=>e($xe(ye.target.checked))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:singleColumnLayout"),isChecked:T,onChange:ye=>e(Hxe(ye.target.checked))})})]})}),y.jsx(Ze,{size:"sm",className:"image-gallery-icon-btn","aria-label":t("gallery:pinGallery"),tooltip:`${t("gallery:pinGallery")} (Shift+G)`,onClick:U,icon:o?y.jsx(kq,{}):y.jsx(Eq,{})})]})]}),y.jsx("div",{className:"image-gallery-container",ref:q,children:n.length||b?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"image-gallery",style:{gridTemplateColumns:u},children:n.map(ye=>{const{uuid:He}=ye,Ne=i===He;return y.jsx(sY,{image:ye,isSelected:Ne},He)})}),y.jsx(as,{onClick:Q,isDisabled:!b,className:"image-gallery-load-more-btn",children:t(b?"gallery:loadMore":"gallery:allImagesLoaded")})]}):y.jsxs("div",{className:"image-gallery-container-placeholder",children:[y.jsx(Pq,{}),y.jsx("p",{children:t("gallery:noImagesInGallery")})]})})]}),j&&y.jsx("div",{style:{width:`${S}px`,height:"100%"}})]})})}/*! ***************************************************************************** diff --git a/invokeai/frontend/dist/index.html b/invokeai/frontend/dist/index.html index 9e8d43854a..db68e74012 100644 --- a/invokeai/frontend/dist/index.html +++ b/invokeai/frontend/dist/index.html @@ -5,7 +5,7 @@ InvokeAI - A Stable Diffusion Toolkit - + diff --git a/invokeai/frontend/src/features/parameters/store/generationSlice.ts b/invokeai/frontend/src/features/parameters/store/generationSlice.ts index b6c67c8da4..7157b7a3df 100644 --- a/invokeai/frontend/src/features/parameters/store/generationSlice.ts +++ b/invokeai/frontend/src/features/parameters/store/generationSlice.ts @@ -268,8 +268,11 @@ export const generationSlice = createSlice({ if (sampler) state.sampler = sampler; if (steps) state.steps = steps; if (cfg_scale) state.cfgScale = cfg_scale; - if (threshold) state.threshold = threshold; - if (typeof threshold === 'undefined') state.threshold = 0; + if (typeof threshold === 'undefined') { + state.threshold = 0; + } else { + state.threshold = threshold; + } if (perlin) state.perlin = perlin; if (typeof perlin === 'undefined') state.perlin = 0; if (typeof seamless === 'boolean') state.seamless = seamless; diff --git a/invokeai/frontend/stats.html b/invokeai/frontend/stats.html index d42a6818b1..fc6b34f550 100644 --- a/invokeai/frontend/stats.html +++ b/invokeai/frontend/stats.html @@ -6157,7 +6157,7 @@ var drawChart = (function (exports) { + - - + document.addEventListener('DOMContentLoaded', run); + /*-->*/ + + - From 79daf8b0395adf6168b4f555ee9cd8ec18fb781f Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Fri, 10 Feb 2023 10:20:37 +1300 Subject: [PATCH 18/20] clean build (esrgan-denoise-str) --- .../{index-ef6a12f6.js => index-ad762ffd.js} | 66 +- invokeai/frontend/dist/index.html | 2 +- .../ImageMetadataViewer.tsx | 1 - invokeai/frontend/stats.html | 38752 +++------------- 4 files changed, 5951 insertions(+), 32870 deletions(-) rename invokeai/frontend/dist/assets/{index-ef6a12f6.js => index-ad762ffd.js} (89%) diff --git a/invokeai/frontend/dist/assets/index-ef6a12f6.js b/invokeai/frontend/dist/assets/index-ad762ffd.js similarity index 89% rename from invokeai/frontend/dist/assets/index-ef6a12f6.js rename to invokeai/frontend/dist/assets/index-ad762ffd.js index e43481aeb7..dee1d5d7e4 100644 --- a/invokeai/frontend/dist/assets/index-ef6a12f6.js +++ b/invokeai/frontend/dist/assets/index-ad762ffd.js @@ -14,14 +14,14 @@ var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Lee=w,Aee=Symbol.for("react.element"),Oee=Symbol.for("react.fragment"),Mee=Object.prototype.hasOwnProperty,Iee=Lee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ree={key:!0,ref:!0,__self:!0,__source:!0};function dj(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Mee.call(t,r)&&!Ree.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Aee,type:e,key:o,ref:a,props:i,_owner:Iee.current}}gS.Fragment=Oee;gS.jsx=dj;gS.jsxs=dj;(function(e){e.exports=gS})(fee);var Ws=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect,m_=w.createContext({});m_.displayName="ColorModeContext";function dy(){const e=w.useContext(m_);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var j3={light:"chakra-ui-light",dark:"chakra-ui-dark"};function Dee(e={}){const{preventTransition:t=!0}=e,n={setDataset:r=>{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?j3.dark:j3.light),document.body.classList.remove(r?j3.light:j3.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){return n.query().matches??r==="dark"?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var Nee="chakra-ui-color-mode";function jee(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var Bee=jee(Nee),hL=()=>{};function pL(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function fj(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=Bee}=e,s=i==="dark"?"dark":"light",[l,u]=w.useState(()=>pL(a,s)),[d,h]=w.useState(()=>pL(a)),{getSystemTheme:m,setClassName:v,setDataset:b,addListener:S}=w.useMemo(()=>Dee({preventTransition:o}),[o]),E=i==="system"&&!l?d:l,k=w.useCallback(A=>{const I=A==="system"?m():A;u(I),v(I==="dark"),b(I),a.set(I)},[a,m,v,b]);Ws(()=>{i==="system"&&h(m())},[]),w.useEffect(()=>{const A=a.get();if(A){k(A);return}if(i==="system"){k("system");return}k(s)},[a,s,i,k]);const _=w.useCallback(()=>{k(E==="dark"?"light":"dark")},[E,k]);w.useEffect(()=>{if(r)return S(k)},[r,S,k]);const T=w.useMemo(()=>({colorMode:t??E,toggleColorMode:t?hL:_,setColorMode:t?hL:k,forced:t!==void 0}),[E,_,k,t]);return N.createElement(m_.Provider,{value:T},n)}fj.displayName="ColorModeProvider";var z4={},$ee={get exports(){return z4},set exports(e){z4=e}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Function]",b="[object GeneratorFunction]",S="[object Map]",E="[object Number]",k="[object Null]",_="[object Object]",T="[object Proxy]",A="[object RegExp]",I="[object Set]",R="[object String]",D="[object Undefined]",j="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",K="[object Float32Array]",te="[object Float64Array]",q="[object Int8Array]",$="[object Int16Array]",W="[object Int32Array]",X="[object Uint8Array]",Z="[object Uint8ClampedArray]",U="[object Uint16Array]",Q="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,fe=/^\[object .+?Constructor\]$/,Se=/^(?:0|[1-9]\d*)$/,Pe={};Pe[K]=Pe[te]=Pe[q]=Pe[$]=Pe[W]=Pe[X]=Pe[Z]=Pe[U]=Pe[Q]=!0,Pe[s]=Pe[l]=Pe[z]=Pe[d]=Pe[V]=Pe[h]=Pe[m]=Pe[v]=Pe[S]=Pe[E]=Pe[_]=Pe[A]=Pe[I]=Pe[R]=Pe[j]=!1;var ye=typeof Co=="object"&&Co&&Co.Object===Object&&Co,We=typeof self=="object"&&self&&self.Object===Object&&self,De=ye||We||Function("return this")(),ot=t&&!t.nodeType&&t,He=ot&&!0&&e&&!e.nodeType&&e,Be=He&&He.exports===ot,wt=Be&&ye.process,st=function(){try{var Y=He&&He.require&&He.require("util").types;return Y||wt&&wt.binding&&wt.binding("util")}catch{}}(),mt=st&&st.isTypedArray;function St(Y,re,ge){switch(ge.length){case 0:return Y.call(re);case 1:return Y.call(re,ge[0]);case 2:return Y.call(re,ge[0],ge[1]);case 3:return Y.call(re,ge[0],ge[1],ge[2])}return Y.apply(re,ge)}function Le(Y,re){for(var ge=-1,it=Array(Y);++ge-1}function N0(Y,re){var ge=this.__data__,it=ms(ge,Y);return it<0?(++this.size,ge.push([Y,re])):ge[it][1]=re,this}ia.prototype.clear=vf,ia.prototype.delete=D0,ia.prototype.get=bc,ia.prototype.has=yf,ia.prototype.set=N0;function il(Y){var re=-1,ge=Y==null?0:Y.length;for(this.clear();++re1?ge[Wt-1]:void 0,kt=Wt>2?ge[2]:void 0;for(Sn=Y.length>3&&typeof Sn=="function"?(Wt--,Sn):void 0,kt&&Ap(ge[0],ge[1],kt)&&(Sn=Wt<3?void 0:Sn,Wt=1),re=Object(re);++it-1&&Y%1==0&&Y0){if(++re>=i)return arguments[0]}else re=0;return Y.apply(void 0,arguments)}}function _c(Y){if(Y!=null){try{return Ye.call(Y)}catch{}try{return Y+""}catch{}}return""}function $a(Y,re){return Y===re||Y!==Y&&re!==re}var Cf=bu(function(){return arguments}())?bu:function(Y){return Kn(Y)&&Ke.call(Y,"callee")&&!Xe.call(Y,"callee")},wu=Array.isArray;function Yt(Y){return Y!=null&&Mp(Y.length)&&!Ec(Y)}function Op(Y){return Kn(Y)&&Yt(Y)}var kc=nn||K0;function Ec(Y){if(!la(Y))return!1;var re=al(Y);return re==v||re==b||re==u||re==T}function Mp(Y){return typeof Y=="number"&&Y>-1&&Y%1==0&&Y<=a}function la(Y){var re=typeof Y;return Y!=null&&(re=="object"||re=="function")}function Kn(Y){return Y!=null&&typeof Y=="object"}function _f(Y){if(!Kn(Y)||al(Y)!=_)return!1;var re=tn(Y);if(re===null)return!0;var ge=Ke.call(re,"constructor")&&re.constructor;return typeof ge=="function"&&ge instanceof ge&&Ye.call(ge)==Ct}var Ip=mt?lt(mt):xc;function kf(Y){return ui(Y,Rp(Y))}function Rp(Y){return Yt(Y)?G0(Y,!0):sl(Y)}var gn=vs(function(Y,re,ge,it){oa(Y,re,ge,it)});function Kt(Y){return function(){return Y}}function Dp(Y){return Y}function K0(){return!1}e.exports=gn})($ee,z4);const Wl=z4;function Us(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function xh(e,...t){return Fee(e)?e(...t):e}var Fee=e=>typeof e=="function",zee=e=>/!(important)?$/.test(e),gL=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,ZC=(e,t)=>n=>{const r=String(t),i=zee(r),o=gL(r),a=e?`${e}.${o}`:o;let s=Us(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=gL(s),i?`${s} !important`:s};function p2(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const s=ZC(t,o)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}var B3=(...e)=>t=>e.reduce((n,r)=>r(n),t);function As(e,t){return n=>{const r={property:n,scale:e};return r.transform=p2({scale:e,transform:t}),r}}var Hee=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Vee(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:Hee(t),transform:n?p2({scale:n,compose:r}):r}}var hj=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Wee(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...hj].join(" ")}function Uee(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...hj].join(" ")}var Gee={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},qee={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Yee(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Kee={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},pj="& > :not(style) ~ :not(style)",Xee={[pj]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},Zee={[pj]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},QC={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Qee=new Set(Object.values(QC)),gj=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Jee=e=>e.trim();function ete(e,t){var n;if(e==null||gj.has(e))return e;const r=/(?^[a-z-A-Z]+)\((?(.*))\)/g,{type:i,values:o}=((n=r.exec(e))==null?void 0:n.groups)??{};if(!i||!o)return e;const a=i.includes("-gradient")?i:`${i}-gradient`,[s,...l]=o.split(",").map(Jee).filter(Boolean);if((l==null?void 0:l.length)===0)return e;const u=s in QC?QC[s]:s;l.unshift(u);const d=l.map(h=>{if(Qee.has(h))return h;const m=h.indexOf(" "),[v,b]=m!==-1?[h.substr(0,m),h.substr(m+1)]:[h],S=mj(b)?b:b&&b.split(" "),E=`colors.${v}`,k=E in t.__cssMap?t.__cssMap[E].varRef:v;return S?[k,...Array.isArray(S)?S:[S]].join(" "):k});return`${a}(${d.join(", ")})`}var mj=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),tte=(e,t)=>ete(e,t??{});function nte(e){return/^var\(--.+\)$/.test(e)}var rte=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Tl=e=>t=>`${e}(${t})`,hn={filter(e){return e!=="auto"?e:Gee},backdropFilter(e){return e!=="auto"?e:qee},ring(e){return Yee(hn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Wee():e==="auto-gpu"?Uee():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=rte(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(nte(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:tte,blur:Tl("blur"),opacity:Tl("opacity"),brightness:Tl("brightness"),contrast:Tl("contrast"),dropShadow:Tl("drop-shadow"),grayscale:Tl("grayscale"),hueRotate:Tl("hue-rotate"),invert:Tl("invert"),saturate:Tl("saturate"),sepia:Tl("sepia"),bgImage(e){return e==null||mj(e)||gj.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Kee[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},se={borderWidths:As("borderWidths"),borderStyles:As("borderStyles"),colors:As("colors"),borders:As("borders"),radii:As("radii",hn.px),space:As("space",B3(hn.vh,hn.px)),spaceT:As("space",B3(hn.vh,hn.px)),degreeT(e){return{property:e,transform:hn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:p2({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:As("sizes",B3(hn.vh,hn.px)),sizesT:As("sizes",B3(hn.vh,hn.fraction)),shadows:As("shadows"),logical:Vee,blur:As("blur",hn.blur)},n4={background:se.colors("background"),backgroundColor:se.colors("backgroundColor"),backgroundImage:se.propT("backgroundImage",hn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:hn.bgClip},bgSize:se.prop("backgroundSize"),bgPosition:se.prop("backgroundPosition"),bg:se.colors("background"),bgColor:se.colors("backgroundColor"),bgPos:se.prop("backgroundPosition"),bgRepeat:se.prop("backgroundRepeat"),bgAttachment:se.prop("backgroundAttachment"),bgGradient:se.propT("backgroundImage",hn.gradient),bgClip:{transform:hn.bgClip}};Object.assign(n4,{bgImage:n4.backgroundImage,bgImg:n4.backgroundImage});var wn={border:se.borders("border"),borderWidth:se.borderWidths("borderWidth"),borderStyle:se.borderStyles("borderStyle"),borderColor:se.colors("borderColor"),borderRadius:se.radii("borderRadius"),borderTop:se.borders("borderTop"),borderBlockStart:se.borders("borderBlockStart"),borderTopLeftRadius:se.radii("borderTopLeftRadius"),borderStartStartRadius:se.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:se.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:se.radii("borderTopRightRadius"),borderStartEndRadius:se.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:se.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:se.borders("borderRight"),borderInlineEnd:se.borders("borderInlineEnd"),borderBottom:se.borders("borderBottom"),borderBlockEnd:se.borders("borderBlockEnd"),borderBottomLeftRadius:se.radii("borderBottomLeftRadius"),borderBottomRightRadius:se.radii("borderBottomRightRadius"),borderLeft:se.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:se.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:se.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:se.borders(["borderLeft","borderRight"]),borderInline:se.borders("borderInline"),borderY:se.borders(["borderTop","borderBottom"]),borderBlock:se.borders("borderBlock"),borderTopWidth:se.borderWidths("borderTopWidth"),borderBlockStartWidth:se.borderWidths("borderBlockStartWidth"),borderTopColor:se.colors("borderTopColor"),borderBlockStartColor:se.colors("borderBlockStartColor"),borderTopStyle:se.borderStyles("borderTopStyle"),borderBlockStartStyle:se.borderStyles("borderBlockStartStyle"),borderBottomWidth:se.borderWidths("borderBottomWidth"),borderBlockEndWidth:se.borderWidths("borderBlockEndWidth"),borderBottomColor:se.colors("borderBottomColor"),borderBlockEndColor:se.colors("borderBlockEndColor"),borderBottomStyle:se.borderStyles("borderBottomStyle"),borderBlockEndStyle:se.borderStyles("borderBlockEndStyle"),borderLeftWidth:se.borderWidths("borderLeftWidth"),borderInlineStartWidth:se.borderWidths("borderInlineStartWidth"),borderLeftColor:se.colors("borderLeftColor"),borderInlineStartColor:se.colors("borderInlineStartColor"),borderLeftStyle:se.borderStyles("borderLeftStyle"),borderInlineStartStyle:se.borderStyles("borderInlineStartStyle"),borderRightWidth:se.borderWidths("borderRightWidth"),borderInlineEndWidth:se.borderWidths("borderInlineEndWidth"),borderRightColor:se.colors("borderRightColor"),borderInlineEndColor:se.colors("borderInlineEndColor"),borderRightStyle:se.borderStyles("borderRightStyle"),borderInlineEndStyle:se.borderStyles("borderInlineEndStyle"),borderTopRadius:se.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:se.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:se.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:se.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(wn,{rounded:wn.borderRadius,roundedTop:wn.borderTopRadius,roundedTopLeft:wn.borderTopLeftRadius,roundedTopRight:wn.borderTopRightRadius,roundedTopStart:wn.borderStartStartRadius,roundedTopEnd:wn.borderStartEndRadius,roundedBottom:wn.borderBottomRadius,roundedBottomLeft:wn.borderBottomLeftRadius,roundedBottomRight:wn.borderBottomRightRadius,roundedBottomStart:wn.borderEndStartRadius,roundedBottomEnd:wn.borderEndEndRadius,roundedLeft:wn.borderLeftRadius,roundedRight:wn.borderRightRadius,roundedStart:wn.borderInlineStartRadius,roundedEnd:wn.borderInlineEndRadius,borderStart:wn.borderInlineStart,borderEnd:wn.borderInlineEnd,borderTopStartRadius:wn.borderStartStartRadius,borderTopEndRadius:wn.borderStartEndRadius,borderBottomStartRadius:wn.borderEndStartRadius,borderBottomEndRadius:wn.borderEndEndRadius,borderStartRadius:wn.borderInlineStartRadius,borderEndRadius:wn.borderInlineEndRadius,borderStartWidth:wn.borderInlineStartWidth,borderEndWidth:wn.borderInlineEndWidth,borderStartColor:wn.borderInlineStartColor,borderEndColor:wn.borderInlineEndColor,borderStartStyle:wn.borderInlineStartStyle,borderEndStyle:wn.borderInlineEndStyle});var ite={color:se.colors("color"),textColor:se.colors("color"),fill:se.colors("fill"),stroke:se.colors("stroke")},JC={boxShadow:se.shadows("boxShadow"),mixBlendMode:!0,blendMode:se.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:se.prop("backgroundBlendMode"),opacity:!0};Object.assign(JC,{shadow:JC.boxShadow});var ote={filter:{transform:hn.filter},blur:se.blur("--chakra-blur"),brightness:se.propT("--chakra-brightness",hn.brightness),contrast:se.propT("--chakra-contrast",hn.contrast),hueRotate:se.degreeT("--chakra-hue-rotate"),invert:se.propT("--chakra-invert",hn.invert),saturate:se.propT("--chakra-saturate",hn.saturate),dropShadow:se.propT("--chakra-drop-shadow",hn.dropShadow),backdropFilter:{transform:hn.backdropFilter},backdropBlur:se.blur("--chakra-backdrop-blur"),backdropBrightness:se.propT("--chakra-backdrop-brightness",hn.brightness),backdropContrast:se.propT("--chakra-backdrop-contrast",hn.contrast),backdropHueRotate:se.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:se.propT("--chakra-backdrop-invert",hn.invert),backdropSaturate:se.propT("--chakra-backdrop-saturate",hn.saturate)},H4={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:hn.flexDirection},experimental_spaceX:{static:Xee,transform:p2({scale:"space",transform:e=>e!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:Zee,transform:p2({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:se.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:se.space("gap"),rowGap:se.space("rowGap"),columnGap:se.space("columnGap")};Object.assign(H4,{flexDir:H4.flexDirection});var vj={gridGap:se.space("gridGap"),gridColumnGap:se.space("gridColumnGap"),gridRowGap:se.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},ate={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:hn.outline},outlineOffset:!0,outlineColor:se.colors("outlineColor")},Xa={width:se.sizesT("width"),inlineSize:se.sizesT("inlineSize"),height:se.sizes("height"),blockSize:se.sizes("blockSize"),boxSize:se.sizes(["width","height"]),minWidth:se.sizes("minWidth"),minInlineSize:se.sizes("minInlineSize"),minHeight:se.sizes("minHeight"),minBlockSize:se.sizes("minBlockSize"),maxWidth:se.sizes("maxWidth"),maxInlineSize:se.sizes("maxInlineSize"),maxHeight:se.sizes("maxHeight"),maxBlockSize:se.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:se.propT("float",hn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Xa,{w:Xa.width,h:Xa.height,minW:Xa.minWidth,maxW:Xa.maxWidth,minH:Xa.minHeight,maxH:Xa.maxHeight,overscroll:Xa.overscrollBehavior,overscrollX:Xa.overscrollBehaviorX,overscrollY:Xa.overscrollBehaviorY});var ste={listStyleType:!0,listStylePosition:!0,listStylePos:se.prop("listStylePosition"),listStyleImage:!0,listStyleImg:se.prop("listStyleImage")};function lte(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},cte=ute(lte),dte={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},fte={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Uw=(e,t,n)=>{const r={},i=cte(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},hte={srOnly:{transform(e){return e===!0?dte:e==="focusable"?fte:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Uw(t,e,n)}},Rv={position:!0,pos:se.prop("position"),zIndex:se.prop("zIndex","zIndices"),inset:se.spaceT("inset"),insetX:se.spaceT(["left","right"]),insetInline:se.spaceT("insetInline"),insetY:se.spaceT(["top","bottom"]),insetBlock:se.spaceT("insetBlock"),top:se.spaceT("top"),insetBlockStart:se.spaceT("insetBlockStart"),bottom:se.spaceT("bottom"),insetBlockEnd:se.spaceT("insetBlockEnd"),left:se.spaceT("left"),insetInlineStart:se.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:se.spaceT("right"),insetInlineEnd:se.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rv,{insetStart:Rv.insetInlineStart,insetEnd:Rv.insetInlineEnd});var pte={ring:{transform:hn.ring},ringColor:se.colors("--chakra-ring-color"),ringOffset:se.prop("--chakra-ring-offset-width"),ringOffsetColor:se.colors("--chakra-ring-offset-color"),ringInset:se.prop("--chakra-ring-inset")},ar={margin:se.spaceT("margin"),marginTop:se.spaceT("marginTop"),marginBlockStart:se.spaceT("marginBlockStart"),marginRight:se.spaceT("marginRight"),marginInlineEnd:se.spaceT("marginInlineEnd"),marginBottom:se.spaceT("marginBottom"),marginBlockEnd:se.spaceT("marginBlockEnd"),marginLeft:se.spaceT("marginLeft"),marginInlineStart:se.spaceT("marginInlineStart"),marginX:se.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:se.spaceT("marginInline"),marginY:se.spaceT(["marginTop","marginBottom"]),marginBlock:se.spaceT("marginBlock"),padding:se.space("padding"),paddingTop:se.space("paddingTop"),paddingBlockStart:se.space("paddingBlockStart"),paddingRight:se.space("paddingRight"),paddingBottom:se.space("paddingBottom"),paddingBlockEnd:se.space("paddingBlockEnd"),paddingLeft:se.space("paddingLeft"),paddingInlineStart:se.space("paddingInlineStart"),paddingInlineEnd:se.space("paddingInlineEnd"),paddingX:se.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:se.space("paddingInline"),paddingY:se.space(["paddingTop","paddingBottom"]),paddingBlock:se.space("paddingBlock")};Object.assign(ar,{m:ar.margin,mt:ar.marginTop,mr:ar.marginRight,me:ar.marginInlineEnd,marginEnd:ar.marginInlineEnd,mb:ar.marginBottom,ml:ar.marginLeft,ms:ar.marginInlineStart,marginStart:ar.marginInlineStart,mx:ar.marginX,my:ar.marginY,p:ar.padding,pt:ar.paddingTop,py:ar.paddingY,px:ar.paddingX,pb:ar.paddingBottom,pl:ar.paddingLeft,ps:ar.paddingInlineStart,paddingStart:ar.paddingInlineStart,pr:ar.paddingRight,pe:ar.paddingInlineEnd,paddingEnd:ar.paddingInlineEnd});var gte={textDecorationColor:se.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:se.shadows("textShadow")},mte={clipPath:!0,transform:se.propT("transform",hn.transform),transformOrigin:!0,translateX:se.spaceT("--chakra-translate-x"),translateY:se.spaceT("--chakra-translate-y"),skewX:se.degreeT("--chakra-skew-x"),skewY:se.degreeT("--chakra-skew-y"),scaleX:se.prop("--chakra-scale-x"),scaleY:se.prop("--chakra-scale-y"),scale:se.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:se.degreeT("--chakra-rotate")},vte={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:se.prop("transitionDuration","transition.duration"),transitionProperty:se.prop("transitionProperty","transition.property"),transitionTimingFunction:se.prop("transitionTimingFunction","transition.easing")},yte={fontFamily:se.prop("fontFamily","fonts"),fontSize:se.prop("fontSize","fontSizes",hn.px),fontWeight:se.prop("fontWeight","fontWeights"),lineHeight:se.prop("lineHeight","lineHeights"),letterSpacing:se.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},bte={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:se.spaceT("scrollMargin"),scrollMarginTop:se.spaceT("scrollMarginTop"),scrollMarginBottom:se.spaceT("scrollMarginBottom"),scrollMarginLeft:se.spaceT("scrollMarginLeft"),scrollMarginRight:se.spaceT("scrollMarginRight"),scrollMarginX:se.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:se.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:se.spaceT("scrollPadding"),scrollPaddingTop:se.spaceT("scrollPaddingTop"),scrollPaddingBottom:se.spaceT("scrollPaddingBottom"),scrollPaddingLeft:se.spaceT("scrollPaddingLeft"),scrollPaddingRight:se.spaceT("scrollPaddingRight"),scrollPaddingX:se.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:se.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function yj(e){return Us(e)&&e.reference?e.reference:String(e)}var mS=(e,...t)=>t.map(yj).join(` ${e} `).replace(/calc/g,""),mL=(...e)=>`calc(${mS("+",...e)})`,vL=(...e)=>`calc(${mS("-",...e)})`,e7=(...e)=>`calc(${mS("*",...e)})`,yL=(...e)=>`calc(${mS("/",...e)})`,bL=e=>{const t=yj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:e7(t,-1)},yh=Object.assign(e=>({add:(...t)=>yh(mL(e,...t)),subtract:(...t)=>yh(vL(e,...t)),multiply:(...t)=>yh(e7(e,...t)),divide:(...t)=>yh(yL(e,...t)),negate:()=>yh(bL(e)),toString:()=>e.toString()}),{add:mL,subtract:vL,multiply:e7,divide:yL,negate:bL});function Ste(e,t="-"){return e.replace(/\s+/g,t)}function xte(e){const t=Ste(e.toString());return Cte(wte(t))}function wte(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Cte(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function _te(e,t=""){return[t,e].filter(Boolean).join("-")}function kte(e,t){return`var(${e}${t?`, ${t}`:""})`}function Ete(e,t=""){return xte(`--${_te(e,t)}`)}function Hn(e,t,n){const r=Ete(e,n);return{variable:r,reference:kte(r,t)}}function Pte(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function Tte(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function t7(e){if(e==null)return e;const{unitless:t}=Tte(e);return t||typeof e=="number"?`${e}px`:e}var bj=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,v_=e=>Object.fromEntries(Object.entries(e).sort(bj));function SL(e){const t=v_(e);return Object.assign(Object.values(t),t)}function Lte(e){const t=Object.keys(v_(e));return new Set(t)}function xL(e){if(!e)return e;e=t7(e)??e;const t=e.endsWith("px")?-1:-.0625;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function mv(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${t7(e)})`),t&&n.push("and",`(max-width: ${t7(t)})`),n.join(" ")}function Ate(e){if(!e)return null;e.base=e.base??"0px";const t=SL(e),n=Object.entries(e).sort(bj).map(([o,a],s,l)=>{let[,u]=l[s+1]??[];return u=parseFloat(u)>0?xL(u):void 0,{_minW:xL(a),breakpoint:o,minW:a,maxW:u,maxWQuery:mv(null,u),minWQuery:mv(a),minMaxQuery:mv(a,u)}}),r=Lte(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(s=>r.has(s))},asObject:v_(e),asArray:SL(e),details:n,media:[null,...t.map(o=>mv(o)).slice(1)],toArrayValue(o){if(!Us(o))throw new Error("toArrayValue: value must be an object");const a=i.map(s=>o[s]??null);for(;Pte(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,s,l)=>{const u=i[l];return u!=null&&s!=null&&(a[u]=s),a},{})}}}var Fi={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},id=e=>Sj(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Nu=e=>Sj(t=>e(t,"~ &"),"[data-peer]",".peer"),Sj=(e,...t)=>t.map(e).join(", "),vS={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:id(Fi.hover),_peerHover:Nu(Fi.hover),_groupFocus:id(Fi.focus),_peerFocus:Nu(Fi.focus),_groupFocusVisible:id(Fi.focusVisible),_peerFocusVisible:Nu(Fi.focusVisible),_groupActive:id(Fi.active),_peerActive:Nu(Fi.active),_groupDisabled:id(Fi.disabled),_peerDisabled:Nu(Fi.disabled),_groupInvalid:id(Fi.invalid),_peerInvalid:Nu(Fi.invalid),_groupChecked:id(Fi.checked),_peerChecked:Nu(Fi.checked),_groupFocusWithin:id(Fi.focusWithin),_peerFocusWithin:Nu(Fi.focusWithin),_peerPlaceholderShown:Nu(Fi.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Ote=Object.keys(vS);function wL(e,t){return Hn(String(e).replace(/\./g,"-"),void 0,t)}function Mte(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:u}=wL(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const m=i.split("."),[v,...b]=m,S=`${v}.-${b.join(".")}`,E=yh.negate(s),k=yh.negate(u);r[S]={value:E,var:l,varRef:k}}n[l]=s,r[i]={value:s,var:l,varRef:u};continue}const d=m=>{const b=[String(i).split(".")[0],m].join(".");if(!e[b])return m;const{reference:E}=wL(b,t==null?void 0:t.cssVarPrefix);return E},h=Us(s)?s:{default:s};n=Wl(n,Object.entries(h).reduce((m,[v,b])=>{var S;const E=d(b);if(v==="default")return m[l]=E,m;const k=((S=vS)==null?void 0:S[v])??v;return m[k]={[l]:E},m},{})),r[i]={value:u,var:l,varRef:u}}return{cssVars:n,cssMap:r}}function Ite(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Rte(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var Dte=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Nte(e){return Rte(e,Dte)}function jte(e){return e.semanticTokens}function Bte(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function $te({tokens:e,semanticTokens:t}){const n=Object.entries(n7(e)??{}).map(([i,o])=>[i,{isSemantic:!1,value:o}]),r=Object.entries(n7(t,1)??{}).map(([i,o])=>[i,{isSemantic:!0,value:o}]);return Object.fromEntries([...n,...r])}function n7(e,t=1/0){return!Us(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(Us(i)||Array.isArray(i)?Object.entries(n7(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function Fte(e){var t;const n=Bte(e),r=Nte(n),i=jte(n),o=$te({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=Mte(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:Ate(n.breakpoints)}),n}var y_=Wl({},n4,wn,ite,H4,Xa,ote,pte,ate,vj,hte,Rv,JC,ar,bte,yte,gte,mte,ste,vte),zte=Object.assign({},ar,Xa,H4,vj,Rv),Hte=Object.keys(zte),Vte=[...Object.keys(y_),...Ote],Wte={...y_,...vS},Ute=e=>e in Wte,Gte=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=xh(e[a],t);if(s==null)continue;if(s=Us(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let u=0;ue.startsWith("--")&&typeof t=="string"&&!Yte(t),Xte=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[i,o]=qte(t);return t=n(i)??r(o)??r(t),t};function Zte(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var s;const l=xh(o,r),u=Gte(l)(r);let d={};for(let h in u){const m=u[h];let v=xh(m,r);h in n&&(h=n[h]),Kte(h,v)&&(v=Xte(r,v));let b=t[h];if(b===!0&&(b={property:h}),Us(v)){d[h]=d[h]??{},d[h]=Wl({},d[h],i(v,!0));continue}let S=((s=b==null?void 0:b.transform)==null?void 0:s.call(b,v,r,l))??v;S=b!=null&&b.processResult?i(S,!0):S;const E=xh(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const k=xh(b.static,r);d=Wl({},d,k)}if(E&&Array.isArray(E)){for(const k of E)d[k]=S;continue}if(E){E==="&"&&Us(S)?d=Wl({},d,S):d[E]=S;continue}if(Us(S)){d=Wl({},d,S);continue}d[h]=S}return d};return i}var xj=e=>t=>Zte({theme:t,pseudos:vS,configs:y_})(e);function hr(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function Qte(e,t){if(Array.isArray(e))return e;if(Us(e))return t(e);if(e!=null)return[e]}function Jte(e,t){for(let n=t+1;n{Wl(u,{[T]:m?_[T]:{[k]:_[T]}})});continue}if(!v){m?Wl(u,_):u[k]=_;continue}u[k]=_}}return u}}function tne(e){return t=>{const{variant:n,size:r,theme:i}=t,o=ene(i);return Wl({},xh(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function nne(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function En(e){return Ite(e,["styleConfig","size","variant","colorScheme"])}function rne(e){if(e.sheet)return e.sheet;for(var t=0;t0?Wi(f0,--na):0,zm--,ii===10&&(zm=1,bS--),ii}function Pa(){return ii=na2||m2(ii)>3?"":" "}function gne(e,t){for(;--t&&Pa()&&!(ii<48||ii>102||ii>57&&ii<65||ii>70&&ii<97););return fy(e,r4()+(t<6&&Yl()==32&&Pa()==32))}function i7(e){for(;Pa();)switch(ii){case e:return na;case 34:case 39:e!==34&&e!==39&&i7(ii);break;case 40:e===41&&i7(e);break;case 92:Pa();break}return na}function mne(e,t){for(;Pa()&&e+ii!==47+10;)if(e+ii===42+42&&Yl()===47)break;return"/*"+fy(t,na-1)+"*"+yS(e===47?e:Pa())}function vne(e){for(;!m2(Yl());)Pa();return fy(e,na)}function yne(e){return Pj(o4("",null,null,null,[""],e=Ej(e),0,[0],e))}function o4(e,t,n,r,i,o,a,s,l){for(var u=0,d=0,h=a,m=0,v=0,b=0,S=1,E=1,k=1,_=0,T="",A=i,I=o,R=r,D=T;E;)switch(b=_,_=Pa()){case 40:if(b!=108&&Wi(D,h-1)==58){r7(D+=An(i4(_),"&","&\f"),"&\f")!=-1&&(k=-1);break}case 34:case 39:case 91:D+=i4(_);break;case 9:case 10:case 13:case 32:D+=pne(b);break;case 92:D+=gne(r4()-1,7);continue;case 47:switch(Yl()){case 42:case 47:$3(bne(mne(Pa(),r4()),t,n),l);break;default:D+="/"}break;case 123*S:s[u++]=Bl(D)*k;case 125*S:case 59:case 0:switch(_){case 0:case 125:E=0;case 59+d:v>0&&Bl(D)-h&&$3(v>32?_L(D+";",r,n,h-1):_L(An(D," ","")+";",r,n,h-2),l);break;case 59:D+=";";default:if($3(R=CL(D,t,n,u,d,i,s,T,A=[],I=[],h),o),_===123)if(d===0)o4(D,t,R,R,A,o,h,s,I);else switch(m===99&&Wi(D,3)===110?100:m){case 100:case 109:case 115:o4(e,R,R,r&&$3(CL(e,R,R,0,0,i,s,T,i,A=[],h),I),i,I,h,s,r?A:I);break;default:o4(D,R,R,R,[""],I,0,s,I)}}u=d=v=0,S=k=1,T=D="",h=a;break;case 58:h=1+Bl(D),v=b;default:if(S<1){if(_==123)--S;else if(_==125&&S++==0&&hne()==125)continue}switch(D+=yS(_),_*S){case 38:k=d>0?1:(D+="\f",-1);break;case 44:s[u++]=(Bl(D)-1)*k,k=1;break;case 64:Yl()===45&&(D+=i4(Pa())),m=Yl(),d=h=Bl(T=D+=vne(r4())),_++;break;case 45:b===45&&Bl(D)==2&&(S=0)}}return o}function CL(e,t,n,r,i,o,a,s,l,u,d){for(var h=i-1,m=i===0?o:[""],v=x_(m),b=0,S=0,E=0;b0?m[k]+" "+_:An(_,/&\f/g,m[k])))&&(l[E++]=T);return SS(e,t,n,i===0?b_:s,l,u,d)}function bne(e,t,n){return SS(e,t,n,wj,yS(fne()),g2(e,2,-2),0)}function _L(e,t,n,r){return SS(e,t,n,S_,g2(e,0,r),g2(e,r+1,-1),r)}function hm(e,t){for(var n="",r=x_(e),i=0;i6)switch(Wi(e,t+1)){case 109:if(Wi(e,t+4)!==45)break;case 102:return An(e,/(.+:)(.+)-([^]+)/,"$1"+Cn+"$2-$3$1"+V4+(Wi(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r7(e,"stretch")?Lj(An(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wi(e,t+1)!==115)break;case 6444:switch(Wi(e,Bl(e)-3-(~r7(e,"!important")&&10))){case 107:return An(e,":",":"+Cn)+e;case 101:return An(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Cn+(Wi(e,14)===45?"inline-":"")+"box$3$1"+Cn+"$2$3$1"+eo+"$2box$3")+e}break;case 5936:switch(Wi(e,t+11)){case 114:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Cn+e+eo+e+e}return e}var Tne=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S_:t.return=Lj(t.value,t.length);break;case Cj:return hm([F1(t,{value:An(t.value,"@","@"+Cn)})],i);case b_:if(t.length)return dne(t.props,function(o){switch(cne(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hm([F1(t,{props:[An(o,/:(read-\w+)/,":"+V4+"$1")]})],i);case"::placeholder":return hm([F1(t,{props:[An(o,/:(plac\w+)/,":"+Cn+"input-$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,":"+V4+"$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,eo+"input-$1")]})],i)}return""})}},Lne=[Tne],Aj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var E=S.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var i=t.stylisPlugins||Lne,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var E=S.getAttribute("data-emotion").split(" "),k=1;k{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?j3.dark:j3.light),document.body.classList.remove(r?j3.light:j3.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){return n.query().matches??r==="dark"?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var Nee="chakra-ui-color-mode";function jee(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var Bee=jee(Nee),hL=()=>{};function pL(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function fj(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=Bee}=e,s=i==="dark"?"dark":"light",[l,u]=w.useState(()=>pL(a,s)),[d,h]=w.useState(()=>pL(a)),{getSystemTheme:m,setClassName:v,setDataset:b,addListener:S}=w.useMemo(()=>Dee({preventTransition:o}),[o]),k=i==="system"&&!l?d:l,E=w.useCallback(A=>{const I=A==="system"?m():A;u(I),v(I==="dark"),b(I),a.set(I)},[a,m,v,b]);Ws(()=>{i==="system"&&h(m())},[]),w.useEffect(()=>{const A=a.get();if(A){E(A);return}if(i==="system"){E("system");return}E(s)},[a,s,i,E]);const _=w.useCallback(()=>{E(k==="dark"?"light":"dark")},[k,E]);w.useEffect(()=>{if(r)return S(E)},[r,S,E]);const T=w.useMemo(()=>({colorMode:t??k,toggleColorMode:t?hL:_,setColorMode:t?hL:E,forced:t!==void 0}),[k,_,E,t]);return N.createElement(m_.Provider,{value:T},n)}fj.displayName="ColorModeProvider";var z4={},$ee={get exports(){return z4},set exports(e){z4=e}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Function]",b="[object GeneratorFunction]",S="[object Map]",k="[object Number]",E="[object Null]",_="[object Object]",T="[object Proxy]",A="[object RegExp]",I="[object Set]",R="[object String]",D="[object Undefined]",j="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",K="[object Float32Array]",te="[object Float64Array]",q="[object Int8Array]",$="[object Int16Array]",U="[object Int32Array]",X="[object Uint8Array]",Z="[object Uint8ClampedArray]",W="[object Uint16Array]",Q="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,fe=/^\[object .+?Constructor\]$/,Se=/^(?:0|[1-9]\d*)$/,Pe={};Pe[K]=Pe[te]=Pe[q]=Pe[$]=Pe[U]=Pe[X]=Pe[Z]=Pe[W]=Pe[Q]=!0,Pe[s]=Pe[l]=Pe[z]=Pe[d]=Pe[V]=Pe[h]=Pe[m]=Pe[v]=Pe[S]=Pe[k]=Pe[_]=Pe[A]=Pe[I]=Pe[R]=Pe[j]=!1;var ye=typeof Co=="object"&&Co&&Co.Object===Object&&Co,We=typeof self=="object"&&self&&self.Object===Object&&self,De=ye||We||Function("return this")(),ot=t&&!t.nodeType&&t,He=ot&&!0&&e&&!e.nodeType&&e,Be=He&&He.exports===ot,wt=Be&&ye.process,st=function(){try{var Y=He&&He.require&&He.require("util").types;return Y||wt&&wt.binding&&wt.binding("util")}catch{}}(),mt=st&&st.isTypedArray;function St(Y,re,ge){switch(ge.length){case 0:return Y.call(re);case 1:return Y.call(re,ge[0]);case 2:return Y.call(re,ge[0],ge[1]);case 3:return Y.call(re,ge[0],ge[1],ge[2])}return Y.apply(re,ge)}function Le(Y,re){for(var ge=-1,it=Array(Y);++ge-1}function N0(Y,re){var ge=this.__data__,it=ms(ge,Y);return it<0?(++this.size,ge.push([Y,re])):ge[it][1]=re,this}ia.prototype.clear=vf,ia.prototype.delete=D0,ia.prototype.get=bc,ia.prototype.has=yf,ia.prototype.set=N0;function il(Y){var re=-1,ge=Y==null?0:Y.length;for(this.clear();++re1?ge[Wt-1]:void 0,kt=Wt>2?ge[2]:void 0;for(Sn=Y.length>3&&typeof Sn=="function"?(Wt--,Sn):void 0,kt&&Ap(ge[0],ge[1],kt)&&(Sn=Wt<3?void 0:Sn,Wt=1),re=Object(re);++it-1&&Y%1==0&&Y0){if(++re>=i)return arguments[0]}else re=0;return Y.apply(void 0,arguments)}}function _c(Y){if(Y!=null){try{return Ye.call(Y)}catch{}try{return Y+""}catch{}}return""}function $a(Y,re){return Y===re||Y!==Y&&re!==re}var Cf=bu(function(){return arguments}())?bu:function(Y){return Kn(Y)&&Ke.call(Y,"callee")&&!Xe.call(Y,"callee")},wu=Array.isArray;function Yt(Y){return Y!=null&&Mp(Y.length)&&!Ec(Y)}function Op(Y){return Kn(Y)&&Yt(Y)}var kc=nn||K0;function Ec(Y){if(!la(Y))return!1;var re=al(Y);return re==v||re==b||re==u||re==T}function Mp(Y){return typeof Y=="number"&&Y>-1&&Y%1==0&&Y<=a}function la(Y){var re=typeof Y;return Y!=null&&(re=="object"||re=="function")}function Kn(Y){return Y!=null&&typeof Y=="object"}function _f(Y){if(!Kn(Y)||al(Y)!=_)return!1;var re=tn(Y);if(re===null)return!0;var ge=Ke.call(re,"constructor")&&re.constructor;return typeof ge=="function"&&ge instanceof ge&&Ye.call(ge)==Ct}var Ip=mt?lt(mt):xc;function kf(Y){return ui(Y,Rp(Y))}function Rp(Y){return Yt(Y)?G0(Y,!0):sl(Y)}var gn=vs(function(Y,re,ge,it){oa(Y,re,ge,it)});function Kt(Y){return function(){return Y}}function Dp(Y){return Y}function K0(){return!1}e.exports=gn})($ee,z4);const Wl=z4;function Us(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function xh(e,...t){return Fee(e)?e(...t):e}var Fee=e=>typeof e=="function",zee=e=>/!(important)?$/.test(e),gL=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,ZC=(e,t)=>n=>{const r=String(t),i=zee(r),o=gL(r),a=e?`${e}.${o}`:o;let s=Us(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=gL(s),i?`${s} !important`:s};function p2(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const s=ZC(t,o)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}var B3=(...e)=>t=>e.reduce((n,r)=>r(n),t);function As(e,t){return n=>{const r={property:n,scale:e};return r.transform=p2({scale:e,transform:t}),r}}var Hee=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Vee(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:Hee(t),transform:n?p2({scale:n,compose:r}):r}}var hj=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Wee(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...hj].join(" ")}function Uee(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...hj].join(" ")}var Gee={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},qee={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Yee(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Kee={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},pj="& > :not(style) ~ :not(style)",Xee={[pj]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},Zee={[pj]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},QC={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Qee=new Set(Object.values(QC)),gj=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Jee=e=>e.trim();function ete(e,t){var n;if(e==null||gj.has(e))return e;const r=/(?^[a-z-A-Z]+)\((?(.*))\)/g,{type:i,values:o}=((n=r.exec(e))==null?void 0:n.groups)??{};if(!i||!o)return e;const a=i.includes("-gradient")?i:`${i}-gradient`,[s,...l]=o.split(",").map(Jee).filter(Boolean);if((l==null?void 0:l.length)===0)return e;const u=s in QC?QC[s]:s;l.unshift(u);const d=l.map(h=>{if(Qee.has(h))return h;const m=h.indexOf(" "),[v,b]=m!==-1?[h.substr(0,m),h.substr(m+1)]:[h],S=mj(b)?b:b&&b.split(" "),k=`colors.${v}`,E=k in t.__cssMap?t.__cssMap[k].varRef:v;return S?[E,...Array.isArray(S)?S:[S]].join(" "):E});return`${a}(${d.join(", ")})`}var mj=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),tte=(e,t)=>ete(e,t??{});function nte(e){return/^var\(--.+\)$/.test(e)}var rte=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Tl=e=>t=>`${e}(${t})`,hn={filter(e){return e!=="auto"?e:Gee},backdropFilter(e){return e!=="auto"?e:qee},ring(e){return Yee(hn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Wee():e==="auto-gpu"?Uee():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=rte(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(nte(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:tte,blur:Tl("blur"),opacity:Tl("opacity"),brightness:Tl("brightness"),contrast:Tl("contrast"),dropShadow:Tl("drop-shadow"),grayscale:Tl("grayscale"),hueRotate:Tl("hue-rotate"),invert:Tl("invert"),saturate:Tl("saturate"),sepia:Tl("sepia"),bgImage(e){return e==null||mj(e)||gj.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Kee[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},se={borderWidths:As("borderWidths"),borderStyles:As("borderStyles"),colors:As("colors"),borders:As("borders"),radii:As("radii",hn.px),space:As("space",B3(hn.vh,hn.px)),spaceT:As("space",B3(hn.vh,hn.px)),degreeT(e){return{property:e,transform:hn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:p2({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:As("sizes",B3(hn.vh,hn.px)),sizesT:As("sizes",B3(hn.vh,hn.fraction)),shadows:As("shadows"),logical:Vee,blur:As("blur",hn.blur)},n4={background:se.colors("background"),backgroundColor:se.colors("backgroundColor"),backgroundImage:se.propT("backgroundImage",hn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:hn.bgClip},bgSize:se.prop("backgroundSize"),bgPosition:se.prop("backgroundPosition"),bg:se.colors("background"),bgColor:se.colors("backgroundColor"),bgPos:se.prop("backgroundPosition"),bgRepeat:se.prop("backgroundRepeat"),bgAttachment:se.prop("backgroundAttachment"),bgGradient:se.propT("backgroundImage",hn.gradient),bgClip:{transform:hn.bgClip}};Object.assign(n4,{bgImage:n4.backgroundImage,bgImg:n4.backgroundImage});var wn={border:se.borders("border"),borderWidth:se.borderWidths("borderWidth"),borderStyle:se.borderStyles("borderStyle"),borderColor:se.colors("borderColor"),borderRadius:se.radii("borderRadius"),borderTop:se.borders("borderTop"),borderBlockStart:se.borders("borderBlockStart"),borderTopLeftRadius:se.radii("borderTopLeftRadius"),borderStartStartRadius:se.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:se.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:se.radii("borderTopRightRadius"),borderStartEndRadius:se.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:se.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:se.borders("borderRight"),borderInlineEnd:se.borders("borderInlineEnd"),borderBottom:se.borders("borderBottom"),borderBlockEnd:se.borders("borderBlockEnd"),borderBottomLeftRadius:se.radii("borderBottomLeftRadius"),borderBottomRightRadius:se.radii("borderBottomRightRadius"),borderLeft:se.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:se.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:se.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:se.borders(["borderLeft","borderRight"]),borderInline:se.borders("borderInline"),borderY:se.borders(["borderTop","borderBottom"]),borderBlock:se.borders("borderBlock"),borderTopWidth:se.borderWidths("borderTopWidth"),borderBlockStartWidth:se.borderWidths("borderBlockStartWidth"),borderTopColor:se.colors("borderTopColor"),borderBlockStartColor:se.colors("borderBlockStartColor"),borderTopStyle:se.borderStyles("borderTopStyle"),borderBlockStartStyle:se.borderStyles("borderBlockStartStyle"),borderBottomWidth:se.borderWidths("borderBottomWidth"),borderBlockEndWidth:se.borderWidths("borderBlockEndWidth"),borderBottomColor:se.colors("borderBottomColor"),borderBlockEndColor:se.colors("borderBlockEndColor"),borderBottomStyle:se.borderStyles("borderBottomStyle"),borderBlockEndStyle:se.borderStyles("borderBlockEndStyle"),borderLeftWidth:se.borderWidths("borderLeftWidth"),borderInlineStartWidth:se.borderWidths("borderInlineStartWidth"),borderLeftColor:se.colors("borderLeftColor"),borderInlineStartColor:se.colors("borderInlineStartColor"),borderLeftStyle:se.borderStyles("borderLeftStyle"),borderInlineStartStyle:se.borderStyles("borderInlineStartStyle"),borderRightWidth:se.borderWidths("borderRightWidth"),borderInlineEndWidth:se.borderWidths("borderInlineEndWidth"),borderRightColor:se.colors("borderRightColor"),borderInlineEndColor:se.colors("borderInlineEndColor"),borderRightStyle:se.borderStyles("borderRightStyle"),borderInlineEndStyle:se.borderStyles("borderInlineEndStyle"),borderTopRadius:se.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:se.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:se.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:se.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(wn,{rounded:wn.borderRadius,roundedTop:wn.borderTopRadius,roundedTopLeft:wn.borderTopLeftRadius,roundedTopRight:wn.borderTopRightRadius,roundedTopStart:wn.borderStartStartRadius,roundedTopEnd:wn.borderStartEndRadius,roundedBottom:wn.borderBottomRadius,roundedBottomLeft:wn.borderBottomLeftRadius,roundedBottomRight:wn.borderBottomRightRadius,roundedBottomStart:wn.borderEndStartRadius,roundedBottomEnd:wn.borderEndEndRadius,roundedLeft:wn.borderLeftRadius,roundedRight:wn.borderRightRadius,roundedStart:wn.borderInlineStartRadius,roundedEnd:wn.borderInlineEndRadius,borderStart:wn.borderInlineStart,borderEnd:wn.borderInlineEnd,borderTopStartRadius:wn.borderStartStartRadius,borderTopEndRadius:wn.borderStartEndRadius,borderBottomStartRadius:wn.borderEndStartRadius,borderBottomEndRadius:wn.borderEndEndRadius,borderStartRadius:wn.borderInlineStartRadius,borderEndRadius:wn.borderInlineEndRadius,borderStartWidth:wn.borderInlineStartWidth,borderEndWidth:wn.borderInlineEndWidth,borderStartColor:wn.borderInlineStartColor,borderEndColor:wn.borderInlineEndColor,borderStartStyle:wn.borderInlineStartStyle,borderEndStyle:wn.borderInlineEndStyle});var ite={color:se.colors("color"),textColor:se.colors("color"),fill:se.colors("fill"),stroke:se.colors("stroke")},JC={boxShadow:se.shadows("boxShadow"),mixBlendMode:!0,blendMode:se.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:se.prop("backgroundBlendMode"),opacity:!0};Object.assign(JC,{shadow:JC.boxShadow});var ote={filter:{transform:hn.filter},blur:se.blur("--chakra-blur"),brightness:se.propT("--chakra-brightness",hn.brightness),contrast:se.propT("--chakra-contrast",hn.contrast),hueRotate:se.degreeT("--chakra-hue-rotate"),invert:se.propT("--chakra-invert",hn.invert),saturate:se.propT("--chakra-saturate",hn.saturate),dropShadow:se.propT("--chakra-drop-shadow",hn.dropShadow),backdropFilter:{transform:hn.backdropFilter},backdropBlur:se.blur("--chakra-backdrop-blur"),backdropBrightness:se.propT("--chakra-backdrop-brightness",hn.brightness),backdropContrast:se.propT("--chakra-backdrop-contrast",hn.contrast),backdropHueRotate:se.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:se.propT("--chakra-backdrop-invert",hn.invert),backdropSaturate:se.propT("--chakra-backdrop-saturate",hn.saturate)},H4={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:hn.flexDirection},experimental_spaceX:{static:Xee,transform:p2({scale:"space",transform:e=>e!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:Zee,transform:p2({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:se.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:se.space("gap"),rowGap:se.space("rowGap"),columnGap:se.space("columnGap")};Object.assign(H4,{flexDir:H4.flexDirection});var vj={gridGap:se.space("gridGap"),gridColumnGap:se.space("gridColumnGap"),gridRowGap:se.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},ate={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:hn.outline},outlineOffset:!0,outlineColor:se.colors("outlineColor")},Xa={width:se.sizesT("width"),inlineSize:se.sizesT("inlineSize"),height:se.sizes("height"),blockSize:se.sizes("blockSize"),boxSize:se.sizes(["width","height"]),minWidth:se.sizes("minWidth"),minInlineSize:se.sizes("minInlineSize"),minHeight:se.sizes("minHeight"),minBlockSize:se.sizes("minBlockSize"),maxWidth:se.sizes("maxWidth"),maxInlineSize:se.sizes("maxInlineSize"),maxHeight:se.sizes("maxHeight"),maxBlockSize:se.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:se.propT("float",hn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Xa,{w:Xa.width,h:Xa.height,minW:Xa.minWidth,maxW:Xa.maxWidth,minH:Xa.minHeight,maxH:Xa.maxHeight,overscroll:Xa.overscrollBehavior,overscrollX:Xa.overscrollBehaviorX,overscrollY:Xa.overscrollBehaviorY});var ste={listStyleType:!0,listStylePosition:!0,listStylePos:se.prop("listStylePosition"),listStyleImage:!0,listStyleImg:se.prop("listStyleImage")};function lte(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},cte=ute(lte),dte={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},fte={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Uw=(e,t,n)=>{const r={},i=cte(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},hte={srOnly:{transform(e){return e===!0?dte:e==="focusable"?fte:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Uw(t,e,n)}},Rv={position:!0,pos:se.prop("position"),zIndex:se.prop("zIndex","zIndices"),inset:se.spaceT("inset"),insetX:se.spaceT(["left","right"]),insetInline:se.spaceT("insetInline"),insetY:se.spaceT(["top","bottom"]),insetBlock:se.spaceT("insetBlock"),top:se.spaceT("top"),insetBlockStart:se.spaceT("insetBlockStart"),bottom:se.spaceT("bottom"),insetBlockEnd:se.spaceT("insetBlockEnd"),left:se.spaceT("left"),insetInlineStart:se.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:se.spaceT("right"),insetInlineEnd:se.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rv,{insetStart:Rv.insetInlineStart,insetEnd:Rv.insetInlineEnd});var pte={ring:{transform:hn.ring},ringColor:se.colors("--chakra-ring-color"),ringOffset:se.prop("--chakra-ring-offset-width"),ringOffsetColor:se.colors("--chakra-ring-offset-color"),ringInset:se.prop("--chakra-ring-inset")},ar={margin:se.spaceT("margin"),marginTop:se.spaceT("marginTop"),marginBlockStart:se.spaceT("marginBlockStart"),marginRight:se.spaceT("marginRight"),marginInlineEnd:se.spaceT("marginInlineEnd"),marginBottom:se.spaceT("marginBottom"),marginBlockEnd:se.spaceT("marginBlockEnd"),marginLeft:se.spaceT("marginLeft"),marginInlineStart:se.spaceT("marginInlineStart"),marginX:se.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:se.spaceT("marginInline"),marginY:se.spaceT(["marginTop","marginBottom"]),marginBlock:se.spaceT("marginBlock"),padding:se.space("padding"),paddingTop:se.space("paddingTop"),paddingBlockStart:se.space("paddingBlockStart"),paddingRight:se.space("paddingRight"),paddingBottom:se.space("paddingBottom"),paddingBlockEnd:se.space("paddingBlockEnd"),paddingLeft:se.space("paddingLeft"),paddingInlineStart:se.space("paddingInlineStart"),paddingInlineEnd:se.space("paddingInlineEnd"),paddingX:se.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:se.space("paddingInline"),paddingY:se.space(["paddingTop","paddingBottom"]),paddingBlock:se.space("paddingBlock")};Object.assign(ar,{m:ar.margin,mt:ar.marginTop,mr:ar.marginRight,me:ar.marginInlineEnd,marginEnd:ar.marginInlineEnd,mb:ar.marginBottom,ml:ar.marginLeft,ms:ar.marginInlineStart,marginStart:ar.marginInlineStart,mx:ar.marginX,my:ar.marginY,p:ar.padding,pt:ar.paddingTop,py:ar.paddingY,px:ar.paddingX,pb:ar.paddingBottom,pl:ar.paddingLeft,ps:ar.paddingInlineStart,paddingStart:ar.paddingInlineStart,pr:ar.paddingRight,pe:ar.paddingInlineEnd,paddingEnd:ar.paddingInlineEnd});var gte={textDecorationColor:se.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:se.shadows("textShadow")},mte={clipPath:!0,transform:se.propT("transform",hn.transform),transformOrigin:!0,translateX:se.spaceT("--chakra-translate-x"),translateY:se.spaceT("--chakra-translate-y"),skewX:se.degreeT("--chakra-skew-x"),skewY:se.degreeT("--chakra-skew-y"),scaleX:se.prop("--chakra-scale-x"),scaleY:se.prop("--chakra-scale-y"),scale:se.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:se.degreeT("--chakra-rotate")},vte={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:se.prop("transitionDuration","transition.duration"),transitionProperty:se.prop("transitionProperty","transition.property"),transitionTimingFunction:se.prop("transitionTimingFunction","transition.easing")},yte={fontFamily:se.prop("fontFamily","fonts"),fontSize:se.prop("fontSize","fontSizes",hn.px),fontWeight:se.prop("fontWeight","fontWeights"),lineHeight:se.prop("lineHeight","lineHeights"),letterSpacing:se.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},bte={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:se.spaceT("scrollMargin"),scrollMarginTop:se.spaceT("scrollMarginTop"),scrollMarginBottom:se.spaceT("scrollMarginBottom"),scrollMarginLeft:se.spaceT("scrollMarginLeft"),scrollMarginRight:se.spaceT("scrollMarginRight"),scrollMarginX:se.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:se.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:se.spaceT("scrollPadding"),scrollPaddingTop:se.spaceT("scrollPaddingTop"),scrollPaddingBottom:se.spaceT("scrollPaddingBottom"),scrollPaddingLeft:se.spaceT("scrollPaddingLeft"),scrollPaddingRight:se.spaceT("scrollPaddingRight"),scrollPaddingX:se.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:se.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function yj(e){return Us(e)&&e.reference?e.reference:String(e)}var mS=(e,...t)=>t.map(yj).join(` ${e} `).replace(/calc/g,""),mL=(...e)=>`calc(${mS("+",...e)})`,vL=(...e)=>`calc(${mS("-",...e)})`,e7=(...e)=>`calc(${mS("*",...e)})`,yL=(...e)=>`calc(${mS("/",...e)})`,bL=e=>{const t=yj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:e7(t,-1)},yh=Object.assign(e=>({add:(...t)=>yh(mL(e,...t)),subtract:(...t)=>yh(vL(e,...t)),multiply:(...t)=>yh(e7(e,...t)),divide:(...t)=>yh(yL(e,...t)),negate:()=>yh(bL(e)),toString:()=>e.toString()}),{add:mL,subtract:vL,multiply:e7,divide:yL,negate:bL});function Ste(e,t="-"){return e.replace(/\s+/g,t)}function xte(e){const t=Ste(e.toString());return Cte(wte(t))}function wte(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Cte(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function _te(e,t=""){return[t,e].filter(Boolean).join("-")}function kte(e,t){return`var(${e}${t?`, ${t}`:""})`}function Ete(e,t=""){return xte(`--${_te(e,t)}`)}function Hn(e,t,n){const r=Ete(e,n);return{variable:r,reference:kte(r,t)}}function Pte(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function Tte(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function t7(e){if(e==null)return e;const{unitless:t}=Tte(e);return t||typeof e=="number"?`${e}px`:e}var bj=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,v_=e=>Object.fromEntries(Object.entries(e).sort(bj));function SL(e){const t=v_(e);return Object.assign(Object.values(t),t)}function Lte(e){const t=Object.keys(v_(e));return new Set(t)}function xL(e){if(!e)return e;e=t7(e)??e;const t=e.endsWith("px")?-1:-.0625;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function mv(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${t7(e)})`),t&&n.push("and",`(max-width: ${t7(t)})`),n.join(" ")}function Ate(e){if(!e)return null;e.base=e.base??"0px";const t=SL(e),n=Object.entries(e).sort(bj).map(([o,a],s,l)=>{let[,u]=l[s+1]??[];return u=parseFloat(u)>0?xL(u):void 0,{_minW:xL(a),breakpoint:o,minW:a,maxW:u,maxWQuery:mv(null,u),minWQuery:mv(a),minMaxQuery:mv(a,u)}}),r=Lte(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(s=>r.has(s))},asObject:v_(e),asArray:SL(e),details:n,media:[null,...t.map(o=>mv(o)).slice(1)],toArrayValue(o){if(!Us(o))throw new Error("toArrayValue: value must be an object");const a=i.map(s=>o[s]??null);for(;Pte(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,s,l)=>{const u=i[l];return u!=null&&s!=null&&(a[u]=s),a},{})}}}var Fi={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},id=e=>Sj(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Nu=e=>Sj(t=>e(t,"~ &"),"[data-peer]",".peer"),Sj=(e,...t)=>t.map(e).join(", "),vS={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:id(Fi.hover),_peerHover:Nu(Fi.hover),_groupFocus:id(Fi.focus),_peerFocus:Nu(Fi.focus),_groupFocusVisible:id(Fi.focusVisible),_peerFocusVisible:Nu(Fi.focusVisible),_groupActive:id(Fi.active),_peerActive:Nu(Fi.active),_groupDisabled:id(Fi.disabled),_peerDisabled:Nu(Fi.disabled),_groupInvalid:id(Fi.invalid),_peerInvalid:Nu(Fi.invalid),_groupChecked:id(Fi.checked),_peerChecked:Nu(Fi.checked),_groupFocusWithin:id(Fi.focusWithin),_peerFocusWithin:Nu(Fi.focusWithin),_peerPlaceholderShown:Nu(Fi.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Ote=Object.keys(vS);function wL(e,t){return Hn(String(e).replace(/\./g,"-"),void 0,t)}function Mte(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:u}=wL(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const m=i.split("."),[v,...b]=m,S=`${v}.-${b.join(".")}`,k=yh.negate(s),E=yh.negate(u);r[S]={value:k,var:l,varRef:E}}n[l]=s,r[i]={value:s,var:l,varRef:u};continue}const d=m=>{const b=[String(i).split(".")[0],m].join(".");if(!e[b])return m;const{reference:k}=wL(b,t==null?void 0:t.cssVarPrefix);return k},h=Us(s)?s:{default:s};n=Wl(n,Object.entries(h).reduce((m,[v,b])=>{var S;const k=d(b);if(v==="default")return m[l]=k,m;const E=((S=vS)==null?void 0:S[v])??v;return m[E]={[l]:k},m},{})),r[i]={value:u,var:l,varRef:u}}return{cssVars:n,cssMap:r}}function Ite(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Rte(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var Dte=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Nte(e){return Rte(e,Dte)}function jte(e){return e.semanticTokens}function Bte(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function $te({tokens:e,semanticTokens:t}){const n=Object.entries(n7(e)??{}).map(([i,o])=>[i,{isSemantic:!1,value:o}]),r=Object.entries(n7(t,1)??{}).map(([i,o])=>[i,{isSemantic:!0,value:o}]);return Object.fromEntries([...n,...r])}function n7(e,t=1/0){return!Us(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(Us(i)||Array.isArray(i)?Object.entries(n7(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function Fte(e){var t;const n=Bte(e),r=Nte(n),i=jte(n),o=$te({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=Mte(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:Ate(n.breakpoints)}),n}var y_=Wl({},n4,wn,ite,H4,Xa,ote,pte,ate,vj,hte,Rv,JC,ar,bte,yte,gte,mte,ste,vte),zte=Object.assign({},ar,Xa,H4,vj,Rv),Hte=Object.keys(zte),Vte=[...Object.keys(y_),...Ote],Wte={...y_,...vS},Ute=e=>e in Wte,Gte=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=xh(e[a],t);if(s==null)continue;if(s=Us(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let u=0;ue.startsWith("--")&&typeof t=="string"&&!Yte(t),Xte=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[i,o]=qte(t);return t=n(i)??r(o)??r(t),t};function Zte(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var s;const l=xh(o,r),u=Gte(l)(r);let d={};for(let h in u){const m=u[h];let v=xh(m,r);h in n&&(h=n[h]),Kte(h,v)&&(v=Xte(r,v));let b=t[h];if(b===!0&&(b={property:h}),Us(v)){d[h]=d[h]??{},d[h]=Wl({},d[h],i(v,!0));continue}let S=((s=b==null?void 0:b.transform)==null?void 0:s.call(b,v,r,l))??v;S=b!=null&&b.processResult?i(S,!0):S;const k=xh(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const E=xh(b.static,r);d=Wl({},d,E)}if(k&&Array.isArray(k)){for(const E of k)d[E]=S;continue}if(k){k==="&"&&Us(S)?d=Wl({},d,S):d[k]=S;continue}if(Us(S)){d=Wl({},d,S);continue}d[h]=S}return d};return i}var xj=e=>t=>Zte({theme:t,pseudos:vS,configs:y_})(e);function hr(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function Qte(e,t){if(Array.isArray(e))return e;if(Us(e))return t(e);if(e!=null)return[e]}function Jte(e,t){for(let n=t+1;n{Wl(u,{[T]:m?_[T]:{[E]:_[T]}})});continue}if(!v){m?Wl(u,_):u[E]=_;continue}u[E]=_}}return u}}function tne(e){return t=>{const{variant:n,size:r,theme:i}=t,o=ene(i);return Wl({},xh(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function nne(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function En(e){return Ite(e,["styleConfig","size","variant","colorScheme"])}function rne(e){if(e.sheet)return e.sheet;for(var t=0;t0?Wi(f0,--na):0,zm--,ii===10&&(zm=1,bS--),ii}function Pa(){return ii=na2||m2(ii)>3?"":" "}function gne(e,t){for(;--t&&Pa()&&!(ii<48||ii>102||ii>57&&ii<65||ii>70&&ii<97););return fy(e,r4()+(t<6&&Yl()==32&&Pa()==32))}function i7(e){for(;Pa();)switch(ii){case e:return na;case 34:case 39:e!==34&&e!==39&&i7(ii);break;case 40:e===41&&i7(e);break;case 92:Pa();break}return na}function mne(e,t){for(;Pa()&&e+ii!==47+10;)if(e+ii===42+42&&Yl()===47)break;return"/*"+fy(t,na-1)+"*"+yS(e===47?e:Pa())}function vne(e){for(;!m2(Yl());)Pa();return fy(e,na)}function yne(e){return Pj(o4("",null,null,null,[""],e=Ej(e),0,[0],e))}function o4(e,t,n,r,i,o,a,s,l){for(var u=0,d=0,h=a,m=0,v=0,b=0,S=1,k=1,E=1,_=0,T="",A=i,I=o,R=r,D=T;k;)switch(b=_,_=Pa()){case 40:if(b!=108&&Wi(D,h-1)==58){r7(D+=An(i4(_),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:D+=i4(_);break;case 9:case 10:case 13:case 32:D+=pne(b);break;case 92:D+=gne(r4()-1,7);continue;case 47:switch(Yl()){case 42:case 47:$3(bne(mne(Pa(),r4()),t,n),l);break;default:D+="/"}break;case 123*S:s[u++]=Bl(D)*E;case 125*S:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+d:v>0&&Bl(D)-h&&$3(v>32?_L(D+";",r,n,h-1):_L(An(D," ","")+";",r,n,h-2),l);break;case 59:D+=";";default:if($3(R=CL(D,t,n,u,d,i,s,T,A=[],I=[],h),o),_===123)if(d===0)o4(D,t,R,R,A,o,h,s,I);else switch(m===99&&Wi(D,3)===110?100:m){case 100:case 109:case 115:o4(e,R,R,r&&$3(CL(e,R,R,0,0,i,s,T,i,A=[],h),I),i,I,h,s,r?A:I);break;default:o4(D,R,R,R,[""],I,0,s,I)}}u=d=v=0,S=E=1,T=D="",h=a;break;case 58:h=1+Bl(D),v=b;default:if(S<1){if(_==123)--S;else if(_==125&&S++==0&&hne()==125)continue}switch(D+=yS(_),_*S){case 38:E=d>0?1:(D+="\f",-1);break;case 44:s[u++]=(Bl(D)-1)*E,E=1;break;case 64:Yl()===45&&(D+=i4(Pa())),m=Yl(),d=h=Bl(T=D+=vne(r4())),_++;break;case 45:b===45&&Bl(D)==2&&(S=0)}}return o}function CL(e,t,n,r,i,o,a,s,l,u,d){for(var h=i-1,m=i===0?o:[""],v=x_(m),b=0,S=0,k=0;b0?m[E]+" "+_:An(_,/&\f/g,m[E])))&&(l[k++]=T);return SS(e,t,n,i===0?b_:s,l,u,d)}function bne(e,t,n){return SS(e,t,n,wj,yS(fne()),g2(e,2,-2),0)}function _L(e,t,n,r){return SS(e,t,n,S_,g2(e,0,r),g2(e,r+1,-1),r)}function hm(e,t){for(var n="",r=x_(e),i=0;i6)switch(Wi(e,t+1)){case 109:if(Wi(e,t+4)!==45)break;case 102:return An(e,/(.+:)(.+)-([^]+)/,"$1"+Cn+"$2-$3$1"+V4+(Wi(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r7(e,"stretch")?Lj(An(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wi(e,t+1)!==115)break;case 6444:switch(Wi(e,Bl(e)-3-(~r7(e,"!important")&&10))){case 107:return An(e,":",":"+Cn)+e;case 101:return An(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Cn+(Wi(e,14)===45?"inline-":"")+"box$3$1"+Cn+"$2$3$1"+eo+"$2box$3")+e}break;case 5936:switch(Wi(e,t+11)){case 114:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Cn+e+eo+e+e}return e}var Tne=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S_:t.return=Lj(t.value,t.length);break;case Cj:return hm([F1(t,{value:An(t.value,"@","@"+Cn)})],i);case b_:if(t.length)return dne(t.props,function(o){switch(cne(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hm([F1(t,{props:[An(o,/:(read-\w+)/,":"+V4+"$1")]})],i);case"::placeholder":return hm([F1(t,{props:[An(o,/:(plac\w+)/,":"+Cn+"input-$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,":"+V4+"$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,eo+"input-$1")]})],i)}return""})}},Lne=[Tne],Aj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var k=S.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var i=t.stylisPlugins||Lne,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var k=S.getAttribute("data-emotion").split(" "),E=1;E=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zne={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hne=/[A-Z]|^ms/g,Vne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nj=function(t){return t.charCodeAt(1)===45},PL=function(t){return t!=null&&typeof t!="boolean"},Gw=Tj(function(e){return Nj(e)?e:e.replace(Hne,"-$&").toLowerCase()}),TL=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vne,function(r,i,o){return $l={name:i,styles:o,next:$l},i})}return zne[t]!==1&&!Nj(t)&&typeof n=="number"&&n!==0?n+"px":n};function v2(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return $l={name:n.name,styles:n.styles,next:$l},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)$l={name:r.name,styles:r.styles,next:$l},r=r.next;var i=n.styles+";";return i}return Wne(e,t,n)}case"function":{if(e!==void 0){var o=$l,a=n(e);return $l=o,v2(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Wne(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i{t.includes(r)||(n[r]=e[r])}),n}function sre(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},Vj=lre(sre);function Wj(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var Uj=e=>Wj(e,t=>t!=null);function ure(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var cre=ure();function Gj(e,...t){return ore(e)?e(...t):e}function dre(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function fre(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=w.createContext(void 0);i.displayName=r;function o(){var a;const s=w.useContext(i);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,o),l}return s}return[i.Provider,o,i]}var hre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pre=Tj(function(e){return hre.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gre=pre,mre=function(t){return t!=="theme"},ML=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gre:mre},IL=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},vre=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Rj(n,r,i),Gne(function(){return Dj(n,r,i)}),null},yre=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=IL(t,n,r),l=s||ML(i),u=!l("as");return function(){var d=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,v=1;v[h,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([h,m])=>[h,m.className]))}function l(d){const v=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:v,selector:`.${v}`,toString:()=>d}}return{parts:i,toPart:l,extend:o,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var Sre=On("accordion").parts("root","container","button","panel").extend("icon"),xre=On("alert").parts("title","description","container").extend("icon","spinner"),wre=On("avatar").parts("label","badge","container").extend("excessLabel","group"),Cre=On("breadcrumb").parts("link","item","container").extend("separator");On("button").parts();var _re=On("checkbox").parts("control","icon","container").extend("label");On("progress").parts("track","filledTrack").extend("label");var kre=On("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ere=On("editable").parts("preview","input","textarea"),Pre=On("form").parts("container","requiredIndicator","helperText"),Tre=On("formError").parts("text","icon"),Lre=On("input").parts("addon","field","element"),Are=On("list").parts("container","item","icon"),Ore=On("menu").parts("button","list","item").extend("groupTitle","command","divider"),Mre=On("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ire=On("numberinput").parts("root","field","stepperGroup","stepper");On("pininput").parts("field");var Rre=On("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Dre=On("progress").parts("label","filledTrack","track"),Nre=On("radio").parts("container","control","label"),jre=On("select").parts("field","icon"),Bre=On("slider").parts("container","track","thumb","filledTrack","mark"),$re=On("stat").parts("container","label","helpText","number","icon"),Fre=On("switch").parts("container","track","thumb"),zre=On("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Hre=On("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Vre=On("tag").parts("container","label","closeButton"),Wre=On("card").parts("container","header","body","footer");function Ui(e,t){Ure(e)&&(e="100%");var n=Gre(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function F3(e){return Math.min(1,Math.max(0,e))}function Ure(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Gre(e){return typeof e=="string"&&e.indexOf("%")!==-1}function qj(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function z3(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wh(e){return e.length===1?"0"+e:String(e)}function qre(e,t,n){return{r:Ui(e,255)*255,g:Ui(t,255)*255,b:Ui(n,255)*255}}function RL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Yre(e,t,n){var r,i,o;if(e=Ui(e,360),t=Ui(t,100),n=Ui(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=qw(s,a,e+1/3),i=qw(s,a,e),o=qw(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function DL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,l=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var u7={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Jre(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=nie(e)),typeof e=="object"&&(ju(e.r)&&ju(e.g)&&ju(e.b)?(t=qre(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ju(e.h)&&ju(e.s)&&ju(e.v)?(r=z3(e.s),i=z3(e.v),t=Kre(e.h,r,i),a=!0,s="hsv"):ju(e.h)&&ju(e.s)&&ju(e.l)&&(r=z3(e.s),o=z3(e.l),t=Yre(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=qj(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var eie="[-\\+]?\\d+%?",tie="[-\\+]?\\d*\\.\\d+%?",xd="(?:".concat(tie,")|(?:").concat(eie,")"),Yw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Kw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Ds={CSS_UNIT:new RegExp(xd),rgb:new RegExp("rgb"+Yw),rgba:new RegExp("rgba"+Kw),hsl:new RegExp("hsl"+Yw),hsla:new RegExp("hsla"+Kw),hsv:new RegExp("hsv"+Yw),hsva:new RegExp("hsva"+Kw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nie(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(u7[e])e=u7[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ds.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ds.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ds.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ds.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ds.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ds.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ds.hex8.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),a:jL(n[4]),format:t?"name":"hex8"}:(n=Ds.hex6.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),format:t?"name":"hex"}:(n=Ds.hex4.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),a:jL(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ds.hex3.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ju(e){return Boolean(Ds.CSS_UNIT.exec(String(e)))}var hy=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Qre(t)),this.originalInput=t;var i=Jre(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=qj(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=DL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=DL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=RL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=RL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NL(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Xre(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ui(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ui(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NL(this.r,this.g,this.b,!1),n=0,r=Object.entries(u7);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=F3(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=F3(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=F3(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=F3(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;an.length;)e.count=null,e.seed&&(e.seed+=1),n.push(Yj(e));return e.count=t,n}var r=rie(e.hue,e.seed),i=iie(r,e),o=oie(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new hy(a)}function rie(e,t){var n=sie(e),r=W4(n,t);return r<0&&(r=360+r),r}function iie(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return W4([0,100],t.seed);var n=Kj(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return W4([r,i],t.seed)}function oie(e,t,n){var r=aie(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return W4([r,i],n.seed)}function aie(e,t){for(var n=Kj(e).lowerBounds,r=0;r=i&&t<=a){var l=(s-o)/(a-i),u=o-l*i;return l*t+u}}return 0}function sie(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Zj.find(function(a){return a.name===e});if(n){var r=Xj(n);if(r.hueRange)return r.hueRange}var i=new hy(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Kj(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Zj;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function W4(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function Xj(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Zj=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];function lie(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;rObject.keys(e).length===0,_o=(e,t,n)=>{const r=lie(e,`colors.${t}`,t),{isValid:i}=new hy(r);return i?r:n},cie=e=>t=>{const n=_o(t,e);return new hy(n).isDark()?"dark":"light"},die=e=>t=>cie(e)(t)==="dark",Hm=(e,t)=>n=>{const r=_o(n,e);return new hy(r).setAlpha(t).toRgbString()};function BL(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( + */var Ai=typeof Symbol=="function"&&Symbol.for,w_=Ai?Symbol.for("react.element"):60103,C_=Ai?Symbol.for("react.portal"):60106,xS=Ai?Symbol.for("react.fragment"):60107,wS=Ai?Symbol.for("react.strict_mode"):60108,CS=Ai?Symbol.for("react.profiler"):60114,_S=Ai?Symbol.for("react.provider"):60109,kS=Ai?Symbol.for("react.context"):60110,__=Ai?Symbol.for("react.async_mode"):60111,ES=Ai?Symbol.for("react.concurrent_mode"):60111,PS=Ai?Symbol.for("react.forward_ref"):60112,TS=Ai?Symbol.for("react.suspense"):60113,One=Ai?Symbol.for("react.suspense_list"):60120,LS=Ai?Symbol.for("react.memo"):60115,AS=Ai?Symbol.for("react.lazy"):60116,Mne=Ai?Symbol.for("react.block"):60121,Ine=Ai?Symbol.for("react.fundamental"):60117,Rne=Ai?Symbol.for("react.responder"):60118,Dne=Ai?Symbol.for("react.scope"):60119;function Ra(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case w_:switch(e=e.type,e){case __:case ES:case xS:case CS:case wS:case TS:return e;default:switch(e=e&&e.$$typeof,e){case kS:case PS:case AS:case LS:case _S:return e;default:return t}}case C_:return t}}}function Oj(e){return Ra(e)===ES}$n.AsyncMode=__;$n.ConcurrentMode=ES;$n.ContextConsumer=kS;$n.ContextProvider=_S;$n.Element=w_;$n.ForwardRef=PS;$n.Fragment=xS;$n.Lazy=AS;$n.Memo=LS;$n.Portal=C_;$n.Profiler=CS;$n.StrictMode=wS;$n.Suspense=TS;$n.isAsyncMode=function(e){return Oj(e)||Ra(e)===__};$n.isConcurrentMode=Oj;$n.isContextConsumer=function(e){return Ra(e)===kS};$n.isContextProvider=function(e){return Ra(e)===_S};$n.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===w_};$n.isForwardRef=function(e){return Ra(e)===PS};$n.isFragment=function(e){return Ra(e)===xS};$n.isLazy=function(e){return Ra(e)===AS};$n.isMemo=function(e){return Ra(e)===LS};$n.isPortal=function(e){return Ra(e)===C_};$n.isProfiler=function(e){return Ra(e)===CS};$n.isStrictMode=function(e){return Ra(e)===wS};$n.isSuspense=function(e){return Ra(e)===TS};$n.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===xS||e===ES||e===CS||e===wS||e===TS||e===One||typeof e=="object"&&e!==null&&(e.$$typeof===AS||e.$$typeof===LS||e.$$typeof===_S||e.$$typeof===kS||e.$$typeof===PS||e.$$typeof===Ine||e.$$typeof===Rne||e.$$typeof===Dne||e.$$typeof===Mne)};$n.typeOf=Ra;(function(e){e.exports=$n})(Ane);var Mj=o7,Nne={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jne={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ij={};Ij[Mj.ForwardRef]=Nne;Ij[Mj.Memo]=jne;var Bne=!0;function $ne(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Rj=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Bne===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Dj=function(t,n,r){Rj(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Fne(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zne={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hne=/[A-Z]|^ms/g,Vne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nj=function(t){return t.charCodeAt(1)===45},PL=function(t){return t!=null&&typeof t!="boolean"},Gw=Tj(function(e){return Nj(e)?e:e.replace(Hne,"-$&").toLowerCase()}),TL=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vne,function(r,i,o){return $l={name:i,styles:o,next:$l},i})}return zne[t]!==1&&!Nj(t)&&typeof n=="number"&&n!==0?n+"px":n};function v2(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return $l={name:n.name,styles:n.styles,next:$l},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)$l={name:r.name,styles:r.styles,next:$l},r=r.next;var i=n.styles+";";return i}return Wne(e,t,n)}case"function":{if(e!==void 0){var o=$l,a=n(e);return $l=o,v2(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Wne(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i{t.includes(r)||(n[r]=e[r])}),n}function sre(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},Vj=lre(sre);function Wj(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var Uj=e=>Wj(e,t=>t!=null);function ure(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var cre=ure();function Gj(e,...t){return ore(e)?e(...t):e}function dre(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function fre(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=w.createContext(void 0);i.displayName=r;function o(){var a;const s=w.useContext(i);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,o),l}return s}return[i.Provider,o,i]}var hre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pre=Tj(function(e){return hre.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gre=pre,mre=function(t){return t!=="theme"},ML=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gre:mre},IL=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},vre=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Rj(n,r,i),Gne(function(){return Dj(n,r,i)}),null},yre=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=IL(t,n,r),l=s||ML(i),u=!l("as");return function(){var d=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,v=1;v[h,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([h,m])=>[h,m.className]))}function l(d){const v=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:v,selector:`.${v}`,toString:()=>d}}return{parts:i,toPart:l,extend:o,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var Sre=On("accordion").parts("root","container","button","panel").extend("icon"),xre=On("alert").parts("title","description","container").extend("icon","spinner"),wre=On("avatar").parts("label","badge","container").extend("excessLabel","group"),Cre=On("breadcrumb").parts("link","item","container").extend("separator");On("button").parts();var _re=On("checkbox").parts("control","icon","container").extend("label");On("progress").parts("track","filledTrack").extend("label");var kre=On("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ere=On("editable").parts("preview","input","textarea"),Pre=On("form").parts("container","requiredIndicator","helperText"),Tre=On("formError").parts("text","icon"),Lre=On("input").parts("addon","field","element"),Are=On("list").parts("container","item","icon"),Ore=On("menu").parts("button","list","item").extend("groupTitle","command","divider"),Mre=On("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ire=On("numberinput").parts("root","field","stepperGroup","stepper");On("pininput").parts("field");var Rre=On("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Dre=On("progress").parts("label","filledTrack","track"),Nre=On("radio").parts("container","control","label"),jre=On("select").parts("field","icon"),Bre=On("slider").parts("container","track","thumb","filledTrack","mark"),$re=On("stat").parts("container","label","helpText","number","icon"),Fre=On("switch").parts("container","track","thumb"),zre=On("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Hre=On("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Vre=On("tag").parts("container","label","closeButton"),Wre=On("card").parts("container","header","body","footer");function Ui(e,t){Ure(e)&&(e="100%");var n=Gre(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function F3(e){return Math.min(1,Math.max(0,e))}function Ure(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Gre(e){return typeof e=="string"&&e.indexOf("%")!==-1}function qj(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function z3(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wh(e){return e.length===1?"0"+e:String(e)}function qre(e,t,n){return{r:Ui(e,255)*255,g:Ui(t,255)*255,b:Ui(n,255)*255}}function RL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Yre(e,t,n){var r,i,o;if(e=Ui(e,360),t=Ui(t,100),n=Ui(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=qw(s,a,e+1/3),i=qw(s,a,e),o=qw(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function DL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,l=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var u7={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Jre(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=nie(e)),typeof e=="object"&&(ju(e.r)&&ju(e.g)&&ju(e.b)?(t=qre(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ju(e.h)&&ju(e.s)&&ju(e.v)?(r=z3(e.s),i=z3(e.v),t=Kre(e.h,r,i),a=!0,s="hsv"):ju(e.h)&&ju(e.s)&&ju(e.l)&&(r=z3(e.s),o=z3(e.l),t=Yre(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=qj(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var eie="[-\\+]?\\d+%?",tie="[-\\+]?\\d*\\.\\d+%?",xd="(?:".concat(tie,")|(?:").concat(eie,")"),Yw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Kw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Ds={CSS_UNIT:new RegExp(xd),rgb:new RegExp("rgb"+Yw),rgba:new RegExp("rgba"+Kw),hsl:new RegExp("hsl"+Yw),hsla:new RegExp("hsla"+Kw),hsv:new RegExp("hsv"+Yw),hsva:new RegExp("hsva"+Kw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nie(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(u7[e])e=u7[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ds.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ds.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ds.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ds.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ds.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ds.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ds.hex8.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),a:jL(n[4]),format:t?"name":"hex8"}:(n=Ds.hex6.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),format:t?"name":"hex"}:(n=Ds.hex4.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),a:jL(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ds.hex3.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ju(e){return Boolean(Ds.CSS_UNIT.exec(String(e)))}var hy=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Qre(t)),this.originalInput=t;var i=Jre(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=qj(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=DL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=DL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=RL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=RL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NL(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Xre(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ui(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ui(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NL(this.r,this.g,this.b,!1),n=0,r=Object.entries(u7);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=F3(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=F3(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=F3(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=F3(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;an.length;)e.count=null,e.seed&&(e.seed+=1),n.push(Yj(e));return e.count=t,n}var r=rie(e.hue,e.seed),i=iie(r,e),o=oie(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new hy(a)}function rie(e,t){var n=sie(e),r=W4(n,t);return r<0&&(r=360+r),r}function iie(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return W4([0,100],t.seed);var n=Kj(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return W4([r,i],t.seed)}function oie(e,t,n){var r=aie(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return W4([r,i],n.seed)}function aie(e,t){for(var n=Kj(e).lowerBounds,r=0;r=i&&t<=a){var l=(s-o)/(a-i),u=o-l*i;return l*t+u}}return 0}function sie(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Zj.find(function(a){return a.name===e});if(n){var r=Xj(n);if(r.hueRange)return r.hueRange}var i=new hy(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Kj(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Zj;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function W4(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function Xj(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Zj=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];function lie(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;rObject.keys(e).length===0,_o=(e,t,n)=>{const r=lie(e,`colors.${t}`,t),{isValid:i}=new hy(r);return i?r:n},cie=e=>t=>{const n=_o(t,e);return new hy(n).isDark()?"dark":"light"},die=e=>t=>cie(e)(t)==="dark",Hm=(e,t)=>n=>{const r=_o(n,e);return new hy(r).setAlpha(t).toRgbString()};function BL(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( 45deg, ${t} 25%, transparent 25%, @@ -35,7 +35,7 @@ var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,con transparent 0%, ${_o(n,a)} 50%, transparent 100% - )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},Ise={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Rse=e=>({bg:Et("gray.100","whiteAlpha.300")(e)}),Dse=e=>({transitionProperty:"common",transitionDuration:"slow",...Mse(e)}),Nse=vv(e=>({label:Ise,filledTrack:Dse(e),track:Rse(e)})),jse={xs:vv({track:{h:"1"}}),sm:vv({track:{h:"2"}}),md:vv({track:{h:"3"}}),lg:vv({track:{h:"4"}})},Bse=Ose({sizes:jse,baseStyle:Nse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:$se,definePartsStyle:s4}=hr(Nre.keys),Fse=e=>{var t;const n=(t=Po(G4.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},zse=s4(e=>{var t,n,r,i;return{label:(n=(t=G4).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=G4).baseStyle)==null?void 0:i.call(r,e).container,control:Fse(e)}}),Hse={md:s4({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:s4({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:s4({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Vse=$se({baseStyle:zse,sizes:Hse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Wse,definePartsStyle:Use}=hr(jre.keys),W3=Hn("select-bg"),qL,Gse={...(qL=_n.baseStyle)==null?void 0:qL.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:W3.reference,[W3.variable]:"colors.white",_dark:{[W3.variable]:"colors.gray.700"},"> option, > optgroup":{bg:W3.reference}},qse={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},Yse=Use({field:Gse,icon:qse}),U3={paddingInlineEnd:"8"},YL,KL,XL,ZL,QL,JL,eA,tA,Kse={lg:{...(YL=_n.sizes)==null?void 0:YL.lg,field:{...(KL=_n.sizes)==null?void 0:KL.lg.field,...U3}},md:{...(XL=_n.sizes)==null?void 0:XL.md,field:{...(ZL=_n.sizes)==null?void 0:ZL.md.field,...U3}},sm:{...(QL=_n.sizes)==null?void 0:QL.sm,field:{...(JL=_n.sizes)==null?void 0:JL.sm.field,...U3}},xs:{...(eA=_n.sizes)==null?void 0:eA.xs,field:{...(tA=_n.sizes)==null?void 0:tA.xs.field,...U3},icon:{insetEnd:"1"}}},Xse=Wse({baseStyle:Yse,sizes:Kse,variants:_n.variants,defaultProps:_n.defaultProps}),i6=Hn("skeleton-start-color"),o6=Hn("skeleton-end-color"),Zse={[i6.variable]:"colors.gray.100",[o6.variable]:"colors.gray.400",_dark:{[i6.variable]:"colors.gray.800",[o6.variable]:"colors.gray.600"},background:i6.reference,borderColor:o6.reference,opacity:.7,borderRadius:"sm"},Qse={baseStyle:Zse},a6=Hn("skip-link-bg"),Jse={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[a6.variable]:"colors.white",_dark:{[a6.variable]:"colors.gray.700"},bg:a6.reference}},ele={baseStyle:Jse},{defineMultiStyleConfig:tle,definePartsStyle:RS}=hr(Bre.keys),S2=Hn("slider-thumb-size"),x2=Hn("slider-track-size"),vd=Hn("slider-bg"),nle=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...P_({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},rle=e=>({...P_({orientation:e.orientation,horizontal:{h:x2.reference},vertical:{w:x2.reference}}),overflow:"hidden",borderRadius:"sm",[vd.variable]:"colors.gray.200",_dark:{[vd.variable]:"colors.whiteAlpha.200"},_disabled:{[vd.variable]:"colors.gray.300",_dark:{[vd.variable]:"colors.whiteAlpha.300"}},bg:vd.reference}),ile=e=>{const{orientation:t}=e;return{...P_({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:S2.reference,h:S2.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},ole=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[vd.variable]:`colors.${t}.500`,_dark:{[vd.variable]:`colors.${t}.200`},bg:vd.reference}},ale=RS(e=>({container:nle(e),track:rle(e),thumb:ile(e),filledTrack:ole(e)})),sle=RS({container:{[S2.variable]:"sizes.4",[x2.variable]:"sizes.1"}}),lle=RS({container:{[S2.variable]:"sizes.3.5",[x2.variable]:"sizes.1"}}),ule=RS({container:{[S2.variable]:"sizes.2.5",[x2.variable]:"sizes.0.5"}}),cle={lg:sle,md:lle,sm:ule},dle=tle({baseStyle:ale,sizes:cle,defaultProps:{size:"md",colorScheme:"blue"}}),bh=yi("spinner-size"),fle={width:[bh.reference],height:[bh.reference]},hle={xs:{[bh.variable]:"sizes.3"},sm:{[bh.variable]:"sizes.4"},md:{[bh.variable]:"sizes.6"},lg:{[bh.variable]:"sizes.8"},xl:{[bh.variable]:"sizes.12"}},ple={baseStyle:fle,sizes:hle,defaultProps:{size:"md"}},{defineMultiStyleConfig:gle,definePartsStyle:sB}=hr($re.keys),mle={fontWeight:"medium"},vle={opacity:.8,marginBottom:"2"},yle={verticalAlign:"baseline",fontWeight:"semibold"},ble={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},Sle=sB({container:{},label:mle,helpText:vle,number:yle,icon:ble}),xle={md:sB({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},wle=gle({baseStyle:Sle,sizes:xle,defaultProps:{size:"md"}}),{defineMultiStyleConfig:Cle,definePartsStyle:l4}=hr(Fre.keys),$v=yi("switch-track-width"),Oh=yi("switch-track-height"),s6=yi("switch-track-diff"),_le=Vu.subtract($v,Oh),h7=yi("switch-thumb-x"),H1=yi("switch-bg"),kle=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[$v.reference],height:[Oh.reference],transitionProperty:"common",transitionDuration:"fast",[H1.variable]:"colors.gray.300",_dark:{[H1.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[H1.variable]:`colors.${t}.500`,_dark:{[H1.variable]:`colors.${t}.200`}},bg:H1.reference}},Ele={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oh.reference],height:[Oh.reference],_checked:{transform:`translateX(${h7.reference})`}},Ple=l4(e=>({container:{[s6.variable]:_le,[h7.variable]:s6.reference,_rtl:{[h7.variable]:Vu(s6).negate().toString()}},track:kle(e),thumb:Ele})),Tle={sm:l4({container:{[$v.variable]:"1.375rem",[Oh.variable]:"sizes.3"}}),md:l4({container:{[$v.variable]:"1.875rem",[Oh.variable]:"sizes.4"}}),lg:l4({container:{[$v.variable]:"2.875rem",[Oh.variable]:"sizes.6"}})},Lle=Cle({baseStyle:Ple,sizes:Tle,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ale,definePartsStyle:bm}=hr(zre.keys),Ole=bm({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),q4={"&[data-is-numeric=true]":{textAlign:"end"}},Mle=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Ile=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e)},td:{background:Et(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Rle={simple:Mle,striped:Ile,unstyled:{}},Dle={sm:bm({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:bm({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bm({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Nle=Ale({baseStyle:Ole,variants:Rle,sizes:Dle,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ko=Hn("tabs-color"),Fs=Hn("tabs-bg"),G3=Hn("tabs-border-color"),{defineMultiStyleConfig:jle,definePartsStyle:Kl}=hr(Hre.keys),Ble=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},$le=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Fle=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},zle={p:4},Hle=Kl(e=>({root:Ble(e),tab:$le(e),tablist:Fle(e),tabpanel:zle})),Vle={sm:Kl({tab:{py:1,px:4,fontSize:"sm"}}),md:Kl({tab:{fontSize:"md",py:2,px:4}}),lg:Kl({tab:{fontSize:"lg",py:3,px:4}})},Wle=Kl(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[Ko.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Fs.variable]:"colors.gray.200",_dark:{[Fs.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ko.reference,bg:Fs.reference}}}),Ule=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[G3.reference]:"transparent",_selected:{[Ko.variable]:`colors.${t}.600`,[G3.variable]:"colors.white",_dark:{[Ko.variable]:`colors.${t}.300`,[G3.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:G3.reference},color:Ko.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Gle=Kl(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Fs.variable]:"colors.gray.50",_dark:{[Fs.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Fs.variable]:"colors.white",[Ko.variable]:`colors.${t}.600`,_dark:{[Fs.variable]:"colors.gray.800",[Ko.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ko.reference,bg:Fs.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),qle=Kl(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:_o(n,`${t}.700`),bg:_o(n,`${t}.100`)}}}}),Yle=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ko.variable]:"colors.gray.600",_dark:{[Ko.variable]:"inherit"},_selected:{[Ko.variable]:"colors.white",[Fs.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:"colors.gray.800",[Fs.variable]:`colors.${t}.300`}},color:Ko.reference,bg:Fs.reference}}}),Kle=Kl({}),Xle={line:Wle,enclosed:Ule,"enclosed-colored":Gle,"soft-rounded":qle,"solid-rounded":Yle,unstyled:Kle},Zle=jle({baseStyle:Hle,sizes:Vle,variants:Xle,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Qle,definePartsStyle:Mh}=hr(Vre.keys),Jle={fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},eue={lineHeight:1.2,overflow:"visible"},tue={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},nue=Mh({container:Jle,label:eue,closeButton:tue}),rue={sm:Mh({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Mh({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Mh({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},iue={subtle:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.subtle(e)}}),solid:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.solid(e)}}),outline:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.outline(e)}})},oue=Qle({variants:iue,baseStyle:nue,sizes:rue,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),nA,aue={...(nA=_n.baseStyle)==null?void 0:nA.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},rA,sue={outline:e=>{var t;return((t=_n.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=_n.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=_n.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((rA=_n.variants)==null?void 0:rA.unstyled.field)??{}},iA,oA,aA,sA,lue={xs:((iA=_n.sizes)==null?void 0:iA.xs.field)??{},sm:((oA=_n.sizes)==null?void 0:oA.sm.field)??{},md:((aA=_n.sizes)==null?void 0:aA.md.field)??{},lg:((sA=_n.sizes)==null?void 0:sA.lg.field)??{}},uue={baseStyle:aue,sizes:lue,variants:sue,defaultProps:{size:"md",variant:"outline"}},q3=yi("tooltip-bg"),l6=yi("tooltip-fg"),cue=yi("popper-arrow-bg"),due={bg:q3.reference,color:l6.reference,[q3.variable]:"colors.gray.700",[l6.variable]:"colors.whiteAlpha.900",_dark:{[q3.variable]:"colors.gray.300",[l6.variable]:"colors.gray.900"},[cue.variable]:q3.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},fue={baseStyle:due},hue={Accordion:Aie,Alert:Bie,Avatar:Kie,Badge:Nv,Breadcrumb:ooe,Button:poe,Checkbox:G4,CloseButton:Loe,Code:Ioe,Container:Doe,Divider:Foe,Drawer:Zoe,Editable:iae,Form:cae,FormError:mae,FormLabel:yae,Heading:xae,Input:_n,Kbd:Oae,Link:Iae,List:Bae,Menu:Yae,Modal:ose,NumberInput:gse,PinInput:bse,Popover:Ase,Progress:Bse,Radio:Vse,Select:Xse,Skeleton:Qse,SkipLink:ele,Slider:dle,Spinner:ple,Stat:wle,Switch:Lle,Table:Nle,Tabs:Zle,Tag:oue,Textarea:uue,Tooltip:fue,Card:boe},pue={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},gue=pue,mue={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},vue=mue,yue={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},bue=yue,Sue={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},xue=Sue,wue={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Cue=wue,_ue={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},kue={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Eue={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},Pue={property:_ue,easing:kue,duration:Eue},Tue=Pue,Lue={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},Aue=Lue,Oue={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Mue=Oue,Iue={breakpoints:vue,zIndices:Aue,radii:xue,blur:Mue,colors:bue,...iB,sizes:tB,shadows:Cue,space:eB,borders:gue,transition:Tue},Rue={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Due={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},Nue="ltr",jue={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Bue={semanticTokens:Rue,direction:Nue,...Iue,components:hue,styles:Due,config:jue},$ue=typeof Element<"u",Fue=typeof Map=="function",zue=typeof Set=="function",Hue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function u4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!u4(e[r],t[r]))return!1;return!0}var o;if(Fue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!u4(r.value[1],t.get(r.value[0])))return!1;return!0}if(zue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Hue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if($ue&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!u4(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var Vue=function(t,n){try{return u4(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function h0(){const e=w.useContext(y2);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function lB(){const e=dy(),t=h0();return{...e,theme:t}}function Wue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__breakpoints)==null?void 0:o.asArray)==null?void 0:a[i]};return r(t)??r(n)??n}function Uue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function Gue(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),s=r.map((l,u)=>{if(e==="breakpoints")return Wue(o,l,a[u]??l);const d=`${e}.${l}`;return Uue(o,d,a[u]??l)});return Array.isArray(t)?s:s[0]}}function que(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=w.useMemo(()=>Fte(n),[n]);return N.createElement(Xne,{theme:i},N.createElement(Yue,{root:t}),r)}function Yue({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return N.createElement(OS,{styles:n=>({[t]:n.__cssVars})})}fre({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function Kue(){const{colorMode:e}=dy();return N.createElement(OS,{styles:t=>{const n=Vj(t,"styles.global"),r=Gj(n,{theme:t,colorMode:e});return r?xj(r)(t):void 0}})}var Xue=new Set([...Vte,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Zue=new Set(["htmlWidth","htmlHeight","htmlSize"]);function Que(e){return Zue.has(e)||!Xue.has(e)}var Jue=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=Wj(a,(h,m)=>Ute(m)),l=Gj(e,t),u=Object.assign({},i,l,Uj(s),o),d=xj(u)(t.theme);return r?[d,r]:d};function u6(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Que);const i=Jue({baseStyle:n}),o=l7(e,r)(i);return N.forwardRef(function(l,u){const{colorMode:d,forced:h}=dy();return N.createElement(o,{ref:u,"data-theme":h?d:void 0,...l})})}function Ae(e){return w.forwardRef(e)}function uB(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=lB(),a=e?Vj(i,`components.${e}`):void 0,s=n||a,l=Wl({theme:i,colorMode:o},(s==null?void 0:s.defaultProps)??{},Uj(are(r,["children"]))),u=w.useRef({});if(s){const h=tne(s)(l);Vue(u.current,h)||(u.current=h)}return u.current}function Ao(e,t={}){return uB(e,t)}function Yi(e,t={}){return uB(e,t)}function ece(){const e=new Map;return new Proxy(u6,{apply(t,n,r){return u6(...r)},get(t,n){return e.has(n)||e.set(n,u6(n)),e.get(n)}})}var Ce=ece();function tce(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Mn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o}=e,a=w.createContext(void 0);a.displayName=t;function s(){var l;const u=w.useContext(a);if(!u&&n){const d=new Error(o??tce(r,i));throw d.name="ContextError",(l=Error.captureStackTrace)==null||l.call(Error,d,s),d}return u}return[a.Provider,s,a]}function nce(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function qn(...e){return t=>{e.forEach(n=>{nce(n,t)})}}function rce(...e){return w.useMemo(()=>qn(...e),e)}function lA(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var ice=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function uA(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function cA(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var p7=typeof window<"u"?w.useLayoutEffect:w.useEffect,Y4=e=>e,oce=class{constructor(){an(this,"descendants",new Map);an(this,"register",e=>{if(e!=null)return ice(e)?this.registerNode(e):t=>{this.registerNode(t,e)}});an(this,"unregister",e=>{this.descendants.delete(e);const t=lA(Array.from(this.descendants.keys()));this.assignIndex(t)});an(this,"destroy",()=>{this.descendants.clear()});an(this,"assignIndex",e=>{this.descendants.forEach(t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()})});an(this,"count",()=>this.descendants.size);an(this,"enabledCount",()=>this.enabledValues().length);an(this,"values",()=>Array.from(this.descendants.values()).sort((t,n)=>t.index-n.index));an(this,"enabledValues",()=>this.values().filter(e=>!e.disabled));an(this,"item",e=>{if(this.count()!==0)return this.values()[e]});an(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]});an(this,"first",()=>this.item(0));an(this,"firstEnabled",()=>this.enabledItem(0));an(this,"last",()=>this.item(this.descendants.size-1));an(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)});an(this,"indexOf",e=>{var t;return e?((t=this.descendants.get(e))==null?void 0:t.index)??-1:-1});an(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e)));an(this,"next",(e,t=!0)=>{const n=uA(e,this.count(),t);return this.item(n)});an(this,"nextEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=uA(r,this.enabledCount(),t);return this.enabledItem(i)});an(this,"prev",(e,t=!0)=>{const n=cA(e,this.count()-1,t);return this.item(n)});an(this,"prevEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=cA(r,this.enabledCount()-1,t);return this.enabledItem(i)});an(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const n=Array.from(this.descendants.keys()).concat(e),r=lA(n);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(r)})}};function ace(){const e=w.useRef(new oce);return p7(()=>()=>e.current.destroy()),e.current}var[sce,cB]=Mn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function lce(e){const t=cB(),[n,r]=w.useState(-1),i=w.useRef(null);p7(()=>()=>{i.current&&t.unregister(i.current)},[]),p7(()=>{if(!i.current)return;const a=Number(i.current.dataset.index);n!=a&&!Number.isNaN(a)&&r(a)});const o=Y4(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:qn(o,i)}}function dB(){return[Y4(sce),()=>Y4(cB()),()=>ace(),i=>lce(i)]}var Qr=(...e)=>e.filter(Boolean).join(" "),dA={path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Da=Ae((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...u}=e,d=Qr("chakra-icon",s),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l},m={ref:t,focusable:o,className:d,__css:h},v=r??dA.viewBox;if(n&&typeof n!="string")return N.createElement(Ce.svg,{as:n,...m,...u});const b=a??dA.path;return N.createElement(Ce.svg,{verticalAlign:"middle",viewBox:v,...m,...u},b)});Da.displayName="Icon";function yt(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=w.Children.toArray(e.path),a=Ae((s,l)=>N.createElement(Da,{ref:l,viewBox:t,...i,...s},o.length?o:N.createElement("path",{fill:"currentColor",d:n})));return a.displayName=r,a}function Er(e,t=[]){const n=w.useRef(e);return w.useEffect(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function DS(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(m,v)=>m!==v}=e,o=Er(r),a=Er(i),[s,l]=w.useState(n),u=t!==void 0,d=u?t:s,h=Er(m=>{const b=typeof m=="function"?m(d):m;a(d,b)&&(u||l(b),o(b))},[u,o,d,a]);return[d,h]}const O_=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),NS=w.createContext({});function uce(){return w.useContext(NS).visualElement}const p0=w.createContext(null),np=typeof document<"u",K4=np?w.useLayoutEffect:w.useEffect,fB=w.createContext({strict:!1});function cce(e,t,n,r){const i=uce(),o=w.useContext(fB),a=w.useContext(p0),s=w.useContext(O_).reducedMotion,l=w.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;return K4(()=>{u&&u.render()}),w.useEffect(()=>{u&&u.animationState&&u.animationState.animateChanges()}),K4(()=>()=>u&&u.notify("Unmount"),[]),u}function Hg(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dce(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Hg(n)&&(n.current=r))},[t])}function w2(e){return typeof e=="string"||Array.isArray(e)}function jS(e){return typeof e=="object"&&typeof e.start=="function"}const fce=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function BS(e){return jS(e.animate)||fce.some(t=>w2(e[t]))}function hB(e){return Boolean(BS(e)||e.variants)}function hce(e,t){if(BS(e)){const{initial:n,animate:r}=e;return{initial:n===!1||w2(n)?n:void 0,animate:w2(r)?r:void 0}}return e.inherit!==!1?t:{}}function pce(e){const{initial:t,animate:n}=hce(e,w.useContext(NS));return w.useMemo(()=>({initial:t,animate:n}),[fA(t),fA(n)])}function fA(e){return Array.isArray(e)?e.join(" "):e}const Bu=e=>({isEnabled:t=>e.some(n=>!!t[n])}),C2={measureLayout:Bu(["layout","layoutId","drag"]),animation:Bu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Bu(["exit"]),drag:Bu(["drag","dragControls"]),focus:Bu(["whileFocus"]),hover:Bu(["whileHover","onHoverStart","onHoverEnd"]),tap:Bu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Bu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Bu(["whileInView","onViewportEnter","onViewportLeave"])};function gce(e){for(const t in e)t==="projectionNodeConstructor"?C2.projectionNodeConstructor=e[t]:C2[t].Component=e[t]}function $S(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let mce=1;function vce(){return $S(()=>{if(Fv.hasEverUpdated)return mce++})}const M_=w.createContext({});class yce extends N.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const pB=w.createContext({}),bce=Symbol.for("motionComponentSymbol");function Sce({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&gce(e);function a(l,u){const d={...w.useContext(O_),...l,layoutId:xce(l)},{isStatic:h}=d;let m=null;const v=pce(l),b=h?void 0:vce(),S=i(l,h);if(!h&&np){v.visualElement=cce(o,S,d,t);const E=w.useContext(fB).strict,k=w.useContext(pB);v.visualElement&&(m=v.visualElement.loadFeatures(d,E,e,b,n||C2.projectionNodeConstructor,k))}return w.createElement(yce,{visualElement:v.visualElement,props:d},m,w.createElement(NS.Provider,{value:v},r(o,l,b,dce(S,v.visualElement,u),S,h,v.visualElement)))}const s=w.forwardRef(a);return s[bce]=o,s}function xce({layoutId:e}){const t=w.useContext(M_).id;return t&&e!==void 0?t+"-"+e:e}function wce(e){function t(r,i={}){return Sce(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Cce=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function I_(e){return typeof e!="string"||e.includes("-")?!1:!!(Cce.indexOf(e)>-1||/[A-Z]/.test(e))}const X4={};function _ce(e){Object.assign(X4,e)}const Z4=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g0=new Set(Z4);function gB(e,{layout:t,layoutId:n}){return g0.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!X4[e]||e==="opacity")}const ou=e=>!!(e!=null&&e.getVelocity),kce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ece=(e,t)=>Z4.indexOf(e)-Z4.indexOf(t);function Pce({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(Ece);for(const s of t)a+=`${kce[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function mB(e){return e.startsWith("--")}const Tce=(e,t)=>t&&typeof e=="number"?t.transform(e):e,vB=(e,t)=>n=>Math.max(Math.min(n,t),e),zv=e=>e%1?Number(e.toFixed(5)):e,_2=/(-)?([\d]*\.?[\d])+/g,g7=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Lce=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function gy(e){return typeof e=="string"}const rp={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Hv=Object.assign(Object.assign({},rp),{transform:vB(0,1)}),Y3=Object.assign(Object.assign({},rp),{default:1}),my=e=>({test:t=>gy(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),cd=my("deg"),Xl=my("%"),Lt=my("px"),Ace=my("vh"),Oce=my("vw"),hA=Object.assign(Object.assign({},Xl),{parse:e=>Xl.parse(e)/100,transform:e=>Xl.transform(e*100)}),R_=(e,t)=>n=>Boolean(gy(n)&&Lce.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yB=(e,t,n)=>r=>{if(!gy(r))return r;const[i,o,a,s]=r.match(_2);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Ch={test:R_("hsl","hue"),parse:yB("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xl.transform(zv(t))+", "+Xl.transform(zv(n))+", "+zv(Hv.transform(r))+")"},Mce=vB(0,255),c6=Object.assign(Object.assign({},rp),{transform:e=>Math.round(Mce(e))}),wd={test:R_("rgb","red"),parse:yB("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+c6.transform(e)+", "+c6.transform(t)+", "+c6.transform(n)+", "+zv(Hv.transform(r))+")"};function Ice(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const m7={test:R_("#"),parse:Ice,transform:wd.transform},xo={test:e=>wd.test(e)||m7.test(e)||Ch.test(e),parse:e=>wd.test(e)?wd.parse(e):Ch.test(e)?Ch.parse(e):m7.parse(e),transform:e=>gy(e)?e:e.hasOwnProperty("red")?wd.transform(e):Ch.transform(e)},bB="${c}",SB="${n}";function Rce(e){var t,n,r,i;return isNaN(e)&&gy(e)&&((n=(t=e.match(_2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(g7))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function xB(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(g7);r&&(n=r.length,e=e.replace(g7,bB),t.push(...r.map(xo.parse)));const i=e.match(_2);return i&&(e=e.replace(_2,SB),t.push(...i.map(rp.parse))),{values:t,numColors:n,tokenised:e}}function wB(e){return xB(e).values}function CB(e){const{values:t,numColors:n,tokenised:r}=xB(e),i=t.length;return o=>{let a=r;for(let s=0;stypeof e=="number"?0:e;function Nce(e){const t=wB(e);return CB(e)(t.map(Dce))}const Ju={test:Rce,parse:wB,createTransformer:CB,getAnimatableNone:Nce},jce=new Set(["brightness","contrast","saturate","opacity"]);function Bce(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(_2)||[];if(!r)return e;const i=n.replace(r,"");let o=jce.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const $ce=/([a-z-]*)\(.*?\)/g,v7=Object.assign(Object.assign({},Ju),{getAnimatableNone:e=>{const t=e.match($ce);return t?t.map(Bce).join(" "):e}}),pA={...rp,transform:Math.round},_B={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,size:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,rotate:cd,rotateX:cd,rotateY:cd,rotateZ:cd,scale:Y3,scaleX:Y3,scaleY:Y3,scaleZ:Y3,skew:cd,skewX:cd,skewY:cd,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:Hv,originX:hA,originY:hA,originZ:Lt,zIndex:pA,fillOpacity:Hv,strokeOpacity:Hv,numOctaves:pA};function D_(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,d=!1,h=!0;for(const m in t){const v=t[m];if(mB(m)){o[m]=v;continue}const b=_B[m],S=Tce(v,b);if(g0.has(m)){if(u=!0,a[m]=S,s.push(m),!h)continue;v!==(b.default||0)&&(h=!1)}else m.startsWith("origin")?(d=!0,l[m]=S):i[m]=S}if(t.transform||(u||r?i.transform=Pce(e,n,h,r):i.transform&&(i.transform="none")),d){const{originX:m="50%",originY:v="50%",originZ:b=0}=l;i.transformOrigin=`${m} ${v} ${b}`}}const N_=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function kB(e,t,n){for(const r in t)!ou(t[r])&&!gB(r,n)&&(e[r]=t[r])}function Fce({transformTemplate:e},t,n){return w.useMemo(()=>{const r=N_();return D_(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function zce(e,t,n){const r=e.style||{},i={};return kB(i,r,e),Object.assign(i,Fce(e,t,n)),e.transformValues?e.transformValues(i):i}function Hce(e,t,n){const r={},i=zce(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const Vce=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],Wce=["whileTap","onTap","onTapStart","onTapCancel"],Uce=["onPan","onPanStart","onPanSessionStart","onPanEnd"],Gce=["whileInView","onViewportEnter","onViewportLeave","viewport"],qce=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...Gce,...Wce,...Vce,...Uce]);function Q4(e){return qce.has(e)}let EB=e=>!Q4(e);function Yce(e){e&&(EB=t=>t.startsWith("on")?!Q4(t):e(t))}try{Yce(require("@emotion/is-prop-valid").default)}catch{}function Kce(e,t,n){const r={};for(const i in e)(EB(i)||n===!0&&Q4(i)||!t&&!Q4(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function gA(e,t,n){return typeof e=="string"?e:Lt.transform(t+n*e)}function Xce(e,t,n){const r=gA(t,e.x,e.width),i=gA(n,e.y,e.height);return`${r} ${i}`}const Zce={offset:"stroke-dashoffset",array:"stroke-dasharray"},Qce={offset:"strokeDashoffset",array:"strokeDasharray"};function Jce(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Zce:Qce;e[o.offset]=Lt.transform(-r);const a=Lt.transform(t),s=Lt.transform(n);e[o.array]=`${a} ${s}`}function j_(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,d){D_(e,l,u,d),e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:v}=e;h.transform&&(v&&(m.transform=h.transform),delete h.transform),v&&(r!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=Xce(v,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),o!==void 0&&Jce(h,o,a,s,!1)}const PB=()=>({...N_(),attrs:{}});function ede(e,t){const n=w.useMemo(()=>{const r=PB();return j_(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};kB(r,e.style,e),n.style={...r,...n.style}}return n}function tde(e=!1){return(n,r,i,o,{latestValues:a},s)=>{const u=(I_(n)?ede:Hce)(r,a,s),h={...Kce(r,typeof n=="string",e),...u,ref:o};return i&&(h["data-projection-id"]=i),w.createElement(n,h)}}const TB=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function LB(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const AB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function OB(e,t,n,r){LB(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(AB.has(i)?i:TB(i),t.attrs[i])}function B_(e){const{style:t}=e,n={};for(const r in t)(ou(t[r])||gB(r,e))&&(n[r]=t[r]);return n}function MB(e){const t=B_(e);for(const n in e)if(ou(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function $_(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const k2=e=>Array.isArray(e),nde=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),IB=e=>k2(e)?e[e.length-1]||0:e;function c4(e){const t=ou(e)?e.get():e;return nde(t)?t.toValue():t}function rde({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:ide(r,i,o,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}const RB=e=>(t,n)=>{const r=w.useContext(NS),i=w.useContext(p0),o=()=>rde(e,t,r,i);return n?o():$S(o)};function ide(e,t,n,r){const i={},o=r(e);for(const m in o)i[m]=c4(o[m]);let{initial:a,animate:s}=e;const l=BS(e),u=hB(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const h=d?s:a;return h&&typeof h!="boolean"&&!jS(h)&&(Array.isArray(h)?h:[h]).forEach(v=>{const b=$_(e,v);if(!b)return;const{transitionEnd:S,transition:E,...k}=b;for(const _ in k){let T=k[_];if(Array.isArray(T)){const A=d?T.length-1:0;T=T[A]}T!==null&&(i[_]=T)}for(const _ in S)i[_]=S[_]}),i}const ode={useVisualState:RB({scrapeMotionValuesFromProps:MB,createRenderState:PB,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}j_(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),OB(t,n)}})},ade={useVisualState:RB({scrapeMotionValuesFromProps:B_,createRenderState:N_})};function sde(e,{forwardMotionProps:t=!1},n,r,i){return{...I_(e)?ode:ade,preloadedFeatures:n,useRender:tde(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var tr;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(tr||(tr={}));function FS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function y7(e,t,n,r){w.useEffect(()=>{const i=e.current;if(n&&i)return FS(i,t,n,r)},[e,t,n,r])}function lde({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(tr.Focus,!0)},i=()=>{n&&n.setActive(tr.Focus,!1)};y7(t,"focus",e?r:void 0),y7(t,"blur",e?i:void 0)}function DB(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function NB(e){return!!e.touches}function ude(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const cde={pageX:0,pageY:0};function dde(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||cde;return{x:r[t+"X"],y:r[t+"Y"]}}function fde(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function F_(e,t="page"){return{point:NB(e)?dde(e,t):fde(e,t)}}const jB=(e,t=!1)=>{const n=r=>e(r,F_(r));return t?ude(n):n},hde=()=>np&&window.onpointerdown===null,pde=()=>np&&window.ontouchstart===null,gde=()=>np&&window.onmousedown===null,mde={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},vde={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function BB(e){return hde()?e:pde()?vde[e]:gde()?mde[e]:e}function Sm(e,t,n,r){return FS(e,BB(t),jB(n,t==="pointerdown"),r)}function J4(e,t,n,r){return y7(e,BB(t),n&&jB(n,t==="pointerdown"),r)}function $B(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const mA=$B("dragHorizontal"),vA=$B("dragVertical");function FB(e){let t=!1;if(e==="y")t=vA();else if(e==="x")t=mA();else{const n=mA(),r=vA();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function zB(){const e=FB(!0);return e?(e(),!1):!0}function yA(e,t,n){return(r,i)=>{!DB(r)||zB()||(e.animationState&&e.animationState.setActive(tr.Hover,t),n&&n(r,i))}}function yde({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){J4(r,"pointerenter",e||n?yA(r,!0,e):void 0,{passive:!e}),J4(r,"pointerleave",t||n?yA(r,!1,t):void 0,{passive:!t})}const HB=(e,t)=>t?e===t?!0:HB(e,t.parentElement):!1;function z_(e){return w.useEffect(()=>()=>e(),[])}function VB(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),d6=.001,Sde=.01,bA=10,xde=.05,wde=1;function Cde({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;bde(e<=bA*1e3);let a=1-t;a=t5(xde,wde,a),e=t5(Sde,bA,e/1e3),a<1?(i=u=>{const d=u*a,h=d*e,m=d-n,v=b7(u,a),b=Math.exp(-h);return d6-m/v*b},o=u=>{const h=u*a*e,m=h*n+n,v=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-h),S=b7(Math.pow(u,2),a);return(-i(u)+d6>0?-1:1)*((m-v)*b)/S}):(i=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-d6+d*h},o=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const s=5/e,l=kde(i,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const _de=12;function kde(e,t,n){let r=n;for(let i=1;i<_de;i++)r=r-e(r)/t(r);return r}function b7(e,t){return e*Math.sqrt(1-t*t)}const Ede=["duration","bounce"],Pde=["stiffness","damping","mass"];function SA(e,t){return t.some(n=>e[n]!==void 0)}function Tde(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!SA(e,Pde)&&SA(e,Ede)){const n=Cde(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function H_(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=VB(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=Tde(o),v=xA,b=xA;function S(){const E=d?-(d/1e3):0,k=n-t,_=l/(2*Math.sqrt(s*u)),T=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const A=b7(T,_);v=I=>{const R=Math.exp(-_*T*I);return n-R*((E+_*T*k)/A*Math.sin(A*I)+k*Math.cos(A*I))},b=I=>{const R=Math.exp(-_*T*I);return _*T*R*(Math.sin(A*I)*(E+_*T*k)/A+k*Math.cos(A*I))-R*(Math.cos(A*I)*(E+_*T*k)-A*k*Math.sin(A*I))}}else if(_===1)v=A=>n-Math.exp(-T*A)*(k+(E+T*k)*A);else{const A=T*Math.sqrt(_*_-1);v=I=>{const R=Math.exp(-_*T*I),D=Math.min(A*I,300);return n-R*((E+_*T*k)*Math.sinh(D)+A*k*Math.cosh(D))/A}}}return S(),{next:E=>{const k=v(E);if(m)a.done=E>=h;else{const _=b(E)*1e3,T=Math.abs(_)<=r,A=Math.abs(n-k)<=i;a.done=T&&A}return a.value=a.done?n:k,a},flipTarget:()=>{d=-d,[t,n]=[n,t],S()}}}H_.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const xA=e=>0,E2=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Fr=(e,t,n)=>-n*e+n*t+e;function f6(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=f6(l,s,e+1/3),o=f6(l,s,e),a=f6(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const Lde=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Ade=[m7,wd,Ch],CA=e=>Ade.find(t=>t.test(e)),WB=(e,t)=>{let n=CA(e),r=CA(t),i=n.parse(e),o=r.parse(t);n===Ch&&(i=wA(i),n=wd),r===Ch&&(o=wA(o),r=wd);const a=Object.assign({},i);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Lde(i[l],o[l],s));return a.alpha=Fr(i.alpha,o.alpha,s),n.transform(a)}},S7=e=>typeof e=="number",Ode=(e,t)=>n=>t(e(n)),zS=(...e)=>e.reduce(Ode);function UB(e,t){return S7(e)?n=>Fr(e,t,n):xo.test(e)?WB(e,t):qB(e,t)}const GB=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>UB(o,t[a]));return o=>{for(let a=0;a{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=UB(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function _A(e){const t=Ju.parse(e),n=t.length;let r=0,i=0,o=0;for(let a=0;a{const n=Ju.createTransformer(t),r=_A(e),i=_A(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?zS(GB(r.parsed,i.parsed),n):a=>`${a>0?t:e}`},Ide=(e,t)=>n=>Fr(e,t,n);function Rde(e){if(typeof e=="number")return Ide;if(typeof e=="string")return xo.test(e)?WB:qB;if(Array.isArray(e))return GB;if(typeof e=="object")return Mde}function Dde(e,t,n){const r=[],i=n||Rde(e[0]),o=e.length-1;for(let a=0;an(E2(e,t,r))}function jde(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let l=1;for(;li||l===r);l++);o=l-1}const s=E2(e[o],e[o+1],i);return t[o](s)}}function YB(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;e5(o===t.length),e5(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Dde(t,r,i),s=o===2?Nde(e,a):jde(e,a);return n?l=>s(t5(e[0],e[o-1],l)):s}const HS=e=>t=>1-e(1-t),V_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bde=e=>t=>Math.pow(t,e),KB=e=>t=>t*t*((e+1)*t-e),$de=e=>{const t=KB(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},XB=1.525,Fde=4/11,zde=8/11,Hde=9/10,W_=e=>e,U_=Bde(2),Vde=HS(U_),ZB=V_(U_),QB=e=>1-Math.sin(Math.acos(e)),G_=HS(QB),Wde=V_(G_),q_=KB(XB),Ude=HS(q_),Gde=V_(q_),qde=$de(XB),Yde=4356/361,Kde=35442/1805,Xde=16061/1805,n5=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-n5(1-e*2)):.5*n5(e*2-1)+.5;function Jde(e,t){return e.map(()=>t||ZB).splice(0,e.length-1)}function efe(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function tfe(e,t){return e.map(n=>n*t)}function d4({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=tfe(r&&r.length===a.length?r:efe(a),i);function l(){return YB(s,a,{ease:Array.isArray(n)?n:Jde(a,n)})}let u=l();return{next:d=>(o.value=u(d),o.done=d>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}function nfe({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:d=>{const h=-s*Math.exp(-d/r);return a.done=!(h>i||h<-i),a.value=a.done?u:u+h,a},flipTarget:()=>{}}}const kA={keyframes:d4,spring:H_,decay:nfe};function rfe(e){if(Array.isArray(e.to))return d4;if(kA[e.type])return kA[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?d4:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?H_:d4}const JB=1/60*1e3,ife=typeof performance<"u"?()=>performance.now():()=>Date.now(),e$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ife()),JB);function ofe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=ofe(()=>P2=!0),e),{}),sfe=vy.reduce((e,t)=>{const n=VS[t];return e[t]=(r,i=!1,o=!1)=>(P2||cfe(),n.schedule(r,i,o)),e},{}),lfe=vy.reduce((e,t)=>(e[t]=VS[t].cancel,e),{});vy.reduce((e,t)=>(e[t]=()=>VS[t].process(xm),e),{});const ufe=e=>VS[e].process(xm),t$=e=>{P2=!1,xm.delta=x7?JB:Math.max(Math.min(e-xm.timestamp,afe),1),xm.timestamp=e,w7=!0,vy.forEach(ufe),w7=!1,P2&&(x7=!1,e$(t$))},cfe=()=>{P2=!0,x7=!0,w7||e$(t$)},dfe=()=>xm;function n$(e,t,n=0){return e-t-n}function ffe(e,t,n=0,r=!0){return r?n$(t+-e,t,n):t-(e-t)+n}function hfe(e,t,n,r){return r?e>=t+n:e<=-n}const pfe=e=>{const t=({delta:n})=>e(n);return{start:()=>sfe.update(t,!0),stop:()=>lfe.update(t)}};function r$(e){var t,n,{from:r,autoplay:i=!0,driver:o=pfe,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:d,onStop:h,onComplete:m,onRepeat:v,onUpdate:b}=e,S=VB(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:E}=S,k,_=0,T=S.duration,A,I=!1,R=!0,D;const j=rfe(S);!((n=(t=j).needsInterpolation)===null||n===void 0)&&n.call(t,r,E)&&(D=YB([0,100],[r,E],{clamp:!1}),r=0,E=100);const z=j(Object.assign(Object.assign({},S),{from:r,to:E}));function V(){_++,l==="reverse"?(R=_%2===0,a=ffe(a,T,u,R)):(a=n$(a,T,u),l==="mirror"&&z.flipTarget()),I=!1,v&&v()}function K(){k.stop(),m&&m()}function te($){if(R||($=-$),a+=$,!I){const W=z.next(Math.max(0,a));A=W.value,D&&(A=D(A)),I=R?W.done:a<=0}b==null||b(A),I&&(_===0&&(T??(T=a)),_{h==null||h(),k.stop()}}}function i$(e,t){return t?e*(1e3/t):0}function gfe({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:h,onComplete:m,onStop:v}){let b;function S(T){return n!==void 0&&Tr}function E(T){return n===void 0?r:r===void 0||Math.abs(n-T){var I;h==null||h(A),(I=T.onUpdate)===null||I===void 0||I.call(T,A)},onComplete:m,onStop:v}))}function _(T){k(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},T))}if(S(e))_({from:e,velocity:t,to:E(e)});else{let T=i*t+e;typeof u<"u"&&(T=u(T));const A=E(T),I=A===n?-1:1;let R,D;const j=z=>{R=D,D=z,t=i$(z-R,dfe().delta),(I===1&&z>A||I===-1&&zb==null?void 0:b.stop()}}const C7=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),EA=e=>C7(e)&&e.hasOwnProperty("z"),K3=(e,t)=>Math.abs(e-t);function Y_(e,t){if(S7(e)&&S7(t))return K3(e,t);if(C7(e)&&C7(t)){const n=K3(e.x,t.x),r=K3(e.y,t.y),i=EA(e)&&EA(t)?K3(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const o$=(e,t)=>1-3*t+3*e,a$=(e,t)=>3*t-6*e,s$=e=>3*e,r5=(e,t,n)=>((o$(t,n)*e+a$(t,n))*e+s$(t))*e,l$=(e,t,n)=>3*o$(t,n)*e*e+2*a$(t,n)*e+s$(t),mfe=1e-7,vfe=10;function yfe(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=r5(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>mfe&&++s=Sfe?xfe(a,h,e,n):m===0?h:yfe(a,s,s+X3,e,n)}return a=>a===0||a===1?a:r5(o(a),t,r)}function Cfe({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(!1),s=w.useRef(null),l={passive:!(t||e||n||v)};function u(){s.current&&s.current(),s.current=null}function d(){return u(),a.current=!1,i.animationState&&i.animationState.setActive(tr.Tap,!1),!zB()}function h(b,S){d()&&(HB(i.current,b.target)?e&&e(b,S):n&&n(b,S))}function m(b,S){d()&&n&&n(b,S)}function v(b,S){u(),!a.current&&(a.current=!0,s.current=zS(Sm(window,"pointerup",h,l),Sm(window,"pointercancel",m,l)),i.animationState&&i.animationState.setActive(tr.Tap,!0),t&&t(b,S))}J4(i,"pointerdown",o?v:void 0,l),z_(u)}const _fe="production",u$=typeof process>"u"||process.env===void 0?_fe:"production",PA=new Set;function c$(e,t,n){e||PA.has(t)||(console.warn(t),n&&console.warn(n),PA.add(t))}const _7=new WeakMap,h6=new WeakMap,kfe=e=>{const t=_7.get(e.target);t&&t(e)},Efe=e=>{e.forEach(kfe)};function Pfe({root:e,...t}){const n=e||document;h6.has(n)||h6.set(n,{});const r=h6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Efe,{root:e,...t})),r[i]}function Tfe(e,t,n){const r=Pfe(t);return _7.set(e,n),r.observe(e),()=>{_7.delete(e),r.unobserve(e)}}function Lfe({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=w.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?Mfe:Ofe)(a,o.current,e,i)}const Afe={some:0,all:1};function Ofe(e,t,n,{root:r,margin:i,amount:o="some",once:a}){w.useEffect(()=>{if(!e||!n.current)return;const s={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:Afe[o]},l=u=>{const{isIntersecting:d}=u;if(t.isInView===d||(t.isInView=d,a&&!d&&t.hasEnteredView))return;d&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(tr.InView,d);const h=n.getProps(),m=d?h.onViewportEnter:h.onViewportLeave;m&&m(u)};return Tfe(n.current,s,l)},[e,r,i,o])}function Mfe(e,t,n,{fallback:r=!0}){w.useEffect(()=>{!e||!r||(u$!=="production"&&c$(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(tr.InView,!0)}))},[e])}const Cd=e=>t=>(e(t),null),Ife={inView:Cd(Lfe),tap:Cd(Cfe),focus:Cd(lde),hover:Cd(yde)};function K_(){const e=w.useContext(p0);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Rfe(){return Dfe(w.useContext(p0))}function Dfe(e){return e===null?!0:e.isPresent}function d$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;re*1e3,Nfe={linear:W_,easeIn:U_,easeInOut:ZB,easeOut:Vde,circIn:QB,circInOut:Wde,circOut:G_,backIn:q_,backInOut:Gde,backOut:Ude,anticipate:qde,bounceIn:Zde,bounceInOut:Qde,bounceOut:n5},TA=e=>{if(Array.isArray(e)){e5(e.length===4);const[t,n,r,i]=e;return wfe(t,n,r,i)}else if(typeof e=="string")return Nfe[e];return e},jfe=e=>Array.isArray(e)&&typeof e[0]!="number",LA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ju.test(t)&&!t.startsWith("url(")),rh=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Z3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),p6=()=>({type:"keyframes",ease:"linear",duration:.3}),Bfe=e=>({type:"keyframes",duration:.8,values:e}),AA={x:rh,y:rh,z:rh,rotate:rh,rotateX:rh,rotateY:rh,rotateZ:rh,scaleX:Z3,scaleY:Z3,scale:Z3,opacity:p6,backgroundColor:p6,color:p6,default:Z3},$fe=(e,t)=>{let n;return k2(t)?n=Bfe:n=AA[e]||AA.default,{to:t,...n(t)}},Ffe={..._B,color:xo,backgroundColor:xo,outlineColor:xo,fill:xo,stroke:xo,borderColor:xo,borderTopColor:xo,borderRightColor:xo,borderBottomColor:xo,borderLeftColor:xo,filter:v7,WebkitFilter:v7},X_=e=>Ffe[e];function Z_(e,t){var n;let r=X_(e);return r!==v7&&(r=Ju),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const zfe={current:!1},f$=1/60*1e3,Hfe=typeof performance<"u"?()=>performance.now():()=>Date.now(),h$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Hfe()),f$);function Vfe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=Vfe(()=>T2=!0),e),{}),Gs=yy.reduce((e,t)=>{const n=WS[t];return e[t]=(r,i=!1,o=!1)=>(T2||Gfe(),n.schedule(r,i,o)),e},{}),Vh=yy.reduce((e,t)=>(e[t]=WS[t].cancel,e),{}),g6=yy.reduce((e,t)=>(e[t]=()=>WS[t].process(wm),e),{}),Ufe=e=>WS[e].process(wm),p$=e=>{T2=!1,wm.delta=k7?f$:Math.max(Math.min(e-wm.timestamp,Wfe),1),wm.timestamp=e,E7=!0,yy.forEach(Ufe),E7=!1,T2&&(k7=!1,h$(p$))},Gfe=()=>{T2=!0,k7=!0,E7||h$(p$)},P7=()=>wm;function g$(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Vh.read(r),e(o-t))};return Gs.read(r,!0),()=>Vh.read(r)}function qfe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}function Yfe({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){const a={...o};return t&&(a.offset=t),o.duration&&(a.duration=i5(o.duration)),o.repeatDelay&&(a.repeatDelay=i5(o.repeatDelay)),e&&(a.ease=jfe(e)?e.map(TA):TA(e)),o.type==="tween"&&(a.type="keyframes"),(n||i||r)&&(n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),o.type!=="spring"&&(a.type="keyframes"),a}function Kfe(e,t){var n,r;return(r=(n=(Q_(e,t)||{}).delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function Xfe(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Zfe(e,t,n){return Array.isArray(t.to)&&e.duration===void 0&&(e.duration=.8),Xfe(t),qfe(e)||(e={...e,...$fe(n,t.to)}),{...t,...Yfe(e)}}function Qfe(e,t,n,r,i){const o=Q_(r,e)||{};let a=o.from!==void 0?o.from:t.get();const s=LA(e,n);a==="none"&&s&&typeof n=="string"?a=Z_(e,n):OA(a)&&typeof n=="string"?a=MA(n):!Array.isArray(n)&&OA(n)&&typeof a=="string"&&(n=MA(a));const l=LA(e,a);function u(){const h={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:m=>t.set(m)};return o.type==="inertia"||o.type==="decay"?gfe({...h,...o}):r$({...Zfe(o,h,e),onUpdate:m=>{h.onUpdate(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{h.onComplete(),o.onComplete&&o.onComplete()}})}function d(){const h=IB(n);return t.set(h),i(),o.onUpdate&&o.onUpdate(h),o.onComplete&&o.onComplete(),{stop:()=>{}}}return!l||!s||o.type===!1?d:u}function OA(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function MA(e){return typeof e=="number"?0:Z_("",e)}function Q_(e,t){return e[t]||e.default||e}function J_(e,t,n,r={}){return zfe.current&&(r={type:!1}),t.start(i=>{let o;const a=Qfe(e,t,n,r,i),s=Kfe(r,e),l=()=>o=a();let u;return s?u=g$(l,i5(s)):l(),()=>{u&&u(),o&&o.stop()}})}const Jfe=e=>/^\-?\d*\.?\d+$/.test(e),ehe=e=>/^0[^.\s]+$/.test(e);function ek(e,t){e.indexOf(t)===-1&&e.push(t)}function tk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vv{constructor(){this.subscriptions=[]}add(t){return ek(this.subscriptions,t),()=>tk(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class nhe{constructor(t){this.version="7.6.9",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Vv,this.velocityUpdateSubscribers=new Vv,this.renderSubscribers=new Vv,this.canTrackVelocity=!1,this.updateAndNotify=(n,r=!0)=>{this.prev=this.current,this.current=n;const{delta:i,timestamp:o}=P7();this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,Gs.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),r&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Gs.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=the(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?i$(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Vm(e){return new nhe(e)}const m$=e=>t=>t.test(e),rhe={test:e=>e==="auto",parse:e=>e},v$=[rp,Lt,Xl,cd,Oce,Ace,rhe],V1=e=>v$.find(m$(e)),ihe=[...v$,xo,Ju],ohe=e=>ihe.find(m$(e));function ahe(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function she(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function US(e,t,n){const r=e.getProps();return $_(r,t,n!==void 0?n:r.custom,ahe(e),she(e))}function lhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vm(n))}function uhe(e,t){const n=US(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const s=IB(o[a]);lhe(e,a,s)}}function che(e,t,n){var r,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sT7(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=T7(e,t,n);else{const i=typeof t=="function"?US(e,t,n.custom):t;r=y$(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function T7(e,t,n={}){var r;const i=US(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>y$(e,i,n):()=>Promise.resolve(),s=!((r=e.variantChildren)===null||r===void 0)&&r.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:m}=o;return phe(e,t,d+u,h,m,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,d]=l==="beforeChildren"?[a,s]:[s,a];return u().then(d)}else return Promise.all([a(),s(n.delay)])}function y$(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(a=r);const d=[],h=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const m in l){const v=e.getValue(m),b=l[m];if(!v||b===void 0||h&&mhe(h,m))continue;let S={delay:n,...a};e.shouldReduceMotion&&g0.has(m)&&(S={...S,type:!1,delay:0});let E=J_(m,v,b,S);o5(u)&&(u.add(m),E=E.then(()=>u.remove(m))),d.push(E)}return Promise.all(d).then(()=>{s&&uhe(e,s)})}function phe(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(ghe).forEach((u,d)=>{a.push(T7(u,t,{...o,delay:n+l(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function ghe(e,t){return e.sortNodePosition(t)}function mhe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const nk=[tr.Animate,tr.InView,tr.Focus,tr.Hover,tr.Tap,tr.Drag,tr.Exit],vhe=[...nk].reverse(),yhe=nk.length;function bhe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hhe(e,n,r)))}function She(e){let t=bhe(e);const n=whe();let r=!0;const i=(l,u)=>{const d=US(e,u);if(d){const{transition:h,transitionEnd:m,...v}=d;l={...l,...v,...m}}return l};function o(l){t=l(e)}function a(l,u){var d;const h=e.getProps(),m=e.getVariantContext(!0)||{},v=[],b=new Set;let S={},E=1/0;for(let _=0;_E&&R;const K=Array.isArray(I)?I:[I];let te=K.reduce(i,{});D===!1&&(te={});const{prevResolvedValues:q={}}=A,$={...q,...te},W=X=>{V=!0,b.delete(X),A.needsAnimating[X]=!0};for(const X in $){const Z=te[X],U=q[X];S.hasOwnProperty(X)||(Z!==U?k2(Z)&&k2(U)?!d$(Z,U)||z?W(X):A.protectedKeys[X]=!0:Z!==void 0?W(X):b.add(X):Z!==void 0&&b.has(X)?W(X):A.protectedKeys[X]=!0)}A.prevProp=I,A.prevResolvedValues=te,A.isActive&&(S={...S,...te}),r&&e.blockInitialAnimation&&(V=!1),V&&!j&&v.push(...K.map(X=>({animation:X,options:{type:T,...l}})))}if(b.size){const _={};b.forEach(T=>{const A=e.getBaseTarget(T);A!==void 0&&(_[T]=A)}),v.push({animation:_})}let k=Boolean(v.length);return r&&h.initial===!1&&!e.manuallyAnimateOnMount&&(k=!1),r=!1,k?t(v):Promise.resolve()}function s(l,u,d){var h;if(n[l].isActive===u)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(l,u)}),n[l].isActive=u;const m=a(d,l);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n}}function xhe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!d$(t,e):!1}function ih(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function whe(){return{[tr.Animate]:ih(!0),[tr.InView]:ih(),[tr.Hover]:ih(),[tr.Tap]:ih(),[tr.Drag]:ih(),[tr.Focus]:ih(),[tr.Exit]:ih()}}const Che={animation:Cd(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=She(e)),jS(t)&&w.useEffect(()=>t.subscribe(e),[t])}),exit:Cd(e=>{const{custom:t,visualElement:n}=e,[r,i]=K_(),o=w.useContext(p0);w.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(tr.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})};class b${constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=v6(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,h=Y_(u.offset,{x:0,y:0})>=3;if(!d&&!h)return;const{point:m}=u,{timestamp:v}=P7();this.history.push({...m,timestamp:v});const{onStart:b,onMove:S}=this.handlers;d||(b&&b(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{if(this.lastMoveEvent=u,this.lastMoveEventInfo=m6(d,this.transformPagePoint),DB(u)&&u.buttons===0){this.handlePointerUp(u,d);return}Gs.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{this.end();const{onEnd:h,onSessionEnd:m}=this.handlers,v=v6(m6(d,this.transformPagePoint),this.history);this.startEvent&&h&&h(u,v),m&&m(u,v)},NB(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=F_(t),o=m6(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=P7();this.history=[{...a,timestamp:s}];const{onSessionStart:l}=n;l&&l(t,v6(o,this.history)),this.removeListeners=zS(Sm(window,"pointermove",this.handlePointerMove),Sm(window,"pointerup",this.handlePointerUp),Sm(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vh.update(this.updatePoint)}}function m6(e,t){return t?{point:t(e.point)}:e}function IA(e,t){return{x:e.x-t.x,y:e.y-t.y}}function v6({point:e},t){return{point:e,delta:IA(e,S$(t)),offset:IA(e,_he(t)),velocity:khe(t,.1)}}function _he(e){return e[0]}function S$(e){return e[e.length-1]}function khe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=S$(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>i5(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Oa(e){return e.max-e.min}function RA(e,t=0,n=.01){return Y_(e,t)n&&(e=r?Fr(n,e,r.max):Math.min(e,n)),e}function BA(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function The(e,{top:t,left:n,bottom:r,right:i}){return{x:BA(e.x,n,i),y:BA(e.y,t,r)}}function $A(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=E2(t.min,t.max-r,e.min):r>i&&(n=E2(e.min,e.max-i,t.min)),t5(0,1,n)}function Ohe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const L7=.35;function Mhe(e=L7){return e===!1?e=0:e===!0&&(e=L7),{x:FA(e,"left","right"),y:FA(e,"top","bottom")}}function FA(e,t,n){return{min:zA(e,t),max:zA(e,n)}}function zA(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}const HA=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gv=()=>({x:HA(),y:HA()}),VA=()=>({min:0,max:0}),pi=()=>({x:VA(),y:VA()});function Rl(e){return[e("x"),e("y")]}function x$({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ihe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rhe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function y6(e){return e===void 0||e===1}function A7({scale:e,scaleX:t,scaleY:n}){return!y6(e)||!y6(t)||!y6(n)}function ch(e){return A7(e)||w$(e)||e.z||e.rotate||e.rotateX||e.rotateY}function w$(e){return WA(e.x)||WA(e.y)}function WA(e){return e&&e!=="0%"}function a5(e,t,n){const r=e-n,i=t*r;return n+i}function UA(e,t,n,r,i){return i!==void 0&&(e=a5(e,i,r)),a5(e,n,r)+t}function O7(e,t=0,n=1,r,i){e.min=UA(e.min,t,n,r,i),e.max=UA(e.max,t,n,r,i)}function C$(e,{x:t,y:n}){O7(e.x,t.translate,t.scale,t.originPoint),O7(e.y,n.translate,n.scale,n.originPoint)}function Dhe(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let u=0;u{this.stopAnimation(),n&&this.snapToCursor(F_(s,"page").point)},i=(s,l)=>{var u;const{drag:d,dragPropagation:h,onDragStart:m}=this.getProps();d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=FB(d),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rl(v=>{var b,S;let E=this.getAxisMotionValue(v).get()||0;if(Xl.test(E)){const k=(S=(b=this.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.layoutBox[v];k&&(E=Oa(k)*(parseFloat(E)/100))}this.originPoint[v]=E}),m==null||m(s,l),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(tr.Drag,!0))},o=(s,l)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:h,onDrag:m}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:v}=l;if(d&&this.currentDirection===null){this.currentDirection=zhe(v),this.currentDirection!==null&&(h==null||h(this.currentDirection));return}this.updateAxis("x",l.point,v),this.updateAxis("y",l.point,v),this.visualElement.render(),m==null||m(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new b$(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(tr.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Q3(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Phe(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Hg(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=The(r.layoutBox,t):this.constraints=!1,this.elastic=Mhe(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Rl(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Ohe(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Hg(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Bhe(r,i.root,this.visualElement.getTransformPagePoint());let a=Lhe(i.layout.layoutBox,o);if(n){const s=n(Ihe(a));this.hasMutatedConstraints=!!s,s&&(a=x$(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=Rl(d=>{var h;if(!Q3(d,n,this.currentDirection))return;let m=(h=l==null?void 0:l[d])!==null&&h!==void 0?h:{};a&&(m={min:0,max:0});const v=i?200:1e6,b=i?40:1e7,S={type:"inertia",velocity:r?t[d]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(d,S)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return J_(t,r,0,n)}stopAnimation(){Rl(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n,r;const i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)}snapToCursor(t){Rl(n=>{const{drag:r}=this.getProps();if(!Q3(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[n];o.set(t[n]-Fr(a,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Hg(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rl(s=>{const l=this.getAxisMotionValue(s);if(l){const u=l.get();o[s]=Ahe({min:u,max:u},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Rl(s=>{if(!Q3(s,n,null))return;const l=this.getAxisMotionValue(s),{min:u,max:d}=this.constraints[s];l.set(Fr(u,d,o[s]))})}addListeners(){var t;if(!this.visualElement.current)return;$he.set(this.visualElement,this);const n=this.visualElement.current,r=Sm(n,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),i=()=>{const{dragConstraints:u}=this.getProps();Hg(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const s=FS(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Rl(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=u[h].translate,m.set(m.get()+u[h].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),l==null||l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=L7,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function Q3(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zhe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function Hhe(e){const{dragControls:t,visualElement:n}=e,r=$S(()=>new Fhe(n));w.useEffect(()=>t&&t.subscribe(r),[r,t]),w.useEffect(()=>r.addListeners(),[r])}function Vhe({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(null),{transformPagePoint:s}=w.useContext(O_),l={onSessionStart:r,onStart:t,onMove:e,onEnd:(d,h)=>{a.current=null,n&&n(d,h)}};w.useEffect(()=>{a.current!==null&&a.current.updateHandlers(l)});function u(d){a.current=new b$(d,l,{transformPagePoint:s})}J4(i,"pointerdown",o&&u),z_(()=>a.current&&a.current.end())}const Whe={pan:Cd(Vhe),drag:Cd(Hhe)};function M7(e){return typeof e=="string"&&e.startsWith("var(--")}const k$=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Uhe(e){const t=k$.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function I7(e,t,n=1){const[r,i]=Uhe(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():M7(i)?I7(i,t,n+1):i}function Ghe(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!M7(o))return;const a=I7(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!M7(o))continue;const a=I7(o,r);a&&(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const qhe=new Set(["width","height","top","left","right","bottom","x","y"]),E$=e=>qhe.has(e),Yhe=e=>Object.keys(e).some(E$),P$=(e,t)=>{e.set(t,!1),e.set(t)},qA=e=>e===rp||e===Lt;var YA;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(YA||(YA={}));const KA=(e,t)=>parseFloat(e.split(", ")[t]),XA=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return KA(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?KA(o[1],e):0}},Khe=new Set(["x","y","z"]),Xhe=Z4.filter(e=>!Khe.has(e));function Zhe(e){const t=[];return Xhe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZA={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:XA(4,13),y:XA(5,14)},Qhe=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=ZA[u](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const d=t.getValue(u);P$(d,s[u]),e[u]=ZA[u](l,o)}),e},Jhe=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(E$);let o=[],a=!1;const s=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],h=V1(d);const m=t[l];let v;if(k2(m)){const b=m.length,S=m[0]===null?1:0;d=m[S],h=V1(d);for(let E=S;E=0?window.pageYOffset:null,u=Qhe(t,e,s);return o.length&&o.forEach(([d,h])=>{e.getValue(d).set(h)}),e.render(),np&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function epe(e,t,n,r){return Yhe(t)?Jhe(e,t,n,r):{target:t,transitionEnd:r}}const tpe=(e,t,n,r)=>{const i=Ghe(e,t,r);return t=i.target,r=i.transitionEnd,epe(e,t,n,r)},R7={current:null},T$={current:!1};function npe(){if(T$.current=!0,!!np)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>R7.current=e.matches;e.addListener(t),t()}else R7.current=!1}function rpe(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ou(o))e.addValue(i,o),o5(r)&&r.add(i);else if(ou(a))e.addValue(i,Vm(o)),o5(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,Vm(s!==void 0?s:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const L$=Object.keys(C2),ipe=L$.length,QA=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ope{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Gs.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=BS(n),this.isVariantNode=hB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(n);for(const d in u){const h=u[d];a[d]!==void 0&&ou(h)&&(h.set(a[d],!1),o5(l)&&l.add(d))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),T$.current||npe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:R7.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Vh.update(this.notifyUpdate),Vh.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=g0.has(t),i=n.onChange(a=>{this.latestValues[t]=a,this.props.onUpdate&&Gs.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isProjectionDirty=!0)}),o=n.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const s=[];for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:m})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):pi()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;nr.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vm(n),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=$_(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ou(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Vv),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const A$=["initial",...nk],ape=A$.length;class O$ extends ope{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=fhe(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){che(this,r,a);const s=tpe(this,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function spe(e){return window.getComputedStyle(e)}class lpe extends O${readValueFromInstance(t,n){if(g0.has(n)){const r=X_(n);return r&&r.default||0}else{const r=spe(t),i=(mB(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return _$(t,n)}build(t,n,r,i){D_(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return B_(t)}renderInstance(t,n,r,i){LB(t,n,r,i)}}class upe extends O${getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return g0.has(n)?((r=X_(n))===null||r===void 0?void 0:r.default)||0:(n=AB.has(n)?n:TB(n),t.getAttribute(n))}measureInstanceViewportBox(){return pi()}scrapeMotionValuesFromProps(t){return MB(t)}build(t,n,r,i){j_(t,n,r,i.transformTemplate)}renderInstance(t,n,r,i){OB(t,n,r,i)}}const cpe=(e,t)=>I_(e)?new upe(t,{enableHardwareAcceleration:!1}):new lpe(t,{enableHardwareAcceleration:!0});function JA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const W1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Lt.test(e))e=parseFloat(e);else return e;const n=JA(e,t.target.x),r=JA(e,t.target.y);return`${n}% ${r}%`}},eO="_$css",dpe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(k$,v=>(o.push(v),eO)));const a=Ju.parse(e);if(a.length>5)return r;const s=Ju.createTransformer(e),l=typeof a[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=d;const h=Fr(u,d,.5);typeof a[2+l]=="number"&&(a[2+l]/=h),typeof a[3+l]=="number"&&(a[3+l]/=h);let m=s(a);if(i){let v=0;m=m.replace(eO,()=>{const b=o[v];return v++,b})}return m}};class fpe extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;_ce(ppe),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Fv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||Gs.postRender(()=>{var s;!((s=a.getStack())===null||s===void 0)&&s.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function hpe(e){const[t,n]=K_(),r=w.useContext(M_);return N.createElement(fpe,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(pB),isPresent:t,safeToRemove:n})}const ppe={borderRadius:{...W1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:W1,borderTopRightRadius:W1,borderBottomLeftRadius:W1,borderBottomRightRadius:W1,boxShadow:dpe},gpe={measureLayout:hpe};function mpe(e,t,n={}){const r=ou(e)?e:Vm(e);return J_("",r,t,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const M$=["TopLeft","TopRight","BottomLeft","BottomRight"],vpe=M$.length,tO=e=>typeof e=="string"?parseFloat(e):e,nO=e=>typeof e=="number"||Lt.test(e);function ype(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=Fr(0,(a=n.opacity)!==null&&a!==void 0?a:1,bpe(r)),e.opacityExit=Fr((s=t.opacity)!==null&&s!==void 0?s:1,0,Spe(r))):o&&(e.opacity=Fr((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(let d=0;drt?1:n(E2(e,t,r))}function iO(e,t){e.min=t.min,e.max=t.max}function Ms(e,t){iO(e.x,t.x),iO(e.y,t.y)}function oO(e,t,n,r,i){return e-=t,e=a5(e,1/n,r),i!==void 0&&(e=a5(e,1/i,r)),e}function xpe(e,t=0,n=1,r=.5,i,o=e,a=e){if(Xl.test(t)&&(t=parseFloat(t),t=Fr(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Fr(o.min,o.max,r);e===o&&(s-=t),e.min=oO(e.min,t,n,s,i),e.max=oO(e.max,t,n,s,i)}function aO(e,t,[n,r,i],o,a){xpe(e,t[n],t[r],t[i],t.scale,o,a)}const wpe=["x","scaleX","originX"],Cpe=["y","scaleY","originY"];function sO(e,t,n,r){aO(e.x,t,wpe,n==null?void 0:n.x,r==null?void 0:r.x),aO(e.y,t,Cpe,n==null?void 0:n.y,r==null?void 0:r.y)}function lO(e){return e.translate===0&&e.scale===1}function R$(e){return lO(e.x)&&lO(e.y)}function D$(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function uO(e){return Oa(e.x)/Oa(e.y)}function _pe(e,t,n=.1){return Y_(e,t)<=n}class kpe{constructor(){this.members=[]}add(t){ek(this.members,t),t.scheduleRender()}remove(t){if(tk(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cO(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),d&&(r+=`rotateY(${d}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}const Epe=(e,t)=>e.depth-t.depth;class Ppe{constructor(){this.children=[],this.isDirty=!1}add(t){ek(this.children,t),this.isDirty=!0}remove(t){tk(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Epe),this.isDirty=!1,this.children.forEach(t)}}const dO=["","X","Y","Z"],fO=1e3;let Tpe=0;function N$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,s={},l=t==null?void 0:t()){this.id=Tpe++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Ipe),this.nodes.forEach(Rpe)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let u=0;uthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=g$(v,250),Fv.hasAnimatedSinceResize&&(Fv.hasAnimatedSinceResize=!1,this.nodes.forEach(pO))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeTargetChanged:b,layout:S})=>{var E,k,_,T,A;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const I=(k=(E=this.options.transition)!==null&&E!==void 0?E:h.getDefaultTransition())!==null&&k!==void 0?k:$pe,{onLayoutAnimationStart:R,onLayoutAnimationComplete:D}=h.getProps(),j=!this.targetLayout||!D$(this.targetLayout,S)||b,z=!v&&b;if(!((_=this.resumeFrom)===null||_===void 0)&&_.instance||z||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,z);const V={...Q_(I,"layout"),onPlay:R,onComplete:D};h.shouldReduceMotion&&(V.delay=0,V.type=!1),this.startAnimation(V)}else!v&&this.animationProgress===0&&pO(this),this.isLead()&&((A=(T=this.options).onExitComplete)===null||A===void 0||A.call(T));this.targetLayout=S})}unmount(){var a,s;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(s=this.parent)===null||s===void 0||s.children.delete(this),this.instance=void 0,Vh.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(Dpe),this.animationId++)}willUpdate(a=!0){var s,l,u;if(this.root.isUpdateBlocked()){(l=(s=this.options).onExitComplete)===null||l===void 0||l.call(s);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{var T;const A=_/1e3;gO(v.x,a.x,A),gO(v.y,a.y,A),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((T=this.relativeParent)===null||T===void 0)&&T.layout)&&(Uv(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jpe(this.relativeTarget,this.relativeTargetOrigin,b,A)),S&&(this.animationValues=m,ype(m,h,this.latestValues,A,k,E)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(0)}startAnimation(a){var s,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((l=this.resumingFrom.currentAnimation)===null||l===void 0||l.stop()),this.pendingAnimation&&(Vh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gs.update(()=>{Fv.hasAnimatedSinceResize=!0,this.currentAnimation=mpe(0,fO,{...a,onUpdate:u=>{var d;this.mixTargetDelta(u),(d=a.onUpdate)===null||d===void 0||d.call(a,u)},onComplete:()=>{var u;(u=a.onComplete)===null||u===void 0||u.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,fO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:d}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&j$(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||pi();const h=Oa(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const m=Oa(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m}Ms(s,l),Vg(s,d),Wv(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(a,s){var l,u,d;this.sharedNodes.has(a)||this.sharedNodes.set(a,new kpe),this.sharedNodes.get(a).add(s),s.promote({transition:(l=s.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(d=(u=s.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(u,s)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let d=0;d{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(hO),this.root.sharedNodes.clear()}}}function Lpe(e){e.updateLayout()}function Ape(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(b);b.min=o[v].min,b.max=b.min+S}):j$(s,i.layoutBox,o)&&Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(o[v]);b.max=b.min+S});const u=Gv();Wv(u,o,i.layoutBox);const d=Gv();l?Wv(d,e.applyTransform(a,!0),i.measuredBox):Wv(d,o,i.layoutBox);const h=!R$(u);let m=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const E=pi();Uv(E,i.layoutBox,b.layoutBox);const k=pi();Uv(k,o,S.layoutBox),D$(E,k)||(m=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:d,layoutDelta:u,hasLayoutChanged:h,hasRelativeTargetChanged:m})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function Ope(e){e.clearSnapshot()}function hO(e){e.clearMeasurements()}function Mpe(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Ipe(e){e.resolveTargetDelta()}function Rpe(e){e.calcProjection()}function Dpe(e){e.resetRotation()}function Npe(e){e.removeLeadSnapshot()}function gO(e,t,n){e.translate=Fr(t.translate,0,n),e.scale=Fr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mO(e,t,n,r){e.min=Fr(t.min,n.min,r),e.max=Fr(t.max,n.max,r)}function jpe(e,t,n,r){mO(e.x,t.x,n.x,r),mO(e.y,t.y,n.y,r)}function Bpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $pe={duration:.45,ease:[.4,0,.1,1]};function Fpe(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function vO(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function zpe(e){vO(e.x),vO(e.y)}function j$(e,t,n){return e==="position"||e==="preserve-aspect"&&!_pe(uO(t),uO(n),.2)}const Hpe=N$({attachResizeListener:(e,t)=>FS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),b6={current:void 0},Vpe=N$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!b6.current){const e=new Hpe(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),b6.current=e}return b6.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),Wpe={...Che,...Ife,...Whe,...gpe},du=wce((e,t)=>sde(e,t,Wpe,cpe,Vpe));function B$(){const e=w.useRef(!1);return K4(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Upe(){const e=B$(),[t,n]=w.useState(0),r=w.useCallback(()=>{e.current&&n(t+1)},[t]);return[w.useCallback(()=>Gs.postRender(r),[r]),t]}class Gpe extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function qpe({children:e,isPresent:t}){const n=w.useId(),r=w.useRef(null),i=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:l}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` + )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},Ise={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Rse=e=>({bg:Et("gray.100","whiteAlpha.300")(e)}),Dse=e=>({transitionProperty:"common",transitionDuration:"slow",...Mse(e)}),Nse=vv(e=>({label:Ise,filledTrack:Dse(e),track:Rse(e)})),jse={xs:vv({track:{h:"1"}}),sm:vv({track:{h:"2"}}),md:vv({track:{h:"3"}}),lg:vv({track:{h:"4"}})},Bse=Ose({sizes:jse,baseStyle:Nse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:$se,definePartsStyle:s4}=hr(Nre.keys),Fse=e=>{var t;const n=(t=Po(G4.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},zse=s4(e=>{var t,n,r,i;return{label:(n=(t=G4).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=G4).baseStyle)==null?void 0:i.call(r,e).container,control:Fse(e)}}),Hse={md:s4({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:s4({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:s4({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Vse=$se({baseStyle:zse,sizes:Hse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Wse,definePartsStyle:Use}=hr(jre.keys),W3=Hn("select-bg"),qL,Gse={...(qL=_n.baseStyle)==null?void 0:qL.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:W3.reference,[W3.variable]:"colors.white",_dark:{[W3.variable]:"colors.gray.700"},"> option, > optgroup":{bg:W3.reference}},qse={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},Yse=Use({field:Gse,icon:qse}),U3={paddingInlineEnd:"8"},YL,KL,XL,ZL,QL,JL,eA,tA,Kse={lg:{...(YL=_n.sizes)==null?void 0:YL.lg,field:{...(KL=_n.sizes)==null?void 0:KL.lg.field,...U3}},md:{...(XL=_n.sizes)==null?void 0:XL.md,field:{...(ZL=_n.sizes)==null?void 0:ZL.md.field,...U3}},sm:{...(QL=_n.sizes)==null?void 0:QL.sm,field:{...(JL=_n.sizes)==null?void 0:JL.sm.field,...U3}},xs:{...(eA=_n.sizes)==null?void 0:eA.xs,field:{...(tA=_n.sizes)==null?void 0:tA.xs.field,...U3},icon:{insetEnd:"1"}}},Xse=Wse({baseStyle:Yse,sizes:Kse,variants:_n.variants,defaultProps:_n.defaultProps}),i6=Hn("skeleton-start-color"),o6=Hn("skeleton-end-color"),Zse={[i6.variable]:"colors.gray.100",[o6.variable]:"colors.gray.400",_dark:{[i6.variable]:"colors.gray.800",[o6.variable]:"colors.gray.600"},background:i6.reference,borderColor:o6.reference,opacity:.7,borderRadius:"sm"},Qse={baseStyle:Zse},a6=Hn("skip-link-bg"),Jse={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[a6.variable]:"colors.white",_dark:{[a6.variable]:"colors.gray.700"},bg:a6.reference}},ele={baseStyle:Jse},{defineMultiStyleConfig:tle,definePartsStyle:RS}=hr(Bre.keys),S2=Hn("slider-thumb-size"),x2=Hn("slider-track-size"),vd=Hn("slider-bg"),nle=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...P_({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},rle=e=>({...P_({orientation:e.orientation,horizontal:{h:x2.reference},vertical:{w:x2.reference}}),overflow:"hidden",borderRadius:"sm",[vd.variable]:"colors.gray.200",_dark:{[vd.variable]:"colors.whiteAlpha.200"},_disabled:{[vd.variable]:"colors.gray.300",_dark:{[vd.variable]:"colors.whiteAlpha.300"}},bg:vd.reference}),ile=e=>{const{orientation:t}=e;return{...P_({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:S2.reference,h:S2.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},ole=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[vd.variable]:`colors.${t}.500`,_dark:{[vd.variable]:`colors.${t}.200`},bg:vd.reference}},ale=RS(e=>({container:nle(e),track:rle(e),thumb:ile(e),filledTrack:ole(e)})),sle=RS({container:{[S2.variable]:"sizes.4",[x2.variable]:"sizes.1"}}),lle=RS({container:{[S2.variable]:"sizes.3.5",[x2.variable]:"sizes.1"}}),ule=RS({container:{[S2.variable]:"sizes.2.5",[x2.variable]:"sizes.0.5"}}),cle={lg:sle,md:lle,sm:ule},dle=tle({baseStyle:ale,sizes:cle,defaultProps:{size:"md",colorScheme:"blue"}}),bh=yi("spinner-size"),fle={width:[bh.reference],height:[bh.reference]},hle={xs:{[bh.variable]:"sizes.3"},sm:{[bh.variable]:"sizes.4"},md:{[bh.variable]:"sizes.6"},lg:{[bh.variable]:"sizes.8"},xl:{[bh.variable]:"sizes.12"}},ple={baseStyle:fle,sizes:hle,defaultProps:{size:"md"}},{defineMultiStyleConfig:gle,definePartsStyle:sB}=hr($re.keys),mle={fontWeight:"medium"},vle={opacity:.8,marginBottom:"2"},yle={verticalAlign:"baseline",fontWeight:"semibold"},ble={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},Sle=sB({container:{},label:mle,helpText:vle,number:yle,icon:ble}),xle={md:sB({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},wle=gle({baseStyle:Sle,sizes:xle,defaultProps:{size:"md"}}),{defineMultiStyleConfig:Cle,definePartsStyle:l4}=hr(Fre.keys),$v=yi("switch-track-width"),Oh=yi("switch-track-height"),s6=yi("switch-track-diff"),_le=Vu.subtract($v,Oh),h7=yi("switch-thumb-x"),H1=yi("switch-bg"),kle=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[$v.reference],height:[Oh.reference],transitionProperty:"common",transitionDuration:"fast",[H1.variable]:"colors.gray.300",_dark:{[H1.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[H1.variable]:`colors.${t}.500`,_dark:{[H1.variable]:`colors.${t}.200`}},bg:H1.reference}},Ele={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oh.reference],height:[Oh.reference],_checked:{transform:`translateX(${h7.reference})`}},Ple=l4(e=>({container:{[s6.variable]:_le,[h7.variable]:s6.reference,_rtl:{[h7.variable]:Vu(s6).negate().toString()}},track:kle(e),thumb:Ele})),Tle={sm:l4({container:{[$v.variable]:"1.375rem",[Oh.variable]:"sizes.3"}}),md:l4({container:{[$v.variable]:"1.875rem",[Oh.variable]:"sizes.4"}}),lg:l4({container:{[$v.variable]:"2.875rem",[Oh.variable]:"sizes.6"}})},Lle=Cle({baseStyle:Ple,sizes:Tle,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ale,definePartsStyle:bm}=hr(zre.keys),Ole=bm({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),q4={"&[data-is-numeric=true]":{textAlign:"end"}},Mle=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Ile=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e)},td:{background:Et(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Rle={simple:Mle,striped:Ile,unstyled:{}},Dle={sm:bm({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:bm({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bm({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Nle=Ale({baseStyle:Ole,variants:Rle,sizes:Dle,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ko=Hn("tabs-color"),Fs=Hn("tabs-bg"),G3=Hn("tabs-border-color"),{defineMultiStyleConfig:jle,definePartsStyle:Kl}=hr(Hre.keys),Ble=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},$le=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Fle=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},zle={p:4},Hle=Kl(e=>({root:Ble(e),tab:$le(e),tablist:Fle(e),tabpanel:zle})),Vle={sm:Kl({tab:{py:1,px:4,fontSize:"sm"}}),md:Kl({tab:{fontSize:"md",py:2,px:4}}),lg:Kl({tab:{fontSize:"lg",py:3,px:4}})},Wle=Kl(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[Ko.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Fs.variable]:"colors.gray.200",_dark:{[Fs.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ko.reference,bg:Fs.reference}}}),Ule=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[G3.reference]:"transparent",_selected:{[Ko.variable]:`colors.${t}.600`,[G3.variable]:"colors.white",_dark:{[Ko.variable]:`colors.${t}.300`,[G3.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:G3.reference},color:Ko.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Gle=Kl(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Fs.variable]:"colors.gray.50",_dark:{[Fs.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Fs.variable]:"colors.white",[Ko.variable]:`colors.${t}.600`,_dark:{[Fs.variable]:"colors.gray.800",[Ko.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ko.reference,bg:Fs.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),qle=Kl(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:_o(n,`${t}.700`),bg:_o(n,`${t}.100`)}}}}),Yle=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ko.variable]:"colors.gray.600",_dark:{[Ko.variable]:"inherit"},_selected:{[Ko.variable]:"colors.white",[Fs.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:"colors.gray.800",[Fs.variable]:`colors.${t}.300`}},color:Ko.reference,bg:Fs.reference}}}),Kle=Kl({}),Xle={line:Wle,enclosed:Ule,"enclosed-colored":Gle,"soft-rounded":qle,"solid-rounded":Yle,unstyled:Kle},Zle=jle({baseStyle:Hle,sizes:Vle,variants:Xle,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Qle,definePartsStyle:Mh}=hr(Vre.keys),Jle={fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},eue={lineHeight:1.2,overflow:"visible"},tue={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},nue=Mh({container:Jle,label:eue,closeButton:tue}),rue={sm:Mh({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Mh({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Mh({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},iue={subtle:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.subtle(e)}}),solid:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.solid(e)}}),outline:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.outline(e)}})},oue=Qle({variants:iue,baseStyle:nue,sizes:rue,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),nA,aue={...(nA=_n.baseStyle)==null?void 0:nA.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},rA,sue={outline:e=>{var t;return((t=_n.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=_n.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=_n.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((rA=_n.variants)==null?void 0:rA.unstyled.field)??{}},iA,oA,aA,sA,lue={xs:((iA=_n.sizes)==null?void 0:iA.xs.field)??{},sm:((oA=_n.sizes)==null?void 0:oA.sm.field)??{},md:((aA=_n.sizes)==null?void 0:aA.md.field)??{},lg:((sA=_n.sizes)==null?void 0:sA.lg.field)??{}},uue={baseStyle:aue,sizes:lue,variants:sue,defaultProps:{size:"md",variant:"outline"}},q3=yi("tooltip-bg"),l6=yi("tooltip-fg"),cue=yi("popper-arrow-bg"),due={bg:q3.reference,color:l6.reference,[q3.variable]:"colors.gray.700",[l6.variable]:"colors.whiteAlpha.900",_dark:{[q3.variable]:"colors.gray.300",[l6.variable]:"colors.gray.900"},[cue.variable]:q3.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},fue={baseStyle:due},hue={Accordion:Aie,Alert:Bie,Avatar:Kie,Badge:Nv,Breadcrumb:ooe,Button:poe,Checkbox:G4,CloseButton:Loe,Code:Ioe,Container:Doe,Divider:Foe,Drawer:Zoe,Editable:iae,Form:cae,FormError:mae,FormLabel:yae,Heading:xae,Input:_n,Kbd:Oae,Link:Iae,List:Bae,Menu:Yae,Modal:ose,NumberInput:gse,PinInput:bse,Popover:Ase,Progress:Bse,Radio:Vse,Select:Xse,Skeleton:Qse,SkipLink:ele,Slider:dle,Spinner:ple,Stat:wle,Switch:Lle,Table:Nle,Tabs:Zle,Tag:oue,Textarea:uue,Tooltip:fue,Card:boe},pue={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},gue=pue,mue={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},vue=mue,yue={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},bue=yue,Sue={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},xue=Sue,wue={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Cue=wue,_ue={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},kue={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Eue={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},Pue={property:_ue,easing:kue,duration:Eue},Tue=Pue,Lue={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},Aue=Lue,Oue={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Mue=Oue,Iue={breakpoints:vue,zIndices:Aue,radii:xue,blur:Mue,colors:bue,...iB,sizes:tB,shadows:Cue,space:eB,borders:gue,transition:Tue},Rue={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Due={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},Nue="ltr",jue={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Bue={semanticTokens:Rue,direction:Nue,...Iue,components:hue,styles:Due,config:jue},$ue=typeof Element<"u",Fue=typeof Map=="function",zue=typeof Set=="function",Hue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function u4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!u4(e[r],t[r]))return!1;return!0}var o;if(Fue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!u4(r.value[1],t.get(r.value[0])))return!1;return!0}if(zue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Hue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if($ue&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!u4(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var Vue=function(t,n){try{return u4(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function h0(){const e=w.useContext(y2);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function lB(){const e=dy(),t=h0();return{...e,theme:t}}function Wue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__breakpoints)==null?void 0:o.asArray)==null?void 0:a[i]};return r(t)??r(n)??n}function Uue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function Gue(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),s=r.map((l,u)=>{if(e==="breakpoints")return Wue(o,l,a[u]??l);const d=`${e}.${l}`;return Uue(o,d,a[u]??l)});return Array.isArray(t)?s:s[0]}}function que(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=w.useMemo(()=>Fte(n),[n]);return N.createElement(Xne,{theme:i},N.createElement(Yue,{root:t}),r)}function Yue({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return N.createElement(OS,{styles:n=>({[t]:n.__cssVars})})}fre({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function Kue(){const{colorMode:e}=dy();return N.createElement(OS,{styles:t=>{const n=Vj(t,"styles.global"),r=Gj(n,{theme:t,colorMode:e});return r?xj(r)(t):void 0}})}var Xue=new Set([...Vte,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Zue=new Set(["htmlWidth","htmlHeight","htmlSize"]);function Que(e){return Zue.has(e)||!Xue.has(e)}var Jue=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=Wj(a,(h,m)=>Ute(m)),l=Gj(e,t),u=Object.assign({},i,l,Uj(s),o),d=xj(u)(t.theme);return r?[d,r]:d};function u6(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Que);const i=Jue({baseStyle:n}),o=l7(e,r)(i);return N.forwardRef(function(l,u){const{colorMode:d,forced:h}=dy();return N.createElement(o,{ref:u,"data-theme":h?d:void 0,...l})})}function Ae(e){return w.forwardRef(e)}function uB(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=lB(),a=e?Vj(i,`components.${e}`):void 0,s=n||a,l=Wl({theme:i,colorMode:o},(s==null?void 0:s.defaultProps)??{},Uj(are(r,["children"]))),u=w.useRef({});if(s){const h=tne(s)(l);Vue(u.current,h)||(u.current=h)}return u.current}function Ao(e,t={}){return uB(e,t)}function Yi(e,t={}){return uB(e,t)}function ece(){const e=new Map;return new Proxy(u6,{apply(t,n,r){return u6(...r)},get(t,n){return e.has(n)||e.set(n,u6(n)),e.get(n)}})}var Ce=ece();function tce(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Mn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o}=e,a=w.createContext(void 0);a.displayName=t;function s(){var l;const u=w.useContext(a);if(!u&&n){const d=new Error(o??tce(r,i));throw d.name="ContextError",(l=Error.captureStackTrace)==null||l.call(Error,d,s),d}return u}return[a.Provider,s,a]}function nce(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function qn(...e){return t=>{e.forEach(n=>{nce(n,t)})}}function rce(...e){return w.useMemo(()=>qn(...e),e)}function lA(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var ice=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function uA(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function cA(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var p7=typeof window<"u"?w.useLayoutEffect:w.useEffect,Y4=e=>e,oce=class{constructor(){an(this,"descendants",new Map);an(this,"register",e=>{if(e!=null)return ice(e)?this.registerNode(e):t=>{this.registerNode(t,e)}});an(this,"unregister",e=>{this.descendants.delete(e);const t=lA(Array.from(this.descendants.keys()));this.assignIndex(t)});an(this,"destroy",()=>{this.descendants.clear()});an(this,"assignIndex",e=>{this.descendants.forEach(t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()})});an(this,"count",()=>this.descendants.size);an(this,"enabledCount",()=>this.enabledValues().length);an(this,"values",()=>Array.from(this.descendants.values()).sort((t,n)=>t.index-n.index));an(this,"enabledValues",()=>this.values().filter(e=>!e.disabled));an(this,"item",e=>{if(this.count()!==0)return this.values()[e]});an(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]});an(this,"first",()=>this.item(0));an(this,"firstEnabled",()=>this.enabledItem(0));an(this,"last",()=>this.item(this.descendants.size-1));an(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)});an(this,"indexOf",e=>{var t;return e?((t=this.descendants.get(e))==null?void 0:t.index)??-1:-1});an(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e)));an(this,"next",(e,t=!0)=>{const n=uA(e,this.count(),t);return this.item(n)});an(this,"nextEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=uA(r,this.enabledCount(),t);return this.enabledItem(i)});an(this,"prev",(e,t=!0)=>{const n=cA(e,this.count()-1,t);return this.item(n)});an(this,"prevEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=cA(r,this.enabledCount()-1,t);return this.enabledItem(i)});an(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const n=Array.from(this.descendants.keys()).concat(e),r=lA(n);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(r)})}};function ace(){const e=w.useRef(new oce);return p7(()=>()=>e.current.destroy()),e.current}var[sce,cB]=Mn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function lce(e){const t=cB(),[n,r]=w.useState(-1),i=w.useRef(null);p7(()=>()=>{i.current&&t.unregister(i.current)},[]),p7(()=>{if(!i.current)return;const a=Number(i.current.dataset.index);n!=a&&!Number.isNaN(a)&&r(a)});const o=Y4(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:qn(o,i)}}function dB(){return[Y4(sce),()=>Y4(cB()),()=>ace(),i=>lce(i)]}var Qr=(...e)=>e.filter(Boolean).join(" "),dA={path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Da=Ae((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...u}=e,d=Qr("chakra-icon",s),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l},m={ref:t,focusable:o,className:d,__css:h},v=r??dA.viewBox;if(n&&typeof n!="string")return N.createElement(Ce.svg,{as:n,...m,...u});const b=a??dA.path;return N.createElement(Ce.svg,{verticalAlign:"middle",viewBox:v,...m,...u},b)});Da.displayName="Icon";function yt(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=w.Children.toArray(e.path),a=Ae((s,l)=>N.createElement(Da,{ref:l,viewBox:t,...i,...s},o.length?o:N.createElement("path",{fill:"currentColor",d:n})));return a.displayName=r,a}function Er(e,t=[]){const n=w.useRef(e);return w.useEffect(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function DS(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(m,v)=>m!==v}=e,o=Er(r),a=Er(i),[s,l]=w.useState(n),u=t!==void 0,d=u?t:s,h=Er(m=>{const b=typeof m=="function"?m(d):m;a(d,b)&&(u||l(b),o(b))},[u,o,d,a]);return[d,h]}const O_=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),NS=w.createContext({});function uce(){return w.useContext(NS).visualElement}const p0=w.createContext(null),np=typeof document<"u",K4=np?w.useLayoutEffect:w.useEffect,fB=w.createContext({strict:!1});function cce(e,t,n,r){const i=uce(),o=w.useContext(fB),a=w.useContext(p0),s=w.useContext(O_).reducedMotion,l=w.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;return K4(()=>{u&&u.render()}),w.useEffect(()=>{u&&u.animationState&&u.animationState.animateChanges()}),K4(()=>()=>u&&u.notify("Unmount"),[]),u}function Hg(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dce(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Hg(n)&&(n.current=r))},[t])}function w2(e){return typeof e=="string"||Array.isArray(e)}function jS(e){return typeof e=="object"&&typeof e.start=="function"}const fce=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function BS(e){return jS(e.animate)||fce.some(t=>w2(e[t]))}function hB(e){return Boolean(BS(e)||e.variants)}function hce(e,t){if(BS(e)){const{initial:n,animate:r}=e;return{initial:n===!1||w2(n)?n:void 0,animate:w2(r)?r:void 0}}return e.inherit!==!1?t:{}}function pce(e){const{initial:t,animate:n}=hce(e,w.useContext(NS));return w.useMemo(()=>({initial:t,animate:n}),[fA(t),fA(n)])}function fA(e){return Array.isArray(e)?e.join(" "):e}const Bu=e=>({isEnabled:t=>e.some(n=>!!t[n])}),C2={measureLayout:Bu(["layout","layoutId","drag"]),animation:Bu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Bu(["exit"]),drag:Bu(["drag","dragControls"]),focus:Bu(["whileFocus"]),hover:Bu(["whileHover","onHoverStart","onHoverEnd"]),tap:Bu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Bu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Bu(["whileInView","onViewportEnter","onViewportLeave"])};function gce(e){for(const t in e)t==="projectionNodeConstructor"?C2.projectionNodeConstructor=e[t]:C2[t].Component=e[t]}function $S(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let mce=1;function vce(){return $S(()=>{if(Fv.hasEverUpdated)return mce++})}const M_=w.createContext({});class yce extends N.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const pB=w.createContext({}),bce=Symbol.for("motionComponentSymbol");function Sce({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&gce(e);function a(l,u){const d={...w.useContext(O_),...l,layoutId:xce(l)},{isStatic:h}=d;let m=null;const v=pce(l),b=h?void 0:vce(),S=i(l,h);if(!h&&np){v.visualElement=cce(o,S,d,t);const k=w.useContext(fB).strict,E=w.useContext(pB);v.visualElement&&(m=v.visualElement.loadFeatures(d,k,e,b,n||C2.projectionNodeConstructor,E))}return w.createElement(yce,{visualElement:v.visualElement,props:d},m,w.createElement(NS.Provider,{value:v},r(o,l,b,dce(S,v.visualElement,u),S,h,v.visualElement)))}const s=w.forwardRef(a);return s[bce]=o,s}function xce({layoutId:e}){const t=w.useContext(M_).id;return t&&e!==void 0?t+"-"+e:e}function wce(e){function t(r,i={}){return Sce(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Cce=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function I_(e){return typeof e!="string"||e.includes("-")?!1:!!(Cce.indexOf(e)>-1||/[A-Z]/.test(e))}const X4={};function _ce(e){Object.assign(X4,e)}const Z4=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g0=new Set(Z4);function gB(e,{layout:t,layoutId:n}){return g0.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!X4[e]||e==="opacity")}const ou=e=>!!(e!=null&&e.getVelocity),kce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ece=(e,t)=>Z4.indexOf(e)-Z4.indexOf(t);function Pce({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(Ece);for(const s of t)a+=`${kce[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function mB(e){return e.startsWith("--")}const Tce=(e,t)=>t&&typeof e=="number"?t.transform(e):e,vB=(e,t)=>n=>Math.max(Math.min(n,t),e),zv=e=>e%1?Number(e.toFixed(5)):e,_2=/(-)?([\d]*\.?[\d])+/g,g7=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Lce=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function gy(e){return typeof e=="string"}const rp={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Hv=Object.assign(Object.assign({},rp),{transform:vB(0,1)}),Y3=Object.assign(Object.assign({},rp),{default:1}),my=e=>({test:t=>gy(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),cd=my("deg"),Xl=my("%"),Lt=my("px"),Ace=my("vh"),Oce=my("vw"),hA=Object.assign(Object.assign({},Xl),{parse:e=>Xl.parse(e)/100,transform:e=>Xl.transform(e*100)}),R_=(e,t)=>n=>Boolean(gy(n)&&Lce.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yB=(e,t,n)=>r=>{if(!gy(r))return r;const[i,o,a,s]=r.match(_2);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Ch={test:R_("hsl","hue"),parse:yB("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xl.transform(zv(t))+", "+Xl.transform(zv(n))+", "+zv(Hv.transform(r))+")"},Mce=vB(0,255),c6=Object.assign(Object.assign({},rp),{transform:e=>Math.round(Mce(e))}),wd={test:R_("rgb","red"),parse:yB("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+c6.transform(e)+", "+c6.transform(t)+", "+c6.transform(n)+", "+zv(Hv.transform(r))+")"};function Ice(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const m7={test:R_("#"),parse:Ice,transform:wd.transform},xo={test:e=>wd.test(e)||m7.test(e)||Ch.test(e),parse:e=>wd.test(e)?wd.parse(e):Ch.test(e)?Ch.parse(e):m7.parse(e),transform:e=>gy(e)?e:e.hasOwnProperty("red")?wd.transform(e):Ch.transform(e)},bB="${c}",SB="${n}";function Rce(e){var t,n,r,i;return isNaN(e)&&gy(e)&&((n=(t=e.match(_2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(g7))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function xB(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(g7);r&&(n=r.length,e=e.replace(g7,bB),t.push(...r.map(xo.parse)));const i=e.match(_2);return i&&(e=e.replace(_2,SB),t.push(...i.map(rp.parse))),{values:t,numColors:n,tokenised:e}}function wB(e){return xB(e).values}function CB(e){const{values:t,numColors:n,tokenised:r}=xB(e),i=t.length;return o=>{let a=r;for(let s=0;stypeof e=="number"?0:e;function Nce(e){const t=wB(e);return CB(e)(t.map(Dce))}const Ju={test:Rce,parse:wB,createTransformer:CB,getAnimatableNone:Nce},jce=new Set(["brightness","contrast","saturate","opacity"]);function Bce(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(_2)||[];if(!r)return e;const i=n.replace(r,"");let o=jce.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const $ce=/([a-z-]*)\(.*?\)/g,v7=Object.assign(Object.assign({},Ju),{getAnimatableNone:e=>{const t=e.match($ce);return t?t.map(Bce).join(" "):e}}),pA={...rp,transform:Math.round},_B={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,size:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,rotate:cd,rotateX:cd,rotateY:cd,rotateZ:cd,scale:Y3,scaleX:Y3,scaleY:Y3,scaleZ:Y3,skew:cd,skewX:cd,skewY:cd,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:Hv,originX:hA,originY:hA,originZ:Lt,zIndex:pA,fillOpacity:Hv,strokeOpacity:Hv,numOctaves:pA};function D_(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,d=!1,h=!0;for(const m in t){const v=t[m];if(mB(m)){o[m]=v;continue}const b=_B[m],S=Tce(v,b);if(g0.has(m)){if(u=!0,a[m]=S,s.push(m),!h)continue;v!==(b.default||0)&&(h=!1)}else m.startsWith("origin")?(d=!0,l[m]=S):i[m]=S}if(t.transform||(u||r?i.transform=Pce(e,n,h,r):i.transform&&(i.transform="none")),d){const{originX:m="50%",originY:v="50%",originZ:b=0}=l;i.transformOrigin=`${m} ${v} ${b}`}}const N_=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function kB(e,t,n){for(const r in t)!ou(t[r])&&!gB(r,n)&&(e[r]=t[r])}function Fce({transformTemplate:e},t,n){return w.useMemo(()=>{const r=N_();return D_(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function zce(e,t,n){const r=e.style||{},i={};return kB(i,r,e),Object.assign(i,Fce(e,t,n)),e.transformValues?e.transformValues(i):i}function Hce(e,t,n){const r={},i=zce(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const Vce=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],Wce=["whileTap","onTap","onTapStart","onTapCancel"],Uce=["onPan","onPanStart","onPanSessionStart","onPanEnd"],Gce=["whileInView","onViewportEnter","onViewportLeave","viewport"],qce=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...Gce,...Wce,...Vce,...Uce]);function Q4(e){return qce.has(e)}let EB=e=>!Q4(e);function Yce(e){e&&(EB=t=>t.startsWith("on")?!Q4(t):e(t))}try{Yce(require("@emotion/is-prop-valid").default)}catch{}function Kce(e,t,n){const r={};for(const i in e)(EB(i)||n===!0&&Q4(i)||!t&&!Q4(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function gA(e,t,n){return typeof e=="string"?e:Lt.transform(t+n*e)}function Xce(e,t,n){const r=gA(t,e.x,e.width),i=gA(n,e.y,e.height);return`${r} ${i}`}const Zce={offset:"stroke-dashoffset",array:"stroke-dasharray"},Qce={offset:"strokeDashoffset",array:"strokeDasharray"};function Jce(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Zce:Qce;e[o.offset]=Lt.transform(-r);const a=Lt.transform(t),s=Lt.transform(n);e[o.array]=`${a} ${s}`}function j_(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,d){D_(e,l,u,d),e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:v}=e;h.transform&&(v&&(m.transform=h.transform),delete h.transform),v&&(r!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=Xce(v,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),o!==void 0&&Jce(h,o,a,s,!1)}const PB=()=>({...N_(),attrs:{}});function ede(e,t){const n=w.useMemo(()=>{const r=PB();return j_(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};kB(r,e.style,e),n.style={...r,...n.style}}return n}function tde(e=!1){return(n,r,i,o,{latestValues:a},s)=>{const u=(I_(n)?ede:Hce)(r,a,s),h={...Kce(r,typeof n=="string",e),...u,ref:o};return i&&(h["data-projection-id"]=i),w.createElement(n,h)}}const TB=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function LB(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const AB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function OB(e,t,n,r){LB(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(AB.has(i)?i:TB(i),t.attrs[i])}function B_(e){const{style:t}=e,n={};for(const r in t)(ou(t[r])||gB(r,e))&&(n[r]=t[r]);return n}function MB(e){const t=B_(e);for(const n in e)if(ou(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function $_(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const k2=e=>Array.isArray(e),nde=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),IB=e=>k2(e)?e[e.length-1]||0:e;function c4(e){const t=ou(e)?e.get():e;return nde(t)?t.toValue():t}function rde({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:ide(r,i,o,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}const RB=e=>(t,n)=>{const r=w.useContext(NS),i=w.useContext(p0),o=()=>rde(e,t,r,i);return n?o():$S(o)};function ide(e,t,n,r){const i={},o=r(e);for(const m in o)i[m]=c4(o[m]);let{initial:a,animate:s}=e;const l=BS(e),u=hB(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const h=d?s:a;return h&&typeof h!="boolean"&&!jS(h)&&(Array.isArray(h)?h:[h]).forEach(v=>{const b=$_(e,v);if(!b)return;const{transitionEnd:S,transition:k,...E}=b;for(const _ in E){let T=E[_];if(Array.isArray(T)){const A=d?T.length-1:0;T=T[A]}T!==null&&(i[_]=T)}for(const _ in S)i[_]=S[_]}),i}const ode={useVisualState:RB({scrapeMotionValuesFromProps:MB,createRenderState:PB,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}j_(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),OB(t,n)}})},ade={useVisualState:RB({scrapeMotionValuesFromProps:B_,createRenderState:N_})};function sde(e,{forwardMotionProps:t=!1},n,r,i){return{...I_(e)?ode:ade,preloadedFeatures:n,useRender:tde(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var tr;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(tr||(tr={}));function FS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function y7(e,t,n,r){w.useEffect(()=>{const i=e.current;if(n&&i)return FS(i,t,n,r)},[e,t,n,r])}function lde({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(tr.Focus,!0)},i=()=>{n&&n.setActive(tr.Focus,!1)};y7(t,"focus",e?r:void 0),y7(t,"blur",e?i:void 0)}function DB(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function NB(e){return!!e.touches}function ude(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const cde={pageX:0,pageY:0};function dde(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||cde;return{x:r[t+"X"],y:r[t+"Y"]}}function fde(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function F_(e,t="page"){return{point:NB(e)?dde(e,t):fde(e,t)}}const jB=(e,t=!1)=>{const n=r=>e(r,F_(r));return t?ude(n):n},hde=()=>np&&window.onpointerdown===null,pde=()=>np&&window.ontouchstart===null,gde=()=>np&&window.onmousedown===null,mde={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},vde={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function BB(e){return hde()?e:pde()?vde[e]:gde()?mde[e]:e}function Sm(e,t,n,r){return FS(e,BB(t),jB(n,t==="pointerdown"),r)}function J4(e,t,n,r){return y7(e,BB(t),n&&jB(n,t==="pointerdown"),r)}function $B(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const mA=$B("dragHorizontal"),vA=$B("dragVertical");function FB(e){let t=!1;if(e==="y")t=vA();else if(e==="x")t=mA();else{const n=mA(),r=vA();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function zB(){const e=FB(!0);return e?(e(),!1):!0}function yA(e,t,n){return(r,i)=>{!DB(r)||zB()||(e.animationState&&e.animationState.setActive(tr.Hover,t),n&&n(r,i))}}function yde({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){J4(r,"pointerenter",e||n?yA(r,!0,e):void 0,{passive:!e}),J4(r,"pointerleave",t||n?yA(r,!1,t):void 0,{passive:!t})}const HB=(e,t)=>t?e===t?!0:HB(e,t.parentElement):!1;function z_(e){return w.useEffect(()=>()=>e(),[])}function VB(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),d6=.001,Sde=.01,bA=10,xde=.05,wde=1;function Cde({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;bde(e<=bA*1e3);let a=1-t;a=t5(xde,wde,a),e=t5(Sde,bA,e/1e3),a<1?(i=u=>{const d=u*a,h=d*e,m=d-n,v=b7(u,a),b=Math.exp(-h);return d6-m/v*b},o=u=>{const h=u*a*e,m=h*n+n,v=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-h),S=b7(Math.pow(u,2),a);return(-i(u)+d6>0?-1:1)*((m-v)*b)/S}):(i=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-d6+d*h},o=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const s=5/e,l=kde(i,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const _de=12;function kde(e,t,n){let r=n;for(let i=1;i<_de;i++)r=r-e(r)/t(r);return r}function b7(e,t){return e*Math.sqrt(1-t*t)}const Ede=["duration","bounce"],Pde=["stiffness","damping","mass"];function SA(e,t){return t.some(n=>e[n]!==void 0)}function Tde(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!SA(e,Pde)&&SA(e,Ede)){const n=Cde(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function H_(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=VB(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=Tde(o),v=xA,b=xA;function S(){const k=d?-(d/1e3):0,E=n-t,_=l/(2*Math.sqrt(s*u)),T=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const A=b7(T,_);v=I=>{const R=Math.exp(-_*T*I);return n-R*((k+_*T*E)/A*Math.sin(A*I)+E*Math.cos(A*I))},b=I=>{const R=Math.exp(-_*T*I);return _*T*R*(Math.sin(A*I)*(k+_*T*E)/A+E*Math.cos(A*I))-R*(Math.cos(A*I)*(k+_*T*E)-A*E*Math.sin(A*I))}}else if(_===1)v=A=>n-Math.exp(-T*A)*(E+(k+T*E)*A);else{const A=T*Math.sqrt(_*_-1);v=I=>{const R=Math.exp(-_*T*I),D=Math.min(A*I,300);return n-R*((k+_*T*E)*Math.sinh(D)+A*E*Math.cosh(D))/A}}}return S(),{next:k=>{const E=v(k);if(m)a.done=k>=h;else{const _=b(k)*1e3,T=Math.abs(_)<=r,A=Math.abs(n-E)<=i;a.done=T&&A}return a.value=a.done?n:E,a},flipTarget:()=>{d=-d,[t,n]=[n,t],S()}}}H_.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const xA=e=>0,E2=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Fr=(e,t,n)=>-n*e+n*t+e;function f6(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=f6(l,s,e+1/3),o=f6(l,s,e),a=f6(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const Lde=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Ade=[m7,wd,Ch],CA=e=>Ade.find(t=>t.test(e)),WB=(e,t)=>{let n=CA(e),r=CA(t),i=n.parse(e),o=r.parse(t);n===Ch&&(i=wA(i),n=wd),r===Ch&&(o=wA(o),r=wd);const a=Object.assign({},i);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Lde(i[l],o[l],s));return a.alpha=Fr(i.alpha,o.alpha,s),n.transform(a)}},S7=e=>typeof e=="number",Ode=(e,t)=>n=>t(e(n)),zS=(...e)=>e.reduce(Ode);function UB(e,t){return S7(e)?n=>Fr(e,t,n):xo.test(e)?WB(e,t):qB(e,t)}const GB=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>UB(o,t[a]));return o=>{for(let a=0;a{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=UB(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function _A(e){const t=Ju.parse(e),n=t.length;let r=0,i=0,o=0;for(let a=0;a{const n=Ju.createTransformer(t),r=_A(e),i=_A(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?zS(GB(r.parsed,i.parsed),n):a=>`${a>0?t:e}`},Ide=(e,t)=>n=>Fr(e,t,n);function Rde(e){if(typeof e=="number")return Ide;if(typeof e=="string")return xo.test(e)?WB:qB;if(Array.isArray(e))return GB;if(typeof e=="object")return Mde}function Dde(e,t,n){const r=[],i=n||Rde(e[0]),o=e.length-1;for(let a=0;an(E2(e,t,r))}function jde(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let l=1;for(;li||l===r);l++);o=l-1}const s=E2(e[o],e[o+1],i);return t[o](s)}}function YB(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;e5(o===t.length),e5(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Dde(t,r,i),s=o===2?Nde(e,a):jde(e,a);return n?l=>s(t5(e[0],e[o-1],l)):s}const HS=e=>t=>1-e(1-t),V_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bde=e=>t=>Math.pow(t,e),KB=e=>t=>t*t*((e+1)*t-e),$de=e=>{const t=KB(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},XB=1.525,Fde=4/11,zde=8/11,Hde=9/10,W_=e=>e,U_=Bde(2),Vde=HS(U_),ZB=V_(U_),QB=e=>1-Math.sin(Math.acos(e)),G_=HS(QB),Wde=V_(G_),q_=KB(XB),Ude=HS(q_),Gde=V_(q_),qde=$de(XB),Yde=4356/361,Kde=35442/1805,Xde=16061/1805,n5=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-n5(1-e*2)):.5*n5(e*2-1)+.5;function Jde(e,t){return e.map(()=>t||ZB).splice(0,e.length-1)}function efe(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function tfe(e,t){return e.map(n=>n*t)}function d4({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=tfe(r&&r.length===a.length?r:efe(a),i);function l(){return YB(s,a,{ease:Array.isArray(n)?n:Jde(a,n)})}let u=l();return{next:d=>(o.value=u(d),o.done=d>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}function nfe({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:d=>{const h=-s*Math.exp(-d/r);return a.done=!(h>i||h<-i),a.value=a.done?u:u+h,a},flipTarget:()=>{}}}const kA={keyframes:d4,spring:H_,decay:nfe};function rfe(e){if(Array.isArray(e.to))return d4;if(kA[e.type])return kA[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?d4:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?H_:d4}const JB=1/60*1e3,ife=typeof performance<"u"?()=>performance.now():()=>Date.now(),e$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ife()),JB);function ofe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=ofe(()=>P2=!0),e),{}),sfe=vy.reduce((e,t)=>{const n=VS[t];return e[t]=(r,i=!1,o=!1)=>(P2||cfe(),n.schedule(r,i,o)),e},{}),lfe=vy.reduce((e,t)=>(e[t]=VS[t].cancel,e),{});vy.reduce((e,t)=>(e[t]=()=>VS[t].process(xm),e),{});const ufe=e=>VS[e].process(xm),t$=e=>{P2=!1,xm.delta=x7?JB:Math.max(Math.min(e-xm.timestamp,afe),1),xm.timestamp=e,w7=!0,vy.forEach(ufe),w7=!1,P2&&(x7=!1,e$(t$))},cfe=()=>{P2=!0,x7=!0,w7||e$(t$)},dfe=()=>xm;function n$(e,t,n=0){return e-t-n}function ffe(e,t,n=0,r=!0){return r?n$(t+-e,t,n):t-(e-t)+n}function hfe(e,t,n,r){return r?e>=t+n:e<=-n}const pfe=e=>{const t=({delta:n})=>e(n);return{start:()=>sfe.update(t,!0),stop:()=>lfe.update(t)}};function r$(e){var t,n,{from:r,autoplay:i=!0,driver:o=pfe,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:d,onStop:h,onComplete:m,onRepeat:v,onUpdate:b}=e,S=VB(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:k}=S,E,_=0,T=S.duration,A,I=!1,R=!0,D;const j=rfe(S);!((n=(t=j).needsInterpolation)===null||n===void 0)&&n.call(t,r,k)&&(D=YB([0,100],[r,k],{clamp:!1}),r=0,k=100);const z=j(Object.assign(Object.assign({},S),{from:r,to:k}));function V(){_++,l==="reverse"?(R=_%2===0,a=ffe(a,T,u,R)):(a=n$(a,T,u),l==="mirror"&&z.flipTarget()),I=!1,v&&v()}function K(){E.stop(),m&&m()}function te($){if(R||($=-$),a+=$,!I){const U=z.next(Math.max(0,a));A=U.value,D&&(A=D(A)),I=R?U.done:a<=0}b==null||b(A),I&&(_===0&&(T??(T=a)),_{h==null||h(),E.stop()}}}function i$(e,t){return t?e*(1e3/t):0}function gfe({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:h,onComplete:m,onStop:v}){let b;function S(T){return n!==void 0&&Tr}function k(T){return n===void 0?r:r===void 0||Math.abs(n-T){var I;h==null||h(A),(I=T.onUpdate)===null||I===void 0||I.call(T,A)},onComplete:m,onStop:v}))}function _(T){E(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},T))}if(S(e))_({from:e,velocity:t,to:k(e)});else{let T=i*t+e;typeof u<"u"&&(T=u(T));const A=k(T),I=A===n?-1:1;let R,D;const j=z=>{R=D,D=z,t=i$(z-R,dfe().delta),(I===1&&z>A||I===-1&&zb==null?void 0:b.stop()}}const C7=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),EA=e=>C7(e)&&e.hasOwnProperty("z"),K3=(e,t)=>Math.abs(e-t);function Y_(e,t){if(S7(e)&&S7(t))return K3(e,t);if(C7(e)&&C7(t)){const n=K3(e.x,t.x),r=K3(e.y,t.y),i=EA(e)&&EA(t)?K3(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const o$=(e,t)=>1-3*t+3*e,a$=(e,t)=>3*t-6*e,s$=e=>3*e,r5=(e,t,n)=>((o$(t,n)*e+a$(t,n))*e+s$(t))*e,l$=(e,t,n)=>3*o$(t,n)*e*e+2*a$(t,n)*e+s$(t),mfe=1e-7,vfe=10;function yfe(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=r5(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>mfe&&++s=Sfe?xfe(a,h,e,n):m===0?h:yfe(a,s,s+X3,e,n)}return a=>a===0||a===1?a:r5(o(a),t,r)}function Cfe({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(!1),s=w.useRef(null),l={passive:!(t||e||n||v)};function u(){s.current&&s.current(),s.current=null}function d(){return u(),a.current=!1,i.animationState&&i.animationState.setActive(tr.Tap,!1),!zB()}function h(b,S){d()&&(HB(i.current,b.target)?e&&e(b,S):n&&n(b,S))}function m(b,S){d()&&n&&n(b,S)}function v(b,S){u(),!a.current&&(a.current=!0,s.current=zS(Sm(window,"pointerup",h,l),Sm(window,"pointercancel",m,l)),i.animationState&&i.animationState.setActive(tr.Tap,!0),t&&t(b,S))}J4(i,"pointerdown",o?v:void 0,l),z_(u)}const _fe="production",u$=typeof process>"u"||process.env===void 0?_fe:"production",PA=new Set;function c$(e,t,n){e||PA.has(t)||(console.warn(t),n&&console.warn(n),PA.add(t))}const _7=new WeakMap,h6=new WeakMap,kfe=e=>{const t=_7.get(e.target);t&&t(e)},Efe=e=>{e.forEach(kfe)};function Pfe({root:e,...t}){const n=e||document;h6.has(n)||h6.set(n,{});const r=h6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Efe,{root:e,...t})),r[i]}function Tfe(e,t,n){const r=Pfe(t);return _7.set(e,n),r.observe(e),()=>{_7.delete(e),r.unobserve(e)}}function Lfe({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=w.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?Mfe:Ofe)(a,o.current,e,i)}const Afe={some:0,all:1};function Ofe(e,t,n,{root:r,margin:i,amount:o="some",once:a}){w.useEffect(()=>{if(!e||!n.current)return;const s={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:Afe[o]},l=u=>{const{isIntersecting:d}=u;if(t.isInView===d||(t.isInView=d,a&&!d&&t.hasEnteredView))return;d&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(tr.InView,d);const h=n.getProps(),m=d?h.onViewportEnter:h.onViewportLeave;m&&m(u)};return Tfe(n.current,s,l)},[e,r,i,o])}function Mfe(e,t,n,{fallback:r=!0}){w.useEffect(()=>{!e||!r||(u$!=="production"&&c$(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(tr.InView,!0)}))},[e])}const Cd=e=>t=>(e(t),null),Ife={inView:Cd(Lfe),tap:Cd(Cfe),focus:Cd(lde),hover:Cd(yde)};function K_(){const e=w.useContext(p0);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Rfe(){return Dfe(w.useContext(p0))}function Dfe(e){return e===null?!0:e.isPresent}function d$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;re*1e3,Nfe={linear:W_,easeIn:U_,easeInOut:ZB,easeOut:Vde,circIn:QB,circInOut:Wde,circOut:G_,backIn:q_,backInOut:Gde,backOut:Ude,anticipate:qde,bounceIn:Zde,bounceInOut:Qde,bounceOut:n5},TA=e=>{if(Array.isArray(e)){e5(e.length===4);const[t,n,r,i]=e;return wfe(t,n,r,i)}else if(typeof e=="string")return Nfe[e];return e},jfe=e=>Array.isArray(e)&&typeof e[0]!="number",LA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ju.test(t)&&!t.startsWith("url(")),rh=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Z3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),p6=()=>({type:"keyframes",ease:"linear",duration:.3}),Bfe=e=>({type:"keyframes",duration:.8,values:e}),AA={x:rh,y:rh,z:rh,rotate:rh,rotateX:rh,rotateY:rh,rotateZ:rh,scaleX:Z3,scaleY:Z3,scale:Z3,opacity:p6,backgroundColor:p6,color:p6,default:Z3},$fe=(e,t)=>{let n;return k2(t)?n=Bfe:n=AA[e]||AA.default,{to:t,...n(t)}},Ffe={..._B,color:xo,backgroundColor:xo,outlineColor:xo,fill:xo,stroke:xo,borderColor:xo,borderTopColor:xo,borderRightColor:xo,borderBottomColor:xo,borderLeftColor:xo,filter:v7,WebkitFilter:v7},X_=e=>Ffe[e];function Z_(e,t){var n;let r=X_(e);return r!==v7&&(r=Ju),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const zfe={current:!1},f$=1/60*1e3,Hfe=typeof performance<"u"?()=>performance.now():()=>Date.now(),h$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Hfe()),f$);function Vfe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=Vfe(()=>T2=!0),e),{}),Gs=yy.reduce((e,t)=>{const n=WS[t];return e[t]=(r,i=!1,o=!1)=>(T2||Gfe(),n.schedule(r,i,o)),e},{}),Vh=yy.reduce((e,t)=>(e[t]=WS[t].cancel,e),{}),g6=yy.reduce((e,t)=>(e[t]=()=>WS[t].process(wm),e),{}),Ufe=e=>WS[e].process(wm),p$=e=>{T2=!1,wm.delta=k7?f$:Math.max(Math.min(e-wm.timestamp,Wfe),1),wm.timestamp=e,E7=!0,yy.forEach(Ufe),E7=!1,T2&&(k7=!1,h$(p$))},Gfe=()=>{T2=!0,k7=!0,E7||h$(p$)},P7=()=>wm;function g$(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Vh.read(r),e(o-t))};return Gs.read(r,!0),()=>Vh.read(r)}function qfe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}function Yfe({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){const a={...o};return t&&(a.offset=t),o.duration&&(a.duration=i5(o.duration)),o.repeatDelay&&(a.repeatDelay=i5(o.repeatDelay)),e&&(a.ease=jfe(e)?e.map(TA):TA(e)),o.type==="tween"&&(a.type="keyframes"),(n||i||r)&&(n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),o.type!=="spring"&&(a.type="keyframes"),a}function Kfe(e,t){var n,r;return(r=(n=(Q_(e,t)||{}).delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function Xfe(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Zfe(e,t,n){return Array.isArray(t.to)&&e.duration===void 0&&(e.duration=.8),Xfe(t),qfe(e)||(e={...e,...$fe(n,t.to)}),{...t,...Yfe(e)}}function Qfe(e,t,n,r,i){const o=Q_(r,e)||{};let a=o.from!==void 0?o.from:t.get();const s=LA(e,n);a==="none"&&s&&typeof n=="string"?a=Z_(e,n):OA(a)&&typeof n=="string"?a=MA(n):!Array.isArray(n)&&OA(n)&&typeof a=="string"&&(n=MA(a));const l=LA(e,a);function u(){const h={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:m=>t.set(m)};return o.type==="inertia"||o.type==="decay"?gfe({...h,...o}):r$({...Zfe(o,h,e),onUpdate:m=>{h.onUpdate(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{h.onComplete(),o.onComplete&&o.onComplete()}})}function d(){const h=IB(n);return t.set(h),i(),o.onUpdate&&o.onUpdate(h),o.onComplete&&o.onComplete(),{stop:()=>{}}}return!l||!s||o.type===!1?d:u}function OA(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function MA(e){return typeof e=="number"?0:Z_("",e)}function Q_(e,t){return e[t]||e.default||e}function J_(e,t,n,r={}){return zfe.current&&(r={type:!1}),t.start(i=>{let o;const a=Qfe(e,t,n,r,i),s=Kfe(r,e),l=()=>o=a();let u;return s?u=g$(l,i5(s)):l(),()=>{u&&u(),o&&o.stop()}})}const Jfe=e=>/^\-?\d*\.?\d+$/.test(e),ehe=e=>/^0[^.\s]+$/.test(e);function ek(e,t){e.indexOf(t)===-1&&e.push(t)}function tk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vv{constructor(){this.subscriptions=[]}add(t){return ek(this.subscriptions,t),()=>tk(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class nhe{constructor(t){this.version="7.6.9",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Vv,this.velocityUpdateSubscribers=new Vv,this.renderSubscribers=new Vv,this.canTrackVelocity=!1,this.updateAndNotify=(n,r=!0)=>{this.prev=this.current,this.current=n;const{delta:i,timestamp:o}=P7();this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,Gs.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),r&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Gs.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=the(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?i$(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Vm(e){return new nhe(e)}const m$=e=>t=>t.test(e),rhe={test:e=>e==="auto",parse:e=>e},v$=[rp,Lt,Xl,cd,Oce,Ace,rhe],V1=e=>v$.find(m$(e)),ihe=[...v$,xo,Ju],ohe=e=>ihe.find(m$(e));function ahe(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function she(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function US(e,t,n){const r=e.getProps();return $_(r,t,n!==void 0?n:r.custom,ahe(e),she(e))}function lhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vm(n))}function uhe(e,t){const n=US(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const s=IB(o[a]);lhe(e,a,s)}}function che(e,t,n){var r,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sT7(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=T7(e,t,n);else{const i=typeof t=="function"?US(e,t,n.custom):t;r=y$(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function T7(e,t,n={}){var r;const i=US(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>y$(e,i,n):()=>Promise.resolve(),s=!((r=e.variantChildren)===null||r===void 0)&&r.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:m}=o;return phe(e,t,d+u,h,m,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,d]=l==="beforeChildren"?[a,s]:[s,a];return u().then(d)}else return Promise.all([a(),s(n.delay)])}function y$(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(a=r);const d=[],h=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const m in l){const v=e.getValue(m),b=l[m];if(!v||b===void 0||h&&mhe(h,m))continue;let S={delay:n,...a};e.shouldReduceMotion&&g0.has(m)&&(S={...S,type:!1,delay:0});let k=J_(m,v,b,S);o5(u)&&(u.add(m),k=k.then(()=>u.remove(m))),d.push(k)}return Promise.all(d).then(()=>{s&&uhe(e,s)})}function phe(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(ghe).forEach((u,d)=>{a.push(T7(u,t,{...o,delay:n+l(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function ghe(e,t){return e.sortNodePosition(t)}function mhe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const nk=[tr.Animate,tr.InView,tr.Focus,tr.Hover,tr.Tap,tr.Drag,tr.Exit],vhe=[...nk].reverse(),yhe=nk.length;function bhe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hhe(e,n,r)))}function She(e){let t=bhe(e);const n=whe();let r=!0;const i=(l,u)=>{const d=US(e,u);if(d){const{transition:h,transitionEnd:m,...v}=d;l={...l,...v,...m}}return l};function o(l){t=l(e)}function a(l,u){var d;const h=e.getProps(),m=e.getVariantContext(!0)||{},v=[],b=new Set;let S={},k=1/0;for(let _=0;_k&&R;const K=Array.isArray(I)?I:[I];let te=K.reduce(i,{});D===!1&&(te={});const{prevResolvedValues:q={}}=A,$={...q,...te},U=X=>{V=!0,b.delete(X),A.needsAnimating[X]=!0};for(const X in $){const Z=te[X],W=q[X];S.hasOwnProperty(X)||(Z!==W?k2(Z)&&k2(W)?!d$(Z,W)||z?U(X):A.protectedKeys[X]=!0:Z!==void 0?U(X):b.add(X):Z!==void 0&&b.has(X)?U(X):A.protectedKeys[X]=!0)}A.prevProp=I,A.prevResolvedValues=te,A.isActive&&(S={...S,...te}),r&&e.blockInitialAnimation&&(V=!1),V&&!j&&v.push(...K.map(X=>({animation:X,options:{type:T,...l}})))}if(b.size){const _={};b.forEach(T=>{const A=e.getBaseTarget(T);A!==void 0&&(_[T]=A)}),v.push({animation:_})}let E=Boolean(v.length);return r&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(v):Promise.resolve()}function s(l,u,d){var h;if(n[l].isActive===u)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(l,u)}),n[l].isActive=u;const m=a(d,l);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n}}function xhe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!d$(t,e):!1}function ih(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function whe(){return{[tr.Animate]:ih(!0),[tr.InView]:ih(),[tr.Hover]:ih(),[tr.Tap]:ih(),[tr.Drag]:ih(),[tr.Focus]:ih(),[tr.Exit]:ih()}}const Che={animation:Cd(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=She(e)),jS(t)&&w.useEffect(()=>t.subscribe(e),[t])}),exit:Cd(e=>{const{custom:t,visualElement:n}=e,[r,i]=K_(),o=w.useContext(p0);w.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(tr.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})};class b${constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=v6(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,h=Y_(u.offset,{x:0,y:0})>=3;if(!d&&!h)return;const{point:m}=u,{timestamp:v}=P7();this.history.push({...m,timestamp:v});const{onStart:b,onMove:S}=this.handlers;d||(b&&b(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{if(this.lastMoveEvent=u,this.lastMoveEventInfo=m6(d,this.transformPagePoint),DB(u)&&u.buttons===0){this.handlePointerUp(u,d);return}Gs.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{this.end();const{onEnd:h,onSessionEnd:m}=this.handlers,v=v6(m6(d,this.transformPagePoint),this.history);this.startEvent&&h&&h(u,v),m&&m(u,v)},NB(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=F_(t),o=m6(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=P7();this.history=[{...a,timestamp:s}];const{onSessionStart:l}=n;l&&l(t,v6(o,this.history)),this.removeListeners=zS(Sm(window,"pointermove",this.handlePointerMove),Sm(window,"pointerup",this.handlePointerUp),Sm(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vh.update(this.updatePoint)}}function m6(e,t){return t?{point:t(e.point)}:e}function IA(e,t){return{x:e.x-t.x,y:e.y-t.y}}function v6({point:e},t){return{point:e,delta:IA(e,S$(t)),offset:IA(e,_he(t)),velocity:khe(t,.1)}}function _he(e){return e[0]}function S$(e){return e[e.length-1]}function khe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=S$(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>i5(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Oa(e){return e.max-e.min}function RA(e,t=0,n=.01){return Y_(e,t)n&&(e=r?Fr(n,e,r.max):Math.min(e,n)),e}function BA(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function The(e,{top:t,left:n,bottom:r,right:i}){return{x:BA(e.x,n,i),y:BA(e.y,t,r)}}function $A(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=E2(t.min,t.max-r,e.min):r>i&&(n=E2(e.min,e.max-i,t.min)),t5(0,1,n)}function Ohe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const L7=.35;function Mhe(e=L7){return e===!1?e=0:e===!0&&(e=L7),{x:FA(e,"left","right"),y:FA(e,"top","bottom")}}function FA(e,t,n){return{min:zA(e,t),max:zA(e,n)}}function zA(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}const HA=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gv=()=>({x:HA(),y:HA()}),VA=()=>({min:0,max:0}),pi=()=>({x:VA(),y:VA()});function Rl(e){return[e("x"),e("y")]}function x$({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ihe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rhe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function y6(e){return e===void 0||e===1}function A7({scale:e,scaleX:t,scaleY:n}){return!y6(e)||!y6(t)||!y6(n)}function ch(e){return A7(e)||w$(e)||e.z||e.rotate||e.rotateX||e.rotateY}function w$(e){return WA(e.x)||WA(e.y)}function WA(e){return e&&e!=="0%"}function a5(e,t,n){const r=e-n,i=t*r;return n+i}function UA(e,t,n,r,i){return i!==void 0&&(e=a5(e,i,r)),a5(e,n,r)+t}function O7(e,t=0,n=1,r,i){e.min=UA(e.min,t,n,r,i),e.max=UA(e.max,t,n,r,i)}function C$(e,{x:t,y:n}){O7(e.x,t.translate,t.scale,t.originPoint),O7(e.y,n.translate,n.scale,n.originPoint)}function Dhe(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let u=0;u{this.stopAnimation(),n&&this.snapToCursor(F_(s,"page").point)},i=(s,l)=>{var u;const{drag:d,dragPropagation:h,onDragStart:m}=this.getProps();d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=FB(d),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rl(v=>{var b,S;let k=this.getAxisMotionValue(v).get()||0;if(Xl.test(k)){const E=(S=(b=this.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.layoutBox[v];E&&(k=Oa(E)*(parseFloat(k)/100))}this.originPoint[v]=k}),m==null||m(s,l),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(tr.Drag,!0))},o=(s,l)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:h,onDrag:m}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:v}=l;if(d&&this.currentDirection===null){this.currentDirection=zhe(v),this.currentDirection!==null&&(h==null||h(this.currentDirection));return}this.updateAxis("x",l.point,v),this.updateAxis("y",l.point,v),this.visualElement.render(),m==null||m(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new b$(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(tr.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Q3(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Phe(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Hg(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=The(r.layoutBox,t):this.constraints=!1,this.elastic=Mhe(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Rl(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Ohe(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Hg(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Bhe(r,i.root,this.visualElement.getTransformPagePoint());let a=Lhe(i.layout.layoutBox,o);if(n){const s=n(Ihe(a));this.hasMutatedConstraints=!!s,s&&(a=x$(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=Rl(d=>{var h;if(!Q3(d,n,this.currentDirection))return;let m=(h=l==null?void 0:l[d])!==null&&h!==void 0?h:{};a&&(m={min:0,max:0});const v=i?200:1e6,b=i?40:1e7,S={type:"inertia",velocity:r?t[d]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(d,S)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return J_(t,r,0,n)}stopAnimation(){Rl(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n,r;const i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)}snapToCursor(t){Rl(n=>{const{drag:r}=this.getProps();if(!Q3(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[n];o.set(t[n]-Fr(a,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Hg(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rl(s=>{const l=this.getAxisMotionValue(s);if(l){const u=l.get();o[s]=Ahe({min:u,max:u},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Rl(s=>{if(!Q3(s,n,null))return;const l=this.getAxisMotionValue(s),{min:u,max:d}=this.constraints[s];l.set(Fr(u,d,o[s]))})}addListeners(){var t;if(!this.visualElement.current)return;$he.set(this.visualElement,this);const n=this.visualElement.current,r=Sm(n,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),i=()=>{const{dragConstraints:u}=this.getProps();Hg(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const s=FS(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Rl(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=u[h].translate,m.set(m.get()+u[h].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),l==null||l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=L7,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function Q3(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zhe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function Hhe(e){const{dragControls:t,visualElement:n}=e,r=$S(()=>new Fhe(n));w.useEffect(()=>t&&t.subscribe(r),[r,t]),w.useEffect(()=>r.addListeners(),[r])}function Vhe({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(null),{transformPagePoint:s}=w.useContext(O_),l={onSessionStart:r,onStart:t,onMove:e,onEnd:(d,h)=>{a.current=null,n&&n(d,h)}};w.useEffect(()=>{a.current!==null&&a.current.updateHandlers(l)});function u(d){a.current=new b$(d,l,{transformPagePoint:s})}J4(i,"pointerdown",o&&u),z_(()=>a.current&&a.current.end())}const Whe={pan:Cd(Vhe),drag:Cd(Hhe)};function M7(e){return typeof e=="string"&&e.startsWith("var(--")}const k$=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Uhe(e){const t=k$.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function I7(e,t,n=1){const[r,i]=Uhe(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():M7(i)?I7(i,t,n+1):i}function Ghe(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!M7(o))return;const a=I7(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!M7(o))continue;const a=I7(o,r);a&&(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const qhe=new Set(["width","height","top","left","right","bottom","x","y"]),E$=e=>qhe.has(e),Yhe=e=>Object.keys(e).some(E$),P$=(e,t)=>{e.set(t,!1),e.set(t)},qA=e=>e===rp||e===Lt;var YA;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(YA||(YA={}));const KA=(e,t)=>parseFloat(e.split(", ")[t]),XA=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return KA(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?KA(o[1],e):0}},Khe=new Set(["x","y","z"]),Xhe=Z4.filter(e=>!Khe.has(e));function Zhe(e){const t=[];return Xhe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZA={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:XA(4,13),y:XA(5,14)},Qhe=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=ZA[u](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const d=t.getValue(u);P$(d,s[u]),e[u]=ZA[u](l,o)}),e},Jhe=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(E$);let o=[],a=!1;const s=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],h=V1(d);const m=t[l];let v;if(k2(m)){const b=m.length,S=m[0]===null?1:0;d=m[S],h=V1(d);for(let k=S;k=0?window.pageYOffset:null,u=Qhe(t,e,s);return o.length&&o.forEach(([d,h])=>{e.getValue(d).set(h)}),e.render(),np&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function epe(e,t,n,r){return Yhe(t)?Jhe(e,t,n,r):{target:t,transitionEnd:r}}const tpe=(e,t,n,r)=>{const i=Ghe(e,t,r);return t=i.target,r=i.transitionEnd,epe(e,t,n,r)},R7={current:null},T$={current:!1};function npe(){if(T$.current=!0,!!np)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>R7.current=e.matches;e.addListener(t),t()}else R7.current=!1}function rpe(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ou(o))e.addValue(i,o),o5(r)&&r.add(i);else if(ou(a))e.addValue(i,Vm(o)),o5(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,Vm(s!==void 0?s:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const L$=Object.keys(C2),ipe=L$.length,QA=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ope{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Gs.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=BS(n),this.isVariantNode=hB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(n);for(const d in u){const h=u[d];a[d]!==void 0&&ou(h)&&(h.set(a[d],!1),o5(l)&&l.add(d))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),T$.current||npe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:R7.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Vh.update(this.notifyUpdate),Vh.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=g0.has(t),i=n.onChange(a=>{this.latestValues[t]=a,this.props.onUpdate&&Gs.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isProjectionDirty=!0)}),o=n.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const s=[];for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:m})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):pi()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;nr.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vm(n),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=$_(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ou(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Vv),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const A$=["initial",...nk],ape=A$.length;class O$ extends ope{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=fhe(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){che(this,r,a);const s=tpe(this,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function spe(e){return window.getComputedStyle(e)}class lpe extends O${readValueFromInstance(t,n){if(g0.has(n)){const r=X_(n);return r&&r.default||0}else{const r=spe(t),i=(mB(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return _$(t,n)}build(t,n,r,i){D_(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return B_(t)}renderInstance(t,n,r,i){LB(t,n,r,i)}}class upe extends O${getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return g0.has(n)?((r=X_(n))===null||r===void 0?void 0:r.default)||0:(n=AB.has(n)?n:TB(n),t.getAttribute(n))}measureInstanceViewportBox(){return pi()}scrapeMotionValuesFromProps(t){return MB(t)}build(t,n,r,i){j_(t,n,r,i.transformTemplate)}renderInstance(t,n,r,i){OB(t,n,r,i)}}const cpe=(e,t)=>I_(e)?new upe(t,{enableHardwareAcceleration:!1}):new lpe(t,{enableHardwareAcceleration:!0});function JA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const W1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Lt.test(e))e=parseFloat(e);else return e;const n=JA(e,t.target.x),r=JA(e,t.target.y);return`${n}% ${r}%`}},eO="_$css",dpe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(k$,v=>(o.push(v),eO)));const a=Ju.parse(e);if(a.length>5)return r;const s=Ju.createTransformer(e),l=typeof a[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=d;const h=Fr(u,d,.5);typeof a[2+l]=="number"&&(a[2+l]/=h),typeof a[3+l]=="number"&&(a[3+l]/=h);let m=s(a);if(i){let v=0;m=m.replace(eO,()=>{const b=o[v];return v++,b})}return m}};class fpe extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;_ce(ppe),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Fv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||Gs.postRender(()=>{var s;!((s=a.getStack())===null||s===void 0)&&s.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function hpe(e){const[t,n]=K_(),r=w.useContext(M_);return N.createElement(fpe,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(pB),isPresent:t,safeToRemove:n})}const ppe={borderRadius:{...W1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:W1,borderTopRightRadius:W1,borderBottomLeftRadius:W1,borderBottomRightRadius:W1,boxShadow:dpe},gpe={measureLayout:hpe};function mpe(e,t,n={}){const r=ou(e)?e:Vm(e);return J_("",r,t,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const M$=["TopLeft","TopRight","BottomLeft","BottomRight"],vpe=M$.length,tO=e=>typeof e=="string"?parseFloat(e):e,nO=e=>typeof e=="number"||Lt.test(e);function ype(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=Fr(0,(a=n.opacity)!==null&&a!==void 0?a:1,bpe(r)),e.opacityExit=Fr((s=t.opacity)!==null&&s!==void 0?s:1,0,Spe(r))):o&&(e.opacity=Fr((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(let d=0;drt?1:n(E2(e,t,r))}function iO(e,t){e.min=t.min,e.max=t.max}function Ms(e,t){iO(e.x,t.x),iO(e.y,t.y)}function oO(e,t,n,r,i){return e-=t,e=a5(e,1/n,r),i!==void 0&&(e=a5(e,1/i,r)),e}function xpe(e,t=0,n=1,r=.5,i,o=e,a=e){if(Xl.test(t)&&(t=parseFloat(t),t=Fr(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Fr(o.min,o.max,r);e===o&&(s-=t),e.min=oO(e.min,t,n,s,i),e.max=oO(e.max,t,n,s,i)}function aO(e,t,[n,r,i],o,a){xpe(e,t[n],t[r],t[i],t.scale,o,a)}const wpe=["x","scaleX","originX"],Cpe=["y","scaleY","originY"];function sO(e,t,n,r){aO(e.x,t,wpe,n==null?void 0:n.x,r==null?void 0:r.x),aO(e.y,t,Cpe,n==null?void 0:n.y,r==null?void 0:r.y)}function lO(e){return e.translate===0&&e.scale===1}function R$(e){return lO(e.x)&&lO(e.y)}function D$(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function uO(e){return Oa(e.x)/Oa(e.y)}function _pe(e,t,n=.1){return Y_(e,t)<=n}class kpe{constructor(){this.members=[]}add(t){ek(this.members,t),t.scheduleRender()}remove(t){if(tk(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cO(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),d&&(r+=`rotateY(${d}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}const Epe=(e,t)=>e.depth-t.depth;class Ppe{constructor(){this.children=[],this.isDirty=!1}add(t){ek(this.children,t),this.isDirty=!0}remove(t){tk(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Epe),this.isDirty=!1,this.children.forEach(t)}}const dO=["","X","Y","Z"],fO=1e3;let Tpe=0;function N$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,s={},l=t==null?void 0:t()){this.id=Tpe++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Ipe),this.nodes.forEach(Rpe)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let u=0;uthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=g$(v,250),Fv.hasAnimatedSinceResize&&(Fv.hasAnimatedSinceResize=!1,this.nodes.forEach(pO))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeTargetChanged:b,layout:S})=>{var k,E,_,T,A;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const I=(E=(k=this.options.transition)!==null&&k!==void 0?k:h.getDefaultTransition())!==null&&E!==void 0?E:$pe,{onLayoutAnimationStart:R,onLayoutAnimationComplete:D}=h.getProps(),j=!this.targetLayout||!D$(this.targetLayout,S)||b,z=!v&&b;if(!((_=this.resumeFrom)===null||_===void 0)&&_.instance||z||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,z);const V={...Q_(I,"layout"),onPlay:R,onComplete:D};h.shouldReduceMotion&&(V.delay=0,V.type=!1),this.startAnimation(V)}else!v&&this.animationProgress===0&&pO(this),this.isLead()&&((A=(T=this.options).onExitComplete)===null||A===void 0||A.call(T));this.targetLayout=S})}unmount(){var a,s;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(s=this.parent)===null||s===void 0||s.children.delete(this),this.instance=void 0,Vh.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(Dpe),this.animationId++)}willUpdate(a=!0){var s,l,u;if(this.root.isUpdateBlocked()){(l=(s=this.options).onExitComplete)===null||l===void 0||l.call(s);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{var T;const A=_/1e3;gO(v.x,a.x,A),gO(v.y,a.y,A),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((T=this.relativeParent)===null||T===void 0)&&T.layout)&&(Uv(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jpe(this.relativeTarget,this.relativeTargetOrigin,b,A)),S&&(this.animationValues=m,ype(m,h,this.latestValues,A,E,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(0)}startAnimation(a){var s,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((l=this.resumingFrom.currentAnimation)===null||l===void 0||l.stop()),this.pendingAnimation&&(Vh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gs.update(()=>{Fv.hasAnimatedSinceResize=!0,this.currentAnimation=mpe(0,fO,{...a,onUpdate:u=>{var d;this.mixTargetDelta(u),(d=a.onUpdate)===null||d===void 0||d.call(a,u)},onComplete:()=>{var u;(u=a.onComplete)===null||u===void 0||u.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,fO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:d}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&j$(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||pi();const h=Oa(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const m=Oa(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m}Ms(s,l),Vg(s,d),Wv(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(a,s){var l,u,d;this.sharedNodes.has(a)||this.sharedNodes.set(a,new kpe),this.sharedNodes.get(a).add(s),s.promote({transition:(l=s.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(d=(u=s.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(u,s)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let d=0;d{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(hO),this.root.sharedNodes.clear()}}}function Lpe(e){e.updateLayout()}function Ape(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(b);b.min=o[v].min,b.max=b.min+S}):j$(s,i.layoutBox,o)&&Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(o[v]);b.max=b.min+S});const u=Gv();Wv(u,o,i.layoutBox);const d=Gv();l?Wv(d,e.applyTransform(a,!0),i.measuredBox):Wv(d,o,i.layoutBox);const h=!R$(u);let m=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const k=pi();Uv(k,i.layoutBox,b.layoutBox);const E=pi();Uv(E,o,S.layoutBox),D$(k,E)||(m=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:d,layoutDelta:u,hasLayoutChanged:h,hasRelativeTargetChanged:m})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function Ope(e){e.clearSnapshot()}function hO(e){e.clearMeasurements()}function Mpe(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Ipe(e){e.resolveTargetDelta()}function Rpe(e){e.calcProjection()}function Dpe(e){e.resetRotation()}function Npe(e){e.removeLeadSnapshot()}function gO(e,t,n){e.translate=Fr(t.translate,0,n),e.scale=Fr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mO(e,t,n,r){e.min=Fr(t.min,n.min,r),e.max=Fr(t.max,n.max,r)}function jpe(e,t,n,r){mO(e.x,t.x,n.x,r),mO(e.y,t.y,n.y,r)}function Bpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $pe={duration:.45,ease:[.4,0,.1,1]};function Fpe(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function vO(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function zpe(e){vO(e.x),vO(e.y)}function j$(e,t,n){return e==="position"||e==="preserve-aspect"&&!_pe(uO(t),uO(n),.2)}const Hpe=N$({attachResizeListener:(e,t)=>FS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),b6={current:void 0},Vpe=N$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!b6.current){const e=new Hpe(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),b6.current=e}return b6.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),Wpe={...Che,...Ife,...Whe,...gpe},du=wce((e,t)=>sde(e,t,Wpe,cpe,Vpe));function B$(){const e=w.useRef(!1);return K4(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Upe(){const e=B$(),[t,n]=w.useState(0),r=w.useCallback(()=>{e.current&&n(t+1)},[t]);return[w.useCallback(()=>Gs.postRender(r),[r]),t]}class Gpe extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function qpe({children:e,isPresent:t}){const n=w.useId(),r=w.useRef(null),i=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:l}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${o}px !important; @@ -43,8 +43,8 @@ var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,con top: ${s}px !important; left: ${l}px !important; } - `),()=>{document.head.removeChild(u)}},[t]),w.createElement(Gpe,{isPresent:t,childRef:r,sizeRef:i},w.cloneElement(e,{ref:r}))}const S6=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=$S(Ype),l=w.useId(),u=w.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:d=>{s.set(d,!0);for(const h of s.values())if(!h)return;r&&r()},register:d=>(s.set(d,!1),()=>s.delete(d))}),o?void 0:[n]);return w.useMemo(()=>{s.forEach((d,h)=>s.set(h,!1))},[n]),w.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=w.createElement(qpe,{isPresent:n},e)),w.createElement(p0.Provider,{value:u},e)};function Ype(){return new Map}const Bg=e=>e.key||"";function Kpe(e,t){e.forEach(n=>{const r=Bg(n);t.set(r,n)})}function Xpe(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const nf=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",c$(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=Upe();const l=w.useContext(M_).forceRender;l&&(s=l);const u=B$(),d=Xpe(e);let h=d;const m=new Set,v=w.useRef(h),b=w.useRef(new Map).current,S=w.useRef(!0);if(K4(()=>{S.current=!1,Kpe(d,b),v.current=h}),z_(()=>{S.current=!0,b.clear(),m.clear()}),S.current)return w.createElement(w.Fragment,null,h.map(T=>w.createElement(S6,{key:Bg(T),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},T)));h=[...h];const E=v.current.map(Bg),k=d.map(Bg),_=E.length;for(let T=0;T<_;T++){const A=E[T];k.indexOf(A)===-1&&m.add(A)}return a==="wait"&&m.size&&(h=[]),m.forEach(T=>{if(k.indexOf(T)!==-1)return;const A=b.get(T);if(!A)return;const I=E.indexOf(T),R=()=>{b.delete(T),m.delete(T);const D=v.current.findIndex(j=>j.key===T);if(v.current.splice(D,1),!m.size){if(v.current=d,u.current===!1)return;s(),r&&r()}};h.splice(I,0,w.createElement(S6,{key:Bg(A),isPresent:!1,onExitComplete:R,custom:t,presenceAffectsLayout:o,mode:a},A))}),h=h.map(T=>{const A=T.key;return m.has(A)?T:w.createElement(S6,{key:Bg(T),isPresent:!0,presenceAffectsLayout:o,mode:a},T)}),u$!=="production"&&a==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),w.createElement(w.Fragment,null,m.size?h:h.map(T=>w.cloneElement(T)))};var Fl=function(){return Fl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function D7(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;re.filter(Boolean).join(" ");function Zpe(){return!1}var Qpe=e=>{const{condition:t,message:n}=e;t&&Zpe()&&console.warn(n)},_h={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},U1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function N7(e){switch((e==null?void 0:e.direction)??"right"){case"right":return U1.slideRight;case"left":return U1.slideLeft;case"bottom":return U1.slideDown;case"top":return U1.slideUp;default:return U1.slideRight}}var Ih={enter:{duration:.2,ease:_h.easeOut},exit:{duration:.1,ease:_h.easeIn}},qs={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Jpe=e=>e!=null&&parseInt(e.toString(),10)>0,bO={exit:{height:{duration:.2,ease:_h.ease},opacity:{duration:.3,ease:_h.ease}},enter:{height:{duration:.3,ease:_h.ease},opacity:{duration:.4,ease:_h.ease}}},ege={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:Jpe(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??qs.exit(bO.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??qs.enter(bO.enter,i)})},F$=w.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:s,className:l,transition:u,transitionEnd:d,...h}=e,[m,v]=w.useState(!1);w.useEffect(()=>{const _=setTimeout(()=>{v(!0)});return()=>clearTimeout(_)},[]),Qpe({condition:Boolean(o>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const b=parseFloat(o.toString())>0,S={startingHeight:o,endingHeight:a,animateOpacity:i,transition:m?u:{enter:{duration:0}},transitionEnd:{enter:d==null?void 0:d.enter,exit:r?d==null?void 0:d.exit:{...d==null?void 0:d.exit,display:b?"block":"none"}}},E=r?n:!0,k=n||r?"enter":"exit";return N.createElement(nf,{initial:!1,custom:S},E&&N.createElement(du.div,{ref:t,...h,className:by("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:S,variants:ege,initial:r?"exit":!1,animate:k,exit:"exit"}))});F$.displayName="Collapse";var tge={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??qs.exit(Ih.exit,n),transitionEnd:t==null?void 0:t.exit})},z$={initial:"exit",animate:"enter",exit:"exit",variants:tge},nge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:s,delay:l,...u}=t,d=i||r?"enter":"exit",h=r?i&&r:!0,m={transition:a,transitionEnd:s,delay:l};return N.createElement(nf,{custom:m},h&&N.createElement(du.div,{ref:n,className:by("chakra-fade",o),custom:m,...z$,animate:d,...u}))});nge.displayName="Fade";var rge={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??qs.enter(Ih.enter,n),transitionEnd:e==null?void 0:e.enter})},H$={initial:"exit",animate:"enter",exit:"exit",variants:rge},ige=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:u,delay:d,...h}=t,m=r?i&&r:!0,v=i||r?"enter":"exit",b={initialScale:a,reverse:o,transition:l,transitionEnd:u,delay:d};return N.createElement(nf,{custom:b},m&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",s),...H$,animate:v,custom:b,...h}))});ige.displayName="ScaleFade";var SO={exit:{duration:.15,ease:_h.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},oge={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=N7({direction:e});return{...i,transition:(t==null?void 0:t.exit)??qs.exit(SO.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=N7({direction:e});return{...i,transition:(n==null?void 0:n.enter)??qs.enter(SO.enter,r),transitionEnd:t==null?void 0:t.enter}}},V$=w.forwardRef(function(t,n){const{direction:r="right",style:i,unmountOnExit:o,in:a,className:s,transition:l,transitionEnd:u,delay:d,motionProps:h,...m}=t,v=N7({direction:r}),b=Object.assign({position:"fixed"},v.position,i),S=o?a&&o:!0,E=a||o?"enter":"exit",k={transitionEnd:u,transition:l,direction:r,delay:d};return N.createElement(nf,{custom:k},S&&N.createElement(du.div,{...m,ref:n,initial:"exit",className:by("chakra-slide",s),animate:E,exit:"exit",custom:k,variants:oge,style:b,...h}))});V$.displayName="Slide";var age={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}},j7={initial:"initial",animate:"enter",exit:"exit",variants:age},sge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:d,delay:h,...m}=t,v=r?i&&r:!0,b=i||r?"enter":"exit",S={offsetX:s,offsetY:l,reverse:o,transition:u,transitionEnd:d,delay:h};return N.createElement(nf,{custom:S},v&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",a),custom:S,...j7,animate:b,...m}))});sge.displayName="SlideFade";var Sy=(...e)=>e.filter(Boolean).join(" ");function lge(){return!1}var GS=e=>{const{condition:t,message:n}=e;t&&lge()&&console.warn(n)};function x6(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[uge,qS]=Mn({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[cge,rk]=Mn({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[dge,XFe,fge,hge]=dB(),Wg=Ae(function(t,n){const{getButtonProps:r}=rk(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...qS().button};return N.createElement(Ce.button,{...i,className:Sy("chakra-accordion__button",t.className),__css:a})});Wg.displayName="AccordionButton";function pge(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;vge(e),yge(e);const s=fge(),[l,u]=w.useState(-1);w.useEffect(()=>()=>{u(-1)},[]);const[d,h]=DS({value:r,defaultValue(){return i?n??[]:n??-1},onChange:t});return{index:d,setIndex:h,htmlProps:a,getAccordionItemProps:v=>{let b=!1;return v!==null&&(b=Array.isArray(d)?d.includes(v):d===v),{isOpen:b,onChange:E=>{if(v!==null)if(i&&Array.isArray(d)){const k=E?d.concat(v):d.filter(_=>_!==v);h(k)}else E?h(v):o&&h(-1)}}},focusedIndex:l,setFocusedIndex:u,descendants:s}}var[gge,ik]=Mn({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function mge(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=ik(),s=w.useRef(null),l=w.useId(),u=r??l,d=`accordion-button-${u}`,h=`accordion-panel-${u}`;bge(e);const{register:m,index:v,descendants:b}=hge({disabled:t&&!n}),{isOpen:S,onChange:E}=o(v===-1?null:v);Sge({isOpen:S,isDisabled:t});const k=()=>{E==null||E(!0)},_=()=>{E==null||E(!1)},T=w.useCallback(()=>{E==null||E(!S),a(v)},[v,a,S,E]),A=w.useCallback(j=>{const V={ArrowDown:()=>{const K=b.nextEnabled(v);K==null||K.node.focus()},ArrowUp:()=>{const K=b.prevEnabled(v);K==null||K.node.focus()},Home:()=>{const K=b.firstEnabled();K==null||K.node.focus()},End:()=>{const K=b.lastEnabled();K==null||K.node.focus()}}[j.key];V&&(j.preventDefault(),V(j))},[b,v]),I=w.useCallback(()=>{a(v)},[a,v]),R=w.useCallback(function(z={},V=null){return{...z,type:"button",ref:qn(m,s,V),id:d,disabled:!!t,"aria-expanded":!!S,"aria-controls":h,onClick:x6(z.onClick,T),onFocus:x6(z.onFocus,I),onKeyDown:x6(z.onKeyDown,A)}},[d,t,S,T,I,A,h,m]),D=w.useCallback(function(z={},V=null){return{...z,ref:V,role:"region",id:h,"aria-labelledby":d,hidden:!S}},[d,S,h]);return{isOpen:S,isDisabled:t,isFocusable:n,onOpen:k,onClose:_,getButtonProps:R,getPanelProps:D,htmlProps:i}}function vge(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;GS({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function yge(e){GS({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function bge(e){GS({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. - `})}function Sge(e){GS({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Ug(e){const{isOpen:t,isDisabled:n}=rk(),{reduceMotion:r}=ik(),i=Sy("chakra-accordion__icon",e.className),o=qS(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return N.createElement(Da,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}Ug.displayName="AccordionIcon";var Gg=Ae(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=mge(t),l={...qS().container,overflowAnchor:"none"},u=w.useMemo(()=>a,[a]);return N.createElement(cge,{value:u},N.createElement(Ce.div,{ref:n,...o,className:Sy("chakra-accordion__item",i),__css:l},typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r))});Gg.displayName="AccordionItem";var qg=Ae(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=ik(),{getPanelProps:s,isOpen:l}=rk(),u=s(o,n),d=Sy("chakra-accordion__panel",r),h=qS();a||delete u.hidden;const m=N.createElement(Ce.div,{...u,__css:h.panel,className:d});return a?m:N.createElement(F$,{in:l,...i},m)});qg.displayName="AccordionPanel";var ok=Ae(function({children:t,reduceMotion:n,...r},i){const o=Yi("Accordion",r),a=En(r),{htmlProps:s,descendants:l,...u}=pge(a),d=w.useMemo(()=>({...u,reduceMotion:!!n}),[u,n]);return N.createElement(dge,{value:l},N.createElement(gge,{value:d},N.createElement(uge,{value:o},N.createElement(Ce.div,{ref:i,...s,className:Sy("chakra-accordion",r.className),__css:o.root},t))))});ok.displayName="Accordion";var xge=(...e)=>e.filter(Boolean).join(" "),wge=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),xy=Ae((e,t)=>{const n=Ao("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:s,...l}=En(e),u=xge("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${wge} ${o} linear infinite`,...n};return N.createElement(Ce.div,{ref:t,__css:d,className:u,...l},r&&N.createElement(Ce.span,{srOnly:!0},r))});xy.displayName="Spinner";var YS=(...e)=>e.filter(Boolean).join(" ");function Cge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))}function _ge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))}function xO(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[kge,Ege]=Mn({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Pge,ak]=Mn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),W$={info:{icon:_ge,colorScheme:"blue"},warning:{icon:xO,colorScheme:"orange"},success:{icon:Cge,colorScheme:"green"},error:{icon:xO,colorScheme:"red"},loading:{icon:xy,colorScheme:"blue"}};function Tge(e){return W$[e].colorScheme}function Lge(e){return W$[e].icon}var U$=Ae(function(t,n){const{status:r="info",addRole:i=!0,...o}=En(t),a=t.colorScheme??Tge(r),s=Yi("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return N.createElement(kge,{value:{status:r}},N.createElement(Pge,{value:s},N.createElement(Ce.div,{role:i?"alert":void 0,ref:n,...o,className:YS("chakra-alert",t.className),__css:l})))});U$.displayName="Alert";var G$=Ae(function(t,n){const i={display:"inline",...ak().description};return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__desc",t.className),__css:i})});G$.displayName="AlertDescription";function q$(e){const{status:t}=Ege(),n=Lge(t),r=ak(),i=t==="loading"?r.spinner:r.icon;return N.createElement(Ce.span,{display:"inherit",...e,className:YS("chakra-alert__icon",e.className),__css:i},e.children||N.createElement(n,{h:"100%",w:"100%"}))}q$.displayName="AlertIcon";var Y$=Ae(function(t,n){const r=ak();return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__title",t.className),__css:r.title})});Y$.displayName="AlertTitle";function Age(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Oge(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[u,d]=w.useState("pending");w.useEffect(()=>{d(n?"loading":"pending")},[n]);const h=w.useRef(),m=w.useCallback(()=>{if(!n)return;v();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=S=>{v(),d("loaded"),i==null||i(S)},b.onerror=S=>{v(),d("failed"),o==null||o(S)},h.current=b},[n,a,r,s,i,o,t]),v=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return Ws(()=>{if(!l)return u==="loading"&&m(),()=>{v()}},[u,m,l]),l?"loaded":u}var Mge=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError",s5=Ae(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return N.createElement("img",{width:r,height:i,ref:n,alt:o,...a})});s5.displayName="NativeImage";var KS=Ae(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:s,fit:l,loading:u,ignoreFallback:d,crossOrigin:h,fallbackStrategy:m="beforeLoadOrError",referrerPolicy:v,...b}=t,S=r!==void 0||i!==void 0,E=u!=null||d||!S,k=Oge({...t,ignoreFallback:E}),_=Mge(k,m),T={ref:n,objectFit:l,objectPosition:s,...E?b:Age(b,["onError","onLoad"])};return _?i||N.createElement(Ce.img,{as:s5,className:"chakra-image__placeholder",src:r,...T}):N.createElement(Ce.img,{as:s5,src:o,srcSet:a,crossOrigin:h,loading:u,referrerPolicy:v,className:"chakra-image",...T})});KS.displayName="Image";Ae((e,t)=>N.createElement(Ce.img,{ref:t,as:s5,className:"chakra-image",...e}));function XS(e){return w.Children.toArray(e).filter(t=>w.isValidElement(t))}var ZS=(...e)=>e.filter(Boolean).join(" "),wO=e=>e?"":void 0,[Ige,Rge]=Mn({strict:!1,name:"ButtonGroupContext"});function B7(e){const{children:t,className:n,...r}=e,i=w.isValidElement(t)?w.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=ZS("chakra-button__icon",n);return N.createElement(Ce.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o},i)}B7.displayName="ButtonIcon";function $7(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=N.createElement(xy,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...s}=e,l=ZS("chakra-button__spinner",o),u=n==="start"?"marginEnd":"marginStart",d=w.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,u,r]);return N.createElement(Ce.div,{className:l,...s,__css:d},i)}$7.displayName="ButtonSpinner";function Dge(e){const[t,n]=w.useState(!e);return{ref:w.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}var as=Ae((e,t)=>{const n=Rge(),r=Ao("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:s,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:b="start",className:S,as:E,...k}=En(e),_=w.useMemo(()=>{const R={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:R}}},[r,n]),{ref:T,type:A}=Dge(E),I={rightIcon:u,leftIcon:l,iconSpacing:h,children:s};return N.createElement(Ce.button,{disabled:i||o,ref:rce(t,T),as:E,type:m??A,"data-active":wO(a),"data-loading":wO(o),__css:_,className:ZS("chakra-button",S),...k},o&&b==="start"&&N.createElement($7,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:h},v),o?d||N.createElement(Ce.span,{opacity:0},N.createElement(CO,{...I})):N.createElement(CO,{...I}),o&&b==="end"&&N.createElement($7,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:h},v))});as.displayName="Button";function CO(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return N.createElement(N.Fragment,null,t&&N.createElement(B7,{marginEnd:i},t),r,n&&N.createElement(B7,{marginStart:i},n))}var oo=Ae(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:u,...d}=t,h=ZS("chakra-button__group",a),m=w.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:u}),[r,i,o,u]);let v={display:"inline-flex"};return l?v={...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:v={...v,"& > *:not(style) ~ *:not(style)":{marginStart:s}},N.createElement(Ige,{value:m},N.createElement(Ce.div,{ref:n,role:"group",__css:v,className:h,"data-attached":l?"":void 0,...d}))});oo.displayName="ButtonGroup";var ss=Ae((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,s=n||r,l=w.isValidElement(s)?w.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return N.createElement(as,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a},l)});ss.displayName="IconButton";var y0=(...e)=>e.filter(Boolean).join(" "),J3=e=>e?"":void 0,w6=e=>e?!0:void 0;function _O(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[Nge,K$]=Mn({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[jge,b0]=Mn({strict:!1,name:"FormControlContext"});function Bge(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,s=w.useId(),l=t||`field-${s}`,u=`${l}-label`,d=`${l}-feedback`,h=`${l}-helptext`,[m,v]=w.useState(!1),[b,S]=w.useState(!1),[E,k]=w.useState(!1),_=w.useCallback((D={},j=null)=>({id:h,...D,ref:qn(j,z=>{z&&S(!0)})}),[h]),T=w.useCallback((D={},j=null)=>({...D,ref:j,"data-focus":J3(E),"data-disabled":J3(i),"data-invalid":J3(r),"data-readonly":J3(o),id:D.id??u,htmlFor:D.htmlFor??l}),[l,i,E,r,o,u]),A=w.useCallback((D={},j=null)=>({id:d,...D,ref:qn(j,z=>{z&&v(!0)}),"aria-live":"polite"}),[d]),I=w.useCallback((D={},j=null)=>({...D,...a,ref:j,role:"group"}),[a]),R=w.useCallback((D={},j=null)=>({...D,ref:j,role:"presentation","aria-hidden":!0,children:D.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!E,onFocus:()=>k(!0),onBlur:()=>k(!1),hasFeedbackText:m,setHasFeedbackText:v,hasHelpText:b,setHasHelpText:S,id:l,labelId:u,feedbackId:d,helpTextId:h,htmlProps:a,getHelpTextProps:_,getErrorMessageProps:A,getRootProps:I,getLabelProps:T,getRequiredIndicatorProps:R}}var dn=Ae(function(t,n){const r=Yi("Form",t),i=En(t),{getRootProps:o,htmlProps:a,...s}=Bge(i),l=y0("chakra-form-control",t.className);return N.createElement(jge,{value:s},N.createElement(Nge,{value:r},N.createElement(Ce.div,{...o({},n),className:l,__css:r.container})))});dn.displayName="FormControl";var lr=Ae(function(t,n){const r=b0(),i=K$(),o=y0("chakra-form__helper-text",t.className);return N.createElement(Ce.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});lr.displayName="FormHelperText";function sk(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=lk(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":w6(n),"aria-required":w6(i),"aria-readonly":w6(r)}}function lk(e){const t=b0(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:u,onFocus:d,onBlur:h,...m}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&v.push(t.feedbackId),t!=null&&t.hasHelpText&&v.push(t.helpTextId),{...m,"aria-describedby":v.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??u??(t==null?void 0:t.isDisabled),isReadOnly:i??l??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:_O(t==null?void 0:t.onFocus,d),onBlur:_O(t==null?void 0:t.onBlur,h)}}var[$ge,Fge]=Mn({name:"FormErrorStylesContext",errorMessage:`useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),ur=Ae((e,t)=>{const n=Yi("FormError",e),r=En(e),i=b0();return i!=null&&i.isInvalid?N.createElement($ge,{value:n},N.createElement(Ce.div,{...i==null?void 0:i.getErrorMessageProps(r,t),className:y0("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})):null});ur.displayName="FormErrorMessage";var zge=Ae((e,t)=>{const n=Fge(),r=b0();if(!(r!=null&&r.isInvalid))return null;const i=y0("chakra-form__error-icon",e.className);return N.createElement(Da,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:i},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))});zge.displayName="FormErrorIcon";var kn=Ae(function(t,n){const r=Ao("FormLabel",t),i=En(t),{className:o,children:a,requiredIndicator:s=N.createElement(X$,null),optionalIndicator:l=null,...u}=i,d=b0(),h=(d==null?void 0:d.getLabelProps(u,n))??{ref:n,...u};return N.createElement(Ce.label,{...h,className:y0("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r}},a,d!=null&&d.isRequired?s:l)});kn.displayName="FormLabel";var X$=Ae(function(t,n){const r=b0(),i=K$();if(!(r!=null&&r.isRequired))return null;const o=y0("chakra-form__required-indicator",t.className);return N.createElement(Ce.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});X$.displayName="RequiredIndicator";function Vd(e,t){const n=w.useRef(!1),r=w.useRef(!1);w.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),w.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}var uk={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Hge=Ce("span",{baseStyle:uk});Hge.displayName="VisuallyHidden";var Vge=Ce("input",{baseStyle:uk});Vge.displayName="VisuallyHiddenInput";var kO=!1,QS=null,Wm=!1,F7=new Set,Wge=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function Uge(e){return!(e.metaKey||!Wge&&e.altKey||e.ctrlKey)}function ck(e,t){F7.forEach(n=>n(e,t))}function EO(e){Wm=!0,Uge(e)&&(QS="keyboard",ck("keyboard",e))}function wg(e){QS="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wm=!0,ck("pointer",e))}function Gge(e){e.target===window||e.target===document||(Wm||(QS="keyboard",ck("keyboard",e)),Wm=!1)}function qge(){Wm=!1}function PO(){return QS!=="pointer"}function Yge(){if(typeof window>"u"||kO)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){Wm=!0,e.apply(this,n)},document.addEventListener("keydown",EO,!0),document.addEventListener("keyup",EO,!0),window.addEventListener("focus",Gge,!0),window.addEventListener("blur",qge,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",wg,!0),document.addEventListener("pointermove",wg,!0),document.addEventListener("pointerup",wg,!0)):(document.addEventListener("mousedown",wg,!0),document.addEventListener("mousemove",wg,!0),document.addEventListener("mouseup",wg,!0)),kO=!0}function Kge(e){Yge(),e(PO());const t=()=>e(PO());return F7.add(t),()=>{F7.delete(t)}}var[ZFe,Xge]=Mn({name:"CheckboxGroupContext",strict:!1}),Zge=(...e)=>e.filter(Boolean).join(" "),bo=e=>e?"":void 0;function Ya(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function Qge(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}function Jge(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e},N.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function eme(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e},N.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function tme(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?eme:Jge;return n||t?N.createElement(Ce.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},N.createElement(i,{...r})):null}function nme(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Z$(e={}){const t=lk(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:s,onFocus:l,"aria-describedby":u}=t,{defaultChecked:d,isChecked:h,isFocusable:m,onChange:v,isIndeterminate:b,name:S,value:E,tabIndex:k=void 0,"aria-label":_,"aria-labelledby":T,"aria-invalid":A,...I}=e,R=nme(I,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),D=Er(v),j=Er(s),z=Er(l),[V,K]=w.useState(!1),[te,q]=w.useState(!1),[$,W]=w.useState(!1),[X,Z]=w.useState(!1);w.useEffect(()=>Kge(K),[]);const U=w.useRef(null),[Q,ie]=w.useState(!0),[fe,Se]=w.useState(!!d),Pe=h!==void 0,ye=Pe?h:fe,We=w.useCallback(Le=>{if(r||n){Le.preventDefault();return}Pe||Se(ye?Le.target.checked:b?!0:Le.target.checked),D==null||D(Le)},[r,n,ye,Pe,b,D]);Ws(()=>{U.current&&(U.current.indeterminate=Boolean(b))},[b]),Vd(()=>{n&&q(!1)},[n,q]),Ws(()=>{const Le=U.current;Le!=null&&Le.form&&(Le.form.onreset=()=>{Se(!!d)})},[]);const De=n&&!m,ot=w.useCallback(Le=>{Le.key===" "&&Z(!0)},[Z]),He=w.useCallback(Le=>{Le.key===" "&&Z(!1)},[Z]);Ws(()=>{if(!U.current)return;U.current.checked!==ye&&Se(U.current.checked)},[U.current]);const Be=w.useCallback((Le={},lt=null)=>{const Mt=ut=>{te&&ut.preventDefault(),Z(!0)};return{...Le,ref:lt,"data-active":bo(X),"data-hover":bo($),"data-checked":bo(ye),"data-focus":bo(te),"data-focus-visible":bo(te&&V),"data-indeterminate":bo(b),"data-disabled":bo(n),"data-invalid":bo(o),"data-readonly":bo(r),"aria-hidden":!0,onMouseDown:Ya(Le.onMouseDown,Mt),onMouseUp:Ya(Le.onMouseUp,()=>Z(!1)),onMouseEnter:Ya(Le.onMouseEnter,()=>W(!0)),onMouseLeave:Ya(Le.onMouseLeave,()=>W(!1))}},[X,ye,n,te,V,$,b,o,r]),wt=w.useCallback((Le={},lt=null)=>({...R,...Le,ref:qn(lt,Mt=>{Mt&&ie(Mt.tagName==="LABEL")}),onClick:Ya(Le.onClick,()=>{var Mt;Q||((Mt=U.current)==null||Mt.click(),requestAnimationFrame(()=>{var ut;(ut=U.current)==null||ut.focus()}))}),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[R,n,ye,o,Q]),st=w.useCallback((Le={},lt=null)=>({...Le,ref:qn(U,lt),type:"checkbox",name:S,value:E,id:a,tabIndex:k,onChange:Ya(Le.onChange,We),onBlur:Ya(Le.onBlur,j,()=>q(!1)),onFocus:Ya(Le.onFocus,z,()=>q(!0)),onKeyDown:Ya(Le.onKeyDown,ot),onKeyUp:Ya(Le.onKeyUp,He),required:i,checked:ye,disabled:De,readOnly:r,"aria-label":_,"aria-labelledby":T,"aria-invalid":A?Boolean(A):o,"aria-describedby":u,"aria-disabled":n,style:uk}),[S,E,a,We,j,z,ot,He,i,ye,De,r,_,T,A,o,u,n,k]),mt=w.useCallback((Le={},lt=null)=>({...Le,ref:lt,onMouseDown:Ya(Le.onMouseDown,TO),onTouchStart:Ya(Le.onTouchStart,TO),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[ye,n,o]);return{state:{isInvalid:o,isFocused:te,isChecked:ye,isActive:X,isHovered:$,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:wt,getCheckboxProps:Be,getInputProps:st,getLabelProps:mt,htmlProps:R}}function TO(e){e.preventDefault(),e.stopPropagation()}var rme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},ime={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ome=tf({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),ame=tf({from:{opacity:0},to:{opacity:1}}),sme=tf({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),Q$=Ae(function(t,n){const r=Xge(),i={...r,...t},o=Yi("Checkbox",i),a=En(t),{spacing:s="0.5rem",className:l,children:u,iconColor:d,iconSize:h,icon:m=N.createElement(tme,null),isChecked:v,isDisabled:b=r==null?void 0:r.isDisabled,onChange:S,inputProps:E,...k}=a;let _=v;r!=null&&r.value&&a.value&&(_=r.value.includes(a.value));let T=S;r!=null&&r.onChange&&a.value&&(T=Qge(r.onChange,S));const{state:A,getInputProps:I,getCheckboxProps:R,getLabelProps:D,getRootProps:j}=Z$({...k,isDisabled:b,isChecked:_,onChange:T}),z=w.useMemo(()=>({animation:A.isIndeterminate?`${ame} 20ms linear, ${sme} 200ms linear`:`${ome} 200ms linear`,fontSize:h,color:d,...o.icon}),[d,h,,A.isIndeterminate,o.icon]),V=w.cloneElement(m,{__css:z,isIndeterminate:A.isIndeterminate,isChecked:A.isChecked});return N.createElement(Ce.label,{__css:{...ime,...o.container},className:Zge("chakra-checkbox",l),...j()},N.createElement("input",{className:"chakra-checkbox__input",...I(E,n)}),N.createElement(Ce.span,{__css:{...rme,...o.control},className:"chakra-checkbox__control",...R()},V),u&&N.createElement(Ce.span,{className:"chakra-checkbox__label",...D(),__css:{marginStart:s,...o.label}},u))});Q$.displayName="Checkbox";function lme(e){return N.createElement(Da,{focusable:"false","aria-hidden":!0,...e},N.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}var JS=Ae(function(t,n){const r=Ao("CloseButton",t),{children:i,isDisabled:o,__css:a,...s}=En(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return N.createElement(Ce.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...l,...r,...a},...s},i||N.createElement(lme,{width:"1em",height:"1em"}))});JS.displayName="CloseButton";function ume(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function dk(e,t){let n=ume(e);const r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function z7(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function l5(e,t,n){return(e-t)*100/(n-t)}function J$(e,t,n){return(n-t)*e+t}function H7(e,t,n){const r=Math.round((e-t)/n)*n+t,i=z7(n);return dk(r,i)}function Cm(e,t,n){return e==null?e:(nr==null?"":C6(r,o,n)??""),m=typeof i<"u",v=m?i:d,b=eF(dd(v),o),S=n??b,E=w.useCallback(V=>{V!==v&&(m||h(V.toString()),u==null||u(V.toString(),dd(V)))},[u,m,v]),k=w.useCallback(V=>{let K=V;return l&&(K=Cm(K,a,s)),dk(K,S)},[S,l,s,a]),_=w.useCallback((V=o)=>{let K;v===""?K=dd(V):K=dd(v)+V,K=k(K),E(K)},[k,o,E,v]),T=w.useCallback((V=o)=>{let K;v===""?K=dd(-V):K=dd(v)-V,K=k(K),E(K)},[k,o,E,v]),A=w.useCallback(()=>{let V;r==null?V="":V=C6(r,o,n)??a,E(V)},[r,n,o,E,a]),I=w.useCallback(V=>{const K=C6(V,o,S)??a;E(K)},[S,o,E,a]),R=dd(v);return{isOutOfRange:R>s||R{document.head.removeChild(u)}},[t]),w.createElement(Gpe,{isPresent:t,childRef:r,sizeRef:i},w.cloneElement(e,{ref:r}))}const S6=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=$S(Ype),l=w.useId(),u=w.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:d=>{s.set(d,!0);for(const h of s.values())if(!h)return;r&&r()},register:d=>(s.set(d,!1),()=>s.delete(d))}),o?void 0:[n]);return w.useMemo(()=>{s.forEach((d,h)=>s.set(h,!1))},[n]),w.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=w.createElement(qpe,{isPresent:n},e)),w.createElement(p0.Provider,{value:u},e)};function Ype(){return new Map}const Bg=e=>e.key||"";function Kpe(e,t){e.forEach(n=>{const r=Bg(n);t.set(r,n)})}function Xpe(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const nf=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",c$(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=Upe();const l=w.useContext(M_).forceRender;l&&(s=l);const u=B$(),d=Xpe(e);let h=d;const m=new Set,v=w.useRef(h),b=w.useRef(new Map).current,S=w.useRef(!0);if(K4(()=>{S.current=!1,Kpe(d,b),v.current=h}),z_(()=>{S.current=!0,b.clear(),m.clear()}),S.current)return w.createElement(w.Fragment,null,h.map(T=>w.createElement(S6,{key:Bg(T),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},T)));h=[...h];const k=v.current.map(Bg),E=d.map(Bg),_=k.length;for(let T=0;T<_;T++){const A=k[T];E.indexOf(A)===-1&&m.add(A)}return a==="wait"&&m.size&&(h=[]),m.forEach(T=>{if(E.indexOf(T)!==-1)return;const A=b.get(T);if(!A)return;const I=k.indexOf(T),R=()=>{b.delete(T),m.delete(T);const D=v.current.findIndex(j=>j.key===T);if(v.current.splice(D,1),!m.size){if(v.current=d,u.current===!1)return;s(),r&&r()}};h.splice(I,0,w.createElement(S6,{key:Bg(A),isPresent:!1,onExitComplete:R,custom:t,presenceAffectsLayout:o,mode:a},A))}),h=h.map(T=>{const A=T.key;return m.has(A)?T:w.createElement(S6,{key:Bg(T),isPresent:!0,presenceAffectsLayout:o,mode:a},T)}),u$!=="production"&&a==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),w.createElement(w.Fragment,null,m.size?h:h.map(T=>w.cloneElement(T)))};var Fl=function(){return Fl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function D7(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;re.filter(Boolean).join(" ");function Zpe(){return!1}var Qpe=e=>{const{condition:t,message:n}=e;t&&Zpe()&&console.warn(n)},_h={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},U1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function N7(e){switch((e==null?void 0:e.direction)??"right"){case"right":return U1.slideRight;case"left":return U1.slideLeft;case"bottom":return U1.slideDown;case"top":return U1.slideUp;default:return U1.slideRight}}var Ih={enter:{duration:.2,ease:_h.easeOut},exit:{duration:.1,ease:_h.easeIn}},qs={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Jpe=e=>e!=null&&parseInt(e.toString(),10)>0,bO={exit:{height:{duration:.2,ease:_h.ease},opacity:{duration:.3,ease:_h.ease}},enter:{height:{duration:.3,ease:_h.ease},opacity:{duration:.4,ease:_h.ease}}},ege={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:Jpe(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??qs.exit(bO.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??qs.enter(bO.enter,i)})},F$=w.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:s,className:l,transition:u,transitionEnd:d,...h}=e,[m,v]=w.useState(!1);w.useEffect(()=>{const _=setTimeout(()=>{v(!0)});return()=>clearTimeout(_)},[]),Qpe({condition:Boolean(o>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const b=parseFloat(o.toString())>0,S={startingHeight:o,endingHeight:a,animateOpacity:i,transition:m?u:{enter:{duration:0}},transitionEnd:{enter:d==null?void 0:d.enter,exit:r?d==null?void 0:d.exit:{...d==null?void 0:d.exit,display:b?"block":"none"}}},k=r?n:!0,E=n||r?"enter":"exit";return N.createElement(nf,{initial:!1,custom:S},k&&N.createElement(du.div,{ref:t,...h,className:by("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:S,variants:ege,initial:r?"exit":!1,animate:E,exit:"exit"}))});F$.displayName="Collapse";var tge={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??qs.exit(Ih.exit,n),transitionEnd:t==null?void 0:t.exit})},z$={initial:"exit",animate:"enter",exit:"exit",variants:tge},nge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:s,delay:l,...u}=t,d=i||r?"enter":"exit",h=r?i&&r:!0,m={transition:a,transitionEnd:s,delay:l};return N.createElement(nf,{custom:m},h&&N.createElement(du.div,{ref:n,className:by("chakra-fade",o),custom:m,...z$,animate:d,...u}))});nge.displayName="Fade";var rge={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??qs.enter(Ih.enter,n),transitionEnd:e==null?void 0:e.enter})},H$={initial:"exit",animate:"enter",exit:"exit",variants:rge},ige=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:u,delay:d,...h}=t,m=r?i&&r:!0,v=i||r?"enter":"exit",b={initialScale:a,reverse:o,transition:l,transitionEnd:u,delay:d};return N.createElement(nf,{custom:b},m&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",s),...H$,animate:v,custom:b,...h}))});ige.displayName="ScaleFade";var SO={exit:{duration:.15,ease:_h.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},oge={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=N7({direction:e});return{...i,transition:(t==null?void 0:t.exit)??qs.exit(SO.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=N7({direction:e});return{...i,transition:(n==null?void 0:n.enter)??qs.enter(SO.enter,r),transitionEnd:t==null?void 0:t.enter}}},V$=w.forwardRef(function(t,n){const{direction:r="right",style:i,unmountOnExit:o,in:a,className:s,transition:l,transitionEnd:u,delay:d,motionProps:h,...m}=t,v=N7({direction:r}),b=Object.assign({position:"fixed"},v.position,i),S=o?a&&o:!0,k=a||o?"enter":"exit",E={transitionEnd:u,transition:l,direction:r,delay:d};return N.createElement(nf,{custom:E},S&&N.createElement(du.div,{...m,ref:n,initial:"exit",className:by("chakra-slide",s),animate:k,exit:"exit",custom:E,variants:oge,style:b,...h}))});V$.displayName="Slide";var age={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}},j7={initial:"initial",animate:"enter",exit:"exit",variants:age},sge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:d,delay:h,...m}=t,v=r?i&&r:!0,b=i||r?"enter":"exit",S={offsetX:s,offsetY:l,reverse:o,transition:u,transitionEnd:d,delay:h};return N.createElement(nf,{custom:S},v&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",a),custom:S,...j7,animate:b,...m}))});sge.displayName="SlideFade";var Sy=(...e)=>e.filter(Boolean).join(" ");function lge(){return!1}var GS=e=>{const{condition:t,message:n}=e;t&&lge()&&console.warn(n)};function x6(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[uge,qS]=Mn({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[cge,rk]=Mn({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[dge,XFe,fge,hge]=dB(),Wg=Ae(function(t,n){const{getButtonProps:r}=rk(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...qS().button};return N.createElement(Ce.button,{...i,className:Sy("chakra-accordion__button",t.className),__css:a})});Wg.displayName="AccordionButton";function pge(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;vge(e),yge(e);const s=fge(),[l,u]=w.useState(-1);w.useEffect(()=>()=>{u(-1)},[]);const[d,h]=DS({value:r,defaultValue(){return i?n??[]:n??-1},onChange:t});return{index:d,setIndex:h,htmlProps:a,getAccordionItemProps:v=>{let b=!1;return v!==null&&(b=Array.isArray(d)?d.includes(v):d===v),{isOpen:b,onChange:k=>{if(v!==null)if(i&&Array.isArray(d)){const E=k?d.concat(v):d.filter(_=>_!==v);h(E)}else k?h(v):o&&h(-1)}}},focusedIndex:l,setFocusedIndex:u,descendants:s}}var[gge,ik]=Mn({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function mge(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=ik(),s=w.useRef(null),l=w.useId(),u=r??l,d=`accordion-button-${u}`,h=`accordion-panel-${u}`;bge(e);const{register:m,index:v,descendants:b}=hge({disabled:t&&!n}),{isOpen:S,onChange:k}=o(v===-1?null:v);Sge({isOpen:S,isDisabled:t});const E=()=>{k==null||k(!0)},_=()=>{k==null||k(!1)},T=w.useCallback(()=>{k==null||k(!S),a(v)},[v,a,S,k]),A=w.useCallback(j=>{const V={ArrowDown:()=>{const K=b.nextEnabled(v);K==null||K.node.focus()},ArrowUp:()=>{const K=b.prevEnabled(v);K==null||K.node.focus()},Home:()=>{const K=b.firstEnabled();K==null||K.node.focus()},End:()=>{const K=b.lastEnabled();K==null||K.node.focus()}}[j.key];V&&(j.preventDefault(),V(j))},[b,v]),I=w.useCallback(()=>{a(v)},[a,v]),R=w.useCallback(function(z={},V=null){return{...z,type:"button",ref:qn(m,s,V),id:d,disabled:!!t,"aria-expanded":!!S,"aria-controls":h,onClick:x6(z.onClick,T),onFocus:x6(z.onFocus,I),onKeyDown:x6(z.onKeyDown,A)}},[d,t,S,T,I,A,h,m]),D=w.useCallback(function(z={},V=null){return{...z,ref:V,role:"region",id:h,"aria-labelledby":d,hidden:!S}},[d,S,h]);return{isOpen:S,isDisabled:t,isFocusable:n,onOpen:E,onClose:_,getButtonProps:R,getPanelProps:D,htmlProps:i}}function vge(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;GS({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function yge(e){GS({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function bge(e){GS({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. + `})}function Sge(e){GS({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Ug(e){const{isOpen:t,isDisabled:n}=rk(),{reduceMotion:r}=ik(),i=Sy("chakra-accordion__icon",e.className),o=qS(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return N.createElement(Da,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}Ug.displayName="AccordionIcon";var Gg=Ae(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=mge(t),l={...qS().container,overflowAnchor:"none"},u=w.useMemo(()=>a,[a]);return N.createElement(cge,{value:u},N.createElement(Ce.div,{ref:n,...o,className:Sy("chakra-accordion__item",i),__css:l},typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r))});Gg.displayName="AccordionItem";var qg=Ae(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=ik(),{getPanelProps:s,isOpen:l}=rk(),u=s(o,n),d=Sy("chakra-accordion__panel",r),h=qS();a||delete u.hidden;const m=N.createElement(Ce.div,{...u,__css:h.panel,className:d});return a?m:N.createElement(F$,{in:l,...i},m)});qg.displayName="AccordionPanel";var ok=Ae(function({children:t,reduceMotion:n,...r},i){const o=Yi("Accordion",r),a=En(r),{htmlProps:s,descendants:l,...u}=pge(a),d=w.useMemo(()=>({...u,reduceMotion:!!n}),[u,n]);return N.createElement(dge,{value:l},N.createElement(gge,{value:d},N.createElement(uge,{value:o},N.createElement(Ce.div,{ref:i,...s,className:Sy("chakra-accordion",r.className),__css:o.root},t))))});ok.displayName="Accordion";var xge=(...e)=>e.filter(Boolean).join(" "),wge=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),xy=Ae((e,t)=>{const n=Ao("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:s,...l}=En(e),u=xge("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${wge} ${o} linear infinite`,...n};return N.createElement(Ce.div,{ref:t,__css:d,className:u,...l},r&&N.createElement(Ce.span,{srOnly:!0},r))});xy.displayName="Spinner";var YS=(...e)=>e.filter(Boolean).join(" ");function Cge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))}function _ge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))}function xO(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[kge,Ege]=Mn({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Pge,ak]=Mn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),W$={info:{icon:_ge,colorScheme:"blue"},warning:{icon:xO,colorScheme:"orange"},success:{icon:Cge,colorScheme:"green"},error:{icon:xO,colorScheme:"red"},loading:{icon:xy,colorScheme:"blue"}};function Tge(e){return W$[e].colorScheme}function Lge(e){return W$[e].icon}var U$=Ae(function(t,n){const{status:r="info",addRole:i=!0,...o}=En(t),a=t.colorScheme??Tge(r),s=Yi("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return N.createElement(kge,{value:{status:r}},N.createElement(Pge,{value:s},N.createElement(Ce.div,{role:i?"alert":void 0,ref:n,...o,className:YS("chakra-alert",t.className),__css:l})))});U$.displayName="Alert";var G$=Ae(function(t,n){const i={display:"inline",...ak().description};return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__desc",t.className),__css:i})});G$.displayName="AlertDescription";function q$(e){const{status:t}=Ege(),n=Lge(t),r=ak(),i=t==="loading"?r.spinner:r.icon;return N.createElement(Ce.span,{display:"inherit",...e,className:YS("chakra-alert__icon",e.className),__css:i},e.children||N.createElement(n,{h:"100%",w:"100%"}))}q$.displayName="AlertIcon";var Y$=Ae(function(t,n){const r=ak();return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__title",t.className),__css:r.title})});Y$.displayName="AlertTitle";function Age(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Oge(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[u,d]=w.useState("pending");w.useEffect(()=>{d(n?"loading":"pending")},[n]);const h=w.useRef(),m=w.useCallback(()=>{if(!n)return;v();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=S=>{v(),d("loaded"),i==null||i(S)},b.onerror=S=>{v(),d("failed"),o==null||o(S)},h.current=b},[n,a,r,s,i,o,t]),v=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return Ws(()=>{if(!l)return u==="loading"&&m(),()=>{v()}},[u,m,l]),l?"loaded":u}var Mge=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError",s5=Ae(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return N.createElement("img",{width:r,height:i,ref:n,alt:o,...a})});s5.displayName="NativeImage";var KS=Ae(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:s,fit:l,loading:u,ignoreFallback:d,crossOrigin:h,fallbackStrategy:m="beforeLoadOrError",referrerPolicy:v,...b}=t,S=r!==void 0||i!==void 0,k=u!=null||d||!S,E=Oge({...t,ignoreFallback:k}),_=Mge(E,m),T={ref:n,objectFit:l,objectPosition:s,...k?b:Age(b,["onError","onLoad"])};return _?i||N.createElement(Ce.img,{as:s5,className:"chakra-image__placeholder",src:r,...T}):N.createElement(Ce.img,{as:s5,src:o,srcSet:a,crossOrigin:h,loading:u,referrerPolicy:v,className:"chakra-image",...T})});KS.displayName="Image";Ae((e,t)=>N.createElement(Ce.img,{ref:t,as:s5,className:"chakra-image",...e}));function XS(e){return w.Children.toArray(e).filter(t=>w.isValidElement(t))}var ZS=(...e)=>e.filter(Boolean).join(" "),wO=e=>e?"":void 0,[Ige,Rge]=Mn({strict:!1,name:"ButtonGroupContext"});function B7(e){const{children:t,className:n,...r}=e,i=w.isValidElement(t)?w.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=ZS("chakra-button__icon",n);return N.createElement(Ce.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o},i)}B7.displayName="ButtonIcon";function $7(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=N.createElement(xy,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...s}=e,l=ZS("chakra-button__spinner",o),u=n==="start"?"marginEnd":"marginStart",d=w.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,u,r]);return N.createElement(Ce.div,{className:l,...s,__css:d},i)}$7.displayName="ButtonSpinner";function Dge(e){const[t,n]=w.useState(!e);return{ref:w.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}var as=Ae((e,t)=>{const n=Rge(),r=Ao("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:s,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:b="start",className:S,as:k,...E}=En(e),_=w.useMemo(()=>{const R={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:R}}},[r,n]),{ref:T,type:A}=Dge(k),I={rightIcon:u,leftIcon:l,iconSpacing:h,children:s};return N.createElement(Ce.button,{disabled:i||o,ref:rce(t,T),as:k,type:m??A,"data-active":wO(a),"data-loading":wO(o),__css:_,className:ZS("chakra-button",S),...E},o&&b==="start"&&N.createElement($7,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:h},v),o?d||N.createElement(Ce.span,{opacity:0},N.createElement(CO,{...I})):N.createElement(CO,{...I}),o&&b==="end"&&N.createElement($7,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:h},v))});as.displayName="Button";function CO(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return N.createElement(N.Fragment,null,t&&N.createElement(B7,{marginEnd:i},t),r,n&&N.createElement(B7,{marginStart:i},n))}var oo=Ae(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:u,...d}=t,h=ZS("chakra-button__group",a),m=w.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:u}),[r,i,o,u]);let v={display:"inline-flex"};return l?v={...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:v={...v,"& > *:not(style) ~ *:not(style)":{marginStart:s}},N.createElement(Ige,{value:m},N.createElement(Ce.div,{ref:n,role:"group",__css:v,className:h,"data-attached":l?"":void 0,...d}))});oo.displayName="ButtonGroup";var ss=Ae((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,s=n||r,l=w.isValidElement(s)?w.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return N.createElement(as,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a},l)});ss.displayName="IconButton";var y0=(...e)=>e.filter(Boolean).join(" "),J3=e=>e?"":void 0,w6=e=>e?!0:void 0;function _O(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[Nge,K$]=Mn({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[jge,b0]=Mn({strict:!1,name:"FormControlContext"});function Bge(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,s=w.useId(),l=t||`field-${s}`,u=`${l}-label`,d=`${l}-feedback`,h=`${l}-helptext`,[m,v]=w.useState(!1),[b,S]=w.useState(!1),[k,E]=w.useState(!1),_=w.useCallback((D={},j=null)=>({id:h,...D,ref:qn(j,z=>{z&&S(!0)})}),[h]),T=w.useCallback((D={},j=null)=>({...D,ref:j,"data-focus":J3(k),"data-disabled":J3(i),"data-invalid":J3(r),"data-readonly":J3(o),id:D.id??u,htmlFor:D.htmlFor??l}),[l,i,k,r,o,u]),A=w.useCallback((D={},j=null)=>({id:d,...D,ref:qn(j,z=>{z&&v(!0)}),"aria-live":"polite"}),[d]),I=w.useCallback((D={},j=null)=>({...D,...a,ref:j,role:"group"}),[a]),R=w.useCallback((D={},j=null)=>({...D,ref:j,role:"presentation","aria-hidden":!0,children:D.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!k,onFocus:()=>E(!0),onBlur:()=>E(!1),hasFeedbackText:m,setHasFeedbackText:v,hasHelpText:b,setHasHelpText:S,id:l,labelId:u,feedbackId:d,helpTextId:h,htmlProps:a,getHelpTextProps:_,getErrorMessageProps:A,getRootProps:I,getLabelProps:T,getRequiredIndicatorProps:R}}var dn=Ae(function(t,n){const r=Yi("Form",t),i=En(t),{getRootProps:o,htmlProps:a,...s}=Bge(i),l=y0("chakra-form-control",t.className);return N.createElement(jge,{value:s},N.createElement(Nge,{value:r},N.createElement(Ce.div,{...o({},n),className:l,__css:r.container})))});dn.displayName="FormControl";var lr=Ae(function(t,n){const r=b0(),i=K$(),o=y0("chakra-form__helper-text",t.className);return N.createElement(Ce.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});lr.displayName="FormHelperText";function sk(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=lk(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":w6(n),"aria-required":w6(i),"aria-readonly":w6(r)}}function lk(e){const t=b0(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:u,onFocus:d,onBlur:h,...m}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&v.push(t.feedbackId),t!=null&&t.hasHelpText&&v.push(t.helpTextId),{...m,"aria-describedby":v.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??u??(t==null?void 0:t.isDisabled),isReadOnly:i??l??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:_O(t==null?void 0:t.onFocus,d),onBlur:_O(t==null?void 0:t.onBlur,h)}}var[$ge,Fge]=Mn({name:"FormErrorStylesContext",errorMessage:`useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),ur=Ae((e,t)=>{const n=Yi("FormError",e),r=En(e),i=b0();return i!=null&&i.isInvalid?N.createElement($ge,{value:n},N.createElement(Ce.div,{...i==null?void 0:i.getErrorMessageProps(r,t),className:y0("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})):null});ur.displayName="FormErrorMessage";var zge=Ae((e,t)=>{const n=Fge(),r=b0();if(!(r!=null&&r.isInvalid))return null;const i=y0("chakra-form__error-icon",e.className);return N.createElement(Da,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:i},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))});zge.displayName="FormErrorIcon";var kn=Ae(function(t,n){const r=Ao("FormLabel",t),i=En(t),{className:o,children:a,requiredIndicator:s=N.createElement(X$,null),optionalIndicator:l=null,...u}=i,d=b0(),h=(d==null?void 0:d.getLabelProps(u,n))??{ref:n,...u};return N.createElement(Ce.label,{...h,className:y0("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r}},a,d!=null&&d.isRequired?s:l)});kn.displayName="FormLabel";var X$=Ae(function(t,n){const r=b0(),i=K$();if(!(r!=null&&r.isRequired))return null;const o=y0("chakra-form__required-indicator",t.className);return N.createElement(Ce.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});X$.displayName="RequiredIndicator";function Vd(e,t){const n=w.useRef(!1),r=w.useRef(!1);w.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),w.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}var uk={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Hge=Ce("span",{baseStyle:uk});Hge.displayName="VisuallyHidden";var Vge=Ce("input",{baseStyle:uk});Vge.displayName="VisuallyHiddenInput";var kO=!1,QS=null,Wm=!1,F7=new Set,Wge=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function Uge(e){return!(e.metaKey||!Wge&&e.altKey||e.ctrlKey)}function ck(e,t){F7.forEach(n=>n(e,t))}function EO(e){Wm=!0,Uge(e)&&(QS="keyboard",ck("keyboard",e))}function wg(e){QS="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wm=!0,ck("pointer",e))}function Gge(e){e.target===window||e.target===document||(Wm||(QS="keyboard",ck("keyboard",e)),Wm=!1)}function qge(){Wm=!1}function PO(){return QS!=="pointer"}function Yge(){if(typeof window>"u"||kO)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){Wm=!0,e.apply(this,n)},document.addEventListener("keydown",EO,!0),document.addEventListener("keyup",EO,!0),window.addEventListener("focus",Gge,!0),window.addEventListener("blur",qge,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",wg,!0),document.addEventListener("pointermove",wg,!0),document.addEventListener("pointerup",wg,!0)):(document.addEventListener("mousedown",wg,!0),document.addEventListener("mousemove",wg,!0),document.addEventListener("mouseup",wg,!0)),kO=!0}function Kge(e){Yge(),e(PO());const t=()=>e(PO());return F7.add(t),()=>{F7.delete(t)}}var[ZFe,Xge]=Mn({name:"CheckboxGroupContext",strict:!1}),Zge=(...e)=>e.filter(Boolean).join(" "),bo=e=>e?"":void 0;function Ya(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function Qge(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}function Jge(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e},N.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function eme(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e},N.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function tme(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?eme:Jge;return n||t?N.createElement(Ce.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},N.createElement(i,{...r})):null}function nme(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Z$(e={}){const t=lk(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:s,onFocus:l,"aria-describedby":u}=t,{defaultChecked:d,isChecked:h,isFocusable:m,onChange:v,isIndeterminate:b,name:S,value:k,tabIndex:E=void 0,"aria-label":_,"aria-labelledby":T,"aria-invalid":A,...I}=e,R=nme(I,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),D=Er(v),j=Er(s),z=Er(l),[V,K]=w.useState(!1),[te,q]=w.useState(!1),[$,U]=w.useState(!1),[X,Z]=w.useState(!1);w.useEffect(()=>Kge(K),[]);const W=w.useRef(null),[Q,ie]=w.useState(!0),[fe,Se]=w.useState(!!d),Pe=h!==void 0,ye=Pe?h:fe,We=w.useCallback(Le=>{if(r||n){Le.preventDefault();return}Pe||Se(ye?Le.target.checked:b?!0:Le.target.checked),D==null||D(Le)},[r,n,ye,Pe,b,D]);Ws(()=>{W.current&&(W.current.indeterminate=Boolean(b))},[b]),Vd(()=>{n&&q(!1)},[n,q]),Ws(()=>{const Le=W.current;Le!=null&&Le.form&&(Le.form.onreset=()=>{Se(!!d)})},[]);const De=n&&!m,ot=w.useCallback(Le=>{Le.key===" "&&Z(!0)},[Z]),He=w.useCallback(Le=>{Le.key===" "&&Z(!1)},[Z]);Ws(()=>{if(!W.current)return;W.current.checked!==ye&&Se(W.current.checked)},[W.current]);const Be=w.useCallback((Le={},lt=null)=>{const Mt=ut=>{te&&ut.preventDefault(),Z(!0)};return{...Le,ref:lt,"data-active":bo(X),"data-hover":bo($),"data-checked":bo(ye),"data-focus":bo(te),"data-focus-visible":bo(te&&V),"data-indeterminate":bo(b),"data-disabled":bo(n),"data-invalid":bo(o),"data-readonly":bo(r),"aria-hidden":!0,onMouseDown:Ya(Le.onMouseDown,Mt),onMouseUp:Ya(Le.onMouseUp,()=>Z(!1)),onMouseEnter:Ya(Le.onMouseEnter,()=>U(!0)),onMouseLeave:Ya(Le.onMouseLeave,()=>U(!1))}},[X,ye,n,te,V,$,b,o,r]),wt=w.useCallback((Le={},lt=null)=>({...R,...Le,ref:qn(lt,Mt=>{Mt&&ie(Mt.tagName==="LABEL")}),onClick:Ya(Le.onClick,()=>{var Mt;Q||((Mt=W.current)==null||Mt.click(),requestAnimationFrame(()=>{var ut;(ut=W.current)==null||ut.focus()}))}),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[R,n,ye,o,Q]),st=w.useCallback((Le={},lt=null)=>({...Le,ref:qn(W,lt),type:"checkbox",name:S,value:k,id:a,tabIndex:E,onChange:Ya(Le.onChange,We),onBlur:Ya(Le.onBlur,j,()=>q(!1)),onFocus:Ya(Le.onFocus,z,()=>q(!0)),onKeyDown:Ya(Le.onKeyDown,ot),onKeyUp:Ya(Le.onKeyUp,He),required:i,checked:ye,disabled:De,readOnly:r,"aria-label":_,"aria-labelledby":T,"aria-invalid":A?Boolean(A):o,"aria-describedby":u,"aria-disabled":n,style:uk}),[S,k,a,We,j,z,ot,He,i,ye,De,r,_,T,A,o,u,n,E]),mt=w.useCallback((Le={},lt=null)=>({...Le,ref:lt,onMouseDown:Ya(Le.onMouseDown,TO),onTouchStart:Ya(Le.onTouchStart,TO),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[ye,n,o]);return{state:{isInvalid:o,isFocused:te,isChecked:ye,isActive:X,isHovered:$,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:wt,getCheckboxProps:Be,getInputProps:st,getLabelProps:mt,htmlProps:R}}function TO(e){e.preventDefault(),e.stopPropagation()}var rme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},ime={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ome=tf({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),ame=tf({from:{opacity:0},to:{opacity:1}}),sme=tf({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),Q$=Ae(function(t,n){const r=Xge(),i={...r,...t},o=Yi("Checkbox",i),a=En(t),{spacing:s="0.5rem",className:l,children:u,iconColor:d,iconSize:h,icon:m=N.createElement(tme,null),isChecked:v,isDisabled:b=r==null?void 0:r.isDisabled,onChange:S,inputProps:k,...E}=a;let _=v;r!=null&&r.value&&a.value&&(_=r.value.includes(a.value));let T=S;r!=null&&r.onChange&&a.value&&(T=Qge(r.onChange,S));const{state:A,getInputProps:I,getCheckboxProps:R,getLabelProps:D,getRootProps:j}=Z$({...E,isDisabled:b,isChecked:_,onChange:T}),z=w.useMemo(()=>({animation:A.isIndeterminate?`${ame} 20ms linear, ${sme} 200ms linear`:`${ome} 200ms linear`,fontSize:h,color:d,...o.icon}),[d,h,,A.isIndeterminate,o.icon]),V=w.cloneElement(m,{__css:z,isIndeterminate:A.isIndeterminate,isChecked:A.isChecked});return N.createElement(Ce.label,{__css:{...ime,...o.container},className:Zge("chakra-checkbox",l),...j()},N.createElement("input",{className:"chakra-checkbox__input",...I(k,n)}),N.createElement(Ce.span,{__css:{...rme,...o.control},className:"chakra-checkbox__control",...R()},V),u&&N.createElement(Ce.span,{className:"chakra-checkbox__label",...D(),__css:{marginStart:s,...o.label}},u))});Q$.displayName="Checkbox";function lme(e){return N.createElement(Da,{focusable:"false","aria-hidden":!0,...e},N.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}var JS=Ae(function(t,n){const r=Ao("CloseButton",t),{children:i,isDisabled:o,__css:a,...s}=En(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return N.createElement(Ce.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...l,...r,...a},...s},i||N.createElement(lme,{width:"1em",height:"1em"}))});JS.displayName="CloseButton";function ume(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function dk(e,t){let n=ume(e);const r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function z7(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function l5(e,t,n){return(e-t)*100/(n-t)}function J$(e,t,n){return(n-t)*e+t}function H7(e,t,n){const r=Math.round((e-t)/n)*n+t,i=z7(n);return dk(r,i)}function Cm(e,t,n){return e==null?e:(nr==null?"":C6(r,o,n)??""),m=typeof i<"u",v=m?i:d,b=eF(dd(v),o),S=n??b,k=w.useCallback(V=>{V!==v&&(m||h(V.toString()),u==null||u(V.toString(),dd(V)))},[u,m,v]),E=w.useCallback(V=>{let K=V;return l&&(K=Cm(K,a,s)),dk(K,S)},[S,l,s,a]),_=w.useCallback((V=o)=>{let K;v===""?K=dd(V):K=dd(v)+V,K=E(K),k(K)},[E,o,k,v]),T=w.useCallback((V=o)=>{let K;v===""?K=dd(-V):K=dd(v)-V,K=E(K),k(K)},[E,o,k,v]),A=w.useCallback(()=>{let V;r==null?V="":V=C6(r,o,n)??a,k(V)},[r,n,o,k,a]),I=w.useCallback(V=>{const K=C6(V,o,S)??a;k(K)},[S,o,k,a]),R=dd(v);return{isOutOfRange:R>s||Rt in e?cee(e,t,{enumerable:!0,con } ${tF} - `});function Rh(e,t,n,r){const i=Er(n);return w.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function hme(e){return"current"in e}var nF=()=>typeof window<"u";function pme(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var gme=e=>nF()&&e.test(navigator.vendor),mme=e=>nF()&&e.test(pme()),vme=()=>mme(/mac|iphone|ipad|ipod/i),yme=()=>vme()&&gme(/apple/i);function bme(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o;return((o=t.current)==null?void 0:o.ownerDocument)??document};Rh(i,"pointerdown",o=>{if(!yme()||!r)return;const a=o.target,l=(n??[t]).some(u=>{const d=hme(u)?u.current:u;return(d==null?void 0:d.contains(a))||d===a});i().activeElement!==a&&l&&(o.preventDefault(),a.focus())})}var Sme=cre?w.useLayoutEffect:w.useEffect;function LO(e,t=[]){const n=w.useRef(e);return Sme(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function xme(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function wme(e,t){const n=w.useId();return w.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Wh(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=LO(n),a=LO(t),[s,l]=w.useState(e.defaultIsOpen||!1),[u,d]=xme(r,s),h=wme(i,"disclosure"),m=w.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),v=w.useCallback(()=>{u||l(!0),o==null||o()},[u,o]),b=w.useCallback(()=>{(d?m:v)()},[d,v,m]);return{isOpen:!!d,onOpen:v,onClose:m,onToggle:b,isControlled:u,getButtonProps:(S={})=>({...S,"aria-expanded":d,"aria-controls":h,onClick:dre(S.onClick,b)}),getDisclosureProps:(S={})=>({...S,hidden:!d,id:h})}}function fk(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var hk=Ae(function(t,n){const{htmlSize:r,...i}=t,o=Yi("Input",i),a=En(i),s=sk(a),l=Qr("chakra-input",t.className);return N.createElement(Ce.input,{size:r,...s,__css:o.field,ref:n,className:l})});hk.displayName="Input";hk.id="Input";var[Cme,rF]=Mn({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),_me=Ae(function(t,n){const r=Yi("Input",t),{children:i,className:o,...a}=En(t),s=Qr("chakra-input__group",o),l={},u=XS(i),d=r.field;u.forEach(m=>{r&&(d&&m.type.id==="InputLeftElement"&&(l.paddingStart=d.height??d.h),d&&m.type.id==="InputRightElement"&&(l.paddingEnd=d.height??d.h),m.type.id==="InputRightAddon"&&(l.borderEndRadius=0),m.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const h=u.map(m=>{var v,b;const S=fk({size:((v=m.props)==null?void 0:v.size)||t.size,variant:((b=m.props)==null?void 0:b.variant)||t.variant});return m.type.id!=="Input"?w.cloneElement(m,S):w.cloneElement(m,Object.assign(S,l,m.props))});return N.createElement(Ce.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative"},...a},N.createElement(Cme,{value:r},h))});_me.displayName="InputGroup";var kme={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},Eme=Ce("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),pk=Ae(function(t,n){const{placement:r="left",...i}=t,o=kme[r]??{},a=rF();return N.createElement(Eme,{ref:n,...i,__css:{...a.addon,...o}})});pk.displayName="InputAddon";var iF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"left",...t,className:Qr("chakra-input__left-addon",t.className)})});iF.displayName="InputLeftAddon";iF.id="InputLeftAddon";var oF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"right",...t,className:Qr("chakra-input__right-addon",t.className)})});oF.displayName="InputRightAddon";oF.id="InputRightAddon";var Pme=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),ex=Ae(function(t,n){const{placement:r="left",...i}=t,o=rF(),a=o.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...o.element};return N.createElement(Pme,{ref:n,__css:l,...i})});ex.id="InputElement";ex.displayName="InputElement";var aF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__left-element",r);return N.createElement(ex,{ref:n,placement:"left",className:o,...i})});aF.id="InputLeftElement";aF.displayName="InputLeftElement";var sF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__right-element",r);return N.createElement(ex,{ref:n,placement:"right",className:o,...i})});sF.id="InputRightElement";sF.displayName="InputRightElement";function Tme(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Wd(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):Tme(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}var Lme=Ae(function(e,t){const{ratio:n=4/3,children:r,className:i,...o}=e,a=w.Children.only(r),s=Qr("chakra-aspect-ratio",i);return N.createElement(Ce.div,{ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:Wd(n,l=>`${1/l*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o},a)});Lme.displayName="AspectRatio";var Ame=Ae(function(t,n){const r=Ao("Badge",t),{className:i,...o}=En(t);return N.createElement(Ce.span,{ref:n,className:Qr("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});Ame.displayName="Badge";var ko=Ce("div");ko.displayName="Box";var lF=Ae(function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return N.createElement(ko,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})});lF.displayName="Square";var Ome=Ae(function(t,n){const{size:r,...i}=t;return N.createElement(lF,{size:r,ref:n,borderRadius:"9999px",...i})});Ome.displayName="Circle";var uF=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});uF.displayName="Center";var Mme={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};Ae(function(t,n){const{axis:r="both",...i}=t;return N.createElement(Ce.div,{ref:n,__css:Mme[r],...i,position:"absolute"})});var Ime=Ae(function(t,n){const r=Ao("Code",t),{className:i,...o}=En(t);return N.createElement(Ce.code,{ref:n,className:Qr("chakra-code",t.className),...o,__css:{display:"inline-block",...r}})});Ime.displayName="Code";var Rme=Ae(function(t,n){const{className:r,centerContent:i,...o}=En(t),a=Ao("Container",t);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});Rme.displayName="Container";var Dme=Ae(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:u,...d}=Ao("Divider",t),{className:h,orientation:m="horizontal",__css:v,...b}=En(t),S={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return N.createElement(Ce.hr,{ref:n,"aria-orientation":m,...b,__css:{...d,border:"0",borderColor:u,borderStyle:l,...S[m],...v},className:Qr("chakra-divider",h)})});Dme.displayName="Divider";var Ge=Ae(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:s,grow:l,shrink:u,...d}=t,h={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:u};return N.createElement(Ce.div,{ref:n,__css:h,...d})});Ge.displayName="Flex";var cF=Ae(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:s,row:l,autoFlow:u,autoRows:d,templateRows:h,autoColumns:m,templateColumns:v,...b}=t,S={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:m,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:h,gridTemplateColumns:v};return N.createElement(Ce.div,{ref:n,__css:S,...b})});cF.displayName="Grid";function AO(e){return Wd(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}var Nme=Ae(function(t,n){const{area:r,colSpan:i,colStart:o,colEnd:a,rowEnd:s,rowSpan:l,rowStart:u,...d}=t,h=fk({gridArea:r,gridColumn:AO(i),gridRow:AO(l),gridColumnStart:o,gridColumnEnd:a,gridRowStart:u,gridRowEnd:s});return N.createElement(Ce.div,{ref:n,__css:h,...d})});Nme.displayName="GridItem";var Dh=Ae(function(t,n){const r=Ao("Heading",t),{className:i,...o}=En(t);return N.createElement(Ce.h2,{ref:n,className:Qr("chakra-heading",t.className),...o,__css:r})});Dh.displayName="Heading";Ae(function(t,n){const r=Ao("Mark",t),i=En(t);return N.createElement(ko,{ref:n,...i,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...r}})});var jme=Ae(function(t,n){const r=Ao("Kbd",t),{className:i,...o}=En(t);return N.createElement(Ce.kbd,{ref:n,className:Qr("chakra-kbd",i),...o,__css:{fontFamily:"mono",...r}})});jme.displayName="Kbd";var Nh=Ae(function(t,n){const r=Ao("Link",t),{className:i,isExternal:o,...a}=En(t);return N.createElement(Ce.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Qr("chakra-link",i),...a,__css:r})});Nh.displayName="Link";Ae(function(t,n){const{isExternal:r,target:i,rel:o,className:a,...s}=t;return N.createElement(Ce.a,{...s,ref:n,className:Qr("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":o,target:r?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})});Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.div,{ref:n,position:"relative",...i,className:Qr("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})});var[Bme,dF]=Mn({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),gk=Ae(function(t,n){const r=Yi("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:s,...l}=En(t),u=XS(i),h=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return N.createElement(Bme,{value:r},N.createElement(Ce.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...h},...l},u))});gk.displayName="List";var $me=Ae((e,t)=>{const{as:n,...r}=e;return N.createElement(gk,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});$me.displayName="OrderedList";var Fme=Ae(function(t,n){const{as:r,...i}=t;return N.createElement(gk,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});Fme.displayName="UnorderedList";var zme=Ae(function(t,n){const r=dF();return N.createElement(Ce.li,{ref:n,...t,__css:r.item})});zme.displayName="ListItem";var Hme=Ae(function(t,n){const r=dF();return N.createElement(Da,{ref:n,role:"presentation",...t,__css:r.icon})});Hme.displayName="ListIcon";var Vme=Ae(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:s,...l}=t,u=h0(),d=s?Ume(s,u):Gme(r);return N.createElement(cF,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:d,...l})});Vme.displayName="SimpleGrid";function Wme(e){return typeof e=="number"?`${e}px`:e}function Ume(e,t){return Wd(e,n=>{const r=Gue("sizes",n,Wme(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function Gme(e){return Wd(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var fF=Ce("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});fF.displayName="Spacer";var V7="& > *:not(style) ~ *:not(style)";function qme(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[V7]:Wd(n,i=>r[i])}}function Yme(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Wd(n,i=>r[i])}}var hF=e=>N.createElement(Ce.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});hF.displayName="StackItem";var mk=Ae((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:s,children:l,divider:u,className:d,shouldWrapChildren:h,...m}=e,v=n?"row":r??"column",b=w.useMemo(()=>qme({direction:v,spacing:a}),[v,a]),S=w.useMemo(()=>Yme({spacing:a,direction:v}),[a,v]),E=!!u,k=!h&&!E,_=w.useMemo(()=>{const A=XS(l);return k?A:A.map((I,R)=>{const D=typeof I.key<"u"?I.key:R,j=R+1===A.length,V=h?N.createElement(hF,{key:D},I):I;if(!E)return V;const K=w.cloneElement(u,{__css:S}),te=j?null:K;return N.createElement(w.Fragment,{key:D},V,te)})},[u,S,E,k,h,l]),T=Qr("chakra-stack",d);return N.createElement(Ce.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:b.flexDirection,flexWrap:s,className:T,__css:E?{}:{[V7]:b[V7]},...m},_)});mk.displayName="Stack";var wy=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"row",ref:t}));wy.displayName="HStack";var yn=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"column",ref:t}));yn.displayName="VStack";var fn=Ae(function(t,n){const r=Ao("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=En(t),u=fk({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return N.createElement(Ce.p,{ref:n,className:Qr("chakra-text",t.className),...u,...l,__css:r})});fn.displayName="Text";function OO(e){return typeof e=="number"?`${e}px`:e}var Kme=Ae(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:s,direction:l,align:u,className:d,shouldWrapChildren:h,...m}=t,v=w.useMemo(()=>{const{spacingX:S=r,spacingY:E=r}={spacingX:i,spacingY:o};return{"--chakra-wrap-x-spacing":k=>Wd(S,_=>OO(ZC("space",_)(k))),"--chakra-wrap-y-spacing":k=>Wd(E,_=>OO(ZC("space",_)(k))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:u,flexDirection:l,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[r,i,o,s,u,l]),b=w.useMemo(()=>h?w.Children.map(a,(S,E)=>N.createElement(pF,{key:E},S)):a,[a,h]);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-wrap",d),overflow:"hidden",...m},N.createElement(Ce.ul,{className:"chakra-wrap__list",__css:v},b))});Kme.displayName="Wrap";var pF=Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Qr("chakra-wrap__listitem",r),...i})});pF.displayName="WrapItem";var Xme={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},gF=Xme,Cg=()=>{},Zme={document:gF,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Cg,removeEventListener:Cg,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:Cg,removeListener:Cg}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)},setTimeout:()=>0,clearTimeout:Cg,setInterval:()=>0,clearInterval:Cg},Qme=Zme,Jme={window:Qme,document:gF},mF=typeof window<"u"?{window,document}:Jme,vF=w.createContext(mF);vF.displayName="EnvironmentContext";function yF(e){const{children:t,environment:n}=e,[r,i]=w.useState(null),[o,a]=w.useState(!1);w.useEffect(()=>a(!0),[]);const s=w.useMemo(()=>{if(n)return n;const l=r==null?void 0:r.ownerDocument,u=r==null?void 0:r.ownerDocument.defaultView;return l?{document:l,window:u}:mF},[r,n]);return N.createElement(vF.Provider,{value:s},t,!n&&o&&N.createElement("span",{id:"__chakra_env",hidden:!0,ref:l=>{w.startTransition(()=>{l&&i(l)})}}))}yF.displayName="EnvironmentProvider";var e0e=e=>e?"":void 0;function t0e(){const e=w.useRef(new Map),t=e.current,n=w.useCallback((i,o,a,s)=>{e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),r=w.useCallback((i,o,a,s)=>{i.removeEventListener(o,a,s),e.current.delete(a)},[]);return w.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function _6(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function n0e(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:u,onKeyUp:d,tabIndex:h,onMouseOver:m,onMouseLeave:v,...b}=e,[S,E]=w.useState(!0),[k,_]=w.useState(!1),T=t0e(),A=Z=>{Z&&Z.tagName!=="BUTTON"&&E(!1)},I=S?h:h||0,R=n&&!r,D=w.useCallback(Z=>{if(n){Z.stopPropagation(),Z.preventDefault();return}Z.currentTarget.focus(),l==null||l(Z)},[n,l]),j=w.useCallback(Z=>{k&&_6(Z)&&(Z.preventDefault(),Z.stopPropagation(),_(!1),T.remove(document,"keyup",j,!1))},[k,T]),z=w.useCallback(Z=>{if(u==null||u(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;const U=i&&Z.key==="Enter";o&&Z.key===" "&&(Z.preventDefault(),_(!0)),U&&(Z.preventDefault(),Z.currentTarget.click()),T.add(document,"keyup",j,!1)},[n,S,u,i,o,T,j]),V=w.useCallback(Z=>{if(d==null||d(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;o&&Z.key===" "&&(Z.preventDefault(),_(!1),Z.currentTarget.click())},[o,S,n,d]),K=w.useCallback(Z=>{Z.button===0&&(_(!1),T.remove(document,"mouseup",K,!1))},[T]),te=w.useCallback(Z=>{if(Z.button!==0)return;if(n){Z.stopPropagation(),Z.preventDefault();return}S||_(!0),Z.currentTarget.focus({preventScroll:!0}),T.add(document,"mouseup",K,!1),a==null||a(Z)},[n,S,a,T,K]),q=w.useCallback(Z=>{Z.button===0&&(S||_(!1),s==null||s(Z))},[s,S]),$=w.useCallback(Z=>{if(n){Z.preventDefault();return}m==null||m(Z)},[n,m]),W=w.useCallback(Z=>{k&&(Z.preventDefault(),_(!1)),v==null||v(Z)},[k,v]),X=qn(t,A);return S?{...b,ref:X,type:"button","aria-disabled":R?void 0:n,disabled:R,onClick:D,onMouseDown:a,onMouseUp:s,onKeyUp:d,onKeyDown:u,onMouseOver:m,onMouseLeave:v}:{...b,ref:X,role:"button","data-active":e0e(k),"aria-disabled":n?"true":void 0,tabIndex:R?void 0:I,onClick:D,onMouseDown:te,onMouseUp:q,onKeyUp:V,onKeyDown:z,onMouseOver:$,onMouseLeave:W}}function bF(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function SF(e){if(!bF(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function r0e(e){var t;return((t=xF(e))==null?void 0:t.defaultView)??window}function xF(e){return bF(e)?e.ownerDocument:document}function i0e(e){return xF(e).activeElement}var wF=e=>e.hasAttribute("tabindex"),o0e=e=>wF(e)&&e.tabIndex===-1;function a0e(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function CF(e){return e.parentElement&&CF(e.parentElement)?!0:e.hidden}function s0e(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function _F(e){if(!SF(e)||CF(e)||a0e(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():s0e(e)?!0:wF(e)}function l0e(e){return e?SF(e)&&_F(e)&&!o0e(e):!1}var u0e=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],c0e=u0e.join(),d0e=e=>e.offsetWidth>0&&e.offsetHeight>0;function kF(e){const t=Array.from(e.querySelectorAll(c0e));return t.unshift(e),t.filter(n=>_F(n)&&d0e(n))}function f0e(e){const t=e.current;if(!t)return!1;const n=i0e(t);return!n||t.contains(n)?!1:!!l0e(n)}function h0e(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;Vd(()=>{if(!o||f0e(e))return;const a=(i==null?void 0:i.current)||e.current;a&&requestAnimationFrame(()=>{a.focus()})},[o,e,i])}var p0e={preventScroll:!0,shouldFocus:!1};function g0e(e,t=p0e){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:o}=t,a=m0e(e)?e.current:e,s=i&&o,l=w.useRef(s),u=w.useRef(o);Ws(()=>{!u.current&&o&&(l.current=s),u.current=o},[o,s]);const d=w.useCallback(()=>{if(!(!o||!a||!l.current)&&(l.current=!1,!a.contains(document.activeElement)))if(n!=null&&n.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:r})});else{const h=kF(a);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:r})})}},[o,r,a,n]);Vd(()=>{d()},[d]),Rh(a,"transitionend",d)}function m0e(e){return"current"in e}var Zo="top",ls="bottom",us="right",Qo="left",vk="auto",Cy=[Zo,ls,us,Qo],Um="start",L2="end",v0e="clippingParents",EF="viewport",G1="popper",y0e="reference",MO=Cy.reduce(function(e,t){return e.concat([t+"-"+Um,t+"-"+L2])},[]),PF=[].concat(Cy,[vk]).reduce(function(e,t){return e.concat([t,t+"-"+Um,t+"-"+L2])},[]),b0e="beforeRead",S0e="read",x0e="afterRead",w0e="beforeMain",C0e="main",_0e="afterMain",k0e="beforeWrite",E0e="write",P0e="afterWrite",T0e=[b0e,S0e,x0e,w0e,C0e,_0e,k0e,E0e,P0e];function au(e){return e?(e.nodeName||"").toLowerCase():null}function hs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uh(e){var t=hs(e).Element;return e instanceof t||e instanceof Element}function is(e){var t=hs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yk(e){if(typeof ShadowRoot>"u")return!1;var t=hs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L0e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!is(o)||!au(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function A0e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!is(i)||!au(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const O0e={name:"applyStyles",enabled:!0,phase:"write",fn:L0e,effect:A0e,requires:["computeStyles"]};function Zl(e){return e.split("-")[0]}var jh=Math.max,u5=Math.min,Gm=Math.round;function W7(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function TF(){return!/^((?!chrome|android).)*safari/i.test(W7())}function qm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&is(e)&&(i=e.offsetWidth>0&&Gm(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Gm(r.height)/e.offsetHeight||1);var a=Uh(e)?hs(e):window,s=a.visualViewport,l=!TF()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,h=r.width/i,m=r.height/o;return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function bk(e){var t=qm(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function LF(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ec(e){return hs(e).getComputedStyle(e)}function M0e(e){return["table","td","th"].indexOf(au(e))>=0}function rf(e){return((Uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function tx(e){return au(e)==="html"?e:e.assignedSlot||e.parentNode||(yk(e)?e.host:null)||rf(e)}function IO(e){return!is(e)||ec(e).position==="fixed"?null:e.offsetParent}function I0e(e){var t=/firefox/i.test(W7()),n=/Trident/i.test(W7());if(n&&is(e)){var r=ec(e);if(r.position==="fixed")return null}var i=tx(e);for(yk(i)&&(i=i.host);is(i)&&["html","body"].indexOf(au(i))<0;){var o=ec(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _y(e){for(var t=hs(e),n=IO(e);n&&M0e(n)&&ec(n).position==="static";)n=IO(n);return n&&(au(n)==="html"||au(n)==="body"&&ec(n).position==="static")?t:n||I0e(e)||t}function Sk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qv(e,t,n){return jh(e,u5(t,n))}function R0e(e,t,n){var r=qv(e,t,n);return r>n?n:r}function AF(){return{top:0,right:0,bottom:0,left:0}}function OF(e){return Object.assign({},AF(),e)}function MF(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var D0e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,OF(typeof t!="number"?t:MF(t,Cy))};function N0e(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Zl(n.placement),l=Sk(s),u=[Qo,us].indexOf(s)>=0,d=u?"height":"width";if(!(!o||!a)){var h=D0e(i.padding,n),m=bk(o),v=l==="y"?Zo:Qo,b=l==="y"?ls:us,S=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],E=a[l]-n.rects.reference[l],k=_y(o),_=k?l==="y"?k.clientHeight||0:k.clientWidth||0:0,T=S/2-E/2,A=h[v],I=_-m[d]-h[b],R=_/2-m[d]/2+T,D=qv(A,R,I),j=l;n.modifiersData[r]=(t={},t[j]=D,t.centerOffset=D-R,t)}}function j0e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||LF(t.elements.popper,i)&&(t.elements.arrow=i))}const B0e={name:"arrow",enabled:!0,phase:"main",fn:N0e,effect:j0e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ym(e){return e.split("-")[1]}var $0e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F0e(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Gm(t*i)/i||0,y:Gm(n*i)/i||0}}function RO(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,S=b===void 0?0:b,E=typeof d=="function"?d({x:v,y:S}):{x:v,y:S};v=E.x,S=E.y;var k=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),T=Qo,A=Zo,I=window;if(u){var R=_y(n),D="clientHeight",j="clientWidth";if(R===hs(n)&&(R=rf(n),ec(R).position!=="static"&&s==="absolute"&&(D="scrollHeight",j="scrollWidth")),R=R,i===Zo||(i===Qo||i===us)&&o===L2){A=ls;var z=h&&R===I&&I.visualViewport?I.visualViewport.height:R[D];S-=z-r.height,S*=l?1:-1}if(i===Qo||(i===Zo||i===ls)&&o===L2){T=us;var V=h&&R===I&&I.visualViewport?I.visualViewport.width:R[j];v-=V-r.width,v*=l?1:-1}}var K=Object.assign({position:s},u&&$0e),te=d===!0?F0e({x:v,y:S}):{x:v,y:S};if(v=te.x,S=te.y,l){var q;return Object.assign({},K,(q={},q[A]=_?"0":"",q[T]=k?"0":"",q.transform=(I.devicePixelRatio||1)<=1?"translate("+v+"px, "+S+"px)":"translate3d("+v+"px, "+S+"px, 0)",q))}return Object.assign({},K,(t={},t[A]=_?S+"px":"",t[T]=k?v+"px":"",t.transform="",t))}function z0e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Zl(t.placement),variation:Ym(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,RO(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,RO(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const H0e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:z0e,data:{}};var eb={passive:!0};function V0e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=hs(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,eb)}),s&&l.addEventListener("resize",n.update,eb),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,eb)}),s&&l.removeEventListener("resize",n.update,eb)}}const W0e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:V0e,data:{}};var U0e={left:"right",right:"left",bottom:"top",top:"bottom"};function h4(e){return e.replace(/left|right|bottom|top/g,function(t){return U0e[t]})}var G0e={start:"end",end:"start"};function DO(e){return e.replace(/start|end/g,function(t){return G0e[t]})}function xk(e){var t=hs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wk(e){return qm(rf(e)).left+xk(e).scrollLeft}function q0e(e,t){var n=hs(e),r=rf(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=TF();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+wk(e),y:l}}function Y0e(e){var t,n=rf(e),r=xk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=jh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=jh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+wk(e),l=-r.scrollTop;return ec(i||n).direction==="rtl"&&(s+=jh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ck(e){var t=ec(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function IF(e){return["html","body","#document"].indexOf(au(e))>=0?e.ownerDocument.body:is(e)&&Ck(e)?e:IF(tx(e))}function Yv(e,t){var n;t===void 0&&(t=[]);var r=IF(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=hs(r),a=i?[o].concat(o.visualViewport||[],Ck(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Yv(tx(a)))}function U7(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function K0e(e,t){var n=qm(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function NO(e,t,n){return t===EF?U7(q0e(e,n)):Uh(t)?K0e(t,n):U7(Y0e(rf(e)))}function X0e(e){var t=Yv(tx(e)),n=["absolute","fixed"].indexOf(ec(e).position)>=0,r=n&&is(e)?_y(e):e;return Uh(r)?t.filter(function(i){return Uh(i)&&LF(i,r)&&au(i)!=="body"}):[]}function Z0e(e,t,n,r){var i=t==="clippingParents"?X0e(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var d=NO(e,u,r);return l.top=jh(d.top,l.top),l.right=u5(d.right,l.right),l.bottom=u5(d.bottom,l.bottom),l.left=jh(d.left,l.left),l},NO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function RF(e){var t=e.reference,n=e.element,r=e.placement,i=r?Zl(r):null,o=r?Ym(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Zo:l={x:a,y:t.y-n.height};break;case ls:l={x:a,y:t.y+t.height};break;case us:l={x:t.x+t.width,y:s};break;case Qo:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?Sk(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case Um:l[u]=l[u]-(t[d]/2-n[d]/2);break;case L2:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function A2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?v0e:s,u=n.rootBoundary,d=u===void 0?EF:u,h=n.elementContext,m=h===void 0?G1:h,v=n.altBoundary,b=v===void 0?!1:v,S=n.padding,E=S===void 0?0:S,k=OF(typeof E!="number"?E:MF(E,Cy)),_=m===G1?y0e:G1,T=e.rects.popper,A=e.elements[b?_:m],I=Z0e(Uh(A)?A:A.contextElement||rf(e.elements.popper),l,d,a),R=qm(e.elements.reference),D=RF({reference:R,element:T,strategy:"absolute",placement:i}),j=U7(Object.assign({},T,D)),z=m===G1?j:R,V={top:I.top-z.top+k.top,bottom:z.bottom-I.bottom+k.bottom,left:I.left-z.left+k.left,right:z.right-I.right+k.right},K=e.modifiersData.offset;if(m===G1&&K){var te=K[i];Object.keys(V).forEach(function(q){var $=[us,ls].indexOf(q)>=0?1:-1,W=[Zo,ls].indexOf(q)>=0?"y":"x";V[q]+=te[W]*$})}return V}function Q0e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?PF:l,d=Ym(r),h=d?s?MO:MO.filter(function(b){return Ym(b)===d}):Cy,m=h.filter(function(b){return u.indexOf(b)>=0});m.length===0&&(m=h);var v=m.reduce(function(b,S){return b[S]=A2(e,{placement:S,boundary:i,rootBoundary:o,padding:a})[Zl(S)],b},{});return Object.keys(v).sort(function(b,S){return v[b]-v[S]})}function J0e(e){if(Zl(e)===vk)return[];var t=h4(e);return[DO(e),t,DO(t)]}function e1e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,S=n.allowedAutoPlacements,E=t.options.placement,k=Zl(E),_=k===E,T=l||(_||!b?[h4(E)]:J0e(E)),A=[E].concat(T).reduce(function(ye,We){return ye.concat(Zl(We)===vk?Q0e(t,{placement:We,boundary:d,rootBoundary:h,padding:u,flipVariations:b,allowedAutoPlacements:S}):We)},[]),I=t.rects.reference,R=t.rects.popper,D=new Map,j=!0,z=A[0],V=0;V=0,W=$?"width":"height",X=A2(t,{placement:K,boundary:d,rootBoundary:h,altBoundary:m,padding:u}),Z=$?q?us:Qo:q?ls:Zo;I[W]>R[W]&&(Z=h4(Z));var U=h4(Z),Q=[];if(o&&Q.push(X[te]<=0),s&&Q.push(X[Z]<=0,X[U]<=0),Q.every(function(ye){return ye})){z=K,j=!1;break}D.set(K,Q)}if(j)for(var ie=b?3:1,fe=function(We){var De=A.find(function(ot){var He=D.get(ot);if(He)return He.slice(0,We).every(function(Be){return Be})});if(De)return z=De,"break"},Se=ie;Se>0;Se--){var Pe=fe(Se);if(Pe==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const t1e={name:"flip",enabled:!0,phase:"main",fn:e1e,requiresIfExists:["offset"],data:{_skip:!1}};function jO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function BO(e){return[Zo,us,ls,Qo].some(function(t){return e[t]>=0})}function n1e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=A2(t,{elementContext:"reference"}),s=A2(t,{altBoundary:!0}),l=jO(a,r),u=jO(s,i,o),d=BO(l),h=BO(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const r1e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:n1e};function i1e(e,t,n){var r=Zl(e),i=[Qo,Zo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Qo,us].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function o1e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=PF.reduce(function(d,h){return d[h]=i1e(h,t.rects,o),d},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const a1e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o1e};function s1e(e){var t=e.state,n=e.name;t.modifiersData[n]=RF({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const l1e={name:"popperOffsets",enabled:!0,phase:"read",fn:s1e,data:{}};function u1e(e){return e==="x"?"y":"x"}function c1e(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,S=b===void 0?0:b,E=A2(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:d}),k=Zl(t.placement),_=Ym(t.placement),T=!_,A=Sk(k),I=u1e(A),R=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,z=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,V=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,te={x:0,y:0};if(R){if(o){var q,$=A==="y"?Zo:Qo,W=A==="y"?ls:us,X=A==="y"?"height":"width",Z=R[A],U=Z+E[$],Q=Z-E[W],ie=v?-j[X]/2:0,fe=_===Um?D[X]:j[X],Se=_===Um?-j[X]:-D[X],Pe=t.elements.arrow,ye=v&&Pe?bk(Pe):{width:0,height:0},We=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:AF(),De=We[$],ot=We[W],He=qv(0,D[X],ye[X]),Be=T?D[X]/2-ie-He-De-V.mainAxis:fe-He-De-V.mainAxis,wt=T?-D[X]/2+ie+He+ot+V.mainAxis:Se+He+ot+V.mainAxis,st=t.elements.arrow&&_y(t.elements.arrow),mt=st?A==="y"?st.clientTop||0:st.clientLeft||0:0,St=(q=K==null?void 0:K[A])!=null?q:0,Le=Z+Be-St-mt,lt=Z+wt-St,Mt=qv(v?u5(U,Le):U,Z,v?jh(Q,lt):Q);R[A]=Mt,te[A]=Mt-Z}if(s){var ut,_t=A==="x"?Zo:Qo,ln=A==="x"?ls:us,ae=R[I],Re=I==="y"?"height":"width",Ye=ae+E[_t],Ke=ae-E[ln],xe=[Zo,Qo].indexOf(k)!==-1,Ne=(ut=K==null?void 0:K[I])!=null?ut:0,Ct=xe?Ye:ae-D[Re]-j[Re]-Ne+V.altAxis,Dt=xe?ae+D[Re]+j[Re]-Ne-V.altAxis:Ke,Te=v&&xe?R0e(Ct,ae,Dt):qv(v?Ct:Ye,ae,v?Dt:Ke);R[I]=Te,te[I]=Te-ae}t.modifiersData[r]=te}}const d1e={name:"preventOverflow",enabled:!0,phase:"main",fn:c1e,requiresIfExists:["offset"]};function f1e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function h1e(e){return e===hs(e)||!is(e)?xk(e):f1e(e)}function p1e(e){var t=e.getBoundingClientRect(),n=Gm(t.width)/e.offsetWidth||1,r=Gm(t.height)/e.offsetHeight||1;return n!==1||r!==1}function g1e(e,t,n){n===void 0&&(n=!1);var r=is(t),i=is(t)&&p1e(t),o=rf(t),a=qm(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((au(t)!=="body"||Ck(o))&&(s=h1e(t)),is(t)?(l=qm(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=wk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function m1e(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function v1e(e){var t=m1e(e);return T0e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function y1e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function b1e(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var $O={placement:"bottom",modifiers:[],strategy:"absolute"};function FO(){for(var e=arguments.length,t=new Array(e),n=0;n({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),oi={arrowShadowColor:_g("--popper-arrow-shadow-color"),arrowSize:_g("--popper-arrow-size","8px"),arrowSizeHalf:_g("--popper-arrow-size-half"),arrowBg:_g("--popper-arrow-bg"),transformOrigin:_g("--popper-transform-origin"),arrowOffset:_g("--popper-arrow-offset")};function C1e(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var _1e={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},k1e=e=>_1e[e],zO={scroll:!0,resize:!0};function E1e(e){let t;return typeof e=="object"?t={enabled:!0,options:{...zO,...e}}:t={enabled:e,options:zO},t}var P1e={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},T1e={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{HO(e)},effect:({state:e})=>()=>{HO(e)}},HO=e=>{e.elements.popper.style.setProperty(oi.transformOrigin.var,k1e(e.placement))},L1e={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A1e(e)}},A1e=e=>{var t;if(!e.placement)return;const n=O1e(e.placement);if((t=e.elements)!=null&&t.arrow&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:oi.arrowSize.varRef,height:oi.arrowSize.varRef,zIndex:-1});const r={[oi.arrowSizeHalf.var]:`calc(${oi.arrowSize.varRef} / 2)`,[oi.arrowOffset.var]:`calc(${oi.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},O1e=e=>{if(e.startsWith("top"))return{property:"bottom",value:oi.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:oi.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:oi.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:oi.arrowOffset.varRef}},M1e={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{VO(e)},effect:({state:e})=>()=>{VO(e)}},VO=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");t&&Object.assign(t.style,{transform:"rotate(45deg)",background:oi.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:C1e(e.placement)})},I1e={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},R1e={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function D1e(e,t="ltr"){var n;const r=((n=I1e[e])==null?void 0:n[t])||e;return t==="ltr"?r:R1e[e]??r}function DF(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:h=!0,matchWidth:m,direction:v="ltr"}=e,b=w.useRef(null),S=w.useRef(null),E=w.useRef(null),k=D1e(r,v),_=w.useRef(()=>{}),T=w.useCallback(()=>{var V;!t||!b.current||!S.current||((V=_.current)==null||V.call(_),E.current=w1e(b.current,S.current,{placement:k,modifiers:[M1e,L1e,T1e,{...P1e,enabled:!!m},{name:"eventListeners",...E1e(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:d}},...n??[]],strategy:i}),E.current.forceUpdate(),_.current=E.current.destroy)},[k,t,n,m,a,o,s,l,u,h,d,i]);w.useEffect(()=>()=>{var V;!b.current&&!S.current&&((V=E.current)==null||V.destroy(),E.current=null)},[]);const A=w.useCallback(V=>{b.current=V,T()},[T]),I=w.useCallback((V={},K=null)=>({...V,ref:qn(A,K)}),[A]),R=w.useCallback(V=>{S.current=V,T()},[T]),D=w.useCallback((V={},K=null)=>({...V,ref:qn(R,K),style:{...V.style,position:i,minWidth:m?void 0:"max-content",inset:"0 auto auto 0"}}),[i,R,m]),j=w.useCallback((V={},K=null)=>{const{size:te,shadowColor:q,bg:$,style:W,...X}=V;return{...X,ref:K,"data-popper-arrow":"",style:N1e(V)}},[]),z=w.useCallback((V={},K=null)=>({...V,ref:K,"data-popper-arrow-inner":""}),[]);return{update(){var V;(V=E.current)==null||V.update()},forceUpdate(){var V;(V=E.current)==null||V.forceUpdate()},transformOrigin:oi.transformOrigin.varRef,referenceRef:A,popperRef:R,getPopperProps:D,getArrowProps:j,getArrowInnerProps:z,getReferenceProps:I}}function N1e(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function NF(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=Er(n),a=Er(t),[s,l]=w.useState(e.defaultIsOpen||!1),u=r!==void 0?r:s,d=r!==void 0,h=w.useId(),m=i??`disclosure-${h}`,v=w.useCallback(()=>{d||l(!1),a==null||a()},[d,a]),b=w.useCallback(()=>{d||l(!0),o==null||o()},[d,o]),S=w.useCallback(()=>{u?v():b()},[u,b,v]);function E(_={}){return{..._,"aria-expanded":u,"aria-controls":m,onClick(T){var A;(A=_.onClick)==null||A.call(_,T),S()}}}function k(_={}){return{..._,hidden:!u,id:m}}return{isOpen:u,onOpen:b,onClose:v,onToggle:S,isControlled:d,getButtonProps:E,getDisclosureProps:k}}function j1e(e){const{isOpen:t,ref:n}=e,[r,i]=w.useState(t),[o,a]=w.useState(!1);return w.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),Rh(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var l;const u=r0e(n.current),d=new u.CustomEvent("animationend",{bubbles:!0});(l=n.current)==null||l.dispatchEvent(d)}}}function jF(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}var Qs={},B1e={get exports(){return Qs},set exports(e){Qs=e}},Na={},Bh={},$1e={get exports(){return Bh},set exports(e){Bh=e}},BF={};/** + `});function Rh(e,t,n,r){const i=Er(n);return w.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function hme(e){return"current"in e}var nF=()=>typeof window<"u";function pme(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var gme=e=>nF()&&e.test(navigator.vendor),mme=e=>nF()&&e.test(pme()),vme=()=>mme(/mac|iphone|ipad|ipod/i),yme=()=>vme()&&gme(/apple/i);function bme(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o;return((o=t.current)==null?void 0:o.ownerDocument)??document};Rh(i,"pointerdown",o=>{if(!yme()||!r)return;const a=o.target,l=(n??[t]).some(u=>{const d=hme(u)?u.current:u;return(d==null?void 0:d.contains(a))||d===a});i().activeElement!==a&&l&&(o.preventDefault(),a.focus())})}var Sme=cre?w.useLayoutEffect:w.useEffect;function LO(e,t=[]){const n=w.useRef(e);return Sme(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function xme(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function wme(e,t){const n=w.useId();return w.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Wh(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=LO(n),a=LO(t),[s,l]=w.useState(e.defaultIsOpen||!1),[u,d]=xme(r,s),h=wme(i,"disclosure"),m=w.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),v=w.useCallback(()=>{u||l(!0),o==null||o()},[u,o]),b=w.useCallback(()=>{(d?m:v)()},[d,v,m]);return{isOpen:!!d,onOpen:v,onClose:m,onToggle:b,isControlled:u,getButtonProps:(S={})=>({...S,"aria-expanded":d,"aria-controls":h,onClick:dre(S.onClick,b)}),getDisclosureProps:(S={})=>({...S,hidden:!d,id:h})}}function fk(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var hk=Ae(function(t,n){const{htmlSize:r,...i}=t,o=Yi("Input",i),a=En(i),s=sk(a),l=Qr("chakra-input",t.className);return N.createElement(Ce.input,{size:r,...s,__css:o.field,ref:n,className:l})});hk.displayName="Input";hk.id="Input";var[Cme,rF]=Mn({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),_me=Ae(function(t,n){const r=Yi("Input",t),{children:i,className:o,...a}=En(t),s=Qr("chakra-input__group",o),l={},u=XS(i),d=r.field;u.forEach(m=>{r&&(d&&m.type.id==="InputLeftElement"&&(l.paddingStart=d.height??d.h),d&&m.type.id==="InputRightElement"&&(l.paddingEnd=d.height??d.h),m.type.id==="InputRightAddon"&&(l.borderEndRadius=0),m.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const h=u.map(m=>{var v,b;const S=fk({size:((v=m.props)==null?void 0:v.size)||t.size,variant:((b=m.props)==null?void 0:b.variant)||t.variant});return m.type.id!=="Input"?w.cloneElement(m,S):w.cloneElement(m,Object.assign(S,l,m.props))});return N.createElement(Ce.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative"},...a},N.createElement(Cme,{value:r},h))});_me.displayName="InputGroup";var kme={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},Eme=Ce("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),pk=Ae(function(t,n){const{placement:r="left",...i}=t,o=kme[r]??{},a=rF();return N.createElement(Eme,{ref:n,...i,__css:{...a.addon,...o}})});pk.displayName="InputAddon";var iF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"left",...t,className:Qr("chakra-input__left-addon",t.className)})});iF.displayName="InputLeftAddon";iF.id="InputLeftAddon";var oF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"right",...t,className:Qr("chakra-input__right-addon",t.className)})});oF.displayName="InputRightAddon";oF.id="InputRightAddon";var Pme=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),ex=Ae(function(t,n){const{placement:r="left",...i}=t,o=rF(),a=o.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...o.element};return N.createElement(Pme,{ref:n,__css:l,...i})});ex.id="InputElement";ex.displayName="InputElement";var aF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__left-element",r);return N.createElement(ex,{ref:n,placement:"left",className:o,...i})});aF.id="InputLeftElement";aF.displayName="InputLeftElement";var sF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__right-element",r);return N.createElement(ex,{ref:n,placement:"right",className:o,...i})});sF.id="InputRightElement";sF.displayName="InputRightElement";function Tme(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Wd(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):Tme(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}var Lme=Ae(function(e,t){const{ratio:n=4/3,children:r,className:i,...o}=e,a=w.Children.only(r),s=Qr("chakra-aspect-ratio",i);return N.createElement(Ce.div,{ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:Wd(n,l=>`${1/l*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o},a)});Lme.displayName="AspectRatio";var Ame=Ae(function(t,n){const r=Ao("Badge",t),{className:i,...o}=En(t);return N.createElement(Ce.span,{ref:n,className:Qr("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});Ame.displayName="Badge";var ko=Ce("div");ko.displayName="Box";var lF=Ae(function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return N.createElement(ko,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})});lF.displayName="Square";var Ome=Ae(function(t,n){const{size:r,...i}=t;return N.createElement(lF,{size:r,ref:n,borderRadius:"9999px",...i})});Ome.displayName="Circle";var uF=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});uF.displayName="Center";var Mme={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};Ae(function(t,n){const{axis:r="both",...i}=t;return N.createElement(Ce.div,{ref:n,__css:Mme[r],...i,position:"absolute"})});var Ime=Ae(function(t,n){const r=Ao("Code",t),{className:i,...o}=En(t);return N.createElement(Ce.code,{ref:n,className:Qr("chakra-code",t.className),...o,__css:{display:"inline-block",...r}})});Ime.displayName="Code";var Rme=Ae(function(t,n){const{className:r,centerContent:i,...o}=En(t),a=Ao("Container",t);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});Rme.displayName="Container";var Dme=Ae(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:u,...d}=Ao("Divider",t),{className:h,orientation:m="horizontal",__css:v,...b}=En(t),S={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return N.createElement(Ce.hr,{ref:n,"aria-orientation":m,...b,__css:{...d,border:"0",borderColor:u,borderStyle:l,...S[m],...v},className:Qr("chakra-divider",h)})});Dme.displayName="Divider";var Ge=Ae(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:s,grow:l,shrink:u,...d}=t,h={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:u};return N.createElement(Ce.div,{ref:n,__css:h,...d})});Ge.displayName="Flex";var cF=Ae(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:s,row:l,autoFlow:u,autoRows:d,templateRows:h,autoColumns:m,templateColumns:v,...b}=t,S={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:m,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:h,gridTemplateColumns:v};return N.createElement(Ce.div,{ref:n,__css:S,...b})});cF.displayName="Grid";function AO(e){return Wd(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}var Nme=Ae(function(t,n){const{area:r,colSpan:i,colStart:o,colEnd:a,rowEnd:s,rowSpan:l,rowStart:u,...d}=t,h=fk({gridArea:r,gridColumn:AO(i),gridRow:AO(l),gridColumnStart:o,gridColumnEnd:a,gridRowStart:u,gridRowEnd:s});return N.createElement(Ce.div,{ref:n,__css:h,...d})});Nme.displayName="GridItem";var Dh=Ae(function(t,n){const r=Ao("Heading",t),{className:i,...o}=En(t);return N.createElement(Ce.h2,{ref:n,className:Qr("chakra-heading",t.className),...o,__css:r})});Dh.displayName="Heading";Ae(function(t,n){const r=Ao("Mark",t),i=En(t);return N.createElement(ko,{ref:n,...i,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...r}})});var jme=Ae(function(t,n){const r=Ao("Kbd",t),{className:i,...o}=En(t);return N.createElement(Ce.kbd,{ref:n,className:Qr("chakra-kbd",i),...o,__css:{fontFamily:"mono",...r}})});jme.displayName="Kbd";var Nh=Ae(function(t,n){const r=Ao("Link",t),{className:i,isExternal:o,...a}=En(t);return N.createElement(Ce.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Qr("chakra-link",i),...a,__css:r})});Nh.displayName="Link";Ae(function(t,n){const{isExternal:r,target:i,rel:o,className:a,...s}=t;return N.createElement(Ce.a,{...s,ref:n,className:Qr("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":o,target:r?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})});Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.div,{ref:n,position:"relative",...i,className:Qr("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})});var[Bme,dF]=Mn({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),gk=Ae(function(t,n){const r=Yi("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:s,...l}=En(t),u=XS(i),h=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return N.createElement(Bme,{value:r},N.createElement(Ce.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...h},...l},u))});gk.displayName="List";var $me=Ae((e,t)=>{const{as:n,...r}=e;return N.createElement(gk,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});$me.displayName="OrderedList";var Fme=Ae(function(t,n){const{as:r,...i}=t;return N.createElement(gk,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});Fme.displayName="UnorderedList";var zme=Ae(function(t,n){const r=dF();return N.createElement(Ce.li,{ref:n,...t,__css:r.item})});zme.displayName="ListItem";var Hme=Ae(function(t,n){const r=dF();return N.createElement(Da,{ref:n,role:"presentation",...t,__css:r.icon})});Hme.displayName="ListIcon";var Vme=Ae(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:s,...l}=t,u=h0(),d=s?Ume(s,u):Gme(r);return N.createElement(cF,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:d,...l})});Vme.displayName="SimpleGrid";function Wme(e){return typeof e=="number"?`${e}px`:e}function Ume(e,t){return Wd(e,n=>{const r=Gue("sizes",n,Wme(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function Gme(e){return Wd(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var fF=Ce("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});fF.displayName="Spacer";var V7="& > *:not(style) ~ *:not(style)";function qme(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[V7]:Wd(n,i=>r[i])}}function Yme(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Wd(n,i=>r[i])}}var hF=e=>N.createElement(Ce.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});hF.displayName="StackItem";var mk=Ae((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:s,children:l,divider:u,className:d,shouldWrapChildren:h,...m}=e,v=n?"row":r??"column",b=w.useMemo(()=>qme({direction:v,spacing:a}),[v,a]),S=w.useMemo(()=>Yme({spacing:a,direction:v}),[a,v]),k=!!u,E=!h&&!k,_=w.useMemo(()=>{const A=XS(l);return E?A:A.map((I,R)=>{const D=typeof I.key<"u"?I.key:R,j=R+1===A.length,V=h?N.createElement(hF,{key:D},I):I;if(!k)return V;const K=w.cloneElement(u,{__css:S}),te=j?null:K;return N.createElement(w.Fragment,{key:D},V,te)})},[u,S,k,E,h,l]),T=Qr("chakra-stack",d);return N.createElement(Ce.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:b.flexDirection,flexWrap:s,className:T,__css:k?{}:{[V7]:b[V7]},...m},_)});mk.displayName="Stack";var wy=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"row",ref:t}));wy.displayName="HStack";var yn=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"column",ref:t}));yn.displayName="VStack";var fn=Ae(function(t,n){const r=Ao("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=En(t),u=fk({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return N.createElement(Ce.p,{ref:n,className:Qr("chakra-text",t.className),...u,...l,__css:r})});fn.displayName="Text";function OO(e){return typeof e=="number"?`${e}px`:e}var Kme=Ae(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:s,direction:l,align:u,className:d,shouldWrapChildren:h,...m}=t,v=w.useMemo(()=>{const{spacingX:S=r,spacingY:k=r}={spacingX:i,spacingY:o};return{"--chakra-wrap-x-spacing":E=>Wd(S,_=>OO(ZC("space",_)(E))),"--chakra-wrap-y-spacing":E=>Wd(k,_=>OO(ZC("space",_)(E))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:u,flexDirection:l,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[r,i,o,s,u,l]),b=w.useMemo(()=>h?w.Children.map(a,(S,k)=>N.createElement(pF,{key:k},S)):a,[a,h]);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-wrap",d),overflow:"hidden",...m},N.createElement(Ce.ul,{className:"chakra-wrap__list",__css:v},b))});Kme.displayName="Wrap";var pF=Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Qr("chakra-wrap__listitem",r),...i})});pF.displayName="WrapItem";var Xme={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},gF=Xme,Cg=()=>{},Zme={document:gF,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Cg,removeEventListener:Cg,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:Cg,removeListener:Cg}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)},setTimeout:()=>0,clearTimeout:Cg,setInterval:()=>0,clearInterval:Cg},Qme=Zme,Jme={window:Qme,document:gF},mF=typeof window<"u"?{window,document}:Jme,vF=w.createContext(mF);vF.displayName="EnvironmentContext";function yF(e){const{children:t,environment:n}=e,[r,i]=w.useState(null),[o,a]=w.useState(!1);w.useEffect(()=>a(!0),[]);const s=w.useMemo(()=>{if(n)return n;const l=r==null?void 0:r.ownerDocument,u=r==null?void 0:r.ownerDocument.defaultView;return l?{document:l,window:u}:mF},[r,n]);return N.createElement(vF.Provider,{value:s},t,!n&&o&&N.createElement("span",{id:"__chakra_env",hidden:!0,ref:l=>{w.startTransition(()=>{l&&i(l)})}}))}yF.displayName="EnvironmentProvider";var e0e=e=>e?"":void 0;function t0e(){const e=w.useRef(new Map),t=e.current,n=w.useCallback((i,o,a,s)=>{e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),r=w.useCallback((i,o,a,s)=>{i.removeEventListener(o,a,s),e.current.delete(a)},[]);return w.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function _6(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function n0e(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:u,onKeyUp:d,tabIndex:h,onMouseOver:m,onMouseLeave:v,...b}=e,[S,k]=w.useState(!0),[E,_]=w.useState(!1),T=t0e(),A=Z=>{Z&&Z.tagName!=="BUTTON"&&k(!1)},I=S?h:h||0,R=n&&!r,D=w.useCallback(Z=>{if(n){Z.stopPropagation(),Z.preventDefault();return}Z.currentTarget.focus(),l==null||l(Z)},[n,l]),j=w.useCallback(Z=>{E&&_6(Z)&&(Z.preventDefault(),Z.stopPropagation(),_(!1),T.remove(document,"keyup",j,!1))},[E,T]),z=w.useCallback(Z=>{if(u==null||u(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;const W=i&&Z.key==="Enter";o&&Z.key===" "&&(Z.preventDefault(),_(!0)),W&&(Z.preventDefault(),Z.currentTarget.click()),T.add(document,"keyup",j,!1)},[n,S,u,i,o,T,j]),V=w.useCallback(Z=>{if(d==null||d(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;o&&Z.key===" "&&(Z.preventDefault(),_(!1),Z.currentTarget.click())},[o,S,n,d]),K=w.useCallback(Z=>{Z.button===0&&(_(!1),T.remove(document,"mouseup",K,!1))},[T]),te=w.useCallback(Z=>{if(Z.button!==0)return;if(n){Z.stopPropagation(),Z.preventDefault();return}S||_(!0),Z.currentTarget.focus({preventScroll:!0}),T.add(document,"mouseup",K,!1),a==null||a(Z)},[n,S,a,T,K]),q=w.useCallback(Z=>{Z.button===0&&(S||_(!1),s==null||s(Z))},[s,S]),$=w.useCallback(Z=>{if(n){Z.preventDefault();return}m==null||m(Z)},[n,m]),U=w.useCallback(Z=>{E&&(Z.preventDefault(),_(!1)),v==null||v(Z)},[E,v]),X=qn(t,A);return S?{...b,ref:X,type:"button","aria-disabled":R?void 0:n,disabled:R,onClick:D,onMouseDown:a,onMouseUp:s,onKeyUp:d,onKeyDown:u,onMouseOver:m,onMouseLeave:v}:{...b,ref:X,role:"button","data-active":e0e(E),"aria-disabled":n?"true":void 0,tabIndex:R?void 0:I,onClick:D,onMouseDown:te,onMouseUp:q,onKeyUp:V,onKeyDown:z,onMouseOver:$,onMouseLeave:U}}function bF(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function SF(e){if(!bF(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function r0e(e){var t;return((t=xF(e))==null?void 0:t.defaultView)??window}function xF(e){return bF(e)?e.ownerDocument:document}function i0e(e){return xF(e).activeElement}var wF=e=>e.hasAttribute("tabindex"),o0e=e=>wF(e)&&e.tabIndex===-1;function a0e(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function CF(e){return e.parentElement&&CF(e.parentElement)?!0:e.hidden}function s0e(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function _F(e){if(!SF(e)||CF(e)||a0e(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():s0e(e)?!0:wF(e)}function l0e(e){return e?SF(e)&&_F(e)&&!o0e(e):!1}var u0e=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],c0e=u0e.join(),d0e=e=>e.offsetWidth>0&&e.offsetHeight>0;function kF(e){const t=Array.from(e.querySelectorAll(c0e));return t.unshift(e),t.filter(n=>_F(n)&&d0e(n))}function f0e(e){const t=e.current;if(!t)return!1;const n=i0e(t);return!n||t.contains(n)?!1:!!l0e(n)}function h0e(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;Vd(()=>{if(!o||f0e(e))return;const a=(i==null?void 0:i.current)||e.current;a&&requestAnimationFrame(()=>{a.focus()})},[o,e,i])}var p0e={preventScroll:!0,shouldFocus:!1};function g0e(e,t=p0e){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:o}=t,a=m0e(e)?e.current:e,s=i&&o,l=w.useRef(s),u=w.useRef(o);Ws(()=>{!u.current&&o&&(l.current=s),u.current=o},[o,s]);const d=w.useCallback(()=>{if(!(!o||!a||!l.current)&&(l.current=!1,!a.contains(document.activeElement)))if(n!=null&&n.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:r})});else{const h=kF(a);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:r})})}},[o,r,a,n]);Vd(()=>{d()},[d]),Rh(a,"transitionend",d)}function m0e(e){return"current"in e}var Zo="top",ls="bottom",us="right",Qo="left",vk="auto",Cy=[Zo,ls,us,Qo],Um="start",L2="end",v0e="clippingParents",EF="viewport",G1="popper",y0e="reference",MO=Cy.reduce(function(e,t){return e.concat([t+"-"+Um,t+"-"+L2])},[]),PF=[].concat(Cy,[vk]).reduce(function(e,t){return e.concat([t,t+"-"+Um,t+"-"+L2])},[]),b0e="beforeRead",S0e="read",x0e="afterRead",w0e="beforeMain",C0e="main",_0e="afterMain",k0e="beforeWrite",E0e="write",P0e="afterWrite",T0e=[b0e,S0e,x0e,w0e,C0e,_0e,k0e,E0e,P0e];function au(e){return e?(e.nodeName||"").toLowerCase():null}function hs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uh(e){var t=hs(e).Element;return e instanceof t||e instanceof Element}function is(e){var t=hs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yk(e){if(typeof ShadowRoot>"u")return!1;var t=hs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L0e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!is(o)||!au(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function A0e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!is(i)||!au(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const O0e={name:"applyStyles",enabled:!0,phase:"write",fn:L0e,effect:A0e,requires:["computeStyles"]};function Zl(e){return e.split("-")[0]}var jh=Math.max,u5=Math.min,Gm=Math.round;function W7(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function TF(){return!/^((?!chrome|android).)*safari/i.test(W7())}function qm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&is(e)&&(i=e.offsetWidth>0&&Gm(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Gm(r.height)/e.offsetHeight||1);var a=Uh(e)?hs(e):window,s=a.visualViewport,l=!TF()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,h=r.width/i,m=r.height/o;return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function bk(e){var t=qm(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function LF(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ec(e){return hs(e).getComputedStyle(e)}function M0e(e){return["table","td","th"].indexOf(au(e))>=0}function rf(e){return((Uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function tx(e){return au(e)==="html"?e:e.assignedSlot||e.parentNode||(yk(e)?e.host:null)||rf(e)}function IO(e){return!is(e)||ec(e).position==="fixed"?null:e.offsetParent}function I0e(e){var t=/firefox/i.test(W7()),n=/Trident/i.test(W7());if(n&&is(e)){var r=ec(e);if(r.position==="fixed")return null}var i=tx(e);for(yk(i)&&(i=i.host);is(i)&&["html","body"].indexOf(au(i))<0;){var o=ec(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _y(e){for(var t=hs(e),n=IO(e);n&&M0e(n)&&ec(n).position==="static";)n=IO(n);return n&&(au(n)==="html"||au(n)==="body"&&ec(n).position==="static")?t:n||I0e(e)||t}function Sk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qv(e,t,n){return jh(e,u5(t,n))}function R0e(e,t,n){var r=qv(e,t,n);return r>n?n:r}function AF(){return{top:0,right:0,bottom:0,left:0}}function OF(e){return Object.assign({},AF(),e)}function MF(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var D0e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,OF(typeof t!="number"?t:MF(t,Cy))};function N0e(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Zl(n.placement),l=Sk(s),u=[Qo,us].indexOf(s)>=0,d=u?"height":"width";if(!(!o||!a)){var h=D0e(i.padding,n),m=bk(o),v=l==="y"?Zo:Qo,b=l==="y"?ls:us,S=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],k=a[l]-n.rects.reference[l],E=_y(o),_=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,T=S/2-k/2,A=h[v],I=_-m[d]-h[b],R=_/2-m[d]/2+T,D=qv(A,R,I),j=l;n.modifiersData[r]=(t={},t[j]=D,t.centerOffset=D-R,t)}}function j0e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||LF(t.elements.popper,i)&&(t.elements.arrow=i))}const B0e={name:"arrow",enabled:!0,phase:"main",fn:N0e,effect:j0e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ym(e){return e.split("-")[1]}var $0e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F0e(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Gm(t*i)/i||0,y:Gm(n*i)/i||0}}function RO(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,S=b===void 0?0:b,k=typeof d=="function"?d({x:v,y:S}):{x:v,y:S};v=k.x,S=k.y;var E=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),T=Qo,A=Zo,I=window;if(u){var R=_y(n),D="clientHeight",j="clientWidth";if(R===hs(n)&&(R=rf(n),ec(R).position!=="static"&&s==="absolute"&&(D="scrollHeight",j="scrollWidth")),R=R,i===Zo||(i===Qo||i===us)&&o===L2){A=ls;var z=h&&R===I&&I.visualViewport?I.visualViewport.height:R[D];S-=z-r.height,S*=l?1:-1}if(i===Qo||(i===Zo||i===ls)&&o===L2){T=us;var V=h&&R===I&&I.visualViewport?I.visualViewport.width:R[j];v-=V-r.width,v*=l?1:-1}}var K=Object.assign({position:s},u&&$0e),te=d===!0?F0e({x:v,y:S}):{x:v,y:S};if(v=te.x,S=te.y,l){var q;return Object.assign({},K,(q={},q[A]=_?"0":"",q[T]=E?"0":"",q.transform=(I.devicePixelRatio||1)<=1?"translate("+v+"px, "+S+"px)":"translate3d("+v+"px, "+S+"px, 0)",q))}return Object.assign({},K,(t={},t[A]=_?S+"px":"",t[T]=E?v+"px":"",t.transform="",t))}function z0e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Zl(t.placement),variation:Ym(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,RO(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,RO(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const H0e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:z0e,data:{}};var eb={passive:!0};function V0e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=hs(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,eb)}),s&&l.addEventListener("resize",n.update,eb),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,eb)}),s&&l.removeEventListener("resize",n.update,eb)}}const W0e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:V0e,data:{}};var U0e={left:"right",right:"left",bottom:"top",top:"bottom"};function h4(e){return e.replace(/left|right|bottom|top/g,function(t){return U0e[t]})}var G0e={start:"end",end:"start"};function DO(e){return e.replace(/start|end/g,function(t){return G0e[t]})}function xk(e){var t=hs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wk(e){return qm(rf(e)).left+xk(e).scrollLeft}function q0e(e,t){var n=hs(e),r=rf(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=TF();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+wk(e),y:l}}function Y0e(e){var t,n=rf(e),r=xk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=jh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=jh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+wk(e),l=-r.scrollTop;return ec(i||n).direction==="rtl"&&(s+=jh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ck(e){var t=ec(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function IF(e){return["html","body","#document"].indexOf(au(e))>=0?e.ownerDocument.body:is(e)&&Ck(e)?e:IF(tx(e))}function Yv(e,t){var n;t===void 0&&(t=[]);var r=IF(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=hs(r),a=i?[o].concat(o.visualViewport||[],Ck(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Yv(tx(a)))}function U7(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function K0e(e,t){var n=qm(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function NO(e,t,n){return t===EF?U7(q0e(e,n)):Uh(t)?K0e(t,n):U7(Y0e(rf(e)))}function X0e(e){var t=Yv(tx(e)),n=["absolute","fixed"].indexOf(ec(e).position)>=0,r=n&&is(e)?_y(e):e;return Uh(r)?t.filter(function(i){return Uh(i)&&LF(i,r)&&au(i)!=="body"}):[]}function Z0e(e,t,n,r){var i=t==="clippingParents"?X0e(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var d=NO(e,u,r);return l.top=jh(d.top,l.top),l.right=u5(d.right,l.right),l.bottom=u5(d.bottom,l.bottom),l.left=jh(d.left,l.left),l},NO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function RF(e){var t=e.reference,n=e.element,r=e.placement,i=r?Zl(r):null,o=r?Ym(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Zo:l={x:a,y:t.y-n.height};break;case ls:l={x:a,y:t.y+t.height};break;case us:l={x:t.x+t.width,y:s};break;case Qo:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?Sk(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case Um:l[u]=l[u]-(t[d]/2-n[d]/2);break;case L2:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function A2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?v0e:s,u=n.rootBoundary,d=u===void 0?EF:u,h=n.elementContext,m=h===void 0?G1:h,v=n.altBoundary,b=v===void 0?!1:v,S=n.padding,k=S===void 0?0:S,E=OF(typeof k!="number"?k:MF(k,Cy)),_=m===G1?y0e:G1,T=e.rects.popper,A=e.elements[b?_:m],I=Z0e(Uh(A)?A:A.contextElement||rf(e.elements.popper),l,d,a),R=qm(e.elements.reference),D=RF({reference:R,element:T,strategy:"absolute",placement:i}),j=U7(Object.assign({},T,D)),z=m===G1?j:R,V={top:I.top-z.top+E.top,bottom:z.bottom-I.bottom+E.bottom,left:I.left-z.left+E.left,right:z.right-I.right+E.right},K=e.modifiersData.offset;if(m===G1&&K){var te=K[i];Object.keys(V).forEach(function(q){var $=[us,ls].indexOf(q)>=0?1:-1,U=[Zo,ls].indexOf(q)>=0?"y":"x";V[q]+=te[U]*$})}return V}function Q0e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?PF:l,d=Ym(r),h=d?s?MO:MO.filter(function(b){return Ym(b)===d}):Cy,m=h.filter(function(b){return u.indexOf(b)>=0});m.length===0&&(m=h);var v=m.reduce(function(b,S){return b[S]=A2(e,{placement:S,boundary:i,rootBoundary:o,padding:a})[Zl(S)],b},{});return Object.keys(v).sort(function(b,S){return v[b]-v[S]})}function J0e(e){if(Zl(e)===vk)return[];var t=h4(e);return[DO(e),t,DO(t)]}function e1e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,S=n.allowedAutoPlacements,k=t.options.placement,E=Zl(k),_=E===k,T=l||(_||!b?[h4(k)]:J0e(k)),A=[k].concat(T).reduce(function(ye,We){return ye.concat(Zl(We)===vk?Q0e(t,{placement:We,boundary:d,rootBoundary:h,padding:u,flipVariations:b,allowedAutoPlacements:S}):We)},[]),I=t.rects.reference,R=t.rects.popper,D=new Map,j=!0,z=A[0],V=0;V=0,U=$?"width":"height",X=A2(t,{placement:K,boundary:d,rootBoundary:h,altBoundary:m,padding:u}),Z=$?q?us:Qo:q?ls:Zo;I[U]>R[U]&&(Z=h4(Z));var W=h4(Z),Q=[];if(o&&Q.push(X[te]<=0),s&&Q.push(X[Z]<=0,X[W]<=0),Q.every(function(ye){return ye})){z=K,j=!1;break}D.set(K,Q)}if(j)for(var ie=b?3:1,fe=function(We){var De=A.find(function(ot){var He=D.get(ot);if(He)return He.slice(0,We).every(function(Be){return Be})});if(De)return z=De,"break"},Se=ie;Se>0;Se--){var Pe=fe(Se);if(Pe==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const t1e={name:"flip",enabled:!0,phase:"main",fn:e1e,requiresIfExists:["offset"],data:{_skip:!1}};function jO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function BO(e){return[Zo,us,ls,Qo].some(function(t){return e[t]>=0})}function n1e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=A2(t,{elementContext:"reference"}),s=A2(t,{altBoundary:!0}),l=jO(a,r),u=jO(s,i,o),d=BO(l),h=BO(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const r1e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:n1e};function i1e(e,t,n){var r=Zl(e),i=[Qo,Zo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Qo,us].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function o1e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=PF.reduce(function(d,h){return d[h]=i1e(h,t.rects,o),d},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const a1e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o1e};function s1e(e){var t=e.state,n=e.name;t.modifiersData[n]=RF({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const l1e={name:"popperOffsets",enabled:!0,phase:"read",fn:s1e,data:{}};function u1e(e){return e==="x"?"y":"x"}function c1e(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,S=b===void 0?0:b,k=A2(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:d}),E=Zl(t.placement),_=Ym(t.placement),T=!_,A=Sk(E),I=u1e(A),R=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,z=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,V=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,te={x:0,y:0};if(R){if(o){var q,$=A==="y"?Zo:Qo,U=A==="y"?ls:us,X=A==="y"?"height":"width",Z=R[A],W=Z+k[$],Q=Z-k[U],ie=v?-j[X]/2:0,fe=_===Um?D[X]:j[X],Se=_===Um?-j[X]:-D[X],Pe=t.elements.arrow,ye=v&&Pe?bk(Pe):{width:0,height:0},We=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:AF(),De=We[$],ot=We[U],He=qv(0,D[X],ye[X]),Be=T?D[X]/2-ie-He-De-V.mainAxis:fe-He-De-V.mainAxis,wt=T?-D[X]/2+ie+He+ot+V.mainAxis:Se+He+ot+V.mainAxis,st=t.elements.arrow&&_y(t.elements.arrow),mt=st?A==="y"?st.clientTop||0:st.clientLeft||0:0,St=(q=K==null?void 0:K[A])!=null?q:0,Le=Z+Be-St-mt,lt=Z+wt-St,Mt=qv(v?u5(W,Le):W,Z,v?jh(Q,lt):Q);R[A]=Mt,te[A]=Mt-Z}if(s){var ut,_t=A==="x"?Zo:Qo,ln=A==="x"?ls:us,ae=R[I],Re=I==="y"?"height":"width",Ye=ae+k[_t],Ke=ae-k[ln],xe=[Zo,Qo].indexOf(E)!==-1,Ne=(ut=K==null?void 0:K[I])!=null?ut:0,Ct=xe?Ye:ae-D[Re]-j[Re]-Ne+V.altAxis,Dt=xe?ae+D[Re]+j[Re]-Ne-V.altAxis:Ke,Te=v&&xe?R0e(Ct,ae,Dt):qv(v?Ct:Ye,ae,v?Dt:Ke);R[I]=Te,te[I]=Te-ae}t.modifiersData[r]=te}}const d1e={name:"preventOverflow",enabled:!0,phase:"main",fn:c1e,requiresIfExists:["offset"]};function f1e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function h1e(e){return e===hs(e)||!is(e)?xk(e):f1e(e)}function p1e(e){var t=e.getBoundingClientRect(),n=Gm(t.width)/e.offsetWidth||1,r=Gm(t.height)/e.offsetHeight||1;return n!==1||r!==1}function g1e(e,t,n){n===void 0&&(n=!1);var r=is(t),i=is(t)&&p1e(t),o=rf(t),a=qm(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((au(t)!=="body"||Ck(o))&&(s=h1e(t)),is(t)?(l=qm(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=wk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function m1e(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function v1e(e){var t=m1e(e);return T0e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function y1e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function b1e(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var $O={placement:"bottom",modifiers:[],strategy:"absolute"};function FO(){for(var e=arguments.length,t=new Array(e),n=0;n({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),oi={arrowShadowColor:_g("--popper-arrow-shadow-color"),arrowSize:_g("--popper-arrow-size","8px"),arrowSizeHalf:_g("--popper-arrow-size-half"),arrowBg:_g("--popper-arrow-bg"),transformOrigin:_g("--popper-transform-origin"),arrowOffset:_g("--popper-arrow-offset")};function C1e(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var _1e={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},k1e=e=>_1e[e],zO={scroll:!0,resize:!0};function E1e(e){let t;return typeof e=="object"?t={enabled:!0,options:{...zO,...e}}:t={enabled:e,options:zO},t}var P1e={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},T1e={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{HO(e)},effect:({state:e})=>()=>{HO(e)}},HO=e=>{e.elements.popper.style.setProperty(oi.transformOrigin.var,k1e(e.placement))},L1e={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A1e(e)}},A1e=e=>{var t;if(!e.placement)return;const n=O1e(e.placement);if((t=e.elements)!=null&&t.arrow&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:oi.arrowSize.varRef,height:oi.arrowSize.varRef,zIndex:-1});const r={[oi.arrowSizeHalf.var]:`calc(${oi.arrowSize.varRef} / 2)`,[oi.arrowOffset.var]:`calc(${oi.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},O1e=e=>{if(e.startsWith("top"))return{property:"bottom",value:oi.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:oi.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:oi.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:oi.arrowOffset.varRef}},M1e={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{VO(e)},effect:({state:e})=>()=>{VO(e)}},VO=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");t&&Object.assign(t.style,{transform:"rotate(45deg)",background:oi.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:C1e(e.placement)})},I1e={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},R1e={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function D1e(e,t="ltr"){var n;const r=((n=I1e[e])==null?void 0:n[t])||e;return t==="ltr"?r:R1e[e]??r}function DF(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:h=!0,matchWidth:m,direction:v="ltr"}=e,b=w.useRef(null),S=w.useRef(null),k=w.useRef(null),E=D1e(r,v),_=w.useRef(()=>{}),T=w.useCallback(()=>{var V;!t||!b.current||!S.current||((V=_.current)==null||V.call(_),k.current=w1e(b.current,S.current,{placement:E,modifiers:[M1e,L1e,T1e,{...P1e,enabled:!!m},{name:"eventListeners",...E1e(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:d}},...n??[]],strategy:i}),k.current.forceUpdate(),_.current=k.current.destroy)},[E,t,n,m,a,o,s,l,u,h,d,i]);w.useEffect(()=>()=>{var V;!b.current&&!S.current&&((V=k.current)==null||V.destroy(),k.current=null)},[]);const A=w.useCallback(V=>{b.current=V,T()},[T]),I=w.useCallback((V={},K=null)=>({...V,ref:qn(A,K)}),[A]),R=w.useCallback(V=>{S.current=V,T()},[T]),D=w.useCallback((V={},K=null)=>({...V,ref:qn(R,K),style:{...V.style,position:i,minWidth:m?void 0:"max-content",inset:"0 auto auto 0"}}),[i,R,m]),j=w.useCallback((V={},K=null)=>{const{size:te,shadowColor:q,bg:$,style:U,...X}=V;return{...X,ref:K,"data-popper-arrow":"",style:N1e(V)}},[]),z=w.useCallback((V={},K=null)=>({...V,ref:K,"data-popper-arrow-inner":""}),[]);return{update(){var V;(V=k.current)==null||V.update()},forceUpdate(){var V;(V=k.current)==null||V.forceUpdate()},transformOrigin:oi.transformOrigin.varRef,referenceRef:A,popperRef:R,getPopperProps:D,getArrowProps:j,getArrowInnerProps:z,getReferenceProps:I}}function N1e(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function NF(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=Er(n),a=Er(t),[s,l]=w.useState(e.defaultIsOpen||!1),u=r!==void 0?r:s,d=r!==void 0,h=w.useId(),m=i??`disclosure-${h}`,v=w.useCallback(()=>{d||l(!1),a==null||a()},[d,a]),b=w.useCallback(()=>{d||l(!0),o==null||o()},[d,o]),S=w.useCallback(()=>{u?v():b()},[u,b,v]);function k(_={}){return{..._,"aria-expanded":u,"aria-controls":m,onClick(T){var A;(A=_.onClick)==null||A.call(_,T),S()}}}function E(_={}){return{..._,hidden:!u,id:m}}return{isOpen:u,onOpen:b,onClose:v,onToggle:S,isControlled:d,getButtonProps:k,getDisclosureProps:E}}function j1e(e){const{isOpen:t,ref:n}=e,[r,i]=w.useState(t),[o,a]=w.useState(!1);return w.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),Rh(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var l;const u=r0e(n.current),d=new u.CustomEvent("animationend",{bubbles:!0});(l=n.current)==null||l.dispatchEvent(d)}}}function jF(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}var Qs={},B1e={get exports(){return Qs},set exports(e){Qs=e}},Na={},Bh={},$1e={get exports(){return Bh},set exports(e){Bh=e}},BF={};/** * @license React * scheduler.production.min.js * @@ -352,7 +352,7 @@ var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,con * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(U,Q){var ie=U.length;U.push(Q);e:for(;0>>1,Se=U[fe];if(0>>1;fei(We,ie))Dei(ot,We)?(U[fe]=ot,U[De]=ie,fe=De):(U[fe]=We,U[ye]=ie,fe=ye);else if(Dei(ot,ie))U[fe]=ot,U[De]=ie,fe=De;else break e}}return Q}function i(U,Q){var ie=U.sortIndex-Q.sortIndex;return ie!==0?ie:U.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],d=1,h=null,m=3,v=!1,b=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(U){for(var Q=n(u);Q!==null;){if(Q.callback===null)r(u);else if(Q.startTime<=U)r(u),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(u)}}function A(U){if(S=!1,T(U),!b)if(n(l)!==null)b=!0,X(I);else{var Q=n(u);Q!==null&&Z(A,Q.startTime-U)}}function I(U,Q){b=!1,S&&(S=!1,k(j),j=-1),v=!0;var ie=m;try{for(T(Q),h=n(l);h!==null&&(!(h.expirationTime>Q)||U&&!K());){var fe=h.callback;if(typeof fe=="function"){h.callback=null,m=h.priorityLevel;var Se=fe(h.expirationTime<=Q);Q=e.unstable_now(),typeof Se=="function"?h.callback=Se:h===n(l)&&r(l),T(Q)}else r(l);h=n(l)}if(h!==null)var Pe=!0;else{var ye=n(u);ye!==null&&Z(A,ye.startTime-Q),Pe=!1}return Pe}finally{h=null,m=ie,v=!1}}var R=!1,D=null,j=-1,z=5,V=-1;function K(){return!(e.unstable_now()-VU||125fe?(U.sortIndex=ie,t(u,U),n(l)===null&&U===n(u)&&(S?(k(j),j=-1):S=!0,Z(A,ie-fe))):(U.sortIndex=Se,t(l,U),b||v||(b=!0,X(I))),U},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(U){var Q=m;return function(){var ie=m;m=Q;try{return U.apply(this,arguments)}finally{m=ie}}}})(BF);(function(e){e.exports=BF})($1e);/** + */(function(e){function t(W,Q){var ie=W.length;W.push(Q);e:for(;0>>1,Se=W[fe];if(0>>1;fei(We,ie))Dei(ot,We)?(W[fe]=ot,W[De]=ie,fe=De):(W[fe]=We,W[ye]=ie,fe=ye);else if(Dei(ot,ie))W[fe]=ot,W[De]=ie,fe=De;else break e}}return Q}function i(W,Q){var ie=W.sortIndex-Q.sortIndex;return ie!==0?ie:W.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],d=1,h=null,m=3,v=!1,b=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(W){for(var Q=n(u);Q!==null;){if(Q.callback===null)r(u);else if(Q.startTime<=W)r(u),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(u)}}function A(W){if(S=!1,T(W),!b)if(n(l)!==null)b=!0,X(I);else{var Q=n(u);Q!==null&&Z(A,Q.startTime-W)}}function I(W,Q){b=!1,S&&(S=!1,E(j),j=-1),v=!0;var ie=m;try{for(T(Q),h=n(l);h!==null&&(!(h.expirationTime>Q)||W&&!K());){var fe=h.callback;if(typeof fe=="function"){h.callback=null,m=h.priorityLevel;var Se=fe(h.expirationTime<=Q);Q=e.unstable_now(),typeof Se=="function"?h.callback=Se:h===n(l)&&r(l),T(Q)}else r(l);h=n(l)}if(h!==null)var Pe=!0;else{var ye=n(u);ye!==null&&Z(A,ye.startTime-Q),Pe=!1}return Pe}finally{h=null,m=ie,v=!1}}var R=!1,D=null,j=-1,z=5,V=-1;function K(){return!(e.unstable_now()-VW||125fe?(W.sortIndex=ie,t(u,W),n(l)===null&&W===n(u)&&(S?(E(j),j=-1):S=!0,Z(A,ie-fe))):(W.sortIndex=Se,t(l,W),b||v||(b=!0,X(I))),W},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(W){var Q=m;return function(){var ie=m;m=Q;try{return W.apply(this,arguments)}finally{m=ie}}}})(BF);(function(e){e.exports=BF})($1e);/** * @license React * react-dom.production.min.js * @@ -364,10 +364,10 @@ var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,con `+k6+e}var E6=!1;function P6(e,t){if(!e||E6)return"";E6=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` `),o=r.stack.split(` `),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var l=` -`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{E6=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yv(e):""}function W1e(e){switch(e.tag){case 5:return yv(e.type);case 16:return yv("Lazy");case 13:return yv("Suspense");case 19:return yv("SuspenseList");case 0:case 2:case 15:return e=P6(e.type,!1),e;case 11:return e=P6(e.type.render,!1),e;case 1:return e=P6(e.type,!0),e;default:return""}}function X7(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kg:return"Fragment";case Yg:return"Portal";case q7:return"Profiler";case Pk:return"StrictMode";case Y7:return"Suspense";case K7:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case HF:return(e.displayName||"Context")+".Consumer";case zF:return(e._context.displayName||"Context")+".Provider";case Tk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lk:return t=e.displayName||null,t!==null?t:X7(e.type)||"Memo";case pd:t=e._payload,e=e._init;try{return X7(e(t))}catch{}}return null}function U1e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X7(t);case 8:return t===Pk?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ud(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function WF(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function G1e(e){var t=WF(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nb(e){e._valueTracker||(e._valueTracker=G1e(e))}function UF(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=WF(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function c5(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Z7(e,t){var n=t.checked;return Tr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qO(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ud(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function GF(e,t){t=t.checked,t!=null&&Ek(e,"checked",t,!1)}function Q7(e,t){GF(e,t);var n=Ud(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?J7(e,t.type,n):t.hasOwnProperty("defaultValue")&&J7(e,t.type,Ud(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YO(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function J7(e,t,n){(t!=="number"||c5(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bv=Array.isArray;function _m(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=rb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function M2(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kv={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q1e=["Webkit","ms","Moz","O"];Object.keys(Kv).forEach(function(e){q1e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kv[t]=Kv[e]})});function XF(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kv.hasOwnProperty(e)&&Kv[e]?(""+t).trim():t+"px"}function ZF(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=XF(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Y1e=Tr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function n9(e,t){if(t){if(Y1e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Fe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Fe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Fe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Fe(62))}}function r9(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var i9=null;function Ak(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var o9=null,km=null,Em=null;function ZO(e){if(e=Py(e)){if(typeof o9!="function")throw Error(Fe(280));var t=e.stateNode;t&&(t=ax(t),o9(e.stateNode,e.type,t))}}function QF(e){km?Em?Em.push(e):Em=[e]:km=e}function JF(){if(km){var e=km,t=Em;if(Em=km=null,ZO(e),t)for(e=0;e>>=0,e===0?32:31-(ove(e)/ave|0)|0}var ib=64,ob=4194304;function Sv(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function p5(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Sv(s):(o&=a,o!==0&&(r=Sv(o)))}else a=n&~i,a!==0?r=Sv(a):o!==0&&(r=Sv(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ky(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ys(t),e[t]=n}function cve(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zv),aM=String.fromCharCode(32),sM=!1;function bz(e,t){switch(e){case"keyup":return Bve.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sz(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xg=!1;function Fve(e,t){switch(e){case"compositionend":return Sz(t);case"keypress":return t.which!==32?null:(sM=!0,aM);case"textInput":return e=t.data,e===aM&&sM?null:e;default:return null}}function zve(e,t){if(Xg)return e==="compositionend"||!Bk&&bz(e,t)?(e=vz(),g4=Dk=_d=null,Xg=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dM(n)}}function _z(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_z(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kz(){for(var e=window,t=c5();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=c5(e.document)}return t}function $k(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Xve(e){var t=kz(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_z(n.ownerDocument.documentElement,n)){if(r!==null&&$k(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=fM(n,o);var a=fM(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zg=null,d9=null,Jv=null,f9=!1;function hM(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;f9||Zg==null||Zg!==c5(r)||(r=Zg,"selectionStart"in r&&$k(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jv&&B2(Jv,r)||(Jv=r,r=v5(d9,"onSelect"),0em||(e.current=y9[em],y9[em]=null,em--)}function nr(e,t){em++,y9[em]=e.current,e.current=t}var Gd={},lo=af(Gd),Jo=af(!1),Gh=Gd;function Xm(e,t){var n=e.type.contextTypes;if(!n)return Gd;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function b5(){fr(Jo),fr(lo)}function SM(e,t,n){if(lo.current!==Gd)throw Error(Fe(168));nr(lo,t),nr(Jo,n)}function Rz(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Fe(108,U1e(e)||"Unknown",i));return Tr({},n,r)}function S5(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gd,Gh=lo.current,nr(lo,e),nr(Jo,Jo.current),!0}function xM(e,t,n){var r=e.stateNode;if(!r)throw Error(Fe(169));n?(e=Rz(e,t,Gh),r.__reactInternalMemoizedMergedChildContext=e,fr(Jo),fr(lo),nr(lo,e)):fr(Jo),nr(Jo,n)}var Hu=null,sx=!1,z6=!1;function Dz(e){Hu===null?Hu=[e]:Hu.push(e)}function l2e(e){sx=!0,Dz(e)}function sf(){if(!z6&&Hu!==null){z6=!0;var e=0,t=Bn;try{var n=Hu;for(Bn=1;e>=a,i-=a,Uu=1<<32-Ys(t)+i|n<j?(z=D,D=null):z=D.sibling;var V=m(k,D,T[j],A);if(V===null){D===null&&(D=z);break}e&&D&&V.alternate===null&&t(k,D),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V,D=z}if(j===T.length)return n(k,D),yr&&dh(k,j),I;if(D===null){for(;jj?(z=D,D=null):z=D.sibling;var K=m(k,D,V.value,A);if(K===null){D===null&&(D=z);break}e&&D&&K.alternate===null&&t(k,D),_=o(K,_,j),R===null?I=K:R.sibling=K,R=K,D=z}if(V.done)return n(k,D),yr&&dh(k,j),I;if(D===null){for(;!V.done;j++,V=T.next())V=h(k,V.value,A),V!==null&&(_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return yr&&dh(k,j),I}for(D=r(k,D);!V.done;j++,V=T.next())V=v(D,k,j,V.value,A),V!==null&&(e&&V.alternate!==null&&D.delete(V.key===null?j:V.key),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return e&&D.forEach(function(te){return t(k,te)}),yr&&dh(k,j),I}function E(k,_,T,A){if(typeof T=="object"&&T!==null&&T.type===Kg&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case tb:e:{for(var I=T.key,R=_;R!==null;){if(R.key===I){if(I=T.type,I===Kg){if(R.tag===7){n(k,R.sibling),_=i(R,T.props.children),_.return=k,k=_;break e}}else if(R.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===pd&&TM(I)===R.type){n(k,R.sibling),_=i(R,T.props),_.ref=Q1(k,R,T),_.return=k,k=_;break e}n(k,R);break}else t(k,R);R=R.sibling}T.type===Kg?(_=Fh(T.props.children,k.mode,A,T.key),_.return=k,k=_):(A=C4(T.type,T.key,T.props,null,k.mode,A),A.ref=Q1(k,_,T),A.return=k,k=A)}return a(k);case Yg:e:{for(R=T.key;_!==null;){if(_.key===R)if(_.tag===4&&_.stateNode.containerInfo===T.containerInfo&&_.stateNode.implementation===T.implementation){n(k,_.sibling),_=i(_,T.children||[]),_.return=k,k=_;break e}else{n(k,_);break}else t(k,_);_=_.sibling}_=K6(T,k.mode,A),_.return=k,k=_}return a(k);case pd:return R=T._init,E(k,_,R(T._payload),A)}if(bv(T))return b(k,_,T,A);if(q1(T))return S(k,_,T,A);fb(k,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,_!==null&&_.tag===6?(n(k,_.sibling),_=i(_,T),_.return=k,k=_):(n(k,_),_=Y6(T,k.mode,A),_.return=k,k=_),a(k)):n(k,_)}return E}var Qm=Vz(!0),Wz=Vz(!1),Ty={},Jl=af(Ty),H2=af(Ty),V2=af(Ty);function Ph(e){if(e===Ty)throw Error(Fe(174));return e}function Yk(e,t){switch(nr(V2,t),nr(H2,e),nr(Jl,Ty),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:t9(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=t9(t,e)}fr(Jl),nr(Jl,t)}function Jm(){fr(Jl),fr(H2),fr(V2)}function Uz(e){Ph(V2.current);var t=Ph(Jl.current),n=t9(t,e.type);t!==n&&(nr(H2,e),nr(Jl,n))}function Kk(e){H2.current===e&&(fr(Jl),fr(H2))}var _r=af(0);function E5(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var H6=[];function Xk(){for(var e=0;en?n:4,e(!0);var r=V6.transition;V6.transition={};try{e(!1),t()}finally{Bn=n,V6.transition=r}}function sH(){return ds().memoizedState}function f2e(e,t,n){var r=Dd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lH(e))uH(t,n);else if(n=$z(e,t,n,r),n!==null){var i=To();Ks(n,e,r,i),cH(n,t,r)}}function h2e(e,t,n){var r=Dd(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lH(e))uH(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Js(s,a)){var l=t.interleaved;l===null?(i.next=i,Gk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=$z(e,t,i,r),n!==null&&(i=To(),Ks(n,e,r,i),cH(n,t,r))}}function lH(e){var t=e.alternate;return e===Pr||t!==null&&t===Pr}function uH(e,t){e2=P5=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cH(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mk(e,n)}}var T5={readContext:cs,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useInsertionEffect:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useDeferredValue:Qi,useTransition:Qi,useMutableSource:Qi,useSyncExternalStore:Qi,useId:Qi,unstable_isNewReconciler:!1},p2e={readContext:cs,useCallback:function(e,t){return Dl().memoizedState=[e,t===void 0?null:t],e},useContext:cs,useEffect:AM,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,b4(4194308,4,nH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return b4(4194308,4,e,t)},useInsertionEffect:function(e,t){return b4(4,2,e,t)},useMemo:function(e,t){var n=Dl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=f2e.bind(null,Pr,e),[r.memoizedState,e]},useRef:function(e){var t=Dl();return e={current:e},t.memoizedState=e},useState:LM,useDebugValue:tE,useDeferredValue:function(e){return Dl().memoizedState=e},useTransition:function(){var e=LM(!1),t=e[0];return e=d2e.bind(null,e[1]),Dl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pr,i=Dl();if(yr){if(n===void 0)throw Error(Fe(407));n=n()}else{if(n=t(),Li===null)throw Error(Fe(349));Yh&30||Yz(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,AM(Xz.bind(null,r,o,e),[e]),r.flags|=2048,G2(9,Kz.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dl(),t=Li.identifierPrefix;if(yr){var n=Gu,r=Uu;n=(r&~(1<<32-Ys(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=W2++,0")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{E6=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yv(e):""}function W1e(e){switch(e.tag){case 5:return yv(e.type);case 16:return yv("Lazy");case 13:return yv("Suspense");case 19:return yv("SuspenseList");case 0:case 2:case 15:return e=P6(e.type,!1),e;case 11:return e=P6(e.type.render,!1),e;case 1:return e=P6(e.type,!0),e;default:return""}}function X7(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kg:return"Fragment";case Yg:return"Portal";case q7:return"Profiler";case Pk:return"StrictMode";case Y7:return"Suspense";case K7:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case HF:return(e.displayName||"Context")+".Consumer";case zF:return(e._context.displayName||"Context")+".Provider";case Tk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lk:return t=e.displayName||null,t!==null?t:X7(e.type)||"Memo";case pd:t=e._payload,e=e._init;try{return X7(e(t))}catch{}}return null}function U1e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X7(t);case 8:return t===Pk?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ud(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function WF(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function G1e(e){var t=WF(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nb(e){e._valueTracker||(e._valueTracker=G1e(e))}function UF(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=WF(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function c5(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Z7(e,t){var n=t.checked;return Tr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qO(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ud(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function GF(e,t){t=t.checked,t!=null&&Ek(e,"checked",t,!1)}function Q7(e,t){GF(e,t);var n=Ud(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?J7(e,t.type,n):t.hasOwnProperty("defaultValue")&&J7(e,t.type,Ud(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YO(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function J7(e,t,n){(t!=="number"||c5(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bv=Array.isArray;function _m(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=rb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function M2(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kv={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q1e=["Webkit","ms","Moz","O"];Object.keys(Kv).forEach(function(e){q1e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kv[t]=Kv[e]})});function XF(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kv.hasOwnProperty(e)&&Kv[e]?(""+t).trim():t+"px"}function ZF(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=XF(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Y1e=Tr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function n9(e,t){if(t){if(Y1e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Fe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Fe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Fe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Fe(62))}}function r9(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var i9=null;function Ak(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var o9=null,km=null,Em=null;function ZO(e){if(e=Py(e)){if(typeof o9!="function")throw Error(Fe(280));var t=e.stateNode;t&&(t=ax(t),o9(e.stateNode,e.type,t))}}function QF(e){km?Em?Em.push(e):Em=[e]:km=e}function JF(){if(km){var e=km,t=Em;if(Em=km=null,ZO(e),t)for(e=0;e>>=0,e===0?32:31-(ove(e)/ave|0)|0}var ib=64,ob=4194304;function Sv(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function p5(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Sv(s):(o&=a,o!==0&&(r=Sv(o)))}else a=n&~i,a!==0?r=Sv(a):o!==0&&(r=Sv(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ky(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ys(t),e[t]=n}function cve(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zv),aM=String.fromCharCode(32),sM=!1;function bz(e,t){switch(e){case"keyup":return Bve.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sz(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xg=!1;function Fve(e,t){switch(e){case"compositionend":return Sz(t);case"keypress":return t.which!==32?null:(sM=!0,aM);case"textInput":return e=t.data,e===aM&&sM?null:e;default:return null}}function zve(e,t){if(Xg)return e==="compositionend"||!Bk&&bz(e,t)?(e=vz(),g4=Dk=_d=null,Xg=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dM(n)}}function _z(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_z(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kz(){for(var e=window,t=c5();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=c5(e.document)}return t}function $k(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Xve(e){var t=kz(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_z(n.ownerDocument.documentElement,n)){if(r!==null&&$k(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=fM(n,o);var a=fM(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zg=null,d9=null,Jv=null,f9=!1;function hM(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;f9||Zg==null||Zg!==c5(r)||(r=Zg,"selectionStart"in r&&$k(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jv&&B2(Jv,r)||(Jv=r,r=v5(d9,"onSelect"),0em||(e.current=y9[em],y9[em]=null,em--)}function nr(e,t){em++,y9[em]=e.current,e.current=t}var Gd={},lo=af(Gd),Jo=af(!1),Gh=Gd;function Xm(e,t){var n=e.type.contextTypes;if(!n)return Gd;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function b5(){fr(Jo),fr(lo)}function SM(e,t,n){if(lo.current!==Gd)throw Error(Fe(168));nr(lo,t),nr(Jo,n)}function Rz(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Fe(108,U1e(e)||"Unknown",i));return Tr({},n,r)}function S5(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gd,Gh=lo.current,nr(lo,e),nr(Jo,Jo.current),!0}function xM(e,t,n){var r=e.stateNode;if(!r)throw Error(Fe(169));n?(e=Rz(e,t,Gh),r.__reactInternalMemoizedMergedChildContext=e,fr(Jo),fr(lo),nr(lo,e)):fr(Jo),nr(Jo,n)}var Hu=null,sx=!1,z6=!1;function Dz(e){Hu===null?Hu=[e]:Hu.push(e)}function l2e(e){sx=!0,Dz(e)}function sf(){if(!z6&&Hu!==null){z6=!0;var e=0,t=Bn;try{var n=Hu;for(Bn=1;e>=a,i-=a,Uu=1<<32-Ys(t)+i|n<j?(z=D,D=null):z=D.sibling;var V=m(E,D,T[j],A);if(V===null){D===null&&(D=z);break}e&&D&&V.alternate===null&&t(E,D),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V,D=z}if(j===T.length)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;jj?(z=D,D=null):z=D.sibling;var K=m(E,D,V.value,A);if(K===null){D===null&&(D=z);break}e&&D&&K.alternate===null&&t(E,D),_=o(K,_,j),R===null?I=K:R.sibling=K,R=K,D=z}if(V.done)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;!V.done;j++,V=T.next())V=h(E,V.value,A),V!==null&&(_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return yr&&dh(E,j),I}for(D=r(E,D);!V.done;j++,V=T.next())V=v(D,E,j,V.value,A),V!==null&&(e&&V.alternate!==null&&D.delete(V.key===null?j:V.key),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return e&&D.forEach(function(te){return t(E,te)}),yr&&dh(E,j),I}function k(E,_,T,A){if(typeof T=="object"&&T!==null&&T.type===Kg&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case tb:e:{for(var I=T.key,R=_;R!==null;){if(R.key===I){if(I=T.type,I===Kg){if(R.tag===7){n(E,R.sibling),_=i(R,T.props.children),_.return=E,E=_;break e}}else if(R.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===pd&&TM(I)===R.type){n(E,R.sibling),_=i(R,T.props),_.ref=Q1(E,R,T),_.return=E,E=_;break e}n(E,R);break}else t(E,R);R=R.sibling}T.type===Kg?(_=Fh(T.props.children,E.mode,A,T.key),_.return=E,E=_):(A=C4(T.type,T.key,T.props,null,E.mode,A),A.ref=Q1(E,_,T),A.return=E,E=A)}return a(E);case Yg:e:{for(R=T.key;_!==null;){if(_.key===R)if(_.tag===4&&_.stateNode.containerInfo===T.containerInfo&&_.stateNode.implementation===T.implementation){n(E,_.sibling),_=i(_,T.children||[]),_.return=E,E=_;break e}else{n(E,_);break}else t(E,_);_=_.sibling}_=K6(T,E.mode,A),_.return=E,E=_}return a(E);case pd:return R=T._init,k(E,_,R(T._payload),A)}if(bv(T))return b(E,_,T,A);if(q1(T))return S(E,_,T,A);fb(E,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,_!==null&&_.tag===6?(n(E,_.sibling),_=i(_,T),_.return=E,E=_):(n(E,_),_=Y6(T,E.mode,A),_.return=E,E=_),a(E)):n(E,_)}return k}var Qm=Vz(!0),Wz=Vz(!1),Ty={},Jl=af(Ty),H2=af(Ty),V2=af(Ty);function Ph(e){if(e===Ty)throw Error(Fe(174));return e}function Yk(e,t){switch(nr(V2,t),nr(H2,e),nr(Jl,Ty),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:t9(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=t9(t,e)}fr(Jl),nr(Jl,t)}function Jm(){fr(Jl),fr(H2),fr(V2)}function Uz(e){Ph(V2.current);var t=Ph(Jl.current),n=t9(t,e.type);t!==n&&(nr(H2,e),nr(Jl,n))}function Kk(e){H2.current===e&&(fr(Jl),fr(H2))}var _r=af(0);function E5(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var H6=[];function Xk(){for(var e=0;en?n:4,e(!0);var r=V6.transition;V6.transition={};try{e(!1),t()}finally{Bn=n,V6.transition=r}}function sH(){return ds().memoizedState}function f2e(e,t,n){var r=Dd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lH(e))uH(t,n);else if(n=$z(e,t,n,r),n!==null){var i=To();Ks(n,e,r,i),cH(n,t,r)}}function h2e(e,t,n){var r=Dd(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lH(e))uH(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Js(s,a)){var l=t.interleaved;l===null?(i.next=i,Gk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=$z(e,t,i,r),n!==null&&(i=To(),Ks(n,e,r,i),cH(n,t,r))}}function lH(e){var t=e.alternate;return e===Pr||t!==null&&t===Pr}function uH(e,t){e2=P5=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cH(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mk(e,n)}}var T5={readContext:cs,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useInsertionEffect:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useDeferredValue:Qi,useTransition:Qi,useMutableSource:Qi,useSyncExternalStore:Qi,useId:Qi,unstable_isNewReconciler:!1},p2e={readContext:cs,useCallback:function(e,t){return Dl().memoizedState=[e,t===void 0?null:t],e},useContext:cs,useEffect:AM,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,b4(4194308,4,nH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return b4(4194308,4,e,t)},useInsertionEffect:function(e,t){return b4(4,2,e,t)},useMemo:function(e,t){var n=Dl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=f2e.bind(null,Pr,e),[r.memoizedState,e]},useRef:function(e){var t=Dl();return e={current:e},t.memoizedState=e},useState:LM,useDebugValue:tE,useDeferredValue:function(e){return Dl().memoizedState=e},useTransition:function(){var e=LM(!1),t=e[0];return e=d2e.bind(null,e[1]),Dl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pr,i=Dl();if(yr){if(n===void 0)throw Error(Fe(407));n=n()}else{if(n=t(),Li===null)throw Error(Fe(349));Yh&30||Yz(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,AM(Xz.bind(null,r,o,e),[e]),r.flags|=2048,G2(9,Kz.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dl(),t=Li.identifierPrefix;if(yr){var n=Gu,r=Uu;n=(r&~(1<<32-Ys(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=W2++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[zl]=t,e[z2]=r,bH(e,t,!1,!1),t.stateNode=e;e:{switch(a=r9(n,r),n){case"dialog":or("cancel",e),or("close",e),i=r;break;case"iframe":case"object":case"embed":or("load",e),i=r;break;case"video":case"audio":for(i=0;it0&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304)}else{if(!r)if(e=E5(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),J1(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!yr)return Ji(t),null}else 2*Zr()-o.renderingStartTime>t0&&n!==1073741824&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Zr(),t.sibling=null,n=_r.current,nr(_r,r?n&1|2:n&1),t):(Ji(t),null);case 22:case 23:return sE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_a&1073741824&&(Ji(t),t.subtreeFlags&6&&(t.flags|=8192)):Ji(t),null;case 24:return null;case 25:return null}throw Error(Fe(156,t.tag))}function w2e(e,t){switch(zk(t),t.tag){case 1:return ea(t.type)&&b5(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jm(),fr(Jo),fr(lo),Xk(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kk(t),null;case 13:if(fr(_r),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Fe(340));Zm()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fr(_r),null;case 4:return Jm(),null;case 10:return Uk(t.type._context),null;case 22:case 23:return sE(),null;case 24:return null;default:return null}}var pb=!1,io=!1,C2e=typeof WeakSet=="function"?WeakSet:Set,ht=null;function im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$r(e,t,r)}else n.current=null}function A9(e,t,n){try{n()}catch(r){$r(e,t,r)}}var $M=!1;function _2e(e,t){if(h9=g5,e=kz(),$k(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,d=0,h=e,m=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(s=a+i),h!==o||r!==0&&h.nodeType!==3||(l=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(v=h.firstChild)!==null;)m=h,h=v;for(;;){if(h===e)break t;if(m===n&&++u===i&&(s=a),m===o&&++d===r&&(l=a),(v=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(p9={focusedElem:e,selectionRange:n},g5=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){t=ht;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var S=b.memoizedProps,E=b.memoizedState,k=t.stateNode,_=k.getSnapshotBeforeUpdate(t.elementType===t.type?S:Ns(t.type,S),E);k.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Fe(163))}}catch(A){$r(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}return b=$M,$M=!1,b}function t2(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&A9(t,n,o)}i=i.next}while(i!==r)}}function cx(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function O9(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wH(e){var t=e.alternate;t!==null&&(e.alternate=null,wH(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zl],delete t[z2],delete t[v9],delete t[a2e],delete t[s2e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function CH(e){return e.tag===5||e.tag===3||e.tag===4}function FM(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||CH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function M9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=y5));else if(r!==4&&(e=e.child,e!==null))for(M9(e,t,n),e=e.sibling;e!==null;)M9(e,t,n),e=e.sibling}function I9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(I9(e,t,n),e=e.sibling;e!==null;)I9(e,t,n),e=e.sibling}var Hi=null,js=!1;function sd(e,t,n){for(n=n.child;n!==null;)_H(e,t,n),n=n.sibling}function _H(e,t,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(nx,n)}catch{}switch(n.tag){case 5:io||im(n,t);case 6:var r=Hi,i=js;Hi=null,sd(e,t,n),Hi=r,js=i,Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Hi.removeChild(n.stateNode));break;case 18:Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?F6(e.parentNode,n):e.nodeType===1&&F6(e,n),N2(e)):F6(Hi,n.stateNode));break;case 4:r=Hi,i=js,Hi=n.stateNode.containerInfo,js=!0,sd(e,t,n),Hi=r,js=i;break;case 0:case 11:case 14:case 15:if(!io&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&A9(n,t,a),i=i.next}while(i!==r)}sd(e,t,n);break;case 1:if(!io&&(im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){$r(n,t,s)}sd(e,t,n);break;case 21:sd(e,t,n);break;case 22:n.mode&1?(io=(r=io)||n.memoizedState!==null,sd(e,t,n),io=r):sd(e,t,n);break;default:sd(e,t,n)}}function zM(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new C2e),t.forEach(function(r){var i=I2e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Is(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Zr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*E2e(r/1960))-r,10e?16:e,kd===null)var r=!1;else{if(e=kd,kd=null,O5=0,pn&6)throw Error(Fe(331));var i=pn;for(pn|=4,ht=e.current;ht!==null;){var o=ht,a=o.child;if(ht.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lZr()-oE?$h(e,0):iE|=n),ta(e,t)}function MH(e,t){t===0&&(e.mode&1?(t=ob,ob<<=1,!(ob&130023424)&&(ob=4194304)):t=1);var n=To();e=rc(e,t),e!==null&&(ky(e,t,n),ta(e,n))}function M2e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),MH(e,n)}function I2e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Fe(314))}r!==null&&r.delete(t),MH(e,n)}var IH;IH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Jo.current)Xo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xo=!1,S2e(e,t,n);Xo=!!(e.flags&131072)}else Xo=!1,yr&&t.flags&1048576&&Nz(t,w5,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;S4(e,t),e=t.pendingProps;var i=Xm(t,lo.current);Tm(t,n),i=Qk(null,t,r,e,i,n);var o=Jk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(r)?(o=!0,S5(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qk(t),i.updater=lx,t.stateNode=i,i._reactInternals=t,C9(t,r,e,n),t=E9(null,t,r,!0,o,n)):(t.tag=0,yr&&o&&Fk(t),wo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(S4(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=D2e(r),e=Ns(r,e),i){case 0:t=k9(null,t,r,e,n);break e;case 1:t=NM(null,t,r,e,n);break e;case 11:t=RM(null,t,r,e,n);break e;case 14:t=DM(null,t,r,Ns(r.type,e),n);break e}throw Error(Fe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),k9(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),NM(e,t,r,i,n);case 3:e:{if(mH(t),e===null)throw Error(Fe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Fz(e,t),k5(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=e0(Error(Fe(423)),t),t=jM(e,t,r,n,i);break e}else if(r!==i){i=e0(Error(Fe(424)),t),t=jM(e,t,r,n,i);break e}else for(Ea=Md(t.stateNode.containerInfo.firstChild),La=t,yr=!0,$s=null,n=Wz(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zm(),r===i){t=ic(e,t,n);break e}wo(e,t,r,n)}t=t.child}return t;case 5:return Uz(t),e===null&&S9(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,g9(r,i)?a=null:o!==null&&g9(r,o)&&(t.flags|=32),gH(e,t),wo(e,t,a,n),t.child;case 6:return e===null&&S9(t),null;case 13:return vH(e,t,n);case 4:return Yk(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qm(t,null,r,n):wo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),RM(e,t,r,i,n);case 7:return wo(e,t,t.pendingProps,n),t.child;case 8:return wo(e,t,t.pendingProps.children,n),t.child;case 12:return wo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,nr(C5,r._currentValue),r._currentValue=a,o!==null)if(Js(o.value,a)){if(o.children===i.children&&!Jo.current){t=ic(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qu(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),x9(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Fe(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),x9(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}wo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Tm(t,n),i=cs(i),r=r(i),t.flags|=1,wo(e,t,r,n),t.child;case 14:return r=t.type,i=Ns(r,t.pendingProps),i=Ns(r.type,i),DM(e,t,r,i,n);case 15:return hH(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),S4(e,t),t.tag=1,ea(r)?(e=!0,S5(t)):e=!1,Tm(t,n),Hz(t,r,i),C9(t,r,i,n),E9(null,t,r,!0,e,n);case 19:return yH(e,t,n);case 22:return pH(e,t,n)}throw Error(Fe(156,t.tag))};function RH(e,t){return az(e,t)}function R2e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ns(e,t,n,r){return new R2e(e,t,n,r)}function uE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function D2e(e){if(typeof e=="function")return uE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tk)return 11;if(e===Lk)return 14}return 2}function Nd(e,t){var n=e.alternate;return n===null?(n=ns(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function C4(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")uE(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kg:return Fh(n.children,i,o,t);case Pk:a=8,i|=8;break;case q7:return e=ns(12,n,t,i|2),e.elementType=q7,e.lanes=o,e;case Y7:return e=ns(13,n,t,i),e.elementType=Y7,e.lanes=o,e;case K7:return e=ns(19,n,t,i),e.elementType=K7,e.lanes=o,e;case VF:return fx(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zF:a=10;break e;case HF:a=9;break e;case Tk:a=11;break e;case Lk:a=14;break e;case pd:a=16,r=null;break e}throw Error(Fe(130,e==null?e:typeof e,""))}return t=ns(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Fh(e,t,n,r){return e=ns(7,e,r,t),e.lanes=n,e}function fx(e,t,n,r){return e=ns(22,e,r,t),e.elementType=VF,e.lanes=n,e.stateNode={isHidden:!1},e}function Y6(e,t,n){return e=ns(6,e,null,t),e.lanes=n,e}function K6(e,t,n){return t=ns(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function N2e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=L6(0),this.expirationTimes=L6(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=L6(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cE(e,t,n,r,i,o,a,s,l){return e=new N2e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ns(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qk(o),e}function j2e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Na})(B1e);const vb=d_(Qs);var[H2e,V2e]=Mn({strict:!1,name:"PortalManagerContext"});function BH(e){const{children:t,zIndex:n}=e;return N.createElement(H2e,{value:{zIndex:n}},t)}BH.displayName="PortalManager";var[$H,W2e]=Mn({strict:!1,name:"PortalContext"}),pE="chakra-portal",U2e=".chakra-portal",G2e=e=>N.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),q2e=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=w.useState(null),o=w.useRef(null),[,a]=w.useState({});w.useEffect(()=>a({}),[]);const s=W2e(),l=V2e();Ws(()=>{if(!r)return;const d=r.ownerDocument,h=t?s??d.body:d.body;if(!h)return;o.current=d.createElement("div"),o.current.className=pE,h.appendChild(o.current),a({});const m=o.current;return()=>{h.contains(m)&&h.removeChild(m)}},[r]);const u=l!=null&&l.zIndex?N.createElement(G2e,{zIndex:l==null?void 0:l.zIndex},n):n;return o.current?Qs.createPortal(N.createElement($H,{value:o.current},u),o.current):N.createElement("span",{ref:d=>{d&&i(d)}})},Y2e=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=w.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=pE),l},[i]),[,s]=w.useState({});return Ws(()=>s({}),[]),Ws(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Qs.createPortal(N.createElement($H,{value:r?a:null},t),a):null};function ap(e){const{containerRef:t,...n}=e;return t?N.createElement(Y2e,{containerRef:t,...n}):N.createElement(q2e,{...n})}ap.defaultProps={appendToParentPortal:!0};ap.className=pE;ap.selector=U2e;ap.displayName="Portal";var K2e=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eg=new WeakMap,yb=new WeakMap,bb={},X6=0,FH=function(e){return e&&(e.host||FH(e.parentNode))},X2e=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=FH(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return Boolean(n)})},Z2e=function(e,t,n,r){var i=X2e(t,Array.isArray(e)?e:[e]);bb[n]||(bb[n]=new WeakMap);var o=bb[n],a=[],s=new Set,l=new Set(i),u=function(h){!h||s.has(h)||(s.add(h),u(h.parentNode))};i.forEach(u);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))d(m);else{var v=m.getAttribute(r),b=v!==null&&v!=="false",S=(Eg.get(m)||0)+1,E=(o.get(m)||0)+1;Eg.set(m,S),o.set(m,E),a.push(m),S===1&&b&&yb.set(m,!0),E===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}})};return d(t),s.clear(),X6++,function(){a.forEach(function(h){var m=Eg.get(h)-1,v=o.get(h)-1;Eg.set(h,m),o.set(h,v),m||(yb.has(h)||h.removeAttribute(r),yb.delete(h)),v||h.removeAttribute(n)}),X6--,X6||(Eg=new WeakMap,Eg=new WeakMap,yb=new WeakMap,bb={})}},zH=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||K2e(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),Z2e(r,i,n,"aria-hidden")):function(){return null}};function gE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var jn={},Q2e={get exports(){return jn},set exports(e){jn=e}},J2e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eye=J2e,tye=eye;function HH(){}function VH(){}VH.resetWarningCache=HH;var nye=function(){function e(r,i,o,a,s,l){if(l!==tye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:VH,resetWarningCache:HH};return n.PropTypes=n,n};Q2e.exports=nye();var B9="data-focus-lock",WH="data-focus-lock-disabled",rye="data-no-focus-lock",iye="data-autofocus-inside",oye="data-no-autofocus";function aye(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sye(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function UH(e,t){return sye(t||null,function(n){return e.forEach(function(r){return aye(r,n)})})}var Z6={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function GH(e){return e}function qH(e,t){t===void 0&&(t=GH);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return i}function mE(e,t){return t===void 0&&(t=GH),qH(e,t)}function YH(e){e===void 0&&(e={});var t=qH(null);return t.options=Fl({async:!0,ssr:!1},e),t}var KH=function(e){var t=e.sideCar,n=$$(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,Fl({},n))};KH.isSideCarExport=!0;function lye(e,t){return e.useMedium(t),KH}var XH=mE({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),ZH=mE(),uye=mE(),cye=YH({async:!0}),dye=[],vE=w.forwardRef(function(t,n){var r,i=w.useState(),o=i[0],a=i[1],s=w.useRef(),l=w.useRef(!1),u=w.useRef(null),d=t.children,h=t.disabled,m=t.noFocusGuards,v=t.persistentFocus,b=t.crossFrame,S=t.autoFocus;t.allowTextSelection;var E=t.group,k=t.className,_=t.whiteList,T=t.hasPositiveIndices,A=t.shards,I=A===void 0?dye:A,R=t.as,D=R===void 0?"div":R,j=t.lockProps,z=j===void 0?{}:j,V=t.sideCar,K=t.returnFocus,te=t.focusOptions,q=t.onActivation,$=t.onDeactivation,W=w.useState({}),X=W[0],Z=w.useCallback(function(){u.current=u.current||document&&document.activeElement,s.current&&q&&q(s.current),l.current=!0},[q]),U=w.useCallback(function(){l.current=!1,$&&$(s.current)},[$]);w.useEffect(function(){h||(u.current=null)},[]);var Q=w.useCallback(function(ot){var He=u.current;if(He&&He.focus){var Be=typeof K=="function"?K(He):K;if(Be){var wt=typeof Be=="object"?Be:void 0;u.current=null,ot?Promise.resolve().then(function(){return He.focus(wt)}):He.focus(wt)}}},[K]),ie=w.useCallback(function(ot){l.current&&XH.useMedium(ot)},[]),fe=ZH.useMedium,Se=w.useCallback(function(ot){s.current!==ot&&(s.current=ot,a(ot))},[]),Pe=bn((r={},r[WH]=h&&"disabled",r[B9]=E,r),z),ye=m!==!0,We=ye&&m!=="tail",De=UH([n,Se]);return w.createElement(w.Fragment,null,ye&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}),T?w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:Z6}):null],!h&&w.createElement(V,{id:X,sideCar:cye,observed:o,disabled:h,persistentFocus:v,crossFrame:b,autoFocus:S,whiteList:_,shards:I,onActivation:Z,onDeactivation:U,returnFocus:Q,focusOptions:te}),w.createElement(D,bn({ref:De},Pe,{className:k,onBlur:fe,onFocus:ie}),d),We&&w.createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}))});vE.propTypes={};vE.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const QH=vE;function $9(e,t){return $9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$9(e,t)}function yE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$9(e,t)}function JH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fye(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function s(){a=e(o.map(function(u){return u.props})),t(a)}var l=function(u){yE(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return a};var h=d.prototype;return h.componentDidMount=function(){o.push(this),s()},h.componentDidUpdate=function(){s()},h.componentWillUnmount=function(){var v=o.indexOf(this);o.splice(v,1),s()},h.render=function(){return N.createElement(i,this.props)},d}(w.PureComponent);return JH(l,"displayName","SideEffect("+n(i)+")"),l}}var fu=function(e){for(var t=Array(e.length),n=0;n=0}).sort(Sye)},xye=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],SE=xye.join(","),wye="".concat(SE,", [data-focus-guard]"),lV=function(e,t){var n;return fu(((n=e.shadowRoot)===null||n===void 0?void 0:n.children)||e.children).reduce(function(r,i){return r.concat(i.matches(t?wye:SE)?[i]:[],lV(i))},[])},xE=function(e,t){return e.reduce(function(n,r){return n.concat(lV(r,t),r.parentNode?fu(r.parentNode.querySelectorAll(SE)).filter(function(i){return i===r}):[])},[])},Cye=function(e){var t=e.querySelectorAll("[".concat(iye,"]"));return fu(t).map(function(n){return xE([n])}).reduce(function(n,r){return n.concat(r)},[])},wE=function(e,t){return fu(e).filter(function(n){return nV(t,n)}).filter(function(n){return vye(n)})},KM=function(e,t){return t===void 0&&(t=new Map),fu(e).filter(function(n){return rV(t,n)})},z9=function(e,t,n){return sV(wE(xE(e,n),t),!0,n)},XM=function(e,t){return sV(wE(xE(e),t),!1)},_ye=function(e,t){return wE(Cye(e),t)},Y2=function(e,t){return e.shadowRoot?Y2(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:fu(e.children).some(function(n){return Y2(n,t)})},kye=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},uV=function(e){return e.parentNode?uV(e.parentNode):e},CE=function(e){var t=F9(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(B9);return n.push.apply(n,i?kye(fu(uV(r).querySelectorAll("[".concat(B9,'="').concat(i,'"]:not([').concat(WH,'="disabled"])')))):[r]),n},[])},cV=function(e){return e.activeElement?e.activeElement.shadowRoot?cV(e.activeElement.shadowRoot):e.activeElement:void 0},_E=function(){return document.activeElement?document.activeElement.shadowRoot?cV(document.activeElement.shadowRoot):document.activeElement:void 0},Eye=function(e){return e===document.activeElement},Pye=function(e){return Boolean(fu(e.querySelectorAll("iframe")).some(function(t){return Eye(t)}))},dV=function(e){var t=document&&_E();return!t||t.dataset&&t.dataset.focusGuard?!1:CE(e).some(function(n){return Y2(n,t)||Pye(n)})},Tye=function(){var e=document&&_E();return e?fu(document.querySelectorAll("[".concat(rye,"]"))).some(function(t){return Y2(t,e)}):!1},Lye=function(e,t){return t.filter(aV).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},kE=function(e,t){return aV(e)&&e.name?Lye(e,t):e},Aye=function(e){var t=new Set;return e.forEach(function(n){return t.add(kE(n,e))}),e.filter(function(n){return t.has(n)})},ZM=function(e){return e[0]&&e.length>1?kE(e[0],e):e[0]},QM=function(e,t){return e.length>1?e.indexOf(kE(e[t],e)):t},fV="NEW_FOCUS",Oye=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=bE(n);if(!(n&&e.indexOf(n)>=0)){var l=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):l,d=r?e.indexOf(r):-1,h=l-u,m=t.indexOf(o),v=t.indexOf(a),b=Aye(t),S=n!==void 0?b.indexOf(n):-1,E=S-(r?b.indexOf(r):l),k=QM(e,0),_=QM(e,i-1);if(l===-1||d===-1)return fV;if(!h&&d>=0)return d;if(l<=m&&s&&Math.abs(h)>1)return _;if(l>=v&&s&&Math.abs(h)>1)return k;if(h&&Math.abs(E)>1)return d;if(l<=m)return _;if(l>v)return k;if(h)return Math.abs(h)>1?d:(i+d+h)%i}},Mye=function(e){return function(t){var n,r=(n=iV(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Iye=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=KM(r.filter(Mye(n)));return i&&i.length?ZM(i):ZM(KM(t))},H9=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&H9(e.parentNode.host||e.parentNode,t),t},Q6=function(e,t){for(var n=H9(e),r=H9(t),i=0;i=0)return o}return!1},hV=function(e,t,n){var r=F9(e),i=F9(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(s){a=Q6(a||s,s)||a,n.filter(Boolean).forEach(function(l){var u=Q6(o,l);u&&(!a||Y2(u,a)?a=u:a=Q6(u,a))})}),a},Rye=function(e,t){return e.reduce(function(n,r){return n.concat(_ye(r,t))},[])},Dye=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(bye)},Nye=function(e,t){var n=document&&_E(),r=CE(e).filter(R5),i=hV(n||e,e,r),o=new Map,a=XM(r,o),s=z9(r,o).filter(function(m){var v=m.node;return R5(v)});if(!(!s[0]&&(s=a,!s[0]))){var l=XM([i],o).map(function(m){var v=m.node;return v}),u=Dye(l,s),d=u.map(function(m){var v=m.node;return v}),h=Oye(d,l,n,t);return h===fV?{node:Iye(a,d,Rye(r,o))}:h===void 0?h:u[h]}},jye=function(e){var t=CE(e).filter(R5),n=hV(e,e,t),r=new Map,i=z9([n],r,!0),o=z9(t,r).filter(function(a){var s=a.node;return R5(s)}).map(function(a){var s=a.node;return s});return i.map(function(a){var s=a.node,l=a.index;return{node:s,index:l,lockItem:o.indexOf(s)>=0,guard:bE(s)}})},Bye=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},J6=0,eC=!1,$ye=function(e,t,n){n===void 0&&(n={});var r=Nye(e,t);if(!eC&&r){if(J6>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eC=!0,setTimeout(function(){eC=!1},1);return}J6++,Bye(r.node,n.focusOptions),J6--}};const pV=$ye;function gV(e){var t=window,n=t.setImmediate;typeof n<"u"?n(e):setTimeout(e,1)}var Fye=function(){return document&&document.activeElement===document.body},zye=function(){return Fye()||Tye()},Am=null,am=null,Om=null,K2=!1,Hye=function(){return!0},Vye=function(t){return(Am.whiteList||Hye)(t)},Wye=function(t,n){Om={observerNode:t,portaledElement:n}},Uye=function(t){return Om&&Om.portaledElement===t};function JM(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var Gye=function(t){return t&&"current"in t?t.current:t},qye=function(t){return t?Boolean(K2):K2==="meanwhile"},Yye=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Kye=function(t,n){return n.some(function(r){return Yye(t,r,r)})},D5=function(){var t=!1;if(Am){var n=Am,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||Om&&Om.portaledElement,d=document&&document.activeElement;if(u){var h=[u].concat(a.map(Gye).filter(Boolean));if((!d||Vye(d))&&(i||qye(s)||!zye()||!am&&o)&&(u&&!(dV(h)||d&&Kye(d,h)||Uye(d))&&(document&&!am&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(t=pV(h,am,{focusOptions:l}),Om={})),K2=!1,am=document&&document.activeElement),document){var m=document&&document.activeElement,v=jye(h),b=v.map(function(S){var E=S.node;return E}).indexOf(m);b>-1&&(v.filter(function(S){var E=S.guard,k=S.node;return E&&k.dataset.focusAutoGuard}).forEach(function(S){var E=S.node;return E.removeAttribute("tabIndex")}),JM(b,v.length,1,v),JM(b,-1,-1,v))}}}return t},mV=function(t){D5()&&t&&(t.stopPropagation(),t.preventDefault())},EE=function(){return gV(D5)},Xye=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Wye(r,n)},Zye=function(){return null},vV=function(){K2="just",setTimeout(function(){K2="meanwhile"},0)},Qye=function(){document.addEventListener("focusin",mV),document.addEventListener("focusout",EE),window.addEventListener("blur",vV)},Jye=function(){document.removeEventListener("focusin",mV),document.removeEventListener("focusout",EE),window.removeEventListener("blur",vV)};function e3e(e){return e.filter(function(t){var n=t.disabled;return!n})}function t3e(e){var t=e.slice(-1)[0];t&&!Am&&Qye();var n=Am,r=n&&t&&t.id===n.id;Am=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(am=null,(!r||n.observed!==t.observed)&&t.onActivation(),D5(),gV(D5)):(Jye(),am=null)}XH.assignSyncMedium(Xye);ZH.assignMedium(EE);uye.assignMedium(function(e){return e({moveFocusInside:pV,focusInside:dV})});const n3e=fye(e3e,t3e)(Zye);var yV=w.forwardRef(function(t,n){return w.createElement(QH,bn({sideCar:n3e,ref:n},t))}),bV=QH.propTypes||{};bV.sideCar;gE(bV,["sideCar"]);yV.propTypes={};const r3e=yV;var SV=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=w.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&kF(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),h=w.useCallback(()=>{var v;(v=n==null?void 0:n.current)==null||v.focus()},[n]),m=i&&!n;return N.createElement(r3e,{crossFrame:u,persistentFocus:l,autoFocus:s,disabled:a,onActivation:d,onDeactivation:h,returnFocus:m},o)};SV.displayName="FocusLock";var _4="right-scroll-bar-position",k4="width-before-scroll-bar",i3e="with-scroll-bars-hidden",o3e="--removed-body-scroll-bar-size",xV=YH(),tC=function(){},vx=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:tC,onWheelCapture:tC,onTouchMoveCapture:tC}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,m=e.sideCar,v=e.noIsolation,b=e.inert,S=e.allowPinchZoom,E=e.as,k=E===void 0?"div":E,_=$$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),T=m,A=UH([n,t]),I=Fl(Fl({},_),i);return w.createElement(w.Fragment,null,d&&w.createElement(T,{sideCar:xV,removeScrollBar:u,shards:h,noIsolation:v,inert:b,setCallbacks:o,allowPinchZoom:!!S,lockRef:n}),a?w.cloneElement(w.Children.only(s),Fl(Fl({},I),{ref:A})):w.createElement(k,Fl({},I,{className:l,ref:A}),s))});vx.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};vx.classNames={fullWidth:k4,zeroRight:_4};var a3e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s3e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a3e();return t&&e.setAttribute("nonce",t),e}function l3e(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u3e(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c3e=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s3e())&&(l3e(t,n),u3e(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d3e=function(){var e=c3e();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wV=function(){var e=d3e(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},f3e={left:0,top:0,right:0,gap:0},nC=function(e){return parseInt(e||"",10)||0},h3e=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[nC(n),nC(r),nC(i)]},p3e=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f3e;var t=h3e(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},g3e=wV(),m3e=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function G6(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function _9(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var v2e=typeof WeakMap=="function"?WeakMap:Map;function dH(e,t,n){n=qu(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){A5||(A5=!0,R9=r),_9(e,t)},n}function fH(e,t,n){n=qu(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){_9(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){_9(e,t),typeof r!="function"&&(Rd===null?Rd=new Set([this]):Rd.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function OM(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new v2e;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=O2e.bind(null,e,t,n),t.then(e,e))}function MM(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function IM(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qu(-1,1),t.tag=2,Id(n,t,1))),n.lanes|=1),e)}var y2e=uc.ReactCurrentOwner,Xo=!1;function wo(e,t,n,r){t.child=e===null?Wz(t,null,n,r):Qm(t,e.child,n,r)}function RM(e,t,n,r,i){n=n.render;var o=t.ref;return Tm(t,i),r=Qk(e,t,n,r,o,i),n=Jk(),e!==null&&!Xo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ic(e,t,i)):(yr&&n&&Fk(t),t.flags|=1,wo(e,t,r,i),t.child)}function DM(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!uE(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,hH(e,t,o,r,i)):(e=C4(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:B2,n(a,r)&&e.ref===t.ref)return ic(e,t,i)}return t.flags|=1,e=Nd(o,r),e.ref=t.ref,e.return=t,t.child=e}function hH(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(B2(o,r)&&e.ref===t.ref)if(Xo=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Xo=!0);else return t.lanes=e.lanes,ic(e,t,i)}return k9(e,t,n,r,i)}function pH(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},nr(om,_a),_a|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,nr(om,_a),_a|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,nr(om,_a),_a|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,nr(om,_a),_a|=r;return wo(e,t,i,n),t.child}function gH(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function k9(e,t,n,r,i){var o=ea(n)?Gh:lo.current;return o=Xm(t,o),Tm(t,i),n=Qk(e,t,n,r,o,i),r=Jk(),e!==null&&!Xo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ic(e,t,i)):(yr&&r&&Fk(t),t.flags|=1,wo(e,t,n,i),t.child)}function NM(e,t,n,r,i){if(ea(n)){var o=!0;S5(t)}else o=!1;if(Tm(t,i),t.stateNode===null)S4(e,t),Hz(t,n,r),C9(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=cs(u):(u=ea(n)?Gh:lo.current,u=Xm(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";h||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&PM(t,a,r,u),gd=!1;var m=t.memoizedState;a.state=m,k5(t,r,a,i),l=t.memoizedState,s!==r||m!==l||Jo.current||gd?(typeof d=="function"&&(w9(t,n,d,r),l=t.memoizedState),(s=gd||EM(t,n,s,r,m,l,u))?(h||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Fz(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ns(t.type,s),a.props=u,h=t.pendingProps,m=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=cs(l):(l=ea(n)?Gh:lo.current,l=Xm(t,l));var v=n.getDerivedStateFromProps;(d=typeof v=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==h||m!==l)&&PM(t,a,r,l),gd=!1,m=t.memoizedState,a.state=m,k5(t,r,a,i);var b=t.memoizedState;s!==h||m!==b||Jo.current||gd?(typeof v=="function"&&(w9(t,n,v,r),b=t.memoizedState),(u=gd||EM(t,n,u,r,m,b,l)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,b,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,b,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),a.props=r,a.state=b,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return E9(e,t,n,r,o,i)}function E9(e,t,n,r,i,o){gH(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&xM(t,n,!1),ic(e,t,o);r=t.stateNode,y2e.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Qm(t,e.child,null,o),t.child=Qm(t,null,s,o)):wo(e,t,s,o),t.memoizedState=r.state,i&&xM(t,n,!0),t.child}function mH(e){var t=e.stateNode;t.pendingContext?SM(e,t.pendingContext,t.pendingContext!==t.context):t.context&&SM(e,t.context,!1),Yk(e,t.containerInfo)}function jM(e,t,n,r,i){return Zm(),Hk(i),t.flags|=256,wo(e,t,n,r),t.child}var P9={dehydrated:null,treeContext:null,retryLane:0};function T9(e){return{baseLanes:e,cachePool:null,transitions:null}}function vH(e,t,n){var r=t.pendingProps,i=_r.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),nr(_r,i&1),e===null)return S9(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=fx(a,r,0,null),e=Fh(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=T9(n),t.memoizedState=P9,e):nE(t,a));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return b2e(e,t,a,r,s,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Nd(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=Nd(s,o):(o=Fh(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?T9(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=P9,r}return o=e.child,e=o.sibling,r=Nd(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function nE(e,t){return t=fx({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function hb(e,t,n,r){return r!==null&&Hk(r),Qm(t,e.child,null,n),e=nE(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function b2e(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=G6(Error(Fe(422))),hb(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=fx({mode:"visible",children:r.children},i,0,null),o=Fh(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Qm(t,e.child,null,a),t.child.memoizedState=T9(a),t.memoizedState=P9,o);if(!(t.mode&1))return hb(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(Fe(419)),r=G6(o,r,void 0),hb(e,t,a,r)}if(s=(a&e.childLanes)!==0,Xo||s){if(r=Li,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,rc(e,i),Ks(r,e,i,-1))}return lE(),r=G6(Error(Fe(421))),hb(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=M2e.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ea=Md(i.nextSibling),La=t,yr=!0,$s=null,e!==null&&(Za[Qa++]=Uu,Za[Qa++]=Gu,Za[Qa++]=qh,Uu=e.id,Gu=e.overflow,qh=t),t=nE(t,r.children),t.flags|=4096,t)}function BM(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),x9(e.return,t,n)}function q6(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function yH(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(wo(e,t,r.children,n),r=_r.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&BM(e,n,t);else if(e.tag===19)BM(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(nr(_r,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&E5(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),q6(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&E5(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}q6(t,!0,n,null,o);break;case"together":q6(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function S4(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ic(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kh|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Fe(153));if(t.child!==null){for(e=t.child,n=Nd(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Nd(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function S2e(e,t,n){switch(t.tag){case 3:mH(t),Zm();break;case 5:Uz(t);break;case 1:ea(t.type)&&S5(t);break;case 4:Yk(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;nr(C5,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(nr(_r,_r.current&1),t.flags|=128,null):n&t.child.childLanes?vH(e,t,n):(nr(_r,_r.current&1),e=ic(e,t,n),e!==null?e.sibling:null);nr(_r,_r.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return yH(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),nr(_r,_r.current),r)break;return null;case 22:case 23:return t.lanes=0,pH(e,t,n)}return ic(e,t,n)}var bH,L9,SH,xH;bH=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};L9=function(){};SH=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ph(Jl.current);var o=null;switch(n){case"input":i=Z7(e,i),r=Z7(e,r),o=[];break;case"select":i=Tr({},i,{value:void 0}),r=Tr({},r,{value:void 0}),o=[];break;case"textarea":i=e9(e,i),r=e9(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=y5)}n9(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(O2.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(O2.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&or("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};xH=function(e,t,n,r){n!==r&&(t.flags|=4)};function J1(e,t){if(!yr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ji(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function x2e(e,t,n){var r=t.pendingProps;switch(zk(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ji(t),null;case 1:return ea(t.type)&&b5(),Ji(t),null;case 3:return r=t.stateNode,Jm(),fr(Jo),fr(lo),Xk(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(db(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$s!==null&&(j9($s),$s=null))),L9(e,t),Ji(t),null;case 5:Kk(t);var i=Ph(V2.current);if(n=t.type,e!==null&&t.stateNode!=null)SH(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Fe(166));return Ji(t),null}if(e=Ph(Jl.current),db(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[zl]=t,r[z2]=o,e=(t.mode&1)!==0,n){case"dialog":or("cancel",r),or("close",r);break;case"iframe":case"object":case"embed":or("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[zl]=t,e[z2]=r,bH(e,t,!1,!1),t.stateNode=e;e:{switch(a=r9(n,r),n){case"dialog":or("cancel",e),or("close",e),i=r;break;case"iframe":case"object":case"embed":or("load",e),i=r;break;case"video":case"audio":for(i=0;it0&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304)}else{if(!r)if(e=E5(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),J1(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!yr)return Ji(t),null}else 2*Zr()-o.renderingStartTime>t0&&n!==1073741824&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Zr(),t.sibling=null,n=_r.current,nr(_r,r?n&1|2:n&1),t):(Ji(t),null);case 22:case 23:return sE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_a&1073741824&&(Ji(t),t.subtreeFlags&6&&(t.flags|=8192)):Ji(t),null;case 24:return null;case 25:return null}throw Error(Fe(156,t.tag))}function w2e(e,t){switch(zk(t),t.tag){case 1:return ea(t.type)&&b5(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jm(),fr(Jo),fr(lo),Xk(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kk(t),null;case 13:if(fr(_r),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Fe(340));Zm()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fr(_r),null;case 4:return Jm(),null;case 10:return Uk(t.type._context),null;case 22:case 23:return sE(),null;case 24:return null;default:return null}}var pb=!1,io=!1,C2e=typeof WeakSet=="function"?WeakSet:Set,ht=null;function im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$r(e,t,r)}else n.current=null}function A9(e,t,n){try{n()}catch(r){$r(e,t,r)}}var $M=!1;function _2e(e,t){if(h9=g5,e=kz(),$k(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,d=0,h=e,m=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(s=a+i),h!==o||r!==0&&h.nodeType!==3||(l=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(v=h.firstChild)!==null;)m=h,h=v;for(;;){if(h===e)break t;if(m===n&&++u===i&&(s=a),m===o&&++d===r&&(l=a),(v=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(p9={focusedElem:e,selectionRange:n},g5=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){t=ht;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var S=b.memoizedProps,k=b.memoizedState,E=t.stateNode,_=E.getSnapshotBeforeUpdate(t.elementType===t.type?S:Ns(t.type,S),k);E.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Fe(163))}}catch(A){$r(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}return b=$M,$M=!1,b}function t2(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&A9(t,n,o)}i=i.next}while(i!==r)}}function cx(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function O9(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wH(e){var t=e.alternate;t!==null&&(e.alternate=null,wH(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zl],delete t[z2],delete t[v9],delete t[a2e],delete t[s2e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function CH(e){return e.tag===5||e.tag===3||e.tag===4}function FM(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||CH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function M9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=y5));else if(r!==4&&(e=e.child,e!==null))for(M9(e,t,n),e=e.sibling;e!==null;)M9(e,t,n),e=e.sibling}function I9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(I9(e,t,n),e=e.sibling;e!==null;)I9(e,t,n),e=e.sibling}var Hi=null,js=!1;function sd(e,t,n){for(n=n.child;n!==null;)_H(e,t,n),n=n.sibling}function _H(e,t,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(nx,n)}catch{}switch(n.tag){case 5:io||im(n,t);case 6:var r=Hi,i=js;Hi=null,sd(e,t,n),Hi=r,js=i,Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Hi.removeChild(n.stateNode));break;case 18:Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?F6(e.parentNode,n):e.nodeType===1&&F6(e,n),N2(e)):F6(Hi,n.stateNode));break;case 4:r=Hi,i=js,Hi=n.stateNode.containerInfo,js=!0,sd(e,t,n),Hi=r,js=i;break;case 0:case 11:case 14:case 15:if(!io&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&A9(n,t,a),i=i.next}while(i!==r)}sd(e,t,n);break;case 1:if(!io&&(im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){$r(n,t,s)}sd(e,t,n);break;case 21:sd(e,t,n);break;case 22:n.mode&1?(io=(r=io)||n.memoizedState!==null,sd(e,t,n),io=r):sd(e,t,n);break;default:sd(e,t,n)}}function zM(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new C2e),t.forEach(function(r){var i=I2e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Is(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Zr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*E2e(r/1960))-r,10e?16:e,kd===null)var r=!1;else{if(e=kd,kd=null,O5=0,pn&6)throw Error(Fe(331));var i=pn;for(pn|=4,ht=e.current;ht!==null;){var o=ht,a=o.child;if(ht.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lZr()-oE?$h(e,0):iE|=n),ta(e,t)}function MH(e,t){t===0&&(e.mode&1?(t=ob,ob<<=1,!(ob&130023424)&&(ob=4194304)):t=1);var n=To();e=rc(e,t),e!==null&&(ky(e,t,n),ta(e,n))}function M2e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),MH(e,n)}function I2e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Fe(314))}r!==null&&r.delete(t),MH(e,n)}var IH;IH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Jo.current)Xo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xo=!1,S2e(e,t,n);Xo=!!(e.flags&131072)}else Xo=!1,yr&&t.flags&1048576&&Nz(t,w5,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;S4(e,t),e=t.pendingProps;var i=Xm(t,lo.current);Tm(t,n),i=Qk(null,t,r,e,i,n);var o=Jk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(r)?(o=!0,S5(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qk(t),i.updater=lx,t.stateNode=i,i._reactInternals=t,C9(t,r,e,n),t=E9(null,t,r,!0,o,n)):(t.tag=0,yr&&o&&Fk(t),wo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(S4(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=D2e(r),e=Ns(r,e),i){case 0:t=k9(null,t,r,e,n);break e;case 1:t=NM(null,t,r,e,n);break e;case 11:t=RM(null,t,r,e,n);break e;case 14:t=DM(null,t,r,Ns(r.type,e),n);break e}throw Error(Fe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),k9(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),NM(e,t,r,i,n);case 3:e:{if(mH(t),e===null)throw Error(Fe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Fz(e,t),k5(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=e0(Error(Fe(423)),t),t=jM(e,t,r,n,i);break e}else if(r!==i){i=e0(Error(Fe(424)),t),t=jM(e,t,r,n,i);break e}else for(Ea=Md(t.stateNode.containerInfo.firstChild),La=t,yr=!0,$s=null,n=Wz(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zm(),r===i){t=ic(e,t,n);break e}wo(e,t,r,n)}t=t.child}return t;case 5:return Uz(t),e===null&&S9(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,g9(r,i)?a=null:o!==null&&g9(r,o)&&(t.flags|=32),gH(e,t),wo(e,t,a,n),t.child;case 6:return e===null&&S9(t),null;case 13:return vH(e,t,n);case 4:return Yk(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qm(t,null,r,n):wo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),RM(e,t,r,i,n);case 7:return wo(e,t,t.pendingProps,n),t.child;case 8:return wo(e,t,t.pendingProps.children,n),t.child;case 12:return wo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,nr(C5,r._currentValue),r._currentValue=a,o!==null)if(Js(o.value,a)){if(o.children===i.children&&!Jo.current){t=ic(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qu(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),x9(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Fe(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),x9(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}wo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Tm(t,n),i=cs(i),r=r(i),t.flags|=1,wo(e,t,r,n),t.child;case 14:return r=t.type,i=Ns(r,t.pendingProps),i=Ns(r.type,i),DM(e,t,r,i,n);case 15:return hH(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),S4(e,t),t.tag=1,ea(r)?(e=!0,S5(t)):e=!1,Tm(t,n),Hz(t,r,i),C9(t,r,i,n),E9(null,t,r,!0,e,n);case 19:return yH(e,t,n);case 22:return pH(e,t,n)}throw Error(Fe(156,t.tag))};function RH(e,t){return az(e,t)}function R2e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ns(e,t,n,r){return new R2e(e,t,n,r)}function uE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function D2e(e){if(typeof e=="function")return uE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tk)return 11;if(e===Lk)return 14}return 2}function Nd(e,t){var n=e.alternate;return n===null?(n=ns(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function C4(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")uE(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kg:return Fh(n.children,i,o,t);case Pk:a=8,i|=8;break;case q7:return e=ns(12,n,t,i|2),e.elementType=q7,e.lanes=o,e;case Y7:return e=ns(13,n,t,i),e.elementType=Y7,e.lanes=o,e;case K7:return e=ns(19,n,t,i),e.elementType=K7,e.lanes=o,e;case VF:return fx(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zF:a=10;break e;case HF:a=9;break e;case Tk:a=11;break e;case Lk:a=14;break e;case pd:a=16,r=null;break e}throw Error(Fe(130,e==null?e:typeof e,""))}return t=ns(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Fh(e,t,n,r){return e=ns(7,e,r,t),e.lanes=n,e}function fx(e,t,n,r){return e=ns(22,e,r,t),e.elementType=VF,e.lanes=n,e.stateNode={isHidden:!1},e}function Y6(e,t,n){return e=ns(6,e,null,t),e.lanes=n,e}function K6(e,t,n){return t=ns(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function N2e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=L6(0),this.expirationTimes=L6(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=L6(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cE(e,t,n,r,i,o,a,s,l){return e=new N2e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ns(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qk(o),e}function j2e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Na})(B1e);const vb=d_(Qs);var[H2e,V2e]=Mn({strict:!1,name:"PortalManagerContext"});function BH(e){const{children:t,zIndex:n}=e;return N.createElement(H2e,{value:{zIndex:n}},t)}BH.displayName="PortalManager";var[$H,W2e]=Mn({strict:!1,name:"PortalContext"}),pE="chakra-portal",U2e=".chakra-portal",G2e=e=>N.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),q2e=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=w.useState(null),o=w.useRef(null),[,a]=w.useState({});w.useEffect(()=>a({}),[]);const s=W2e(),l=V2e();Ws(()=>{if(!r)return;const d=r.ownerDocument,h=t?s??d.body:d.body;if(!h)return;o.current=d.createElement("div"),o.current.className=pE,h.appendChild(o.current),a({});const m=o.current;return()=>{h.contains(m)&&h.removeChild(m)}},[r]);const u=l!=null&&l.zIndex?N.createElement(G2e,{zIndex:l==null?void 0:l.zIndex},n):n;return o.current?Qs.createPortal(N.createElement($H,{value:o.current},u),o.current):N.createElement("span",{ref:d=>{d&&i(d)}})},Y2e=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=w.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=pE),l},[i]),[,s]=w.useState({});return Ws(()=>s({}),[]),Ws(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Qs.createPortal(N.createElement($H,{value:r?a:null},t),a):null};function ap(e){const{containerRef:t,...n}=e;return t?N.createElement(Y2e,{containerRef:t,...n}):N.createElement(q2e,{...n})}ap.defaultProps={appendToParentPortal:!0};ap.className=pE;ap.selector=U2e;ap.displayName="Portal";var K2e=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eg=new WeakMap,yb=new WeakMap,bb={},X6=0,FH=function(e){return e&&(e.host||FH(e.parentNode))},X2e=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=FH(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return Boolean(n)})},Z2e=function(e,t,n,r){var i=X2e(t,Array.isArray(e)?e:[e]);bb[n]||(bb[n]=new WeakMap);var o=bb[n],a=[],s=new Set,l=new Set(i),u=function(h){!h||s.has(h)||(s.add(h),u(h.parentNode))};i.forEach(u);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))d(m);else{var v=m.getAttribute(r),b=v!==null&&v!=="false",S=(Eg.get(m)||0)+1,k=(o.get(m)||0)+1;Eg.set(m,S),o.set(m,k),a.push(m),S===1&&b&&yb.set(m,!0),k===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}})};return d(t),s.clear(),X6++,function(){a.forEach(function(h){var m=Eg.get(h)-1,v=o.get(h)-1;Eg.set(h,m),o.set(h,v),m||(yb.has(h)||h.removeAttribute(r),yb.delete(h)),v||h.removeAttribute(n)}),X6--,X6||(Eg=new WeakMap,Eg=new WeakMap,yb=new WeakMap,bb={})}},zH=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||K2e(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),Z2e(r,i,n,"aria-hidden")):function(){return null}};function gE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var jn={},Q2e={get exports(){return jn},set exports(e){jn=e}},J2e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eye=J2e,tye=eye;function HH(){}function VH(){}VH.resetWarningCache=HH;var nye=function(){function e(r,i,o,a,s,l){if(l!==tye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:VH,resetWarningCache:HH};return n.PropTypes=n,n};Q2e.exports=nye();var B9="data-focus-lock",WH="data-focus-lock-disabled",rye="data-no-focus-lock",iye="data-autofocus-inside",oye="data-no-autofocus";function aye(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sye(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function UH(e,t){return sye(t||null,function(n){return e.forEach(function(r){return aye(r,n)})})}var Z6={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function GH(e){return e}function qH(e,t){t===void 0&&(t=GH);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return i}function mE(e,t){return t===void 0&&(t=GH),qH(e,t)}function YH(e){e===void 0&&(e={});var t=qH(null);return t.options=Fl({async:!0,ssr:!1},e),t}var KH=function(e){var t=e.sideCar,n=$$(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,Fl({},n))};KH.isSideCarExport=!0;function lye(e,t){return e.useMedium(t),KH}var XH=mE({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),ZH=mE(),uye=mE(),cye=YH({async:!0}),dye=[],vE=w.forwardRef(function(t,n){var r,i=w.useState(),o=i[0],a=i[1],s=w.useRef(),l=w.useRef(!1),u=w.useRef(null),d=t.children,h=t.disabled,m=t.noFocusGuards,v=t.persistentFocus,b=t.crossFrame,S=t.autoFocus;t.allowTextSelection;var k=t.group,E=t.className,_=t.whiteList,T=t.hasPositiveIndices,A=t.shards,I=A===void 0?dye:A,R=t.as,D=R===void 0?"div":R,j=t.lockProps,z=j===void 0?{}:j,V=t.sideCar,K=t.returnFocus,te=t.focusOptions,q=t.onActivation,$=t.onDeactivation,U=w.useState({}),X=U[0],Z=w.useCallback(function(){u.current=u.current||document&&document.activeElement,s.current&&q&&q(s.current),l.current=!0},[q]),W=w.useCallback(function(){l.current=!1,$&&$(s.current)},[$]);w.useEffect(function(){h||(u.current=null)},[]);var Q=w.useCallback(function(ot){var He=u.current;if(He&&He.focus){var Be=typeof K=="function"?K(He):K;if(Be){var wt=typeof Be=="object"?Be:void 0;u.current=null,ot?Promise.resolve().then(function(){return He.focus(wt)}):He.focus(wt)}}},[K]),ie=w.useCallback(function(ot){l.current&&XH.useMedium(ot)},[]),fe=ZH.useMedium,Se=w.useCallback(function(ot){s.current!==ot&&(s.current=ot,a(ot))},[]),Pe=bn((r={},r[WH]=h&&"disabled",r[B9]=k,r),z),ye=m!==!0,We=ye&&m!=="tail",De=UH([n,Se]);return w.createElement(w.Fragment,null,ye&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}),T?w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:Z6}):null],!h&&w.createElement(V,{id:X,sideCar:cye,observed:o,disabled:h,persistentFocus:v,crossFrame:b,autoFocus:S,whiteList:_,shards:I,onActivation:Z,onDeactivation:W,returnFocus:Q,focusOptions:te}),w.createElement(D,bn({ref:De},Pe,{className:E,onBlur:fe,onFocus:ie}),d),We&&w.createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}))});vE.propTypes={};vE.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const QH=vE;function $9(e,t){return $9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$9(e,t)}function yE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$9(e,t)}function JH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fye(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function s(){a=e(o.map(function(u){return u.props})),t(a)}var l=function(u){yE(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return a};var h=d.prototype;return h.componentDidMount=function(){o.push(this),s()},h.componentDidUpdate=function(){s()},h.componentWillUnmount=function(){var v=o.indexOf(this);o.splice(v,1),s()},h.render=function(){return N.createElement(i,this.props)},d}(w.PureComponent);return JH(l,"displayName","SideEffect("+n(i)+")"),l}}var fu=function(e){for(var t=Array(e.length),n=0;n=0}).sort(Sye)},xye=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],SE=xye.join(","),wye="".concat(SE,", [data-focus-guard]"),lV=function(e,t){var n;return fu(((n=e.shadowRoot)===null||n===void 0?void 0:n.children)||e.children).reduce(function(r,i){return r.concat(i.matches(t?wye:SE)?[i]:[],lV(i))},[])},xE=function(e,t){return e.reduce(function(n,r){return n.concat(lV(r,t),r.parentNode?fu(r.parentNode.querySelectorAll(SE)).filter(function(i){return i===r}):[])},[])},Cye=function(e){var t=e.querySelectorAll("[".concat(iye,"]"));return fu(t).map(function(n){return xE([n])}).reduce(function(n,r){return n.concat(r)},[])},wE=function(e,t){return fu(e).filter(function(n){return nV(t,n)}).filter(function(n){return vye(n)})},KM=function(e,t){return t===void 0&&(t=new Map),fu(e).filter(function(n){return rV(t,n)})},z9=function(e,t,n){return sV(wE(xE(e,n),t),!0,n)},XM=function(e,t){return sV(wE(xE(e),t),!1)},_ye=function(e,t){return wE(Cye(e),t)},Y2=function(e,t){return e.shadowRoot?Y2(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:fu(e.children).some(function(n){return Y2(n,t)})},kye=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},uV=function(e){return e.parentNode?uV(e.parentNode):e},CE=function(e){var t=F9(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(B9);return n.push.apply(n,i?kye(fu(uV(r).querySelectorAll("[".concat(B9,'="').concat(i,'"]:not([').concat(WH,'="disabled"])')))):[r]),n},[])},cV=function(e){return e.activeElement?e.activeElement.shadowRoot?cV(e.activeElement.shadowRoot):e.activeElement:void 0},_E=function(){return document.activeElement?document.activeElement.shadowRoot?cV(document.activeElement.shadowRoot):document.activeElement:void 0},Eye=function(e){return e===document.activeElement},Pye=function(e){return Boolean(fu(e.querySelectorAll("iframe")).some(function(t){return Eye(t)}))},dV=function(e){var t=document&&_E();return!t||t.dataset&&t.dataset.focusGuard?!1:CE(e).some(function(n){return Y2(n,t)||Pye(n)})},Tye=function(){var e=document&&_E();return e?fu(document.querySelectorAll("[".concat(rye,"]"))).some(function(t){return Y2(t,e)}):!1},Lye=function(e,t){return t.filter(aV).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},kE=function(e,t){return aV(e)&&e.name?Lye(e,t):e},Aye=function(e){var t=new Set;return e.forEach(function(n){return t.add(kE(n,e))}),e.filter(function(n){return t.has(n)})},ZM=function(e){return e[0]&&e.length>1?kE(e[0],e):e[0]},QM=function(e,t){return e.length>1?e.indexOf(kE(e[t],e)):t},fV="NEW_FOCUS",Oye=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=bE(n);if(!(n&&e.indexOf(n)>=0)){var l=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):l,d=r?e.indexOf(r):-1,h=l-u,m=t.indexOf(o),v=t.indexOf(a),b=Aye(t),S=n!==void 0?b.indexOf(n):-1,k=S-(r?b.indexOf(r):l),E=QM(e,0),_=QM(e,i-1);if(l===-1||d===-1)return fV;if(!h&&d>=0)return d;if(l<=m&&s&&Math.abs(h)>1)return _;if(l>=v&&s&&Math.abs(h)>1)return E;if(h&&Math.abs(k)>1)return d;if(l<=m)return _;if(l>v)return E;if(h)return Math.abs(h)>1?d:(i+d+h)%i}},Mye=function(e){return function(t){var n,r=(n=iV(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Iye=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=KM(r.filter(Mye(n)));return i&&i.length?ZM(i):ZM(KM(t))},H9=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&H9(e.parentNode.host||e.parentNode,t),t},Q6=function(e,t){for(var n=H9(e),r=H9(t),i=0;i=0)return o}return!1},hV=function(e,t,n){var r=F9(e),i=F9(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(s){a=Q6(a||s,s)||a,n.filter(Boolean).forEach(function(l){var u=Q6(o,l);u&&(!a||Y2(u,a)?a=u:a=Q6(u,a))})}),a},Rye=function(e,t){return e.reduce(function(n,r){return n.concat(_ye(r,t))},[])},Dye=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(bye)},Nye=function(e,t){var n=document&&_E(),r=CE(e).filter(R5),i=hV(n||e,e,r),o=new Map,a=XM(r,o),s=z9(r,o).filter(function(m){var v=m.node;return R5(v)});if(!(!s[0]&&(s=a,!s[0]))){var l=XM([i],o).map(function(m){var v=m.node;return v}),u=Dye(l,s),d=u.map(function(m){var v=m.node;return v}),h=Oye(d,l,n,t);return h===fV?{node:Iye(a,d,Rye(r,o))}:h===void 0?h:u[h]}},jye=function(e){var t=CE(e).filter(R5),n=hV(e,e,t),r=new Map,i=z9([n],r,!0),o=z9(t,r).filter(function(a){var s=a.node;return R5(s)}).map(function(a){var s=a.node;return s});return i.map(function(a){var s=a.node,l=a.index;return{node:s,index:l,lockItem:o.indexOf(s)>=0,guard:bE(s)}})},Bye=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},J6=0,eC=!1,$ye=function(e,t,n){n===void 0&&(n={});var r=Nye(e,t);if(!eC&&r){if(J6>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eC=!0,setTimeout(function(){eC=!1},1);return}J6++,Bye(r.node,n.focusOptions),J6--}};const pV=$ye;function gV(e){var t=window,n=t.setImmediate;typeof n<"u"?n(e):setTimeout(e,1)}var Fye=function(){return document&&document.activeElement===document.body},zye=function(){return Fye()||Tye()},Am=null,am=null,Om=null,K2=!1,Hye=function(){return!0},Vye=function(t){return(Am.whiteList||Hye)(t)},Wye=function(t,n){Om={observerNode:t,portaledElement:n}},Uye=function(t){return Om&&Om.portaledElement===t};function JM(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var Gye=function(t){return t&&"current"in t?t.current:t},qye=function(t){return t?Boolean(K2):K2==="meanwhile"},Yye=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Kye=function(t,n){return n.some(function(r){return Yye(t,r,r)})},D5=function(){var t=!1;if(Am){var n=Am,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||Om&&Om.portaledElement,d=document&&document.activeElement;if(u){var h=[u].concat(a.map(Gye).filter(Boolean));if((!d||Vye(d))&&(i||qye(s)||!zye()||!am&&o)&&(u&&!(dV(h)||d&&Kye(d,h)||Uye(d))&&(document&&!am&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(t=pV(h,am,{focusOptions:l}),Om={})),K2=!1,am=document&&document.activeElement),document){var m=document&&document.activeElement,v=jye(h),b=v.map(function(S){var k=S.node;return k}).indexOf(m);b>-1&&(v.filter(function(S){var k=S.guard,E=S.node;return k&&E.dataset.focusAutoGuard}).forEach(function(S){var k=S.node;return k.removeAttribute("tabIndex")}),JM(b,v.length,1,v),JM(b,-1,-1,v))}}}return t},mV=function(t){D5()&&t&&(t.stopPropagation(),t.preventDefault())},EE=function(){return gV(D5)},Xye=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Wye(r,n)},Zye=function(){return null},vV=function(){K2="just",setTimeout(function(){K2="meanwhile"},0)},Qye=function(){document.addEventListener("focusin",mV),document.addEventListener("focusout",EE),window.addEventListener("blur",vV)},Jye=function(){document.removeEventListener("focusin",mV),document.removeEventListener("focusout",EE),window.removeEventListener("blur",vV)};function e3e(e){return e.filter(function(t){var n=t.disabled;return!n})}function t3e(e){var t=e.slice(-1)[0];t&&!Am&&Qye();var n=Am,r=n&&t&&t.id===n.id;Am=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(am=null,(!r||n.observed!==t.observed)&&t.onActivation(),D5(),gV(D5)):(Jye(),am=null)}XH.assignSyncMedium(Xye);ZH.assignMedium(EE);uye.assignMedium(function(e){return e({moveFocusInside:pV,focusInside:dV})});const n3e=fye(e3e,t3e)(Zye);var yV=w.forwardRef(function(t,n){return w.createElement(QH,bn({sideCar:n3e,ref:n},t))}),bV=QH.propTypes||{};bV.sideCar;gE(bV,["sideCar"]);yV.propTypes={};const r3e=yV;var SV=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=w.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&kF(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),h=w.useCallback(()=>{var v;(v=n==null?void 0:n.current)==null||v.focus()},[n]),m=i&&!n;return N.createElement(r3e,{crossFrame:u,persistentFocus:l,autoFocus:s,disabled:a,onActivation:d,onDeactivation:h,returnFocus:m},o)};SV.displayName="FocusLock";var _4="right-scroll-bar-position",k4="width-before-scroll-bar",i3e="with-scroll-bars-hidden",o3e="--removed-body-scroll-bar-size",xV=YH(),tC=function(){},vx=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:tC,onWheelCapture:tC,onTouchMoveCapture:tC}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,m=e.sideCar,v=e.noIsolation,b=e.inert,S=e.allowPinchZoom,k=e.as,E=k===void 0?"div":k,_=$$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),T=m,A=UH([n,t]),I=Fl(Fl({},_),i);return w.createElement(w.Fragment,null,d&&w.createElement(T,{sideCar:xV,removeScrollBar:u,shards:h,noIsolation:v,inert:b,setCallbacks:o,allowPinchZoom:!!S,lockRef:n}),a?w.cloneElement(w.Children.only(s),Fl(Fl({},I),{ref:A})):w.createElement(E,Fl({},I,{className:l,ref:A}),s))});vx.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};vx.classNames={fullWidth:k4,zeroRight:_4};var a3e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s3e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a3e();return t&&e.setAttribute("nonce",t),e}function l3e(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u3e(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c3e=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s3e())&&(l3e(t,n),u3e(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d3e=function(){var e=c3e();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wV=function(){var e=d3e(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},f3e={left:0,top:0,right:0,gap:0},nC=function(e){return parseInt(e||"",10)||0},h3e=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[nC(n),nC(r),nC(i)]},p3e=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f3e;var t=h3e(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},g3e=wV(),m3e=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` .`.concat(i3e,` { overflow: hidden `).concat(r,`; padding-right: `).concat(s,"px ").concat(r,`; @@ -404,10 +404,10 @@ Error generating stack: `+o.message+` body { `).concat(o3e,": ").concat(s,`px; } -`)},v3e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=w.useMemo(function(){return p3e(i)},[i]);return w.createElement(g3e,{styles:m3e(o,!t,i,n?"":"!important")})},V9=!1;if(typeof window<"u")try{var Sb=Object.defineProperty({},"passive",{get:function(){return V9=!0,!0}});window.addEventListener("test",Sb,Sb),window.removeEventListener("test",Sb,Sb)}catch{V9=!1}var Pg=V9?{passive:!1}:!1,y3e=function(e){return e.tagName==="TEXTAREA"},CV=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!y3e(e)&&n[t]==="visible")},b3e=function(e){return CV(e,"overflowY")},S3e=function(e){return CV(e,"overflowX")},eI=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=_V(e,n);if(r){var i=kV(e,n),o=i[1],a=i[2];if(o>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},x3e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},w3e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},_V=function(e,t){return e==="v"?b3e(t):S3e(t)},kV=function(e,t){return e==="v"?x3e(t):w3e(t)},C3e=function(e,t){return e==="h"&&t==="rtl"?-1:1},_3e=function(e,t,n,r,i){var o=C3e(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,d=a>0,h=0,m=0;do{var v=kV(e,s),b=v[0],S=v[1],E=v[2],k=S-E-o*b;(b||k)&&_V(e,s)&&(h+=k,m+=b),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&(i&&h===0||!i&&a>h)||!d&&(i&&m===0||!i&&-a>m))&&(u=!0),u},xb=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tI=function(e){return[e.deltaX,e.deltaY]},nI=function(e){return e&&"current"in e?e.current:e},k3e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},E3e=function(e){return` +`)},v3e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=w.useMemo(function(){return p3e(i)},[i]);return w.createElement(g3e,{styles:m3e(o,!t,i,n?"":"!important")})},V9=!1;if(typeof window<"u")try{var Sb=Object.defineProperty({},"passive",{get:function(){return V9=!0,!0}});window.addEventListener("test",Sb,Sb),window.removeEventListener("test",Sb,Sb)}catch{V9=!1}var Pg=V9?{passive:!1}:!1,y3e=function(e){return e.tagName==="TEXTAREA"},CV=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!y3e(e)&&n[t]==="visible")},b3e=function(e){return CV(e,"overflowY")},S3e=function(e){return CV(e,"overflowX")},eI=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=_V(e,n);if(r){var i=kV(e,n),o=i[1],a=i[2];if(o>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},x3e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},w3e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},_V=function(e,t){return e==="v"?b3e(t):S3e(t)},kV=function(e,t){return e==="v"?x3e(t):w3e(t)},C3e=function(e,t){return e==="h"&&t==="rtl"?-1:1},_3e=function(e,t,n,r,i){var o=C3e(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,d=a>0,h=0,m=0;do{var v=kV(e,s),b=v[0],S=v[1],k=v[2],E=S-k-o*b;(b||E)&&_V(e,s)&&(h+=E,m+=b),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&(i&&h===0||!i&&a>h)||!d&&(i&&m===0||!i&&-a>m))&&(u=!0),u},xb=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tI=function(e){return[e.deltaX,e.deltaY]},nI=function(e){return e&&"current"in e?e.current:e},k3e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},E3e=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},P3e=0,Tg=[];function T3e(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),i=w.useState(P3e++)[0],o=w.useState(function(){return wV()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var S=D7([e.lockRef.current],(e.shards||[]).map(nI),!0).filter(Boolean);return S.forEach(function(E){return E.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),S.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=w.useCallback(function(S,E){if("touches"in S&&S.touches.length===2)return!a.current.allowPinchZoom;var k=xb(S),_=n.current,T="deltaX"in S?S.deltaX:_[0]-k[0],A="deltaY"in S?S.deltaY:_[1]-k[1],I,R=S.target,D=Math.abs(T)>Math.abs(A)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var j=eI(D,R);if(!j)return!0;if(j?I=D:(I=D==="v"?"h":"v",j=eI(D,R)),!j)return!1;if(!r.current&&"changedTouches"in S&&(T||A)&&(r.current=I),!I)return!0;var z=r.current||I;return _3e(z,E,S,z==="h"?T:A,!0)},[]),l=w.useCallback(function(S){var E=S;if(!(!Tg.length||Tg[Tg.length-1]!==o)){var k="deltaY"in E?tI(E):xb(E),_=t.current.filter(function(I){return I.name===E.type&&I.target===E.target&&k3e(I.delta,k)})[0];if(_&&_.should){E.cancelable&&E.preventDefault();return}if(!_){var T=(a.current.shards||[]).map(nI).filter(Boolean).filter(function(I){return I.contains(E.target)}),A=T.length>0?s(E,T[0]):!a.current.noIsolation;A&&E.cancelable&&E.preventDefault()}}},[]),u=w.useCallback(function(S,E,k,_){var T={name:S,delta:E,target:k,should:_};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(A){return A!==T})},1)},[]),d=w.useCallback(function(S){n.current=xb(S),r.current=void 0},[]),h=w.useCallback(function(S){u(S.type,tI(S),S.target,s(S,e.lockRef.current))},[]),m=w.useCallback(function(S){u(S.type,xb(S),S.target,s(S,e.lockRef.current))},[]);w.useEffect(function(){return Tg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Pg),document.addEventListener("touchmove",l,Pg),document.addEventListener("touchstart",d,Pg),function(){Tg=Tg.filter(function(S){return S!==o}),document.removeEventListener("wheel",l,Pg),document.removeEventListener("touchmove",l,Pg),document.removeEventListener("touchstart",d,Pg)}},[]);var v=e.removeScrollBar,b=e.inert;return w.createElement(w.Fragment,null,b?w.createElement(o,{styles:E3e(i)}):null,v?w.createElement(v3e,{gapMode:"margin"}):null)}const L3e=lye(xV,T3e);var EV=w.forwardRef(function(e,t){return w.createElement(vx,Fl({},e,{ref:t,sideCar:L3e}))});EV.classNames=vx.classNames;const PV=EV;var sp=(...e)=>e.filter(Boolean).join(" ");function wv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var A3e=class{constructor(){an(this,"modals");this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},W9=new A3e;function O3e(e,t){w.useEffect(()=>(t&&W9.add(e),()=>{W9.remove(e)}),[t,e])}function M3e(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,u=w.useRef(null),d=w.useRef(null),[h,m,v]=R3e(r,"chakra-modal","chakra-modal--header","chakra-modal--body");I3e(u,t&&a),O3e(u,t);const b=w.useRef(null),S=w.useCallback(j=>{b.current=j.target},[]),E=w.useCallback(j=>{j.key==="Escape"&&(j.stopPropagation(),o&&(n==null||n()),l==null||l())},[o,n,l]),[k,_]=w.useState(!1),[T,A]=w.useState(!1),I=w.useCallback((j={},z=null)=>({role:"dialog",...j,ref:qn(z,u),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":k?m:void 0,"aria-describedby":T?v:void 0,onClick:wv(j.onClick,V=>V.stopPropagation())}),[v,T,h,m,k]),R=w.useCallback(j=>{j.stopPropagation(),b.current===j.target&&W9.isTopModal(u)&&(i&&(n==null||n()),s==null||s())},[n,i,s]),D=w.useCallback((j={},z=null)=>({...j,ref:qn(z,d),onClick:wv(j.onClick,R),onKeyDown:wv(j.onKeyDown,E),onMouseDown:wv(j.onMouseDown,S)}),[E,S,R]);return{isOpen:t,onClose:n,headerId:m,bodyId:v,setBodyMounted:A,setHeaderMounted:_,dialogRef:u,overlayRef:d,getDialogProps:I,getDialogContainerProps:D}}function I3e(e,t){const n=e.current;w.useEffect(()=>{if(!(!e.current||!t))return zH(e.current)},[t,e,n])}function R3e(e,...t){const n=w.useId(),r=e||n;return w.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}var[D3e,lp]=Mn({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[N3e,qd]=Mn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Yd=e=>{const{portalProps:t,children:n,autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m,onCloseComplete:v}=e,b=Yi("Modal",e),E={...M3e(e),autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m};return N.createElement(N3e,{value:E},N.createElement(D3e,{value:b},N.createElement(nf,{onExitComplete:v},E.isOpen&&N.createElement(ap,{...t},n))))};Yd.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};Yd.displayName="Modal";var n0=Ae((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__body",n),s=lp();return N.createElement(Ce.div,{ref:t,className:a,id:i,...r,__css:s.body})});n0.displayName="ModalBody";var Ly=Ae((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=qd(),a=sp("chakra-modal__close-btn",r),s=lp();return N.createElement(JS,{ref:t,__css:s.closeButton,className:a,onClick:wv(n,l=>{l.stopPropagation(),o()}),...i})});Ly.displayName="ModalCloseButton";function TV(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d}=qd(),[h,m]=K_();return w.useEffect(()=>{!h&&m&&setTimeout(m)},[h,m]),N.createElement(SV,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:d},N.createElement(PV,{removeScrollBar:!u,allowPinchZoom:a,enabled:o,forwardProps:!0},e.children))}var j3e={slideInBottom:{...j7,custom:{offsetY:16,reverse:!0}},slideInRight:{...j7,custom:{offsetX:16,reverse:!0}},scale:{...H$,custom:{initialScale:.95,reverse:!0}},none:{}},B3e=Ce(du.section),$3e=e=>j3e[e||"none"],LV=w.forwardRef((e,t)=>{const{preset:n,motionProps:r=$3e(n),...i}=e;return N.createElement(B3e,{ref:t,...r,...i})});LV.displayName="ModalTransition";var Zh=Ae((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=qd(),u=s(a,t),d=l(i),h=sp("chakra-modal__content",n),m=lp(),v={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...m.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...m.dialogContainer},{motionPreset:S}=qd();return N.createElement(TV,null,N.createElement(Ce.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:b},N.createElement(LV,{preset:S,motionProps:o,className:h,...u,__css:v},r)))});Zh.displayName="ModalContent";var yx=Ae((e,t)=>{const{className:n,...r}=e,i=sp("chakra-modal__footer",n),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...lp().footer};return N.createElement(Ce.footer,{ref:t,...r,__css:a,className:i})});yx.displayName="ModalFooter";var w0=Ae((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__header",n),l={flex:0,...lp().header};return N.createElement(Ce.header,{ref:t,className:a,id:i,...r,__css:l})});w0.displayName="ModalHeader";var F3e=Ce(du.div),Kd=Ae((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=sp("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...lp().overlay},{motionPreset:u}=qd(),h=i||(u==="none"?{}:z$);return N.createElement(F3e,{...h,__css:l,ref:t,className:a,...o})});Kd.displayName="ModalOverlay";function AV(e){const{leastDestructiveRef:t,...n}=e;return N.createElement(Yd,{...n,initialFocusRef:t})}var OV=Ae((e,t)=>N.createElement(Zh,{ref:t,role:"alertdialog",...e})),[QFe,z3e]=Mn(),H3e=Ce(V$),V3e=Ae((e,t)=>{const{className:n,children:r,motionProps:i,containerProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=qd(),d=s(a,t),h=l(o),m=sp("chakra-modal__content",n),v=lp(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...v.dialog},S={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...v.dialogContainer},{placement:E}=z3e();return N.createElement(TV,null,N.createElement(Ce.div,{...h,className:"chakra-modal__content-container",__css:S},N.createElement(H3e,{motionProps:i,direction:E,in:u,className:m,...d,__css:b},r)))});V3e.displayName="DrawerContent";function W3e(e,t){const n=Er(e);w.useEffect(()=>{let r=null;const i=()=>n();return t!==null&&(r=window.setInterval(i,t)),()=>{r&&window.clearInterval(r)}},[t,n])}var MV=(...e)=>e.filter(Boolean).join(" "),rC=e=>e?!0:void 0;function Al(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var U3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})),G3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"}));function rI(e,t,n,r){w.useEffect(()=>{if(!e.current||!r)return;const i=e.current.ownerDocument.defaultView??window,o=Array.isArray(t)?t:[t],a=new i.MutationObserver(s=>{for(const l of s)l.type==="attributes"&&l.attributeName&&o.includes(l.attributeName)&&n(l)});return a.observe(e.current,{attributes:!0,attributeFilter:o}),()=>a.disconnect()})}var q3e=50,iI=300;function Y3e(e,t){const[n,r]=w.useState(!1),[i,o]=w.useState(null),[a,s]=w.useState(!0),l=w.useRef(null),u=()=>clearTimeout(l.current);W3e(()=>{i==="increment"&&e(),i==="decrement"&&t()},n?q3e:null);const d=w.useCallback(()=>{a&&e(),l.current=setTimeout(()=>{s(!1),r(!0),o("increment")},iI)},[e,a]),h=w.useCallback(()=>{a&&t(),l.current=setTimeout(()=>{s(!1),r(!0),o("decrement")},iI)},[t,a]),m=w.useCallback(()=>{s(!0),r(!1),u()},[]);return w.useEffect(()=>()=>u(),[]),{up:d,down:h,stop:m,isSpinning:n}}var K3e=/^[Ee0-9+\-.]$/;function X3e(e){return K3e.test(e)}function Z3e(e,t){if(e.key==null)return!0;const n=e.ctrlKey||e.altKey||e.metaKey;return!(e.key.length===1)||n?!0:t(e.key)}function Q3e(e={}){const{focusInputOnChange:t=!0,clampValueOnBlur:n=!0,keepWithinRange:r=!0,min:i=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:a=1,isReadOnly:s,isDisabled:l,isRequired:u,isInvalid:d,pattern:h="[0-9]*(.[0-9]+)?",inputMode:m="decimal",allowMouseWheel:v,id:b,onChange:S,precision:E,name:k,"aria-describedby":_,"aria-label":T,"aria-labelledby":A,onFocus:I,onBlur:R,onInvalid:D,getAriaValueText:j,isValidCharacter:z,format:V,parse:K,...te}=e,q=Er(I),$=Er(R),W=Er(D),X=Er(z??X3e),Z=Er(j),U=cme(e),{update:Q,increment:ie,decrement:fe}=U,[Se,Pe]=w.useState(!1),ye=!(s||l),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useRef(null),Be=w.useCallback(Te=>Te.split("").filter(X).join(""),[X]),wt=w.useCallback(Te=>(K==null?void 0:K(Te))??Te,[K]),st=w.useCallback(Te=>((V==null?void 0:V(Te))??Te).toString(),[V]);Vd(()=>{(U.valueAsNumber>o||U.valueAsNumber{if(!We.current)return;if(We.current.value!=U.value){const At=wt(We.current.value);U.setValue(Be(At))}},[wt,Be]);const mt=w.useCallback((Te=a)=>{ye&&ie(Te)},[ie,ye,a]),St=w.useCallback((Te=a)=>{ye&&fe(Te)},[fe,ye,a]),Le=Y3e(mt,St);rI(ot,"disabled",Le.stop,Le.isSpinning),rI(He,"disabled",Le.stop,Le.isSpinning);const lt=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;const $e=wt(Te.currentTarget.value);Q(Be($e)),De.current={start:Te.currentTarget.selectionStart,end:Te.currentTarget.selectionEnd}},[Q,Be,wt]),Mt=w.useCallback(Te=>{var At;q==null||q(Te),De.current&&(Te.target.selectionStart=De.current.start??((At=Te.currentTarget.value)==null?void 0:At.length),Te.currentTarget.selectionEnd=De.current.end??Te.currentTarget.selectionStart)},[q]),ut=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;Z3e(Te,X)||Te.preventDefault();const At=_t(Te)*a,$e=Te.key,tn={ArrowUp:()=>mt(At),ArrowDown:()=>St(At),Home:()=>Q(i),End:()=>Q(o)}[$e];tn&&(Te.preventDefault(),tn(Te))},[X,a,mt,St,Q,i,o]),_t=Te=>{let At=1;return(Te.metaKey||Te.ctrlKey)&&(At=.1),Te.shiftKey&&(At=10),At},ln=w.useMemo(()=>{const Te=Z==null?void 0:Z(U.value);if(Te!=null)return Te;const At=U.value.toString();return At||void 0},[U.value,Z]),ae=w.useCallback(()=>{let Te=U.value;if(U.value==="")return;/^[eE]/.test(U.value.toString())?U.setValue(""):(U.valueAsNumbero&&(Te=o),U.cast(Te))},[U,o,i]),Re=w.useCallback(()=>{Pe(!1),n&&ae()},[n,Pe,ae]),Ye=w.useCallback(()=>{t&&requestAnimationFrame(()=>{var Te;(Te=We.current)==null||Te.focus()})},[t]),Ke=w.useCallback(Te=>{Te.preventDefault(),Le.up(),Ye()},[Ye,Le]),xe=w.useCallback(Te=>{Te.preventDefault(),Le.down(),Ye()},[Ye,Le]);Rh(()=>We.current,"wheel",Te=>{var At;const vt=(((At=We.current)==null?void 0:At.ownerDocument)??document).activeElement===We.current;if(!v||!vt)return;Te.preventDefault();const tn=_t(Te)*a,Rn=Math.sign(Te.deltaY);Rn===-1?mt(tn):Rn===1&&St(tn)},{passive:!1});const Ne=w.useCallback((Te={},At=null)=>{const $e=l||r&&U.isAtMax;return{...Te,ref:qn(At,ot),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||Ke(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[U.isAtMax,r,Ke,Le.stop,l]),Ct=w.useCallback((Te={},At=null)=>{const $e=l||r&&U.isAtMin;return{...Te,ref:qn(At,He),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||xe(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[U.isAtMin,r,xe,Le.stop,l]),Dt=w.useCallback((Te={},At=null)=>({name:k,inputMode:m,type:"text",pattern:h,"aria-labelledby":A,"aria-label":T,"aria-describedby":_,id:b,disabled:l,...Te,readOnly:Te.readOnly??s,"aria-readonly":Te.readOnly??s,"aria-required":Te.required??u,required:Te.required??u,ref:qn(We,At),value:st(U.value),role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Number.isNaN(U.valueAsNumber)?void 0:U.valueAsNumber,"aria-invalid":rC(d??U.isOutOfRange),"aria-valuetext":ln,autoComplete:"off",autoCorrect:"off",onChange:Al(Te.onChange,lt),onKeyDown:Al(Te.onKeyDown,ut),onFocus:Al(Te.onFocus,Mt,()=>Pe(!0)),onBlur:Al(Te.onBlur,$,Re)}),[k,m,h,A,T,st,_,b,l,u,s,d,U.value,U.valueAsNumber,U.isOutOfRange,i,o,ln,lt,ut,Mt,$,Re]);return{value:st(U.value),valueAsNumber:U.valueAsNumber,isFocused:Se,isDisabled:l,isReadOnly:s,getIncrementButtonProps:Ne,getDecrementButtonProps:Ct,getInputProps:Dt,htmlProps:te}}var[J3e,bx]=Mn({name:"NumberInputStylesContext",errorMessage:`useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[ebe,PE]=Mn({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),TE=Ae(function(t,n){const r=Yi("NumberInput",t),i=En(t),o=lk(i),{htmlProps:a,...s}=Q3e(o),l=w.useMemo(()=>s,[s]);return N.createElement(ebe,{value:l},N.createElement(J3e,{value:r},N.createElement(Ce.div,{...a,ref:n,className:MV("chakra-numberinput",t.className),__css:{position:"relative",zIndex:0,...r.root}})))});TE.displayName="NumberInput";var IV=Ae(function(t,n){const r=bx();return N.createElement(Ce.div,{"aria-hidden":!0,ref:n,...t,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})});IV.displayName="NumberInputStepper";var LE=Ae(function(t,n){const{getInputProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(Ce.input,{...i,className:MV("chakra-numberinput__field",t.className),__css:{width:"100%",...o.field}})});LE.displayName="NumberInputField";var RV=Ce("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),AE=Ae(function(t,n){const r=bx(),{getDecrementButtonProps:i}=PE(),o=i(t,n);return N.createElement(RV,{...o,__css:r.stepper},t.children??N.createElement(U3e,null))});AE.displayName="NumberDecrementStepper";var OE=Ae(function(t,n){const{getIncrementButtonProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(RV,{...i,__css:o.stepper},t.children??N.createElement(G3e,null))});OE.displayName="NumberIncrementStepper";var Ay=(...e)=>e.filter(Boolean).join(" ");function tbe(e,...t){return nbe(e)?e(...t):e}var nbe=e=>typeof e=="function";function Ol(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function rbe(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var[ibe,up]=Mn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[obe,Oy]=Mn({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Lg={click:"click",hover:"hover"};function abe(e={}){const{closeOnBlur:t=!0,closeOnEsc:n=!0,initialFocusRef:r,id:i,returnFocusOnClose:o=!0,autoFocus:a=!0,arrowSize:s,arrowShadowColor:l,trigger:u=Lg.click,openDelay:d=200,closeDelay:h=200,isLazy:m,lazyBehavior:v="unmount",computePositionOnMount:b,...S}=e,{isOpen:E,onClose:k,onOpen:_,onToggle:T}=NF(e),A=w.useRef(null),I=w.useRef(null),R=w.useRef(null),D=w.useRef(!1),j=w.useRef(!1);E&&(j.current=!0);const[z,V]=w.useState(!1),[K,te]=w.useState(!1),q=w.useId(),$=i??q,[W,X,Z,U]=["popover-trigger","popover-content","popover-header","popover-body"].map(lt=>`${lt}-${$}`),{referenceRef:Q,getArrowProps:ie,getPopperProps:fe,getArrowInnerProps:Se,forceUpdate:Pe}=DF({...S,enabled:E||!!b}),ye=j1e({isOpen:E,ref:R});bme({enabled:E,ref:I}),h0e(R,{focusRef:I,visible:E,shouldFocus:o&&u===Lg.click}),g0e(R,{focusRef:r,visible:E,shouldFocus:a&&u===Lg.click});const We=jF({wasSelected:j.current,enabled:m,mode:v,isSelected:ye.present}),De=w.useCallback((lt={},Mt=null)=>{const ut={...lt,style:{...lt.style,transformOrigin:oi.transformOrigin.varRef,[oi.arrowSize.var]:s?`${s}px`:void 0,[oi.arrowShadowColor.var]:l},ref:qn(R,Mt),children:We?lt.children:null,id:X,tabIndex:-1,role:"dialog",onKeyDown:Ol(lt.onKeyDown,_t=>{n&&_t.key==="Escape"&&k()}),onBlur:Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=iC(R.current,ln),Re=iC(I.current,ln);E&&t&&(!ae&&!Re)&&k()}),"aria-labelledby":z?Z:void 0,"aria-describedby":K?U:void 0};return u===Lg.hover&&(ut.role="tooltip",ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0}),ut.onMouseLeave=Ol(lt.onMouseLeave,_t=>{_t.nativeEvent.relatedTarget!==null&&(D.current=!1,setTimeout(()=>k(),h))})),ut},[We,X,z,Z,K,U,u,n,k,E,t,h,l,s]),ot=w.useCallback((lt={},Mt=null)=>fe({...lt,style:{visibility:E?"visible":"hidden",...lt.style}},Mt),[E,fe]),He=w.useCallback((lt,Mt=null)=>({...lt,ref:qn(Mt,A,Q)}),[A,Q]),Be=w.useRef(),wt=w.useRef(),st=w.useCallback(lt=>{A.current==null&&Q(lt)},[Q]),mt=w.useCallback((lt={},Mt=null)=>{const ut={...lt,ref:qn(I,Mt,st),id:W,"aria-haspopup":"dialog","aria-expanded":E,"aria-controls":X};return u===Lg.click&&(ut.onClick=Ol(lt.onClick,T)),u===Lg.hover&&(ut.onFocus=Ol(lt.onFocus,()=>{Be.current===void 0&&_()}),ut.onBlur=Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=!iC(R.current,ln);E&&t&&ae&&k()}),ut.onKeyDown=Ol(lt.onKeyDown,_t=>{_t.key==="Escape"&&k()}),ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0,Be.current=window.setTimeout(()=>_(),d)}),ut.onMouseLeave=Ol(lt.onMouseLeave,()=>{D.current=!1,Be.current&&(clearTimeout(Be.current),Be.current=void 0),wt.current=window.setTimeout(()=>{D.current===!1&&k()},h)})),ut},[W,E,X,u,st,T,_,t,k,d,h]);w.useEffect(()=>()=>{Be.current&&clearTimeout(Be.current),wt.current&&clearTimeout(wt.current)},[]);const St=w.useCallback((lt={},Mt=null)=>({...lt,id:Z,ref:qn(Mt,ut=>{V(!!ut)})}),[Z]),Le=w.useCallback((lt={},Mt=null)=>({...lt,id:U,ref:qn(Mt,ut=>{te(!!ut)})}),[U]);return{forceUpdate:Pe,isOpen:E,onAnimationComplete:ye.onComplete,onClose:k,getAnchorProps:He,getArrowProps:ie,getArrowInnerProps:Se,getPopoverPositionerProps:ot,getPopoverProps:De,getTriggerProps:mt,getHeaderProps:St,getBodyProps:Le}}function iC(e,t){return e===t||(e==null?void 0:e.contains(t))}function oI(e){const t=e.currentTarget.ownerDocument.activeElement;return e.relatedTarget??t}function ME(e){const t=Yi("Popover",e),{children:n,...r}=En(e),i=h0(),o=abe({...r,direction:i.direction});return N.createElement(ibe,{value:o},N.createElement(obe,{value:t},tbe(n,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})))}ME.displayName="Popover";function IE(e){const{bg:t,bgColor:n,backgroundColor:r}=e,{getArrowProps:i,getArrowInnerProps:o}=up(),a=Oy(),s=t??n??r;return N.createElement(Ce.div,{...i(),className:"chakra-popover__arrow-positioner"},N.createElement(Ce.div,{className:Ay("chakra-popover__arrow",e.className),...o(e),__css:{...a.arrow,"--popper-arrow-bg":s?`colors.${s}, ${s}`:void 0}}))}IE.displayName="PopoverArrow";var sbe=Ae(function(t,n){const{getBodyProps:r}=up(),i=Oy();return N.createElement(Ce.div,{...r(t,n),className:Ay("chakra-popover__body",t.className),__css:i.body})});sbe.displayName="PopoverBody";var lbe=Ae(function(t,n){const{onClose:r}=up(),i=Oy();return N.createElement(JS,{size:"sm",onClick:r,className:Ay("chakra-popover__close-btn",t.className),__css:i.closeButton,ref:n,...t})});lbe.displayName="PopoverCloseButton";function ube(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}var cbe={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},dbe=Ce(du.section),DV=Ae(function(t,n){const{variants:r=cbe,...i}=t,{isOpen:o}=up();return N.createElement(dbe,{ref:n,variants:ube(r),initial:!1,animate:o?"enter":"exit",...i})});DV.displayName="PopoverTransition";var RE=Ae(function(t,n){const{rootProps:r,motionProps:i,...o}=t,{getPopoverProps:a,getPopoverPositionerProps:s,onAnimationComplete:l}=up(),u=Oy(),d={position:"relative",display:"flex",flexDirection:"column",...u.content};return N.createElement(Ce.div,{...s(r),__css:u.popper,className:"chakra-popover__popper"},N.createElement(DV,{...i,...a(o,n),onAnimationComplete:rbe(l,o.onAnimationComplete),className:Ay("chakra-popover__content",t.className),__css:d}))});RE.displayName="PopoverContent";var fbe=Ae(function(t,n){const{getHeaderProps:r}=up(),i=Oy();return N.createElement(Ce.header,{...r(t,n),className:Ay("chakra-popover__header",t.className),__css:i.header})});fbe.displayName="PopoverHeader";function DE(e){const t=w.Children.only(e.children),{getTriggerProps:n}=up();return w.cloneElement(t,n(t.props,t.ref))}DE.displayName="PopoverTrigger";function hbe(e,t,n){return(e-t)*100/(n-t)}var pbe=tf({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),gbe=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),mbe=tf({"0%":{left:"-40%"},"100%":{left:"100%"}}),vbe=tf({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function NV(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=hbe(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof o=="function"?o(t,l):i})(),role:s},percent:l,value:t}}var jV=e=>{const{size:t,isIndeterminate:n,...r}=e;return N.createElement(Ce.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:n?`${gbe} 2s linear infinite`:void 0},...r})};jV.displayName="Shape";var U9=e=>N.createElement(Ce.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});U9.displayName="Circle";var ybe=Ae((e,t)=>{const{size:n="48px",max:r=100,min:i=0,valueText:o,getValueText:a,value:s,capIsRound:l,children:u,thickness:d="10px",color:h="#0078d4",trackColor:m="#edebe9",isIndeterminate:v,...b}=e,S=NV({min:i,max:r,value:s,valueText:o,getValueText:a,isIndeterminate:v}),E=v?void 0:(S.percent??0)*2.64,k=E==null?void 0:`${E} ${264-E}`,_=v?{css:{animation:`${pbe} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:k,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},T={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return N.createElement(Ce.div,{ref:t,className:"chakra-progress",...S.bind,...b,__css:T},N.createElement(jV,{size:n,isIndeterminate:v},N.createElement(U9,{stroke:m,strokeWidth:d,className:"chakra-progress__track"}),N.createElement(U9,{stroke:h,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:l?"round":void 0,opacity:S.value===0&&!v?0:void 0,..._})),u)});ybe.displayName="CircularProgress";var[bbe,Sbe]=Mn({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),xbe=Ae((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...s}=e,l=NV({value:i,min:n,max:r,isIndeterminate:o,role:a}),d={height:"100%",...Sbe().filledTrack};return N.createElement(Ce.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:d})}),BV=Ae((e,t)=>{var n;const{value:r,min:i=0,max:o=100,hasStripe:a,isAnimated:s,children:l,borderRadius:u,isIndeterminate:d,"aria-label":h,"aria-labelledby":m,title:v,role:b,...S}=En(e),E=Yi("Progress",e),k=u??((n=E.track)==null?void 0:n.borderRadius),_={animation:`${vbe} 1s linear infinite`},I={...!d&&a&&s&&_,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${mbe} 1s ease infinite normal none running`}},R={overflow:"hidden",position:"relative",...E.track};return N.createElement(Ce.div,{ref:t,borderRadius:k,__css:R,...S},N.createElement(bbe,{value:E},N.createElement(xbe,{"aria-label":h,"aria-labelledby":m,min:i,max:o,value:r,isIndeterminate:d,css:I,borderRadius:k,title:v,role:b}),l))});BV.displayName="Progress";var wbe=Ce("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});wbe.displayName="CircularProgressLabel";var Cbe=(...e)=>e.filter(Boolean).join(" "),_be=e=>e?"":void 0;function kbe(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}var $V=Ae(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return N.createElement(Ce.select,{...a,ref:n,className:Cbe("chakra-select",o)},i&&N.createElement("option",{value:""},i),r)});$V.displayName="SelectField";var FV=Ae((e,t)=>{var n;const r=Yi("Select",e),{rootProps:i,placeholder:o,icon:a,color:s,height:l,h:u,minH:d,minHeight:h,iconColor:m,iconSize:v,...b}=En(e),[S,E]=kbe(b,Hte),k=sk(E),_={width:"100%",height:"fit-content",position:"relative",color:s},T={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return N.createElement(Ce.div,{className:"chakra-select__wrapper",__css:_,...S,...i},N.createElement($V,{ref:t,height:u??l,minH:d??h,placeholder:o,...k,__css:T},e.children),N.createElement(zV,{"data-disabled":_be(k.disabled),...(m||s)&&{color:m||s},__css:r.icon,...v&&{fontSize:v}},a))});FV.displayName="Select";var Ebe=e=>N.createElement("svg",{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pbe=Ce("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),zV=e=>{const{children:t=N.createElement(Ebe,null),...n}=e,r=w.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return N.createElement(Pbe,{...n,className:"chakra-select__icon-wrapper"},w.isValidElement(t)?r:null)};zV.displayName="SelectIcon";function Tbe(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Lbe(e){const t=Obe(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function HV(e){return!!e.touches}function Abe(e){return HV(e)&&e.touches.length>1}function Obe(e){return e.view??window}function Mbe(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Ibe(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function VV(e,t="page"){return HV(e)?Mbe(e,t):Ibe(e,t)}function Rbe(e){return t=>{const n=Lbe(t);(!n||n&&t.button===0)&&e(t)}}function Dbe(e,t=!1){function n(i){e(i,{point:VV(i)})}return t?Rbe(n):n}function E4(e,t,n,r){return Tbe(e,t,Dbe(n,t==="pointerdown"),r)}function WV(e){const t=w.useRef(null);return t.current=e,t}var Nbe=class{constructor(e,t,n){an(this,"history",[]);an(this,"startEvent",null);an(this,"lastEvent",null);an(this,"lastEventInfo",null);an(this,"handlers",{});an(this,"removeListeners",()=>{});an(this,"threshold",3);an(this,"win");an(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const e=oC(this.lastEventInfo,this.history),t=this.startEvent!==null,n=Fbe(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!n)return;const{timestamp:r}=OL();this.history.push({...e.point,timestamp:r});const{onStart:i,onMove:o}=this.handlers;t||(i==null||i(this.lastEvent,e),this.startEvent=this.lastEvent),o==null||o(this.lastEvent,e)});an(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,tre.update(this.updatePoint,!0)});an(this,"onPointerUp",(e,t)=>{const n=oC(t,this.history),{onEnd:r,onSessionEnd:i}=this.handlers;i==null||i(e,n),this.end(),!(!r||!this.startEvent)&&(r==null||r(e,n))});if(this.win=e.view??window,Abe(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:VV(e)},{timestamp:i}=OL();this.history=[{...r.point,timestamp:i}];const{onSessionStart:o}=t;o==null||o(e,oC(r,this.history)),this.removeListeners=$be(E4(this.win,"pointermove",this.onPointerMove),E4(this.win,"pointerup",this.onPointerUp),E4(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),nre.update(this.updatePoint)}};function aI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oC(e,t){return{point:e.point,delta:aI(e.point,t[t.length-1]),offset:aI(e.point,t[0]),velocity:Bbe(t,.1)}}var jbe=e=>e*1e3;function Bbe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=e[e.length-1];for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>jbe(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function $be(...e){return t=>e.reduce((n,r)=>r(n),t)}function aC(e,t){return Math.abs(e-t)}function sI(e){return"x"in e&&"y"in e}function Fbe(e,t){if(typeof e=="number"&&typeof t=="number")return aC(e,t);if(sI(e)&&sI(t)){const n=aC(e.x,t.x),r=aC(e.y,t.y);return Math.sqrt(n**2+r**2)}return 0}function UV(e,t){const{onPan:n,onPanStart:r,onPanEnd:i,onPanSessionStart:o,onPanSessionEnd:a,threshold:s}=t,l=Boolean(n||r||i||o||a),u=w.useRef(null),d=WV({onSessionStart:o,onSessionEnd:a,onStart:r,onMove:n,onEnd(h,m){u.current=null,i==null||i(h,m)}});w.useEffect(()=>{var h;(h=u.current)==null||h.updateHandlers(d.current)}),w.useEffect(()=>{const h=e.current;if(!h||!l)return;function m(v){u.current=new Nbe(v,d.current,s)}return E4(h,"pointerdown",m)},[e,l,d,s]),w.useEffect(()=>()=>{var h;(h=u.current)==null||h.end(),u.current=null},[])}function zbe(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,r=new n.ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const[o]=i;let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;t({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}var Hbe=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect;function Vbe(e,t){var n;if(!e||!e.parentElement)return;const r=((n=e.ownerDocument)==null?void 0:n.defaultView)??window,i=new r.MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}function GV({getNodes:e,observeMutation:t=!0}){const[n,r]=w.useState([]),[i,o]=w.useState(0);return Hbe(()=>{const a=e(),s=a.map((l,u)=>zbe(l,d=>{r(h=>[...h.slice(0,u),d,...h.slice(u+1)])}));if(t){const l=a[0];s.push(Vbe(l,()=>{o(u=>u+1)}))}return()=>{s.forEach(l=>{l==null||l()})}},[i]),n}function Wbe(e){return typeof e=="object"&&e!==null&&"current"in e}function Ube(e){const[t]=GV({observeMutation:!1,getNodes(){return[Wbe(e)?e.current:e]}});return t}var Gbe=Object.getOwnPropertyNames,qbe=(e,t)=>function(){return e&&(t=(0,e[Gbe(e)[0]])(e=0)),t},lf=qbe({"../../../react-shim.js"(){}});lf();lf();lf();var Ja=e=>e?"":void 0,Mm=e=>e?!0:void 0,uf=(...e)=>e.filter(Boolean).join(" ");lf();function Im(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}lf();lf();function Ybe(e){return{root:`slider-root-${e}`,getThumb:t=>`slider-thumb-${e}-${t}`,getInput:t=>`slider-input-${e}-${t}`,track:`slider-track-${e}`,innerTrack:`slider-filled-track-${e}`,getMarker:t=>`slider-marker-${e}-${t}`,output:`slider-output-${e}`}}function Cv(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}var P4={width:0,height:0},wb=e=>e||P4;function qV(e){const{orientation:t,thumbPercents:n,thumbRects:r,isReversed:i}=e,o=S=>{const E=r[S]??P4;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...Cv({orientation:t,vertical:{bottom:`calc(${n[S]}% - ${E.height/2}px)`},horizontal:{left:`calc(${n[S]}% - ${E.width/2}px)`}})}},a=t==="vertical"?r.reduce((S,E)=>wb(S).height>wb(E).height?S:E,P4):r.reduce((S,E)=>wb(S).width>wb(E).width?S:E,P4),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...Cv({orientation:t,vertical:a?{paddingLeft:a.width/2,paddingRight:a.width/2}:{},horizontal:a?{paddingTop:a.height/2,paddingBottom:a.height/2}:{}})},l={position:"absolute",...Cv({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},u=n.length===1,d=[0,i?100-n[0]:n[0]],h=u?d:n;let m=h[0];!u&&i&&(m=100-m);const v=Math.abs(h[h.length-1]-h[0]),b={...l,...Cv({orientation:t,vertical:i?{height:`${v}%`,top:`${m}%`}:{height:`${v}%`,bottom:`${m}%`},horizontal:i?{width:`${v}%`,right:`${m}%`}:{width:`${v}%`,left:`${m}%`}})};return{trackStyle:l,innerTrackStyle:b,rootStyle:s,getThumbStyle:o}}function YV(e){const{isReversed:t,direction:n,orientation:r}=e;return n==="ltr"||r==="vertical"?t:!t}function Kbe(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":E,"aria-label":k,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,minStepsBetweenThumbs:I=0,...R}=e,D=Er(m),j=Er(v),z=Er(S),V=YV({isReversed:a,direction:s,orientation:l}),[K,te]=DS({value:i,defaultValue:o??[25,75],onChange:r});if(!Array.isArray(K))throw new TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof K}\``);const[q,$]=w.useState(!1),[W,X]=w.useState(!1),[Z,U]=w.useState(-1),Q=!(d||h),ie=w.useRef(K),fe=K.map(Xe=>Cm(Xe,t,n)),Se=I*b,Pe=Xbe(fe,t,n,Se),ye=w.useRef({eventSource:null,value:[],valueBounds:[]});ye.current.value=fe,ye.current.valueBounds=Pe;const We=fe.map(Xe=>n-Xe+t),ot=(V?We:fe).map(Xe=>l5(Xe,t,n)),He=l==="vertical",Be=w.useRef(null),wt=w.useRef(null),st=GV({getNodes(){const Xe=wt.current,xt=Xe==null?void 0:Xe.querySelectorAll("[role=slider]");return xt?Array.from(xt):[]}}),mt=w.useId(),Le=Ybe(u??mt),lt=w.useCallback(Xe=>{var xt;if(!Be.current)return;ye.current.eventSource="pointer";const ft=Be.current.getBoundingClientRect(),{clientX:Ht,clientY:nn}=((xt=Xe.touches)==null?void 0:xt[0])??Xe,pr=He?ft.bottom-nn:Ht-ft.left,Mo=He?ft.height:ft.width;let Oi=pr/Mo;return V&&(Oi=1-Oi),J$(Oi,t,n)},[He,V,n,t]),Mt=(n-t)/10,ut=b||(n-t)/100,_t=w.useMemo(()=>({setValueAtIndex(Xe,xt){if(!Q)return;const ft=ye.current.valueBounds[Xe];xt=parseFloat(H7(xt,ft.min,ut)),xt=Cm(xt,ft.min,ft.max);const Ht=[...ye.current.value];Ht[Xe]=xt,te(Ht)},setActiveIndex:U,stepUp(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft-xt:ft+xt;_t.setValueAtIndex(Xe,Ht)},stepDown(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft+xt:ft-xt;_t.setValueAtIndex(Xe,Ht)},reset(){te(ie.current)}}),[ut,V,te,Q]),ln=w.useCallback(Xe=>{const xt=Xe.key,Ht={ArrowRight:()=>_t.stepUp(Z),ArrowUp:()=>_t.stepUp(Z),ArrowLeft:()=>_t.stepDown(Z),ArrowDown:()=>_t.stepDown(Z),PageUp:()=>_t.stepUp(Z,Mt),PageDown:()=>_t.stepDown(Z,Mt),Home:()=>{const{min:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)},End:()=>{const{max:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)}}[xt];Ht&&(Xe.preventDefault(),Xe.stopPropagation(),Ht(Xe),ye.current.eventSource="keyboard")},[_t,Z,Mt,Pe]),{getThumbStyle:ae,rootStyle:Re,trackStyle:Ye,innerTrackStyle:Ke}=w.useMemo(()=>qV({isReversed:V,orientation:l,thumbRects:st,thumbPercents:ot}),[V,l,ot,st]),xe=w.useCallback(Xe=>{var xt;const ft=Xe??Z;if(ft!==-1&&A){const Ht=Le.getThumb(ft),nn=(xt=wt.current)==null?void 0:xt.ownerDocument.getElementById(Ht);nn&&setTimeout(()=>nn.focus())}},[A,Z,Le]);Vd(()=>{ye.current.eventSource==="keyboard"&&(j==null||j(ye.current.value))},[fe,j]);const Ne=Xe=>{const xt=lt(Xe)||0,ft=ye.current.value.map(Oi=>Math.abs(Oi-xt)),Ht=Math.min(...ft);let nn=ft.indexOf(Ht);const pr=ft.filter(Oi=>Oi===Ht);pr.length>1&&xt>ye.current.value[nn]&&(nn=nn+pr.length-1),U(nn),_t.setValueAtIndex(nn,xt),xe(nn)},Ct=Xe=>{if(Z==-1)return;const xt=lt(Xe)||0;U(Z),_t.setValueAtIndex(Z,xt),xe(Z)};UV(wt,{onPanSessionStart(Xe){Q&&($(!0),Ne(Xe),D==null||D(ye.current.value))},onPanSessionEnd(){Q&&($(!1),j==null||j(ye.current.value))},onPan(Xe){Q&&Ct(Xe)}});const Dt=w.useCallback((Xe={},xt=null)=>({...Xe,...R,id:Le.root,ref:qn(xt,wt),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja(W),style:{...Xe.style,...Re}}),[R,d,W,Re,Le]),Te=w.useCallback((Xe={},xt=null)=>({...Xe,ref:qn(xt,Be),id:Le.track,"data-disabled":Ja(d),style:{...Xe.style,...Ye}}),[d,Ye,Le]),At=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.innerTrack,style:{...Xe.style,...Ke}}),[Ke,Le]),$e=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe,nn=fe[ft];if(nn==null)throw new TypeError(`[range-slider > thumb] Cannot find value at index \`${ft}\`. The \`value\` or \`defaultValue\` length is : ${fe.length}`);const pr=Pe[ft];return{...Ht,ref:xt,role:"slider",tabIndex:Q?0:void 0,id:Le.getThumb(ft),"data-active":Ja(q&&Z===ft),"aria-valuetext":(z==null?void 0:z(nn))??(E==null?void 0:E[ft]),"aria-valuemin":pr.min,"aria-valuemax":pr.max,"aria-valuenow":nn,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":k==null?void 0:k[ft],"aria-labelledby":k!=null&&k[ft]||_==null?void 0:_[ft],style:{...Xe.style,...ae(ft)},onKeyDown:Im(Xe.onKeyDown,ln),onFocus:Im(Xe.onFocus,()=>{X(!0),U(ft)}),onBlur:Im(Xe.onBlur,()=>{X(!1),U(-1)})}},[Le,fe,Pe,Q,q,Z,z,E,l,d,h,k,_,ae,ln,X]),vt=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.output,htmlFor:fe.map((ft,Ht)=>Le.getThumb(Ht)).join(" "),"aria-live":"off"}),[Le,fe]),tn=w.useCallback((Xe,xt=null)=>{const{value:ft,...Ht}=Xe,nn=!(ftn),pr=ft>=fe[0]&&ft<=fe[fe.length-1];let Mo=l5(ft,t,n);Mo=V?100-Mo:Mo;const Oi={position:"absolute",pointerEvents:"none",...Cv({orientation:l,vertical:{bottom:`${Mo}%`},horizontal:{left:`${Mo}%`}})};return{...Ht,ref:xt,id:Le.getMarker(Xe.value),role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!nn),"data-highlighted":Ja(pr),style:{...Xe.style,...Oi}}},[d,V,n,t,l,fe,Le]),Rn=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe;return{...Ht,ref:xt,id:Le.getInput(ft),type:"hidden",value:fe[ft],name:Array.isArray(T)?T[ft]:`${T}-${ft}`}},[T,fe,Le]);return{state:{value:fe,isFocused:W,isDragging:q,getThumbPercent:Xe=>ot[Xe],getThumbMinValue:Xe=>Pe[Xe].min,getThumbMaxValue:Xe=>Pe[Xe].max},actions:_t,getRootProps:Dt,getTrackProps:Te,getInnerTrackProps:At,getThumbProps:$e,getMarkerProps:tn,getInputProps:Rn,getOutputProps:vt}}function Xbe(e,t,n,r){return e.map((i,o)=>{const a=o===0?t:e[o-1]+r,s=o===e.length-1?n:e[o+1]-r;return{min:a,max:s}})}var[Zbe,Sx]=Mn({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[Qbe,NE]=Mn({name:"RangeSliderStylesContext",errorMessage:`useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),KV=Ae(function(t,n){const r=Yi("Slider",t),i=En(t),{direction:o}=h0();i.direction=o;const{getRootProps:a,...s}=Kbe(i),l=w.useMemo(()=>({...s,name:t.name}),[s,t.name]);return N.createElement(Zbe,{value:l},N.createElement(Qbe,{value:r},N.createElement(Ce.div,{...a({},n),className:"chakra-slider",__css:r.container},t.children)))});KV.defaultProps={orientation:"horizontal"};KV.displayName="RangeSlider";var Jbe=Ae(function(t,n){const{getThumbProps:r,getInputProps:i,name:o}=Sx(),a=NE(),s=r(t,n);return N.createElement(Ce.div,{...s,className:uf("chakra-slider__thumb",t.className),__css:a.thumb},s.children,o&&N.createElement("input",{...i({index:t.index})}))});Jbe.displayName="RangeSliderThumb";var e4e=Ae(function(t,n){const{getTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:uf("chakra-slider__track",t.className),__css:i.track,"data-testid":"chakra-range-slider-track"})});e4e.displayName="RangeSliderTrack";var t4e=Ae(function(t,n){const{getInnerTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:"chakra-slider__filled-track",__css:i.filledTrack})});t4e.displayName="RangeSliderFilledTrack";var n4e=Ae(function(t,n){const{getMarkerProps:r}=Sx(),i=r(t,n);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",t.className)})});n4e.displayName="RangeSliderMark";lf();lf();function r4e(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":E,"aria-label":k,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,...I}=e,R=Er(m),D=Er(v),j=Er(S),z=YV({isReversed:a,direction:s,orientation:l}),[V,K]=DS({value:i,defaultValue:o??o4e(t,n),onChange:r}),[te,q]=w.useState(!1),[$,W]=w.useState(!1),X=!(d||h),Z=(n-t)/10,U=b||(n-t)/100,Q=Cm(V,t,n),ie=n-Q+t,Se=l5(z?ie:Q,t,n),Pe=l==="vertical",ye=WV({min:t,max:n,step:b,isDisabled:d,value:Q,isInteractive:X,isReversed:z,isVertical:Pe,eventSource:null,focusThumbOnChange:A,orientation:l}),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useId(),Be=u??He,[wt,st]=[`slider-thumb-${Be}`,`slider-track-${Be}`],mt=w.useCallback($e=>{var vt;if(!We.current)return;const tn=ye.current;tn.eventSource="pointer";const Rn=We.current.getBoundingClientRect(),{clientX:Xe,clientY:xt}=((vt=$e.touches)==null?void 0:vt[0])??$e,ft=Pe?Rn.bottom-xt:Xe-Rn.left,Ht=Pe?Rn.height:Rn.width;let nn=ft/Ht;z&&(nn=1-nn);let pr=J$(nn,tn.min,tn.max);return tn.step&&(pr=parseFloat(H7(pr,tn.min,tn.step))),pr=Cm(pr,tn.min,tn.max),pr},[Pe,z,ye]),St=w.useCallback($e=>{const vt=ye.current;vt.isInteractive&&($e=parseFloat(H7($e,vt.min,U)),$e=Cm($e,vt.min,vt.max),K($e))},[U,K,ye]),Le=w.useMemo(()=>({stepUp($e=U){const vt=z?Q-$e:Q+$e;St(vt)},stepDown($e=U){const vt=z?Q+$e:Q-$e;St(vt)},reset(){St(o||0)},stepTo($e){St($e)}}),[St,z,Q,U,o]),lt=w.useCallback($e=>{const vt=ye.current,Rn={ArrowRight:()=>Le.stepUp(),ArrowUp:()=>Le.stepUp(),ArrowLeft:()=>Le.stepDown(),ArrowDown:()=>Le.stepDown(),PageUp:()=>Le.stepUp(Z),PageDown:()=>Le.stepDown(Z),Home:()=>St(vt.min),End:()=>St(vt.max)}[$e.key];Rn&&($e.preventDefault(),$e.stopPropagation(),Rn($e),vt.eventSource="keyboard")},[Le,St,Z,ye]),Mt=(j==null?void 0:j(Q))??E,ut=Ube(De),{getThumbStyle:_t,rootStyle:ln,trackStyle:ae,innerTrackStyle:Re}=w.useMemo(()=>{const $e=ye.current,vt=ut??{width:0,height:0};return qV({isReversed:z,orientation:$e.orientation,thumbRects:[vt],thumbPercents:[Se]})},[z,ut,Se,ye]),Ye=w.useCallback(()=>{ye.current.focusThumbOnChange&&setTimeout(()=>{var vt;return(vt=De.current)==null?void 0:vt.focus()})},[ye]);Vd(()=>{const $e=ye.current;Ye(),$e.eventSource==="keyboard"&&(D==null||D($e.value))},[Q,D]);function Ke($e){const vt=mt($e);vt!=null&&vt!==ye.current.value&&K(vt)}UV(ot,{onPanSessionStart($e){const vt=ye.current;vt.isInteractive&&(q(!0),Ye(),Ke($e),R==null||R(vt.value))},onPanSessionEnd(){const $e=ye.current;$e.isInteractive&&(q(!1),D==null||D($e.value))},onPan($e){ye.current.isInteractive&&Ke($e)}});const xe=w.useCallback(($e={},vt=null)=>({...$e,...I,ref:qn(vt,ot),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja($),style:{...$e.style,...ln}}),[I,d,$,ln]),Ne=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,We),id:st,"data-disabled":Ja(d),style:{...$e.style,...ae}}),[d,st,ae]),Ct=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,style:{...$e.style,...Re}}),[Re]),Dt=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,De),role:"slider",tabIndex:X?0:void 0,id:wt,"data-active":Ja(te),"aria-valuetext":Mt,"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":Q,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":k,"aria-labelledby":k?void 0:_,style:{...$e.style,..._t(0)},onKeyDown:Im($e.onKeyDown,lt),onFocus:Im($e.onFocus,()=>W(!0)),onBlur:Im($e.onBlur,()=>W(!1))}),[X,wt,te,Mt,t,n,Q,l,d,h,k,_,_t,lt]),Te=w.useCallback(($e,vt=null)=>{const tn=!($e.valuen),Rn=Q>=$e.value,Xe=l5($e.value,t,n),xt={position:"absolute",pointerEvents:"none",...i4e({orientation:l,vertical:{bottom:z?`${100-Xe}%`:`${Xe}%`},horizontal:{left:z?`${100-Xe}%`:`${Xe}%`}})};return{...$e,ref:vt,role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!tn),"data-highlighted":Ja(Rn),style:{...$e.style,...xt}}},[d,z,n,t,l,Q]),At=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,type:"hidden",value:Q,name:T}),[T,Q]);return{state:{value:Q,isFocused:$,isDragging:te},actions:Le,getRootProps:xe,getTrackProps:Ne,getInnerTrackProps:Ct,getThumbProps:Dt,getMarkerProps:Te,getInputProps:At}}function i4e(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}function o4e(e,t){return t"}),[s4e,wx]=Mn({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),jE=Ae((e,t)=>{const n=Yi("Slider",e),r=En(e),{direction:i}=h0();r.direction=i;const{getInputProps:o,getRootProps:a,...s}=r4e(r),l=a(),u=o({},t);return N.createElement(a4e,{value:s},N.createElement(s4e,{value:n},N.createElement(Ce.div,{...l,className:uf("chakra-slider",e.className),__css:n.container},e.children,N.createElement("input",{...u}))))});jE.defaultProps={orientation:"horizontal"};jE.displayName="Slider";var XV=Ae((e,t)=>{const{getThumbProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__thumb",e.className),__css:r.thumb})});XV.displayName="SliderThumb";var ZV=Ae((e,t)=>{const{getTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__track",e.className),__css:r.track})});ZV.displayName="SliderTrack";var QV=Ae((e,t)=>{const{getInnerTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__filled-track",e.className),__css:r.filledTrack})});QV.displayName="SliderFilledTrack";var G9=Ae((e,t)=>{const{getMarkerProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",e.className),__css:r.mark})});G9.displayName="SliderMark";var l4e=(...e)=>e.filter(Boolean).join(" "),lI=e=>e?"":void 0,BE=Ae(function(t,n){const r=Yi("Switch",t),{spacing:i="0.5rem",children:o,...a}=En(t),{state:s,getInputProps:l,getCheckboxProps:u,getRootProps:d,getLabelProps:h}=Z$(a),m=w.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),v=w.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=w.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return N.createElement(Ce.label,{...d(),className:l4e("chakra-switch",t.className),__css:m},N.createElement("input",{className:"chakra-switch__input",...l({},n)}),N.createElement(Ce.span,{...u(),className:"chakra-switch__track",__css:v},N.createElement(Ce.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":lI(s.isChecked),"data-hover":lI(s.isHovered)})),o&&N.createElement(Ce.span,{className:"chakra-switch__label",...h(),__css:b},o))});BE.displayName="Switch";var C0=(...e)=>e.filter(Boolean).join(" ");function q9(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[u4e,JV,c4e,d4e]=dB();function f4e(e){const{defaultIndex:t,onChange:n,index:r,isManual:i,isLazy:o,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...u}=e,[d,h]=w.useState(t??0),[m,v]=DS({defaultValue:t??0,value:r,onChange:n});w.useEffect(()=>{r!=null&&h(r)},[r]);const b=c4e(),S=w.useId();return{id:`tabs-${e.id??S}`,selectedIndex:m,focusedIndex:d,setSelectedIndex:v,setFocusedIndex:h,isManual:i,isLazy:o,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:u}}var[h4e,My]=Mn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function p4e(e){const{focusedIndex:t,orientation:n,direction:r}=My(),i=JV(),o=w.useCallback(a=>{const s=()=>{var _;const T=i.nextEnabled(t);T&&((_=T.node)==null||_.focus())},l=()=>{var _;const T=i.prevEnabled(t);T&&((_=T.node)==null||_.focus())},u=()=>{var _;const T=i.firstEnabled();T&&((_=T.node)==null||_.focus())},d=()=>{var _;const T=i.lastEnabled();T&&((_=T.node)==null||_.focus())},h=n==="horizontal",m=n==="vertical",v=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",S=r==="ltr"?"ArrowRight":"ArrowLeft",k={[b]:()=>h&&l(),[S]:()=>h&&s(),ArrowDown:()=>m&&s(),ArrowUp:()=>m&&l(),Home:u,End:d}[v];k&&(a.preventDefault(),k(a))},[i,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:q9(e.onKeyDown,o)}}function g4e(e){const{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=My(),{index:u,register:d}=d4e({disabled:t&&!n}),h=u===l,m=()=>{i(u)},v=()=>{s(u),!o&&!(t&&n)&&i(u)},b=n0e({...r,ref:qn(d,e.ref),isDisabled:t,isFocusable:n,onClick:q9(e.onClick,m)}),S="button";return{...b,id:eW(a,u),role:"tab",tabIndex:h?0:-1,type:S,"aria-selected":h,"aria-controls":tW(a,u),onFocus:t?void 0:q9(e.onFocus,v)}}var[m4e,v4e]=Mn({});function y4e(e){const t=My(),{id:n,selectedIndex:r}=t,o=XS(e.children).map((a,s)=>w.createElement(m4e,{key:s,value:{isSelected:s===r,id:tW(n,s),tabId:eW(n,s),selectedIndex:r}},a));return{...e,children:o}}function b4e(e){const{children:t,...n}=e,{isLazy:r,lazyBehavior:i}=My(),{isSelected:o,id:a,tabId:s}=v4e(),l=w.useRef(!1);o&&(l.current=!0);const u=jF({wasSelected:l.current,isSelected:o,enabled:r,mode:i});return{tabIndex:0,...n,children:u?t:null,role:"tabpanel","aria-labelledby":s,hidden:!o,id:a}}function S4e(){const e=My(),t=JV(),{selectedIndex:n,orientation:r}=e,i=r==="horizontal",o=r==="vertical",[a,s]=w.useState(()=>{if(i)return{left:0,width:0};if(o)return{top:0,height:0}}),[l,u]=w.useState(!1);return Ws(()=>{if(n==null)return;const d=t.item(n);if(d==null)return;i&&s({left:d.node.offsetLeft,width:d.node.offsetWidth}),o&&s({top:d.node.offsetTop,height:d.node.offsetHeight});const h=requestAnimationFrame(()=>{u(!0)});return()=>{h&&cancelAnimationFrame(h)}},[n,i,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...a}}function eW(e,t){return`${e}--tab-${t}`}function tW(e,t){return`${e}--tabpanel-${t}`}var[x4e,Iy]=Mn({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),nW=Ae(function(t,n){const r=Yi("Tabs",t),{children:i,className:o,...a}=En(t),{htmlProps:s,descendants:l,...u}=f4e(a),d=w.useMemo(()=>u,[u]),{isFitted:h,...m}=s;return N.createElement(u4e,{value:l},N.createElement(h4e,{value:d},N.createElement(x4e,{value:r},N.createElement(Ce.div,{className:C0("chakra-tabs",o),ref:n,...m,__css:r.root},i))))});nW.displayName="Tabs";var w4e=Ae(function(t,n){const r=S4e(),i={...t.style,...r},o=Iy();return N.createElement(Ce.div,{ref:n,...t,className:C0("chakra-tabs__tab-indicator",t.className),style:i,__css:o.indicator})});w4e.displayName="TabIndicator";var C4e=Ae(function(t,n){const r=p4e({...t,ref:n}),o={display:"flex",...Iy().tablist};return N.createElement(Ce.div,{...r,className:C0("chakra-tabs__tablist",t.className),__css:o})});C4e.displayName="TabList";var rW=Ae(function(t,n){const r=b4e({...t,ref:n}),i=Iy();return N.createElement(Ce.div,{outline:"0",...r,className:C0("chakra-tabs__tab-panel",t.className),__css:i.tabpanel})});rW.displayName="TabPanel";var iW=Ae(function(t,n){const r=y4e(t),i=Iy();return N.createElement(Ce.div,{...r,width:"100%",ref:n,className:C0("chakra-tabs__tab-panels",t.className),__css:i.tabpanels})});iW.displayName="TabPanels";var oW=Ae(function(t,n){const r=Iy(),i=g4e({...t,ref:n}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return N.createElement(Ce.button,{...i,className:C0("chakra-tabs__tab",t.className),__css:o})});oW.displayName="Tab";var _4e=(...e)=>e.filter(Boolean).join(" ");function k4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var E4e=["h","minH","height","minHeight"],$E=Ae((e,t)=>{const n=Ao("Textarea",e),{className:r,rows:i,...o}=En(e),a=sk(o),s=i?k4e(n,E4e):n;return N.createElement(Ce.textarea,{ref:t,rows:i,...a,className:_4e("chakra-textarea",r),__css:s})});$E.displayName="Textarea";function P4e(e,t){const n=Er(e);w.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function Y9(e,...t){return T4e(e)?e(...t):e}var T4e=e=>typeof e=="function";function L4e(e,t){const n=e??"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(i==null?void 0:i[t])??n}var A4e=(e,t)=>e.find(n=>n.id===t);function uI(e,t){const n=aW(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function aW(e,t){for(const[n,r]of Object.entries(e))if(A4e(r,t))return n}function O4e(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function M4e(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}var I4e={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Hl=R4e(I4e);function R4e(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(s=>s.id!=i)}))},notify:(i,o)=>{const a=D4e(i,o),{position:s,id:l}=a;return r(u=>{const h=s.includes("top")?[a,...u[s]??[]]:[...u[s]??[],a];return{...u,[s]:h}}),l},update:(i,o)=>{i&&r(a=>{const s={...a},{position:l,index:u}=uI(s,i);return l&&u!==-1&&(s[l][u]={...s[l][u],...o,message:sW(o)}),s})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=o[u].map(d=>({...d,requestClose:!0})),l),{...o}))},close:i=>{r(o=>{const a=aW(o,i);return a?{...o,[a]:o[a].map(s=>s.id==i?{...s,requestClose:!0}:s)}:o})},isActive:i=>Boolean(uI(Hl.getState(),i).position)}}var cI=0;function D4e(e,t={}){cI+=1;const n=t.id??cI,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Hl.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var N4e=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:s,icon:l}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return N.createElement(U$,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},N.createElement(q$,null,l),N.createElement(Ce.div,{flex:"1",maxWidth:"100%"},i&&N.createElement(Y$,{id:u==null?void 0:u.title},i),s&&N.createElement(G$,{id:u==null?void 0:u.description,display:"block"},s)),o&&N.createElement(JS,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1}))};function sW(e={}){const{render:t,toastComponent:n=N4e}=e;return i=>typeof t=="function"?t({...i,...e}):N.createElement(n,{...i,...e})}function j4e(e,t){const n=i=>({...t,...i,position:L4e((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=sW(o);return Hl.notify(a,o)};return r.update=(i,o)=>{Hl.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(s=>r.update(a,{status:"success",duration:5e3,...Y9(o.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...Y9(o.error,s)}))},r.closeAll=Hl.closeAll,r.close=Hl.close,r.isActive=Hl.isActive,r}function Ry(e){const{theme:t}=lB();return w.useMemo(()=>j4e(t.direction,e),[e,t.direction])}var B4e={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},lW=w.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=B4e,toastSpacing:d="0.5rem"}=e,[h,m]=w.useState(s),v=Rfe();Vd(()=>{v||r==null||r()},[v]),Vd(()=>{m(s)},[s]);const b=()=>m(null),S=()=>m(s),E=()=>{v&&i()};w.useEffect(()=>{v&&o&&i()},[v,o,i]),P4e(E,h);const k=w.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),_=w.useMemo(()=>O4e(a),[a]);return N.createElement(du.li,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:S,custom:{position:a},style:_},N.createElement(Ce.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:k},Y9(n,{id:t,onClose:E})))});lW.displayName="ToastComponent";var $4e=e=>{const t=w.useSyncExternalStore(Hl.subscribe,Hl.getState,Hl.getState),{children:n,motionVariants:r,component:i=lW,portalProps:o}=e,s=Object.keys(t).map(l=>{const u=t[l];return N.createElement("ul",{role:"region","aria-live":"polite",key:l,id:`chakra-toast-manager-${l}`,style:M4e(l)},N.createElement(nf,{initial:!1},u.map(d=>N.createElement(i,{key:d.id,motionVariants:r,...d}))))});return N.createElement(N.Fragment,null,n,N.createElement(ap,{...o},s))};function F4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function z4e(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var H4e={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function tv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var N5=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},K9=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function V4e(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:s=!0,onOpen:l,onClose:u,placement:d,id:h,isOpen:m,defaultIsOpen:v,arrowSize:b=10,arrowShadowColor:S,arrowPadding:E,modifiers:k,isDisabled:_,gutter:T,offset:A,direction:I,...R}=e,{isOpen:D,onOpen:j,onClose:z}=NF({isOpen:m,defaultIsOpen:v,onOpen:l,onClose:u}),{referenceRef:V,getPopperProps:K,getArrowInnerProps:te,getArrowProps:q}=DF({enabled:D,placement:d,arrowPadding:E,modifiers:k,gutter:T,offset:A,direction:I}),$=w.useId(),X=`tooltip-${h??$}`,Z=w.useRef(null),U=w.useRef(),Q=w.useCallback(()=>{U.current&&(clearTimeout(U.current),U.current=void 0)},[]),ie=w.useRef(),fe=w.useCallback(()=>{ie.current&&(clearTimeout(ie.current),ie.current=void 0)},[]),Se=w.useCallback(()=>{fe(),z()},[z,fe]),Pe=W4e(Z,Se),ye=w.useCallback(()=>{if(!_&&!U.current){Pe();const mt=K9(Z);U.current=mt.setTimeout(j,t)}},[Pe,_,j,t]),We=w.useCallback(()=>{Q();const mt=K9(Z);ie.current=mt.setTimeout(Se,n)},[n,Se,Q]),De=w.useCallback(()=>{D&&r&&We()},[r,We,D]),ot=w.useCallback(()=>{D&&a&&We()},[a,We,D]),He=w.useCallback(mt=>{D&&mt.key==="Escape"&&We()},[D,We]);Rh(()=>N5(Z),"keydown",s?He:void 0),Rh(()=>N5(Z),"scroll",()=>{D&&o&&Se()}),w.useEffect(()=>{_&&(Q(),D&&z())},[_,D,z,Q]),w.useEffect(()=>()=>{Q(),fe()},[Q,fe]),Rh(()=>Z.current,"pointerleave",We);const Be=w.useCallback((mt={},St=null)=>({...mt,ref:qn(Z,St,V),onPointerEnter:tv(mt.onPointerEnter,lt=>{lt.pointerType!=="touch"&&ye()}),onClick:tv(mt.onClick,De),onPointerDown:tv(mt.onPointerDown,ot),onFocus:tv(mt.onFocus,ye),onBlur:tv(mt.onBlur,We),"aria-describedby":D?X:void 0}),[ye,We,ot,D,X,De,V]),wt=w.useCallback((mt={},St=null)=>K({...mt,style:{...mt.style,[oi.arrowSize.var]:b?`${b}px`:void 0,[oi.arrowShadowColor.var]:S}},St),[K,b,S]),st=w.useCallback((mt={},St=null)=>{const Le={...mt.style,position:"relative",transformOrigin:oi.transformOrigin.varRef};return{ref:St,...R,...mt,id:X,role:"tooltip",style:Le}},[R,X]);return{isOpen:D,show:ye,hide:We,getTriggerProps:Be,getTooltipProps:st,getTooltipPositionerProps:wt,getArrowProps:q,getArrowInnerProps:te}}var sC="chakra-ui:close-tooltip";function W4e(e,t){return w.useEffect(()=>{const n=N5(e);return n.addEventListener(sC,t),()=>n.removeEventListener(sC,t)},[t,e]),()=>{const n=N5(e),r=K9(e);n.dispatchEvent(new r.CustomEvent(sC))}}var U4e=Ce(du.div),uo=Ae((e,t)=>{const n=Ao("Tooltip",e),r=En(e),i=h0(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:u,bg:d,portalProps:h,background:m,backgroundColor:v,bgColor:b,motionProps:S,...E}=r,k=m??v??d??b;if(k){n.bg=k;const z=nne(i,"colors",k);n[oi.arrowBg.var]=z}const _=V4e({...E,direction:i.direction}),T=typeof o=="string"||s;let A;if(T)A=N.createElement(Ce.span,{display:"inline-block",tabIndex:0,..._.getTriggerProps()},o);else{const z=w.Children.only(o);A=w.cloneElement(z,_.getTriggerProps(z.props,z.ref))}const I=!!l,R=_.getTooltipProps({},t),D=I?F4e(R,["role","id"]):R,j=z4e(R,["role","id"]);return a?N.createElement(N.Fragment,null,A,N.createElement(nf,null,_.isOpen&&N.createElement(ap,{...h},N.createElement(Ce.div,{..._.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"}},N.createElement(U4e,{variants:H4e,initial:"exit",animate:"enter",exit:"exit",...S,...D,__css:n},a,I&&N.createElement(Ce.span,{srOnly:!0,...j},l),u&&N.createElement(Ce.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},N.createElement(Ce.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}}))))))):N.createElement(N.Fragment,null,o)});uo.displayName="Tooltip";var G4e=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetCSS:i=!0,theme:o={},environment:a,cssVarsRoot:s}=e,l=N.createElement(yF,{environment:a},t);return N.createElement(que,{theme:o,cssVarsRoot:s},N.createElement(fj,{colorModeManager:n,options:o.config},i?N.createElement(fme,null):N.createElement(dme,null),N.createElement(Kue,null),r?N.createElement(BH,{zIndex:r},l):l))};function q4e({children:e,theme:t=Bue,toastOptions:n,...r}){return N.createElement(G4e,{theme:t,...r},e,N.createElement($4e,{...n}))}var X9={},dI=Qs;X9.createRoot=dI.createRoot,X9.hydrateRoot=dI.hydrateRoot;var Z9={},Y4e={get exports(){return Z9},set exports(e){Z9=e}},uW={};/** +`)},P3e=0,Tg=[];function T3e(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),i=w.useState(P3e++)[0],o=w.useState(function(){return wV()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var S=D7([e.lockRef.current],(e.shards||[]).map(nI),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=w.useCallback(function(S,k){if("touches"in S&&S.touches.length===2)return!a.current.allowPinchZoom;var E=xb(S),_=n.current,T="deltaX"in S?S.deltaX:_[0]-E[0],A="deltaY"in S?S.deltaY:_[1]-E[1],I,R=S.target,D=Math.abs(T)>Math.abs(A)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var j=eI(D,R);if(!j)return!0;if(j?I=D:(I=D==="v"?"h":"v",j=eI(D,R)),!j)return!1;if(!r.current&&"changedTouches"in S&&(T||A)&&(r.current=I),!I)return!0;var z=r.current||I;return _3e(z,k,S,z==="h"?T:A,!0)},[]),l=w.useCallback(function(S){var k=S;if(!(!Tg.length||Tg[Tg.length-1]!==o)){var E="deltaY"in k?tI(k):xb(k),_=t.current.filter(function(I){return I.name===k.type&&I.target===k.target&&k3e(I.delta,E)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var T=(a.current.shards||[]).map(nI).filter(Boolean).filter(function(I){return I.contains(k.target)}),A=T.length>0?s(k,T[0]):!a.current.noIsolation;A&&k.cancelable&&k.preventDefault()}}},[]),u=w.useCallback(function(S,k,E,_){var T={name:S,delta:k,target:E,should:_};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(A){return A!==T})},1)},[]),d=w.useCallback(function(S){n.current=xb(S),r.current=void 0},[]),h=w.useCallback(function(S){u(S.type,tI(S),S.target,s(S,e.lockRef.current))},[]),m=w.useCallback(function(S){u(S.type,xb(S),S.target,s(S,e.lockRef.current))},[]);w.useEffect(function(){return Tg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Pg),document.addEventListener("touchmove",l,Pg),document.addEventListener("touchstart",d,Pg),function(){Tg=Tg.filter(function(S){return S!==o}),document.removeEventListener("wheel",l,Pg),document.removeEventListener("touchmove",l,Pg),document.removeEventListener("touchstart",d,Pg)}},[]);var v=e.removeScrollBar,b=e.inert;return w.createElement(w.Fragment,null,b?w.createElement(o,{styles:E3e(i)}):null,v?w.createElement(v3e,{gapMode:"margin"}):null)}const L3e=lye(xV,T3e);var EV=w.forwardRef(function(e,t){return w.createElement(vx,Fl({},e,{ref:t,sideCar:L3e}))});EV.classNames=vx.classNames;const PV=EV;var sp=(...e)=>e.filter(Boolean).join(" ");function wv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var A3e=class{constructor(){an(this,"modals");this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},W9=new A3e;function O3e(e,t){w.useEffect(()=>(t&&W9.add(e),()=>{W9.remove(e)}),[t,e])}function M3e(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,u=w.useRef(null),d=w.useRef(null),[h,m,v]=R3e(r,"chakra-modal","chakra-modal--header","chakra-modal--body");I3e(u,t&&a),O3e(u,t);const b=w.useRef(null),S=w.useCallback(j=>{b.current=j.target},[]),k=w.useCallback(j=>{j.key==="Escape"&&(j.stopPropagation(),o&&(n==null||n()),l==null||l())},[o,n,l]),[E,_]=w.useState(!1),[T,A]=w.useState(!1),I=w.useCallback((j={},z=null)=>({role:"dialog",...j,ref:qn(z,u),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?m:void 0,"aria-describedby":T?v:void 0,onClick:wv(j.onClick,V=>V.stopPropagation())}),[v,T,h,m,E]),R=w.useCallback(j=>{j.stopPropagation(),b.current===j.target&&W9.isTopModal(u)&&(i&&(n==null||n()),s==null||s())},[n,i,s]),D=w.useCallback((j={},z=null)=>({...j,ref:qn(z,d),onClick:wv(j.onClick,R),onKeyDown:wv(j.onKeyDown,k),onMouseDown:wv(j.onMouseDown,S)}),[k,S,R]);return{isOpen:t,onClose:n,headerId:m,bodyId:v,setBodyMounted:A,setHeaderMounted:_,dialogRef:u,overlayRef:d,getDialogProps:I,getDialogContainerProps:D}}function I3e(e,t){const n=e.current;w.useEffect(()=>{if(!(!e.current||!t))return zH(e.current)},[t,e,n])}function R3e(e,...t){const n=w.useId(),r=e||n;return w.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}var[D3e,lp]=Mn({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[N3e,qd]=Mn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Yd=e=>{const{portalProps:t,children:n,autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m,onCloseComplete:v}=e,b=Yi("Modal",e),k={...M3e(e),autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m};return N.createElement(N3e,{value:k},N.createElement(D3e,{value:b},N.createElement(nf,{onExitComplete:v},k.isOpen&&N.createElement(ap,{...t},n))))};Yd.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};Yd.displayName="Modal";var n0=Ae((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__body",n),s=lp();return N.createElement(Ce.div,{ref:t,className:a,id:i,...r,__css:s.body})});n0.displayName="ModalBody";var Ly=Ae((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=qd(),a=sp("chakra-modal__close-btn",r),s=lp();return N.createElement(JS,{ref:t,__css:s.closeButton,className:a,onClick:wv(n,l=>{l.stopPropagation(),o()}),...i})});Ly.displayName="ModalCloseButton";function TV(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d}=qd(),[h,m]=K_();return w.useEffect(()=>{!h&&m&&setTimeout(m)},[h,m]),N.createElement(SV,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:d},N.createElement(PV,{removeScrollBar:!u,allowPinchZoom:a,enabled:o,forwardProps:!0},e.children))}var j3e={slideInBottom:{...j7,custom:{offsetY:16,reverse:!0}},slideInRight:{...j7,custom:{offsetX:16,reverse:!0}},scale:{...H$,custom:{initialScale:.95,reverse:!0}},none:{}},B3e=Ce(du.section),$3e=e=>j3e[e||"none"],LV=w.forwardRef((e,t)=>{const{preset:n,motionProps:r=$3e(n),...i}=e;return N.createElement(B3e,{ref:t,...r,...i})});LV.displayName="ModalTransition";var Zh=Ae((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=qd(),u=s(a,t),d=l(i),h=sp("chakra-modal__content",n),m=lp(),v={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...m.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...m.dialogContainer},{motionPreset:S}=qd();return N.createElement(TV,null,N.createElement(Ce.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:b},N.createElement(LV,{preset:S,motionProps:o,className:h,...u,__css:v},r)))});Zh.displayName="ModalContent";var yx=Ae((e,t)=>{const{className:n,...r}=e,i=sp("chakra-modal__footer",n),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...lp().footer};return N.createElement(Ce.footer,{ref:t,...r,__css:a,className:i})});yx.displayName="ModalFooter";var w0=Ae((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__header",n),l={flex:0,...lp().header};return N.createElement(Ce.header,{ref:t,className:a,id:i,...r,__css:l})});w0.displayName="ModalHeader";var F3e=Ce(du.div),Kd=Ae((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=sp("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...lp().overlay},{motionPreset:u}=qd(),h=i||(u==="none"?{}:z$);return N.createElement(F3e,{...h,__css:l,ref:t,className:a,...o})});Kd.displayName="ModalOverlay";function AV(e){const{leastDestructiveRef:t,...n}=e;return N.createElement(Yd,{...n,initialFocusRef:t})}var OV=Ae((e,t)=>N.createElement(Zh,{ref:t,role:"alertdialog",...e})),[QFe,z3e]=Mn(),H3e=Ce(V$),V3e=Ae((e,t)=>{const{className:n,children:r,motionProps:i,containerProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=qd(),d=s(a,t),h=l(o),m=sp("chakra-modal__content",n),v=lp(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...v.dialog},S={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...v.dialogContainer},{placement:k}=z3e();return N.createElement(TV,null,N.createElement(Ce.div,{...h,className:"chakra-modal__content-container",__css:S},N.createElement(H3e,{motionProps:i,direction:k,in:u,className:m,...d,__css:b},r)))});V3e.displayName="DrawerContent";function W3e(e,t){const n=Er(e);w.useEffect(()=>{let r=null;const i=()=>n();return t!==null&&(r=window.setInterval(i,t)),()=>{r&&window.clearInterval(r)}},[t,n])}var MV=(...e)=>e.filter(Boolean).join(" "),rC=e=>e?!0:void 0;function Al(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var U3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})),G3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"}));function rI(e,t,n,r){w.useEffect(()=>{if(!e.current||!r)return;const i=e.current.ownerDocument.defaultView??window,o=Array.isArray(t)?t:[t],a=new i.MutationObserver(s=>{for(const l of s)l.type==="attributes"&&l.attributeName&&o.includes(l.attributeName)&&n(l)});return a.observe(e.current,{attributes:!0,attributeFilter:o}),()=>a.disconnect()})}var q3e=50,iI=300;function Y3e(e,t){const[n,r]=w.useState(!1),[i,o]=w.useState(null),[a,s]=w.useState(!0),l=w.useRef(null),u=()=>clearTimeout(l.current);W3e(()=>{i==="increment"&&e(),i==="decrement"&&t()},n?q3e:null);const d=w.useCallback(()=>{a&&e(),l.current=setTimeout(()=>{s(!1),r(!0),o("increment")},iI)},[e,a]),h=w.useCallback(()=>{a&&t(),l.current=setTimeout(()=>{s(!1),r(!0),o("decrement")},iI)},[t,a]),m=w.useCallback(()=>{s(!0),r(!1),u()},[]);return w.useEffect(()=>()=>u(),[]),{up:d,down:h,stop:m,isSpinning:n}}var K3e=/^[Ee0-9+\-.]$/;function X3e(e){return K3e.test(e)}function Z3e(e,t){if(e.key==null)return!0;const n=e.ctrlKey||e.altKey||e.metaKey;return!(e.key.length===1)||n?!0:t(e.key)}function Q3e(e={}){const{focusInputOnChange:t=!0,clampValueOnBlur:n=!0,keepWithinRange:r=!0,min:i=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:a=1,isReadOnly:s,isDisabled:l,isRequired:u,isInvalid:d,pattern:h="[0-9]*(.[0-9]+)?",inputMode:m="decimal",allowMouseWheel:v,id:b,onChange:S,precision:k,name:E,"aria-describedby":_,"aria-label":T,"aria-labelledby":A,onFocus:I,onBlur:R,onInvalid:D,getAriaValueText:j,isValidCharacter:z,format:V,parse:K,...te}=e,q=Er(I),$=Er(R),U=Er(D),X=Er(z??X3e),Z=Er(j),W=cme(e),{update:Q,increment:ie,decrement:fe}=W,[Se,Pe]=w.useState(!1),ye=!(s||l),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useRef(null),Be=w.useCallback(Te=>Te.split("").filter(X).join(""),[X]),wt=w.useCallback(Te=>(K==null?void 0:K(Te))??Te,[K]),st=w.useCallback(Te=>((V==null?void 0:V(Te))??Te).toString(),[V]);Vd(()=>{(W.valueAsNumber>o||W.valueAsNumber{if(!We.current)return;if(We.current.value!=W.value){const At=wt(We.current.value);W.setValue(Be(At))}},[wt,Be]);const mt=w.useCallback((Te=a)=>{ye&&ie(Te)},[ie,ye,a]),St=w.useCallback((Te=a)=>{ye&&fe(Te)},[fe,ye,a]),Le=Y3e(mt,St);rI(ot,"disabled",Le.stop,Le.isSpinning),rI(He,"disabled",Le.stop,Le.isSpinning);const lt=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;const $e=wt(Te.currentTarget.value);Q(Be($e)),De.current={start:Te.currentTarget.selectionStart,end:Te.currentTarget.selectionEnd}},[Q,Be,wt]),Mt=w.useCallback(Te=>{var At;q==null||q(Te),De.current&&(Te.target.selectionStart=De.current.start??((At=Te.currentTarget.value)==null?void 0:At.length),Te.currentTarget.selectionEnd=De.current.end??Te.currentTarget.selectionStart)},[q]),ut=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;Z3e(Te,X)||Te.preventDefault();const At=_t(Te)*a,$e=Te.key,tn={ArrowUp:()=>mt(At),ArrowDown:()=>St(At),Home:()=>Q(i),End:()=>Q(o)}[$e];tn&&(Te.preventDefault(),tn(Te))},[X,a,mt,St,Q,i,o]),_t=Te=>{let At=1;return(Te.metaKey||Te.ctrlKey)&&(At=.1),Te.shiftKey&&(At=10),At},ln=w.useMemo(()=>{const Te=Z==null?void 0:Z(W.value);if(Te!=null)return Te;const At=W.value.toString();return At||void 0},[W.value,Z]),ae=w.useCallback(()=>{let Te=W.value;if(W.value==="")return;/^[eE]/.test(W.value.toString())?W.setValue(""):(W.valueAsNumbero&&(Te=o),W.cast(Te))},[W,o,i]),Re=w.useCallback(()=>{Pe(!1),n&&ae()},[n,Pe,ae]),Ye=w.useCallback(()=>{t&&requestAnimationFrame(()=>{var Te;(Te=We.current)==null||Te.focus()})},[t]),Ke=w.useCallback(Te=>{Te.preventDefault(),Le.up(),Ye()},[Ye,Le]),xe=w.useCallback(Te=>{Te.preventDefault(),Le.down(),Ye()},[Ye,Le]);Rh(()=>We.current,"wheel",Te=>{var At;const vt=(((At=We.current)==null?void 0:At.ownerDocument)??document).activeElement===We.current;if(!v||!vt)return;Te.preventDefault();const tn=_t(Te)*a,Rn=Math.sign(Te.deltaY);Rn===-1?mt(tn):Rn===1&&St(tn)},{passive:!1});const Ne=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMax;return{...Te,ref:qn(At,ot),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||Ke(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[W.isAtMax,r,Ke,Le.stop,l]),Ct=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMin;return{...Te,ref:qn(At,He),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||xe(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[W.isAtMin,r,xe,Le.stop,l]),Dt=w.useCallback((Te={},At=null)=>({name:E,inputMode:m,type:"text",pattern:h,"aria-labelledby":A,"aria-label":T,"aria-describedby":_,id:b,disabled:l,...Te,readOnly:Te.readOnly??s,"aria-readonly":Te.readOnly??s,"aria-required":Te.required??u,required:Te.required??u,ref:qn(We,At),value:st(W.value),role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Number.isNaN(W.valueAsNumber)?void 0:W.valueAsNumber,"aria-invalid":rC(d??W.isOutOfRange),"aria-valuetext":ln,autoComplete:"off",autoCorrect:"off",onChange:Al(Te.onChange,lt),onKeyDown:Al(Te.onKeyDown,ut),onFocus:Al(Te.onFocus,Mt,()=>Pe(!0)),onBlur:Al(Te.onBlur,$,Re)}),[E,m,h,A,T,st,_,b,l,u,s,d,W.value,W.valueAsNumber,W.isOutOfRange,i,o,ln,lt,ut,Mt,$,Re]);return{value:st(W.value),valueAsNumber:W.valueAsNumber,isFocused:Se,isDisabled:l,isReadOnly:s,getIncrementButtonProps:Ne,getDecrementButtonProps:Ct,getInputProps:Dt,htmlProps:te}}var[J3e,bx]=Mn({name:"NumberInputStylesContext",errorMessage:`useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[ebe,PE]=Mn({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),TE=Ae(function(t,n){const r=Yi("NumberInput",t),i=En(t),o=lk(i),{htmlProps:a,...s}=Q3e(o),l=w.useMemo(()=>s,[s]);return N.createElement(ebe,{value:l},N.createElement(J3e,{value:r},N.createElement(Ce.div,{...a,ref:n,className:MV("chakra-numberinput",t.className),__css:{position:"relative",zIndex:0,...r.root}})))});TE.displayName="NumberInput";var IV=Ae(function(t,n){const r=bx();return N.createElement(Ce.div,{"aria-hidden":!0,ref:n,...t,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})});IV.displayName="NumberInputStepper";var LE=Ae(function(t,n){const{getInputProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(Ce.input,{...i,className:MV("chakra-numberinput__field",t.className),__css:{width:"100%",...o.field}})});LE.displayName="NumberInputField";var RV=Ce("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),AE=Ae(function(t,n){const r=bx(),{getDecrementButtonProps:i}=PE(),o=i(t,n);return N.createElement(RV,{...o,__css:r.stepper},t.children??N.createElement(U3e,null))});AE.displayName="NumberDecrementStepper";var OE=Ae(function(t,n){const{getIncrementButtonProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(RV,{...i,__css:o.stepper},t.children??N.createElement(G3e,null))});OE.displayName="NumberIncrementStepper";var Ay=(...e)=>e.filter(Boolean).join(" ");function tbe(e,...t){return nbe(e)?e(...t):e}var nbe=e=>typeof e=="function";function Ol(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function rbe(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var[ibe,up]=Mn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[obe,Oy]=Mn({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Lg={click:"click",hover:"hover"};function abe(e={}){const{closeOnBlur:t=!0,closeOnEsc:n=!0,initialFocusRef:r,id:i,returnFocusOnClose:o=!0,autoFocus:a=!0,arrowSize:s,arrowShadowColor:l,trigger:u=Lg.click,openDelay:d=200,closeDelay:h=200,isLazy:m,lazyBehavior:v="unmount",computePositionOnMount:b,...S}=e,{isOpen:k,onClose:E,onOpen:_,onToggle:T}=NF(e),A=w.useRef(null),I=w.useRef(null),R=w.useRef(null),D=w.useRef(!1),j=w.useRef(!1);k&&(j.current=!0);const[z,V]=w.useState(!1),[K,te]=w.useState(!1),q=w.useId(),$=i??q,[U,X,Z,W]=["popover-trigger","popover-content","popover-header","popover-body"].map(lt=>`${lt}-${$}`),{referenceRef:Q,getArrowProps:ie,getPopperProps:fe,getArrowInnerProps:Se,forceUpdate:Pe}=DF({...S,enabled:k||!!b}),ye=j1e({isOpen:k,ref:R});bme({enabled:k,ref:I}),h0e(R,{focusRef:I,visible:k,shouldFocus:o&&u===Lg.click}),g0e(R,{focusRef:r,visible:k,shouldFocus:a&&u===Lg.click});const We=jF({wasSelected:j.current,enabled:m,mode:v,isSelected:ye.present}),De=w.useCallback((lt={},Mt=null)=>{const ut={...lt,style:{...lt.style,transformOrigin:oi.transformOrigin.varRef,[oi.arrowSize.var]:s?`${s}px`:void 0,[oi.arrowShadowColor.var]:l},ref:qn(R,Mt),children:We?lt.children:null,id:X,tabIndex:-1,role:"dialog",onKeyDown:Ol(lt.onKeyDown,_t=>{n&&_t.key==="Escape"&&E()}),onBlur:Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=iC(R.current,ln),Re=iC(I.current,ln);k&&t&&(!ae&&!Re)&&E()}),"aria-labelledby":z?Z:void 0,"aria-describedby":K?W:void 0};return u===Lg.hover&&(ut.role="tooltip",ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0}),ut.onMouseLeave=Ol(lt.onMouseLeave,_t=>{_t.nativeEvent.relatedTarget!==null&&(D.current=!1,setTimeout(()=>E(),h))})),ut},[We,X,z,Z,K,W,u,n,E,k,t,h,l,s]),ot=w.useCallback((lt={},Mt=null)=>fe({...lt,style:{visibility:k?"visible":"hidden",...lt.style}},Mt),[k,fe]),He=w.useCallback((lt,Mt=null)=>({...lt,ref:qn(Mt,A,Q)}),[A,Q]),Be=w.useRef(),wt=w.useRef(),st=w.useCallback(lt=>{A.current==null&&Q(lt)},[Q]),mt=w.useCallback((lt={},Mt=null)=>{const ut={...lt,ref:qn(I,Mt,st),id:U,"aria-haspopup":"dialog","aria-expanded":k,"aria-controls":X};return u===Lg.click&&(ut.onClick=Ol(lt.onClick,T)),u===Lg.hover&&(ut.onFocus=Ol(lt.onFocus,()=>{Be.current===void 0&&_()}),ut.onBlur=Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=!iC(R.current,ln);k&&t&&ae&&E()}),ut.onKeyDown=Ol(lt.onKeyDown,_t=>{_t.key==="Escape"&&E()}),ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0,Be.current=window.setTimeout(()=>_(),d)}),ut.onMouseLeave=Ol(lt.onMouseLeave,()=>{D.current=!1,Be.current&&(clearTimeout(Be.current),Be.current=void 0),wt.current=window.setTimeout(()=>{D.current===!1&&E()},h)})),ut},[U,k,X,u,st,T,_,t,E,d,h]);w.useEffect(()=>()=>{Be.current&&clearTimeout(Be.current),wt.current&&clearTimeout(wt.current)},[]);const St=w.useCallback((lt={},Mt=null)=>({...lt,id:Z,ref:qn(Mt,ut=>{V(!!ut)})}),[Z]),Le=w.useCallback((lt={},Mt=null)=>({...lt,id:W,ref:qn(Mt,ut=>{te(!!ut)})}),[W]);return{forceUpdate:Pe,isOpen:k,onAnimationComplete:ye.onComplete,onClose:E,getAnchorProps:He,getArrowProps:ie,getArrowInnerProps:Se,getPopoverPositionerProps:ot,getPopoverProps:De,getTriggerProps:mt,getHeaderProps:St,getBodyProps:Le}}function iC(e,t){return e===t||(e==null?void 0:e.contains(t))}function oI(e){const t=e.currentTarget.ownerDocument.activeElement;return e.relatedTarget??t}function ME(e){const t=Yi("Popover",e),{children:n,...r}=En(e),i=h0(),o=abe({...r,direction:i.direction});return N.createElement(ibe,{value:o},N.createElement(obe,{value:t},tbe(n,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})))}ME.displayName="Popover";function IE(e){const{bg:t,bgColor:n,backgroundColor:r}=e,{getArrowProps:i,getArrowInnerProps:o}=up(),a=Oy(),s=t??n??r;return N.createElement(Ce.div,{...i(),className:"chakra-popover__arrow-positioner"},N.createElement(Ce.div,{className:Ay("chakra-popover__arrow",e.className),...o(e),__css:{...a.arrow,"--popper-arrow-bg":s?`colors.${s}, ${s}`:void 0}}))}IE.displayName="PopoverArrow";var sbe=Ae(function(t,n){const{getBodyProps:r}=up(),i=Oy();return N.createElement(Ce.div,{...r(t,n),className:Ay("chakra-popover__body",t.className),__css:i.body})});sbe.displayName="PopoverBody";var lbe=Ae(function(t,n){const{onClose:r}=up(),i=Oy();return N.createElement(JS,{size:"sm",onClick:r,className:Ay("chakra-popover__close-btn",t.className),__css:i.closeButton,ref:n,...t})});lbe.displayName="PopoverCloseButton";function ube(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}var cbe={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},dbe=Ce(du.section),DV=Ae(function(t,n){const{variants:r=cbe,...i}=t,{isOpen:o}=up();return N.createElement(dbe,{ref:n,variants:ube(r),initial:!1,animate:o?"enter":"exit",...i})});DV.displayName="PopoverTransition";var RE=Ae(function(t,n){const{rootProps:r,motionProps:i,...o}=t,{getPopoverProps:a,getPopoverPositionerProps:s,onAnimationComplete:l}=up(),u=Oy(),d={position:"relative",display:"flex",flexDirection:"column",...u.content};return N.createElement(Ce.div,{...s(r),__css:u.popper,className:"chakra-popover__popper"},N.createElement(DV,{...i,...a(o,n),onAnimationComplete:rbe(l,o.onAnimationComplete),className:Ay("chakra-popover__content",t.className),__css:d}))});RE.displayName="PopoverContent";var fbe=Ae(function(t,n){const{getHeaderProps:r}=up(),i=Oy();return N.createElement(Ce.header,{...r(t,n),className:Ay("chakra-popover__header",t.className),__css:i.header})});fbe.displayName="PopoverHeader";function DE(e){const t=w.Children.only(e.children),{getTriggerProps:n}=up();return w.cloneElement(t,n(t.props,t.ref))}DE.displayName="PopoverTrigger";function hbe(e,t,n){return(e-t)*100/(n-t)}var pbe=tf({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),gbe=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),mbe=tf({"0%":{left:"-40%"},"100%":{left:"100%"}}),vbe=tf({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function NV(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=hbe(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof o=="function"?o(t,l):i})(),role:s},percent:l,value:t}}var jV=e=>{const{size:t,isIndeterminate:n,...r}=e;return N.createElement(Ce.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:n?`${gbe} 2s linear infinite`:void 0},...r})};jV.displayName="Shape";var U9=e=>N.createElement(Ce.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});U9.displayName="Circle";var ybe=Ae((e,t)=>{const{size:n="48px",max:r=100,min:i=0,valueText:o,getValueText:a,value:s,capIsRound:l,children:u,thickness:d="10px",color:h="#0078d4",trackColor:m="#edebe9",isIndeterminate:v,...b}=e,S=NV({min:i,max:r,value:s,valueText:o,getValueText:a,isIndeterminate:v}),k=v?void 0:(S.percent??0)*2.64,E=k==null?void 0:`${k} ${264-k}`,_=v?{css:{animation:`${pbe} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:E,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},T={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return N.createElement(Ce.div,{ref:t,className:"chakra-progress",...S.bind,...b,__css:T},N.createElement(jV,{size:n,isIndeterminate:v},N.createElement(U9,{stroke:m,strokeWidth:d,className:"chakra-progress__track"}),N.createElement(U9,{stroke:h,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:l?"round":void 0,opacity:S.value===0&&!v?0:void 0,..._})),u)});ybe.displayName="CircularProgress";var[bbe,Sbe]=Mn({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),xbe=Ae((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...s}=e,l=NV({value:i,min:n,max:r,isIndeterminate:o,role:a}),d={height:"100%",...Sbe().filledTrack};return N.createElement(Ce.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:d})}),BV=Ae((e,t)=>{var n;const{value:r,min:i=0,max:o=100,hasStripe:a,isAnimated:s,children:l,borderRadius:u,isIndeterminate:d,"aria-label":h,"aria-labelledby":m,title:v,role:b,...S}=En(e),k=Yi("Progress",e),E=u??((n=k.track)==null?void 0:n.borderRadius),_={animation:`${vbe} 1s linear infinite`},I={...!d&&a&&s&&_,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${mbe} 1s ease infinite normal none running`}},R={overflow:"hidden",position:"relative",...k.track};return N.createElement(Ce.div,{ref:t,borderRadius:E,__css:R,...S},N.createElement(bbe,{value:k},N.createElement(xbe,{"aria-label":h,"aria-labelledby":m,min:i,max:o,value:r,isIndeterminate:d,css:I,borderRadius:E,title:v,role:b}),l))});BV.displayName="Progress";var wbe=Ce("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});wbe.displayName="CircularProgressLabel";var Cbe=(...e)=>e.filter(Boolean).join(" "),_be=e=>e?"":void 0;function kbe(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}var $V=Ae(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return N.createElement(Ce.select,{...a,ref:n,className:Cbe("chakra-select",o)},i&&N.createElement("option",{value:""},i),r)});$V.displayName="SelectField";var FV=Ae((e,t)=>{var n;const r=Yi("Select",e),{rootProps:i,placeholder:o,icon:a,color:s,height:l,h:u,minH:d,minHeight:h,iconColor:m,iconSize:v,...b}=En(e),[S,k]=kbe(b,Hte),E=sk(k),_={width:"100%",height:"fit-content",position:"relative",color:s},T={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return N.createElement(Ce.div,{className:"chakra-select__wrapper",__css:_,...S,...i},N.createElement($V,{ref:t,height:u??l,minH:d??h,placeholder:o,...E,__css:T},e.children),N.createElement(zV,{"data-disabled":_be(E.disabled),...(m||s)&&{color:m||s},__css:r.icon,...v&&{fontSize:v}},a))});FV.displayName="Select";var Ebe=e=>N.createElement("svg",{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pbe=Ce("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),zV=e=>{const{children:t=N.createElement(Ebe,null),...n}=e,r=w.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return N.createElement(Pbe,{...n,className:"chakra-select__icon-wrapper"},w.isValidElement(t)?r:null)};zV.displayName="SelectIcon";function Tbe(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Lbe(e){const t=Obe(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function HV(e){return!!e.touches}function Abe(e){return HV(e)&&e.touches.length>1}function Obe(e){return e.view??window}function Mbe(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Ibe(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function VV(e,t="page"){return HV(e)?Mbe(e,t):Ibe(e,t)}function Rbe(e){return t=>{const n=Lbe(t);(!n||n&&t.button===0)&&e(t)}}function Dbe(e,t=!1){function n(i){e(i,{point:VV(i)})}return t?Rbe(n):n}function E4(e,t,n,r){return Tbe(e,t,Dbe(n,t==="pointerdown"),r)}function WV(e){const t=w.useRef(null);return t.current=e,t}var Nbe=class{constructor(e,t,n){an(this,"history",[]);an(this,"startEvent",null);an(this,"lastEvent",null);an(this,"lastEventInfo",null);an(this,"handlers",{});an(this,"removeListeners",()=>{});an(this,"threshold",3);an(this,"win");an(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const e=oC(this.lastEventInfo,this.history),t=this.startEvent!==null,n=Fbe(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!n)return;const{timestamp:r}=OL();this.history.push({...e.point,timestamp:r});const{onStart:i,onMove:o}=this.handlers;t||(i==null||i(this.lastEvent,e),this.startEvent=this.lastEvent),o==null||o(this.lastEvent,e)});an(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,tre.update(this.updatePoint,!0)});an(this,"onPointerUp",(e,t)=>{const n=oC(t,this.history),{onEnd:r,onSessionEnd:i}=this.handlers;i==null||i(e,n),this.end(),!(!r||!this.startEvent)&&(r==null||r(e,n))});if(this.win=e.view??window,Abe(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:VV(e)},{timestamp:i}=OL();this.history=[{...r.point,timestamp:i}];const{onSessionStart:o}=t;o==null||o(e,oC(r,this.history)),this.removeListeners=$be(E4(this.win,"pointermove",this.onPointerMove),E4(this.win,"pointerup",this.onPointerUp),E4(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),nre.update(this.updatePoint)}};function aI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oC(e,t){return{point:e.point,delta:aI(e.point,t[t.length-1]),offset:aI(e.point,t[0]),velocity:Bbe(t,.1)}}var jbe=e=>e*1e3;function Bbe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=e[e.length-1];for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>jbe(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function $be(...e){return t=>e.reduce((n,r)=>r(n),t)}function aC(e,t){return Math.abs(e-t)}function sI(e){return"x"in e&&"y"in e}function Fbe(e,t){if(typeof e=="number"&&typeof t=="number")return aC(e,t);if(sI(e)&&sI(t)){const n=aC(e.x,t.x),r=aC(e.y,t.y);return Math.sqrt(n**2+r**2)}return 0}function UV(e,t){const{onPan:n,onPanStart:r,onPanEnd:i,onPanSessionStart:o,onPanSessionEnd:a,threshold:s}=t,l=Boolean(n||r||i||o||a),u=w.useRef(null),d=WV({onSessionStart:o,onSessionEnd:a,onStart:r,onMove:n,onEnd(h,m){u.current=null,i==null||i(h,m)}});w.useEffect(()=>{var h;(h=u.current)==null||h.updateHandlers(d.current)}),w.useEffect(()=>{const h=e.current;if(!h||!l)return;function m(v){u.current=new Nbe(v,d.current,s)}return E4(h,"pointerdown",m)},[e,l,d,s]),w.useEffect(()=>()=>{var h;(h=u.current)==null||h.end(),u.current=null},[])}function zbe(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,r=new n.ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const[o]=i;let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;t({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}var Hbe=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect;function Vbe(e,t){var n;if(!e||!e.parentElement)return;const r=((n=e.ownerDocument)==null?void 0:n.defaultView)??window,i=new r.MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}function GV({getNodes:e,observeMutation:t=!0}){const[n,r]=w.useState([]),[i,o]=w.useState(0);return Hbe(()=>{const a=e(),s=a.map((l,u)=>zbe(l,d=>{r(h=>[...h.slice(0,u),d,...h.slice(u+1)])}));if(t){const l=a[0];s.push(Vbe(l,()=>{o(u=>u+1)}))}return()=>{s.forEach(l=>{l==null||l()})}},[i]),n}function Wbe(e){return typeof e=="object"&&e!==null&&"current"in e}function Ube(e){const[t]=GV({observeMutation:!1,getNodes(){return[Wbe(e)?e.current:e]}});return t}var Gbe=Object.getOwnPropertyNames,qbe=(e,t)=>function(){return e&&(t=(0,e[Gbe(e)[0]])(e=0)),t},lf=qbe({"../../../react-shim.js"(){}});lf();lf();lf();var Ja=e=>e?"":void 0,Mm=e=>e?!0:void 0,uf=(...e)=>e.filter(Boolean).join(" ");lf();function Im(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}lf();lf();function Ybe(e){return{root:`slider-root-${e}`,getThumb:t=>`slider-thumb-${e}-${t}`,getInput:t=>`slider-input-${e}-${t}`,track:`slider-track-${e}`,innerTrack:`slider-filled-track-${e}`,getMarker:t=>`slider-marker-${e}-${t}`,output:`slider-output-${e}`}}function Cv(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}var P4={width:0,height:0},wb=e=>e||P4;function qV(e){const{orientation:t,thumbPercents:n,thumbRects:r,isReversed:i}=e,o=S=>{const k=r[S]??P4;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...Cv({orientation:t,vertical:{bottom:`calc(${n[S]}% - ${k.height/2}px)`},horizontal:{left:`calc(${n[S]}% - ${k.width/2}px)`}})}},a=t==="vertical"?r.reduce((S,k)=>wb(S).height>wb(k).height?S:k,P4):r.reduce((S,k)=>wb(S).width>wb(k).width?S:k,P4),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...Cv({orientation:t,vertical:a?{paddingLeft:a.width/2,paddingRight:a.width/2}:{},horizontal:a?{paddingTop:a.height/2,paddingBottom:a.height/2}:{}})},l={position:"absolute",...Cv({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},u=n.length===1,d=[0,i?100-n[0]:n[0]],h=u?d:n;let m=h[0];!u&&i&&(m=100-m);const v=Math.abs(h[h.length-1]-h[0]),b={...l,...Cv({orientation:t,vertical:i?{height:`${v}%`,top:`${m}%`}:{height:`${v}%`,bottom:`${m}%`},horizontal:i?{width:`${v}%`,right:`${m}%`}:{width:`${v}%`,left:`${m}%`}})};return{trackStyle:l,innerTrackStyle:b,rootStyle:s,getThumbStyle:o}}function YV(e){const{isReversed:t,direction:n,orientation:r}=e;return n==="ltr"||r==="vertical"?t:!t}function Kbe(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,minStepsBetweenThumbs:I=0,...R}=e,D=Er(m),j=Er(v),z=Er(S),V=YV({isReversed:a,direction:s,orientation:l}),[K,te]=DS({value:i,defaultValue:o??[25,75],onChange:r});if(!Array.isArray(K))throw new TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof K}\``);const[q,$]=w.useState(!1),[U,X]=w.useState(!1),[Z,W]=w.useState(-1),Q=!(d||h),ie=w.useRef(K),fe=K.map(Xe=>Cm(Xe,t,n)),Se=I*b,Pe=Xbe(fe,t,n,Se),ye=w.useRef({eventSource:null,value:[],valueBounds:[]});ye.current.value=fe,ye.current.valueBounds=Pe;const We=fe.map(Xe=>n-Xe+t),ot=(V?We:fe).map(Xe=>l5(Xe,t,n)),He=l==="vertical",Be=w.useRef(null),wt=w.useRef(null),st=GV({getNodes(){const Xe=wt.current,xt=Xe==null?void 0:Xe.querySelectorAll("[role=slider]");return xt?Array.from(xt):[]}}),mt=w.useId(),Le=Ybe(u??mt),lt=w.useCallback(Xe=>{var xt;if(!Be.current)return;ye.current.eventSource="pointer";const ft=Be.current.getBoundingClientRect(),{clientX:Ht,clientY:nn}=((xt=Xe.touches)==null?void 0:xt[0])??Xe,pr=He?ft.bottom-nn:Ht-ft.left,Mo=He?ft.height:ft.width;let Oi=pr/Mo;return V&&(Oi=1-Oi),J$(Oi,t,n)},[He,V,n,t]),Mt=(n-t)/10,ut=b||(n-t)/100,_t=w.useMemo(()=>({setValueAtIndex(Xe,xt){if(!Q)return;const ft=ye.current.valueBounds[Xe];xt=parseFloat(H7(xt,ft.min,ut)),xt=Cm(xt,ft.min,ft.max);const Ht=[...ye.current.value];Ht[Xe]=xt,te(Ht)},setActiveIndex:W,stepUp(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft-xt:ft+xt;_t.setValueAtIndex(Xe,Ht)},stepDown(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft+xt:ft-xt;_t.setValueAtIndex(Xe,Ht)},reset(){te(ie.current)}}),[ut,V,te,Q]),ln=w.useCallback(Xe=>{const xt=Xe.key,Ht={ArrowRight:()=>_t.stepUp(Z),ArrowUp:()=>_t.stepUp(Z),ArrowLeft:()=>_t.stepDown(Z),ArrowDown:()=>_t.stepDown(Z),PageUp:()=>_t.stepUp(Z,Mt),PageDown:()=>_t.stepDown(Z,Mt),Home:()=>{const{min:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)},End:()=>{const{max:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)}}[xt];Ht&&(Xe.preventDefault(),Xe.stopPropagation(),Ht(Xe),ye.current.eventSource="keyboard")},[_t,Z,Mt,Pe]),{getThumbStyle:ae,rootStyle:Re,trackStyle:Ye,innerTrackStyle:Ke}=w.useMemo(()=>qV({isReversed:V,orientation:l,thumbRects:st,thumbPercents:ot}),[V,l,ot,st]),xe=w.useCallback(Xe=>{var xt;const ft=Xe??Z;if(ft!==-1&&A){const Ht=Le.getThumb(ft),nn=(xt=wt.current)==null?void 0:xt.ownerDocument.getElementById(Ht);nn&&setTimeout(()=>nn.focus())}},[A,Z,Le]);Vd(()=>{ye.current.eventSource==="keyboard"&&(j==null||j(ye.current.value))},[fe,j]);const Ne=Xe=>{const xt=lt(Xe)||0,ft=ye.current.value.map(Oi=>Math.abs(Oi-xt)),Ht=Math.min(...ft);let nn=ft.indexOf(Ht);const pr=ft.filter(Oi=>Oi===Ht);pr.length>1&&xt>ye.current.value[nn]&&(nn=nn+pr.length-1),W(nn),_t.setValueAtIndex(nn,xt),xe(nn)},Ct=Xe=>{if(Z==-1)return;const xt=lt(Xe)||0;W(Z),_t.setValueAtIndex(Z,xt),xe(Z)};UV(wt,{onPanSessionStart(Xe){Q&&($(!0),Ne(Xe),D==null||D(ye.current.value))},onPanSessionEnd(){Q&&($(!1),j==null||j(ye.current.value))},onPan(Xe){Q&&Ct(Xe)}});const Dt=w.useCallback((Xe={},xt=null)=>({...Xe,...R,id:Le.root,ref:qn(xt,wt),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja(U),style:{...Xe.style,...Re}}),[R,d,U,Re,Le]),Te=w.useCallback((Xe={},xt=null)=>({...Xe,ref:qn(xt,Be),id:Le.track,"data-disabled":Ja(d),style:{...Xe.style,...Ye}}),[d,Ye,Le]),At=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.innerTrack,style:{...Xe.style,...Ke}}),[Ke,Le]),$e=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe,nn=fe[ft];if(nn==null)throw new TypeError(`[range-slider > thumb] Cannot find value at index \`${ft}\`. The \`value\` or \`defaultValue\` length is : ${fe.length}`);const pr=Pe[ft];return{...Ht,ref:xt,role:"slider",tabIndex:Q?0:void 0,id:Le.getThumb(ft),"data-active":Ja(q&&Z===ft),"aria-valuetext":(z==null?void 0:z(nn))??(k==null?void 0:k[ft]),"aria-valuemin":pr.min,"aria-valuemax":pr.max,"aria-valuenow":nn,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E==null?void 0:E[ft],"aria-labelledby":E!=null&&E[ft]||_==null?void 0:_[ft],style:{...Xe.style,...ae(ft)},onKeyDown:Im(Xe.onKeyDown,ln),onFocus:Im(Xe.onFocus,()=>{X(!0),W(ft)}),onBlur:Im(Xe.onBlur,()=>{X(!1),W(-1)})}},[Le,fe,Pe,Q,q,Z,z,k,l,d,h,E,_,ae,ln,X]),vt=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.output,htmlFor:fe.map((ft,Ht)=>Le.getThumb(Ht)).join(" "),"aria-live":"off"}),[Le,fe]),tn=w.useCallback((Xe,xt=null)=>{const{value:ft,...Ht}=Xe,nn=!(ftn),pr=ft>=fe[0]&&ft<=fe[fe.length-1];let Mo=l5(ft,t,n);Mo=V?100-Mo:Mo;const Oi={position:"absolute",pointerEvents:"none",...Cv({orientation:l,vertical:{bottom:`${Mo}%`},horizontal:{left:`${Mo}%`}})};return{...Ht,ref:xt,id:Le.getMarker(Xe.value),role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!nn),"data-highlighted":Ja(pr),style:{...Xe.style,...Oi}}},[d,V,n,t,l,fe,Le]),Rn=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe;return{...Ht,ref:xt,id:Le.getInput(ft),type:"hidden",value:fe[ft],name:Array.isArray(T)?T[ft]:`${T}-${ft}`}},[T,fe,Le]);return{state:{value:fe,isFocused:U,isDragging:q,getThumbPercent:Xe=>ot[Xe],getThumbMinValue:Xe=>Pe[Xe].min,getThumbMaxValue:Xe=>Pe[Xe].max},actions:_t,getRootProps:Dt,getTrackProps:Te,getInnerTrackProps:At,getThumbProps:$e,getMarkerProps:tn,getInputProps:Rn,getOutputProps:vt}}function Xbe(e,t,n,r){return e.map((i,o)=>{const a=o===0?t:e[o-1]+r,s=o===e.length-1?n:e[o+1]-r;return{min:a,max:s}})}var[Zbe,Sx]=Mn({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[Qbe,NE]=Mn({name:"RangeSliderStylesContext",errorMessage:`useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),KV=Ae(function(t,n){const r=Yi("Slider",t),i=En(t),{direction:o}=h0();i.direction=o;const{getRootProps:a,...s}=Kbe(i),l=w.useMemo(()=>({...s,name:t.name}),[s,t.name]);return N.createElement(Zbe,{value:l},N.createElement(Qbe,{value:r},N.createElement(Ce.div,{...a({},n),className:"chakra-slider",__css:r.container},t.children)))});KV.defaultProps={orientation:"horizontal"};KV.displayName="RangeSlider";var Jbe=Ae(function(t,n){const{getThumbProps:r,getInputProps:i,name:o}=Sx(),a=NE(),s=r(t,n);return N.createElement(Ce.div,{...s,className:uf("chakra-slider__thumb",t.className),__css:a.thumb},s.children,o&&N.createElement("input",{...i({index:t.index})}))});Jbe.displayName="RangeSliderThumb";var e4e=Ae(function(t,n){const{getTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:uf("chakra-slider__track",t.className),__css:i.track,"data-testid":"chakra-range-slider-track"})});e4e.displayName="RangeSliderTrack";var t4e=Ae(function(t,n){const{getInnerTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:"chakra-slider__filled-track",__css:i.filledTrack})});t4e.displayName="RangeSliderFilledTrack";var n4e=Ae(function(t,n){const{getMarkerProps:r}=Sx(),i=r(t,n);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",t.className)})});n4e.displayName="RangeSliderMark";lf();lf();function r4e(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,...I}=e,R=Er(m),D=Er(v),j=Er(S),z=YV({isReversed:a,direction:s,orientation:l}),[V,K]=DS({value:i,defaultValue:o??o4e(t,n),onChange:r}),[te,q]=w.useState(!1),[$,U]=w.useState(!1),X=!(d||h),Z=(n-t)/10,W=b||(n-t)/100,Q=Cm(V,t,n),ie=n-Q+t,Se=l5(z?ie:Q,t,n),Pe=l==="vertical",ye=WV({min:t,max:n,step:b,isDisabled:d,value:Q,isInteractive:X,isReversed:z,isVertical:Pe,eventSource:null,focusThumbOnChange:A,orientation:l}),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useId(),Be=u??He,[wt,st]=[`slider-thumb-${Be}`,`slider-track-${Be}`],mt=w.useCallback($e=>{var vt;if(!We.current)return;const tn=ye.current;tn.eventSource="pointer";const Rn=We.current.getBoundingClientRect(),{clientX:Xe,clientY:xt}=((vt=$e.touches)==null?void 0:vt[0])??$e,ft=Pe?Rn.bottom-xt:Xe-Rn.left,Ht=Pe?Rn.height:Rn.width;let nn=ft/Ht;z&&(nn=1-nn);let pr=J$(nn,tn.min,tn.max);return tn.step&&(pr=parseFloat(H7(pr,tn.min,tn.step))),pr=Cm(pr,tn.min,tn.max),pr},[Pe,z,ye]),St=w.useCallback($e=>{const vt=ye.current;vt.isInteractive&&($e=parseFloat(H7($e,vt.min,W)),$e=Cm($e,vt.min,vt.max),K($e))},[W,K,ye]),Le=w.useMemo(()=>({stepUp($e=W){const vt=z?Q-$e:Q+$e;St(vt)},stepDown($e=W){const vt=z?Q+$e:Q-$e;St(vt)},reset(){St(o||0)},stepTo($e){St($e)}}),[St,z,Q,W,o]),lt=w.useCallback($e=>{const vt=ye.current,Rn={ArrowRight:()=>Le.stepUp(),ArrowUp:()=>Le.stepUp(),ArrowLeft:()=>Le.stepDown(),ArrowDown:()=>Le.stepDown(),PageUp:()=>Le.stepUp(Z),PageDown:()=>Le.stepDown(Z),Home:()=>St(vt.min),End:()=>St(vt.max)}[$e.key];Rn&&($e.preventDefault(),$e.stopPropagation(),Rn($e),vt.eventSource="keyboard")},[Le,St,Z,ye]),Mt=(j==null?void 0:j(Q))??k,ut=Ube(De),{getThumbStyle:_t,rootStyle:ln,trackStyle:ae,innerTrackStyle:Re}=w.useMemo(()=>{const $e=ye.current,vt=ut??{width:0,height:0};return qV({isReversed:z,orientation:$e.orientation,thumbRects:[vt],thumbPercents:[Se]})},[z,ut,Se,ye]),Ye=w.useCallback(()=>{ye.current.focusThumbOnChange&&setTimeout(()=>{var vt;return(vt=De.current)==null?void 0:vt.focus()})},[ye]);Vd(()=>{const $e=ye.current;Ye(),$e.eventSource==="keyboard"&&(D==null||D($e.value))},[Q,D]);function Ke($e){const vt=mt($e);vt!=null&&vt!==ye.current.value&&K(vt)}UV(ot,{onPanSessionStart($e){const vt=ye.current;vt.isInteractive&&(q(!0),Ye(),Ke($e),R==null||R(vt.value))},onPanSessionEnd(){const $e=ye.current;$e.isInteractive&&(q(!1),D==null||D($e.value))},onPan($e){ye.current.isInteractive&&Ke($e)}});const xe=w.useCallback(($e={},vt=null)=>({...$e,...I,ref:qn(vt,ot),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja($),style:{...$e.style,...ln}}),[I,d,$,ln]),Ne=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,We),id:st,"data-disabled":Ja(d),style:{...$e.style,...ae}}),[d,st,ae]),Ct=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,style:{...$e.style,...Re}}),[Re]),Dt=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,De),role:"slider",tabIndex:X?0:void 0,id:wt,"data-active":Ja(te),"aria-valuetext":Mt,"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":Q,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E,"aria-labelledby":E?void 0:_,style:{...$e.style,..._t(0)},onKeyDown:Im($e.onKeyDown,lt),onFocus:Im($e.onFocus,()=>U(!0)),onBlur:Im($e.onBlur,()=>U(!1))}),[X,wt,te,Mt,t,n,Q,l,d,h,E,_,_t,lt]),Te=w.useCallback(($e,vt=null)=>{const tn=!($e.valuen),Rn=Q>=$e.value,Xe=l5($e.value,t,n),xt={position:"absolute",pointerEvents:"none",...i4e({orientation:l,vertical:{bottom:z?`${100-Xe}%`:`${Xe}%`},horizontal:{left:z?`${100-Xe}%`:`${Xe}%`}})};return{...$e,ref:vt,role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!tn),"data-highlighted":Ja(Rn),style:{...$e.style,...xt}}},[d,z,n,t,l,Q]),At=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,type:"hidden",value:Q,name:T}),[T,Q]);return{state:{value:Q,isFocused:$,isDragging:te},actions:Le,getRootProps:xe,getTrackProps:Ne,getInnerTrackProps:Ct,getThumbProps:Dt,getMarkerProps:Te,getInputProps:At}}function i4e(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}function o4e(e,t){return t"}),[s4e,wx]=Mn({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),jE=Ae((e,t)=>{const n=Yi("Slider",e),r=En(e),{direction:i}=h0();r.direction=i;const{getInputProps:o,getRootProps:a,...s}=r4e(r),l=a(),u=o({},t);return N.createElement(a4e,{value:s},N.createElement(s4e,{value:n},N.createElement(Ce.div,{...l,className:uf("chakra-slider",e.className),__css:n.container},e.children,N.createElement("input",{...u}))))});jE.defaultProps={orientation:"horizontal"};jE.displayName="Slider";var XV=Ae((e,t)=>{const{getThumbProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__thumb",e.className),__css:r.thumb})});XV.displayName="SliderThumb";var ZV=Ae((e,t)=>{const{getTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__track",e.className),__css:r.track})});ZV.displayName="SliderTrack";var QV=Ae((e,t)=>{const{getInnerTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__filled-track",e.className),__css:r.filledTrack})});QV.displayName="SliderFilledTrack";var G9=Ae((e,t)=>{const{getMarkerProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",e.className),__css:r.mark})});G9.displayName="SliderMark";var l4e=(...e)=>e.filter(Boolean).join(" "),lI=e=>e?"":void 0,BE=Ae(function(t,n){const r=Yi("Switch",t),{spacing:i="0.5rem",children:o,...a}=En(t),{state:s,getInputProps:l,getCheckboxProps:u,getRootProps:d,getLabelProps:h}=Z$(a),m=w.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),v=w.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=w.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return N.createElement(Ce.label,{...d(),className:l4e("chakra-switch",t.className),__css:m},N.createElement("input",{className:"chakra-switch__input",...l({},n)}),N.createElement(Ce.span,{...u(),className:"chakra-switch__track",__css:v},N.createElement(Ce.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":lI(s.isChecked),"data-hover":lI(s.isHovered)})),o&&N.createElement(Ce.span,{className:"chakra-switch__label",...h(),__css:b},o))});BE.displayName="Switch";var C0=(...e)=>e.filter(Boolean).join(" ");function q9(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[u4e,JV,c4e,d4e]=dB();function f4e(e){const{defaultIndex:t,onChange:n,index:r,isManual:i,isLazy:o,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...u}=e,[d,h]=w.useState(t??0),[m,v]=DS({defaultValue:t??0,value:r,onChange:n});w.useEffect(()=>{r!=null&&h(r)},[r]);const b=c4e(),S=w.useId();return{id:`tabs-${e.id??S}`,selectedIndex:m,focusedIndex:d,setSelectedIndex:v,setFocusedIndex:h,isManual:i,isLazy:o,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:u}}var[h4e,My]=Mn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function p4e(e){const{focusedIndex:t,orientation:n,direction:r}=My(),i=JV(),o=w.useCallback(a=>{const s=()=>{var _;const T=i.nextEnabled(t);T&&((_=T.node)==null||_.focus())},l=()=>{var _;const T=i.prevEnabled(t);T&&((_=T.node)==null||_.focus())},u=()=>{var _;const T=i.firstEnabled();T&&((_=T.node)==null||_.focus())},d=()=>{var _;const T=i.lastEnabled();T&&((_=T.node)==null||_.focus())},h=n==="horizontal",m=n==="vertical",v=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",S=r==="ltr"?"ArrowRight":"ArrowLeft",E={[b]:()=>h&&l(),[S]:()=>h&&s(),ArrowDown:()=>m&&s(),ArrowUp:()=>m&&l(),Home:u,End:d}[v];E&&(a.preventDefault(),E(a))},[i,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:q9(e.onKeyDown,o)}}function g4e(e){const{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=My(),{index:u,register:d}=d4e({disabled:t&&!n}),h=u===l,m=()=>{i(u)},v=()=>{s(u),!o&&!(t&&n)&&i(u)},b=n0e({...r,ref:qn(d,e.ref),isDisabled:t,isFocusable:n,onClick:q9(e.onClick,m)}),S="button";return{...b,id:eW(a,u),role:"tab",tabIndex:h?0:-1,type:S,"aria-selected":h,"aria-controls":tW(a,u),onFocus:t?void 0:q9(e.onFocus,v)}}var[m4e,v4e]=Mn({});function y4e(e){const t=My(),{id:n,selectedIndex:r}=t,o=XS(e.children).map((a,s)=>w.createElement(m4e,{key:s,value:{isSelected:s===r,id:tW(n,s),tabId:eW(n,s),selectedIndex:r}},a));return{...e,children:o}}function b4e(e){const{children:t,...n}=e,{isLazy:r,lazyBehavior:i}=My(),{isSelected:o,id:a,tabId:s}=v4e(),l=w.useRef(!1);o&&(l.current=!0);const u=jF({wasSelected:l.current,isSelected:o,enabled:r,mode:i});return{tabIndex:0,...n,children:u?t:null,role:"tabpanel","aria-labelledby":s,hidden:!o,id:a}}function S4e(){const e=My(),t=JV(),{selectedIndex:n,orientation:r}=e,i=r==="horizontal",o=r==="vertical",[a,s]=w.useState(()=>{if(i)return{left:0,width:0};if(o)return{top:0,height:0}}),[l,u]=w.useState(!1);return Ws(()=>{if(n==null)return;const d=t.item(n);if(d==null)return;i&&s({left:d.node.offsetLeft,width:d.node.offsetWidth}),o&&s({top:d.node.offsetTop,height:d.node.offsetHeight});const h=requestAnimationFrame(()=>{u(!0)});return()=>{h&&cancelAnimationFrame(h)}},[n,i,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...a}}function eW(e,t){return`${e}--tab-${t}`}function tW(e,t){return`${e}--tabpanel-${t}`}var[x4e,Iy]=Mn({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),nW=Ae(function(t,n){const r=Yi("Tabs",t),{children:i,className:o,...a}=En(t),{htmlProps:s,descendants:l,...u}=f4e(a),d=w.useMemo(()=>u,[u]),{isFitted:h,...m}=s;return N.createElement(u4e,{value:l},N.createElement(h4e,{value:d},N.createElement(x4e,{value:r},N.createElement(Ce.div,{className:C0("chakra-tabs",o),ref:n,...m,__css:r.root},i))))});nW.displayName="Tabs";var w4e=Ae(function(t,n){const r=S4e(),i={...t.style,...r},o=Iy();return N.createElement(Ce.div,{ref:n,...t,className:C0("chakra-tabs__tab-indicator",t.className),style:i,__css:o.indicator})});w4e.displayName="TabIndicator";var C4e=Ae(function(t,n){const r=p4e({...t,ref:n}),o={display:"flex",...Iy().tablist};return N.createElement(Ce.div,{...r,className:C0("chakra-tabs__tablist",t.className),__css:o})});C4e.displayName="TabList";var rW=Ae(function(t,n){const r=b4e({...t,ref:n}),i=Iy();return N.createElement(Ce.div,{outline:"0",...r,className:C0("chakra-tabs__tab-panel",t.className),__css:i.tabpanel})});rW.displayName="TabPanel";var iW=Ae(function(t,n){const r=y4e(t),i=Iy();return N.createElement(Ce.div,{...r,width:"100%",ref:n,className:C0("chakra-tabs__tab-panels",t.className),__css:i.tabpanels})});iW.displayName="TabPanels";var oW=Ae(function(t,n){const r=Iy(),i=g4e({...t,ref:n}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return N.createElement(Ce.button,{...i,className:C0("chakra-tabs__tab",t.className),__css:o})});oW.displayName="Tab";var _4e=(...e)=>e.filter(Boolean).join(" ");function k4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var E4e=["h","minH","height","minHeight"],$E=Ae((e,t)=>{const n=Ao("Textarea",e),{className:r,rows:i,...o}=En(e),a=sk(o),s=i?k4e(n,E4e):n;return N.createElement(Ce.textarea,{ref:t,rows:i,...a,className:_4e("chakra-textarea",r),__css:s})});$E.displayName="Textarea";function P4e(e,t){const n=Er(e);w.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function Y9(e,...t){return T4e(e)?e(...t):e}var T4e=e=>typeof e=="function";function L4e(e,t){const n=e??"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(i==null?void 0:i[t])??n}var A4e=(e,t)=>e.find(n=>n.id===t);function uI(e,t){const n=aW(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function aW(e,t){for(const[n,r]of Object.entries(e))if(A4e(r,t))return n}function O4e(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function M4e(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}var I4e={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Hl=R4e(I4e);function R4e(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(s=>s.id!=i)}))},notify:(i,o)=>{const a=D4e(i,o),{position:s,id:l}=a;return r(u=>{const h=s.includes("top")?[a,...u[s]??[]]:[...u[s]??[],a];return{...u,[s]:h}}),l},update:(i,o)=>{i&&r(a=>{const s={...a},{position:l,index:u}=uI(s,i);return l&&u!==-1&&(s[l][u]={...s[l][u],...o,message:sW(o)}),s})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=o[u].map(d=>({...d,requestClose:!0})),l),{...o}))},close:i=>{r(o=>{const a=aW(o,i);return a?{...o,[a]:o[a].map(s=>s.id==i?{...s,requestClose:!0}:s)}:o})},isActive:i=>Boolean(uI(Hl.getState(),i).position)}}var cI=0;function D4e(e,t={}){cI+=1;const n=t.id??cI,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Hl.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var N4e=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:s,icon:l}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return N.createElement(U$,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},N.createElement(q$,null,l),N.createElement(Ce.div,{flex:"1",maxWidth:"100%"},i&&N.createElement(Y$,{id:u==null?void 0:u.title},i),s&&N.createElement(G$,{id:u==null?void 0:u.description,display:"block"},s)),o&&N.createElement(JS,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1}))};function sW(e={}){const{render:t,toastComponent:n=N4e}=e;return i=>typeof t=="function"?t({...i,...e}):N.createElement(n,{...i,...e})}function j4e(e,t){const n=i=>({...t,...i,position:L4e((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=sW(o);return Hl.notify(a,o)};return r.update=(i,o)=>{Hl.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(s=>r.update(a,{status:"success",duration:5e3,...Y9(o.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...Y9(o.error,s)}))},r.closeAll=Hl.closeAll,r.close=Hl.close,r.isActive=Hl.isActive,r}function Ry(e){const{theme:t}=lB();return w.useMemo(()=>j4e(t.direction,e),[e,t.direction])}var B4e={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},lW=w.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=B4e,toastSpacing:d="0.5rem"}=e,[h,m]=w.useState(s),v=Rfe();Vd(()=>{v||r==null||r()},[v]),Vd(()=>{m(s)},[s]);const b=()=>m(null),S=()=>m(s),k=()=>{v&&i()};w.useEffect(()=>{v&&o&&i()},[v,o,i]),P4e(k,h);const E=w.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),_=w.useMemo(()=>O4e(a),[a]);return N.createElement(du.li,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:S,custom:{position:a},style:_},N.createElement(Ce.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:E},Y9(n,{id:t,onClose:k})))});lW.displayName="ToastComponent";var $4e=e=>{const t=w.useSyncExternalStore(Hl.subscribe,Hl.getState,Hl.getState),{children:n,motionVariants:r,component:i=lW,portalProps:o}=e,s=Object.keys(t).map(l=>{const u=t[l];return N.createElement("ul",{role:"region","aria-live":"polite",key:l,id:`chakra-toast-manager-${l}`,style:M4e(l)},N.createElement(nf,{initial:!1},u.map(d=>N.createElement(i,{key:d.id,motionVariants:r,...d}))))});return N.createElement(N.Fragment,null,n,N.createElement(ap,{...o},s))};function F4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function z4e(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var H4e={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function tv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var N5=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},K9=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function V4e(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:s=!0,onOpen:l,onClose:u,placement:d,id:h,isOpen:m,defaultIsOpen:v,arrowSize:b=10,arrowShadowColor:S,arrowPadding:k,modifiers:E,isDisabled:_,gutter:T,offset:A,direction:I,...R}=e,{isOpen:D,onOpen:j,onClose:z}=NF({isOpen:m,defaultIsOpen:v,onOpen:l,onClose:u}),{referenceRef:V,getPopperProps:K,getArrowInnerProps:te,getArrowProps:q}=DF({enabled:D,placement:d,arrowPadding:k,modifiers:E,gutter:T,offset:A,direction:I}),$=w.useId(),X=`tooltip-${h??$}`,Z=w.useRef(null),W=w.useRef(),Q=w.useCallback(()=>{W.current&&(clearTimeout(W.current),W.current=void 0)},[]),ie=w.useRef(),fe=w.useCallback(()=>{ie.current&&(clearTimeout(ie.current),ie.current=void 0)},[]),Se=w.useCallback(()=>{fe(),z()},[z,fe]),Pe=W4e(Z,Se),ye=w.useCallback(()=>{if(!_&&!W.current){Pe();const mt=K9(Z);W.current=mt.setTimeout(j,t)}},[Pe,_,j,t]),We=w.useCallback(()=>{Q();const mt=K9(Z);ie.current=mt.setTimeout(Se,n)},[n,Se,Q]),De=w.useCallback(()=>{D&&r&&We()},[r,We,D]),ot=w.useCallback(()=>{D&&a&&We()},[a,We,D]),He=w.useCallback(mt=>{D&&mt.key==="Escape"&&We()},[D,We]);Rh(()=>N5(Z),"keydown",s?He:void 0),Rh(()=>N5(Z),"scroll",()=>{D&&o&&Se()}),w.useEffect(()=>{_&&(Q(),D&&z())},[_,D,z,Q]),w.useEffect(()=>()=>{Q(),fe()},[Q,fe]),Rh(()=>Z.current,"pointerleave",We);const Be=w.useCallback((mt={},St=null)=>({...mt,ref:qn(Z,St,V),onPointerEnter:tv(mt.onPointerEnter,lt=>{lt.pointerType!=="touch"&&ye()}),onClick:tv(mt.onClick,De),onPointerDown:tv(mt.onPointerDown,ot),onFocus:tv(mt.onFocus,ye),onBlur:tv(mt.onBlur,We),"aria-describedby":D?X:void 0}),[ye,We,ot,D,X,De,V]),wt=w.useCallback((mt={},St=null)=>K({...mt,style:{...mt.style,[oi.arrowSize.var]:b?`${b}px`:void 0,[oi.arrowShadowColor.var]:S}},St),[K,b,S]),st=w.useCallback((mt={},St=null)=>{const Le={...mt.style,position:"relative",transformOrigin:oi.transformOrigin.varRef};return{ref:St,...R,...mt,id:X,role:"tooltip",style:Le}},[R,X]);return{isOpen:D,show:ye,hide:We,getTriggerProps:Be,getTooltipProps:st,getTooltipPositionerProps:wt,getArrowProps:q,getArrowInnerProps:te}}var sC="chakra-ui:close-tooltip";function W4e(e,t){return w.useEffect(()=>{const n=N5(e);return n.addEventListener(sC,t),()=>n.removeEventListener(sC,t)},[t,e]),()=>{const n=N5(e),r=K9(e);n.dispatchEvent(new r.CustomEvent(sC))}}var U4e=Ce(du.div),uo=Ae((e,t)=>{const n=Ao("Tooltip",e),r=En(e),i=h0(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:u,bg:d,portalProps:h,background:m,backgroundColor:v,bgColor:b,motionProps:S,...k}=r,E=m??v??d??b;if(E){n.bg=E;const z=nne(i,"colors",E);n[oi.arrowBg.var]=z}const _=V4e({...k,direction:i.direction}),T=typeof o=="string"||s;let A;if(T)A=N.createElement(Ce.span,{display:"inline-block",tabIndex:0,..._.getTriggerProps()},o);else{const z=w.Children.only(o);A=w.cloneElement(z,_.getTriggerProps(z.props,z.ref))}const I=!!l,R=_.getTooltipProps({},t),D=I?F4e(R,["role","id"]):R,j=z4e(R,["role","id"]);return a?N.createElement(N.Fragment,null,A,N.createElement(nf,null,_.isOpen&&N.createElement(ap,{...h},N.createElement(Ce.div,{..._.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"}},N.createElement(U4e,{variants:H4e,initial:"exit",animate:"enter",exit:"exit",...S,...D,__css:n},a,I&&N.createElement(Ce.span,{srOnly:!0,...j},l),u&&N.createElement(Ce.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},N.createElement(Ce.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}}))))))):N.createElement(N.Fragment,null,o)});uo.displayName="Tooltip";var G4e=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetCSS:i=!0,theme:o={},environment:a,cssVarsRoot:s}=e,l=N.createElement(yF,{environment:a},t);return N.createElement(que,{theme:o,cssVarsRoot:s},N.createElement(fj,{colorModeManager:n,options:o.config},i?N.createElement(fme,null):N.createElement(dme,null),N.createElement(Kue,null),r?N.createElement(BH,{zIndex:r},l):l))};function q4e({children:e,theme:t=Bue,toastOptions:n,...r}){return N.createElement(G4e,{theme:t,...r},e,N.createElement($4e,{...n}))}var X9={},dI=Qs;X9.createRoot=dI.createRoot,X9.hydrateRoot=dI.hydrateRoot;var Z9={},Y4e={get exports(){return Z9},set exports(e){Z9=e}},uW={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -431,32 +431,32 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var FE=Symbol.for("react.element"),zE=Symbol.for("react.portal"),_x=Symbol.for("react.fragment"),kx=Symbol.for("react.strict_mode"),Ex=Symbol.for("react.profiler"),Px=Symbol.for("react.provider"),Tx=Symbol.for("react.context"),w5e=Symbol.for("react.server_context"),Lx=Symbol.for("react.forward_ref"),Ax=Symbol.for("react.suspense"),Ox=Symbol.for("react.suspense_list"),Mx=Symbol.for("react.memo"),Ix=Symbol.for("react.lazy"),C5e=Symbol.for("react.offscreen"),pW;pW=Symbol.for("react.module.reference");function ps(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case FE:switch(e=e.type,e){case _x:case Ex:case kx:case Ax:case Ox:return e;default:switch(e=e&&e.$$typeof,e){case w5e:case Tx:case Lx:case Ix:case Mx:case Px:return e;default:return t}}case zE:return t}}}Fn.ContextConsumer=Tx;Fn.ContextProvider=Px;Fn.Element=FE;Fn.ForwardRef=Lx;Fn.Fragment=_x;Fn.Lazy=Ix;Fn.Memo=Mx;Fn.Portal=zE;Fn.Profiler=Ex;Fn.StrictMode=kx;Fn.Suspense=Ax;Fn.SuspenseList=Ox;Fn.isAsyncMode=function(){return!1};Fn.isConcurrentMode=function(){return!1};Fn.isContextConsumer=function(e){return ps(e)===Tx};Fn.isContextProvider=function(e){return ps(e)===Px};Fn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===FE};Fn.isForwardRef=function(e){return ps(e)===Lx};Fn.isFragment=function(e){return ps(e)===_x};Fn.isLazy=function(e){return ps(e)===Ix};Fn.isMemo=function(e){return ps(e)===Mx};Fn.isPortal=function(e){return ps(e)===zE};Fn.isProfiler=function(e){return ps(e)===Ex};Fn.isStrictMode=function(e){return ps(e)===kx};Fn.isSuspense=function(e){return ps(e)===Ax};Fn.isSuspenseList=function(e){return ps(e)===Ox};Fn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_x||e===Ex||e===kx||e===Ax||e===Ox||e===C5e||typeof e=="object"&&e!==null&&(e.$$typeof===Ix||e.$$typeof===Mx||e.$$typeof===Px||e.$$typeof===Tx||e.$$typeof===Lx||e.$$typeof===pW||e.getModuleId!==void 0)};Fn.typeOf=ps;(function(e){e.exports=Fn})(x5e);function _5e(){const e=g5e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const hI={notify(){},get:()=>[]};function k5e(e,t){let n,r=hI;function i(h){return l(),r.subscribe(h)}function o(){r.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=_5e())}function u(){n&&(n(),n=void 0,r.clear(),r=hI)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return d}const E5e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P5e=E5e?w.useLayoutEffect:w.useEffect;function T5e({store:e,context:t,children:n,serverState:r}){const i=w.useMemo(()=>{const s=k5e(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=w.useMemo(()=>e.getState(),[e]);P5e(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||Xd;return N.createElement(a.Provider,{value:i},n)}function gW(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(){const{store:r}=t();return r}}const L5e=gW();function A5e(e=Xd){const t=e===Xd?L5e:gW(e);return function(){return t().dispatch}}const O5e=A5e();v5e(Q9.useSyncExternalStoreWithSelector);p5e(Qs.unstable_batchedUpdates);function T4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T4=function(n){return typeof n}:T4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T4(e)}function M5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pI(e,t){for(var n=0;n1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:HE(e)?2:VE(e)?3:0}function Rm(e,t){return _0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function N5e(e,t){return _0(e)===2?e.get(t):e[t]}function vW(e,t,n){var r=_0(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function yW(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function HE(e){return H5e&&e instanceof Map}function VE(e){return V5e&&e instanceof Set}function hh(e){return e.o||e.t}function WE(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=SW(e);delete t[vr];for(var n=Dm(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=j5e),Object.freeze(e),t&&Qh(e,function(n,r){return UE(r,!0)},!0)),e}function j5e(){zs(2)}function GE(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function eu(e){var t=i8[e];return t||zs(18,e),t}function B5e(e,t){i8[e]||(i8[e]=t)}function t8(){return X2}function uC(e,t){t&&(eu("Patches"),e.u=[],e.s=[],e.v=t)}function j5(e){n8(e),e.p.forEach($5e),e.p=null}function n8(e){e===X2&&(X2=e.l)}function gI(e){return X2={p:[],l:X2,h:e,m:!0,_:0}}function $5e(e){var t=e[vr];t.i===0||t.i===1?t.j():t.O=!0}function cC(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||eu("ES5").S(t,e,r),r?(n[vr].P&&(j5(t),zs(4)),oc(e)&&(e=B5(t,e),t.l||$5(t,e)),t.u&&eu("Patches").M(n[vr].t,e,t.u,t.s)):e=B5(t,n,[]),j5(t),t.u&&t.v(t.u,t.s),e!==bW?e:void 0}function B5(e,t,n){if(GE(t))return t;var r=t[vr];if(!r)return Qh(t,function(o,a){return mI(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return $5(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=WE(r.k):r.o;Qh(r.i===3?new Set(i):i,function(o,a){return mI(e,r,i,o,a,n)}),$5(e,i,!1),n&&e.u&&eu("Patches").R(r,n,e.u,e.s)}return r.o}function mI(e,t,n,r,i,o){if(Zd(i)){var a=B5(e,i,o&&t&&t.i!==3&&!Rm(t.D,r)?o.concat(r):void 0);if(vW(n,r,a),!Zd(a))return;e.m=!1}if(oc(i)&&!GE(i)){if(!e.h.F&&e._<1)return;B5(e,i),t&&t.A.l||$5(e,i)}}function $5(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&UE(t,n)}function dC(e,t){var n=e[vr];return(n?hh(n):e)[t]}function vI(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Sd(e){e.P||(e.P=!0,e.l&&Sd(e.l))}function fC(e){e.o||(e.o=WE(e.t))}function r8(e,t,n){var r=HE(t)?eu("MapSet").N(t,n):VE(t)?eu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:t8(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},l=s,u=Z2;a&&(l=[s],u=_v);var d=Proxy.revocable(l,u),h=d.revoke,m=d.proxy;return s.k=m,s.j=h,m}(t,n):eu("ES5").J(t,n);return(n?n.A:t8()).p.push(r),r}function F5e(e){return Zd(e)||zs(22,e),function t(n){if(!oc(n))return n;var r,i=n[vr],o=_0(n);if(i){if(!i.P&&(i.i<4||!eu("ES5").K(i)))return i.t;i.I=!0,r=yI(n,o),i.I=!1}else r=yI(n,o);return Qh(r,function(a,s){i&&N5e(i.t,a)===s||vW(r,a,t(s))}),o===3?new Set(r):r}(e)}function yI(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return WE(e)}function z5e(){function e(o,a){var s=i[o];return s?s.enumerable=a:i[o]=s={configurable:!0,enumerable:a,get:function(){var l=this[vr];return Z2.get(l,o)},set:function(l){var u=this[vr];Z2.set(u,o,l)}},s}function t(o){for(var a=o.length-1;a>=0;a--){var s=o[a][vr];if(!s.P)switch(s.i){case 5:r(s)&&Sd(s);break;case 4:n(s)&&Sd(s)}}}function n(o){for(var a=o.t,s=o.k,l=Dm(s),u=l.length-1;u>=0;u--){var d=l[u];if(d!==vr){var h=a[d];if(h===void 0&&!Rm(a,d))return!0;var m=s[d],v=m&&m[vr];if(v?v.t!==h:!yW(m,h))return!0}}var b=!!a[vr];return l.length!==Dm(a).length+(b?0:1)}function r(o){var a=o.k;if(a.length!==o.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var l=0;l1?k-1:0),T=1;T1?d-1:0),m=1;m=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=eu("Patches").$;return Zd(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Ia=new U5e,xW=Ia.produce;Ia.produceWithPatches.bind(Ia);Ia.setAutoFreeze.bind(Ia);Ia.setUseProxies.bind(Ia);Ia.applyPatches.bind(Ia);Ia.createDraft.bind(Ia);Ia.finishDraft.bind(Ia);function wI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CI(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ro(1));return n(YE)(e,t)}if(typeof e!="function")throw new Error(ro(2));var i=e,o=t,a=[],s=a,l=!1;function u(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ro(3));return o}function h(S){if(typeof S!="function")throw new Error(ro(4));if(l)throw new Error(ro(5));var E=!0;return u(),s.push(S),function(){if(E){if(l)throw new Error(ro(6));E=!1,u();var _=s.indexOf(S);s.splice(_,1),a=null}}}function m(S){if(!G5e(S))throw new Error(ro(7));if(typeof S.type>"u")throw new Error(ro(8));if(l)throw new Error(ro(9));try{l=!0,o=i(o,S)}finally{l=!1}for(var E=a=s,k=0;k"u")throw new Error(ro(12));if(typeof n(void 0,{type:F5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ro(13))})}function wW(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(ro(14));h[v]=E,d=d||E!==S}return d=d||o.length!==Object.keys(l).length,d?h:l}}function z5(){for(var e=arguments.length,t=new Array(e),n=0;n-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return H5}function i(s,l){r(s)===H5&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var Z5e=function(t,n){return t===n};function Q5e(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?t-1:0),r=1;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]{Object.keys(R).forEach(function(D){T(D)&&d[D]!==R[D]&&m.indexOf(D)===-1&&m.push(D)}),Object.keys(d).forEach(function(D){R[D]===void 0&&T(D)&&m.indexOf(D)===-1&&d[D]!==void 0&&m.push(D)}),v===null&&(v=setInterval(k,i)),d=R},o)}function k(){if(m.length===0){v&&clearInterval(v),v=null;return}var R=m.shift(),D=r.reduce(function(j,z){return z.in(j,R,d)},d[R]);if(D!==void 0)try{h[R]=l(D)}catch(j){console.error("redux-persist/createPersistoid: error serializing state",j)}else delete h[R];m.length===0&&_()}function _(){Object.keys(h).forEach(function(R){d[R]===void 0&&delete h[R]}),b=s.setItem(a,l(h)).catch(A)}function T(R){return!(n&&n.indexOf(R)===-1&&R!=="_persist"||t&&t.indexOf(R)!==-1)}function A(R){u&&u(R)}var I=function(){for(;m.length!==0;)k();return b||Promise.resolve()};return{update:E,flush:I}}function MSe(e){return JSON.stringify(e)}function ISe(e){var t=e.transforms||[],n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key),r=e.storage;e.debug;var i;return e.deserialize===!1?i=function(a){return a}:typeof e.deserialize=="function"?i=e.deserialize:i=RSe,r.getItem(n).then(function(o){if(o)try{var a={},s=i(o);return Object.keys(s).forEach(function(l){a[l]=t.reduceRight(function(u,d){return d.out(u,l,s)},i(s[l]))}),a}catch(l){throw l}else return})}function RSe(e){return JSON.parse(e)}function DSe(e){var t=e.storage,n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key);return t.removeItem(n,NSe)}function NSe(e){}function OI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $u(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $Se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var FSe=5e3;function zSe(e,t){var n=e.version!==void 0?e.version:PSe;e.debug;var r=e.stateReconciler===void 0?ASe:e.stateReconciler,i=e.getStoredState||ISe,o=e.timeout!==void 0?e.timeout:FSe,a=null,s=!1,l=!0,u=function(h){return h._persist.rehydrated&&a&&!l&&a.update(h),h};return function(d,h){var m=d||{},v=m._persist,b=BSe(m,["_persist"]),S=b;if(h.type===TW){var E=!1,k=function(j,z){E||(h.rehydrate(e.key,j,z),E=!0)};if(o&&setTimeout(function(){!E&&k(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},o),l=!1,a||(a=OSe(e)),v)return $u({},t(S,h),{_persist:v});if(typeof h.rehydrate!="function"||typeof h.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return h.register(e.key),i(e).then(function(D){var j=e.migrate||function(z,V){return Promise.resolve(z)};j(D,n).then(function(z){k(z)},function(z){k(void 0,z)})},function(D){k(void 0,D)}),$u({},t(S,h),{_persist:{version:n,rehydrated:!1}})}else{if(h.type===LW)return s=!0,h.result(DSe(e)),$u({},t(S,h),{_persist:v});if(h.type===EW)return h.result(a&&a.flush()),$u({},t(S,h),{_persist:v});if(h.type===PW)l=!0;else if(h.type===ZE){if(s)return $u({},S,{_persist:$u({},v,{rehydrated:!0})});if(h.key===e.key){var _=t(S,h),T=h.payload,A=r!==!1&&T!==void 0?r(T,d,_,e):_,I=$u({},A,{_persist:$u({},v,{rehydrated:!0})});return u(I)}}}if(!v)return t(d,h);var R=t(S,h);return R===S?d:u($u({},R,{_persist:v}))}}function MI(e){return WSe(e)||VSe(e)||HSe()}function HSe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function VSe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function WSe(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:OW,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case AW:return a8({},t,{registry:[].concat(MI(t.registry),[n.key])});case ZE:var r=t.registry.indexOf(n.key),i=MI(t.registry);return i.splice(r,1),a8({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function qSe(e,t,n){var r=n||!1,i=YE(GSe,OW,t&&t.enhancer?t.enhancer:void 0),o=function(u){i.dispatch({type:AW,key:u})},a=function(u,d,h){var m={type:ZE,payload:d,err:h,key:u};e.dispatch(m),i.dispatch(m),r&&s.getState().bootstrapped&&(r(),r=!1)},s=a8({},i,{purge:function(){var u=[];return e.dispatch({type:LW,result:function(h){u.push(h)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:EW,result:function(h){u.push(h)}}),Promise.all(u)},pause:function(){e.dispatch({type:PW})},persist:function(){e.dispatch({type:TW,register:o,rehydrate:a})}});return t&&t.manualPersist||s.persist(),s}var QE={},JE={};JE.__esModule=!0;JE.default=XSe;function M4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M4=function(n){return typeof n}:M4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M4(e)}function mC(){}var YSe={getItem:mC,setItem:mC,removeItem:mC};function KSe(e){if((typeof self>"u"?"undefined":M4(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function XSe(e){var t="".concat(e,"Storage");return KSe(t)?self[t]:YSe}QE.__esModule=!0;QE.default=JSe;var ZSe=QSe(JE);function QSe(e){return e&&e.__esModule?e:{default:e}}function JSe(e){var t=(0,ZSe.default)(e);return{getItem:function(r){return new Promise(function(i,o){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(o,a){o(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,o){i(t.removeItem(r))})}}}var MW=void 0,exe=txe(QE);function txe(e){return e&&e.__esModule?e:{default:e}}var nxe=(0,exe.default)("local");MW=nxe;var IW={},RW={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});Jh.PLACEHOLDER_UNDEFINED=Jh.PACKAGE_NAME=void 0;Jh.PACKAGE_NAME="redux-deep-persist";Jh.PLACEHOLDER_UNDEFINED="@@placeholder/undefined";var eP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigType=void 0,function(t){t[t.WHITELIST=0]="WHITELIST",t[t.BLACKLIST=1]="BLACKLIST"}(e.ConfigType||(e.ConfigType={}))})(eP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRootKeysGroup=e.throwError=e.configValidator=e.transformsValidator=e.singleTransformValidator=e.findDuplicatesAndSubsets=e.unique=e.preserveUndefined=e.mergeDeep=e.dissocPath=e.assocPath=e.path=e.difference=e.cloneDeep=e._cloneDeep=e.getCircularPath=e.isEmpty=e.isDate=e.isString=e.isIntegerString=e.isPlainObject=e.isArray=e.isLength=e.isObjectLike=void 0;const t=Jh,n=eP,r=function(q){return typeof q=="object"&&q!==null};e.isObjectLike=r;const i=function(q){return typeof q=="number"&&q>-1&&q%1==0&&q<=Number.MAX_SAFE_INTEGER};e.isLength=i,e.isArray=Array.isArray||function(q){return(0,e.isLength)(q&&q.length)&&Object.prototype.toString.call(q)==="[object Array]"};const o=function(q){return!!q&&typeof q=="object"&&!(0,e.isArray)(q)};e.isPlainObject=o;const a=function(q){return String(~~q)===q&&Number(q)>=0};e.isIntegerString=a;const s=function(q){return Object.prototype.toString.call(q)==="[object String]"};e.isString=s;const l=function(q){return Object.prototype.toString.call(q)==="[object Date]"};e.isDate=l;const u=function(q){return Object.keys(q).length===0};e.isEmpty=u;const d=Object.prototype.hasOwnProperty,h=function(q,$,W){W||(W=new Set([q])),$||($="");for(const X in q){const Z=$?`${$}.${X}`:X,U=q[X];if((0,e.isObjectLike)(U))return W.has(U)?`${$}.${X}:`:(W.add(U),(0,e.getCircularPath)(U,Z,W))}return null};e.getCircularPath=h;const m=function(q){if(!(0,e.isObjectLike)(q))return q;if((0,e.isDate)(q))return new Date(+q);const $=(0,e.isArray)(q)?[]:{};for(const W in q){const X=q[W];$[W]=(0,e._cloneDeep)(X)}return $};e._cloneDeep=m;const v=function(q){const $=(0,e.getCircularPath)(q);if($)throw new Error(`${t.PACKAGE_NAME}: circular dependency detected under the path '${$}' of object you're trying to persist: ${q}`);return(0,e._cloneDeep)(q)};e.cloneDeep=v;const b=function(q,$){if(q===$)return{};if(!(0,e.isObjectLike)(q)||!(0,e.isObjectLike)($))return $;const W=(0,e.cloneDeep)(q),X=(0,e.cloneDeep)($),Z=Object.keys(W).reduce((Q,ie)=>(d.call(X,ie)||(Q[ie]=void 0),Q),{});if((0,e.isDate)(W)||(0,e.isDate)(X))return W.valueOf()===X.valueOf()?{}:X;const U=Object.keys(X).reduce((Q,ie)=>{if(!d.call(W,ie))return Q[ie]=X[ie],Q;const fe=(0,e.difference)(W[ie],X[ie]);return(0,e.isObjectLike)(fe)&&(0,e.isEmpty)(fe)&&!(0,e.isDate)(fe)?(0,e.isArray)(W)&&!(0,e.isArray)(X)||!(0,e.isArray)(W)&&(0,e.isArray)(X)?X:Q:(Q[ie]=fe,Q)},Z);return delete U._persist,U};e.difference=b;const S=function(q,$){return $.reduce((W,X)=>{if(W){const Z=parseInt(X,10),U=(0,e.isIntegerString)(X)&&Z<0?W.length+Z:X;return(0,e.isString)(W)?W.charAt(U):W[U]}},q)};e.path=S;const E=function(q,$){return[...q].reverse().reduce((Z,U,Q)=>{const ie=(0,e.isIntegerString)(U)?[]:{};return ie[U]=Q===0?$:Z,ie},{})};e.assocPath=E;const k=function(q,$){const W=(0,e.cloneDeep)(q);return $.reduce((X,Z,U)=>(U===$.length-1&&X&&(0,e.isObjectLike)(X)&&delete X[Z],X&&X[Z]),W),W};e.dissocPath=k;const _=function(q,$,...W){if(!W||!W.length)return $;const X=W.shift(),{preservePlaceholder:Z,preserveUndefined:U}=q;if((0,e.isObjectLike)($)&&(0,e.isObjectLike)(X))for(const Q in X)if((0,e.isObjectLike)(X[Q])&&(0,e.isObjectLike)($[Q]))$[Q]||($[Q]={}),_(q,$[Q],X[Q]);else if((0,e.isArray)($)){let ie=X[Q];const fe=Z?t.PLACEHOLDER_UNDEFINED:void 0;U||(ie=typeof ie<"u"?ie:$[parseInt(Q,10)]),ie=ie!==t.PLACEHOLDER_UNDEFINED?ie:fe,$[parseInt(Q,10)]=ie}else{const ie=X[Q]!==t.PLACEHOLDER_UNDEFINED?X[Q]:void 0;$[Q]=ie}return _(q,$,...W)},T=function(q,$,W){return _({preservePlaceholder:W==null?void 0:W.preservePlaceholder,preserveUndefined:W==null?void 0:W.preserveUndefined},(0,e.cloneDeep)(q),(0,e.cloneDeep)($))};e.mergeDeep=T;const A=function(q,$=[],W,X,Z){if(!(0,e.isObjectLike)(q))return q;for(const U in q){const Q=q[U],ie=(0,e.isArray)(q),fe=X?X+"."+U:U;Q===null&&(W===n.ConfigType.WHITELIST&&$.indexOf(fe)===-1||W===n.ConfigType.BLACKLIST&&$.indexOf(fe)!==-1)&&ie&&(q[parseInt(U,10)]=void 0),Q===void 0&&Z&&W===n.ConfigType.BLACKLIST&&$.indexOf(fe)===-1&&ie&&(q[parseInt(U,10)]=t.PLACEHOLDER_UNDEFINED),A(Q,$,W,fe,Z)}},I=function(q,$,W,X){const Z=(0,e.cloneDeep)(q);return A(Z,$,W,"",X),Z};e.preserveUndefined=I;const R=function(q,$,W){return W.indexOf(q)===$};e.unique=R;const D=function(q){return q.reduce(($,W)=>{const X=q.filter(Se=>Se===W),Z=q.filter(Se=>(W+".").indexOf(Se+".")===0),{duplicates:U,subsets:Q}=$,ie=X.length>1&&U.indexOf(W)===-1,fe=Z.length>1;return{duplicates:[...U,...ie?X:[]],subsets:[...Q,...fe?Z:[]].filter(e.unique).sort()}},{duplicates:[],subsets:[]})};e.findDuplicatesAndSubsets=D;const j=function(q,$,W){const X=W===n.ConfigType.WHITELIST?"whitelist":"blacklist",Z=`${t.PACKAGE_NAME}: incorrect ${X} configuration.`,U=`Check your create${W===n.ConfigType.WHITELIST?"White":"Black"}list arguments. + */var FE=Symbol.for("react.element"),zE=Symbol.for("react.portal"),_x=Symbol.for("react.fragment"),kx=Symbol.for("react.strict_mode"),Ex=Symbol.for("react.profiler"),Px=Symbol.for("react.provider"),Tx=Symbol.for("react.context"),w5e=Symbol.for("react.server_context"),Lx=Symbol.for("react.forward_ref"),Ax=Symbol.for("react.suspense"),Ox=Symbol.for("react.suspense_list"),Mx=Symbol.for("react.memo"),Ix=Symbol.for("react.lazy"),C5e=Symbol.for("react.offscreen"),pW;pW=Symbol.for("react.module.reference");function ps(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case FE:switch(e=e.type,e){case _x:case Ex:case kx:case Ax:case Ox:return e;default:switch(e=e&&e.$$typeof,e){case w5e:case Tx:case Lx:case Ix:case Mx:case Px:return e;default:return t}}case zE:return t}}}Fn.ContextConsumer=Tx;Fn.ContextProvider=Px;Fn.Element=FE;Fn.ForwardRef=Lx;Fn.Fragment=_x;Fn.Lazy=Ix;Fn.Memo=Mx;Fn.Portal=zE;Fn.Profiler=Ex;Fn.StrictMode=kx;Fn.Suspense=Ax;Fn.SuspenseList=Ox;Fn.isAsyncMode=function(){return!1};Fn.isConcurrentMode=function(){return!1};Fn.isContextConsumer=function(e){return ps(e)===Tx};Fn.isContextProvider=function(e){return ps(e)===Px};Fn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===FE};Fn.isForwardRef=function(e){return ps(e)===Lx};Fn.isFragment=function(e){return ps(e)===_x};Fn.isLazy=function(e){return ps(e)===Ix};Fn.isMemo=function(e){return ps(e)===Mx};Fn.isPortal=function(e){return ps(e)===zE};Fn.isProfiler=function(e){return ps(e)===Ex};Fn.isStrictMode=function(e){return ps(e)===kx};Fn.isSuspense=function(e){return ps(e)===Ax};Fn.isSuspenseList=function(e){return ps(e)===Ox};Fn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_x||e===Ex||e===kx||e===Ax||e===Ox||e===C5e||typeof e=="object"&&e!==null&&(e.$$typeof===Ix||e.$$typeof===Mx||e.$$typeof===Px||e.$$typeof===Tx||e.$$typeof===Lx||e.$$typeof===pW||e.getModuleId!==void 0)};Fn.typeOf=ps;(function(e){e.exports=Fn})(x5e);function _5e(){const e=g5e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const hI={notify(){},get:()=>[]};function k5e(e,t){let n,r=hI;function i(h){return l(),r.subscribe(h)}function o(){r.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=_5e())}function u(){n&&(n(),n=void 0,r.clear(),r=hI)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return d}const E5e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P5e=E5e?w.useLayoutEffect:w.useEffect;function T5e({store:e,context:t,children:n,serverState:r}){const i=w.useMemo(()=>{const s=k5e(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=w.useMemo(()=>e.getState(),[e]);P5e(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||Xd;return N.createElement(a.Provider,{value:i},n)}function gW(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(){const{store:r}=t();return r}}const L5e=gW();function A5e(e=Xd){const t=e===Xd?L5e:gW(e);return function(){return t().dispatch}}const O5e=A5e();v5e(Q9.useSyncExternalStoreWithSelector);p5e(Qs.unstable_batchedUpdates);function T4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T4=function(n){return typeof n}:T4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T4(e)}function M5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pI(e,t){for(var n=0;n1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:HE(e)?2:VE(e)?3:0}function Rm(e,t){return _0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function N5e(e,t){return _0(e)===2?e.get(t):e[t]}function vW(e,t,n){var r=_0(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function yW(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function HE(e){return H5e&&e instanceof Map}function VE(e){return V5e&&e instanceof Set}function hh(e){return e.o||e.t}function WE(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=SW(e);delete t[vr];for(var n=Dm(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=j5e),Object.freeze(e),t&&Qh(e,function(n,r){return UE(r,!0)},!0)),e}function j5e(){zs(2)}function GE(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function eu(e){var t=i8[e];return t||zs(18,e),t}function B5e(e,t){i8[e]||(i8[e]=t)}function t8(){return X2}function uC(e,t){t&&(eu("Patches"),e.u=[],e.s=[],e.v=t)}function j5(e){n8(e),e.p.forEach($5e),e.p=null}function n8(e){e===X2&&(X2=e.l)}function gI(e){return X2={p:[],l:X2,h:e,m:!0,_:0}}function $5e(e){var t=e[vr];t.i===0||t.i===1?t.j():t.O=!0}function cC(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||eu("ES5").S(t,e,r),r?(n[vr].P&&(j5(t),zs(4)),oc(e)&&(e=B5(t,e),t.l||$5(t,e)),t.u&&eu("Patches").M(n[vr].t,e,t.u,t.s)):e=B5(t,n,[]),j5(t),t.u&&t.v(t.u,t.s),e!==bW?e:void 0}function B5(e,t,n){if(GE(t))return t;var r=t[vr];if(!r)return Qh(t,function(o,a){return mI(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return $5(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=WE(r.k):r.o;Qh(r.i===3?new Set(i):i,function(o,a){return mI(e,r,i,o,a,n)}),$5(e,i,!1),n&&e.u&&eu("Patches").R(r,n,e.u,e.s)}return r.o}function mI(e,t,n,r,i,o){if(Zd(i)){var a=B5(e,i,o&&t&&t.i!==3&&!Rm(t.D,r)?o.concat(r):void 0);if(vW(n,r,a),!Zd(a))return;e.m=!1}if(oc(i)&&!GE(i)){if(!e.h.F&&e._<1)return;B5(e,i),t&&t.A.l||$5(e,i)}}function $5(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&UE(t,n)}function dC(e,t){var n=e[vr];return(n?hh(n):e)[t]}function vI(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Sd(e){e.P||(e.P=!0,e.l&&Sd(e.l))}function fC(e){e.o||(e.o=WE(e.t))}function r8(e,t,n){var r=HE(t)?eu("MapSet").N(t,n):VE(t)?eu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:t8(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},l=s,u=Z2;a&&(l=[s],u=_v);var d=Proxy.revocable(l,u),h=d.revoke,m=d.proxy;return s.k=m,s.j=h,m}(t,n):eu("ES5").J(t,n);return(n?n.A:t8()).p.push(r),r}function F5e(e){return Zd(e)||zs(22,e),function t(n){if(!oc(n))return n;var r,i=n[vr],o=_0(n);if(i){if(!i.P&&(i.i<4||!eu("ES5").K(i)))return i.t;i.I=!0,r=yI(n,o),i.I=!1}else r=yI(n,o);return Qh(r,function(a,s){i&&N5e(i.t,a)===s||vW(r,a,t(s))}),o===3?new Set(r):r}(e)}function yI(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return WE(e)}function z5e(){function e(o,a){var s=i[o];return s?s.enumerable=a:i[o]=s={configurable:!0,enumerable:a,get:function(){var l=this[vr];return Z2.get(l,o)},set:function(l){var u=this[vr];Z2.set(u,o,l)}},s}function t(o){for(var a=o.length-1;a>=0;a--){var s=o[a][vr];if(!s.P)switch(s.i){case 5:r(s)&&Sd(s);break;case 4:n(s)&&Sd(s)}}}function n(o){for(var a=o.t,s=o.k,l=Dm(s),u=l.length-1;u>=0;u--){var d=l[u];if(d!==vr){var h=a[d];if(h===void 0&&!Rm(a,d))return!0;var m=s[d],v=m&&m[vr];if(v?v.t!==h:!yW(m,h))return!0}}var b=!!a[vr];return l.length!==Dm(a).length+(b?0:1)}function r(o){var a=o.k;if(a.length!==o.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var l=0;l1?E-1:0),T=1;T1?d-1:0),m=1;m=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=eu("Patches").$;return Zd(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Ia=new U5e,xW=Ia.produce;Ia.produceWithPatches.bind(Ia);Ia.setAutoFreeze.bind(Ia);Ia.setUseProxies.bind(Ia);Ia.applyPatches.bind(Ia);Ia.createDraft.bind(Ia);Ia.finishDraft.bind(Ia);function wI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CI(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ro(1));return n(YE)(e,t)}if(typeof e!="function")throw new Error(ro(2));var i=e,o=t,a=[],s=a,l=!1;function u(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ro(3));return o}function h(S){if(typeof S!="function")throw new Error(ro(4));if(l)throw new Error(ro(5));var k=!0;return u(),s.push(S),function(){if(k){if(l)throw new Error(ro(6));k=!1,u();var _=s.indexOf(S);s.splice(_,1),a=null}}}function m(S){if(!G5e(S))throw new Error(ro(7));if(typeof S.type>"u")throw new Error(ro(8));if(l)throw new Error(ro(9));try{l=!0,o=i(o,S)}finally{l=!1}for(var k=a=s,E=0;E"u")throw new Error(ro(12));if(typeof n(void 0,{type:F5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ro(13))})}function wW(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(ro(14));h[v]=k,d=d||k!==S}return d=d||o.length!==Object.keys(l).length,d?h:l}}function z5(){for(var e=arguments.length,t=new Array(e),n=0;n-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return H5}function i(s,l){r(s)===H5&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var Z5e=function(t,n){return t===n};function Q5e(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?t-1:0),r=1;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]{Object.keys(R).forEach(function(D){T(D)&&d[D]!==R[D]&&m.indexOf(D)===-1&&m.push(D)}),Object.keys(d).forEach(function(D){R[D]===void 0&&T(D)&&m.indexOf(D)===-1&&d[D]!==void 0&&m.push(D)}),v===null&&(v=setInterval(E,i)),d=R},o)}function E(){if(m.length===0){v&&clearInterval(v),v=null;return}var R=m.shift(),D=r.reduce(function(j,z){return z.in(j,R,d)},d[R]);if(D!==void 0)try{h[R]=l(D)}catch(j){console.error("redux-persist/createPersistoid: error serializing state",j)}else delete h[R];m.length===0&&_()}function _(){Object.keys(h).forEach(function(R){d[R]===void 0&&delete h[R]}),b=s.setItem(a,l(h)).catch(A)}function T(R){return!(n&&n.indexOf(R)===-1&&R!=="_persist"||t&&t.indexOf(R)!==-1)}function A(R){u&&u(R)}var I=function(){for(;m.length!==0;)E();return b||Promise.resolve()};return{update:k,flush:I}}function MSe(e){return JSON.stringify(e)}function ISe(e){var t=e.transforms||[],n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key),r=e.storage;e.debug;var i;return e.deserialize===!1?i=function(a){return a}:typeof e.deserialize=="function"?i=e.deserialize:i=RSe,r.getItem(n).then(function(o){if(o)try{var a={},s=i(o);return Object.keys(s).forEach(function(l){a[l]=t.reduceRight(function(u,d){return d.out(u,l,s)},i(s[l]))}),a}catch(l){throw l}else return})}function RSe(e){return JSON.parse(e)}function DSe(e){var t=e.storage,n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key);return t.removeItem(n,NSe)}function NSe(e){}function OI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $u(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $Se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var FSe=5e3;function zSe(e,t){var n=e.version!==void 0?e.version:PSe;e.debug;var r=e.stateReconciler===void 0?ASe:e.stateReconciler,i=e.getStoredState||ISe,o=e.timeout!==void 0?e.timeout:FSe,a=null,s=!1,l=!0,u=function(h){return h._persist.rehydrated&&a&&!l&&a.update(h),h};return function(d,h){var m=d||{},v=m._persist,b=BSe(m,["_persist"]),S=b;if(h.type===TW){var k=!1,E=function(j,z){k||(h.rehydrate(e.key,j,z),k=!0)};if(o&&setTimeout(function(){!k&&E(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},o),l=!1,a||(a=OSe(e)),v)return $u({},t(S,h),{_persist:v});if(typeof h.rehydrate!="function"||typeof h.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return h.register(e.key),i(e).then(function(D){var j=e.migrate||function(z,V){return Promise.resolve(z)};j(D,n).then(function(z){E(z)},function(z){E(void 0,z)})},function(D){E(void 0,D)}),$u({},t(S,h),{_persist:{version:n,rehydrated:!1}})}else{if(h.type===LW)return s=!0,h.result(DSe(e)),$u({},t(S,h),{_persist:v});if(h.type===EW)return h.result(a&&a.flush()),$u({},t(S,h),{_persist:v});if(h.type===PW)l=!0;else if(h.type===ZE){if(s)return $u({},S,{_persist:$u({},v,{rehydrated:!0})});if(h.key===e.key){var _=t(S,h),T=h.payload,A=r!==!1&&T!==void 0?r(T,d,_,e):_,I=$u({},A,{_persist:$u({},v,{rehydrated:!0})});return u(I)}}}if(!v)return t(d,h);var R=t(S,h);return R===S?d:u($u({},R,{_persist:v}))}}function MI(e){return WSe(e)||VSe(e)||HSe()}function HSe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function VSe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function WSe(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:OW,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case AW:return a8({},t,{registry:[].concat(MI(t.registry),[n.key])});case ZE:var r=t.registry.indexOf(n.key),i=MI(t.registry);return i.splice(r,1),a8({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function qSe(e,t,n){var r=n||!1,i=YE(GSe,OW,t&&t.enhancer?t.enhancer:void 0),o=function(u){i.dispatch({type:AW,key:u})},a=function(u,d,h){var m={type:ZE,payload:d,err:h,key:u};e.dispatch(m),i.dispatch(m),r&&s.getState().bootstrapped&&(r(),r=!1)},s=a8({},i,{purge:function(){var u=[];return e.dispatch({type:LW,result:function(h){u.push(h)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:EW,result:function(h){u.push(h)}}),Promise.all(u)},pause:function(){e.dispatch({type:PW})},persist:function(){e.dispatch({type:TW,register:o,rehydrate:a})}});return t&&t.manualPersist||s.persist(),s}var QE={},JE={};JE.__esModule=!0;JE.default=XSe;function M4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M4=function(n){return typeof n}:M4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M4(e)}function mC(){}var YSe={getItem:mC,setItem:mC,removeItem:mC};function KSe(e){if((typeof self>"u"?"undefined":M4(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function XSe(e){var t="".concat(e,"Storage");return KSe(t)?self[t]:YSe}QE.__esModule=!0;QE.default=JSe;var ZSe=QSe(JE);function QSe(e){return e&&e.__esModule?e:{default:e}}function JSe(e){var t=(0,ZSe.default)(e);return{getItem:function(r){return new Promise(function(i,o){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(o,a){o(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,o){i(t.removeItem(r))})}}}var MW=void 0,exe=txe(QE);function txe(e){return e&&e.__esModule?e:{default:e}}var nxe=(0,exe.default)("local");MW=nxe;var IW={},RW={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});Jh.PLACEHOLDER_UNDEFINED=Jh.PACKAGE_NAME=void 0;Jh.PACKAGE_NAME="redux-deep-persist";Jh.PLACEHOLDER_UNDEFINED="@@placeholder/undefined";var eP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigType=void 0,function(t){t[t.WHITELIST=0]="WHITELIST",t[t.BLACKLIST=1]="BLACKLIST"}(e.ConfigType||(e.ConfigType={}))})(eP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRootKeysGroup=e.throwError=e.configValidator=e.transformsValidator=e.singleTransformValidator=e.findDuplicatesAndSubsets=e.unique=e.preserveUndefined=e.mergeDeep=e.dissocPath=e.assocPath=e.path=e.difference=e.cloneDeep=e._cloneDeep=e.getCircularPath=e.isEmpty=e.isDate=e.isString=e.isIntegerString=e.isPlainObject=e.isArray=e.isLength=e.isObjectLike=void 0;const t=Jh,n=eP,r=function(q){return typeof q=="object"&&q!==null};e.isObjectLike=r;const i=function(q){return typeof q=="number"&&q>-1&&q%1==0&&q<=Number.MAX_SAFE_INTEGER};e.isLength=i,e.isArray=Array.isArray||function(q){return(0,e.isLength)(q&&q.length)&&Object.prototype.toString.call(q)==="[object Array]"};const o=function(q){return!!q&&typeof q=="object"&&!(0,e.isArray)(q)};e.isPlainObject=o;const a=function(q){return String(~~q)===q&&Number(q)>=0};e.isIntegerString=a;const s=function(q){return Object.prototype.toString.call(q)==="[object String]"};e.isString=s;const l=function(q){return Object.prototype.toString.call(q)==="[object Date]"};e.isDate=l;const u=function(q){return Object.keys(q).length===0};e.isEmpty=u;const d=Object.prototype.hasOwnProperty,h=function(q,$,U){U||(U=new Set([q])),$||($="");for(const X in q){const Z=$?`${$}.${X}`:X,W=q[X];if((0,e.isObjectLike)(W))return U.has(W)?`${$}.${X}:`:(U.add(W),(0,e.getCircularPath)(W,Z,U))}return null};e.getCircularPath=h;const m=function(q){if(!(0,e.isObjectLike)(q))return q;if((0,e.isDate)(q))return new Date(+q);const $=(0,e.isArray)(q)?[]:{};for(const U in q){const X=q[U];$[U]=(0,e._cloneDeep)(X)}return $};e._cloneDeep=m;const v=function(q){const $=(0,e.getCircularPath)(q);if($)throw new Error(`${t.PACKAGE_NAME}: circular dependency detected under the path '${$}' of object you're trying to persist: ${q}`);return(0,e._cloneDeep)(q)};e.cloneDeep=v;const b=function(q,$){if(q===$)return{};if(!(0,e.isObjectLike)(q)||!(0,e.isObjectLike)($))return $;const U=(0,e.cloneDeep)(q),X=(0,e.cloneDeep)($),Z=Object.keys(U).reduce((Q,ie)=>(d.call(X,ie)||(Q[ie]=void 0),Q),{});if((0,e.isDate)(U)||(0,e.isDate)(X))return U.valueOf()===X.valueOf()?{}:X;const W=Object.keys(X).reduce((Q,ie)=>{if(!d.call(U,ie))return Q[ie]=X[ie],Q;const fe=(0,e.difference)(U[ie],X[ie]);return(0,e.isObjectLike)(fe)&&(0,e.isEmpty)(fe)&&!(0,e.isDate)(fe)?(0,e.isArray)(U)&&!(0,e.isArray)(X)||!(0,e.isArray)(U)&&(0,e.isArray)(X)?X:Q:(Q[ie]=fe,Q)},Z);return delete W._persist,W};e.difference=b;const S=function(q,$){return $.reduce((U,X)=>{if(U){const Z=parseInt(X,10),W=(0,e.isIntegerString)(X)&&Z<0?U.length+Z:X;return(0,e.isString)(U)?U.charAt(W):U[W]}},q)};e.path=S;const k=function(q,$){return[...q].reverse().reduce((Z,W,Q)=>{const ie=(0,e.isIntegerString)(W)?[]:{};return ie[W]=Q===0?$:Z,ie},{})};e.assocPath=k;const E=function(q,$){const U=(0,e.cloneDeep)(q);return $.reduce((X,Z,W)=>(W===$.length-1&&X&&(0,e.isObjectLike)(X)&&delete X[Z],X&&X[Z]),U),U};e.dissocPath=E;const _=function(q,$,...U){if(!U||!U.length)return $;const X=U.shift(),{preservePlaceholder:Z,preserveUndefined:W}=q;if((0,e.isObjectLike)($)&&(0,e.isObjectLike)(X))for(const Q in X)if((0,e.isObjectLike)(X[Q])&&(0,e.isObjectLike)($[Q]))$[Q]||($[Q]={}),_(q,$[Q],X[Q]);else if((0,e.isArray)($)){let ie=X[Q];const fe=Z?t.PLACEHOLDER_UNDEFINED:void 0;W||(ie=typeof ie<"u"?ie:$[parseInt(Q,10)]),ie=ie!==t.PLACEHOLDER_UNDEFINED?ie:fe,$[parseInt(Q,10)]=ie}else{const ie=X[Q]!==t.PLACEHOLDER_UNDEFINED?X[Q]:void 0;$[Q]=ie}return _(q,$,...U)},T=function(q,$,U){return _({preservePlaceholder:U==null?void 0:U.preservePlaceholder,preserveUndefined:U==null?void 0:U.preserveUndefined},(0,e.cloneDeep)(q),(0,e.cloneDeep)($))};e.mergeDeep=T;const A=function(q,$=[],U,X,Z){if(!(0,e.isObjectLike)(q))return q;for(const W in q){const Q=q[W],ie=(0,e.isArray)(q),fe=X?X+"."+W:W;Q===null&&(U===n.ConfigType.WHITELIST&&$.indexOf(fe)===-1||U===n.ConfigType.BLACKLIST&&$.indexOf(fe)!==-1)&&ie&&(q[parseInt(W,10)]=void 0),Q===void 0&&Z&&U===n.ConfigType.BLACKLIST&&$.indexOf(fe)===-1&&ie&&(q[parseInt(W,10)]=t.PLACEHOLDER_UNDEFINED),A(Q,$,U,fe,Z)}},I=function(q,$,U,X){const Z=(0,e.cloneDeep)(q);return A(Z,$,U,"",X),Z};e.preserveUndefined=I;const R=function(q,$,U){return U.indexOf(q)===$};e.unique=R;const D=function(q){return q.reduce(($,U)=>{const X=q.filter(Se=>Se===U),Z=q.filter(Se=>(U+".").indexOf(Se+".")===0),{duplicates:W,subsets:Q}=$,ie=X.length>1&&W.indexOf(U)===-1,fe=Z.length>1;return{duplicates:[...W,...ie?X:[]],subsets:[...Q,...fe?Z:[]].filter(e.unique).sort()}},{duplicates:[],subsets:[]})};e.findDuplicatesAndSubsets=D;const j=function(q,$,U){const X=U===n.ConfigType.WHITELIST?"whitelist":"blacklist",Z=`${t.PACKAGE_NAME}: incorrect ${X} configuration.`,W=`Check your create${U===n.ConfigType.WHITELIST?"White":"Black"}list arguments. -`;if(!(0,e.isString)($)||$.length<1)throw new Error(`${Z} Name (key) of reducer is required. ${U}`);if(!q||!q.length)return;const{duplicates:Q,subsets:ie}=(0,e.findDuplicatesAndSubsets)(q);if(Q.length>1)throw new Error(`${Z} Duplicated paths. +`;if(!(0,e.isString)($)||$.length<1)throw new Error(`${Z} Name (key) of reducer is required. ${W}`);if(!q||!q.length)return;const{duplicates:Q,subsets:ie}=(0,e.findDuplicatesAndSubsets)(q);if(Q.length>1)throw new Error(`${Z} Duplicated paths. ${JSON.stringify(Q)} - ${U}`);if(ie.length>1)throw new Error(`${Z} You are trying to persist an entire property and also some of its subset. + ${W}`);if(ie.length>1)throw new Error(`${Z} You are trying to persist an entire property and also some of its subset. ${JSON.stringify(ie)} - ${U}`)};e.singleTransformValidator=j;const z=function(q){if(!(0,e.isArray)(q))return;const $=(q==null?void 0:q.map(W=>W.deepPersistKey).filter(W=>W))||[];if($.length){const W=$.filter((X,Z)=>$.indexOf(X)!==Z);if(W.length)throw new Error(`${t.PACKAGE_NAME}: found duplicated keys in transforms creators. You can createWhitelist or createBlacklist for a specific root reducer key only once. Duplicated keys among createWhitelist and createBlacklist transforms are not allowed. + ${W}`)};e.singleTransformValidator=j;const z=function(q){if(!(0,e.isArray)(q))return;const $=(q==null?void 0:q.map(U=>U.deepPersistKey).filter(U=>U))||[];if($.length){const U=$.filter((X,Z)=>$.indexOf(X)!==Z);if(U.length)throw new Error(`${t.PACKAGE_NAME}: found duplicated keys in transforms creators. You can createWhitelist or createBlacklist for a specific root reducer key only once. Duplicated keys among createWhitelist and createBlacklist transforms are not allowed. - Duplicates: ${JSON.stringify(W)}`)}};e.transformsValidator=z;const V=function({whitelist:q,blacklist:$}){if(q&&q.length&&$&&$.length)throw new Error(`${t.PACKAGE_NAME}: you should not define a whitelist and blacklist in parallel. It is allowed to use only one of these lists per config.`);if(q){const{duplicates:W,subsets:X}=(0,e.findDuplicatesAndSubsets)(q);(0,e.throwError)({duplicates:W,subsets:X},"whitelist")}if($){const{duplicates:W,subsets:X}=(0,e.findDuplicatesAndSubsets)($);(0,e.throwError)({duplicates:W,subsets:X},"blacklist")}};e.configValidator=V;const K=function({duplicates:q,subsets:$},W){if(q.length)throw new Error(`${t.PACKAGE_NAME}: duplicates of paths found in your ${W}. + Duplicates: ${JSON.stringify(U)}`)}};e.transformsValidator=z;const V=function({whitelist:q,blacklist:$}){if(q&&q.length&&$&&$.length)throw new Error(`${t.PACKAGE_NAME}: you should not define a whitelist and blacklist in parallel. It is allowed to use only one of these lists per config.`);if(q){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)(q);(0,e.throwError)({duplicates:U,subsets:X},"whitelist")}if($){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)($);(0,e.throwError)({duplicates:U,subsets:X},"blacklist")}};e.configValidator=V;const K=function({duplicates:q,subsets:$},U){if(q.length)throw new Error(`${t.PACKAGE_NAME}: duplicates of paths found in your ${U}. - ${JSON.stringify(q)}`);if($.length)throw new Error(`${t.PACKAGE_NAME}: subsets of some parent keys found in your ${W}. You must decide if you want to persist an entire path or its specific subset. + ${JSON.stringify(q)}`);if($.length)throw new Error(`${t.PACKAGE_NAME}: subsets of some parent keys found in your ${U}. You must decide if you want to persist an entire path or its specific subset. - ${JSON.stringify($)}`)};e.throwError=K;const te=function(q){return(0,e.isArray)(q)?q.filter(e.unique).reduce(($,W)=>{const X=W.split("."),Z=X[0],U=X.slice(1).join(".")||void 0,Q=$.filter(fe=>Object.keys(fe)[0]===Z)[0],ie=Q?Object.values(Q)[0]:void 0;return Q||$.push({[Z]:U?[U]:void 0}),Q&&!ie&&U&&(Q[Z]=[U]),Q&&ie&&U&&ie.push(U),$},[]):[]};e.getRootKeysGroup=te})(RW);(function(e){var t=Co&&Co.__rest||function(h,m){var v={};for(var b in h)Object.prototype.hasOwnProperty.call(h,b)&&m.indexOf(b)<0&&(v[b]=h[b]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(h);S!E(_)&&h?h(k,_,T):k,out:(k,_,T)=>!E(_)&&m?m(k,_,T):k,deepPersistKey:b&&b[0]}},a=(h,m,v,{debug:b,whitelist:S,blacklist:E,transforms:k})=>{if(S||E)throw new Error("State reconciler autoMergeDeep uses custom transforms instead of old whitelist or blacklist config properties. Please use createWhitelist or createBlacklist transforms.");(0,n.transformsValidator)(k);const _=(0,n.cloneDeep)(v);let T=h;if(T&&(0,n.isObjectLike)(T)){const A=(0,n.difference)(m,v);(0,n.isEmpty)(A)||(T=(0,n.mergeDeep)(h,A,{preserveUndefined:!0}),b&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: sub state of your state was modified by reducer during rehydration. Values from reducer will be kept: ${JSON.stringify(A)}`)),Object.keys(T).forEach(I=>{if(I!=="_persist"){if((0,n.isObjectLike)(_[I])){_[I]=(0,n.mergeDeep)(_[I],T[I]);return}_[I]=T[I]}})}return b&&T&&(0,n.isObjectLike)(T)&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: rehydrated keys ${JSON.stringify(T)}`),_};e.autoMergeDeep=a;const s=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.WHITELIST),o(v=>{if(!m||!m.length)return v;let b=null,S;return m.forEach(E=>{const k=E.split(".");S=(0,n.path)(v,k),typeof S>"u"&&(0,n.isIntegerString)(k[k.length-1])&&(S=r.PLACEHOLDER_UNDEFINED);const _=(0,n.assocPath)(k,S),T=(0,n.isArray)(_)?[]:{};b=(0,n.mergeDeep)(b||T,_,{preservePlaceholder:!0})}),b||v},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.WHITELIST),{whitelist:[h]}));e.createWhitelist=s;const l=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.BLACKLIST),o(v=>{if(!m||!m.length)return;const b=(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST,!0);return m.map(E=>E.split(".")).reduce((E,k)=>(0,n.dissocPath)(E,k),b)},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST),{whitelist:[h]}));e.createBlacklist=l;const u=function(h,m){return m.map(v=>{const b=Object.keys(v)[0],S=v[b];return h===i.ConfigType.WHITELIST?(0,e.createWhitelist)(b,S):(0,e.createBlacklist)(b,S)})};e.getTransforms=u;const d=h=>{var{key:m,whitelist:v,blacklist:b,storage:S,transforms:E,rootReducer:k}=h,_=t(h,["key","whitelist","blacklist","storage","transforms","rootReducer"]);(0,n.configValidator)({whitelist:v,blacklist:b});const T=(0,n.getRootKeysGroup)(v),A=(0,n.getRootKeysGroup)(b),I=Object.keys(k(void 0,{type:""})),R=T.map(te=>Object.keys(te)[0]),D=A.map(te=>Object.keys(te)[0]),j=I.filter(te=>R.indexOf(te)===-1&&D.indexOf(te)===-1),z=(0,e.getTransforms)(i.ConfigType.WHITELIST,T),V=(0,e.getTransforms)(i.ConfigType.BLACKLIST,A),K=(0,n.isArray)(v)?j.map(te=>(0,e.createBlacklist)(te)):[];return Object.assign(Object.assign({},_),{key:m,storage:S,transforms:[...z,...V,...K,...E||[]],stateReconciler:e.autoMergeDeep})};e.getPersistConfig=d})(IW);const Ed=(e,t)=>Math.floor(e/t)*t,Gl=(e,t)=>Math.round(e/t)*t;var ke={},rxe={get exports(){return ke},set exports(e){ke=e}};/** + ${JSON.stringify($)}`)};e.throwError=K;const te=function(q){return(0,e.isArray)(q)?q.filter(e.unique).reduce(($,U)=>{const X=U.split("."),Z=X[0],W=X.slice(1).join(".")||void 0,Q=$.filter(fe=>Object.keys(fe)[0]===Z)[0],ie=Q?Object.values(Q)[0]:void 0;return Q||$.push({[Z]:W?[W]:void 0}),Q&&!ie&&W&&(Q[Z]=[W]),Q&&ie&&W&&ie.push(W),$},[]):[]};e.getRootKeysGroup=te})(RW);(function(e){var t=Co&&Co.__rest||function(h,m){var v={};for(var b in h)Object.prototype.hasOwnProperty.call(h,b)&&m.indexOf(b)<0&&(v[b]=h[b]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(h);S!k(_)&&h?h(E,_,T):E,out:(E,_,T)=>!k(_)&&m?m(E,_,T):E,deepPersistKey:b&&b[0]}},a=(h,m,v,{debug:b,whitelist:S,blacklist:k,transforms:E})=>{if(S||k)throw new Error("State reconciler autoMergeDeep uses custom transforms instead of old whitelist or blacklist config properties. Please use createWhitelist or createBlacklist transforms.");(0,n.transformsValidator)(E);const _=(0,n.cloneDeep)(v);let T=h;if(T&&(0,n.isObjectLike)(T)){const A=(0,n.difference)(m,v);(0,n.isEmpty)(A)||(T=(0,n.mergeDeep)(h,A,{preserveUndefined:!0}),b&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: sub state of your state was modified by reducer during rehydration. Values from reducer will be kept: ${JSON.stringify(A)}`)),Object.keys(T).forEach(I=>{if(I!=="_persist"){if((0,n.isObjectLike)(_[I])){_[I]=(0,n.mergeDeep)(_[I],T[I]);return}_[I]=T[I]}})}return b&&T&&(0,n.isObjectLike)(T)&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: rehydrated keys ${JSON.stringify(T)}`),_};e.autoMergeDeep=a;const s=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.WHITELIST),o(v=>{if(!m||!m.length)return v;let b=null,S;return m.forEach(k=>{const E=k.split(".");S=(0,n.path)(v,E),typeof S>"u"&&(0,n.isIntegerString)(E[E.length-1])&&(S=r.PLACEHOLDER_UNDEFINED);const _=(0,n.assocPath)(E,S),T=(0,n.isArray)(_)?[]:{};b=(0,n.mergeDeep)(b||T,_,{preservePlaceholder:!0})}),b||v},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.WHITELIST),{whitelist:[h]}));e.createWhitelist=s;const l=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.BLACKLIST),o(v=>{if(!m||!m.length)return;const b=(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST,!0);return m.map(k=>k.split(".")).reduce((k,E)=>(0,n.dissocPath)(k,E),b)},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST),{whitelist:[h]}));e.createBlacklist=l;const u=function(h,m){return m.map(v=>{const b=Object.keys(v)[0],S=v[b];return h===i.ConfigType.WHITELIST?(0,e.createWhitelist)(b,S):(0,e.createBlacklist)(b,S)})};e.getTransforms=u;const d=h=>{var{key:m,whitelist:v,blacklist:b,storage:S,transforms:k,rootReducer:E}=h,_=t(h,["key","whitelist","blacklist","storage","transforms","rootReducer"]);(0,n.configValidator)({whitelist:v,blacklist:b});const T=(0,n.getRootKeysGroup)(v),A=(0,n.getRootKeysGroup)(b),I=Object.keys(E(void 0,{type:""})),R=T.map(te=>Object.keys(te)[0]),D=A.map(te=>Object.keys(te)[0]),j=I.filter(te=>R.indexOf(te)===-1&&D.indexOf(te)===-1),z=(0,e.getTransforms)(i.ConfigType.WHITELIST,T),V=(0,e.getTransforms)(i.ConfigType.BLACKLIST,A),K=(0,n.isArray)(v)?j.map(te=>(0,e.createBlacklist)(te)):[];return Object.assign(Object.assign({},_),{key:m,storage:S,transforms:[...z,...V,...K,...k||[]],stateReconciler:e.autoMergeDeep})};e.getPersistConfig=d})(IW);const Ed=(e,t)=>Math.floor(e/t)*t,Gl=(e,t)=>Math.round(e/t)*t;var ke={},rxe={get exports(){return ke},set exports(e){ke=e}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,m=2,v=4,b=1,S=2,E=1,k=2,_=4,T=8,A=16,I=32,R=64,D=128,j=256,z=512,V=30,K="...",te=800,q=16,$=1,W=2,X=3,Z=1/0,U=9007199254740991,Q=17976931348623157e292,ie=0/0,fe=4294967295,Se=fe-1,Pe=fe>>>1,ye=[["ary",D],["bind",E],["bindKey",k],["curry",T],["curryRight",A],["flip",z],["partial",I],["partialRight",R],["rearg",j]],We="[object Arguments]",De="[object Array]",ot="[object AsyncFunction]",He="[object Boolean]",Be="[object Date]",wt="[object DOMException]",st="[object Error]",mt="[object Function]",St="[object GeneratorFunction]",Le="[object Map]",lt="[object Number]",Mt="[object Null]",ut="[object Object]",_t="[object Promise]",ln="[object Proxy]",ae="[object RegExp]",Re="[object Set]",Ye="[object String]",Ke="[object Symbol]",xe="[object Undefined]",Ne="[object WeakMap]",Ct="[object WeakSet]",Dt="[object ArrayBuffer]",Te="[object DataView]",At="[object Float32Array]",$e="[object Float64Array]",vt="[object Int8Array]",tn="[object Int16Array]",Rn="[object Int32Array]",Xe="[object Uint8Array]",xt="[object Uint8ClampedArray]",ft="[object Uint16Array]",Ht="[object Uint32Array]",nn=/\b__p \+= '';/g,pr=/\b(__p \+=) '' \+/g,Mo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oi=/&(?:amp|lt|gt|quot|#39);/g,rl=/[&<>"']/g,I0=RegExp(Oi.source),Ba=RegExp(rl.source),kp=/<%-([\s\S]+?)%>/g,R0=/<%([\s\S]+?)%>/g,yc=/<%=([\s\S]+?)%>/g,Ep=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pp=/^\w*$/,ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vf=/[\\^$.*+?()[\]{}|]/g,D0=RegExp(vf.source),bc=/^\s+/,yf=/\s/,N0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,il=/\{\n\/\* \[wrapped with (.+)\] \*/,Sc=/,? & /,j0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,B0=/[()=,{}\[\]\/\s]/,$0=/\\(\\)?/g,F0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gs=/\w*$/,z0=/^[-+]0x[0-9a-f]+$/i,H0=/^0b[01]+$/i,V0=/^\[object .+?Constructor\]$/,W0=/^0o[0-7]+$/i,U0=/^(?:0|[1-9]\d*)$/,G0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,q0=/['\n\r\u2028\u2029\\]/g,ms="\\ud800-\\udfff",vu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",bu=vu+yu+al,Tp="\\u2700-\\u27bf",xc="a-z\\xdf-\\xf6\\xf8-\\xff",sl="\\xac\\xb1\\xd7\\xf7",oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dn="\\u2000-\\u206f",Pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",Hr="\\ufe0e\\ufe0f",li=sl+oa+Dn+Pn,sa="['’]",ll="["+ms+"]",ui="["+li+"]",vs="["+bu+"]",bf="\\d+",Su="["+Tp+"]",ys="["+xc+"]",Sf="[^"+ms+li+bf+Tp+xc+aa+"]",Mi="\\ud83c[\\udffb-\\udfff]",Lp="(?:"+vs+"|"+Mi+")",Ap="[^"+ms+"]",xf="(?:\\ud83c[\\udde6-\\uddff]){2}",ul="[\\ud800-\\udbff][\\udc00-\\udfff]",Io="["+aa+"]",cl="\\u200d",xu="(?:"+ys+"|"+Sf+")",Y0="(?:"+Io+"|"+Sf+")",wc="(?:"+sa+"(?:d|ll|m|re|s|t|ve))?",Cc="(?:"+sa+"(?:D|LL|M|RE|S|T|VE))?",wf=Lp+"?",_c="["+Hr+"]?",$a="(?:"+cl+"(?:"+[Ap,xf,ul].join("|")+")"+_c+wf+")*",Cf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yt=_c+wf+$a,Op="(?:"+[Su,xf,ul].join("|")+")"+Yt,kc="(?:"+[Ap+vs+"?",vs,xf,ul,ll].join("|")+")",Ec=RegExp(sa,"g"),Mp=RegExp(vs,"g"),la=RegExp(Mi+"(?="+Mi+")|"+kc+Yt,"g"),Kn=RegExp([Io+"?"+ys+"+"+wc+"(?="+[ui,Io,"$"].join("|")+")",Y0+"+"+Cc+"(?="+[ui,Io+xu,"$"].join("|")+")",Io+"?"+xu+"+"+wc,Io+"+"+Cc,wu,Cf,bf,Op].join("|"),"g"),_f=RegExp("["+cl+ms+bu+Hr+"]"),Ip=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,gn={};gn[At]=gn[$e]=gn[vt]=gn[tn]=gn[Rn]=gn[Xe]=gn[xt]=gn[ft]=gn[Ht]=!0,gn[We]=gn[De]=gn[Dt]=gn[He]=gn[Te]=gn[Be]=gn[st]=gn[mt]=gn[Le]=gn[lt]=gn[ut]=gn[ae]=gn[Re]=gn[Ye]=gn[Ne]=!1;var Kt={};Kt[We]=Kt[De]=Kt[Dt]=Kt[Te]=Kt[He]=Kt[Be]=Kt[At]=Kt[$e]=Kt[vt]=Kt[tn]=Kt[Rn]=Kt[Le]=Kt[lt]=Kt[ut]=Kt[ae]=Kt[Re]=Kt[Ye]=Kt[Ke]=Kt[Xe]=Kt[xt]=Kt[ft]=Kt[Ht]=!0,Kt[st]=Kt[mt]=Kt[Ne]=!1;var Dp={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae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":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ge=parseFloat,it=parseInt,Wt=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Sn=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wt||Sn||Function("return this")(),Nt=t&&!t.nodeType&&t,Xt=Nt&&!0&&e&&!e.nodeType&&e,Jr=Xt&&Xt.exports===Nt,Ir=Jr&&Wt.process,xn=function(){try{var oe=Xt&&Xt.require&&Xt.require("util").types;return oe||Ir&&Ir.binding&&Ir.binding("util")}catch{}}(),ci=xn&&xn.isArrayBuffer,Ro=xn&&xn.isDate,co=xn&&xn.isMap,Fa=xn&&xn.isRegExp,dl=xn&&xn.isSet,X0=xn&&xn.isTypedArray;function Ii(oe,we,ve){switch(ve.length){case 0:return oe.call(we);case 1:return oe.call(we,ve[0]);case 2:return oe.call(we,ve[0],ve[1]);case 3:return oe.call(we,ve[0],ve[1],ve[2])}return oe.apply(we,ve)}function Z0(oe,we,ve,nt){for(var It=-1,rn=oe==null?0:oe.length;++It-1}function Np(oe,we,ve){for(var nt=-1,It=oe==null?0:oe.length;++nt-1;);return ve}function bs(oe,we){for(var ve=oe.length;ve--&&Lc(we,oe[ve],0)>-1;);return ve}function J0(oe,we){for(var ve=oe.length,nt=0;ve--;)oe[ve]===we&&++nt;return nt}var Jy=Lf(Dp),Ss=Lf(K0);function hl(oe){return"\\"+re[oe]}function Bp(oe,we){return oe==null?n:oe[we]}function _u(oe){return _f.test(oe)}function $p(oe){return Ip.test(oe)}function e3(oe){for(var we,ve=[];!(we=oe.next()).done;)ve.push(we.value);return ve}function Fp(oe){var we=-1,ve=Array(oe.size);return oe.forEach(function(nt,It){ve[++we]=[It,nt]}),ve}function zp(oe,we){return function(ve){return oe(we(ve))}}function da(oe,we){for(var ve=-1,nt=oe.length,It=0,rn=[];++ve-1}function b3(c,g){var C=this.__data__,O=Wr(C,c);return O<0?(++this.size,C.push([c,g])):C[O][1]=g,this}fa.prototype.clear=v3,fa.prototype.delete=y3,fa.prototype.get=p1,fa.prototype.has=g1,fa.prototype.set=b3;function ha(c){var g=-1,C=c==null?0:c.length;for(this.clear();++g=g?c:g)),c}function wi(c,g,C,O,B,H){var J,ne=g&h,ce=g&m,_e=g&v;if(C&&(J=B?C(c,O,B,H):C(c)),J!==n)return J;if(!wr(c))return c;var Ee=Ft(c);if(Ee){if(J=$K(c),!ne)return $i(c,J)}else{var Ie=ki(c),tt=Ie==mt||Ie==St;if(rd(c))return _l(c,ne);if(Ie==ut||Ie==We||tt&&!B){if(J=ce||tt?{}:ST(c),!ne)return ce?I1(c,qc(J,c)):zo(c,ct(J,c))}else{if(!Kt[Ie])return B?c:{};J=FK(c,Ie,ne)}}H||(H=new Dr);var bt=H.get(c);if(bt)return bt;H.set(c,J),KT(c)?c.forEach(function(Tt){J.add(wi(Tt,g,C,Tt,c,H))}):qT(c)&&c.forEach(function(Tt,Qt){J.set(Qt,wi(Tt,g,C,Qt,c,H))});var Pt=_e?ce?me:ya:ce?Vo:Ei,qt=Ee?n:Pt(c);return Xn(qt||c,function(Tt,Qt){qt&&(Qt=Tt,Tt=c[Qt]),ml(J,Qt,wi(Tt,g,C,Qt,c,H))}),J}function Kp(c){var g=Ei(c);return function(C){return Xp(C,c,g)}}function Xp(c,g,C){var O=C.length;if(c==null)return!O;for(c=mn(c);O--;){var B=C[O],H=g[B],J=c[B];if(J===n&&!(B in c)||!H(J))return!1}return!0}function b1(c,g,C){if(typeof c!="function")throw new Ri(a);return B1(function(){c.apply(n,C)},g)}function Yc(c,g,C,O){var B=-1,H=Ki,J=!0,ne=c.length,ce=[],_e=g.length;if(!ne)return ce;C&&(g=Wn(g,Vr(C))),O?(H=Np,J=!1):g.length>=i&&(H=Oc,J=!1,g=new Wa(g));e:for(;++BB?0:B+C),O=O===n||O>B?B:Vt(O),O<0&&(O+=B),O=C>O?0:ZT(O);C0&&C(ne)?g>1?Ur(ne,g-1,C,O,B):za(B,ne):O||(B[B.length]=ne)}return B}var Qp=kl(),Bo=kl(!0);function va(c,g){return c&&Qp(c,g,Ei)}function $o(c,g){return c&&Bo(c,g,Ei)}function Jp(c,g){return No(g,function(C){return Iu(c[C])})}function vl(c,g){g=Cl(g,c);for(var C=0,O=g.length;c!=null&&Cg}function tg(c,g){return c!=null&&un.call(c,g)}function ng(c,g){return c!=null&&g in mn(c)}function rg(c,g,C){return c>=fi(g,C)&&c=120&&Ee.length>=120)?new Wa(J&&Ee):n}Ee=c[0];var Ie=-1,tt=ne[0];e:for(;++Ie-1;)ne!==c&&jf.call(ne,ce,1),jf.call(c,ce,1);return c}function Gf(c,g){for(var C=c?g.length:0,O=C-1;C--;){var B=g[C];if(C==O||B!==H){var H=B;Mu(B)?jf.call(c,B,1):hg(c,B)}}return c}function qf(c,g){return c+Eu(l1()*(g-c+1))}function xl(c,g,C,O){for(var B=-1,H=Rr(Ff((g-c)/(C||1)),0),J=ve(H);H--;)J[O?H:++B]=c,c+=C;return J}function ed(c,g){var C="";if(!c||g<1||g>U)return C;do g%2&&(C+=c),g=Eu(g/2),g&&(c+=c);while(g);return C}function Ot(c,g){return Tw(CT(c,g,Wo),c+"")}function lg(c){return Gc(Sg(c))}function Yf(c,g){var C=Sg(c);return P3(C,Tu(g,0,C.length))}function Au(c,g,C,O){if(!wr(c))return c;g=Cl(g,c);for(var B=-1,H=g.length,J=H-1,ne=c;ne!=null&&++BB?0:B+g),C=C>B?B:C,C<0&&(C+=B),B=g>C?0:C-g>>>0,g>>>=0;for(var H=ve(B);++O>>1,J=c[H];J!==null&&!ba(J)&&(C?J<=g:J=i){var _e=g?null:G(c);if(_e)return If(_e);J=!1,B=Oc,ce=new Wa}else ce=g?[]:ne;e:for(;++O=O?c:qr(c,g,C)}var L1=o3||function(c){return kt.clearTimeout(c)};function _l(c,g){if(g)return c.slice();var C=c.length,O=Nc?Nc(C):new c.constructor(C);return c.copy(O),O}function A1(c){var g=new c.constructor(c.byteLength);return new Di(g).set(new Di(c)),g}function Ou(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.byteLength)}function C3(c){var g=new c.constructor(c.source,gs.exec(c));return g.lastIndex=c.lastIndex,g}function Zn(c){return Hf?mn(Hf.call(c)):{}}function _3(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.length)}function O1(c,g){if(c!==g){var C=c!==n,O=c===null,B=c===c,H=ba(c),J=g!==n,ne=g===null,ce=g===g,_e=ba(g);if(!ne&&!_e&&!H&&c>g||H&&J&&ce&&!ne&&!_e||O&&J&&ce||!C&&ce||!B)return 1;if(!O&&!H&&!_e&&c=ne)return ce;var _e=C[O];return ce*(_e=="desc"?-1:1)}}return c.index-g.index}function k3(c,g,C,O){for(var B=-1,H=c.length,J=C.length,ne=-1,ce=g.length,_e=Rr(H-J,0),Ee=ve(ce+_e),Ie=!O;++ne1?C[B-1]:n,J=B>2?C[2]:n;for(H=c.length>3&&typeof H=="function"?(B--,H):n,J&&vo(C[0],C[1],J)&&(H=B<3?n:H,B=1),g=mn(g);++O-1?B[H?g[J]:J]:n}}function D1(c){return mr(function(g){var C=g.length,O=C,B=ho.prototype.thru;for(c&&g.reverse();O--;){var H=g[O];if(typeof H!="function")throw new Ri(a);if(B&&!J&&be(H)=="wrapper")var J=new ho([],!0)}for(O=J?O:C;++O1&&on.reverse(),Ee&&cene))return!1;var _e=H.get(c),Ee=H.get(g);if(_e&&Ee)return _e==g&&Ee==c;var Ie=-1,tt=!0,bt=C&S?new Wa:n;for(H.set(c,g),H.set(g,c);++Ie1?"& ":"")+g[O],g=g.join(C>2?", ":" "),c.replace(N0,`{ + */(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,m=2,v=4,b=1,S=2,k=1,E=2,_=4,T=8,A=16,I=32,R=64,D=128,j=256,z=512,V=30,K="...",te=800,q=16,$=1,U=2,X=3,Z=1/0,W=9007199254740991,Q=17976931348623157e292,ie=0/0,fe=4294967295,Se=fe-1,Pe=fe>>>1,ye=[["ary",D],["bind",k],["bindKey",E],["curry",T],["curryRight",A],["flip",z],["partial",I],["partialRight",R],["rearg",j]],We="[object Arguments]",De="[object Array]",ot="[object AsyncFunction]",He="[object Boolean]",Be="[object Date]",wt="[object DOMException]",st="[object Error]",mt="[object Function]",St="[object GeneratorFunction]",Le="[object Map]",lt="[object Number]",Mt="[object Null]",ut="[object Object]",_t="[object Promise]",ln="[object Proxy]",ae="[object RegExp]",Re="[object Set]",Ye="[object String]",Ke="[object Symbol]",xe="[object Undefined]",Ne="[object WeakMap]",Ct="[object WeakSet]",Dt="[object ArrayBuffer]",Te="[object DataView]",At="[object Float32Array]",$e="[object Float64Array]",vt="[object Int8Array]",tn="[object Int16Array]",Rn="[object Int32Array]",Xe="[object Uint8Array]",xt="[object Uint8ClampedArray]",ft="[object Uint16Array]",Ht="[object Uint32Array]",nn=/\b__p \+= '';/g,pr=/\b(__p \+=) '' \+/g,Mo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oi=/&(?:amp|lt|gt|quot|#39);/g,rl=/[&<>"']/g,I0=RegExp(Oi.source),Ba=RegExp(rl.source),kp=/<%-([\s\S]+?)%>/g,R0=/<%([\s\S]+?)%>/g,yc=/<%=([\s\S]+?)%>/g,Ep=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pp=/^\w*$/,ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vf=/[\\^$.*+?()[\]{}|]/g,D0=RegExp(vf.source),bc=/^\s+/,yf=/\s/,N0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,il=/\{\n\/\* \[wrapped with (.+)\] \*/,Sc=/,? & /,j0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,B0=/[()=,{}\[\]\/\s]/,$0=/\\(\\)?/g,F0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gs=/\w*$/,z0=/^[-+]0x[0-9a-f]+$/i,H0=/^0b[01]+$/i,V0=/^\[object .+?Constructor\]$/,W0=/^0o[0-7]+$/i,U0=/^(?:0|[1-9]\d*)$/,G0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,q0=/['\n\r\u2028\u2029\\]/g,ms="\\ud800-\\udfff",vu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",bu=vu+yu+al,Tp="\\u2700-\\u27bf",xc="a-z\\xdf-\\xf6\\xf8-\\xff",sl="\\xac\\xb1\\xd7\\xf7",oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dn="\\u2000-\\u206f",Pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",Hr="\\ufe0e\\ufe0f",li=sl+oa+Dn+Pn,sa="['’]",ll="["+ms+"]",ui="["+li+"]",vs="["+bu+"]",bf="\\d+",Su="["+Tp+"]",ys="["+xc+"]",Sf="[^"+ms+li+bf+Tp+xc+aa+"]",Mi="\\ud83c[\\udffb-\\udfff]",Lp="(?:"+vs+"|"+Mi+")",Ap="[^"+ms+"]",xf="(?:\\ud83c[\\udde6-\\uddff]){2}",ul="[\\ud800-\\udbff][\\udc00-\\udfff]",Io="["+aa+"]",cl="\\u200d",xu="(?:"+ys+"|"+Sf+")",Y0="(?:"+Io+"|"+Sf+")",wc="(?:"+sa+"(?:d|ll|m|re|s|t|ve))?",Cc="(?:"+sa+"(?:D|LL|M|RE|S|T|VE))?",wf=Lp+"?",_c="["+Hr+"]?",$a="(?:"+cl+"(?:"+[Ap,xf,ul].join("|")+")"+_c+wf+")*",Cf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yt=_c+wf+$a,Op="(?:"+[Su,xf,ul].join("|")+")"+Yt,kc="(?:"+[Ap+vs+"?",vs,xf,ul,ll].join("|")+")",Ec=RegExp(sa,"g"),Mp=RegExp(vs,"g"),la=RegExp(Mi+"(?="+Mi+")|"+kc+Yt,"g"),Kn=RegExp([Io+"?"+ys+"+"+wc+"(?="+[ui,Io,"$"].join("|")+")",Y0+"+"+Cc+"(?="+[ui,Io+xu,"$"].join("|")+")",Io+"?"+xu+"+"+wc,Io+"+"+Cc,wu,Cf,bf,Op].join("|"),"g"),_f=RegExp("["+cl+ms+bu+Hr+"]"),Ip=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,gn={};gn[At]=gn[$e]=gn[vt]=gn[tn]=gn[Rn]=gn[Xe]=gn[xt]=gn[ft]=gn[Ht]=!0,gn[We]=gn[De]=gn[Dt]=gn[He]=gn[Te]=gn[Be]=gn[st]=gn[mt]=gn[Le]=gn[lt]=gn[ut]=gn[ae]=gn[Re]=gn[Ye]=gn[Ne]=!1;var Kt={};Kt[We]=Kt[De]=Kt[Dt]=Kt[Te]=Kt[He]=Kt[Be]=Kt[At]=Kt[$e]=Kt[vt]=Kt[tn]=Kt[Rn]=Kt[Le]=Kt[lt]=Kt[ut]=Kt[ae]=Kt[Re]=Kt[Ye]=Kt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ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},K0={"&":"&","<":"<",">":">",'"':""","'":"'"},Y={"&":"&","<":"<",">":">",""":'"',"'":"'"},re={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ge=parseFloat,it=parseInt,Wt=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Sn=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wt||Sn||Function("return this")(),Nt=t&&!t.nodeType&&t,Xt=Nt&&!0&&e&&!e.nodeType&&e,Jr=Xt&&Xt.exports===Nt,Ir=Jr&&Wt.process,xn=function(){try{var oe=Xt&&Xt.require&&Xt.require("util").types;return oe||Ir&&Ir.binding&&Ir.binding("util")}catch{}}(),ci=xn&&xn.isArrayBuffer,Ro=xn&&xn.isDate,co=xn&&xn.isMap,Fa=xn&&xn.isRegExp,dl=xn&&xn.isSet,X0=xn&&xn.isTypedArray;function Ii(oe,we,ve){switch(ve.length){case 0:return oe.call(we);case 1:return oe.call(we,ve[0]);case 2:return oe.call(we,ve[0],ve[1]);case 3:return oe.call(we,ve[0],ve[1],ve[2])}return oe.apply(we,ve)}function Z0(oe,we,ve,nt){for(var It=-1,rn=oe==null?0:oe.length;++It-1}function Np(oe,we,ve){for(var nt=-1,It=oe==null?0:oe.length;++nt-1;);return ve}function bs(oe,we){for(var ve=oe.length;ve--&&Lc(we,oe[ve],0)>-1;);return ve}function J0(oe,we){for(var ve=oe.length,nt=0;ve--;)oe[ve]===we&&++nt;return nt}var Jy=Lf(Dp),Ss=Lf(K0);function hl(oe){return"\\"+re[oe]}function Bp(oe,we){return oe==null?n:oe[we]}function _u(oe){return _f.test(oe)}function $p(oe){return Ip.test(oe)}function e3(oe){for(var we,ve=[];!(we=oe.next()).done;)ve.push(we.value);return ve}function Fp(oe){var we=-1,ve=Array(oe.size);return oe.forEach(function(nt,It){ve[++we]=[It,nt]}),ve}function zp(oe,we){return function(ve){return oe(we(ve))}}function da(oe,we){for(var ve=-1,nt=oe.length,It=0,rn=[];++ve-1}function b3(c,g){var C=this.__data__,O=Wr(C,c);return O<0?(++this.size,C.push([c,g])):C[O][1]=g,this}fa.prototype.clear=v3,fa.prototype.delete=y3,fa.prototype.get=p1,fa.prototype.has=g1,fa.prototype.set=b3;function ha(c){var g=-1,C=c==null?0:c.length;for(this.clear();++g=g?c:g)),c}function wi(c,g,C,O,B,H){var J,ne=g&h,ce=g&m,_e=g&v;if(C&&(J=B?C(c,O,B,H):C(c)),J!==n)return J;if(!wr(c))return c;var Ee=Ft(c);if(Ee){if(J=$K(c),!ne)return $i(c,J)}else{var Ie=ki(c),tt=Ie==mt||Ie==St;if(rd(c))return _l(c,ne);if(Ie==ut||Ie==We||tt&&!B){if(J=ce||tt?{}:ST(c),!ne)return ce?I1(c,qc(J,c)):zo(c,ct(J,c))}else{if(!Kt[Ie])return B?c:{};J=FK(c,Ie,ne)}}H||(H=new Dr);var bt=H.get(c);if(bt)return bt;H.set(c,J),KT(c)?c.forEach(function(Tt){J.add(wi(Tt,g,C,Tt,c,H))}):qT(c)&&c.forEach(function(Tt,Qt){J.set(Qt,wi(Tt,g,C,Qt,c,H))});var Pt=_e?ce?me:ya:ce?Vo:Ei,qt=Ee?n:Pt(c);return Xn(qt||c,function(Tt,Qt){qt&&(Qt=Tt,Tt=c[Qt]),ml(J,Qt,wi(Tt,g,C,Qt,c,H))}),J}function Kp(c){var g=Ei(c);return function(C){return Xp(C,c,g)}}function Xp(c,g,C){var O=C.length;if(c==null)return!O;for(c=mn(c);O--;){var B=C[O],H=g[B],J=c[B];if(J===n&&!(B in c)||!H(J))return!1}return!0}function b1(c,g,C){if(typeof c!="function")throw new Ri(a);return B1(function(){c.apply(n,C)},g)}function Yc(c,g,C,O){var B=-1,H=Ki,J=!0,ne=c.length,ce=[],_e=g.length;if(!ne)return ce;C&&(g=Wn(g,Vr(C))),O?(H=Np,J=!1):g.length>=i&&(H=Oc,J=!1,g=new Wa(g));e:for(;++BB?0:B+C),O=O===n||O>B?B:Vt(O),O<0&&(O+=B),O=C>O?0:ZT(O);C0&&C(ne)?g>1?Ur(ne,g-1,C,O,B):za(B,ne):O||(B[B.length]=ne)}return B}var Qp=kl(),Bo=kl(!0);function va(c,g){return c&&Qp(c,g,Ei)}function $o(c,g){return c&&Bo(c,g,Ei)}function Jp(c,g){return No(g,function(C){return Iu(c[C])})}function vl(c,g){g=Cl(g,c);for(var C=0,O=g.length;c!=null&&Cg}function tg(c,g){return c!=null&&un.call(c,g)}function ng(c,g){return c!=null&&g in mn(c)}function rg(c,g,C){return c>=fi(g,C)&&c=120&&Ee.length>=120)?new Wa(J&&Ee):n}Ee=c[0];var Ie=-1,tt=ne[0];e:for(;++Ie-1;)ne!==c&&jf.call(ne,ce,1),jf.call(c,ce,1);return c}function Gf(c,g){for(var C=c?g.length:0,O=C-1;C--;){var B=g[C];if(C==O||B!==H){var H=B;Mu(B)?jf.call(c,B,1):hg(c,B)}}return c}function qf(c,g){return c+Eu(l1()*(g-c+1))}function xl(c,g,C,O){for(var B=-1,H=Rr(Ff((g-c)/(C||1)),0),J=ve(H);H--;)J[O?H:++B]=c,c+=C;return J}function ed(c,g){var C="";if(!c||g<1||g>W)return C;do g%2&&(C+=c),g=Eu(g/2),g&&(c+=c);while(g);return C}function Ot(c,g){return Tw(CT(c,g,Wo),c+"")}function lg(c){return Gc(Sg(c))}function Yf(c,g){var C=Sg(c);return P3(C,Tu(g,0,C.length))}function Au(c,g,C,O){if(!wr(c))return c;g=Cl(g,c);for(var B=-1,H=g.length,J=H-1,ne=c;ne!=null&&++BB?0:B+g),C=C>B?B:C,C<0&&(C+=B),B=g>C?0:C-g>>>0,g>>>=0;for(var H=ve(B);++O>>1,J=c[H];J!==null&&!ba(J)&&(C?J<=g:J=i){var _e=g?null:G(c);if(_e)return If(_e);J=!1,B=Oc,ce=new Wa}else ce=g?[]:ne;e:for(;++O=O?c:qr(c,g,C)}var L1=o3||function(c){return kt.clearTimeout(c)};function _l(c,g){if(g)return c.slice();var C=c.length,O=Nc?Nc(C):new c.constructor(C);return c.copy(O),O}function A1(c){var g=new c.constructor(c.byteLength);return new Di(g).set(new Di(c)),g}function Ou(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.byteLength)}function C3(c){var g=new c.constructor(c.source,gs.exec(c));return g.lastIndex=c.lastIndex,g}function Zn(c){return Hf?mn(Hf.call(c)):{}}function _3(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.length)}function O1(c,g){if(c!==g){var C=c!==n,O=c===null,B=c===c,H=ba(c),J=g!==n,ne=g===null,ce=g===g,_e=ba(g);if(!ne&&!_e&&!H&&c>g||H&&J&&ce&&!ne&&!_e||O&&J&&ce||!C&&ce||!B)return 1;if(!O&&!H&&!_e&&c=ne)return ce;var _e=C[O];return ce*(_e=="desc"?-1:1)}}return c.index-g.index}function k3(c,g,C,O){for(var B=-1,H=c.length,J=C.length,ne=-1,ce=g.length,_e=Rr(H-J,0),Ee=ve(ce+_e),Ie=!O;++ne1?C[B-1]:n,J=B>2?C[2]:n;for(H=c.length>3&&typeof H=="function"?(B--,H):n,J&&vo(C[0],C[1],J)&&(H=B<3?n:H,B=1),g=mn(g);++O-1?B[H?g[J]:J]:n}}function D1(c){return mr(function(g){var C=g.length,O=C,B=ho.prototype.thru;for(c&&g.reverse();O--;){var H=g[O];if(typeof H!="function")throw new Ri(a);if(B&&!J&&be(H)=="wrapper")var J=new ho([],!0)}for(O=J?O:C;++O1&&on.reverse(),Ee&&cene))return!1;var _e=H.get(c),Ee=H.get(g);if(_e&&Ee)return _e==g&&Ee==c;var Ie=-1,tt=!0,bt=C&S?new Wa:n;for(H.set(c,g),H.set(g,c);++Ie1?"& ":"")+g[O],g=g.join(C>2?", ":" "),c.replace(N0,`{ /* [wrapped with `+g+`] */ -`)}function HK(c){return Ft(c)||nh(c)||!!(a1&&c&&c[a1])}function Mu(c,g){var C=typeof c;return g=g??U,!!g&&(C=="number"||C!="symbol"&&U0.test(c))&&c>-1&&c%1==0&&c0){if(++g>=te)return arguments[0]}else g=0;return c.apply(n,arguments)}}function P3(c,g){var C=-1,O=c.length,B=O-1;for(g=g===n?O:g;++C1?c[g-1]:n;return C=typeof C=="function"?(c.pop(),C):n,DT(c,C)});function NT(c){var g=F(c);return g.__chain__=!0,g}function JX(c,g){return g(c),c}function T3(c,g){return g(c)}var eZ=mr(function(c){var g=c.length,C=g?c[0]:0,O=this.__wrapped__,B=function(H){return Yp(H,c)};return g>1||this.__actions__.length||!(O instanceof Zt)||!Mu(C)?this.thru(B):(O=O.slice(C,+C+(g?1:0)),O.__actions__.push({func:T3,args:[B],thisArg:n}),new ho(O,this.__chain__).thru(function(H){return g&&!H.length&&H.push(n),H}))});function tZ(){return NT(this)}function nZ(){return new ho(this.value(),this.__chain__)}function rZ(){this.__values__===n&&(this.__values__=XT(this.value()));var c=this.__index__>=this.__values__.length,g=c?n:this.__values__[this.__index__++];return{done:c,value:g}}function iZ(){return this}function oZ(c){for(var g,C=this;C instanceof Vf;){var O=LT(C);O.__index__=0,O.__values__=n,g?B.__wrapped__=O:g=O;var B=O;C=C.__wrapped__}return B.__wrapped__=c,g}function aZ(){var c=this.__wrapped__;if(c instanceof Zt){var g=c;return this.__actions__.length&&(g=new Zt(this)),g=g.reverse(),g.__actions__.push({func:T3,args:[Lw],thisArg:n}),new ho(g,this.__chain__)}return this.thru(Lw)}function sZ(){return wl(this.__wrapped__,this.__actions__)}var lZ=gg(function(c,g,C){un.call(c,C)?++c[C]:pa(c,C,1)});function uZ(c,g,C){var O=Ft(c)?Vn:S1;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}function cZ(c,g){var C=Ft(c)?No:ma;return C(c,Oe(g,3))}var dZ=R1(AT),fZ=R1(OT);function hZ(c,g){return Ur(L3(c,g),1)}function pZ(c,g){return Ur(L3(c,g),Z)}function gZ(c,g,C){return C=C===n?1:Vt(C),Ur(L3(c,g),C)}function jT(c,g){var C=Ft(c)?Xn:Cs;return C(c,Oe(g,3))}function BT(c,g){var C=Ft(c)?Do:Zp;return C(c,Oe(g,3))}var mZ=gg(function(c,g,C){un.call(c,C)?c[C].push(g):pa(c,C,[g])});function vZ(c,g,C,O){c=Ho(c)?c:Sg(c),C=C&&!O?Vt(C):0;var B=c.length;return C<0&&(C=Rr(B+C,0)),R3(c)?C<=B&&c.indexOf(g,C)>-1:!!B&&Lc(c,g,C)>-1}var yZ=Ot(function(c,g,C){var O=-1,B=typeof g=="function",H=Ho(c)?ve(c.length):[];return Cs(c,function(J){H[++O]=B?Ii(g,J,C):_s(J,g,C)}),H}),bZ=gg(function(c,g,C){pa(c,C,g)});function L3(c,g){var C=Ft(c)?Wn:jr;return C(c,Oe(g,3))}function SZ(c,g,C,O){return c==null?[]:(Ft(g)||(g=g==null?[]:[g]),C=O?n:C,Ft(C)||(C=C==null?[]:[C]),ji(c,g,C))}var xZ=gg(function(c,g,C){c[C?0:1].push(g)},function(){return[[],[]]});function wZ(c,g,C){var O=Ft(c)?Ef:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Cs)}function CZ(c,g,C){var O=Ft(c)?Ky:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Zp)}function _Z(c,g){var C=Ft(c)?No:ma;return C(c,M3(Oe(g,3)))}function kZ(c){var g=Ft(c)?Gc:lg;return g(c)}function EZ(c,g,C){(C?vo(c,g,C):g===n)?g=1:g=Vt(g);var O=Ft(c)?xi:Yf;return O(c,g)}function PZ(c){var g=Ft(c)?Sw:_i;return g(c)}function TZ(c){if(c==null)return 0;if(Ho(c))return R3(c)?Ha(c):c.length;var g=ki(c);return g==Le||g==Re?c.size:Gr(c).length}function LZ(c,g,C){var O=Ft(c)?Pc:Fo;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}var AZ=Ot(function(c,g){if(c==null)return[];var C=g.length;return C>1&&vo(c,g[0],g[1])?g=[]:C>2&&vo(g[0],g[1],g[2])&&(g=[g[0]]),ji(c,Ur(g,1),[])}),A3=a3||function(){return kt.Date.now()};function OZ(c,g){if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){if(--c<1)return g.apply(this,arguments)}}function $T(c,g,C){return g=C?n:g,g=c&&g==null?c.length:g,pe(c,D,n,n,n,n,g)}function FT(c,g){var C;if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){return--c>0&&(C=g.apply(this,arguments)),c<=1&&(g=n),C}}var Ow=Ot(function(c,g,C){var O=E;if(C.length){var B=da(C,et(Ow));O|=I}return pe(c,O,g,C,B)}),zT=Ot(function(c,g,C){var O=E|k;if(C.length){var B=da(C,et(zT));O|=I}return pe(g,O,c,C,B)});function HT(c,g,C){g=C?n:g;var O=pe(c,T,n,n,n,n,n,g);return O.placeholder=HT.placeholder,O}function VT(c,g,C){g=C?n:g;var O=pe(c,A,n,n,n,n,n,g);return O.placeholder=VT.placeholder,O}function WT(c,g,C){var O,B,H,J,ne,ce,_e=0,Ee=!1,Ie=!1,tt=!0;if(typeof c!="function")throw new Ri(a);g=qa(g)||0,wr(C)&&(Ee=!!C.leading,Ie="maxWait"in C,H=Ie?Rr(qa(C.maxWait)||0,g):H,tt="trailing"in C?!!C.trailing:tt);function bt(Kr){var Ls=O,Du=B;return O=B=n,_e=Kr,J=c.apply(Du,Ls),J}function Pt(Kr){return _e=Kr,ne=B1(Qt,g),Ee?bt(Kr):J}function qt(Kr){var Ls=Kr-ce,Du=Kr-_e,uL=g-Ls;return Ie?fi(uL,H-Du):uL}function Tt(Kr){var Ls=Kr-ce,Du=Kr-_e;return ce===n||Ls>=g||Ls<0||Ie&&Du>=H}function Qt(){var Kr=A3();if(Tt(Kr))return on(Kr);ne=B1(Qt,qt(Kr))}function on(Kr){return ne=n,tt&&O?bt(Kr):(O=B=n,J)}function Sa(){ne!==n&&L1(ne),_e=0,O=ce=B=ne=n}function yo(){return ne===n?J:on(A3())}function xa(){var Kr=A3(),Ls=Tt(Kr);if(O=arguments,B=this,ce=Kr,Ls){if(ne===n)return Pt(ce);if(Ie)return L1(ne),ne=B1(Qt,g),bt(ce)}return ne===n&&(ne=B1(Qt,g)),J}return xa.cancel=Sa,xa.flush=yo,xa}var MZ=Ot(function(c,g){return b1(c,1,g)}),IZ=Ot(function(c,g,C){return b1(c,qa(g)||0,C)});function RZ(c){return pe(c,z)}function O3(c,g){if(typeof c!="function"||g!=null&&typeof g!="function")throw new Ri(a);var C=function(){var O=arguments,B=g?g.apply(this,O):O[0],H=C.cache;if(H.has(B))return H.get(B);var J=c.apply(this,O);return C.cache=H.set(B,J)||H,J};return C.cache=new(O3.Cache||ha),C}O3.Cache=ha;function M3(c){if(typeof c!="function")throw new Ri(a);return function(){var g=arguments;switch(g.length){case 0:return!c.call(this);case 1:return!c.call(this,g[0]);case 2:return!c.call(this,g[0],g[1]);case 3:return!c.call(this,g[0],g[1],g[2])}return!c.apply(this,g)}}function DZ(c){return FT(2,c)}var NZ=Cw(function(c,g){g=g.length==1&&Ft(g[0])?Wn(g[0],Vr(Oe())):Wn(Ur(g,1),Vr(Oe()));var C=g.length;return Ot(function(O){for(var B=-1,H=fi(O.length,C);++B=g}),nh=og(function(){return arguments}())?og:function(c){return Br(c)&&un.call(c,"callee")&&!o1.call(c,"callee")},Ft=ve.isArray,ZZ=ci?Vr(ci):w1;function Ho(c){return c!=null&&I3(c.length)&&!Iu(c)}function Yr(c){return Br(c)&&Ho(c)}function QZ(c){return c===!0||c===!1||Br(c)&&Ci(c)==He}var rd=s3||Vw,JZ=Ro?Vr(Ro):C1;function eQ(c){return Br(c)&&c.nodeType===1&&!$1(c)}function tQ(c){if(c==null)return!0;if(Ho(c)&&(Ft(c)||typeof c=="string"||typeof c.splice=="function"||rd(c)||bg(c)||nh(c)))return!c.length;var g=ki(c);if(g==Le||g==Re)return!c.size;if(j1(c))return!Gr(c).length;for(var C in c)if(un.call(c,C))return!1;return!0}function nQ(c,g){return Xc(c,g)}function rQ(c,g,C){C=typeof C=="function"?C:n;var O=C?C(c,g):n;return O===n?Xc(c,g,n,C):!!O}function Iw(c){if(!Br(c))return!1;var g=Ci(c);return g==st||g==wt||typeof c.message=="string"&&typeof c.name=="string"&&!$1(c)}function iQ(c){return typeof c=="number"&&Wp(c)}function Iu(c){if(!wr(c))return!1;var g=Ci(c);return g==mt||g==St||g==ot||g==ln}function GT(c){return typeof c=="number"&&c==Vt(c)}function I3(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=U}function wr(c){var g=typeof c;return c!=null&&(g=="object"||g=="function")}function Br(c){return c!=null&&typeof c=="object"}var qT=co?Vr(co):ww;function oQ(c,g){return c===g||Zc(c,g,Rt(g))}function aQ(c,g,C){return C=typeof C=="function"?C:n,Zc(c,g,Rt(g),C)}function sQ(c){return YT(c)&&c!=+c}function lQ(c){if(UK(c))throw new It(o);return ag(c)}function uQ(c){return c===null}function cQ(c){return c==null}function YT(c){return typeof c=="number"||Br(c)&&Ci(c)==lt}function $1(c){if(!Br(c)||Ci(c)!=ut)return!1;var g=jc(c);if(g===null)return!0;var C=un.call(g,"constructor")&&g.constructor;return typeof C=="function"&&C instanceof C&&br.call(C)==Si}var Rw=Fa?Vr(Fa):Sr;function dQ(c){return GT(c)&&c>=-U&&c<=U}var KT=dl?Vr(dl):Ut;function R3(c){return typeof c=="string"||!Ft(c)&&Br(c)&&Ci(c)==Ye}function ba(c){return typeof c=="symbol"||Br(c)&&Ci(c)==Ke}var bg=X0?Vr(X0):ei;function fQ(c){return c===n}function hQ(c){return Br(c)&&ki(c)==Ne}function pQ(c){return Br(c)&&Ci(c)==Ct}var gQ=P(yl),mQ=P(function(c,g){return c<=g});function XT(c){if(!c)return[];if(Ho(c))return R3(c)?Xi(c):$i(c);if(Bc&&c[Bc])return e3(c[Bc]());var g=ki(c),C=g==Le?Fp:g==Re?If:Sg;return C(c)}function Ru(c){if(!c)return c===0?c:0;if(c=qa(c),c===Z||c===-Z){var g=c<0?-1:1;return g*Q}return c===c?c:0}function Vt(c){var g=Ru(c),C=g%1;return g===g?C?g-C:g:0}function ZT(c){return c?Tu(Vt(c),0,fe):0}function qa(c){if(typeof c=="number")return c;if(ba(c))return ie;if(wr(c)){var g=typeof c.valueOf=="function"?c.valueOf():c;c=wr(g)?g+"":g}if(typeof c!="string")return c===0?c:+c;c=fo(c);var C=H0.test(c);return C||W0.test(c)?it(c.slice(2),C?2:8):z0.test(c)?ie:+c}function QT(c){return Ua(c,Vo(c))}function vQ(c){return c?Tu(Vt(c),-U,U):c===0?c:0}function Ln(c){return c==null?"":go(c)}var yQ=mo(function(c,g){if(j1(g)||Ho(g)){Ua(g,Ei(g),c);return}for(var C in g)un.call(g,C)&&ml(c,C,g[C])}),JT=mo(function(c,g){Ua(g,Vo(g),c)}),D3=mo(function(c,g,C,O){Ua(g,Vo(g),c,O)}),bQ=mo(function(c,g,C,O){Ua(g,Ei(g),c,O)}),SQ=mr(Yp);function xQ(c,g){var C=Pu(c);return g==null?C:ct(C,g)}var wQ=Ot(function(c,g){c=mn(c);var C=-1,O=g.length,B=O>2?g[2]:n;for(B&&vo(g[0],g[1],B)&&(O=1);++C1),H}),Ua(c,me(c),C),O&&(C=wi(C,h|m|v,jt));for(var B=g.length;B--;)hg(C,g[B]);return C});function FQ(c,g){return tL(c,M3(Oe(g)))}var zQ=mr(function(c,g){return c==null?{}:E1(c,g)});function tL(c,g){if(c==null)return{};var C=Wn(me(c),function(O){return[O]});return g=Oe(g),sg(c,C,function(O,B){return g(O,B[0])})}function HQ(c,g,C){g=Cl(g,c);var O=-1,B=g.length;for(B||(B=1,c=n);++Og){var O=c;c=g,g=O}if(C||c%1||g%1){var B=l1();return fi(c+B*(g-c+ge("1e-"+((B+"").length-1))),g)}return qf(c,g)}var JQ=El(function(c,g,C){return g=g.toLowerCase(),c+(C?iL(g):g)});function iL(c){return jw(Ln(c).toLowerCase())}function oL(c){return c=Ln(c),c&&c.replace(G0,Jy).replace(Mp,"")}function eJ(c,g,C){c=Ln(c),g=go(g);var O=c.length;C=C===n?O:Tu(Vt(C),0,O);var B=C;return C-=g.length,C>=0&&c.slice(C,B)==g}function tJ(c){return c=Ln(c),c&&Ba.test(c)?c.replace(rl,Ss):c}function nJ(c){return c=Ln(c),c&&D0.test(c)?c.replace(vf,"\\$&"):c}var rJ=El(function(c,g,C){return c+(C?"-":"")+g.toLowerCase()}),iJ=El(function(c,g,C){return c+(C?" ":"")+g.toLowerCase()}),oJ=vg("toLowerCase");function aJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;if(!g||O>=g)return c;var B=(g-O)/2;return f(Eu(B),C)+c+f(Ff(B),C)}function sJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;return g&&O>>0,C?(c=Ln(c),c&&(typeof g=="string"||g!=null&&!Rw(g))&&(g=go(g),!g&&_u(c))?Es(Xi(c),0,C):c.split(g,C)):[]}var pJ=El(function(c,g,C){return c+(C?" ":"")+jw(g)});function gJ(c,g,C){return c=Ln(c),C=C==null?0:Tu(Vt(C),0,c.length),g=go(g),c.slice(C,C+g.length)==g}function mJ(c,g,C){var O=F.templateSettings;C&&vo(c,g,C)&&(g=n),c=Ln(c),g=D3({},g,O,ze);var B=D3({},g.imports,O.imports,ze),H=Ei(B),J=Mf(B,H),ne,ce,_e=0,Ee=g.interpolate||ol,Ie="__p += '",tt=Df((g.escape||ol).source+"|"+Ee.source+"|"+(Ee===yc?F0:ol).source+"|"+(g.evaluate||ol).source+"|$","g"),bt="//# sourceURL="+(un.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` +`)}function HK(c){return Ft(c)||nh(c)||!!(a1&&c&&c[a1])}function Mu(c,g){var C=typeof c;return g=g??W,!!g&&(C=="number"||C!="symbol"&&U0.test(c))&&c>-1&&c%1==0&&c0){if(++g>=te)return arguments[0]}else g=0;return c.apply(n,arguments)}}function P3(c,g){var C=-1,O=c.length,B=O-1;for(g=g===n?O:g;++C1?c[g-1]:n;return C=typeof C=="function"?(c.pop(),C):n,DT(c,C)});function NT(c){var g=F(c);return g.__chain__=!0,g}function JX(c,g){return g(c),c}function T3(c,g){return g(c)}var eZ=mr(function(c){var g=c.length,C=g?c[0]:0,O=this.__wrapped__,B=function(H){return Yp(H,c)};return g>1||this.__actions__.length||!(O instanceof Zt)||!Mu(C)?this.thru(B):(O=O.slice(C,+C+(g?1:0)),O.__actions__.push({func:T3,args:[B],thisArg:n}),new ho(O,this.__chain__).thru(function(H){return g&&!H.length&&H.push(n),H}))});function tZ(){return NT(this)}function nZ(){return new ho(this.value(),this.__chain__)}function rZ(){this.__values__===n&&(this.__values__=XT(this.value()));var c=this.__index__>=this.__values__.length,g=c?n:this.__values__[this.__index__++];return{done:c,value:g}}function iZ(){return this}function oZ(c){for(var g,C=this;C instanceof Vf;){var O=LT(C);O.__index__=0,O.__values__=n,g?B.__wrapped__=O:g=O;var B=O;C=C.__wrapped__}return B.__wrapped__=c,g}function aZ(){var c=this.__wrapped__;if(c instanceof Zt){var g=c;return this.__actions__.length&&(g=new Zt(this)),g=g.reverse(),g.__actions__.push({func:T3,args:[Lw],thisArg:n}),new ho(g,this.__chain__)}return this.thru(Lw)}function sZ(){return wl(this.__wrapped__,this.__actions__)}var lZ=gg(function(c,g,C){un.call(c,C)?++c[C]:pa(c,C,1)});function uZ(c,g,C){var O=Ft(c)?Vn:S1;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}function cZ(c,g){var C=Ft(c)?No:ma;return C(c,Oe(g,3))}var dZ=R1(AT),fZ=R1(OT);function hZ(c,g){return Ur(L3(c,g),1)}function pZ(c,g){return Ur(L3(c,g),Z)}function gZ(c,g,C){return C=C===n?1:Vt(C),Ur(L3(c,g),C)}function jT(c,g){var C=Ft(c)?Xn:Cs;return C(c,Oe(g,3))}function BT(c,g){var C=Ft(c)?Do:Zp;return C(c,Oe(g,3))}var mZ=gg(function(c,g,C){un.call(c,C)?c[C].push(g):pa(c,C,[g])});function vZ(c,g,C,O){c=Ho(c)?c:Sg(c),C=C&&!O?Vt(C):0;var B=c.length;return C<0&&(C=Rr(B+C,0)),R3(c)?C<=B&&c.indexOf(g,C)>-1:!!B&&Lc(c,g,C)>-1}var yZ=Ot(function(c,g,C){var O=-1,B=typeof g=="function",H=Ho(c)?ve(c.length):[];return Cs(c,function(J){H[++O]=B?Ii(g,J,C):_s(J,g,C)}),H}),bZ=gg(function(c,g,C){pa(c,C,g)});function L3(c,g){var C=Ft(c)?Wn:jr;return C(c,Oe(g,3))}function SZ(c,g,C,O){return c==null?[]:(Ft(g)||(g=g==null?[]:[g]),C=O?n:C,Ft(C)||(C=C==null?[]:[C]),ji(c,g,C))}var xZ=gg(function(c,g,C){c[C?0:1].push(g)},function(){return[[],[]]});function wZ(c,g,C){var O=Ft(c)?Ef:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Cs)}function CZ(c,g,C){var O=Ft(c)?Ky:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Zp)}function _Z(c,g){var C=Ft(c)?No:ma;return C(c,M3(Oe(g,3)))}function kZ(c){var g=Ft(c)?Gc:lg;return g(c)}function EZ(c,g,C){(C?vo(c,g,C):g===n)?g=1:g=Vt(g);var O=Ft(c)?xi:Yf;return O(c,g)}function PZ(c){var g=Ft(c)?Sw:_i;return g(c)}function TZ(c){if(c==null)return 0;if(Ho(c))return R3(c)?Ha(c):c.length;var g=ki(c);return g==Le||g==Re?c.size:Gr(c).length}function LZ(c,g,C){var O=Ft(c)?Pc:Fo;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}var AZ=Ot(function(c,g){if(c==null)return[];var C=g.length;return C>1&&vo(c,g[0],g[1])?g=[]:C>2&&vo(g[0],g[1],g[2])&&(g=[g[0]]),ji(c,Ur(g,1),[])}),A3=a3||function(){return kt.Date.now()};function OZ(c,g){if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){if(--c<1)return g.apply(this,arguments)}}function $T(c,g,C){return g=C?n:g,g=c&&g==null?c.length:g,pe(c,D,n,n,n,n,g)}function FT(c,g){var C;if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){return--c>0&&(C=g.apply(this,arguments)),c<=1&&(g=n),C}}var Ow=Ot(function(c,g,C){var O=k;if(C.length){var B=da(C,et(Ow));O|=I}return pe(c,O,g,C,B)}),zT=Ot(function(c,g,C){var O=k|E;if(C.length){var B=da(C,et(zT));O|=I}return pe(g,O,c,C,B)});function HT(c,g,C){g=C?n:g;var O=pe(c,T,n,n,n,n,n,g);return O.placeholder=HT.placeholder,O}function VT(c,g,C){g=C?n:g;var O=pe(c,A,n,n,n,n,n,g);return O.placeholder=VT.placeholder,O}function WT(c,g,C){var O,B,H,J,ne,ce,_e=0,Ee=!1,Ie=!1,tt=!0;if(typeof c!="function")throw new Ri(a);g=qa(g)||0,wr(C)&&(Ee=!!C.leading,Ie="maxWait"in C,H=Ie?Rr(qa(C.maxWait)||0,g):H,tt="trailing"in C?!!C.trailing:tt);function bt(Kr){var Ls=O,Du=B;return O=B=n,_e=Kr,J=c.apply(Du,Ls),J}function Pt(Kr){return _e=Kr,ne=B1(Qt,g),Ee?bt(Kr):J}function qt(Kr){var Ls=Kr-ce,Du=Kr-_e,uL=g-Ls;return Ie?fi(uL,H-Du):uL}function Tt(Kr){var Ls=Kr-ce,Du=Kr-_e;return ce===n||Ls>=g||Ls<0||Ie&&Du>=H}function Qt(){var Kr=A3();if(Tt(Kr))return on(Kr);ne=B1(Qt,qt(Kr))}function on(Kr){return ne=n,tt&&O?bt(Kr):(O=B=n,J)}function Sa(){ne!==n&&L1(ne),_e=0,O=ce=B=ne=n}function yo(){return ne===n?J:on(A3())}function xa(){var Kr=A3(),Ls=Tt(Kr);if(O=arguments,B=this,ce=Kr,Ls){if(ne===n)return Pt(ce);if(Ie)return L1(ne),ne=B1(Qt,g),bt(ce)}return ne===n&&(ne=B1(Qt,g)),J}return xa.cancel=Sa,xa.flush=yo,xa}var MZ=Ot(function(c,g){return b1(c,1,g)}),IZ=Ot(function(c,g,C){return b1(c,qa(g)||0,C)});function RZ(c){return pe(c,z)}function O3(c,g){if(typeof c!="function"||g!=null&&typeof g!="function")throw new Ri(a);var C=function(){var O=arguments,B=g?g.apply(this,O):O[0],H=C.cache;if(H.has(B))return H.get(B);var J=c.apply(this,O);return C.cache=H.set(B,J)||H,J};return C.cache=new(O3.Cache||ha),C}O3.Cache=ha;function M3(c){if(typeof c!="function")throw new Ri(a);return function(){var g=arguments;switch(g.length){case 0:return!c.call(this);case 1:return!c.call(this,g[0]);case 2:return!c.call(this,g[0],g[1]);case 3:return!c.call(this,g[0],g[1],g[2])}return!c.apply(this,g)}}function DZ(c){return FT(2,c)}var NZ=Cw(function(c,g){g=g.length==1&&Ft(g[0])?Wn(g[0],Vr(Oe())):Wn(Ur(g,1),Vr(Oe()));var C=g.length;return Ot(function(O){for(var B=-1,H=fi(O.length,C);++B=g}),nh=og(function(){return arguments}())?og:function(c){return Br(c)&&un.call(c,"callee")&&!o1.call(c,"callee")},Ft=ve.isArray,ZZ=ci?Vr(ci):w1;function Ho(c){return c!=null&&I3(c.length)&&!Iu(c)}function Yr(c){return Br(c)&&Ho(c)}function QZ(c){return c===!0||c===!1||Br(c)&&Ci(c)==He}var rd=s3||Vw,JZ=Ro?Vr(Ro):C1;function eQ(c){return Br(c)&&c.nodeType===1&&!$1(c)}function tQ(c){if(c==null)return!0;if(Ho(c)&&(Ft(c)||typeof c=="string"||typeof c.splice=="function"||rd(c)||bg(c)||nh(c)))return!c.length;var g=ki(c);if(g==Le||g==Re)return!c.size;if(j1(c))return!Gr(c).length;for(var C in c)if(un.call(c,C))return!1;return!0}function nQ(c,g){return Xc(c,g)}function rQ(c,g,C){C=typeof C=="function"?C:n;var O=C?C(c,g):n;return O===n?Xc(c,g,n,C):!!O}function Iw(c){if(!Br(c))return!1;var g=Ci(c);return g==st||g==wt||typeof c.message=="string"&&typeof c.name=="string"&&!$1(c)}function iQ(c){return typeof c=="number"&&Wp(c)}function Iu(c){if(!wr(c))return!1;var g=Ci(c);return g==mt||g==St||g==ot||g==ln}function GT(c){return typeof c=="number"&&c==Vt(c)}function I3(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=W}function wr(c){var g=typeof c;return c!=null&&(g=="object"||g=="function")}function Br(c){return c!=null&&typeof c=="object"}var qT=co?Vr(co):ww;function oQ(c,g){return c===g||Zc(c,g,Rt(g))}function aQ(c,g,C){return C=typeof C=="function"?C:n,Zc(c,g,Rt(g),C)}function sQ(c){return YT(c)&&c!=+c}function lQ(c){if(UK(c))throw new It(o);return ag(c)}function uQ(c){return c===null}function cQ(c){return c==null}function YT(c){return typeof c=="number"||Br(c)&&Ci(c)==lt}function $1(c){if(!Br(c)||Ci(c)!=ut)return!1;var g=jc(c);if(g===null)return!0;var C=un.call(g,"constructor")&&g.constructor;return typeof C=="function"&&C instanceof C&&br.call(C)==Si}var Rw=Fa?Vr(Fa):Sr;function dQ(c){return GT(c)&&c>=-W&&c<=W}var KT=dl?Vr(dl):Ut;function R3(c){return typeof c=="string"||!Ft(c)&&Br(c)&&Ci(c)==Ye}function ba(c){return typeof c=="symbol"||Br(c)&&Ci(c)==Ke}var bg=X0?Vr(X0):ei;function fQ(c){return c===n}function hQ(c){return Br(c)&&ki(c)==Ne}function pQ(c){return Br(c)&&Ci(c)==Ct}var gQ=P(yl),mQ=P(function(c,g){return c<=g});function XT(c){if(!c)return[];if(Ho(c))return R3(c)?Xi(c):$i(c);if(Bc&&c[Bc])return e3(c[Bc]());var g=ki(c),C=g==Le?Fp:g==Re?If:Sg;return C(c)}function Ru(c){if(!c)return c===0?c:0;if(c=qa(c),c===Z||c===-Z){var g=c<0?-1:1;return g*Q}return c===c?c:0}function Vt(c){var g=Ru(c),C=g%1;return g===g?C?g-C:g:0}function ZT(c){return c?Tu(Vt(c),0,fe):0}function qa(c){if(typeof c=="number")return c;if(ba(c))return ie;if(wr(c)){var g=typeof c.valueOf=="function"?c.valueOf():c;c=wr(g)?g+"":g}if(typeof c!="string")return c===0?c:+c;c=fo(c);var C=H0.test(c);return C||W0.test(c)?it(c.slice(2),C?2:8):z0.test(c)?ie:+c}function QT(c){return Ua(c,Vo(c))}function vQ(c){return c?Tu(Vt(c),-W,W):c===0?c:0}function Ln(c){return c==null?"":go(c)}var yQ=mo(function(c,g){if(j1(g)||Ho(g)){Ua(g,Ei(g),c);return}for(var C in g)un.call(g,C)&&ml(c,C,g[C])}),JT=mo(function(c,g){Ua(g,Vo(g),c)}),D3=mo(function(c,g,C,O){Ua(g,Vo(g),c,O)}),bQ=mo(function(c,g,C,O){Ua(g,Ei(g),c,O)}),SQ=mr(Yp);function xQ(c,g){var C=Pu(c);return g==null?C:ct(C,g)}var wQ=Ot(function(c,g){c=mn(c);var C=-1,O=g.length,B=O>2?g[2]:n;for(B&&vo(g[0],g[1],B)&&(O=1);++C1),H}),Ua(c,me(c),C),O&&(C=wi(C,h|m|v,jt));for(var B=g.length;B--;)hg(C,g[B]);return C});function FQ(c,g){return tL(c,M3(Oe(g)))}var zQ=mr(function(c,g){return c==null?{}:E1(c,g)});function tL(c,g){if(c==null)return{};var C=Wn(me(c),function(O){return[O]});return g=Oe(g),sg(c,C,function(O,B){return g(O,B[0])})}function HQ(c,g,C){g=Cl(g,c);var O=-1,B=g.length;for(B||(B=1,c=n);++Og){var O=c;c=g,g=O}if(C||c%1||g%1){var B=l1();return fi(c+B*(g-c+ge("1e-"+((B+"").length-1))),g)}return qf(c,g)}var JQ=El(function(c,g,C){return g=g.toLowerCase(),c+(C?iL(g):g)});function iL(c){return jw(Ln(c).toLowerCase())}function oL(c){return c=Ln(c),c&&c.replace(G0,Jy).replace(Mp,"")}function eJ(c,g,C){c=Ln(c),g=go(g);var O=c.length;C=C===n?O:Tu(Vt(C),0,O);var B=C;return C-=g.length,C>=0&&c.slice(C,B)==g}function tJ(c){return c=Ln(c),c&&Ba.test(c)?c.replace(rl,Ss):c}function nJ(c){return c=Ln(c),c&&D0.test(c)?c.replace(vf,"\\$&"):c}var rJ=El(function(c,g,C){return c+(C?"-":"")+g.toLowerCase()}),iJ=El(function(c,g,C){return c+(C?" ":"")+g.toLowerCase()}),oJ=vg("toLowerCase");function aJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;if(!g||O>=g)return c;var B=(g-O)/2;return f(Eu(B),C)+c+f(Ff(B),C)}function sJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;return g&&O>>0,C?(c=Ln(c),c&&(typeof g=="string"||g!=null&&!Rw(g))&&(g=go(g),!g&&_u(c))?Es(Xi(c),0,C):c.split(g,C)):[]}var pJ=El(function(c,g,C){return c+(C?" ":"")+jw(g)});function gJ(c,g,C){return c=Ln(c),C=C==null?0:Tu(Vt(C),0,c.length),g=go(g),c.slice(C,C+g.length)==g}function mJ(c,g,C){var O=F.templateSettings;C&&vo(c,g,C)&&(g=n),c=Ln(c),g=D3({},g,O,ze);var B=D3({},g.imports,O.imports,ze),H=Ei(B),J=Mf(B,H),ne,ce,_e=0,Ee=g.interpolate||ol,Ie="__p += '",tt=Df((g.escape||ol).source+"|"+Ee.source+"|"+(Ee===yc?F0:ol).source+"|"+(g.evaluate||ol).source+"|$","g"),bt="//# sourceURL="+(un.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` `;c.replace(tt,function(Tt,Qt,on,Sa,yo,xa){return on||(on=Sa),Ie+=c.slice(_e,xa).replace(q0,hl),Qt&&(ne=!0,Ie+=`' + __e(`+Qt+`) + '`),yo&&(ce=!0,Ie+=`'; @@ -473,10 +473,10 @@ __p += '`),on&&(Ie+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+Ie+`return __p -}`;var qt=sL(function(){return rn(H,bt+"return "+Ie).apply(n,J)});if(qt.source=Ie,Iw(qt))throw qt;return qt}function vJ(c){return Ln(c).toLowerCase()}function yJ(c){return Ln(c).toUpperCase()}function bJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return fo(c);if(!c||!(g=go(g)))return c;var O=Xi(c),B=Xi(g),H=ca(O,B),J=bs(O,B)+1;return Es(O,H,J).join("")}function SJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.slice(0,t1(c)+1);if(!c||!(g=go(g)))return c;var O=Xi(c),B=bs(O,Xi(g))+1;return Es(O,0,B).join("")}function xJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.replace(bc,"");if(!c||!(g=go(g)))return c;var O=Xi(c),B=ca(O,Xi(g));return Es(O,B).join("")}function wJ(c,g){var C=V,O=K;if(wr(g)){var B="separator"in g?g.separator:B;C="length"in g?Vt(g.length):C,O="omission"in g?go(g.omission):O}c=Ln(c);var H=c.length;if(_u(c)){var J=Xi(c);H=J.length}if(C>=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Rw(B)){if(c.slice(ne).search(B)){var _e,Ee=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;_e=B.exec(Ee);)var Ie=_e.index;ce=ce.slice(0,Ie===n?ne:Ie)}}else if(c.indexOf(go(B),ne)!=ne){var tt=ce.lastIndexOf(B);tt>-1&&(ce=ce.slice(0,tt))}return ce+O}function CJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var _J=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),jw=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?$p(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Iw(C)?C:new It(C)}}),kJ=mr(function(c,g){return Xn(g,function(C){C=Pl(C),pa(c,C,Ow(c[C],c))}),c});function EJ(c){var g=c==null?0:c.length,C=Oe();return c=g?Wn(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BU)return[];var C=fe,O=fi(c,fe);g=Oe(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Zt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Zt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Zt.prototype.toArray=function(){return this.take(fe)},va(Zt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=F[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&(F.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Zt,_e=ne[0],Ee=ce||Ft(J),Ie=function(Qt){var on=B.apply(F,za([Qt],ne));return O&&tt?on[0]:on};Ee&&C&&typeof _e=="function"&&_e.length!=1&&(ce=Ee=!1);var tt=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!tt,qt=ce&&!bt;if(!H&&Ee){J=qt?J:new Zt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Ie],thisArg:n}),new ho(Tt,tt)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Ie),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Xn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);F.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply(Ft(H)?H:[],B)}return this[C](function(J){return g.apply(Ft(J)?J:[],B)})}}),va(Zt.prototype,function(c,g){var C=F[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,k).name]=[{name:"wrapper",func:n}],Zt.prototype.clone=Zi,Zt.prototype.reverse=Ni,Zt.prototype.value=f3,F.prototype.at=eZ,F.prototype.chain=tZ,F.prototype.commit=nZ,F.prototype.next=rZ,F.prototype.plant=oZ,F.prototype.reverse=aZ,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=sZ,F.prototype.first=F.prototype.head,Bc&&(F.prototype[Bc]=iZ),F},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(Co)})(rxe,ke);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},ixe=.999,oxe=.1,axe=20,nv=.95,RI=30,s8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},sxe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),DW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],lxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",uxe=e=>e.kind==="line"&&e.layer==="base",W5=e=>e.kind==="image"&&e.layer==="base",cxe=e=>e.kind==="fillRect"&&e.layer==="base",dxe=e=>e.kind==="eraseRect"&&e.layer==="base",fxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},hxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},NW=cp({name:"canvas",initialState:hxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(ke.clamp(n.width,64,512),64),height:Ed(ke.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=sxe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(fxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(ke.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(W5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(W5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(ke.clamp(o,64,512),64),height:Ed(ke.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:jW,addFillRect:BW,addImageToStagingArea:pxe,addLine:gxe,addPointToCurrentLine:$W,clearCanvasHistory:FW,clearMask:nP,commitColorPickerColor:mxe,commitStagingAreaImage:vxe,discardStagedImages:yxe,fitBoundingBoxToStage:JFe,mouseLeftCanvas:bxe,nextStagingAreaImage:Sxe,prevStagingAreaImage:xxe,redo:wxe,resetCanvas:rP,resetCanvasInteractionState:Cxe,resetCanvasView:zW,resizeAndScaleCanvas:Rx,resizeCanvas:_xe,setBoundingBoxCoordinates:vC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:eze,setBoundingBoxScaleMethod:kxe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:Exe,setColorPickerColor:Pxe,setCursorPosition:Txe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:Dx,setIsDrawing:HW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:tze,setIsMoveStageKeyHeld:nze,setIsMovingBoundingBox:yC,setIsMovingStage:U5,setIsTransformingBoundingBox:bC,setLayer:G5,setMaskColor:VW,setMergedCanvas:Lxe,setShouldAutoSave:WW,setShouldCropToBoundingBoxOnSave:UW,setShouldDarkenOutsideBoundingBox:GW,setShouldLockBoundingBox:rze,setShouldPreserveMaskedArea:qW,setShouldShowBoundingBox:Axe,setShouldShowBrush:ize,setShouldShowBrushPreview:oze,setShouldShowCanvasDebugInfo:YW,setShouldShowCheckboardTransparency:aze,setShouldShowGrid:KW,setShouldShowIntermediates:XW,setShouldShowStagingImage:Oxe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:q5,setStageCoordinates:ZW,setStageScale:Mxe,setTool:tu,toggleShouldLockBoundingBox:sze,toggleTool:lze,undo:Ixe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:QW}=NW.actions,Rxe=NW.reducer,Dxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},JW=cp({name:"gallery",initialState:Dxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=ke.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:SC,removeImage:eU,setCurrentImage:jI,addGalleryImages:Nxe,setIntermediateImage:jxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:Bxe,setShouldShowGallery:Bd,setGalleryScrollPosition:$xe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:tU,setShouldAutoSwitchToNewImages:zxe,setCurrentCategory:kb,setGalleryWidth:Hxe,setShouldUseSingleGalleryColumn:Vxe}=JW.actions,Wxe=JW.reducer,Uxe={isLightboxOpen:!1},Gxe=Uxe,nU=cp({name:"lightbox",initialState:Gxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=nU.actions,qxe=nU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const Yxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?Yxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),Y5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Kxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),rU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Xxe=rU,iU=cp({name:"generation",initialState:Xxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=Y5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,typeof u>"u"?e.perlin=0:e.perlin=u,typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:E,init_image_path:k,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(k&&(e.initialImage=k),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof E=="boolean"&&(e.shouldFitToWidthHeight=E)),a&&a.length>0?(e.seedWeights=Y5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),typeof u>"u"?e.threshold=0:e.threshold=u,typeof d>"u"?e.perlin=0:e.perlin=d,typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...rU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:oU,resetParametersState:uze,resetSeed:cze,setAllImageToImageParameters:Zxe,setAllParameters:aU,setAllTextToImageParameters:dze,setCfgScale:sU,setHeight:lU,setImg2imgStrength:l8,setInfillMethod:uU,setInitialImage:k0,setIterations:Qxe,setMaskPath:cU,setParameter:fze,setPerlin:dU,setPrompt:Nx,setNegativePrompt:Q2,setSampler:fU,setSeamBlur:BI,setSeamless:hU,setSeamSize:$I,setSeamSteps:FI,setSeamStrength:zI,setSeed:Ny,setSeedWeights:pU,setShouldFitToWidthHeight:gU,setShouldGenerateVariations:Jxe,setShouldRandomizeSeed:ewe,setSteps:mU,setThreshold:vU,setTileSize:HI,setVariationAmount:twe,setWidth:yU}=iU.actions,nwe=iU.reducer,bU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingDenoising:.75,upscalingStrength:.75},rwe=bU,SU=cp({name:"postprocessing",initialState:rwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingDenoising:(e,t)=>{e.upscalingDenoising=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...bU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:hze,setCodeformerFidelity:xU,setFacetoolStrength:u8,setFacetoolType:I4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:iwe,setShouldRunESRGAN:owe,setShouldRunFacetool:awe,setUpscalingLevel:wU,setUpscalingDenoising:c8,setUpscalingStrength:d8}=SU.actions,swe=SU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lwe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CU(e){var t=lwe(e,"string");return Xs(t)==="symbol"?t:String(t)}function WI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.init(t,n)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||pwe,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function KI(e,t,n){var r=uP(e,t,Object),i=r.obj,o=r.k;i[o]=n}function vwe(e,t,n,r){var i=uP(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function K5(e,t){var n=uP(e,t),r=n.obj,i=n.k;if(r)return r[i]}function XI(e,t,n){var r=K5(e,n);return r!==void 0?r:K5(t,n)}function _U(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):_U(e[r],t[r],n):e[r]=t[r]);return e}function Mg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ywe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function bwe(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return ywe[t]}):e}var Bx=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Swe=[" ",",","?","!",";"];function xwe(e,t,n){t=t||"",n=n||"";var r=Swe.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function ZI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eb(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?kU(l,u,n):void 0}i=i[r[o]]}return i}}var _we=function(e){jx(n,e);var t=wwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pu(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,d=[i,o];a&&typeof a!="string"&&(d=d.concat(a)),a&&typeof a=="string"&&(d=d.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(d=i.split("."));var h=K5(this.data,d);return h||!u||typeof a!="string"?h:kU(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var d=[i,o];a&&(d=d.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(d=i.split("."),s=o,o=d[1]),this.addNamespaces(o),KI(this.data,d,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},d=[i,o];i.indexOf(".")>-1&&(d=i.split("."),s=a,a=o,o=d[1]),this.addNamespaces(o);var h=K5(this.data,d)||{};s?_U(h,a,l):h=Eb(Eb({},h),a),KI(this.data,d,h),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Eb(Eb({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Qd),EU={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function QI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function So(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var JI={},eR=function(e){jx(n,e);var t=kwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),mwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,$d(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=ql.create("translator"),i}return pu(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,d=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!xwe(i,a,s);if(u&&!d){var h=i.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Xs(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=this.extractFromKey(i[i.length-1],o),h=d.key,m=d.namespaces,v=m[m.length-1],b=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(S){var E=o.nsSeparator||this.options.nsSeparator;return l?(k.res="".concat(v).concat(E).concat(h),k):"".concat(v).concat(E).concat(h)}return l?(k.res=h,k):h}var k=this.resolve(i,o),_=k&&k.res,T=k&&k.usedKey||h,A=k&&k.exactUsedKey||h,I=Object.prototype.toString.apply(_),R=["[object Number]","[object Function]","[object RegExp]"],D=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=typeof _!="string"&&typeof _!="boolean"&&typeof _!="number";if(j&&_&&z&&R.indexOf(I)<0&&!(typeof D=="string"&&I==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var V=this.options.returnedObjectHandler?this.options.returnedObjectHandler(T,_,So(So({},o),{},{ns:m})):"key '".concat(h," (").concat(this.language,")' returned an object instead of string.");return l?(k.res=V,k):V}if(u){var K=I==="[object Array]",te=K?[]:{},q=K?A:T;for(var $ in _)if(Object.prototype.hasOwnProperty.call(_,$)){var W="".concat(q).concat(u).concat($);te[$]=this.translate(W,So(So({},o),{joinArrays:!1,ns:m})),te[$]===W&&(te[$]=_[$])}_=te}}else if(j&&typeof D=="string"&&I==="[object Array]")_=_.join(D),_&&(_=this.extendTranslation(_,i,o,a));else{var X=!1,Z=!1,U=o.count!==void 0&&typeof o.count!="string",Q=n.hasDefaultValue(o),ie=U?this.pluralResolver.getSuffix(b,o.count,o):"",fe=o["defaultValue".concat(ie)]||o.defaultValue;!this.isValidLookup(_)&&Q&&(X=!0,_=fe),this.isValidLookup(_)||(Z=!0,_=h);var Se=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Pe=Se&&Z?void 0:_,ye=Q&&fe!==_&&this.options.updateMissing;if(Z||X||ye){if(this.logger.log(ye?"updateKey":"missingKey",b,v,h,ye?fe:_),u){var We=this.resolve(h,So(So({},o),{},{keySeparator:!1}));We&&We.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var De=[],ot=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ot&&ot[0])for(var He=0;He1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,d,h;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var v=o.extractFromKey(m,a),b=v.key;l=b;var S=v.namespaces;o.options.fallbackNS&&(S=S.concat(o.options.fallbackNS));var E=a.count!==void 0&&typeof a.count!="string",k=E&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),_=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",T=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);S.forEach(function(A){o.isValidLookup(s)||(h=A,!JI["".concat(T[0],"-").concat(A)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(h)&&(JI["".concat(T[0],"-").concat(A)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(T.join(", "),`" won't get resolved as namespace "`).concat(h,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(function(I){if(!o.isValidLookup(s)){d=I;var R=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(R,b,I,A,a);else{var D;E&&(D=o.pluralResolver.getSuffix(I,a.count,a));var j="".concat(o.options.pluralSeparator,"zero");if(E&&(R.push(b+D),k&&R.push(b+j)),_){var z="".concat(b).concat(o.options.contextSeparator).concat(a.context);R.push(z),E&&(R.push(z+D),k&&R.push(z+j))}}for(var V;V=R.pop();)o.isValidLookup(s)||(u=V,s=o.getResource(I,A,V,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:d,usedNS:h}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(Qd);function xC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var tR=function(){function e(t){hu(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ql.create("languageUtils")}return pu(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=xC(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),Pwe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Twe={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Lwe=["v1","v2","v3"],nR={zero:0,one:1,two:2,few:3,many:4,other:5};function Awe(){var e={};return Pwe.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Twe[t.fc]}})}),e}var Owe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.languageUtils=t,this.options=n,this.logger=ql.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Awe()}return pu(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return nR[a]-nR[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Lwe.includes(this.options.compatibilityJSON)}}]),e}();function rR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pu(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:bwe,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Mg(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Mg(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Mg(r.nestingPrefix):r.nestingPrefixEscaped||Mg("$t("),this.nestingSuffix=r.nestingSuffix?Mg(r.nestingSuffix):r.nestingSuffixEscaped||Mg(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function h(E){return E.replace(/\$/g,"$$$$")}var m=function(k){if(k.indexOf(a.formatSeparator)<0){var _=XI(r,d,k);return a.alwaysFormat?a.format(_,void 0,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:k})):_}var T=k.split(a.formatSeparator),A=T.shift().trim(),I=T.join(a.formatSeparator).trim();return a.format(XI(r,d,A),I,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:A}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,S=[{regex:this.regexpUnescape,safeValue:function(k){return h(k)}},{regex:this.regexp,safeValue:function(k){return a.escapeValue?h(a.escape(k)):h(k)}}];return S.forEach(function(E){for(u=0;s=E.regex.exec(n);){var k=s[1].trim();if(l=m(k),l===void 0)if(typeof v=="function"){var _=v(n,s,o);l=typeof _=="string"?_:""}else if(o&&o.hasOwnProperty(k))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(k," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=YI(l));var T=E.safeValue(l);if(n=n.replace(s[0],T),b?(E.regex.lastIndex+=l.length,E.regex.lastIndex-=s[0].length):E.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,b){var S=this.nestingOptionsSeparator;if(v.indexOf(S)<0)return v;var E=v.split(new RegExp("".concat(S,"[ ]*{"))),k="{".concat(E[1]);v=E[0],k=this.interpolate(k,l);var _=k.match(/'/g),T=k.match(/"/g);(_&&_.length%2===0&&!T||T.length%2!==0)&&(k=k.replace(/'/g,'"'));try{l=JSON.parse(k),b&&(l=Rs(Rs({},b),l))}catch(A){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),A),"".concat(v).concat(S).concat(k)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var d=[];l=Rs({},o),l.applyPostProcessor=!1,delete l.defaultValue;var h=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=m.shift(),d=m,h=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=YI(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),h&&(s=d.reduce(function(v,b){return i.format(v,b,o.lng,Rs(Rs({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function iR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=hwe(s),u=l[0],d=l.slice(1),h=d.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=h),h==="false"&&(n[u.trim()]=!1),h==="true"&&(n[u.trim()]=!0),isNaN(h)||(n[u.trim()]=parseInt(h,10))}})}}return{formatName:t,formatOptions:n}}function Ig(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var Rwe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("formatter"),this.options=t,this.formats={number:Ig(function(n,r){var i=new Intl.NumberFormat(n,r);return function(o){return i.format(o)}}),currency:Ig(function(n,r){var i=new Intl.NumberFormat(n,ld(ld({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Ig(function(n,r){var i=new Intl.DateTimeFormat(n,ld({},r));return function(o){return i.format(o)}}),relativetime:Ig(function(n,r){var i=new Intl.RelativeTimeFormat(n,ld({},r));return function(o){return i.format(o,r.range||"day")}}),list:Ig(function(n,r){var i=new Intl.ListFormat(n,ld({},r));return function(o){return i.format(o)}})},this.init(t)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Ig(r)}},{key:"format",value:function(n,r,i,o){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,d){var h=Iwe(d),m=h.formatName,v=h.formatOptions;if(a.formats[m]){var b=u;try{var S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},E=S.locale||S.lng||o.locale||o.lng||i;b=a.formats[m](u,E,ld(ld(ld({},v),o),S))}catch(k){a.logger.warn(k)}return b}else a.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aR(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jwe(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Bwe=function(e){jx(n,e);var t=Dwe(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hu(this,n),a=t.call(this),Bx&&Qd.call($d(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=ql.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return pu(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},d={},h={},m={};return i.forEach(function(v){var b=!0;o.forEach(function(S){var E="".concat(v,"|").concat(S);!a.reload&&l.store.hasResourceBundle(v,S)?l.state[E]=2:l.state[E]<0||(l.state[E]===1?d[E]===void 0&&(d[E]=!0):(l.state[E]=1,b=!1,d[E]===void 0&&(d[E]=!0),u[E]===void 0&&(u[E]=!0),m[S]===void 0&&(m[S]=!0)))}),b||(h[v]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var d={};this.queue.forEach(function(h){vwe(h.loaded,[l],u),jwe(h,i),o&&h.errors.push(o),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(function(m){d[m]||(d[m]={});var v=h.loaded[m];v.length&&v.forEach(function(b){d[m][b]===void 0&&(d[m][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(function(h){return!h.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!i.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:d});return}this.readingCalls++;var h=function(S,E){if(s.readingCalls--,s.waitingReads.length>0){var k=s.waitingReads.shift();s.read(k.lng,k.ns,k.fcName,k.tried,k.wait,k.callback)}if(S&&E&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(d){a.loadOne(d)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(d,h){d&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),d),!d&&h&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),h),o.loaded(i,d,h)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var h=aR(aR({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var v;m.length===5?v=m(i,o,a,s,h):v=m(i,o,a,s),v&&typeof v.then=="function"?v.then(function(b){return d(null,b)}).catch(d):d(null,v)}catch(b){d(b)}else m(i,o,a,s,d,h)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(Qd);function sR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Xs(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Xs(t[2])==="object"||Xs(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function lR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(){}function zwe(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var X5=function(e){jx(n,e);var t=$we(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(hu(this,n),r=t.call(this),Bx&&Qd.call($d(r)),r.options=lR(i),r.services={},r.logger=ql,r.modules={external:[]},zwe($d(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),jy(r,$d(r));setTimeout(function(){r.init(i,o)},0)}return r}return pu(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=sR();this.options=Ml(Ml(Ml({},s),this.options),lR(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ml(Ml({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(k){return k?typeof k=="function"?new k:k:null}if(!this.options.isClone){this.modules.logger?ql.init(l(this.modules.logger),this.options):ql.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Rwe);var d=new tR(this.options);this.store=new _we(this.options.resources,this.options);var h=this.services;h.logger=ql,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Owe(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Mwe(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new Bwe(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(k){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[k].concat(T))}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new eR(this.services,this.options),this.translator.on("*",function(k){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[k].concat(T))}),this.modules.external.forEach(function(k){k.init&&k.init(i)})}if(this.format=this.options.interpolation.format,a||(a=Pb),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(k){i[k]=function(){var _;return(_=i.store)[k].apply(_,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(k){i[k]=function(){var _;return(_=i.store)[k].apply(_,arguments),i}});var S=iv(),E=function(){var _=function(A,I){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),S.resolve(I),a(A,I)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return _(null,i.t.bind(i));i.changeLanguage(i.options.lng,_)};return this.options.resources||!this.options.initImmediate?E():setTimeout(E,0),S}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],d=function(v){if(v){var b=o.services.languageUtils.toResolveHierarchy(v);b.forEach(function(S){u.indexOf(S)<0&&u.push(S)})}};if(l)d(l);else{var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.forEach(function(m){return d(m)})}this.options.preload&&this.options.preload.forEach(function(m){return d(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=iv();return i||(i=this.languages),o||(o=this.options.ns),a||(a=Pb),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&EU.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=iv();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},d=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var v=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(b){u(b,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(d,h){var m;if(Xs(h)!=="object"){for(var v=arguments.length,b=new Array(v>2?v-2:0),S=2;S1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var d=function(v,b){var S=o.services.backendConnector.state["".concat(v,"|").concat(b)];return S===-1||S===2};if(a.precheck){var h=a.precheck(this,d);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(s,i)&&(!l||d(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=iv();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=iv();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tR(sR());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=Ml(Ml(Ml({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(d){l[d]=i[d]}),l.services=Ml({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new eR(l.services,l.options),l.translator.on("*",function(d){for(var h=arguments.length,m=new Array(h>1?h-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new X5(e,t)});var zt=X5.createInstance();zt.createInstance=X5.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;function Hwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J2(e){return J2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J2(e)}function Vwe(e,t){if(J2(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(J2(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wwe(e){var t=Vwe(e,"string");return J2(t)==="symbol"?t:String(t)}function cR(e,t){for(var n=0;n0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!dR.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!dR.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},fR={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Kwe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(n=o[a].substring(s+1))}}}return n}},ov=null,hR=function(){if(ov!==null)return ov;try{ov=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ov=!1}return ov},Qwe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&hR()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&hR()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},av=null,pR=function(){if(av!==null)return av;try{av=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{av=!1}return av},Jwe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&pR()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&pR()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},e6e={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},t6e={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},n6e={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},r6e={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function i6e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var TU=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hwe(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Uwe(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Ywe(r,this.options||{},i6e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Xwe),this.addDetector(Zwe),this.addDetector(Qwe),this.addDetector(Jwe),this.addDetector(e6e),this.addDetector(t6e),this.addDetector(n6e),this.addDetector(r6e)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();TU.type="languageDetector";function h8(e){return h8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h8(e)}var LU=[],o6e=LU.forEach,a6e=LU.slice;function p8(e){return o6e.call(a6e.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function AU(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":h8(XMLHttpRequest))==="object"}function s6e(e){return!!e&&typeof e.then=="function"}function l6e(e){return s6e(e)?e:Promise.resolve(e)}function u6e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ey={},c6e={get exports(){return ey},set exports(e){ey=e}},o2={},d6e={get exports(){return o2},set exports(e){o2=e}},gR;function f6e(){return gR||(gR=1,function(e,t){var n=typeof self<"u"?self:Co,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l($){return $&&DataView.prototype.isPrototypeOf($)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function($){return $&&u.indexOf(Object.prototype.toString.call($))>-1};function h($){if(typeof $!="string"&&($=String($)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test($))throw new TypeError("Invalid character in header field name");return $.toLowerCase()}function m($){return typeof $!="string"&&($=String($)),$}function v($){var W={next:function(){var X=$.shift();return{done:X===void 0,value:X}}};return s.iterable&&(W[Symbol.iterator]=function(){return W}),W}function b($){this.map={},$ instanceof b?$.forEach(function(W,X){this.append(X,W)},this):Array.isArray($)?$.forEach(function(W){this.append(W[0],W[1])},this):$&&Object.getOwnPropertyNames($).forEach(function(W){this.append(W,$[W])},this)}b.prototype.append=function($,W){$=h($),W=m(W);var X=this.map[$];this.map[$]=X?X+", "+W:W},b.prototype.delete=function($){delete this.map[h($)]},b.prototype.get=function($){return $=h($),this.has($)?this.map[$]:null},b.prototype.has=function($){return this.map.hasOwnProperty(h($))},b.prototype.set=function($,W){this.map[h($)]=m(W)},b.prototype.forEach=function($,W){for(var X in this.map)this.map.hasOwnProperty(X)&&$.call(W,this.map[X],X,this)},b.prototype.keys=function(){var $=[];return this.forEach(function(W,X){$.push(X)}),v($)},b.prototype.values=function(){var $=[];return this.forEach(function(W){$.push(W)}),v($)},b.prototype.entries=function(){var $=[];return this.forEach(function(W,X){$.push([X,W])}),v($)},s.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S($){if($.bodyUsed)return Promise.reject(new TypeError("Already read"));$.bodyUsed=!0}function E($){return new Promise(function(W,X){$.onload=function(){W($.result)},$.onerror=function(){X($.error)}})}function k($){var W=new FileReader,X=E(W);return W.readAsArrayBuffer($),X}function _($){var W=new FileReader,X=E(W);return W.readAsText($),X}function T($){for(var W=new Uint8Array($),X=new Array(W.length),Z=0;Z-1?W:$}function j($,W){W=W||{};var X=W.body;if($ instanceof j){if($.bodyUsed)throw new TypeError("Already read");this.url=$.url,this.credentials=$.credentials,W.headers||(this.headers=new b($.headers)),this.method=$.method,this.mode=$.mode,this.signal=$.signal,!X&&$._bodyInit!=null&&(X=$._bodyInit,$.bodyUsed=!0)}else this.url=String($);if(this.credentials=W.credentials||this.credentials||"same-origin",(W.headers||!this.headers)&&(this.headers=new b(W.headers)),this.method=D(W.method||this.method||"GET"),this.mode=W.mode||this.mode||null,this.signal=W.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&X)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(X)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function z($){var W=new FormData;return $.trim().split("&").forEach(function(X){if(X){var Z=X.split("="),U=Z.shift().replace(/\+/g," "),Q=Z.join("=").replace(/\+/g," ");W.append(decodeURIComponent(U),decodeURIComponent(Q))}}),W}function V($){var W=new b,X=$.replace(/\r?\n[\t ]+/g," ");return X.split(/\r?\n/).forEach(function(Z){var U=Z.split(":"),Q=U.shift().trim();if(Q){var ie=U.join(":").trim();W.append(Q,ie)}}),W}I.call(j.prototype);function K($,W){W||(W={}),this.type="default",this.status=W.status===void 0?200:W.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in W?W.statusText:"OK",this.headers=new b(W.headers),this.url=W.url||"",this._initBody($)}I.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},K.error=function(){var $=new K(null,{status:0,statusText:""});return $.type="error",$};var te=[301,302,303,307,308];K.redirect=function($,W){if(te.indexOf(W)===-1)throw new RangeError("Invalid status code");return new K(null,{status:W,headers:{location:$}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(W,X){this.message=W,this.name=X;var Z=Error(W);this.stack=Z.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function q($,W){return new Promise(function(X,Z){var U=new j($,W);if(U.signal&&U.signal.aborted)return Z(new a.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function ie(){Q.abort()}Q.onload=function(){var fe={status:Q.status,statusText:Q.statusText,headers:V(Q.getAllResponseHeaders()||"")};fe.url="responseURL"in Q?Q.responseURL:fe.headers.get("X-Request-URL");var Se="response"in Q?Q.response:Q.responseText;X(new K(Se,fe))},Q.onerror=function(){Z(new TypeError("Network request failed"))},Q.ontimeout=function(){Z(new TypeError("Network request failed"))},Q.onabort=function(){Z(new a.DOMException("Aborted","AbortError"))},Q.open(U.method,U.url,!0),U.credentials==="include"?Q.withCredentials=!0:U.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&s.blob&&(Q.responseType="blob"),U.headers.forEach(function(fe,Se){Q.setRequestHeader(Se,fe)}),U.signal&&(U.signal.addEventListener("abort",ie),Q.onreadystatechange=function(){Q.readyState===4&&U.signal.removeEventListener("abort",ie)}),Q.send(typeof U._bodyInit>"u"?null:U._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=b,o.Request=j,o.Response=K),a.Headers=b,a.Request=j,a.Response=K,a.fetch=q,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(d6e,o2)),o2}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Co<"u"&&Co.fetch?n=Co.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof u6e<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||f6e();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(c6e,ey);const OU=ey,mR=rj({__proto__:null,default:OU},[ey]);function Z5(e){return Z5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z5(e)}var Yu;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Yu=global.fetch:typeof window<"u"&&window.fetch?Yu=window.fetch:Yu=fetch);var ty;AU()&&(typeof global<"u"&&global.XMLHttpRequest?ty=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ty=window.XMLHttpRequest));var Q5;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Q5=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Q5=window.ActiveXObject));!Yu&&mR&&!ty&&!Q5&&(Yu=OU||mR);typeof Yu!="function"&&(Yu=void 0);var g8=function(t,n){if(n&&Z5(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},vR=function(t,n,r){Yu(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},yR=!1,h6e=function(t,n,r,i){t.queryStringParams&&(n=g8(n,t.queryStringParams));var o=p8({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=p8({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},yR?{}:a);try{vR(n,s,i)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return i(l);try{Object.keys(a).forEach(function(u){delete s[u]}),vR(n,s,i),yR=!0}catch(u){i(u)}}},p6e=function(t,n,r,i){r&&Z5(r)==="object"&&(r=g8("",r).slice(1)),t.queryStringParams&&(n=g8(n,t.queryStringParams));try{var o;ty?o=new ty:o=new Q5("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(l){console&&console.log(l)}},g6e=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Yu&&n.indexOf("file:")!==0)return h6e(t,n,r,i);if(AU()||typeof ActiveXObject=="function")return p6e(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ny(e){return ny=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ny(e)}function m6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};m6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return v6e(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=p8(i,this.options||{},S6e()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,i)),l=l6e(l),l.then(function(u){if(!u)return a(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});s.loadUrl(d,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,d;try{typeof l.data=="string"?u=a.options.parse(l.data,i,o):u=l.data}catch{d="failed parsing "+n+" to json"}if(d)return r(d,!1);r(null,u)})}},{key:"create",value:function(n,r,i,o,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,i,o),u=0,d=[],h=[];n.forEach(function(m){var v=s.options.addPath;typeof s.options.addPath=="function"&&(v=s.options.addPath(m,r));var b=s.services.interpolator.interpolate(v,{lng:m,ns:r});s.options.request(s.options,b,l,function(S,E){u+=1,d.push(S),h.push(E),u===n.length&&a&&a(d,h)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,s=i.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(h){var m=o.toResolveHierarchy(h);m.forEach(function(v){l.indexOf(v)<0&&l.push(v)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(h){i.read(d,h,"read",null,null,function(m,v){m&&a.warn("loading namespace ".concat(h," for language ").concat(d," failed"),m),!m&&v&&a.log("loaded namespace ".concat(h," for language ").concat(d),v),i.loaded("".concat(d,"|").concat(h),m,v)})})})}}}]),e}();IU.type="backend";function ry(e){return ry=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ry(e)}function x6e(e,t){if(ry(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ry(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RU(e){var t=x6e(e,"string");return ry(t)==="symbol"?t:String(t)}function DU(e,t,n){return t=RU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w6e(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var d=t.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}function _6e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return m8("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,e))return!1}}):C6e(e,t,n)}var k6e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E6e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},P6e=function(t){return E6e[t]},T6e=function(t){return t.replace(k6e,P6e)};function wR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CR(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};v8=CR(CR({},v8),e)}function A6e(){return v8}var NU;function O6e(e){NU=e}function M6e(){return NU}function I6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(N6e)||{},i=r.i18n,o=r.defaultNS,a=n||i||M6e();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new j6e),!a){m8("You will need to pass in an i18next instance by using initReactI18next");var s=function(z){return Array.isArray(z)?z[z.length-1]:z},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&m8("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=wC(wC(wC({},A6e()),a.options.react),t),d=u.useSuspense,h=u.keyPrefix,m=e||o||a.options&&a.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(m);var v=(a.isInitialized||a.initializedStoreOnce)&&m.every(function(j){return _6e(j,a,u)});function b(){return a.getFixedT(null,u.nsMode==="fallback"?m:m[0],h)}var S=w.useState(b),E=H6e(S,2),k=E[0],_=E[1],T=m.join(),A=V6e(T),I=w.useRef(!0);w.useEffect(function(){var j=u.bindI18n,z=u.bindI18nStore;I.current=!0,!v&&!d&&xR(a,m,function(){I.current&&_(b)}),v&&A&&A!==T&&I.current&&_(b);function V(){I.current&&_(b)}return j&&a&&a.on(j,V),z&&a&&a.store.on(z,V),function(){I.current=!1,j&&a&&j.split(" ").forEach(function(K){return a.off(K,V)}),z&&a&&z.split(" ").forEach(function(K){return a.store.off(K,V)})}},[a,T]);var R=w.useRef(!0);w.useEffect(function(){I.current&&!R.current&&_(b),R.current=!1},[a,h]);var D=[k,a,v];if(D.t=k,D.i18n=a,D.ready=v,v||!v&&!d)return D;throw new Promise(function(j){xR(a,m,function(){j()})})}zt.use(IU).use(TU).use(D6e).init({fallbackLng:"en",debug:!1,ns:["common","gallery","hotkeys","parameters","settings","modelmanager","toast","tooltip","unifiedcanvas"],backend:{loadPath:"/locales/{{ns}}/{{lng}}.json"},interpolation:{escapeValue:!1},returnNull:!1});const W6e={isConnected:!1,isProcessing:!1,log:[],shouldShowLogViewer:!1,shouldDisplayInProgressType:"latents",shouldDisplayGuides:!0,isGFPGANAvailable:!0,isESRGANAvailable:!0,socketId:"",shouldConfirmOnDelete:!0,openAccordions:[],currentStep:0,totalSteps:0,currentIteration:0,totalIterations:0,currentStatus:zt.isInitialized?zt.t("common:statusDisconnected"):"Disconnected",currentStatusHasSteps:!1,model:"",model_id:"",model_hash:"",app_id:"",app_version:"",model_list:{},infill_methods:[],hasError:!1,wasErrorSeen:!0,isCancelable:!0,saveIntermediatesInterval:5,enableImageDebugging:!1,toastQueue:[],searchFolder:null,foundModels:null,openModel:null},jU=cp({name:"system",initialState:W6e,reducers:{setShouldDisplayInProgressType:(e,t)=>{e.shouldDisplayInProgressType=t.payload},setIsProcessing:(e,t)=>{e.isProcessing=t.payload},setCurrentStatus:(e,t)=>{e.currentStatus=t.payload},setSystemStatus:(e,t)=>({...e,...t.payload}),errorOccurred:e=>{e.hasError=!0,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusError"),e.wasErrorSeen=!1},errorSeen:e=>{e.hasError=!1,e.wasErrorSeen=!0,e.currentStatus=e.isConnected?zt.t("common:statusConnected"):zt.t("common:statusDisconnected")},addLogEntry:(e,t)=>{const{timestamp:n,message:r,level:i}=t.payload,a={timestamp:n,message:r,level:i||"info"};e.log.push(a)},setShouldShowLogViewer:(e,t)=>{e.shouldShowLogViewer=t.payload},setIsConnected:(e,t)=>{e.isConnected=t.payload,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.hasError=!1},setSocketId:(e,t)=>{e.socketId=t.payload},setShouldConfirmOnDelete:(e,t)=>{e.shouldConfirmOnDelete=t.payload},setOpenAccordions:(e,t)=>{e.openAccordions=t.payload},setSystemConfig:(e,t)=>({...e,...t.payload}),setShouldDisplayGuides:(e,t)=>{e.shouldDisplayGuides=t.payload},processingCanceled:e=>{e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusProcessingCanceled")},generationRequested:e=>{e.isProcessing=!0,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusPreparing")},setModelList:(e,t)=>{e.model_list=t.payload},setIsCancelable:(e,t)=>{e.isCancelable=t.payload},modelChangeRequested:e=>{e.currentStatus=zt.t("common:statusLoadingModel"),e.isCancelable=!1,e.isProcessing=!0,e.currentStatusHasSteps=!1},setSaveIntermediatesInterval:(e,t)=>{e.saveIntermediatesInterval=t.payload},setEnableImageDebugging:(e,t)=>{e.enableImageDebugging=t.payload},addToast:(e,t)=>{e.toastQueue.push(t.payload)},clearToastQueue:e=>{e.toastQueue=[]},setProcessingIndeterminateTask:(e,t)=>{e.isProcessing=!0,e.currentStatus=t.payload,e.currentStatusHasSteps=!1},setSearchFolder:(e,t)=>{e.searchFolder=t.payload},setFoundModels:(e,t)=>{e.foundModels=t.payload},setOpenModel:(e,t)=>{e.openModel=t.payload}}}),{setShouldDisplayInProgressType:U6e,setIsProcessing:Hs,addLogEntry:to,setShouldShowLogViewer:CC,setIsConnected:PR,setSocketId:pze,setShouldConfirmOnDelete:BU,setOpenAccordions:G6e,setSystemStatus:q6e,setCurrentStatus:R4,setSystemConfig:Y6e,setShouldDisplayGuides:K6e,processingCanceled:X6e,errorOccurred:TR,errorSeen:$U,setModelList:Tb,setIsCancelable:lm,modelChangeRequested:Z6e,setSaveIntermediatesInterval:Q6e,setEnableImageDebugging:J6e,generationRequested:eCe,addToast:Th,clearToastQueue:tCe,setProcessingIndeterminateTask:nCe,setSearchFolder:FU,setFoundModels:zU,setOpenModel:LR}=jU.actions,rCe=jU.reducer,cP=["txt2img","img2img","unifiedCanvas","nodes","postprocess","training"],iCe={activeTab:0,currentTheme:"dark",parametersPanelScrollPosition:0,shouldHoldParametersPanelOpen:!1,shouldPinParametersPanel:!0,shouldShowParametersPanel:!0,shouldShowDualDisplay:!0,shouldShowImageDetails:!1,shouldUseCanvasBetaLayout:!1,shouldShowExistingModelsInSearch:!1,addNewModelUIOption:null},oCe=iCe,HU=cp({name:"ui",initialState:oCe,reducers:{setActiveTab:(e,t)=>{typeof t.payload=="number"?e.activeTab=t.payload:e.activeTab=cP.indexOf(t.payload)},setCurrentTheme:(e,t)=>{e.currentTheme=t.payload},setParametersPanelScrollPosition:(e,t)=>{e.parametersPanelScrollPosition=t.payload},setShouldPinParametersPanel:(e,t)=>{e.shouldPinParametersPanel=t.payload},setShouldShowParametersPanel:(e,t)=>{e.shouldShowParametersPanel=t.payload},setShouldHoldParametersPanelOpen:(e,t)=>{e.shouldHoldParametersPanelOpen=t.payload},setShouldShowDualDisplay:(e,t)=>{e.shouldShowDualDisplay=t.payload},setShouldShowImageDetails:(e,t)=>{e.shouldShowImageDetails=t.payload},setShouldUseCanvasBetaLayout:(e,t)=>{e.shouldUseCanvasBetaLayout=t.payload},setShouldShowExistingModelsInSearch:(e,t)=>{e.shouldShowExistingModelsInSearch=t.payload},setAddNewModelUIOption:(e,t)=>{e.addNewModelUIOption=t.payload}}}),{setActiveTab:qo,setCurrentTheme:aCe,setParametersPanelScrollPosition:sCe,setShouldHoldParametersPanelOpen:lCe,setShouldPinParametersPanel:uCe,setShouldShowParametersPanel:Ku,setShouldShowDualDisplay:cCe,setShouldShowImageDetails:VU,setShouldUseCanvasBetaLayout:dCe,setShouldShowExistingModelsInSearch:fCe,setAddNewModelUIOption:zh}=HU.actions,hCe=HU.reducer,lu=Object.create(null);lu.open="0";lu.close="1";lu.ping="2";lu.pong="3";lu.message="4";lu.upgrade="5";lu.noop="6";const D4=Object.create(null);Object.keys(lu).forEach(e=>{D4[lu[e]]=e});const pCe={type:"error",data:"parser error"},gCe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",mCe=typeof ArrayBuffer=="function",vCe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,WU=({type:e,data:t},n,r)=>gCe&&t instanceof Blob?n?r(t):AR(t,r):mCe&&(t instanceof ArrayBuffer||vCe(t))?n?r(t):AR(new Blob([t]),r):r(lu[e]+(t||"")),AR=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+r)},n.readAsDataURL(e)},OR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r>4,d[i++]=(a&15)<<4|s>>2,d[i++]=(s&3)<<6|l&63;return u},bCe=typeof ArrayBuffer=="function",UU=(e,t)=>{if(typeof e!="string")return{type:"message",data:GU(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:SCe(e.substring(1),t)}:D4[n]?e.length>1?{type:D4[n],data:e.substring(1)}:{type:D4[n]}:pCe},SCe=(e,t)=>{if(bCe){const n=yCe(e);return GU(n,t)}else return{base64:!0,data:e}},GU=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},qU=String.fromCharCode(30),xCe=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{WU(o,!1,s=>{r[a]=s,++i===n&&t(r.join(qU))})})},wCe=(e,t)=>{const n=e.split(qU),r=[];for(let i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function KU(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const _Ce=setTimeout,kCe=clearTimeout;function $x(e,t){t.useNativeTimers?(e.setTimeoutFn=_Ce.bind(Pd),e.clearTimeoutFn=kCe.bind(Pd)):(e.setTimeoutFn=setTimeout.bind(Pd),e.clearTimeoutFn=clearTimeout.bind(Pd))}const ECe=1.33;function PCe(e){return typeof e=="string"?TCe(e):Math.ceil((e.byteLength||e.size)*ECe)}function TCe(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}class LCe extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class XU extends si{constructor(t){super(),this.writable=!1,$x(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new LCe(t,n,r)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=UU(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}}const ZU="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),y8=64,ACe={};let MR=0,Lb=0,IR;function RR(e){let t="";do t=ZU[e%y8]+t,e=Math.floor(e/y8);while(e>0);return t}function QU(){const e=RR(+new Date);return e!==IR?(MR=0,IR=e):e+"."+RR(MR++)}for(;Lb{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};wCe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,xCe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=QU()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new nu(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class nu extends si{constructor(t,n){super(),$x(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=KU(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new tG(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=nu.requestsCount++,nu.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=ICe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete nu.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}nu.requestsCount=0;nu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",DR);else if(typeof addEventListener=="function"){const e="onpagehide"in Pd?"pagehide":"unload";addEventListener(e,DR,!1)}}function DR(){for(let e in nu.requests)nu.requests.hasOwnProperty(e)&&nu.requests[e].abort()}const nG=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ab=Pd.WebSocket||Pd.MozWebSocket,NR=!0,NCe="arraybuffer",jR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class jCe extends XU{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=jR?{}:KU(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=NR&&!jR?n?new Ab(t,n):new Ab(t):new Ab(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||NCe,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const a={};try{NR&&this.ws.send(o)}catch{}i&&nG(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=QU()),this.supportsBinary||(t.b64=1);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!Ab}}const BCe={websocket:jCe,polling:DCe},$Ce=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FCe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function b8(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=$Ce.exec(e||""),o={},a=14;for(;a--;)o[FCe[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=zCe(o,o.path),o.queryKey=HCe(o,o.query),o}function zCe(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function HCe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let rG=class $g extends si{constructor(t,n={}){super(),t&&typeof t=="object"&&(n=t,t=null),t?(t=b8(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=b8(n.host).host),$x(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=OCe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=YU,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new BCe[t](r)}open(){let t;if(this.opts.rememberUpgrade&&$g.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;$g.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;$g.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,d(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function s(){a("transport closed")}function l(){a("socket closed")}function u(h){n&&h.name!==n.name&&o()}const d=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",$g.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){$g.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,iG=Object.prototype.toString,GCe=typeof Blob=="function"||typeof Blob<"u"&&iG.call(Blob)==="[object BlobConstructor]",qCe=typeof File=="function"||typeof File<"u"&&iG.call(File)==="[object FileConstructor]";function dP(e){return WCe&&(e instanceof ArrayBuffer||UCe(e))||GCe&&e instanceof Blob||qCe&&e instanceof File}function N4(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case cn.ACK:case cn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class QCe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=KCe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const JCe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:fP,Encoder:ZCe,get PacketType(){return cn},protocol:XCe},Symbol.toStringTag,{value:"Module"}));function Bs(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const e7e=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class oG extends si{constructor(t,n,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Bs(t,"open",this.onopen.bind(this)),Bs(t,"packet",this.onpacket.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(e7e.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');n.unshift(t);const r={type:cn.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,s=n.pop();this._registerAckCallback(a,s),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){const r=this.flags.timeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:cn.CONNECT,data:t})}):this.packet({type:cn.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case cn.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case cn.EVENT:case cn.BINARY_EVENT:this.onevent(t);break;case cn.ACK:case cn.BINARY_ACK:this.onack(t);break;case cn.DISCONNECT:this.ondisconnect();break;case cn.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t)}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:cn.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:cn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}E0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};E0.prototype.reset=function(){this.attempts=0};E0.prototype.setMin=function(e){this.ms=e};E0.prototype.setMax=function(e){this.max=e};E0.prototype.setJitter=function(e){this.jitter=e};class w8 extends si{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$x(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new E0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||JCe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new rG(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Bs(n,"open",function(){r.onopen(),t&&t()}),o=Bs(n,"error",a=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",a),t?t(a):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Bs(t,"ping",this.onping.bind(this)),Bs(t,"data",this.ondata.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this)),Bs(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){nG(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r||(r=new oG(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const sv={};function j4(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=VCe(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=sv[i]&&o in sv[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new w8(r,t):(sv[i]||(sv[i]=new w8(r,t)),l=sv[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(j4,{Manager:w8,Socket:oG,io:j4,connect:j4});const t7e=["ddim","plms","k_lms","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_dpmpp_2_a","k_euler","k_euler_a","k_heun"],n7e=["ddim","plms","k_lms","dpmpp_2","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_euler","k_euler_a","k_heun"],r7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],i7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],o7e=[{key:"2x",value:2},{key:"4x",value:4}],hP=0,pP=4294967295,a7e=["gfpgan","codeformer"],s7e=[{key:"None",value:"none"},{key:"Fast",value:"latents"},{key:"Accurate",value:"full-res"}];var l7e=Math.PI/180;function u7e(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const $m=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},pt={_global:$m,version:"8.3.14",isBrowser:u7e(),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle(e){return pt.angleDeg?e*l7e:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:typeof window<"u"&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return pt.DD.isDragging},isDragReady(){return!!pt.DD.node},releaseCanvasOnDestroy:!0,document:$m.document,_injectGlobal(e){$m.Konva=e}},Ar=e=>{pt[e.prototype.getClassName()]=e};pt._injectGlobal(pt);class ka{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new ka(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var n=this.m;return{x:n[0]*t.x+n[2]*t.y+n[4],y:n[1]*t.x+n[3]*t.y+n[5]}}translate(t,n){return this.m[4]+=this.m[0]*t+this.m[2]*n,this.m[5]+=this.m[1]*t+this.m[3]*n,this}scale(t,n){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=n,this.m[3]*=n,this}rotate(t){var n=Math.cos(t),r=Math.sin(t),i=this.m[0]*n+this.m[2]*r,o=this.m[1]*n+this.m[3]*r,a=this.m[0]*-r+this.m[2]*n,s=this.m[1]*-r+this.m[3]*n;return this.m[0]=i,this.m[1]=o,this.m[2]=a,this.m[3]=s,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,n){var r=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,o=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=i,this.m[2]=o,this.m[3]=a,this}multiply(t){var n=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],s=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*t,r=-this.m[1]*t,i=-this.m[2]*t,o=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),s=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}getMatrix(){return this.m}decompose(){var t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=this.m[4],a=this.m[5],s=t*i-n*r;let l={x:o,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(t!=0||n!=0){var u=Math.sqrt(t*t+n*n);l.rotation=n>0?Math.acos(t/u):-Math.acos(t/u),l.scaleX=u,l.scaleY=s/u,l.skewX=(t*r+n*i)/s,l.skewY=0}else if(r!=0||i!=0){var d=Math.sqrt(r*r+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-r/d):-Math.acos(r/d)),l.scaleX=s/d,l.scaleY=d,l.skewX=0,l.skewY=(t*r+n*i)/s}return l.rotation=de._getRotation(l.rotation),l}}var c7e="[object Array]",d7e="[object Number]",f7e="[object String]",h7e="[object Boolean]",p7e=Math.PI/180,g7e=180/Math.PI,_C="#",m7e="",v7e="0",y7e="Konva warning: ",BR="Konva error: ",b7e="rgb(",kC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},S7e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Ob=[];const x7e=typeof requestAnimationFrame<"u"&&requestAnimationFrame||function(e){setTimeout(e,60)},de={_isElement(e){return!!(e&&e.nodeType==1)},_isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject(e){return!!e&&e.constructor===Object},_isArray(e){return Object.prototype.toString.call(e)===c7e},_isNumber(e){return Object.prototype.toString.call(e)===d7e&&!isNaN(e)&&isFinite(e)},_isString(e){return Object.prototype.toString.call(e)===f7e},_isBoolean(e){return Object.prototype.toString.call(e)===h7e},isObject(e){return e instanceof Object},isValidSelector(e){if(typeof e!="string")return!1;var t=e[0];return t==="#"||t==="."||t===t.toUpperCase()},_sign(e){return e===0||e>0?1:-1},requestAnimFrame(e){Ob.push(e),Ob.length===1&&x7e(function(){const t=Ob;Ob=[],t.forEach(function(n){n()})})},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch{}return e},createImageElement(){return document.createElement("img")},_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=de.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex(e,t,n){return((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},_hexToRgb(e){e=e.replace(_C,m7e);var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}},getRandomColor(){for(var e=(Math.random()*16777215<<0).toString(16);e.length<6;)e=v7e+e;return _C+e},getRGB(e){var t;return e in kC?(t=kC[e],{r:t[0],g:t[1],b:t[2]}):e[0]===_C?this._hexToRgb(e.substring(1)):e.substr(0,4)===b7e?(t=S7e.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA(e){return e=e||"black",de._namedColorToRBA(e)||de._hex3ColorToRGBA(e)||de._hex6ColorToRGBA(e)||de._rgbColorToRGBA(e)||de._rgbaColorToRGBA(e)||de._hslColorToRGBA(e)},_namedColorToRBA(e){var t=kC[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(e.indexOf("rgb(")===0){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(e.indexOf("rgba(")===0){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map((n,r)=>n.slice(-1)==="%"?r===3?parseInt(n)/100:parseInt(n)/100*255:Number(n));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if(e[0]==="#"&&e.length===7)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if(e[0]==="#"&&e.length===4)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100;let a,s,l;if(i===0)return l=o*255,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};o<.5?a=o*(1+i):a=o+i-o*i;const u=2*o-a,d=[0,0,0];for(let h=0;h<3;h++)s=r+1/3*-(h-1),s<0&&s++,s>1&&s--,6*s<1?l=u+(a-u)*6*s:2*s<1?l=a:3*s<2?l=u+(a-u)*(2/3-s)*6:l=u,d[h]=l*255;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height1?(a=n,s=r,l=(n-i)*(n-i)+(r-o)*(r-o)):(a=e+d*(n-e),s=t+d*(r-t),l=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,l]},_getProjectionToLine(e,t,n){var r=de.cloneObject(e),i=Number.MAX_VALUE;return t.forEach(function(o,a){if(!(!n&&a===t.length-1)){var s=t[(a+1)%t.length],l=de._getProjectionToSegment(o.x,o.y,s.x,s.y,e.x,e.y),u=l[0],d=l[1],h=l[2];ht.length){var a=t;t=e,e=a}for(r=0;r{t.width=0,t.height=0})}};function df(e){return de._isString(e)?'"'+e+'"':Object.prototype.toString.call(e)==="[object Number]"||de._isBoolean(e)?e:Object.prototype.toString.call(e)}function aG(e){return e>255?255:e<0?0:Math.round(e)}function qe(){if(pt.isUnminified)return function(e,t){return de._isNumber(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function sG(e){if(pt.isUnminified)return function(t,n){let r=de._isNumber(t),i=de._isArray(t)&&t.length==e;return!r&&!i&&de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}}function gP(){if(pt.isUnminified)return function(e,t){var n=de._isNumber(e),r=e==="auto";return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function P0(){if(pt.isUnminified)return function(e,t){return de._isString(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function lG(){if(pt.isUnminified)return function(e,t){const n=de._isString(e),r=Object.prototype.toString.call(e)==="[object CanvasGradient]"||e&&e.addColorStop;return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function w7e(){if(pt.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(de._isArray(e)?e.forEach(function(r){de._isNumber(r)||de.warn('"'+t+'" attribute has non numeric element '+r+". Make sure that all elements are numbers.")}):de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function nl(){if(pt.isUnminified)return function(e,t){var n=e===!0||e===!1;return n||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function C7e(e){if(pt.isUnminified)return function(t,n){return t==null||de.isObject(t)||de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}var lv="get",uv="set";const ee={addGetterSetter(e,t,n,r,i){ee.addGetter(e,t,n),ee.addSetter(e,t,r,i),ee.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=lv+de._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var i=this.attrs[t];return i===void 0?n:i}},addSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]||ee.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]=function(o){return n&&o!==void 0&&o!==null&&(o=n.call(this,o,t)),this._setAttr(t,o),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o=n.length,a=de._capitalize,s=lv+a(t),l=uv+a(t),u,d;e.prototype[s]=function(){var m={};for(u=0;u{this._setAttr(t+a(S),void 0)}),this._fireChangeEvent(t,v,m),i&&i.call(this),this},ee.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=de._capitalize(t),r=uv+n,i=lv+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[i]()}},addDeprecatedGetterSetter(e,t,n,r){de.error("Adding deprecated "+t);var i=lv+de._capitalize(t),o=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){de.error(o);var a=this.attrs[t];return a===void 0?n:a},ee.addSetter(e,t,r,function(){de.error(o)}),ee.addOverloadedGetterSetter(e,t)},backCompat(e,t){de.each(t,function(n,r){var i=e.prototype[r],o=lv+de._capitalize(n),a=uv+de._capitalize(n);function s(){i.apply(this,arguments),de.error('"'+n+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}e.prototype[n]=s,e.prototype[o]=s,e.prototype[a]=s})},afterSetFilter(){this._filterUpToDate=!1}};function _7e(e){var t=[],n=e.length,r=de,i,o;for(i=0;itypeof d=="number"?Math.floor(d):d)),o+=k7e+u.join($R)+E7e)):(o+=s.property,t||(o+=O7e+s.val)),o+=L7e;return o}clearTrace(){this.traceArr=[]}_trace(t){var n=this.traceArr,r;n.push(t),r=n.length,r>=I7e&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var n=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}_applyLineCap(t){var n=t.getLineCap();n&&this.setAttr("lineCap",n)}_applyOpacity(t){var n=t.getAbsoluteOpacity();n!==1&&this.setAttr("globalAlpha",n)}_applyLineJoin(t){var n=t.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}setAttr(t,n){this._context[t]=n}arc(t,n,r,i,o,a){this._context.arc(t,n,r,i,o,a)}arcTo(t,n,r,i,o){this._context.arcTo(t,n,r,i,o)}beginPath(){this._context.beginPath()}bezierCurveTo(t,n,r,i,o,a){this._context.bezierCurveTo(t,n,r,i,o,a)}clearRect(t,n,r,i){this._context.clearRect(t,n,r,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,n){var r=arguments;if(r.length===2)return this._context.createImageData(t,n);if(r.length===1)return this._context.createImageData(t)}createLinearGradient(t,n,r,i){return this._context.createLinearGradient(t,n,r,i)}createPattern(t,n){return this._context.createPattern(t,n)}createRadialGradient(t,n,r,i,o,a){return this._context.createRadialGradient(t,n,r,i,o,a)}drawImage(t,n,r,i,o,a,s,l,u){var d=arguments,h=this._context;d.length===3?h.drawImage(t,n,r):d.length===5?h.drawImage(t,n,r,i,o):d.length===9&&h.drawImage(t,n,r,i,o,a,s,l,u)}ellipse(t,n,r,i,o,a,s,l){this._context.ellipse(t,n,r,i,o,a,s,l)}isPointInPath(t,n){return this._context.isPointInPath(t,n)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,n,r,i){this._context.fillRect(t,n,r,i)}strokeRect(t,n,r,i){this._context.strokeRect(t,n,r,i)}fillText(t,n,r,i){i?this._context.fillText(t,n,r,i):this._context.fillText(t,n,r)}measureText(t){return this._context.measureText(t)}getImageData(t,n,r,i){return this._context.getImageData(t,n,r,i)}lineTo(t,n){this._context.lineTo(t,n)}moveTo(t,n){this._context.moveTo(t,n)}rect(t,n,r,i){this._context.rect(t,n,r,i)}putImageData(t,n,r){this._context.putImageData(t,n,r)}quadraticCurveTo(t,n,r,i){this._context.quadraticCurveTo(t,n,r,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,n){this._context.scale(t,n)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,n,r,i,o,a){this._context.setTransform(t,n,r,i,o,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,n,r,i){this._context.strokeText(t,n,r,i)}transform(t,n,r,i,o,a){this._context.transform(t,n,r,i,o,a)}translate(t,n){this._context.translate(t,n)}_enableTrace(){var t=this,n=FR.length,r=this.setAttr,i,o,a=function(s){var l=t[s],u;t[s]=function(){return o=_7e(Array.prototype.slice.call(arguments,0)),u=l.apply(t,arguments),t._trace({method:s,args:o}),u}};for(i=0;i{t.dragStatus==="dragging"&&(e=!0)}),e},justDragged:!1,get node(){var e;return vn._dragElements.forEach(t=>{e=t.node}),e},_dragElements:new Map,_drag(e){const t=[];vn._dragElements.forEach((n,r)=>{const{node:i}=n,o=i.getStage();o.setPointersPositions(e),n.pointerId===void 0&&(n.pointerId=de._getFirstPointerId(e));const a=o._changedPointerPositions.find(u=>u.id===n.pointerId);if(a){if(n.dragStatus!=="dragging"){var s=i.dragDistance(),l=Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y));if(l{n.fire("dragmove",{type:"dragmove",target:n,evt:e},!0)})},_endDragBefore(e){const t=[];vn._dragElements.forEach(n=>{const{node:r}=n,i=r.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find(s=>s.id===n.pointerId))return;(n.dragStatus==="dragging"||n.dragStatus==="stopped")&&(vn.justDragged=!0,pt._mouseListenClick=!1,pt._touchListenClick=!1,pt._pointerListenClick=!1,n.dragStatus="stopped");const a=n.node.getLayer()||n.node instanceof pt.Stage&&n.node;a&&t.indexOf(a)===-1&&t.push(a)}),t.forEach(n=>{n.draw()})},_endDragAfter(e){vn._dragElements.forEach((t,n)=>{t.dragStatus==="stopped"&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),t.dragStatus!=="dragging"&&vn._dragElements.delete(n)})}};pt.isBrowser&&(window.addEventListener("mouseup",vn._endDragBefore,!0),window.addEventListener("touchend",vn._endDragBefore,!0),window.addEventListener("mousemove",vn._drag),window.addEventListener("touchmove",vn._drag),window.addEventListener("mouseup",vn._endDragAfter,!1),window.addEventListener("touchend",vn._endDragAfter,!1));var B4="absoluteOpacity",Ib="allEventListeners",Fu="absoluteTransform",zR="absoluteScale",ah="canvas",j7e="Change",B7e="children",$7e="konva",C8="listening",HR="mouseenter",VR="mouseleave",WR="set",UR="Shape",$4=" ",GR="stage",fd="transform",F7e="Stage",_8="visible",z7e=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join($4);let H7e=1,Ze=class k8{constructor(t){this._id=H7e++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){(t===fd||t===Fu)&&this._cache.get(t)?this._cache.get(t).dirty=!0:t?this._cache.delete(t):this._cache.clear()}_getCache(t,n){var r=this._cache.get(t),i=t===fd||t===Fu,o=r===void 0||i&&r.dirty===!0;return o&&(r=n.call(this),this._cache.set(t,r)),r}_calculate(t,n,r){if(!this._attachedDepsListeners.get(t)){const i=n.map(o=>o+"Change.konva").join($4);this.on(i,()=>{this._clearCache(t)}),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)}_getCanvasCache(){return this._cache.get(ah)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===Fu&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(ah)){const{scene:t,filter:n,hit:r}=this._cache.get(ah);de.releaseCanvas(t,n,r),this._cache.delete(ah)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var n=t||{},r={};(n.x===void 0||n.y===void 0||n.width===void 0||n.height===void 0)&&(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(n.width||r.width),o=Math.ceil(n.height||r.height),a=n.pixelRatio,s=n.x===void 0?Math.floor(r.x):n.x,l=n.y===void 0?Math.floor(r.y):n.y,u=n.offset||0,d=n.drawBorder||!1,h=n.hitCanvasPixelRatio||1;if(!i||!o){de.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");return}i+=u*2+1,o+=u*2+1,s-=u,l-=u;var m=new Fm({pixelRatio:a,width:i,height:o}),v=new Fm({pixelRatio:a,width:0,height:0}),b=new mP({pixelRatio:h,width:i,height:o}),S=m.getContext(),E=b.getContext();return b.isCache=!0,m.isCache=!0,this._cache.delete(ah),this._filterUpToDate=!1,n.imageSmoothingEnabled===!1&&(m.getContext()._context.imageSmoothingEnabled=!1,v.getContext()._context.imageSmoothingEnabled=!1),S.save(),E.save(),S.translate(-s,-l),E.translate(-s,-l),this._isUnderCache=!0,this._clearSelfAndDescendantCache(B4),this._clearSelfAndDescendantCache(zR),this.drawScene(m,this),this.drawHit(b,this),this._isUnderCache=!1,S.restore(),E.restore(),d&&(S.save(),S.beginPath(),S.rect(0,0,i,o),S.closePath(),S.setAttr("strokeStyle","red"),S.setAttr("lineWidth",5),S.stroke(),S.restore()),this._cache.set(ah,{scene:m,filter:v,hit:b,x:s,y:l}),this._requestDraw(),this}isCached(){return this._cache.has(ah)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,n){var r=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],i,o,a,s,l=this.getAbsoluteTransform(n);return r.forEach(function(u){var d=l.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),{x:i,y:o,width:a-i,height:s-o}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const n=this._getCanvasCache();t.translate(n.x,n.y);var r=this._getCachedSceneCanvas(),i=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/i,r.height/i),t.restore()}_drawCachedHitCanvas(t){var n=this._getCanvasCache(),r=n.hit;t.save(),t.translate(n.x,n.y),t.drawImage(r._canvas,0,0,r.width/r.pixelRatio,r.height/r.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t=this.filters(),n=this._getCanvasCache(),r=n.scene,i=n.filter,o=i.getContext(),a,s,l,u;if(t){if(!this._filterUpToDate){var d=r.pixelRatio;i.setSize(r.width/r.pixelRatio,r.height/r.pixelRatio);try{for(a=t.length,o.clear(),o.drawImage(r._canvas,0,0,r.getWidth()/d,r.getHeight()/d),s=o.getImageData(0,0,i.getWidth(),i.getHeight()),l=0;l{var n,r;if(!t)return this;for(n in t)n!==B7e&&(r=WR+de._capitalize(n),de._isFunction(this[r])?this[r](t[n]):this._setAttr(n,t[n]))}),this}isListening(){return this._getCache(C8,this._isListening)}_isListening(t){if(!this.listening())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isListening(t):!0}isVisible(){return this._getCache(_8,this._isVisible)}_isVisible(t){if(!this.visible())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isVisible(t):!0}shouldDrawHit(t,n=!1){if(t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),i=!1;vn._dragElements.forEach(a=>{a.dragStatus==="dragging"&&(a.node.nodeType==="Stage"||a.node.getLayer()===r)&&(i=!0)});var o=!n&&!pt.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t=this.getDepth(),n=this,r=0,i,o,a,s;function l(u){for(i=[],o=u.length,a=0;a0&&i[0].getDepth()<=t&&l(i)}return n.nodeType!==F7e&&l(n.getStage().getChildren()),r}getDepth(){for(var t=0,n=this.parent;n;)t++,n=n.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(fd),this._clearSelfAndDescendantCache(Fu)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges(()=>{this.x(t.x),this.y(t.y)}),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(t){let n=!1,r=this.parent;for(;r;){if(r.isCached()){n=!0;break}r=r.parent}n&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new ka,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()}setAbsolutePosition(t){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(fd);var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this._clearCache(fd),this._clearSelfAndDescendantCache(Fu),this}_setTransform(t){var n;for(n in t)this.attrs[n]=t[n]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var n=t.x,r=t.y,i=this.x(),o=this.y();return n!==void 0&&(i+=n),r!==void 0&&(o+=r),this.setPosition({x:i,y:o}),this}_eachAncestorReverse(t,n){var r=[],i=this.getParent(),o,a;if(!(n&&n._id===this._id)){for(r.unshift(this);i&&(!n||i._id!==n._id);)r.unshift(i),i=i.parent;for(o=r.length,a=0;a0?(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0):!1}moveToBottom(){if(!this.parent)return de.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0?(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0):!1}setZIndex(t){if(!this.parent)return de.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&de.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(B4,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(t*=n.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t={},n=this.getAttrs(),r,i,o,a,s;t.attrs={};for(r in n)i=n[r],s=de.isObject(i)&&!de._isPlainObject(i)&&!de._isArray(i),!s&&(o=typeof this[r]=="function"&&this[r],delete n[r],a=o?o.call(this):null,n[r]=i,a!==i&&(t.attrs[r]=i));return t.className=this.getClassName(),de._prepareToStringify(t)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,n,r){var i=[];n&&this._isMatch(t)&&i.push(this);for(var o=this.parent;o;){if(o===r)return i;o._isMatch(t)&&i.push(o),o=o.parent}return i}isAncestorOf(t){return!1}findAncestor(t,n,r){return this.findAncestors(t,n,r)[0]}_isMatch(t){if(!t)return!1;if(typeof t=="function")return t(this);var n=t.replace(/ /g,"").split(","),r=n.length,i,o;for(i=0;i{try{const i=t==null?void 0:t.callback;i&&delete t.callback,de._urlToImage(this.toDataURL(t),function(o){n(o),i==null||i(o)})}catch(i){r(i)}})}toBlob(t){return new Promise((n,r)=>{try{const i=t==null?void 0:t.callback;i&&delete t.callback,this.toCanvas(t).toBlob(o=>{n(o),i==null||i(o)})}catch(i){r(i)}})}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return this.attrs.dragDistance!==void 0?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():pt.dragDistance}_off(t,n,r){var i=this.eventListeners[t],o,a,s;for(o=0;o=0;if(r&&!this.isDragging()){var i=!1;vn._dragElements.forEach(o=>{this.isAncestorOf(o.node)&&(i=!0)}),i||this._createDragElement(t)}})}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const n=vn._dragElements.get(this._id),r=n&&n.dragStatus==="dragging",i=n&&n.dragStatus==="ready";r?this.stopDrag():i&&vn._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const n=this.getStage();if(!n)return!1;const r={x:-t.x,y:-t.y,width:n.width()+2*t.x,height:n.height()+2*t.y};return de.haveIntersection(r,this.getClientRect())}static create(t,n){return de._isString(t)&&(t=JSON.parse(t)),this._createNode(t,n)}static _createNode(t,n){var r=k8.prototype.getClassName.call(t),i=t.children,o,a,s;n&&(t.attrs.container=n),pt[r]||(de.warn('Can not find a node with class name "'+r+'". Fallback to "Shape".'),r="Shape");const l=pt[r];if(o=new l(t.attrs),i)for(a=i.length,s=0;s0}removeChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.remove()}),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.destroy()}),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var n=0;n0?n[0]:void 0}_generalFind(t,n){var r=[];return this._descendants(i=>{const o=i._isMatch(t);return o&&r.push(i),!!(o&&n)}),r}_descendants(t){let n=!1;const r=this.getChildren();for(const i of r){if(n=t(i),n)return!0;if(i.hasChildren()&&(n=i._descendants(t),n))return!0}return!1}toObject(){var t=Ze.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach(n=>{t.children.push(n.toObject())}),t}isAncestorOf(t){for(var n=t.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}clone(t){var n=Ze.prototype.clone.call(this,t);return this.getChildren().forEach(function(r){n.add(r.clone())}),n}getAllIntersections(t){var n=[];return this.find("Shape").forEach(function(r){r.isVisible()&&r.intersects(t)&&n.push(r)}),n}_clearSelfAndDescendantCache(t){var n;super._clearSelfAndDescendantCache(t),!this.isCached()&&((n=this.children)===null||n===void 0||n.forEach(function(r){r._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;(t=this.children)===null||t===void 0||t.forEach(function(n,r){n.index=r}),this._requestDraw()}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas(),o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.scene,l=i&&i.isCache;if(!this.isVisible()&&!l)return this;if(s){o.save();var u=this.getAbsoluteTransform(n).getMatrix();o.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",i,n);return this}drawHit(t,n){if(!this.shouldDrawHit(n))return this;var r=this.getLayer(),i=t||r&&r.hitCanvas,o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.hit;if(s){o.save();var l=this.getAbsoluteTransform(n).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",i,n);return this}_drawChildren(t,n,r){var i,o=n&&n.getContext(),a=this.clipWidth(),s=this.clipHeight(),l=this.clipFunc(),u=a&&s||l;const d=r===this;if(u){o.save();var h=this.getAbsoluteTransform(r),m=h.getMatrix();if(o.transform(m[0],m[1],m[2],m[3],m[4],m[5]),o.beginPath(),l)l.call(this,o,this);else{var v=this.clipX(),b=this.clipY();o.rect(v,b,a,s)}o.clip(),m=h.copy().invert().getMatrix(),o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}var S=!d&&this.globalCompositeOperation()!=="source-over"&&t==="drawScene";S&&(o.save(),o._applyGlobalCompositeOperation(this)),(i=this.children)===null||i===void 0||i.forEach(function(E){E[t](n,r)}),S&&o.restore(),u&&o.restore()}getClientRect(t){var n;t=t||{};var r=t.skipTransform,i=t.relativeTo,o,a,s,l,u={x:1/0,y:1/0,width:0,height:0},d=this;(n=this.children)===null||n===void 0||n.forEach(function(S){if(S.visible()){var E=S.getClientRect({relativeTo:d,skipShadow:t.skipShadow,skipStroke:t.skipStroke});E.width===0&&E.height===0||(o===void 0?(o=E.x,a=E.y,s=E.x+E.width,l=E.y+E.height):(o=Math.min(o,E.x),a=Math.min(a,E.y),s=Math.max(s,E.x+E.width),l=Math.max(l,E.y+E.height)))}});for(var h=this.find("Shape"),m=!1,v=0;ve.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",Rg=e=>{const t=Ov(e);if(t==="pointer")return pt.pointerEventsEnabled&&PC.pointer;if(t==="touch")return PC.touch;if(t==="mouse")return PC.mouse};function YR(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&de.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const K7e="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",F4=[];let Hx=class extends Aa{constructor(t){super(YR(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),F4.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",()=>{YR(this.attrs)}),this._checkVisibility()}_validateAdd(t){const n=t.getType()==="Layer",r=t.getType()==="FastLayer";n||r||de.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===W7e){if(t.charAt(0)==="."){var n=t.slice(1);t=document.getElementsByClassName(n)[0]}else{var r;t.charAt(0)!=="#"?r=t:r=t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t=this.children,n=t.length,r;for(r=0;r-1&&F4.splice(n,1),de.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(de.warn(K7e),null)}_getPointerById(t){return this._pointerPositions.find(n=>n.id===t)}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var n=new Fm({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),r=n.getContext()._context,i=this.children;return(t.x||t.y)&&r.translate(-1*t.x,-1*t.y),i.forEach(function(o){if(o.isVisible()){var a=o._toKonvaCanvas(t);r.drawImage(a._canvas,t.x,t.y,a.getWidth()/a.getPixelRatio(),a.getHeight()/a.getPixelRatio())}}),n}getIntersection(t){if(!t)return null;var n=this.children,r=n.length,i=r-1,o;for(o=i;o>=0;o--){const a=n[o].getIntersection(t);if(a)return a}return null}_resizeDOM(){var t=this.width(),n=this.height();this.content&&(this.content.style.width=t+qR,this.content.style.height=n+qR),this.bufferCanvas.setSize(t,n),this.bufferHitCanvas.setSize(t,n),this.children.forEach(r=>{r.setSize({width:t,height:n}),r.draw()})}add(t,...n){if(arguments.length>1){for(var r=0;rq7e&&de.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),pt.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}getLayers(){return this.children}_bindContentEvents(){pt.isBrowser&&Y7e.forEach(([t,n])=>{this.content.addEventListener(t,r=>{this[n](r)},{passive:!1})})}_pointerenter(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let n=this[t+"targetShape"];return n&&!n.getStage()&&(n=null),n}_pointerleave(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=this._getTargetShape(r),o=!vn.isDragging||pt.hitOnDragEnabled;i&&o?(i._fireAndBubble(n.pointerout,{evt:t}),i._fireAndBubble(n.pointerleave,{evt:t}),this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this[r+"targetShape"]=null):o&&(this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach(o=>{var a=this.getIntersection(o);if(vn.justDragged=!1,pt["_"+r+"ListenClick"]=!0,!(a&&a.isListening()))return;pt.capturePointerEventsEnabled&&a.setPointerCapture(o.id),this[r+"ClickStartShape"]=a,a._fireAndBubble(n.pointerdown,{evt:t,pointerId:o.id}),i=!0;const l=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&l&&t.preventDefault()}),i||this._fire(n.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;vn.isDragging&&vn.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!vn.isDragging||pt.hitOnDragEnabled;if(!i)return;var o={};let a=!1;var s=this._getTargetShape(r);this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l),d=l.id,h={evt:t,pointerId:d};var m=s!==u;if(m&&s&&(s._fireAndBubble(n.pointerout,Object.assign({},h),u),s._fireAndBubble(n.pointerleave,Object.assign({},h),u)),u){if(o[u._id])return;o[u._id]=!0}u&&u.isListening()?(a=!0,m&&(u._fireAndBubble(n.pointerover,Object.assign({},h),s),u._fireAndBubble(n.pointerenter,Object.assign({},h),s),this[r+"targetShape"]=u),u._fireAndBubble(n.pointermove,Object.assign({},h))):s&&(this._fire(n.pointerover,{evt:t,target:this,currentTarget:this,pointerId:d}),this[r+"targetShape"]=null)}),a||this._fire(n.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;this.setPointersPositions(t);const i=this[r+"ClickStartShape"],o=this[r+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),a[u._id])return;a[u._id]=!0}const d=l.id,h={evt:t,pointerId:d};let m=!1;pt["_"+r+"InDblClickWindow"]?(m=!0,clearTimeout(this[r+"DblTimeout"])):vn.justDragged||(pt["_"+r+"InDblClickWindow"]=!0,clearTimeout(this[r+"DblTimeout"])),this[r+"DblTimeout"]=setTimeout(function(){pt["_"+r+"InDblClickWindow"]=!1},pt.dblClickWindow),u&&u.isListening()?(s=!0,this[r+"ClickEndShape"]=u,u._fireAndBubble(n.pointerup,Object.assign({},h)),pt["_"+r+"ListenClick"]&&i&&i===u&&(u._fireAndBubble(n.pointerclick,Object.assign({},h)),m&&o&&o===u&&u._fireAndBubble(n.pointerdblclick,Object.assign({},h)))):(this[r+"ClickEndShape"]=null,pt["_"+r+"ListenClick"]&&this._fire(n.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:d}),m&&this._fire(n.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:d}))}),s||this._fire(n.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),pt["_"+r+"ListenClick"]=!1,t.cancelable&&r!=="touch"&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(E8,{evt:t}):this._fire(E8,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(P8,{evt:t}):this._fire(P8,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const n=EC(t.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(um,vP(t)),a2(t.pointerId)}_lostpointercapture(t){a2(t.pointerId)}setPointersPositions(t){var n=this._getContentPosition(),r=null,i=null;t=t||window.event,t.touches!==void 0?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,o=>{this._pointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})}),Array.prototype.forEach.call(t.changedTouches||t.touches,o=>{this._changedPointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})})):(r=(t.clientX-n.left)/n.scaleX,i=(t.clientY-n.top)/n.scaleY,this.pointerPos={x:r,y:i},this._pointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}],this._changedPointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}])}_setPointerPosition(t){de.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new Fm({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mP({pixelRatio:1,width:this.width(),height:this.height()}),!!pt.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return de.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach(function(t){t.batchDraw()}),this}};Hx.prototype.nodeType=V7e;Ar(Hx);ee.addGetterSetter(Hx,"container");var wG="hasShadow",CG="shadowRGBA",_G="patternImage",kG="linearGradient",EG="radialGradient";let Bb;function TC(){return Bb||(Bb=de.createCanvasElement().getContext("2d"),Bb)}const s2={};function X7e(e){e.fill()}function Z7e(e){e.stroke()}function Q7e(e){e.fill()}function J7e(e){e.stroke()}function e9e(){this._clearCache(wG)}function t9e(){this._clearCache(CG)}function n9e(){this._clearCache(_G)}function r9e(){this._clearCache(kG)}function i9e(){this._clearCache(EG)}class je extends Ze{constructor(t){super(t);let n;for(;n=de.getRandomColor(),!(n&&!(n in s2)););this.colorKey=n,s2[n]=this}getContext(){return de.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return de.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(wG,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&this.shadowOpacity()!==0&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(_G,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=TC();const n=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(n&&n.setTransform){const r=new ka;r.translate(this.fillPatternX(),this.fillPatternY()),r.rotate(pt.getAngle(this.fillPatternRotation())),r.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),r.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const i=r.getMatrix(),o=typeof DOMMatrix>"u"?{a:i[0],b:i[1],c:i[2],d:i[3],e:i[4],f:i[5]}:new DOMMatrix(i);n.setTransform(o)}return n}}_getLinearGradient(){return this._getCache(kG,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var n=TC(),r=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),o=n.createLinearGradient(r.x,r.y,i.x,i.y),a=0;athis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops()))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],()=>this.strokeEnabled()&&this.strokeWidth()&&!!(this.stroke()||this.strokeLinearGradientColorStops()))}hasHitStroke(){const t=this.hitStrokeWidth();return t==="auto"?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var n=this.getStage(),r=n.bufferHitCanvas,i;return r.getContext().clear(),this.drawHit(r,null,!0),i=r.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,i[3]>0}destroy(){return Ze.prototype.destroy.call(this),delete s2[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var n;if(!this.getStage()||!((n=this.attrs.perfectDrawEnabled)!==null&&n!==void 0?n:!0))return!1;const i=t||this.hasFill(),o=this.hasStroke(),a=this.getAbsoluteOpacity()!==1;if(i&&o&&a)return!0;const s=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(i&&o&&s&&l)}setStrokeHitEnabled(t){de.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return this.hitStrokeWidth()!==0}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const n=t.skipTransform,r=t.relativeTo,i=this.getSelfRect(),a=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,s=i.width+a,l=i.height+a,u=!t.skipShadow&&this.hasShadow(),d=u?this.shadowOffsetX():0,h=u?this.shadowOffsetY():0,m=s+Math.abs(d),v=l+Math.abs(h),b=u&&this.shadowBlur()||0,S=m+b*2,E=v+b*2,k={width:S,height:E,x:-(a/2+b)+Math.min(d,0)+i.x,y:-(a/2+b)+Math.min(h,0)+i.y};return n?k:this._transformedRect(k,r)}drawScene(t,n){var r=this.getLayer(),i=t||r.getCanvas(),o=i.getContext(),a=this._getCanvasCache(),s=this.getSceneFunc(),l=this.hasShadow(),u,d,h,m=i.isCache,v=n===this;if(!this.isVisible()&&!v)return this;if(a){o.save();var b=this.getAbsoluteTransform(n).getMatrix();return o.transform(b[0],b[1],b[2],b[3],b[4],b[5]),this._drawCachedSceneCanvas(o),o.restore(),this}if(!s)return this;if(o.save(),this._useBufferCanvas()&&!m){u=this.getStage(),d=u.bufferCanvas,h=d.getContext(),h.clear(),h.save(),h._applyLineJoin(this);var S=this.getAbsoluteTransform(n).getMatrix();h.transform(S[0],S[1],S[2],S[3],S[4],S[5]),s.call(this,h,this),h.restore();var E=d.pixelRatio;l&&o._applyShadow(this),o._applyOpacity(this),o._applyGlobalCompositeOperation(this),o.drawImage(d._canvas,0,0,d.width/E,d.height/E)}else{if(o._applyLineJoin(this),!v){var S=this.getAbsoluteTransform(n).getMatrix();o.transform(S[0],S[1],S[2],S[3],S[4],S[5]),o._applyOpacity(this),o._applyGlobalCompositeOperation(this)}l&&o._applyShadow(this),s.call(this,o,this)}return o.restore(),this}drawHit(t,n,r=!1){if(!this.shouldDrawHit(n,r))return this;var i=this.getLayer(),o=t||i.hitCanvas,a=o&&o.getContext(),s=this.hitFunc()||this.sceneFunc(),l=this._getCanvasCache(),u=l&&l.hit;if(this.colorKey||de.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),u){a.save();var d=this.getAbsoluteTransform(n).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),a._applyLineJoin(this),!(this===n)){var m=this.getAbsoluteTransform(n).getMatrix();a.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return s.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var n=this._getCanvasCache(),r=this._getCachedSceneCanvas(),i=n.hit,o=i.getContext(),a=i.getWidth(),s=i.getHeight(),l,u,d,h,m,v;o.clear(),o.drawImage(r._canvas,0,0,a,s);try{for(l=o.getImageData(0,0,a,s),u=l.data,d=u.length,h=de._hexToRgb(this.colorKey),m=0;mt?(u[m]=h.r,u[m+1]=h.g,u[m+2]=h.b,u[m+3]=255):u[m+3]=0;o.putImageData(l,0,0)}catch(b){de.error("Unable to draw hit graph from cached scene canvas. "+b.message)}return this}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}}je.prototype._fillFunc=X7e;je.prototype._strokeFunc=Z7e;je.prototype._fillFuncHit=Q7e;je.prototype._strokeFuncHit=J7e;je.prototype._centroid=!1;je.prototype.nodeType="Shape";Ar(je);je.prototype.eventListeners={};je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",e9e);je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",t9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",n9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",r9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",i9e);ee.addGetterSetter(je,"stroke",void 0,lG());ee.addGetterSetter(je,"strokeWidth",2,qe());ee.addGetterSetter(je,"fillAfterStrokeEnabled",!1);ee.addGetterSetter(je,"hitStrokeWidth","auto",gP());ee.addGetterSetter(je,"strokeHitEnabled",!0,nl());ee.addGetterSetter(je,"perfectDrawEnabled",!0,nl());ee.addGetterSetter(je,"shadowForStrokeEnabled",!0,nl());ee.addGetterSetter(je,"lineJoin");ee.addGetterSetter(je,"lineCap");ee.addGetterSetter(je,"sceneFunc");ee.addGetterSetter(je,"hitFunc");ee.addGetterSetter(je,"dash");ee.addGetterSetter(je,"dashOffset",0,qe());ee.addGetterSetter(je,"shadowColor",void 0,P0());ee.addGetterSetter(je,"shadowBlur",0,qe());ee.addGetterSetter(je,"shadowOpacity",1,qe());ee.addComponentsGetterSetter(je,"shadowOffset",["x","y"]);ee.addGetterSetter(je,"shadowOffsetX",0,qe());ee.addGetterSetter(je,"shadowOffsetY",0,qe());ee.addGetterSetter(je,"fillPatternImage");ee.addGetterSetter(je,"fill",void 0,lG());ee.addGetterSetter(je,"fillPatternX",0,qe());ee.addGetterSetter(je,"fillPatternY",0,qe());ee.addGetterSetter(je,"fillLinearGradientColorStops");ee.addGetterSetter(je,"strokeLinearGradientColorStops");ee.addGetterSetter(je,"fillRadialGradientStartRadius",0);ee.addGetterSetter(je,"fillRadialGradientEndRadius",0);ee.addGetterSetter(je,"fillRadialGradientColorStops");ee.addGetterSetter(je,"fillPatternRepeat","repeat");ee.addGetterSetter(je,"fillEnabled",!0);ee.addGetterSetter(je,"strokeEnabled",!0);ee.addGetterSetter(je,"shadowEnabled",!0);ee.addGetterSetter(je,"dashEnabled",!0);ee.addGetterSetter(je,"strokeScaleEnabled",!0);ee.addGetterSetter(je,"fillPriority","color");ee.addComponentsGetterSetter(je,"fillPatternOffset",["x","y"]);ee.addGetterSetter(je,"fillPatternOffsetX",0,qe());ee.addGetterSetter(je,"fillPatternOffsetY",0,qe());ee.addComponentsGetterSetter(je,"fillPatternScale",["x","y"]);ee.addGetterSetter(je,"fillPatternScaleX",1,qe());ee.addGetterSetter(je,"fillPatternScaleY",1,qe());ee.addComponentsGetterSetter(je,"fillLinearGradientStartPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientStartPointX",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointX",0);ee.addGetterSetter(je,"fillLinearGradientStartPointY",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillLinearGradientEndPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientEndPointX",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointX",0);ee.addGetterSetter(je,"fillLinearGradientEndPointY",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientStartPointX",0);ee.addGetterSetter(je,"fillRadialGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientEndPointX",0);ee.addGetterSetter(je,"fillRadialGradientEndPointY",0);ee.addGetterSetter(je,"fillPatternRotation",0);ee.backCompat(je,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var o9e="#",a9e="beforeDraw",s9e="draw",PG=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],l9e=PG.length;let dp=class extends Aa{constructor(t){super(t),this.canvas=new Fm,this.hitCanvas=new mP({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),t{this.draw(),this._waitingForDraw=!1})),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;for(var n=1,r=!1;;){for(let i=0;i0)return{antialiased:!0};return{}}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas();return this._fire(a9e,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Aa.prototype.drawScene.call(this,i,n),this._fire(s9e,{node:this}),this}drawHit(t,n){var r=this.getLayer(),i=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),Aa.prototype.drawHit.call(this,i,n),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(!(!this.parent||!this.parent.content)){var t=this.parent,n=!!this.hitCanvas._canvas.parentNode;n?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}destroy(){return de.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}};dp.prototype.nodeType="Layer";Ar(dp);ee.addGetterSetter(dp,"imageSmoothingEnabled",!0);ee.addGetterSetter(dp,"clearBeforeDraw",!0);ee.addGetterSetter(dp,"hitGraphEnabled",!0,nl());class yP extends dp{constructor(t){super(t),this.listening(!1),de.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}yP.prototype.nodeType="FastLayer";Ar(yP);let i0=class extends Aa{_validateAdd(t){var n=t.getType();n!=="Group"&&n!=="Shape"&&de.throw("You may only add groups and shapes to groups.")}};i0.prototype.nodeType="Group";Ar(i0);var LC=function(){return $m.performance&&$m.performance.now?function(){return $m.performance.now()}:function(){return new Date().getTime()}}();class ts{constructor(t,n){this.id=ts.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:LC(),frameRate:0},this.func=t,this.setLayers(n)}setLayers(t){var n=[];return t?t.length>0?n=t:n=[t]:n=[],this.layers=n,this}getLayers(){return this.layers}addLayer(t){var n=this.layers,r=n.length,i;for(i=0;ithis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return t===void 0&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=KR,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=XR,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===KR?this.setTime(t):this.state===XR&&this.setTime(this.duration-t)}pause(){this.state=c9e,this.fire("onPause")}getTimer(){return new Date().getTime()}}class Xr{constructor(t){var n=this,r=t.node,i=r._id,o,a=t.easing||l2.Linear,s=!!t.yoyo,l;typeof t.duration>"u"?o=.3:t.duration===0?o=.001:o=t.duration,this.node=r,this._id=d9e++;var u=r.getLayer()||(r instanceof pt.Stage?r.getLayers():null);u||de.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new ts(function(){n.tween.onEnterFrame()},u),this.tween=new f9e(l,function(d){n._tweenFunc(d)},a,0,1,o*1e3,s),this._addListeners(),Xr.attrs[i]||(Xr.attrs[i]={}),Xr.attrs[i][this._id]||(Xr.attrs[i][this._id]={}),Xr.tweens[i]||(Xr.tweens[i]={});for(l in t)u9e[l]===void 0&&this._addAttr(l,t[l]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,n){var r=this.node,i=r._id,o,a,s,l,u,d,h,m;if(s=Xr.tweens[i][t],s&&delete Xr.attrs[i][s][t],o=r.getAttr(t),de._isArray(n))if(a=[],u=Math.max(n.length,o.length),t==="points"&&n.length!==o.length&&(n.length>o.length?(h=o,o=de._prepareArrayForTween(o,n,r.closed())):(d=n,n=de._prepareArrayForTween(n,o,r.closed()))),t.indexOf("fill")===0)for(l=0;l{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueEnd&&t.setAttr("points",n.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueStart&&t.points(n.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(t*1e3),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t=this.node._id,n=this._id,r=Xr.tweens[t],i;this.pause();for(i in r)delete Xr.tweens[t][i];delete Xr.attrs[t][n]}}Xr.attrs={};Xr.tweens={};Ze.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()};var n=new Xr(e);n.play()};const l2={BackEaseIn(e,t,n,r){var i=1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},BackEaseOut(e,t,n,r){var i=1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*(((i*=1.525)+1)*e-i))+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return e===0?t:(e/=r)===1?t+n:(o||(o=r*.3),!i||i0?t:n),d=a*n,h=s*(s>0?t:n),m=l*(l>0?n:t);return{x:u,y:r?-1*m:h,width:d-u,height:m-h}}}cc.prototype._centroid=!0;cc.prototype.className="Arc";cc.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(cc);ee.addGetterSetter(cc,"innerRadius",0,qe());ee.addGetterSetter(cc,"outerRadius",0,qe());ee.addGetterSetter(cc,"angle",0,qe());ee.addGetterSetter(cc,"clockwise",!1,nl());function T8(e,t,n,r,i,o,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(i-n,2)+Math.pow(o-r,2)),u=a*s/(s+l),d=a*l/(s+l),h=n-u*(i-e),m=r-u*(o-t),v=n+d*(i-e),b=r+d*(o-t);return[h,m,v,b]}function QR(e,t){var n=e.length,r=[],i,o;for(i=2;i4){for(s=this.getTensionPoints(),l=s.length,u=o?0:4,o||t.quadraticCurveTo(s[0],s[1],s[2],s[3]);ud?u:d,E=u>d?1:u/d,k=u>d?d/u:1;t.translate(s,l),t.rotate(v),t.scale(E,k),t.arc(0,0,S,h,h+m,1-b),t.scale(1/E,1/k),t.rotate(-v),t.translate(-s,-l);break;case"z":r=!0,t.closePath();break}}!r&&!this.hasFill()?t.strokeShape(this):t.fillStrokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach(function(u){if(u.command==="A"){var d=u.points[4],h=u.points[5],m=u.points[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;b-=v){const S=zn.getPointOnEllipticalArc(u.points[0],u.points[1],u.points[2],u.points[3],b,0);t.push(S.x,S.y)}else for(let b=d+v;bthis.dataArray[r].pathLength;)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return zn.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return zn.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return zn.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],l=a[1],u=a[2],d=a[3],h=a[4],m=a[5],v=a[6];return h+=m*t/o.pathLength,zn.getPointOnEllipticalArc(s,l,u,d,h,v)}return null}static getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}static getPointOnLine(t,n,r,i,o,a,s){a===void 0&&(a=n),s===void 0&&(s=r);var l=(o-r)/(i-n+1e-8),u=Math.sqrt(t*t/(1+l*l));i0&&!isNaN(b[0]);){var _=null,T=[],A=l,I=u,R,D,j,z,V,K,te,q,$,W;switch(v){case"l":l+=b.shift(),u+=b.shift(),_="L",T.push(l,u);break;case"L":l=b.shift(),u=b.shift(),T.push(l,u);break;case"m":var X=b.shift(),Z=b.shift();if(l+=X,u+=Z,_="M",a.length>2&&a[a.length-1].command==="z"){for(var U=a.length-2;U>=0;U--)if(a[U].command==="M"){l=a[U].points[0]+X,u=a[U].points[1]+Z;break}}T.push(l,u),v="l";break;case"M":l=b.shift(),u=b.shift(),_="M",T.push(l,u),v="L";break;case"h":l+=b.shift(),_="L",T.push(l,u);break;case"H":l=b.shift(),_="L",T.push(l,u);break;case"v":u+=b.shift(),_="L",T.push(l,u);break;case"V":u=b.shift(),_="L",T.push(l,u);break;case"C":T.push(b.shift(),b.shift(),b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"c":T.push(l+b.shift(),u+b.shift(),l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"S":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,b.shift(),b.shift()),l=b.shift(),u=b.shift(),_="C",T.push(l,u);break;case"s":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"Q":T.push(b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"q":T.push(l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="Q",T.push(l,u);break;case"T":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l=b.shift(),u=b.shift(),_="Q",T.push(D,j,l,u);break;case"t":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l+=b.shift(),u+=b.shift(),_="Q",T.push(D,j,l,u);break;case"A":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,W=u,l=b.shift(),u=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,W,l,u,te,q,z,V,K);break;case"a":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,W=u,l+=b.shift(),u+=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,W,l,u,te,q,z,V,K);break}a.push({command:_||v,points:T,start:{x:A,y:I},pathLength:this.calcLength(A,I,_||v,T)})}(v==="z"||v==="Z")&&a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(t,n,r,i){var o,a,s,l,u=zn;switch(r){case"L":return u.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=u.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),l=.01;l<=1;l+=.01)s=u.getPointOnCubicBezier(l,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=u.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),l=.01;l<=1;l+=.01)s=u.getPointOnQuadraticBezier(l,t,n,i[0],i[1],i[2],i[3]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var d=i[4],h=i[5],m=i[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;l-=v)s=u.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(l=d+v;l1&&(s*=Math.sqrt(v),l*=Math.sqrt(v));var b=Math.sqrt((s*s*(l*l)-s*s*(m*m)-l*l*(h*h))/(s*s*(m*m)+l*l*(h*h)));o===a&&(b*=-1),isNaN(b)&&(b=0);var S=b*s*m/l,E=b*-l*h/s,k=(t+r)/2+Math.cos(d)*S-Math.sin(d)*E,_=(n+i)/2+Math.sin(d)*S+Math.cos(d)*E,T=function(V){return Math.sqrt(V[0]*V[0]+V[1]*V[1])},A=function(V,K){return(V[0]*K[0]+V[1]*K[1])/(T(V)*T(K))},I=function(V,K){return(V[0]*K[1]=1&&(z=0),a===0&&z>0&&(z=z-2*Math.PI),a===1&&z<0&&(z=z+2*Math.PI),[k,_,s,l,R,z,d,a]}}zn.prototype.className="Path";zn.prototype._attrsAffectingSize=["data"];Ar(zn);ee.addGetterSetter(zn,"data");class fp extends dc{_sceneFunc(t){super._sceneFunc(t);var n=Math.PI*2,r=this.points(),i=r,o=this.tension()!==0&&r.length>4;o&&(i=this.getTensionPoints());var a=this.pointerLength(),s=r.length,l,u;if(o){const m=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],r[s-2],r[s-1]],v=zn.calcLength(i[i.length-4],i[i.length-3],"C",m),b=zn.getPointOnQuadraticBezier(Math.min(1,1-a/v),m[0],m[1],m[2],m[3],m[4],m[5]);l=r[s-2]-b.x,u=r[s-1]-b.y}else l=r[s-2]-r[s-4],u=r[s-1]-r[s-3];var d=(Math.atan2(u,l)+n)%n,h=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(r[s-2],r[s-1]),t.rotate(d),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(r[0],r[1]),o?(l=(i[0]+i[2])/2-r[0],u=(i[1]+i[3])/2-r[1]):(l=r[2]-r[0],u=r[3]-r[1]),t.rotate((Math.atan2(-u,-l)+n)%n),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),n=this.pointerWidth()/2;return{x:t.x-n,y:t.y-n,width:t.width+n*2,height:t.height+n*2}}}fp.prototype.className="Arrow";Ar(fp);ee.addGetterSetter(fp,"pointerLength",10,qe());ee.addGetterSetter(fp,"pointerWidth",10,qe());ee.addGetterSetter(fp,"pointerAtBeginning",!1);ee.addGetterSetter(fp,"pointerAtEnding",!0);let T0=class extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,Math.PI*2,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}};T0.prototype._centroid=!0;T0.prototype.className="Circle";T0.prototype._attrsAffectingSize=["radius"];Ar(T0);ee.addGetterSetter(T0,"radius",0,qe());class ff extends je{_sceneFunc(t){var n=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),n!==r&&t.scale(1,r/n),t.arc(0,0,n,0,Math.PI*2,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radiusX()*2}getHeight(){return this.radiusY()*2}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}ff.prototype.className="Ellipse";ff.prototype._centroid=!0;ff.prototype._attrsAffectingSize=["radiusX","radiusY"];Ar(ff);ee.addComponentsGetterSetter(ff,"radius",["x","y"]);ee.addGetterSetter(ff,"radiusX",0,qe());ee.addGetterSetter(ff,"radiusY",0,qe());let fc=class TG extends je{constructor(t){super(t),this.on("imageChange.konva",()=>{this._setImageLoad()}),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&t.readyState===4||t&&t.addEventListener&&t.addEventListener("load",()=>{this._requestDraw()})}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const n=this.getWidth(),r=this.getHeight(),i=this.attrs.image;let o;if(i){const a=this.attrs.cropWidth,s=this.attrs.cropHeight;a&&s?o=[i,this.cropX(),this.cropY(),a,s,0,0,n,r]:o=[i,0,0,n,r]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,o)}_hitFunc(t){var n=this.width(),r=this.height();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,n;return(t=this.attrs.width)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.width}getHeight(){var t,n;return(t=this.attrs.height)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.height}static fromURL(t,n,r=null){var i=de.createImageElement();i.onload=function(){var o=new TG({image:i});n(o)},i.onerror=r,i.crossOrigin="Anonymous",i.src=t}};fc.prototype.className="Image";Ar(fc);ee.addGetterSetter(fc,"image");ee.addComponentsGetterSetter(fc,"crop",["x","y","width","height"]);ee.addGetterSetter(fc,"cropX",0,qe());ee.addGetterSetter(fc,"cropY",0,qe());ee.addGetterSetter(fc,"cropWidth",0,qe());ee.addGetterSetter(fc,"cropHeight",0,qe());var LG=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],h9e="Change.konva",p9e="none",L8="up",A8="right",O8="down",M8="left",g9e=LG.length;class bP extends i0{constructor(t){super(t),this.on("add.konva",function(n){this._addListeners(n.child),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var n=this,r,i=function(){n._sync()};for(r=0;r{n=Math.min(n,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),{x:n,y:i,width:r-n,height:o-i}}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}pp.prototype.className="RegularPolygon";pp.prototype._centroid=!0;pp.prototype._attrsAffectingSize=["radius"];Ar(pp);ee.addGetterSetter(pp,"radius",0,qe());ee.addGetterSetter(pp,"sides",0,qe());var JR=Math.PI*2;class gp extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,JR,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),JR,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.outerRadius()*2}getHeight(){return this.outerRadius()*2}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}gp.prototype.className="Ring";gp.prototype._centroid=!0;gp.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(gp);ee.addGetterSetter(gp,"innerRadius",0,qe());ee.addGetterSetter(gp,"outerRadius",0,qe());class gu extends je{constructor(t){super(t),this._updated=!0,this.anim=new ts(()=>{var n=this._updated;return this._updated=!1,n}),this.on("animationChange.konva",function(){this.frameIndex(0)}),this.on("frameIndexChange.konva",function(){this._updated=!0}),this.on("frameRateChange.konva",function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})}_sceneFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+0],l=o[i+1],u=o[i+2],d=o[i+3],h=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,u,d),t.closePath(),t.fillStrokeShape(this)),h)if(a){var m=a[n],v=r*2;t.drawImage(h,s,l,u,d,m[v+0],m[v+1],u,d)}else t.drawImage(h,s,l,u,d,0,0,u,d)}_hitFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+2],l=o[i+3];if(t.beginPath(),a){var u=a[n],d=r*2;t.rect(u[d+0],u[d+1],s,l)}else t.rect(0,0,s,l);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval(function(){t._updateIndex()},1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),n=this.animation(),r=this.animations(),i=r[n],o=i.length/4;t{t=t.trim();const n=t.indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return n&&!r&&(t=`"${t}"`),t}).join(", ")}var Fb;function OC(){return Fb||(Fb=de.createCanvasElement().getContext(y9e),Fb)}function L9e(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)}function A9e(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function O9e(e){return e=e||{},!e.fillLinearGradientColorStops&&!e.fillRadialGradientColorStops&&!e.fillPatternImage&&(e.fill=e.fill||"black"),e}class Lr extends je{constructor(t){super(O9e(t)),this._partialTextX=0,this._partialTextY=0;for(var n=0;n1&&(k+=a)}}}_hitFunc(t){var n=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}setText(t){var n=de._isString(t)?t:t==null?"":t+"";return this._setAttr(b9e,n),this}getWidth(){var t=this.attrs.width===Dg||this.attrs.width===void 0;return t?this.getTextWidth()+this.padding()*2:this.attrs.width}getHeight(){var t=this.attrs.height===Dg||this.attrs.height===void 0;return t?this.fontSize()*this.textArr.length*this.lineHeight()+this.padding()*2:this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return de.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var n=OC(),r=this.fontSize(),i;return n.save(),n.font=this._getContextFont(),i=n.measureText(t),n.restore(),{width:i.width,height:r}}_getContextFont(){return this.fontStyle()+$b+this.fontVariant()+$b+(this.fontSize()+C9e)+T9e(this.fontFamily())}_addTextLine(t){this.align()===cv&&(t=t.trim());var n=this._getTextWidth(t);return this.textArr.push({text:t,width:n,lastInParagraph:!1})}_getTextWidth(t){var n=this.letterSpacing(),r=t.length;return OC().measureText(t).width+(r?n*(r-1):0)}_setTextData(){var t=this.text().split(` -`),n=+this.fontSize(),r=0,i=this.lineHeight()*n,o=this.attrs.width,a=this.attrs.height,s=o!==Dg&&o!==void 0,l=a!==Dg&&a!==void 0,u=this.padding(),d=o-u*2,h=a-u*2,m=0,v=this.wrap(),b=v!==nD,S=v!==E9e&&b,E=this.ellipsis();this.textArr=[],OC().font=this._getContextFont();for(var k=E?this._getTextWidth(AC):0,_=0,T=t.length;_d)for(;A.length>0;){for(var R=0,D=A.length,j="",z=0;R>>1,K=A.slice(0,V+1),te=this._getTextWidth(K)+k;te<=d?(R=V+1,j=K,z=te):D=V}if(j){if(S){var q,$=A[j.length],W=$===$b||$===eD;W&&z<=d?q=j.length:q=Math.max(j.lastIndexOf($b),j.lastIndexOf(eD))+1,q>0&&(R=q,j=j.slice(0,R),z=this._getTextWidth(j))}j=j.trimRight(),this._addTextLine(j),r=Math.max(r,z),m+=i;var X=this._shouldHandleEllipsis(m);if(X){this._tryToAddEllipsisToLastLine();break}if(A=A.slice(R),A=A.trimLeft(),A.length>0&&(I=this._getTextWidth(A),I<=d)){this._addTextLine(A),m+=i,r=Math.max(r,I);break}}else break}else this._addTextLine(A),m+=i,r=Math.max(r,I),this._shouldHandleEllipsis(m)&&_h)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,o=i!==Dg&&i!==void 0,a=this.padding(),s=i-a*2,l=this.wrap(),u=l!==nD;return!u||o&&t+r>s}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==Dg&&t!==void 0,r=this.padding(),i=t-r*2,o=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(!(!a||!o)){if(n){var s=this._getTextWidth(a.text+AC)=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i0&&(s+=t.dataArray[l].pathLength);var u=0;i==="center"&&(u=Math.max(0,s/2-a/2)),i==="right"&&(u=Math.max(0,s-a));for(var d=AG(this.text()),h=this.text().split(" ").length-1,m,v,b,S=-1,E=0,k=function(){E=0;for(var te=t.dataArray,q=S+1;q0)return S=q,te[q];te[q].command==="M"&&(m={x:te[q].points[0],y:te[q].points[1]})}return{}},_=function(te){var q=t._getTextSize(te).width+r;te===" "&&i==="justify"&&(q+=(s-a)/h);var $=0,W=0;for(v=void 0;Math.abs(q-$)/q>.01&&W<20;){W++;for(var X=$;b===void 0;)b=k(),b&&X+b.pathLengthq?v=zn.getPointOnLine(q,m.x,m.y,b.points[0],b.points[1],m.x,m.y):b=void 0;break;case"A":var U=b.points[4],Q=b.points[5],ie=b.points[4]+Q;E===0?E=U+1e-8:q>$?E+=Math.PI/180*Q/Math.abs(Q):E-=Math.PI/360*Q/Math.abs(Q),(Q<0&&E=0&&E>ie)&&(E=ie,Z=!0),v=zn.getPointOnEllipticalArc(b.points[0],b.points[1],b.points[2],b.points[3],E,b.points[6]);break;case"C":E===0?q>b.pathLength?E=1e-8:E=q/b.pathLength:q>$?E+=(q-$)/b.pathLength/2:E=Math.max(E-($-q)/b.pathLength/2,0),E>1&&(E=1,Z=!0),v=zn.getPointOnCubicBezier(E,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3],b.points[4],b.points[5]);break;case"Q":E===0?E=q/b.pathLength:q>$?E+=(q-$)/b.pathLength:E-=($-q)/b.pathLength,E>1&&(E=1,Z=!0),v=zn.getPointOnQuadraticBezier(E,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3]);break}v!==void 0&&($=zn.getLineLength(m.x,m.y,v.x,v.y)),Z&&(Z=!1,b=void 0)}},T="C",A=t._getTextSize(T).width+r,I=u/A-1,R=0;Re+`.${jG}`).join(" "),rD="nodesRect",R9e=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],D9e={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const N9e="ontouchstart"in pt._global;function j9e(e,t){if(e==="rotater")return"crosshair";t+=de.degToRad(D9e[e]||0);var n=(de.radToDeg(t)%360+360)%360;return de._inRange(n,315+22.5,360)||de._inRange(n,0,22.5)?"ns-resize":de._inRange(n,45-22.5,45+22.5)?"nesw-resize":de._inRange(n,90-22.5,90+22.5)?"ew-resize":de._inRange(n,135-22.5,135+22.5)?"nwse-resize":de._inRange(n,180-22.5,180+22.5)?"ns-resize":de._inRange(n,225-22.5,225+22.5)?"nesw-resize":de._inRange(n,270-22.5,270+22.5)?"ew-resize":de._inRange(n,315-22.5,315+22.5)?"nwse-resize":(de.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var J5=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],iD=1e8;function B9e(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}function BG(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),i=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:i})}function $9e(e,t){const n=B9e(e);return BG(e,t,n)}function F9e(e,t,n){let r=t;for(let i=0;i{const i=()=>{this.nodes().length===1&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),!this._transforming&&!this.isDragging()&&this.update()},o=r._attrsAffectingSize.map(a=>a+"Change."+this._getEventNamespace()).join(" ");r.on(o,i),r.on(R9e.map(a=>a+`.${this._getEventNamespace()}`).join(" "),i),r.on(`absoluteTransformChange.${this._getEventNamespace()}`,i),this._proxyDrag(r)}),this._resetTransformCache();var n=!!this.findOne(".top-left");return n&&this.update(),this}_proxyDrag(t){let n;t.on(`dragstart.${this._getEventNamespace()}`,r=>{n=t.getAbsolutePosition(),!this.isDragging()&&t!==this.findOne(".back")&&this.startDrag(r,!1)}),t.on(`dragmove.${this._getEventNamespace()}`,r=>{if(!n)return;const i=t.getAbsolutePosition(),o=i.x-n.x,a=i.y-n.y;this.nodes().forEach(s=>{if(s===t||s.isDragging())return;const l=s.getAbsolutePosition();s.setAbsolutePosition({x:l.x+o,y:l.y+a}),s.startDrag(r)}),n=null})}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach(t=>{t.off("."+this._getEventNamespace())}),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(rD),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(rD,this.__getNodeRect)}__getNodeShape(t,n=this.rotation(),r){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=t.getAbsoluteScale(r),a=t.getAbsolutePosition(r),s=i.x*o.x-t.offsetX()*o.x,l=i.y*o.y-t.offsetY()*o.y;const u=(pt.getAngle(t.getAbsoluteRotation())+Math.PI*2)%(Math.PI*2),d={x:a.x+s*Math.cos(u)+l*Math.sin(-u),y:a.y+l*Math.cos(u)+s*Math.sin(u),width:i.width*o.x,height:i.height*o.y,rotation:u};return BG(d,-pt.getAngle(n),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-iD,y:-iD,width:0,height:0,rotation:0};const n=[];this.nodes().map(u=>{const d=u.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var h=[{x:d.x,y:d.y},{x:d.x+d.width,y:d.y},{x:d.x+d.width,y:d.y+d.height},{x:d.x,y:d.y+d.height}],m=u.getAbsoluteTransform();h.forEach(function(v){var b=m.point(v);n.push(b)})});const r=new ka;r.rotate(-pt.getAngle(this.rotation()));var i,o,a,s;n.forEach(function(u){var d=r.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),r.invert();const l=r.point({x:i,y:o});return{x:l.x,y:l.y,width:a-i,height:s-o,rotation:pt.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),J5.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var n=new By({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:N9e?10:"auto"}),r=this;n.on("mousedown touchstart",function(i){r._handleMouseDown(i)}),n.on("dragstart",i=>{n.stopDrag(),i.cancelBubble=!0}),n.on("dragend",i=>{i.cancelBubble=!0}),n.on("mouseenter",()=>{var i=pt.getAngle(this.rotation()),o=j9e(t,i);n.getStage().content&&(n.getStage().content.style.cursor=o),this._cursorChange=!0}),n.on("mouseout",()=>{n.getStage().content&&(n.getStage().content.style.cursor=""),this._cursorChange=!1}),this.add(n)}_createBack(){var t=new je({name:"back",width:0,height:0,draggable:!0,sceneFunc(n){var r=this.getParent(),i=r.padding();n.beginPath(),n.rect(-i,-i,this.width()+i*2,this.height()+i*2),n.moveTo(this.width()/2,-i),r.rotateEnabled()&&n.lineTo(this.width()/2,-r.rotateAnchorOffset()*de._sign(this.height())-i),n.fillStrokeShape(this)},hitFunc:(n,r)=>{if(this.shouldOverdrawWholeArea()){var i=this.padding();n.beginPath(),n.rect(-i,-i,r.width()+i*2,r.height()+i*2),n.fillStrokeShape(r)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",n=>{n.cancelBubble=!0}),t.on("dragmove",n=>{n.cancelBubble=!0}),t.on("dragend",n=>{n.cancelBubble=!0}),this.on("dragmove",n=>{this.update()})}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var n=this._getNodeRect(),r=n.width,i=n.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(i,2));this.sin=Math.abs(i/o),this.cos=Math.abs(r/o),typeof window<"u"&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),s=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:s.x-a.x,y:s.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach(l=>{l._fire("transformstart",{evt:t.evt,target:l})})}_handleMouseMove(t){var n,r,i,o=this.findOne("."+this._movingAnchorName),a=o.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let l={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const u=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(u,l,t)),o.setAbsolutePosition(l);const d=o.getAbsolutePosition();if(!(u.x===d.x&&u.y===d.y)){if(this._movingAnchorName==="rotater"){var h=this._getNodeRect();n=o.x()-h.width/2,r=-o.y()+h.height/2;let te=Math.atan2(-r,n)+Math.PI/2;h.height<0&&(te-=Math.PI);var m=pt.getAngle(this.rotation());const q=m+te,$=pt.getAngle(this.rotationSnapTolerance()),X=F9e(this.rotationSnaps(),q,$)-h.rotation,Z=$9e(h,X);this._fitNodesInto(Z,t);return}var v=this.keepRatio()||t.shiftKey,_=this.centeredScaling()||t.altKey;if(this._movingAnchorName==="top-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-left").x()>b.x?-1:1,E=this.findOne(".top-left").y()>b.y?-1:1;n=i*this.cos*S,r=i*this.sin*E,this.findOne(".top-left").x(b.x-n),this.findOne(".top-left").y(b.y-r)}}else if(this._movingAnchorName==="top-center")this.findOne(".top-left").y(o.y());else if(this._movingAnchorName==="top-right"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(o.x()-b.x,2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-right").x()b.y?-1:1;n=i*this.cos*S,r=i*this.sin*E,this.findOne(".top-right").x(b.x+n),this.findOne(".top-right").y(b.y-r)}var k=o.position();this.findOne(".top-left").y(k.y),this.findOne(".bottom-right").x(k.x)}else if(this._movingAnchorName==="middle-left")this.findOne(".top-left").x(o.x());else if(this._movingAnchorName==="middle-right")this.findOne(".bottom-right").x(o.x());else if(this._movingAnchorName==="bottom-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(o.y()-b.y,2));var S=b.x{r._fire("transformend",{evt:t,target:r})}),this._movingAnchorName=null}}_fitNodesInto(t,n){var r=this._getNodeRect();const i=1;if(de._inRange(t.width,-this.padding()*2-i,i)){this.update();return}if(de._inRange(t.height,-this.padding()*2-i,i)){this.update();return}const o=this.flipEnabled();var a=new ka;if(a.rotate(pt.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const h=a.point({x:-this.padding()*2,y:0});if(t.x+=h.x,t.y+=h.y,t.width+=this.padding()*2,this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,!o){this.update();return}}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const h=a.point({x:this.padding()*2,y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=this.padding()*2,!o){this.update();return}}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const h=a.point({x:0,y:-this.padding()*2});if(t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const h=a.point({x:0,y:this.padding()*2});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}if(this.boundBoxFunc()){const h=this.boundBoxFunc()(r,t);h?t=h:de.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new ka;l.translate(r.x,r.y),l.rotate(r.rotation),l.scale(r.width/s,r.height/s);const u=new ka;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const d=u.multiply(l.invert());this._nodes.forEach(h=>{var m;const v=h.getParent().getAbsoluteTransform(),b=h.getTransform().copy();b.translate(h.offsetX(),h.offsetY());const S=new ka;S.multiply(v.copy().invert()).multiply(d).multiply(v).multiply(b);const E=S.decompose();h.setAttrs(E),this._fire("transform",{evt:n,target:h}),h._fire("transform",{evt:n,target:h}),(m=h.getLayer())===null||m===void 0||m.batchDraw()}),this.rotation(de._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,n){this.findOne(t).setAttrs(n)}update(){var t,n=this._getNodeRect();this.rotation(de._getRotation(n.rotation));var r=n.width,i=n.height,o=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),l=this.anchorSize();this.find("._anchor").forEach(u=>{u.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})}),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+s,offsetY:l/2+s,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:r/2,y:0,offsetY:l/2+s,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:r,y:0,offsetX:l/2-s,offsetY:l/2+s,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:l/2+s,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:r,y:i/2,offsetX:l/2-s,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:l/2+s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:r/2,y:i,offsetY:l/2-s,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:r,y:i,offsetX:l/2-s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:r/2,y:-this.rotateAnchorOffset()*de._sign(i)-s,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:r,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),(t=this.getLayer())===null||t===void 0||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),i0.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Ze.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}};function z9e(e){return e instanceof Array||de.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach(function(t){J5.indexOf(t)===-1&&de.warn("Unknown anchor name: "+t+". Available names are: "+J5.join(", "))}),e||[]}In.prototype.className="Transformer";Ar(In);ee.addGetterSetter(In,"enabledAnchors",J5,z9e);ee.addGetterSetter(In,"flipEnabled",!0,nl());ee.addGetterSetter(In,"resizeEnabled",!0);ee.addGetterSetter(In,"anchorSize",10,qe());ee.addGetterSetter(In,"rotateEnabled",!0);ee.addGetterSetter(In,"rotationSnaps",[]);ee.addGetterSetter(In,"rotateAnchorOffset",50,qe());ee.addGetterSetter(In,"rotationSnapTolerance",5,qe());ee.addGetterSetter(In,"borderEnabled",!0);ee.addGetterSetter(In,"anchorStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"anchorStrokeWidth",1,qe());ee.addGetterSetter(In,"anchorFill","white");ee.addGetterSetter(In,"anchorCornerRadius",0,qe());ee.addGetterSetter(In,"borderStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"borderStrokeWidth",1,qe());ee.addGetterSetter(In,"borderDash");ee.addGetterSetter(In,"keepRatio",!0);ee.addGetterSetter(In,"centeredScaling",!1);ee.addGetterSetter(In,"ignoreStroke",!1);ee.addGetterSetter(In,"padding",0,qe());ee.addGetterSetter(In,"node");ee.addGetterSetter(In,"nodes");ee.addGetterSetter(In,"boundBoxFunc");ee.addGetterSetter(In,"anchorDragBoundFunc");ee.addGetterSetter(In,"shouldOverdrawWholeArea",!1);ee.addGetterSetter(In,"useSingleNodeRotation",!0);ee.backCompat(In,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class hc extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,pt.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}hc.prototype.className="Wedge";hc.prototype._centroid=!0;hc.prototype._attrsAffectingSize=["radius"];Ar(hc);ee.addGetterSetter(hc,"radius",0,qe());ee.addGetterSetter(hc,"angle",0,qe());ee.addGetterSetter(hc,"clockwise",!1);ee.backCompat(hc,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});function oD(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var H9e=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],V9e=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function W9e(e,t){var n=e.data,r=e.width,i=e.height,o,a,s,l,u,d,h,m,v,b,S,E,k,_,T,A,I,R,D,j,z,V,K,te,q=t+t+1,$=r-1,W=i-1,X=t+1,Z=X*(X+1)/2,U=new oD,Q=null,ie=U,fe=null,Se=null,Pe=H9e[t],ye=V9e[t];for(s=1;s>ye,K!==0?(K=255/K,n[d]=(m*Pe>>ye)*K,n[d+1]=(v*Pe>>ye)*K,n[d+2]=(b*Pe>>ye)*K):n[d]=n[d+1]=n[d+2]=0,m-=E,v-=k,b-=_,S-=T,E-=fe.r,k-=fe.g,_-=fe.b,T-=fe.a,l=h+((l=o+t+1)<$?l:$)<<2,A+=fe.r=n[l],I+=fe.g=n[l+1],R+=fe.b=n[l+2],D+=fe.a=n[l+3],m+=A,v+=I,b+=R,S+=D,fe=fe.next,E+=j=Se.r,k+=z=Se.g,_+=V=Se.b,T+=K=Se.a,A-=j,I-=z,R-=V,D-=K,Se=Se.next,d+=4;h+=r}for(o=0;o>ye,K>0?(K=255/K,n[l]=(m*Pe>>ye)*K,n[l+1]=(v*Pe>>ye)*K,n[l+2]=(b*Pe>>ye)*K):n[l]=n[l+1]=n[l+2]=0,m-=E,v-=k,b-=_,S-=T,E-=fe.r,k-=fe.g,_-=fe.b,T-=fe.a,l=o+((l=a+X)0&&W9e(t,n)};ee.addGetterSetter(Ze,"blurRadius",0,qe(),ee.afterSetFilter);const G9e=function(e){var t=this.brightness()*255,n=e.data,r=n.length,i;for(i=0;i255?255:i,o=o<0?0:o>255?255:o,a=a<0?0:a>255?255:a,n[s]=i,n[s+1]=o,n[s+2]=a};ee.addGetterSetter(Ze,"contrast",0,qe(),ee.afterSetFilter);const Y9e=function(e){var t=this.embossStrength()*10,n=this.embossWhiteLevel()*255,r=this.embossDirection(),i=this.embossBlend(),o=0,a=0,s=e.data,l=e.width,u=e.height,d=l*4,h=u;switch(r){case"top-left":o=-1,a=-1;break;case"top":o=-1,a=0;break;case"top-right":o=-1,a=1;break;case"right":o=0,a=1;break;case"bottom-right":o=1,a=1;break;case"bottom":o=1,a=0;break;case"bottom-left":o=1,a=-1;break;case"left":o=0,a=-1;break;default:de.error("Unknown emboss direction: "+r)}do{var m=(h-1)*d,v=o;h+v<1&&(v=0),h+v>u&&(v=0);var b=(h-1+v)*l*4,S=l;do{var E=m+(S-1)*4,k=a;S+k<1&&(k=0),S+k>l&&(k=0);var _=b+(S-1+k)*4,T=s[E]-s[_],A=s[E+1]-s[_+1],I=s[E+2]-s[_+2],R=T,D=R>0?R:-R,j=A>0?A:-A,z=I>0?I:-I;if(j>D&&(R=A),z>D&&(R=I),R*=t,i){var V=s[E]+R,K=s[E+1]+R,te=s[E+2]+R;s[E]=V>255?255:V<0?0:V,s[E+1]=K>255?255:K<0?0:K,s[E+2]=te>255?255:te<0?0:te}else{var q=n-R;q<0?q=0:q>255&&(q=255),s[E]=s[E+1]=s[E+2]=q}}while(--S)}while(--h)};ee.addGetterSetter(Ze,"embossStrength",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossWhiteLevel",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossDirection","top-left",null,ee.afterSetFilter);ee.addGetterSetter(Ze,"embossBlend",!1,null,ee.afterSetFilter);function MC(e,t,n,r,i){var o=n-t,a=i-r,s;return o===0?r+a/2:a===0?r:(s=(e-t)/o,s=a*s+r,s)}const K9e=function(e){var t=e.data,n=t.length,r=t[0],i=r,o,a=t[1],s=a,l,u=t[2],d=u,h,m,v=this.enhance();if(v!==0){for(m=0;mi&&(i=o),l=t[m+1],ls&&(s=l),h=t[m+2],hd&&(d=h);i===r&&(i=255,r=0),s===a&&(s=255,a=0),d===u&&(d=255,u=0);var b,S,E,k,_,T,A,I,R;for(v>0?(S=i+v*(255-i),E=r-v*(r-0),_=s+v*(255-s),T=a-v*(a-0),I=d+v*(255-d),R=u-v*(u-0)):(b=(i+r)*.5,S=i+v*(i-b),E=r+v*(r-b),k=(s+a)*.5,_=s+v*(s-k),T=a+v*(a-k),A=(d+u)*.5,I=d+v*(d-A),R=u+v*(u-A)),m=0;mk?E:k;var _=a,T=o,A,I,R=360/T*Math.PI/180,D,j;for(I=0;IT?_:T;var A=a,I=o,R,D,j=n.polarRotation||0,z,V;for(d=0;dt&&(A=T,I=0,R=-1),i=0;i=0&&v=0&&b=0&&v=0&&b=255*4?255:0}return a}function l8e(e,t,n){for(var r=[.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&v=0&&b=n))for(o=S;o=r||(a=(n*o+i)*4,s+=A[a+0],l+=A[a+1],u+=A[a+2],d+=A[a+3],T+=1);for(s=s/T,l=l/T,u=u/T,d=d/T,i=v;i=n))for(o=S;o=r||(a=(n*o+i)*4,A[a+0]=s,A[a+1]=l,A[a+2]=u,A[a+3]=d)}};ee.addGetterSetter(Ze,"pixelSize",8,qe(),ee.afterSetFilter);const f8e=function(e){var t=Math.round(this.levels()*254)+1,n=e.data,r=n.length,i=255/t,o;for(o=0;o255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);const p8e=function(e){var t=e.data,n=t.length,r=this.red(),i=this.green(),o=this.blue(),a=this.alpha(),s,l;for(s=0;s255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);ee.addGetterSetter(Ze,"alpha",1,function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e});const g8e=function(e){var t=e.data,n=t.length,r,i,o,a;for(r=0;r127&&(u=255-u),d>127&&(d=255-d),h>127&&(h=255-h),t[l]=u,t[l+1]=d,t[l+2]=h}while(--s)}while(--o)},v8e=function(e){var t=this.threshold()*255,n=e.data,r=n.length,i;for(i=0;i{const{width:n,height:r}=t,i=document.createElement("div"),o=new Fg.Stage({container:i,width:n,height:r}),a=new Fg.Layer,s=new Fg.Layer;a.add(new Fg.Rect({...t,fill:"white"})),e.forEach(u=>s.add(new Fg.Line({points:u.points,stroke:"black",strokeWidth:u.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,globalCompositeOperation:u.tool==="brush"?"source-over":"destination-out"}))),o.add(a),o.add(s);const l=o.toDataURL({...t});return i.remove(),l};let $G=null,FG=null;const b8e=e=>{$G=e},el=()=>$G,S8e=e=>{FG=e},zG=()=>FG,x8e=e=>{const t=window.open("");t&&e.forEach(n=>{const r=new Image;r.src=n.base64,t.document.write(n.caption),t.document.write("
"),t.document.write(r.outerHTML),t.document.write("

")})},HG=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),w8e=e=>{const t=el(),{generationMode:n,generationState:r,postprocessingState:i,canvasState:o,systemState:a}=e,{codeformerFidelity:s,facetoolStrength:l,facetoolType:u,hiresFix:d,hiresStrength:h,shouldRunESRGAN:m,shouldRunFacetool:v,upscalingLevel:b,upscalingStrength:S,upscalingDenoising:E}=i,{cfgScale:k,height:_,img2imgStrength:T,infillMethod:A,initialImage:I,iterations:R,perlin:D,prompt:j,negativePrompt:z,sampler:V,seamBlur:K,seamless:te,seamSize:q,seamSteps:$,seamStrength:W,seed:X,seedWeights:Z,shouldFitToWidthHeight:U,shouldGenerateVariations:Q,shouldRandomizeSeed:ie,steps:fe,threshold:Se,tileSize:Pe,variationAmount:ye,width:We}=r,{shouldDisplayInProgressType:De,saveIntermediatesInterval:ot,enableImageDebugging:He}=a,Be={prompt:j,iterations:R,steps:fe,cfg_scale:k,threshold:Se,perlin:D,height:_,width:We,sampler_name:V,seed:X,progress_images:De==="full-res",progress_latents:De==="latents",save_intermediates:ot,generation_mode:n,init_mask:""};let wt=!1,st=!1;if(z!==""&&(Be.prompt=`${j} [${z}]`),Be.seed=ie?HG(hP,pP):X,["txt2img","img2img"].includes(n)&&(Be.seamless=te,Be.hires_fix=d,d&&(Be.strength=h),m&&(wt={level:b,denoise_str:E,strength:S}),v&&(st={type:u,strength:l},u==="codeformer"&&(st.codeformer_fidelity=s))),n==="img2img"&&I&&(Be.init_img=typeof I=="string"?I:I.url,Be.strength=T,Be.fit=U),n==="unifiedCanvas"&&t){const{layerState:{objects:mt},boundingBoxCoordinates:St,boundingBoxDimensions:Le,stageScale:lt,isMaskEnabled:Mt,shouldPreserveMaskedArea:ut,boundingBoxScaleMethod:_t,scaledBoundingBoxDimensions:ln}=o,ae={...St,...Le},Re=y8e(Mt?mt.filter(tP):[],ae);Be.init_mask=Re,Be.fit=!1,Be.strength=T,Be.invert_mask=ut,Be.bounding_box=ae;const Ye=t.scale();t.scale({x:1/lt,y:1/lt});const Ke=t.getAbsolutePosition(),xe=t.toDataURL({x:ae.x+Ke.x,y:ae.y+Ke.y,width:ae.width,height:ae.height});He&&x8e([{base64:Re,caption:"mask sent as init_mask"},{base64:xe,caption:"image sent as init_img"}]),t.scale(Ye),Be.init_img=xe,Be.progress_images=!1,_t!=="none"&&(Be.inpaint_width=ln.width,Be.inpaint_height=ln.height),Be.seam_size=q,Be.seam_blur=K,Be.seam_strength=W,Be.seam_steps=$,Be.tile_size=Pe,Be.infill_method=A,Be.force_outpaint=!1}return Q?(Be.variation_amount=ye,Z&&(Be.with_variations=Kxe(Z))):Be.variation_amount=0,He&&(Be.enable_image_debugging=He),{generationParameters:Be,esrganParameters:wt,facetoolParameters:st}};var C8e=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,_8e=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,k8e=/[^-+\dA-Z]/g;function no(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(aD[t]||t||aD.default);var i=t.slice(0,4);(i==="UTC:"||i==="GMT:")&&(t=t.slice(4),n=!0,i==="GMT:"&&(r=!0));var o=function(){return n?"getUTC":"get"},a=function(){return e[o()+"Date"]()},s=function(){return e[o()+"Day"]()},l=function(){return e[o()+"Month"]()},u=function(){return e[o()+"FullYear"]()},d=function(){return e[o()+"Hours"]()},h=function(){return e[o()+"Minutes"]()},m=function(){return e[o()+"Seconds"]()},v=function(){return e[o()+"Milliseconds"]()},b=function(){return n?0:e.getTimezoneOffset()},S=function(){return E8e(e)},E=function(){return P8e(e)},k={d:function(){return a()},dd:function(){return wa(a())},ddd:function(){return Uo.dayNames[s()]},DDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()],short:!0})},dddd:function(){return Uo.dayNames[s()+7]},DDDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()+7]})},m:function(){return l()+1},mm:function(){return wa(l()+1)},mmm:function(){return Uo.monthNames[l()]},mmmm:function(){return Uo.monthNames[l()+12]},yy:function(){return String(u()).slice(2)},yyyy:function(){return wa(u(),4)},h:function(){return d()%12||12},hh:function(){return wa(d()%12||12)},H:function(){return d()},HH:function(){return wa(d())},M:function(){return h()},MM:function(){return wa(h())},s:function(){return m()},ss:function(){return wa(m())},l:function(){return wa(v(),3)},L:function(){return wa(Math.floor(v()/10))},t:function(){return d()<12?Uo.timeNames[0]:Uo.timeNames[1]},tt:function(){return d()<12?Uo.timeNames[2]:Uo.timeNames[3]},T:function(){return d()<12?Uo.timeNames[4]:Uo.timeNames[5]},TT:function(){return d()<12?Uo.timeNames[6]:Uo.timeNames[7]},Z:function(){return r?"GMT":n?"UTC":T8e(e)},o:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60)*100+Math.abs(b())%60,4)},p:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60),2)+":"+wa(Math.floor(Math.abs(b())%60),2)},S:function(){return["th","st","nd","rd"][a()%10>3?0:(a()%100-a()%10!=10)*a()%10]},W:function(){return S()},WW:function(){return wa(S())},N:function(){return E()}};return t.replace(C8e,function(_){return _ in k?k[_]():_.slice(1,_.length-1)})}var aD={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Uo={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},wa=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return String(t).padStart(n,"0")},sD=function(t){var n=t.y,r=t.m,i=t.d,o=t._,a=t.dayName,s=t.short,l=s===void 0?!1:s,u=new Date,d=new Date;d.setDate(d[o+"Date"]()-1);var h=new Date;h.setDate(h[o+"Date"]()+1);var m=function(){return u[o+"Date"]()},v=function(){return u[o+"Month"]()},b=function(){return u[o+"FullYear"]()},S=function(){return d[o+"Date"]()},E=function(){return d[o+"Month"]()},k=function(){return d[o+"FullYear"]()},_=function(){return h[o+"Date"]()},T=function(){return h[o+"Month"]()},A=function(){return h[o+"FullYear"]()};return b()===n&&v()===r&&m()===i?l?"Tdy":"Today":k()===n&&E()===r&&S()===i?l?"Ysd":"Yesterday":A()===n&&T()===r&&_()===i?l?"Tmw":"Tomorrow":a},E8e=function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=new Date(n.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=n.getTimezoneOffset()-r.getTimezoneOffset();n.setHours(n.getHours()-i);var o=(n-r)/(864e5*7);return 1+Math.floor(o)},P8e=function(t){var n=t.getDay();return n===0&&(n=7),n},T8e=function(t){return(String(t).match(_8e)||[""]).pop().replace(k8e,"").replace(/GMT\+0000/g,"UTC")};const L8e=(e,t)=>{const{dispatch:n,getState:r}=e;return{emitGenerateImage:i=>{n(Hs(!0));const o=r(),{generation:a,postprocessing:s,system:l,canvas:u}=o,d={generationMode:i,generationState:a,postprocessingState:s,canvasState:u,systemState:l};n(eCe());const{generationParameters:h,esrganParameters:m,facetoolParameters:v}=w8e(d);t.emit("generateImage",h,m,v),h.init_mask&&(h.init_mask=h.init_mask.substr(0,64).concat("...")),h.init_img&&(h.init_img=h.init_img.substr(0,64).concat("...")),n(to({timestamp:no(new Date,"isoDateTime"),message:`Image generation requested: ${JSON.stringify({...h,...m,...v})}`}))},emitRunESRGAN:i=>{n(Hs(!0));const{postprocessing:{upscalingLevel:o,upscalingDenoising:a,upscalingStrength:s}}=r(),l={upscale:[o,a,s]};t.emit("runPostprocessing",i,{type:"esrgan",...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`ESRGAN upscale requested: ${JSON.stringify({file:i.url,...l})}`}))},emitRunFacetool:i=>{n(Hs(!0));const{postprocessing:{facetoolType:o,facetoolStrength:a,codeformerFidelity:s}}=r(),l={facetool_strength:a};o==="codeformer"&&(l.codeformer_fidelity=s),t.emit("runPostprocessing",i,{type:o,...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`Face restoration (${o}) requested: ${JSON.stringify({file:i.url,...l})}`}))},emitDeleteImage:i=>{const{url:o,uuid:a,category:s,thumbnail:l}=i;n(eU(i)),t.emit("deleteImage",o,l,a,s)},emitRequestImages:i=>{const o=r().gallery,{earliest_mtime:a}=o.categories[i];t.emit("requestImages",i,a)},emitRequestNewImages:i=>{const o=r().gallery,{latest_mtime:a}=o.categories[i];t.emit("requestLatestImages",i,a)},emitCancelProcessing:()=>{t.emit("cancel")},emitRequestSystemConfig:()=>{t.emit("requestSystemConfig")},emitSearchForModels:i=>{t.emit("searchForModels",i)},emitAddNewModel:i=>{t.emit("addNewModel",i)},emitDeleteModel:i=>{t.emit("deleteModel",i)},emitRequestModelChange:i=>{n(Z6e()),t.emit("requestModelChange",i)},emitSaveStagingAreaImageToGallery:i=>{t.emit("requestSaveStagingAreaImageToGallery",i)},emitRequestEmptyTempFolder:()=>{t.emit("requestEmptyTempFolder")}}};let Hb;const A8e=new Uint8Array(16);function O8e(){if(!Hb&&(Hb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Hb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Hb(A8e)}const zi=[];for(let e=0;e<256;++e)zi.push((e+256).toString(16).slice(1));function M8e(e,t=0){return(zi[e[t+0]]+zi[e[t+1]]+zi[e[t+2]]+zi[e[t+3]]+"-"+zi[e[t+4]]+zi[e[t+5]]+"-"+zi[e[t+6]]+zi[e[t+7]]+"-"+zi[e[t+8]]+zi[e[t+9]]+"-"+zi[e[t+10]]+zi[e[t+11]]+zi[e[t+12]]+zi[e[t+13]]+zi[e[t+14]]+zi[e[t+15]]).toLowerCase()}const I8e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lD={randomUUID:I8e};function cm(e,t,n){if(lD.randomUUID&&!t&&!e)return lD.randomUUID();e=e||{};const r=e.random||(e.rng||O8e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return M8e(r)}const I8=zr("socketio/generateImage"),R8e=zr("socketio/runESRGAN"),D8e=zr("socketio/runFacetool"),N8e=zr("socketio/deleteImage"),R8=zr("socketio/requestImages"),uD=zr("socketio/requestNewImages"),j8e=zr("socketio/cancelProcessing"),B8e=zr("socketio/requestSystemConfig"),cD=zr("socketio/searchForModels"),$y=zr("socketio/addNewModel"),$8e=zr("socketio/deleteModel"),VG=zr("socketio/requestModelChange"),F8e=zr("socketio/saveStagingAreaImageToGallery"),z8e=zr("socketio/requestEmptyTempFolder"),H8e=e=>{const{dispatch:t,getState:n}=e;return{onConnect:()=>{try{t(PR(!0)),t(R4(zt.t("common:statusConnected"))),t(B8e());const r=n().gallery;r.categories.result.latest_mtime?t(uD("result")):t(R8("result")),r.categories.user.latest_mtime?t(uD("user")):t(R8("user"))}catch(r){console.error(r)}},onDisconnect:()=>{try{t(PR(!1)),t(R4(zt.t("common:statusDisconnected"))),t(to({timestamp:no(new Date,"isoDateTime"),message:"Disconnected from server",level:"warning"}))}catch(r){console.error(r)}},onGenerationResult:r=>{try{const i=n(),{activeTab:o}=i.ui,{shouldLoopback:a}=i.postprocessing,{boundingBox:s,generationMode:l,...u}=r,d={uuid:cm(),...u};if(["txt2img","img2img"].includes(l)&&t(sm({category:"result",image:{...d,category:"result"}})),l==="unifiedCanvas"&&r.boundingBox){const{boundingBox:h}=r;t(pxe({image:{...d,category:"temp"},boundingBox:h})),i.canvas.shouldAutoSave&&t(sm({image:{...d,category:"result"},category:"result"}))}if(a)switch(cP[o]){case"img2img":{t(k0(d));break}}t(SC()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image generated: ${r.url}`}))}catch(i){console.error(i)}},onIntermediateResult:r=>{try{t(jxe({uuid:cm(),...r,category:"result"})),r.isBase64||t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image generated: ${r.url}`}))}catch(i){console.error(i)}},onPostprocessingResult:r=>{try{t(sm({category:"result",image:{uuid:cm(),...r,category:"result"}})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Postprocessed: ${r.url}`}))}catch(i){console.error(i)}},onProgressUpdate:r=>{try{t(Hs(!0)),t(q6e(r))}catch(i){console.error(i)}},onError:r=>{const{message:i,additionalData:o}=r;try{t(to({timestamp:no(new Date,"isoDateTime"),message:`Server error: ${i}`,level:"error"})),t(TR()),t(SC())}catch(a){console.error(a)}},onGalleryImages:r=>{const{images:i,areMoreImagesAvailable:o,category:a}=r,s=i.map(l=>({uuid:cm(),...l}));t(Nxe({images:s,areMoreImagesAvailable:o,category:a})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Loaded ${i.length} images`}))},onProcessingCanceled:()=>{t(X6e());const{intermediateImage:r}=n().gallery;r&&(r.isBase64||(t(sm({category:"result",image:r})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image saved: ${r.url}`}))),t(SC())),t(to({timestamp:no(new Date,"isoDateTime"),message:"Processing canceled",level:"warning"}))},onImageDeleted:r=>{const{url:i}=r;t(eU(r));const{generation:{initialImage:o,maskPath:a}}=n();(o===i||(o==null?void 0:o.url)===i)&&t(oU()),a===i&&t(cU("")),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image deleted: ${i}`}))},onSystemConfig:r=>{t(Y6e(r)),r.infill_methods.includes("patchmatch")||t(uU(r.infill_methods[0]))},onFoundModels:r=>{const{search_folder:i,found_models:o}=r;t(FU(i)),t(zU(o))},onNewModelAdded:r=>{const{new_model_name:i,model_list:o,update:a}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model Added: ${i}`,level:"info"})),t(Th({title:a?`${zt.t("modelmanager:modelUpdated")}: ${i}`:`${zt.t("modelmanager:modelAdded")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelDeleted:r=>{const{deleted_model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`${zt.t("modelmanager:modelAdded")}: ${i}`,level:"info"})),t(Th({title:`${zt.t("modelmanager:modelEntryDeleted")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelChanged:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(R4(zt.t("common:statusModelChanged"))),t(Hs(!1)),t(lm(!0)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model changed: ${i}`,level:"info"}))},onModelChangeFailed:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(lm(!0)),t(TR()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model change failed: ${i}`,level:"error"}))},onTempFolderEmptied:()=>{t(Th({title:zt.t("toast:tempFoldersEmptied"),status:"success",duration:2500,isClosable:!0}))}}},V8e=()=>{const{origin:e}=new URL(window.location.href),t=j4(e,{timeout:6e4,path:`${window.location.pathname}socket.io`});let n=!1;return i=>o=>a=>{const{onConnect:s,onDisconnect:l,onError:u,onPostprocessingResult:d,onGenerationResult:h,onIntermediateResult:m,onProgressUpdate:v,onGalleryImages:b,onProcessingCanceled:S,onImageDeleted:E,onSystemConfig:k,onModelChanged:_,onFoundModels:T,onNewModelAdded:A,onModelDeleted:I,onModelChangeFailed:R,onTempFolderEmptied:D}=H8e(i),{emitGenerateImage:j,emitRunESRGAN:z,emitRunFacetool:V,emitDeleteImage:K,emitRequestImages:te,emitRequestNewImages:q,emitCancelProcessing:$,emitRequestSystemConfig:W,emitSearchForModels:X,emitAddNewModel:Z,emitDeleteModel:U,emitRequestModelChange:Q,emitSaveStagingAreaImageToGallery:ie,emitRequestEmptyTempFolder:fe}=L8e(i,t);switch(n||(t.on("connect",()=>s()),t.on("disconnect",()=>l()),t.on("error",Se=>u(Se)),t.on("generationResult",Se=>h(Se)),t.on("postprocessingResult",Se=>d(Se)),t.on("intermediateResult",Se=>m(Se)),t.on("progressUpdate",Se=>v(Se)),t.on("galleryImages",Se=>b(Se)),t.on("processingCanceled",()=>{S()}),t.on("imageDeleted",Se=>{E(Se)}),t.on("systemConfig",Se=>{k(Se)}),t.on("foundModels",Se=>{T(Se)}),t.on("newModelAdded",Se=>{A(Se)}),t.on("modelDeleted",Se=>{I(Se)}),t.on("modelChanged",Se=>{_(Se)}),t.on("modelChangeFailed",Se=>{R(Se)}),t.on("tempFolderEmptied",()=>{D()}),n=!0),a.type){case"socketio/generateImage":{j(a.payload);break}case"socketio/runESRGAN":{z(a.payload);break}case"socketio/runFacetool":{V(a.payload);break}case"socketio/deleteImage":{K(a.payload);break}case"socketio/requestImages":{te(a.payload);break}case"socketio/requestNewImages":{q(a.payload);break}case"socketio/cancelProcessing":{$();break}case"socketio/requestSystemConfig":{W();break}case"socketio/searchForModels":{X(a.payload);break}case"socketio/addNewModel":{Z(a.payload);break}case"socketio/deleteModel":{U(a.payload);break}case"socketio/requestModelChange":{Q(a.payload);break}case"socketio/saveStagingAreaImageToGallery":{ie(a.payload);break}case"socketio/requestEmptyTempFolder":{fe();break}}o(a)}},W8e=["cursorPosition","isCanvasInitialized","doesCanvasNeedScaling"].map(e=>`canvas.${e}`),U8e=["currentIteration","currentStatus","currentStep","isCancelable","isConnected","isESRGANAvailable","isGFPGANAvailable","isProcessing","socketId","totalIterations","totalSteps","openModel"].map(e=>`system.${e}`),G8e=["categories","currentCategory","currentImage","currentImageUuid","shouldAutoSwitchToNewImages","shouldHoldGalleryOpen","intermediateImage"].map(e=>`gallery.${e}`),WG=wW({generation:nwe,postprocessing:swe,gallery:Wxe,system:rCe,canvas:Rxe,ui:hCe,lightbox:qxe}),q8e=IW.getPersistConfig({key:"root",storage:MW,rootReducer:WG,blacklist:[...W8e,...U8e,...G8e],debounce:300}),Y8e=zSe(q8e,WG),UG=vSe({reducer:Y8e,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(V8e()),devTools:{actionsDenylist:["canvas/setCursorPosition","canvas/setStageCoordinates","canvas/setStageScale","canvas/setIsDrawing","canvas/setBoundingBoxCoordinates","canvas/setBoundingBoxDimensions","canvas/setIsDrawing","canvas/addPointToCurrentLine"]}}),GG=qSe(UG),SP=w.createContext(null),Me=O5e,he=S5e;let dD;const xP=()=>({setOpenUploader:e=>{e&&(dD=e)},openUploader:dD}),Or=at(e=>e.ui,e=>cP[e.activeTab],{memoizeOptions:{equalityCheck:ke.isEqual}}),K8e=at(e=>e.ui,e=>e.activeTab,{memoizeOptions:{equalityCheck:ke.isEqual}}),mp=at(e=>e.ui,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),fD=e=>async(t,n)=>{const{imageFile:r}=e,i=n(),o=Or(i),a=new FormData;a.append("file",r,r.name),a.append("data",JSON.stringify({kind:"init"}));const l=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:a})).json(),u={uuid:cm(),category:"user",...l};t(sm({image:u,category:"user"})),o==="unifiedCanvas"?t(Dx(u)):o==="img2img"&&t(k0(u))};function X8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:nodes")}),y.jsx("p",{children:e("common:nodesDesc")})]})}const Z8e=()=>{const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress post-processing-work-in-progress",children:[y.jsx("h1",{children:e("common:postProcessing")}),y.jsx("p",{children:e("common:postProcessDesc1")}),y.jsx("p",{children:e("common:postProcessDesc2")}),y.jsx("p",{children:e("common:postProcessDesc3")})]})};function Q8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:training")}),y.jsxs("p",{children:[e("common:trainingDesc1"),y.jsx("br",{}),y.jsx("br",{}),e("common:trainingDesc2")]})]})}function J8e(e){const{i18n:t}=Ve(),n=localStorage.getItem("i18nextLng");N.useEffect(()=>{e()},[e]),N.useEffect(()=>{t.on("languageChanged",()=>{e()})},[e,t,n])}const e_e=yt({displayName:"ImageToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{transform:"matrix(1.10943,0,0,1.10943,-206.981,-213.533)",children:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M688.533,2405.95L542.987,2405.95C349.532,2405.95 192.47,2248.89 192.47,2055.44L192.47,542.987C192.47,349.532 349.532,192.47 542.987,192.47L2527.88,192.47C2721.33,192.47 2878.4,349.532 2878.4,542.987L2878.4,1172.79L3023.94,1172.79C3217.4,1172.79 3374.46,1329.85 3374.46,1523.3C3374.46,1523.3 3374.46,3035.75 3374.46,3035.75C3374.46,3229.21 3217.4,3386.27 3023.94,3386.27L1039.05,3386.27C845.595,3386.27 688.533,3229.21 688.533,3035.75L688.533,2405.95ZM3286.96,2634.37L3286.96,1523.3C3286.96,1378.14 3169.11,1260.29 3023.94,1260.29C3023.94,1260.29 1039.05,1260.29 1039.05,1260.29C893.887,1260.29 776.033,1378.14 776.033,1523.3L776.033,2489.79L1440.94,1736.22L2385.83,2775.59L2880.71,2200.41L3286.96,2634.37ZM2622.05,1405.51C2778.5,1405.51 2905.51,1532.53 2905.51,1688.98C2905.51,1845.42 2778.5,1972.44 2622.05,1972.44C2465.6,1972.44 2338.58,1845.42 2338.58,1688.98C2338.58,1532.53 2465.6,1405.51 2622.05,1405.51ZM2790.9,1172.79L1323.86,1172.79L944.882,755.906L279.97,1509.47L279.97,542.987C279.97,397.824 397.824,279.97 542.987,279.97C542.987,279.97 2527.88,279.97 2527.88,279.97C2673.04,279.97 2790.9,397.824 2790.9,542.987L2790.9,1172.79ZM2125.98,425.197C2282.43,425.197 2409.45,552.213 2409.45,708.661C2409.45,865.11 2282.43,992.126 2125.98,992.126C1969.54,992.126 1842.52,865.11 1842.52,708.661C1842.52,552.213 1969.54,425.197 2125.98,425.197Z"})})}),t_e=yt({displayName:"NodesIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 0,515.578 0,770.787L0,2766.03C0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM3427.88,770.787L3427.88,2766.03C3427.88,2957.53 3272.4,3113.01 3080.9,3113.01C3080.9,3113.01 462.407,3113.01 462.407,3113.01C270.906,3113.01 115.431,2957.53 115.431,2766.03L115.431,770.787C115.431,579.286 270.906,423.812 462.407,423.812L3080.9,423.812C3272.4,423.812 3427.88,579.286 3427.88,770.787ZM1214.23,1130.69L1321.47,1130.69C1324.01,1130.69 1326.54,1130.53 1329.05,1130.2C1329.05,1130.2 1367.3,1125.33 1397.94,1149.8C1421.63,1168.72 1437.33,1204.3 1437.33,1265.48L1437.33,2078.74L1220.99,2078.74C1146.83,2078.74 1086.61,2138.95 1086.61,2213.12L1086.61,2762.46C1086.61,2836.63 1146.83,2896.84 1220.99,2896.84L1770.34,2896.84C1844.5,2896.84 1904.71,2836.63 1904.71,2762.46L1904.71,2213.12C1904.71,2138.95 1844.5,2078.74 1770.34,2078.74L1554,2078.74L1554,1604.84C1625.84,1658.19 1703.39,1658.1 1703.39,1658.1C1703.54,1658.1 1703.69,1658.11 1703.84,1658.11L2362.2,1658.11L2362.2,1874.44C2362.2,1948.61 2422.42,2008.82 2496.58,2008.82L3045.93,2008.82C3120.09,2008.82 3180.3,1948.61 3180.3,1874.44L3180.3,1325.1C3180.3,1250.93 3120.09,1190.72 3045.93,1190.72L2496.58,1190.72C2422.42,1190.72 2362.2,1250.93 2362.2,1325.1L2362.2,1558.97L2362.2,1541.44L1704.23,1541.44C1702.2,1541.37 1650.96,1539.37 1609.51,1499.26C1577.72,1468.49 1554,1416.47 1554,1331.69L1554,1265.48C1554,1153.86 1513.98,1093.17 1470.76,1058.64C1411.24,1011.1 1338.98,1012.58 1319.15,1014.03L1214.23,1014.03L1214.23,796.992C1214.23,722.828 1154.02,662.617 1079.85,662.617L530.507,662.617C456.343,662.617 396.131,722.828 396.131,796.992L396.131,1346.34C396.131,1420.5 456.343,1480.71 530.507,1480.71L1079.85,1480.71C1154.02,1480.71 1214.23,1420.5 1214.23,1346.34L1214.23,1130.69Z"})}),n_e=yt({displayName:"PostprocessingIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M709.477,1596.53L992.591,1275.66L2239.09,2646.81L2891.95,1888.03L3427.88,2460.51L3427.88,994.78C3427.88,954.66 3421.05,916.122 3408.5,880.254L3521.9,855.419C3535.8,899.386 3543.31,946.214 3543.31,994.78L3543.31,2990.02C3543.31,3245.23 3336.11,3452.43 3080.9,3452.43C3080.9,3452.43 462.407,3452.43 462.407,3452.43C207.197,3452.43 -0,3245.23 -0,2990.02L-0,994.78C-0,739.571 207.197,532.373 462.407,532.373L505.419,532.373L504.644,532.546L807.104,600.085C820.223,601.729 832.422,607.722 841.77,617.116C850.131,625.517 855.784,636.21 858.055,647.804L462.407,647.804C270.906,647.804 115.431,803.279 115.431,994.78L115.431,2075.73L-0,2101.5L115.431,2127.28L115.431,2269.78L220.47,2150.73L482.345,2209.21C503.267,2211.83 522.722,2221.39 537.63,2236.37C552.538,2251.35 562.049,2270.9 564.657,2291.93L671.84,2776.17L779.022,2291.93C781.631,2270.9 791.141,2251.35 806.05,2236.37C820.958,2221.39 840.413,2211.83 861.334,2209.21L1353.15,2101.5L861.334,1993.8C840.413,1991.18 820.958,1981.62 806.05,1966.64C791.141,1951.66 781.631,1932.11 779.022,1911.08L709.477,1596.53ZM671.84,1573.09L725.556,2006.07C726.863,2016.61 731.63,2026.4 739.101,2033.91C746.573,2041.42 756.323,2046.21 766.808,2047.53L1197.68,2101.5L766.808,2155.48C756.323,2156.8 746.573,2161.59 739.101,2169.09C731.63,2176.6 726.863,2186.4 725.556,2196.94L671.84,2629.92L618.124,2196.94C616.817,2186.4 612.05,2176.6 604.579,2169.09C597.107,2161.59 587.357,2156.8 576.872,2155.48L146.001,2101.5L576.872,2047.53C587.357,2046.21 597.107,2041.42 604.579,2033.91C612.05,2026.4 616.817,2016.61 618.124,2006.07L671.84,1573.09ZM609.035,1710.36L564.657,1911.08C562.049,1932.11 552.538,1951.66 537.63,1966.64C522.722,1981.62 503.267,1991.18 482.345,1993.8L328.665,2028.11L609.035,1710.36ZM2297.12,938.615L2451.12,973.003C2480.59,976.695 2507.99,990.158 2528.99,1011.26C2549.99,1032.37 2563.39,1059.9 2567.07,1089.52L2672.73,1566.9C2634.5,1580.11 2593.44,1587.29 2550.72,1587.29C2344.33,1587.29 2176.77,1419.73 2176.77,1213.34C2176.77,1104.78 2223.13,1006.96 2297.12,938.615ZM2718.05,76.925L2793.72,686.847C2795.56,701.69 2802.27,715.491 2812.8,726.068C2823.32,736.644 2837.06,743.391 2851.83,745.242L3458.78,821.28L2851.83,897.318C2837.06,899.168 2823.32,905.916 2812.8,916.492C2802.27,927.068 2795.56,940.87 2793.72,955.712L2718.05,1565.63L2642.38,955.712C2640.54,940.87 2633.83,927.068 2623.3,916.492C2612.78,905.916 2599.04,899.168 2584.27,897.318L1977.32,821.28L2584.27,745.242C2599.04,743.391 2612.78,736.644 2623.3,726.068C2633.83,715.491 2640.54,701.69 2642.38,686.847L2718.05,76.925ZM2883.68,1043.06C2909.88,1094.13 2924.67,1152.02 2924.67,1213.34C2924.67,1335.4 2866.06,1443.88 2775.49,1512.14L2869.03,1089.52C2871.07,1073.15 2876.07,1057.42 2883.68,1043.06ZM925.928,201.2L959.611,472.704C960.431,479.311 963.42,485.455 968.105,490.163C972.79,494.871 978.904,497.875 985.479,498.698L1255.66,532.546L985.479,566.395C978.904,567.218 972.79,570.222 968.105,574.93C963.42,579.638 960.431,585.781 959.611,592.388L925.928,863.893L892.245,592.388C891.425,585.781 888.436,579.638 883.751,574.93C879.066,570.222 872.952,567.218 866.378,566.395L596.195,532.546L866.378,498.698C872.952,497.875 879.066,494.871 883.751,490.163C888.436,485.455 891.425,479.311 892.245,472.704L925.928,201.2ZM2864.47,532.373L3080.9,532.373C3258.7,532.373 3413.2,632.945 3490.58,780.281L3319.31,742.773C3257.14,683.925 3173.2,647.804 3080.9,647.804L2927.07,647.804C2919.95,642.994 2913.25,637.473 2907.11,631.298C2886.11,610.194 2872.71,582.655 2869.03,553.04L2864.47,532.373ZM1352.36,532.373L2571.64,532.373L2567.07,553.04C2563.39,582.655 2549.99,610.194 2528.99,631.298C2522.85,637.473 2516.16,642.994 2509.03,647.804L993.801,647.804C996.072,636.21 1001.73,625.517 1010.09,617.116C1019.43,607.722 1031.63,601.729 1044.75,600.085L1353.15,532.546L1352.36,532.373Z"})}),r_e=yt({displayName:"TextToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",transform:"matrix(1.11667,0,0,1.1066,-231.131,-213.062)",children:y.jsx("path",{d:"M2209.59,1137.35L2209.59,1098.17C2177.13,1108.99 2125.74,1121.91 2055.41,1136.94C2054.77,1137.08 2054.14,1137.21 2053.49,1137.35L1662.79,1137.35C1687.75,1101.98 1720.8,1074.35 1761.93,1054.44C1808.52,1031.9 1875.69,1012.22 1963.45,995.386C2081.86,973.146 2163.91,952.409 2209.59,933.174L2209.59,907.929C2209.59,859.241 2197.57,824.529 2173.53,803.792C2149.48,783.054 2104.1,772.686 2037.38,772.686C1992.3,772.686 1957.14,781.552 1931.89,799.284C1906.64,817.015 1886.21,848.121 1870.58,892.601L1640.67,851.127C1666.51,758.56 1710.99,690.037 1774.11,645.557C1837.22,601.077 1930.99,578.837 2055.41,578.837C2168.42,578.837 2252.57,592.211 2307.87,618.959C2363.17,645.707 2402.09,679.668 2424.63,720.842C2447.17,762.016 2458.44,837.602 2458.44,947.6L2456.7,1137.35L3021.34,1137.35C3214.79,1137.35 3371.86,1294.41 3371.86,1487.87C3371.86,1487.87 3371.86,3000.32 3371.86,3000.32C3371.86,3193.78 3214.79,3350.84 3021.34,3350.84C3021.34,3350.84 1036.45,3350.84 1036.45,3350.84C842.991,3350.84 685.93,3193.78 685.93,3000.32L685.93,1487.87C685.93,1400.21 718.174,1320.03 771.448,1258.54L772.123,1257.76L607.408,1257.76L498.311,1558L215.202,1558L730.028,236.22L1012.24,236.22L1373.06,1137.35L2209.59,1137.35ZM3284.36,2598.93L3284.36,1487.87C3284.36,1342.71 3166.5,1224.85 3021.34,1224.85C3021.34,1224.85 1036.45,1224.85 1036.45,1224.85C891.284,1224.85 773.43,1342.71 773.43,1487.87L773.43,2454.35L1438.34,1700.79L2383.22,2740.16L2878.11,2164.98L3284.36,2598.93ZM2619.44,1370.08C2775.89,1370.08 2902.91,1497.1 2902.91,1653.54C2902.91,1809.99 2775.89,1937.01 2619.44,1937.01C2462.99,1937.01 2335.98,1809.99 2335.98,1653.54C2335.98,1497.1 2462.99,1370.08 2619.44,1370.08ZM772.877,1256.89L772.849,1256.93L773.167,1256.57L772.877,1256.89ZM773.634,1256.04L773.563,1256.12L773.985,1255.64L773.634,1256.04ZM774.394,1255.18L774.276,1255.31L774.746,1254.78L774.394,1255.18ZM775.157,1254.32L774.988,1254.51L775.493,1253.95L775.157,1254.32ZM775.923,1253.47L775.698,1253.72L776.237,1253.12L775.923,1253.47ZM776.691,1252.62L776.403,1252.94L776.979,1252.3L776.691,1252.62ZM777.462,1251.77L777.098,1252.17L777.723,1251.49L777.462,1251.77ZM925.081,1155.44C868.026,1174.57 817.508,1207.99 777.775,1251.43C817.511,1207.99 868.031,1174.57 925.081,1155.44ZM925.646,1155.25L925.108,1155.43L926.103,1155.1L925.646,1155.25ZM935.286,1152.2C932.214,1153.12 929.159,1154.09 926.13,1155.09C929.165,1154.09 932.219,1153.12 935.286,1152.2ZM935.716,1152.07L935.384,1152.17L936.292,1151.89L935.716,1152.07ZM936.843,1151.73L936.451,1151.85L937.327,1151.59L936.843,1151.73ZM937.972,1151.4L937.514,1151.53L938.377,1151.28L937.972,1151.4ZM939.102,1151.07L938.57,1151.22L939.438,1150.97L939.102,1151.07ZM940.233,1150.74L939.613,1150.92L940.505,1150.67L940.233,1150.74ZM946.659,1148.98C944.639,1149.51 942.626,1150.07 940.626,1150.63C942.631,1150.06 944.642,1149.51 946.659,1148.98ZM947.056,1148.87L946.829,1148.93L947.659,1148.71L947.056,1148.87ZM948.198,1148.57L947.919,1148.65L948.705,1148.44L948.198,1148.57ZM949.342,1148.28L949.008,1148.37L949.771,1148.17L949.342,1148.28ZM950.488,1147.99L950.096,1148.09L950.848,1147.9L950.488,1147.99ZM951.635,1147.7L951.182,1147.81L951.932,1147.63L951.635,1147.7ZM952.783,1147.42L952.262,1147.55L953.022,1147.36L952.783,1147.42ZM953.933,1147.14L953.327,1147.28L954.115,1147.09L953.933,1147.14ZM958.213,1146.13C956.927,1146.42 955.644,1146.73 954.354,1147.04C955.637,1146.73 956.923,1146.43 958.213,1146.13ZM958.547,1146.06L958.409,1146.09L959.174,1145.91L958.547,1146.06ZM959.704,1145.79L959.517,1145.84L960.229,1145.68L959.704,1145.79ZM960.863,1145.54L960.626,1145.59L961.311,1145.44L960.863,1145.54ZM962.023,1145.28L961.736,1145.35L962.406,1145.2L962.023,1145.28ZM963.184,1145.03L962.846,1145.11L963.508,1144.97L963.184,1145.03ZM964.347,1144.79L963.956,1144.87L964.615,1144.73L964.347,1144.79ZM965.511,1144.55L965.066,1144.64L965.725,1144.5L965.511,1144.55ZM966.677,1144.31L966.172,1144.41L966.838,1144.28L966.677,1144.31ZM967.844,1144.08L967.269,1144.19L967.953,1144.05L967.844,1144.08ZM970.183,1143.62C969.793,1143.69 969.403,1143.77 969.013,1143.85L969.055,1143.84C969.413,1143.77 969.771,1143.7 970.129,1143.63L970.183,1143.62ZM971.354,1143.4L971.245,1143.42L971.882,1143.3L971.354,1143.4ZM972.526,1143.18L972.37,1143.21L972.987,1143.09L972.526,1143.18ZM973.7,1142.96L973.496,1143L974.103,1142.89L973.7,1142.96ZM974.876,1142.75L974.624,1142.8L975.225,1142.69L974.876,1142.75ZM976.052,1142.55L975.754,1142.6L976.349,1142.49L976.052,1142.55ZM977.23,1142.34L976.885,1142.4L977.476,1142.3L977.23,1142.34ZM978.41,1142.14L978.019,1142.21L978.605,1142.11L978.41,1142.14ZM979.59,1141.95L979.156,1142.02L979.736,1141.92L979.59,1141.95ZM980.772,1141.76L980.299,1141.83L980.868,1141.74L980.772,1141.76ZM981.955,1141.57L981.464,1141.65L982.002,1141.56L981.955,1141.57ZM983.14,1141.39L983.1,1141.39L983.605,1141.32L983.14,1141.39ZM984.326,1141.21L984.239,1141.22L984.778,1141.14L984.326,1141.21ZM985.513,1141.03L985.379,1141.05L985.928,1140.97L985.513,1141.03ZM986.702,1140.86L986.521,1140.89L987.073,1140.81L986.702,1140.86ZM987.891,1140.69L987.665,1140.73L988.218,1140.65L987.891,1140.69ZM989.082,1140.53L988.811,1140.57L989.363,1140.49L989.082,1140.53ZM990.275,1140.37L989.96,1140.41L990.508,1140.34L990.275,1140.37ZM991.468,1140.22L991.113,1140.26L991.654,1140.19L991.468,1140.22ZM992.663,1140.07L992.273,1140.12L992.8,1140.05L992.663,1140.07ZM993.859,1139.92L993.447,1139.97L993.948,1139.91L993.859,1139.92ZM995.056,1139.78L994.671,1139.82L995.097,1139.77L995.056,1139.78ZM996.255,1139.64L996.23,1139.64L996.578,1139.6L996.255,1139.64ZM997.454,1139.5L997.383,1139.51L997.852,1139.46L997.454,1139.5ZM998.655,1139.37L998.537,1139.38L999.041,1139.33L998.655,1139.37ZM999.857,1139.24L999.693,1139.26L1000.21,1139.21L999.857,1139.24ZM1001.06,1139.12L1000.85,1139.14L1001.38,1139.09L1001.06,1139.12ZM1002.26,1139L1002.01,1139.03L1002.54,1138.98L1002.26,1139ZM1003.47,1138.89L1003.18,1138.91L1003.7,1138.87L1003.47,1138.89ZM1004.68,1138.78L1004.34,1138.81L1004.86,1138.76L1004.68,1138.78ZM1005.89,1138.67L1005.52,1138.7L1006.02,1138.66L1005.89,1138.67ZM1007.1,1138.57L1006.71,1138.6L1007.18,1138.56L1007.1,1138.57ZM1008.31,1138.47L1007.96,1138.5L1008.35,1138.46L1008.31,1138.47ZM1009.52,1138.37L1009.5,1138.38L1009.72,1138.36L1009.52,1138.37ZM1010.73,1138.28L1010.67,1138.29L1011.1,1138.26L1010.73,1138.28ZM1011.94,1138.2L1011.84,1138.2L1012.32,1138.17L1011.94,1138.2ZM1013.16,1138.12L1013,1138.13L1013.51,1138.09L1013.16,1138.12ZM1014.37,1138.04L1014.17,1138.05L1014.69,1138.02L1014.37,1138.04ZM1015.59,1137.96L1015.35,1137.98L1015.86,1137.95L1015.59,1137.96ZM1016.81,1137.89L1016.52,1137.91L1017.04,1137.88L1016.81,1137.89ZM1018.03,1137.83L1017.7,1137.85L1018.21,1137.82L1018.03,1137.83ZM1019.25,1137.77L1018.89,1137.79L1019.39,1137.76L1019.25,1137.77ZM1020.47,1137.71L1020.1,1137.73L1020.56,1137.71L1020.47,1137.71ZM1021.69,1137.66L1021.36,1137.67L1021.74,1137.66L1021.69,1137.66ZM1022.92,1137.61L1022.91,1137.61L1023.02,1137.61L1022.92,1137.61ZM1024.14,1137.57L1024.09,1137.57L1024.49,1137.55L1024.14,1137.57ZM1025.37,1137.52L1025.27,1137.53L1025.74,1137.51L1025.37,1137.52ZM1026.6,1137.49L1026.45,1137.49L1026.94,1137.48L1026.6,1137.49ZM1027.82,1137.46L1027.63,1137.46L1028.14,1137.45L1027.82,1137.46ZM1029.05,1137.43L1028.81,1137.43L1029.33,1137.42L1029.05,1137.43ZM1030.28,1137.41L1030,1137.41L1030.52,1137.4L1030.28,1137.41ZM1031.51,1137.39L1031.19,1137.39L1031.7,1137.38L1031.51,1137.39ZM1032.75,1137.37L1032.39,1137.38L1032.89,1137.37L1032.75,1137.37ZM1033.98,1137.36L1033.61,1137.36L1034.07,1137.36L1033.98,1137.36ZM1035.21,1137.35L1034.87,1137.36L1035.26,1137.35L1035.21,1137.35ZM1050.1,1035.06L867.977,544.575L689.455,1035.06L1050.1,1035.06Z"})})}),i_e=yt({displayName:"TrainingIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0,768.593L0,2774.71C0,2930.6 78.519,3068.3 198.135,3150.37C273.059,3202.68 364.177,3233.38 462.407,3233.38C462.407,3233.38 3080.9,3233.38 3080.9,3233.38C3179.13,3233.38 3270.25,3202.68 3345.17,3150.37C3464.79,3068.3 3543.31,2930.6 3543.31,2774.71L3543.31,768.593C3543.31,517.323 3339.31,313.324 3088.04,313.324L455.269,313.324C203.999,313.324 0,517.323 0,768.593ZM3427.88,775.73L3427.88,2770.97C3427.88,2962.47 3272.4,3117.95 3080.9,3117.95L462.407,3117.95C270.906,3117.95 115.431,2962.47 115.431,2770.97C115.431,2770.97 115.431,775.73 115.431,775.73C115.431,584.229 270.906,428.755 462.407,428.755C462.407,428.755 3080.9,428.755 3080.9,428.755C3272.4,428.755 3427.88,584.229 3427.88,775.73ZM796.24,1322.76L796.24,1250.45C796.24,1199.03 836.16,1157.27 885.331,1157.27C885.331,1157.27 946.847,1157.27 946.847,1157.27C996.017,1157.27 1035.94,1199.03 1035.94,1250.45L1035.94,1644.81L2507.37,1644.81L2507.37,1250.45C2507.37,1199.03 2547.29,1157.27 2596.46,1157.27C2596.46,1157.27 2657.98,1157.27 2657.98,1157.27C2707.15,1157.27 2747.07,1199.03 2747.07,1250.45L2747.07,1322.76C2756.66,1319.22 2767.02,1317.29 2777.83,1317.29C2777.83,1317.29 2839.34,1317.29 2839.34,1317.29C2888.51,1317.29 2928.43,1357.21 2928.43,1406.38L2928.43,1527.32C2933.51,1526.26 2938.77,1525.71 2944.16,1525.71L2995.3,1525.71C3036.18,1525.71 3069.37,1557.59 3069.37,1596.86C3069.37,1596.86 3069.37,1946.44 3069.37,1946.44C3069.37,1985.72 3036.18,2017.6 2995.3,2017.6C2995.3,2017.6 2944.16,2017.6 2944.16,2017.6C2938.77,2017.6 2933.51,2017.04 2928.43,2015.99L2928.43,2136.92C2928.43,2186.09 2888.51,2226.01 2839.34,2226.01L2777.83,2226.01C2767.02,2226.01 2756.66,2224.08 2747.07,2220.55L2747.07,2292.85C2747.07,2344.28 2707.15,2386.03 2657.98,2386.03C2657.98,2386.03 2596.46,2386.03 2596.46,2386.03C2547.29,2386.03 2507.37,2344.28 2507.37,2292.85L2507.37,1898.5L1035.94,1898.5L1035.94,2292.85C1035.94,2344.28 996.017,2386.03 946.847,2386.03C946.847,2386.03 885.331,2386.03 885.331,2386.03C836.16,2386.03 796.24,2344.28 796.24,2292.85L796.24,2220.55C786.651,2224.08 776.29,2226.01 765.482,2226.01L703.967,2226.01C654.796,2226.01 614.876,2186.09 614.876,2136.92L614.876,2015.99C609.801,2017.04 604.539,2017.6 599.144,2017.6C599.144,2017.6 548.003,2017.6 548.003,2017.6C507.125,2017.6 473.937,1985.72 473.937,1946.44C473.937,1946.44 473.937,1596.86 473.937,1596.86C473.937,1557.59 507.125,1525.71 548.003,1525.71L599.144,1525.71C604.539,1525.71 609.801,1526.26 614.876,1527.32L614.876,1406.38C614.876,1357.21 654.796,1317.29 703.967,1317.29C703.967,1317.29 765.482,1317.29 765.482,1317.29C776.29,1317.29 786.651,1319.22 796.24,1322.76ZM977.604,1250.45C977.604,1232.7 963.822,1218.29 946.847,1218.29L885.331,1218.29C868.355,1218.29 854.573,1232.7 854.573,1250.45L854.573,2292.85C854.573,2310.61 868.355,2325.02 885.331,2325.02L946.847,2325.02C963.822,2325.02 977.604,2310.61 977.604,2292.85L977.604,1250.45ZM2565.7,1250.45C2565.7,1232.7 2579.49,1218.29 2596.46,1218.29L2657.98,1218.29C2674.95,1218.29 2688.73,1232.7 2688.73,1250.45L2688.73,2292.85C2688.73,2310.61 2674.95,2325.02 2657.98,2325.02L2596.46,2325.02C2579.49,2325.02 2565.7,2310.61 2565.7,2292.85L2565.7,1250.45ZM673.209,1406.38L673.209,2136.92C673.209,2153.9 686.991,2167.68 703.967,2167.68L765.482,2167.68C782.458,2167.68 796.24,2153.9 796.24,2136.92L796.24,1406.38C796.24,1389.41 782.458,1375.63 765.482,1375.63L703.967,1375.63C686.991,1375.63 673.209,1389.41 673.209,1406.38ZM2870.1,1406.38L2870.1,2136.92C2870.1,2153.9 2856.32,2167.68 2839.34,2167.68L2777.83,2167.68C2760.85,2167.68 2747.07,2153.9 2747.07,2136.92L2747.07,1406.38C2747.07,1389.41 2760.85,1375.63 2777.83,1375.63L2839.34,1375.63C2856.32,1375.63 2870.1,1389.41 2870.1,1406.38ZM614.876,1577.5C610.535,1574.24 605.074,1572.3 599.144,1572.3L548.003,1572.3C533.89,1572.3 522.433,1583.3 522.433,1596.86L522.433,1946.44C522.433,1960 533.89,1971.01 548.003,1971.01L599.144,1971.01C605.074,1971.01 610.535,1969.07 614.876,1965.81L614.876,1577.5ZM2928.43,1965.81L2928.43,1577.5C2932.77,1574.24 2938.23,1572.3 2944.16,1572.3L2995.3,1572.3C3009.42,1572.3 3020.87,1583.3 3020.87,1596.86L3020.87,1946.44C3020.87,1960 3009.42,1971.01 2995.3,1971.01L2944.16,1971.01C2938.23,1971.01 2932.77,1969.07 2928.43,1965.81ZM2507.37,1703.14L1035.94,1703.14L1035.94,1840.16L2507.37,1840.16L2507.37,1898.38L2507.37,1659.46L2507.37,1703.14Z"})}),o_e=yt({displayName:"UnifiedCanvasIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 -0,515.578 -0,770.787L-0,2766.03C-0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM922.933,3113.01L462.407,3113.01C437.741,3113.01 413.674,3110.43 390.453,3105.52L390.453,2899.11L922.933,2899.11L922.933,3113.01ZM947.933,2899.11L947.933,3113.01L1480.41,3113.01L1480.41,2899.11L947.933,2899.11ZM1505.41,2899.11L1505.41,3113.01L2037.89,3113.01L2037.89,2899.11L1505.41,2899.11ZM2062.89,2899.11L2062.89,3113.01L2595.37,3113.01L2595.37,2899.11L2062.89,2899.11ZM3152.85,3105.52C3129.63,3110.43 3105.57,3113.01 3080.9,3113.01L2620.37,3113.01L2620.37,2899.11L3152.85,2899.11L3152.85,3105.52ZM365.453,3099.26L365.408,3099.24C354.521,3096.07 343.79,3092.37 333.266,3088.14C315.377,3080.95 298.094,3072.26 281.651,3062.2C263.114,3050.85 245.648,3037.77 229.544,3023.17C213.34,3008.49 198.518,2992.28 185.34,2974.83C174.102,2959.94 164.06,2944.16 155.353,2927.66C150.517,2918.5 146.102,2909.13 142.102,2899.57L141.91,2899.11L365.453,2899.11L365.453,3099.26ZM3401.4,2899.11C3361.33,2995.39 3279.12,3069.8 3177.85,3099.26L3177.85,2899.11L3401.4,2899.11ZM132.624,2874.11C121.465,2840.08 115.431,2803.76 115.431,2766.03L115.431,2341.63L365.453,2341.63L365.453,2874.11L132.624,2874.11ZM922.933,918.103L922.933,669.193L390.453,669.193L390.453,1201.67L731.014,1201.67L731.014,1226.67L390.453,1226.67L390.453,1759.15L731.014,1759.15L731.014,1784.15L390.453,1784.15L390.453,2316.63L731.014,2316.63L731.014,2341.63L390.453,2341.63L390.453,2874.11L922.933,2874.11L922.933,2625.2C931.122,2627.1 939.463,2628.6 947.933,2629.66L947.933,2874.11L1480.41,2874.11L1480.41,2631.62L1505.41,2631.62L1505.41,2874.11L2037.89,2874.11L2037.89,2631.62L2062.89,2631.62L2062.89,2874.11L2595.37,2874.11L2595.37,2629.66C2603.85,2628.6 2612.18,2627.1 2620.37,2625.2L2620.37,2874.11L3152.85,2874.11L3152.85,2341.63L2812.29,2341.63L2812.29,2316.63L3152.85,2316.63L3152.85,1784.15L2812.29,1784.15L2812.29,1759.15L3152.85,1759.15L3152.85,1226.67L2812.29,1226.67L2812.29,1201.67L3152.85,1201.67L3152.85,669.193L2620.37,669.193L2620.37,918.103C2612.18,916.203 2603.84,914.708 2595.37,913.642L2595.37,669.193L2062.89,669.193L2062.89,911.688L2037.89,911.688L2037.89,669.193L1505.41,669.193L1505.41,911.688L1480.41,911.688L1480.41,669.193L947.933,669.193L947.933,913.642C939.462,914.708 931.123,916.203 922.933,918.103ZM3427.88,2341.63L3427.88,2766.03C3427.88,2803.76 3421.84,2840.08 3410.68,2874.11L3177.85,2874.11L3177.85,2341.63L3427.88,2341.63ZM2494.01,2603.04L2524.53,2603.04C2541.26,2603.04 2557.62,2601.44 2573.47,2598.39L2598.02,2593.66L2588.56,2544.56L2564.01,2549.29C2551.23,2551.75 2538.03,2553.04 2524.53,2553.04L2494.01,2553.04L2494.01,2603.04ZM1294.01,2603.04L1394.01,2603.04L1394.01,2553.04L1294.01,2553.04L1294.01,2603.04ZM1894.01,2603.04L1994.01,2603.04L1994.01,2553.04L1894.01,2553.04L1894.01,2603.04ZM2194.01,2603.04L2294.01,2603.04L2294.01,2553.04L2194.01,2553.04L2194.01,2603.04ZM1144.01,2603.04L1244.01,2603.04L1244.01,2553.04L1144.01,2553.04L1144.01,2603.04ZM1444.01,2603.04L1544.01,2603.04L1544.01,2553.04L1444.01,2553.04L1444.01,2603.04ZM1594.01,2603.04L1694.01,2603.04L1694.01,2553.04L1594.01,2553.04L1594.01,2603.04ZM2344.01,2603.04L2444.01,2603.04L2444.01,2553.04L2344.01,2553.04L2344.01,2603.04ZM2044.01,2603.04L2144.01,2603.04L2144.01,2553.04L2044.01,2553.04L2044.01,2603.04ZM994.01,2603.04L1094.01,2603.04L1094.01,2553.04L994.01,2553.04L994.01,2603.04ZM1744.01,2603.04L1844.01,2603.04L1844.01,2553.04L1744.01,2553.04L1744.01,2603.04ZM864.145,2551.46C878.835,2562.5 894.741,2572 911.624,2579.74L934.352,2590.15L955.18,2544.7L932.452,2534.28C918.844,2528.05 906.024,2520.39 894.185,2511.49L874.199,2496.47L844.16,2536.44L864.145,2551.46ZM2674.44,2554.92C2689.46,2544.16 2703.28,2531.82 2715.65,2518.14L2732.42,2499.61L2695.35,2466.06L2678.58,2484.6C2668.59,2495.63 2657.44,2505.59 2645.32,2514.28L2625,2528.84L2654.12,2569.48L2674.44,2554.92ZM865.632,1911.31L1339.59,1374.15L2030.89,2134.59L2392.97,1713.77L2677.68,2017.9L2677.68,2324.93C2677.68,2424.23 2597.06,2504.85 2497.76,2504.85C2497.76,2504.85 1045.55,2504.85 1045.55,2504.85C946.251,2504.85 865.632,2424.23 865.632,2324.93L865.632,1911.31ZM771.251,2417.22C776.455,2435.14 783.552,2452.26 792.313,2468.35L804.27,2490.3L848.18,2466.39L836.223,2444.43C829.171,2431.49 823.457,2417.7 819.268,2403.28L812.297,2379.27L764.28,2393.21L771.251,2417.22ZM2770.36,2422.83C2775.83,2405.47 2779.52,2387.33 2781.2,2368.61L2783.43,2343.71L2733.64,2339.24L2731.4,2364.14C2730.05,2379.21 2727.08,2393.82 2722.67,2407.79L2715.15,2431.63L2762.84,2446.67L2770.36,2422.83ZM761.068,2236.12L761.068,2336.12L811.068,2336.12L811.068,2236.12L761.068,2236.12ZM3177.85,1784.15L3177.85,2316.63L3427.88,2316.63L3427.88,1784.15L3177.85,1784.15ZM115.431,1784.15L115.431,2316.63L365.453,2316.63L365.453,1784.15L115.431,1784.15ZM2782.24,2291.41L2782.24,2191.41L2732.24,2191.41L2732.24,2291.41L2782.24,2291.41ZM761.068,2086.12L761.068,2186.12L811.068,2186.12L811.068,2086.12L761.068,2086.12ZM2782.24,2141.41L2782.24,2041.4L2732.24,2041.4L2732.24,2141.41L2782.24,2141.41ZM761.068,1936.12L761.068,2036.12L811.068,2036.12L811.068,1936.12L761.068,1936.12ZM2782.24,1991.4L2782.24,1891.4L2732.24,1891.4L2732.24,1991.4L2782.24,1991.4ZM761.068,1786.12L761.068,1886.12L811.068,1886.12L811.068,1786.12L761.068,1786.12ZM2782.24,1841.4L2782.24,1741.41L2732.24,1741.41L2732.24,1841.4L2782.24,1841.4ZM3177.85,1226.67L3177.85,1759.15L3427.88,1759.15L3427.88,1226.67L3177.85,1226.67ZM115.431,1226.67L115.431,1759.15L365.453,1759.15L365.453,1226.67L115.431,1226.67ZM761.068,1636.12L761.068,1736.12L811.068,1736.12L811.068,1636.12L761.068,1636.12ZM2782.24,1691.41L2782.24,1591.41L2732.24,1591.41L2732.24,1691.41L2782.24,1691.41ZM761.068,1486.12L761.068,1586.12L811.068,1586.12L811.068,1486.12L761.068,1486.12ZM2203.72,1132.2C2318.18,1132.2 2411.11,1225.13 2411.11,1339.59C2411.11,1454.05 2318.18,1546.98 2203.72,1546.98C2089.26,1546.98 1996.33,1454.05 1996.33,1339.59C1996.33,1225.13 2089.26,1132.2 2203.72,1132.2ZM2782.24,1541.41L2782.24,1441.41L2732.24,1441.41L2732.24,1541.41L2782.24,1541.41ZM761.068,1336.12L761.068,1436.12L811.068,1436.12L811.068,1336.12L761.068,1336.12ZM2782.24,1391.41L2782.24,1291.41L2732.24,1291.41L2732.24,1391.41L2782.24,1391.41ZM761.068,1186.12L761.068,1286.12L811.068,1286.12L811.068,1186.12L761.068,1186.12ZM2732.24,1197.98L2732.24,1241.41L2782.24,1241.41L2782.24,1172.98L2781.03,1172.98C2780.06,1162.82 2778.49,1152.83 2776.36,1143.04L2771.04,1118.62L2722.18,1129.24L2727.5,1153.67C2730.61,1167.95 2732.24,1182.78 2732.24,1197.98ZM3412.74,669.193L3412.89,669.694C3414.66,675.5 3416.28,681.348 3417.73,687.238C3420.46,698.265 3422.65,709.427 3424.28,720.67C3425.85,731.554 3426.91,742.513 3427.45,753.497C3427.74,759.256 3427.87,765.021 3427.88,770.787L3427.88,1201.67L3177.85,1201.67L3177.85,669.193L3412.74,669.193ZM115.431,1201.67L115.431,770.787C115.436,765.021 115.572,759.256 115.855,753.497C116.395,742.513 117.453,731.554 119.031,720.67C120.66,709.427 122.844,698.265 125.574,687.238C127.032,681.348 128.65,675.5 130.414,669.694L130.567,669.193L365.453,669.193L365.453,1201.67L115.431,1201.67ZM804.386,1055C794.186,1070.26 785.572,1086.67 778.777,1103.99L769.647,1127.26L816.194,1145.52L825.324,1122.25C830.797,1108.3 837.738,1095.08 845.955,1082.79L859.848,1062L818.279,1034.21L804.386,1055ZM2730.5,1043.14C2719.39,1028.39 2706.73,1014.86 2692.77,1002.81L2673.84,986.48L2641.17,1024.34L2660.1,1040.67C2671.37,1050.39 2681.59,1061.31 2690.56,1073.22L2705.6,1093.19L2745.54,1063.11L2730.5,1043.14ZM933.266,954.821C915.698,961.006 898.998,969.041 883.402,978.694L862.144,991.851L888.457,1034.37L909.715,1021.21C922.275,1013.44 935.723,1006.96 949.871,1001.98L973.452,993.681L956.848,946.518L933.266,954.821ZM2596.18,950.378C2578.71,945.327 2560.49,942.072 2541.72,940.832L2516.78,939.183L2513.48,989.074L2538.43,990.723C2553.54,991.722 2568.22,994.341 2582.28,998.409L2606.3,1005.36L2620.19,957.325L2596.18,950.378ZM2165.09,940.265L2065.09,940.265L2065.09,990.265L2165.09,990.265L2165.09,940.265ZM1865.08,940.265L1765.08,940.265L1765.08,990.265L1865.08,990.265L1865.08,940.265ZM1115.08,940.265L1015.08,940.265L1015.08,990.265L1115.08,990.265L1115.08,940.265ZM2015.09,940.265L1915.09,940.265L1915.09,990.265L2015.09,990.265L2015.09,940.265ZM2315.09,940.265L2215.09,940.265L2215.09,990.265L2315.09,990.265L2315.09,940.265ZM1265.08,940.265L1165.08,940.265L1165.08,990.265L1265.08,990.265L1265.08,940.265ZM1415.08,940.265L1315.08,940.265L1315.08,990.265L1415.08,990.265L1415.08,940.265ZM1565.08,940.265L1465.08,940.265L1465.08,990.265L1565.08,990.265L1565.08,940.265ZM1715.08,940.265L1615.08,940.265L1615.08,990.265L1715.08,990.265L1715.08,940.265ZM2465.09,940.265L2365.09,940.265L2365.09,990.265L2465.09,990.265L2465.09,940.265ZM365.453,437.562L365.453,644.193L139.286,644.193C178.303,544.782 261.917,467.677 365.453,437.562ZM922.933,423.812L922.933,644.193L390.453,644.193L390.453,431.295C413.674,426.391 437.741,423.812 462.407,423.812L922.933,423.812ZM947.933,423.812L947.933,644.193L1480.41,644.193L1480.41,423.812L947.933,423.812ZM1505.41,423.812L1505.41,644.193L2037.89,644.193L2037.89,423.812L1505.41,423.812ZM2062.89,423.812L2062.89,644.193L2595.37,644.193L2595.37,423.812L2062.89,423.812ZM2620.37,423.812L3080.9,423.812C3105.57,423.812 3129.63,426.391 3152.85,431.295L3152.85,644.193L2620.37,644.193L2620.37,423.812ZM3177.85,437.562C3281.38,467.669 3365,544.774 3404.02,644.193L3177.85,644.193L3177.85,437.562Z"})}),Qe=Ae((e,t)=>{const{tooltip:n="",styleClass:r,tooltipProps:i,asCheckbox:o,isChecked:a,...s}=e;return y.jsx(uo,{label:n,hasArrow:!0,...i,...i!=null&&i.placement?{placement:i.placement}:{placement:"top"},children:y.jsx(ss,{ref:t,className:r?`invokeai__icon-button ${r}`:"invokeai__icon-button","data-as-checkbox":o,"data-selected":a!==void 0?a:void 0,...s})})}),cr=Ae((e,t)=>{const{children:n,tooltip:r="",tooltipProps:i,styleClass:o,...a}=e;return y.jsx(uo,{label:r,...i,children:y.jsx(as,{ref:t,className:["invokeai__button",o].join(" "),...a,children:n})})}),Zs=e=>{const{triggerComponent:t,children:n,styleClass:r,hasArrow:i=!0,...o}=e;return y.jsxs(ME,{...o,children:[y.jsx(DE,{children:t}),y.jsxs(RE,{className:`invokeai__popover-content ${r}`,children:[i&&y.jsx(IE,{className:"invokeai__popover-arrow"}),n]})]})},Vx=at(e=>e.lightbox,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),hD=/^-?(0\.)?\.?$/,ra=e=>{const{label:t,labelFontSize:n="sm",styleClass:r,isDisabled:i=!1,showStepper:o=!0,width:a,textAlign:s,isInvalid:l,value:u,onChange:d,min:h,max:m,isInteger:v=!0,formControlProps:b,formLabelProps:S,numberInputFieldProps:E,numberInputStepperProps:k,tooltipProps:_,...T}=e,[A,I]=w.useState(String(u));w.useEffect(()=>{!A.match(hD)&&u!==Number(A)&&I(String(u))},[u,A]);const R=j=>{I(j),j.match(hD)||d(v?Math.floor(Number(j)):Number(j))},D=j=>{const z=ke.clamp(v?Math.floor(Number(j.target.value)):Number(j.target.value),h,m);I(String(z)),d(z)};return y.jsx(uo,{..._,children:y.jsxs(dn,{isDisabled:i,isInvalid:l,className:r?`invokeai__number-input-form-control ${r}`:"invokeai__number-input-form-control",...b,children:[t&&y.jsx(kn,{className:"invokeai__number-input-form-label",style:{display:t?"block":"none"},fontSize:n,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",...S,children:t}),y.jsxs(TE,{className:"invokeai__number-input-root",value:A,min:h,max:m,keepWithinRange:!0,clampValueOnBlur:!1,onChange:R,onBlur:D,width:a,...T,children:[y.jsx(LE,{className:"invokeai__number-input-field",textAlign:s,...E}),o&&y.jsxs("div",{className:"invokeai__number-input-stepper",children:[y.jsx(OE,{...k,className:"invokeai__number-input-stepper-button"}),y.jsx(AE,{...k,className:"invokeai__number-input-stepper-button"})]})]})]})})},tl=e=>{const{label:t,isDisabled:n,validValues:r,tooltip:i,tooltipProps:o,size:a="sm",fontSize:s="sm",styleClass:l,...u}=e;return y.jsxs(dn,{isDisabled:n,className:`invokeai__select ${l}`,onClick:d=>{d.stopPropagation(),d.nativeEvent.stopImmediatePropagation(),d.nativeEvent.stopPropagation(),d.nativeEvent.cancelBubble=!0},children:[t&&y.jsx(kn,{className:"invokeai__select-label",fontSize:s,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",children:t}),y.jsx(uo,{label:i,...o,children:y.jsx(FV,{className:"invokeai__select-picker",fontSize:s,size:a,...u,children:r.map(d=>typeof d=="string"||typeof d=="number"?y.jsx("option",{value:d,className:"invokeai__select-option",children:d},d):y.jsx("option",{value:d.value,className:"invokeai__select-option",children:d.key},d.value))})})]})},Fy=e=>e.postprocessing,ir=e=>e.system,a_e=e=>e.system.toastQueue,qG=at(ir,e=>{const{model_list:t}=e,n=ke.reduce(t,(r,i,o)=>(i.status==="active"&&(r=o),r),"");return{...t[n],name:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),s_e=at([Fy,ir],({facetoolStrength:e,facetoolType:t,codeformerFidelity:n},{isGFPGANAvailable:r})=>({facetoolStrength:e,facetoolType:t,codeformerFidelity:n,isGFPGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wP=()=>{const e=Me(),{facetoolStrength:t,facetoolType:n,codeformerFidelity:r,isGFPGANAvailable:i}=he(s_e),o=u=>e(u8(u)),a=u=>e(xU(u)),s=u=>e(I4(u.target.value)),{t:l}=Ve();return y.jsxs(Ge,{direction:"column",gap:2,children:[y.jsx(tl,{label:l("parameters:type"),validValues:a7e.concat(),value:n,onChange:s}),y.jsx(ra,{isDisabled:!i,label:l("parameters:strength"),step:.05,min:0,max:1,onChange:o,value:t,width:"90px",isInteger:!1}),n==="codeformer"&&y.jsx(ra,{isDisabled:!i,label:l("parameters:codeformerFidelity"),step:.05,min:0,max:1,onChange:a,value:r,width:"90px",isInteger:!1})]})};var YG={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},pD=N.createContext&&N.createContext(YG),Fd=globalThis&&globalThis.__assign||function(){return Fd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{Se(i)},[i]);const Pe=w.useMemo(()=>W!=null&&W.max?W.max:a,[a,W==null?void 0:W.max]),ye=He=>{l(He)},We=He=>{He.target.value===""&&(He.target.value=String(o));const Be=ke.clamp(S?Math.floor(Number(He.target.value)):Number(fe),o,Pe);l(Be)},De=He=>{Se(He)},ot=()=>{I&&I()};return y.jsxs(dn,{className:z?`invokeai__slider-component ${z}`:"invokeai__slider-component","data-markers":h,style:A?{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"1rem",margin:0,padding:0}:{},...V,children:[y.jsx(kn,{className:"invokeai__slider-component-label",...K,children:r}),y.jsxs(wy,{w:"100%",gap:2,alignItems:"center",children:[y.jsxs(jE,{"aria-label":r,value:i,min:o,max:a,step:s,onChange:ye,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),focusThumbOnChange:!1,isDisabled:D,width:u,...ie,children:[h&&y.jsxs(y.Fragment,{children:[y.jsx(G9,{value:o,className:"invokeai__slider-mark invokeai__slider-mark-start",ml:m,...te,children:o}),y.jsx(G9,{value:a,className:"invokeai__slider-mark invokeai__slider-mark-end",ml:v,...te,children:a})]}),y.jsx(ZV,{className:"invokeai__slider_track",...q,children:y.jsx(QV,{className:"invokeai__slider_track-filled"})}),y.jsx(uo,{hasArrow:!0,className:"invokeai__slider-component-tooltip",placement:"top",isOpen:t,label:`${i}${d}`,hidden:T,...U,children:y.jsx(XV,{className:"invokeai__slider-thumb",...$})})]}),b&&y.jsxs(TE,{min:o,max:Pe,step:s,value:fe,onChange:De,onBlur:We,className:"invokeai__slider-number-field",isDisabled:j,...W,children:[y.jsx(LE,{className:"invokeai__slider-number-input",width:E,readOnly:k,minWidth:E,...X}),y.jsxs(IV,{...Z,children:[y.jsx(OE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"}),y.jsx(AE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"})]})]}),_&&y.jsx(Qe,{size:"sm","aria-label":"Reset",tooltip:"Reset",icon:y.jsx(Wx,{}),onClick:ot,isDisabled:R,...Q})]})]})}const g_e=at([Fy,ir],({upscalingLevel:e,upscalingStrength:t,upscalingDenoising:n},{isESRGANAvailable:r})=>({upscalingLevel:e,upscalingDenoising:n,upscalingStrength:t,isESRGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CP=()=>{const e=Me(),{upscalingLevel:t,upscalingStrength:n,upscalingDenoising:r,isESRGANAvailable:i}=he(g_e),{t:o}=Ve(),a=l=>e(wU(Number(l.target.value))),s=l=>e(d8(l));return y.jsxs(Ge,{flexDir:"column",rowGap:"1rem",minWidth:"20rem",children:[y.jsx(tl,{isDisabled:!i,label:o("parameters:scale"),value:t,onChange:a,validValues:o7e}),y.jsx(so,{label:o("parameters:denoisingStrength"),value:r,min:0,max:1,step:.01,onChange:l=>{e(c8(l))},handleReset:()=>e(c8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i}),y.jsx(so,{label:`${o("parameters:upscale")} ${o("parameters:strength")}`,value:n,min:0,max:1,step:.05,onChange:s,handleReset:()=>e(d8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i})]})};var m_e=Object.create,ZG=Object.defineProperty,v_e=Object.getOwnPropertyDescriptor,y_e=Object.getOwnPropertyNames,b_e=Object.getPrototypeOf,S_e=Object.prototype.hasOwnProperty,Ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),x_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of y_e(t))!S_e.call(e,i)&&i!==n&&ZG(e,i,{get:()=>t[i],enumerable:!(r=v_e(t,i))||r.enumerable});return e},QG=(e,t,n)=>(n=e!=null?m_e(b_e(e)):{},x_e(t||!e||!e.__esModule?ZG(n,"default",{value:e,enumerable:!0}):n,e)),w_e=Ue((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n}),JG=Ue((e,t)=>{function n(r,i){return r===i||r!==r&&i!==i}t.exports=n}),Ux=Ue((e,t)=>{var n=JG();function r(i,o){for(var a=i.length;a--;)if(n(i[a][0],o))return a;return-1}t.exports=r}),C_e=Ue((e,t)=>{var n=Ux(),r=Array.prototype,i=r.splice;function o(a){var s=this.__data__,l=n(s,a);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=o}),__e=Ue((e,t)=>{var n=Ux();function r(i){var o=this.__data__,a=n(o,i);return a<0?void 0:o[a][1]}t.exports=r}),k_e=Ue((e,t)=>{var n=Ux();function r(i){return n(this.__data__,i)>-1}t.exports=r}),E_e=Ue((e,t)=>{var n=Ux();function r(i,o){var a=this.__data__,s=n(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=r}),Gx=Ue((e,t)=>{var n=w_e(),r=C_e(),i=__e(),o=k_e(),a=E_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx();function r(){this.__data__=new n,this.size=0}t.exports=r}),T_e=Ue((e,t)=>{function n(r){var i=this.__data__,o=i.delete(r);return this.size=i.size,o}t.exports=n}),L_e=Ue((e,t)=>{function n(r){return this.__data__.get(r)}t.exports=n}),A_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),eq=Ue((e,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),pc=Ue((e,t)=>{var n=eq(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();t.exports=i}),_P=Ue((e,t)=>{var n=pc(),r=n.Symbol;t.exports=r}),O_e=Ue((e,t)=>{var n=_P(),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;function s(l){var u=i.call(l,a),d=l[a];try{l[a]=void 0;var h=!0}catch{}var m=o.call(l);return h&&(u?l[a]=d:delete l[a]),m}t.exports=s}),M_e=Ue((e,t)=>{var n=Object.prototype,r=n.toString;function i(o){return r.call(o)}t.exports=i}),qx=Ue((e,t)=>{var n=_P(),r=O_e(),i=M_e(),o="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;function l(u){return u==null?u===void 0?a:o:s&&s in Object(u)?r(u):i(u)}t.exports=l}),tq=Ue((e,t)=>{function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}t.exports=n}),nq=Ue((e,t)=>{var n=qx(),r=tq(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!r(u))return!1;var d=n(u);return d==o||d==a||d==i||d==s}t.exports=l}),I_e=Ue((e,t)=>{var n=pc(),r=n["__core-js_shared__"];t.exports=r}),R_e=Ue((e,t)=>{var n=I_e(),r=function(){var o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!r&&r in o}t.exports=i}),rq=Ue((e,t)=>{var n=Function.prototype,r=n.toString;function i(o){if(o!=null){try{return r.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}),D_e=Ue((e,t)=>{var n=nq(),r=R_e(),i=tq(),o=rq(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,h=u.hasOwnProperty,m=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(b){if(!i(b)||r(b))return!1;var S=n(b)?m:s;return S.test(o(b))}t.exports=v}),N_e=Ue((e,t)=>{function n(r,i){return r==null?void 0:r[i]}t.exports=n}),L0=Ue((e,t)=>{var n=D_e(),r=N_e();function i(o,a){var s=r(o,a);return n(s)?s:void 0}t.exports=i}),kP=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Map");t.exports=i}),Yx=Ue((e,t)=>{var n=L0(),r=n(Object,"create");t.exports=r}),j_e=Ue((e,t)=>{var n=Yx();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}),B_e=Ue((e,t)=>{function n(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}t.exports=n}),$_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var l=this.__data__;if(n){var u=l[s];return u===r?void 0:u}return o.call(l,s)?l[s]:void 0}t.exports=a}),F_e=Ue((e,t)=>{var n=Yx(),r=Object.prototype,i=r.hasOwnProperty;function o(a){var s=this.__data__;return n?s[a]!==void 0:i.call(s,a)}t.exports=o}),z_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=n&&a===void 0?r:a,this}t.exports=i}),H_e=Ue((e,t)=>{var n=j_e(),r=B_e(),i=$_e(),o=F_e(),a=z_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=H_e(),r=Gx(),i=kP();function o(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=o}),W_e=Ue((e,t)=>{function n(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}t.exports=n}),Kx=Ue((e,t)=>{var n=W_e();function r(i,o){var a=i.__data__;return n(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=r}),U_e=Ue((e,t)=>{var n=Kx();function r(i){var o=n(this,i).delete(i);return this.size-=o?1:0,o}t.exports=r}),G_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).get(i)}t.exports=r}),q_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).has(i)}t.exports=r}),Y_e=Ue((e,t)=>{var n=Kx();function r(i,o){var a=n(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=r}),iq=Ue((e,t)=>{var n=V_e(),r=U_e(),i=G_e(),o=q_e(),a=Y_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx(),r=kP(),i=iq(),o=200;function a(s,l){var u=this.__data__;if(u instanceof n){var d=u.__data__;if(!r||d.length{var n=Gx(),r=P_e(),i=T_e(),o=L_e(),a=A_e(),s=K_e();function l(u){var d=this.__data__=new n(u);this.size=d.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l}),Z_e=Ue((e,t)=>{var n="__lodash_hash_undefined__";function r(i){return this.__data__.set(i,n),this}t.exports=r}),Q_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),J_e=Ue((e,t)=>{var n=iq(),r=Z_e(),i=Q_e();function o(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new n;++s{function n(r,i){for(var o=-1,a=r==null?0:r.length;++o{function n(r,i){return r.has(i)}t.exports=n}),oq=Ue((e,t)=>{var n=J_e(),r=eke(),i=tke(),o=1,a=2;function s(l,u,d,h,m,v){var b=d&o,S=l.length,E=u.length;if(S!=E&&!(b&&E>S))return!1;var k=v.get(l),_=v.get(u);if(k&&_)return k==u&&_==l;var T=-1,A=!0,I=d&a?new n:void 0;for(v.set(l,u),v.set(u,l);++T{var n=pc(),r=n.Uint8Array;t.exports=r}),rke=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=n}),ike=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=a}),o}t.exports=n}),oke=Ue((e,t)=>{var n=_P(),r=nke(),i=JG(),o=oq(),a=rke(),s=ike(),l=1,u=2,d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Map]",b="[object Number]",S="[object RegExp]",E="[object Set]",k="[object String]",_="[object Symbol]",T="[object ArrayBuffer]",A="[object DataView]",I=n?n.prototype:void 0,R=I?I.valueOf:void 0;function D(j,z,V,K,te,q,$){switch(V){case A:if(j.byteLength!=z.byteLength||j.byteOffset!=z.byteOffset)return!1;j=j.buffer,z=z.buffer;case T:return!(j.byteLength!=z.byteLength||!q(new r(j),new r(z)));case d:case h:case b:return i(+j,+z);case m:return j.name==z.name&&j.message==z.message;case S:case k:return j==z+"";case v:var W=a;case E:var X=K&l;if(W||(W=s),j.size!=z.size&&!X)return!1;var Z=$.get(j);if(Z)return Z==z;K|=u,$.set(j,z);var U=o(W(j),W(z),K,te,q,$);return $.delete(j),U;case _:if(R)return R.call(j)==R.call(z)}return!1}t.exports=D}),ake=Ue((e,t)=>{function n(r,i){for(var o=-1,a=i.length,s=r.length;++o{var n=Array.isArray;t.exports=n}),ske=Ue((e,t)=>{var n=ake(),r=EP();function i(o,a,s){var l=a(o);return r(o)?l:n(l,s(o))}t.exports=i}),lke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=r==null?0:r.length,s=0,l=[];++o{function n(){return[]}t.exports=n}),cke=Ue((e,t)=>{var n=lke(),r=uke(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),n(a(l),function(u){return o.call(l,u)}))}:r;t.exports=s}),dke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=Array(r);++o{function n(r){return r!=null&&typeof r=="object"}t.exports=n}),fke=Ue((e,t)=>{var n=qx(),r=Xx(),i="[object Arguments]";function o(a){return r(a)&&n(a)==i}t.exports=o}),hke=Ue((e,t)=>{var n=fke(),r=Xx(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(l){return r(l)&&o.call(l,"callee")&&!a.call(l,"callee")};t.exports=s}),pke=Ue((e,t)=>{function n(){return!1}t.exports=n}),aq=Ue((e,t)=>{var n=pc(),r=pke(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||r;t.exports=u}),gke=Ue((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??n,!!a&&(s=="number"||s!="symbol"&&r.test(o))&&o>-1&&o%1==0&&o{var n=9007199254740991;function r(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}t.exports=r}),mke=Ue((e,t)=>{var n=qx(),r=sq(),i=Xx(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",S="[object Set]",E="[object String]",k="[object WeakMap]",_="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",I="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",K="[object Uint16Array]",te="[object Uint32Array]",q={};q[A]=q[I]=q[R]=q[D]=q[j]=q[z]=q[V]=q[K]=q[te]=!0,q[o]=q[a]=q[_]=q[s]=q[T]=q[l]=q[u]=q[d]=q[h]=q[m]=q[v]=q[b]=q[S]=q[E]=q[k]=!1;function $(W){return i(W)&&r(W.length)&&!!q[n(W)]}t.exports=$}),vke=Ue((e,t)=>{function n(r){return function(i){return r(i)}}t.exports=n}),yke=Ue((e,t)=>{var n=eq(),r=typeof e=="object"&&e&&!e.nodeType&&e,i=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s}),lq=Ue((e,t)=>{var n=mke(),r=vke(),i=yke(),o=i&&i.isTypedArray,a=o?r(o):n;t.exports=a}),bke=Ue((e,t)=>{var n=dke(),r=hke(),i=EP(),o=aq(),a=gke(),s=lq(),l=Object.prototype,u=l.hasOwnProperty;function d(h,m){var v=i(h),b=!v&&r(h),S=!v&&!b&&o(h),E=!v&&!b&&!S&&s(h),k=v||b||S||E,_=k?n(h.length,String):[],T=_.length;for(var A in h)(m||u.call(h,A))&&!(k&&(A=="length"||S&&(A=="offset"||A=="parent")||E&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,T)))&&_.push(A);return _}t.exports=d}),Ske=Ue((e,t)=>{var n=Object.prototype;function r(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||n;return i===a}t.exports=r}),xke=Ue((e,t)=>{function n(r,i){return function(o){return r(i(o))}}t.exports=n}),wke=Ue((e,t)=>{var n=xke(),r=n(Object.keys,Object);t.exports=r}),Cke=Ue((e,t)=>{var n=Ske(),r=wke(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=a}),_ke=Ue((e,t)=>{var n=nq(),r=sq();function i(o){return o!=null&&r(o.length)&&!n(o)}t.exports=i}),kke=Ue((e,t)=>{var n=bke(),r=Cke(),i=_ke();function o(a){return i(a)?n(a):r(a)}t.exports=o}),Eke=Ue((e,t)=>{var n=ske(),r=cke(),i=kke();function o(a){return n(a,i,r)}t.exports=o}),Pke=Ue((e,t)=>{var n=Eke(),r=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,l,u,d,h,m){var v=u&r,b=n(s),S=b.length,E=n(l),k=E.length;if(S!=k&&!v)return!1;for(var _=S;_--;){var T=b[_];if(!(v?T in l:o.call(l,T)))return!1}var A=m.get(s),I=m.get(l);if(A&&I)return A==l&&I==s;var R=!0;m.set(s,l),m.set(l,s);for(var D=v;++_{var n=L0(),r=pc(),i=n(r,"DataView");t.exports=i}),Lke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Promise");t.exports=i}),Ake=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Set");t.exports=i}),Oke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"WeakMap");t.exports=i}),Mke=Ue((e,t)=>{var n=Tke(),r=kP(),i=Lke(),o=Ake(),a=Oke(),s=qx(),l=rq(),u="[object Map]",d="[object Object]",h="[object Promise]",m="[object Set]",v="[object WeakMap]",b="[object DataView]",S=l(n),E=l(r),k=l(i),_=l(o),T=l(a),A=s;(n&&A(new n(new ArrayBuffer(1)))!=b||r&&A(new r)!=u||i&&A(i.resolve())!=h||o&&A(new o)!=m||a&&A(new a)!=v)&&(A=function(I){var R=s(I),D=R==d?I.constructor:void 0,j=D?l(D):"";if(j)switch(j){case S:return b;case E:return u;case k:return h;case _:return m;case T:return v}return R}),t.exports=A}),Ike=Ue((e,t)=>{var n=X_e(),r=oq(),i=oke(),o=Pke(),a=Mke(),s=EP(),l=aq(),u=lq(),d=1,h="[object Arguments]",m="[object Array]",v="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function E(k,_,T,A,I,R){var D=s(k),j=s(_),z=D?m:a(k),V=j?m:a(_);z=z==h?v:z,V=V==h?v:V;var K=z==v,te=V==v,q=z==V;if(q&&l(k)){if(!l(_))return!1;D=!0,K=!1}if(q&&!K)return R||(R=new n),D||u(k)?r(k,_,T,A,I,R):i(k,_,z,T,A,I,R);if(!(T&d)){var $=K&&S.call(k,"__wrapped__"),W=te&&S.call(_,"__wrapped__");if($||W){var X=$?k.value():k,Z=W?_.value():_;return R||(R=new n),I(X,Z,T,A,R)}}return q?(R||(R=new n),o(k,_,T,A,I,R)):!1}t.exports=E}),Rke=Ue((e,t)=>{var n=Ike(),r=Xx();function i(o,a,s,l,u){return o===a?!0:o==null||a==null||!r(o)&&!r(a)?o!==o&&a!==a:n(o,a,s,l,i,u)}t.exports=i}),uq=Ue((e,t)=>{var n=Rke();function r(i,o){return n(i,o)}t.exports=r}),Dke=["ctrl","shift","alt","meta","mod"],Nke={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown"};function IC(e,t=","){return typeof e=="string"?e.split(t):e}function u2(e,t="+"){let n=e.toLocaleLowerCase().split(t).map(o=>o.trim()).map(o=>Nke[o]||o),r={alt:n.includes("alt"),ctrl:n.includes("ctrl"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},i=n.filter(o=>!Dke.includes(o));return{...r,keys:i}}function jke(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function Bke(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function $ke(e){return cq(e,["input","textarea","select"])}function cq({target:e},t=!1){let n=e&&e.tagName;return t instanceof Array?Boolean(n&&t&&t.some(r=>r.toLowerCase()===n.toLowerCase())):Boolean(n&&t&&t===!0)}function Fke(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a '),!0):t?e.some(n=>t.includes(n))||e.includes("*"):!0}var zke=(e,t,n)=>{let{alt:r,ctrl:i,meta:o,mod:a,shift:s,keys:l}=t,{altKey:u,ctrlKey:d,metaKey:h,shiftKey:m,key:v,code:b}=e,S=b.toLowerCase().replace("key",""),E=v.toLowerCase();if(u!==r&&E!=="alt"||m!==s&&E!=="shift")return!1;if(a){if(!h&&!d)return!1}else if(h!==o&&S!=="meta"||d!==i&&S!=="ctrl")return!1;return l&&l.length===1&&(l.includes(E)||l.includes(S))?!0:l?l.every(k=>n.has(k)):!l},Hke=w.createContext(void 0),Vke=()=>w.useContext(Hke),Wke=w.createContext({hotkeys:[],enabledScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),Uke=()=>w.useContext(Wke),Gke=QG(uq());function qke(e){let t=w.useRef(void 0);return(0,Gke.default)(t.current,e)||(t.current=e),t.current}var gD=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()};function Je(e,t,n,r){let i=w.useRef(null),{current:o}=w.useRef(new Set),a=n instanceof Array?r instanceof Array?void 0:r:n,s=n instanceof Array?n:r instanceof Array?r:[],l=w.useCallback(t,[...s]),u=qke(a),{enabledScopes:d}=Uke(),h=Vke();return w.useLayoutEffect(()=>{if((u==null?void 0:u.enabled)===!1||!Fke(d,u==null?void 0:u.scopes))return;let m=S=>{var E;if(!($ke(S)&&!cq(S,u==null?void 0:u.enableOnFormTags))){if(i.current!==null&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){gD(S);return}(E=S.target)!=null&&E.isContentEditable&&!(u!=null&&u.enableOnContentEditable)||IC(e,u==null?void 0:u.splitKey).forEach(k=>{var T;let _=u2(k,u==null?void 0:u.combinationKey);if(zke(S,_,o)||(T=_.keys)!=null&&T.includes("*")){if(jke(S,_,u==null?void 0:u.preventDefault),!Bke(S,_,u==null?void 0:u.enabled)){gD(S);return}l(S,_)}})}},v=S=>{o.add(S.key.toLowerCase()),((u==null?void 0:u.keydown)===void 0&&(u==null?void 0:u.keyup)!==!0||u!=null&&u.keydown)&&m(S)},b=S=>{S.key.toLowerCase()!=="meta"?o.delete(S.key.toLowerCase()):o.clear(),u!=null&&u.keyup&&m(S)};return(i.current||document).addEventListener("keyup",b),(i.current||document).addEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.addHotkey(u2(S,u==null?void 0:u.combinationKey))),()=>{(i.current||document).removeEventListener("keyup",b),(i.current||document).removeEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.removeHotkey(u2(S,u==null?void 0:u.combinationKey)))}},[e,l,u,d]),i}QG(uq());var D8=new Set;function Yke(e){(Array.isArray(e)?e:[e]).forEach(t=>D8.add(u2(t)))}function Kke(e){(Array.isArray(e)?e:[e]).forEach(t=>{var r;let n=u2(t);for(let i of D8)(r=i.keys)!=null&&r.every(o=>{var a;return(a=n.keys)==null?void 0:a.includes(o)})&&D8.delete(i)})}window.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keydown",e=>{Yke(e.key)}),document.addEventListener("keyup",e=>{Kke(e.key)})});function Xke(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}}]})(e)}function Zke(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(e)}function Qke(e){return gt({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}]})(e)}function dq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}]})(e)}function fq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}]})(e)}function Jke(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}]})(e)}function eEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}]})(e)}function hq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}]})(e)}function tEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}]})(e)}function nEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}]})(e)}function PP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function pq(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"}}]})(e)}function o0(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"}}]})(e)}function gq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z"}}]})(e)}function rEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}]})(e)}function TP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function mq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z"}}]})(e)}function iEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z"}}]})(e)}function oEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"}}]})(e)}function vq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M50.75 333.25c-12 12-18.75 28.28-18.75 45.26V424L0 480l32 32 56-32h45.49c16.97 0 33.25-6.74 45.25-18.74l126.64-126.62-128-128L50.75 333.25zM483.88 28.12c-37.47-37.5-98.28-37.5-135.75 0l-77.09 77.09-13.1-13.1c-9.44-9.44-24.65-9.31-33.94 0l-40.97 40.97c-9.37 9.37-9.37 24.57 0 33.94l161.94 161.94c9.44 9.44 24.65 9.31 33.94 0L419.88 288c9.37-9.37 9.37-24.57 0-33.94l-13.1-13.1 77.09-77.09c37.51-37.48 37.51-98.26.01-135.75z"}}]})(e)}function aEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"}}]})(e)}function sEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"}}]})(e)}function yq(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M512 320s-64 92.65-64 128c0 35.35 28.66 64 64 64s64-28.65 64-64-64-128-64-128zm-9.37-102.94L294.94 9.37C288.69 3.12 280.5 0 272.31 0s-16.38 3.12-22.62 9.37l-81.58 81.58L81.93 4.76c-6.25-6.25-16.38-6.25-22.62 0L36.69 27.38c-6.24 6.25-6.24 16.38 0 22.62l86.19 86.18-94.76 94.76c-37.49 37.48-37.49 98.26 0 135.75l117.19 117.19c18.74 18.74 43.31 28.12 67.87 28.12 24.57 0 49.13-9.37 67.87-28.12l221.57-221.57c12.5-12.5 12.5-32.75.01-45.25zm-116.22 70.97H65.93c1.36-3.84 3.57-7.98 7.43-11.83l13.15-13.15 81.61-81.61 58.6 58.6c12.49 12.49 32.75 12.49 45.24 0s12.49-32.75 0-45.24l-58.6-58.6 58.95-58.95 162.44 162.44-48.34 48.34z"}}]})(e)}function lEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.3.9 9 8.5 4.4 13.1z"}}]})(e)}function uEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"}}]})(e)}function cEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"}}]})(e)}function dEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z"}}]})(e)}function bq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"}}]})(e)}function fEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320.67 64c-442.6 0-357.57 384-158.46 384 39.9 0 77.47-20.69 101.42-55.86l25.73-37.79c15.66-22.99 46.97-22.99 62.63 0l25.73 37.79C401.66 427.31 439.23 448 479.13 448c189.86 0 290.63-384-158.46-384zM184 308.36c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05zm272 0c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05z"}}]})(e)}function hEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function Sq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"}}]})(e)}function pEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(e)}function gEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}}]})(e)}function zy(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function mEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z"}}]})(e)}function vEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z"}}]})(e)}function yEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z"}}]})(e)}function LP(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"}}]})(e)}function bEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M64 96H0c0 123.7 100.3 224 224 224v144c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320C288 196.3 187.7 96 64 96zm384-64c-84.2 0-157.4 46.5-195.7 115.2 27.7 30.2 48.2 66.9 59 107.6C424 243.1 512 147.9 512 32h-64z"}}]})(e)}function SEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"}}]})(e)}function mD(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"}}]})(e)}function AP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z"}}]})(e)}function xEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"}}]})(e)}function vp(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"}}]})(e)}function wEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"}}]})(e)}function Zx(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function CEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function OP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}]})(e)}const sn=e=>e.canvas,Mr=at([sn,Or,ir],(e,t,n)=>e.layerState.stagingArea.images.length>0||t==="unifiedCanvas"&&n.isProcessing),xq=e=>e.canvas.layerState.objects.find(W5),yp=e=>e.gallery,_Ee=at([yp,Vx,Mr,Or],(e,t,n,r)=>{const{categories:i,currentCategory:o,currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,galleryWidth:b,shouldUseSingleGalleryColumn:S}=e,{isLightboxOpen:E}=t;return{currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,galleryGridTemplateColumns:S?"auto":`repeat(auto-fill, minmax(${d}px, auto))`,activeTabName:r,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,images:i[o].images,areMoreImagesAvailable:i[o].areMoreImagesAvailable,currentCategory:o,galleryWidth:b,isLightboxOpen:E,isStaging:n,shouldEnableResize:!(E||r==="unifiedCanvas"&&s),shouldUseSingleGalleryColumn:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kEe=at([yp,ir,Vx,Or],(e,t,n,r)=>({mayDeleteImage:t.isConnected&&!t.isProcessing,galleryImageObjectFit:e.galleryImageObjectFit,galleryImageMinimumWidth:e.galleryImageMinimumWidth,shouldUseSingleGalleryColumn:e.shouldUseSingleGalleryColumn,activeTabName:r,isLightboxOpen:n.isLightboxOpen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EEe=at(ir,e=>{const{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}=e;return{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eS=w.forwardRef(({image:e,children:t},n)=>{const{isOpen:r,onOpen:i,onClose:o}=Wh(),a=Me(),{shouldConfirmOnDelete:s,isConnected:l,isProcessing:u}=he(EEe),d=w.useRef(null),h=b=>{b.stopPropagation(),s?i():m()},m=()=>{l&&!u&&e&&a(N8e(e)),o()};Je("delete",()=>{s?i():m()},[e,s,l,u]);const v=b=>a(BU(!b.target.checked));return y.jsxs(y.Fragment,{children:[w.cloneElement(t,{onClick:e?h:void 0,ref:n}),y.jsx(AV,{isOpen:r,leastDestructiveRef:d,onClose:o,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:"Delete image"}),y.jsx(n0,{children:y.jsxs(Ge,{direction:"column",gap:5,children:[y.jsx(fn,{children:"Are you sure? Deleted images will be sent to the Bin. You can restore from there if you wish to."}),y.jsx(dn,{children:y.jsxs(Ge,{alignItems:"center",children:[y.jsx(kn,{mb:0,children:"Don't ask me again"}),y.jsx(BE,{checked:!s,onChange:v})]})})]})}),y.jsxs(yx,{children:[y.jsx(as,{ref:d,onClick:o,className:"modal-close-btn",children:"Cancel"}),y.jsx(as,{colorScheme:"red",onClick:m,ml:3,children:"Delete"})]})]})})})]})});eS.displayName="DeleteImageModal";const PEe=at([ir,yp,Fy,mp,Vx,Or],(e,t,n,r,i,o)=>{const{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u}=e,{upscalingLevel:d,facetoolStrength:h}=n,{isLightboxOpen:m}=i,{shouldShowImageDetails:v}=r,{intermediateImage:b,currentImage:S}=t;return{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u,upscalingLevel:d,facetoolStrength:h,shouldDisableToolbarButtons:Boolean(b)||!S,currentImage:S,shouldShowImageDetails:v,activeTabName:o,isLightboxOpen:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wq=()=>{var z,V,K,te,q,$;const e=Me(),{isProcessing:t,isConnected:n,isGFPGANAvailable:r,isESRGANAvailable:i,upscalingLevel:o,facetoolStrength:a,shouldDisableToolbarButtons:s,shouldShowImageDetails:l,currentImage:u,isLightboxOpen:d,activeTabName:h}=he(PEe),m=Ry(),{t:v}=Ve(),b=()=>{u&&(d&&e(Bm(!1)),e(k0(u)),e(qo("img2img")))},S=async()=>{if(!u)return;const W=await fetch(u.url).then(Z=>Z.blob()),X=[new ClipboardItem({[W.type]:W})];await navigator.clipboard.write(X),m({title:v("toast:imageCopied"),status:"success",duration:2500,isClosable:!0})},E=()=>{navigator.clipboard.writeText(u?window.location.toString()+u.url:"").then(()=>{m({title:v("toast:imageLinkCopied"),status:"success",duration:2500,isClosable:!0})})};Je("shift+i",()=>{u?(b(),m({title:v("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:imageNotLoaded"),description:v("toast:imageNotLoadedDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const k=()=>{var W,X;u&&(u.metadata&&e(aU(u.metadata)),((W=u.metadata)==null?void 0:W.image.type)==="img2img"?e(qo("img2img")):((X=u.metadata)==null?void 0:X.image.type)==="txt2img"&&e(qo("txt2img")))};Je("a",()=>{var W,X;["txt2img","img2img"].includes((X=(W=u==null?void 0:u.metadata)==null?void 0:W.image)==null?void 0:X.type)?(k(),m({title:v("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:parametersNotSet"),description:v("toast:parametersNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const _=()=>{u!=null&&u.metadata&&e(Ny(u.metadata.image.seed))};Je("s",()=>{var W,X;(X=(W=u==null?void 0:u.metadata)==null?void 0:W.image)!=null&&X.seed?(_(),m({title:v("toast:seedSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:seedNotSet"),description:v("toast:seedNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const T=()=>{var W,X,Z,U;if((X=(W=u==null?void 0:u.metadata)==null?void 0:W.image)!=null&&X.prompt){const[Q,ie]=aP((U=(Z=u==null?void 0:u.metadata)==null?void 0:Z.image)==null?void 0:U.prompt);Q&&e(Nx(Q)),e(Q2(ie||""))}};Je("p",()=>{var W,X;(X=(W=u==null?void 0:u.metadata)==null?void 0:W.image)!=null&&X.prompt?(T(),m({title:v("toast:promptSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:promptNotSet"),description:v("toast:promptNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const A=()=>{u&&e(R8e(u))};Je("Shift+U",()=>{i&&!s&&n&&!t&&o?A():m({title:v("toast:upscalingFailed"),status:"error",duration:2500,isClosable:!0})},[u,i,s,n,t,o]);const I=()=>{u&&e(D8e(u))};Je("Shift+R",()=>{r&&!s&&n&&!t&&a?I():m({title:v("toast:faceRestoreFailed"),status:"error",duration:2500,isClosable:!0})},[u,r,s,n,t,a]);const R=()=>e(VU(!l)),D=()=>{u&&(d&&e(Bm(!1)),e(Dx(u)),e(vi(!0)),h!=="unifiedCanvas"&&e(qo("unifiedCanvas")),m({title:v("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0}))};Je("i",()=>{u?R():m({title:v("toast:metadataLoadFailed"),status:"error",duration:2500,isClosable:!0})},[u,l]);const j=()=>{e(Bm(!d))};return y.jsxs("div",{className:"current-image-options",children:[y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":`${v("parameters:sendTo")}...`,icon:y.jsx(SEe,{})}),children:y.jsxs("div",{className:"current-image-send-to-popover",children:[y.jsx(cr,{size:"sm",onClick:b,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToImg2Img")}),y.jsx(cr,{size:"sm",onClick:D,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToUnifiedCanvas")}),y.jsx(cr,{size:"sm",onClick:S,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImage")}),y.jsx(cr,{size:"sm",onClick:E,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImageToLink")}),y.jsx(Nh,{download:!0,href:u==null?void 0:u.url,children:y.jsx(cr,{leftIcon:y.jsx(TP,{}),size:"sm",w:"100%",children:v("parameters:downloadImage")})})]})}),y.jsx(Qe,{icon:y.jsx(oEe,{}),tooltip:d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"aria-label":d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"data-selected":d,onClick:j})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{icon:y.jsx(mEe,{}),tooltip:`${v("parameters:usePrompt")} (P)`,"aria-label":`${v("parameters:usePrompt")} (P)`,isDisabled:!((V=(z=u==null?void 0:u.metadata)==null?void 0:z.image)!=null&&V.prompt),onClick:T}),y.jsx(Qe,{icon:y.jsx(bEe,{}),tooltip:`${v("parameters:useSeed")} (S)`,"aria-label":`${v("parameters:useSeed")} (S)`,isDisabled:!((te=(K=u==null?void 0:u.metadata)==null?void 0:K.image)!=null&&te.seed),onClick:_}),y.jsx(Qe,{icon:y.jsx(tEe,{}),tooltip:`${v("parameters:useAll")} (A)`,"aria-label":`${v("parameters:useAll")} (A)`,isDisabled:!["txt2img","img2img"].includes(($=(q=u==null?void 0:u.metadata)==null?void 0:q.image)==null?void 0:$.type),onClick:k})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(lEe,{}),"aria-label":v("parameters:restoreFaces")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(wP,{}),y.jsx(cr,{isDisabled:!r||!u||!(n&&!t)||!a,onClick:I,children:v("parameters:restoreFaces")})]})}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(iEe,{}),"aria-label":v("parameters:upscale")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(CP,{}),y.jsx(cr,{isDisabled:!i||!u||!(n&&!t)||!o,onClick:A,children:v("parameters:upscaleImage")})]})})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(Qe,{icon:y.jsx(pq,{}),tooltip:`${v("parameters:info")} (I)`,"aria-label":`${v("parameters:info")} (I)`,"data-selected":l,onClick:R})}),y.jsx(eS,{image:u,children:y.jsx(Qe,{icon:y.jsx(vp,{}),tooltip:`${v("parameters:deleteImage")} (Del)`,"aria-label":`${v("parameters:deleteImage")} (Del)`,isDisabled:!u||!n||t,style:{backgroundColor:"var(--btn-delete-image)"}})})]})};yt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});yt({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});yt({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});yt({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});yt({displayName:"SunIcon",path:N.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},N.createElement("circle",{cx:"12",cy:"12",r:"5"}),N.createElement("path",{d:"M12 1v2"}),N.createElement("path",{d:"M12 21v2"}),N.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),N.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),N.createElement("path",{d:"M1 12h2"}),N.createElement("path",{d:"M21 12h2"}),N.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),N.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});yt({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});yt({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:N.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});yt({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});yt({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});yt({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});yt({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});yt({displayName:"ViewIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),N.createElement("circle",{cx:"12",cy:"12",r:"2"}))});yt({displayName:"ViewOffIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),N.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});yt({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});var TEe=yt({displayName:"DeleteIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});yt({displayName:"RepeatIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),N.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});yt({displayName:"RepeatClockIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),N.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});var LEe=yt({displayName:"EditIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),N.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});yt({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});yt({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});yt({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});yt({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});yt({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});yt({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});yt({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});yt({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});yt({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});var Cq=yt({displayName:"ExternalLinkIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),N.createElement("path",{d:"M15 3h6v6"}),N.createElement("path",{d:"M10 14L21 3"}))});yt({displayName:"LinkIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),N.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});yt({displayName:"PlusSquareIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),N.createElement("path",{d:"M12 8v8"}),N.createElement("path",{d:"M8 12h8"}))});yt({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});yt({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});yt({displayName:"TimeIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),N.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});yt({displayName:"ArrowRightIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),N.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});yt({displayName:"ArrowLeftIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),N.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});yt({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});yt({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});yt({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});yt({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});yt({displayName:"EmailIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),N.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});yt({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});yt({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});yt({displayName:"SpinnerIcon",path:N.createElement(N.Fragment,null,N.createElement("defs",null,N.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},N.createElement("stop",{stopColor:"currentColor",offset:"0%"}),N.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),N.createElement("g",{transform:"translate(2)",fill:"none"},N.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),N.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),N.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});yt({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});yt({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:N.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});yt({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});yt({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});yt({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});yt({displayName:"InfoOutlineIcon",path:N.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},N.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),N.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),N.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});yt({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});yt({displayName:"QuestionOutlineIcon",path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});yt({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});yt({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});yt({viewBox:"0 0 14 14",path:N.createElement("g",{fill:"currentColor"},N.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});yt({displayName:"MinusIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});yt({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});function AEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M245.09 327.74v-37.32c57.07 0 84.51 13.47 108.58 38.68 5.4 5.65 15 1.32 14.29-6.43-5.45-61.45-34.14-117.09-122.87-117.09v-37.32a8.32 8.32 0 00-14.05-6L146.58 242a8.2 8.2 0 000 11.94L231 333.71a8.32 8.32 0 0014.09-5.97z"}},{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}}]})(e)}const Qn=({label:e,value:t,onClick:n,isLink:r,labelPosition:i,withCopy:o=!1})=>y.jsxs(Ge,{gap:2,children:[n&&y.jsx(uo,{label:`Recall ${e}`,children:y.jsx(ss,{"aria-label":"Use this parameter",icon:y.jsx(AEe,{}),size:"xs",variant:"ghost",fontSize:20,onClick:n})}),o&&y.jsx(uo,{label:`Copy ${e}`,children:y.jsx(ss,{"aria-label":`Copy ${e}`,icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(t.toString())})}),y.jsxs(Ge,{direction:i?"column":"row",children:[y.jsxs(fn,{fontWeight:"semibold",whiteSpace:"pre-wrap",pr:2,children:[e,":"]}),r?y.jsxs(Nh,{href:t.toString(),isExternal:!0,wordBreak:"break-all",children:[t.toString()," ",y.jsx(Cq,{mx:"2px"})]}):y.jsx(fn,{overflowY:"scroll",wordBreak:"break-all",children:t.toString()})]})]}),OEe=(e,t)=>e.image.uuid===t.image.uuid,MP=w.memo(({image:e,styleClass:t})=>{var K,te;const n=Me();Je("esc",()=>{n(VU(!1))});const r=((K=e==null?void 0:e.metadata)==null?void 0:K.image)||{},i=e==null?void 0:e.dreamPrompt,{cfg_scale:o,fit:a,height:s,hires_fix:l,init_image_path:u,mask_image_path:d,orig_path:h,perlin:m,postprocessing:v,prompt:b,sampler:S,scale:E,seamless:k,seed:_,steps:T,strength:A,denoise_str:I,threshold:R,type:D,variations:j,width:z}=r,V=JSON.stringify(e.metadata,null,2);return y.jsx("div",{className:`image-metadata-viewer ${t}`,children:y.jsxs(Ge,{gap:1,direction:"column",width:"100%",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(fn,{fontWeight:"semibold",children:"File:"}),y.jsxs(Nh,{href:e.url,isExternal:!0,maxW:"calc(100% - 3rem)",children:[e.url.length>64?e.url.substring(0,64).concat("..."):e.url,y.jsx(Cq,{mx:"2px"})]})]}),Object.keys(r).length>0?y.jsxs(y.Fragment,{children:[D&&y.jsx(Qn,{label:"Generation type",value:D}),((te=e.metadata)==null?void 0:te.model_weights)&&y.jsx(Qn,{label:"Model",value:e.metadata.model_weights}),["esrgan","gfpgan"].includes(D)&&y.jsx(Qn,{label:"Original image",value:h}),b&&y.jsx(Qn,{label:"Prompt",labelPosition:"top",value:i2(b),onClick:()=>n(Nx(b))}),_!==void 0&&y.jsx(Qn,{label:"Seed",value:_,onClick:()=>n(Ny(_))}),R!==void 0&&y.jsx(Qn,{label:"Noise Threshold",value:R,onClick:()=>n(vU(R))}),m!==void 0&&y.jsx(Qn,{label:"Perlin Noise",value:m,onClick:()=>n(dU(m))}),S&&y.jsx(Qn,{label:"Sampler",value:S,onClick:()=>n(fU(S))}),T&&y.jsx(Qn,{label:"Steps",value:T,onClick:()=>n(mU(T))}),o!==void 0&&y.jsx(Qn,{label:"CFG scale",value:o,onClick:()=>n(sU(o))}),j&&j.length>0&&y.jsx(Qn,{label:"Seed-weight pairs",value:Y5(j),onClick:()=>n(pU(Y5(j)))}),k&&y.jsx(Qn,{label:"Seamless",value:k,onClick:()=>n(hU(k))}),l&&y.jsx(Qn,{label:"High Resolution Optimization",value:l,onClick:()=>n(lP(l))}),z&&y.jsx(Qn,{label:"Width",value:z,onClick:()=>n(yU(z))}),s&&y.jsx(Qn,{label:"Height",value:s,onClick:()=>n(lU(s))}),u&&y.jsx(Qn,{label:"Initial image",value:u,isLink:!0,onClick:()=>n(k0(u))}),d&&y.jsx(Qn,{label:"Mask image",value:d,isLink:!0,onClick:()=>n(cU(d))}),D==="img2img"&&A&&y.jsx(Qn,{label:"Image to image strength",value:A,onClick:()=>n(l8(A))}),a&&y.jsx(Qn,{label:"Image to image fit",value:a,onClick:()=>n(gU(a))}),v&&v.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Dh,{size:"sm",children:"Postprocessing"}),v.map((q,$)=>{if(q.type==="esrgan"){const{scale:W,strength:X,denoise_str:Z}=q;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${$+1}: Upscale (ESRGAN)`}),y.jsx(Qn,{label:"Scale",value:W,onClick:()=>n(wU(W))}),y.jsx(Qn,{label:"Strength",value:X,onClick:()=>n(d8(X))}),Z!==void 0&&y.jsx(Qn,{label:"Denoising strength",value:Z,onClick:()=>n(c8(Z))})]},$)}else if(q.type==="gfpgan"){const{strength:W}=q;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${$+1}: Face restoration (GFPGAN)`}),y.jsx(Qn,{label:"Strength",value:W,onClick:()=>{n(u8(W)),n(I4("gfpgan"))}})]},$)}else if(q.type==="codeformer"){const{strength:W,fidelity:X}=q;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${$+1}: Face restoration (Codeformer)`}),y.jsx(Qn,{label:"Strength",value:W,onClick:()=>{n(u8(W)),n(I4("codeformer"))}}),X&&y.jsx(Qn,{label:"Fidelity",value:X,onClick:()=>{n(xU(X)),n(I4("codeformer"))}})]},$)}})]}),i&&y.jsx(Qn,{withCopy:!0,label:"Dream Prompt",value:i}),y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(uo,{label:"Copy metadata JSON",children:y.jsx(ss,{"aria-label":"Copy metadata JSON",icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(V)})}),y.jsx(fn,{fontWeight:"semibold",children:"Metadata JSON:"})]}),y.jsx("div",{className:"image-json-viewer",children:y.jsx("pre",{children:V})})]})]}):y.jsx(uF,{width:"100%",pt:10,children:y.jsx(fn,{fontSize:"lg",fontWeight:"semibold",children:"No metadata available"})})]})})},OEe);MP.displayName="ImageMetadataViewer";const _q=at([yp,mp],(e,t)=>{const{currentCategory:n,currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t,a=e.categories[r?r.category:"result"].images,s=a.findIndex(u=>{var d;return u.uuid===((d=e==null?void 0:e.currentImage)==null?void 0:d.uuid)}),l=a.length;return{imageToDisplay:i||r,isIntermediate:Boolean(i),viewerImageToDisplay:r,currentCategory:n,isOnFirstImage:s===0,isOnLastImage:!isNaN(s)&&s===l-1,shouldShowImageDetails:o,shouldShowPrevImageButton:s===0,shouldShowNextImageButton:!isNaN(s)&&s===l-1}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function MEe(){const e=Me(),{isOnFirstImage:t,isOnLastImage:n,shouldShowImageDetails:r,imageToDisplay:i,isIntermediate:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return y.jsxs("div",{className:"current-image-preview",children:[i&&y.jsx(KS,{src:i.url,width:i.width,height:i.height,style:{imageRendering:o?"pixelated":"initial"}}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!t&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!n&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),r&&i&&y.jsx(MP,{image:i,styleClass:"current-image-metadata"})]})}var IEe=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof a>"u"?void 0:Number(a)}},FEe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],xD="__resizable_base__",kq=function(e){NEe(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(xD):o.className+=xD,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||jEe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,a=this.resizable.style.position;a!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=a}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&n.propsSize[s].toString().endsWith("%")){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var l=n.getParentSize(),u=Number(n.state[s].toString().replace("px","")),d=u/l[s]*100;return d+"%"}return RC(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?RC(r.width):i("width"),a=r&&typeof r.height<"u"&&!this.state.isResizing?RC(r.height):i("height");return{width:o,height:a}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,a=i&&Ng("left",o),s=i&&Ng("top",o),l,u;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=a?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(n=n&&n"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,v=typeof i.height>"u"||i.height<0?r:i.height,b=l||0,S=u||0;if(s){var E=(m-b)*this.ratio+S,k=(v-b)*this.ratio+S,_=(d-S)/this.ratio+b,T=(h-S)/this.ratio+b,A=Math.max(d,E),I=Math.min(h,k),R=Math.max(m,_),D=Math.min(v,T);n=Wb(n,A,I),r=Wb(r,R,D)}else n=Wb(n,d,h),r=Wb(r,m,v);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),a=o.left,s=o.top,l=o.right,u=o.bottom;this.resizableLeft=a,this.resizableRight=l,this.resizableTop=s,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&BEe(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ub(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var a=this.props.onResizeStart(n,r,this.resizable);if(a===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var u=this.parentNode;if(u){var d=this.window.getComputedStyle(u).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ub(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,a=i.maxHeight,s=i.minWidth,l=i.minHeight,u=Ub(n)?n.touches[0].clientX:n.clientX,d=Ub(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,v=h.original,b=h.width,S=h.height,E=this.getParentSize(),k=$Ee(E,this.window.innerWidth,this.window.innerHeight,o,a,s,l);o=k.maxWidth,a=k.maxHeight,s=k.minWidth,l=k.minHeight;var _=this.calculateNewSizeFromDirection(u,d),T=_.newHeight,A=_.newWidth,I=this.calculateNewMaxFromBoundary(o,a);this.props.snap&&this.props.snap.x&&(A=SD(A,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(T=SD(T,this.props.snap.y,this.props.snapGap));var R=this.calculateNewSizeFromAspectRatio(A,T,{width:I.maxWidth,height:I.maxHeight},{width:s,height:l});if(A=R.newWidth,T=R.newHeight,this.props.grid){var D=bD(A,this.props.grid[0]),j=bD(T,this.props.grid[1]),z=this.props.snapGap||0;A=z===0||Math.abs(D-A)<=z?D:A,T=z===0||Math.abs(j-T)<=z?j:T}var V={width:A-v.width,height:T-v.height};if(b&&typeof b=="string"){if(b.endsWith("%")){var K=A/E.width*100;A=K+"%"}else if(b.endsWith("vw")){var te=A/this.window.innerWidth*100;A=te+"vw"}else if(b.endsWith("vh")){var q=A/this.window.innerHeight*100;A=q+"vh"}}if(S&&typeof S=="string"){if(S.endsWith("%")){var K=T/E.height*100;T=K+"%"}else if(S.endsWith("vw")){var te=T/this.window.innerWidth*100;T=te+"vw"}else if(S.endsWith("vh")){var q=T/this.window.innerHeight*100;T=q+"vh"}}var $={width:this.createSizeForCssProperty(A,"width"),height:this.createSizeForCssProperty(T,"height")};this.flexDir==="row"?$.flexBasis=$.width:this.flexDir==="column"&&($.flexBasis=$.height),Qs.flushSync(function(){r.setState($)}),this.props.onResize&&this.props.onResize(n,m,this.resizable,V)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,a=r.original;if(!(!i||!this.resizable)){var s={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,a=r.handleClasses,s=r.handleWrapperStyle,l=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?w.createElement(DEe,{key:h,direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:a&&a[h]},u&&u[h]?u[h]:null):null});return w.createElement("div",{className:l,style:s},d)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(a,s){return FEe.indexOf(s)!==-1||(a[s]=n.props[s]),a},{}),i=Nl(Nl(Nl({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return w.createElement(o,Nl({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&w.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(w.PureComponent);const er=e=>{const{label:t,styleClass:n,...r}=e;return y.jsx(Q$,{className:`invokeai__checkbox ${n}`,...r,children:t})};function Eq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z"}}]})(e)}function Pq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146zm.122 2.112v-.002.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.507 4.507 0 0 0-.288-.076 4.922 4.922 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.924 4.924 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343a1.779 1.779 0 0 0 .062.46z"}}]})(e)}function zEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"}}]})(e)}function HEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}}]})(e)}function VEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function WEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function Tq(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function UEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function GEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function qEe(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function YEe(e,t){e.classList?e.classList.add(t):qEe(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function KEe(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wD(e.className,t):e.setAttribute("class",wD(e.className&&e.className.baseVal||"",t))}const CD={disabled:!1},Lq=N.createContext(null);var Aq=function(t){return t.scrollTop},Mv="unmounted",ph="exited",gh="entering",zg="entered",N8="exiting",gc=function(e){yE(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ph,o.appearStatus=gh):l=zg:r.unmountOnExit||r.mountOnEnter?l=Mv:l=ph,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Mv?{status:ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==gh&&a!==zg&&(o=gh):(a===gh||a===zg)&&(o=N8)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===gh){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this);a&&Aq(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ph&&this.setState({status:Mv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[vb.findDOMNode(this),s],u=l[0],d=l[1],h=this.getTimeouts(),m=s?h.appear:h.enter;if(!i&&!a||CD.disabled){this.safeSetState({status:zg},function(){o.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:gh},function(){o.props.onEntering(u,d),o.onTransitionEnd(m,function(){o.safeSetState({status:zg},function(){o.props.onEntered(u,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:vb.findDOMNode(this);if(!o||CD.disabled){this.safeSetState({status:ph},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:N8},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ph},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Mv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=gE(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(Lq.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);gc.contextType=Lq;gc.propTypes={};function jg(){}gc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jg,onEntering:jg,onEntered:jg,onExit:jg,onExiting:jg,onExited:jg};gc.UNMOUNTED=Mv;gc.EXITED=ph;gc.ENTERING=gh;gc.ENTERED=zg;gc.EXITING=N8;const XEe=gc;var ZEe=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return YEe(t,r)})},DC=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return KEe(t,r)})},IP=function(e){yE(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;ab,Object.values(b));return w.createElement(S.Provider,{value:E},v)}function d(h,m){const v=(m==null?void 0:m[e][l])||s,b=w.useContext(v);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const i=()=>{const o=n.map(a=>w.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,QEe(i,...t)]}function QEe(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const h=l(o)[`__scope${u}`];return{...s,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function JEe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Mq(...e){return t=>e.forEach(n=>JEe(n,t))}function fs(...e){return w.useCallback(Mq(...e),e)}const oy=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(tPe);if(o){const a=o.props.children,s=i.map(l=>l===o?w.Children.count(a)>1?w.Children.only(null):w.isValidElement(a)?a.props.children:null:l);return w.createElement(j8,bn({},r,{ref:t}),w.isValidElement(a)?w.cloneElement(a,void 0,s):null)}return w.createElement(j8,bn({},r,{ref:t}),n)});oy.displayName="Slot";const j8=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...nPe(r,n.props),ref:Mq(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});j8.displayName="SlotClone";const ePe=({children:e})=>w.createElement(w.Fragment,null,e);function tPe(e){return w.isValidElement(e)&&e.type===ePe}function nPe(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{o(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const rPe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ac=rPe.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:o,...a}=r,s=o?oy:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,bn({},a,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Iq(e,t){e&&Qs.flushSync(()=>e.dispatchEvent(t))}function Rq(e){const t=e+"CollectionProvider",[n,r]=Hy(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:b,children:S}=v,E=N.useRef(null),k=N.useRef(new Map).current;return N.createElement(i,{scope:b,itemMap:k,collectionRef:E},S)},s=e+"CollectionSlot",l=N.forwardRef((v,b)=>{const{scope:S,children:E}=v,k=o(s,S),_=fs(b,k.collectionRef);return N.createElement(oy,{ref:_},E)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",h=N.forwardRef((v,b)=>{const{scope:S,children:E,...k}=v,_=N.useRef(null),T=fs(b,_),A=o(u,S);return N.useEffect(()=>(A.itemMap.set(_,{ref:_,...k}),()=>void A.itemMap.delete(_))),N.createElement(oy,{[d]:"",ref:T},E)});function m(v){const b=o(e+"CollectionConsumer",v);return N.useCallback(()=>{const E=b.collectionRef.current;if(!E)return[];const k=Array.from(E.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,I)=>k.indexOf(A.ref.current)-k.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},m,r]}const iPe=w.createContext(void 0);function Dq(e){const t=w.useContext(iPe);return e||t||"ltr"}function uu(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function oPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const B8="dismissableLayer.update",aPe="dismissableLayer.pointerDownOutside",sPe="dismissableLayer.focusOutside";let _D;const lPe=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uPe=w.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=w.useContext(lPe),[h,m]=w.useState(null),v=(n=h==null?void 0:h.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,b]=w.useState({}),S=fs(t,j=>m(j)),E=Array.from(d.layers),[k]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=E.indexOf(k),T=h?E.indexOf(h):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,I=T>=_,R=cPe(j=>{const z=j.target,V=[...d.branches].some(K=>K.contains(z));!I||V||(o==null||o(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),D=dPe(j=>{const z=j.target;[...d.branches].some(K=>K.contains(z))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return oPe(j=>{T===d.layers.size-1&&(i==null||i(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),w.useEffect(()=>{if(h)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(_D=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),kD(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=_D)}},[h,v,r,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),kD())},[h,d]),w.useEffect(()=>{const j=()=>b({});return document.addEventListener(B8,j),()=>document.removeEventListener(B8,j)},[]),w.createElement(ac.div,bn({},u,{ref:S,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:rr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:rr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:rr(e.onPointerDownCapture,R.onPointerDownCapture)}))});function cPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let u=function(){Nq(aPe,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function dPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Nq(sPe,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kD(){const e=new CustomEvent(B8);document.dispatchEvent(e)}function Nq(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Iq(i,o):i.dispatchEvent(o)}let NC=0;function fPe(){w.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ED()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ED()),NC++,()=>{NC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),NC--}},[])}function ED(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const jC="focusScope.autoFocusOnMount",BC="focusScope.autoFocusOnUnmount",PD={bubbles:!1,cancelable:!0},hPe=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=w.useState(null),u=uu(i),d=uu(o),h=w.useRef(null),m=fs(t,S=>l(S)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let S=function(k){if(v.paused||!s)return;const _=k.target;s.contains(_)?h.current=_:mh(h.current,{select:!0})},E=function(k){v.paused||!s||s.contains(k.relatedTarget)||mh(h.current,{select:!0})};return document.addEventListener("focusin",S),document.addEventListener("focusout",E),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",E)}}},[r,s,v.paused]),w.useEffect(()=>{if(s){LD.add(v);const S=document.activeElement;if(!s.contains(S)){const k=new CustomEvent(jC,PD);s.addEventListener(jC,u),s.dispatchEvent(k),k.defaultPrevented||(pPe(bPe(jq(s)),{select:!0}),document.activeElement===S&&mh(s))}return()=>{s.removeEventListener(jC,u),setTimeout(()=>{const k=new CustomEvent(BC,PD);s.addEventListener(BC,d),s.dispatchEvent(k),k.defaultPrevented||mh(S??document.body,{select:!0}),s.removeEventListener(BC,d),LD.remove(v)},0)}}},[s,u,d,v]);const b=w.useCallback(S=>{if(!n&&!r||v.paused)return;const E=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,k=document.activeElement;if(E&&k){const _=S.currentTarget,[T,A]=gPe(_);T&&A?!S.shiftKey&&k===A?(S.preventDefault(),n&&mh(T,{select:!0})):S.shiftKey&&k===T&&(S.preventDefault(),n&&mh(A,{select:!0})):k===_&&S.preventDefault()}},[n,r,v.paused]);return w.createElement(ac.div,bn({tabIndex:-1},a,{ref:m,onKeyDown:b}))});function pPe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mh(r,{select:t}),document.activeElement!==n)return}function gPe(e){const t=jq(e),n=TD(t,e),r=TD(t.reverse(),e);return[n,r]}function jq(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function TD(e,t){for(const n of e)if(!mPe(n,{upTo:t}))return n}function mPe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vPe(e){return e instanceof HTMLInputElement&&"select"in e}function mh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&vPe(e)&&t&&e.select()}}const LD=yPe();function yPe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=AD(e,t),e.unshift(t)},remove(t){var n;e=AD(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function AD(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function bPe(e){return e.filter(t=>t.tagName!=="A")}const a0=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:()=>{},SPe=XC["useId".toString()]||(()=>{});let xPe=0;function wPe(e){const[t,n]=w.useState(SPe());return a0(()=>{e||n(r=>r??String(xPe++))},[e]),e||(t?`radix-${t}`:"")}function A0(e){return e.split("-")[0]}function Qx(e){return e.split("-")[1]}function O0(e){return["top","bottom"].includes(A0(e))?"x":"y"}function RP(e){return e==="y"?"height":"width"}function OD(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=O0(t),l=RP(s),u=r[l]/2-i[l]/2,d=s==="x";let h;switch(A0(t)){case"top":h={x:o,y:r.y-i.height};break;case"bottom":h={x:o,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(Qx(t)){case"start":h[s]-=u*(n&&d?-1:1);break;case"end":h[s]+=u*(n&&d?-1:1)}return h}const CPe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=OD(l,r,s),h=r,m={},v=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=Bq(r),d={x:i,y:o},h=O0(a),m=Qx(a),v=RP(h),b=await l.getDimensions(n),S=h==="y"?"top":"left",E=h==="y"?"bottom":"right",k=s.reference[v]+s.reference[h]-d[h]-s.floating[v],_=d[h]-s.reference[h],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let A=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0;A===0&&(A=s.floating[v]);const I=k/2-_/2,R=u[S],D=A-b[v]-u[E],j=A/2-b[v]/2+I,z=$8(R,j,D),V=(m==="start"?u[S]:u[E])>0&&j!==z&&s.reference[v]<=s.floating[v];return{[h]:d[h]-(V?jEPe[t])}function PPe(e,t,n){n===void 0&&(n=!1);const r=Qx(e),i=O0(e),o=RP(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=rS(a)),{main:a,cross:rS(a)}}const TPe={start:"end",end:"start"};function ID(e){return e.replace(/start|end/g,t=>TPe[t])}const $q=["top","right","bottom","left"];$q.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const LPe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...b}=e,S=A0(r),E=h||(S===a||!v?[rS(a)]:function(j){const z=rS(j);return[ID(j),z,ID(z)]}(a)),k=[a,...E],_=await nS(t,b),T=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&T.push(_[S]),d){const{main:j,cross:z}=PPe(r,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));T.push(_[j],_[z])}if(A=[...A,{placement:r,overflows:T}],!T.every(j=>j<=0)){var I,R;const j=((I=(R=i.flip)==null?void 0:R.index)!=null?I:0)+1,z=k[j];if(z)return{data:{index:j,overflows:A},reset:{placement:z}};let V="bottom";switch(m){case"bestFit":{var D;const K=(D=A.map(te=>[te,te.overflows.filter(q=>q>0).reduce((q,$)=>q+$,0)]).sort((te,q)=>te[1]-q[1])[0])==null?void 0:D[0].placement;K&&(V=K);break}case"initialPlacement":V=a}if(r!==V)return{reset:{placement:V}}}return{}}}};function RD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function DD(e){return $q.some(t=>e[t]>=0)}const APe=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=RD(await nS(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:DD(o)}}}case"escaped":{const o=RD(await nS(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:o,escaped:DD(o)}}}default:return{}}}}},OPe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:s,platform:l,elements:u}=o,d=await(l.isRTL==null?void 0:l.isRTL(u.floating)),h=A0(s),m=Qx(s),v=O0(s)==="x",b=["left","top"].includes(h)?-1:1,S=d&&v?-1:1,E=typeof a=="function"?a(o):a;let{mainAxis:k,crossAxis:_,alignmentAxis:T}=typeof E=="number"?{mainAxis:E,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...E};return m&&typeof T=="number"&&(_=m==="end"?-1*T:T),v?{x:_*S,y:k*b}:{x:k*b,y:_*S}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Fq(e){return e==="x"?"y":"x"}const MPe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:E=>{let{x:k,y:_}=E;return{x:k,y:_}}},...l}=e,u={x:n,y:r},d=await nS(t,l),h=O0(A0(i)),m=Fq(h);let v=u[h],b=u[m];if(o){const E=h==="y"?"bottom":"right";v=$8(v+d[h==="y"?"top":"left"],v,v-d[E])}if(a){const E=m==="y"?"bottom":"right";b=$8(b+d[m==="y"?"top":"left"],b,b-d[E])}const S=s.fn({...t,[h]:v,[m]:b});return{...S,data:{x:S.x-n,y:S.y-r}}}}},IPe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,d={x:n,y:r},h=O0(i),m=Fq(h);let v=d[h],b=d[m];const S=typeof s=="function"?s({...o,placement:i}):s,E=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(l){const I=h==="y"?"height":"width",R=o.reference[h]-o.floating[I]+E.mainAxis,D=o.reference[h]+o.reference[I]-E.mainAxis;vD&&(v=D)}if(u){var k,_,T,A;const I=h==="y"?"width":"height",R=["top","left"].includes(A0(i)),D=o.reference[m]-o.floating[I]+(R&&(k=(_=a.offset)==null?void 0:_[m])!=null?k:0)+(R?0:E.crossAxis),j=o.reference[m]+o.reference[I]+(R?0:(T=(A=a.offset)==null?void 0:A[m])!=null?T:0)-(R?E.crossAxis:0);bj&&(b=j)}return{[h]:v,[m]:b}}}};function zq(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function mc(e){if(e==null)return window;if(!zq(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vy(e){return mc(e).getComputedStyle(e)}function Xu(e){return zq(e)?"":e?(e.nodeName||"").toLowerCase():""}function Hq(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function cu(e){return e instanceof mc(e).HTMLElement}function Jd(e){return e instanceof mc(e).Element}function DP(e){return typeof ShadowRoot>"u"?!1:e instanceof mc(e).ShadowRoot||e instanceof ShadowRoot}function Jx(e){const{overflow:t,overflowX:n,overflowY:r}=Vy(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function RPe(e){return["table","td","th"].includes(Xu(e))}function ND(e){const t=/firefox/i.test(Hq()),n=Vy(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Vq(){return!/^((?!chrome|android).)*safari/i.test(Hq())}const jD=Math.min,c2=Math.max,iS=Math.round;function Zu(e,t,n){var r,i,o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&cu(e)&&(l=e.offsetWidth>0&&iS(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&iS(s.height)/e.offsetHeight||1);const d=Jd(e)?mc(e):window,h=!Vq()&&n,m=(s.left+(h&&(r=(i=d.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,v=(s.top+(h&&(o=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/u,b=s.width/l,S=s.height/u;return{width:b,height:S,top:v,right:m+b,bottom:v+S,left:m,x:m,y:v}}function zd(e){return(t=e,(t instanceof mc(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ew(e){return Jd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wq(e){return Zu(zd(e)).left+ew(e).scrollLeft}function DPe(e,t,n){const r=cu(t),i=zd(t),o=Zu(e,r&&function(l){const u=Zu(l);return iS(u.width)!==l.offsetWidth||iS(u.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Xu(t)!=="body"||Jx(i))&&(a=ew(t)),cu(t)){const l=Zu(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Wq(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Uq(e){return Xu(e)==="html"?e:e.assignedSlot||e.parentNode||(DP(e)?e.host:null)||zd(e)}function BD(e){return cu(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function F8(e){const t=mc(e);let n=BD(e);for(;n&&RPe(n)&&getComputedStyle(n).position==="static";)n=BD(n);return n&&(Xu(n)==="html"||Xu(n)==="body"&&getComputedStyle(n).position==="static"&&!ND(n))?t:n||function(r){let i=Uq(r);for(DP(i)&&(i=i.host);cu(i)&&!["html","body"].includes(Xu(i));){if(ND(i))return i;i=i.parentNode}return null}(e)||t}function $D(e){if(cu(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Zu(e);return{width:t.width,height:t.height}}function Gq(e){const t=Uq(e);return["html","body","#document"].includes(Xu(t))?e.ownerDocument.body:cu(t)&&Jx(t)?t:Gq(t)}function oS(e,t){var n;t===void 0&&(t=[]);const r=Gq(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=mc(r),a=i?[o].concat(o.visualViewport||[],Jx(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(oS(a))}function FD(e,t,n){return t==="viewport"?tS(function(r,i){const o=mc(r),a=zd(r),s=o.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,h=0;if(s){l=s.width,u=s.height;const m=Vq();(m||!m&&i==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:l,height:u,x:d,y:h}}(e,n)):Jd(t)?function(r,i){const o=Zu(r,!1,i==="fixed"),a=o.top+r.clientTop,s=o.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):tS(function(r){var i;const o=zd(r),a=ew(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=c2(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=c2(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-a.scrollLeft+Wq(r);const h=-a.scrollTop;return Vy(s||o).direction==="rtl"&&(d+=c2(o.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:h}}(zd(e)))}function NPe(e){const t=oS(e),n=["absolute","fixed"].includes(Vy(e).position)&&cu(e)?F8(e):e;return Jd(n)?t.filter(r=>Jd(r)&&function(i,o){const a=o.getRootNode==null?void 0:o.getRootNode();if(i.contains(o))return!0;if(a&&DP(a)){let s=o;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Xu(r)!=="body"):[]}const jPe={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?NPe(t):[].concat(n),r],a=o[0],s=o.reduce((l,u)=>{const d=FD(t,u,i);return l.top=c2(d.top,l.top),l.right=jD(d.right,l.right),l.bottom=jD(d.bottom,l.bottom),l.left=c2(d.left,l.left),l},FD(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=cu(n),o=zd(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Xu(n)!=="body"||Jx(o))&&(a=ew(n)),cu(n))){const l=Zu(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Jd,getDimensions:$D,getOffsetParent:F8,getDocumentElement:zd,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:DPe(t,F8(n),r),floating:{...$D(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vy(e).direction==="rtl"};function BPe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,d=l||u?[...Jd(e)?oS(e):[],...oS(t)]:[];d.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;if(a){let b=!0;m=new ResizeObserver(()=>{b||n(),b=!1}),Jd(e)&&!s&&m.observe(e),m.observe(t)}let v=s?Zu(e):null;return s&&function b(){const S=Zu(e);!v||S.x===v.x&&S.y===v.y&&S.width===v.width&&S.height===v.height||n(),v=S,h=requestAnimationFrame(b)}(),n(),()=>{var b;d.forEach(S=>{l&&S.removeEventListener("scroll",n),u&&S.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const $Pe=(e,t,n)=>CPe(e,t,{platform:jPe,...n});var z8=typeof document<"u"?w.useLayoutEffect:w.useEffect;function H8(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!H8(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!H8(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function FPe(e){const t=w.useRef(e);return z8(()=>{t.current=e}),t}function zPe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=w.useRef(null),a=w.useRef(null),s=FPe(i),l=w.useRef(null),[u,d]=w.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[h,m]=w.useState(t);H8(h==null?void 0:h.map(T=>{let{options:A}=T;return A}),t==null?void 0:t.map(T=>{let{options:A}=T;return A}))||m(t);const v=w.useCallback(()=>{!o.current||!a.current||$Pe(o.current,a.current,{middleware:h,placement:n,strategy:r}).then(T=>{b.current&&Qs.flushSync(()=>{d(T)})})},[h,n,r]);z8(()=>{b.current&&v()},[v]);const b=w.useRef(!1);z8(()=>(b.current=!0,()=>{b.current=!1}),[]);const S=w.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&a.current)if(s.current){const T=s.current(o.current,a.current,v);l.current=T}else v()},[v,s]),E=w.useCallback(T=>{o.current=T,S()},[S]),k=w.useCallback(T=>{a.current=T,S()},[S]),_=w.useMemo(()=>({reference:o,floating:a}),[]);return w.useMemo(()=>({...u,update:v,refs:_,reference:E,floating:k}),[u,v,_,E,k])}const HPe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?MD({element:t.current,padding:n}).fn(i):{}:t?MD({element:t,padding:n}).fn(i):{}}}};function VPe(e){const[t,n]=w.useState(void 0);return a0(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const qq="Popper",[NP,Yq]=Hy(qq),[WPe,Kq]=NP(qq),UPe=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return w.createElement(WPe,{scope:t,anchor:r,onAnchorChange:i},n)},GPe="PopperAnchor",qPe=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Kq(GPe,n),a=w.useRef(null),s=fs(t,a);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:w.createElement(ac.div,bn({},i,{ref:s}))}),aS="PopperContent",[YPe,Cze]=NP(aS),[KPe,XPe]=NP(aS,{hasParent:!1,positionUpdateFns:new Set}),ZPe=w.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;const{__scopePopper:d,side:h="bottom",sideOffset:m=0,align:v="center",alignOffset:b=0,arrowPadding:S=0,collisionBoundary:E=[],collisionPadding:k=0,sticky:_="partial",hideWhenDetached:T=!1,avoidCollisions:A=!0,...I}=e,R=Kq(aS,d),[D,j]=w.useState(null),z=fs(t,ae=>j(ae)),[V,K]=w.useState(null),te=VPe(V),q=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,$=(r=te==null?void 0:te.height)!==null&&r!==void 0?r:0,W=h+(v!=="center"?"-"+v:""),X=typeof k=="number"?k:{top:0,right:0,bottom:0,left:0,...k},Z=Array.isArray(E)?E:[E],U=Z.length>0,Q={padding:X,boundary:Z.filter(JPe),altBoundary:U},{reference:ie,floating:fe,strategy:Se,x:Pe,y:ye,placement:We,middlewareData:De,update:ot}=zPe({strategy:"fixed",placement:W,whileElementsMounted:BPe,middleware:[OPe({mainAxis:m+$,alignmentAxis:b}),A?MPe({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?IPe():void 0,...Q}):void 0,V?HPe({element:V,padding:S}):void 0,A?LPe({...Q}):void 0,eTe({arrowWidth:q,arrowHeight:$}),T?APe({strategy:"referenceHidden"}):void 0].filter(QPe)});a0(()=>{ie(R.anchor)},[ie,R.anchor]);const He=Pe!==null&&ye!==null,[Be,wt]=Xq(We),st=(i=De.arrow)===null||i===void 0?void 0:i.x,mt=(o=De.arrow)===null||o===void 0?void 0:o.y,St=((a=De.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Le,lt]=w.useState();a0(()=>{D&<(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Mt,positionUpdateFns:ut}=XPe(aS,d),_t=!Mt;w.useLayoutEffect(()=>{if(!_t)return ut.add(ot),()=>{ut.delete(ot)}},[_t,ut,ot]),w.useLayoutEffect(()=>{_t&&He&&Array.from(ut).reverse().forEach(ae=>requestAnimationFrame(ae))},[_t,He,ut]);const ln={"data-side":Be,"data-align":wt,...I,ref:z,style:{...I.style,animation:He?void 0:"none",opacity:(s=De.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return w.createElement("div",{ref:fe,"data-radix-popper-content-wrapper":"",style:{position:Se,left:0,top:0,transform:He?`translate3d(${Math.round(Pe)}px, ${Math.round(ye)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Le,["--radix-popper-transform-origin"]:[(l=De.transformOrigin)===null||l===void 0?void 0:l.x,(u=De.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},w.createElement(YPe,{scope:d,placedSide:Be,onArrowChange:K,arrowX:st,arrowY:mt,shouldHideArrow:St},_t?w.createElement(KPe,{scope:d,hasParent:!0,positionUpdateFns:ut},w.createElement(ac.div,ln)):w.createElement(ac.div,ln)))});function QPe(e){return e!==void 0}function JPe(e){return e!==null}const eTe=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;const{placement:s,rects:l,middlewareData:u}=t,h=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=h?0:e.arrowWidth,v=h?0:e.arrowHeight,[b,S]=Xq(s),E={start:"0%",center:"50%",end:"100%"}[S],k=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+m/2,_=((o=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&o!==void 0?o:0)+v/2;let T="",A="";return b==="bottom"?(T=h?E:`${k}px`,A=`${-v}px`):b==="top"?(T=h?E:`${k}px`,A=`${l.floating.height+v}px`):b==="right"?(T=`${-v}px`,A=h?E:`${_}px`):b==="left"&&(T=`${l.floating.width+v}px`,A=h?E:`${_}px`),{data:{x:T,y:A}}}});function Xq(e){const[t,n="center"]=e.split("-");return[t,n]}const tTe=UPe,nTe=qPe,rTe=ZPe;function iTe(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const Zq=e=>{const{present:t,children:n}=e,r=oTe(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=fs(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Zq.displayName="Presence";function oTe(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),a=e?"mounted":"unmounted",[s,l]=iTe(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=qb(r.current);o.current=s==="mounted"?u:"none"},[s]),a0(()=>{const u=r.current,d=i.current;if(d!==e){const m=o.current,v=qb(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),a0(()=>{if(t){const u=h=>{const v=qb(r.current).includes(h.animationName);h.target===t&&v&&Qs.flushSync(()=>l("ANIMATION_END"))},d=h=>{h.target===t&&(o.current=qb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qb(e){return(e==null?void 0:e.animationName)||"none"}function aTe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=sTe({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,s=uu(n),l=w.useCallback(u=>{if(o){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else i(u)},[o,e,i,s]);return[a,l]}function sTe({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=uu(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}const $C="rovingFocusGroup.onEntryFocus",lTe={bubbles:!1,cancelable:!0},jP="RovingFocusGroup",[V8,Qq,uTe]=Rq(jP),[cTe,Jq]=Hy(jP,[uTe]),[dTe,fTe]=cTe(jP),hTe=w.forwardRef((e,t)=>w.createElement(V8.Provider,{scope:e.__scopeRovingFocusGroup},w.createElement(V8.Slot,{scope:e.__scopeRovingFocusGroup},w.createElement(pTe,bn({},e,{ref:t}))))),pTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...d}=e,h=w.useRef(null),m=fs(t,h),v=Dq(o),[b=null,S]=aTe({prop:a,defaultProp:s,onChange:l}),[E,k]=w.useState(!1),_=uu(u),T=Qq(n),A=w.useRef(!1),[I,R]=w.useState(0);return w.useEffect(()=>{const D=h.current;if(D)return D.addEventListener($C,_),()=>D.removeEventListener($C,_)},[_]),w.createElement(dTe,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:b,onItemFocus:w.useCallback(D=>S(D),[S]),onItemShiftTab:w.useCallback(()=>k(!0),[]),onFocusableItemAdd:w.useCallback(()=>R(D=>D+1),[]),onFocusableItemRemove:w.useCallback(()=>R(D=>D-1),[])},w.createElement(ac.div,bn({tabIndex:E||I===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{A.current=!0}),onFocus:rr(e.onFocus,D=>{const j=!A.current;if(D.target===D.currentTarget&&j&&!E){const z=new CustomEvent($C,lTe);if(D.currentTarget.dispatchEvent(z),!z.defaultPrevented){const V=T().filter(W=>W.focusable),K=V.find(W=>W.active),te=V.find(W=>W.id===b),$=[K,te,...V].filter(Boolean).map(W=>W.ref.current);eY($)}}A.current=!1}),onBlur:rr(e.onBlur,()=>k(!1))})))}),gTe="RovingFocusGroupItem",mTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=wPe(),s=fTe(gTe,n),l=s.currentTabStopId===a,u=Qq(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=s;return w.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),w.createElement(V8.ItemSlot,{scope:n,id:a,focusable:r,active:i},w.createElement(ac.span,bn({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:rr(e.onMouseDown,m=>{r?s.onItemFocus(a):m.preventDefault()}),onFocus:rr(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:rr(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){s.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const v=bTe(m,s.orientation,s.dir);if(v!==void 0){m.preventDefault();let S=u().filter(E=>E.focusable).map(E=>E.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const E=S.indexOf(m.currentTarget);S=s.loop?STe(S,E+1):S.slice(E+1)}setTimeout(()=>eY(S))}})})))}),vTe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yTe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function bTe(e,t,n){const r=yTe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return vTe[r]}function eY(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function STe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const xTe=hTe,wTe=mTe,CTe=["Enter"," "],_Te=["ArrowDown","PageUp","Home"],tY=["ArrowUp","PageDown","End"],kTe=[..._Te,...tY],tw="Menu",[W8,ETe,PTe]=Rq(tw),[bp,nY]=Hy(tw,[PTe,Yq,Jq]),BP=Yq(),rY=Jq(),[TTe,nw]=bp(tw),[LTe,$P]=bp(tw),ATe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=BP(t),[l,u]=w.useState(null),d=w.useRef(!1),h=uu(o),m=Dq(i);return w.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.createElement(tTe,s,w.createElement(TTe,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:u},w.createElement(LTe,{scope:t,onClose:w.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:m,modal:a},r)))},OTe=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=BP(n);return w.createElement(nTe,bn({},i,r,{ref:t}))}),MTe="MenuPortal",[_ze,ITe]=bp(MTe,{forceMount:void 0}),Hd="MenuContent",[RTe,iY]=bp(Hd),DTe=w.forwardRef((e,t)=>{const n=ITe(Hd,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=nw(Hd,e.__scopeMenu),a=$P(Hd,e.__scopeMenu);return w.createElement(W8.Provider,{scope:e.__scopeMenu},w.createElement(Zq,{present:r||o.open},w.createElement(W8.Slot,{scope:e.__scopeMenu},a.modal?w.createElement(NTe,bn({},i,{ref:t})):w.createElement(jTe,bn({},i,{ref:t})))))}),NTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu),r=w.useRef(null),i=fs(t,r);return w.useEffect(()=>{const o=r.current;if(o)return zH(o)},[]),w.createElement(oY,bn({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),jTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu);return w.createElement(oY,bn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),oY=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...b}=e,S=nw(Hd,n),E=$P(Hd,n),k=BP(n),_=rY(n),T=ETe(n),[A,I]=w.useState(null),R=w.useRef(null),D=fs(t,R,S.onContentChange),j=w.useRef(0),z=w.useRef(""),V=w.useRef(0),K=w.useRef(null),te=w.useRef("right"),q=w.useRef(0),$=v?PV:w.Fragment,W=v?{as:oy,allowPinchZoom:!0}:void 0,X=U=>{var Q,ie;const fe=z.current+U,Se=T().filter(He=>!He.disabled),Pe=document.activeElement,ye=(Q=Se.find(He=>He.ref.current===Pe))===null||Q===void 0?void 0:Q.textValue,We=Se.map(He=>He.textValue),De=GTe(We,fe,ye),ot=(ie=Se.find(He=>He.textValue===De))===null||ie===void 0?void 0:ie.ref.current;(function He(Be){z.current=Be,window.clearTimeout(j.current),Be!==""&&(j.current=window.setTimeout(()=>He(""),1e3))})(fe),ot&&setTimeout(()=>ot.focus())};w.useEffect(()=>()=>window.clearTimeout(j.current),[]),fPe();const Z=w.useCallback(U=>{var Q,ie;return te.current===((Q=K.current)===null||Q===void 0?void 0:Q.side)&&YTe(U,(ie=K.current)===null||ie===void 0?void 0:ie.area)},[]);return w.createElement(RTe,{scope:n,searchRef:z,onItemEnter:w.useCallback(U=>{Z(U)&&U.preventDefault()},[Z]),onItemLeave:w.useCallback(U=>{var Q;Z(U)||((Q=R.current)===null||Q===void 0||Q.focus(),I(null))},[Z]),onTriggerLeave:w.useCallback(U=>{Z(U)&&U.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:w.useCallback(U=>{K.current=U},[])},w.createElement($,W,w.createElement(hPe,{asChild:!0,trapped:i,onMountAutoFocus:rr(o,U=>{var Q;U.preventDefault(),(Q=R.current)===null||Q===void 0||Q.focus()}),onUnmountAutoFocus:a},w.createElement(uPe,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m},w.createElement(xTe,bn({asChild:!0},_,{dir:E.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:U=>{E.isUsingKeyboardRef.current||U.preventDefault()}}),w.createElement(rTe,bn({role:"menu","aria-orientation":"vertical","data-state":VTe(S.open),"data-radix-menu-content":"",dir:E.dir},k,b,{ref:D,style:{outline:"none",...b.style},onKeyDown:rr(b.onKeyDown,U=>{const ie=U.target.closest("[data-radix-menu-content]")===U.currentTarget,fe=U.ctrlKey||U.altKey||U.metaKey,Se=U.key.length===1;ie&&(U.key==="Tab"&&U.preventDefault(),!fe&&Se&&X(U.key));const Pe=R.current;if(U.target!==Pe||!kTe.includes(U.key))return;U.preventDefault();const We=T().filter(De=>!De.disabled).map(De=>De.ref.current);tY.includes(U.key)&&We.reverse(),WTe(We)}),onBlur:rr(e.onBlur,U=>{U.currentTarget.contains(U.target)||(window.clearTimeout(j.current),z.current="")}),onPointerMove:rr(e.onPointerMove,G8(U=>{const Q=U.target,ie=q.current!==U.clientX;if(U.currentTarget.contains(Q)&&ie){const fe=U.clientX>q.current?"right":"left";te.current=fe,q.current=U.clientX}}))})))))))}),U8="MenuItem",zD="menu.itemSelect",BTe=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=w.useRef(null),a=$P(U8,e.__scopeMenu),s=iY(U8,e.__scopeMenu),l=fs(t,o),u=w.useRef(!1),d=()=>{const h=o.current;if(!n&&h){const m=new CustomEvent(zD,{bubbles:!0,cancelable:!0});h.addEventListener(zD,v=>r==null?void 0:r(v),{once:!0}),Iq(h,m),m.defaultPrevented?u.current=!1:a.onClose()}};return w.createElement($Te,bn({},i,{ref:l,disabled:n,onClick:rr(e.onClick,d),onPointerDown:h=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,h),u.current=!0},onPointerUp:rr(e.onPointerUp,h=>{var m;u.current||(m=h.currentTarget)===null||m===void 0||m.click()}),onKeyDown:rr(e.onKeyDown,h=>{const m=s.searchRef.current!=="";n||m&&h.key===" "||CTe.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}))}),$Te=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=iY(U8,n),s=rY(n),l=w.useRef(null),u=fs(t,l),[d,h]=w.useState(!1),[m,v]=w.useState("");return w.useEffect(()=>{const b=l.current;if(b){var S;v(((S=b.textContent)!==null&&S!==void 0?S:"").trim())}},[o.children]),w.createElement(W8.ItemSlot,{scope:n,disabled:r,textValue:i??m},w.createElement(wTe,bn({asChild:!0},s,{focusable:!r}),w.createElement(ac.div,bn({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:rr(e.onPointerMove,G8(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:rr(e.onPointerLeave,G8(b=>a.onItemLeave(b))),onFocus:rr(e.onFocus,()=>h(!0)),onBlur:rr(e.onBlur,()=>h(!1))}))))}),FTe="MenuRadioGroup";bp(FTe,{value:void 0,onValueChange:()=>{}});const zTe="MenuItemIndicator";bp(zTe,{checked:!1});const HTe="MenuSub";bp(HTe);function VTe(e){return e?"open":"closed"}function WTe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function UTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function GTe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=UTe(e,Math.max(o,0));i.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function qTe(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=d>r&&n<(u-s)*(r-l)/(d-l)+s&&(i=!i)}return i}function YTe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return qTe(n,t)}function G8(e){return t=>t.pointerType==="mouse"?e(t):void 0}const KTe=ATe,XTe=OTe,ZTe=DTe,QTe=BTe,aY="ContextMenu",[JTe,kze]=Hy(aY,[nY]),rw=nY(),[eLe,sY]=JTe(aY),tLe=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:o=!0}=e,[a,s]=w.useState(!1),l=rw(t),u=uu(r),d=w.useCallback(h=>{s(h),u(h)},[u]);return w.createElement(eLe,{scope:t,open:a,onOpenChange:d,modal:o},w.createElement(KTe,bn({},l,{dir:i,open:a,onOpenChange:d,modal:o}),n))},nLe="ContextMenuTrigger",rLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(nLe,n),o=rw(n),a=w.useRef({x:0,y:0}),s=w.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...a.current})}),l=w.useRef(0),u=w.useCallback(()=>window.clearTimeout(l.current),[]),d=h=>{a.current={x:h.clientX,y:h.clientY},i.onOpenChange(!0)};return w.useEffect(()=>u,[u]),w.createElement(w.Fragment,null,w.createElement(XTe,bn({},o,{virtualRef:s})),w.createElement(ac.span,bn({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:rr(e.onContextMenu,h=>{u(),d(h),h.preventDefault()}),onPointerDown:rr(e.onPointerDown,Yb(h=>{u(),l.current=window.setTimeout(()=>d(h),700)})),onPointerMove:rr(e.onPointerMove,Yb(u)),onPointerCancel:rr(e.onPointerCancel,Yb(u)),onPointerUp:rr(e.onPointerUp,Yb(u))})))}),iLe="ContextMenuContent",oLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(iLe,n),o=rw(n),a=w.useRef(!1);return w.createElement(ZTe,bn({},o,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&a.current&&s.preventDefault(),a.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(a.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),aLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=rw(n);return w.createElement(QTe,bn({},i,r,{ref:t}))});function Yb(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const sLe=tLe,lLe=rLe,uLe=oLe,ud=aLe,cLe=(e,t)=>e.image.uuid===t.image.uuid&&e.isSelected===t.isSelected,lY=w.memo(e=>{var te,q,$,W,X,Z,U,Q;const t=Me(),{activeTabName:n,galleryImageObjectFit:r,galleryImageMinimumWidth:i,mayDeleteImage:o,shouldUseSingleGalleryColumn:a}=he(kEe),{image:s,isSelected:l}=e,{url:u,thumbnail:d,uuid:h,metadata:m}=s,[v,b]=w.useState(!1),S=Ry(),{t:E}=Ve(),k=()=>b(!0),_=()=>b(!1),T=()=>{var ie,fe;if(s.metadata){const[Se,Pe]=aP((fe=(ie=s.metadata)==null?void 0:ie.image)==null?void 0:fe.prompt);Se&&t(Nx(Se)),t(Q2(Pe||""))}S({title:E("toast:promptSet"),status:"success",duration:2500,isClosable:!0})},A=()=>{s.metadata&&t(Ny(s.metadata.image.seed)),S({title:E("toast:seedSet"),status:"success",duration:2500,isClosable:!0})},I=()=>{t(k0(s)),n!=="img2img"&&t(qo("img2img")),S({title:E("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})},R=()=>{t(Dx(s)),t(Rx()),n!=="unifiedCanvas"&&t(qo("unifiedCanvas")),S({title:E("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0})},D=()=>{m&&t(aU(m)),S({title:E("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})},j=async()=>{var ie;if((ie=m==null?void 0:m.image)!=null&&ie.init_image_path&&(await fetch(m.image.init_image_path)).ok){t(qo("img2img")),t(Zxe(m)),S({title:E("toast:initialImageSet"),status:"success",duration:2500,isClosable:!0});return}S({title:E("toast:initialImageNotSet"),description:E("toast:initialImageNotSetDesc"),status:"error",duration:2500,isClosable:!0})},z=()=>t(jI(s)),V=ie=>{ie.dataTransfer.setData("invokeai/imageUuid",h),ie.dataTransfer.effectAllowed="move"},K=()=>{t(jI(s))};return y.jsxs(sLe,{onOpenChange:ie=>{t(tU(ie))},children:[y.jsx(lLe,{children:y.jsxs(ko,{position:"relative",className:"hoverable-image",onMouseOver:k,onMouseOut:_,userSelect:"none",draggable:!0,onDragStart:V,children:[y.jsx(KS,{className:"hoverable-image-image",objectFit:a?"contain":r,rounded:"md",src:d||u,loading:"lazy"}),y.jsx("div",{className:"hoverable-image-content",onClick:z,children:l&&y.jsx(Da,{width:"50%",height:"50%",as:PP,className:"hoverable-image-check"})}),v&&i>=64&&y.jsx("div",{className:"hoverable-image-delete-button",children:y.jsx(eS,{image:s,children:y.jsx(ss,{"aria-label":E("parameters:deleteImage"),icon:y.jsx(xEe,{}),size:"xs",variant:"imageHoverIconButton",fontSize:14,isDisabled:!o})})})]},h)}),y.jsxs(uLe,{className:"hoverable-image-context-menu",sticky:"always",onInteractOutside:ie=>{ie.detail.originalEvent.preventDefault()},children:[y.jsx(ud,{onClickCapture:K,children:E("parameters:openInViewer")}),y.jsx(ud,{onClickCapture:T,disabled:((q=(te=s==null?void 0:s.metadata)==null?void 0:te.image)==null?void 0:q.prompt)===void 0,children:E("parameters:usePrompt")}),y.jsx(ud,{onClickCapture:A,disabled:((W=($=s==null?void 0:s.metadata)==null?void 0:$.image)==null?void 0:W.seed)===void 0,children:E("parameters:useSeed")}),y.jsx(ud,{onClickCapture:D,disabled:!["txt2img","img2img"].includes((Z=(X=s==null?void 0:s.metadata)==null?void 0:X.image)==null?void 0:Z.type),children:E("parameters:useAll")}),y.jsx(ud,{onClickCapture:j,disabled:((Q=(U=s==null?void 0:s.metadata)==null?void 0:U.image)==null?void 0:Q.type)!=="img2img",children:E("parameters:useInitImg")}),y.jsx(ud,{onClickCapture:I,children:E("parameters:sendToImg2Img")}),y.jsx(ud,{onClickCapture:R,children:E("parameters:sendToUnifiedCanvas")}),y.jsx(ud,{"data-warning":!0,children:y.jsx(eS,{image:s,children:y.jsx("p",{children:E("parameters:deleteImage")})})})]})]})},cLe);lY.displayName="HoverableImage";const Kb=320,HD=40,dLe={txt2img:{galleryMinWidth:200,galleryMaxWidth:500},img2img:{galleryMinWidth:200,galleryMaxWidth:500},unifiedCanvas:{galleryMinWidth:200,galleryMaxWidth:200},nodes:{galleryMinWidth:200,galleryMaxWidth:500},postprocess:{galleryMinWidth:200,galleryMaxWidth:500},training:{galleryMinWidth:200,galleryMaxWidth:500}},VD=400;function uY(){const e=Me(),{t}=Ve(),{images:n,currentCategory:r,currentImageUuid:i,shouldPinGallery:o,shouldShowGallery:a,galleryScrollPosition:s,galleryImageMinimumWidth:l,galleryGridTemplateColumns:u,activeTabName:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,areMoreImagesAvailable:b,galleryWidth:S,isLightboxOpen:E,isStaging:k,shouldEnableResize:_,shouldUseSingleGalleryColumn:T}=he(_Ee),{galleryMinWidth:A,galleryMaxWidth:I}=E?{galleryMinWidth:VD,galleryMaxWidth:VD}:dLe[d],[R,D]=w.useState(S>=Kb),[j,z]=w.useState(!1),[V,K]=w.useState(0),te=w.useRef(null),q=w.useRef(null),$=w.useRef(null);w.useEffect(()=>{S>=Kb&&D(!1)},[S]);const W=()=>{e(Bxe(!o)),e(vi(!0))},X=()=>{a?U():Z()},Z=()=>{e(Bd(!0)),o&&e(vi(!0))},U=w.useCallback(()=>{e(Bd(!1)),e(tU(!1)),e($xe(q.current?q.current.scrollTop:0)),setTimeout(()=>o&&e(vi(!0)),400)},[e,o]),Q=()=>{e(R8(r))},ie=ye=>{e(rv(ye))},fe=()=>{m||($.current=window.setTimeout(()=>U(),500))},Se=()=>{$.current&&window.clearTimeout($.current)};Je("g",()=>{X()},[a,o]),Je("left",()=>{e(oP())},{enabled:!k||d!=="unifiedCanvas"},[k]),Je("right",()=>{e(iP())},{enabled:!k||d!=="unifiedCanvas"},[k]),Je("shift+g",()=>{W()},[o]),Je("esc",()=>{e(Bd(!1))},{enabled:()=>!o,preventDefault:!0},[o]);const Pe=32;return Je("shift+up",()=>{if(l<256){const ye=ke.clamp(l+Pe,32,256);e(rv(ye))}},[l]),Je("shift+down",()=>{if(l>32){const ye=ke.clamp(l-Pe,32,256);e(rv(ye))}},[l]),w.useEffect(()=>{q.current&&(q.current.scrollTop=s)},[s,a]),w.useEffect(()=>{function ye(We){!o&&te.current&&!te.current.contains(We.target)&&U()}return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[U,o]),y.jsx(Oq,{nodeRef:te,in:a||m,unmountOnExit:!0,timeout:200,classNames:"image-gallery-wrapper",children:y.jsxs("div",{className:"image-gallery-wrapper",style:{zIndex:o?1:100},"data-pinned":o,ref:te,onMouseLeave:o?void 0:fe,onMouseEnter:o?void 0:Se,onMouseOver:o?void 0:Se,children:[y.jsxs(kq,{minWidth:A,maxWidth:o?I:window.innerWidth,className:"image-gallery-popup",handleStyles:{left:{width:"15px"}},enable:{left:_},size:{width:S,height:o?"100%":"100vh"},onResizeStart:(ye,We,De)=>{K(De.clientHeight),De.style.height=`${De.clientHeight}px`,o&&(De.style.position="fixed",De.style.right="1rem",z(!0))},onResizeStop:(ye,We,De,ot)=>{const He=o?ke.clamp(Number(S)+ot.width,A,Number(I)):Number(S)+ot.width;e(Hxe(He)),De.removeAttribute("data-resize-alert"),o&&(De.style.position="relative",De.style.removeProperty("right"),De.style.setProperty("height",o?"100%":"100vh"),z(!1),e(vi(!0)))},onResize:(ye,We,De,ot)=>{const He=ke.clamp(Number(S)+ot.width,A,Number(o?I:.95*window.innerWidth));He>=Kb&&!R?D(!0):HeHe-HD&&e(rv(He-HD)),o&&(He>=I?De.setAttribute("data-resize-alert","true"):De.removeAttribute("data-resize-alert")),De.style.height=`${V}px`},children:[y.jsxs("div",{className:"image-gallery-header",children:[y.jsx(oo,{size:"sm",isAttached:!0,variant:"solid",className:"image-gallery-category-btn-group",children:R?y.jsxs(y.Fragment,{children:[y.jsx(cr,{size:"sm","data-selected":r==="result",onClick:()=>e(kb("result")),children:t("gallery:generations")}),y.jsx(cr,{size:"sm","data-selected":r==="user",onClick:()=>e(kb("user")),children:t("gallery:uploads")})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("gallery:showGenerations"),tooltip:t("gallery:showGenerations"),"data-selected":r==="result",icon:y.jsx(uEe,{}),onClick:()=>e(kb("result"))}),y.jsx(Qe,{"aria-label":t("gallery:showUploads"),tooltip:t("gallery:showUploads"),"data-selected":r==="user",icon:y.jsx(CEe,{}),onClick:()=>e(kb("user"))})]})}),y.jsxs("div",{className:"image-gallery-header-right-icons",children:[y.jsx(Zs,{isLazy:!0,trigger:"hover",placement:"left",triggerComponent:y.jsx(Qe,{size:"sm","aria-label":t("gallery:gallerySettings"),icon:y.jsx(OP,{}),className:"image-gallery-icon-btn",cursor:"pointer"}),children:y.jsxs("div",{className:"image-gallery-settings-popover",children:[y.jsxs("div",{children:[y.jsx(so,{value:l,onChange:ie,min:32,max:256,hideTooltip:!0,label:t("gallery:galleryImageSize")}),y.jsx(Qe,{size:"sm","aria-label":t("gallery:galleryImageResetSize"),tooltip:t("gallery:galleryImageResetSize"),onClick:()=>e(rv(64)),icon:y.jsx(Wx,{}),"data-selected":o,styleClass:"image-gallery-icon-btn"})]}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:maintainAspectRatio"),isChecked:h==="contain",onChange:()=>e(Fxe(h==="contain"?"cover":"contain"))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:autoSwitchNewImages"),isChecked:v,onChange:ye=>e(zxe(ye.target.checked))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:singleColumnLayout"),isChecked:T,onChange:ye=>e(Vxe(ye.target.checked))})})]})}),y.jsx(Qe,{size:"sm",className:"image-gallery-icon-btn","aria-label":t("gallery:pinGallery"),tooltip:`${t("gallery:pinGallery")} (Shift+G)`,onClick:W,icon:o?y.jsx(Eq,{}):y.jsx(Pq,{})})]})]}),y.jsx("div",{className:"image-gallery-container",ref:q,children:n.length||b?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"image-gallery",style:{gridTemplateColumns:u},children:n.map(ye=>{const{uuid:We}=ye,De=i===We;return y.jsx(lY,{image:ye,isSelected:De},We)})}),y.jsx(as,{onClick:Q,isDisabled:!b,className:"image-gallery-load-more-btn",children:t(b?"gallery:loadMore":"gallery:allImagesLoaded")})]}):y.jsxs("div",{className:"image-gallery-container-placeholder",children:[y.jsx(Tq,{}),y.jsx("p",{children:t("gallery:noImagesInGallery")})]})})]}),j&&y.jsx("div",{style:{width:`${S}px`,height:"100%"}})]})})}/*! ***************************************************************************** +}`;var qt=sL(function(){return rn(H,bt+"return "+Ie).apply(n,J)});if(qt.source=Ie,Iw(qt))throw qt;return qt}function vJ(c){return Ln(c).toLowerCase()}function yJ(c){return Ln(c).toUpperCase()}function bJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return fo(c);if(!c||!(g=go(g)))return c;var O=Xi(c),B=Xi(g),H=ca(O,B),J=bs(O,B)+1;return Es(O,H,J).join("")}function SJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.slice(0,t1(c)+1);if(!c||!(g=go(g)))return c;var O=Xi(c),B=bs(O,Xi(g))+1;return Es(O,0,B).join("")}function xJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.replace(bc,"");if(!c||!(g=go(g)))return c;var O=Xi(c),B=ca(O,Xi(g));return Es(O,B).join("")}function wJ(c,g){var C=V,O=K;if(wr(g)){var B="separator"in g?g.separator:B;C="length"in g?Vt(g.length):C,O="omission"in g?go(g.omission):O}c=Ln(c);var H=c.length;if(_u(c)){var J=Xi(c);H=J.length}if(C>=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Rw(B)){if(c.slice(ne).search(B)){var _e,Ee=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;_e=B.exec(Ee);)var Ie=_e.index;ce=ce.slice(0,Ie===n?ne:Ie)}}else if(c.indexOf(go(B),ne)!=ne){var tt=ce.lastIndexOf(B);tt>-1&&(ce=ce.slice(0,tt))}return ce+O}function CJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var _J=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),jw=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?$p(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Iw(C)?C:new It(C)}}),kJ=mr(function(c,g){return Xn(g,function(C){C=Pl(C),pa(c,C,Ow(c[C],c))}),c});function EJ(c){var g=c==null?0:c.length,C=Oe();return c=g?Wn(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BW)return[];var C=fe,O=fi(c,fe);g=Oe(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Zt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Zt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Zt.prototype.toArray=function(){return this.take(fe)},va(Zt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=F[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&(F.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Zt,_e=ne[0],Ee=ce||Ft(J),Ie=function(Qt){var on=B.apply(F,za([Qt],ne));return O&&tt?on[0]:on};Ee&&C&&typeof _e=="function"&&_e.length!=1&&(ce=Ee=!1);var tt=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!tt,qt=ce&&!bt;if(!H&&Ee){J=qt?J:new Zt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Ie],thisArg:n}),new ho(Tt,tt)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Ie),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Xn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);F.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply(Ft(H)?H:[],B)}return this[C](function(J){return g.apply(Ft(J)?J:[],B)})}}),va(Zt.prototype,function(c,g){var C=F[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,E).name]=[{name:"wrapper",func:n}],Zt.prototype.clone=Zi,Zt.prototype.reverse=Ni,Zt.prototype.value=f3,F.prototype.at=eZ,F.prototype.chain=tZ,F.prototype.commit=nZ,F.prototype.next=rZ,F.prototype.plant=oZ,F.prototype.reverse=aZ,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=sZ,F.prototype.first=F.prototype.head,Bc&&(F.prototype[Bc]=iZ),F},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(Co)})(rxe,ke);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},ixe=.999,oxe=.1,axe=20,nv=.95,RI=30,s8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},sxe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),DW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],lxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",uxe=e=>e.kind==="line"&&e.layer==="base",W5=e=>e.kind==="image"&&e.layer==="base",cxe=e=>e.kind==="fillRect"&&e.layer==="base",dxe=e=>e.kind==="eraseRect"&&e.layer==="base",fxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},hxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},NW=cp({name:"canvas",initialState:hxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(ke.clamp(n.width,64,512),64),height:Ed(ke.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=sxe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(fxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(ke.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(W5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(W5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(ke.clamp(o,64,512),64),height:Ed(ke.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:jW,addFillRect:BW,addImageToStagingArea:pxe,addLine:gxe,addPointToCurrentLine:$W,clearCanvasHistory:FW,clearMask:nP,commitColorPickerColor:mxe,commitStagingAreaImage:vxe,discardStagedImages:yxe,fitBoundingBoxToStage:JFe,mouseLeftCanvas:bxe,nextStagingAreaImage:Sxe,prevStagingAreaImage:xxe,redo:wxe,resetCanvas:rP,resetCanvasInteractionState:Cxe,resetCanvasView:zW,resizeAndScaleCanvas:Rx,resizeCanvas:_xe,setBoundingBoxCoordinates:vC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:eze,setBoundingBoxScaleMethod:kxe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:Exe,setColorPickerColor:Pxe,setCursorPosition:Txe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:Dx,setIsDrawing:HW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:tze,setIsMoveStageKeyHeld:nze,setIsMovingBoundingBox:yC,setIsMovingStage:U5,setIsTransformingBoundingBox:bC,setLayer:G5,setMaskColor:VW,setMergedCanvas:Lxe,setShouldAutoSave:WW,setShouldCropToBoundingBoxOnSave:UW,setShouldDarkenOutsideBoundingBox:GW,setShouldLockBoundingBox:rze,setShouldPreserveMaskedArea:qW,setShouldShowBoundingBox:Axe,setShouldShowBrush:ize,setShouldShowBrushPreview:oze,setShouldShowCanvasDebugInfo:YW,setShouldShowCheckboardTransparency:aze,setShouldShowGrid:KW,setShouldShowIntermediates:XW,setShouldShowStagingImage:Oxe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:q5,setStageCoordinates:ZW,setStageScale:Mxe,setTool:tu,toggleShouldLockBoundingBox:sze,toggleTool:lze,undo:Ixe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:QW}=NW.actions,Rxe=NW.reducer,Dxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},JW=cp({name:"gallery",initialState:Dxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=ke.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:SC,removeImage:eU,setCurrentImage:jI,addGalleryImages:Nxe,setIntermediateImage:jxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:Bxe,setShouldShowGallery:Bd,setGalleryScrollPosition:$xe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:tU,setShouldAutoSwitchToNewImages:zxe,setCurrentCategory:kb,setGalleryWidth:Hxe,setShouldUseSingleGalleryColumn:Vxe}=JW.actions,Wxe=JW.reducer,Uxe={isLightboxOpen:!1},Gxe=Uxe,nU=cp({name:"lightbox",initialState:Gxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=nU.actions,qxe=nU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const Yxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?Yxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),Y5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Kxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),rU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Xxe=rU,iU=cp({name:"generation",initialState:Xxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=Y5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,typeof u>"u"?e.perlin=0:e.perlin=u,typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:k,init_image_path:E,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(E&&(e.initialImage=E),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof k=="boolean"&&(e.shouldFitToWidthHeight=k)),a&&a.length>0?(e.seedWeights=Y5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),typeof u>"u"?e.threshold=0:e.threshold=u,typeof d>"u"?e.perlin=0:e.perlin=d,typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...rU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:oU,resetParametersState:uze,resetSeed:cze,setAllImageToImageParameters:Zxe,setAllParameters:aU,setAllTextToImageParameters:dze,setCfgScale:sU,setHeight:lU,setImg2imgStrength:l8,setInfillMethod:uU,setInitialImage:k0,setIterations:Qxe,setMaskPath:cU,setParameter:fze,setPerlin:dU,setPrompt:Nx,setNegativePrompt:Q2,setSampler:fU,setSeamBlur:BI,setSeamless:hU,setSeamSize:$I,setSeamSteps:FI,setSeamStrength:zI,setSeed:Ny,setSeedWeights:pU,setShouldFitToWidthHeight:gU,setShouldGenerateVariations:Jxe,setShouldRandomizeSeed:ewe,setSteps:mU,setThreshold:vU,setTileSize:HI,setVariationAmount:twe,setWidth:yU}=iU.actions,nwe=iU.reducer,bU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingDenoising:.75,upscalingStrength:.75},rwe=bU,SU=cp({name:"postprocessing",initialState:rwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingDenoising:(e,t)=>{e.upscalingDenoising=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...bU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:hze,setCodeformerFidelity:xU,setFacetoolStrength:u8,setFacetoolType:I4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:iwe,setShouldRunESRGAN:owe,setShouldRunFacetool:awe,setUpscalingLevel:wU,setUpscalingDenoising:c8,setUpscalingStrength:d8}=SU.actions,swe=SU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lwe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CU(e){var t=lwe(e,"string");return Xs(t)==="symbol"?t:String(t)}function WI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.init(t,n)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||pwe,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function KI(e,t,n){var r=uP(e,t,Object),i=r.obj,o=r.k;i[o]=n}function vwe(e,t,n,r){var i=uP(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function K5(e,t){var n=uP(e,t),r=n.obj,i=n.k;if(r)return r[i]}function XI(e,t,n){var r=K5(e,n);return r!==void 0?r:K5(t,n)}function _U(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):_U(e[r],t[r],n):e[r]=t[r]);return e}function Mg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ywe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function bwe(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return ywe[t]}):e}var Bx=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Swe=[" ",",","?","!",";"];function xwe(e,t,n){t=t||"",n=n||"";var r=Swe.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function ZI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eb(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?kU(l,u,n):void 0}i=i[r[o]]}return i}}var _we=function(e){jx(n,e);var t=wwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pu(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,d=[i,o];a&&typeof a!="string"&&(d=d.concat(a)),a&&typeof a=="string"&&(d=d.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(d=i.split("."));var h=K5(this.data,d);return h||!u||typeof a!="string"?h:kU(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var d=[i,o];a&&(d=d.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(d=i.split("."),s=o,o=d[1]),this.addNamespaces(o),KI(this.data,d,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},d=[i,o];i.indexOf(".")>-1&&(d=i.split("."),s=a,a=o,o=d[1]),this.addNamespaces(o);var h=K5(this.data,d)||{};s?_U(h,a,l):h=Eb(Eb({},h),a),KI(this.data,d,h),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Eb(Eb({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Qd),EU={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function QI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function So(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var JI={},eR=function(e){jx(n,e);var t=kwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),mwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,$d(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=ql.create("translator"),i}return pu(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,d=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!xwe(i,a,s);if(u&&!d){var h=i.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Xs(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=this.extractFromKey(i[i.length-1],o),h=d.key,m=d.namespaces,v=m[m.length-1],b=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(S){var k=o.nsSeparator||this.options.nsSeparator;return l?(E.res="".concat(v).concat(k).concat(h),E):"".concat(v).concat(k).concat(h)}return l?(E.res=h,E):h}var E=this.resolve(i,o),_=E&&E.res,T=E&&E.usedKey||h,A=E&&E.exactUsedKey||h,I=Object.prototype.toString.apply(_),R=["[object Number]","[object Function]","[object RegExp]"],D=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=typeof _!="string"&&typeof _!="boolean"&&typeof _!="number";if(j&&_&&z&&R.indexOf(I)<0&&!(typeof D=="string"&&I==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var V=this.options.returnedObjectHandler?this.options.returnedObjectHandler(T,_,So(So({},o),{},{ns:m})):"key '".concat(h," (").concat(this.language,")' returned an object instead of string.");return l?(E.res=V,E):V}if(u){var K=I==="[object Array]",te=K?[]:{},q=K?A:T;for(var $ in _)if(Object.prototype.hasOwnProperty.call(_,$)){var U="".concat(q).concat(u).concat($);te[$]=this.translate(U,So(So({},o),{joinArrays:!1,ns:m})),te[$]===U&&(te[$]=_[$])}_=te}}else if(j&&typeof D=="string"&&I==="[object Array]")_=_.join(D),_&&(_=this.extendTranslation(_,i,o,a));else{var X=!1,Z=!1,W=o.count!==void 0&&typeof o.count!="string",Q=n.hasDefaultValue(o),ie=W?this.pluralResolver.getSuffix(b,o.count,o):"",fe=o["defaultValue".concat(ie)]||o.defaultValue;!this.isValidLookup(_)&&Q&&(X=!0,_=fe),this.isValidLookup(_)||(Z=!0,_=h);var Se=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Pe=Se&&Z?void 0:_,ye=Q&&fe!==_&&this.options.updateMissing;if(Z||X||ye){if(this.logger.log(ye?"updateKey":"missingKey",b,v,h,ye?fe:_),u){var We=this.resolve(h,So(So({},o),{},{keySeparator:!1}));We&&We.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var De=[],ot=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ot&&ot[0])for(var He=0;He1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,d,h;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var v=o.extractFromKey(m,a),b=v.key;l=b;var S=v.namespaces;o.options.fallbackNS&&(S=S.concat(o.options.fallbackNS));var k=a.count!==void 0&&typeof a.count!="string",E=k&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),_=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",T=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);S.forEach(function(A){o.isValidLookup(s)||(h=A,!JI["".concat(T[0],"-").concat(A)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(h)&&(JI["".concat(T[0],"-").concat(A)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(T.join(", "),`" won't get resolved as namespace "`).concat(h,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(function(I){if(!o.isValidLookup(s)){d=I;var R=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(R,b,I,A,a);else{var D;k&&(D=o.pluralResolver.getSuffix(I,a.count,a));var j="".concat(o.options.pluralSeparator,"zero");if(k&&(R.push(b+D),E&&R.push(b+j)),_){var z="".concat(b).concat(o.options.contextSeparator).concat(a.context);R.push(z),k&&(R.push(z+D),E&&R.push(z+j))}}for(var V;V=R.pop();)o.isValidLookup(s)||(u=V,s=o.getResource(I,A,V,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:d,usedNS:h}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(Qd);function xC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var tR=function(){function e(t){hu(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ql.create("languageUtils")}return pu(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=xC(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),Pwe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Twe={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Lwe=["v1","v2","v3"],nR={zero:0,one:1,two:2,few:3,many:4,other:5};function Awe(){var e={};return Pwe.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Twe[t.fc]}})}),e}var Owe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.languageUtils=t,this.options=n,this.logger=ql.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Awe()}return pu(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return nR[a]-nR[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Lwe.includes(this.options.compatibilityJSON)}}]),e}();function rR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pu(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:bwe,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Mg(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Mg(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Mg(r.nestingPrefix):r.nestingPrefixEscaped||Mg("$t("),this.nestingSuffix=r.nestingSuffix?Mg(r.nestingSuffix):r.nestingSuffixEscaped||Mg(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function h(k){return k.replace(/\$/g,"$$$$")}var m=function(E){if(E.indexOf(a.formatSeparator)<0){var _=XI(r,d,E);return a.alwaysFormat?a.format(_,void 0,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:E})):_}var T=E.split(a.formatSeparator),A=T.shift().trim(),I=T.join(a.formatSeparator).trim();return a.format(XI(r,d,A),I,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:A}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,S=[{regex:this.regexpUnescape,safeValue:function(E){return h(E)}},{regex:this.regexp,safeValue:function(E){return a.escapeValue?h(a.escape(E)):h(E)}}];return S.forEach(function(k){for(u=0;s=k.regex.exec(n);){var E=s[1].trim();if(l=m(E),l===void 0)if(typeof v=="function"){var _=v(n,s,o);l=typeof _=="string"?_:""}else if(o&&o.hasOwnProperty(E))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(E," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=YI(l));var T=k.safeValue(l);if(n=n.replace(s[0],T),b?(k.regex.lastIndex+=l.length,k.regex.lastIndex-=s[0].length):k.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,b){var S=this.nestingOptionsSeparator;if(v.indexOf(S)<0)return v;var k=v.split(new RegExp("".concat(S,"[ ]*{"))),E="{".concat(k[1]);v=k[0],E=this.interpolate(E,l);var _=E.match(/'/g),T=E.match(/"/g);(_&&_.length%2===0&&!T||T.length%2!==0)&&(E=E.replace(/'/g,'"'));try{l=JSON.parse(E),b&&(l=Rs(Rs({},b),l))}catch(A){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),A),"".concat(v).concat(S).concat(E)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var d=[];l=Rs({},o),l.applyPostProcessor=!1,delete l.defaultValue;var h=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=m.shift(),d=m,h=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=YI(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),h&&(s=d.reduce(function(v,b){return i.format(v,b,o.lng,Rs(Rs({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function iR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=hwe(s),u=l[0],d=l.slice(1),h=d.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=h),h==="false"&&(n[u.trim()]=!1),h==="true"&&(n[u.trim()]=!0),isNaN(h)||(n[u.trim()]=parseInt(h,10))}})}}return{formatName:t,formatOptions:n}}function Ig(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var Rwe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("formatter"),this.options=t,this.formats={number:Ig(function(n,r){var i=new Intl.NumberFormat(n,r);return function(o){return i.format(o)}}),currency:Ig(function(n,r){var i=new Intl.NumberFormat(n,ld(ld({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Ig(function(n,r){var i=new Intl.DateTimeFormat(n,ld({},r));return function(o){return i.format(o)}}),relativetime:Ig(function(n,r){var i=new Intl.RelativeTimeFormat(n,ld({},r));return function(o){return i.format(o,r.range||"day")}}),list:Ig(function(n,r){var i=new Intl.ListFormat(n,ld({},r));return function(o){return i.format(o)}})},this.init(t)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Ig(r)}},{key:"format",value:function(n,r,i,o){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,d){var h=Iwe(d),m=h.formatName,v=h.formatOptions;if(a.formats[m]){var b=u;try{var S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},k=S.locale||S.lng||o.locale||o.lng||i;b=a.formats[m](u,k,ld(ld(ld({},v),o),S))}catch(E){a.logger.warn(E)}return b}else a.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aR(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jwe(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Bwe=function(e){jx(n,e);var t=Dwe(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hu(this,n),a=t.call(this),Bx&&Qd.call($d(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=ql.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return pu(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},d={},h={},m={};return i.forEach(function(v){var b=!0;o.forEach(function(S){var k="".concat(v,"|").concat(S);!a.reload&&l.store.hasResourceBundle(v,S)?l.state[k]=2:l.state[k]<0||(l.state[k]===1?d[k]===void 0&&(d[k]=!0):(l.state[k]=1,b=!1,d[k]===void 0&&(d[k]=!0),u[k]===void 0&&(u[k]=!0),m[S]===void 0&&(m[S]=!0)))}),b||(h[v]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var d={};this.queue.forEach(function(h){vwe(h.loaded,[l],u),jwe(h,i),o&&h.errors.push(o),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(function(m){d[m]||(d[m]={});var v=h.loaded[m];v.length&&v.forEach(function(b){d[m][b]===void 0&&(d[m][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(function(h){return!h.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!i.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:d});return}this.readingCalls++;var h=function(S,k){if(s.readingCalls--,s.waitingReads.length>0){var E=s.waitingReads.shift();s.read(E.lng,E.ns,E.fcName,E.tried,E.wait,E.callback)}if(S&&k&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(d){a.loadOne(d)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(d,h){d&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),d),!d&&h&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),h),o.loaded(i,d,h)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var h=aR(aR({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var v;m.length===5?v=m(i,o,a,s,h):v=m(i,o,a,s),v&&typeof v.then=="function"?v.then(function(b){return d(null,b)}).catch(d):d(null,v)}catch(b){d(b)}else m(i,o,a,s,d,h)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(Qd);function sR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Xs(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Xs(t[2])==="object"||Xs(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function lR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(){}function zwe(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var X5=function(e){jx(n,e);var t=$we(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(hu(this,n),r=t.call(this),Bx&&Qd.call($d(r)),r.options=lR(i),r.services={},r.logger=ql,r.modules={external:[]},zwe($d(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),jy(r,$d(r));setTimeout(function(){r.init(i,o)},0)}return r}return pu(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=sR();this.options=Ml(Ml(Ml({},s),this.options),lR(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ml(Ml({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?ql.init(l(this.modules.logger),this.options):ql.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Rwe);var d=new tR(this.options);this.store=new _we(this.options.resources,this.options);var h=this.services;h.logger=ql,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Owe(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Mwe(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new Bwe(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new eR(this.services,this.options),this.translator.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.external.forEach(function(E){E.init&&E.init(i)})}if(this.format=this.options.interpolation.format,a||(a=Pb),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments),i}});var S=iv(),k=function(){var _=function(A,I){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),S.resolve(I),a(A,I)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return _(null,i.t.bind(i));i.changeLanguage(i.options.lng,_)};return this.options.resources||!this.options.initImmediate?k():setTimeout(k,0),S}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],d=function(v){if(v){var b=o.services.languageUtils.toResolveHierarchy(v);b.forEach(function(S){u.indexOf(S)<0&&u.push(S)})}};if(l)d(l);else{var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.forEach(function(m){return d(m)})}this.options.preload&&this.options.preload.forEach(function(m){return d(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=iv();return i||(i=this.languages),o||(o=this.options.ns),a||(a=Pb),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&EU.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=iv();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},d=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var v=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(b){u(b,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(d,h){var m;if(Xs(h)!=="object"){for(var v=arguments.length,b=new Array(v>2?v-2:0),S=2;S1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var d=function(v,b){var S=o.services.backendConnector.state["".concat(v,"|").concat(b)];return S===-1||S===2};if(a.precheck){var h=a.precheck(this,d);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(s,i)&&(!l||d(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=iv();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=iv();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tR(sR());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=Ml(Ml(Ml({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(d){l[d]=i[d]}),l.services=Ml({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new eR(l.services,l.options),l.translator.on("*",function(d){for(var h=arguments.length,m=new Array(h>1?h-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new X5(e,t)});var zt=X5.createInstance();zt.createInstance=X5.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;function Hwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J2(e){return J2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J2(e)}function Vwe(e,t){if(J2(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(J2(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wwe(e){var t=Vwe(e,"string");return J2(t)==="symbol"?t:String(t)}function cR(e,t){for(var n=0;n0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!dR.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!dR.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},fR={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Kwe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(n=o[a].substring(s+1))}}}return n}},ov=null,hR=function(){if(ov!==null)return ov;try{ov=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ov=!1}return ov},Qwe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&hR()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&hR()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},av=null,pR=function(){if(av!==null)return av;try{av=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{av=!1}return av},Jwe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&pR()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&pR()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},e6e={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},t6e={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},n6e={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},r6e={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function i6e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var TU=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hwe(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Uwe(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Ywe(r,this.options||{},i6e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Xwe),this.addDetector(Zwe),this.addDetector(Qwe),this.addDetector(Jwe),this.addDetector(e6e),this.addDetector(t6e),this.addDetector(n6e),this.addDetector(r6e)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();TU.type="languageDetector";function h8(e){return h8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h8(e)}var LU=[],o6e=LU.forEach,a6e=LU.slice;function p8(e){return o6e.call(a6e.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function AU(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":h8(XMLHttpRequest))==="object"}function s6e(e){return!!e&&typeof e.then=="function"}function l6e(e){return s6e(e)?e:Promise.resolve(e)}function u6e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ey={},c6e={get exports(){return ey},set exports(e){ey=e}},o2={},d6e={get exports(){return o2},set exports(e){o2=e}},gR;function f6e(){return gR||(gR=1,function(e,t){var n=typeof self<"u"?self:Co,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l($){return $&&DataView.prototype.isPrototypeOf($)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function($){return $&&u.indexOf(Object.prototype.toString.call($))>-1};function h($){if(typeof $!="string"&&($=String($)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test($))throw new TypeError("Invalid character in header field name");return $.toLowerCase()}function m($){return typeof $!="string"&&($=String($)),$}function v($){var U={next:function(){var X=$.shift();return{done:X===void 0,value:X}}};return s.iterable&&(U[Symbol.iterator]=function(){return U}),U}function b($){this.map={},$ instanceof b?$.forEach(function(U,X){this.append(X,U)},this):Array.isArray($)?$.forEach(function(U){this.append(U[0],U[1])},this):$&&Object.getOwnPropertyNames($).forEach(function(U){this.append(U,$[U])},this)}b.prototype.append=function($,U){$=h($),U=m(U);var X=this.map[$];this.map[$]=X?X+", "+U:U},b.prototype.delete=function($){delete this.map[h($)]},b.prototype.get=function($){return $=h($),this.has($)?this.map[$]:null},b.prototype.has=function($){return this.map.hasOwnProperty(h($))},b.prototype.set=function($,U){this.map[h($)]=m(U)},b.prototype.forEach=function($,U){for(var X in this.map)this.map.hasOwnProperty(X)&&$.call(U,this.map[X],X,this)},b.prototype.keys=function(){var $=[];return this.forEach(function(U,X){$.push(X)}),v($)},b.prototype.values=function(){var $=[];return this.forEach(function(U){$.push(U)}),v($)},b.prototype.entries=function(){var $=[];return this.forEach(function(U,X){$.push([X,U])}),v($)},s.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S($){if($.bodyUsed)return Promise.reject(new TypeError("Already read"));$.bodyUsed=!0}function k($){return new Promise(function(U,X){$.onload=function(){U($.result)},$.onerror=function(){X($.error)}})}function E($){var U=new FileReader,X=k(U);return U.readAsArrayBuffer($),X}function _($){var U=new FileReader,X=k(U);return U.readAsText($),X}function T($){for(var U=new Uint8Array($),X=new Array(U.length),Z=0;Z-1?U:$}function j($,U){U=U||{};var X=U.body;if($ instanceof j){if($.bodyUsed)throw new TypeError("Already read");this.url=$.url,this.credentials=$.credentials,U.headers||(this.headers=new b($.headers)),this.method=$.method,this.mode=$.mode,this.signal=$.signal,!X&&$._bodyInit!=null&&(X=$._bodyInit,$.bodyUsed=!0)}else this.url=String($);if(this.credentials=U.credentials||this.credentials||"same-origin",(U.headers||!this.headers)&&(this.headers=new b(U.headers)),this.method=D(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&X)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(X)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function z($){var U=new FormData;return $.trim().split("&").forEach(function(X){if(X){var Z=X.split("="),W=Z.shift().replace(/\+/g," "),Q=Z.join("=").replace(/\+/g," ");U.append(decodeURIComponent(W),decodeURIComponent(Q))}}),U}function V($){var U=new b,X=$.replace(/\r?\n[\t ]+/g," ");return X.split(/\r?\n/).forEach(function(Z){var W=Z.split(":"),Q=W.shift().trim();if(Q){var ie=W.join(":").trim();U.append(Q,ie)}}),U}I.call(j.prototype);function K($,U){U||(U={}),this.type="default",this.status=U.status===void 0?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new b(U.headers),this.url=U.url||"",this._initBody($)}I.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},K.error=function(){var $=new K(null,{status:0,statusText:""});return $.type="error",$};var te=[301,302,303,307,308];K.redirect=function($,U){if(te.indexOf(U)===-1)throw new RangeError("Invalid status code");return new K(null,{status:U,headers:{location:$}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,X){this.message=U,this.name=X;var Z=Error(U);this.stack=Z.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function q($,U){return new Promise(function(X,Z){var W=new j($,U);if(W.signal&&W.signal.aborted)return Z(new a.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function ie(){Q.abort()}Q.onload=function(){var fe={status:Q.status,statusText:Q.statusText,headers:V(Q.getAllResponseHeaders()||"")};fe.url="responseURL"in Q?Q.responseURL:fe.headers.get("X-Request-URL");var Se="response"in Q?Q.response:Q.responseText;X(new K(Se,fe))},Q.onerror=function(){Z(new TypeError("Network request failed"))},Q.ontimeout=function(){Z(new TypeError("Network request failed"))},Q.onabort=function(){Z(new a.DOMException("Aborted","AbortError"))},Q.open(W.method,W.url,!0),W.credentials==="include"?Q.withCredentials=!0:W.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&s.blob&&(Q.responseType="blob"),W.headers.forEach(function(fe,Se){Q.setRequestHeader(Se,fe)}),W.signal&&(W.signal.addEventListener("abort",ie),Q.onreadystatechange=function(){Q.readyState===4&&W.signal.removeEventListener("abort",ie)}),Q.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=b,o.Request=j,o.Response=K),a.Headers=b,a.Request=j,a.Response=K,a.fetch=q,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(d6e,o2)),o2}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Co<"u"&&Co.fetch?n=Co.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof u6e<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||f6e();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(c6e,ey);const OU=ey,mR=rj({__proto__:null,default:OU},[ey]);function Z5(e){return Z5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z5(e)}var Yu;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Yu=global.fetch:typeof window<"u"&&window.fetch?Yu=window.fetch:Yu=fetch);var ty;AU()&&(typeof global<"u"&&global.XMLHttpRequest?ty=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ty=window.XMLHttpRequest));var Q5;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Q5=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Q5=window.ActiveXObject));!Yu&&mR&&!ty&&!Q5&&(Yu=OU||mR);typeof Yu!="function"&&(Yu=void 0);var g8=function(t,n){if(n&&Z5(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},vR=function(t,n,r){Yu(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},yR=!1,h6e=function(t,n,r,i){t.queryStringParams&&(n=g8(n,t.queryStringParams));var o=p8({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=p8({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},yR?{}:a);try{vR(n,s,i)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return i(l);try{Object.keys(a).forEach(function(u){delete s[u]}),vR(n,s,i),yR=!0}catch(u){i(u)}}},p6e=function(t,n,r,i){r&&Z5(r)==="object"&&(r=g8("",r).slice(1)),t.queryStringParams&&(n=g8(n,t.queryStringParams));try{var o;ty?o=new ty:o=new Q5("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(l){console&&console.log(l)}},g6e=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Yu&&n.indexOf("file:")!==0)return h6e(t,n,r,i);if(AU()||typeof ActiveXObject=="function")return p6e(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ny(e){return ny=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ny(e)}function m6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};m6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return v6e(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=p8(i,this.options||{},S6e()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,i)),l=l6e(l),l.then(function(u){if(!u)return a(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});s.loadUrl(d,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,d;try{typeof l.data=="string"?u=a.options.parse(l.data,i,o):u=l.data}catch{d="failed parsing "+n+" to json"}if(d)return r(d,!1);r(null,u)})}},{key:"create",value:function(n,r,i,o,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,i,o),u=0,d=[],h=[];n.forEach(function(m){var v=s.options.addPath;typeof s.options.addPath=="function"&&(v=s.options.addPath(m,r));var b=s.services.interpolator.interpolate(v,{lng:m,ns:r});s.options.request(s.options,b,l,function(S,k){u+=1,d.push(S),h.push(k),u===n.length&&a&&a(d,h)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,s=i.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(h){var m=o.toResolveHierarchy(h);m.forEach(function(v){l.indexOf(v)<0&&l.push(v)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(h){i.read(d,h,"read",null,null,function(m,v){m&&a.warn("loading namespace ".concat(h," for language ").concat(d," failed"),m),!m&&v&&a.log("loaded namespace ".concat(h," for language ").concat(d),v),i.loaded("".concat(d,"|").concat(h),m,v)})})})}}}]),e}();IU.type="backend";function ry(e){return ry=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ry(e)}function x6e(e,t){if(ry(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ry(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RU(e){var t=x6e(e,"string");return ry(t)==="symbol"?t:String(t)}function DU(e,t,n){return t=RU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w6e(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var d=t.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}function _6e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return m8("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,e))return!1}}):C6e(e,t,n)}var k6e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E6e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},P6e=function(t){return E6e[t]},T6e=function(t){return t.replace(k6e,P6e)};function wR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CR(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};v8=CR(CR({},v8),e)}function A6e(){return v8}var NU;function O6e(e){NU=e}function M6e(){return NU}function I6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(N6e)||{},i=r.i18n,o=r.defaultNS,a=n||i||M6e();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new j6e),!a){m8("You will need to pass in an i18next instance by using initReactI18next");var s=function(z){return Array.isArray(z)?z[z.length-1]:z},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&m8("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=wC(wC(wC({},A6e()),a.options.react),t),d=u.useSuspense,h=u.keyPrefix,m=e||o||a.options&&a.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(m);var v=(a.isInitialized||a.initializedStoreOnce)&&m.every(function(j){return _6e(j,a,u)});function b(){return a.getFixedT(null,u.nsMode==="fallback"?m:m[0],h)}var S=w.useState(b),k=H6e(S,2),E=k[0],_=k[1],T=m.join(),A=V6e(T),I=w.useRef(!0);w.useEffect(function(){var j=u.bindI18n,z=u.bindI18nStore;I.current=!0,!v&&!d&&xR(a,m,function(){I.current&&_(b)}),v&&A&&A!==T&&I.current&&_(b);function V(){I.current&&_(b)}return j&&a&&a.on(j,V),z&&a&&a.store.on(z,V),function(){I.current=!1,j&&a&&j.split(" ").forEach(function(K){return a.off(K,V)}),z&&a&&z.split(" ").forEach(function(K){return a.store.off(K,V)})}},[a,T]);var R=w.useRef(!0);w.useEffect(function(){I.current&&!R.current&&_(b),R.current=!1},[a,h]);var D=[E,a,v];if(D.t=E,D.i18n=a,D.ready=v,v||!v&&!d)return D;throw new Promise(function(j){xR(a,m,function(){j()})})}zt.use(IU).use(TU).use(D6e).init({fallbackLng:"en",debug:!1,ns:["common","gallery","hotkeys","parameters","settings","modelmanager","toast","tooltip","unifiedcanvas"],backend:{loadPath:"/locales/{{ns}}/{{lng}}.json"},interpolation:{escapeValue:!1},returnNull:!1});const W6e={isConnected:!1,isProcessing:!1,log:[],shouldShowLogViewer:!1,shouldDisplayInProgressType:"latents",shouldDisplayGuides:!0,isGFPGANAvailable:!0,isESRGANAvailable:!0,socketId:"",shouldConfirmOnDelete:!0,openAccordions:[],currentStep:0,totalSteps:0,currentIteration:0,totalIterations:0,currentStatus:zt.isInitialized?zt.t("common:statusDisconnected"):"Disconnected",currentStatusHasSteps:!1,model:"",model_id:"",model_hash:"",app_id:"",app_version:"",model_list:{},infill_methods:[],hasError:!1,wasErrorSeen:!0,isCancelable:!0,saveIntermediatesInterval:5,enableImageDebugging:!1,toastQueue:[],searchFolder:null,foundModels:null,openModel:null},jU=cp({name:"system",initialState:W6e,reducers:{setShouldDisplayInProgressType:(e,t)=>{e.shouldDisplayInProgressType=t.payload},setIsProcessing:(e,t)=>{e.isProcessing=t.payload},setCurrentStatus:(e,t)=>{e.currentStatus=t.payload},setSystemStatus:(e,t)=>({...e,...t.payload}),errorOccurred:e=>{e.hasError=!0,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusError"),e.wasErrorSeen=!1},errorSeen:e=>{e.hasError=!1,e.wasErrorSeen=!0,e.currentStatus=e.isConnected?zt.t("common:statusConnected"):zt.t("common:statusDisconnected")},addLogEntry:(e,t)=>{const{timestamp:n,message:r,level:i}=t.payload,a={timestamp:n,message:r,level:i||"info"};e.log.push(a)},setShouldShowLogViewer:(e,t)=>{e.shouldShowLogViewer=t.payload},setIsConnected:(e,t)=>{e.isConnected=t.payload,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.hasError=!1},setSocketId:(e,t)=>{e.socketId=t.payload},setShouldConfirmOnDelete:(e,t)=>{e.shouldConfirmOnDelete=t.payload},setOpenAccordions:(e,t)=>{e.openAccordions=t.payload},setSystemConfig:(e,t)=>({...e,...t.payload}),setShouldDisplayGuides:(e,t)=>{e.shouldDisplayGuides=t.payload},processingCanceled:e=>{e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusProcessingCanceled")},generationRequested:e=>{e.isProcessing=!0,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusPreparing")},setModelList:(e,t)=>{e.model_list=t.payload},setIsCancelable:(e,t)=>{e.isCancelable=t.payload},modelChangeRequested:e=>{e.currentStatus=zt.t("common:statusLoadingModel"),e.isCancelable=!1,e.isProcessing=!0,e.currentStatusHasSteps=!1},setSaveIntermediatesInterval:(e,t)=>{e.saveIntermediatesInterval=t.payload},setEnableImageDebugging:(e,t)=>{e.enableImageDebugging=t.payload},addToast:(e,t)=>{e.toastQueue.push(t.payload)},clearToastQueue:e=>{e.toastQueue=[]},setProcessingIndeterminateTask:(e,t)=>{e.isProcessing=!0,e.currentStatus=t.payload,e.currentStatusHasSteps=!1},setSearchFolder:(e,t)=>{e.searchFolder=t.payload},setFoundModels:(e,t)=>{e.foundModels=t.payload},setOpenModel:(e,t)=>{e.openModel=t.payload}}}),{setShouldDisplayInProgressType:U6e,setIsProcessing:Hs,addLogEntry:to,setShouldShowLogViewer:CC,setIsConnected:PR,setSocketId:pze,setShouldConfirmOnDelete:BU,setOpenAccordions:G6e,setSystemStatus:q6e,setCurrentStatus:R4,setSystemConfig:Y6e,setShouldDisplayGuides:K6e,processingCanceled:X6e,errorOccurred:TR,errorSeen:$U,setModelList:Tb,setIsCancelable:lm,modelChangeRequested:Z6e,setSaveIntermediatesInterval:Q6e,setEnableImageDebugging:J6e,generationRequested:eCe,addToast:Th,clearToastQueue:tCe,setProcessingIndeterminateTask:nCe,setSearchFolder:FU,setFoundModels:zU,setOpenModel:LR}=jU.actions,rCe=jU.reducer,cP=["txt2img","img2img","unifiedCanvas","nodes","postprocess","training"],iCe={activeTab:0,currentTheme:"dark",parametersPanelScrollPosition:0,shouldHoldParametersPanelOpen:!1,shouldPinParametersPanel:!0,shouldShowParametersPanel:!0,shouldShowDualDisplay:!0,shouldShowImageDetails:!1,shouldUseCanvasBetaLayout:!1,shouldShowExistingModelsInSearch:!1,addNewModelUIOption:null},oCe=iCe,HU=cp({name:"ui",initialState:oCe,reducers:{setActiveTab:(e,t)=>{typeof t.payload=="number"?e.activeTab=t.payload:e.activeTab=cP.indexOf(t.payload)},setCurrentTheme:(e,t)=>{e.currentTheme=t.payload},setParametersPanelScrollPosition:(e,t)=>{e.parametersPanelScrollPosition=t.payload},setShouldPinParametersPanel:(e,t)=>{e.shouldPinParametersPanel=t.payload},setShouldShowParametersPanel:(e,t)=>{e.shouldShowParametersPanel=t.payload},setShouldHoldParametersPanelOpen:(e,t)=>{e.shouldHoldParametersPanelOpen=t.payload},setShouldShowDualDisplay:(e,t)=>{e.shouldShowDualDisplay=t.payload},setShouldShowImageDetails:(e,t)=>{e.shouldShowImageDetails=t.payload},setShouldUseCanvasBetaLayout:(e,t)=>{e.shouldUseCanvasBetaLayout=t.payload},setShouldShowExistingModelsInSearch:(e,t)=>{e.shouldShowExistingModelsInSearch=t.payload},setAddNewModelUIOption:(e,t)=>{e.addNewModelUIOption=t.payload}}}),{setActiveTab:qo,setCurrentTheme:aCe,setParametersPanelScrollPosition:sCe,setShouldHoldParametersPanelOpen:lCe,setShouldPinParametersPanel:uCe,setShouldShowParametersPanel:Ku,setShouldShowDualDisplay:cCe,setShouldShowImageDetails:VU,setShouldUseCanvasBetaLayout:dCe,setShouldShowExistingModelsInSearch:fCe,setAddNewModelUIOption:zh}=HU.actions,hCe=HU.reducer,lu=Object.create(null);lu.open="0";lu.close="1";lu.ping="2";lu.pong="3";lu.message="4";lu.upgrade="5";lu.noop="6";const D4=Object.create(null);Object.keys(lu).forEach(e=>{D4[lu[e]]=e});const pCe={type:"error",data:"parser error"},gCe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",mCe=typeof ArrayBuffer=="function",vCe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,WU=({type:e,data:t},n,r)=>gCe&&t instanceof Blob?n?r(t):AR(t,r):mCe&&(t instanceof ArrayBuffer||vCe(t))?n?r(t):AR(new Blob([t]),r):r(lu[e]+(t||"")),AR=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+r)},n.readAsDataURL(e)},OR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r>4,d[i++]=(a&15)<<4|s>>2,d[i++]=(s&3)<<6|l&63;return u},bCe=typeof ArrayBuffer=="function",UU=(e,t)=>{if(typeof e!="string")return{type:"message",data:GU(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:SCe(e.substring(1),t)}:D4[n]?e.length>1?{type:D4[n],data:e.substring(1)}:{type:D4[n]}:pCe},SCe=(e,t)=>{if(bCe){const n=yCe(e);return GU(n,t)}else return{base64:!0,data:e}},GU=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},qU=String.fromCharCode(30),xCe=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{WU(o,!1,s=>{r[a]=s,++i===n&&t(r.join(qU))})})},wCe=(e,t)=>{const n=e.split(qU),r=[];for(let i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function KU(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const _Ce=setTimeout,kCe=clearTimeout;function $x(e,t){t.useNativeTimers?(e.setTimeoutFn=_Ce.bind(Pd),e.clearTimeoutFn=kCe.bind(Pd)):(e.setTimeoutFn=setTimeout.bind(Pd),e.clearTimeoutFn=clearTimeout.bind(Pd))}const ECe=1.33;function PCe(e){return typeof e=="string"?TCe(e):Math.ceil((e.byteLength||e.size)*ECe)}function TCe(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}class LCe extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class XU extends si{constructor(t){super(),this.writable=!1,$x(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new LCe(t,n,r)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=UU(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}}const ZU="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),y8=64,ACe={};let MR=0,Lb=0,IR;function RR(e){let t="";do t=ZU[e%y8]+t,e=Math.floor(e/y8);while(e>0);return t}function QU(){const e=RR(+new Date);return e!==IR?(MR=0,IR=e):e+"."+RR(MR++)}for(;Lb{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};wCe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,xCe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=QU()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new nu(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class nu extends si{constructor(t,n){super(),$x(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=KU(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new tG(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=nu.requestsCount++,nu.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=ICe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete nu.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}nu.requestsCount=0;nu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",DR);else if(typeof addEventListener=="function"){const e="onpagehide"in Pd?"pagehide":"unload";addEventListener(e,DR,!1)}}function DR(){for(let e in nu.requests)nu.requests.hasOwnProperty(e)&&nu.requests[e].abort()}const nG=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ab=Pd.WebSocket||Pd.MozWebSocket,NR=!0,NCe="arraybuffer",jR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class jCe extends XU{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=jR?{}:KU(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=NR&&!jR?n?new Ab(t,n):new Ab(t):new Ab(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||NCe,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const a={};try{NR&&this.ws.send(o)}catch{}i&&nG(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=QU()),this.supportsBinary||(t.b64=1);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!Ab}}const BCe={websocket:jCe,polling:DCe},$Ce=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FCe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function b8(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=$Ce.exec(e||""),o={},a=14;for(;a--;)o[FCe[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=zCe(o,o.path),o.queryKey=HCe(o,o.query),o}function zCe(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function HCe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let rG=class $g extends si{constructor(t,n={}){super(),t&&typeof t=="object"&&(n=t,t=null),t?(t=b8(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=b8(n.host).host),$x(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=OCe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=YU,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new BCe[t](r)}open(){let t;if(this.opts.rememberUpgrade&&$g.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;$g.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;$g.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,d(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function s(){a("transport closed")}function l(){a("socket closed")}function u(h){n&&h.name!==n.name&&o()}const d=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",$g.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){$g.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,iG=Object.prototype.toString,GCe=typeof Blob=="function"||typeof Blob<"u"&&iG.call(Blob)==="[object BlobConstructor]",qCe=typeof File=="function"||typeof File<"u"&&iG.call(File)==="[object FileConstructor]";function dP(e){return WCe&&(e instanceof ArrayBuffer||UCe(e))||GCe&&e instanceof Blob||qCe&&e instanceof File}function N4(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case cn.ACK:case cn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class QCe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=KCe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const JCe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:fP,Encoder:ZCe,get PacketType(){return cn},protocol:XCe},Symbol.toStringTag,{value:"Module"}));function Bs(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const e7e=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class oG extends si{constructor(t,n,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Bs(t,"open",this.onopen.bind(this)),Bs(t,"packet",this.onpacket.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(e7e.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');n.unshift(t);const r={type:cn.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,s=n.pop();this._registerAckCallback(a,s),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){const r=this.flags.timeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:cn.CONNECT,data:t})}):this.packet({type:cn.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case cn.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case cn.EVENT:case cn.BINARY_EVENT:this.onevent(t);break;case cn.ACK:case cn.BINARY_ACK:this.onack(t);break;case cn.DISCONNECT:this.ondisconnect();break;case cn.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t)}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:cn.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:cn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}E0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};E0.prototype.reset=function(){this.attempts=0};E0.prototype.setMin=function(e){this.ms=e};E0.prototype.setMax=function(e){this.max=e};E0.prototype.setJitter=function(e){this.jitter=e};class w8 extends si{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$x(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new E0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||JCe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new rG(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Bs(n,"open",function(){r.onopen(),t&&t()}),o=Bs(n,"error",a=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",a),t?t(a):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Bs(t,"ping",this.onping.bind(this)),Bs(t,"data",this.ondata.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this)),Bs(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){nG(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r||(r=new oG(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const sv={};function j4(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=VCe(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=sv[i]&&o in sv[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new w8(r,t):(sv[i]||(sv[i]=new w8(r,t)),l=sv[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(j4,{Manager:w8,Socket:oG,io:j4,connect:j4});const t7e=["ddim","plms","k_lms","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_dpmpp_2_a","k_euler","k_euler_a","k_heun"],n7e=["ddim","plms","k_lms","dpmpp_2","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_euler","k_euler_a","k_heun"],r7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],i7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],o7e=[{key:"2x",value:2},{key:"4x",value:4}],hP=0,pP=4294967295,a7e=["gfpgan","codeformer"],s7e=[{key:"None",value:"none"},{key:"Fast",value:"latents"},{key:"Accurate",value:"full-res"}];var l7e=Math.PI/180;function u7e(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const $m=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},pt={_global:$m,version:"8.3.14",isBrowser:u7e(),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle(e){return pt.angleDeg?e*l7e:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:typeof window<"u"&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return pt.DD.isDragging},isDragReady(){return!!pt.DD.node},releaseCanvasOnDestroy:!0,document:$m.document,_injectGlobal(e){$m.Konva=e}},Ar=e=>{pt[e.prototype.getClassName()]=e};pt._injectGlobal(pt);class ka{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new ka(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var n=this.m;return{x:n[0]*t.x+n[2]*t.y+n[4],y:n[1]*t.x+n[3]*t.y+n[5]}}translate(t,n){return this.m[4]+=this.m[0]*t+this.m[2]*n,this.m[5]+=this.m[1]*t+this.m[3]*n,this}scale(t,n){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=n,this.m[3]*=n,this}rotate(t){var n=Math.cos(t),r=Math.sin(t),i=this.m[0]*n+this.m[2]*r,o=this.m[1]*n+this.m[3]*r,a=this.m[0]*-r+this.m[2]*n,s=this.m[1]*-r+this.m[3]*n;return this.m[0]=i,this.m[1]=o,this.m[2]=a,this.m[3]=s,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,n){var r=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,o=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=i,this.m[2]=o,this.m[3]=a,this}multiply(t){var n=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],s=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*t,r=-this.m[1]*t,i=-this.m[2]*t,o=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),s=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}getMatrix(){return this.m}decompose(){var t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=this.m[4],a=this.m[5],s=t*i-n*r;let l={x:o,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(t!=0||n!=0){var u=Math.sqrt(t*t+n*n);l.rotation=n>0?Math.acos(t/u):-Math.acos(t/u),l.scaleX=u,l.scaleY=s/u,l.skewX=(t*r+n*i)/s,l.skewY=0}else if(r!=0||i!=0){var d=Math.sqrt(r*r+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-r/d):-Math.acos(r/d)),l.scaleX=s/d,l.scaleY=d,l.skewX=0,l.skewY=(t*r+n*i)/s}return l.rotation=de._getRotation(l.rotation),l}}var c7e="[object Array]",d7e="[object Number]",f7e="[object String]",h7e="[object Boolean]",p7e=Math.PI/180,g7e=180/Math.PI,_C="#",m7e="",v7e="0",y7e="Konva warning: ",BR="Konva error: ",b7e="rgb(",kC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},S7e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Ob=[];const x7e=typeof requestAnimationFrame<"u"&&requestAnimationFrame||function(e){setTimeout(e,60)},de={_isElement(e){return!!(e&&e.nodeType==1)},_isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject(e){return!!e&&e.constructor===Object},_isArray(e){return Object.prototype.toString.call(e)===c7e},_isNumber(e){return Object.prototype.toString.call(e)===d7e&&!isNaN(e)&&isFinite(e)},_isString(e){return Object.prototype.toString.call(e)===f7e},_isBoolean(e){return Object.prototype.toString.call(e)===h7e},isObject(e){return e instanceof Object},isValidSelector(e){if(typeof e!="string")return!1;var t=e[0];return t==="#"||t==="."||t===t.toUpperCase()},_sign(e){return e===0||e>0?1:-1},requestAnimFrame(e){Ob.push(e),Ob.length===1&&x7e(function(){const t=Ob;Ob=[],t.forEach(function(n){n()})})},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch{}return e},createImageElement(){return document.createElement("img")},_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=de.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex(e,t,n){return((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},_hexToRgb(e){e=e.replace(_C,m7e);var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}},getRandomColor(){for(var e=(Math.random()*16777215<<0).toString(16);e.length<6;)e=v7e+e;return _C+e},getRGB(e){var t;return e in kC?(t=kC[e],{r:t[0],g:t[1],b:t[2]}):e[0]===_C?this._hexToRgb(e.substring(1)):e.substr(0,4)===b7e?(t=S7e.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA(e){return e=e||"black",de._namedColorToRBA(e)||de._hex3ColorToRGBA(e)||de._hex6ColorToRGBA(e)||de._rgbColorToRGBA(e)||de._rgbaColorToRGBA(e)||de._hslColorToRGBA(e)},_namedColorToRBA(e){var t=kC[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(e.indexOf("rgb(")===0){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(e.indexOf("rgba(")===0){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map((n,r)=>n.slice(-1)==="%"?r===3?parseInt(n)/100:parseInt(n)/100*255:Number(n));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if(e[0]==="#"&&e.length===7)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if(e[0]==="#"&&e.length===4)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100;let a,s,l;if(i===0)return l=o*255,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};o<.5?a=o*(1+i):a=o+i-o*i;const u=2*o-a,d=[0,0,0];for(let h=0;h<3;h++)s=r+1/3*-(h-1),s<0&&s++,s>1&&s--,6*s<1?l=u+(a-u)*6*s:2*s<1?l=a:3*s<2?l=u+(a-u)*(2/3-s)*6:l=u,d[h]=l*255;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height1?(a=n,s=r,l=(n-i)*(n-i)+(r-o)*(r-o)):(a=e+d*(n-e),s=t+d*(r-t),l=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,l]},_getProjectionToLine(e,t,n){var r=de.cloneObject(e),i=Number.MAX_VALUE;return t.forEach(function(o,a){if(!(!n&&a===t.length-1)){var s=t[(a+1)%t.length],l=de._getProjectionToSegment(o.x,o.y,s.x,s.y,e.x,e.y),u=l[0],d=l[1],h=l[2];ht.length){var a=t;t=e,e=a}for(r=0;r{t.width=0,t.height=0})}};function df(e){return de._isString(e)?'"'+e+'"':Object.prototype.toString.call(e)==="[object Number]"||de._isBoolean(e)?e:Object.prototype.toString.call(e)}function aG(e){return e>255?255:e<0?0:Math.round(e)}function qe(){if(pt.isUnminified)return function(e,t){return de._isNumber(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function sG(e){if(pt.isUnminified)return function(t,n){let r=de._isNumber(t),i=de._isArray(t)&&t.length==e;return!r&&!i&&de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}}function gP(){if(pt.isUnminified)return function(e,t){var n=de._isNumber(e),r=e==="auto";return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function P0(){if(pt.isUnminified)return function(e,t){return de._isString(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function lG(){if(pt.isUnminified)return function(e,t){const n=de._isString(e),r=Object.prototype.toString.call(e)==="[object CanvasGradient]"||e&&e.addColorStop;return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function w7e(){if(pt.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(de._isArray(e)?e.forEach(function(r){de._isNumber(r)||de.warn('"'+t+'" attribute has non numeric element '+r+". Make sure that all elements are numbers.")}):de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function nl(){if(pt.isUnminified)return function(e,t){var n=e===!0||e===!1;return n||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function C7e(e){if(pt.isUnminified)return function(t,n){return t==null||de.isObject(t)||de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}var lv="get",uv="set";const ee={addGetterSetter(e,t,n,r,i){ee.addGetter(e,t,n),ee.addSetter(e,t,r,i),ee.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=lv+de._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var i=this.attrs[t];return i===void 0?n:i}},addSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]||ee.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]=function(o){return n&&o!==void 0&&o!==null&&(o=n.call(this,o,t)),this._setAttr(t,o),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o=n.length,a=de._capitalize,s=lv+a(t),l=uv+a(t),u,d;e.prototype[s]=function(){var m={};for(u=0;u{this._setAttr(t+a(S),void 0)}),this._fireChangeEvent(t,v,m),i&&i.call(this),this},ee.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=de._capitalize(t),r=uv+n,i=lv+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[i]()}},addDeprecatedGetterSetter(e,t,n,r){de.error("Adding deprecated "+t);var i=lv+de._capitalize(t),o=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){de.error(o);var a=this.attrs[t];return a===void 0?n:a},ee.addSetter(e,t,r,function(){de.error(o)}),ee.addOverloadedGetterSetter(e,t)},backCompat(e,t){de.each(t,function(n,r){var i=e.prototype[r],o=lv+de._capitalize(n),a=uv+de._capitalize(n);function s(){i.apply(this,arguments),de.error('"'+n+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}e.prototype[n]=s,e.prototype[o]=s,e.prototype[a]=s})},afterSetFilter(){this._filterUpToDate=!1}};function _7e(e){var t=[],n=e.length,r=de,i,o;for(i=0;itypeof d=="number"?Math.floor(d):d)),o+=k7e+u.join($R)+E7e)):(o+=s.property,t||(o+=O7e+s.val)),o+=L7e;return o}clearTrace(){this.traceArr=[]}_trace(t){var n=this.traceArr,r;n.push(t),r=n.length,r>=I7e&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var n=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}_applyLineCap(t){var n=t.getLineCap();n&&this.setAttr("lineCap",n)}_applyOpacity(t){var n=t.getAbsoluteOpacity();n!==1&&this.setAttr("globalAlpha",n)}_applyLineJoin(t){var n=t.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}setAttr(t,n){this._context[t]=n}arc(t,n,r,i,o,a){this._context.arc(t,n,r,i,o,a)}arcTo(t,n,r,i,o){this._context.arcTo(t,n,r,i,o)}beginPath(){this._context.beginPath()}bezierCurveTo(t,n,r,i,o,a){this._context.bezierCurveTo(t,n,r,i,o,a)}clearRect(t,n,r,i){this._context.clearRect(t,n,r,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,n){var r=arguments;if(r.length===2)return this._context.createImageData(t,n);if(r.length===1)return this._context.createImageData(t)}createLinearGradient(t,n,r,i){return this._context.createLinearGradient(t,n,r,i)}createPattern(t,n){return this._context.createPattern(t,n)}createRadialGradient(t,n,r,i,o,a){return this._context.createRadialGradient(t,n,r,i,o,a)}drawImage(t,n,r,i,o,a,s,l,u){var d=arguments,h=this._context;d.length===3?h.drawImage(t,n,r):d.length===5?h.drawImage(t,n,r,i,o):d.length===9&&h.drawImage(t,n,r,i,o,a,s,l,u)}ellipse(t,n,r,i,o,a,s,l){this._context.ellipse(t,n,r,i,o,a,s,l)}isPointInPath(t,n){return this._context.isPointInPath(t,n)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,n,r,i){this._context.fillRect(t,n,r,i)}strokeRect(t,n,r,i){this._context.strokeRect(t,n,r,i)}fillText(t,n,r,i){i?this._context.fillText(t,n,r,i):this._context.fillText(t,n,r)}measureText(t){return this._context.measureText(t)}getImageData(t,n,r,i){return this._context.getImageData(t,n,r,i)}lineTo(t,n){this._context.lineTo(t,n)}moveTo(t,n){this._context.moveTo(t,n)}rect(t,n,r,i){this._context.rect(t,n,r,i)}putImageData(t,n,r){this._context.putImageData(t,n,r)}quadraticCurveTo(t,n,r,i){this._context.quadraticCurveTo(t,n,r,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,n){this._context.scale(t,n)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,n,r,i,o,a){this._context.setTransform(t,n,r,i,o,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,n,r,i){this._context.strokeText(t,n,r,i)}transform(t,n,r,i,o,a){this._context.transform(t,n,r,i,o,a)}translate(t,n){this._context.translate(t,n)}_enableTrace(){var t=this,n=FR.length,r=this.setAttr,i,o,a=function(s){var l=t[s],u;t[s]=function(){return o=_7e(Array.prototype.slice.call(arguments,0)),u=l.apply(t,arguments),t._trace({method:s,args:o}),u}};for(i=0;i{t.dragStatus==="dragging"&&(e=!0)}),e},justDragged:!1,get node(){var e;return vn._dragElements.forEach(t=>{e=t.node}),e},_dragElements:new Map,_drag(e){const t=[];vn._dragElements.forEach((n,r)=>{const{node:i}=n,o=i.getStage();o.setPointersPositions(e),n.pointerId===void 0&&(n.pointerId=de._getFirstPointerId(e));const a=o._changedPointerPositions.find(u=>u.id===n.pointerId);if(a){if(n.dragStatus!=="dragging"){var s=i.dragDistance(),l=Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y));if(l{n.fire("dragmove",{type:"dragmove",target:n,evt:e},!0)})},_endDragBefore(e){const t=[];vn._dragElements.forEach(n=>{const{node:r}=n,i=r.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find(s=>s.id===n.pointerId))return;(n.dragStatus==="dragging"||n.dragStatus==="stopped")&&(vn.justDragged=!0,pt._mouseListenClick=!1,pt._touchListenClick=!1,pt._pointerListenClick=!1,n.dragStatus="stopped");const a=n.node.getLayer()||n.node instanceof pt.Stage&&n.node;a&&t.indexOf(a)===-1&&t.push(a)}),t.forEach(n=>{n.draw()})},_endDragAfter(e){vn._dragElements.forEach((t,n)=>{t.dragStatus==="stopped"&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),t.dragStatus!=="dragging"&&vn._dragElements.delete(n)})}};pt.isBrowser&&(window.addEventListener("mouseup",vn._endDragBefore,!0),window.addEventListener("touchend",vn._endDragBefore,!0),window.addEventListener("mousemove",vn._drag),window.addEventListener("touchmove",vn._drag),window.addEventListener("mouseup",vn._endDragAfter,!1),window.addEventListener("touchend",vn._endDragAfter,!1));var B4="absoluteOpacity",Ib="allEventListeners",Fu="absoluteTransform",zR="absoluteScale",ah="canvas",j7e="Change",B7e="children",$7e="konva",C8="listening",HR="mouseenter",VR="mouseleave",WR="set",UR="Shape",$4=" ",GR="stage",fd="transform",F7e="Stage",_8="visible",z7e=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join($4);let H7e=1,Ze=class k8{constructor(t){this._id=H7e++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){(t===fd||t===Fu)&&this._cache.get(t)?this._cache.get(t).dirty=!0:t?this._cache.delete(t):this._cache.clear()}_getCache(t,n){var r=this._cache.get(t),i=t===fd||t===Fu,o=r===void 0||i&&r.dirty===!0;return o&&(r=n.call(this),this._cache.set(t,r)),r}_calculate(t,n,r){if(!this._attachedDepsListeners.get(t)){const i=n.map(o=>o+"Change.konva").join($4);this.on(i,()=>{this._clearCache(t)}),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)}_getCanvasCache(){return this._cache.get(ah)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===Fu&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(ah)){const{scene:t,filter:n,hit:r}=this._cache.get(ah);de.releaseCanvas(t,n,r),this._cache.delete(ah)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var n=t||{},r={};(n.x===void 0||n.y===void 0||n.width===void 0||n.height===void 0)&&(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(n.width||r.width),o=Math.ceil(n.height||r.height),a=n.pixelRatio,s=n.x===void 0?Math.floor(r.x):n.x,l=n.y===void 0?Math.floor(r.y):n.y,u=n.offset||0,d=n.drawBorder||!1,h=n.hitCanvasPixelRatio||1;if(!i||!o){de.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");return}i+=u*2+1,o+=u*2+1,s-=u,l-=u;var m=new Fm({pixelRatio:a,width:i,height:o}),v=new Fm({pixelRatio:a,width:0,height:0}),b=new mP({pixelRatio:h,width:i,height:o}),S=m.getContext(),k=b.getContext();return b.isCache=!0,m.isCache=!0,this._cache.delete(ah),this._filterUpToDate=!1,n.imageSmoothingEnabled===!1&&(m.getContext()._context.imageSmoothingEnabled=!1,v.getContext()._context.imageSmoothingEnabled=!1),S.save(),k.save(),S.translate(-s,-l),k.translate(-s,-l),this._isUnderCache=!0,this._clearSelfAndDescendantCache(B4),this._clearSelfAndDescendantCache(zR),this.drawScene(m,this),this.drawHit(b,this),this._isUnderCache=!1,S.restore(),k.restore(),d&&(S.save(),S.beginPath(),S.rect(0,0,i,o),S.closePath(),S.setAttr("strokeStyle","red"),S.setAttr("lineWidth",5),S.stroke(),S.restore()),this._cache.set(ah,{scene:m,filter:v,hit:b,x:s,y:l}),this._requestDraw(),this}isCached(){return this._cache.has(ah)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,n){var r=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],i,o,a,s,l=this.getAbsoluteTransform(n);return r.forEach(function(u){var d=l.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),{x:i,y:o,width:a-i,height:s-o}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const n=this._getCanvasCache();t.translate(n.x,n.y);var r=this._getCachedSceneCanvas(),i=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/i,r.height/i),t.restore()}_drawCachedHitCanvas(t){var n=this._getCanvasCache(),r=n.hit;t.save(),t.translate(n.x,n.y),t.drawImage(r._canvas,0,0,r.width/r.pixelRatio,r.height/r.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t=this.filters(),n=this._getCanvasCache(),r=n.scene,i=n.filter,o=i.getContext(),a,s,l,u;if(t){if(!this._filterUpToDate){var d=r.pixelRatio;i.setSize(r.width/r.pixelRatio,r.height/r.pixelRatio);try{for(a=t.length,o.clear(),o.drawImage(r._canvas,0,0,r.getWidth()/d,r.getHeight()/d),s=o.getImageData(0,0,i.getWidth(),i.getHeight()),l=0;l{var n,r;if(!t)return this;for(n in t)n!==B7e&&(r=WR+de._capitalize(n),de._isFunction(this[r])?this[r](t[n]):this._setAttr(n,t[n]))}),this}isListening(){return this._getCache(C8,this._isListening)}_isListening(t){if(!this.listening())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isListening(t):!0}isVisible(){return this._getCache(_8,this._isVisible)}_isVisible(t){if(!this.visible())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isVisible(t):!0}shouldDrawHit(t,n=!1){if(t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),i=!1;vn._dragElements.forEach(a=>{a.dragStatus==="dragging"&&(a.node.nodeType==="Stage"||a.node.getLayer()===r)&&(i=!0)});var o=!n&&!pt.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t=this.getDepth(),n=this,r=0,i,o,a,s;function l(u){for(i=[],o=u.length,a=0;a0&&i[0].getDepth()<=t&&l(i)}return n.nodeType!==F7e&&l(n.getStage().getChildren()),r}getDepth(){for(var t=0,n=this.parent;n;)t++,n=n.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(fd),this._clearSelfAndDescendantCache(Fu)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges(()=>{this.x(t.x),this.y(t.y)}),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(t){let n=!1,r=this.parent;for(;r;){if(r.isCached()){n=!0;break}r=r.parent}n&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new ka,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()}setAbsolutePosition(t){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(fd);var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this._clearCache(fd),this._clearSelfAndDescendantCache(Fu),this}_setTransform(t){var n;for(n in t)this.attrs[n]=t[n]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var n=t.x,r=t.y,i=this.x(),o=this.y();return n!==void 0&&(i+=n),r!==void 0&&(o+=r),this.setPosition({x:i,y:o}),this}_eachAncestorReverse(t,n){var r=[],i=this.getParent(),o,a;if(!(n&&n._id===this._id)){for(r.unshift(this);i&&(!n||i._id!==n._id);)r.unshift(i),i=i.parent;for(o=r.length,a=0;a0?(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0):!1}moveToBottom(){if(!this.parent)return de.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0?(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0):!1}setZIndex(t){if(!this.parent)return de.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&de.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(B4,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(t*=n.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t={},n=this.getAttrs(),r,i,o,a,s;t.attrs={};for(r in n)i=n[r],s=de.isObject(i)&&!de._isPlainObject(i)&&!de._isArray(i),!s&&(o=typeof this[r]=="function"&&this[r],delete n[r],a=o?o.call(this):null,n[r]=i,a!==i&&(t.attrs[r]=i));return t.className=this.getClassName(),de._prepareToStringify(t)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,n,r){var i=[];n&&this._isMatch(t)&&i.push(this);for(var o=this.parent;o;){if(o===r)return i;o._isMatch(t)&&i.push(o),o=o.parent}return i}isAncestorOf(t){return!1}findAncestor(t,n,r){return this.findAncestors(t,n,r)[0]}_isMatch(t){if(!t)return!1;if(typeof t=="function")return t(this);var n=t.replace(/ /g,"").split(","),r=n.length,i,o;for(i=0;i{try{const i=t==null?void 0:t.callback;i&&delete t.callback,de._urlToImage(this.toDataURL(t),function(o){n(o),i==null||i(o)})}catch(i){r(i)}})}toBlob(t){return new Promise((n,r)=>{try{const i=t==null?void 0:t.callback;i&&delete t.callback,this.toCanvas(t).toBlob(o=>{n(o),i==null||i(o)})}catch(i){r(i)}})}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return this.attrs.dragDistance!==void 0?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():pt.dragDistance}_off(t,n,r){var i=this.eventListeners[t],o,a,s;for(o=0;o=0;if(r&&!this.isDragging()){var i=!1;vn._dragElements.forEach(o=>{this.isAncestorOf(o.node)&&(i=!0)}),i||this._createDragElement(t)}})}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const n=vn._dragElements.get(this._id),r=n&&n.dragStatus==="dragging",i=n&&n.dragStatus==="ready";r?this.stopDrag():i&&vn._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const n=this.getStage();if(!n)return!1;const r={x:-t.x,y:-t.y,width:n.width()+2*t.x,height:n.height()+2*t.y};return de.haveIntersection(r,this.getClientRect())}static create(t,n){return de._isString(t)&&(t=JSON.parse(t)),this._createNode(t,n)}static _createNode(t,n){var r=k8.prototype.getClassName.call(t),i=t.children,o,a,s;n&&(t.attrs.container=n),pt[r]||(de.warn('Can not find a node with class name "'+r+'". Fallback to "Shape".'),r="Shape");const l=pt[r];if(o=new l(t.attrs),i)for(a=i.length,s=0;s0}removeChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.remove()}),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.destroy()}),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var n=0;n0?n[0]:void 0}_generalFind(t,n){var r=[];return this._descendants(i=>{const o=i._isMatch(t);return o&&r.push(i),!!(o&&n)}),r}_descendants(t){let n=!1;const r=this.getChildren();for(const i of r){if(n=t(i),n)return!0;if(i.hasChildren()&&(n=i._descendants(t),n))return!0}return!1}toObject(){var t=Ze.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach(n=>{t.children.push(n.toObject())}),t}isAncestorOf(t){for(var n=t.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}clone(t){var n=Ze.prototype.clone.call(this,t);return this.getChildren().forEach(function(r){n.add(r.clone())}),n}getAllIntersections(t){var n=[];return this.find("Shape").forEach(function(r){r.isVisible()&&r.intersects(t)&&n.push(r)}),n}_clearSelfAndDescendantCache(t){var n;super._clearSelfAndDescendantCache(t),!this.isCached()&&((n=this.children)===null||n===void 0||n.forEach(function(r){r._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;(t=this.children)===null||t===void 0||t.forEach(function(n,r){n.index=r}),this._requestDraw()}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas(),o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.scene,l=i&&i.isCache;if(!this.isVisible()&&!l)return this;if(s){o.save();var u=this.getAbsoluteTransform(n).getMatrix();o.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",i,n);return this}drawHit(t,n){if(!this.shouldDrawHit(n))return this;var r=this.getLayer(),i=t||r&&r.hitCanvas,o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.hit;if(s){o.save();var l=this.getAbsoluteTransform(n).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",i,n);return this}_drawChildren(t,n,r){var i,o=n&&n.getContext(),a=this.clipWidth(),s=this.clipHeight(),l=this.clipFunc(),u=a&&s||l;const d=r===this;if(u){o.save();var h=this.getAbsoluteTransform(r),m=h.getMatrix();if(o.transform(m[0],m[1],m[2],m[3],m[4],m[5]),o.beginPath(),l)l.call(this,o,this);else{var v=this.clipX(),b=this.clipY();o.rect(v,b,a,s)}o.clip(),m=h.copy().invert().getMatrix(),o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}var S=!d&&this.globalCompositeOperation()!=="source-over"&&t==="drawScene";S&&(o.save(),o._applyGlobalCompositeOperation(this)),(i=this.children)===null||i===void 0||i.forEach(function(k){k[t](n,r)}),S&&o.restore(),u&&o.restore()}getClientRect(t){var n;t=t||{};var r=t.skipTransform,i=t.relativeTo,o,a,s,l,u={x:1/0,y:1/0,width:0,height:0},d=this;(n=this.children)===null||n===void 0||n.forEach(function(S){if(S.visible()){var k=S.getClientRect({relativeTo:d,skipShadow:t.skipShadow,skipStroke:t.skipStroke});k.width===0&&k.height===0||(o===void 0?(o=k.x,a=k.y,s=k.x+k.width,l=k.y+k.height):(o=Math.min(o,k.x),a=Math.min(a,k.y),s=Math.max(s,k.x+k.width),l=Math.max(l,k.y+k.height)))}});for(var h=this.find("Shape"),m=!1,v=0;ve.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",Rg=e=>{const t=Ov(e);if(t==="pointer")return pt.pointerEventsEnabled&&PC.pointer;if(t==="touch")return PC.touch;if(t==="mouse")return PC.mouse};function YR(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&de.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const K7e="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",F4=[];let Hx=class extends Aa{constructor(t){super(YR(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),F4.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",()=>{YR(this.attrs)}),this._checkVisibility()}_validateAdd(t){const n=t.getType()==="Layer",r=t.getType()==="FastLayer";n||r||de.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===W7e){if(t.charAt(0)==="."){var n=t.slice(1);t=document.getElementsByClassName(n)[0]}else{var r;t.charAt(0)!=="#"?r=t:r=t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t=this.children,n=t.length,r;for(r=0;r-1&&F4.splice(n,1),de.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(de.warn(K7e),null)}_getPointerById(t){return this._pointerPositions.find(n=>n.id===t)}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var n=new Fm({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),r=n.getContext()._context,i=this.children;return(t.x||t.y)&&r.translate(-1*t.x,-1*t.y),i.forEach(function(o){if(o.isVisible()){var a=o._toKonvaCanvas(t);r.drawImage(a._canvas,t.x,t.y,a.getWidth()/a.getPixelRatio(),a.getHeight()/a.getPixelRatio())}}),n}getIntersection(t){if(!t)return null;var n=this.children,r=n.length,i=r-1,o;for(o=i;o>=0;o--){const a=n[o].getIntersection(t);if(a)return a}return null}_resizeDOM(){var t=this.width(),n=this.height();this.content&&(this.content.style.width=t+qR,this.content.style.height=n+qR),this.bufferCanvas.setSize(t,n),this.bufferHitCanvas.setSize(t,n),this.children.forEach(r=>{r.setSize({width:t,height:n}),r.draw()})}add(t,...n){if(arguments.length>1){for(var r=0;rq7e&&de.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),pt.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}getLayers(){return this.children}_bindContentEvents(){pt.isBrowser&&Y7e.forEach(([t,n])=>{this.content.addEventListener(t,r=>{this[n](r)},{passive:!1})})}_pointerenter(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let n=this[t+"targetShape"];return n&&!n.getStage()&&(n=null),n}_pointerleave(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=this._getTargetShape(r),o=!vn.isDragging||pt.hitOnDragEnabled;i&&o?(i._fireAndBubble(n.pointerout,{evt:t}),i._fireAndBubble(n.pointerleave,{evt:t}),this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this[r+"targetShape"]=null):o&&(this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach(o=>{var a=this.getIntersection(o);if(vn.justDragged=!1,pt["_"+r+"ListenClick"]=!0,!(a&&a.isListening()))return;pt.capturePointerEventsEnabled&&a.setPointerCapture(o.id),this[r+"ClickStartShape"]=a,a._fireAndBubble(n.pointerdown,{evt:t,pointerId:o.id}),i=!0;const l=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&l&&t.preventDefault()}),i||this._fire(n.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;vn.isDragging&&vn.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!vn.isDragging||pt.hitOnDragEnabled;if(!i)return;var o={};let a=!1;var s=this._getTargetShape(r);this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l),d=l.id,h={evt:t,pointerId:d};var m=s!==u;if(m&&s&&(s._fireAndBubble(n.pointerout,Object.assign({},h),u),s._fireAndBubble(n.pointerleave,Object.assign({},h),u)),u){if(o[u._id])return;o[u._id]=!0}u&&u.isListening()?(a=!0,m&&(u._fireAndBubble(n.pointerover,Object.assign({},h),s),u._fireAndBubble(n.pointerenter,Object.assign({},h),s),this[r+"targetShape"]=u),u._fireAndBubble(n.pointermove,Object.assign({},h))):s&&(this._fire(n.pointerover,{evt:t,target:this,currentTarget:this,pointerId:d}),this[r+"targetShape"]=null)}),a||this._fire(n.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;this.setPointersPositions(t);const i=this[r+"ClickStartShape"],o=this[r+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),a[u._id])return;a[u._id]=!0}const d=l.id,h={evt:t,pointerId:d};let m=!1;pt["_"+r+"InDblClickWindow"]?(m=!0,clearTimeout(this[r+"DblTimeout"])):vn.justDragged||(pt["_"+r+"InDblClickWindow"]=!0,clearTimeout(this[r+"DblTimeout"])),this[r+"DblTimeout"]=setTimeout(function(){pt["_"+r+"InDblClickWindow"]=!1},pt.dblClickWindow),u&&u.isListening()?(s=!0,this[r+"ClickEndShape"]=u,u._fireAndBubble(n.pointerup,Object.assign({},h)),pt["_"+r+"ListenClick"]&&i&&i===u&&(u._fireAndBubble(n.pointerclick,Object.assign({},h)),m&&o&&o===u&&u._fireAndBubble(n.pointerdblclick,Object.assign({},h)))):(this[r+"ClickEndShape"]=null,pt["_"+r+"ListenClick"]&&this._fire(n.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:d}),m&&this._fire(n.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:d}))}),s||this._fire(n.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),pt["_"+r+"ListenClick"]=!1,t.cancelable&&r!=="touch"&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(E8,{evt:t}):this._fire(E8,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(P8,{evt:t}):this._fire(P8,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const n=EC(t.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(um,vP(t)),a2(t.pointerId)}_lostpointercapture(t){a2(t.pointerId)}setPointersPositions(t){var n=this._getContentPosition(),r=null,i=null;t=t||window.event,t.touches!==void 0?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,o=>{this._pointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})}),Array.prototype.forEach.call(t.changedTouches||t.touches,o=>{this._changedPointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})})):(r=(t.clientX-n.left)/n.scaleX,i=(t.clientY-n.top)/n.scaleY,this.pointerPos={x:r,y:i},this._pointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}],this._changedPointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}])}_setPointerPosition(t){de.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new Fm({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mP({pixelRatio:1,width:this.width(),height:this.height()}),!!pt.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return de.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach(function(t){t.batchDraw()}),this}};Hx.prototype.nodeType=V7e;Ar(Hx);ee.addGetterSetter(Hx,"container");var wG="hasShadow",CG="shadowRGBA",_G="patternImage",kG="linearGradient",EG="radialGradient";let Bb;function TC(){return Bb||(Bb=de.createCanvasElement().getContext("2d"),Bb)}const s2={};function X7e(e){e.fill()}function Z7e(e){e.stroke()}function Q7e(e){e.fill()}function J7e(e){e.stroke()}function e9e(){this._clearCache(wG)}function t9e(){this._clearCache(CG)}function n9e(){this._clearCache(_G)}function r9e(){this._clearCache(kG)}function i9e(){this._clearCache(EG)}class je extends Ze{constructor(t){super(t);let n;for(;n=de.getRandomColor(),!(n&&!(n in s2)););this.colorKey=n,s2[n]=this}getContext(){return de.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return de.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(wG,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&this.shadowOpacity()!==0&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(_G,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=TC();const n=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(n&&n.setTransform){const r=new ka;r.translate(this.fillPatternX(),this.fillPatternY()),r.rotate(pt.getAngle(this.fillPatternRotation())),r.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),r.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const i=r.getMatrix(),o=typeof DOMMatrix>"u"?{a:i[0],b:i[1],c:i[2],d:i[3],e:i[4],f:i[5]}:new DOMMatrix(i);n.setTransform(o)}return n}}_getLinearGradient(){return this._getCache(kG,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var n=TC(),r=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),o=n.createLinearGradient(r.x,r.y,i.x,i.y),a=0;athis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops()))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],()=>this.strokeEnabled()&&this.strokeWidth()&&!!(this.stroke()||this.strokeLinearGradientColorStops()))}hasHitStroke(){const t=this.hitStrokeWidth();return t==="auto"?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var n=this.getStage(),r=n.bufferHitCanvas,i;return r.getContext().clear(),this.drawHit(r,null,!0),i=r.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,i[3]>0}destroy(){return Ze.prototype.destroy.call(this),delete s2[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var n;if(!this.getStage()||!((n=this.attrs.perfectDrawEnabled)!==null&&n!==void 0?n:!0))return!1;const i=t||this.hasFill(),o=this.hasStroke(),a=this.getAbsoluteOpacity()!==1;if(i&&o&&a)return!0;const s=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(i&&o&&s&&l)}setStrokeHitEnabled(t){de.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return this.hitStrokeWidth()!==0}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const n=t.skipTransform,r=t.relativeTo,i=this.getSelfRect(),a=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,s=i.width+a,l=i.height+a,u=!t.skipShadow&&this.hasShadow(),d=u?this.shadowOffsetX():0,h=u?this.shadowOffsetY():0,m=s+Math.abs(d),v=l+Math.abs(h),b=u&&this.shadowBlur()||0,S=m+b*2,k=v+b*2,E={width:S,height:k,x:-(a/2+b)+Math.min(d,0)+i.x,y:-(a/2+b)+Math.min(h,0)+i.y};return n?E:this._transformedRect(E,r)}drawScene(t,n){var r=this.getLayer(),i=t||r.getCanvas(),o=i.getContext(),a=this._getCanvasCache(),s=this.getSceneFunc(),l=this.hasShadow(),u,d,h,m=i.isCache,v=n===this;if(!this.isVisible()&&!v)return this;if(a){o.save();var b=this.getAbsoluteTransform(n).getMatrix();return o.transform(b[0],b[1],b[2],b[3],b[4],b[5]),this._drawCachedSceneCanvas(o),o.restore(),this}if(!s)return this;if(o.save(),this._useBufferCanvas()&&!m){u=this.getStage(),d=u.bufferCanvas,h=d.getContext(),h.clear(),h.save(),h._applyLineJoin(this);var S=this.getAbsoluteTransform(n).getMatrix();h.transform(S[0],S[1],S[2],S[3],S[4],S[5]),s.call(this,h,this),h.restore();var k=d.pixelRatio;l&&o._applyShadow(this),o._applyOpacity(this),o._applyGlobalCompositeOperation(this),o.drawImage(d._canvas,0,0,d.width/k,d.height/k)}else{if(o._applyLineJoin(this),!v){var S=this.getAbsoluteTransform(n).getMatrix();o.transform(S[0],S[1],S[2],S[3],S[4],S[5]),o._applyOpacity(this),o._applyGlobalCompositeOperation(this)}l&&o._applyShadow(this),s.call(this,o,this)}return o.restore(),this}drawHit(t,n,r=!1){if(!this.shouldDrawHit(n,r))return this;var i=this.getLayer(),o=t||i.hitCanvas,a=o&&o.getContext(),s=this.hitFunc()||this.sceneFunc(),l=this._getCanvasCache(),u=l&&l.hit;if(this.colorKey||de.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),u){a.save();var d=this.getAbsoluteTransform(n).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),a._applyLineJoin(this),!(this===n)){var m=this.getAbsoluteTransform(n).getMatrix();a.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return s.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var n=this._getCanvasCache(),r=this._getCachedSceneCanvas(),i=n.hit,o=i.getContext(),a=i.getWidth(),s=i.getHeight(),l,u,d,h,m,v;o.clear(),o.drawImage(r._canvas,0,0,a,s);try{for(l=o.getImageData(0,0,a,s),u=l.data,d=u.length,h=de._hexToRgb(this.colorKey),m=0;mt?(u[m]=h.r,u[m+1]=h.g,u[m+2]=h.b,u[m+3]=255):u[m+3]=0;o.putImageData(l,0,0)}catch(b){de.error("Unable to draw hit graph from cached scene canvas. "+b.message)}return this}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}}je.prototype._fillFunc=X7e;je.prototype._strokeFunc=Z7e;je.prototype._fillFuncHit=Q7e;je.prototype._strokeFuncHit=J7e;je.prototype._centroid=!1;je.prototype.nodeType="Shape";Ar(je);je.prototype.eventListeners={};je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",e9e);je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",t9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",n9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",r9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",i9e);ee.addGetterSetter(je,"stroke",void 0,lG());ee.addGetterSetter(je,"strokeWidth",2,qe());ee.addGetterSetter(je,"fillAfterStrokeEnabled",!1);ee.addGetterSetter(je,"hitStrokeWidth","auto",gP());ee.addGetterSetter(je,"strokeHitEnabled",!0,nl());ee.addGetterSetter(je,"perfectDrawEnabled",!0,nl());ee.addGetterSetter(je,"shadowForStrokeEnabled",!0,nl());ee.addGetterSetter(je,"lineJoin");ee.addGetterSetter(je,"lineCap");ee.addGetterSetter(je,"sceneFunc");ee.addGetterSetter(je,"hitFunc");ee.addGetterSetter(je,"dash");ee.addGetterSetter(je,"dashOffset",0,qe());ee.addGetterSetter(je,"shadowColor",void 0,P0());ee.addGetterSetter(je,"shadowBlur",0,qe());ee.addGetterSetter(je,"shadowOpacity",1,qe());ee.addComponentsGetterSetter(je,"shadowOffset",["x","y"]);ee.addGetterSetter(je,"shadowOffsetX",0,qe());ee.addGetterSetter(je,"shadowOffsetY",0,qe());ee.addGetterSetter(je,"fillPatternImage");ee.addGetterSetter(je,"fill",void 0,lG());ee.addGetterSetter(je,"fillPatternX",0,qe());ee.addGetterSetter(je,"fillPatternY",0,qe());ee.addGetterSetter(je,"fillLinearGradientColorStops");ee.addGetterSetter(je,"strokeLinearGradientColorStops");ee.addGetterSetter(je,"fillRadialGradientStartRadius",0);ee.addGetterSetter(je,"fillRadialGradientEndRadius",0);ee.addGetterSetter(je,"fillRadialGradientColorStops");ee.addGetterSetter(je,"fillPatternRepeat","repeat");ee.addGetterSetter(je,"fillEnabled",!0);ee.addGetterSetter(je,"strokeEnabled",!0);ee.addGetterSetter(je,"shadowEnabled",!0);ee.addGetterSetter(je,"dashEnabled",!0);ee.addGetterSetter(je,"strokeScaleEnabled",!0);ee.addGetterSetter(je,"fillPriority","color");ee.addComponentsGetterSetter(je,"fillPatternOffset",["x","y"]);ee.addGetterSetter(je,"fillPatternOffsetX",0,qe());ee.addGetterSetter(je,"fillPatternOffsetY",0,qe());ee.addComponentsGetterSetter(je,"fillPatternScale",["x","y"]);ee.addGetterSetter(je,"fillPatternScaleX",1,qe());ee.addGetterSetter(je,"fillPatternScaleY",1,qe());ee.addComponentsGetterSetter(je,"fillLinearGradientStartPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientStartPointX",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointX",0);ee.addGetterSetter(je,"fillLinearGradientStartPointY",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillLinearGradientEndPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientEndPointX",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointX",0);ee.addGetterSetter(je,"fillLinearGradientEndPointY",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientStartPointX",0);ee.addGetterSetter(je,"fillRadialGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientEndPointX",0);ee.addGetterSetter(je,"fillRadialGradientEndPointY",0);ee.addGetterSetter(je,"fillPatternRotation",0);ee.backCompat(je,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var o9e="#",a9e="beforeDraw",s9e="draw",PG=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],l9e=PG.length;let dp=class extends Aa{constructor(t){super(t),this.canvas=new Fm,this.hitCanvas=new mP({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),t{this.draw(),this._waitingForDraw=!1})),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;for(var n=1,r=!1;;){for(let i=0;i0)return{antialiased:!0};return{}}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas();return this._fire(a9e,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Aa.prototype.drawScene.call(this,i,n),this._fire(s9e,{node:this}),this}drawHit(t,n){var r=this.getLayer(),i=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),Aa.prototype.drawHit.call(this,i,n),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(!(!this.parent||!this.parent.content)){var t=this.parent,n=!!this.hitCanvas._canvas.parentNode;n?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}destroy(){return de.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}};dp.prototype.nodeType="Layer";Ar(dp);ee.addGetterSetter(dp,"imageSmoothingEnabled",!0);ee.addGetterSetter(dp,"clearBeforeDraw",!0);ee.addGetterSetter(dp,"hitGraphEnabled",!0,nl());class yP extends dp{constructor(t){super(t),this.listening(!1),de.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}yP.prototype.nodeType="FastLayer";Ar(yP);let i0=class extends Aa{_validateAdd(t){var n=t.getType();n!=="Group"&&n!=="Shape"&&de.throw("You may only add groups and shapes to groups.")}};i0.prototype.nodeType="Group";Ar(i0);var LC=function(){return $m.performance&&$m.performance.now?function(){return $m.performance.now()}:function(){return new Date().getTime()}}();class ts{constructor(t,n){this.id=ts.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:LC(),frameRate:0},this.func=t,this.setLayers(n)}setLayers(t){var n=[];return t?t.length>0?n=t:n=[t]:n=[],this.layers=n,this}getLayers(){return this.layers}addLayer(t){var n=this.layers,r=n.length,i;for(i=0;ithis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return t===void 0&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=KR,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=XR,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===KR?this.setTime(t):this.state===XR&&this.setTime(this.duration-t)}pause(){this.state=c9e,this.fire("onPause")}getTimer(){return new Date().getTime()}}class Xr{constructor(t){var n=this,r=t.node,i=r._id,o,a=t.easing||l2.Linear,s=!!t.yoyo,l;typeof t.duration>"u"?o=.3:t.duration===0?o=.001:o=t.duration,this.node=r,this._id=d9e++;var u=r.getLayer()||(r instanceof pt.Stage?r.getLayers():null);u||de.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new ts(function(){n.tween.onEnterFrame()},u),this.tween=new f9e(l,function(d){n._tweenFunc(d)},a,0,1,o*1e3,s),this._addListeners(),Xr.attrs[i]||(Xr.attrs[i]={}),Xr.attrs[i][this._id]||(Xr.attrs[i][this._id]={}),Xr.tweens[i]||(Xr.tweens[i]={});for(l in t)u9e[l]===void 0&&this._addAttr(l,t[l]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,n){var r=this.node,i=r._id,o,a,s,l,u,d,h,m;if(s=Xr.tweens[i][t],s&&delete Xr.attrs[i][s][t],o=r.getAttr(t),de._isArray(n))if(a=[],u=Math.max(n.length,o.length),t==="points"&&n.length!==o.length&&(n.length>o.length?(h=o,o=de._prepareArrayForTween(o,n,r.closed())):(d=n,n=de._prepareArrayForTween(n,o,r.closed()))),t.indexOf("fill")===0)for(l=0;l{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueEnd&&t.setAttr("points",n.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueStart&&t.points(n.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(t*1e3),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t=this.node._id,n=this._id,r=Xr.tweens[t],i;this.pause();for(i in r)delete Xr.tweens[t][i];delete Xr.attrs[t][n]}}Xr.attrs={};Xr.tweens={};Ze.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()};var n=new Xr(e);n.play()};const l2={BackEaseIn(e,t,n,r){var i=1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},BackEaseOut(e,t,n,r){var i=1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*(((i*=1.525)+1)*e-i))+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return e===0?t:(e/=r)===1?t+n:(o||(o=r*.3),!i||i0?t:n),d=a*n,h=s*(s>0?t:n),m=l*(l>0?n:t);return{x:u,y:r?-1*m:h,width:d-u,height:m-h}}}cc.prototype._centroid=!0;cc.prototype.className="Arc";cc.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(cc);ee.addGetterSetter(cc,"innerRadius",0,qe());ee.addGetterSetter(cc,"outerRadius",0,qe());ee.addGetterSetter(cc,"angle",0,qe());ee.addGetterSetter(cc,"clockwise",!1,nl());function T8(e,t,n,r,i,o,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(i-n,2)+Math.pow(o-r,2)),u=a*s/(s+l),d=a*l/(s+l),h=n-u*(i-e),m=r-u*(o-t),v=n+d*(i-e),b=r+d*(o-t);return[h,m,v,b]}function QR(e,t){var n=e.length,r=[],i,o;for(i=2;i4){for(s=this.getTensionPoints(),l=s.length,u=o?0:4,o||t.quadraticCurveTo(s[0],s[1],s[2],s[3]);ud?u:d,k=u>d?1:u/d,E=u>d?d/u:1;t.translate(s,l),t.rotate(v),t.scale(k,E),t.arc(0,0,S,h,h+m,1-b),t.scale(1/k,1/E),t.rotate(-v),t.translate(-s,-l);break;case"z":r=!0,t.closePath();break}}!r&&!this.hasFill()?t.strokeShape(this):t.fillStrokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach(function(u){if(u.command==="A"){var d=u.points[4],h=u.points[5],m=u.points[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;b-=v){const S=zn.getPointOnEllipticalArc(u.points[0],u.points[1],u.points[2],u.points[3],b,0);t.push(S.x,S.y)}else for(let b=d+v;bthis.dataArray[r].pathLength;)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return zn.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return zn.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return zn.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],l=a[1],u=a[2],d=a[3],h=a[4],m=a[5],v=a[6];return h+=m*t/o.pathLength,zn.getPointOnEllipticalArc(s,l,u,d,h,v)}return null}static getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}static getPointOnLine(t,n,r,i,o,a,s){a===void 0&&(a=n),s===void 0&&(s=r);var l=(o-r)/(i-n+1e-8),u=Math.sqrt(t*t/(1+l*l));i0&&!isNaN(b[0]);){var _=null,T=[],A=l,I=u,R,D,j,z,V,K,te,q,$,U;switch(v){case"l":l+=b.shift(),u+=b.shift(),_="L",T.push(l,u);break;case"L":l=b.shift(),u=b.shift(),T.push(l,u);break;case"m":var X=b.shift(),Z=b.shift();if(l+=X,u+=Z,_="M",a.length>2&&a[a.length-1].command==="z"){for(var W=a.length-2;W>=0;W--)if(a[W].command==="M"){l=a[W].points[0]+X,u=a[W].points[1]+Z;break}}T.push(l,u),v="l";break;case"M":l=b.shift(),u=b.shift(),_="M",T.push(l,u),v="L";break;case"h":l+=b.shift(),_="L",T.push(l,u);break;case"H":l=b.shift(),_="L",T.push(l,u);break;case"v":u+=b.shift(),_="L",T.push(l,u);break;case"V":u=b.shift(),_="L",T.push(l,u);break;case"C":T.push(b.shift(),b.shift(),b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"c":T.push(l+b.shift(),u+b.shift(),l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"S":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,b.shift(),b.shift()),l=b.shift(),u=b.shift(),_="C",T.push(l,u);break;case"s":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"Q":T.push(b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"q":T.push(l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="Q",T.push(l,u);break;case"T":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l=b.shift(),u=b.shift(),_="Q",T.push(D,j,l,u);break;case"t":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l+=b.shift(),u+=b.shift(),_="Q",T.push(D,j,l,u);break;case"A":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l=b.shift(),u=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break;case"a":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l+=b.shift(),u+=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break}a.push({command:_||v,points:T,start:{x:A,y:I},pathLength:this.calcLength(A,I,_||v,T)})}(v==="z"||v==="Z")&&a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(t,n,r,i){var o,a,s,l,u=zn;switch(r){case"L":return u.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=u.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),l=.01;l<=1;l+=.01)s=u.getPointOnCubicBezier(l,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=u.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),l=.01;l<=1;l+=.01)s=u.getPointOnQuadraticBezier(l,t,n,i[0],i[1],i[2],i[3]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var d=i[4],h=i[5],m=i[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;l-=v)s=u.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(l=d+v;l1&&(s*=Math.sqrt(v),l*=Math.sqrt(v));var b=Math.sqrt((s*s*(l*l)-s*s*(m*m)-l*l*(h*h))/(s*s*(m*m)+l*l*(h*h)));o===a&&(b*=-1),isNaN(b)&&(b=0);var S=b*s*m/l,k=b*-l*h/s,E=(t+r)/2+Math.cos(d)*S-Math.sin(d)*k,_=(n+i)/2+Math.sin(d)*S+Math.cos(d)*k,T=function(V){return Math.sqrt(V[0]*V[0]+V[1]*V[1])},A=function(V,K){return(V[0]*K[0]+V[1]*K[1])/(T(V)*T(K))},I=function(V,K){return(V[0]*K[1]=1&&(z=0),a===0&&z>0&&(z=z-2*Math.PI),a===1&&z<0&&(z=z+2*Math.PI),[E,_,s,l,R,z,d,a]}}zn.prototype.className="Path";zn.prototype._attrsAffectingSize=["data"];Ar(zn);ee.addGetterSetter(zn,"data");class fp extends dc{_sceneFunc(t){super._sceneFunc(t);var n=Math.PI*2,r=this.points(),i=r,o=this.tension()!==0&&r.length>4;o&&(i=this.getTensionPoints());var a=this.pointerLength(),s=r.length,l,u;if(o){const m=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],r[s-2],r[s-1]],v=zn.calcLength(i[i.length-4],i[i.length-3],"C",m),b=zn.getPointOnQuadraticBezier(Math.min(1,1-a/v),m[0],m[1],m[2],m[3],m[4],m[5]);l=r[s-2]-b.x,u=r[s-1]-b.y}else l=r[s-2]-r[s-4],u=r[s-1]-r[s-3];var d=(Math.atan2(u,l)+n)%n,h=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(r[s-2],r[s-1]),t.rotate(d),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(r[0],r[1]),o?(l=(i[0]+i[2])/2-r[0],u=(i[1]+i[3])/2-r[1]):(l=r[2]-r[0],u=r[3]-r[1]),t.rotate((Math.atan2(-u,-l)+n)%n),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),n=this.pointerWidth()/2;return{x:t.x-n,y:t.y-n,width:t.width+n*2,height:t.height+n*2}}}fp.prototype.className="Arrow";Ar(fp);ee.addGetterSetter(fp,"pointerLength",10,qe());ee.addGetterSetter(fp,"pointerWidth",10,qe());ee.addGetterSetter(fp,"pointerAtBeginning",!1);ee.addGetterSetter(fp,"pointerAtEnding",!0);let T0=class extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,Math.PI*2,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}};T0.prototype._centroid=!0;T0.prototype.className="Circle";T0.prototype._attrsAffectingSize=["radius"];Ar(T0);ee.addGetterSetter(T0,"radius",0,qe());class ff extends je{_sceneFunc(t){var n=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),n!==r&&t.scale(1,r/n),t.arc(0,0,n,0,Math.PI*2,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radiusX()*2}getHeight(){return this.radiusY()*2}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}ff.prototype.className="Ellipse";ff.prototype._centroid=!0;ff.prototype._attrsAffectingSize=["radiusX","radiusY"];Ar(ff);ee.addComponentsGetterSetter(ff,"radius",["x","y"]);ee.addGetterSetter(ff,"radiusX",0,qe());ee.addGetterSetter(ff,"radiusY",0,qe());let fc=class TG extends je{constructor(t){super(t),this.on("imageChange.konva",()=>{this._setImageLoad()}),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&t.readyState===4||t&&t.addEventListener&&t.addEventListener("load",()=>{this._requestDraw()})}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const n=this.getWidth(),r=this.getHeight(),i=this.attrs.image;let o;if(i){const a=this.attrs.cropWidth,s=this.attrs.cropHeight;a&&s?o=[i,this.cropX(),this.cropY(),a,s,0,0,n,r]:o=[i,0,0,n,r]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,o)}_hitFunc(t){var n=this.width(),r=this.height();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,n;return(t=this.attrs.width)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.width}getHeight(){var t,n;return(t=this.attrs.height)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.height}static fromURL(t,n,r=null){var i=de.createImageElement();i.onload=function(){var o=new TG({image:i});n(o)},i.onerror=r,i.crossOrigin="Anonymous",i.src=t}};fc.prototype.className="Image";Ar(fc);ee.addGetterSetter(fc,"image");ee.addComponentsGetterSetter(fc,"crop",["x","y","width","height"]);ee.addGetterSetter(fc,"cropX",0,qe());ee.addGetterSetter(fc,"cropY",0,qe());ee.addGetterSetter(fc,"cropWidth",0,qe());ee.addGetterSetter(fc,"cropHeight",0,qe());var LG=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],h9e="Change.konva",p9e="none",L8="up",A8="right",O8="down",M8="left",g9e=LG.length;class bP extends i0{constructor(t){super(t),this.on("add.konva",function(n){this._addListeners(n.child),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var n=this,r,i=function(){n._sync()};for(r=0;r{n=Math.min(n,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),{x:n,y:i,width:r-n,height:o-i}}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}pp.prototype.className="RegularPolygon";pp.prototype._centroid=!0;pp.prototype._attrsAffectingSize=["radius"];Ar(pp);ee.addGetterSetter(pp,"radius",0,qe());ee.addGetterSetter(pp,"sides",0,qe());var JR=Math.PI*2;class gp extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,JR,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),JR,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.outerRadius()*2}getHeight(){return this.outerRadius()*2}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}gp.prototype.className="Ring";gp.prototype._centroid=!0;gp.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(gp);ee.addGetterSetter(gp,"innerRadius",0,qe());ee.addGetterSetter(gp,"outerRadius",0,qe());class gu extends je{constructor(t){super(t),this._updated=!0,this.anim=new ts(()=>{var n=this._updated;return this._updated=!1,n}),this.on("animationChange.konva",function(){this.frameIndex(0)}),this.on("frameIndexChange.konva",function(){this._updated=!0}),this.on("frameRateChange.konva",function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})}_sceneFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+0],l=o[i+1],u=o[i+2],d=o[i+3],h=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,u,d),t.closePath(),t.fillStrokeShape(this)),h)if(a){var m=a[n],v=r*2;t.drawImage(h,s,l,u,d,m[v+0],m[v+1],u,d)}else t.drawImage(h,s,l,u,d,0,0,u,d)}_hitFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+2],l=o[i+3];if(t.beginPath(),a){var u=a[n],d=r*2;t.rect(u[d+0],u[d+1],s,l)}else t.rect(0,0,s,l);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval(function(){t._updateIndex()},1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),n=this.animation(),r=this.animations(),i=r[n],o=i.length/4;t{t=t.trim();const n=t.indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return n&&!r&&(t=`"${t}"`),t}).join(", ")}var Fb;function OC(){return Fb||(Fb=de.createCanvasElement().getContext(y9e),Fb)}function L9e(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)}function A9e(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function O9e(e){return e=e||{},!e.fillLinearGradientColorStops&&!e.fillRadialGradientColorStops&&!e.fillPatternImage&&(e.fill=e.fill||"black"),e}class Lr extends je{constructor(t){super(O9e(t)),this._partialTextX=0,this._partialTextY=0;for(var n=0;n1&&(E+=a)}}}_hitFunc(t){var n=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}setText(t){var n=de._isString(t)?t:t==null?"":t+"";return this._setAttr(b9e,n),this}getWidth(){var t=this.attrs.width===Dg||this.attrs.width===void 0;return t?this.getTextWidth()+this.padding()*2:this.attrs.width}getHeight(){var t=this.attrs.height===Dg||this.attrs.height===void 0;return t?this.fontSize()*this.textArr.length*this.lineHeight()+this.padding()*2:this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return de.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var n=OC(),r=this.fontSize(),i;return n.save(),n.font=this._getContextFont(),i=n.measureText(t),n.restore(),{width:i.width,height:r}}_getContextFont(){return this.fontStyle()+$b+this.fontVariant()+$b+(this.fontSize()+C9e)+T9e(this.fontFamily())}_addTextLine(t){this.align()===cv&&(t=t.trim());var n=this._getTextWidth(t);return this.textArr.push({text:t,width:n,lastInParagraph:!1})}_getTextWidth(t){var n=this.letterSpacing(),r=t.length;return OC().measureText(t).width+(r?n*(r-1):0)}_setTextData(){var t=this.text().split(` +`),n=+this.fontSize(),r=0,i=this.lineHeight()*n,o=this.attrs.width,a=this.attrs.height,s=o!==Dg&&o!==void 0,l=a!==Dg&&a!==void 0,u=this.padding(),d=o-u*2,h=a-u*2,m=0,v=this.wrap(),b=v!==nD,S=v!==E9e&&b,k=this.ellipsis();this.textArr=[],OC().font=this._getContextFont();for(var E=k?this._getTextWidth(AC):0,_=0,T=t.length;_d)for(;A.length>0;){for(var R=0,D=A.length,j="",z=0;R>>1,K=A.slice(0,V+1),te=this._getTextWidth(K)+E;te<=d?(R=V+1,j=K,z=te):D=V}if(j){if(S){var q,$=A[j.length],U=$===$b||$===eD;U&&z<=d?q=j.length:q=Math.max(j.lastIndexOf($b),j.lastIndexOf(eD))+1,q>0&&(R=q,j=j.slice(0,R),z=this._getTextWidth(j))}j=j.trimRight(),this._addTextLine(j),r=Math.max(r,z),m+=i;var X=this._shouldHandleEllipsis(m);if(X){this._tryToAddEllipsisToLastLine();break}if(A=A.slice(R),A=A.trimLeft(),A.length>0&&(I=this._getTextWidth(A),I<=d)){this._addTextLine(A),m+=i,r=Math.max(r,I);break}}else break}else this._addTextLine(A),m+=i,r=Math.max(r,I),this._shouldHandleEllipsis(m)&&_h)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,o=i!==Dg&&i!==void 0,a=this.padding(),s=i-a*2,l=this.wrap(),u=l!==nD;return!u||o&&t+r>s}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==Dg&&t!==void 0,r=this.padding(),i=t-r*2,o=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(!(!a||!o)){if(n){var s=this._getTextWidth(a.text+AC)=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i0&&(s+=t.dataArray[l].pathLength);var u=0;i==="center"&&(u=Math.max(0,s/2-a/2)),i==="right"&&(u=Math.max(0,s-a));for(var d=AG(this.text()),h=this.text().split(" ").length-1,m,v,b,S=-1,k=0,E=function(){k=0;for(var te=t.dataArray,q=S+1;q0)return S=q,te[q];te[q].command==="M"&&(m={x:te[q].points[0],y:te[q].points[1]})}return{}},_=function(te){var q=t._getTextSize(te).width+r;te===" "&&i==="justify"&&(q+=(s-a)/h);var $=0,U=0;for(v=void 0;Math.abs(q-$)/q>.01&&U<20;){U++;for(var X=$;b===void 0;)b=E(),b&&X+b.pathLengthq?v=zn.getPointOnLine(q,m.x,m.y,b.points[0],b.points[1],m.x,m.y):b=void 0;break;case"A":var W=b.points[4],Q=b.points[5],ie=b.points[4]+Q;k===0?k=W+1e-8:q>$?k+=Math.PI/180*Q/Math.abs(Q):k-=Math.PI/360*Q/Math.abs(Q),(Q<0&&k=0&&k>ie)&&(k=ie,Z=!0),v=zn.getPointOnEllipticalArc(b.points[0],b.points[1],b.points[2],b.points[3],k,b.points[6]);break;case"C":k===0?q>b.pathLength?k=1e-8:k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength/2:k=Math.max(k-($-q)/b.pathLength/2,0),k>1&&(k=1,Z=!0),v=zn.getPointOnCubicBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3],b.points[4],b.points[5]);break;case"Q":k===0?k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength:k-=($-q)/b.pathLength,k>1&&(k=1,Z=!0),v=zn.getPointOnQuadraticBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3]);break}v!==void 0&&($=zn.getLineLength(m.x,m.y,v.x,v.y)),Z&&(Z=!1,b=void 0)}},T="C",A=t._getTextSize(T).width+r,I=u/A-1,R=0;Re+`.${jG}`).join(" "),rD="nodesRect",R9e=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],D9e={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const N9e="ontouchstart"in pt._global;function j9e(e,t){if(e==="rotater")return"crosshair";t+=de.degToRad(D9e[e]||0);var n=(de.radToDeg(t)%360+360)%360;return de._inRange(n,315+22.5,360)||de._inRange(n,0,22.5)?"ns-resize":de._inRange(n,45-22.5,45+22.5)?"nesw-resize":de._inRange(n,90-22.5,90+22.5)?"ew-resize":de._inRange(n,135-22.5,135+22.5)?"nwse-resize":de._inRange(n,180-22.5,180+22.5)?"ns-resize":de._inRange(n,225-22.5,225+22.5)?"nesw-resize":de._inRange(n,270-22.5,270+22.5)?"ew-resize":de._inRange(n,315-22.5,315+22.5)?"nwse-resize":(de.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var J5=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],iD=1e8;function B9e(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}function BG(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),i=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:i})}function $9e(e,t){const n=B9e(e);return BG(e,t,n)}function F9e(e,t,n){let r=t;for(let i=0;i{const i=()=>{this.nodes().length===1&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),!this._transforming&&!this.isDragging()&&this.update()},o=r._attrsAffectingSize.map(a=>a+"Change."+this._getEventNamespace()).join(" ");r.on(o,i),r.on(R9e.map(a=>a+`.${this._getEventNamespace()}`).join(" "),i),r.on(`absoluteTransformChange.${this._getEventNamespace()}`,i),this._proxyDrag(r)}),this._resetTransformCache();var n=!!this.findOne(".top-left");return n&&this.update(),this}_proxyDrag(t){let n;t.on(`dragstart.${this._getEventNamespace()}`,r=>{n=t.getAbsolutePosition(),!this.isDragging()&&t!==this.findOne(".back")&&this.startDrag(r,!1)}),t.on(`dragmove.${this._getEventNamespace()}`,r=>{if(!n)return;const i=t.getAbsolutePosition(),o=i.x-n.x,a=i.y-n.y;this.nodes().forEach(s=>{if(s===t||s.isDragging())return;const l=s.getAbsolutePosition();s.setAbsolutePosition({x:l.x+o,y:l.y+a}),s.startDrag(r)}),n=null})}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach(t=>{t.off("."+this._getEventNamespace())}),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(rD),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(rD,this.__getNodeRect)}__getNodeShape(t,n=this.rotation(),r){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=t.getAbsoluteScale(r),a=t.getAbsolutePosition(r),s=i.x*o.x-t.offsetX()*o.x,l=i.y*o.y-t.offsetY()*o.y;const u=(pt.getAngle(t.getAbsoluteRotation())+Math.PI*2)%(Math.PI*2),d={x:a.x+s*Math.cos(u)+l*Math.sin(-u),y:a.y+l*Math.cos(u)+s*Math.sin(u),width:i.width*o.x,height:i.height*o.y,rotation:u};return BG(d,-pt.getAngle(n),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-iD,y:-iD,width:0,height:0,rotation:0};const n=[];this.nodes().map(u=>{const d=u.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var h=[{x:d.x,y:d.y},{x:d.x+d.width,y:d.y},{x:d.x+d.width,y:d.y+d.height},{x:d.x,y:d.y+d.height}],m=u.getAbsoluteTransform();h.forEach(function(v){var b=m.point(v);n.push(b)})});const r=new ka;r.rotate(-pt.getAngle(this.rotation()));var i,o,a,s;n.forEach(function(u){var d=r.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),r.invert();const l=r.point({x:i,y:o});return{x:l.x,y:l.y,width:a-i,height:s-o,rotation:pt.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),J5.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var n=new By({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:N9e?10:"auto"}),r=this;n.on("mousedown touchstart",function(i){r._handleMouseDown(i)}),n.on("dragstart",i=>{n.stopDrag(),i.cancelBubble=!0}),n.on("dragend",i=>{i.cancelBubble=!0}),n.on("mouseenter",()=>{var i=pt.getAngle(this.rotation()),o=j9e(t,i);n.getStage().content&&(n.getStage().content.style.cursor=o),this._cursorChange=!0}),n.on("mouseout",()=>{n.getStage().content&&(n.getStage().content.style.cursor=""),this._cursorChange=!1}),this.add(n)}_createBack(){var t=new je({name:"back",width:0,height:0,draggable:!0,sceneFunc(n){var r=this.getParent(),i=r.padding();n.beginPath(),n.rect(-i,-i,this.width()+i*2,this.height()+i*2),n.moveTo(this.width()/2,-i),r.rotateEnabled()&&n.lineTo(this.width()/2,-r.rotateAnchorOffset()*de._sign(this.height())-i),n.fillStrokeShape(this)},hitFunc:(n,r)=>{if(this.shouldOverdrawWholeArea()){var i=this.padding();n.beginPath(),n.rect(-i,-i,r.width()+i*2,r.height()+i*2),n.fillStrokeShape(r)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",n=>{n.cancelBubble=!0}),t.on("dragmove",n=>{n.cancelBubble=!0}),t.on("dragend",n=>{n.cancelBubble=!0}),this.on("dragmove",n=>{this.update()})}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var n=this._getNodeRect(),r=n.width,i=n.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(i,2));this.sin=Math.abs(i/o),this.cos=Math.abs(r/o),typeof window<"u"&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),s=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:s.x-a.x,y:s.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach(l=>{l._fire("transformstart",{evt:t.evt,target:l})})}_handleMouseMove(t){var n,r,i,o=this.findOne("."+this._movingAnchorName),a=o.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let l={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const u=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(u,l,t)),o.setAbsolutePosition(l);const d=o.getAbsolutePosition();if(!(u.x===d.x&&u.y===d.y)){if(this._movingAnchorName==="rotater"){var h=this._getNodeRect();n=o.x()-h.width/2,r=-o.y()+h.height/2;let te=Math.atan2(-r,n)+Math.PI/2;h.height<0&&(te-=Math.PI);var m=pt.getAngle(this.rotation());const q=m+te,$=pt.getAngle(this.rotationSnapTolerance()),X=F9e(this.rotationSnaps(),q,$)-h.rotation,Z=$9e(h,X);this._fitNodesInto(Z,t);return}var v=this.keepRatio()||t.shiftKey,_=this.centeredScaling()||t.altKey;if(this._movingAnchorName==="top-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-left").x()>b.x?-1:1,k=this.findOne(".top-left").y()>b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-left").x(b.x-n),this.findOne(".top-left").y(b.y-r)}}else if(this._movingAnchorName==="top-center")this.findOne(".top-left").y(o.y());else if(this._movingAnchorName==="top-right"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(o.x()-b.x,2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-right").x()b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-right").x(b.x+n),this.findOne(".top-right").y(b.y-r)}var E=o.position();this.findOne(".top-left").y(E.y),this.findOne(".bottom-right").x(E.x)}else if(this._movingAnchorName==="middle-left")this.findOne(".top-left").x(o.x());else if(this._movingAnchorName==="middle-right")this.findOne(".bottom-right").x(o.x());else if(this._movingAnchorName==="bottom-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(o.y()-b.y,2));var S=b.x{r._fire("transformend",{evt:t,target:r})}),this._movingAnchorName=null}}_fitNodesInto(t,n){var r=this._getNodeRect();const i=1;if(de._inRange(t.width,-this.padding()*2-i,i)){this.update();return}if(de._inRange(t.height,-this.padding()*2-i,i)){this.update();return}const o=this.flipEnabled();var a=new ka;if(a.rotate(pt.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const h=a.point({x:-this.padding()*2,y:0});if(t.x+=h.x,t.y+=h.y,t.width+=this.padding()*2,this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,!o){this.update();return}}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const h=a.point({x:this.padding()*2,y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=this.padding()*2,!o){this.update();return}}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const h=a.point({x:0,y:-this.padding()*2});if(t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const h=a.point({x:0,y:this.padding()*2});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}if(this.boundBoxFunc()){const h=this.boundBoxFunc()(r,t);h?t=h:de.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new ka;l.translate(r.x,r.y),l.rotate(r.rotation),l.scale(r.width/s,r.height/s);const u=new ka;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const d=u.multiply(l.invert());this._nodes.forEach(h=>{var m;const v=h.getParent().getAbsoluteTransform(),b=h.getTransform().copy();b.translate(h.offsetX(),h.offsetY());const S=new ka;S.multiply(v.copy().invert()).multiply(d).multiply(v).multiply(b);const k=S.decompose();h.setAttrs(k),this._fire("transform",{evt:n,target:h}),h._fire("transform",{evt:n,target:h}),(m=h.getLayer())===null||m===void 0||m.batchDraw()}),this.rotation(de._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,n){this.findOne(t).setAttrs(n)}update(){var t,n=this._getNodeRect();this.rotation(de._getRotation(n.rotation));var r=n.width,i=n.height,o=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),l=this.anchorSize();this.find("._anchor").forEach(u=>{u.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})}),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+s,offsetY:l/2+s,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:r/2,y:0,offsetY:l/2+s,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:r,y:0,offsetX:l/2-s,offsetY:l/2+s,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:l/2+s,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:r,y:i/2,offsetX:l/2-s,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:l/2+s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:r/2,y:i,offsetY:l/2-s,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:r,y:i,offsetX:l/2-s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:r/2,y:-this.rotateAnchorOffset()*de._sign(i)-s,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:r,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),(t=this.getLayer())===null||t===void 0||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),i0.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Ze.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}};function z9e(e){return e instanceof Array||de.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach(function(t){J5.indexOf(t)===-1&&de.warn("Unknown anchor name: "+t+". Available names are: "+J5.join(", "))}),e||[]}In.prototype.className="Transformer";Ar(In);ee.addGetterSetter(In,"enabledAnchors",J5,z9e);ee.addGetterSetter(In,"flipEnabled",!0,nl());ee.addGetterSetter(In,"resizeEnabled",!0);ee.addGetterSetter(In,"anchorSize",10,qe());ee.addGetterSetter(In,"rotateEnabled",!0);ee.addGetterSetter(In,"rotationSnaps",[]);ee.addGetterSetter(In,"rotateAnchorOffset",50,qe());ee.addGetterSetter(In,"rotationSnapTolerance",5,qe());ee.addGetterSetter(In,"borderEnabled",!0);ee.addGetterSetter(In,"anchorStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"anchorStrokeWidth",1,qe());ee.addGetterSetter(In,"anchorFill","white");ee.addGetterSetter(In,"anchorCornerRadius",0,qe());ee.addGetterSetter(In,"borderStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"borderStrokeWidth",1,qe());ee.addGetterSetter(In,"borderDash");ee.addGetterSetter(In,"keepRatio",!0);ee.addGetterSetter(In,"centeredScaling",!1);ee.addGetterSetter(In,"ignoreStroke",!1);ee.addGetterSetter(In,"padding",0,qe());ee.addGetterSetter(In,"node");ee.addGetterSetter(In,"nodes");ee.addGetterSetter(In,"boundBoxFunc");ee.addGetterSetter(In,"anchorDragBoundFunc");ee.addGetterSetter(In,"shouldOverdrawWholeArea",!1);ee.addGetterSetter(In,"useSingleNodeRotation",!0);ee.backCompat(In,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class hc extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,pt.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}hc.prototype.className="Wedge";hc.prototype._centroid=!0;hc.prototype._attrsAffectingSize=["radius"];Ar(hc);ee.addGetterSetter(hc,"radius",0,qe());ee.addGetterSetter(hc,"angle",0,qe());ee.addGetterSetter(hc,"clockwise",!1);ee.backCompat(hc,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});function oD(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var H9e=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],V9e=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function W9e(e,t){var n=e.data,r=e.width,i=e.height,o,a,s,l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D,j,z,V,K,te,q=t+t+1,$=r-1,U=i-1,X=t+1,Z=X*(X+1)/2,W=new oD,Q=null,ie=W,fe=null,Se=null,Pe=H9e[t],ye=V9e[t];for(s=1;s>ye,K!==0?(K=255/K,n[d]=(m*Pe>>ye)*K,n[d+1]=(v*Pe>>ye)*K,n[d+2]=(b*Pe>>ye)*K):n[d]=n[d+1]=n[d+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=h+((l=o+t+1)<$?l:$)<<2,A+=fe.r=n[l],I+=fe.g=n[l+1],R+=fe.b=n[l+2],D+=fe.a=n[l+3],m+=A,v+=I,b+=R,S+=D,fe=fe.next,k+=j=Se.r,E+=z=Se.g,_+=V=Se.b,T+=K=Se.a,A-=j,I-=z,R-=V,D-=K,Se=Se.next,d+=4;h+=r}for(o=0;o>ye,K>0?(K=255/K,n[l]=(m*Pe>>ye)*K,n[l+1]=(v*Pe>>ye)*K,n[l+2]=(b*Pe>>ye)*K):n[l]=n[l+1]=n[l+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=o+((l=a+X)0&&W9e(t,n)};ee.addGetterSetter(Ze,"blurRadius",0,qe(),ee.afterSetFilter);const G9e=function(e){var t=this.brightness()*255,n=e.data,r=n.length,i;for(i=0;i255?255:i,o=o<0?0:o>255?255:o,a=a<0?0:a>255?255:a,n[s]=i,n[s+1]=o,n[s+2]=a};ee.addGetterSetter(Ze,"contrast",0,qe(),ee.afterSetFilter);const Y9e=function(e){var t=this.embossStrength()*10,n=this.embossWhiteLevel()*255,r=this.embossDirection(),i=this.embossBlend(),o=0,a=0,s=e.data,l=e.width,u=e.height,d=l*4,h=u;switch(r){case"top-left":o=-1,a=-1;break;case"top":o=-1,a=0;break;case"top-right":o=-1,a=1;break;case"right":o=0,a=1;break;case"bottom-right":o=1,a=1;break;case"bottom":o=1,a=0;break;case"bottom-left":o=1,a=-1;break;case"left":o=0,a=-1;break;default:de.error("Unknown emboss direction: "+r)}do{var m=(h-1)*d,v=o;h+v<1&&(v=0),h+v>u&&(v=0);var b=(h-1+v)*l*4,S=l;do{var k=m+(S-1)*4,E=a;S+E<1&&(E=0),S+E>l&&(E=0);var _=b+(S-1+E)*4,T=s[k]-s[_],A=s[k+1]-s[_+1],I=s[k+2]-s[_+2],R=T,D=R>0?R:-R,j=A>0?A:-A,z=I>0?I:-I;if(j>D&&(R=A),z>D&&(R=I),R*=t,i){var V=s[k]+R,K=s[k+1]+R,te=s[k+2]+R;s[k]=V>255?255:V<0?0:V,s[k+1]=K>255?255:K<0?0:K,s[k+2]=te>255?255:te<0?0:te}else{var q=n-R;q<0?q=0:q>255&&(q=255),s[k]=s[k+1]=s[k+2]=q}}while(--S)}while(--h)};ee.addGetterSetter(Ze,"embossStrength",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossWhiteLevel",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossDirection","top-left",null,ee.afterSetFilter);ee.addGetterSetter(Ze,"embossBlend",!1,null,ee.afterSetFilter);function MC(e,t,n,r,i){var o=n-t,a=i-r,s;return o===0?r+a/2:a===0?r:(s=(e-t)/o,s=a*s+r,s)}const K9e=function(e){var t=e.data,n=t.length,r=t[0],i=r,o,a=t[1],s=a,l,u=t[2],d=u,h,m,v=this.enhance();if(v!==0){for(m=0;mi&&(i=o),l=t[m+1],ls&&(s=l),h=t[m+2],hd&&(d=h);i===r&&(i=255,r=0),s===a&&(s=255,a=0),d===u&&(d=255,u=0);var b,S,k,E,_,T,A,I,R;for(v>0?(S=i+v*(255-i),k=r-v*(r-0),_=s+v*(255-s),T=a-v*(a-0),I=d+v*(255-d),R=u-v*(u-0)):(b=(i+r)*.5,S=i+v*(i-b),k=r+v*(r-b),E=(s+a)*.5,_=s+v*(s-E),T=a+v*(a-E),A=(d+u)*.5,I=d+v*(d-A),R=u+v*(u-A)),m=0;mE?k:E;var _=a,T=o,A,I,R=360/T*Math.PI/180,D,j;for(I=0;IT?_:T;var A=a,I=o,R,D,j=n.polarRotation||0,z,V;for(d=0;dt&&(A=T,I=0,R=-1),i=0;i=0&&v=0&&b=0&&v=0&&b=255*4?255:0}return a}function l8e(e,t,n){for(var r=[.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&v=0&&b=n))for(o=S;o=r||(a=(n*o+i)*4,s+=A[a+0],l+=A[a+1],u+=A[a+2],d+=A[a+3],T+=1);for(s=s/T,l=l/T,u=u/T,d=d/T,i=v;i=n))for(o=S;o=r||(a=(n*o+i)*4,A[a+0]=s,A[a+1]=l,A[a+2]=u,A[a+3]=d)}};ee.addGetterSetter(Ze,"pixelSize",8,qe(),ee.afterSetFilter);const f8e=function(e){var t=Math.round(this.levels()*254)+1,n=e.data,r=n.length,i=255/t,o;for(o=0;o255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);const p8e=function(e){var t=e.data,n=t.length,r=this.red(),i=this.green(),o=this.blue(),a=this.alpha(),s,l;for(s=0;s255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);ee.addGetterSetter(Ze,"alpha",1,function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e});const g8e=function(e){var t=e.data,n=t.length,r,i,o,a;for(r=0;r127&&(u=255-u),d>127&&(d=255-d),h>127&&(h=255-h),t[l]=u,t[l+1]=d,t[l+2]=h}while(--s)}while(--o)},v8e=function(e){var t=this.threshold()*255,n=e.data,r=n.length,i;for(i=0;i{const{width:n,height:r}=t,i=document.createElement("div"),o=new Fg.Stage({container:i,width:n,height:r}),a=new Fg.Layer,s=new Fg.Layer;a.add(new Fg.Rect({...t,fill:"white"})),e.forEach(u=>s.add(new Fg.Line({points:u.points,stroke:"black",strokeWidth:u.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,globalCompositeOperation:u.tool==="brush"?"source-over":"destination-out"}))),o.add(a),o.add(s);const l=o.toDataURL({...t});return i.remove(),l};let $G=null,FG=null;const b8e=e=>{$G=e},el=()=>$G,S8e=e=>{FG=e},zG=()=>FG,x8e=e=>{const t=window.open("");t&&e.forEach(n=>{const r=new Image;r.src=n.base64,t.document.write(n.caption),t.document.write("
"),t.document.write(r.outerHTML),t.document.write("

")})},HG=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),w8e=e=>{const t=el(),{generationMode:n,generationState:r,postprocessingState:i,canvasState:o,systemState:a}=e,{codeformerFidelity:s,facetoolStrength:l,facetoolType:u,hiresFix:d,hiresStrength:h,shouldRunESRGAN:m,shouldRunFacetool:v,upscalingLevel:b,upscalingStrength:S,upscalingDenoising:k}=i,{cfgScale:E,height:_,img2imgStrength:T,infillMethod:A,initialImage:I,iterations:R,perlin:D,prompt:j,negativePrompt:z,sampler:V,seamBlur:K,seamless:te,seamSize:q,seamSteps:$,seamStrength:U,seed:X,seedWeights:Z,shouldFitToWidthHeight:W,shouldGenerateVariations:Q,shouldRandomizeSeed:ie,steps:fe,threshold:Se,tileSize:Pe,variationAmount:ye,width:We}=r,{shouldDisplayInProgressType:De,saveIntermediatesInterval:ot,enableImageDebugging:He}=a,Be={prompt:j,iterations:R,steps:fe,cfg_scale:E,threshold:Se,perlin:D,height:_,width:We,sampler_name:V,seed:X,progress_images:De==="full-res",progress_latents:De==="latents",save_intermediates:ot,generation_mode:n,init_mask:""};let wt=!1,st=!1;if(z!==""&&(Be.prompt=`${j} [${z}]`),Be.seed=ie?HG(hP,pP):X,["txt2img","img2img"].includes(n)&&(Be.seamless=te,Be.hires_fix=d,d&&(Be.strength=h),m&&(wt={level:b,denoise_str:k,strength:S}),v&&(st={type:u,strength:l},u==="codeformer"&&(st.codeformer_fidelity=s))),n==="img2img"&&I&&(Be.init_img=typeof I=="string"?I:I.url,Be.strength=T,Be.fit=W),n==="unifiedCanvas"&&t){const{layerState:{objects:mt},boundingBoxCoordinates:St,boundingBoxDimensions:Le,stageScale:lt,isMaskEnabled:Mt,shouldPreserveMaskedArea:ut,boundingBoxScaleMethod:_t,scaledBoundingBoxDimensions:ln}=o,ae={...St,...Le},Re=y8e(Mt?mt.filter(tP):[],ae);Be.init_mask=Re,Be.fit=!1,Be.strength=T,Be.invert_mask=ut,Be.bounding_box=ae;const Ye=t.scale();t.scale({x:1/lt,y:1/lt});const Ke=t.getAbsolutePosition(),xe=t.toDataURL({x:ae.x+Ke.x,y:ae.y+Ke.y,width:ae.width,height:ae.height});He&&x8e([{base64:Re,caption:"mask sent as init_mask"},{base64:xe,caption:"image sent as init_img"}]),t.scale(Ye),Be.init_img=xe,Be.progress_images=!1,_t!=="none"&&(Be.inpaint_width=ln.width,Be.inpaint_height=ln.height),Be.seam_size=q,Be.seam_blur=K,Be.seam_strength=U,Be.seam_steps=$,Be.tile_size=Pe,Be.infill_method=A,Be.force_outpaint=!1}return Q?(Be.variation_amount=ye,Z&&(Be.with_variations=Kxe(Z))):Be.variation_amount=0,He&&(Be.enable_image_debugging=He),{generationParameters:Be,esrganParameters:wt,facetoolParameters:st}};var C8e=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,_8e=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,k8e=/[^-+\dA-Z]/g;function no(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(aD[t]||t||aD.default);var i=t.slice(0,4);(i==="UTC:"||i==="GMT:")&&(t=t.slice(4),n=!0,i==="GMT:"&&(r=!0));var o=function(){return n?"getUTC":"get"},a=function(){return e[o()+"Date"]()},s=function(){return e[o()+"Day"]()},l=function(){return e[o()+"Month"]()},u=function(){return e[o()+"FullYear"]()},d=function(){return e[o()+"Hours"]()},h=function(){return e[o()+"Minutes"]()},m=function(){return e[o()+"Seconds"]()},v=function(){return e[o()+"Milliseconds"]()},b=function(){return n?0:e.getTimezoneOffset()},S=function(){return E8e(e)},k=function(){return P8e(e)},E={d:function(){return a()},dd:function(){return wa(a())},ddd:function(){return Uo.dayNames[s()]},DDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()],short:!0})},dddd:function(){return Uo.dayNames[s()+7]},DDDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()+7]})},m:function(){return l()+1},mm:function(){return wa(l()+1)},mmm:function(){return Uo.monthNames[l()]},mmmm:function(){return Uo.monthNames[l()+12]},yy:function(){return String(u()).slice(2)},yyyy:function(){return wa(u(),4)},h:function(){return d()%12||12},hh:function(){return wa(d()%12||12)},H:function(){return d()},HH:function(){return wa(d())},M:function(){return h()},MM:function(){return wa(h())},s:function(){return m()},ss:function(){return wa(m())},l:function(){return wa(v(),3)},L:function(){return wa(Math.floor(v()/10))},t:function(){return d()<12?Uo.timeNames[0]:Uo.timeNames[1]},tt:function(){return d()<12?Uo.timeNames[2]:Uo.timeNames[3]},T:function(){return d()<12?Uo.timeNames[4]:Uo.timeNames[5]},TT:function(){return d()<12?Uo.timeNames[6]:Uo.timeNames[7]},Z:function(){return r?"GMT":n?"UTC":T8e(e)},o:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60)*100+Math.abs(b())%60,4)},p:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60),2)+":"+wa(Math.floor(Math.abs(b())%60),2)},S:function(){return["th","st","nd","rd"][a()%10>3?0:(a()%100-a()%10!=10)*a()%10]},W:function(){return S()},WW:function(){return wa(S())},N:function(){return k()}};return t.replace(C8e,function(_){return _ in E?E[_]():_.slice(1,_.length-1)})}var aD={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Uo={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},wa=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return String(t).padStart(n,"0")},sD=function(t){var n=t.y,r=t.m,i=t.d,o=t._,a=t.dayName,s=t.short,l=s===void 0?!1:s,u=new Date,d=new Date;d.setDate(d[o+"Date"]()-1);var h=new Date;h.setDate(h[o+"Date"]()+1);var m=function(){return u[o+"Date"]()},v=function(){return u[o+"Month"]()},b=function(){return u[o+"FullYear"]()},S=function(){return d[o+"Date"]()},k=function(){return d[o+"Month"]()},E=function(){return d[o+"FullYear"]()},_=function(){return h[o+"Date"]()},T=function(){return h[o+"Month"]()},A=function(){return h[o+"FullYear"]()};return b()===n&&v()===r&&m()===i?l?"Tdy":"Today":E()===n&&k()===r&&S()===i?l?"Ysd":"Yesterday":A()===n&&T()===r&&_()===i?l?"Tmw":"Tomorrow":a},E8e=function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=new Date(n.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=n.getTimezoneOffset()-r.getTimezoneOffset();n.setHours(n.getHours()-i);var o=(n-r)/(864e5*7);return 1+Math.floor(o)},P8e=function(t){var n=t.getDay();return n===0&&(n=7),n},T8e=function(t){return(String(t).match(_8e)||[""]).pop().replace(k8e,"").replace(/GMT\+0000/g,"UTC")};const L8e=(e,t)=>{const{dispatch:n,getState:r}=e;return{emitGenerateImage:i=>{n(Hs(!0));const o=r(),{generation:a,postprocessing:s,system:l,canvas:u}=o,d={generationMode:i,generationState:a,postprocessingState:s,canvasState:u,systemState:l};n(eCe());const{generationParameters:h,esrganParameters:m,facetoolParameters:v}=w8e(d);t.emit("generateImage",h,m,v),h.init_mask&&(h.init_mask=h.init_mask.substr(0,64).concat("...")),h.init_img&&(h.init_img=h.init_img.substr(0,64).concat("...")),n(to({timestamp:no(new Date,"isoDateTime"),message:`Image generation requested: ${JSON.stringify({...h,...m,...v})}`}))},emitRunESRGAN:i=>{n(Hs(!0));const{postprocessing:{upscalingLevel:o,upscalingDenoising:a,upscalingStrength:s}}=r(),l={upscale:[o,a,s]};t.emit("runPostprocessing",i,{type:"esrgan",...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`ESRGAN upscale requested: ${JSON.stringify({file:i.url,...l})}`}))},emitRunFacetool:i=>{n(Hs(!0));const{postprocessing:{facetoolType:o,facetoolStrength:a,codeformerFidelity:s}}=r(),l={facetool_strength:a};o==="codeformer"&&(l.codeformer_fidelity=s),t.emit("runPostprocessing",i,{type:o,...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`Face restoration (${o}) requested: ${JSON.stringify({file:i.url,...l})}`}))},emitDeleteImage:i=>{const{url:o,uuid:a,category:s,thumbnail:l}=i;n(eU(i)),t.emit("deleteImage",o,l,a,s)},emitRequestImages:i=>{const o=r().gallery,{earliest_mtime:a}=o.categories[i];t.emit("requestImages",i,a)},emitRequestNewImages:i=>{const o=r().gallery,{latest_mtime:a}=o.categories[i];t.emit("requestLatestImages",i,a)},emitCancelProcessing:()=>{t.emit("cancel")},emitRequestSystemConfig:()=>{t.emit("requestSystemConfig")},emitSearchForModels:i=>{t.emit("searchForModels",i)},emitAddNewModel:i=>{t.emit("addNewModel",i)},emitDeleteModel:i=>{t.emit("deleteModel",i)},emitRequestModelChange:i=>{n(Z6e()),t.emit("requestModelChange",i)},emitSaveStagingAreaImageToGallery:i=>{t.emit("requestSaveStagingAreaImageToGallery",i)},emitRequestEmptyTempFolder:()=>{t.emit("requestEmptyTempFolder")}}};let Hb;const A8e=new Uint8Array(16);function O8e(){if(!Hb&&(Hb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Hb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Hb(A8e)}const zi=[];for(let e=0;e<256;++e)zi.push((e+256).toString(16).slice(1));function M8e(e,t=0){return(zi[e[t+0]]+zi[e[t+1]]+zi[e[t+2]]+zi[e[t+3]]+"-"+zi[e[t+4]]+zi[e[t+5]]+"-"+zi[e[t+6]]+zi[e[t+7]]+"-"+zi[e[t+8]]+zi[e[t+9]]+"-"+zi[e[t+10]]+zi[e[t+11]]+zi[e[t+12]]+zi[e[t+13]]+zi[e[t+14]]+zi[e[t+15]]).toLowerCase()}const I8e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lD={randomUUID:I8e};function cm(e,t,n){if(lD.randomUUID&&!t&&!e)return lD.randomUUID();e=e||{};const r=e.random||(e.rng||O8e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return M8e(r)}const I8=zr("socketio/generateImage"),R8e=zr("socketio/runESRGAN"),D8e=zr("socketio/runFacetool"),N8e=zr("socketio/deleteImage"),R8=zr("socketio/requestImages"),uD=zr("socketio/requestNewImages"),j8e=zr("socketio/cancelProcessing"),B8e=zr("socketio/requestSystemConfig"),cD=zr("socketio/searchForModels"),$y=zr("socketio/addNewModel"),$8e=zr("socketio/deleteModel"),VG=zr("socketio/requestModelChange"),F8e=zr("socketio/saveStagingAreaImageToGallery"),z8e=zr("socketio/requestEmptyTempFolder"),H8e=e=>{const{dispatch:t,getState:n}=e;return{onConnect:()=>{try{t(PR(!0)),t(R4(zt.t("common:statusConnected"))),t(B8e());const r=n().gallery;r.categories.result.latest_mtime?t(uD("result")):t(R8("result")),r.categories.user.latest_mtime?t(uD("user")):t(R8("user"))}catch(r){console.error(r)}},onDisconnect:()=>{try{t(PR(!1)),t(R4(zt.t("common:statusDisconnected"))),t(to({timestamp:no(new Date,"isoDateTime"),message:"Disconnected from server",level:"warning"}))}catch(r){console.error(r)}},onGenerationResult:r=>{try{const i=n(),{activeTab:o}=i.ui,{shouldLoopback:a}=i.postprocessing,{boundingBox:s,generationMode:l,...u}=r,d={uuid:cm(),...u};if(["txt2img","img2img"].includes(l)&&t(sm({category:"result",image:{...d,category:"result"}})),l==="unifiedCanvas"&&r.boundingBox){const{boundingBox:h}=r;t(pxe({image:{...d,category:"temp"},boundingBox:h})),i.canvas.shouldAutoSave&&t(sm({image:{...d,category:"result"},category:"result"}))}if(a)switch(cP[o]){case"img2img":{t(k0(d));break}}t(SC()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image generated: ${r.url}`}))}catch(i){console.error(i)}},onIntermediateResult:r=>{try{t(jxe({uuid:cm(),...r,category:"result"})),r.isBase64||t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image generated: ${r.url}`}))}catch(i){console.error(i)}},onPostprocessingResult:r=>{try{t(sm({category:"result",image:{uuid:cm(),...r,category:"result"}})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Postprocessed: ${r.url}`}))}catch(i){console.error(i)}},onProgressUpdate:r=>{try{t(Hs(!0)),t(q6e(r))}catch(i){console.error(i)}},onError:r=>{const{message:i,additionalData:o}=r;try{t(to({timestamp:no(new Date,"isoDateTime"),message:`Server error: ${i}`,level:"error"})),t(TR()),t(SC())}catch(a){console.error(a)}},onGalleryImages:r=>{const{images:i,areMoreImagesAvailable:o,category:a}=r,s=i.map(l=>({uuid:cm(),...l}));t(Nxe({images:s,areMoreImagesAvailable:o,category:a})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Loaded ${i.length} images`}))},onProcessingCanceled:()=>{t(X6e());const{intermediateImage:r}=n().gallery;r&&(r.isBase64||(t(sm({category:"result",image:r})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image saved: ${r.url}`}))),t(SC())),t(to({timestamp:no(new Date,"isoDateTime"),message:"Processing canceled",level:"warning"}))},onImageDeleted:r=>{const{url:i}=r;t(eU(r));const{generation:{initialImage:o,maskPath:a}}=n();(o===i||(o==null?void 0:o.url)===i)&&t(oU()),a===i&&t(cU("")),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image deleted: ${i}`}))},onSystemConfig:r=>{t(Y6e(r)),r.infill_methods.includes("patchmatch")||t(uU(r.infill_methods[0]))},onFoundModels:r=>{const{search_folder:i,found_models:o}=r;t(FU(i)),t(zU(o))},onNewModelAdded:r=>{const{new_model_name:i,model_list:o,update:a}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model Added: ${i}`,level:"info"})),t(Th({title:a?`${zt.t("modelmanager:modelUpdated")}: ${i}`:`${zt.t("modelmanager:modelAdded")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelDeleted:r=>{const{deleted_model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`${zt.t("modelmanager:modelAdded")}: ${i}`,level:"info"})),t(Th({title:`${zt.t("modelmanager:modelEntryDeleted")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelChanged:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(R4(zt.t("common:statusModelChanged"))),t(Hs(!1)),t(lm(!0)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model changed: ${i}`,level:"info"}))},onModelChangeFailed:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(lm(!0)),t(TR()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model change failed: ${i}`,level:"error"}))},onTempFolderEmptied:()=>{t(Th({title:zt.t("toast:tempFoldersEmptied"),status:"success",duration:2500,isClosable:!0}))}}},V8e=()=>{const{origin:e}=new URL(window.location.href),t=j4(e,{timeout:6e4,path:`${window.location.pathname}socket.io`});let n=!1;return i=>o=>a=>{const{onConnect:s,onDisconnect:l,onError:u,onPostprocessingResult:d,onGenerationResult:h,onIntermediateResult:m,onProgressUpdate:v,onGalleryImages:b,onProcessingCanceled:S,onImageDeleted:k,onSystemConfig:E,onModelChanged:_,onFoundModels:T,onNewModelAdded:A,onModelDeleted:I,onModelChangeFailed:R,onTempFolderEmptied:D}=H8e(i),{emitGenerateImage:j,emitRunESRGAN:z,emitRunFacetool:V,emitDeleteImage:K,emitRequestImages:te,emitRequestNewImages:q,emitCancelProcessing:$,emitRequestSystemConfig:U,emitSearchForModels:X,emitAddNewModel:Z,emitDeleteModel:W,emitRequestModelChange:Q,emitSaveStagingAreaImageToGallery:ie,emitRequestEmptyTempFolder:fe}=L8e(i,t);switch(n||(t.on("connect",()=>s()),t.on("disconnect",()=>l()),t.on("error",Se=>u(Se)),t.on("generationResult",Se=>h(Se)),t.on("postprocessingResult",Se=>d(Se)),t.on("intermediateResult",Se=>m(Se)),t.on("progressUpdate",Se=>v(Se)),t.on("galleryImages",Se=>b(Se)),t.on("processingCanceled",()=>{S()}),t.on("imageDeleted",Se=>{k(Se)}),t.on("systemConfig",Se=>{E(Se)}),t.on("foundModels",Se=>{T(Se)}),t.on("newModelAdded",Se=>{A(Se)}),t.on("modelDeleted",Se=>{I(Se)}),t.on("modelChanged",Se=>{_(Se)}),t.on("modelChangeFailed",Se=>{R(Se)}),t.on("tempFolderEmptied",()=>{D()}),n=!0),a.type){case"socketio/generateImage":{j(a.payload);break}case"socketio/runESRGAN":{z(a.payload);break}case"socketio/runFacetool":{V(a.payload);break}case"socketio/deleteImage":{K(a.payload);break}case"socketio/requestImages":{te(a.payload);break}case"socketio/requestNewImages":{q(a.payload);break}case"socketio/cancelProcessing":{$();break}case"socketio/requestSystemConfig":{U();break}case"socketio/searchForModels":{X(a.payload);break}case"socketio/addNewModel":{Z(a.payload);break}case"socketio/deleteModel":{W(a.payload);break}case"socketio/requestModelChange":{Q(a.payload);break}case"socketio/saveStagingAreaImageToGallery":{ie(a.payload);break}case"socketio/requestEmptyTempFolder":{fe();break}}o(a)}},W8e=["cursorPosition","isCanvasInitialized","doesCanvasNeedScaling"].map(e=>`canvas.${e}`),U8e=["currentIteration","currentStatus","currentStep","isCancelable","isConnected","isESRGANAvailable","isGFPGANAvailable","isProcessing","socketId","totalIterations","totalSteps","openModel"].map(e=>`system.${e}`),G8e=["categories","currentCategory","currentImage","currentImageUuid","shouldAutoSwitchToNewImages","shouldHoldGalleryOpen","intermediateImage"].map(e=>`gallery.${e}`),WG=wW({generation:nwe,postprocessing:swe,gallery:Wxe,system:rCe,canvas:Rxe,ui:hCe,lightbox:qxe}),q8e=IW.getPersistConfig({key:"root",storage:MW,rootReducer:WG,blacklist:[...W8e,...U8e,...G8e],debounce:300}),Y8e=zSe(q8e,WG),UG=vSe({reducer:Y8e,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(V8e()),devTools:{actionsDenylist:["canvas/setCursorPosition","canvas/setStageCoordinates","canvas/setStageScale","canvas/setIsDrawing","canvas/setBoundingBoxCoordinates","canvas/setBoundingBoxDimensions","canvas/setIsDrawing","canvas/addPointToCurrentLine"]}}),GG=qSe(UG),SP=w.createContext(null),Me=O5e,he=S5e;let dD;const xP=()=>({setOpenUploader:e=>{e&&(dD=e)},openUploader:dD}),Or=at(e=>e.ui,e=>cP[e.activeTab],{memoizeOptions:{equalityCheck:ke.isEqual}}),K8e=at(e=>e.ui,e=>e.activeTab,{memoizeOptions:{equalityCheck:ke.isEqual}}),mp=at(e=>e.ui,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),fD=e=>async(t,n)=>{const{imageFile:r}=e,i=n(),o=Or(i),a=new FormData;a.append("file",r,r.name),a.append("data",JSON.stringify({kind:"init"}));const l=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:a})).json(),u={uuid:cm(),category:"user",...l};t(sm({image:u,category:"user"})),o==="unifiedCanvas"?t(Dx(u)):o==="img2img"&&t(k0(u))};function X8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:nodes")}),y.jsx("p",{children:e("common:nodesDesc")})]})}const Z8e=()=>{const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress post-processing-work-in-progress",children:[y.jsx("h1",{children:e("common:postProcessing")}),y.jsx("p",{children:e("common:postProcessDesc1")}),y.jsx("p",{children:e("common:postProcessDesc2")}),y.jsx("p",{children:e("common:postProcessDesc3")})]})};function Q8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:training")}),y.jsxs("p",{children:[e("common:trainingDesc1"),y.jsx("br",{}),y.jsx("br",{}),e("common:trainingDesc2")]})]})}function J8e(e){const{i18n:t}=Ve(),n=localStorage.getItem("i18nextLng");N.useEffect(()=>{e()},[e]),N.useEffect(()=>{t.on("languageChanged",()=>{e()})},[e,t,n])}const e_e=yt({displayName:"ImageToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{transform:"matrix(1.10943,0,0,1.10943,-206.981,-213.533)",children:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M688.533,2405.95L542.987,2405.95C349.532,2405.95 192.47,2248.89 192.47,2055.44L192.47,542.987C192.47,349.532 349.532,192.47 542.987,192.47L2527.88,192.47C2721.33,192.47 2878.4,349.532 2878.4,542.987L2878.4,1172.79L3023.94,1172.79C3217.4,1172.79 3374.46,1329.85 3374.46,1523.3C3374.46,1523.3 3374.46,3035.75 3374.46,3035.75C3374.46,3229.21 3217.4,3386.27 3023.94,3386.27L1039.05,3386.27C845.595,3386.27 688.533,3229.21 688.533,3035.75L688.533,2405.95ZM3286.96,2634.37L3286.96,1523.3C3286.96,1378.14 3169.11,1260.29 3023.94,1260.29C3023.94,1260.29 1039.05,1260.29 1039.05,1260.29C893.887,1260.29 776.033,1378.14 776.033,1523.3L776.033,2489.79L1440.94,1736.22L2385.83,2775.59L2880.71,2200.41L3286.96,2634.37ZM2622.05,1405.51C2778.5,1405.51 2905.51,1532.53 2905.51,1688.98C2905.51,1845.42 2778.5,1972.44 2622.05,1972.44C2465.6,1972.44 2338.58,1845.42 2338.58,1688.98C2338.58,1532.53 2465.6,1405.51 2622.05,1405.51ZM2790.9,1172.79L1323.86,1172.79L944.882,755.906L279.97,1509.47L279.97,542.987C279.97,397.824 397.824,279.97 542.987,279.97C542.987,279.97 2527.88,279.97 2527.88,279.97C2673.04,279.97 2790.9,397.824 2790.9,542.987L2790.9,1172.79ZM2125.98,425.197C2282.43,425.197 2409.45,552.213 2409.45,708.661C2409.45,865.11 2282.43,992.126 2125.98,992.126C1969.54,992.126 1842.52,865.11 1842.52,708.661C1842.52,552.213 1969.54,425.197 2125.98,425.197Z"})})}),t_e=yt({displayName:"NodesIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 0,515.578 0,770.787L0,2766.03C0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM3427.88,770.787L3427.88,2766.03C3427.88,2957.53 3272.4,3113.01 3080.9,3113.01C3080.9,3113.01 462.407,3113.01 462.407,3113.01C270.906,3113.01 115.431,2957.53 115.431,2766.03L115.431,770.787C115.431,579.286 270.906,423.812 462.407,423.812L3080.9,423.812C3272.4,423.812 3427.88,579.286 3427.88,770.787ZM1214.23,1130.69L1321.47,1130.69C1324.01,1130.69 1326.54,1130.53 1329.05,1130.2C1329.05,1130.2 1367.3,1125.33 1397.94,1149.8C1421.63,1168.72 1437.33,1204.3 1437.33,1265.48L1437.33,2078.74L1220.99,2078.74C1146.83,2078.74 1086.61,2138.95 1086.61,2213.12L1086.61,2762.46C1086.61,2836.63 1146.83,2896.84 1220.99,2896.84L1770.34,2896.84C1844.5,2896.84 1904.71,2836.63 1904.71,2762.46L1904.71,2213.12C1904.71,2138.95 1844.5,2078.74 1770.34,2078.74L1554,2078.74L1554,1604.84C1625.84,1658.19 1703.39,1658.1 1703.39,1658.1C1703.54,1658.1 1703.69,1658.11 1703.84,1658.11L2362.2,1658.11L2362.2,1874.44C2362.2,1948.61 2422.42,2008.82 2496.58,2008.82L3045.93,2008.82C3120.09,2008.82 3180.3,1948.61 3180.3,1874.44L3180.3,1325.1C3180.3,1250.93 3120.09,1190.72 3045.93,1190.72L2496.58,1190.72C2422.42,1190.72 2362.2,1250.93 2362.2,1325.1L2362.2,1558.97L2362.2,1541.44L1704.23,1541.44C1702.2,1541.37 1650.96,1539.37 1609.51,1499.26C1577.72,1468.49 1554,1416.47 1554,1331.69L1554,1265.48C1554,1153.86 1513.98,1093.17 1470.76,1058.64C1411.24,1011.1 1338.98,1012.58 1319.15,1014.03L1214.23,1014.03L1214.23,796.992C1214.23,722.828 1154.02,662.617 1079.85,662.617L530.507,662.617C456.343,662.617 396.131,722.828 396.131,796.992L396.131,1346.34C396.131,1420.5 456.343,1480.71 530.507,1480.71L1079.85,1480.71C1154.02,1480.71 1214.23,1420.5 1214.23,1346.34L1214.23,1130.69Z"})}),n_e=yt({displayName:"PostprocessingIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M709.477,1596.53L992.591,1275.66L2239.09,2646.81L2891.95,1888.03L3427.88,2460.51L3427.88,994.78C3427.88,954.66 3421.05,916.122 3408.5,880.254L3521.9,855.419C3535.8,899.386 3543.31,946.214 3543.31,994.78L3543.31,2990.02C3543.31,3245.23 3336.11,3452.43 3080.9,3452.43C3080.9,3452.43 462.407,3452.43 462.407,3452.43C207.197,3452.43 -0,3245.23 -0,2990.02L-0,994.78C-0,739.571 207.197,532.373 462.407,532.373L505.419,532.373L504.644,532.546L807.104,600.085C820.223,601.729 832.422,607.722 841.77,617.116C850.131,625.517 855.784,636.21 858.055,647.804L462.407,647.804C270.906,647.804 115.431,803.279 115.431,994.78L115.431,2075.73L-0,2101.5L115.431,2127.28L115.431,2269.78L220.47,2150.73L482.345,2209.21C503.267,2211.83 522.722,2221.39 537.63,2236.37C552.538,2251.35 562.049,2270.9 564.657,2291.93L671.84,2776.17L779.022,2291.93C781.631,2270.9 791.141,2251.35 806.05,2236.37C820.958,2221.39 840.413,2211.83 861.334,2209.21L1353.15,2101.5L861.334,1993.8C840.413,1991.18 820.958,1981.62 806.05,1966.64C791.141,1951.66 781.631,1932.11 779.022,1911.08L709.477,1596.53ZM671.84,1573.09L725.556,2006.07C726.863,2016.61 731.63,2026.4 739.101,2033.91C746.573,2041.42 756.323,2046.21 766.808,2047.53L1197.68,2101.5L766.808,2155.48C756.323,2156.8 746.573,2161.59 739.101,2169.09C731.63,2176.6 726.863,2186.4 725.556,2196.94L671.84,2629.92L618.124,2196.94C616.817,2186.4 612.05,2176.6 604.579,2169.09C597.107,2161.59 587.357,2156.8 576.872,2155.48L146.001,2101.5L576.872,2047.53C587.357,2046.21 597.107,2041.42 604.579,2033.91C612.05,2026.4 616.817,2016.61 618.124,2006.07L671.84,1573.09ZM609.035,1710.36L564.657,1911.08C562.049,1932.11 552.538,1951.66 537.63,1966.64C522.722,1981.62 503.267,1991.18 482.345,1993.8L328.665,2028.11L609.035,1710.36ZM2297.12,938.615L2451.12,973.003C2480.59,976.695 2507.99,990.158 2528.99,1011.26C2549.99,1032.37 2563.39,1059.9 2567.07,1089.52L2672.73,1566.9C2634.5,1580.11 2593.44,1587.29 2550.72,1587.29C2344.33,1587.29 2176.77,1419.73 2176.77,1213.34C2176.77,1104.78 2223.13,1006.96 2297.12,938.615ZM2718.05,76.925L2793.72,686.847C2795.56,701.69 2802.27,715.491 2812.8,726.068C2823.32,736.644 2837.06,743.391 2851.83,745.242L3458.78,821.28L2851.83,897.318C2837.06,899.168 2823.32,905.916 2812.8,916.492C2802.27,927.068 2795.56,940.87 2793.72,955.712L2718.05,1565.63L2642.38,955.712C2640.54,940.87 2633.83,927.068 2623.3,916.492C2612.78,905.916 2599.04,899.168 2584.27,897.318L1977.32,821.28L2584.27,745.242C2599.04,743.391 2612.78,736.644 2623.3,726.068C2633.83,715.491 2640.54,701.69 2642.38,686.847L2718.05,76.925ZM2883.68,1043.06C2909.88,1094.13 2924.67,1152.02 2924.67,1213.34C2924.67,1335.4 2866.06,1443.88 2775.49,1512.14L2869.03,1089.52C2871.07,1073.15 2876.07,1057.42 2883.68,1043.06ZM925.928,201.2L959.611,472.704C960.431,479.311 963.42,485.455 968.105,490.163C972.79,494.871 978.904,497.875 985.479,498.698L1255.66,532.546L985.479,566.395C978.904,567.218 972.79,570.222 968.105,574.93C963.42,579.638 960.431,585.781 959.611,592.388L925.928,863.893L892.245,592.388C891.425,585.781 888.436,579.638 883.751,574.93C879.066,570.222 872.952,567.218 866.378,566.395L596.195,532.546L866.378,498.698C872.952,497.875 879.066,494.871 883.751,490.163C888.436,485.455 891.425,479.311 892.245,472.704L925.928,201.2ZM2864.47,532.373L3080.9,532.373C3258.7,532.373 3413.2,632.945 3490.58,780.281L3319.31,742.773C3257.14,683.925 3173.2,647.804 3080.9,647.804L2927.07,647.804C2919.95,642.994 2913.25,637.473 2907.11,631.298C2886.11,610.194 2872.71,582.655 2869.03,553.04L2864.47,532.373ZM1352.36,532.373L2571.64,532.373L2567.07,553.04C2563.39,582.655 2549.99,610.194 2528.99,631.298C2522.85,637.473 2516.16,642.994 2509.03,647.804L993.801,647.804C996.072,636.21 1001.73,625.517 1010.09,617.116C1019.43,607.722 1031.63,601.729 1044.75,600.085L1353.15,532.546L1352.36,532.373Z"})}),r_e=yt({displayName:"TextToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",transform:"matrix(1.11667,0,0,1.1066,-231.131,-213.062)",children:y.jsx("path",{d:"M2209.59,1137.35L2209.59,1098.17C2177.13,1108.99 2125.74,1121.91 2055.41,1136.94C2054.77,1137.08 2054.14,1137.21 2053.49,1137.35L1662.79,1137.35C1687.75,1101.98 1720.8,1074.35 1761.93,1054.44C1808.52,1031.9 1875.69,1012.22 1963.45,995.386C2081.86,973.146 2163.91,952.409 2209.59,933.174L2209.59,907.929C2209.59,859.241 2197.57,824.529 2173.53,803.792C2149.48,783.054 2104.1,772.686 2037.38,772.686C1992.3,772.686 1957.14,781.552 1931.89,799.284C1906.64,817.015 1886.21,848.121 1870.58,892.601L1640.67,851.127C1666.51,758.56 1710.99,690.037 1774.11,645.557C1837.22,601.077 1930.99,578.837 2055.41,578.837C2168.42,578.837 2252.57,592.211 2307.87,618.959C2363.17,645.707 2402.09,679.668 2424.63,720.842C2447.17,762.016 2458.44,837.602 2458.44,947.6L2456.7,1137.35L3021.34,1137.35C3214.79,1137.35 3371.86,1294.41 3371.86,1487.87C3371.86,1487.87 3371.86,3000.32 3371.86,3000.32C3371.86,3193.78 3214.79,3350.84 3021.34,3350.84C3021.34,3350.84 1036.45,3350.84 1036.45,3350.84C842.991,3350.84 685.93,3193.78 685.93,3000.32L685.93,1487.87C685.93,1400.21 718.174,1320.03 771.448,1258.54L772.123,1257.76L607.408,1257.76L498.311,1558L215.202,1558L730.028,236.22L1012.24,236.22L1373.06,1137.35L2209.59,1137.35ZM3284.36,2598.93L3284.36,1487.87C3284.36,1342.71 3166.5,1224.85 3021.34,1224.85C3021.34,1224.85 1036.45,1224.85 1036.45,1224.85C891.284,1224.85 773.43,1342.71 773.43,1487.87L773.43,2454.35L1438.34,1700.79L2383.22,2740.16L2878.11,2164.98L3284.36,2598.93ZM2619.44,1370.08C2775.89,1370.08 2902.91,1497.1 2902.91,1653.54C2902.91,1809.99 2775.89,1937.01 2619.44,1937.01C2462.99,1937.01 2335.98,1809.99 2335.98,1653.54C2335.98,1497.1 2462.99,1370.08 2619.44,1370.08ZM772.877,1256.89L772.849,1256.93L773.167,1256.57L772.877,1256.89ZM773.634,1256.04L773.563,1256.12L773.985,1255.64L773.634,1256.04ZM774.394,1255.18L774.276,1255.31L774.746,1254.78L774.394,1255.18ZM775.157,1254.32L774.988,1254.51L775.493,1253.95L775.157,1254.32ZM775.923,1253.47L775.698,1253.72L776.237,1253.12L775.923,1253.47ZM776.691,1252.62L776.403,1252.94L776.979,1252.3L776.691,1252.62ZM777.462,1251.77L777.098,1252.17L777.723,1251.49L777.462,1251.77ZM925.081,1155.44C868.026,1174.57 817.508,1207.99 777.775,1251.43C817.511,1207.99 868.031,1174.57 925.081,1155.44ZM925.646,1155.25L925.108,1155.43L926.103,1155.1L925.646,1155.25ZM935.286,1152.2C932.214,1153.12 929.159,1154.09 926.13,1155.09C929.165,1154.09 932.219,1153.12 935.286,1152.2ZM935.716,1152.07L935.384,1152.17L936.292,1151.89L935.716,1152.07ZM936.843,1151.73L936.451,1151.85L937.327,1151.59L936.843,1151.73ZM937.972,1151.4L937.514,1151.53L938.377,1151.28L937.972,1151.4ZM939.102,1151.07L938.57,1151.22L939.438,1150.97L939.102,1151.07ZM940.233,1150.74L939.613,1150.92L940.505,1150.67L940.233,1150.74ZM946.659,1148.98C944.639,1149.51 942.626,1150.07 940.626,1150.63C942.631,1150.06 944.642,1149.51 946.659,1148.98ZM947.056,1148.87L946.829,1148.93L947.659,1148.71L947.056,1148.87ZM948.198,1148.57L947.919,1148.65L948.705,1148.44L948.198,1148.57ZM949.342,1148.28L949.008,1148.37L949.771,1148.17L949.342,1148.28ZM950.488,1147.99L950.096,1148.09L950.848,1147.9L950.488,1147.99ZM951.635,1147.7L951.182,1147.81L951.932,1147.63L951.635,1147.7ZM952.783,1147.42L952.262,1147.55L953.022,1147.36L952.783,1147.42ZM953.933,1147.14L953.327,1147.28L954.115,1147.09L953.933,1147.14ZM958.213,1146.13C956.927,1146.42 955.644,1146.73 954.354,1147.04C955.637,1146.73 956.923,1146.43 958.213,1146.13ZM958.547,1146.06L958.409,1146.09L959.174,1145.91L958.547,1146.06ZM959.704,1145.79L959.517,1145.84L960.229,1145.68L959.704,1145.79ZM960.863,1145.54L960.626,1145.59L961.311,1145.44L960.863,1145.54ZM962.023,1145.28L961.736,1145.35L962.406,1145.2L962.023,1145.28ZM963.184,1145.03L962.846,1145.11L963.508,1144.97L963.184,1145.03ZM964.347,1144.79L963.956,1144.87L964.615,1144.73L964.347,1144.79ZM965.511,1144.55L965.066,1144.64L965.725,1144.5L965.511,1144.55ZM966.677,1144.31L966.172,1144.41L966.838,1144.28L966.677,1144.31ZM967.844,1144.08L967.269,1144.19L967.953,1144.05L967.844,1144.08ZM970.183,1143.62C969.793,1143.69 969.403,1143.77 969.013,1143.85L969.055,1143.84C969.413,1143.77 969.771,1143.7 970.129,1143.63L970.183,1143.62ZM971.354,1143.4L971.245,1143.42L971.882,1143.3L971.354,1143.4ZM972.526,1143.18L972.37,1143.21L972.987,1143.09L972.526,1143.18ZM973.7,1142.96L973.496,1143L974.103,1142.89L973.7,1142.96ZM974.876,1142.75L974.624,1142.8L975.225,1142.69L974.876,1142.75ZM976.052,1142.55L975.754,1142.6L976.349,1142.49L976.052,1142.55ZM977.23,1142.34L976.885,1142.4L977.476,1142.3L977.23,1142.34ZM978.41,1142.14L978.019,1142.21L978.605,1142.11L978.41,1142.14ZM979.59,1141.95L979.156,1142.02L979.736,1141.92L979.59,1141.95ZM980.772,1141.76L980.299,1141.83L980.868,1141.74L980.772,1141.76ZM981.955,1141.57L981.464,1141.65L982.002,1141.56L981.955,1141.57ZM983.14,1141.39L983.1,1141.39L983.605,1141.32L983.14,1141.39ZM984.326,1141.21L984.239,1141.22L984.778,1141.14L984.326,1141.21ZM985.513,1141.03L985.379,1141.05L985.928,1140.97L985.513,1141.03ZM986.702,1140.86L986.521,1140.89L987.073,1140.81L986.702,1140.86ZM987.891,1140.69L987.665,1140.73L988.218,1140.65L987.891,1140.69ZM989.082,1140.53L988.811,1140.57L989.363,1140.49L989.082,1140.53ZM990.275,1140.37L989.96,1140.41L990.508,1140.34L990.275,1140.37ZM991.468,1140.22L991.113,1140.26L991.654,1140.19L991.468,1140.22ZM992.663,1140.07L992.273,1140.12L992.8,1140.05L992.663,1140.07ZM993.859,1139.92L993.447,1139.97L993.948,1139.91L993.859,1139.92ZM995.056,1139.78L994.671,1139.82L995.097,1139.77L995.056,1139.78ZM996.255,1139.64L996.23,1139.64L996.578,1139.6L996.255,1139.64ZM997.454,1139.5L997.383,1139.51L997.852,1139.46L997.454,1139.5ZM998.655,1139.37L998.537,1139.38L999.041,1139.33L998.655,1139.37ZM999.857,1139.24L999.693,1139.26L1000.21,1139.21L999.857,1139.24ZM1001.06,1139.12L1000.85,1139.14L1001.38,1139.09L1001.06,1139.12ZM1002.26,1139L1002.01,1139.03L1002.54,1138.98L1002.26,1139ZM1003.47,1138.89L1003.18,1138.91L1003.7,1138.87L1003.47,1138.89ZM1004.68,1138.78L1004.34,1138.81L1004.86,1138.76L1004.68,1138.78ZM1005.89,1138.67L1005.52,1138.7L1006.02,1138.66L1005.89,1138.67ZM1007.1,1138.57L1006.71,1138.6L1007.18,1138.56L1007.1,1138.57ZM1008.31,1138.47L1007.96,1138.5L1008.35,1138.46L1008.31,1138.47ZM1009.52,1138.37L1009.5,1138.38L1009.72,1138.36L1009.52,1138.37ZM1010.73,1138.28L1010.67,1138.29L1011.1,1138.26L1010.73,1138.28ZM1011.94,1138.2L1011.84,1138.2L1012.32,1138.17L1011.94,1138.2ZM1013.16,1138.12L1013,1138.13L1013.51,1138.09L1013.16,1138.12ZM1014.37,1138.04L1014.17,1138.05L1014.69,1138.02L1014.37,1138.04ZM1015.59,1137.96L1015.35,1137.98L1015.86,1137.95L1015.59,1137.96ZM1016.81,1137.89L1016.52,1137.91L1017.04,1137.88L1016.81,1137.89ZM1018.03,1137.83L1017.7,1137.85L1018.21,1137.82L1018.03,1137.83ZM1019.25,1137.77L1018.89,1137.79L1019.39,1137.76L1019.25,1137.77ZM1020.47,1137.71L1020.1,1137.73L1020.56,1137.71L1020.47,1137.71ZM1021.69,1137.66L1021.36,1137.67L1021.74,1137.66L1021.69,1137.66ZM1022.92,1137.61L1022.91,1137.61L1023.02,1137.61L1022.92,1137.61ZM1024.14,1137.57L1024.09,1137.57L1024.49,1137.55L1024.14,1137.57ZM1025.37,1137.52L1025.27,1137.53L1025.74,1137.51L1025.37,1137.52ZM1026.6,1137.49L1026.45,1137.49L1026.94,1137.48L1026.6,1137.49ZM1027.82,1137.46L1027.63,1137.46L1028.14,1137.45L1027.82,1137.46ZM1029.05,1137.43L1028.81,1137.43L1029.33,1137.42L1029.05,1137.43ZM1030.28,1137.41L1030,1137.41L1030.52,1137.4L1030.28,1137.41ZM1031.51,1137.39L1031.19,1137.39L1031.7,1137.38L1031.51,1137.39ZM1032.75,1137.37L1032.39,1137.38L1032.89,1137.37L1032.75,1137.37ZM1033.98,1137.36L1033.61,1137.36L1034.07,1137.36L1033.98,1137.36ZM1035.21,1137.35L1034.87,1137.36L1035.26,1137.35L1035.21,1137.35ZM1050.1,1035.06L867.977,544.575L689.455,1035.06L1050.1,1035.06Z"})})}),i_e=yt({displayName:"TrainingIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0,768.593L0,2774.71C0,2930.6 78.519,3068.3 198.135,3150.37C273.059,3202.68 364.177,3233.38 462.407,3233.38C462.407,3233.38 3080.9,3233.38 3080.9,3233.38C3179.13,3233.38 3270.25,3202.68 3345.17,3150.37C3464.79,3068.3 3543.31,2930.6 3543.31,2774.71L3543.31,768.593C3543.31,517.323 3339.31,313.324 3088.04,313.324L455.269,313.324C203.999,313.324 0,517.323 0,768.593ZM3427.88,775.73L3427.88,2770.97C3427.88,2962.47 3272.4,3117.95 3080.9,3117.95L462.407,3117.95C270.906,3117.95 115.431,2962.47 115.431,2770.97C115.431,2770.97 115.431,775.73 115.431,775.73C115.431,584.229 270.906,428.755 462.407,428.755C462.407,428.755 3080.9,428.755 3080.9,428.755C3272.4,428.755 3427.88,584.229 3427.88,775.73ZM796.24,1322.76L796.24,1250.45C796.24,1199.03 836.16,1157.27 885.331,1157.27C885.331,1157.27 946.847,1157.27 946.847,1157.27C996.017,1157.27 1035.94,1199.03 1035.94,1250.45L1035.94,1644.81L2507.37,1644.81L2507.37,1250.45C2507.37,1199.03 2547.29,1157.27 2596.46,1157.27C2596.46,1157.27 2657.98,1157.27 2657.98,1157.27C2707.15,1157.27 2747.07,1199.03 2747.07,1250.45L2747.07,1322.76C2756.66,1319.22 2767.02,1317.29 2777.83,1317.29C2777.83,1317.29 2839.34,1317.29 2839.34,1317.29C2888.51,1317.29 2928.43,1357.21 2928.43,1406.38L2928.43,1527.32C2933.51,1526.26 2938.77,1525.71 2944.16,1525.71L2995.3,1525.71C3036.18,1525.71 3069.37,1557.59 3069.37,1596.86C3069.37,1596.86 3069.37,1946.44 3069.37,1946.44C3069.37,1985.72 3036.18,2017.6 2995.3,2017.6C2995.3,2017.6 2944.16,2017.6 2944.16,2017.6C2938.77,2017.6 2933.51,2017.04 2928.43,2015.99L2928.43,2136.92C2928.43,2186.09 2888.51,2226.01 2839.34,2226.01L2777.83,2226.01C2767.02,2226.01 2756.66,2224.08 2747.07,2220.55L2747.07,2292.85C2747.07,2344.28 2707.15,2386.03 2657.98,2386.03C2657.98,2386.03 2596.46,2386.03 2596.46,2386.03C2547.29,2386.03 2507.37,2344.28 2507.37,2292.85L2507.37,1898.5L1035.94,1898.5L1035.94,2292.85C1035.94,2344.28 996.017,2386.03 946.847,2386.03C946.847,2386.03 885.331,2386.03 885.331,2386.03C836.16,2386.03 796.24,2344.28 796.24,2292.85L796.24,2220.55C786.651,2224.08 776.29,2226.01 765.482,2226.01L703.967,2226.01C654.796,2226.01 614.876,2186.09 614.876,2136.92L614.876,2015.99C609.801,2017.04 604.539,2017.6 599.144,2017.6C599.144,2017.6 548.003,2017.6 548.003,2017.6C507.125,2017.6 473.937,1985.72 473.937,1946.44C473.937,1946.44 473.937,1596.86 473.937,1596.86C473.937,1557.59 507.125,1525.71 548.003,1525.71L599.144,1525.71C604.539,1525.71 609.801,1526.26 614.876,1527.32L614.876,1406.38C614.876,1357.21 654.796,1317.29 703.967,1317.29C703.967,1317.29 765.482,1317.29 765.482,1317.29C776.29,1317.29 786.651,1319.22 796.24,1322.76ZM977.604,1250.45C977.604,1232.7 963.822,1218.29 946.847,1218.29L885.331,1218.29C868.355,1218.29 854.573,1232.7 854.573,1250.45L854.573,2292.85C854.573,2310.61 868.355,2325.02 885.331,2325.02L946.847,2325.02C963.822,2325.02 977.604,2310.61 977.604,2292.85L977.604,1250.45ZM2565.7,1250.45C2565.7,1232.7 2579.49,1218.29 2596.46,1218.29L2657.98,1218.29C2674.95,1218.29 2688.73,1232.7 2688.73,1250.45L2688.73,2292.85C2688.73,2310.61 2674.95,2325.02 2657.98,2325.02L2596.46,2325.02C2579.49,2325.02 2565.7,2310.61 2565.7,2292.85L2565.7,1250.45ZM673.209,1406.38L673.209,2136.92C673.209,2153.9 686.991,2167.68 703.967,2167.68L765.482,2167.68C782.458,2167.68 796.24,2153.9 796.24,2136.92L796.24,1406.38C796.24,1389.41 782.458,1375.63 765.482,1375.63L703.967,1375.63C686.991,1375.63 673.209,1389.41 673.209,1406.38ZM2870.1,1406.38L2870.1,2136.92C2870.1,2153.9 2856.32,2167.68 2839.34,2167.68L2777.83,2167.68C2760.85,2167.68 2747.07,2153.9 2747.07,2136.92L2747.07,1406.38C2747.07,1389.41 2760.85,1375.63 2777.83,1375.63L2839.34,1375.63C2856.32,1375.63 2870.1,1389.41 2870.1,1406.38ZM614.876,1577.5C610.535,1574.24 605.074,1572.3 599.144,1572.3L548.003,1572.3C533.89,1572.3 522.433,1583.3 522.433,1596.86L522.433,1946.44C522.433,1960 533.89,1971.01 548.003,1971.01L599.144,1971.01C605.074,1971.01 610.535,1969.07 614.876,1965.81L614.876,1577.5ZM2928.43,1965.81L2928.43,1577.5C2932.77,1574.24 2938.23,1572.3 2944.16,1572.3L2995.3,1572.3C3009.42,1572.3 3020.87,1583.3 3020.87,1596.86L3020.87,1946.44C3020.87,1960 3009.42,1971.01 2995.3,1971.01L2944.16,1971.01C2938.23,1971.01 2932.77,1969.07 2928.43,1965.81ZM2507.37,1703.14L1035.94,1703.14L1035.94,1840.16L2507.37,1840.16L2507.37,1898.38L2507.37,1659.46L2507.37,1703.14Z"})}),o_e=yt({displayName:"UnifiedCanvasIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 -0,515.578 -0,770.787L-0,2766.03C-0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM922.933,3113.01L462.407,3113.01C437.741,3113.01 413.674,3110.43 390.453,3105.52L390.453,2899.11L922.933,2899.11L922.933,3113.01ZM947.933,2899.11L947.933,3113.01L1480.41,3113.01L1480.41,2899.11L947.933,2899.11ZM1505.41,2899.11L1505.41,3113.01L2037.89,3113.01L2037.89,2899.11L1505.41,2899.11ZM2062.89,2899.11L2062.89,3113.01L2595.37,3113.01L2595.37,2899.11L2062.89,2899.11ZM3152.85,3105.52C3129.63,3110.43 3105.57,3113.01 3080.9,3113.01L2620.37,3113.01L2620.37,2899.11L3152.85,2899.11L3152.85,3105.52ZM365.453,3099.26L365.408,3099.24C354.521,3096.07 343.79,3092.37 333.266,3088.14C315.377,3080.95 298.094,3072.26 281.651,3062.2C263.114,3050.85 245.648,3037.77 229.544,3023.17C213.34,3008.49 198.518,2992.28 185.34,2974.83C174.102,2959.94 164.06,2944.16 155.353,2927.66C150.517,2918.5 146.102,2909.13 142.102,2899.57L141.91,2899.11L365.453,2899.11L365.453,3099.26ZM3401.4,2899.11C3361.33,2995.39 3279.12,3069.8 3177.85,3099.26L3177.85,2899.11L3401.4,2899.11ZM132.624,2874.11C121.465,2840.08 115.431,2803.76 115.431,2766.03L115.431,2341.63L365.453,2341.63L365.453,2874.11L132.624,2874.11ZM922.933,918.103L922.933,669.193L390.453,669.193L390.453,1201.67L731.014,1201.67L731.014,1226.67L390.453,1226.67L390.453,1759.15L731.014,1759.15L731.014,1784.15L390.453,1784.15L390.453,2316.63L731.014,2316.63L731.014,2341.63L390.453,2341.63L390.453,2874.11L922.933,2874.11L922.933,2625.2C931.122,2627.1 939.463,2628.6 947.933,2629.66L947.933,2874.11L1480.41,2874.11L1480.41,2631.62L1505.41,2631.62L1505.41,2874.11L2037.89,2874.11L2037.89,2631.62L2062.89,2631.62L2062.89,2874.11L2595.37,2874.11L2595.37,2629.66C2603.85,2628.6 2612.18,2627.1 2620.37,2625.2L2620.37,2874.11L3152.85,2874.11L3152.85,2341.63L2812.29,2341.63L2812.29,2316.63L3152.85,2316.63L3152.85,1784.15L2812.29,1784.15L2812.29,1759.15L3152.85,1759.15L3152.85,1226.67L2812.29,1226.67L2812.29,1201.67L3152.85,1201.67L3152.85,669.193L2620.37,669.193L2620.37,918.103C2612.18,916.203 2603.84,914.708 2595.37,913.642L2595.37,669.193L2062.89,669.193L2062.89,911.688L2037.89,911.688L2037.89,669.193L1505.41,669.193L1505.41,911.688L1480.41,911.688L1480.41,669.193L947.933,669.193L947.933,913.642C939.462,914.708 931.123,916.203 922.933,918.103ZM3427.88,2341.63L3427.88,2766.03C3427.88,2803.76 3421.84,2840.08 3410.68,2874.11L3177.85,2874.11L3177.85,2341.63L3427.88,2341.63ZM2494.01,2603.04L2524.53,2603.04C2541.26,2603.04 2557.62,2601.44 2573.47,2598.39L2598.02,2593.66L2588.56,2544.56L2564.01,2549.29C2551.23,2551.75 2538.03,2553.04 2524.53,2553.04L2494.01,2553.04L2494.01,2603.04ZM1294.01,2603.04L1394.01,2603.04L1394.01,2553.04L1294.01,2553.04L1294.01,2603.04ZM1894.01,2603.04L1994.01,2603.04L1994.01,2553.04L1894.01,2553.04L1894.01,2603.04ZM2194.01,2603.04L2294.01,2603.04L2294.01,2553.04L2194.01,2553.04L2194.01,2603.04ZM1144.01,2603.04L1244.01,2603.04L1244.01,2553.04L1144.01,2553.04L1144.01,2603.04ZM1444.01,2603.04L1544.01,2603.04L1544.01,2553.04L1444.01,2553.04L1444.01,2603.04ZM1594.01,2603.04L1694.01,2603.04L1694.01,2553.04L1594.01,2553.04L1594.01,2603.04ZM2344.01,2603.04L2444.01,2603.04L2444.01,2553.04L2344.01,2553.04L2344.01,2603.04ZM2044.01,2603.04L2144.01,2603.04L2144.01,2553.04L2044.01,2553.04L2044.01,2603.04ZM994.01,2603.04L1094.01,2603.04L1094.01,2553.04L994.01,2553.04L994.01,2603.04ZM1744.01,2603.04L1844.01,2603.04L1844.01,2553.04L1744.01,2553.04L1744.01,2603.04ZM864.145,2551.46C878.835,2562.5 894.741,2572 911.624,2579.74L934.352,2590.15L955.18,2544.7L932.452,2534.28C918.844,2528.05 906.024,2520.39 894.185,2511.49L874.199,2496.47L844.16,2536.44L864.145,2551.46ZM2674.44,2554.92C2689.46,2544.16 2703.28,2531.82 2715.65,2518.14L2732.42,2499.61L2695.35,2466.06L2678.58,2484.6C2668.59,2495.63 2657.44,2505.59 2645.32,2514.28L2625,2528.84L2654.12,2569.48L2674.44,2554.92ZM865.632,1911.31L1339.59,1374.15L2030.89,2134.59L2392.97,1713.77L2677.68,2017.9L2677.68,2324.93C2677.68,2424.23 2597.06,2504.85 2497.76,2504.85C2497.76,2504.85 1045.55,2504.85 1045.55,2504.85C946.251,2504.85 865.632,2424.23 865.632,2324.93L865.632,1911.31ZM771.251,2417.22C776.455,2435.14 783.552,2452.26 792.313,2468.35L804.27,2490.3L848.18,2466.39L836.223,2444.43C829.171,2431.49 823.457,2417.7 819.268,2403.28L812.297,2379.27L764.28,2393.21L771.251,2417.22ZM2770.36,2422.83C2775.83,2405.47 2779.52,2387.33 2781.2,2368.61L2783.43,2343.71L2733.64,2339.24L2731.4,2364.14C2730.05,2379.21 2727.08,2393.82 2722.67,2407.79L2715.15,2431.63L2762.84,2446.67L2770.36,2422.83ZM761.068,2236.12L761.068,2336.12L811.068,2336.12L811.068,2236.12L761.068,2236.12ZM3177.85,1784.15L3177.85,2316.63L3427.88,2316.63L3427.88,1784.15L3177.85,1784.15ZM115.431,1784.15L115.431,2316.63L365.453,2316.63L365.453,1784.15L115.431,1784.15ZM2782.24,2291.41L2782.24,2191.41L2732.24,2191.41L2732.24,2291.41L2782.24,2291.41ZM761.068,2086.12L761.068,2186.12L811.068,2186.12L811.068,2086.12L761.068,2086.12ZM2782.24,2141.41L2782.24,2041.4L2732.24,2041.4L2732.24,2141.41L2782.24,2141.41ZM761.068,1936.12L761.068,2036.12L811.068,2036.12L811.068,1936.12L761.068,1936.12ZM2782.24,1991.4L2782.24,1891.4L2732.24,1891.4L2732.24,1991.4L2782.24,1991.4ZM761.068,1786.12L761.068,1886.12L811.068,1886.12L811.068,1786.12L761.068,1786.12ZM2782.24,1841.4L2782.24,1741.41L2732.24,1741.41L2732.24,1841.4L2782.24,1841.4ZM3177.85,1226.67L3177.85,1759.15L3427.88,1759.15L3427.88,1226.67L3177.85,1226.67ZM115.431,1226.67L115.431,1759.15L365.453,1759.15L365.453,1226.67L115.431,1226.67ZM761.068,1636.12L761.068,1736.12L811.068,1736.12L811.068,1636.12L761.068,1636.12ZM2782.24,1691.41L2782.24,1591.41L2732.24,1591.41L2732.24,1691.41L2782.24,1691.41ZM761.068,1486.12L761.068,1586.12L811.068,1586.12L811.068,1486.12L761.068,1486.12ZM2203.72,1132.2C2318.18,1132.2 2411.11,1225.13 2411.11,1339.59C2411.11,1454.05 2318.18,1546.98 2203.72,1546.98C2089.26,1546.98 1996.33,1454.05 1996.33,1339.59C1996.33,1225.13 2089.26,1132.2 2203.72,1132.2ZM2782.24,1541.41L2782.24,1441.41L2732.24,1441.41L2732.24,1541.41L2782.24,1541.41ZM761.068,1336.12L761.068,1436.12L811.068,1436.12L811.068,1336.12L761.068,1336.12ZM2782.24,1391.41L2782.24,1291.41L2732.24,1291.41L2732.24,1391.41L2782.24,1391.41ZM761.068,1186.12L761.068,1286.12L811.068,1286.12L811.068,1186.12L761.068,1186.12ZM2732.24,1197.98L2732.24,1241.41L2782.24,1241.41L2782.24,1172.98L2781.03,1172.98C2780.06,1162.82 2778.49,1152.83 2776.36,1143.04L2771.04,1118.62L2722.18,1129.24L2727.5,1153.67C2730.61,1167.95 2732.24,1182.78 2732.24,1197.98ZM3412.74,669.193L3412.89,669.694C3414.66,675.5 3416.28,681.348 3417.73,687.238C3420.46,698.265 3422.65,709.427 3424.28,720.67C3425.85,731.554 3426.91,742.513 3427.45,753.497C3427.74,759.256 3427.87,765.021 3427.88,770.787L3427.88,1201.67L3177.85,1201.67L3177.85,669.193L3412.74,669.193ZM115.431,1201.67L115.431,770.787C115.436,765.021 115.572,759.256 115.855,753.497C116.395,742.513 117.453,731.554 119.031,720.67C120.66,709.427 122.844,698.265 125.574,687.238C127.032,681.348 128.65,675.5 130.414,669.694L130.567,669.193L365.453,669.193L365.453,1201.67L115.431,1201.67ZM804.386,1055C794.186,1070.26 785.572,1086.67 778.777,1103.99L769.647,1127.26L816.194,1145.52L825.324,1122.25C830.797,1108.3 837.738,1095.08 845.955,1082.79L859.848,1062L818.279,1034.21L804.386,1055ZM2730.5,1043.14C2719.39,1028.39 2706.73,1014.86 2692.77,1002.81L2673.84,986.48L2641.17,1024.34L2660.1,1040.67C2671.37,1050.39 2681.59,1061.31 2690.56,1073.22L2705.6,1093.19L2745.54,1063.11L2730.5,1043.14ZM933.266,954.821C915.698,961.006 898.998,969.041 883.402,978.694L862.144,991.851L888.457,1034.37L909.715,1021.21C922.275,1013.44 935.723,1006.96 949.871,1001.98L973.452,993.681L956.848,946.518L933.266,954.821ZM2596.18,950.378C2578.71,945.327 2560.49,942.072 2541.72,940.832L2516.78,939.183L2513.48,989.074L2538.43,990.723C2553.54,991.722 2568.22,994.341 2582.28,998.409L2606.3,1005.36L2620.19,957.325L2596.18,950.378ZM2165.09,940.265L2065.09,940.265L2065.09,990.265L2165.09,990.265L2165.09,940.265ZM1865.08,940.265L1765.08,940.265L1765.08,990.265L1865.08,990.265L1865.08,940.265ZM1115.08,940.265L1015.08,940.265L1015.08,990.265L1115.08,990.265L1115.08,940.265ZM2015.09,940.265L1915.09,940.265L1915.09,990.265L2015.09,990.265L2015.09,940.265ZM2315.09,940.265L2215.09,940.265L2215.09,990.265L2315.09,990.265L2315.09,940.265ZM1265.08,940.265L1165.08,940.265L1165.08,990.265L1265.08,990.265L1265.08,940.265ZM1415.08,940.265L1315.08,940.265L1315.08,990.265L1415.08,990.265L1415.08,940.265ZM1565.08,940.265L1465.08,940.265L1465.08,990.265L1565.08,990.265L1565.08,940.265ZM1715.08,940.265L1615.08,940.265L1615.08,990.265L1715.08,990.265L1715.08,940.265ZM2465.09,940.265L2365.09,940.265L2365.09,990.265L2465.09,990.265L2465.09,940.265ZM365.453,437.562L365.453,644.193L139.286,644.193C178.303,544.782 261.917,467.677 365.453,437.562ZM922.933,423.812L922.933,644.193L390.453,644.193L390.453,431.295C413.674,426.391 437.741,423.812 462.407,423.812L922.933,423.812ZM947.933,423.812L947.933,644.193L1480.41,644.193L1480.41,423.812L947.933,423.812ZM1505.41,423.812L1505.41,644.193L2037.89,644.193L2037.89,423.812L1505.41,423.812ZM2062.89,423.812L2062.89,644.193L2595.37,644.193L2595.37,423.812L2062.89,423.812ZM2620.37,423.812L3080.9,423.812C3105.57,423.812 3129.63,426.391 3152.85,431.295L3152.85,644.193L2620.37,644.193L2620.37,423.812ZM3177.85,437.562C3281.38,467.669 3365,544.774 3404.02,644.193L3177.85,644.193L3177.85,437.562Z"})}),Qe=Ae((e,t)=>{const{tooltip:n="",styleClass:r,tooltipProps:i,asCheckbox:o,isChecked:a,...s}=e;return y.jsx(uo,{label:n,hasArrow:!0,...i,...i!=null&&i.placement?{placement:i.placement}:{placement:"top"},children:y.jsx(ss,{ref:t,className:r?`invokeai__icon-button ${r}`:"invokeai__icon-button","data-as-checkbox":o,"data-selected":a!==void 0?a:void 0,...s})})}),cr=Ae((e,t)=>{const{children:n,tooltip:r="",tooltipProps:i,styleClass:o,...a}=e;return y.jsx(uo,{label:r,...i,children:y.jsx(as,{ref:t,className:["invokeai__button",o].join(" "),...a,children:n})})}),Zs=e=>{const{triggerComponent:t,children:n,styleClass:r,hasArrow:i=!0,...o}=e;return y.jsxs(ME,{...o,children:[y.jsx(DE,{children:t}),y.jsxs(RE,{className:`invokeai__popover-content ${r}`,children:[i&&y.jsx(IE,{className:"invokeai__popover-arrow"}),n]})]})},Vx=at(e=>e.lightbox,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),hD=/^-?(0\.)?\.?$/,ra=e=>{const{label:t,labelFontSize:n="sm",styleClass:r,isDisabled:i=!1,showStepper:o=!0,width:a,textAlign:s,isInvalid:l,value:u,onChange:d,min:h,max:m,isInteger:v=!0,formControlProps:b,formLabelProps:S,numberInputFieldProps:k,numberInputStepperProps:E,tooltipProps:_,...T}=e,[A,I]=w.useState(String(u));w.useEffect(()=>{!A.match(hD)&&u!==Number(A)&&I(String(u))},[u,A]);const R=j=>{I(j),j.match(hD)||d(v?Math.floor(Number(j)):Number(j))},D=j=>{const z=ke.clamp(v?Math.floor(Number(j.target.value)):Number(j.target.value),h,m);I(String(z)),d(z)};return y.jsx(uo,{..._,children:y.jsxs(dn,{isDisabled:i,isInvalid:l,className:r?`invokeai__number-input-form-control ${r}`:"invokeai__number-input-form-control",...b,children:[t&&y.jsx(kn,{className:"invokeai__number-input-form-label",style:{display:t?"block":"none"},fontSize:n,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",...S,children:t}),y.jsxs(TE,{className:"invokeai__number-input-root",value:A,min:h,max:m,keepWithinRange:!0,clampValueOnBlur:!1,onChange:R,onBlur:D,width:a,...T,children:[y.jsx(LE,{className:"invokeai__number-input-field",textAlign:s,...k}),o&&y.jsxs("div",{className:"invokeai__number-input-stepper",children:[y.jsx(OE,{...E,className:"invokeai__number-input-stepper-button"}),y.jsx(AE,{...E,className:"invokeai__number-input-stepper-button"})]})]})]})})},tl=e=>{const{label:t,isDisabled:n,validValues:r,tooltip:i,tooltipProps:o,size:a="sm",fontSize:s="sm",styleClass:l,...u}=e;return y.jsxs(dn,{isDisabled:n,className:`invokeai__select ${l}`,onClick:d=>{d.stopPropagation(),d.nativeEvent.stopImmediatePropagation(),d.nativeEvent.stopPropagation(),d.nativeEvent.cancelBubble=!0},children:[t&&y.jsx(kn,{className:"invokeai__select-label",fontSize:s,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",children:t}),y.jsx(uo,{label:i,...o,children:y.jsx(FV,{className:"invokeai__select-picker",fontSize:s,size:a,...u,children:r.map(d=>typeof d=="string"||typeof d=="number"?y.jsx("option",{value:d,className:"invokeai__select-option",children:d},d):y.jsx("option",{value:d.value,className:"invokeai__select-option",children:d.key},d.value))})})]})},Fy=e=>e.postprocessing,ir=e=>e.system,a_e=e=>e.system.toastQueue,qG=at(ir,e=>{const{model_list:t}=e,n=ke.reduce(t,(r,i,o)=>(i.status==="active"&&(r=o),r),"");return{...t[n],name:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),s_e=at([Fy,ir],({facetoolStrength:e,facetoolType:t,codeformerFidelity:n},{isGFPGANAvailable:r})=>({facetoolStrength:e,facetoolType:t,codeformerFidelity:n,isGFPGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wP=()=>{const e=Me(),{facetoolStrength:t,facetoolType:n,codeformerFidelity:r,isGFPGANAvailable:i}=he(s_e),o=u=>e(u8(u)),a=u=>e(xU(u)),s=u=>e(I4(u.target.value)),{t:l}=Ve();return y.jsxs(Ge,{direction:"column",gap:2,children:[y.jsx(tl,{label:l("parameters:type"),validValues:a7e.concat(),value:n,onChange:s}),y.jsx(ra,{isDisabled:!i,label:l("parameters:strength"),step:.05,min:0,max:1,onChange:o,value:t,width:"90px",isInteger:!1}),n==="codeformer"&&y.jsx(ra,{isDisabled:!i,label:l("parameters:codeformerFidelity"),step:.05,min:0,max:1,onChange:a,value:r,width:"90px",isInteger:!1})]})};var YG={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},pD=N.createContext&&N.createContext(YG),Fd=globalThis&&globalThis.__assign||function(){return Fd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{Se(i)},[i]);const Pe=w.useMemo(()=>U!=null&&U.max?U.max:a,[a,U==null?void 0:U.max]),ye=He=>{l(He)},We=He=>{He.target.value===""&&(He.target.value=String(o));const Be=ke.clamp(S?Math.floor(Number(He.target.value)):Number(fe),o,Pe);l(Be)},De=He=>{Se(He)},ot=()=>{I&&I()};return y.jsxs(dn,{className:z?`invokeai__slider-component ${z}`:"invokeai__slider-component","data-markers":h,style:A?{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"1rem",margin:0,padding:0}:{},...V,children:[y.jsx(kn,{className:"invokeai__slider-component-label",...K,children:r}),y.jsxs(wy,{w:"100%",gap:2,alignItems:"center",children:[y.jsxs(jE,{"aria-label":r,value:i,min:o,max:a,step:s,onChange:ye,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),focusThumbOnChange:!1,isDisabled:D,width:u,...ie,children:[h&&y.jsxs(y.Fragment,{children:[y.jsx(G9,{value:o,className:"invokeai__slider-mark invokeai__slider-mark-start",ml:m,...te,children:o}),y.jsx(G9,{value:a,className:"invokeai__slider-mark invokeai__slider-mark-end",ml:v,...te,children:a})]}),y.jsx(ZV,{className:"invokeai__slider_track",...q,children:y.jsx(QV,{className:"invokeai__slider_track-filled"})}),y.jsx(uo,{hasArrow:!0,className:"invokeai__slider-component-tooltip",placement:"top",isOpen:t,label:`${i}${d}`,hidden:T,...W,children:y.jsx(XV,{className:"invokeai__slider-thumb",...$})})]}),b&&y.jsxs(TE,{min:o,max:Pe,step:s,value:fe,onChange:De,onBlur:We,className:"invokeai__slider-number-field",isDisabled:j,...U,children:[y.jsx(LE,{className:"invokeai__slider-number-input",width:k,readOnly:E,minWidth:k,...X}),y.jsxs(IV,{...Z,children:[y.jsx(OE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"}),y.jsx(AE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"})]})]}),_&&y.jsx(Qe,{size:"sm","aria-label":"Reset",tooltip:"Reset",icon:y.jsx(Wx,{}),onClick:ot,isDisabled:R,...Q})]})]})}const g_e=at([Fy,ir],({upscalingLevel:e,upscalingStrength:t,upscalingDenoising:n},{isESRGANAvailable:r})=>({upscalingLevel:e,upscalingDenoising:n,upscalingStrength:t,isESRGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CP=()=>{const e=Me(),{upscalingLevel:t,upscalingStrength:n,upscalingDenoising:r,isESRGANAvailable:i}=he(g_e),{t:o}=Ve(),a=l=>e(wU(Number(l.target.value))),s=l=>e(d8(l));return y.jsxs(Ge,{flexDir:"column",rowGap:"1rem",minWidth:"20rem",children:[y.jsx(tl,{isDisabled:!i,label:o("parameters:scale"),value:t,onChange:a,validValues:o7e}),y.jsx(so,{label:o("parameters:denoisingStrength"),value:r,min:0,max:1,step:.01,onChange:l=>{e(c8(l))},handleReset:()=>e(c8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i}),y.jsx(so,{label:`${o("parameters:upscale")} ${o("parameters:strength")}`,value:n,min:0,max:1,step:.05,onChange:s,handleReset:()=>e(d8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i})]})};var m_e=Object.create,ZG=Object.defineProperty,v_e=Object.getOwnPropertyDescriptor,y_e=Object.getOwnPropertyNames,b_e=Object.getPrototypeOf,S_e=Object.prototype.hasOwnProperty,Ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),x_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of y_e(t))!S_e.call(e,i)&&i!==n&&ZG(e,i,{get:()=>t[i],enumerable:!(r=v_e(t,i))||r.enumerable});return e},QG=(e,t,n)=>(n=e!=null?m_e(b_e(e)):{},x_e(t||!e||!e.__esModule?ZG(n,"default",{value:e,enumerable:!0}):n,e)),w_e=Ue((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n}),JG=Ue((e,t)=>{function n(r,i){return r===i||r!==r&&i!==i}t.exports=n}),Ux=Ue((e,t)=>{var n=JG();function r(i,o){for(var a=i.length;a--;)if(n(i[a][0],o))return a;return-1}t.exports=r}),C_e=Ue((e,t)=>{var n=Ux(),r=Array.prototype,i=r.splice;function o(a){var s=this.__data__,l=n(s,a);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=o}),__e=Ue((e,t)=>{var n=Ux();function r(i){var o=this.__data__,a=n(o,i);return a<0?void 0:o[a][1]}t.exports=r}),k_e=Ue((e,t)=>{var n=Ux();function r(i){return n(this.__data__,i)>-1}t.exports=r}),E_e=Ue((e,t)=>{var n=Ux();function r(i,o){var a=this.__data__,s=n(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=r}),Gx=Ue((e,t)=>{var n=w_e(),r=C_e(),i=__e(),o=k_e(),a=E_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx();function r(){this.__data__=new n,this.size=0}t.exports=r}),T_e=Ue((e,t)=>{function n(r){var i=this.__data__,o=i.delete(r);return this.size=i.size,o}t.exports=n}),L_e=Ue((e,t)=>{function n(r){return this.__data__.get(r)}t.exports=n}),A_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),eq=Ue((e,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),pc=Ue((e,t)=>{var n=eq(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();t.exports=i}),_P=Ue((e,t)=>{var n=pc(),r=n.Symbol;t.exports=r}),O_e=Ue((e,t)=>{var n=_P(),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;function s(l){var u=i.call(l,a),d=l[a];try{l[a]=void 0;var h=!0}catch{}var m=o.call(l);return h&&(u?l[a]=d:delete l[a]),m}t.exports=s}),M_e=Ue((e,t)=>{var n=Object.prototype,r=n.toString;function i(o){return r.call(o)}t.exports=i}),qx=Ue((e,t)=>{var n=_P(),r=O_e(),i=M_e(),o="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;function l(u){return u==null?u===void 0?a:o:s&&s in Object(u)?r(u):i(u)}t.exports=l}),tq=Ue((e,t)=>{function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}t.exports=n}),nq=Ue((e,t)=>{var n=qx(),r=tq(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!r(u))return!1;var d=n(u);return d==o||d==a||d==i||d==s}t.exports=l}),I_e=Ue((e,t)=>{var n=pc(),r=n["__core-js_shared__"];t.exports=r}),R_e=Ue((e,t)=>{var n=I_e(),r=function(){var o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!r&&r in o}t.exports=i}),rq=Ue((e,t)=>{var n=Function.prototype,r=n.toString;function i(o){if(o!=null){try{return r.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}),D_e=Ue((e,t)=>{var n=nq(),r=R_e(),i=tq(),o=rq(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,h=u.hasOwnProperty,m=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(b){if(!i(b)||r(b))return!1;var S=n(b)?m:s;return S.test(o(b))}t.exports=v}),N_e=Ue((e,t)=>{function n(r,i){return r==null?void 0:r[i]}t.exports=n}),L0=Ue((e,t)=>{var n=D_e(),r=N_e();function i(o,a){var s=r(o,a);return n(s)?s:void 0}t.exports=i}),kP=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Map");t.exports=i}),Yx=Ue((e,t)=>{var n=L0(),r=n(Object,"create");t.exports=r}),j_e=Ue((e,t)=>{var n=Yx();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}),B_e=Ue((e,t)=>{function n(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}t.exports=n}),$_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var l=this.__data__;if(n){var u=l[s];return u===r?void 0:u}return o.call(l,s)?l[s]:void 0}t.exports=a}),F_e=Ue((e,t)=>{var n=Yx(),r=Object.prototype,i=r.hasOwnProperty;function o(a){var s=this.__data__;return n?s[a]!==void 0:i.call(s,a)}t.exports=o}),z_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=n&&a===void 0?r:a,this}t.exports=i}),H_e=Ue((e,t)=>{var n=j_e(),r=B_e(),i=$_e(),o=F_e(),a=z_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=H_e(),r=Gx(),i=kP();function o(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=o}),W_e=Ue((e,t)=>{function n(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}t.exports=n}),Kx=Ue((e,t)=>{var n=W_e();function r(i,o){var a=i.__data__;return n(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=r}),U_e=Ue((e,t)=>{var n=Kx();function r(i){var o=n(this,i).delete(i);return this.size-=o?1:0,o}t.exports=r}),G_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).get(i)}t.exports=r}),q_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).has(i)}t.exports=r}),Y_e=Ue((e,t)=>{var n=Kx();function r(i,o){var a=n(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=r}),iq=Ue((e,t)=>{var n=V_e(),r=U_e(),i=G_e(),o=q_e(),a=Y_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx(),r=kP(),i=iq(),o=200;function a(s,l){var u=this.__data__;if(u instanceof n){var d=u.__data__;if(!r||d.length{var n=Gx(),r=P_e(),i=T_e(),o=L_e(),a=A_e(),s=K_e();function l(u){var d=this.__data__=new n(u);this.size=d.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l}),Z_e=Ue((e,t)=>{var n="__lodash_hash_undefined__";function r(i){return this.__data__.set(i,n),this}t.exports=r}),Q_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),J_e=Ue((e,t)=>{var n=iq(),r=Z_e(),i=Q_e();function o(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new n;++s{function n(r,i){for(var o=-1,a=r==null?0:r.length;++o{function n(r,i){return r.has(i)}t.exports=n}),oq=Ue((e,t)=>{var n=J_e(),r=eke(),i=tke(),o=1,a=2;function s(l,u,d,h,m,v){var b=d&o,S=l.length,k=u.length;if(S!=k&&!(b&&k>S))return!1;var E=v.get(l),_=v.get(u);if(E&&_)return E==u&&_==l;var T=-1,A=!0,I=d&a?new n:void 0;for(v.set(l,u),v.set(u,l);++T{var n=pc(),r=n.Uint8Array;t.exports=r}),rke=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=n}),ike=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=a}),o}t.exports=n}),oke=Ue((e,t)=>{var n=_P(),r=nke(),i=JG(),o=oq(),a=rke(),s=ike(),l=1,u=2,d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Map]",b="[object Number]",S="[object RegExp]",k="[object Set]",E="[object String]",_="[object Symbol]",T="[object ArrayBuffer]",A="[object DataView]",I=n?n.prototype:void 0,R=I?I.valueOf:void 0;function D(j,z,V,K,te,q,$){switch(V){case A:if(j.byteLength!=z.byteLength||j.byteOffset!=z.byteOffset)return!1;j=j.buffer,z=z.buffer;case T:return!(j.byteLength!=z.byteLength||!q(new r(j),new r(z)));case d:case h:case b:return i(+j,+z);case m:return j.name==z.name&&j.message==z.message;case S:case E:return j==z+"";case v:var U=a;case k:var X=K&l;if(U||(U=s),j.size!=z.size&&!X)return!1;var Z=$.get(j);if(Z)return Z==z;K|=u,$.set(j,z);var W=o(U(j),U(z),K,te,q,$);return $.delete(j),W;case _:if(R)return R.call(j)==R.call(z)}return!1}t.exports=D}),ake=Ue((e,t)=>{function n(r,i){for(var o=-1,a=i.length,s=r.length;++o{var n=Array.isArray;t.exports=n}),ske=Ue((e,t)=>{var n=ake(),r=EP();function i(o,a,s){var l=a(o);return r(o)?l:n(l,s(o))}t.exports=i}),lke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=r==null?0:r.length,s=0,l=[];++o{function n(){return[]}t.exports=n}),cke=Ue((e,t)=>{var n=lke(),r=uke(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),n(a(l),function(u){return o.call(l,u)}))}:r;t.exports=s}),dke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=Array(r);++o{function n(r){return r!=null&&typeof r=="object"}t.exports=n}),fke=Ue((e,t)=>{var n=qx(),r=Xx(),i="[object Arguments]";function o(a){return r(a)&&n(a)==i}t.exports=o}),hke=Ue((e,t)=>{var n=fke(),r=Xx(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(l){return r(l)&&o.call(l,"callee")&&!a.call(l,"callee")};t.exports=s}),pke=Ue((e,t)=>{function n(){return!1}t.exports=n}),aq=Ue((e,t)=>{var n=pc(),r=pke(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||r;t.exports=u}),gke=Ue((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??n,!!a&&(s=="number"||s!="symbol"&&r.test(o))&&o>-1&&o%1==0&&o{var n=9007199254740991;function r(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}t.exports=r}),mke=Ue((e,t)=>{var n=qx(),r=sq(),i=Xx(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",S="[object Set]",k="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",I="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",K="[object Uint16Array]",te="[object Uint32Array]",q={};q[A]=q[I]=q[R]=q[D]=q[j]=q[z]=q[V]=q[K]=q[te]=!0,q[o]=q[a]=q[_]=q[s]=q[T]=q[l]=q[u]=q[d]=q[h]=q[m]=q[v]=q[b]=q[S]=q[k]=q[E]=!1;function $(U){return i(U)&&r(U.length)&&!!q[n(U)]}t.exports=$}),vke=Ue((e,t)=>{function n(r){return function(i){return r(i)}}t.exports=n}),yke=Ue((e,t)=>{var n=eq(),r=typeof e=="object"&&e&&!e.nodeType&&e,i=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s}),lq=Ue((e,t)=>{var n=mke(),r=vke(),i=yke(),o=i&&i.isTypedArray,a=o?r(o):n;t.exports=a}),bke=Ue((e,t)=>{var n=dke(),r=hke(),i=EP(),o=aq(),a=gke(),s=lq(),l=Object.prototype,u=l.hasOwnProperty;function d(h,m){var v=i(h),b=!v&&r(h),S=!v&&!b&&o(h),k=!v&&!b&&!S&&s(h),E=v||b||S||k,_=E?n(h.length,String):[],T=_.length;for(var A in h)(m||u.call(h,A))&&!(E&&(A=="length"||S&&(A=="offset"||A=="parent")||k&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,T)))&&_.push(A);return _}t.exports=d}),Ske=Ue((e,t)=>{var n=Object.prototype;function r(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||n;return i===a}t.exports=r}),xke=Ue((e,t)=>{function n(r,i){return function(o){return r(i(o))}}t.exports=n}),wke=Ue((e,t)=>{var n=xke(),r=n(Object.keys,Object);t.exports=r}),Cke=Ue((e,t)=>{var n=Ske(),r=wke(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=a}),_ke=Ue((e,t)=>{var n=nq(),r=sq();function i(o){return o!=null&&r(o.length)&&!n(o)}t.exports=i}),kke=Ue((e,t)=>{var n=bke(),r=Cke(),i=_ke();function o(a){return i(a)?n(a):r(a)}t.exports=o}),Eke=Ue((e,t)=>{var n=ske(),r=cke(),i=kke();function o(a){return n(a,i,r)}t.exports=o}),Pke=Ue((e,t)=>{var n=Eke(),r=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,l,u,d,h,m){var v=u&r,b=n(s),S=b.length,k=n(l),E=k.length;if(S!=E&&!v)return!1;for(var _=S;_--;){var T=b[_];if(!(v?T in l:o.call(l,T)))return!1}var A=m.get(s),I=m.get(l);if(A&&I)return A==l&&I==s;var R=!0;m.set(s,l),m.set(l,s);for(var D=v;++_{var n=L0(),r=pc(),i=n(r,"DataView");t.exports=i}),Lke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Promise");t.exports=i}),Ake=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Set");t.exports=i}),Oke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"WeakMap");t.exports=i}),Mke=Ue((e,t)=>{var n=Tke(),r=kP(),i=Lke(),o=Ake(),a=Oke(),s=qx(),l=rq(),u="[object Map]",d="[object Object]",h="[object Promise]",m="[object Set]",v="[object WeakMap]",b="[object DataView]",S=l(n),k=l(r),E=l(i),_=l(o),T=l(a),A=s;(n&&A(new n(new ArrayBuffer(1)))!=b||r&&A(new r)!=u||i&&A(i.resolve())!=h||o&&A(new o)!=m||a&&A(new a)!=v)&&(A=function(I){var R=s(I),D=R==d?I.constructor:void 0,j=D?l(D):"";if(j)switch(j){case S:return b;case k:return u;case E:return h;case _:return m;case T:return v}return R}),t.exports=A}),Ike=Ue((e,t)=>{var n=X_e(),r=oq(),i=oke(),o=Pke(),a=Mke(),s=EP(),l=aq(),u=lq(),d=1,h="[object Arguments]",m="[object Array]",v="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function k(E,_,T,A,I,R){var D=s(E),j=s(_),z=D?m:a(E),V=j?m:a(_);z=z==h?v:z,V=V==h?v:V;var K=z==v,te=V==v,q=z==V;if(q&&l(E)){if(!l(_))return!1;D=!0,K=!1}if(q&&!K)return R||(R=new n),D||u(E)?r(E,_,T,A,I,R):i(E,_,z,T,A,I,R);if(!(T&d)){var $=K&&S.call(E,"__wrapped__"),U=te&&S.call(_,"__wrapped__");if($||U){var X=$?E.value():E,Z=U?_.value():_;return R||(R=new n),I(X,Z,T,A,R)}}return q?(R||(R=new n),o(E,_,T,A,I,R)):!1}t.exports=k}),Rke=Ue((e,t)=>{var n=Ike(),r=Xx();function i(o,a,s,l,u){return o===a?!0:o==null||a==null||!r(o)&&!r(a)?o!==o&&a!==a:n(o,a,s,l,i,u)}t.exports=i}),uq=Ue((e,t)=>{var n=Rke();function r(i,o){return n(i,o)}t.exports=r}),Dke=["ctrl","shift","alt","meta","mod"],Nke={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown"};function IC(e,t=","){return typeof e=="string"?e.split(t):e}function u2(e,t="+"){let n=e.toLocaleLowerCase().split(t).map(o=>o.trim()).map(o=>Nke[o]||o),r={alt:n.includes("alt"),ctrl:n.includes("ctrl"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},i=n.filter(o=>!Dke.includes(o));return{...r,keys:i}}function jke(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function Bke(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function $ke(e){return cq(e,["input","textarea","select"])}function cq({target:e},t=!1){let n=e&&e.tagName;return t instanceof Array?Boolean(n&&t&&t.some(r=>r.toLowerCase()===n.toLowerCase())):Boolean(n&&t&&t===!0)}function Fke(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a '),!0):t?e.some(n=>t.includes(n))||e.includes("*"):!0}var zke=(e,t,n)=>{let{alt:r,ctrl:i,meta:o,mod:a,shift:s,keys:l}=t,{altKey:u,ctrlKey:d,metaKey:h,shiftKey:m,key:v,code:b}=e,S=b.toLowerCase().replace("key",""),k=v.toLowerCase();if(u!==r&&k!=="alt"||m!==s&&k!=="shift")return!1;if(a){if(!h&&!d)return!1}else if(h!==o&&S!=="meta"||d!==i&&S!=="ctrl")return!1;return l&&l.length===1&&(l.includes(k)||l.includes(S))?!0:l?l.every(E=>n.has(E)):!l},Hke=w.createContext(void 0),Vke=()=>w.useContext(Hke),Wke=w.createContext({hotkeys:[],enabledScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),Uke=()=>w.useContext(Wke),Gke=QG(uq());function qke(e){let t=w.useRef(void 0);return(0,Gke.default)(t.current,e)||(t.current=e),t.current}var gD=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()};function Je(e,t,n,r){let i=w.useRef(null),{current:o}=w.useRef(new Set),a=n instanceof Array?r instanceof Array?void 0:r:n,s=n instanceof Array?n:r instanceof Array?r:[],l=w.useCallback(t,[...s]),u=qke(a),{enabledScopes:d}=Uke(),h=Vke();return w.useLayoutEffect(()=>{if((u==null?void 0:u.enabled)===!1||!Fke(d,u==null?void 0:u.scopes))return;let m=S=>{var k;if(!($ke(S)&&!cq(S,u==null?void 0:u.enableOnFormTags))){if(i.current!==null&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){gD(S);return}(k=S.target)!=null&&k.isContentEditable&&!(u!=null&&u.enableOnContentEditable)||IC(e,u==null?void 0:u.splitKey).forEach(E=>{var T;let _=u2(E,u==null?void 0:u.combinationKey);if(zke(S,_,o)||(T=_.keys)!=null&&T.includes("*")){if(jke(S,_,u==null?void 0:u.preventDefault),!Bke(S,_,u==null?void 0:u.enabled)){gD(S);return}l(S,_)}})}},v=S=>{o.add(S.key.toLowerCase()),((u==null?void 0:u.keydown)===void 0&&(u==null?void 0:u.keyup)!==!0||u!=null&&u.keydown)&&m(S)},b=S=>{S.key.toLowerCase()!=="meta"?o.delete(S.key.toLowerCase()):o.clear(),u!=null&&u.keyup&&m(S)};return(i.current||document).addEventListener("keyup",b),(i.current||document).addEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.addHotkey(u2(S,u==null?void 0:u.combinationKey))),()=>{(i.current||document).removeEventListener("keyup",b),(i.current||document).removeEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.removeHotkey(u2(S,u==null?void 0:u.combinationKey)))}},[e,l,u,d]),i}QG(uq());var D8=new Set;function Yke(e){(Array.isArray(e)?e:[e]).forEach(t=>D8.add(u2(t)))}function Kke(e){(Array.isArray(e)?e:[e]).forEach(t=>{var r;let n=u2(t);for(let i of D8)(r=i.keys)!=null&&r.every(o=>{var a;return(a=n.keys)==null?void 0:a.includes(o)})&&D8.delete(i)})}window.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keydown",e=>{Yke(e.key)}),document.addEventListener("keyup",e=>{Kke(e.key)})});function Xke(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}}]})(e)}function Zke(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(e)}function Qke(e){return gt({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}]})(e)}function dq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}]})(e)}function fq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}]})(e)}function Jke(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}]})(e)}function eEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}]})(e)}function hq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}]})(e)}function tEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}]})(e)}function nEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}]})(e)}function PP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function pq(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"}}]})(e)}function o0(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"}}]})(e)}function gq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z"}}]})(e)}function rEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}]})(e)}function TP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function mq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z"}}]})(e)}function iEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z"}}]})(e)}function oEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"}}]})(e)}function vq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M50.75 333.25c-12 12-18.75 28.28-18.75 45.26V424L0 480l32 32 56-32h45.49c16.97 0 33.25-6.74 45.25-18.74l126.64-126.62-128-128L50.75 333.25zM483.88 28.12c-37.47-37.5-98.28-37.5-135.75 0l-77.09 77.09-13.1-13.1c-9.44-9.44-24.65-9.31-33.94 0l-40.97 40.97c-9.37 9.37-9.37 24.57 0 33.94l161.94 161.94c9.44 9.44 24.65 9.31 33.94 0L419.88 288c9.37-9.37 9.37-24.57 0-33.94l-13.1-13.1 77.09-77.09c37.51-37.48 37.51-98.26.01-135.75z"}}]})(e)}function aEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"}}]})(e)}function sEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"}}]})(e)}function yq(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M512 320s-64 92.65-64 128c0 35.35 28.66 64 64 64s64-28.65 64-64-64-128-64-128zm-9.37-102.94L294.94 9.37C288.69 3.12 280.5 0 272.31 0s-16.38 3.12-22.62 9.37l-81.58 81.58L81.93 4.76c-6.25-6.25-16.38-6.25-22.62 0L36.69 27.38c-6.24 6.25-6.24 16.38 0 22.62l86.19 86.18-94.76 94.76c-37.49 37.48-37.49 98.26 0 135.75l117.19 117.19c18.74 18.74 43.31 28.12 67.87 28.12 24.57 0 49.13-9.37 67.87-28.12l221.57-221.57c12.5-12.5 12.5-32.75.01-45.25zm-116.22 70.97H65.93c1.36-3.84 3.57-7.98 7.43-11.83l13.15-13.15 81.61-81.61 58.6 58.6c12.49 12.49 32.75 12.49 45.24 0s12.49-32.75 0-45.24l-58.6-58.6 58.95-58.95 162.44 162.44-48.34 48.34z"}}]})(e)}function lEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.3.9 9 8.5 4.4 13.1z"}}]})(e)}function uEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"}}]})(e)}function cEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"}}]})(e)}function dEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z"}}]})(e)}function bq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"}}]})(e)}function fEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320.67 64c-442.6 0-357.57 384-158.46 384 39.9 0 77.47-20.69 101.42-55.86l25.73-37.79c15.66-22.99 46.97-22.99 62.63 0l25.73 37.79C401.66 427.31 439.23 448 479.13 448c189.86 0 290.63-384-158.46-384zM184 308.36c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05zm272 0c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05z"}}]})(e)}function hEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function Sq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"}}]})(e)}function pEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(e)}function gEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}}]})(e)}function zy(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function mEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z"}}]})(e)}function vEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z"}}]})(e)}function yEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z"}}]})(e)}function LP(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"}}]})(e)}function bEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M64 96H0c0 123.7 100.3 224 224 224v144c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320C288 196.3 187.7 96 64 96zm384-64c-84.2 0-157.4 46.5-195.7 115.2 27.7 30.2 48.2 66.9 59 107.6C424 243.1 512 147.9 512 32h-64z"}}]})(e)}function SEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"}}]})(e)}function mD(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"}}]})(e)}function AP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z"}}]})(e)}function xEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"}}]})(e)}function vp(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"}}]})(e)}function wEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"}}]})(e)}function Zx(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function CEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function OP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}]})(e)}const sn=e=>e.canvas,Mr=at([sn,Or,ir],(e,t,n)=>e.layerState.stagingArea.images.length>0||t==="unifiedCanvas"&&n.isProcessing),xq=e=>e.canvas.layerState.objects.find(W5),yp=e=>e.gallery,_Ee=at([yp,Vx,Mr,Or],(e,t,n,r)=>{const{categories:i,currentCategory:o,currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,galleryWidth:b,shouldUseSingleGalleryColumn:S}=e,{isLightboxOpen:k}=t;return{currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,galleryGridTemplateColumns:S?"auto":`repeat(auto-fill, minmax(${d}px, auto))`,activeTabName:r,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,images:i[o].images,areMoreImagesAvailable:i[o].areMoreImagesAvailable,currentCategory:o,galleryWidth:b,isLightboxOpen:k,isStaging:n,shouldEnableResize:!(k||r==="unifiedCanvas"&&s),shouldUseSingleGalleryColumn:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kEe=at([yp,ir,Vx,Or],(e,t,n,r)=>({mayDeleteImage:t.isConnected&&!t.isProcessing,galleryImageObjectFit:e.galleryImageObjectFit,galleryImageMinimumWidth:e.galleryImageMinimumWidth,shouldUseSingleGalleryColumn:e.shouldUseSingleGalleryColumn,activeTabName:r,isLightboxOpen:n.isLightboxOpen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EEe=at(ir,e=>{const{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}=e;return{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eS=w.forwardRef(({image:e,children:t},n)=>{const{isOpen:r,onOpen:i,onClose:o}=Wh(),a=Me(),{shouldConfirmOnDelete:s,isConnected:l,isProcessing:u}=he(EEe),d=w.useRef(null),h=b=>{b.stopPropagation(),s?i():m()},m=()=>{l&&!u&&e&&a(N8e(e)),o()};Je("delete",()=>{s?i():m()},[e,s,l,u]);const v=b=>a(BU(!b.target.checked));return y.jsxs(y.Fragment,{children:[w.cloneElement(t,{onClick:e?h:void 0,ref:n}),y.jsx(AV,{isOpen:r,leastDestructiveRef:d,onClose:o,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:"Delete image"}),y.jsx(n0,{children:y.jsxs(Ge,{direction:"column",gap:5,children:[y.jsx(fn,{children:"Are you sure? Deleted images will be sent to the Bin. You can restore from there if you wish to."}),y.jsx(dn,{children:y.jsxs(Ge,{alignItems:"center",children:[y.jsx(kn,{mb:0,children:"Don't ask me again"}),y.jsx(BE,{checked:!s,onChange:v})]})})]})}),y.jsxs(yx,{children:[y.jsx(as,{ref:d,onClick:o,className:"modal-close-btn",children:"Cancel"}),y.jsx(as,{colorScheme:"red",onClick:m,ml:3,children:"Delete"})]})]})})})]})});eS.displayName="DeleteImageModal";const PEe=at([ir,yp,Fy,mp,Vx,Or],(e,t,n,r,i,o)=>{const{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u}=e,{upscalingLevel:d,facetoolStrength:h}=n,{isLightboxOpen:m}=i,{shouldShowImageDetails:v}=r,{intermediateImage:b,currentImage:S}=t;return{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u,upscalingLevel:d,facetoolStrength:h,shouldDisableToolbarButtons:Boolean(b)||!S,currentImage:S,shouldShowImageDetails:v,activeTabName:o,isLightboxOpen:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wq=()=>{var z,V,K,te,q,$;const e=Me(),{isProcessing:t,isConnected:n,isGFPGANAvailable:r,isESRGANAvailable:i,upscalingLevel:o,facetoolStrength:a,shouldDisableToolbarButtons:s,shouldShowImageDetails:l,currentImage:u,isLightboxOpen:d,activeTabName:h}=he(PEe),m=Ry(),{t:v}=Ve(),b=()=>{u&&(d&&e(Bm(!1)),e(k0(u)),e(qo("img2img")))},S=async()=>{if(!u)return;const U=await fetch(u.url).then(Z=>Z.blob()),X=[new ClipboardItem({[U.type]:U})];await navigator.clipboard.write(X),m({title:v("toast:imageCopied"),status:"success",duration:2500,isClosable:!0})},k=()=>{navigator.clipboard.writeText(u?window.location.toString()+u.url:"").then(()=>{m({title:v("toast:imageLinkCopied"),status:"success",duration:2500,isClosable:!0})})};Je("shift+i",()=>{u?(b(),m({title:v("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:imageNotLoaded"),description:v("toast:imageNotLoadedDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const E=()=>{var U,X;u&&(u.metadata&&e(aU(u.metadata)),((U=u.metadata)==null?void 0:U.image.type)==="img2img"?e(qo("img2img")):((X=u.metadata)==null?void 0:X.image.type)==="txt2img"&&e(qo("txt2img")))};Je("a",()=>{var U,X;["txt2img","img2img"].includes((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)==null?void 0:X.type)?(E(),m({title:v("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:parametersNotSet"),description:v("toast:parametersNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const _=()=>{u!=null&&u.metadata&&e(Ny(u.metadata.image.seed))};Je("s",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.seed?(_(),m({title:v("toast:seedSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:seedNotSet"),description:v("toast:seedNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const T=()=>{var U,X,Z,W;if((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt){const[Q,ie]=aP((W=(Z=u==null?void 0:u.metadata)==null?void 0:Z.image)==null?void 0:W.prompt);Q&&e(Nx(Q)),e(Q2(ie||""))}};Je("p",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt?(T(),m({title:v("toast:promptSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:promptNotSet"),description:v("toast:promptNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const A=()=>{u&&e(R8e(u))};Je("Shift+U",()=>{i&&!s&&n&&!t&&o?A():m({title:v("toast:upscalingFailed"),status:"error",duration:2500,isClosable:!0})},[u,i,s,n,t,o]);const I=()=>{u&&e(D8e(u))};Je("Shift+R",()=>{r&&!s&&n&&!t&&a?I():m({title:v("toast:faceRestoreFailed"),status:"error",duration:2500,isClosable:!0})},[u,r,s,n,t,a]);const R=()=>e(VU(!l)),D=()=>{u&&(d&&e(Bm(!1)),e(Dx(u)),e(vi(!0)),h!=="unifiedCanvas"&&e(qo("unifiedCanvas")),m({title:v("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0}))};Je("i",()=>{u?R():m({title:v("toast:metadataLoadFailed"),status:"error",duration:2500,isClosable:!0})},[u,l]);const j=()=>{e(Bm(!d))};return y.jsxs("div",{className:"current-image-options",children:[y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":`${v("parameters:sendTo")}...`,icon:y.jsx(SEe,{})}),children:y.jsxs("div",{className:"current-image-send-to-popover",children:[y.jsx(cr,{size:"sm",onClick:b,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToImg2Img")}),y.jsx(cr,{size:"sm",onClick:D,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToUnifiedCanvas")}),y.jsx(cr,{size:"sm",onClick:S,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImage")}),y.jsx(cr,{size:"sm",onClick:k,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImageToLink")}),y.jsx(Nh,{download:!0,href:u==null?void 0:u.url,children:y.jsx(cr,{leftIcon:y.jsx(TP,{}),size:"sm",w:"100%",children:v("parameters:downloadImage")})})]})}),y.jsx(Qe,{icon:y.jsx(oEe,{}),tooltip:d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"aria-label":d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"data-selected":d,onClick:j})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{icon:y.jsx(mEe,{}),tooltip:`${v("parameters:usePrompt")} (P)`,"aria-label":`${v("parameters:usePrompt")} (P)`,isDisabled:!((V=(z=u==null?void 0:u.metadata)==null?void 0:z.image)!=null&&V.prompt),onClick:T}),y.jsx(Qe,{icon:y.jsx(bEe,{}),tooltip:`${v("parameters:useSeed")} (S)`,"aria-label":`${v("parameters:useSeed")} (S)`,isDisabled:!((te=(K=u==null?void 0:u.metadata)==null?void 0:K.image)!=null&&te.seed),onClick:_}),y.jsx(Qe,{icon:y.jsx(tEe,{}),tooltip:`${v("parameters:useAll")} (A)`,"aria-label":`${v("parameters:useAll")} (A)`,isDisabled:!["txt2img","img2img"].includes(($=(q=u==null?void 0:u.metadata)==null?void 0:q.image)==null?void 0:$.type),onClick:E})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(lEe,{}),"aria-label":v("parameters:restoreFaces")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(wP,{}),y.jsx(cr,{isDisabled:!r||!u||!(n&&!t)||!a,onClick:I,children:v("parameters:restoreFaces")})]})}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(iEe,{}),"aria-label":v("parameters:upscale")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(CP,{}),y.jsx(cr,{isDisabled:!i||!u||!(n&&!t)||!o,onClick:A,children:v("parameters:upscaleImage")})]})})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(Qe,{icon:y.jsx(pq,{}),tooltip:`${v("parameters:info")} (I)`,"aria-label":`${v("parameters:info")} (I)`,"data-selected":l,onClick:R})}),y.jsx(eS,{image:u,children:y.jsx(Qe,{icon:y.jsx(vp,{}),tooltip:`${v("parameters:deleteImage")} (Del)`,"aria-label":`${v("parameters:deleteImage")} (Del)`,isDisabled:!u||!n||t,style:{backgroundColor:"var(--btn-delete-image)"}})})]})};yt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});yt({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});yt({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});yt({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});yt({displayName:"SunIcon",path:N.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},N.createElement("circle",{cx:"12",cy:"12",r:"5"}),N.createElement("path",{d:"M12 1v2"}),N.createElement("path",{d:"M12 21v2"}),N.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),N.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),N.createElement("path",{d:"M1 12h2"}),N.createElement("path",{d:"M21 12h2"}),N.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),N.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});yt({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});yt({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:N.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});yt({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});yt({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});yt({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});yt({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});yt({displayName:"ViewIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),N.createElement("circle",{cx:"12",cy:"12",r:"2"}))});yt({displayName:"ViewOffIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),N.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});yt({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});var TEe=yt({displayName:"DeleteIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});yt({displayName:"RepeatIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),N.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});yt({displayName:"RepeatClockIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),N.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});var LEe=yt({displayName:"EditIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),N.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});yt({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});yt({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});yt({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});yt({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});yt({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});yt({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});yt({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});yt({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});yt({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});var Cq=yt({displayName:"ExternalLinkIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),N.createElement("path",{d:"M15 3h6v6"}),N.createElement("path",{d:"M10 14L21 3"}))});yt({displayName:"LinkIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),N.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});yt({displayName:"PlusSquareIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),N.createElement("path",{d:"M12 8v8"}),N.createElement("path",{d:"M8 12h8"}))});yt({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});yt({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});yt({displayName:"TimeIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),N.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});yt({displayName:"ArrowRightIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),N.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});yt({displayName:"ArrowLeftIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),N.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});yt({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});yt({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});yt({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});yt({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});yt({displayName:"EmailIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),N.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});yt({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});yt({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});yt({displayName:"SpinnerIcon",path:N.createElement(N.Fragment,null,N.createElement("defs",null,N.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},N.createElement("stop",{stopColor:"currentColor",offset:"0%"}),N.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),N.createElement("g",{transform:"translate(2)",fill:"none"},N.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),N.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),N.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});yt({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});yt({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:N.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});yt({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});yt({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});yt({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});yt({displayName:"InfoOutlineIcon",path:N.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},N.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),N.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),N.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});yt({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});yt({displayName:"QuestionOutlineIcon",path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});yt({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});yt({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});yt({viewBox:"0 0 14 14",path:N.createElement("g",{fill:"currentColor"},N.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});yt({displayName:"MinusIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});yt({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});function AEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M245.09 327.74v-37.32c57.07 0 84.51 13.47 108.58 38.68 5.4 5.65 15 1.32 14.29-6.43-5.45-61.45-34.14-117.09-122.87-117.09v-37.32a8.32 8.32 0 00-14.05-6L146.58 242a8.2 8.2 0 000 11.94L231 333.71a8.32 8.32 0 0014.09-5.97z"}},{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}}]})(e)}const Qn=({label:e,value:t,onClick:n,isLink:r,labelPosition:i,withCopy:o=!1})=>y.jsxs(Ge,{gap:2,children:[n&&y.jsx(uo,{label:`Recall ${e}`,children:y.jsx(ss,{"aria-label":"Use this parameter",icon:y.jsx(AEe,{}),size:"xs",variant:"ghost",fontSize:20,onClick:n})}),o&&y.jsx(uo,{label:`Copy ${e}`,children:y.jsx(ss,{"aria-label":`Copy ${e}`,icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(t.toString())})}),y.jsxs(Ge,{direction:i?"column":"row",children:[y.jsxs(fn,{fontWeight:"semibold",whiteSpace:"pre-wrap",pr:2,children:[e,":"]}),r?y.jsxs(Nh,{href:t.toString(),isExternal:!0,wordBreak:"break-all",children:[t.toString()," ",y.jsx(Cq,{mx:"2px"})]}):y.jsx(fn,{overflowY:"scroll",wordBreak:"break-all",children:t.toString()})]})]}),OEe=(e,t)=>e.image.uuid===t.image.uuid,MP=w.memo(({image:e,styleClass:t})=>{var V,K;const n=Me();Je("esc",()=>{n(VU(!1))});const r=((V=e==null?void 0:e.metadata)==null?void 0:V.image)||{},i=e==null?void 0:e.dreamPrompt,{cfg_scale:o,fit:a,height:s,hires_fix:l,init_image_path:u,mask_image_path:d,orig_path:h,perlin:m,postprocessing:v,prompt:b,sampler:S,seamless:k,seed:E,steps:_,strength:T,denoise_str:A,threshold:I,type:R,variations:D,width:j}=r,z=JSON.stringify(e.metadata,null,2);return y.jsx("div",{className:`image-metadata-viewer ${t}`,children:y.jsxs(Ge,{gap:1,direction:"column",width:"100%",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(fn,{fontWeight:"semibold",children:"File:"}),y.jsxs(Nh,{href:e.url,isExternal:!0,maxW:"calc(100% - 3rem)",children:[e.url.length>64?e.url.substring(0,64).concat("..."):e.url,y.jsx(Cq,{mx:"2px"})]})]}),Object.keys(r).length>0?y.jsxs(y.Fragment,{children:[R&&y.jsx(Qn,{label:"Generation type",value:R}),((K=e.metadata)==null?void 0:K.model_weights)&&y.jsx(Qn,{label:"Model",value:e.metadata.model_weights}),["esrgan","gfpgan"].includes(R)&&y.jsx(Qn,{label:"Original image",value:h}),b&&y.jsx(Qn,{label:"Prompt",labelPosition:"top",value:i2(b),onClick:()=>n(Nx(b))}),E!==void 0&&y.jsx(Qn,{label:"Seed",value:E,onClick:()=>n(Ny(E))}),I!==void 0&&y.jsx(Qn,{label:"Noise Threshold",value:I,onClick:()=>n(vU(I))}),m!==void 0&&y.jsx(Qn,{label:"Perlin Noise",value:m,onClick:()=>n(dU(m))}),S&&y.jsx(Qn,{label:"Sampler",value:S,onClick:()=>n(fU(S))}),_&&y.jsx(Qn,{label:"Steps",value:_,onClick:()=>n(mU(_))}),o!==void 0&&y.jsx(Qn,{label:"CFG scale",value:o,onClick:()=>n(sU(o))}),D&&D.length>0&&y.jsx(Qn,{label:"Seed-weight pairs",value:Y5(D),onClick:()=>n(pU(Y5(D)))}),k&&y.jsx(Qn,{label:"Seamless",value:k,onClick:()=>n(hU(k))}),l&&y.jsx(Qn,{label:"High Resolution Optimization",value:l,onClick:()=>n(lP(l))}),j&&y.jsx(Qn,{label:"Width",value:j,onClick:()=>n(yU(j))}),s&&y.jsx(Qn,{label:"Height",value:s,onClick:()=>n(lU(s))}),u&&y.jsx(Qn,{label:"Initial image",value:u,isLink:!0,onClick:()=>n(k0(u))}),d&&y.jsx(Qn,{label:"Mask image",value:d,isLink:!0,onClick:()=>n(cU(d))}),R==="img2img"&&T&&y.jsx(Qn,{label:"Image to image strength",value:T,onClick:()=>n(l8(T))}),a&&y.jsx(Qn,{label:"Image to image fit",value:a,onClick:()=>n(gU(a))}),v&&v.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Dh,{size:"sm",children:"Postprocessing"}),v.map((te,q)=>{if(te.type==="esrgan"){const{scale:$,strength:U,denoise_str:X}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Upscale (ESRGAN)`}),y.jsx(Qn,{label:"Scale",value:$,onClick:()=>n(wU($))}),y.jsx(Qn,{label:"Strength",value:U,onClick:()=>n(d8(U))}),X!==void 0&&y.jsx(Qn,{label:"Denoising strength",value:X,onClick:()=>n(c8(X))})]},q)}else if(te.type==="gfpgan"){const{strength:$}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (GFPGAN)`}),y.jsx(Qn,{label:"Strength",value:$,onClick:()=>{n(u8($)),n(I4("gfpgan"))}})]},q)}else if(te.type==="codeformer"){const{strength:$,fidelity:U}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (Codeformer)`}),y.jsx(Qn,{label:"Strength",value:$,onClick:()=>{n(u8($)),n(I4("codeformer"))}}),U&&y.jsx(Qn,{label:"Fidelity",value:U,onClick:()=>{n(xU(U)),n(I4("codeformer"))}})]},q)}})]}),i&&y.jsx(Qn,{withCopy:!0,label:"Dream Prompt",value:i}),y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(uo,{label:"Copy metadata JSON",children:y.jsx(ss,{"aria-label":"Copy metadata JSON",icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(z)})}),y.jsx(fn,{fontWeight:"semibold",children:"Metadata JSON:"})]}),y.jsx("div",{className:"image-json-viewer",children:y.jsx("pre",{children:z})})]})]}):y.jsx(uF,{width:"100%",pt:10,children:y.jsx(fn,{fontSize:"lg",fontWeight:"semibold",children:"No metadata available"})})]})})},OEe);MP.displayName="ImageMetadataViewer";const _q=at([yp,mp],(e,t)=>{const{currentCategory:n,currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t,a=e.categories[r?r.category:"result"].images,s=a.findIndex(u=>{var d;return u.uuid===((d=e==null?void 0:e.currentImage)==null?void 0:d.uuid)}),l=a.length;return{imageToDisplay:i||r,isIntermediate:Boolean(i),viewerImageToDisplay:r,currentCategory:n,isOnFirstImage:s===0,isOnLastImage:!isNaN(s)&&s===l-1,shouldShowImageDetails:o,shouldShowPrevImageButton:s===0,shouldShowNextImageButton:!isNaN(s)&&s===l-1}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function MEe(){const e=Me(),{isOnFirstImage:t,isOnLastImage:n,shouldShowImageDetails:r,imageToDisplay:i,isIntermediate:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return y.jsxs("div",{className:"current-image-preview",children:[i&&y.jsx(KS,{src:i.url,width:i.width,height:i.height,style:{imageRendering:o?"pixelated":"initial"}}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!t&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!n&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),r&&i&&y.jsx(MP,{image:i,styleClass:"current-image-metadata"})]})}var IEe=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof a>"u"?void 0:Number(a)}},FEe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],xD="__resizable_base__",kq=function(e){NEe(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(xD):o.className+=xD,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||jEe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,a=this.resizable.style.position;a!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=a}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&n.propsSize[s].toString().endsWith("%")){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var l=n.getParentSize(),u=Number(n.state[s].toString().replace("px","")),d=u/l[s]*100;return d+"%"}return RC(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?RC(r.width):i("width"),a=r&&typeof r.height<"u"&&!this.state.isResizing?RC(r.height):i("height");return{width:o,height:a}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,a=i&&Ng("left",o),s=i&&Ng("top",o),l,u;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=a?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(n=n&&n"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,v=typeof i.height>"u"||i.height<0?r:i.height,b=l||0,S=u||0;if(s){var k=(m-b)*this.ratio+S,E=(v-b)*this.ratio+S,_=(d-S)/this.ratio+b,T=(h-S)/this.ratio+b,A=Math.max(d,k),I=Math.min(h,E),R=Math.max(m,_),D=Math.min(v,T);n=Wb(n,A,I),r=Wb(r,R,D)}else n=Wb(n,d,h),r=Wb(r,m,v);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),a=o.left,s=o.top,l=o.right,u=o.bottom;this.resizableLeft=a,this.resizableRight=l,this.resizableTop=s,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&BEe(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ub(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var a=this.props.onResizeStart(n,r,this.resizable);if(a===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var u=this.parentNode;if(u){var d=this.window.getComputedStyle(u).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ub(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,a=i.maxHeight,s=i.minWidth,l=i.minHeight,u=Ub(n)?n.touches[0].clientX:n.clientX,d=Ub(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,v=h.original,b=h.width,S=h.height,k=this.getParentSize(),E=$Ee(k,this.window.innerWidth,this.window.innerHeight,o,a,s,l);o=E.maxWidth,a=E.maxHeight,s=E.minWidth,l=E.minHeight;var _=this.calculateNewSizeFromDirection(u,d),T=_.newHeight,A=_.newWidth,I=this.calculateNewMaxFromBoundary(o,a);this.props.snap&&this.props.snap.x&&(A=SD(A,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(T=SD(T,this.props.snap.y,this.props.snapGap));var R=this.calculateNewSizeFromAspectRatio(A,T,{width:I.maxWidth,height:I.maxHeight},{width:s,height:l});if(A=R.newWidth,T=R.newHeight,this.props.grid){var D=bD(A,this.props.grid[0]),j=bD(T,this.props.grid[1]),z=this.props.snapGap||0;A=z===0||Math.abs(D-A)<=z?D:A,T=z===0||Math.abs(j-T)<=z?j:T}var V={width:A-v.width,height:T-v.height};if(b&&typeof b=="string"){if(b.endsWith("%")){var K=A/k.width*100;A=K+"%"}else if(b.endsWith("vw")){var te=A/this.window.innerWidth*100;A=te+"vw"}else if(b.endsWith("vh")){var q=A/this.window.innerHeight*100;A=q+"vh"}}if(S&&typeof S=="string"){if(S.endsWith("%")){var K=T/k.height*100;T=K+"%"}else if(S.endsWith("vw")){var te=T/this.window.innerWidth*100;T=te+"vw"}else if(S.endsWith("vh")){var q=T/this.window.innerHeight*100;T=q+"vh"}}var $={width:this.createSizeForCssProperty(A,"width"),height:this.createSizeForCssProperty(T,"height")};this.flexDir==="row"?$.flexBasis=$.width:this.flexDir==="column"&&($.flexBasis=$.height),Qs.flushSync(function(){r.setState($)}),this.props.onResize&&this.props.onResize(n,m,this.resizable,V)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,a=r.original;if(!(!i||!this.resizable)){var s={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,a=r.handleClasses,s=r.handleWrapperStyle,l=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?w.createElement(DEe,{key:h,direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:a&&a[h]},u&&u[h]?u[h]:null):null});return w.createElement("div",{className:l,style:s},d)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(a,s){return FEe.indexOf(s)!==-1||(a[s]=n.props[s]),a},{}),i=Nl(Nl(Nl({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return w.createElement(o,Nl({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&w.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(w.PureComponent);const er=e=>{const{label:t,styleClass:n,...r}=e;return y.jsx(Q$,{className:`invokeai__checkbox ${n}`,...r,children:t})};function Eq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z"}}]})(e)}function Pq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146zm.122 2.112v-.002.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.507 4.507 0 0 0-.288-.076 4.922 4.922 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.924 4.924 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343a1.779 1.779 0 0 0 .062.46z"}}]})(e)}function zEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"}}]})(e)}function HEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}}]})(e)}function VEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function WEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function Tq(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function UEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function GEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function qEe(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function YEe(e,t){e.classList?e.classList.add(t):qEe(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function KEe(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wD(e.className,t):e.setAttribute("class",wD(e.className&&e.className.baseVal||"",t))}const CD={disabled:!1},Lq=N.createContext(null);var Aq=function(t){return t.scrollTop},Mv="unmounted",ph="exited",gh="entering",zg="entered",N8="exiting",gc=function(e){yE(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ph,o.appearStatus=gh):l=zg:r.unmountOnExit||r.mountOnEnter?l=Mv:l=ph,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Mv?{status:ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==gh&&a!==zg&&(o=gh):(a===gh||a===zg)&&(o=N8)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===gh){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this);a&&Aq(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ph&&this.setState({status:Mv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[vb.findDOMNode(this),s],u=l[0],d=l[1],h=this.getTimeouts(),m=s?h.appear:h.enter;if(!i&&!a||CD.disabled){this.safeSetState({status:zg},function(){o.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:gh},function(){o.props.onEntering(u,d),o.onTransitionEnd(m,function(){o.safeSetState({status:zg},function(){o.props.onEntered(u,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:vb.findDOMNode(this);if(!o||CD.disabled){this.safeSetState({status:ph},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:N8},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ph},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Mv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=gE(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(Lq.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);gc.contextType=Lq;gc.propTypes={};function jg(){}gc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jg,onEntering:jg,onEntered:jg,onExit:jg,onExiting:jg,onExited:jg};gc.UNMOUNTED=Mv;gc.EXITED=ph;gc.ENTERING=gh;gc.ENTERED=zg;gc.EXITING=N8;const XEe=gc;var ZEe=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return YEe(t,r)})},DC=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return KEe(t,r)})},IP=function(e){yE(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;ab,Object.values(b));return w.createElement(S.Provider,{value:k},v)}function d(h,m){const v=(m==null?void 0:m[e][l])||s,b=w.useContext(v);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const i=()=>{const o=n.map(a=>w.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,QEe(i,...t)]}function QEe(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const h=l(o)[`__scope${u}`];return{...s,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function JEe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Mq(...e){return t=>e.forEach(n=>JEe(n,t))}function fs(...e){return w.useCallback(Mq(...e),e)}const oy=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(tPe);if(o){const a=o.props.children,s=i.map(l=>l===o?w.Children.count(a)>1?w.Children.only(null):w.isValidElement(a)?a.props.children:null:l);return w.createElement(j8,bn({},r,{ref:t}),w.isValidElement(a)?w.cloneElement(a,void 0,s):null)}return w.createElement(j8,bn({},r,{ref:t}),n)});oy.displayName="Slot";const j8=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...nPe(r,n.props),ref:Mq(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});j8.displayName="SlotClone";const ePe=({children:e})=>w.createElement(w.Fragment,null,e);function tPe(e){return w.isValidElement(e)&&e.type===ePe}function nPe(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{o(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const rPe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ac=rPe.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:o,...a}=r,s=o?oy:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,bn({},a,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Iq(e,t){e&&Qs.flushSync(()=>e.dispatchEvent(t))}function Rq(e){const t=e+"CollectionProvider",[n,r]=Hy(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:b,children:S}=v,k=N.useRef(null),E=N.useRef(new Map).current;return N.createElement(i,{scope:b,itemMap:E,collectionRef:k},S)},s=e+"CollectionSlot",l=N.forwardRef((v,b)=>{const{scope:S,children:k}=v,E=o(s,S),_=fs(b,E.collectionRef);return N.createElement(oy,{ref:_},k)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",h=N.forwardRef((v,b)=>{const{scope:S,children:k,...E}=v,_=N.useRef(null),T=fs(b,_),A=o(u,S);return N.useEffect(()=>(A.itemMap.set(_,{ref:_,...E}),()=>void A.itemMap.delete(_))),N.createElement(oy,{[d]:"",ref:T},k)});function m(v){const b=o(e+"CollectionConsumer",v);return N.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const E=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,I)=>E.indexOf(A.ref.current)-E.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},m,r]}const iPe=w.createContext(void 0);function Dq(e){const t=w.useContext(iPe);return e||t||"ltr"}function uu(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function oPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const B8="dismissableLayer.update",aPe="dismissableLayer.pointerDownOutside",sPe="dismissableLayer.focusOutside";let _D;const lPe=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uPe=w.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=w.useContext(lPe),[h,m]=w.useState(null),v=(n=h==null?void 0:h.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,b]=w.useState({}),S=fs(t,j=>m(j)),k=Array.from(d.layers),[E]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=k.indexOf(E),T=h?k.indexOf(h):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,I=T>=_,R=cPe(j=>{const z=j.target,V=[...d.branches].some(K=>K.contains(z));!I||V||(o==null||o(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),D=dPe(j=>{const z=j.target;[...d.branches].some(K=>K.contains(z))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return oPe(j=>{T===d.layers.size-1&&(i==null||i(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),w.useEffect(()=>{if(h)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(_D=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),kD(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=_D)}},[h,v,r,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),kD())},[h,d]),w.useEffect(()=>{const j=()=>b({});return document.addEventListener(B8,j),()=>document.removeEventListener(B8,j)},[]),w.createElement(ac.div,bn({},u,{ref:S,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:rr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:rr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:rr(e.onPointerDownCapture,R.onPointerDownCapture)}))});function cPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let u=function(){Nq(aPe,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function dPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Nq(sPe,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kD(){const e=new CustomEvent(B8);document.dispatchEvent(e)}function Nq(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Iq(i,o):i.dispatchEvent(o)}let NC=0;function fPe(){w.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ED()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ED()),NC++,()=>{NC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),NC--}},[])}function ED(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const jC="focusScope.autoFocusOnMount",BC="focusScope.autoFocusOnUnmount",PD={bubbles:!1,cancelable:!0},hPe=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=w.useState(null),u=uu(i),d=uu(o),h=w.useRef(null),m=fs(t,S=>l(S)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let S=function(E){if(v.paused||!s)return;const _=E.target;s.contains(_)?h.current=_:mh(h.current,{select:!0})},k=function(E){v.paused||!s||s.contains(E.relatedTarget)||mh(h.current,{select:!0})};return document.addEventListener("focusin",S),document.addEventListener("focusout",k),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k)}}},[r,s,v.paused]),w.useEffect(()=>{if(s){LD.add(v);const S=document.activeElement;if(!s.contains(S)){const E=new CustomEvent(jC,PD);s.addEventListener(jC,u),s.dispatchEvent(E),E.defaultPrevented||(pPe(bPe(jq(s)),{select:!0}),document.activeElement===S&&mh(s))}return()=>{s.removeEventListener(jC,u),setTimeout(()=>{const E=new CustomEvent(BC,PD);s.addEventListener(BC,d),s.dispatchEvent(E),E.defaultPrevented||mh(S??document.body,{select:!0}),s.removeEventListener(BC,d),LD.remove(v)},0)}}},[s,u,d,v]);const b=w.useCallback(S=>{if(!n&&!r||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,E=document.activeElement;if(k&&E){const _=S.currentTarget,[T,A]=gPe(_);T&&A?!S.shiftKey&&E===A?(S.preventDefault(),n&&mh(T,{select:!0})):S.shiftKey&&E===T&&(S.preventDefault(),n&&mh(A,{select:!0})):E===_&&S.preventDefault()}},[n,r,v.paused]);return w.createElement(ac.div,bn({tabIndex:-1},a,{ref:m,onKeyDown:b}))});function pPe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mh(r,{select:t}),document.activeElement!==n)return}function gPe(e){const t=jq(e),n=TD(t,e),r=TD(t.reverse(),e);return[n,r]}function jq(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function TD(e,t){for(const n of e)if(!mPe(n,{upTo:t}))return n}function mPe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vPe(e){return e instanceof HTMLInputElement&&"select"in e}function mh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&vPe(e)&&t&&e.select()}}const LD=yPe();function yPe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=AD(e,t),e.unshift(t)},remove(t){var n;e=AD(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function AD(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function bPe(e){return e.filter(t=>t.tagName!=="A")}const a0=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:()=>{},SPe=XC["useId".toString()]||(()=>{});let xPe=0;function wPe(e){const[t,n]=w.useState(SPe());return a0(()=>{e||n(r=>r??String(xPe++))},[e]),e||(t?`radix-${t}`:"")}function A0(e){return e.split("-")[0]}function Qx(e){return e.split("-")[1]}function O0(e){return["top","bottom"].includes(A0(e))?"x":"y"}function RP(e){return e==="y"?"height":"width"}function OD(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=O0(t),l=RP(s),u=r[l]/2-i[l]/2,d=s==="x";let h;switch(A0(t)){case"top":h={x:o,y:r.y-i.height};break;case"bottom":h={x:o,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(Qx(t)){case"start":h[s]-=u*(n&&d?-1:1);break;case"end":h[s]+=u*(n&&d?-1:1)}return h}const CPe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=OD(l,r,s),h=r,m={},v=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=Bq(r),d={x:i,y:o},h=O0(a),m=Qx(a),v=RP(h),b=await l.getDimensions(n),S=h==="y"?"top":"left",k=h==="y"?"bottom":"right",E=s.reference[v]+s.reference[h]-d[h]-s.floating[v],_=d[h]-s.reference[h],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let A=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0;A===0&&(A=s.floating[v]);const I=E/2-_/2,R=u[S],D=A-b[v]-u[k],j=A/2-b[v]/2+I,z=$8(R,j,D),V=(m==="start"?u[S]:u[k])>0&&j!==z&&s.reference[v]<=s.floating[v];return{[h]:d[h]-(V?jEPe[t])}function PPe(e,t,n){n===void 0&&(n=!1);const r=Qx(e),i=O0(e),o=RP(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=rS(a)),{main:a,cross:rS(a)}}const TPe={start:"end",end:"start"};function ID(e){return e.replace(/start|end/g,t=>TPe[t])}const $q=["top","right","bottom","left"];$q.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const LPe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...b}=e,S=A0(r),k=h||(S===a||!v?[rS(a)]:function(j){const z=rS(j);return[ID(j),z,ID(z)]}(a)),E=[a,...k],_=await nS(t,b),T=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&T.push(_[S]),d){const{main:j,cross:z}=PPe(r,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));T.push(_[j],_[z])}if(A=[...A,{placement:r,overflows:T}],!T.every(j=>j<=0)){var I,R;const j=((I=(R=i.flip)==null?void 0:R.index)!=null?I:0)+1,z=E[j];if(z)return{data:{index:j,overflows:A},reset:{placement:z}};let V="bottom";switch(m){case"bestFit":{var D;const K=(D=A.map(te=>[te,te.overflows.filter(q=>q>0).reduce((q,$)=>q+$,0)]).sort((te,q)=>te[1]-q[1])[0])==null?void 0:D[0].placement;K&&(V=K);break}case"initialPlacement":V=a}if(r!==V)return{reset:{placement:V}}}return{}}}};function RD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function DD(e){return $q.some(t=>e[t]>=0)}const APe=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=RD(await nS(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:DD(o)}}}case"escaped":{const o=RD(await nS(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:o,escaped:DD(o)}}}default:return{}}}}},OPe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:s,platform:l,elements:u}=o,d=await(l.isRTL==null?void 0:l.isRTL(u.floating)),h=A0(s),m=Qx(s),v=O0(s)==="x",b=["left","top"].includes(h)?-1:1,S=d&&v?-1:1,k=typeof a=="function"?a(o):a;let{mainAxis:E,crossAxis:_,alignmentAxis:T}=typeof k=="number"?{mainAxis:k,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...k};return m&&typeof T=="number"&&(_=m==="end"?-1*T:T),v?{x:_*S,y:E*b}:{x:E*b,y:_*S}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Fq(e){return e==="x"?"y":"x"}const MPe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:k=>{let{x:E,y:_}=k;return{x:E,y:_}}},...l}=e,u={x:n,y:r},d=await nS(t,l),h=O0(A0(i)),m=Fq(h);let v=u[h],b=u[m];if(o){const k=h==="y"?"bottom":"right";v=$8(v+d[h==="y"?"top":"left"],v,v-d[k])}if(a){const k=m==="y"?"bottom":"right";b=$8(b+d[m==="y"?"top":"left"],b,b-d[k])}const S=s.fn({...t,[h]:v,[m]:b});return{...S,data:{x:S.x-n,y:S.y-r}}}}},IPe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,d={x:n,y:r},h=O0(i),m=Fq(h);let v=d[h],b=d[m];const S=typeof s=="function"?s({...o,placement:i}):s,k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(l){const I=h==="y"?"height":"width",R=o.reference[h]-o.floating[I]+k.mainAxis,D=o.reference[h]+o.reference[I]-k.mainAxis;vD&&(v=D)}if(u){var E,_,T,A;const I=h==="y"?"width":"height",R=["top","left"].includes(A0(i)),D=o.reference[m]-o.floating[I]+(R&&(E=(_=a.offset)==null?void 0:_[m])!=null?E:0)+(R?0:k.crossAxis),j=o.reference[m]+o.reference[I]+(R?0:(T=(A=a.offset)==null?void 0:A[m])!=null?T:0)-(R?k.crossAxis:0);bj&&(b=j)}return{[h]:v,[m]:b}}}};function zq(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function mc(e){if(e==null)return window;if(!zq(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vy(e){return mc(e).getComputedStyle(e)}function Xu(e){return zq(e)?"":e?(e.nodeName||"").toLowerCase():""}function Hq(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function cu(e){return e instanceof mc(e).HTMLElement}function Jd(e){return e instanceof mc(e).Element}function DP(e){return typeof ShadowRoot>"u"?!1:e instanceof mc(e).ShadowRoot||e instanceof ShadowRoot}function Jx(e){const{overflow:t,overflowX:n,overflowY:r}=Vy(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function RPe(e){return["table","td","th"].includes(Xu(e))}function ND(e){const t=/firefox/i.test(Hq()),n=Vy(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Vq(){return!/^((?!chrome|android).)*safari/i.test(Hq())}const jD=Math.min,c2=Math.max,iS=Math.round;function Zu(e,t,n){var r,i,o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&cu(e)&&(l=e.offsetWidth>0&&iS(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&iS(s.height)/e.offsetHeight||1);const d=Jd(e)?mc(e):window,h=!Vq()&&n,m=(s.left+(h&&(r=(i=d.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,v=(s.top+(h&&(o=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/u,b=s.width/l,S=s.height/u;return{width:b,height:S,top:v,right:m+b,bottom:v+S,left:m,x:m,y:v}}function zd(e){return(t=e,(t instanceof mc(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ew(e){return Jd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wq(e){return Zu(zd(e)).left+ew(e).scrollLeft}function DPe(e,t,n){const r=cu(t),i=zd(t),o=Zu(e,r&&function(l){const u=Zu(l);return iS(u.width)!==l.offsetWidth||iS(u.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Xu(t)!=="body"||Jx(i))&&(a=ew(t)),cu(t)){const l=Zu(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Wq(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Uq(e){return Xu(e)==="html"?e:e.assignedSlot||e.parentNode||(DP(e)?e.host:null)||zd(e)}function BD(e){return cu(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function F8(e){const t=mc(e);let n=BD(e);for(;n&&RPe(n)&&getComputedStyle(n).position==="static";)n=BD(n);return n&&(Xu(n)==="html"||Xu(n)==="body"&&getComputedStyle(n).position==="static"&&!ND(n))?t:n||function(r){let i=Uq(r);for(DP(i)&&(i=i.host);cu(i)&&!["html","body"].includes(Xu(i));){if(ND(i))return i;i=i.parentNode}return null}(e)||t}function $D(e){if(cu(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Zu(e);return{width:t.width,height:t.height}}function Gq(e){const t=Uq(e);return["html","body","#document"].includes(Xu(t))?e.ownerDocument.body:cu(t)&&Jx(t)?t:Gq(t)}function oS(e,t){var n;t===void 0&&(t=[]);const r=Gq(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=mc(r),a=i?[o].concat(o.visualViewport||[],Jx(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(oS(a))}function FD(e,t,n){return t==="viewport"?tS(function(r,i){const o=mc(r),a=zd(r),s=o.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,h=0;if(s){l=s.width,u=s.height;const m=Vq();(m||!m&&i==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:l,height:u,x:d,y:h}}(e,n)):Jd(t)?function(r,i){const o=Zu(r,!1,i==="fixed"),a=o.top+r.clientTop,s=o.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):tS(function(r){var i;const o=zd(r),a=ew(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=c2(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=c2(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-a.scrollLeft+Wq(r);const h=-a.scrollTop;return Vy(s||o).direction==="rtl"&&(d+=c2(o.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:h}}(zd(e)))}function NPe(e){const t=oS(e),n=["absolute","fixed"].includes(Vy(e).position)&&cu(e)?F8(e):e;return Jd(n)?t.filter(r=>Jd(r)&&function(i,o){const a=o.getRootNode==null?void 0:o.getRootNode();if(i.contains(o))return!0;if(a&&DP(a)){let s=o;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Xu(r)!=="body"):[]}const jPe={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?NPe(t):[].concat(n),r],a=o[0],s=o.reduce((l,u)=>{const d=FD(t,u,i);return l.top=c2(d.top,l.top),l.right=jD(d.right,l.right),l.bottom=jD(d.bottom,l.bottom),l.left=c2(d.left,l.left),l},FD(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=cu(n),o=zd(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Xu(n)!=="body"||Jx(o))&&(a=ew(n)),cu(n))){const l=Zu(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Jd,getDimensions:$D,getOffsetParent:F8,getDocumentElement:zd,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:DPe(t,F8(n),r),floating:{...$D(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vy(e).direction==="rtl"};function BPe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,d=l||u?[...Jd(e)?oS(e):[],...oS(t)]:[];d.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;if(a){let b=!0;m=new ResizeObserver(()=>{b||n(),b=!1}),Jd(e)&&!s&&m.observe(e),m.observe(t)}let v=s?Zu(e):null;return s&&function b(){const S=Zu(e);!v||S.x===v.x&&S.y===v.y&&S.width===v.width&&S.height===v.height||n(),v=S,h=requestAnimationFrame(b)}(),n(),()=>{var b;d.forEach(S=>{l&&S.removeEventListener("scroll",n),u&&S.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const $Pe=(e,t,n)=>CPe(e,t,{platform:jPe,...n});var z8=typeof document<"u"?w.useLayoutEffect:w.useEffect;function H8(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!H8(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!H8(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function FPe(e){const t=w.useRef(e);return z8(()=>{t.current=e}),t}function zPe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=w.useRef(null),a=w.useRef(null),s=FPe(i),l=w.useRef(null),[u,d]=w.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[h,m]=w.useState(t);H8(h==null?void 0:h.map(T=>{let{options:A}=T;return A}),t==null?void 0:t.map(T=>{let{options:A}=T;return A}))||m(t);const v=w.useCallback(()=>{!o.current||!a.current||$Pe(o.current,a.current,{middleware:h,placement:n,strategy:r}).then(T=>{b.current&&Qs.flushSync(()=>{d(T)})})},[h,n,r]);z8(()=>{b.current&&v()},[v]);const b=w.useRef(!1);z8(()=>(b.current=!0,()=>{b.current=!1}),[]);const S=w.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&a.current)if(s.current){const T=s.current(o.current,a.current,v);l.current=T}else v()},[v,s]),k=w.useCallback(T=>{o.current=T,S()},[S]),E=w.useCallback(T=>{a.current=T,S()},[S]),_=w.useMemo(()=>({reference:o,floating:a}),[]);return w.useMemo(()=>({...u,update:v,refs:_,reference:k,floating:E}),[u,v,_,k,E])}const HPe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?MD({element:t.current,padding:n}).fn(i):{}:t?MD({element:t,padding:n}).fn(i):{}}}};function VPe(e){const[t,n]=w.useState(void 0);return a0(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const qq="Popper",[NP,Yq]=Hy(qq),[WPe,Kq]=NP(qq),UPe=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return w.createElement(WPe,{scope:t,anchor:r,onAnchorChange:i},n)},GPe="PopperAnchor",qPe=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Kq(GPe,n),a=w.useRef(null),s=fs(t,a);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:w.createElement(ac.div,bn({},i,{ref:s}))}),aS="PopperContent",[YPe,Cze]=NP(aS),[KPe,XPe]=NP(aS,{hasParent:!1,positionUpdateFns:new Set}),ZPe=w.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;const{__scopePopper:d,side:h="bottom",sideOffset:m=0,align:v="center",alignOffset:b=0,arrowPadding:S=0,collisionBoundary:k=[],collisionPadding:E=0,sticky:_="partial",hideWhenDetached:T=!1,avoidCollisions:A=!0,...I}=e,R=Kq(aS,d),[D,j]=w.useState(null),z=fs(t,ae=>j(ae)),[V,K]=w.useState(null),te=VPe(V),q=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,$=(r=te==null?void 0:te.height)!==null&&r!==void 0?r:0,U=h+(v!=="center"?"-"+v:""),X=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Z=Array.isArray(k)?k:[k],W=Z.length>0,Q={padding:X,boundary:Z.filter(JPe),altBoundary:W},{reference:ie,floating:fe,strategy:Se,x:Pe,y:ye,placement:We,middlewareData:De,update:ot}=zPe({strategy:"fixed",placement:U,whileElementsMounted:BPe,middleware:[OPe({mainAxis:m+$,alignmentAxis:b}),A?MPe({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?IPe():void 0,...Q}):void 0,V?HPe({element:V,padding:S}):void 0,A?LPe({...Q}):void 0,eTe({arrowWidth:q,arrowHeight:$}),T?APe({strategy:"referenceHidden"}):void 0].filter(QPe)});a0(()=>{ie(R.anchor)},[ie,R.anchor]);const He=Pe!==null&&ye!==null,[Be,wt]=Xq(We),st=(i=De.arrow)===null||i===void 0?void 0:i.x,mt=(o=De.arrow)===null||o===void 0?void 0:o.y,St=((a=De.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Le,lt]=w.useState();a0(()=>{D&<(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Mt,positionUpdateFns:ut}=XPe(aS,d),_t=!Mt;w.useLayoutEffect(()=>{if(!_t)return ut.add(ot),()=>{ut.delete(ot)}},[_t,ut,ot]),w.useLayoutEffect(()=>{_t&&He&&Array.from(ut).reverse().forEach(ae=>requestAnimationFrame(ae))},[_t,He,ut]);const ln={"data-side":Be,"data-align":wt,...I,ref:z,style:{...I.style,animation:He?void 0:"none",opacity:(s=De.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return w.createElement("div",{ref:fe,"data-radix-popper-content-wrapper":"",style:{position:Se,left:0,top:0,transform:He?`translate3d(${Math.round(Pe)}px, ${Math.round(ye)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Le,["--radix-popper-transform-origin"]:[(l=De.transformOrigin)===null||l===void 0?void 0:l.x,(u=De.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},w.createElement(YPe,{scope:d,placedSide:Be,onArrowChange:K,arrowX:st,arrowY:mt,shouldHideArrow:St},_t?w.createElement(KPe,{scope:d,hasParent:!0,positionUpdateFns:ut},w.createElement(ac.div,ln)):w.createElement(ac.div,ln)))});function QPe(e){return e!==void 0}function JPe(e){return e!==null}const eTe=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;const{placement:s,rects:l,middlewareData:u}=t,h=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=h?0:e.arrowWidth,v=h?0:e.arrowHeight,[b,S]=Xq(s),k={start:"0%",center:"50%",end:"100%"}[S],E=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+m/2,_=((o=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&o!==void 0?o:0)+v/2;let T="",A="";return b==="bottom"?(T=h?k:`${E}px`,A=`${-v}px`):b==="top"?(T=h?k:`${E}px`,A=`${l.floating.height+v}px`):b==="right"?(T=`${-v}px`,A=h?k:`${_}px`):b==="left"&&(T=`${l.floating.width+v}px`,A=h?k:`${_}px`),{data:{x:T,y:A}}}});function Xq(e){const[t,n="center"]=e.split("-");return[t,n]}const tTe=UPe,nTe=qPe,rTe=ZPe;function iTe(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const Zq=e=>{const{present:t,children:n}=e,r=oTe(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=fs(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Zq.displayName="Presence";function oTe(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),a=e?"mounted":"unmounted",[s,l]=iTe(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=qb(r.current);o.current=s==="mounted"?u:"none"},[s]),a0(()=>{const u=r.current,d=i.current;if(d!==e){const m=o.current,v=qb(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),a0(()=>{if(t){const u=h=>{const v=qb(r.current).includes(h.animationName);h.target===t&&v&&Qs.flushSync(()=>l("ANIMATION_END"))},d=h=>{h.target===t&&(o.current=qb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qb(e){return(e==null?void 0:e.animationName)||"none"}function aTe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=sTe({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,s=uu(n),l=w.useCallback(u=>{if(o){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else i(u)},[o,e,i,s]);return[a,l]}function sTe({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=uu(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}const $C="rovingFocusGroup.onEntryFocus",lTe={bubbles:!1,cancelable:!0},jP="RovingFocusGroup",[V8,Qq,uTe]=Rq(jP),[cTe,Jq]=Hy(jP,[uTe]),[dTe,fTe]=cTe(jP),hTe=w.forwardRef((e,t)=>w.createElement(V8.Provider,{scope:e.__scopeRovingFocusGroup},w.createElement(V8.Slot,{scope:e.__scopeRovingFocusGroup},w.createElement(pTe,bn({},e,{ref:t}))))),pTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...d}=e,h=w.useRef(null),m=fs(t,h),v=Dq(o),[b=null,S]=aTe({prop:a,defaultProp:s,onChange:l}),[k,E]=w.useState(!1),_=uu(u),T=Qq(n),A=w.useRef(!1),[I,R]=w.useState(0);return w.useEffect(()=>{const D=h.current;if(D)return D.addEventListener($C,_),()=>D.removeEventListener($C,_)},[_]),w.createElement(dTe,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:b,onItemFocus:w.useCallback(D=>S(D),[S]),onItemShiftTab:w.useCallback(()=>E(!0),[]),onFocusableItemAdd:w.useCallback(()=>R(D=>D+1),[]),onFocusableItemRemove:w.useCallback(()=>R(D=>D-1),[])},w.createElement(ac.div,bn({tabIndex:k||I===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{A.current=!0}),onFocus:rr(e.onFocus,D=>{const j=!A.current;if(D.target===D.currentTarget&&j&&!k){const z=new CustomEvent($C,lTe);if(D.currentTarget.dispatchEvent(z),!z.defaultPrevented){const V=T().filter(U=>U.focusable),K=V.find(U=>U.active),te=V.find(U=>U.id===b),$=[K,te,...V].filter(Boolean).map(U=>U.ref.current);eY($)}}A.current=!1}),onBlur:rr(e.onBlur,()=>E(!1))})))}),gTe="RovingFocusGroupItem",mTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=wPe(),s=fTe(gTe,n),l=s.currentTabStopId===a,u=Qq(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=s;return w.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),w.createElement(V8.ItemSlot,{scope:n,id:a,focusable:r,active:i},w.createElement(ac.span,bn({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:rr(e.onMouseDown,m=>{r?s.onItemFocus(a):m.preventDefault()}),onFocus:rr(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:rr(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){s.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const v=bTe(m,s.orientation,s.dir);if(v!==void 0){m.preventDefault();let S=u().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const k=S.indexOf(m.currentTarget);S=s.loop?STe(S,k+1):S.slice(k+1)}setTimeout(()=>eY(S))}})})))}),vTe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yTe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function bTe(e,t,n){const r=yTe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return vTe[r]}function eY(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function STe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const xTe=hTe,wTe=mTe,CTe=["Enter"," "],_Te=["ArrowDown","PageUp","Home"],tY=["ArrowUp","PageDown","End"],kTe=[..._Te,...tY],tw="Menu",[W8,ETe,PTe]=Rq(tw),[bp,nY]=Hy(tw,[PTe,Yq,Jq]),BP=Yq(),rY=Jq(),[TTe,nw]=bp(tw),[LTe,$P]=bp(tw),ATe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=BP(t),[l,u]=w.useState(null),d=w.useRef(!1),h=uu(o),m=Dq(i);return w.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.createElement(tTe,s,w.createElement(TTe,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:u},w.createElement(LTe,{scope:t,onClose:w.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:m,modal:a},r)))},OTe=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=BP(n);return w.createElement(nTe,bn({},i,r,{ref:t}))}),MTe="MenuPortal",[_ze,ITe]=bp(MTe,{forceMount:void 0}),Hd="MenuContent",[RTe,iY]=bp(Hd),DTe=w.forwardRef((e,t)=>{const n=ITe(Hd,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=nw(Hd,e.__scopeMenu),a=$P(Hd,e.__scopeMenu);return w.createElement(W8.Provider,{scope:e.__scopeMenu},w.createElement(Zq,{present:r||o.open},w.createElement(W8.Slot,{scope:e.__scopeMenu},a.modal?w.createElement(NTe,bn({},i,{ref:t})):w.createElement(jTe,bn({},i,{ref:t})))))}),NTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu),r=w.useRef(null),i=fs(t,r);return w.useEffect(()=>{const o=r.current;if(o)return zH(o)},[]),w.createElement(oY,bn({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),jTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu);return w.createElement(oY,bn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),oY=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...b}=e,S=nw(Hd,n),k=$P(Hd,n),E=BP(n),_=rY(n),T=ETe(n),[A,I]=w.useState(null),R=w.useRef(null),D=fs(t,R,S.onContentChange),j=w.useRef(0),z=w.useRef(""),V=w.useRef(0),K=w.useRef(null),te=w.useRef("right"),q=w.useRef(0),$=v?PV:w.Fragment,U=v?{as:oy,allowPinchZoom:!0}:void 0,X=W=>{var Q,ie;const fe=z.current+W,Se=T().filter(He=>!He.disabled),Pe=document.activeElement,ye=(Q=Se.find(He=>He.ref.current===Pe))===null||Q===void 0?void 0:Q.textValue,We=Se.map(He=>He.textValue),De=GTe(We,fe,ye),ot=(ie=Se.find(He=>He.textValue===De))===null||ie===void 0?void 0:ie.ref.current;(function He(Be){z.current=Be,window.clearTimeout(j.current),Be!==""&&(j.current=window.setTimeout(()=>He(""),1e3))})(fe),ot&&setTimeout(()=>ot.focus())};w.useEffect(()=>()=>window.clearTimeout(j.current),[]),fPe();const Z=w.useCallback(W=>{var Q,ie;return te.current===((Q=K.current)===null||Q===void 0?void 0:Q.side)&&YTe(W,(ie=K.current)===null||ie===void 0?void 0:ie.area)},[]);return w.createElement(RTe,{scope:n,searchRef:z,onItemEnter:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),onItemLeave:w.useCallback(W=>{var Q;Z(W)||((Q=R.current)===null||Q===void 0||Q.focus(),I(null))},[Z]),onTriggerLeave:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:w.useCallback(W=>{K.current=W},[])},w.createElement($,U,w.createElement(hPe,{asChild:!0,trapped:i,onMountAutoFocus:rr(o,W=>{var Q;W.preventDefault(),(Q=R.current)===null||Q===void 0||Q.focus()}),onUnmountAutoFocus:a},w.createElement(uPe,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m},w.createElement(xTe,bn({asChild:!0},_,{dir:k.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:W=>{k.isUsingKeyboardRef.current||W.preventDefault()}}),w.createElement(rTe,bn({role:"menu","aria-orientation":"vertical","data-state":VTe(S.open),"data-radix-menu-content":"",dir:k.dir},E,b,{ref:D,style:{outline:"none",...b.style},onKeyDown:rr(b.onKeyDown,W=>{const ie=W.target.closest("[data-radix-menu-content]")===W.currentTarget,fe=W.ctrlKey||W.altKey||W.metaKey,Se=W.key.length===1;ie&&(W.key==="Tab"&&W.preventDefault(),!fe&&Se&&X(W.key));const Pe=R.current;if(W.target!==Pe||!kTe.includes(W.key))return;W.preventDefault();const We=T().filter(De=>!De.disabled).map(De=>De.ref.current);tY.includes(W.key)&&We.reverse(),WTe(We)}),onBlur:rr(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(j.current),z.current="")}),onPointerMove:rr(e.onPointerMove,G8(W=>{const Q=W.target,ie=q.current!==W.clientX;if(W.currentTarget.contains(Q)&&ie){const fe=W.clientX>q.current?"right":"left";te.current=fe,q.current=W.clientX}}))})))))))}),U8="MenuItem",zD="menu.itemSelect",BTe=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=w.useRef(null),a=$P(U8,e.__scopeMenu),s=iY(U8,e.__scopeMenu),l=fs(t,o),u=w.useRef(!1),d=()=>{const h=o.current;if(!n&&h){const m=new CustomEvent(zD,{bubbles:!0,cancelable:!0});h.addEventListener(zD,v=>r==null?void 0:r(v),{once:!0}),Iq(h,m),m.defaultPrevented?u.current=!1:a.onClose()}};return w.createElement($Te,bn({},i,{ref:l,disabled:n,onClick:rr(e.onClick,d),onPointerDown:h=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,h),u.current=!0},onPointerUp:rr(e.onPointerUp,h=>{var m;u.current||(m=h.currentTarget)===null||m===void 0||m.click()}),onKeyDown:rr(e.onKeyDown,h=>{const m=s.searchRef.current!=="";n||m&&h.key===" "||CTe.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}))}),$Te=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=iY(U8,n),s=rY(n),l=w.useRef(null),u=fs(t,l),[d,h]=w.useState(!1),[m,v]=w.useState("");return w.useEffect(()=>{const b=l.current;if(b){var S;v(((S=b.textContent)!==null&&S!==void 0?S:"").trim())}},[o.children]),w.createElement(W8.ItemSlot,{scope:n,disabled:r,textValue:i??m},w.createElement(wTe,bn({asChild:!0},s,{focusable:!r}),w.createElement(ac.div,bn({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:rr(e.onPointerMove,G8(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:rr(e.onPointerLeave,G8(b=>a.onItemLeave(b))),onFocus:rr(e.onFocus,()=>h(!0)),onBlur:rr(e.onBlur,()=>h(!1))}))))}),FTe="MenuRadioGroup";bp(FTe,{value:void 0,onValueChange:()=>{}});const zTe="MenuItemIndicator";bp(zTe,{checked:!1});const HTe="MenuSub";bp(HTe);function VTe(e){return e?"open":"closed"}function WTe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function UTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function GTe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=UTe(e,Math.max(o,0));i.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function qTe(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=d>r&&n<(u-s)*(r-l)/(d-l)+s&&(i=!i)}return i}function YTe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return qTe(n,t)}function G8(e){return t=>t.pointerType==="mouse"?e(t):void 0}const KTe=ATe,XTe=OTe,ZTe=DTe,QTe=BTe,aY="ContextMenu",[JTe,kze]=Hy(aY,[nY]),rw=nY(),[eLe,sY]=JTe(aY),tLe=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:o=!0}=e,[a,s]=w.useState(!1),l=rw(t),u=uu(r),d=w.useCallback(h=>{s(h),u(h)},[u]);return w.createElement(eLe,{scope:t,open:a,onOpenChange:d,modal:o},w.createElement(KTe,bn({},l,{dir:i,open:a,onOpenChange:d,modal:o}),n))},nLe="ContextMenuTrigger",rLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(nLe,n),o=rw(n),a=w.useRef({x:0,y:0}),s=w.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...a.current})}),l=w.useRef(0),u=w.useCallback(()=>window.clearTimeout(l.current),[]),d=h=>{a.current={x:h.clientX,y:h.clientY},i.onOpenChange(!0)};return w.useEffect(()=>u,[u]),w.createElement(w.Fragment,null,w.createElement(XTe,bn({},o,{virtualRef:s})),w.createElement(ac.span,bn({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:rr(e.onContextMenu,h=>{u(),d(h),h.preventDefault()}),onPointerDown:rr(e.onPointerDown,Yb(h=>{u(),l.current=window.setTimeout(()=>d(h),700)})),onPointerMove:rr(e.onPointerMove,Yb(u)),onPointerCancel:rr(e.onPointerCancel,Yb(u)),onPointerUp:rr(e.onPointerUp,Yb(u))})))}),iLe="ContextMenuContent",oLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(iLe,n),o=rw(n),a=w.useRef(!1);return w.createElement(ZTe,bn({},o,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&a.current&&s.preventDefault(),a.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(a.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),aLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=rw(n);return w.createElement(QTe,bn({},i,r,{ref:t}))});function Yb(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const sLe=tLe,lLe=rLe,uLe=oLe,ud=aLe,cLe=(e,t)=>e.image.uuid===t.image.uuid&&e.isSelected===t.isSelected,lY=w.memo(e=>{var te,q,$,U,X,Z,W,Q;const t=Me(),{activeTabName:n,galleryImageObjectFit:r,galleryImageMinimumWidth:i,mayDeleteImage:o,shouldUseSingleGalleryColumn:a}=he(kEe),{image:s,isSelected:l}=e,{url:u,thumbnail:d,uuid:h,metadata:m}=s,[v,b]=w.useState(!1),S=Ry(),{t:k}=Ve(),E=()=>b(!0),_=()=>b(!1),T=()=>{var ie,fe;if(s.metadata){const[Se,Pe]=aP((fe=(ie=s.metadata)==null?void 0:ie.image)==null?void 0:fe.prompt);Se&&t(Nx(Se)),t(Q2(Pe||""))}S({title:k("toast:promptSet"),status:"success",duration:2500,isClosable:!0})},A=()=>{s.metadata&&t(Ny(s.metadata.image.seed)),S({title:k("toast:seedSet"),status:"success",duration:2500,isClosable:!0})},I=()=>{t(k0(s)),n!=="img2img"&&t(qo("img2img")),S({title:k("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})},R=()=>{t(Dx(s)),t(Rx()),n!=="unifiedCanvas"&&t(qo("unifiedCanvas")),S({title:k("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0})},D=()=>{m&&t(aU(m)),S({title:k("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})},j=async()=>{var ie;if((ie=m==null?void 0:m.image)!=null&&ie.init_image_path&&(await fetch(m.image.init_image_path)).ok){t(qo("img2img")),t(Zxe(m)),S({title:k("toast:initialImageSet"),status:"success",duration:2500,isClosable:!0});return}S({title:k("toast:initialImageNotSet"),description:k("toast:initialImageNotSetDesc"),status:"error",duration:2500,isClosable:!0})},z=()=>t(jI(s)),V=ie=>{ie.dataTransfer.setData("invokeai/imageUuid",h),ie.dataTransfer.effectAllowed="move"},K=()=>{t(jI(s))};return y.jsxs(sLe,{onOpenChange:ie=>{t(tU(ie))},children:[y.jsx(lLe,{children:y.jsxs(ko,{position:"relative",className:"hoverable-image",onMouseOver:E,onMouseOut:_,userSelect:"none",draggable:!0,onDragStart:V,children:[y.jsx(KS,{className:"hoverable-image-image",objectFit:a?"contain":r,rounded:"md",src:d||u,loading:"lazy"}),y.jsx("div",{className:"hoverable-image-content",onClick:z,children:l&&y.jsx(Da,{width:"50%",height:"50%",as:PP,className:"hoverable-image-check"})}),v&&i>=64&&y.jsx("div",{className:"hoverable-image-delete-button",children:y.jsx(eS,{image:s,children:y.jsx(ss,{"aria-label":k("parameters:deleteImage"),icon:y.jsx(xEe,{}),size:"xs",variant:"imageHoverIconButton",fontSize:14,isDisabled:!o})})})]},h)}),y.jsxs(uLe,{className:"hoverable-image-context-menu",sticky:"always",onInteractOutside:ie=>{ie.detail.originalEvent.preventDefault()},children:[y.jsx(ud,{onClickCapture:K,children:k("parameters:openInViewer")}),y.jsx(ud,{onClickCapture:T,disabled:((q=(te=s==null?void 0:s.metadata)==null?void 0:te.image)==null?void 0:q.prompt)===void 0,children:k("parameters:usePrompt")}),y.jsx(ud,{onClickCapture:A,disabled:((U=($=s==null?void 0:s.metadata)==null?void 0:$.image)==null?void 0:U.seed)===void 0,children:k("parameters:useSeed")}),y.jsx(ud,{onClickCapture:D,disabled:!["txt2img","img2img"].includes((Z=(X=s==null?void 0:s.metadata)==null?void 0:X.image)==null?void 0:Z.type),children:k("parameters:useAll")}),y.jsx(ud,{onClickCapture:j,disabled:((Q=(W=s==null?void 0:s.metadata)==null?void 0:W.image)==null?void 0:Q.type)!=="img2img",children:k("parameters:useInitImg")}),y.jsx(ud,{onClickCapture:I,children:k("parameters:sendToImg2Img")}),y.jsx(ud,{onClickCapture:R,children:k("parameters:sendToUnifiedCanvas")}),y.jsx(ud,{"data-warning":!0,children:y.jsx(eS,{image:s,children:y.jsx("p",{children:k("parameters:deleteImage")})})})]})]})},cLe);lY.displayName="HoverableImage";const Kb=320,HD=40,dLe={txt2img:{galleryMinWidth:200,galleryMaxWidth:500},img2img:{galleryMinWidth:200,galleryMaxWidth:500},unifiedCanvas:{galleryMinWidth:200,galleryMaxWidth:200},nodes:{galleryMinWidth:200,galleryMaxWidth:500},postprocess:{galleryMinWidth:200,galleryMaxWidth:500},training:{galleryMinWidth:200,galleryMaxWidth:500}},VD=400;function uY(){const e=Me(),{t}=Ve(),{images:n,currentCategory:r,currentImageUuid:i,shouldPinGallery:o,shouldShowGallery:a,galleryScrollPosition:s,galleryImageMinimumWidth:l,galleryGridTemplateColumns:u,activeTabName:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,areMoreImagesAvailable:b,galleryWidth:S,isLightboxOpen:k,isStaging:E,shouldEnableResize:_,shouldUseSingleGalleryColumn:T}=he(_Ee),{galleryMinWidth:A,galleryMaxWidth:I}=k?{galleryMinWidth:VD,galleryMaxWidth:VD}:dLe[d],[R,D]=w.useState(S>=Kb),[j,z]=w.useState(!1),[V,K]=w.useState(0),te=w.useRef(null),q=w.useRef(null),$=w.useRef(null);w.useEffect(()=>{S>=Kb&&D(!1)},[S]);const U=()=>{e(Bxe(!o)),e(vi(!0))},X=()=>{a?W():Z()},Z=()=>{e(Bd(!0)),o&&e(vi(!0))},W=w.useCallback(()=>{e(Bd(!1)),e(tU(!1)),e($xe(q.current?q.current.scrollTop:0)),setTimeout(()=>o&&e(vi(!0)),400)},[e,o]),Q=()=>{e(R8(r))},ie=ye=>{e(rv(ye))},fe=()=>{m||($.current=window.setTimeout(()=>W(),500))},Se=()=>{$.current&&window.clearTimeout($.current)};Je("g",()=>{X()},[a,o]),Je("left",()=>{e(oP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("right",()=>{e(iP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("shift+g",()=>{U()},[o]),Je("esc",()=>{e(Bd(!1))},{enabled:()=>!o,preventDefault:!0},[o]);const Pe=32;return Je("shift+up",()=>{if(l<256){const ye=ke.clamp(l+Pe,32,256);e(rv(ye))}},[l]),Je("shift+down",()=>{if(l>32){const ye=ke.clamp(l-Pe,32,256);e(rv(ye))}},[l]),w.useEffect(()=>{q.current&&(q.current.scrollTop=s)},[s,a]),w.useEffect(()=>{function ye(We){!o&&te.current&&!te.current.contains(We.target)&&W()}return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[W,o]),y.jsx(Oq,{nodeRef:te,in:a||m,unmountOnExit:!0,timeout:200,classNames:"image-gallery-wrapper",children:y.jsxs("div",{className:"image-gallery-wrapper",style:{zIndex:o?1:100},"data-pinned":o,ref:te,onMouseLeave:o?void 0:fe,onMouseEnter:o?void 0:Se,onMouseOver:o?void 0:Se,children:[y.jsxs(kq,{minWidth:A,maxWidth:o?I:window.innerWidth,className:"image-gallery-popup",handleStyles:{left:{width:"15px"}},enable:{left:_},size:{width:S,height:o?"100%":"100vh"},onResizeStart:(ye,We,De)=>{K(De.clientHeight),De.style.height=`${De.clientHeight}px`,o&&(De.style.position="fixed",De.style.right="1rem",z(!0))},onResizeStop:(ye,We,De,ot)=>{const He=o?ke.clamp(Number(S)+ot.width,A,Number(I)):Number(S)+ot.width;e(Hxe(He)),De.removeAttribute("data-resize-alert"),o&&(De.style.position="relative",De.style.removeProperty("right"),De.style.setProperty("height",o?"100%":"100vh"),z(!1),e(vi(!0)))},onResize:(ye,We,De,ot)=>{const He=ke.clamp(Number(S)+ot.width,A,Number(o?I:.95*window.innerWidth));He>=Kb&&!R?D(!0):HeHe-HD&&e(rv(He-HD)),o&&(He>=I?De.setAttribute("data-resize-alert","true"):De.removeAttribute("data-resize-alert")),De.style.height=`${V}px`},children:[y.jsxs("div",{className:"image-gallery-header",children:[y.jsx(oo,{size:"sm",isAttached:!0,variant:"solid",className:"image-gallery-category-btn-group",children:R?y.jsxs(y.Fragment,{children:[y.jsx(cr,{size:"sm","data-selected":r==="result",onClick:()=>e(kb("result")),children:t("gallery:generations")}),y.jsx(cr,{size:"sm","data-selected":r==="user",onClick:()=>e(kb("user")),children:t("gallery:uploads")})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("gallery:showGenerations"),tooltip:t("gallery:showGenerations"),"data-selected":r==="result",icon:y.jsx(uEe,{}),onClick:()=>e(kb("result"))}),y.jsx(Qe,{"aria-label":t("gallery:showUploads"),tooltip:t("gallery:showUploads"),"data-selected":r==="user",icon:y.jsx(CEe,{}),onClick:()=>e(kb("user"))})]})}),y.jsxs("div",{className:"image-gallery-header-right-icons",children:[y.jsx(Zs,{isLazy:!0,trigger:"hover",placement:"left",triggerComponent:y.jsx(Qe,{size:"sm","aria-label":t("gallery:gallerySettings"),icon:y.jsx(OP,{}),className:"image-gallery-icon-btn",cursor:"pointer"}),children:y.jsxs("div",{className:"image-gallery-settings-popover",children:[y.jsxs("div",{children:[y.jsx(so,{value:l,onChange:ie,min:32,max:256,hideTooltip:!0,label:t("gallery:galleryImageSize")}),y.jsx(Qe,{size:"sm","aria-label":t("gallery:galleryImageResetSize"),tooltip:t("gallery:galleryImageResetSize"),onClick:()=>e(rv(64)),icon:y.jsx(Wx,{}),"data-selected":o,styleClass:"image-gallery-icon-btn"})]}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:maintainAspectRatio"),isChecked:h==="contain",onChange:()=>e(Fxe(h==="contain"?"cover":"contain"))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:autoSwitchNewImages"),isChecked:v,onChange:ye=>e(zxe(ye.target.checked))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:singleColumnLayout"),isChecked:T,onChange:ye=>e(Vxe(ye.target.checked))})})]})}),y.jsx(Qe,{size:"sm",className:"image-gallery-icon-btn","aria-label":t("gallery:pinGallery"),tooltip:`${t("gallery:pinGallery")} (Shift+G)`,onClick:U,icon:o?y.jsx(Eq,{}):y.jsx(Pq,{})})]})]}),y.jsx("div",{className:"image-gallery-container",ref:q,children:n.length||b?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"image-gallery",style:{gridTemplateColumns:u},children:n.map(ye=>{const{uuid:We}=ye,De=i===We;return y.jsx(lY,{image:ye,isSelected:De},We)})}),y.jsx(as,{onClick:Q,isDisabled:!b,className:"image-gallery-load-more-btn",children:t(b?"gallery:loadMore":"gallery:allImagesLoaded")})]}):y.jsxs("div",{className:"image-gallery-container-placeholder",children:[y.jsx(Tq,{}),y.jsx("p",{children:t("gallery:noImagesInGallery")})]})})]}),j&&y.jsx("div",{style:{width:`${S}px`,height:"100%"}})]})})}/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -489,7 +489,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var q8=function(e,t){return q8=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},q8(e,t)};function fLe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");q8(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ru=function(){return ru=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=n?(r(o),e.animation=null):e.animation&&(r(u),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function pf(e,t,n,r){var i=TLe(t);if(!(!e.mounted||!i)){var o=e.setTransformState,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=t.scale-s,h=t.positionX-l,m=t.positionY-u;n===0?o(t.scale,t.positionX,t.positionY):fY(e,r,n,function(v){var b=s+d*v,S=l+h*v,E=u+m*v;o(b,S,E)})}}function TLe(e){var t=e.scale,n=e.positionX,r=e.positionY;return!(isNaN(t)||isNaN(n)||isNaN(r))}function LLe(e,t,n){var r=e.offsetWidth,i=e.offsetHeight,o=t.offsetWidth,a=t.offsetHeight,s=o*n,l=a*n,u=r-s,d=i-l;return{wrapperWidth:r,wrapperHeight:i,newContentWidth:s,newDiffWidth:u,newContentHeight:l,newDiffHeight:d}}var ALe=function(e,t,n,r,i,o,a){var s=e>t?n*(a?1:.5):0,l=r>i?o*(a?1:.5):0,u=e-t-s,d=s,h=r-i-l,m=l;return{minPositionX:u,maxPositionX:d,minPositionY:h,maxPositionY:m}},FP=function(e,t){var n=e.wrapperComponent,r=e.contentComponent,i=e.setup.centerZoomedOut;if(!n||!r)throw new Error("Components are not mounted");var o=LLe(n,r,t),a=o.wrapperWidth,s=o.wrapperHeight,l=o.newContentWidth,u=o.newDiffWidth,d=o.newContentHeight,h=o.newDiffHeight,m=ALe(a,l,u,s,d,h,Boolean(i));return m},s0=function(e,t){var n=FP(e,t);return e.bounds=n,n};function iw(e,t,n,r,i,o,a){var s=n.minPositionX,l=n.minPositionY,u=n.maxPositionX,d=n.maxPositionY,h=0,m=0;a&&(h=i,m=o);var v=Y8(e,s-h,u+h,r),b=Y8(t,l-m,d+m,r);return{x:v,y:b}}var Y8=function(e,t,n,r){return r?en?rs(n,2):rs(e,2):rs(e,2)};function ow(e,t,n,r,i,o){var a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=r-s;if(typeof t!="number"||typeof n!="number")return console.error("Mouse X and Y position were not provided!"),{x:l,y:u};var h=l-t*d,m=u-n*d,v=iw(h,m,i,o,0,0,null);return v}function Wy(e,t,n,r,i){var o=i?r:0,a=t-o;return!isNaN(n)&&e>=n?n:!isNaN(t)&&e<=a?a:e}var UD=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,i=e.wrapperComponent,o=t.target,a=i==null?void 0:i.contains(o),s=r&&o&&a;if(!s)return!1;var l=aw(o,n);return!l},GD=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup,i=r.panning.disabled,o=t&&n&&!i;return!!o},OLe=function(e,t){var n=e.transformState,r=n.positionX,i=n.positionY;e.isPanning=!0;var o=t.clientX,a=t.clientY;e.startCoords={x:o-r,y:a-i}},MLe=function(e,t){var n=t.touches,r=e.transformState,i=r.positionX,o=r.positionY;e.isPanning=!0;var a=n.length===1;if(a){var s=n[0].clientX,l=n[0].clientY;e.startCoords={x:s-i,y:l-o}}};function ILe(e){var t=e.transformState,n=t.positionX,r=t.positionY,i=t.scale,o=e.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,u=e.wrapperComponent;if(!(a||!u||!e.bounds)){var d=e.bounds,h=d.maxPositionX,m=d.minPositionX,v=d.maxPositionY,b=d.minPositionY,S=n>h||nv||rh?u.offsetWidth:e.setup.minPositionX||0,_=r>v?u.offsetHeight:e.setup.minPositionY||0,T=ow(e,k,_,i,e.bounds,s||l),A=T.x,I=T.y;return{scale:i,positionX:S?A:n,positionY:E?I:r}}}function RLe(e,t,n,r,i){var o=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,l=e.transformState,u=l.scale,d=l.positionX,h=l.positionY,m=t!==d,v=n!==h,b=!m||!v;if(!(!a||b||!s)){var S=iw(t,n,s,o,r,i,a),E=S.x,k=S.y;e.setTransformState(u,E,k)}}var DLe=function(e,t,n){var r=e.startCoords,i=e.transformState,o=e.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=i.positionX,u=i.positionY;if(!r)return{x:l,y:u};var d=t-r.x,h=n-r.y,m=a?l:d,v=s?u:h;return{x:m,y:v}},sS=function(e,t){var n=e.setup,r=e.transformState,i=r.scale,o=n.minScale;return t>0&&i>=o?t:0},NLe=function(e){var t=e.mounted,n=e.setup,r=n.disabled,i=n.velocityAnimation,o=e.transformState.scale,a=i.disabled,s=!a||o>1||!r||t;return!!s},jLe=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,i=e.setup,o=i.disabled,a=i.velocityAnimation,s=e.transformState.scale,l=a.disabled,u=!l||s>1||!o||t;return!(!u||!n||!r)};function BLe(e,t){var n=e.setup.velocityAnimation,r=n.equalToMove,i=n.animationTime,o=n.sensitivity;return r?i*t*o:i}function qD(e,t,n,r,i,o,a,s,l,u){if(i){if(t>a&&n>a){var d=a+(e-a)*u;return d>l?l:do?o:d}}return r?t:Y8(e,o,a,i)}function $Le(e,t){var n=1;return t?Math.min(n,e.offsetWidth/window.innerWidth):n}function FLe(e,t){var n=NLe(e);if(n){var r=e.lastMousePosition,i=e.velocityTime,o=e.setup,a=e.wrapperComponent,s=o.velocityAnimation.equalToMove,l=Date.now();if(r&&i&&a){var u=$Le(a,s),d=t.x-r.x,h=t.y-r.y,m=d/u,v=h/u,b=l-i,S=d*d+h*h,E=Math.sqrt(S)/b;e.velocity={velocityX:m,velocityY:v,total:E}}e.lastMousePosition=t,e.velocityTime=l}}function zLe(e){var t=e.velocity,n=e.bounds,r=e.setup,i=e.wrapperComponent,o=jLe(e);if(!(!o||!t||!n||!i)){var a=t.velocityX,s=t.velocityY,l=t.total,u=n.maxPositionX,d=n.minPositionX,h=n.maxPositionY,m=n.minPositionY,v=r.limitToBounds,b=r.alignmentAnimation,S=r.zoomAnimation,E=r.panning,k=E.lockAxisY,_=E.lockAxisX,T=S.animationType,A=b.sizeX,I=b.sizeY,R=b.velocityAlignmentTime,D=R,j=BLe(e,l),z=Math.max(j,D),V=sS(e,A),K=sS(e,I),te=V*i.offsetWidth/100,q=K*i.offsetHeight/100,$=u+te,W=d-te,X=h+q,Z=m-q,U=e.transformState,Q=new Date().getTime();fY(e,T,z,function(ie){var fe=e.transformState,Se=fe.scale,Pe=fe.positionX,ye=fe.positionY,We=new Date().getTime()-Q,De=We/D,ot=cY[b.animationType],He=1-ot(Math.min(1,De)),Be=1-ie,wt=Pe+a*Be,st=ye+s*Be,mt=qD(wt,U.positionX,Pe,_,v,d,u,W,$,He),St=qD(st,U.positionY,ye,k,v,m,h,Z,X,He);(Pe!==wt||ye!==st)&&e.setTransformState(Se,mt,St)})}}function YD(e,t){var n=e.transformState.scale;Vl(e),s0(e,n),t.touches?MLe(e,t):OLe(e,t)}function KD(e,t,n){var r=e.startCoords,i=e.setup,o=i.alignmentAnimation,a=o.sizeX,s=o.sizeY;if(r){var l=DLe(e,t,n),u=l.x,d=l.y,h=sS(e,a),m=sS(e,s);FLe(e,{x:u,y:d}),RLe(e,u,d,h,m)}}function HLe(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,i=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var o=r==null?void 0:r.getBoundingClientRect(),a=i==null?void 0:i.getBoundingClientRect(),s=(o==null?void 0:o.width)||0,l=(o==null?void 0:o.height)||0,u=(a==null?void 0:a.width)||0,d=(a==null?void 0:a.height)||0,h=s.1&&h;m?zLe(e):hY(e)}}function hY(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,i=n.alignmentAnimation,o=i.disabled,a=i.sizeX,s=i.sizeY,l=i.animationTime,u=i.animationType,d=o||t=a;if((r>=1||s)&&hY(e),!(m||!i||!e.mounted)){var v=t||i.offsetWidth/2,b=n||i.offsetHeight/2,S=zP(e,a,v,b);S&&pf(e,S,d,h)}}function zP(e,t,n,r){var i=e.setup,o=i.minScale,a=i.maxScale,s=i.limitToBounds,l=Wy(rs(t,2),o,a,0,!1),u=s0(e,l),d=ow(e,n,r,l,u,s),h=d.x,m=d.y;return{scale:l,positionX:h,positionY:m}}var dm={previousScale:1,scale:1,positionX:0,positionY:0},VLe=ru(ru({},dm),{setComponents:function(){},contextInstance:null}),fv={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},gY=function(e){var t,n,r,i;return{previousScale:(t=e.initialScale)!==null&&t!==void 0?t:dm.scale,scale:(n=e.initialScale)!==null&&n!==void 0?n:dm.scale,positionX:(r=e.initialPositionX)!==null&&r!==void 0?r:dm.positionX,positionY:(i=e.initialPositionY)!==null&&i!==void 0?i:dm.positionY}},XD=function(e){var t=ru({},fv);return Object.keys(e).forEach(function(n){var r=typeof e[n]<"u",i=typeof fv[n]<"u";if(i&&r){var o=Object.prototype.toString.call(fv[n]),a=o==="[object Object]",s=o==="[object Array]";a?t[n]=ru(ru({},fv[n]),e[n]):s?t[n]=WD(WD([],fv[n]),e[n]):t[n]=e[n]}}),t},mY=function(e,t,n){var r=e.transformState.scale,i=e.wrapperComponent,o=e.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation,u=l.size;if(!i)throw new Error("Wrapper is not mounted");var d=r*Math.exp(t*n),h=Wy(rs(d,3),s,a,u,!1);return h};function vY(e,t,n,r,i){var o=e.wrapperComponent,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=o.offsetWidth,h=o.offsetHeight,m=(d/2-l)/s,v=(h/2-u)/s,b=mY(e,t,n),S=zP(e,b,m,v);if(!S)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,S,r,i)}function yY(e,t,n){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,a=gY(e.props),s=e.transformState,l=s.scale,u=s.positionX,d=s.positionY;if(i){var h=FP(e,a.scale),m=iw(a.positionX,a.positionY,h,o,0,0,i),v={scale:a.scale,positionX:m.x,positionY:m.y};l===a.scale&&u===a.positionX&&d===a.positionY||pf(e,v,t,n)}}function WLe(e,t,n){var r=e.wrapperComponent,i=e.setup,o=i.limitToBounds,a=i.minScale,s=i.maxScale;if(!r)return dm;var l=r.getBoundingClientRect(),u=ULe(t),d=u.x,h=u.y,m=t.offsetWidth,v=t.offsetHeight,b=r.offsetWidth/m,S=r.offsetHeight/v,E=Wy(n||Math.min(b,S),a,s,0,!1),k=(l.width-m*E)/2,_=(l.height-v*E)/2,T=(l.left-d)*E+k,A=(l.top-h)*E+_,I=FP(e,E),R=iw(T,A,I,o,0,0,r),D=R.x,j=R.y;return{positionX:D,positionY:j,scale:E}}function ULe(e){for(var t=e,n=0,r=0;t;)n+=t.offsetLeft,r+=t.offsetTop,t=t.offsetParent;return{x:n,y:r}}function GLe(e){if(e){if((e==null?void 0:e.offsetWidth)===void 0||(e==null?void 0:e.offsetHeight)===void 0)return console.error("Zoom node is not valid - it must contain offsetWidth and offsetHeight"),!1}else return console.error("Zoom node not found"),!1;return!0}var qLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,1,t,n,r)}},YLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,-1,t,n,r)}},KLe=function(e){return function(t,n,r,i,o){i===void 0&&(i=300),o===void 0&&(o="easeOut");var a=e.transformState,s=a.positionX,l=a.positionY,u=a.scale,d=e.wrapperComponent,h=e.contentComponent,m=e.setup.disabled;if(!(m||!d||!h)){var v={positionX:isNaN(t)?s:t,positionY:isNaN(n)?l:n,scale:isNaN(r)?u:r};pf(e,v,i,o)}}},XLe=function(e){return function(t,n){t===void 0&&(t=200),n===void 0&&(n="easeOut"),yY(e,t,n)}},ZLe=function(e){return function(t,n,r){n===void 0&&(n=200),r===void 0&&(r="easeOut");var i=e.transformState,o=e.wrapperComponent,a=e.contentComponent;if(o&&a){var s=bY(t||i.scale,o,a);pf(e,s,n,r)}}},QLe=function(e){return function(t,n,r,i){r===void 0&&(r=600),i===void 0&&(i="easeOut"),Vl(e);var o=e.wrapperComponent,a=typeof t=="string"?document.getElementById(t):t;if(o&&GLe(a)&&a&&o.contains(a)){var s=WLe(e,a,n);pf(e,s,r,i)}}},ri=function(e){return{instance:e,state:e.transformState,zoomIn:qLe(e),zoomOut:YLe(e),setTransform:KLe(e),resetTransform:XLe(e),centerView:ZLe(e),zoomToElement:QLe(e)}},FC=!1;function zC(){try{var e={get passive(){return FC=!0,!1}};return e}catch{return FC=!1,FC}}var aw=function(e,t){var n=e.tagName.toUpperCase(),r=t.find(function(o){return o.toUpperCase()===n});if(r)return!0;var i=t.find(function(o){return e.classList.contains(o)});return!!i},ZD=function(e){e&&clearTimeout(e)},JLe=function(e,t,n){return"translate3d("+e+"px, "+t+"px, 0) scale("+n+")"},bY=function(e,t,n){var r=n.offsetWidth*e,i=n.offsetHeight*e,o=(t.offsetWidth-r)/2,a=(t.offsetHeight-i)/2;return{scale:e,positionX:o,positionY:a}},eAe=function(e,t){var n=e.setup.wheel,r=n.disabled,i=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,l=e.isPanning,u=t.target,d=s&&!l&&!r&&u;if(!d||i&&!t.ctrlKey||o&&t.ctrlKey)return!1;var h=aw(u,a);return!h};function tAe(e,t){var n=e?e.deltaY<0?1:-1:0,r=hLe(t,n);return r}function SY(e,t,n){var r=t.getBoundingClientRect(),i=0,o=0;if("clientX"in e)i=(e.clientX-r.left)/n,o=(e.clientY-r.top)/n;else{var a=e.touches[0];i=(a.clientX-r.left)/n,o=(a.clientY-r.top)/n}return(isNaN(i)||isNaN(o))&&console.error("No mouse or touch offset found"),{x:i,y:o}}var nAe=function(e,t,n,r,i){var o=e.transformState.scale,a=e.wrapperComponent,s=e.setup,l=s.maxScale,u=s.minScale,d=s.zoomAnimation,h=d.size,m=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var v=o+t*(o-o*n)*n;if(i)return v;var b=r?!1:!m,S=Wy(rs(v,3),u,l,h,b);return S},rAe=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,i=e.setup,o=i.maxScale,a=i.minScale;return n?ra||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaYt.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY):!1},iAe=function(e,t){var n=e.setup.pinch,r=n.disabled,i=n.excluded,o=e.isInitialized,a=t.target,s=o&&!r&&a;if(!s)return!1;var l=aw(a,i);return!l},oAe=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance,i=n&&!t&&r;return!!i},aAe=function(e,t,n){var r=n.getBoundingClientRect(),i=e.touches,o=rs(i[0].clientX-r.left,5),a=rs(i[0].clientY-r.top,5),s=rs(i[1].clientX-r.left,5),l=rs(i[1].clientY-r.top,5);return{x:(o+s)/2/t,y:(a+l)/2/t}},xY=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},sAe=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,i=e.setup,o=i.maxScale,a=i.minScale,s=i.zoomAnimation,l=s.size,u=s.disabled;if(!n||r===null||!t)throw new Error("Pinch touches distance was not provided");if(t<0)return e.transformState.scale;var d=t/r,h=d*n;return Wy(rs(h,2),a,o,l,!u)},lAe=160,uAe=100,cAe=function(e,t){var n=e.props,r=n.onWheelStart,i=n.onZoomStart;e.wheelStopEventTimer||(Vl(e),Pi(ri(e),t,r),Pi(ri(e),t,i))},dAe=function(e,t){var n=e.props,r=n.onWheel,i=n.onZoom,o=e.contentComponent,a=e.setup,s=e.transformState,l=s.scale,u=a.limitToBounds,d=a.centerZoomedOut,h=a.zoomAnimation,m=a.wheel,v=h.size,b=h.disabled,S=m.step;if(!o)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var E=tAe(t,null),k=nAe(e,E,S,!t.ctrlKey);if(l!==k){var _=s0(e,k),T=SY(t,o,l),A=b||v===0||d,I=u&&A,R=ow(e,T.x,T.y,k,_,I),D=R.x,j=R.y;e.previousWheelEvent=t,e.setTransformState(k,D,j),Pi(ri(e),t,r),Pi(ri(e),t,i)}},fAe=function(e,t){var n=e.props,r=n.onWheelStop,i=n.onZoomStop;ZD(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(pY(e,t.x,t.y),e.wheelAnimationTimer=null)},uAe);var o=rAe(e,t);o&&(ZD(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,Pi(ri(e),t,r),Pi(ri(e),t,i))},lAe))},hAe=function(e,t){var n=xY(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,Vl(e)},pAe=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,i=e.transformState.scale,o=e.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,u=l.disabled,d=l.size;if(!(r===null||!n)){var h=aAe(t,i,n);if(!(!isFinite(h.x)||!isFinite(h.y))){var m=xY(t),v=sAe(e,m);if(v!==i){var b=s0(e,v),S=u||d===0||s,E=a&&S,k=ow(e,h.x,h.y,v,b,E),_=k.x,T=k.y;e.pinchMidpoint=h,e.lastDistance=m,e.setTransformState(v,_,T)}}}},gAe=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,pY(e,t==null?void 0:t.x,t==null?void 0:t.y)};function mAe(e,t){var n=e.setup.doubleClick,r=n.disabled,i=n.mode,o=n.step,a=n.animationTime,s=n.animationType;if(!r){if(i==="reset")return yY(e,a,s);var l=e.transformState.scale,u=e.contentComponent;if(!u)return console.error("No ContentComponent found");var d=i==="zoomOut"?-1:1,h=mY(e,d,o),m=SY(t,u,l),v=zP(e,h,m.x,m.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,v,a,s)}}var vAe=function(e,t){var n=e.isInitialized,r=e.setup,i=e.wrapperComponent,o=r.doubleClick,a=o.disabled,s=o.excluded,l=t.target,u=i==null?void 0:i.contains(l),d=n&&l&&u&&!a;if(!d)return!1;var h=aw(l,s);return!(h||!d)},wY=N.createContext(VLe),yAe=function(e){fLe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mounted=!0,n.transformState=gY(n.props),n.setup=XD(n.props),n.wrapperComponent=null,n.contentComponent=null,n.isInitialized=!1,n.bounds=null,n.previousWheelEvent=null,n.wheelStopEventTimer=null,n.wheelAnimationTimer=null,n.isPanning=!1,n.startCoords=null,n.lastTouch=null,n.distance=null,n.lastDistance=null,n.pinchStartDistance=null,n.pinchStartScale=null,n.pinchMidpoint=null,n.velocity=null,n.velocityTime=null,n.lastMousePosition=null,n.animate=!1,n.animation=null,n.maxBounds=null,n.pressedKeys={},n.handleInitializeWrapperEvents=function(r){var i=zC();r.addEventListener("wheel",n.onWheelZoom,i),r.addEventListener("dblclick",n.onDoubleClick,i),r.addEventListener("touchstart",n.onTouchPanningStart,i),r.addEventListener("touchmove",n.onTouchPanning,i),r.addEventListener("touchend",n.onTouchPanningStop,i)},n.handleInitialize=function(){var r=n.setup.centerOnInit;n.applyTransformation(),n.forceUpdate(),r&&(setTimeout(function(){n.mounted&&n.setCenter()},50),setTimeout(function(){n.mounted&&n.setCenter()},100),setTimeout(function(){n.mounted&&n.setCenter()},200))},n.onWheelZoom=function(r){var i=n.setup.disabled;if(!i){var o=eAe(n,r);if(o){var a=n.isPressingKeys(n.setup.wheel.activationKeys);a&&(cAe(n,r),dAe(n,r),fAe(n,r))}}},n.onPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),Vl(n),YD(n,r),Pi(ri(n),r,o))}}},n.onPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(!i){var a=GD(n);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),KD(n,r.clientX,r.clientY),Pi(ri(n),r,o))}}},n.onPanningStop=function(r){var i=n.props.onPanningStop;n.isPanning&&(HLe(n),Pi(ri(n),r,i))},n.onPinchStart=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinchingStart,s=o.onZoomStart;if(!i){var l=iAe(n,r);l&&(hAe(n,r),Vl(n),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinch=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinching,s=o.onZoom;if(!i){var l=oAe(n);l&&(r.preventDefault(),r.stopPropagation(),pAe(n,r),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinchStop=function(r){var i=n.props,o=i.onPinchingStop,a=i.onZoomStop;n.pinchStartScale&&(gAe(n),Pi(ri(n),r,o),Pi(ri(n),r,a))},n.onTouchPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.lastTouch&&+new Date-n.lastTouch<200;if(s&&r.touches.length===1)n.onDoubleClick(r);else{n.lastTouch=+new Date,Vl(n);var l=r.touches,u=l.length===1,d=l.length===2;u&&(Vl(n),YD(n,r),Pi(ri(n),r,o)),d&&n.onPinchStart(r)}}}},n.onTouchPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(n.isPanning&&r.touches.length===1){if(i)return;var a=GD(n);if(!a)return;r.preventDefault(),r.stopPropagation();var s=r.touches[0];KD(n,s.clientX,s.clientY),Pi(ri(n),r,o)}else r.touches.length>1&&n.onPinch(r)},n.onTouchPanningStop=function(r){n.onPanningStop(r),n.onPinchStop(r)},n.onDoubleClick=function(r){var i=n.setup.disabled;if(!i){var o=vAe(n,r);o&&mAe(n,r)}},n.clearPanning=function(r){n.isPanning&&n.onPanningStop(r)},n.setKeyPressed=function(r){n.pressedKeys[r.key]=!0},n.setKeyUnPressed=function(r){n.pressedKeys[r.key]=!1},n.isPressingKeys=function(r){return r.length?Boolean(r.find(function(i){return n.pressedKeys[i]})):!0},n.setComponents=function(r,i){n.wrapperComponent=r,n.contentComponent=i,s0(n,n.transformState.scale),n.handleInitializeWrapperEvents(r),n.handleInitialize(),n.handleRef(),n.isInitialized=!0,Pi(ri(n),void 0,n.props.onInit)},n.setTransformState=function(r,i,o){!isNaN(r)&&!isNaN(i)&&!isNaN(o)?(r!==n.transformState.scale&&(n.transformState.previousScale=n.transformState.scale,n.transformState.scale=r),n.transformState.positionX=i,n.transformState.positionY=o,n.applyTransformation()):console.error("Detected NaN set state values")},n.setCenter=function(){if(n.wrapperComponent&&n.contentComponent){var r=bY(n.transformState.scale,n.wrapperComponent,n.contentComponent);n.setTransformState(r.scale,r.positionX,r.positionY)}},n.applyTransformation=function(){if(!(!n.mounted||!n.contentComponent)){var r=n.transformState,i=r.scale,o=r.positionX,a=r.positionY,s=JLe(o,a,i);n.contentComponent.style.transform=s,n.handleRef()}},n.handleRef=function(){n.props.setRef(ri(n))},n}return t.prototype.componentDidMount=function(){var n=zC();window.addEventListener("mousedown",this.onPanningStart,n),window.addEventListener("mousemove",this.onPanning,n),window.addEventListener("mouseup",this.onPanningStop,n),document.addEventListener("mouseleave",this.clearPanning,n),window.addEventListener("keyup",this.setKeyUnPressed,n),window.addEventListener("keydown",this.setKeyPressed,n),this.handleRef()},t.prototype.componentWillUnmount=function(){var n=zC();window.removeEventListener("mousedown",this.onPanningStart,n),window.removeEventListener("mousemove",this.onPanning,n),window.removeEventListener("mouseup",this.onPanningStop,n),window.removeEventListener("keyup",this.setKeyUnPressed,n),window.removeEventListener("keydown",this.setKeyPressed,n),Vl(this)},t.prototype.componentDidUpdate=function(n){n!==this.props&&(s0(this,this.transformState.scale),this.setup=XD(this.props))},t.prototype.render=function(){var n=ri(this),r=this.props.children,i=typeof r=="function"?r(n):r;return N.createElement(wY.Provider,{value:ru(ru({},this.transformState),{setComponents:this.setComponents,contextInstance:this})},i)},t}(w.Component),bAe=N.forwardRef(function(e,t){var n=w.useState(null),r=n[0],i=n[1];return w.useImperativeHandle(t,function(){return r},[r]),N.createElement(yAe,ru({},e,{setRef:i}))});function SAe(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var xAe=`.transform-component-module_wrapper__1_Fgj { +***************************************************************************** */var q8=function(e,t){return q8=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},q8(e,t)};function fLe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");q8(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ru=function(){return ru=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=n?(r(o),e.animation=null):e.animation&&(r(u),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function pf(e,t,n,r){var i=TLe(t);if(!(!e.mounted||!i)){var o=e.setTransformState,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=t.scale-s,h=t.positionX-l,m=t.positionY-u;n===0?o(t.scale,t.positionX,t.positionY):fY(e,r,n,function(v){var b=s+d*v,S=l+h*v,k=u+m*v;o(b,S,k)})}}function TLe(e){var t=e.scale,n=e.positionX,r=e.positionY;return!(isNaN(t)||isNaN(n)||isNaN(r))}function LLe(e,t,n){var r=e.offsetWidth,i=e.offsetHeight,o=t.offsetWidth,a=t.offsetHeight,s=o*n,l=a*n,u=r-s,d=i-l;return{wrapperWidth:r,wrapperHeight:i,newContentWidth:s,newDiffWidth:u,newContentHeight:l,newDiffHeight:d}}var ALe=function(e,t,n,r,i,o,a){var s=e>t?n*(a?1:.5):0,l=r>i?o*(a?1:.5):0,u=e-t-s,d=s,h=r-i-l,m=l;return{minPositionX:u,maxPositionX:d,minPositionY:h,maxPositionY:m}},FP=function(e,t){var n=e.wrapperComponent,r=e.contentComponent,i=e.setup.centerZoomedOut;if(!n||!r)throw new Error("Components are not mounted");var o=LLe(n,r,t),a=o.wrapperWidth,s=o.wrapperHeight,l=o.newContentWidth,u=o.newDiffWidth,d=o.newContentHeight,h=o.newDiffHeight,m=ALe(a,l,u,s,d,h,Boolean(i));return m},s0=function(e,t){var n=FP(e,t);return e.bounds=n,n};function iw(e,t,n,r,i,o,a){var s=n.minPositionX,l=n.minPositionY,u=n.maxPositionX,d=n.maxPositionY,h=0,m=0;a&&(h=i,m=o);var v=Y8(e,s-h,u+h,r),b=Y8(t,l-m,d+m,r);return{x:v,y:b}}var Y8=function(e,t,n,r){return r?en?rs(n,2):rs(e,2):rs(e,2)};function ow(e,t,n,r,i,o){var a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=r-s;if(typeof t!="number"||typeof n!="number")return console.error("Mouse X and Y position were not provided!"),{x:l,y:u};var h=l-t*d,m=u-n*d,v=iw(h,m,i,o,0,0,null);return v}function Wy(e,t,n,r,i){var o=i?r:0,a=t-o;return!isNaN(n)&&e>=n?n:!isNaN(t)&&e<=a?a:e}var UD=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,i=e.wrapperComponent,o=t.target,a=i==null?void 0:i.contains(o),s=r&&o&&a;if(!s)return!1;var l=aw(o,n);return!l},GD=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup,i=r.panning.disabled,o=t&&n&&!i;return!!o},OLe=function(e,t){var n=e.transformState,r=n.positionX,i=n.positionY;e.isPanning=!0;var o=t.clientX,a=t.clientY;e.startCoords={x:o-r,y:a-i}},MLe=function(e,t){var n=t.touches,r=e.transformState,i=r.positionX,o=r.positionY;e.isPanning=!0;var a=n.length===1;if(a){var s=n[0].clientX,l=n[0].clientY;e.startCoords={x:s-i,y:l-o}}};function ILe(e){var t=e.transformState,n=t.positionX,r=t.positionY,i=t.scale,o=e.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,u=e.wrapperComponent;if(!(a||!u||!e.bounds)){var d=e.bounds,h=d.maxPositionX,m=d.minPositionX,v=d.maxPositionY,b=d.minPositionY,S=n>h||nv||rh?u.offsetWidth:e.setup.minPositionX||0,_=r>v?u.offsetHeight:e.setup.minPositionY||0,T=ow(e,E,_,i,e.bounds,s||l),A=T.x,I=T.y;return{scale:i,positionX:S?A:n,positionY:k?I:r}}}function RLe(e,t,n,r,i){var o=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,l=e.transformState,u=l.scale,d=l.positionX,h=l.positionY,m=t!==d,v=n!==h,b=!m||!v;if(!(!a||b||!s)){var S=iw(t,n,s,o,r,i,a),k=S.x,E=S.y;e.setTransformState(u,k,E)}}var DLe=function(e,t,n){var r=e.startCoords,i=e.transformState,o=e.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=i.positionX,u=i.positionY;if(!r)return{x:l,y:u};var d=t-r.x,h=n-r.y,m=a?l:d,v=s?u:h;return{x:m,y:v}},sS=function(e,t){var n=e.setup,r=e.transformState,i=r.scale,o=n.minScale;return t>0&&i>=o?t:0},NLe=function(e){var t=e.mounted,n=e.setup,r=n.disabled,i=n.velocityAnimation,o=e.transformState.scale,a=i.disabled,s=!a||o>1||!r||t;return!!s},jLe=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,i=e.setup,o=i.disabled,a=i.velocityAnimation,s=e.transformState.scale,l=a.disabled,u=!l||s>1||!o||t;return!(!u||!n||!r)};function BLe(e,t){var n=e.setup.velocityAnimation,r=n.equalToMove,i=n.animationTime,o=n.sensitivity;return r?i*t*o:i}function qD(e,t,n,r,i,o,a,s,l,u){if(i){if(t>a&&n>a){var d=a+(e-a)*u;return d>l?l:do?o:d}}return r?t:Y8(e,o,a,i)}function $Le(e,t){var n=1;return t?Math.min(n,e.offsetWidth/window.innerWidth):n}function FLe(e,t){var n=NLe(e);if(n){var r=e.lastMousePosition,i=e.velocityTime,o=e.setup,a=e.wrapperComponent,s=o.velocityAnimation.equalToMove,l=Date.now();if(r&&i&&a){var u=$Le(a,s),d=t.x-r.x,h=t.y-r.y,m=d/u,v=h/u,b=l-i,S=d*d+h*h,k=Math.sqrt(S)/b;e.velocity={velocityX:m,velocityY:v,total:k}}e.lastMousePosition=t,e.velocityTime=l}}function zLe(e){var t=e.velocity,n=e.bounds,r=e.setup,i=e.wrapperComponent,o=jLe(e);if(!(!o||!t||!n||!i)){var a=t.velocityX,s=t.velocityY,l=t.total,u=n.maxPositionX,d=n.minPositionX,h=n.maxPositionY,m=n.minPositionY,v=r.limitToBounds,b=r.alignmentAnimation,S=r.zoomAnimation,k=r.panning,E=k.lockAxisY,_=k.lockAxisX,T=S.animationType,A=b.sizeX,I=b.sizeY,R=b.velocityAlignmentTime,D=R,j=BLe(e,l),z=Math.max(j,D),V=sS(e,A),K=sS(e,I),te=V*i.offsetWidth/100,q=K*i.offsetHeight/100,$=u+te,U=d-te,X=h+q,Z=m-q,W=e.transformState,Q=new Date().getTime();fY(e,T,z,function(ie){var fe=e.transformState,Se=fe.scale,Pe=fe.positionX,ye=fe.positionY,We=new Date().getTime()-Q,De=We/D,ot=cY[b.animationType],He=1-ot(Math.min(1,De)),Be=1-ie,wt=Pe+a*Be,st=ye+s*Be,mt=qD(wt,W.positionX,Pe,_,v,d,u,U,$,He),St=qD(st,W.positionY,ye,E,v,m,h,Z,X,He);(Pe!==wt||ye!==st)&&e.setTransformState(Se,mt,St)})}}function YD(e,t){var n=e.transformState.scale;Vl(e),s0(e,n),t.touches?MLe(e,t):OLe(e,t)}function KD(e,t,n){var r=e.startCoords,i=e.setup,o=i.alignmentAnimation,a=o.sizeX,s=o.sizeY;if(r){var l=DLe(e,t,n),u=l.x,d=l.y,h=sS(e,a),m=sS(e,s);FLe(e,{x:u,y:d}),RLe(e,u,d,h,m)}}function HLe(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,i=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var o=r==null?void 0:r.getBoundingClientRect(),a=i==null?void 0:i.getBoundingClientRect(),s=(o==null?void 0:o.width)||0,l=(o==null?void 0:o.height)||0,u=(a==null?void 0:a.width)||0,d=(a==null?void 0:a.height)||0,h=s.1&&h;m?zLe(e):hY(e)}}function hY(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,i=n.alignmentAnimation,o=i.disabled,a=i.sizeX,s=i.sizeY,l=i.animationTime,u=i.animationType,d=o||t=a;if((r>=1||s)&&hY(e),!(m||!i||!e.mounted)){var v=t||i.offsetWidth/2,b=n||i.offsetHeight/2,S=zP(e,a,v,b);S&&pf(e,S,d,h)}}function zP(e,t,n,r){var i=e.setup,o=i.minScale,a=i.maxScale,s=i.limitToBounds,l=Wy(rs(t,2),o,a,0,!1),u=s0(e,l),d=ow(e,n,r,l,u,s),h=d.x,m=d.y;return{scale:l,positionX:h,positionY:m}}var dm={previousScale:1,scale:1,positionX:0,positionY:0},VLe=ru(ru({},dm),{setComponents:function(){},contextInstance:null}),fv={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},gY=function(e){var t,n,r,i;return{previousScale:(t=e.initialScale)!==null&&t!==void 0?t:dm.scale,scale:(n=e.initialScale)!==null&&n!==void 0?n:dm.scale,positionX:(r=e.initialPositionX)!==null&&r!==void 0?r:dm.positionX,positionY:(i=e.initialPositionY)!==null&&i!==void 0?i:dm.positionY}},XD=function(e){var t=ru({},fv);return Object.keys(e).forEach(function(n){var r=typeof e[n]<"u",i=typeof fv[n]<"u";if(i&&r){var o=Object.prototype.toString.call(fv[n]),a=o==="[object Object]",s=o==="[object Array]";a?t[n]=ru(ru({},fv[n]),e[n]):s?t[n]=WD(WD([],fv[n]),e[n]):t[n]=e[n]}}),t},mY=function(e,t,n){var r=e.transformState.scale,i=e.wrapperComponent,o=e.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation,u=l.size;if(!i)throw new Error("Wrapper is not mounted");var d=r*Math.exp(t*n),h=Wy(rs(d,3),s,a,u,!1);return h};function vY(e,t,n,r,i){var o=e.wrapperComponent,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=o.offsetWidth,h=o.offsetHeight,m=(d/2-l)/s,v=(h/2-u)/s,b=mY(e,t,n),S=zP(e,b,m,v);if(!S)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,S,r,i)}function yY(e,t,n){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,a=gY(e.props),s=e.transformState,l=s.scale,u=s.positionX,d=s.positionY;if(i){var h=FP(e,a.scale),m=iw(a.positionX,a.positionY,h,o,0,0,i),v={scale:a.scale,positionX:m.x,positionY:m.y};l===a.scale&&u===a.positionX&&d===a.positionY||pf(e,v,t,n)}}function WLe(e,t,n){var r=e.wrapperComponent,i=e.setup,o=i.limitToBounds,a=i.minScale,s=i.maxScale;if(!r)return dm;var l=r.getBoundingClientRect(),u=ULe(t),d=u.x,h=u.y,m=t.offsetWidth,v=t.offsetHeight,b=r.offsetWidth/m,S=r.offsetHeight/v,k=Wy(n||Math.min(b,S),a,s,0,!1),E=(l.width-m*k)/2,_=(l.height-v*k)/2,T=(l.left-d)*k+E,A=(l.top-h)*k+_,I=FP(e,k),R=iw(T,A,I,o,0,0,r),D=R.x,j=R.y;return{positionX:D,positionY:j,scale:k}}function ULe(e){for(var t=e,n=0,r=0;t;)n+=t.offsetLeft,r+=t.offsetTop,t=t.offsetParent;return{x:n,y:r}}function GLe(e){if(e){if((e==null?void 0:e.offsetWidth)===void 0||(e==null?void 0:e.offsetHeight)===void 0)return console.error("Zoom node is not valid - it must contain offsetWidth and offsetHeight"),!1}else return console.error("Zoom node not found"),!1;return!0}var qLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,1,t,n,r)}},YLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,-1,t,n,r)}},KLe=function(e){return function(t,n,r,i,o){i===void 0&&(i=300),o===void 0&&(o="easeOut");var a=e.transformState,s=a.positionX,l=a.positionY,u=a.scale,d=e.wrapperComponent,h=e.contentComponent,m=e.setup.disabled;if(!(m||!d||!h)){var v={positionX:isNaN(t)?s:t,positionY:isNaN(n)?l:n,scale:isNaN(r)?u:r};pf(e,v,i,o)}}},XLe=function(e){return function(t,n){t===void 0&&(t=200),n===void 0&&(n="easeOut"),yY(e,t,n)}},ZLe=function(e){return function(t,n,r){n===void 0&&(n=200),r===void 0&&(r="easeOut");var i=e.transformState,o=e.wrapperComponent,a=e.contentComponent;if(o&&a){var s=bY(t||i.scale,o,a);pf(e,s,n,r)}}},QLe=function(e){return function(t,n,r,i){r===void 0&&(r=600),i===void 0&&(i="easeOut"),Vl(e);var o=e.wrapperComponent,a=typeof t=="string"?document.getElementById(t):t;if(o&&GLe(a)&&a&&o.contains(a)){var s=WLe(e,a,n);pf(e,s,r,i)}}},ri=function(e){return{instance:e,state:e.transformState,zoomIn:qLe(e),zoomOut:YLe(e),setTransform:KLe(e),resetTransform:XLe(e),centerView:ZLe(e),zoomToElement:QLe(e)}},FC=!1;function zC(){try{var e={get passive(){return FC=!0,!1}};return e}catch{return FC=!1,FC}}var aw=function(e,t){var n=e.tagName.toUpperCase(),r=t.find(function(o){return o.toUpperCase()===n});if(r)return!0;var i=t.find(function(o){return e.classList.contains(o)});return!!i},ZD=function(e){e&&clearTimeout(e)},JLe=function(e,t,n){return"translate3d("+e+"px, "+t+"px, 0) scale("+n+")"},bY=function(e,t,n){var r=n.offsetWidth*e,i=n.offsetHeight*e,o=(t.offsetWidth-r)/2,a=(t.offsetHeight-i)/2;return{scale:e,positionX:o,positionY:a}},eAe=function(e,t){var n=e.setup.wheel,r=n.disabled,i=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,l=e.isPanning,u=t.target,d=s&&!l&&!r&&u;if(!d||i&&!t.ctrlKey||o&&t.ctrlKey)return!1;var h=aw(u,a);return!h};function tAe(e,t){var n=e?e.deltaY<0?1:-1:0,r=hLe(t,n);return r}function SY(e,t,n){var r=t.getBoundingClientRect(),i=0,o=0;if("clientX"in e)i=(e.clientX-r.left)/n,o=(e.clientY-r.top)/n;else{var a=e.touches[0];i=(a.clientX-r.left)/n,o=(a.clientY-r.top)/n}return(isNaN(i)||isNaN(o))&&console.error("No mouse or touch offset found"),{x:i,y:o}}var nAe=function(e,t,n,r,i){var o=e.transformState.scale,a=e.wrapperComponent,s=e.setup,l=s.maxScale,u=s.minScale,d=s.zoomAnimation,h=d.size,m=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var v=o+t*(o-o*n)*n;if(i)return v;var b=r?!1:!m,S=Wy(rs(v,3),u,l,h,b);return S},rAe=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,i=e.setup,o=i.maxScale,a=i.minScale;return n?ra||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaYt.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY):!1},iAe=function(e,t){var n=e.setup.pinch,r=n.disabled,i=n.excluded,o=e.isInitialized,a=t.target,s=o&&!r&&a;if(!s)return!1;var l=aw(a,i);return!l},oAe=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance,i=n&&!t&&r;return!!i},aAe=function(e,t,n){var r=n.getBoundingClientRect(),i=e.touches,o=rs(i[0].clientX-r.left,5),a=rs(i[0].clientY-r.top,5),s=rs(i[1].clientX-r.left,5),l=rs(i[1].clientY-r.top,5);return{x:(o+s)/2/t,y:(a+l)/2/t}},xY=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},sAe=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,i=e.setup,o=i.maxScale,a=i.minScale,s=i.zoomAnimation,l=s.size,u=s.disabled;if(!n||r===null||!t)throw new Error("Pinch touches distance was not provided");if(t<0)return e.transformState.scale;var d=t/r,h=d*n;return Wy(rs(h,2),a,o,l,!u)},lAe=160,uAe=100,cAe=function(e,t){var n=e.props,r=n.onWheelStart,i=n.onZoomStart;e.wheelStopEventTimer||(Vl(e),Pi(ri(e),t,r),Pi(ri(e),t,i))},dAe=function(e,t){var n=e.props,r=n.onWheel,i=n.onZoom,o=e.contentComponent,a=e.setup,s=e.transformState,l=s.scale,u=a.limitToBounds,d=a.centerZoomedOut,h=a.zoomAnimation,m=a.wheel,v=h.size,b=h.disabled,S=m.step;if(!o)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var k=tAe(t,null),E=nAe(e,k,S,!t.ctrlKey);if(l!==E){var _=s0(e,E),T=SY(t,o,l),A=b||v===0||d,I=u&&A,R=ow(e,T.x,T.y,E,_,I),D=R.x,j=R.y;e.previousWheelEvent=t,e.setTransformState(E,D,j),Pi(ri(e),t,r),Pi(ri(e),t,i)}},fAe=function(e,t){var n=e.props,r=n.onWheelStop,i=n.onZoomStop;ZD(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(pY(e,t.x,t.y),e.wheelAnimationTimer=null)},uAe);var o=rAe(e,t);o&&(ZD(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,Pi(ri(e),t,r),Pi(ri(e),t,i))},lAe))},hAe=function(e,t){var n=xY(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,Vl(e)},pAe=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,i=e.transformState.scale,o=e.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,u=l.disabled,d=l.size;if(!(r===null||!n)){var h=aAe(t,i,n);if(!(!isFinite(h.x)||!isFinite(h.y))){var m=xY(t),v=sAe(e,m);if(v!==i){var b=s0(e,v),S=u||d===0||s,k=a&&S,E=ow(e,h.x,h.y,v,b,k),_=E.x,T=E.y;e.pinchMidpoint=h,e.lastDistance=m,e.setTransformState(v,_,T)}}}},gAe=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,pY(e,t==null?void 0:t.x,t==null?void 0:t.y)};function mAe(e,t){var n=e.setup.doubleClick,r=n.disabled,i=n.mode,o=n.step,a=n.animationTime,s=n.animationType;if(!r){if(i==="reset")return yY(e,a,s);var l=e.transformState.scale,u=e.contentComponent;if(!u)return console.error("No ContentComponent found");var d=i==="zoomOut"?-1:1,h=mY(e,d,o),m=SY(t,u,l),v=zP(e,h,m.x,m.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,v,a,s)}}var vAe=function(e,t){var n=e.isInitialized,r=e.setup,i=e.wrapperComponent,o=r.doubleClick,a=o.disabled,s=o.excluded,l=t.target,u=i==null?void 0:i.contains(l),d=n&&l&&u&&!a;if(!d)return!1;var h=aw(l,s);return!(h||!d)},wY=N.createContext(VLe),yAe=function(e){fLe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mounted=!0,n.transformState=gY(n.props),n.setup=XD(n.props),n.wrapperComponent=null,n.contentComponent=null,n.isInitialized=!1,n.bounds=null,n.previousWheelEvent=null,n.wheelStopEventTimer=null,n.wheelAnimationTimer=null,n.isPanning=!1,n.startCoords=null,n.lastTouch=null,n.distance=null,n.lastDistance=null,n.pinchStartDistance=null,n.pinchStartScale=null,n.pinchMidpoint=null,n.velocity=null,n.velocityTime=null,n.lastMousePosition=null,n.animate=!1,n.animation=null,n.maxBounds=null,n.pressedKeys={},n.handleInitializeWrapperEvents=function(r){var i=zC();r.addEventListener("wheel",n.onWheelZoom,i),r.addEventListener("dblclick",n.onDoubleClick,i),r.addEventListener("touchstart",n.onTouchPanningStart,i),r.addEventListener("touchmove",n.onTouchPanning,i),r.addEventListener("touchend",n.onTouchPanningStop,i)},n.handleInitialize=function(){var r=n.setup.centerOnInit;n.applyTransformation(),n.forceUpdate(),r&&(setTimeout(function(){n.mounted&&n.setCenter()},50),setTimeout(function(){n.mounted&&n.setCenter()},100),setTimeout(function(){n.mounted&&n.setCenter()},200))},n.onWheelZoom=function(r){var i=n.setup.disabled;if(!i){var o=eAe(n,r);if(o){var a=n.isPressingKeys(n.setup.wheel.activationKeys);a&&(cAe(n,r),dAe(n,r),fAe(n,r))}}},n.onPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),Vl(n),YD(n,r),Pi(ri(n),r,o))}}},n.onPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(!i){var a=GD(n);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),KD(n,r.clientX,r.clientY),Pi(ri(n),r,o))}}},n.onPanningStop=function(r){var i=n.props.onPanningStop;n.isPanning&&(HLe(n),Pi(ri(n),r,i))},n.onPinchStart=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinchingStart,s=o.onZoomStart;if(!i){var l=iAe(n,r);l&&(hAe(n,r),Vl(n),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinch=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinching,s=o.onZoom;if(!i){var l=oAe(n);l&&(r.preventDefault(),r.stopPropagation(),pAe(n,r),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinchStop=function(r){var i=n.props,o=i.onPinchingStop,a=i.onZoomStop;n.pinchStartScale&&(gAe(n),Pi(ri(n),r,o),Pi(ri(n),r,a))},n.onTouchPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.lastTouch&&+new Date-n.lastTouch<200;if(s&&r.touches.length===1)n.onDoubleClick(r);else{n.lastTouch=+new Date,Vl(n);var l=r.touches,u=l.length===1,d=l.length===2;u&&(Vl(n),YD(n,r),Pi(ri(n),r,o)),d&&n.onPinchStart(r)}}}},n.onTouchPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(n.isPanning&&r.touches.length===1){if(i)return;var a=GD(n);if(!a)return;r.preventDefault(),r.stopPropagation();var s=r.touches[0];KD(n,s.clientX,s.clientY),Pi(ri(n),r,o)}else r.touches.length>1&&n.onPinch(r)},n.onTouchPanningStop=function(r){n.onPanningStop(r),n.onPinchStop(r)},n.onDoubleClick=function(r){var i=n.setup.disabled;if(!i){var o=vAe(n,r);o&&mAe(n,r)}},n.clearPanning=function(r){n.isPanning&&n.onPanningStop(r)},n.setKeyPressed=function(r){n.pressedKeys[r.key]=!0},n.setKeyUnPressed=function(r){n.pressedKeys[r.key]=!1},n.isPressingKeys=function(r){return r.length?Boolean(r.find(function(i){return n.pressedKeys[i]})):!0},n.setComponents=function(r,i){n.wrapperComponent=r,n.contentComponent=i,s0(n,n.transformState.scale),n.handleInitializeWrapperEvents(r),n.handleInitialize(),n.handleRef(),n.isInitialized=!0,Pi(ri(n),void 0,n.props.onInit)},n.setTransformState=function(r,i,o){!isNaN(r)&&!isNaN(i)&&!isNaN(o)?(r!==n.transformState.scale&&(n.transformState.previousScale=n.transformState.scale,n.transformState.scale=r),n.transformState.positionX=i,n.transformState.positionY=o,n.applyTransformation()):console.error("Detected NaN set state values")},n.setCenter=function(){if(n.wrapperComponent&&n.contentComponent){var r=bY(n.transformState.scale,n.wrapperComponent,n.contentComponent);n.setTransformState(r.scale,r.positionX,r.positionY)}},n.applyTransformation=function(){if(!(!n.mounted||!n.contentComponent)){var r=n.transformState,i=r.scale,o=r.positionX,a=r.positionY,s=JLe(o,a,i);n.contentComponent.style.transform=s,n.handleRef()}},n.handleRef=function(){n.props.setRef(ri(n))},n}return t.prototype.componentDidMount=function(){var n=zC();window.addEventListener("mousedown",this.onPanningStart,n),window.addEventListener("mousemove",this.onPanning,n),window.addEventListener("mouseup",this.onPanningStop,n),document.addEventListener("mouseleave",this.clearPanning,n),window.addEventListener("keyup",this.setKeyUnPressed,n),window.addEventListener("keydown",this.setKeyPressed,n),this.handleRef()},t.prototype.componentWillUnmount=function(){var n=zC();window.removeEventListener("mousedown",this.onPanningStart,n),window.removeEventListener("mousemove",this.onPanning,n),window.removeEventListener("mouseup",this.onPanningStop,n),window.removeEventListener("keyup",this.setKeyUnPressed,n),window.removeEventListener("keydown",this.setKeyPressed,n),Vl(this)},t.prototype.componentDidUpdate=function(n){n!==this.props&&(s0(this,this.transformState.scale),this.setup=XD(this.props))},t.prototype.render=function(){var n=ri(this),r=this.props.children,i=typeof r=="function"?r(n):r;return N.createElement(wY.Provider,{value:ru(ru({},this.transformState),{setComponents:this.setComponents,contextInstance:this})},i)},t}(w.Component),bAe=N.forwardRef(function(e,t){var n=w.useState(null),r=n[0],i=n[1];return w.useImperativeHandle(t,function(){return r},[r]),N.createElement(yAe,ru({},e,{setRef:i}))});function SAe(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var xAe=`.transform-component-module_wrapper__1_Fgj { position: relative; width: -moz-fit-content; width: fit-content; @@ -527,13 +527,13 @@ PERFORMANCE OF THIS SOFTWARE. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var vOe=function(t){var n={},r=w,i=Bh,o=Object.assign;function a(f){for(var p="https://reactjs.org/docs/error-decoder.html?invariant="+f,x=1;xle||L[G]!==M[le]){var pe=` -`+L[G].replace(" at new "," at ");return f.displayName&&pe.includes("")&&(pe=pe.replace("",f.displayName)),pe}while(1<=G&&0<=le);break}}}finally{al=!1,Error.prepareStackTrace=x}return(f=f?f.displayName||f.name:"")?yu(f):""}var Tp=Object.prototype.hasOwnProperty,xc=[],sl=-1;function oa(f){return{current:f}}function Dn(f){0>sl||(f.current=xc[sl],xc[sl]=null,sl--)}function Pn(f,p){sl++,xc[sl]=f.current,f.current=p}var aa={},Hr=oa(aa),li=oa(!1),sa=aa;function ll(f,p){var x=f.type.contextTypes;if(!x)return aa;var P=f.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===p)return P.__reactInternalMemoizedMaskedChildContext;var L={},M;for(M in x)L[M]=p[M];return P&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=p,f.__reactInternalMemoizedMaskedChildContext=L),L}function ui(f){return f=f.childContextTypes,f!=null}function vs(){Dn(li),Dn(Hr)}function bf(f,p,x){if(Hr.current!==aa)throw Error(a(168));Pn(Hr,p),Pn(li,x)}function Su(f,p,x){var P=f.stateNode;if(p=p.childContextTypes,typeof P.getChildContext!="function")return x;P=P.getChildContext();for(var L in P)if(!(L in p))throw Error(a(108,j(f)||"Unknown",L));return o({},x,P)}function ys(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||aa,sa=Hr.current,Pn(Hr,f),Pn(li,li.current),!0}function Sf(f,p,x){var P=f.stateNode;if(!P)throw Error(a(169));x?(f=Su(f,p,sa),P.__reactInternalMemoizedMergedChildContext=f,Dn(li),Dn(Hr),Pn(Hr,f)):Dn(li),Pn(li,x)}var Mi=Math.clz32?Math.clz32:xf,Lp=Math.log,Ap=Math.LN2;function xf(f){return f>>>=0,f===0?32:31-(Lp(f)/Ap|0)|0}var ul=64,Io=4194304;function cl(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function xu(f,p){var x=f.pendingLanes;if(x===0)return 0;var P=0,L=f.suspendedLanes,M=f.pingedLanes,G=x&268435455;if(G!==0){var le=G&~L;le!==0?P=cl(le):(M&=G,M!==0&&(P=cl(M)))}else G=x&~L,G!==0?P=cl(G):M!==0&&(P=cl(M));if(P===0)return 0;if(p!==0&&p!==P&&!(p&L)&&(L=P&-P,M=p&-p,L>=M||L===16&&(M&4194240)!==0))return p;if(P&4&&(P|=x&16),p=f.entangledLanes,p!==0)for(f=f.entanglements,p&=P;0x;x++)p.push(f);return p}function $a(f,p,x){f.pendingLanes|=p,p!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,p=31-Mi(p),f[p]=x}function Cf(f,p){var x=f.pendingLanes&~p;f.pendingLanes=p,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=p,f.mutableReadLanes&=p,f.entangledLanes&=p,p=f.entanglements;var P=f.eventTimes;for(f=f.expirationTimes;0>=G,L-=G,co=1<<32-Mi(p)+L|x<Gt?(ti=Rt,Rt=null):ti=Rt.sibling;var Jt=rt(me,Rt,be[Gt],et);if(Jt===null){Rt===null&&(Rt=ti);break}f&&Rt&&Jt.alternate===null&&p(me,Rt),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt,Rt=ti}if(Gt===be.length)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;GtGt?(ti=Rt,Rt=null):ti=Rt.sibling;var Ps=rt(me,Rt,Jt.value,et);if(Ps===null){Rt===null&&(Rt=ti);break}f&&Rt&&Ps.alternate===null&&p(me,Rt),ue=M(Ps,ue,Gt),Bt===null?Oe=Ps:Bt.sibling=Ps,Bt=Ps,Rt=ti}if(Jt.done)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;!Jt.done;Gt++,Jt=be.next())Jt=jt(me,Jt.value,et),Jt!==null&&(ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return Vn&&dl(me,Gt),Oe}for(Rt=P(me,Rt);!Jt.done;Gt++,Jt=be.next())Jt=Un(Rt,me,Gt,Jt.value,et),Jt!==null&&(f&&Jt.alternate!==null&&Rt.delete(Jt.key===null?Gt:Jt.key),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return f&&Rt.forEach(function(ki){return p(me,ki)}),Vn&&dl(me,Gt),Oe}function ya(me,ue,be,et){if(typeof be=="object"&&be!==null&&be.type===d&&be.key===null&&(be=be.props.children),typeof be=="object"&&be!==null){switch(be.$$typeof){case l:e:{for(var Oe=be.key,Bt=ue;Bt!==null;){if(Bt.key===Oe){if(Oe=be.type,Oe===d){if(Bt.tag===7){x(me,Bt.sibling),ue=L(Bt,be.props.children),ue.return=me,me=ue;break e}}else if(Bt.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===T&&t1(Oe)===Bt.type){x(me,Bt.sibling),ue=L(Bt,be.props),ue.ref=Ha(me,Bt,be),ue.return=me,me=ue;break e}x(me,Bt);break}else p(me,Bt);Bt=Bt.sibling}be.type===d?(ue=kl(be.props.children,me.mode,et,be.key),ue.return=me,me=ue):(et=Zf(be.type,be.key,be.props,null,me.mode,et),et.ref=Ha(me,ue,be),et.return=me,me=et)}return G(me);case u:e:{for(Bt=be.key;ue!==null;){if(ue.key===Bt)if(ue.tag===4&&ue.stateNode.containerInfo===be.containerInfo&&ue.stateNode.implementation===be.implementation){x(me,ue.sibling),ue=L(ue,be.children||[]),ue.return=me,me=ue;break e}else{x(me,ue);break}else p(me,ue);ue=ue.sibling}ue=El(be,me.mode,et),ue.return=me,me=ue}return G(me);case T:return Bt=be._init,ya(me,ue,Bt(be._payload),et)}if(W(be))return Nn(me,ue,be,et);if(R(be))return mr(me,ue,be,et);Xi(me,be)}return typeof be=="string"&&be!==""||typeof be=="number"?(be=""+be,ue!==null&&ue.tag===6?(x(me,ue.sibling),ue=L(ue,be),ue.return=me,me=ue):(x(me,ue),ue=vg(be,me.mode,et),ue.return=me,me=ue),G(me)):x(me,ue)}return ya}var Mc=r3(!0),i3=r3(!1),Rf={},jo=oa(Rf),Va=oa(Rf),oe=oa(Rf);function we(f){if(f===Rf)throw Error(a(174));return f}function ve(f,p){Pn(oe,p),Pn(Va,f),Pn(jo,Rf),f=Z(p),Dn(jo),Pn(jo,f)}function nt(){Dn(jo),Dn(Va),Dn(oe)}function It(f){var p=we(oe.current),x=we(jo.current);p=U(x,f.type,p),x!==p&&(Pn(Va,f),Pn(jo,p))}function rn(f){Va.current===f&&(Dn(jo),Dn(Va))}var $t=oa(0);function mn(f){for(var p=f;p!==null;){if(p.tag===13){var x=p.memoizedState;if(x!==null&&(x=x.dehydrated,x===null||bc(x)||yf(x)))return p}else if(p.tag===19&&p.memoizedProps.revealOrder!==void 0){if(p.flags&128)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var Df=[];function n1(){for(var f=0;fx?x:4,f(!0);var P=Ic.transition;Ic.transition={};try{f(!1),p()}finally{Yt=x,Ic.transition=P}}function Fc(){return Di().memoizedState}function c1(f,p,x){var P=qr(f);if(x={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null},Hc(f))Vc(p,x);else if(x=Oc(f,p,x,P),x!==null){var L=_i();Fo(x,f,P,L),zf(x,p,P)}}function zc(f,p,x){var P=qr(f),L={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null};if(Hc(f))Vc(p,L);else{var M=f.alternate;if(f.lanes===0&&(M===null||M.lanes===0)&&(M=p.lastRenderedReducer,M!==null))try{var G=p.lastRenderedState,le=M(G,x);if(L.hasEagerState=!0,L.eagerState=le,Y(le,G)){var pe=p.interleaved;pe===null?(L.next=L,Mf(p)):(L.next=pe.next,pe.next=L),p.interleaved=L;return}}catch{}finally{}x=Oc(f,p,L,P),x!==null&&(L=_i(),Fo(x,f,P,L),zf(x,p,P))}}function Hc(f){var p=f.alternate;return f===Tn||p!==null&&p===Tn}function Vc(f,p){Nf=un=!0;var x=f.pending;x===null?p.next=p:(p.next=x.next,x.next=p),f.pending=p}function zf(f,p,x){if(x&4194240){var P=p.lanes;P&=f.pendingLanes,x|=P,p.lanes=x,wu(f,x)}}var xs={readContext:fo,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},gw={readContext:fo,useCallback:function(f,p){return di().memoizedState=[f,p===void 0?null:p],f},useContext:fo,useEffect:s3,useImperativeHandle:function(f,p,x){return x=x!=null?x.concat([f]):null,Eu(4194308,4,Rr.bind(null,p,f),x)},useLayoutEffect:function(f,p){return Eu(4194308,4,f,p)},useInsertionEffect:function(f,p){return Eu(4,2,f,p)},useMemo:function(f,p){var x=di();return p=p===void 0?null:p,f=f(),x.memoizedState=[f,p],f},useReducer:function(f,p,x){var P=di();return p=x!==void 0?x(p):p,P.memoizedState=P.baseState=p,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:p},P.queue=f,f=f.dispatch=c1.bind(null,Tn,f),[P.memoizedState,f]},useRef:function(f){var p=di();return f={current:f},p.memoizedState=f},useState:a3,useDebugValue:s1,useDeferredValue:function(f){return di().memoizedState=f},useTransition:function(){var f=a3(!1),p=f[0];return f=u1.bind(null,f[1]),di().memoizedState=f,[p,f]},useMutableSource:function(){},useSyncExternalStore:function(f,p,x){var P=Tn,L=di();if(Vn){if(x===void 0)throw Error(a(407));x=x()}else{if(x=p(),ei===null)throw Error(a(349));ku&30||a1(P,p,x)}L.memoizedState=x;var M={value:x,getSnapshot:p};return L.queue=M,s3(pl.bind(null,P,M,f),[f]),P.flags|=2048,$f(9,Bc.bind(null,P,M,x,p),void 0,null),x},useId:function(){var f=di(),p=ei.identifierPrefix;if(Vn){var x=Fa,P=co;x=(P&~(1<<32-Mi(P)-1)).toString(32)+x,p=":"+p+"R"+x,x=Rc++,0")&&(pe=pe.replace("",f.displayName)),pe}while(1<=G&&0<=le);break}}}finally{al=!1,Error.prepareStackTrace=x}return(f=f?f.displayName||f.name:"")?yu(f):""}var Tp=Object.prototype.hasOwnProperty,xc=[],sl=-1;function oa(f){return{current:f}}function Dn(f){0>sl||(f.current=xc[sl],xc[sl]=null,sl--)}function Pn(f,p){sl++,xc[sl]=f.current,f.current=p}var aa={},Hr=oa(aa),li=oa(!1),sa=aa;function ll(f,p){var x=f.type.contextTypes;if(!x)return aa;var P=f.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===p)return P.__reactInternalMemoizedMaskedChildContext;var L={},M;for(M in x)L[M]=p[M];return P&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=p,f.__reactInternalMemoizedMaskedChildContext=L),L}function ui(f){return f=f.childContextTypes,f!=null}function vs(){Dn(li),Dn(Hr)}function bf(f,p,x){if(Hr.current!==aa)throw Error(a(168));Pn(Hr,p),Pn(li,x)}function Su(f,p,x){var P=f.stateNode;if(p=p.childContextTypes,typeof P.getChildContext!="function")return x;P=P.getChildContext();for(var L in P)if(!(L in p))throw Error(a(108,j(f)||"Unknown",L));return o({},x,P)}function ys(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||aa,sa=Hr.current,Pn(Hr,f),Pn(li,li.current),!0}function Sf(f,p,x){var P=f.stateNode;if(!P)throw Error(a(169));x?(f=Su(f,p,sa),P.__reactInternalMemoizedMergedChildContext=f,Dn(li),Dn(Hr),Pn(Hr,f)):Dn(li),Pn(li,x)}var Mi=Math.clz32?Math.clz32:xf,Lp=Math.log,Ap=Math.LN2;function xf(f){return f>>>=0,f===0?32:31-(Lp(f)/Ap|0)|0}var ul=64,Io=4194304;function cl(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function xu(f,p){var x=f.pendingLanes;if(x===0)return 0;var P=0,L=f.suspendedLanes,M=f.pingedLanes,G=x&268435455;if(G!==0){var le=G&~L;le!==0?P=cl(le):(M&=G,M!==0&&(P=cl(M)))}else G=x&~L,G!==0?P=cl(G):M!==0&&(P=cl(M));if(P===0)return 0;if(p!==0&&p!==P&&!(p&L)&&(L=P&-P,M=p&-p,L>=M||L===16&&(M&4194240)!==0))return p;if(P&4&&(P|=x&16),p=f.entangledLanes,p!==0)for(f=f.entanglements,p&=P;0x;x++)p.push(f);return p}function $a(f,p,x){f.pendingLanes|=p,p!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,p=31-Mi(p),f[p]=x}function Cf(f,p){var x=f.pendingLanes&~p;f.pendingLanes=p,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=p,f.mutableReadLanes&=p,f.entangledLanes&=p,p=f.entanglements;var P=f.eventTimes;for(f=f.expirationTimes;0>=G,L-=G,co=1<<32-Mi(p)+L|x<Gt?(ti=Rt,Rt=null):ti=Rt.sibling;var Jt=rt(me,Rt,be[Gt],et);if(Jt===null){Rt===null&&(Rt=ti);break}f&&Rt&&Jt.alternate===null&&p(me,Rt),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt,Rt=ti}if(Gt===be.length)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;GtGt?(ti=Rt,Rt=null):ti=Rt.sibling;var Ps=rt(me,Rt,Jt.value,et);if(Ps===null){Rt===null&&(Rt=ti);break}f&&Rt&&Ps.alternate===null&&p(me,Rt),ue=M(Ps,ue,Gt),Bt===null?Oe=Ps:Bt.sibling=Ps,Bt=Ps,Rt=ti}if(Jt.done)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;!Jt.done;Gt++,Jt=be.next())Jt=jt(me,Jt.value,et),Jt!==null&&(ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return Vn&&dl(me,Gt),Oe}for(Rt=P(me,Rt);!Jt.done;Gt++,Jt=be.next())Jt=Un(Rt,me,Gt,Jt.value,et),Jt!==null&&(f&&Jt.alternate!==null&&Rt.delete(Jt.key===null?Gt:Jt.key),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return f&&Rt.forEach(function(ki){return p(me,ki)}),Vn&&dl(me,Gt),Oe}function ya(me,ue,be,et){if(typeof be=="object"&&be!==null&&be.type===d&&be.key===null&&(be=be.props.children),typeof be=="object"&&be!==null){switch(be.$$typeof){case l:e:{for(var Oe=be.key,Bt=ue;Bt!==null;){if(Bt.key===Oe){if(Oe=be.type,Oe===d){if(Bt.tag===7){x(me,Bt.sibling),ue=L(Bt,be.props.children),ue.return=me,me=ue;break e}}else if(Bt.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===T&&t1(Oe)===Bt.type){x(me,Bt.sibling),ue=L(Bt,be.props),ue.ref=Ha(me,Bt,be),ue.return=me,me=ue;break e}x(me,Bt);break}else p(me,Bt);Bt=Bt.sibling}be.type===d?(ue=kl(be.props.children,me.mode,et,be.key),ue.return=me,me=ue):(et=Zf(be.type,be.key,be.props,null,me.mode,et),et.ref=Ha(me,ue,be),et.return=me,me=et)}return G(me);case u:e:{for(Bt=be.key;ue!==null;){if(ue.key===Bt)if(ue.tag===4&&ue.stateNode.containerInfo===be.containerInfo&&ue.stateNode.implementation===be.implementation){x(me,ue.sibling),ue=L(ue,be.children||[]),ue.return=me,me=ue;break e}else{x(me,ue);break}else p(me,ue);ue=ue.sibling}ue=El(be,me.mode,et),ue.return=me,me=ue}return G(me);case T:return Bt=be._init,ya(me,ue,Bt(be._payload),et)}if(U(be))return Nn(me,ue,be,et);if(R(be))return mr(me,ue,be,et);Xi(me,be)}return typeof be=="string"&&be!==""||typeof be=="number"?(be=""+be,ue!==null&&ue.tag===6?(x(me,ue.sibling),ue=L(ue,be),ue.return=me,me=ue):(x(me,ue),ue=vg(be,me.mode,et),ue.return=me,me=ue),G(me)):x(me,ue)}return ya}var Mc=r3(!0),i3=r3(!1),Rf={},jo=oa(Rf),Va=oa(Rf),oe=oa(Rf);function we(f){if(f===Rf)throw Error(a(174));return f}function ve(f,p){Pn(oe,p),Pn(Va,f),Pn(jo,Rf),f=Z(p),Dn(jo),Pn(jo,f)}function nt(){Dn(jo),Dn(Va),Dn(oe)}function It(f){var p=we(oe.current),x=we(jo.current);p=W(x,f.type,p),x!==p&&(Pn(Va,f),Pn(jo,p))}function rn(f){Va.current===f&&(Dn(jo),Dn(Va))}var $t=oa(0);function mn(f){for(var p=f;p!==null;){if(p.tag===13){var x=p.memoizedState;if(x!==null&&(x=x.dehydrated,x===null||bc(x)||yf(x)))return p}else if(p.tag===19&&p.memoizedProps.revealOrder!==void 0){if(p.flags&128)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var Df=[];function n1(){for(var f=0;fx?x:4,f(!0);var P=Ic.transition;Ic.transition={};try{f(!1),p()}finally{Yt=x,Ic.transition=P}}function Fc(){return Di().memoizedState}function c1(f,p,x){var P=qr(f);if(x={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null},Hc(f))Vc(p,x);else if(x=Oc(f,p,x,P),x!==null){var L=_i();Fo(x,f,P,L),zf(x,p,P)}}function zc(f,p,x){var P=qr(f),L={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null};if(Hc(f))Vc(p,L);else{var M=f.alternate;if(f.lanes===0&&(M===null||M.lanes===0)&&(M=p.lastRenderedReducer,M!==null))try{var G=p.lastRenderedState,le=M(G,x);if(L.hasEagerState=!0,L.eagerState=le,Y(le,G)){var pe=p.interleaved;pe===null?(L.next=L,Mf(p)):(L.next=pe.next,pe.next=L),p.interleaved=L;return}}catch{}finally{}x=Oc(f,p,L,P),x!==null&&(L=_i(),Fo(x,f,P,L),zf(x,p,P))}}function Hc(f){var p=f.alternate;return f===Tn||p!==null&&p===Tn}function Vc(f,p){Nf=un=!0;var x=f.pending;x===null?p.next=p:(p.next=x.next,x.next=p),f.pending=p}function zf(f,p,x){if(x&4194240){var P=p.lanes;P&=f.pendingLanes,x|=P,p.lanes=x,wu(f,x)}}var xs={readContext:fo,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},gw={readContext:fo,useCallback:function(f,p){return di().memoizedState=[f,p===void 0?null:p],f},useContext:fo,useEffect:s3,useImperativeHandle:function(f,p,x){return x=x!=null?x.concat([f]):null,Eu(4194308,4,Rr.bind(null,p,f),x)},useLayoutEffect:function(f,p){return Eu(4194308,4,f,p)},useInsertionEffect:function(f,p){return Eu(4,2,f,p)},useMemo:function(f,p){var x=di();return p=p===void 0?null:p,f=f(),x.memoizedState=[f,p],f},useReducer:function(f,p,x){var P=di();return p=x!==void 0?x(p):p,P.memoizedState=P.baseState=p,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:p},P.queue=f,f=f.dispatch=c1.bind(null,Tn,f),[P.memoizedState,f]},useRef:function(f){var p=di();return f={current:f},p.memoizedState=f},useState:a3,useDebugValue:s1,useDeferredValue:function(f){return di().memoizedState=f},useTransition:function(){var f=a3(!1),p=f[0];return f=u1.bind(null,f[1]),di().memoizedState=f,[p,f]},useMutableSource:function(){},useSyncExternalStore:function(f,p,x){var P=Tn,L=di();if(Vn){if(x===void 0)throw Error(a(407));x=x()}else{if(x=p(),ei===null)throw Error(a(349));ku&30||a1(P,p,x)}L.memoizedState=x;var M={value:x,getSnapshot:p};return L.queue=M,s3(pl.bind(null,P,M,f),[f]),P.flags|=2048,$f(9,Bc.bind(null,P,M,x,p),void 0,null),x},useId:function(){var f=di(),p=ei.identifierPrefix;if(Vn){var x=Fa,P=co;x=(P&~(1<<32-Mi(P)-1)).toString(32)+x,p=":"+p+"R"+x,x=Rc++,0sg&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304)}else{if(!P)if(f=mn(M),f!==null){if(p.flags|=128,P=!0,f=f.updateQueue,f!==null&&(p.updateQueue=f,p.flags|=4),Gc(L,!0),L.tail===null&&L.tailMode==="hidden"&&!M.alternate&&!Vn)return xi(p),null}else 2*Kn()-L.renderingStartTime>sg&&x!==1073741824&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304);L.isBackwards?(M.sibling=p.child,p.child=M):(f=L.last,f!==null?f.sibling=M:p.child=M,L.last=M)}return L.tail!==null?(p=L.tail,L.rendering=p,L.tail=p.sibling,L.renderingStartTime=Kn(),p.sibling=null,f=$t.current,Pn($t,P?f&1|2:f&1),p):(xi(p),null);case 22:case 23:return td(),x=p.memoizedState!==null,f!==null&&f.memoizedState!==null!==x&&(p.flags|=8192),x&&p.mode&1?po&1073741824&&(xi(p),st&&p.subtreeFlags&6&&(p.flags|=8192)):xi(p),null;case 24:return null;case 25:return null}throw Error(a(156,p.tag))}function y1(f,p){switch(Z0(p),p.tag){case 1:return ui(p.type)&&vs(),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return nt(),Dn(li),Dn(Hr),n1(),f=p.flags,f&65536&&!(f&128)?(p.flags=f&-65537|128,p):null;case 5:return rn(p),null;case 13:if(Dn($t),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(a(340));Tc()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Dn($t),null;case 4:return nt(),null;case 10:return Af(p.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var ml=!1,Wr=!1,xw=typeof WeakSet=="function"?WeakSet:Set,ct=null;function qc(f,p){var x=f.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(P){Zn(f,p,P)}else x.current=null}function pa(f,p,x){try{x()}catch(P){Zn(f,p,P)}}var Yp=!1;function Tu(f,p){for(Q(f.containerInfo),ct=p;ct!==null;)if(f=ct,p=f.child,(f.subtreeFlags&1028)!==0&&p!==null)p.return=f,ct=p;else for(;ct!==null;){f=ct;try{var x=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var P=x.memoizedProps,L=x.memoizedState,M=f.stateNode,G=M.getSnapshotBeforeUpdate(f.elementType===f.type?P:ua(f.type,P),L);M.__reactInternalSnapshotBeforeUpdate=G}break;case 3:st&&rl(f.stateNode.containerInfo);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(le){Zn(f,f.return,le)}if(p=f.sibling,p!==null){p.return=f.return,ct=p;break}ct=f.return}return x=Yp,Yp=!1,x}function wi(f,p,x){var P=p.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var L=P=P.next;do{if((L.tag&f)===f){var M=L.destroy;L.destroy=void 0,M!==void 0&&pa(p,x,M)}L=L.next}while(L!==P)}}function Kp(f,p){if(p=p.updateQueue,p=p!==null?p.lastEffect:null,p!==null){var x=p=p.next;do{if((x.tag&f)===f){var P=x.create;x.destroy=P()}x=x.next}while(x!==p)}}function Xp(f){var p=f.ref;if(p!==null){var x=f.stateNode;switch(f.tag){case 5:f=X(x);break;default:f=x}typeof p=="function"?p(f):p.current=f}}function b1(f){var p=f.alternate;p!==null&&(f.alternate=null,b1(p)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(p=f.stateNode,p!==null&&ut(p)),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function Yc(f){return f.tag===5||f.tag===3||f.tag===4}function Cs(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||Yc(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Zp(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Xe(x,f,p):At(x,f);else if(P!==4&&(f=f.child,f!==null))for(Zp(f,p,x),f=f.sibling;f!==null;)Zp(f,p,x),f=f.sibling}function S1(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Rn(x,f,p):Te(x,f);else if(P!==4&&(f=f.child,f!==null))for(S1(f,p,x),f=f.sibling;f!==null;)S1(f,p,x),f=f.sibling}var Nr=null,ga=!1;function ma(f,p,x){for(x=x.child;x!==null;)Ur(f,p,x),x=x.sibling}function Ur(f,p,x){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(gn,x)}catch{}switch(x.tag){case 5:Wr||qc(x,p);case 6:if(st){var P=Nr,L=ga;Nr=null,ma(f,p,x),Nr=P,ga=L,Nr!==null&&(ga?ft(Nr,x.stateNode):xt(Nr,x.stateNode))}else ma(f,p,x);break;case 18:st&&Nr!==null&&(ga?G0(Nr,x.stateNode):U0(Nr,x.stateNode));break;case 4:st?(P=Nr,L=ga,Nr=x.stateNode.containerInfo,ga=!0,ma(f,p,x),Nr=P,ga=L):(mt&&(P=x.stateNode.containerInfo,L=Ba(P),yc(P,L)),ma(f,p,x));break;case 0:case 11:case 14:case 15:if(!Wr&&(P=x.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){L=P=P.next;do{var M=L,G=M.destroy;M=M.tag,G!==void 0&&(M&2||M&4)&&pa(x,p,G),L=L.next}while(L!==P)}ma(f,p,x);break;case 1:if(!Wr&&(qc(x,p),P=x.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=x.memoizedProps,P.state=x.memoizedState,P.componentWillUnmount()}catch(le){Zn(x,p,le)}ma(f,p,x);break;case 21:ma(f,p,x);break;case 22:x.mode&1?(Wr=(P=Wr)||x.memoizedState!==null,ma(f,p,x),Wr=P):ma(f,p,x);break;default:ma(f,p,x)}}function Qp(f){var p=f.updateQueue;if(p!==null){f.updateQueue=null;var x=f.stateNode;x===null&&(x=f.stateNode=new xw),p.forEach(function(P){var L=k3.bind(null,f,P);x.has(P)||(x.add(P),P.then(L,L))})}}function Bo(f,p){var x=p.deletions;if(x!==null)for(var P=0;P";case ng:return":has("+(C1(f)||"")+")";case rg:return'[role="'+f.value+'"]';case ig:return'"'+f.value+'"';case Kc:return'[data-testname="'+f.value+'"]';default:throw Error(a(365))}}function Xc(f,p){var x=[];f=[f,0];for(var P=0;PL&&(L=G),P&=~M}if(P=L,P=Kn()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*ww(P/1960))-P,10f?16:f,Ot===null)var P=!1;else{if(f=Ot,Ot=null,lg=0,Ut&6)throw Error(a(331));var L=Ut;for(Ut|=4,ct=f.current;ct!==null;){var M=ct,G=M.child;if(ct.flags&16){var le=M.deletions;if(le!==null){for(var pe=0;peKn()-E1?wl(f,0):k1|=x),hi(f,p)}function O1(f,p){p===0&&(f.mode&1?(p=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):p=1);var x=_i();f=ca(f,p),f!==null&&($a(f,p,x),hi(f,x))}function _w(f){var p=f.memoizedState,x=0;p!==null&&(x=p.retryLane),O1(f,x)}function k3(f,p){var x=0;switch(f.tag){case 13:var P=f.stateNode,L=f.memoizedState;L!==null&&(x=L.retryLane);break;case 19:P=f.stateNode;break;default:throw Error(a(314))}P!==null&&P.delete(p),O1(f,x)}var M1;M1=function(f,p,x){if(f!==null)if(f.memoizedProps!==p.pendingProps||li.current)Zi=!0;else{if(!(f.lanes&x)&&!(p.flags&128))return Zi=!1,bw(f,p,x);Zi=!!(f.flags&131072)}else Zi=!1,Vn&&p.flags&1048576&&X0(p,Ir,p.index);switch(p.lanes=0,p.tag){case 2:var P=p.type;Wa(f,p),f=p.pendingProps;var L=ll(p,Hr.current);Ac(p,x),L=i1(null,p,P,f,L,x);var M=Dc();return p.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(p.tag=1,p.memoizedState=null,p.updateQueue=null,ui(P)?(M=!0,ys(p)):M=!1,p.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,J0(p),L.updater=da,p.stateNode=L,L._reactInternals=p,e1(p,P,f,x),p=fa(null,p,P,!0,M,x)):(p.tag=0,Vn&&M&&Ii(p),Ni(null,p,L,x),p=p.child),p;case 16:P=p.elementType;e:{switch(Wa(f,p),f=p.pendingProps,L=P._init,P=L(P._payload),p.type=P,L=p.tag=gg(P),f=ua(P,f),L){case 0:p=h1(null,p,P,f,x);break e;case 1:p=m3(null,p,P,f,x);break e;case 11:p=f3(null,p,P,f,x);break e;case 14:p=gl(null,p,P,ua(P.type,f),x);break e}throw Error(a(306,P,""))}return p;case 0:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),h1(f,p,P,L,x);case 1:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),m3(f,p,P,L,x);case 3:e:{if(v3(p),f===null)throw Error(a(387));P=p.pendingProps,M=p.memoizedState,L=M.element,Jy(f,p),$p(p,P,null,x);var G=p.memoizedState;if(P=G.element,St&&M.isDehydrated)if(M={element:P,isDehydrated:!1,cache:G.cache,pendingSuspenseBoundaries:G.pendingSuspenseBoundaries,transitions:G.transitions},p.updateQueue.baseState=M,p.memoizedState=M,p.flags&256){L=Wc(Error(a(423)),p),p=y3(f,p,P,x,L);break e}else if(P!==L){L=Wc(Error(a(424)),p),p=y3(f,p,P,x,L);break e}else for(St&&(Do=B0(p.stateNode.containerInfo),Xn=p,Vn=!0,Ki=null,No=!1),x=i3(p,null,P,x),p.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(Tc(),P===L){p=ws(f,p,x);break e}Ni(f,p,P,x)}p=p.child}return p;case 5:return It(p),f===null&&Ef(p),P=p.type,L=p.pendingProps,M=f!==null?f.memoizedProps:null,G=L.children,We(P,L)?G=null:M!==null&&We(P,M)&&(p.flags|=32),g3(f,p),Ni(f,p,G,x),p.child;case 6:return f===null&&Ef(p),null;case 13:return b3(f,p,x);case 4:return ve(p,p.stateNode.containerInfo),P=p.pendingProps,f===null?p.child=Mc(p,null,P,x):Ni(f,p,P,x),p.child;case 11:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),f3(f,p,P,L,x);case 7:return Ni(f,p,p.pendingProps,x),p.child;case 8:return Ni(f,p,p.pendingProps.children,x),p.child;case 12:return Ni(f,p,p.pendingProps.children,x),p.child;case 10:e:{if(P=p.type._context,L=p.pendingProps,M=p.memoizedProps,G=L.value,Qy(p,P,G),M!==null)if(Y(M.value,G)){if(M.children===L.children&&!li.current){p=ws(f,p,x);break e}}else for(M=p.child,M!==null&&(M.return=p);M!==null;){var le=M.dependencies;if(le!==null){G=M.child;for(var pe=le.firstContext;pe!==null;){if(pe.context===P){if(M.tag===1){pe=Ss(-1,x&-x),pe.tag=2;var ze=M.updateQueue;if(ze!==null){ze=ze.shared;var dt=ze.pending;dt===null?pe.next=pe:(pe.next=dt.next,dt.next=pe),ze.pending=pe}}M.lanes|=x,pe=M.alternate,pe!==null&&(pe.lanes|=x),Of(M.return,x,p),le.lanes|=x;break}pe=pe.next}}else if(M.tag===10)G=M.type===p.type?null:M.child;else if(M.tag===18){if(G=M.return,G===null)throw Error(a(341));G.lanes|=x,le=G.alternate,le!==null&&(le.lanes|=x),Of(G,x,p),G=M.sibling}else G=M.child;if(G!==null)G.return=M;else for(G=M;G!==null;){if(G===p){G=null;break}if(M=G.sibling,M!==null){M.return=G.return,G=M;break}G=G.return}M=G}Ni(f,p,L.children,x),p=p.child}return p;case 9:return L=p.type,P=p.pendingProps.children,Ac(p,x),L=fo(L),P=P(L),p.flags|=1,Ni(f,p,P,x),p.child;case 14:return P=p.type,L=ua(P,p.pendingProps),L=ua(P.type,L),gl(f,p,P,L,x);case 15:return h3(f,p,p.type,p.pendingProps,x);case 17:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),Wa(f,p),p.tag=1,ui(P)?(f=!0,ys(p)):f=!1,Ac(p,x),t3(p,P,L),e1(p,P,L,x),fa(null,p,P,!0,f,x);case 19:return x3(f,p,x);case 22:return p3(f,p,x)}throw Error(a(156,p.tag))};function $i(f,p){return kc(f,p)}function Ua(f,p,x,P){this.tag=f,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(f,p,x,P){return new Ua(f,p,x,P)}function I1(f){return f=f.prototype,!(!f||!f.isReactComponent)}function gg(f){if(typeof f=="function")return I1(f)?1:0;if(f!=null){if(f=f.$$typeof,f===S)return 11;if(f===_)return 14}return 2}function mo(f,p){var x=f.alternate;return x===null?(x=zo(f.tag,p,f.key,f.mode),x.elementType=f.elementType,x.type=f.type,x.stateNode=f.stateNode,x.alternate=f,f.alternate=x):(x.pendingProps=p,x.type=f.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=f.flags&14680064,x.childLanes=f.childLanes,x.lanes=f.lanes,x.child=f.child,x.memoizedProps=f.memoizedProps,x.memoizedState=f.memoizedState,x.updateQueue=f.updateQueue,p=f.dependencies,x.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},x.sibling=f.sibling,x.index=f.index,x.ref=f.ref,x}function Zf(f,p,x,P,L,M){var G=2;if(P=f,typeof f=="function")I1(f)&&(G=1);else if(typeof f=="string")G=5;else e:switch(f){case d:return kl(x.children,L,M,p);case h:G=8,L|=8;break;case m:return f=zo(12,x,p,L|2),f.elementType=m,f.lanes=M,f;case E:return f=zo(13,x,p,L),f.elementType=E,f.lanes=M,f;case k:return f=zo(19,x,p,L),f.elementType=k,f.lanes=M,f;case A:return mg(x,L,M,p);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case v:G=10;break e;case b:G=9;break e;case S:G=11;break e;case _:G=14;break e;case T:G=16,P=null;break e}throw Error(a(130,f==null?f:typeof f,""))}return p=zo(G,x,p,L),p.elementType=f,p.type=P,p.lanes=M,p}function kl(f,p,x,P){return f=zo(7,f,P,p),f.lanes=x,f}function mg(f,p,x,P){return f=zo(22,f,P,p),f.elementType=A,f.lanes=x,f.stateNode={isHidden:!1},f}function vg(f,p,x){return f=zo(6,f,null,p),f.lanes=x,f}function El(f,p,x){return p=zo(4,f.children!==null?f.children:[],f.key,p),p.lanes=x,p.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},p}function Qf(f,p,x,P,L){this.tag=p,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Be,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=P,this.onRecoverableError=L,St&&(this.mutableSourceEagerHydrationData=null)}function E3(f,p,x,P,L,M,G,le,pe){return f=new Qf(f,p,x,le,pe),p===1?(p=1,M===!0&&(p|=8)):p=0,M=zo(3,null,null,p),f.current=M,M.stateNode=f,M.memoizedState={element:P,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},J0(M),f}function R1(f){if(!f)return aa;f=f._reactInternals;e:{if(z(f)!==f||f.tag!==1)throw Error(a(170));var p=f;do{switch(p.tag){case 3:p=p.stateNode.context;break e;case 1:if(ui(p.type)){p=p.stateNode.__reactInternalMemoizedMergedChildContext;break e}}p=p.return}while(p!==null);throw Error(a(171))}if(f.tag===1){var x=f.type;if(ui(x))return Su(f,x,p)}return p}function D1(f){var p=f._reactInternals;if(p===void 0)throw typeof f.render=="function"?Error(a(188)):(f=Object.keys(f).join(","),Error(a(268,f)));return f=te(p),f===null?null:f.stateNode}function Jf(f,p){if(f=f.memoizedState,f!==null&&f.dehydrated!==null){var x=f.retryLane;f.retryLane=x!==0&&x=ze&&M>=jt&&L<=dt&&G<=rt){f.splice(p,1);break}else if(P!==ze||x.width!==pe.width||rtG){if(!(M!==jt||x.height!==pe.height||dtL)){ze>P&&(pe.width+=ze-P,pe.x=P),dtM&&(pe.height+=jt-M,pe.y=M),rtx&&(x=G)),Gsg&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304)}else{if(!P)if(f=mn(M),f!==null){if(p.flags|=128,P=!0,f=f.updateQueue,f!==null&&(p.updateQueue=f,p.flags|=4),Gc(L,!0),L.tail===null&&L.tailMode==="hidden"&&!M.alternate&&!Vn)return xi(p),null}else 2*Kn()-L.renderingStartTime>sg&&x!==1073741824&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304);L.isBackwards?(M.sibling=p.child,p.child=M):(f=L.last,f!==null?f.sibling=M:p.child=M,L.last=M)}return L.tail!==null?(p=L.tail,L.rendering=p,L.tail=p.sibling,L.renderingStartTime=Kn(),p.sibling=null,f=$t.current,Pn($t,P?f&1|2:f&1),p):(xi(p),null);case 22:case 23:return td(),x=p.memoizedState!==null,f!==null&&f.memoizedState!==null!==x&&(p.flags|=8192),x&&p.mode&1?po&1073741824&&(xi(p),st&&p.subtreeFlags&6&&(p.flags|=8192)):xi(p),null;case 24:return null;case 25:return null}throw Error(a(156,p.tag))}function y1(f,p){switch(Z0(p),p.tag){case 1:return ui(p.type)&&vs(),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return nt(),Dn(li),Dn(Hr),n1(),f=p.flags,f&65536&&!(f&128)?(p.flags=f&-65537|128,p):null;case 5:return rn(p),null;case 13:if(Dn($t),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(a(340));Tc()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Dn($t),null;case 4:return nt(),null;case 10:return Af(p.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var ml=!1,Wr=!1,xw=typeof WeakSet=="function"?WeakSet:Set,ct=null;function qc(f,p){var x=f.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(P){Zn(f,p,P)}else x.current=null}function pa(f,p,x){try{x()}catch(P){Zn(f,p,P)}}var Yp=!1;function Tu(f,p){for(Q(f.containerInfo),ct=p;ct!==null;)if(f=ct,p=f.child,(f.subtreeFlags&1028)!==0&&p!==null)p.return=f,ct=p;else for(;ct!==null;){f=ct;try{var x=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var P=x.memoizedProps,L=x.memoizedState,M=f.stateNode,G=M.getSnapshotBeforeUpdate(f.elementType===f.type?P:ua(f.type,P),L);M.__reactInternalSnapshotBeforeUpdate=G}break;case 3:st&&rl(f.stateNode.containerInfo);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(le){Zn(f,f.return,le)}if(p=f.sibling,p!==null){p.return=f.return,ct=p;break}ct=f.return}return x=Yp,Yp=!1,x}function wi(f,p,x){var P=p.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var L=P=P.next;do{if((L.tag&f)===f){var M=L.destroy;L.destroy=void 0,M!==void 0&&pa(p,x,M)}L=L.next}while(L!==P)}}function Kp(f,p){if(p=p.updateQueue,p=p!==null?p.lastEffect:null,p!==null){var x=p=p.next;do{if((x.tag&f)===f){var P=x.create;x.destroy=P()}x=x.next}while(x!==p)}}function Xp(f){var p=f.ref;if(p!==null){var x=f.stateNode;switch(f.tag){case 5:f=X(x);break;default:f=x}typeof p=="function"?p(f):p.current=f}}function b1(f){var p=f.alternate;p!==null&&(f.alternate=null,b1(p)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(p=f.stateNode,p!==null&&ut(p)),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function Yc(f){return f.tag===5||f.tag===3||f.tag===4}function Cs(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||Yc(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Zp(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Xe(x,f,p):At(x,f);else if(P!==4&&(f=f.child,f!==null))for(Zp(f,p,x),f=f.sibling;f!==null;)Zp(f,p,x),f=f.sibling}function S1(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Rn(x,f,p):Te(x,f);else if(P!==4&&(f=f.child,f!==null))for(S1(f,p,x),f=f.sibling;f!==null;)S1(f,p,x),f=f.sibling}var Nr=null,ga=!1;function ma(f,p,x){for(x=x.child;x!==null;)Ur(f,p,x),x=x.sibling}function Ur(f,p,x){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(gn,x)}catch{}switch(x.tag){case 5:Wr||qc(x,p);case 6:if(st){var P=Nr,L=ga;Nr=null,ma(f,p,x),Nr=P,ga=L,Nr!==null&&(ga?ft(Nr,x.stateNode):xt(Nr,x.stateNode))}else ma(f,p,x);break;case 18:st&&Nr!==null&&(ga?G0(Nr,x.stateNode):U0(Nr,x.stateNode));break;case 4:st?(P=Nr,L=ga,Nr=x.stateNode.containerInfo,ga=!0,ma(f,p,x),Nr=P,ga=L):(mt&&(P=x.stateNode.containerInfo,L=Ba(P),yc(P,L)),ma(f,p,x));break;case 0:case 11:case 14:case 15:if(!Wr&&(P=x.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){L=P=P.next;do{var M=L,G=M.destroy;M=M.tag,G!==void 0&&(M&2||M&4)&&pa(x,p,G),L=L.next}while(L!==P)}ma(f,p,x);break;case 1:if(!Wr&&(qc(x,p),P=x.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=x.memoizedProps,P.state=x.memoizedState,P.componentWillUnmount()}catch(le){Zn(x,p,le)}ma(f,p,x);break;case 21:ma(f,p,x);break;case 22:x.mode&1?(Wr=(P=Wr)||x.memoizedState!==null,ma(f,p,x),Wr=P):ma(f,p,x);break;default:ma(f,p,x)}}function Qp(f){var p=f.updateQueue;if(p!==null){f.updateQueue=null;var x=f.stateNode;x===null&&(x=f.stateNode=new xw),p.forEach(function(P){var L=k3.bind(null,f,P);x.has(P)||(x.add(P),P.then(L,L))})}}function Bo(f,p){var x=p.deletions;if(x!==null)for(var P=0;P";case ng:return":has("+(C1(f)||"")+")";case rg:return'[role="'+f.value+'"]';case ig:return'"'+f.value+'"';case Kc:return'[data-testname="'+f.value+'"]';default:throw Error(a(365))}}function Xc(f,p){var x=[];f=[f,0];for(var P=0;PL&&(L=G),P&=~M}if(P=L,P=Kn()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*ww(P/1960))-P,10f?16:f,Ot===null)var P=!1;else{if(f=Ot,Ot=null,lg=0,Ut&6)throw Error(a(331));var L=Ut;for(Ut|=4,ct=f.current;ct!==null;){var M=ct,G=M.child;if(ct.flags&16){var le=M.deletions;if(le!==null){for(var pe=0;peKn()-E1?wl(f,0):k1|=x),hi(f,p)}function O1(f,p){p===0&&(f.mode&1?(p=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):p=1);var x=_i();f=ca(f,p),f!==null&&($a(f,p,x),hi(f,x))}function _w(f){var p=f.memoizedState,x=0;p!==null&&(x=p.retryLane),O1(f,x)}function k3(f,p){var x=0;switch(f.tag){case 13:var P=f.stateNode,L=f.memoizedState;L!==null&&(x=L.retryLane);break;case 19:P=f.stateNode;break;default:throw Error(a(314))}P!==null&&P.delete(p),O1(f,x)}var M1;M1=function(f,p,x){if(f!==null)if(f.memoizedProps!==p.pendingProps||li.current)Zi=!0;else{if(!(f.lanes&x)&&!(p.flags&128))return Zi=!1,bw(f,p,x);Zi=!!(f.flags&131072)}else Zi=!1,Vn&&p.flags&1048576&&X0(p,Ir,p.index);switch(p.lanes=0,p.tag){case 2:var P=p.type;Wa(f,p),f=p.pendingProps;var L=ll(p,Hr.current);Ac(p,x),L=i1(null,p,P,f,L,x);var M=Dc();return p.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(p.tag=1,p.memoizedState=null,p.updateQueue=null,ui(P)?(M=!0,ys(p)):M=!1,p.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,J0(p),L.updater=da,p.stateNode=L,L._reactInternals=p,e1(p,P,f,x),p=fa(null,p,P,!0,M,x)):(p.tag=0,Vn&&M&&Ii(p),Ni(null,p,L,x),p=p.child),p;case 16:P=p.elementType;e:{switch(Wa(f,p),f=p.pendingProps,L=P._init,P=L(P._payload),p.type=P,L=p.tag=gg(P),f=ua(P,f),L){case 0:p=h1(null,p,P,f,x);break e;case 1:p=m3(null,p,P,f,x);break e;case 11:p=f3(null,p,P,f,x);break e;case 14:p=gl(null,p,P,ua(P.type,f),x);break e}throw Error(a(306,P,""))}return p;case 0:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),h1(f,p,P,L,x);case 1:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),m3(f,p,P,L,x);case 3:e:{if(v3(p),f===null)throw Error(a(387));P=p.pendingProps,M=p.memoizedState,L=M.element,Jy(f,p),$p(p,P,null,x);var G=p.memoizedState;if(P=G.element,St&&M.isDehydrated)if(M={element:P,isDehydrated:!1,cache:G.cache,pendingSuspenseBoundaries:G.pendingSuspenseBoundaries,transitions:G.transitions},p.updateQueue.baseState=M,p.memoizedState=M,p.flags&256){L=Wc(Error(a(423)),p),p=y3(f,p,P,x,L);break e}else if(P!==L){L=Wc(Error(a(424)),p),p=y3(f,p,P,x,L);break e}else for(St&&(Do=B0(p.stateNode.containerInfo),Xn=p,Vn=!0,Ki=null,No=!1),x=i3(p,null,P,x),p.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(Tc(),P===L){p=ws(f,p,x);break e}Ni(f,p,P,x)}p=p.child}return p;case 5:return It(p),f===null&&Ef(p),P=p.type,L=p.pendingProps,M=f!==null?f.memoizedProps:null,G=L.children,We(P,L)?G=null:M!==null&&We(P,M)&&(p.flags|=32),g3(f,p),Ni(f,p,G,x),p.child;case 6:return f===null&&Ef(p),null;case 13:return b3(f,p,x);case 4:return ve(p,p.stateNode.containerInfo),P=p.pendingProps,f===null?p.child=Mc(p,null,P,x):Ni(f,p,P,x),p.child;case 11:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),f3(f,p,P,L,x);case 7:return Ni(f,p,p.pendingProps,x),p.child;case 8:return Ni(f,p,p.pendingProps.children,x),p.child;case 12:return Ni(f,p,p.pendingProps.children,x),p.child;case 10:e:{if(P=p.type._context,L=p.pendingProps,M=p.memoizedProps,G=L.value,Qy(p,P,G),M!==null)if(Y(M.value,G)){if(M.children===L.children&&!li.current){p=ws(f,p,x);break e}}else for(M=p.child,M!==null&&(M.return=p);M!==null;){var le=M.dependencies;if(le!==null){G=M.child;for(var pe=le.firstContext;pe!==null;){if(pe.context===P){if(M.tag===1){pe=Ss(-1,x&-x),pe.tag=2;var ze=M.updateQueue;if(ze!==null){ze=ze.shared;var dt=ze.pending;dt===null?pe.next=pe:(pe.next=dt.next,dt.next=pe),ze.pending=pe}}M.lanes|=x,pe=M.alternate,pe!==null&&(pe.lanes|=x),Of(M.return,x,p),le.lanes|=x;break}pe=pe.next}}else if(M.tag===10)G=M.type===p.type?null:M.child;else if(M.tag===18){if(G=M.return,G===null)throw Error(a(341));G.lanes|=x,le=G.alternate,le!==null&&(le.lanes|=x),Of(G,x,p),G=M.sibling}else G=M.child;if(G!==null)G.return=M;else for(G=M;G!==null;){if(G===p){G=null;break}if(M=G.sibling,M!==null){M.return=G.return,G=M;break}G=G.return}M=G}Ni(f,p,L.children,x),p=p.child}return p;case 9:return L=p.type,P=p.pendingProps.children,Ac(p,x),L=fo(L),P=P(L),p.flags|=1,Ni(f,p,P,x),p.child;case 14:return P=p.type,L=ua(P,p.pendingProps),L=ua(P.type,L),gl(f,p,P,L,x);case 15:return h3(f,p,p.type,p.pendingProps,x);case 17:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),Wa(f,p),p.tag=1,ui(P)?(f=!0,ys(p)):f=!1,Ac(p,x),t3(p,P,L),e1(p,P,L,x),fa(null,p,P,!0,f,x);case 19:return x3(f,p,x);case 22:return p3(f,p,x)}throw Error(a(156,p.tag))};function $i(f,p){return kc(f,p)}function Ua(f,p,x,P){this.tag=f,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(f,p,x,P){return new Ua(f,p,x,P)}function I1(f){return f=f.prototype,!(!f||!f.isReactComponent)}function gg(f){if(typeof f=="function")return I1(f)?1:0;if(f!=null){if(f=f.$$typeof,f===S)return 11;if(f===_)return 14}return 2}function mo(f,p){var x=f.alternate;return x===null?(x=zo(f.tag,p,f.key,f.mode),x.elementType=f.elementType,x.type=f.type,x.stateNode=f.stateNode,x.alternate=f,f.alternate=x):(x.pendingProps=p,x.type=f.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=f.flags&14680064,x.childLanes=f.childLanes,x.lanes=f.lanes,x.child=f.child,x.memoizedProps=f.memoizedProps,x.memoizedState=f.memoizedState,x.updateQueue=f.updateQueue,p=f.dependencies,x.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},x.sibling=f.sibling,x.index=f.index,x.ref=f.ref,x}function Zf(f,p,x,P,L,M){var G=2;if(P=f,typeof f=="function")I1(f)&&(G=1);else if(typeof f=="string")G=5;else e:switch(f){case d:return kl(x.children,L,M,p);case h:G=8,L|=8;break;case m:return f=zo(12,x,p,L|2),f.elementType=m,f.lanes=M,f;case k:return f=zo(13,x,p,L),f.elementType=k,f.lanes=M,f;case E:return f=zo(19,x,p,L),f.elementType=E,f.lanes=M,f;case A:return mg(x,L,M,p);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case v:G=10;break e;case b:G=9;break e;case S:G=11;break e;case _:G=14;break e;case T:G=16,P=null;break e}throw Error(a(130,f==null?f:typeof f,""))}return p=zo(G,x,p,L),p.elementType=f,p.type=P,p.lanes=M,p}function kl(f,p,x,P){return f=zo(7,f,P,p),f.lanes=x,f}function mg(f,p,x,P){return f=zo(22,f,P,p),f.elementType=A,f.lanes=x,f.stateNode={isHidden:!1},f}function vg(f,p,x){return f=zo(6,f,null,p),f.lanes=x,f}function El(f,p,x){return p=zo(4,f.children!==null?f.children:[],f.key,p),p.lanes=x,p.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},p}function Qf(f,p,x,P,L){this.tag=p,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Be,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=P,this.onRecoverableError=L,St&&(this.mutableSourceEagerHydrationData=null)}function E3(f,p,x,P,L,M,G,le,pe){return f=new Qf(f,p,x,le,pe),p===1?(p=1,M===!0&&(p|=8)):p=0,M=zo(3,null,null,p),f.current=M,M.stateNode=f,M.memoizedState={element:P,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},J0(M),f}function R1(f){if(!f)return aa;f=f._reactInternals;e:{if(z(f)!==f||f.tag!==1)throw Error(a(170));var p=f;do{switch(p.tag){case 3:p=p.stateNode.context;break e;case 1:if(ui(p.type)){p=p.stateNode.__reactInternalMemoizedMergedChildContext;break e}}p=p.return}while(p!==null);throw Error(a(171))}if(f.tag===1){var x=f.type;if(ui(x))return Su(f,x,p)}return p}function D1(f){var p=f._reactInternals;if(p===void 0)throw typeof f.render=="function"?Error(a(188)):(f=Object.keys(f).join(","),Error(a(268,f)));return f=te(p),f===null?null:f.stateNode}function Jf(f,p){if(f=f.memoizedState,f!==null&&f.dehydrated!==null){var x=f.retryLane;f.retryLane=x!==0&&x=ze&&M>=jt&&L<=dt&&G<=rt){f.splice(p,1);break}else if(P!==ze||x.width!==pe.width||rtG){if(!(M!==jt||x.height!==pe.height||dtL)){ze>P&&(pe.width+=ze-P,pe.x=P),dtM&&(pe.height+=jt-M,pe.y=M),rtx&&(x=G)),G ")+` No matching component was found for: @@ -552,7 +552,7 @@ For more info see: https://github.com/konvajs/react-konva/issues/256 `,xOe=`ReactKonva: You are using "zIndex" attribute for a Konva node. react-konva may get confused with ordering. Just define correct order of elements in your render function of a component. For more info see: https://github.com/konvajs/react-konva/issues/194 -`,wOe={};function sw(e,t,n=wOe){if(!eN&&"zIndex"in t&&(console.warn(xOe),eN=!0),!tN&&t.draggable){var r=t.x!==void 0||t.y!==void 0,i=t.onDragEnd||t.onDragMove;r&&!i&&(console.warn(SOe),tN=!0)}for(var o in n)if(!JD[o]){var a=o.slice(0,2)==="on",s=n[o]!==t[o];if(a&&s){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),e.off(l,n[o])}var u=!t.hasOwnProperty(o);u&&e.setAttr(o,void 0)}var d=t._useStrictMode,h={},m=!1;const v={};for(var o in t)if(!JD[o]){var a=o.slice(0,2)==="on",b=n[o]!==t[o];if(a&&b){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),t[o]&&(v[l]=t[o])}!a&&(t[o]!==n[o]||d&&t[o]!==e.getAttr(o))&&(m=!0,h[o]=t[o])}m&&(e.setAttrs(h),gf(e));for(var l in v)e.on(l+tT,v[l])}function gf(e){if(!pt.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const AY={},COe={};ep.Node.prototype._applyProps=sw;function _Oe(e,t){if(typeof t=="string"){console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`);return}e.add(t),gf(e)}function kOe(e,t,n){let r=ep[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=ep.Group);const i={},o={};for(var a in t){var s=a.slice(0,2)==="on";s?o[a]=t[a]:i[a]=t[a]}const l=new r(i);return sw(l,o),l}function EOe(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function POe(e,t,n){return!1}function TOe(e){return e}function LOe(){return null}function AOe(){return null}function OOe(e,t,n,r){return COe}function MOe(){}function IOe(e){}function ROe(e,t){return!1}function DOe(){return AY}function NOe(){return AY}const jOe=setTimeout,BOe=clearTimeout,$Oe=-1;function FOe(e,t){return!1}const zOe=!1,HOe=!0,VOe=!0;function WOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function UOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function OY(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),gf(e)}function GOe(e,t,n){OY(e,t,n)}function qOe(e,t){t.destroy(),t.off(tT),gf(e)}function YOe(e,t){t.destroy(),t.off(tT),gf(e)}function KOe(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function XOe(e,t,n){}function ZOe(e,t,n,r,i){sw(e,i,r)}function QOe(e){e.hide(),gf(e)}function JOe(e){}function eMe(e,t){(t.visible==null||t.visible)&&e.show()}function tMe(e,t){}function nMe(e){}function rMe(){}const iMe=()=>lS.DefaultEventPriority,oMe=Object.freeze(Object.defineProperty({__proto__:null,appendChild:WOe,appendChildToContainer:UOe,appendInitialChild:_Oe,cancelTimeout:BOe,clearContainer:nMe,commitMount:XOe,commitTextUpdate:KOe,commitUpdate:ZOe,createInstance:kOe,createTextInstance:EOe,detachDeletedInstance:rMe,finalizeInitialChildren:POe,getChildHostContext:NOe,getCurrentEventPriority:iMe,getPublicInstance:TOe,getRootHostContext:DOe,hideInstance:QOe,hideTextInstance:JOe,idlePriority:Bh.unstable_IdlePriority,insertBefore:OY,insertInContainerBefore:GOe,isPrimaryRenderer:zOe,noTimeout:$Oe,now:Bh.unstable_now,prepareForCommit:LOe,preparePortalMount:AOe,prepareUpdate:OOe,removeChild:qOe,removeChildFromContainer:YOe,resetAfterCommit:MOe,resetTextContent:IOe,run:Bh.unstable_runWithPriority,scheduleTimeout:jOe,shouldDeprioritizeSubtree:ROe,shouldSetTextContent:FOe,supportsMutation:VOe,unhideInstance:eMe,unhideTextInstance:tMe,warnsIfNotActing:HOe},Symbol.toStringTag,{value:"Module"}));var aMe=Object.defineProperty,sMe=Object.defineProperties,lMe=Object.getOwnPropertyDescriptors,nN=Object.getOwnPropertySymbols,uMe=Object.prototype.hasOwnProperty,cMe=Object.prototype.propertyIsEnumerable,rN=(e,t,n)=>t in e?aMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iN=(e,t)=>{for(var n in t||(t={}))uMe.call(t,n)&&rN(e,n,t[n]);if(nN)for(var n of nN(t))cMe.call(t,n)&&rN(e,n,t[n]);return e},dMe=(e,t)=>sMe(e,lMe(t));function nT(e,t,n){if(!e)return;if(n(e)===!0)return e;let r=t?e.return:e.child;for(;r;){const i=nT(r,t,n);if(i)return i;r=t?null:r.sibling}}function MY(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch{return e}}const rT=MY(w.createContext(null));class IY extends w.Component{render(){return w.createElement(rT.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:fMe,ReactCurrentDispatcher:hMe}=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function pMe(){const e=w.useContext(rT);if(!e)throw new Error("its-fine: useFiber must be called within a !");const t=w.useId();return w.useMemo(()=>{var r;return(r=fMe.current)!=null?r:nT(e,!1,i=>{let o=i.memoizedState;for(;o;){if(o.memoizedState===t)return!0;o=o.next}})},[e,t])}const hv=[],oN=new WeakMap;function gMe(){var e;const t=pMe();hv.splice(0,hv.length),nT(t,!0,n=>{var r;const i=(r=n.type)==null?void 0:r._context;i&&i!==rT&&hv.push(MY(i))});for(const n of hv){const r=(e=hMe.current)==null?void 0:e.readContext(n);oN.set(n,r)}return w.useMemo(()=>hv.reduce((n,r)=>i=>w.createElement(n,null,w.createElement(r.Provider,dMe(iN({},i),{value:oN.get(r)}))),n=>w.createElement(IY,iN({},n))),[])}function mMe(e){const t=N.useRef();return N.useLayoutEffect(()=>{t.current=e}),t.current}const vMe=e=>{const t=N.useRef(),n=N.useRef(),r=N.useRef(),i=mMe(e),o=gMe(),a=s=>{const{forwardedRef:l}=e;l&&(typeof l=="function"?l(s):l.current=s)};return N.useLayoutEffect(()=>(n.current=new ep.Stage({width:e.width,height:e.height,container:t.current}),a(n.current),r.current=Iv.createContainer(n.current,lS.LegacyRoot,!1,null),Iv.updateContainer(N.createElement(o,{},e.children),r.current),()=>{ep.isBrowser&&(a(null),Iv.updateContainer(null,r.current,null),n.current.destroy())}),[]),N.useLayoutEffect(()=>{a(n.current),sw(n.current,e,i),Iv.updateContainer(N.createElement(o,{},e.children),r.current,null)}),N.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},pv="Layer",sc="Group",lc="Rect",sh="Circle",uS="Line",RY="Image",yMe="Transformer",Iv=yOe(oMe);Iv.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:N.version,rendererPackageName:"react-konva"});const bMe=N.forwardRef((e,t)=>N.createElement(IY,{},N.createElement(vMe,{...e,forwardedRef:t}))),SMe=at([sn,Mr],(e,t)=>{const{tool:n,isMovingBoundingBox:r}=e;return{tool:n,isStaging:t,isMovingBoundingBox:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),xMe=()=>{const e=Me(),{tool:t,isStaging:n,isMovingBoundingBox:r}=he(SMe);return{handleDragStart:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!0))},[e,r,n,t]),handleDragMove:w.useCallback(i=>{if(!((t==="move"||n)&&!r))return;const o={x:i.target.x(),y:i.target.y()};e(ZW(o))},[e,r,n,t]),handleDragEnd:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!1))},[e,r,n,t])}},wMe=at([sn,Or,Mr],(e,t,n)=>{const{cursorPosition:r,shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isMaskEnabled:s,shouldSnapToGrid:l}=e;return{activeTabName:t,isCursorOnCanvas:Boolean(r),shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isStaging:n,isMaskEnabled:s,shouldSnapToGrid:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CMe=()=>{const e=Me(),{activeTabName:t,shouldShowBoundingBox:n,tool:r,isStaging:i,isMaskEnabled:o,shouldSnapToGrid:a}=he(wMe),s=w.useRef(null),l=zG(),u=()=>e(nP());Je(["shift+c"],()=>{u()},{enabled:()=>!i,preventDefault:!0},[]);const d=()=>e(Dy(!o));Je(["h"],()=>{d()},{enabled:()=>!i,preventDefault:!0},[o]),Je(["n"],()=>{e(q5(!a))},{enabled:!0,preventDefault:!0},[a]),Je("esc",()=>{e(Cxe())},{enabled:()=>!0,preventDefault:!0}),Je("shift+h",()=>{e(Axe(!n))},{enabled:()=>!i,preventDefault:!0},[t,n]),Je(["space"],h=>{h.repeat||(l==null||l.container().focus(),r!=="move"&&(s.current=r,e(tu("move"))),r==="move"&&s.current&&s.current!=="move"&&(e(tu(s.current)),s.current="move"))},{keyup:!0,keydown:!0,preventDefault:!0},[r,s])},iT=e=>{const t=e.getPointerPosition(),n=e.getAbsoluteTransform().copy();if(!t||!n)return;const r=n.invert().point(t);return{x:r.x,y:r.y}},DY=()=>{const e=Me(),t=el(),n=zG();return{updateColorUnderCursor:()=>{if(!n||!t)return;const r=n.getPointerPosition();if(!r)return;const i=Fg.pixelRatio,[o,a,s,l]=t.getContext().getImageData(r.x*i,r.y*i,1,1).data;e(Pxe({r:o,g:a,b:s,a:l}))},commitColorUnderCursor:()=>{e(mxe())}}},_Me=at([Or,sn,Mr],(e,t,n)=>{const{tool:r}=t;return{tool:r,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kMe=e=>{const t=Me(),{tool:n,isStaging:r}=he(_Me),{commitColorUnderCursor:i}=DY();return w.useCallback(o=>{if(!e.current)return;if(e.current.container().focus(),n==="move"||r){t(U5(!0));return}if(n==="colorPicker"){i();return}const a=iT(e.current);a&&(o.evt.preventDefault(),t(HW(!0)),t(gxe([a.x,a.y])))},[e,n,r,t,i])},EMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PMe=(e,t,n)=>{const r=Me(),{isDrawing:i,tool:o,isStaging:a}=he(EMe),{updateColorUnderCursor:s}=DY();return w.useCallback(()=>{if(!e.current)return;const l=iT(e.current);if(l){if(r(Txe(l)),n.current=l,o==="colorPicker"){s();return}!i||o==="move"||a||(t.current=!0,r($W([l.x,l.y])))}},[t,r,i,a,n,e,o,s])},TMe=()=>{const e=Me();return w.useCallback(()=>{e(bxe())},[e])},LMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),AMe=(e,t)=>{const n=Me(),{tool:r,isDrawing:i,isStaging:o}=he(LMe);return w.useCallback(()=>{if(r==="move"||o){n(U5(!1));return}if(!t.current&&i&&e.current){const a=iT(e.current);if(!a)return;n($W([a.x,a.y]))}else t.current=!1;n(HW(!1))},[t,n,i,o,e,r])},OMe=at([sn],e=>{const{isMoveStageKeyHeld:t,stageScale:n}=e;return{isMoveStageKeyHeld:t,stageScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),MMe=e=>{const t=Me(),{isMoveStageKeyHeld:n,stageScale:r}=he(OMe);return w.useCallback(i=>{if(!e.current||n)return;i.evt.preventDefault();const o=e.current.getPointerPosition();if(!o)return;const a={x:(o.x-e.current.x())/r,y:(o.y-e.current.y())/r};let s=i.evt.deltaY;i.evt.ctrlKey&&(s=-s);const l=ke.clamp(r*ixe**s,oxe,axe),u={x:o.x-a.x*l,y:o.y-a.y*l};t(Mxe(l)),t(ZW(u))},[e,n,r,t])},IMe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageDimensions:r,stageScale:i,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a,stageDimensions:r,stageScale:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RMe=()=>{const{boundingBoxCoordinates:e,boundingBoxDimensions:t,shouldDarkenOutsideBoundingBox:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(IMe);return y.jsxs(sc,{children:[y.jsx(lc,{offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fill:"rgba(0,0,0,0.4)",listening:!1,visible:n}),y.jsx(lc,{x:e.x,y:e.y,width:t.width,height:t.height,fill:"rgb(255,255,255)",listening:!1,visible:n,globalCompositeOperation:"destination-out"})]})},DMe=at([sn],e=>{const{stageScale:t,stageCoordinates:n,stageDimensions:r}=e;return{stageScale:t,stageCoordinates:n,stageDimensions:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NMe={dark:"rgba(255, 255, 255, 0.2)",green:"rgba(255, 255, 255, 0.2)",light:"rgba(0, 0, 0, 0.2)"},jMe=()=>{const{colorMode:e}=dy(),{stageScale:t,stageCoordinates:n,stageDimensions:r}=he(DMe),[i,o]=w.useState([]),a=w.useCallback(s=>s/t,[t]);return w.useLayoutEffect(()=>{const s=NMe[e],{width:l,height:u}=r,{x:d,y:h}=n,m={x1:0,y1:0,x2:l,y2:u,offset:{x:a(d),y:a(h)}},v={x:Math.ceil(a(d)/64)*64,y:Math.ceil(a(h)/64)*64},b={x1:-v.x,y1:-v.y,x2:a(l)-v.x+64,y2:a(u)-v.y+64},E={x1:Math.min(m.x1,b.x1),y1:Math.min(m.y1,b.y1),x2:Math.max(m.x2,b.x2),y2:Math.max(m.y2,b.y2)},k=E.x2-E.x1,_=E.y2-E.y1,T=Math.round(k/64)+1,A=Math.round(_/64)+1,I=ke.range(0,T).map(D=>y.jsx(uS,{x:E.x1+D*64,y:E.y1,points:[0,0,0,_],stroke:s,strokeWidth:1},`x_${D}`)),R=ke.range(0,A).map(D=>y.jsx(uS,{x:E.x1,y:E.y1+D*64,points:[0,0,k,0],stroke:s,strokeWidth:1},`y_${D}`));o(I.concat(R))},[t,n,r,e,a]),y.jsx(sc,{children:i})},BMe=at([e=>e.gallery],e=>e.intermediateImage?e.intermediateImage:null,{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),$Me=e=>{const{...t}=e,n=he(BMe),[r,i]=w.useState(null);if(w.useEffect(()=>{if(!n)return;const u=new Image;u.onload=()=>{i(u)},u.src=n.url},[n]),!(n!=null&&n.boundingBox))return null;const{boundingBox:{x:o,y:a,width:s,height:l}}=n;return r?y.jsx(RY,{x:o,y:a,width:s,height:l,image:r,listening:!1,...t}):null},Hh=e=>{const{r:t,g:n,b:r,a:i}=e;return`rgba(${t}, ${n}, ${r}, ${i})`},FMe=at(sn,e=>{const{maskColor:t,stageCoordinates:n,stageDimensions:r,stageScale:i}=e;return{stageCoordinates:n,stageDimensions:r,stageScale:i,maskColorString:Hh(t)}}),aN=e=>`data:image/svg+xml;utf8, +`,wOe={};function sw(e,t,n=wOe){if(!eN&&"zIndex"in t&&(console.warn(xOe),eN=!0),!tN&&t.draggable){var r=t.x!==void 0||t.y!==void 0,i=t.onDragEnd||t.onDragMove;r&&!i&&(console.warn(SOe),tN=!0)}for(var o in n)if(!JD[o]){var a=o.slice(0,2)==="on",s=n[o]!==t[o];if(a&&s){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),e.off(l,n[o])}var u=!t.hasOwnProperty(o);u&&e.setAttr(o,void 0)}var d=t._useStrictMode,h={},m=!1;const v={};for(var o in t)if(!JD[o]){var a=o.slice(0,2)==="on",b=n[o]!==t[o];if(a&&b){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),t[o]&&(v[l]=t[o])}!a&&(t[o]!==n[o]||d&&t[o]!==e.getAttr(o))&&(m=!0,h[o]=t[o])}m&&(e.setAttrs(h),gf(e));for(var l in v)e.on(l+tT,v[l])}function gf(e){if(!pt.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const AY={},COe={};ep.Node.prototype._applyProps=sw;function _Oe(e,t){if(typeof t=="string"){console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`);return}e.add(t),gf(e)}function kOe(e,t,n){let r=ep[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=ep.Group);const i={},o={};for(var a in t){var s=a.slice(0,2)==="on";s?o[a]=t[a]:i[a]=t[a]}const l=new r(i);return sw(l,o),l}function EOe(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function POe(e,t,n){return!1}function TOe(e){return e}function LOe(){return null}function AOe(){return null}function OOe(e,t,n,r){return COe}function MOe(){}function IOe(e){}function ROe(e,t){return!1}function DOe(){return AY}function NOe(){return AY}const jOe=setTimeout,BOe=clearTimeout,$Oe=-1;function FOe(e,t){return!1}const zOe=!1,HOe=!0,VOe=!0;function WOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function UOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function OY(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),gf(e)}function GOe(e,t,n){OY(e,t,n)}function qOe(e,t){t.destroy(),t.off(tT),gf(e)}function YOe(e,t){t.destroy(),t.off(tT),gf(e)}function KOe(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function XOe(e,t,n){}function ZOe(e,t,n,r,i){sw(e,i,r)}function QOe(e){e.hide(),gf(e)}function JOe(e){}function eMe(e,t){(t.visible==null||t.visible)&&e.show()}function tMe(e,t){}function nMe(e){}function rMe(){}const iMe=()=>lS.DefaultEventPriority,oMe=Object.freeze(Object.defineProperty({__proto__:null,appendChild:WOe,appendChildToContainer:UOe,appendInitialChild:_Oe,cancelTimeout:BOe,clearContainer:nMe,commitMount:XOe,commitTextUpdate:KOe,commitUpdate:ZOe,createInstance:kOe,createTextInstance:EOe,detachDeletedInstance:rMe,finalizeInitialChildren:POe,getChildHostContext:NOe,getCurrentEventPriority:iMe,getPublicInstance:TOe,getRootHostContext:DOe,hideInstance:QOe,hideTextInstance:JOe,idlePriority:Bh.unstable_IdlePriority,insertBefore:OY,insertInContainerBefore:GOe,isPrimaryRenderer:zOe,noTimeout:$Oe,now:Bh.unstable_now,prepareForCommit:LOe,preparePortalMount:AOe,prepareUpdate:OOe,removeChild:qOe,removeChildFromContainer:YOe,resetAfterCommit:MOe,resetTextContent:IOe,run:Bh.unstable_runWithPriority,scheduleTimeout:jOe,shouldDeprioritizeSubtree:ROe,shouldSetTextContent:FOe,supportsMutation:VOe,unhideInstance:eMe,unhideTextInstance:tMe,warnsIfNotActing:HOe},Symbol.toStringTag,{value:"Module"}));var aMe=Object.defineProperty,sMe=Object.defineProperties,lMe=Object.getOwnPropertyDescriptors,nN=Object.getOwnPropertySymbols,uMe=Object.prototype.hasOwnProperty,cMe=Object.prototype.propertyIsEnumerable,rN=(e,t,n)=>t in e?aMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iN=(e,t)=>{for(var n in t||(t={}))uMe.call(t,n)&&rN(e,n,t[n]);if(nN)for(var n of nN(t))cMe.call(t,n)&&rN(e,n,t[n]);return e},dMe=(e,t)=>sMe(e,lMe(t));function nT(e,t,n){if(!e)return;if(n(e)===!0)return e;let r=t?e.return:e.child;for(;r;){const i=nT(r,t,n);if(i)return i;r=t?null:r.sibling}}function MY(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch{return e}}const rT=MY(w.createContext(null));class IY extends w.Component{render(){return w.createElement(rT.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:fMe,ReactCurrentDispatcher:hMe}=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function pMe(){const e=w.useContext(rT);if(!e)throw new Error("its-fine: useFiber must be called within a !");const t=w.useId();return w.useMemo(()=>{var r;return(r=fMe.current)!=null?r:nT(e,!1,i=>{let o=i.memoizedState;for(;o;){if(o.memoizedState===t)return!0;o=o.next}})},[e,t])}const hv=[],oN=new WeakMap;function gMe(){var e;const t=pMe();hv.splice(0,hv.length),nT(t,!0,n=>{var r;const i=(r=n.type)==null?void 0:r._context;i&&i!==rT&&hv.push(MY(i))});for(const n of hv){const r=(e=hMe.current)==null?void 0:e.readContext(n);oN.set(n,r)}return w.useMemo(()=>hv.reduce((n,r)=>i=>w.createElement(n,null,w.createElement(r.Provider,dMe(iN({},i),{value:oN.get(r)}))),n=>w.createElement(IY,iN({},n))),[])}function mMe(e){const t=N.useRef();return N.useLayoutEffect(()=>{t.current=e}),t.current}const vMe=e=>{const t=N.useRef(),n=N.useRef(),r=N.useRef(),i=mMe(e),o=gMe(),a=s=>{const{forwardedRef:l}=e;l&&(typeof l=="function"?l(s):l.current=s)};return N.useLayoutEffect(()=>(n.current=new ep.Stage({width:e.width,height:e.height,container:t.current}),a(n.current),r.current=Iv.createContainer(n.current,lS.LegacyRoot,!1,null),Iv.updateContainer(N.createElement(o,{},e.children),r.current),()=>{ep.isBrowser&&(a(null),Iv.updateContainer(null,r.current,null),n.current.destroy())}),[]),N.useLayoutEffect(()=>{a(n.current),sw(n.current,e,i),Iv.updateContainer(N.createElement(o,{},e.children),r.current,null)}),N.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},pv="Layer",sc="Group",lc="Rect",sh="Circle",uS="Line",RY="Image",yMe="Transformer",Iv=yOe(oMe);Iv.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:N.version,rendererPackageName:"react-konva"});const bMe=N.forwardRef((e,t)=>N.createElement(IY,{},N.createElement(vMe,{...e,forwardedRef:t}))),SMe=at([sn,Mr],(e,t)=>{const{tool:n,isMovingBoundingBox:r}=e;return{tool:n,isStaging:t,isMovingBoundingBox:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),xMe=()=>{const e=Me(),{tool:t,isStaging:n,isMovingBoundingBox:r}=he(SMe);return{handleDragStart:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!0))},[e,r,n,t]),handleDragMove:w.useCallback(i=>{if(!((t==="move"||n)&&!r))return;const o={x:i.target.x(),y:i.target.y()};e(ZW(o))},[e,r,n,t]),handleDragEnd:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!1))},[e,r,n,t])}},wMe=at([sn,Or,Mr],(e,t,n)=>{const{cursorPosition:r,shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isMaskEnabled:s,shouldSnapToGrid:l}=e;return{activeTabName:t,isCursorOnCanvas:Boolean(r),shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isStaging:n,isMaskEnabled:s,shouldSnapToGrid:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CMe=()=>{const e=Me(),{activeTabName:t,shouldShowBoundingBox:n,tool:r,isStaging:i,isMaskEnabled:o,shouldSnapToGrid:a}=he(wMe),s=w.useRef(null),l=zG(),u=()=>e(nP());Je(["shift+c"],()=>{u()},{enabled:()=>!i,preventDefault:!0},[]);const d=()=>e(Dy(!o));Je(["h"],()=>{d()},{enabled:()=>!i,preventDefault:!0},[o]),Je(["n"],()=>{e(q5(!a))},{enabled:!0,preventDefault:!0},[a]),Je("esc",()=>{e(Cxe())},{enabled:()=>!0,preventDefault:!0}),Je("shift+h",()=>{e(Axe(!n))},{enabled:()=>!i,preventDefault:!0},[t,n]),Je(["space"],h=>{h.repeat||(l==null||l.container().focus(),r!=="move"&&(s.current=r,e(tu("move"))),r==="move"&&s.current&&s.current!=="move"&&(e(tu(s.current)),s.current="move"))},{keyup:!0,keydown:!0,preventDefault:!0},[r,s])},iT=e=>{const t=e.getPointerPosition(),n=e.getAbsoluteTransform().copy();if(!t||!n)return;const r=n.invert().point(t);return{x:r.x,y:r.y}},DY=()=>{const e=Me(),t=el(),n=zG();return{updateColorUnderCursor:()=>{if(!n||!t)return;const r=n.getPointerPosition();if(!r)return;const i=Fg.pixelRatio,[o,a,s,l]=t.getContext().getImageData(r.x*i,r.y*i,1,1).data;e(Pxe({r:o,g:a,b:s,a:l}))},commitColorUnderCursor:()=>{e(mxe())}}},_Me=at([Or,sn,Mr],(e,t,n)=>{const{tool:r}=t;return{tool:r,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kMe=e=>{const t=Me(),{tool:n,isStaging:r}=he(_Me),{commitColorUnderCursor:i}=DY();return w.useCallback(o=>{if(!e.current)return;if(e.current.container().focus(),n==="move"||r){t(U5(!0));return}if(n==="colorPicker"){i();return}const a=iT(e.current);a&&(o.evt.preventDefault(),t(HW(!0)),t(gxe([a.x,a.y])))},[e,n,r,t,i])},EMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PMe=(e,t,n)=>{const r=Me(),{isDrawing:i,tool:o,isStaging:a}=he(EMe),{updateColorUnderCursor:s}=DY();return w.useCallback(()=>{if(!e.current)return;const l=iT(e.current);if(l){if(r(Txe(l)),n.current=l,o==="colorPicker"){s();return}!i||o==="move"||a||(t.current=!0,r($W([l.x,l.y])))}},[t,r,i,a,n,e,o,s])},TMe=()=>{const e=Me();return w.useCallback(()=>{e(bxe())},[e])},LMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),AMe=(e,t)=>{const n=Me(),{tool:r,isDrawing:i,isStaging:o}=he(LMe);return w.useCallback(()=>{if(r==="move"||o){n(U5(!1));return}if(!t.current&&i&&e.current){const a=iT(e.current);if(!a)return;n($W([a.x,a.y]))}else t.current=!1;n(HW(!1))},[t,n,i,o,e,r])},OMe=at([sn],e=>{const{isMoveStageKeyHeld:t,stageScale:n}=e;return{isMoveStageKeyHeld:t,stageScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),MMe=e=>{const t=Me(),{isMoveStageKeyHeld:n,stageScale:r}=he(OMe);return w.useCallback(i=>{if(!e.current||n)return;i.evt.preventDefault();const o=e.current.getPointerPosition();if(!o)return;const a={x:(o.x-e.current.x())/r,y:(o.y-e.current.y())/r};let s=i.evt.deltaY;i.evt.ctrlKey&&(s=-s);const l=ke.clamp(r*ixe**s,oxe,axe),u={x:o.x-a.x*l,y:o.y-a.y*l};t(Mxe(l)),t(ZW(u))},[e,n,r,t])},IMe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageDimensions:r,stageScale:i,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a,stageDimensions:r,stageScale:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RMe=()=>{const{boundingBoxCoordinates:e,boundingBoxDimensions:t,shouldDarkenOutsideBoundingBox:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(IMe);return y.jsxs(sc,{children:[y.jsx(lc,{offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fill:"rgba(0,0,0,0.4)",listening:!1,visible:n}),y.jsx(lc,{x:e.x,y:e.y,width:t.width,height:t.height,fill:"rgb(255,255,255)",listening:!1,visible:n,globalCompositeOperation:"destination-out"})]})},DMe=at([sn],e=>{const{stageScale:t,stageCoordinates:n,stageDimensions:r}=e;return{stageScale:t,stageCoordinates:n,stageDimensions:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NMe={dark:"rgba(255, 255, 255, 0.2)",green:"rgba(255, 255, 255, 0.2)",light:"rgba(0, 0, 0, 0.2)"},jMe=()=>{const{colorMode:e}=dy(),{stageScale:t,stageCoordinates:n,stageDimensions:r}=he(DMe),[i,o]=w.useState([]),a=w.useCallback(s=>s/t,[t]);return w.useLayoutEffect(()=>{const s=NMe[e],{width:l,height:u}=r,{x:d,y:h}=n,m={x1:0,y1:0,x2:l,y2:u,offset:{x:a(d),y:a(h)}},v={x:Math.ceil(a(d)/64)*64,y:Math.ceil(a(h)/64)*64},b={x1:-v.x,y1:-v.y,x2:a(l)-v.x+64,y2:a(u)-v.y+64},k={x1:Math.min(m.x1,b.x1),y1:Math.min(m.y1,b.y1),x2:Math.max(m.x2,b.x2),y2:Math.max(m.y2,b.y2)},E=k.x2-k.x1,_=k.y2-k.y1,T=Math.round(E/64)+1,A=Math.round(_/64)+1,I=ke.range(0,T).map(D=>y.jsx(uS,{x:k.x1+D*64,y:k.y1,points:[0,0,0,_],stroke:s,strokeWidth:1},`x_${D}`)),R=ke.range(0,A).map(D=>y.jsx(uS,{x:k.x1,y:k.y1+D*64,points:[0,0,E,0],stroke:s,strokeWidth:1},`y_${D}`));o(I.concat(R))},[t,n,r,e,a]),y.jsx(sc,{children:i})},BMe=at([e=>e.gallery],e=>e.intermediateImage?e.intermediateImage:null,{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),$Me=e=>{const{...t}=e,n=he(BMe),[r,i]=w.useState(null);if(w.useEffect(()=>{if(!n)return;const u=new Image;u.onload=()=>{i(u)},u.src=n.url},[n]),!(n!=null&&n.boundingBox))return null;const{boundingBox:{x:o,y:a,width:s,height:l}}=n;return r?y.jsx(RY,{x:o,y:a,width:s,height:l,image:r,listening:!1,...t}):null},Hh=e=>{const{r:t,g:n,b:r,a:i}=e;return`rgba(${t}, ${n}, ${r}, ${i})`},FMe=at(sn,e=>{const{maskColor:t,stageCoordinates:n,stageDimensions:r,stageScale:i}=e;return{stageCoordinates:n,stageDimensions:r,stageScale:i,maskColorString:Hh(t)}}),aN=e=>`data:image/svg+xml;utf8, @@ -630,9 +630,9 @@ For more info see: https://github.com/konvajs/react-konva/issues/194 -`.replaceAll("black",e),zMe=e=>{const{...t}=e,{maskColorString:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(FMe),[a,s]=w.useState(null),[l,u]=w.useState(0),d=w.useRef(null),h=w.useCallback(()=>{u(l+1),setTimeout(h,500)},[l]);return w.useEffect(()=>{if(a)return;const m=new Image;m.onload=()=>{s(m)},m.src=aN(n)},[a,n]),w.useEffect(()=>{a&&(a.src=aN(n))},[a,n]),w.useEffect(()=>{const m=setInterval(()=>u(v=>(v+1)%5),50);return()=>clearInterval(m)},[]),!a||!ke.isNumber(r.x)||!ke.isNumber(r.y)||!ke.isNumber(o)||!ke.isNumber(i.width)||!ke.isNumber(i.height)?null:y.jsx(lc,{ref:d,offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fillPatternImage:a,fillPatternOffsetY:ke.isNumber(l)?l:0,fillPatternRepeat:"repeat",fillPatternScale:{x:1/o,y:1/o},listening:!0,globalCompositeOperation:"source-in",...t})},HMe=at([sn],e=>({objects:e.layerState.objects}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),VMe=e=>{const{...t}=e,{objects:n}=he(HMe);return y.jsx(sc,{listening:!1,...t,children:n.filter(tP).map((r,i)=>y.jsx(uS,{points:r.points,stroke:"rgb(0,0,0)",strokeWidth:r.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:r.tool==="brush"?"source-over":"destination-out"},i))})};var lh=w,WMe=function(t,n,r){const i=lh.useRef("loading"),o=lh.useRef(),[a,s]=lh.useState(0),l=lh.useRef(),u=lh.useRef(),d=lh.useRef();return(l.current!==t||u.current!==n||d.current!==r)&&(i.current="loading",o.current=void 0,l.current=t,u.current=n,d.current=r),lh.useLayoutEffect(function(){if(!t)return;var h=document.createElement("img");function m(){i.current="loaded",o.current=h,s(Math.random())}function v(){i.current="failed",o.current=void 0,s(Math.random())}return h.addEventListener("load",m),h.addEventListener("error",v),n&&(h.crossOrigin=n),r&&(h.referrerpolicy=r),h.src=t,function(){h.removeEventListener("load",m),h.removeEventListener("error",v)}},[t,n,r]),[o.current,i.current]};const NY=e=>{const{url:t,x:n,y:r}=e,[i]=WMe(t);return y.jsx(RY,{x:n,y:r,image:i,listening:!1})},UMe=at([sn],e=>{const{layerState:{objects:t}}=e;return{objects:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),GMe=()=>{const{objects:e}=he(UMe);return e?y.jsx(sc,{name:"outpainting-objects",listening:!1,children:e.map((t,n)=>{if(W5(t))return y.jsx(NY,{x:t.x,y:t.y,url:t.image.url},n);if(uxe(t)){const r=y.jsx(uS,{points:t.points,stroke:t.color?Hh(t.color):"rgb(0,0,0)",strokeWidth:t.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:t.tool==="brush"?"source-over":"destination-out"},n);return t.clip?y.jsx(sc,{clipX:t.clip.x,clipY:t.clip.y,clipWidth:t.clip.width,clipHeight:t.clip.height,children:r},n):r}else{if(cxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:Hh(t.color)},n);if(dxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:"rgb(255, 255, 255)",globalCompositeOperation:"destination-out"},n)}})}):null},qMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingImage:r,shouldShowStagingOutline:i,boundingBoxCoordinates:{x:o,y:a},boundingBoxDimensions:{width:s,height:l}}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),YMe=e=>{const{...t}=e,{currentStagingAreaImage:n,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}=he(qMe);return y.jsxs(sc,{...t,children:[r&&n&&y.jsx(NY,{url:n.image.url,x:o,y:a}),i&&y.jsxs(sc,{children:[y.jsx(lc,{x:o,y:a,width:s,height:l,strokeWidth:1,stroke:"white",strokeScaleEnabled:!1}),y.jsx(lc,{x:o,y:a,width:s,height:l,dash:[4,4],strokeWidth:1,stroke:"black",strokeScaleEnabled:!1})]})]})},KMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingOutline:r,shouldShowStagingImage:i}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:i,shouldShowStagingOutline:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XMe=()=>{const e=Me(),{isOnFirstImage:t,isOnLastImage:n,currentStagingAreaImage:r,shouldShowStagingImage:i}=he(KMe),{t:o}=Ve(),a=w.useCallback(()=>{e(NI(!0))},[e]),s=w.useCallback(()=>{e(NI(!1))},[e]);Je(["left"],()=>{l()},{enabled:()=>!0,preventDefault:!0}),Je(["right"],()=>{u()},{enabled:()=>!0,preventDefault:!0}),Je(["enter"],()=>{d()},{enabled:()=>!0,preventDefault:!0});const l=()=>e(xxe()),u=()=>e(Sxe()),d=()=>e(vxe());return r?y.jsx(Ge,{pos:"absolute",bottom:"1rem",w:"100%",align:"center",justify:"center",filter:"drop-shadow(0 0.5rem 1rem rgba(0,0,0))",onMouseOver:a,onMouseOut:s,children:y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{tooltip:`${o("unifiedcanvas:previous")} (Left)`,"aria-label":`${o("unifiedcanvas:previous")} (Left)`,icon:y.jsx(Jke,{}),onClick:l,"data-selected":!0,isDisabled:t}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:next")} (Right)`,"aria-label":`${o("unifiedcanvas:next")} (Right)`,icon:y.jsx(eEe,{}),onClick:u,"data-selected":!0,isDisabled:n}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:accept")} (Enter)`,"aria-label":`${o("unifiedcanvas:accept")} (Enter)`,icon:y.jsx(PP,{}),onClick:d,"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:showHide"),"aria-label":o("unifiedcanvas:showHide"),"data-alert":!i,icon:i?y.jsx(sEe,{}):y.jsx(aEe,{}),onClick:()=>e(Oxe(!i)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:saveToGallery"),"aria-label":o("unifiedcanvas:saveToGallery"),icon:y.jsx(LP,{}),onClick:()=>e(F8e(r.image.url)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:discardAll"),"aria-label":o("unifiedcanvas:discardAll"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),onClick:()=>e(yxe()),"data-selected":!0,style:{backgroundColor:"var(--btn-delete-image)"},fontSize:20})]})}):null},fm=e=>Math.round(e*100)/100,ZMe=at([sn],e=>{const{cursorPosition:t}=e,{cursorX:n,cursorY:r}=t?{cursorX:t.x,cursorY:t.y}:{cursorX:-1,cursorY:-1};return{cursorCoordinatesString:`(${fm(n)}, ${fm(r)})`}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function QMe(){const{cursorCoordinatesString:e}=he(ZMe),{t}=Ve();return y.jsx("div",{children:`${t("unifiedcanvas:cursorPosition")}: ${e}`})}const JMe=at([sn],e=>{const{stageDimensions:{width:t,height:n},stageCoordinates:{x:r,y:i},boundingBoxDimensions:{width:o,height:a},scaledBoundingBoxDimensions:{width:s,height:l},boundingBoxCoordinates:{x:u,y:d},stageScale:h,shouldShowCanvasDebugInfo:m,layer:v,boundingBoxScaleMethod:b,shouldPreserveMaskedArea:S}=e;let E="inherit";return(b==="none"&&(o<512||a<512)||b==="manual"&&s*l<512*512)&&(E="var(--status-working-color)"),{activeLayerColor:v==="mask"?"var(--status-working-color)":"inherit",activeLayerString:v.charAt(0).toUpperCase()+v.slice(1),boundingBoxColor:E,boundingBoxCoordinatesString:`(${fm(u)}, ${fm(d)})`,boundingBoxDimensionsString:`${o}×${a}`,scaledBoundingBoxDimensionsString:`${s}×${l}`,canvasCoordinatesString:`${fm(r)}×${fm(i)}`,canvasDimensionsString:`${t}×${n}`,canvasScaleString:Math.round(h*100),shouldShowCanvasDebugInfo:m,shouldShowBoundingBox:b!=="auto",shouldShowScaledBoundingBox:b!=="none",shouldPreserveMaskedArea:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eIe=()=>{const{activeLayerColor:e,activeLayerString:t,boundingBoxColor:n,boundingBoxCoordinatesString:r,boundingBoxDimensionsString:i,scaledBoundingBoxDimensionsString:o,shouldShowScaledBoundingBox:a,canvasCoordinatesString:s,canvasDimensionsString:l,canvasScaleString:u,shouldShowCanvasDebugInfo:d,shouldShowBoundingBox:h,shouldPreserveMaskedArea:m}=he(JMe),{t:v}=Ve();return y.jsxs("div",{className:"canvas-status-text",children:[y.jsx("div",{style:{color:e},children:`${v("unifiedcanvas:activeLayer")}: ${t}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasScale")}: ${u}%`}),m&&y.jsx("div",{style:{color:"var(--status-working-color)"},children:"Preserve Masked Area: On"}),h&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:boundingBox")}: ${i}`}),a&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:scaledBoundingBox")}: ${o}`}),d&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:`${v("unifiedcanvas:boundingBoxPosition")}: ${r}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasDimensions")}: ${l}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasPosition")}: ${s}`}),y.jsx(QMe,{})]})]})},tIe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageScale:r,isDrawing:i,isTransformingBoundingBox:o,isMovingBoundingBox:a,tool:s,shouldSnapToGrid:l}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,isDrawing:i,isMovingBoundingBox:a,isTransformingBoundingBox:o,stageScale:r,shouldSnapToGrid:l,tool:s,hitStrokeWidth:20/r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),nIe=e=>{const{...t}=e,n=Me(),{boundingBoxCoordinates:r,boundingBoxDimensions:i,isDrawing:o,isMovingBoundingBox:a,isTransformingBoundingBox:s,stageScale:l,shouldSnapToGrid:u,tool:d,hitStrokeWidth:h}=he(tIe),m=w.useRef(null),v=w.useRef(null),[b,S]=w.useState(!1);w.useEffect(()=>{var te;!m.current||!v.current||(m.current.nodes([v.current]),(te=m.current.getLayer())==null||te.batchDraw())},[]);const E=64*l,k=w.useCallback(te=>{if(!u){n(vC({x:Math.floor(te.target.x()),y:Math.floor(te.target.y())}));return}const q=te.target.x(),$=te.target.y(),W=Gl(q,64),X=Gl($,64);te.target.x(W),te.target.y(X),n(vC({x:W,y:X}))},[n,u]),_=w.useCallback(()=>{if(!v.current)return;const te=v.current,q=te.scaleX(),$=te.scaleY(),W=Math.round(te.width()*q),X=Math.round(te.height()*$),Z=Math.round(te.x()),U=Math.round(te.y());n(Ev({width:W,height:X})),n(vC({x:u?Ed(Z,64):Z,y:u?Ed(U,64):U})),te.scaleX(1),te.scaleY(1)},[n,u]),T=w.useCallback((te,q,$)=>{const W=te.x%E,X=te.y%E;return{x:Ed(q.x,E)+W,y:Ed(q.y,E)+X}},[E]),A=()=>{n(bC(!0))},I=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},R=()=>{n(yC(!0))},D=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},j=()=>{S(!0)},z=()=>{!s&&!a&&S(!1)},V=()=>{n(Cb(!0))},K=()=>{n(Cb(!1))};return y.jsxs(sc,{...t,children:[y.jsx(lc,{height:i.height,width:i.width,x:r.x,y:r.y,onMouseEnter:V,onMouseOver:V,onMouseLeave:K,onMouseOut:K}),y.jsx(lc,{draggable:!0,fillEnabled:!1,height:i.height,hitStrokeWidth:h,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onDragMove:k,onMouseDown:R,onMouseOut:z,onMouseOver:j,onMouseEnter:j,onMouseUp:D,onTransform:_,onTransformEnd:I,ref:v,stroke:b?"rgba(255,255,255,0.7)":"white",strokeWidth:(b?8:1)/l,width:i.width,x:r.x,y:r.y}),y.jsx(yMe,{anchorCornerRadius:3,anchorDragBoundFunc:T,anchorFill:"rgba(212,216,234,1)",anchorSize:15,anchorStroke:"rgb(42,42,42)",borderDash:[4,4],borderEnabled:!0,borderStroke:"black",draggable:!1,enabledAnchors:d==="move"?void 0:[],flipEnabled:!1,ignoreStroke:!0,keepRatio:!1,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onMouseDown:A,onMouseUp:I,onTransformEnd:I,ref:m,rotateEnabled:!1})]})},rIe=at(sn,e=>{const{cursorPosition:t,brushSize:n,colorPickerColor:r,maskColor:i,brushColor:o,tool:a,layer:s,shouldShowBrush:l,isMovingBoundingBox:u,isTransformingBoundingBox:d,stageScale:h,stageDimensions:m,boundingBoxCoordinates:v,boundingBoxDimensions:b,shouldRestrictStrokesToBox:S}=e,E=S?{clipX:v.x,clipY:v.y,clipWidth:b.width,clipHeight:b.height}:{};return{cursorPosition:t,brushX:t?t.x:m.width/2,brushY:t?t.y:m.height/2,radius:n/2,colorPickerOuterRadius:RI/h,colorPickerInnerRadius:(RI-s8+1)/h,maskColorString:Hh({...i,a:.5}),brushColorString:Hh(o),colorPickerColorString:Hh(r),tool:a,layer:s,shouldShowBrush:l,shouldDrawBrushPreview:!(u||d||!t)&&l,strokeWidth:1.5/h,dotRadius:1.5/h,clip:E}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),iIe=e=>{const{...t}=e,{brushX:n,brushY:r,radius:i,maskColorString:o,tool:a,layer:s,shouldDrawBrushPreview:l,dotRadius:u,strokeWidth:d,brushColorString:h,colorPickerColorString:m,colorPickerInnerRadius:v,colorPickerOuterRadius:b,clip:S}=he(rIe);return l?y.jsxs(sc,{listening:!1,...S,...t,children:[a==="colorPicker"?y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:b,stroke:h,strokeWidth:s8,strokeScaleEnabled:!1}),y.jsx(sh,{x:n,y:r,radius:v,stroke:m,strokeWidth:s8,strokeScaleEnabled:!1})]}):y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:i,fill:s==="mask"?o:h,globalCompositeOperation:a==="eraser"?"destination-out":"source-out"}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(255,255,255,0.4)",strokeWidth:d*2,strokeEnabled:!0,listening:!1}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(0,0,0,1)",strokeWidth:d,strokeEnabled:!0,listening:!1})]}),y.jsx(sh,{x:n,y:r,radius:u*2,fill:"rgba(255,255,255,0.4)",listening:!1}),y.jsx(sh,{x:n,y:r,radius:u,fill:"rgba(0,0,0,1)",listening:!1})]}):null},oIe=at([sn,Mr],(e,t)=>{const{isMaskEnabled:n,stageScale:r,shouldShowBoundingBox:i,isTransformingBoundingBox:o,isMouseOverBoundingBox:a,isMovingBoundingBox:s,stageDimensions:l,stageCoordinates:u,tool:d,isMovingStage:h,shouldShowIntermediates:m,shouldShowGrid:v,shouldRestrictStrokesToBox:b}=e;let S="none";return d==="move"||t?h?S="grabbing":S="grab":o?S=void 0:b&&!a&&(S="default"),{isMaskEnabled:n,isModifyingBoundingBox:o||s,shouldShowBoundingBox:i,shouldShowGrid:v,stageCoordinates:u,stageCursor:S,stageDimensions:l,stageScale:r,tool:d,isStaging:t,shouldShowIntermediates:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),jY=()=>{const{isMaskEnabled:e,isModifyingBoundingBox:t,shouldShowBoundingBox:n,shouldShowGrid:r,stageCoordinates:i,stageCursor:o,stageDimensions:a,stageScale:s,tool:l,isStaging:u,shouldShowIntermediates:d}=he(oIe);CMe();const h=w.useRef(null),m=w.useRef(null),v=w.useCallback(z=>{S8e(z),h.current=z},[]),b=w.useCallback(z=>{b8e(z),m.current=z},[]),S=w.useRef({x:0,y:0}),E=w.useRef(!1),k=MMe(h),_=kMe(h),T=AMe(h,E),A=PMe(h,E,S),I=TMe(),{handleDragStart:R,handleDragMove:D,handleDragEnd:j}=xMe();return y.jsx("div",{className:"inpainting-canvas-container",children:y.jsxs("div",{className:"inpainting-canvas-wrapper",children:[y.jsxs(bMe,{tabIndex:-1,ref:v,className:"inpainting-canvas-stage",style:{...o?{cursor:o}:{}},x:i.x,y:i.y,width:a.width,height:a.height,scale:{x:s,y:s},onTouchStart:_,onTouchMove:A,onTouchEnd:T,onMouseDown:_,onMouseLeave:I,onMouseMove:A,onMouseUp:T,onDragStart:R,onDragMove:D,onDragEnd:j,onContextMenu:z=>z.evt.preventDefault(),onWheel:k,draggable:(l==="move"||u)&&!t,children:[y.jsx(pv,{id:"grid",visible:r,children:y.jsx(jMe,{})}),y.jsx(pv,{id:"base",ref:b,listening:!1,imageSmoothingEnabled:!1,children:y.jsx(GMe,{})}),y.jsxs(pv,{id:"mask",visible:e,listening:!1,children:[y.jsx(VMe,{visible:!0,listening:!1}),y.jsx(zMe,{listening:!1})]}),y.jsx(pv,{children:y.jsx(RMe,{})}),y.jsxs(pv,{id:"preview",imageSmoothingEnabled:!1,children:[!u&&y.jsx(iIe,{visible:l!=="move",listening:!1}),y.jsx(YMe,{visible:u}),d&&y.jsx($Me,{}),y.jsx(nIe,{visible:n&&!u})]})]}),y.jsx(eIe,{}),y.jsx(XMe,{})]})})},aIe=at(sn,xq,Or,(e,t,n)=>{const{doesCanvasNeedScaling:r,isCanvasInitialized:i}=e;return{doesCanvasNeedScaling:r,activeTabName:n,initialCanvasImage:t,isCanvasInitialized:i}}),BY=()=>{const e=Me(),{doesCanvasNeedScaling:t,activeTabName:n,initialCanvasImage:r,isCanvasInitialized:i}=he(aIe),o=w.useRef(null);return w.useLayoutEffect(()=>{window.setTimeout(()=>{if(!o.current)return;const{clientWidth:a,clientHeight:s}=o.current;e(Exe({width:a,height:s})),e(i?_xe():Rx()),e(vi(!1))},0)},[e,r,t,n,i]),y.jsx("div",{ref:o,className:"inpainting-canvas-area",children:y.jsx(xy,{thickness:"2px",speed:"1s",size:"xl"})})},sIe=at([sn,Or,ir],(e,t,n)=>{const{futureLayerStates:r}=e;return{canRedo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function $Y(){const e=Me(),{canRedo:t,activeTabName:n}=he(sIe),{t:r}=Ve(),i=()=>{e(wxe())};return Je(["meta+shift+z","ctrl+shift+z","control+y","meta+y"],()=>{i()},{enabled:()=>t,preventDefault:!0},[n,t]),y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,tooltip:`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,icon:y.jsx(yEe,{}),onClick:i,isDisabled:!t})}const lIe=at([sn,Or,ir],(e,t,n)=>{const{pastLayerStates:r}=e;return{canUndo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function FY(){const e=Me(),{t}=Ve(),{canUndo:n,activeTabName:r}=he(lIe),i=()=>{e(Ixe())};return Je(["meta+z","ctrl+z"],()=>{i()},{enabled:()=>n,preventDefault:!0},[r,n]),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:undo")} (Ctrl+Z)`,tooltip:`${t("unifiedcanvas:undo")} (Ctrl+Z)`,icon:y.jsx(wEe,{}),onClick:i,isDisabled:!n})}const uIe=(e,t,n)=>{const r=document.createElement("img");r.addEventListener("load",()=>{const i=document.createElement("canvas");i.width=t,i.height=n;const o=i.getContext("2d");o&&(o.drawImage(r,0,0),i.toBlob(a=>{a&&navigator.clipboard.write([new ClipboardItem({[a.type]:a})])}),i.remove(),r.remove())}),r.src=e},cIe=e=>{const t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t),t.remove()},dIe=(e,t,n,r)=>{const i=e.scale(),o=e.getClientRect({relativeTo:e.getParent()});e.scale({x:1/t,y:1/t});const{x:a,y:s,width:l,height:u}=e.getClientRect(),d=r?{x:r.x+n.x,y:r.y+n.y,width:r.width,height:r.height}:{x:a,y:s,width:l,height:u},h=e.toDataURL(d);return e.scale(i),{dataURL:h,boundingBox:{x:o.x,y:o.y,width:l,height:u}}},fIe={cropVisible:!1,cropToBoundingBox:!1,shouldSaveToGallery:!1,shouldDownload:!1,shouldCopy:!1,shouldSetAsInitialImage:!0},Td=(e=fIe)=>async(t,n)=>{const{cropVisible:r,cropToBoundingBox:i,shouldSaveToGallery:o,shouldDownload:a,shouldCopy:s,shouldSetAsInitialImage:l}=e;t(nCe("Exporting Image")),t(lm(!1));const u=n(),{stageScale:d,boundingBoxCoordinates:h,boundingBoxDimensions:m,stageCoordinates:v}=u.canvas,b=el();if(!b){t(Hs(!1)),t(lm(!0));return}const{dataURL:S,boundingBox:E}=dIe(b,d,v,i?{...h,...m}:void 0);if(!S){t(Hs(!1)),t(lm(!0));return}const k=new FormData;k.append("data",JSON.stringify({dataURL:S,filename:"merged_canvas.png",kind:o?"result":"temp",cropVisible:r}));const T=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:k})).json(),{url:A,width:I,height:R}=T,D={uuid:cm(),category:o?"result":"user",...T};a&&(cIe(A),t(Th({title:zt.t("toast:downloadImageStarted"),status:"success",duration:2500,isClosable:!0}))),s&&(uIe(A,I,R),t(Th({title:zt.t("toast:imageCopied"),status:"success",duration:2500,isClosable:!0}))),o&&(t(sm({image:D,category:"result"})),t(Th({title:zt.t("toast:imageSavedToGallery"),status:"success",duration:2500,isClosable:!0}))),l&&(t(Lxe({kind:"image",layer:"base",...E,image:D})),t(Th({title:zt.t("toast:canvasMerged"),status:"success",duration:2500,isClosable:!0}))),t(Hs(!1)),t(R4(zt.t("common:statusConnected"))),t(lm(!0))};function hIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["meta+c","ctrl+c"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldCopy:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:a,isDisabled:e})}function pIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(s=>s.system.isProcessing),o=he(s=>s.canvas.shouldCropToBoundingBoxOnSave);Je(["shift+d"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n,i]);const a=()=>{e(Td({cropVisible:!o,cropToBoundingBox:o,shouldDownload:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:a,isDisabled:r})}function gIe(){const e=he(Mr),{openUploader:t}=xP(),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("common:upload"),tooltip:n("common:upload"),icon:y.jsx(Zx,{}),onClick:t,isDisabled:e})}const mIe=at([sn,Mr],(e,t)=>{const{layer:n,isMaskEnabled:r}=e;return{layer:n,isMaskEnabled:r,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function vIe(){const e=Me(),{t}=Ve(),{layer:n,isMaskEnabled:r,isStaging:i}=he(mIe),o=()=>{e(G5(n==="mask"?"base":"mask"))};Je(["q"],()=>{o()},{enabled:()=>!i,preventDefault:!0},[n]);const a=s=>{const l=s.target.value;e(G5(l)),l==="mask"&&!r&&e(Dy(!0))};return y.jsx(tl,{tooltip:`${t("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:n,validValues:DW,onChange:a,isDisabled:i})}function yIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(a=>a.system.isProcessing);Je(["shift+m"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n,i]);const o=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:o,isDisabled:r})}function bIe(){const e=he(o=>o.canvas.tool),t=he(Mr),n=Me(),{t:r}=Ve();Je(["v"],()=>{i()},{enabled:()=>!t,preventDefault:!0},[]);const i=()=>n(tu("move"));return y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:move")} (V)`,tooltip:`${r("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":e==="move"||t,onClick:i})}function SIe(){const e=he(i=>i.ui.shouldPinParametersPanel),t=Me(),{t:n}=Ve(),r=()=>{t(Ku(!0)),e&&setTimeout(()=>t(vi(!0)),400)};return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsx(Qe,{tooltip:`${n("parameters:showOptionsPanel")} (O)`,tooltipProps:{placement:"top"},"aria-label":n("parameters:showOptionsPanel"),onClick:r,children:y.jsx(AP,{})}),y.jsx(Ge,{children:y.jsx(XP,{iconButton:!0})}),y.jsx(Ge,{children:y.jsx(YP,{width:"100%",height:"40px"})})]})}function xIe(){const e=Me(),{t}=Ve(),n=he(Mr),r=()=>{e(rP()),e(Rx())};return y.jsx(Qe,{"aria-label":t("unifiedcanvas:clearCanvas"),tooltip:t("unifiedcanvas:clearCanvas"),icon:y.jsx(vp,{}),onClick:r,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})}function zY(e,t,n=250){const[r,i]=w.useState(0);return w.useEffect(()=>{const o=setTimeout(()=>{r===1&&e(),i(0)},n);return r===2&&t(),()=>clearTimeout(o)},[r,e,t,n]),()=>i(o=>o+1)}function wIe(){const e=el(),t=Me(),{t:n}=Ve();Je(["r"],()=>{i()},{enabled:()=>!0,preventDefault:!0},[e]);const r=zY(()=>i(!1),()=>i(!0)),i=(o=!1)=>{const a=el();if(!a)return;const s=a.getClientRect({skipTransform:!0});t(zW({contentRect:s,shouldScaleTo1:o}))};return y.jsx(Qe,{"aria-label":`${n("unifiedcanvas:resetView")} (R)`,tooltip:`${n("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:r})}function CIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["shift+s"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldSaveToGallery:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:a,isDisabled:e})}const _Ie=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i}=e;return{tool:i,isStaging:t,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kIe=()=>{const e=Me(),{t}=Ve(),{tool:n,isStaging:r}=he(_Ie);Je(["b"],()=>{i()},{enabled:()=>!r,preventDefault:!0},[]),Je(["e"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["c"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["shift+f"],()=>{s()},{enabled:()=>!r,preventDefault:!0}),Je(["delete","backspace"],()=>{l()},{enabled:()=>!r,preventDefault:!0});const i=()=>e(tu("brush")),o=()=>e(tu("eraser")),a=()=>e(tu("colorPicker")),s=()=>e(BW()),l=()=>e(jW());return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:brush")} (B)`,tooltip:`${t("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":n==="brush"&&!r,onClick:i,isDisabled:r}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraser")} (E)`,tooltip:`${t("unifiedcanvas:eraser")} (B)`,icon:y.jsx(mq,{}),"data-selected":n==="eraser"&&!r,isDisabled:r,onClick:o})]}),y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:r,onClick:s}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:r,onClick:l})]}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:colorPicker")} (C)`,tooltip:`${t("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":n==="colorPicker"&&!r,isDisabled:r,onClick:a,width:"max-content"})]})},oT=Ae((e,t)=>{const{acceptButtonText:n="Accept",acceptCallback:r,cancelButtonText:i="Cancel",cancelCallback:o,children:a,title:s,triggerComponent:l}=e,{isOpen:u,onOpen:d,onClose:h}=Wh(),m=w.useRef(null),v=()=>{r(),h()},b=()=>{o&&o(),h()};return y.jsxs(y.Fragment,{children:[w.cloneElement(l,{onClick:d,ref:t}),y.jsx(AV,{isOpen:u,leastDestructiveRef:m,onClose:h,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:s}),y.jsx(n0,{children:a}),y.jsxs(yx,{children:[y.jsx(as,{ref:m,onClick:b,className:"modal-close-btn",children:i}),y.jsx(as,{colorScheme:"red",onClick:v,ml:3,children:n})]})]})})})]})}),HY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve(),r=()=>{t(z8e()),t(rP()),t(FW())};return y.jsxs(oT,{title:n("unifiedcanvas:emptyTempImageFolder"),acceptCallback:r,acceptButtonText:n("unifiedcanvas:emptyFolder"),triggerComponent:y.jsx(cr,{leftIcon:y.jsx(vp,{}),size:"sm",isDisabled:e,children:n("unifiedcanvas:emptyTempImageFolder")}),children:[y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderConfirm")})]})},VY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve();return y.jsxs(oT,{title:n("unifiedcanvas:clearCanvasHistory"),acceptCallback:()=>t(FW()),acceptButtonText:n("unifiedcanvas:clearHistory"),triggerComponent:y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),isDisabled:e,children:n("unifiedcanvas:clearCanvasHistory")}),children:[y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryConfirm")})]})},EIe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PIe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldShowCanvasDebugInfo:i,shouldShowIntermediates:o}=he(EIe);return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),tooltipProps:{placement:"bottom"},"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:o,onChange:a=>e(XW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:a=>e(WW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:a=>e(UW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:i,onChange:a=>e(YW(a.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},TIe=()=>{const e=he(t=>t.ui.shouldShowParametersPanel);return y.jsxs(Ge,{flexDirection:"column",rowGap:"0.5rem",width:"6rem",children:[y.jsx(vIe,{}),y.jsx(kIe,{}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(bIe,{}),y.jsx(wIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(yIe,{}),y.jsx(CIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(hIe,{}),y.jsx(pIe,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(gIe,{}),y.jsx(xIe,{})]}),y.jsx(PIe,{}),!e&&y.jsx(SIe,{})]})};function LIe(){const e=Me(),t=he(i=>i.canvas.brushSize),{t:n}=Ve(),r=he(Mr);return Je(["BracketLeft"],()=>{e(jm(Math.max(t-5,5)))},{enabled:()=>!r,preventDefault:!0},[t]),Je(["BracketRight"],()=>{e(jm(Math.min(t+5,500)))},{enabled:()=>!r,preventDefault:!0},[t]),y.jsx(so,{label:n("unifiedcanvas:brushSize"),value:t,withInput:!0,onChange:i=>e(jm(i)),sliderNumberInputProps:{max:500},inputReadOnly:!1,width:"100px",isCompact:!0})}function lw(){return(lw=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function X8(e){var t=w.useRef(e),n=w.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var l0=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:E.buttons>0)&&i.current?o(sN(i.current,E,s.current)):S(!1)},b=function(){return S(!1)};function S(E){var k=l.current,_=Z8(i.current),T=E?_.addEventListener:_.removeEventListener;T(k?"touchmove":"mousemove",v),T(k?"touchend":"mouseup",b)}return[function(E){var k=E.nativeEvent,_=i.current;if(_&&(lN(k),!function(A,I){return I&&!d2(A)}(k,l.current)&&_)){if(d2(k)){l.current=!0;var T=k.changedTouches||[];T.length&&(s.current=T[0].identifier)}_.focus(),o(sN(_,k,s.current)),S(!0)}},function(E){var k=E.which||E.keyCode;k<37||k>40||(E.preventDefault(),a({left:k===39?.05:k===37?-.05:0,top:k===40?.05:k===38?-.05:0}))},S]},[a,o]),d=u[0],h=u[1],m=u[2];return w.useEffect(function(){return m},[m]),N.createElement("div",lw({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))}),uw=function(e){return e.filter(Boolean).join(" ")},sT=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,o=uw(["react-colorful__pointer",e.className]);return N.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},N.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Eo=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},UY=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:Eo(e.h),s:Eo(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:Eo(i/2),a:Eo(r,2)}},Q8=function(e){var t=UY(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},HC=function(e){var t=UY(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},AIe=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),u=o%6;return{r:Eo(255*[r,s,a,a,l,r][u]),g:Eo(255*[l,r,r,s,a,a][u]),b:Eo(255*[a,a,l,r,r,s][u]),a:Eo(i,2)}},OIe=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:Eo(60*(s<0?s+6:s)),s:Eo(o?a/o*100:0),v:Eo(o/255*100),a:i}},MIe=N.memo(function(e){var t=e.hue,n=e.onChange,r=uw(["react-colorful__hue",e.className]);return N.createElement("div",{className:r},N.createElement(aT,{onMove:function(i){n({h:360*i.left})},onKey:function(i){n({h:l0(t+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":Eo(t),"aria-valuemax":"360","aria-valuemin":"0"},N.createElement(sT,{className:"react-colorful__hue-pointer",left:t/360,color:Q8({h:t,s:100,v:100,a:1})})))}),IIe=N.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q8({h:t.h,s:100,v:100,a:1})};return N.createElement("div",{className:"react-colorful__saturation",style:r},N.createElement(aT,{onMove:function(i){n({s:100*i.left,v:100-100*i.top})},onKey:function(i){n({s:l0(t.s+100*i.left,0,100),v:l0(t.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Eo(t.s)+"%, Brightness "+Eo(t.v)+"%"},N.createElement(sT,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q8(t)})))}),GY=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function RIe(e,t,n){var r=X8(n),i=w.useState(function(){return e.toHsva(t)}),o=i[0],a=i[1],s=w.useRef({color:t,hsva:o});w.useEffect(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},a(u)}},[t,e]),w.useEffect(function(){var u;GY(o,s.current.hsva)||e.equal(u=e.fromHsva(o),s.current.color)||(s.current={hsva:o,color:u},r(u))},[o,e,r]);var l=w.useCallback(function(u){a(function(d){return Object.assign({},d,u)})},[]);return[o,l]}var DIe=typeof window<"u"?w.useLayoutEffect:w.useEffect,NIe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},uN=new Map,jIe=function(e){DIe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!uN.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,uN.set(t,n);var r=NIe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},BIe=function(e){var t=e.className,n=e.hsva,r=e.onChange,i={backgroundImage:"linear-gradient(90deg, "+HC(Object.assign({},n,{a:0}))+", "+HC(Object.assign({},n,{a:1}))+")"},o=uw(["react-colorful__alpha",t]),a=Eo(100*n.a);return N.createElement("div",{className:o},N.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),N.createElement(aT,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:l0(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},N.createElement(sT,{className:"react-colorful__alpha-pointer",left:n.a,color:HC(n)})))},$Ie=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,o=e.onChange,a=WY(e,["className","colorModel","color","onChange"]),s=w.useRef(null);jIe(s);var l=RIe(n,i,o),u=l[0],d=l[1],h=uw(["react-colorful",t]);return N.createElement("div",lw({},a,{ref:s,className:h}),N.createElement(IIe,{hsva:u,onChange:d}),N.createElement(MIe,{hue:u.h,onChange:d}),N.createElement(BIe,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},FIe={defaultColor:{r:0,g:0,b:0,a:1},toHsva:OIe,fromHsva:AIe,equal:GY},zIe=function(e){return N.createElement($Ie,lw({},e,{colorModel:FIe}))};const cS=e=>{const{styleClass:t,...n}=e;return y.jsx(zIe,{className:`invokeai__color-picker ${t}`,...n})},HIe=at([sn,Mr],(e,t)=>{const{brushColor:n,maskColor:r,layer:i}=e;return{brushColor:n,maskColor:r,layer:i,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function VIe(){const e=Me(),{brushColor:t,maskColor:n,layer:r,isStaging:i}=he(HIe),o=()=>{if(r==="base")return`rgba(${t.r},${t.g},${t.b},${t.a})`;if(r==="mask")return`rgba(${n.r},${n.g},${n.b},${n.a})`};return Je(["shift+BracketLeft"],()=>{e(Nm({...t,a:ke.clamp(t.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+BracketRight"],()=>{e(Nm({...t,a:ke.clamp(t.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(ko,{style:{width:"30px",height:"30px",minWidth:"30px",minHeight:"30px",borderRadius:"99999999px",backgroundColor:o(),cursor:"pointer"}}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[r==="base"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:t,onChange:a=>e(Nm(a))}),r==="mask"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:a=>e(VW(a))})]})})}function qY(){return y.jsxs(Ge,{columnGap:"1rem",alignItems:"center",children:[y.jsx(LIe,{}),y.jsx(VIe,{})]})}function WIe(){const e=Me(),t=he(r=>r.canvas.shouldRestrictStrokesToBox),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaLimitToBox"),isChecked:t,onChange:r=>e(QW(r.target.checked))})}function UIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(WIe,{})]})}function GIe(){const e=Me(),{t}=Ve(),n=()=>e(nP());return y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:n,tooltip:`${t("unifiedcanvas:clearMask")} (Shift+C)`,children:t("unifiedcanvas:betaClear")})}function qIe(){const e=he(i=>i.canvas.isMaskEnabled),t=Me(),{t:n}=Ve(),r=()=>t(Dy(!e));return y.jsx(er,{label:`${n("unifiedcanvas:enableMask")} (H)`,isChecked:e,onChange:r})}function YIe(){const e=Me(),{t}=Ve(),n=he(r=>r.canvas.shouldPreserveMaskedArea);return y.jsx(er,{label:t("unifiedcanvas:betaPreserveMasked"),isChecked:n,onChange:r=>e(qW(r.target.checked))})}function KIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(qIe,{}),y.jsx(YIe,{}),y.jsx(GIe,{})]})}function XIe(){const e=he(r=>r.canvas.shouldDarkenOutsideBoundingBox),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaDarkenOutside"),isChecked:e,onChange:r=>t(GW(r.target.checked))})}function ZIe(){const e=he(r=>r.canvas.shouldShowGrid),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:showGrid"),isChecked:e,onChange:r=>t(KW(r.target.checked))})}function QIe(){const e=he(i=>i.canvas.shouldSnapToGrid),t=Me(),{t:n}=Ve(),r=i=>t(q5(i.target.checked));return y.jsx(er,{label:`${n("unifiedcanvas:snapToGrid")} (N)`,isChecked:e,onChange:r})}function JIe(){return y.jsxs(Ge,{alignItems:"center",gap:"1rem",children:[y.jsx(ZIe,{}),y.jsx(QIe,{}),y.jsx(XIe,{})]})}const eRe=at([sn],e=>{const{tool:t,layer:n}=e;return{tool:t,layer:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function tRe(){const{tool:e,layer:t}=he(eRe);return y.jsxs(Ge,{height:"2rem",minHeight:"2rem",maxHeight:"2rem",alignItems:"center",children:[t=="base"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(UIe,{}),t=="mask"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(KIe,{}),e=="move"&&y.jsx(JIe,{})]})}const nRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),rRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(nRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsxs(Ge,{flexDirection:"row",width:"100%",height:"100%",columnGap:"1rem",padding:"1rem",children:[y.jsx(TIe,{}),y.jsxs(Ge,{width:"100%",height:"100%",flexDirection:"column",rowGap:"1rem",children:[y.jsx(tRe,{}),t?y.jsx(BY,{}):y.jsx(jY,{})]})]})})},iRe=at([sn,Mr],(e,t)=>{const{maskColor:n,layer:r,isMaskEnabled:i,shouldPreserveMaskedArea:o}=e;return{layer:r,maskColor:n,maskColorString:Hh(n),isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),oRe=()=>{const e=Me(),{t}=Ve(),{layer:n,maskColor:r,isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:a}=he(iRe);Je(["q"],()=>{s()},{enabled:()=>!a,preventDefault:!0},[n]),Je(["shift+c"],()=>{l()},{enabled:()=>!a,preventDefault:!0},[]),Je(["h"],()=>{u()},{enabled:()=>!a,preventDefault:!0},[i]);const s=()=>{e(G5(n==="mask"?"base":"mask"))},l=()=>e(nP()),u=()=>e(Dy(!i));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(oo,{children:y.jsx(Qe,{"aria-label":t("unifiedcanvas:maskingOptions"),tooltip:t("unifiedcanvas:maskingOptions"),icon:y.jsx(fEe,{}),style:n==="mask"?{backgroundColor:"var(--accent-color)"}:{backgroundColor:"var(--btn-base-color)"},isDisabled:a})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:`${t("unifiedcanvas:enableMask")} (H)`,isChecked:i,onChange:u}),y.jsx(er,{label:t("unifiedcanvas:preserveMaskedArea"),isChecked:o,onChange:d=>e(qW(d.target.checked))}),y.jsx(cS,{style:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:r,onChange:d=>e(VW(d))}),y.jsxs(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:l,children:[t("unifiedcanvas:clearMask")," (Shift+C)"]})]})})},aRe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),sRe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldDarkenOutsideBoundingBox:i,shouldShowCanvasDebugInfo:o,shouldShowGrid:a,shouldShowIntermediates:s,shouldSnapToGrid:l,shouldRestrictStrokesToBox:u}=he(aRe);Je(["n"],()=>{e(q5(!l))},{enabled:!0,preventDefault:!0},[l]);const d=h=>e(q5(h.target.checked));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:s,onChange:h=>e(XW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showGrid"),isChecked:a,onChange:h=>e(KW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:snapToGrid"),isChecked:l,onChange:d}),y.jsx(er,{label:t("unifiedcanvas:darkenOutsideSelection"),isChecked:i,onChange:h=>e(GW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:h=>e(WW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:h=>e(UW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:limitStrokesToBox"),isChecked:u,onChange:h=>e(QW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:o,onChange:h=>e(YW(h.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},lRe=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i,brushColor:o,brushSize:a}=e;return{tool:i,isStaging:t,isProcessing:r,brushColor:o,brushSize:a}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),uRe=()=>{const e=Me(),{tool:t,brushColor:n,brushSize:r,isStaging:i}=he(lRe),{t:o}=Ve();Je(["b"],()=>{a()},{enabled:()=>!i,preventDefault:!0},[]),Je(["e"],()=>{s()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["c"],()=>{l()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+f"],()=>{u()},{enabled:()=>!i,preventDefault:!0}),Je(["delete","backspace"],()=>{d()},{enabled:()=>!i,preventDefault:!0}),Je(["BracketLeft"],()=>{e(jm(Math.max(r-5,5)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["BracketRight"],()=>{e(jm(Math.min(r+5,500)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["shift+BracketLeft"],()=>{e(Nm({...n,a:ke.clamp(n.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]),Je(["shift+BracketRight"],()=>{e(Nm({...n,a:ke.clamp(n.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]);const a=()=>e(tu("brush")),s=()=>e(tu("eraser")),l=()=>e(tu("colorPicker")),u=()=>e(BW()),d=()=>e(jW());return y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:brush")} (B)`,tooltip:`${o("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":t==="brush"&&!i,onClick:a,isDisabled:i}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraser")} (E)`,tooltip:`${o("unifiedcanvas:eraser")} (E)`,icon:y.jsx(mq,{}),"data-selected":t==="eraser"&&!i,isDisabled:i,onClick:s}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:i,onClick:u}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:i,onClick:d}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:colorPicker")} (C)`,tooltip:`${o("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":t==="colorPicker"&&!i,isDisabled:i,onClick:l}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":o("unifiedcanvas:brushOptions"),tooltip:o("unifiedcanvas:brushOptions"),icon:y.jsx(AP,{})}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[y.jsx(Ge,{gap:"1rem",justifyContent:"space-between",children:y.jsx(so,{label:o("unifiedcanvas:brushSize"),value:r,withInput:!0,onChange:h=>e(jm(h)),sliderNumberInputProps:{max:500},inputReadOnly:!1})}),y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:h=>e(Nm(h))})]})})]})},cRe=at([ir,sn,Mr],(e,t,n)=>{const{isProcessing:r}=e,{tool:i,shouldCropToBoundingBoxOnSave:o,layer:a,isMaskEnabled:s}=t;return{isProcessing:r,isStaging:n,isMaskEnabled:s,tool:i,layer:a,shouldCropToBoundingBoxOnSave:o}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dRe=()=>{const e=Me(),{isProcessing:t,isStaging:n,isMaskEnabled:r,layer:i,tool:o,shouldCropToBoundingBoxOnSave:a}=he(cRe),s=el(),{t:l}=Ve(),{openUploader:u}=xP();Je(["v"],()=>{d()},{enabled:()=>!n,preventDefault:!0},[]),Je(["r"],()=>{m()},{enabled:()=>!0,preventDefault:!0},[s]),Je(["shift+m"],()=>{b()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+s"],()=>{S()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["meta+c","ctrl+c"],()=>{E()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+d"],()=>{k()},{enabled:()=>!n,preventDefault:!0},[s,t]);const d=()=>e(tu("move")),h=zY(()=>m(!1),()=>m(!0)),m=(T=!1)=>{const A=el();if(!A)return;const I=A.getClientRect({skipTransform:!0});e(zW({contentRect:I,shouldScaleTo1:T}))},v=()=>{e(rP()),e(Rx())},b=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))},S=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldSaveToGallery:!0}))},E=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldCopy:!0}))},k=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldDownload:!0}))},_=T=>{const A=T.target.value;e(G5(A)),A==="mask"&&!r&&e(Dy(!0))};return y.jsxs("div",{className:"inpainting-settings",children:[y.jsx(tl,{tooltip:`${l("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:i,validValues:DW,onChange:_,isDisabled:n}),y.jsx(oRe,{}),y.jsx(uRe,{}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:move")} (V)`,tooltip:`${l("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":o==="move"||n,onClick:d}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:resetView")} (R)`,tooltip:`${l("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:h})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:b,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:S,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:E,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:k,isDisabled:n})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("common:upload")}`,tooltip:`${l("common:upload")}`,icon:y.jsx(Zx,{}),onClick:u,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:clearCanvas")}`,tooltip:`${l("unifiedcanvas:clearCanvas")}`,icon:y.jsx(vp,{}),onClick:v,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(sRe,{})})]})},fRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),hRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(fRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"workarea-split-view-left",children:y.jsxs("div",{className:"inpainting-main-area",children:[y.jsx(dRe,{}),y.jsx("div",{className:"inpainting-canvas-area",children:t?y.jsx(BY,{}):y.jsx(jY,{})})]})})})},pRe=at(sn,e=>{const{boundingBoxDimensions:t,boundingBoxScaleMethod:n}=e;return{boundingBoxDimensions:t,boundingBoxScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),gRe=()=>{const e=Me(),{boundingBoxDimensions:t}=he(pRe),{t:n}=Ve(),r=s=>{e(Ev({...t,width:Math.floor(s)}))},i=s=>{e(Ev({...t,height:Math.floor(s)}))},o=()=>{e(Ev({...t,width:Math.floor(512)}))},a=()=>{e(Ev({...t,height:Math.floor(512)}))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(so,{label:n("parameters:width"),min:64,max:1024,step:64,value:t.width,onChange:r,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:o}),y.jsx(so,{label:n("parameters:height"),min:64,max:1024,step:64,value:t.height,onChange:i,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:a})]})},mRe=at([KP,ir,sn],(e,t,n)=>{const{tileSize:r,infillMethod:i}=e,{infill_methods:o}=t,{boundingBoxScaleMethod:a,scaledBoundingBoxDimensions:s}=n;return{boundingBoxScale:a,scaledBoundingBoxDimensions:s,tileSize:r,infillMethod:i,availableInfillMethods:o,isManual:a==="manual"}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),vRe=()=>{const e=Me(),{tileSize:t,infillMethod:n,availableInfillMethods:r,boundingBoxScale:i,isManual:o,scaledBoundingBoxDimensions:a}=he(mRe),{t:s}=Ve(),l=v=>{e(_b({...a,width:Math.floor(v)}))},u=v=>{e(_b({...a,height:Math.floor(v)}))},d=()=>{e(_b({...a,width:Math.floor(512)}))},h=()=>{e(_b({...a,height:Math.floor(512)}))},m=v=>{e(kxe(v.target.value))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(tl,{label:s("parameters:scaleBeforeProcessing"),validValues:lxe,value:i,onChange:m}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledWidth"),min:64,max:1024,step:64,value:a.width,onChange:l,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:d}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledHeight"),min:64,max:1024,step:64,value:a.height,onChange:u,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:h}),y.jsx(tl,{label:s("parameters:infillMethod"),value:n,validValues:r,onChange:v=>e(uU(v.target.value))}),y.jsx(so,{isInputDisabled:n!=="tile",isResetDisabled:n!=="tile",isSliderDisabled:n!=="tile",sliderMarkRightOffset:-4,label:s("parameters:tileSize"),min:16,max:64,sliderNumberInputProps:{max:256},value:t,onChange:v=>{e(HI(v))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(HI(32))}})]})};function yRe(){const e=Me(),t=he(r=>r.generation.seamBlur),{t:n}=Ve();return y.jsx(so,{sliderMarkRightOffset:-4,label:n("parameters:seamBlur"),min:0,max:64,sliderNumberInputProps:{max:512},value:t,onChange:r=>{e(BI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(BI(16))}})}function bRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamSize);return y.jsx(so,{sliderMarkRightOffset:-6,label:t("parameters:seamSize"),min:1,max:256,sliderNumberInputProps:{max:512},value:n,onChange:r=>{e($I(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>e($I(96))})}function SRe(){const{t:e}=Ve(),t=he(r=>r.generation.seamSteps),n=Me();return y.jsx(so,{sliderMarkRightOffset:-4,label:e("parameters:seamSteps"),min:1,max:100,sliderNumberInputProps:{max:999},value:t,onChange:r=>{n(FI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{n(FI(30))}})}function xRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamStrength);return y.jsx(so,{sliderMarkRightOffset:-7,label:t("parameters:seamStrength"),min:.01,max:.99,step:.01,value:n,onChange:r=>{e(zI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(zI(.7))}})}const wRe=()=>y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(bRe,{}),y.jsx(yRe,{}),y.jsx(xRe,{}),y.jsx(SRe,{})]});function CRe(){const{t:e}=Ve(),t={boundingBox:{header:`${e("parameters:boundingBoxHeader")}`,feature:ao.BOUNDING_BOX,content:y.jsx(gRe,{})},seamCorrection:{header:`${e("parameters:seamCorrectionHeader")}`,feature:ao.SEAM_CORRECTION,content:y.jsx(wRe,{})},infillAndScaling:{header:`${e("parameters:infillScalingHeader")}`,feature:ao.INFILL_AND_SCALING,content:y.jsx(vRe,{})},seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(qP,{accordionInfo:t})]})}function _Re(){const e=he(t=>t.ui.shouldUseCanvasBetaLayout);return y.jsx(HP,{optionsPanel:y.jsx(CRe,{}),styleClass:"inpainting-workarea-overrides",children:e?y.jsx(rRe,{}):y.jsx(hRe,{})})}const es={txt2img:{title:y.jsx(r_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(gOe,{}),tooltip:"Text To Image"},img2img:{title:y.jsx(e_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(lOe,{}),tooltip:"Image To Image"},unifiedCanvas:{title:y.jsx(o_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(_Re,{}),tooltip:"Unified Canvas"},nodes:{title:y.jsx(t_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(X8e,{}),tooltip:"Nodes"},postprocess:{title:y.jsx(n_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Z8e,{}),tooltip:"Post Processing"},training:{title:y.jsx(i_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Q8e,{}),tooltip:"Training"}};function kRe(){es.txt2img.tooltip=zt.t("common:text2img"),es.img2img.tooltip=zt.t("common:img2img"),es.unifiedCanvas.tooltip=zt.t("common:unifiedCanvas"),es.nodes.tooltip=zt.t("common:nodes"),es.postprocess.tooltip=zt.t("common:postProcessing"),es.training.tooltip=zt.t("common:training")}function ERe(){const e=he(K8e),t=he(o=>o.lightbox.isLightboxOpen);J8e(kRe);const n=Me();Je("1",()=>{n(qo(0))}),Je("2",()=>{n(qo(1))}),Je("3",()=>{n(qo(2))}),Je("4",()=>{n(qo(3))}),Je("5",()=>{n(qo(4))}),Je("6",()=>{n(qo(5))}),Je("z",()=>{n(Bm(!t))},[t]);const r=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(uo,{hasArrow:!0,label:es[a].tooltip,placement:"right",children:y.jsx(oW,{children:es[a].title})},a))}),o},i=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(rW,{className:"app-tabs-panel",children:es[a].workarea},a))}),o};return y.jsxs(nW,{isLazy:!0,className:"app-tabs",variant:"unstyled",defaultIndex:e,index:e,onChange:o=>{n(qo(o))},children:[y.jsx("div",{className:"app-tabs-list",children:r()}),y.jsx(iW,{className:"app-tabs-panels",children:t?y.jsx(_Ae,{}):i()})]})}var PRe=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Uy(e,t){var n=TRe(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function TRe(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),i=PRe.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var LRe=[".DS_Store","Thumbs.db"];function ARe(e){return m0(this,void 0,void 0,function(){return v0(this,function(t){return dS(e)&&ORe(e.dataTransfer)?[2,DRe(e.dataTransfer,e.type)]:MRe(e)?[2,IRe(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,RRe(e)]:[2,[]]})})}function ORe(e){return dS(e)}function MRe(e){return dS(e)&&dS(e.target)}function dS(e){return typeof e=="object"&&e!==null}function IRe(e){return J8(e.target.files).map(function(t){return Uy(t)})}function RRe(e){return m0(this,void 0,void 0,function(){var t;return v0(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return Uy(r)})]}})})}function DRe(e,t){return m0(this,void 0,void 0,function(){var n,r;return v0(this,function(i){switch(i.label){case 0:return e.items?(n=J8(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(NRe))]):[3,2];case 1:return r=i.sent(),[2,cN(YY(r))];case 2:return[2,cN(J8(e.files).map(function(o){return Uy(o)}))]}})})}function cN(e){return e.filter(function(t){return LRe.indexOf(t.name)===-1})}function J8(e){if(e===null)return[];for(var t=[],n=0;n`.replaceAll("black",e),zMe=e=>{const{...t}=e,{maskColorString:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(FMe),[a,s]=w.useState(null),[l,u]=w.useState(0),d=w.useRef(null),h=w.useCallback(()=>{u(l+1),setTimeout(h,500)},[l]);return w.useEffect(()=>{if(a)return;const m=new Image;m.onload=()=>{s(m)},m.src=aN(n)},[a,n]),w.useEffect(()=>{a&&(a.src=aN(n))},[a,n]),w.useEffect(()=>{const m=setInterval(()=>u(v=>(v+1)%5),50);return()=>clearInterval(m)},[]),!a||!ke.isNumber(r.x)||!ke.isNumber(r.y)||!ke.isNumber(o)||!ke.isNumber(i.width)||!ke.isNumber(i.height)?null:y.jsx(lc,{ref:d,offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fillPatternImage:a,fillPatternOffsetY:ke.isNumber(l)?l:0,fillPatternRepeat:"repeat",fillPatternScale:{x:1/o,y:1/o},listening:!0,globalCompositeOperation:"source-in",...t})},HMe=at([sn],e=>({objects:e.layerState.objects}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),VMe=e=>{const{...t}=e,{objects:n}=he(HMe);return y.jsx(sc,{listening:!1,...t,children:n.filter(tP).map((r,i)=>y.jsx(uS,{points:r.points,stroke:"rgb(0,0,0)",strokeWidth:r.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:r.tool==="brush"?"source-over":"destination-out"},i))})};var lh=w,WMe=function(t,n,r){const i=lh.useRef("loading"),o=lh.useRef(),[a,s]=lh.useState(0),l=lh.useRef(),u=lh.useRef(),d=lh.useRef();return(l.current!==t||u.current!==n||d.current!==r)&&(i.current="loading",o.current=void 0,l.current=t,u.current=n,d.current=r),lh.useLayoutEffect(function(){if(!t)return;var h=document.createElement("img");function m(){i.current="loaded",o.current=h,s(Math.random())}function v(){i.current="failed",o.current=void 0,s(Math.random())}return h.addEventListener("load",m),h.addEventListener("error",v),n&&(h.crossOrigin=n),r&&(h.referrerpolicy=r),h.src=t,function(){h.removeEventListener("load",m),h.removeEventListener("error",v)}},[t,n,r]),[o.current,i.current]};const NY=e=>{const{url:t,x:n,y:r}=e,[i]=WMe(t);return y.jsx(RY,{x:n,y:r,image:i,listening:!1})},UMe=at([sn],e=>{const{layerState:{objects:t}}=e;return{objects:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),GMe=()=>{const{objects:e}=he(UMe);return e?y.jsx(sc,{name:"outpainting-objects",listening:!1,children:e.map((t,n)=>{if(W5(t))return y.jsx(NY,{x:t.x,y:t.y,url:t.image.url},n);if(uxe(t)){const r=y.jsx(uS,{points:t.points,stroke:t.color?Hh(t.color):"rgb(0,0,0)",strokeWidth:t.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:t.tool==="brush"?"source-over":"destination-out"},n);return t.clip?y.jsx(sc,{clipX:t.clip.x,clipY:t.clip.y,clipWidth:t.clip.width,clipHeight:t.clip.height,children:r},n):r}else{if(cxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:Hh(t.color)},n);if(dxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:"rgb(255, 255, 255)",globalCompositeOperation:"destination-out"},n)}})}):null},qMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingImage:r,shouldShowStagingOutline:i,boundingBoxCoordinates:{x:o,y:a},boundingBoxDimensions:{width:s,height:l}}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),YMe=e=>{const{...t}=e,{currentStagingAreaImage:n,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}=he(qMe);return y.jsxs(sc,{...t,children:[r&&n&&y.jsx(NY,{url:n.image.url,x:o,y:a}),i&&y.jsxs(sc,{children:[y.jsx(lc,{x:o,y:a,width:s,height:l,strokeWidth:1,stroke:"white",strokeScaleEnabled:!1}),y.jsx(lc,{x:o,y:a,width:s,height:l,dash:[4,4],strokeWidth:1,stroke:"black",strokeScaleEnabled:!1})]})]})},KMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingOutline:r,shouldShowStagingImage:i}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:i,shouldShowStagingOutline:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XMe=()=>{const e=Me(),{isOnFirstImage:t,isOnLastImage:n,currentStagingAreaImage:r,shouldShowStagingImage:i}=he(KMe),{t:o}=Ve(),a=w.useCallback(()=>{e(NI(!0))},[e]),s=w.useCallback(()=>{e(NI(!1))},[e]);Je(["left"],()=>{l()},{enabled:()=>!0,preventDefault:!0}),Je(["right"],()=>{u()},{enabled:()=>!0,preventDefault:!0}),Je(["enter"],()=>{d()},{enabled:()=>!0,preventDefault:!0});const l=()=>e(xxe()),u=()=>e(Sxe()),d=()=>e(vxe());return r?y.jsx(Ge,{pos:"absolute",bottom:"1rem",w:"100%",align:"center",justify:"center",filter:"drop-shadow(0 0.5rem 1rem rgba(0,0,0))",onMouseOver:a,onMouseOut:s,children:y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{tooltip:`${o("unifiedcanvas:previous")} (Left)`,"aria-label":`${o("unifiedcanvas:previous")} (Left)`,icon:y.jsx(Jke,{}),onClick:l,"data-selected":!0,isDisabled:t}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:next")} (Right)`,"aria-label":`${o("unifiedcanvas:next")} (Right)`,icon:y.jsx(eEe,{}),onClick:u,"data-selected":!0,isDisabled:n}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:accept")} (Enter)`,"aria-label":`${o("unifiedcanvas:accept")} (Enter)`,icon:y.jsx(PP,{}),onClick:d,"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:showHide"),"aria-label":o("unifiedcanvas:showHide"),"data-alert":!i,icon:i?y.jsx(sEe,{}):y.jsx(aEe,{}),onClick:()=>e(Oxe(!i)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:saveToGallery"),"aria-label":o("unifiedcanvas:saveToGallery"),icon:y.jsx(LP,{}),onClick:()=>e(F8e(r.image.url)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:discardAll"),"aria-label":o("unifiedcanvas:discardAll"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),onClick:()=>e(yxe()),"data-selected":!0,style:{backgroundColor:"var(--btn-delete-image)"},fontSize:20})]})}):null},fm=e=>Math.round(e*100)/100,ZMe=at([sn],e=>{const{cursorPosition:t}=e,{cursorX:n,cursorY:r}=t?{cursorX:t.x,cursorY:t.y}:{cursorX:-1,cursorY:-1};return{cursorCoordinatesString:`(${fm(n)}, ${fm(r)})`}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function QMe(){const{cursorCoordinatesString:e}=he(ZMe),{t}=Ve();return y.jsx("div",{children:`${t("unifiedcanvas:cursorPosition")}: ${e}`})}const JMe=at([sn],e=>{const{stageDimensions:{width:t,height:n},stageCoordinates:{x:r,y:i},boundingBoxDimensions:{width:o,height:a},scaledBoundingBoxDimensions:{width:s,height:l},boundingBoxCoordinates:{x:u,y:d},stageScale:h,shouldShowCanvasDebugInfo:m,layer:v,boundingBoxScaleMethod:b,shouldPreserveMaskedArea:S}=e;let k="inherit";return(b==="none"&&(o<512||a<512)||b==="manual"&&s*l<512*512)&&(k="var(--status-working-color)"),{activeLayerColor:v==="mask"?"var(--status-working-color)":"inherit",activeLayerString:v.charAt(0).toUpperCase()+v.slice(1),boundingBoxColor:k,boundingBoxCoordinatesString:`(${fm(u)}, ${fm(d)})`,boundingBoxDimensionsString:`${o}×${a}`,scaledBoundingBoxDimensionsString:`${s}×${l}`,canvasCoordinatesString:`${fm(r)}×${fm(i)}`,canvasDimensionsString:`${t}×${n}`,canvasScaleString:Math.round(h*100),shouldShowCanvasDebugInfo:m,shouldShowBoundingBox:b!=="auto",shouldShowScaledBoundingBox:b!=="none",shouldPreserveMaskedArea:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eIe=()=>{const{activeLayerColor:e,activeLayerString:t,boundingBoxColor:n,boundingBoxCoordinatesString:r,boundingBoxDimensionsString:i,scaledBoundingBoxDimensionsString:o,shouldShowScaledBoundingBox:a,canvasCoordinatesString:s,canvasDimensionsString:l,canvasScaleString:u,shouldShowCanvasDebugInfo:d,shouldShowBoundingBox:h,shouldPreserveMaskedArea:m}=he(JMe),{t:v}=Ve();return y.jsxs("div",{className:"canvas-status-text",children:[y.jsx("div",{style:{color:e},children:`${v("unifiedcanvas:activeLayer")}: ${t}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasScale")}: ${u}%`}),m&&y.jsx("div",{style:{color:"var(--status-working-color)"},children:"Preserve Masked Area: On"}),h&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:boundingBox")}: ${i}`}),a&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:scaledBoundingBox")}: ${o}`}),d&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:`${v("unifiedcanvas:boundingBoxPosition")}: ${r}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasDimensions")}: ${l}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasPosition")}: ${s}`}),y.jsx(QMe,{})]})]})},tIe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageScale:r,isDrawing:i,isTransformingBoundingBox:o,isMovingBoundingBox:a,tool:s,shouldSnapToGrid:l}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,isDrawing:i,isMovingBoundingBox:a,isTransformingBoundingBox:o,stageScale:r,shouldSnapToGrid:l,tool:s,hitStrokeWidth:20/r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),nIe=e=>{const{...t}=e,n=Me(),{boundingBoxCoordinates:r,boundingBoxDimensions:i,isDrawing:o,isMovingBoundingBox:a,isTransformingBoundingBox:s,stageScale:l,shouldSnapToGrid:u,tool:d,hitStrokeWidth:h}=he(tIe),m=w.useRef(null),v=w.useRef(null),[b,S]=w.useState(!1);w.useEffect(()=>{var te;!m.current||!v.current||(m.current.nodes([v.current]),(te=m.current.getLayer())==null||te.batchDraw())},[]);const k=64*l,E=w.useCallback(te=>{if(!u){n(vC({x:Math.floor(te.target.x()),y:Math.floor(te.target.y())}));return}const q=te.target.x(),$=te.target.y(),U=Gl(q,64),X=Gl($,64);te.target.x(U),te.target.y(X),n(vC({x:U,y:X}))},[n,u]),_=w.useCallback(()=>{if(!v.current)return;const te=v.current,q=te.scaleX(),$=te.scaleY(),U=Math.round(te.width()*q),X=Math.round(te.height()*$),Z=Math.round(te.x()),W=Math.round(te.y());n(Ev({width:U,height:X})),n(vC({x:u?Ed(Z,64):Z,y:u?Ed(W,64):W})),te.scaleX(1),te.scaleY(1)},[n,u]),T=w.useCallback((te,q,$)=>{const U=te.x%k,X=te.y%k;return{x:Ed(q.x,k)+U,y:Ed(q.y,k)+X}},[k]),A=()=>{n(bC(!0))},I=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},R=()=>{n(yC(!0))},D=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},j=()=>{S(!0)},z=()=>{!s&&!a&&S(!1)},V=()=>{n(Cb(!0))},K=()=>{n(Cb(!1))};return y.jsxs(sc,{...t,children:[y.jsx(lc,{height:i.height,width:i.width,x:r.x,y:r.y,onMouseEnter:V,onMouseOver:V,onMouseLeave:K,onMouseOut:K}),y.jsx(lc,{draggable:!0,fillEnabled:!1,height:i.height,hitStrokeWidth:h,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onDragMove:E,onMouseDown:R,onMouseOut:z,onMouseOver:j,onMouseEnter:j,onMouseUp:D,onTransform:_,onTransformEnd:I,ref:v,stroke:b?"rgba(255,255,255,0.7)":"white",strokeWidth:(b?8:1)/l,width:i.width,x:r.x,y:r.y}),y.jsx(yMe,{anchorCornerRadius:3,anchorDragBoundFunc:T,anchorFill:"rgba(212,216,234,1)",anchorSize:15,anchorStroke:"rgb(42,42,42)",borderDash:[4,4],borderEnabled:!0,borderStroke:"black",draggable:!1,enabledAnchors:d==="move"?void 0:[],flipEnabled:!1,ignoreStroke:!0,keepRatio:!1,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onMouseDown:A,onMouseUp:I,onTransformEnd:I,ref:m,rotateEnabled:!1})]})},rIe=at(sn,e=>{const{cursorPosition:t,brushSize:n,colorPickerColor:r,maskColor:i,brushColor:o,tool:a,layer:s,shouldShowBrush:l,isMovingBoundingBox:u,isTransformingBoundingBox:d,stageScale:h,stageDimensions:m,boundingBoxCoordinates:v,boundingBoxDimensions:b,shouldRestrictStrokesToBox:S}=e,k=S?{clipX:v.x,clipY:v.y,clipWidth:b.width,clipHeight:b.height}:{};return{cursorPosition:t,brushX:t?t.x:m.width/2,brushY:t?t.y:m.height/2,radius:n/2,colorPickerOuterRadius:RI/h,colorPickerInnerRadius:(RI-s8+1)/h,maskColorString:Hh({...i,a:.5}),brushColorString:Hh(o),colorPickerColorString:Hh(r),tool:a,layer:s,shouldShowBrush:l,shouldDrawBrushPreview:!(u||d||!t)&&l,strokeWidth:1.5/h,dotRadius:1.5/h,clip:k}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),iIe=e=>{const{...t}=e,{brushX:n,brushY:r,radius:i,maskColorString:o,tool:a,layer:s,shouldDrawBrushPreview:l,dotRadius:u,strokeWidth:d,brushColorString:h,colorPickerColorString:m,colorPickerInnerRadius:v,colorPickerOuterRadius:b,clip:S}=he(rIe);return l?y.jsxs(sc,{listening:!1,...S,...t,children:[a==="colorPicker"?y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:b,stroke:h,strokeWidth:s8,strokeScaleEnabled:!1}),y.jsx(sh,{x:n,y:r,radius:v,stroke:m,strokeWidth:s8,strokeScaleEnabled:!1})]}):y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:i,fill:s==="mask"?o:h,globalCompositeOperation:a==="eraser"?"destination-out":"source-out"}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(255,255,255,0.4)",strokeWidth:d*2,strokeEnabled:!0,listening:!1}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(0,0,0,1)",strokeWidth:d,strokeEnabled:!0,listening:!1})]}),y.jsx(sh,{x:n,y:r,radius:u*2,fill:"rgba(255,255,255,0.4)",listening:!1}),y.jsx(sh,{x:n,y:r,radius:u,fill:"rgba(0,0,0,1)",listening:!1})]}):null},oIe=at([sn,Mr],(e,t)=>{const{isMaskEnabled:n,stageScale:r,shouldShowBoundingBox:i,isTransformingBoundingBox:o,isMouseOverBoundingBox:a,isMovingBoundingBox:s,stageDimensions:l,stageCoordinates:u,tool:d,isMovingStage:h,shouldShowIntermediates:m,shouldShowGrid:v,shouldRestrictStrokesToBox:b}=e;let S="none";return d==="move"||t?h?S="grabbing":S="grab":o?S=void 0:b&&!a&&(S="default"),{isMaskEnabled:n,isModifyingBoundingBox:o||s,shouldShowBoundingBox:i,shouldShowGrid:v,stageCoordinates:u,stageCursor:S,stageDimensions:l,stageScale:r,tool:d,isStaging:t,shouldShowIntermediates:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),jY=()=>{const{isMaskEnabled:e,isModifyingBoundingBox:t,shouldShowBoundingBox:n,shouldShowGrid:r,stageCoordinates:i,stageCursor:o,stageDimensions:a,stageScale:s,tool:l,isStaging:u,shouldShowIntermediates:d}=he(oIe);CMe();const h=w.useRef(null),m=w.useRef(null),v=w.useCallback(z=>{S8e(z),h.current=z},[]),b=w.useCallback(z=>{b8e(z),m.current=z},[]),S=w.useRef({x:0,y:0}),k=w.useRef(!1),E=MMe(h),_=kMe(h),T=AMe(h,k),A=PMe(h,k,S),I=TMe(),{handleDragStart:R,handleDragMove:D,handleDragEnd:j}=xMe();return y.jsx("div",{className:"inpainting-canvas-container",children:y.jsxs("div",{className:"inpainting-canvas-wrapper",children:[y.jsxs(bMe,{tabIndex:-1,ref:v,className:"inpainting-canvas-stage",style:{...o?{cursor:o}:{}},x:i.x,y:i.y,width:a.width,height:a.height,scale:{x:s,y:s},onTouchStart:_,onTouchMove:A,onTouchEnd:T,onMouseDown:_,onMouseLeave:I,onMouseMove:A,onMouseUp:T,onDragStart:R,onDragMove:D,onDragEnd:j,onContextMenu:z=>z.evt.preventDefault(),onWheel:E,draggable:(l==="move"||u)&&!t,children:[y.jsx(pv,{id:"grid",visible:r,children:y.jsx(jMe,{})}),y.jsx(pv,{id:"base",ref:b,listening:!1,imageSmoothingEnabled:!1,children:y.jsx(GMe,{})}),y.jsxs(pv,{id:"mask",visible:e,listening:!1,children:[y.jsx(VMe,{visible:!0,listening:!1}),y.jsx(zMe,{listening:!1})]}),y.jsx(pv,{children:y.jsx(RMe,{})}),y.jsxs(pv,{id:"preview",imageSmoothingEnabled:!1,children:[!u&&y.jsx(iIe,{visible:l!=="move",listening:!1}),y.jsx(YMe,{visible:u}),d&&y.jsx($Me,{}),y.jsx(nIe,{visible:n&&!u})]})]}),y.jsx(eIe,{}),y.jsx(XMe,{})]})})},aIe=at(sn,xq,Or,(e,t,n)=>{const{doesCanvasNeedScaling:r,isCanvasInitialized:i}=e;return{doesCanvasNeedScaling:r,activeTabName:n,initialCanvasImage:t,isCanvasInitialized:i}}),BY=()=>{const e=Me(),{doesCanvasNeedScaling:t,activeTabName:n,initialCanvasImage:r,isCanvasInitialized:i}=he(aIe),o=w.useRef(null);return w.useLayoutEffect(()=>{window.setTimeout(()=>{if(!o.current)return;const{clientWidth:a,clientHeight:s}=o.current;e(Exe({width:a,height:s})),e(i?_xe():Rx()),e(vi(!1))},0)},[e,r,t,n,i]),y.jsx("div",{ref:o,className:"inpainting-canvas-area",children:y.jsx(xy,{thickness:"2px",speed:"1s",size:"xl"})})},sIe=at([sn,Or,ir],(e,t,n)=>{const{futureLayerStates:r}=e;return{canRedo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function $Y(){const e=Me(),{canRedo:t,activeTabName:n}=he(sIe),{t:r}=Ve(),i=()=>{e(wxe())};return Je(["meta+shift+z","ctrl+shift+z","control+y","meta+y"],()=>{i()},{enabled:()=>t,preventDefault:!0},[n,t]),y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,tooltip:`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,icon:y.jsx(yEe,{}),onClick:i,isDisabled:!t})}const lIe=at([sn,Or,ir],(e,t,n)=>{const{pastLayerStates:r}=e;return{canUndo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function FY(){const e=Me(),{t}=Ve(),{canUndo:n,activeTabName:r}=he(lIe),i=()=>{e(Ixe())};return Je(["meta+z","ctrl+z"],()=>{i()},{enabled:()=>n,preventDefault:!0},[r,n]),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:undo")} (Ctrl+Z)`,tooltip:`${t("unifiedcanvas:undo")} (Ctrl+Z)`,icon:y.jsx(wEe,{}),onClick:i,isDisabled:!n})}const uIe=(e,t,n)=>{const r=document.createElement("img");r.addEventListener("load",()=>{const i=document.createElement("canvas");i.width=t,i.height=n;const o=i.getContext("2d");o&&(o.drawImage(r,0,0),i.toBlob(a=>{a&&navigator.clipboard.write([new ClipboardItem({[a.type]:a})])}),i.remove(),r.remove())}),r.src=e},cIe=e=>{const t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t),t.remove()},dIe=(e,t,n,r)=>{const i=e.scale(),o=e.getClientRect({relativeTo:e.getParent()});e.scale({x:1/t,y:1/t});const{x:a,y:s,width:l,height:u}=e.getClientRect(),d=r?{x:r.x+n.x,y:r.y+n.y,width:r.width,height:r.height}:{x:a,y:s,width:l,height:u},h=e.toDataURL(d);return e.scale(i),{dataURL:h,boundingBox:{x:o.x,y:o.y,width:l,height:u}}},fIe={cropVisible:!1,cropToBoundingBox:!1,shouldSaveToGallery:!1,shouldDownload:!1,shouldCopy:!1,shouldSetAsInitialImage:!0},Td=(e=fIe)=>async(t,n)=>{const{cropVisible:r,cropToBoundingBox:i,shouldSaveToGallery:o,shouldDownload:a,shouldCopy:s,shouldSetAsInitialImage:l}=e;t(nCe("Exporting Image")),t(lm(!1));const u=n(),{stageScale:d,boundingBoxCoordinates:h,boundingBoxDimensions:m,stageCoordinates:v}=u.canvas,b=el();if(!b){t(Hs(!1)),t(lm(!0));return}const{dataURL:S,boundingBox:k}=dIe(b,d,v,i?{...h,...m}:void 0);if(!S){t(Hs(!1)),t(lm(!0));return}const E=new FormData;E.append("data",JSON.stringify({dataURL:S,filename:"merged_canvas.png",kind:o?"result":"temp",cropVisible:r}));const T=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:E})).json(),{url:A,width:I,height:R}=T,D={uuid:cm(),category:o?"result":"user",...T};a&&(cIe(A),t(Th({title:zt.t("toast:downloadImageStarted"),status:"success",duration:2500,isClosable:!0}))),s&&(uIe(A,I,R),t(Th({title:zt.t("toast:imageCopied"),status:"success",duration:2500,isClosable:!0}))),o&&(t(sm({image:D,category:"result"})),t(Th({title:zt.t("toast:imageSavedToGallery"),status:"success",duration:2500,isClosable:!0}))),l&&(t(Lxe({kind:"image",layer:"base",...k,image:D})),t(Th({title:zt.t("toast:canvasMerged"),status:"success",duration:2500,isClosable:!0}))),t(Hs(!1)),t(R4(zt.t("common:statusConnected"))),t(lm(!0))};function hIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["meta+c","ctrl+c"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldCopy:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:a,isDisabled:e})}function pIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(s=>s.system.isProcessing),o=he(s=>s.canvas.shouldCropToBoundingBoxOnSave);Je(["shift+d"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n,i]);const a=()=>{e(Td({cropVisible:!o,cropToBoundingBox:o,shouldDownload:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:a,isDisabled:r})}function gIe(){const e=he(Mr),{openUploader:t}=xP(),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("common:upload"),tooltip:n("common:upload"),icon:y.jsx(Zx,{}),onClick:t,isDisabled:e})}const mIe=at([sn,Mr],(e,t)=>{const{layer:n,isMaskEnabled:r}=e;return{layer:n,isMaskEnabled:r,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function vIe(){const e=Me(),{t}=Ve(),{layer:n,isMaskEnabled:r,isStaging:i}=he(mIe),o=()=>{e(G5(n==="mask"?"base":"mask"))};Je(["q"],()=>{o()},{enabled:()=>!i,preventDefault:!0},[n]);const a=s=>{const l=s.target.value;e(G5(l)),l==="mask"&&!r&&e(Dy(!0))};return y.jsx(tl,{tooltip:`${t("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:n,validValues:DW,onChange:a,isDisabled:i})}function yIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(a=>a.system.isProcessing);Je(["shift+m"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n,i]);const o=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:o,isDisabled:r})}function bIe(){const e=he(o=>o.canvas.tool),t=he(Mr),n=Me(),{t:r}=Ve();Je(["v"],()=>{i()},{enabled:()=>!t,preventDefault:!0},[]);const i=()=>n(tu("move"));return y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:move")} (V)`,tooltip:`${r("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":e==="move"||t,onClick:i})}function SIe(){const e=he(i=>i.ui.shouldPinParametersPanel),t=Me(),{t:n}=Ve(),r=()=>{t(Ku(!0)),e&&setTimeout(()=>t(vi(!0)),400)};return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsx(Qe,{tooltip:`${n("parameters:showOptionsPanel")} (O)`,tooltipProps:{placement:"top"},"aria-label":n("parameters:showOptionsPanel"),onClick:r,children:y.jsx(AP,{})}),y.jsx(Ge,{children:y.jsx(XP,{iconButton:!0})}),y.jsx(Ge,{children:y.jsx(YP,{width:"100%",height:"40px"})})]})}function xIe(){const e=Me(),{t}=Ve(),n=he(Mr),r=()=>{e(rP()),e(Rx())};return y.jsx(Qe,{"aria-label":t("unifiedcanvas:clearCanvas"),tooltip:t("unifiedcanvas:clearCanvas"),icon:y.jsx(vp,{}),onClick:r,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})}function zY(e,t,n=250){const[r,i]=w.useState(0);return w.useEffect(()=>{const o=setTimeout(()=>{r===1&&e(),i(0)},n);return r===2&&t(),()=>clearTimeout(o)},[r,e,t,n]),()=>i(o=>o+1)}function wIe(){const e=el(),t=Me(),{t:n}=Ve();Je(["r"],()=>{i()},{enabled:()=>!0,preventDefault:!0},[e]);const r=zY(()=>i(!1),()=>i(!0)),i=(o=!1)=>{const a=el();if(!a)return;const s=a.getClientRect({skipTransform:!0});t(zW({contentRect:s,shouldScaleTo1:o}))};return y.jsx(Qe,{"aria-label":`${n("unifiedcanvas:resetView")} (R)`,tooltip:`${n("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:r})}function CIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["shift+s"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldSaveToGallery:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:a,isDisabled:e})}const _Ie=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i}=e;return{tool:i,isStaging:t,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kIe=()=>{const e=Me(),{t}=Ve(),{tool:n,isStaging:r}=he(_Ie);Je(["b"],()=>{i()},{enabled:()=>!r,preventDefault:!0},[]),Je(["e"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["c"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["shift+f"],()=>{s()},{enabled:()=>!r,preventDefault:!0}),Je(["delete","backspace"],()=>{l()},{enabled:()=>!r,preventDefault:!0});const i=()=>e(tu("brush")),o=()=>e(tu("eraser")),a=()=>e(tu("colorPicker")),s=()=>e(BW()),l=()=>e(jW());return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:brush")} (B)`,tooltip:`${t("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":n==="brush"&&!r,onClick:i,isDisabled:r}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraser")} (E)`,tooltip:`${t("unifiedcanvas:eraser")} (B)`,icon:y.jsx(mq,{}),"data-selected":n==="eraser"&&!r,isDisabled:r,onClick:o})]}),y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:r,onClick:s}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:r,onClick:l})]}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:colorPicker")} (C)`,tooltip:`${t("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":n==="colorPicker"&&!r,isDisabled:r,onClick:a,width:"max-content"})]})},oT=Ae((e,t)=>{const{acceptButtonText:n="Accept",acceptCallback:r,cancelButtonText:i="Cancel",cancelCallback:o,children:a,title:s,triggerComponent:l}=e,{isOpen:u,onOpen:d,onClose:h}=Wh(),m=w.useRef(null),v=()=>{r(),h()},b=()=>{o&&o(),h()};return y.jsxs(y.Fragment,{children:[w.cloneElement(l,{onClick:d,ref:t}),y.jsx(AV,{isOpen:u,leastDestructiveRef:m,onClose:h,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:s}),y.jsx(n0,{children:a}),y.jsxs(yx,{children:[y.jsx(as,{ref:m,onClick:b,className:"modal-close-btn",children:i}),y.jsx(as,{colorScheme:"red",onClick:v,ml:3,children:n})]})]})})})]})}),HY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve(),r=()=>{t(z8e()),t(rP()),t(FW())};return y.jsxs(oT,{title:n("unifiedcanvas:emptyTempImageFolder"),acceptCallback:r,acceptButtonText:n("unifiedcanvas:emptyFolder"),triggerComponent:y.jsx(cr,{leftIcon:y.jsx(vp,{}),size:"sm",isDisabled:e,children:n("unifiedcanvas:emptyTempImageFolder")}),children:[y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderConfirm")})]})},VY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve();return y.jsxs(oT,{title:n("unifiedcanvas:clearCanvasHistory"),acceptCallback:()=>t(FW()),acceptButtonText:n("unifiedcanvas:clearHistory"),triggerComponent:y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),isDisabled:e,children:n("unifiedcanvas:clearCanvasHistory")}),children:[y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryConfirm")})]})},EIe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PIe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldShowCanvasDebugInfo:i,shouldShowIntermediates:o}=he(EIe);return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),tooltipProps:{placement:"bottom"},"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:o,onChange:a=>e(XW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:a=>e(WW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:a=>e(UW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:i,onChange:a=>e(YW(a.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},TIe=()=>{const e=he(t=>t.ui.shouldShowParametersPanel);return y.jsxs(Ge,{flexDirection:"column",rowGap:"0.5rem",width:"6rem",children:[y.jsx(vIe,{}),y.jsx(kIe,{}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(bIe,{}),y.jsx(wIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(yIe,{}),y.jsx(CIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(hIe,{}),y.jsx(pIe,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(gIe,{}),y.jsx(xIe,{})]}),y.jsx(PIe,{}),!e&&y.jsx(SIe,{})]})};function LIe(){const e=Me(),t=he(i=>i.canvas.brushSize),{t:n}=Ve(),r=he(Mr);return Je(["BracketLeft"],()=>{e(jm(Math.max(t-5,5)))},{enabled:()=>!r,preventDefault:!0},[t]),Je(["BracketRight"],()=>{e(jm(Math.min(t+5,500)))},{enabled:()=>!r,preventDefault:!0},[t]),y.jsx(so,{label:n("unifiedcanvas:brushSize"),value:t,withInput:!0,onChange:i=>e(jm(i)),sliderNumberInputProps:{max:500},inputReadOnly:!1,width:"100px",isCompact:!0})}function lw(){return(lw=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function X8(e){var t=w.useRef(e),n=w.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var l0=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:k.buttons>0)&&i.current?o(sN(i.current,k,s.current)):S(!1)},b=function(){return S(!1)};function S(k){var E=l.current,_=Z8(i.current),T=k?_.addEventListener:_.removeEventListener;T(E?"touchmove":"mousemove",v),T(E?"touchend":"mouseup",b)}return[function(k){var E=k.nativeEvent,_=i.current;if(_&&(lN(E),!function(A,I){return I&&!d2(A)}(E,l.current)&&_)){if(d2(E)){l.current=!0;var T=E.changedTouches||[];T.length&&(s.current=T[0].identifier)}_.focus(),o(sN(_,E,s.current)),S(!0)}},function(k){var E=k.which||k.keyCode;E<37||E>40||(k.preventDefault(),a({left:E===39?.05:E===37?-.05:0,top:E===40?.05:E===38?-.05:0}))},S]},[a,o]),d=u[0],h=u[1],m=u[2];return w.useEffect(function(){return m},[m]),N.createElement("div",lw({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))}),uw=function(e){return e.filter(Boolean).join(" ")},sT=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,o=uw(["react-colorful__pointer",e.className]);return N.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},N.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Eo=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},UY=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:Eo(e.h),s:Eo(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:Eo(i/2),a:Eo(r,2)}},Q8=function(e){var t=UY(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},HC=function(e){var t=UY(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},AIe=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),u=o%6;return{r:Eo(255*[r,s,a,a,l,r][u]),g:Eo(255*[l,r,r,s,a,a][u]),b:Eo(255*[a,a,l,r,r,s][u]),a:Eo(i,2)}},OIe=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:Eo(60*(s<0?s+6:s)),s:Eo(o?a/o*100:0),v:Eo(o/255*100),a:i}},MIe=N.memo(function(e){var t=e.hue,n=e.onChange,r=uw(["react-colorful__hue",e.className]);return N.createElement("div",{className:r},N.createElement(aT,{onMove:function(i){n({h:360*i.left})},onKey:function(i){n({h:l0(t+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":Eo(t),"aria-valuemax":"360","aria-valuemin":"0"},N.createElement(sT,{className:"react-colorful__hue-pointer",left:t/360,color:Q8({h:t,s:100,v:100,a:1})})))}),IIe=N.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q8({h:t.h,s:100,v:100,a:1})};return N.createElement("div",{className:"react-colorful__saturation",style:r},N.createElement(aT,{onMove:function(i){n({s:100*i.left,v:100-100*i.top})},onKey:function(i){n({s:l0(t.s+100*i.left,0,100),v:l0(t.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Eo(t.s)+"%, Brightness "+Eo(t.v)+"%"},N.createElement(sT,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q8(t)})))}),GY=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function RIe(e,t,n){var r=X8(n),i=w.useState(function(){return e.toHsva(t)}),o=i[0],a=i[1],s=w.useRef({color:t,hsva:o});w.useEffect(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},a(u)}},[t,e]),w.useEffect(function(){var u;GY(o,s.current.hsva)||e.equal(u=e.fromHsva(o),s.current.color)||(s.current={hsva:o,color:u},r(u))},[o,e,r]);var l=w.useCallback(function(u){a(function(d){return Object.assign({},d,u)})},[]);return[o,l]}var DIe=typeof window<"u"?w.useLayoutEffect:w.useEffect,NIe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},uN=new Map,jIe=function(e){DIe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!uN.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,uN.set(t,n);var r=NIe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},BIe=function(e){var t=e.className,n=e.hsva,r=e.onChange,i={backgroundImage:"linear-gradient(90deg, "+HC(Object.assign({},n,{a:0}))+", "+HC(Object.assign({},n,{a:1}))+")"},o=uw(["react-colorful__alpha",t]),a=Eo(100*n.a);return N.createElement("div",{className:o},N.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),N.createElement(aT,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:l0(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},N.createElement(sT,{className:"react-colorful__alpha-pointer",left:n.a,color:HC(n)})))},$Ie=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,o=e.onChange,a=WY(e,["className","colorModel","color","onChange"]),s=w.useRef(null);jIe(s);var l=RIe(n,i,o),u=l[0],d=l[1],h=uw(["react-colorful",t]);return N.createElement("div",lw({},a,{ref:s,className:h}),N.createElement(IIe,{hsva:u,onChange:d}),N.createElement(MIe,{hue:u.h,onChange:d}),N.createElement(BIe,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},FIe={defaultColor:{r:0,g:0,b:0,a:1},toHsva:OIe,fromHsva:AIe,equal:GY},zIe=function(e){return N.createElement($Ie,lw({},e,{colorModel:FIe}))};const cS=e=>{const{styleClass:t,...n}=e;return y.jsx(zIe,{className:`invokeai__color-picker ${t}`,...n})},HIe=at([sn,Mr],(e,t)=>{const{brushColor:n,maskColor:r,layer:i}=e;return{brushColor:n,maskColor:r,layer:i,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function VIe(){const e=Me(),{brushColor:t,maskColor:n,layer:r,isStaging:i}=he(HIe),o=()=>{if(r==="base")return`rgba(${t.r},${t.g},${t.b},${t.a})`;if(r==="mask")return`rgba(${n.r},${n.g},${n.b},${n.a})`};return Je(["shift+BracketLeft"],()=>{e(Nm({...t,a:ke.clamp(t.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+BracketRight"],()=>{e(Nm({...t,a:ke.clamp(t.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(ko,{style:{width:"30px",height:"30px",minWidth:"30px",minHeight:"30px",borderRadius:"99999999px",backgroundColor:o(),cursor:"pointer"}}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[r==="base"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:t,onChange:a=>e(Nm(a))}),r==="mask"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:a=>e(VW(a))})]})})}function qY(){return y.jsxs(Ge,{columnGap:"1rem",alignItems:"center",children:[y.jsx(LIe,{}),y.jsx(VIe,{})]})}function WIe(){const e=Me(),t=he(r=>r.canvas.shouldRestrictStrokesToBox),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaLimitToBox"),isChecked:t,onChange:r=>e(QW(r.target.checked))})}function UIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(WIe,{})]})}function GIe(){const e=Me(),{t}=Ve(),n=()=>e(nP());return y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:n,tooltip:`${t("unifiedcanvas:clearMask")} (Shift+C)`,children:t("unifiedcanvas:betaClear")})}function qIe(){const e=he(i=>i.canvas.isMaskEnabled),t=Me(),{t:n}=Ve(),r=()=>t(Dy(!e));return y.jsx(er,{label:`${n("unifiedcanvas:enableMask")} (H)`,isChecked:e,onChange:r})}function YIe(){const e=Me(),{t}=Ve(),n=he(r=>r.canvas.shouldPreserveMaskedArea);return y.jsx(er,{label:t("unifiedcanvas:betaPreserveMasked"),isChecked:n,onChange:r=>e(qW(r.target.checked))})}function KIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(qIe,{}),y.jsx(YIe,{}),y.jsx(GIe,{})]})}function XIe(){const e=he(r=>r.canvas.shouldDarkenOutsideBoundingBox),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaDarkenOutside"),isChecked:e,onChange:r=>t(GW(r.target.checked))})}function ZIe(){const e=he(r=>r.canvas.shouldShowGrid),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:showGrid"),isChecked:e,onChange:r=>t(KW(r.target.checked))})}function QIe(){const e=he(i=>i.canvas.shouldSnapToGrid),t=Me(),{t:n}=Ve(),r=i=>t(q5(i.target.checked));return y.jsx(er,{label:`${n("unifiedcanvas:snapToGrid")} (N)`,isChecked:e,onChange:r})}function JIe(){return y.jsxs(Ge,{alignItems:"center",gap:"1rem",children:[y.jsx(ZIe,{}),y.jsx(QIe,{}),y.jsx(XIe,{})]})}const eRe=at([sn],e=>{const{tool:t,layer:n}=e;return{tool:t,layer:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function tRe(){const{tool:e,layer:t}=he(eRe);return y.jsxs(Ge,{height:"2rem",minHeight:"2rem",maxHeight:"2rem",alignItems:"center",children:[t=="base"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(UIe,{}),t=="mask"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(KIe,{}),e=="move"&&y.jsx(JIe,{})]})}const nRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),rRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(nRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsxs(Ge,{flexDirection:"row",width:"100%",height:"100%",columnGap:"1rem",padding:"1rem",children:[y.jsx(TIe,{}),y.jsxs(Ge,{width:"100%",height:"100%",flexDirection:"column",rowGap:"1rem",children:[y.jsx(tRe,{}),t?y.jsx(BY,{}):y.jsx(jY,{})]})]})})},iRe=at([sn,Mr],(e,t)=>{const{maskColor:n,layer:r,isMaskEnabled:i,shouldPreserveMaskedArea:o}=e;return{layer:r,maskColor:n,maskColorString:Hh(n),isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),oRe=()=>{const e=Me(),{t}=Ve(),{layer:n,maskColor:r,isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:a}=he(iRe);Je(["q"],()=>{s()},{enabled:()=>!a,preventDefault:!0},[n]),Je(["shift+c"],()=>{l()},{enabled:()=>!a,preventDefault:!0},[]),Je(["h"],()=>{u()},{enabled:()=>!a,preventDefault:!0},[i]);const s=()=>{e(G5(n==="mask"?"base":"mask"))},l=()=>e(nP()),u=()=>e(Dy(!i));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(oo,{children:y.jsx(Qe,{"aria-label":t("unifiedcanvas:maskingOptions"),tooltip:t("unifiedcanvas:maskingOptions"),icon:y.jsx(fEe,{}),style:n==="mask"?{backgroundColor:"var(--accent-color)"}:{backgroundColor:"var(--btn-base-color)"},isDisabled:a})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:`${t("unifiedcanvas:enableMask")} (H)`,isChecked:i,onChange:u}),y.jsx(er,{label:t("unifiedcanvas:preserveMaskedArea"),isChecked:o,onChange:d=>e(qW(d.target.checked))}),y.jsx(cS,{style:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:r,onChange:d=>e(VW(d))}),y.jsxs(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:l,children:[t("unifiedcanvas:clearMask")," (Shift+C)"]})]})})},aRe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),sRe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldDarkenOutsideBoundingBox:i,shouldShowCanvasDebugInfo:o,shouldShowGrid:a,shouldShowIntermediates:s,shouldSnapToGrid:l,shouldRestrictStrokesToBox:u}=he(aRe);Je(["n"],()=>{e(q5(!l))},{enabled:!0,preventDefault:!0},[l]);const d=h=>e(q5(h.target.checked));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:s,onChange:h=>e(XW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showGrid"),isChecked:a,onChange:h=>e(KW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:snapToGrid"),isChecked:l,onChange:d}),y.jsx(er,{label:t("unifiedcanvas:darkenOutsideSelection"),isChecked:i,onChange:h=>e(GW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:h=>e(WW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:h=>e(UW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:limitStrokesToBox"),isChecked:u,onChange:h=>e(QW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:o,onChange:h=>e(YW(h.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},lRe=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i,brushColor:o,brushSize:a}=e;return{tool:i,isStaging:t,isProcessing:r,brushColor:o,brushSize:a}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),uRe=()=>{const e=Me(),{tool:t,brushColor:n,brushSize:r,isStaging:i}=he(lRe),{t:o}=Ve();Je(["b"],()=>{a()},{enabled:()=>!i,preventDefault:!0},[]),Je(["e"],()=>{s()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["c"],()=>{l()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+f"],()=>{u()},{enabled:()=>!i,preventDefault:!0}),Je(["delete","backspace"],()=>{d()},{enabled:()=>!i,preventDefault:!0}),Je(["BracketLeft"],()=>{e(jm(Math.max(r-5,5)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["BracketRight"],()=>{e(jm(Math.min(r+5,500)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["shift+BracketLeft"],()=>{e(Nm({...n,a:ke.clamp(n.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]),Je(["shift+BracketRight"],()=>{e(Nm({...n,a:ke.clamp(n.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]);const a=()=>e(tu("brush")),s=()=>e(tu("eraser")),l=()=>e(tu("colorPicker")),u=()=>e(BW()),d=()=>e(jW());return y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:brush")} (B)`,tooltip:`${o("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":t==="brush"&&!i,onClick:a,isDisabled:i}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraser")} (E)`,tooltip:`${o("unifiedcanvas:eraser")} (E)`,icon:y.jsx(mq,{}),"data-selected":t==="eraser"&&!i,isDisabled:i,onClick:s}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:i,onClick:u}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:i,onClick:d}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:colorPicker")} (C)`,tooltip:`${o("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":t==="colorPicker"&&!i,isDisabled:i,onClick:l}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":o("unifiedcanvas:brushOptions"),tooltip:o("unifiedcanvas:brushOptions"),icon:y.jsx(AP,{})}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[y.jsx(Ge,{gap:"1rem",justifyContent:"space-between",children:y.jsx(so,{label:o("unifiedcanvas:brushSize"),value:r,withInput:!0,onChange:h=>e(jm(h)),sliderNumberInputProps:{max:500},inputReadOnly:!1})}),y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:h=>e(Nm(h))})]})})]})},cRe=at([ir,sn,Mr],(e,t,n)=>{const{isProcessing:r}=e,{tool:i,shouldCropToBoundingBoxOnSave:o,layer:a,isMaskEnabled:s}=t;return{isProcessing:r,isStaging:n,isMaskEnabled:s,tool:i,layer:a,shouldCropToBoundingBoxOnSave:o}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dRe=()=>{const e=Me(),{isProcessing:t,isStaging:n,isMaskEnabled:r,layer:i,tool:o,shouldCropToBoundingBoxOnSave:a}=he(cRe),s=el(),{t:l}=Ve(),{openUploader:u}=xP();Je(["v"],()=>{d()},{enabled:()=>!n,preventDefault:!0},[]),Je(["r"],()=>{m()},{enabled:()=>!0,preventDefault:!0},[s]),Je(["shift+m"],()=>{b()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+s"],()=>{S()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["meta+c","ctrl+c"],()=>{k()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+d"],()=>{E()},{enabled:()=>!n,preventDefault:!0},[s,t]);const d=()=>e(tu("move")),h=zY(()=>m(!1),()=>m(!0)),m=(T=!1)=>{const A=el();if(!A)return;const I=A.getClientRect({skipTransform:!0});e(zW({contentRect:I,shouldScaleTo1:T}))},v=()=>{e(rP()),e(Rx())},b=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))},S=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldSaveToGallery:!0}))},k=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldCopy:!0}))},E=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldDownload:!0}))},_=T=>{const A=T.target.value;e(G5(A)),A==="mask"&&!r&&e(Dy(!0))};return y.jsxs("div",{className:"inpainting-settings",children:[y.jsx(tl,{tooltip:`${l("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:i,validValues:DW,onChange:_,isDisabled:n}),y.jsx(oRe,{}),y.jsx(uRe,{}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:move")} (V)`,tooltip:`${l("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":o==="move"||n,onClick:d}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:resetView")} (R)`,tooltip:`${l("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:h})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:b,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:S,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:k,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:E,isDisabled:n})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("common:upload")}`,tooltip:`${l("common:upload")}`,icon:y.jsx(Zx,{}),onClick:u,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:clearCanvas")}`,tooltip:`${l("unifiedcanvas:clearCanvas")}`,icon:y.jsx(vp,{}),onClick:v,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(sRe,{})})]})},fRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),hRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(fRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"workarea-split-view-left",children:y.jsxs("div",{className:"inpainting-main-area",children:[y.jsx(dRe,{}),y.jsx("div",{className:"inpainting-canvas-area",children:t?y.jsx(BY,{}):y.jsx(jY,{})})]})})})},pRe=at(sn,e=>{const{boundingBoxDimensions:t,boundingBoxScaleMethod:n}=e;return{boundingBoxDimensions:t,boundingBoxScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),gRe=()=>{const e=Me(),{boundingBoxDimensions:t}=he(pRe),{t:n}=Ve(),r=s=>{e(Ev({...t,width:Math.floor(s)}))},i=s=>{e(Ev({...t,height:Math.floor(s)}))},o=()=>{e(Ev({...t,width:Math.floor(512)}))},a=()=>{e(Ev({...t,height:Math.floor(512)}))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(so,{label:n("parameters:width"),min:64,max:1024,step:64,value:t.width,onChange:r,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:o}),y.jsx(so,{label:n("parameters:height"),min:64,max:1024,step:64,value:t.height,onChange:i,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:a})]})},mRe=at([KP,ir,sn],(e,t,n)=>{const{tileSize:r,infillMethod:i}=e,{infill_methods:o}=t,{boundingBoxScaleMethod:a,scaledBoundingBoxDimensions:s}=n;return{boundingBoxScale:a,scaledBoundingBoxDimensions:s,tileSize:r,infillMethod:i,availableInfillMethods:o,isManual:a==="manual"}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),vRe=()=>{const e=Me(),{tileSize:t,infillMethod:n,availableInfillMethods:r,boundingBoxScale:i,isManual:o,scaledBoundingBoxDimensions:a}=he(mRe),{t:s}=Ve(),l=v=>{e(_b({...a,width:Math.floor(v)}))},u=v=>{e(_b({...a,height:Math.floor(v)}))},d=()=>{e(_b({...a,width:Math.floor(512)}))},h=()=>{e(_b({...a,height:Math.floor(512)}))},m=v=>{e(kxe(v.target.value))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(tl,{label:s("parameters:scaleBeforeProcessing"),validValues:lxe,value:i,onChange:m}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledWidth"),min:64,max:1024,step:64,value:a.width,onChange:l,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:d}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledHeight"),min:64,max:1024,step:64,value:a.height,onChange:u,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:h}),y.jsx(tl,{label:s("parameters:infillMethod"),value:n,validValues:r,onChange:v=>e(uU(v.target.value))}),y.jsx(so,{isInputDisabled:n!=="tile",isResetDisabled:n!=="tile",isSliderDisabled:n!=="tile",sliderMarkRightOffset:-4,label:s("parameters:tileSize"),min:16,max:64,sliderNumberInputProps:{max:256},value:t,onChange:v=>{e(HI(v))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(HI(32))}})]})};function yRe(){const e=Me(),t=he(r=>r.generation.seamBlur),{t:n}=Ve();return y.jsx(so,{sliderMarkRightOffset:-4,label:n("parameters:seamBlur"),min:0,max:64,sliderNumberInputProps:{max:512},value:t,onChange:r=>{e(BI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(BI(16))}})}function bRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamSize);return y.jsx(so,{sliderMarkRightOffset:-6,label:t("parameters:seamSize"),min:1,max:256,sliderNumberInputProps:{max:512},value:n,onChange:r=>{e($I(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>e($I(96))})}function SRe(){const{t:e}=Ve(),t=he(r=>r.generation.seamSteps),n=Me();return y.jsx(so,{sliderMarkRightOffset:-4,label:e("parameters:seamSteps"),min:1,max:100,sliderNumberInputProps:{max:999},value:t,onChange:r=>{n(FI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{n(FI(30))}})}function xRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamStrength);return y.jsx(so,{sliderMarkRightOffset:-7,label:t("parameters:seamStrength"),min:.01,max:.99,step:.01,value:n,onChange:r=>{e(zI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(zI(.7))}})}const wRe=()=>y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(bRe,{}),y.jsx(yRe,{}),y.jsx(xRe,{}),y.jsx(SRe,{})]});function CRe(){const{t:e}=Ve(),t={boundingBox:{header:`${e("parameters:boundingBoxHeader")}`,feature:ao.BOUNDING_BOX,content:y.jsx(gRe,{})},seamCorrection:{header:`${e("parameters:seamCorrectionHeader")}`,feature:ao.SEAM_CORRECTION,content:y.jsx(wRe,{})},infillAndScaling:{header:`${e("parameters:infillScalingHeader")}`,feature:ao.INFILL_AND_SCALING,content:y.jsx(vRe,{})},seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(qP,{accordionInfo:t})]})}function _Re(){const e=he(t=>t.ui.shouldUseCanvasBetaLayout);return y.jsx(HP,{optionsPanel:y.jsx(CRe,{}),styleClass:"inpainting-workarea-overrides",children:e?y.jsx(rRe,{}):y.jsx(hRe,{})})}const es={txt2img:{title:y.jsx(r_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(gOe,{}),tooltip:"Text To Image"},img2img:{title:y.jsx(e_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(lOe,{}),tooltip:"Image To Image"},unifiedCanvas:{title:y.jsx(o_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(_Re,{}),tooltip:"Unified Canvas"},nodes:{title:y.jsx(t_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(X8e,{}),tooltip:"Nodes"},postprocess:{title:y.jsx(n_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Z8e,{}),tooltip:"Post Processing"},training:{title:y.jsx(i_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Q8e,{}),tooltip:"Training"}};function kRe(){es.txt2img.tooltip=zt.t("common:text2img"),es.img2img.tooltip=zt.t("common:img2img"),es.unifiedCanvas.tooltip=zt.t("common:unifiedCanvas"),es.nodes.tooltip=zt.t("common:nodes"),es.postprocess.tooltip=zt.t("common:postProcessing"),es.training.tooltip=zt.t("common:training")}function ERe(){const e=he(K8e),t=he(o=>o.lightbox.isLightboxOpen);J8e(kRe);const n=Me();Je("1",()=>{n(qo(0))}),Je("2",()=>{n(qo(1))}),Je("3",()=>{n(qo(2))}),Je("4",()=>{n(qo(3))}),Je("5",()=>{n(qo(4))}),Je("6",()=>{n(qo(5))}),Je("z",()=>{n(Bm(!t))},[t]);const r=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(uo,{hasArrow:!0,label:es[a].tooltip,placement:"right",children:y.jsx(oW,{children:es[a].title})},a))}),o},i=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(rW,{className:"app-tabs-panel",children:es[a].workarea},a))}),o};return y.jsxs(nW,{isLazy:!0,className:"app-tabs",variant:"unstyled",defaultIndex:e,index:e,onChange:o=>{n(qo(o))},children:[y.jsx("div",{className:"app-tabs-list",children:r()}),y.jsx(iW,{className:"app-tabs-panels",children:t?y.jsx(_Ae,{}):i()})]})}var PRe=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Uy(e,t){var n=TRe(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function TRe(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),i=PRe.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var LRe=[".DS_Store","Thumbs.db"];function ARe(e){return m0(this,void 0,void 0,function(){return v0(this,function(t){return dS(e)&&ORe(e.dataTransfer)?[2,DRe(e.dataTransfer,e.type)]:MRe(e)?[2,IRe(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,RRe(e)]:[2,[]]})})}function ORe(e){return dS(e)}function MRe(e){return dS(e)&&dS(e.target)}function dS(e){return typeof e=="object"&&e!==null}function IRe(e){return J8(e.target.files).map(function(t){return Uy(t)})}function RRe(e){return m0(this,void 0,void 0,function(){var t;return v0(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return Uy(r)})]}})})}function DRe(e,t){return m0(this,void 0,void 0,function(){var n,r;return v0(this,function(i){switch(i.label){case 0:return e.items?(n=J8(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(NRe))]):[3,2];case 1:return r=i.sent(),[2,cN(YY(r))];case 2:return[2,cN(J8(e.files).map(function(o){return Uy(o)}))]}})})}function cN(e){return e.filter(function(t){return LRe.indexOf(t.name)===-1})}function J8(e){if(e===null)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,gN(n)];if(e.sizen)return[!1,gN(n)]}return[!0,null]}function Sh(e){return e!=null}function QRe(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(l){var u=QY(l,n),d=ay(u,1),h=d[0],m=JY(l,r,i),v=ay(m,1),b=v[0],S=s?s(l):null;return h&&b&&!S})}function fS(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Xb(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function vN(e){e.preventDefault()}function JRe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function eDe(e){return e.indexOf("Edge/")!==-1}function tDe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return JRe(e)||eDe(e)}function Il(){for(var e=arguments.length,t=new Array(e),n=0;n1?i-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yDe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var lT=w.forwardRef(function(e,t){var n=e.children,r=hS(e,sDe),i=iK(r),o=i.open,a=hS(i,lDe);return w.useImperativeHandle(t,function(){return{open:o}},[o]),N.createElement(w.Fragment,null,n(Cr(Cr({},a),{},{open:o})))});lT.displayName="Dropzone";var rK={disabled:!1,getFilesFromEvent:ARe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};lT.defaultProps=rK;lT.propTypes={children:jn.func,accept:jn.objectOf(jn.arrayOf(jn.string)),multiple:jn.bool,preventDropOnDocument:jn.bool,noClick:jn.bool,noKeyboard:jn.bool,noDrag:jn.bool,noDragEventsBubbling:jn.bool,minSize:jn.number,maxSize:jn.number,maxFiles:jn.number,disabled:jn.bool,getFilesFromEvent:jn.func,onFileDialogCancel:jn.func,onFileDialogOpen:jn.func,useFsAccessApi:jn.bool,autoFocus:jn.bool,onDragEnter:jn.func,onDragLeave:jn.func,onDragOver:jn.func,onDrop:jn.func,onDropAccepted:jn.func,onDropRejected:jn.func,onError:jn.func,validator:jn.func};var r_={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function iK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Cr(Cr({},rK),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,m=t.onDrop,v=t.onDropAccepted,b=t.onDropRejected,S=t.onFileDialogCancel,E=t.onFileDialogOpen,k=t.useFsAccessApi,_=t.autoFocus,T=t.preventDropOnDocument,A=t.noClick,I=t.noKeyboard,R=t.noDrag,D=t.noDragEventsBubbling,j=t.onError,z=t.validator,V=w.useMemo(function(){return iDe(n)},[n]),K=w.useMemo(function(){return rDe(n)},[n]),te=w.useMemo(function(){return typeof E=="function"?E:bN},[E]),q=w.useMemo(function(){return typeof S=="function"?S:bN},[S]),$=w.useRef(null),W=w.useRef(null),X=w.useReducer(bDe,r_),Z=VC(X,2),U=Z[0],Q=Z[1],ie=U.isFocused,fe=U.isFileDialogActive,Se=w.useRef(typeof window<"u"&&window.isSecureContext&&k&&nDe()),Pe=function(){!Se.current&&fe&&setTimeout(function(){if(W.current){var Ne=W.current.files;Ne.length||(Q({type:"closeDialog"}),q())}},300)};w.useEffect(function(){return window.addEventListener("focus",Pe,!1),function(){window.removeEventListener("focus",Pe,!1)}},[W,fe,q,Se]);var ye=w.useRef([]),We=function(Ne){$.current&&$.current.contains(Ne.target)||(Ne.preventDefault(),ye.current=[])};w.useEffect(function(){return T&&(document.addEventListener("dragover",vN,!1),document.addEventListener("drop",We,!1)),function(){T&&(document.removeEventListener("dragover",vN),document.removeEventListener("drop",We))}},[$,T]),w.useEffect(function(){return!r&&_&&$.current&&$.current.focus(),function(){}},[$,_,r]);var De=w.useCallback(function(xe){j?j(xe):console.error(xe)},[j]),ot=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[].concat(dDe(ye.current),[xe.target]),Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){if(!(fS(xe)&&!D)){var Ct=Ne.length,Dt=Ct>0&&QRe({files:Ne,accept:V,minSize:a,maxSize:o,multiple:s,maxFiles:l,validator:z}),Te=Ct>0&&!Dt;Q({isDragAccept:Dt,isDragReject:Te,isDragActive:!0,type:"setDraggedFiles"}),u&&u(xe)}}).catch(function(Ne){return De(Ne)})},[i,u,De,D,V,a,o,s,l,z]),He=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=Xb(xe);if(Ne&&xe.dataTransfer)try{xe.dataTransfer.dropEffect="copy"}catch{}return Ne&&h&&h(xe),!1},[h,D]),Be=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=ye.current.filter(function(Dt){return $.current&&$.current.contains(Dt)}),Ct=Ne.indexOf(xe.target);Ct!==-1&&Ne.splice(Ct,1),ye.current=Ne,!(Ne.length>0)&&(Q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Xb(xe)&&d&&d(xe))},[$,d,D]),wt=w.useCallback(function(xe,Ne){var Ct=[],Dt=[];xe.forEach(function(Te){var At=QY(Te,V),$e=VC(At,2),vt=$e[0],tn=$e[1],Rn=JY(Te,a,o),Xe=VC(Rn,2),xt=Xe[0],ft=Xe[1],Ht=z?z(Te):null;if(vt&&xt&&!Ht)Ct.push(Te);else{var nn=[tn,ft];Ht&&(nn=nn.concat(Ht)),Dt.push({file:Te,errors:nn.filter(function(pr){return pr})})}}),(!s&&Ct.length>1||s&&l>=1&&Ct.length>l)&&(Ct.forEach(function(Te){Dt.push({file:Te,errors:[ZRe]})}),Ct.splice(0)),Q({acceptedFiles:Ct,fileRejections:Dt,type:"setFiles"}),m&&m(Ct,Dt,Ne),Dt.length>0&&b&&b(Dt,Ne),Ct.length>0&&v&&v(Ct,Ne)},[Q,s,V,a,o,l,m,v,b,z]),st=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[],Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){fS(xe)&&!D||wt(Ne,xe)}).catch(function(Ne){return De(Ne)}),Q({type:"reset"})},[i,wt,De,D]),mt=w.useCallback(function(){if(Se.current){Q({type:"openDialog"}),te();var xe={multiple:s,types:K};window.showOpenFilePicker(xe).then(function(Ne){return i(Ne)}).then(function(Ne){wt(Ne,null),Q({type:"closeDialog"})}).catch(function(Ne){oDe(Ne)?(q(Ne),Q({type:"closeDialog"})):aDe(Ne)?(Se.current=!1,W.current?(W.current.value=null,W.current.click()):De(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):De(Ne)});return}W.current&&(Q({type:"openDialog"}),te(),W.current.value=null,W.current.click())},[Q,te,q,k,wt,De,K,s]),St=w.useCallback(function(xe){!$.current||!$.current.isEqualNode(xe.target)||(xe.key===" "||xe.key==="Enter"||xe.keyCode===32||xe.keyCode===13)&&(xe.preventDefault(),mt())},[$,mt]),Le=w.useCallback(function(){Q({type:"focus"})},[]),lt=w.useCallback(function(){Q({type:"blur"})},[]),Mt=w.useCallback(function(){A||(tDe()?setTimeout(mt,0):mt())},[A,mt]),ut=function(Ne){return r?null:Ne},_t=function(Ne){return I?null:ut(Ne)},ln=function(Ne){return R?null:ut(Ne)},ae=function(Ne){D&&Ne.stopPropagation()},Re=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.role,Te=xe.onKeyDown,At=xe.onFocus,$e=xe.onBlur,vt=xe.onClick,tn=xe.onDragEnter,Rn=xe.onDragOver,Xe=xe.onDragLeave,xt=xe.onDrop,ft=hS(xe,uDe);return Cr(Cr(n_({onKeyDown:_t(Il(Te,St)),onFocus:_t(Il(At,Le)),onBlur:_t(Il($e,lt)),onClick:ut(Il(vt,Mt)),onDragEnter:ln(Il(tn,ot)),onDragOver:ln(Il(Rn,He)),onDragLeave:ln(Il(Xe,Be)),onDrop:ln(Il(xt,st)),role:typeof Dt=="string"&&Dt!==""?Dt:"presentation"},Ct,$),!r&&!I?{tabIndex:0}:{}),ft)}},[$,St,Le,lt,Mt,ot,He,Be,st,I,R,r]),Ye=w.useCallback(function(xe){xe.stopPropagation()},[]),Ke=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.onChange,Te=xe.onClick,At=hS(xe,cDe),$e=n_({accept:V,multiple:s,type:"file",style:{display:"none"},onChange:ut(Il(Dt,st)),onClick:ut(Il(Te,Ye)),tabIndex:-1},Ct,W);return Cr(Cr({},$e),At)}},[W,n,s,st,r]);return Cr(Cr({},U),{},{isFocused:ie&&!r,getRootProps:Re,getInputProps:Ke,rootRef:$,inputRef:W,open:ut(mt)})}function bDe(e,t){switch(t.type){case"focus":return Cr(Cr({},e),{},{isFocused:!0});case"blur":return Cr(Cr({},e),{},{isFocused:!1});case"openDialog":return Cr(Cr({},r_),{},{isFileDialogActive:!0});case"closeDialog":return Cr(Cr({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Cr(Cr({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Cr(Cr({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Cr({},r_);default:return e}}function bN(){}const SDe=e=>{const{isDragAccept:t,isDragReject:n,overlaySecondaryText:r,setIsHandlingUpload:i}=e;return Je("esc",()=>{i(!1)}),y.jsxs("div",{className:"dropzone-container",children:[t&&y.jsx("div",{className:"dropzone-overlay is-drag-accept",children:y.jsxs(Dh,{size:"lg",children:["Upload Image",r]})}),n&&y.jsxs("div",{className:"dropzone-overlay is-drag-reject",children:[y.jsx(Dh,{size:"lg",children:"Invalid Upload"}),y.jsx(Dh,{size:"md",children:"Must be single JPEG or PNG image"})]})]})},xDe=e=>{const{children:t}=e,n=Me(),r=he(Or),i=Ry({}),{t:o}=Ve(),[a,s]=w.useState(!1),{setOpenUploader:l}=xP(),u=w.useCallback(T=>{s(!0);const A=T.errors.reduce((I,R)=>`${I} -${R.message}`,"");i({title:o("toast:uploadFailed"),description:A,status:"error",isClosable:!0})},[o,i]),d=w.useCallback(async T=>{n(fD({imageFile:T}))},[n]),h=w.useCallback((T,A)=>{A.forEach(I=>{u(I)}),T.forEach(I=>{d(I)})},[d,u]),{getRootProps:m,getInputProps:v,isDragAccept:b,isDragReject:S,isDragActive:E,open:k}=iK({accept:{"image/png":[".png"],"image/jpeg":[".jpg",".jpeg",".png"]},noClick:!0,onDrop:h,onDragOver:()=>s(!0),maxFiles:1});l(k),w.useEffect(()=>{const T=A=>{var j;const I=(j=A.clipboardData)==null?void 0:j.items;if(!I)return;const R=[];for(const z of I)z.kind==="file"&&["image/png","image/jpg"].includes(z.type)&&R.push(z);if(!R.length)return;if(A.stopImmediatePropagation(),R.length>1){i({description:o("toast:uploadFailedMultipleImagesDesc"),status:"error",isClosable:!0});return}const D=R[0].getAsFile();if(!D){i({description:o("toast:uploadFailedUnableToLoadDesc"),status:"error",isClosable:!0});return}n(fD({imageFile:D}))};return document.addEventListener("paste",T),()=>{document.removeEventListener("paste",T)}},[o,n,i,r]);const _=["img2img","unifiedCanvas"].includes(r)?` to ${es[r].tooltip}`:"";return y.jsx(SP.Provider,{value:k,children:y.jsxs("div",{...m({style:{}}),onKeyDown:T=>{T.key},children:[y.jsx("input",{...v()}),t,E&&a&&y.jsx(SDe,{isDragAccept:b,isDragReject:S,overlaySecondaryText:_,setIsHandlingUpload:s})]})})},wDe=at(ir,e=>e.log,{memoizeOptions:{resultEqualityCheck:(e,t)=>e.length===t.length}}),CDe=at(ir,e=>({shouldShowLogViewer:e.shouldShowLogViewer,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),_De=()=>{const e=Me(),t=he(wDe),{shouldShowLogViewer:n,hasError:r,wasErrorSeen:i}=he(CDe),[o,a]=w.useState(!0),s=w.useRef(null);w.useLayoutEffect(()=>{s.current!==null&&o&&(s.current.scrollTop=s.current.scrollHeight)},[o,t,n]);const l=()=>{e($U()),e(CC(!n))};Je("`",()=>{e(CC(!n))},[n]),Je("esc",()=>{e(CC(!1))});const u=()=>{s.current&&o&&s.current.scrollTop{const{timestamp:m,message:v,level:b}=d;return y.jsxs("div",{className:`console-entry console-${b}-color`,children:[y.jsxs("p",{className:"console-timestamp",children:[m,":"]}),y.jsx("p",{className:"console-message",children:v})]},h)})})}),n&&y.jsx(uo,{hasArrow:!0,label:o?"Autoscroll On":"Autoscroll Off",children:y.jsx(ss,{className:"console-autoscroll-icon-button","data-autoscroll-enabled":o,size:"sm","aria-label":"Toggle autoscroll",variant:"solid",icon:y.jsx(Qke,{}),onClick:()=>a(!o)})}),y.jsx(uo,{hasArrow:!0,label:n?"Hide Console":"Show Console",children:y.jsx(ss,{className:"console-toggle-icon-button","data-error-seen":r||!i,size:"sm",position:"fixed",variant:"solid","aria-label":"Toggle Log Viewer",icon:n?y.jsx(hEe,{}):y.jsx(pq,{}),onClick:l})})]})},kDe=at(ir,e=>({isProcessing:e.isProcessing,currentStep:e.currentStep,totalSteps:e.totalSteps,currentStatusHasSteps:e.currentStatusHasSteps}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EDe=()=>{const{isProcessing:e,currentStep:t,totalSteps:n,currentStatusHasSteps:r}=he(kDe),i=t?Math.round(t*100/n):0;return y.jsx(BV,{value:i,isIndeterminate:e&&!r,className:"progress-bar"})};function PDe(e){const{title:t,hotkey:n,description:r}=e;return y.jsxs("div",{className:"hotkey-modal-item",children:[y.jsxs("div",{className:"hotkey-info",children:[y.jsx("p",{className:"hotkey-title",children:t}),r&&y.jsx("p",{className:"hotkey-description",children:r})]}),y.jsx("div",{className:"hotkey-key",children:n})]})}function TDe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),{t:i}=Ve(),o=[{title:i("hotkeys:invoke.title"),desc:i("hotkeys:invoke.desc"),hotkey:"Ctrl+Enter"},{title:i("hotkeys:cancel.title"),desc:i("hotkeys:cancel.desc"),hotkey:"Shift+X"},{title:i("hotkeys:focusPrompt.title"),desc:i("hotkeys:focusPrompt.desc"),hotkey:"Alt+A"},{title:i("hotkeys:toggleOptions.title"),desc:i("hotkeys:toggleOptions.desc"),hotkey:"O"},{title:i("hotkeys:pinOptions.title"),desc:i("hotkeys:pinOptions.desc"),hotkey:"Shift+O"},{title:i("hotkeys:toggleViewer.title"),desc:i("hotkeys:toggleViewer.desc"),hotkey:"Z"},{title:i("hotkeys:toggleGallery.title"),desc:i("hotkeys:toggleGallery.desc"),hotkey:"G"},{title:i("hotkeys:maximizeWorkSpace.title"),desc:i("hotkeys:maximizeWorkSpace.desc"),hotkey:"F"},{title:i("hotkeys:changeTabs.title"),desc:i("hotkeys:changeTabs.desc"),hotkey:"1-5"},{title:i("hotkeys:consoleToggle.title"),desc:i("hotkeys:consoleToggle.desc"),hotkey:"`"}],a=[{title:i("hotkeys:setPrompt.title"),desc:i("hotkeys:setPrompt.desc"),hotkey:"P"},{title:i("hotkeys:setSeed.title"),desc:i("hotkeys:setSeed.desc"),hotkey:"S"},{title:i("hotkeys:setParameters.title"),desc:i("hotkeys:setParameters.desc"),hotkey:"A"},{title:i("hotkeys:restoreFaces.title"),desc:i("hotkeys:restoreFaces.desc"),hotkey:"Shift+R"},{title:i("hotkeys:upscale.title"),desc:i("hotkeys:upscale.desc"),hotkey:"Shift+U"},{title:i("hotkeys:showInfo.title"),desc:i("hotkeys:showInfo.desc"),hotkey:"I"},{title:i("hotkeys:sendToImageToImage.title"),desc:i("hotkeys:sendToImageToImage.desc"),hotkey:"Shift+I"},{title:i("hotkeys:deleteImage.title"),desc:i("hotkeys:deleteImage.desc"),hotkey:"Del"},{title:i("hotkeys:closePanels.title"),desc:i("hotkeys:closePanels.desc"),hotkey:"Esc"}],s=[{title:i("hotkeys:previousImage.title"),desc:i("hotkeys:previousImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextImage.title"),desc:i("hotkeys:nextImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:toggleGalleryPin.title"),desc:i("hotkeys:toggleGalleryPin.desc"),hotkey:"Shift+G"},{title:i("hotkeys:increaseGalleryThumbSize.title"),desc:i("hotkeys:increaseGalleryThumbSize.desc"),hotkey:"Shift+Up"},{title:i("hotkeys:decreaseGalleryThumbSize.title"),desc:i("hotkeys:decreaseGalleryThumbSize.desc"),hotkey:"Shift+Down"}],l=[{title:i("hotkeys:selectBrush.title"),desc:i("hotkeys:selectBrush.desc"),hotkey:"B"},{title:i("hotkeys:selectEraser.title"),desc:i("hotkeys:selectEraser.desc"),hotkey:"E"},{title:i("hotkeys:decreaseBrushSize.title"),desc:i("hotkeys:decreaseBrushSize.desc"),hotkey:"["},{title:i("hotkeys:increaseBrushSize.title"),desc:i("hotkeys:increaseBrushSize.desc"),hotkey:"]"},{title:i("hotkeys:decreaseBrushOpacity.title"),desc:i("hotkeys:decreaseBrushOpacity.desc"),hotkey:"Shift + ["},{title:i("hotkeys:increaseBrushOpacity.title"),desc:i("hotkeys:increaseBrushOpacity.desc"),hotkey:"Shift + ]"},{title:i("hotkeys:moveTool.title"),desc:i("hotkeys:moveTool.desc"),hotkey:"V"},{title:i("hotkeys:fillBoundingBox.title"),desc:i("hotkeys:fillBoundingBox.desc"),hotkey:"Shift + F"},{title:i("hotkeys:eraseBoundingBox.title"),desc:i("hotkeys:eraseBoundingBox.desc"),hotkey:"Delete / Backspace"},{title:i("hotkeys:colorPicker.title"),desc:i("hotkeys:colorPicker.desc"),hotkey:"C"},{title:i("hotkeys:toggleSnap.title"),desc:i("hotkeys:toggleSnap.desc"),hotkey:"N"},{title:i("hotkeys:quickToggleMove.title"),desc:i("hotkeys:quickToggleMove.desc"),hotkey:"Hold Space"},{title:i("hotkeys:toggleLayer.title"),desc:i("hotkeys:toggleLayer.desc"),hotkey:"Q"},{title:i("hotkeys:clearMask.title"),desc:i("hotkeys:clearMask.desc"),hotkey:"Shift+C"},{title:i("hotkeys:hideMask.title"),desc:i("hotkeys:hideMask.desc"),hotkey:"H"},{title:i("hotkeys:showHideBoundingBox.title"),desc:i("hotkeys:showHideBoundingBox.desc"),hotkey:"Shift+H"},{title:i("hotkeys:mergeVisible.title"),desc:i("hotkeys:mergeVisible.desc"),hotkey:"Shift+M"},{title:i("hotkeys:saveToGallery.title"),desc:i("hotkeys:saveToGallery.desc"),hotkey:"Shift+S"},{title:i("hotkeys:copyToClipboard.title"),desc:i("hotkeys:copyToClipboard.desc"),hotkey:"Ctrl+C"},{title:i("hotkeys:downloadImage.title"),desc:i("hotkeys:downloadImage.desc"),hotkey:"Shift+D"},{title:i("hotkeys:undoStroke.title"),desc:i("hotkeys:undoStroke.desc"),hotkey:"Ctrl+Z"},{title:i("hotkeys:redoStroke.title"),desc:i("hotkeys:redoStroke.desc"),hotkey:"Ctrl+Shift+Z, Ctrl+Y"},{title:i("hotkeys:resetView.title"),desc:i("hotkeys:resetView.desc"),hotkey:"R"},{title:i("hotkeys:previousStagingImage.title"),desc:i("hotkeys:previousStagingImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextStagingImage.title"),desc:i("hotkeys:nextStagingImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:acceptStagingImage.title"),desc:i("hotkeys:acceptStagingImage.desc"),hotkey:"Enter"}],u=d=>{const h=[];return d.forEach((m,v)=>{h.push(y.jsx(PDe,{title:m.title,description:m.desc,hotkey:m.hotkey},v))}),y.jsx("div",{className:"hotkey-modal-category",children:h})};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:" modal hotkeys-modal",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx("h1",{children:"Keyboard Shorcuts"}),y.jsx("div",{className:"hotkeys-modal-items",children:y.jsxs(ok,{allowMultiple:!0,children:[y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:appHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(o)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:generalHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(a)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:galleryHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(s)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:unifiedCanvasHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(l)})]})]})})]})]})]})}var SN=Array.isArray,xN=Object.keys,LDe=Object.prototype.hasOwnProperty,ADe=typeof Element<"u";function i_(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=SN(e),r=SN(t),i,o,a;if(n&&r){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!i_(e[i],t[i]))return!1;return!0}if(n!=r)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var h=xN(e);if(o=h.length,o!==xN(t).length)return!1;for(i=o;i--!==0;)if(!LDe.call(t,h[i]))return!1;if(ADe&&e instanceof Element&&t instanceof Element)return e===t;for(i=o;i--!==0;)if(a=h[i],!(a==="_owner"&&e.$$typeof)&&!i_(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var md=function(t,n){try{return i_(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}},ODe=function(t){return MDe(t)&&!IDe(t)};function MDe(e){return!!e&&typeof e=="object"}function IDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||NDe(e)}var RDe=typeof Symbol=="function"&&Symbol.for,DDe=RDe?Symbol.for("react.element"):60103;function NDe(e){return e.$$typeof===DDe}function jDe(e){return Array.isArray(e)?[]:{}}function pS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?sy(jDe(e),e,t):e}function BDe(e,t,n){return e.concat(t).map(function(r){return pS(r,n)})}function $De(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(i){r[i]=pS(e[i],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=pS(t[i],n):r[i]=sy(e[i],t[i],n)}),r}function sy(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||BDe,n.isMergeableObject=n.isMergeableObject||ODe;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):$De(e,t,n):pS(t,n)}sy.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return sy(r,i,n)},{})};var o_=sy,FDe=typeof global=="object"&&global&&global.Object===Object&&global;const oK=FDe;var zDe=typeof self=="object"&&self&&self.Object===Object&&self,HDe=oK||zDe||Function("return this")();const mu=HDe;var VDe=mu.Symbol;const ef=VDe;var aK=Object.prototype,WDe=aK.hasOwnProperty,UDe=aK.toString,gv=ef?ef.toStringTag:void 0;function GDe(e){var t=WDe.call(e,gv),n=e[gv];try{e[gv]=void 0;var r=!0}catch{}var i=UDe.call(e);return r&&(t?e[gv]=n:delete e[gv]),i}var qDe=Object.prototype,YDe=qDe.toString;function KDe(e){return YDe.call(e)}var XDe="[object Null]",ZDe="[object Undefined]",wN=ef?ef.toStringTag:void 0;function xp(e){return e==null?e===void 0?ZDe:XDe:wN&&wN in Object(e)?GDe(e):KDe(e)}function sK(e,t){return function(n){return e(t(n))}}var QDe=sK(Object.getPrototypeOf,Object);const uT=QDe;function wp(e){return e!=null&&typeof e=="object"}var JDe="[object Object]",eNe=Function.prototype,tNe=Object.prototype,lK=eNe.toString,nNe=tNe.hasOwnProperty,rNe=lK.call(Object);function CN(e){if(!wp(e)||xp(e)!=JDe)return!1;var t=uT(e);if(t===null)return!0;var n=nNe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&lK.call(n)==rNe}function iNe(){this.__data__=[],this.size=0}function uK(e,t){return e===t||e!==e&&t!==t}function cw(e,t){for(var n=e.length;n--;)if(uK(e[n][0],t))return n;return-1}var oNe=Array.prototype,aNe=oNe.splice;function sNe(e){var t=this.__data__,n=cw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():aNe.call(t,n,1),--this.size,!0}function lNe(e){var t=this.__data__,n=cw(t,e);return n<0?void 0:t[n][1]}function uNe(e){return cw(this.__data__,e)>-1}function cNe(e,t){var n=this.__data__,r=cw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=vje}var yje="[object Arguments]",bje="[object Array]",Sje="[object Boolean]",xje="[object Date]",wje="[object Error]",Cje="[object Function]",_je="[object Map]",kje="[object Number]",Eje="[object Object]",Pje="[object RegExp]",Tje="[object Set]",Lje="[object String]",Aje="[object WeakMap]",Oje="[object ArrayBuffer]",Mje="[object DataView]",Ije="[object Float32Array]",Rje="[object Float64Array]",Dje="[object Int8Array]",Nje="[object Int16Array]",jje="[object Int32Array]",Bje="[object Uint8Array]",$je="[object Uint8ClampedArray]",Fje="[object Uint16Array]",zje="[object Uint32Array]",sr={};sr[Ije]=sr[Rje]=sr[Dje]=sr[Nje]=sr[jje]=sr[Bje]=sr[$je]=sr[Fje]=sr[zje]=!0;sr[yje]=sr[bje]=sr[Oje]=sr[Sje]=sr[Mje]=sr[xje]=sr[wje]=sr[Cje]=sr[_je]=sr[kje]=sr[Eje]=sr[Pje]=sr[Tje]=sr[Lje]=sr[Aje]=!1;function Hje(e){return wp(e)&&mK(e.length)&&!!sr[xp(e)]}function cT(e){return function(t){return e(t)}}var vK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f2=vK&&typeof module=="object"&&module&&!module.nodeType&&module,Vje=f2&&f2.exports===vK,UC=Vje&&oK.process,Wje=function(){try{var e=f2&&f2.require&&f2.require("util").types;return e||UC&&UC.binding&&UC.binding("util")}catch{}}();const u0=Wje;var LN=u0&&u0.isTypedArray,Uje=LN?cT(LN):Hje;const Gje=Uje;var qje=Object.prototype,Yje=qje.hasOwnProperty;function yK(e,t){var n=qy(e),r=!n&&lje(e),i=!n&&!r&&gK(e),o=!n&&!r&&!i&&Gje(e),a=n||r||i||o,s=a?rje(e.length,String):[],l=s.length;for(var u in e)(t||Yje.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mje(u,l)))&&s.push(u);return s}var Kje=Object.prototype;function dT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Kje;return e===n}var Xje=sK(Object.keys,Object);const Zje=Xje;var Qje=Object.prototype,Jje=Qje.hasOwnProperty;function eBe(e){if(!dT(e))return Zje(e);var t=[];for(var n in Object(e))Jje.call(e,n)&&n!="constructor"&&t.push(n);return t}function bK(e){return e!=null&&mK(e.length)&&!cK(e)}function fT(e){return bK(e)?yK(e):eBe(e)}function tBe(e,t){return e&&fw(t,fT(t),e)}function nBe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var rBe=Object.prototype,iBe=rBe.hasOwnProperty;function oBe(e){if(!Gy(e))return nBe(e);var t=dT(e),n=[];for(var r in e)r=="constructor"&&(t||!iBe.call(e,r))||n.push(r);return n}function hT(e){return bK(e)?yK(e,!0):oBe(e)}function aBe(e,t){return e&&fw(t,hT(t),e)}var SK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,AN=SK&&typeof module=="object"&&module&&!module.nodeType&&module,sBe=AN&&AN.exports===SK,ON=sBe?mu.Buffer:void 0,MN=ON?ON.allocUnsafe:void 0;function lBe(e,t){if(t)return e.slice();var n=e.length,r=MN?MN(n):new e.constructor(n);return e.copy(r),r}function xK(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[i]=e[i]);return n}function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var KN=function(t){return Array.isArray(t)&&t.length===0},Go=function(t){return typeof t=="function"},hw=function(t){return t!==null&&typeof t=="object"},aFe=function(t){return String(Math.floor(Number(t)))===t},GC=function(t){return Object.prototype.toString.call(t)==="[object String]"},MK=function(t){return w.Children.count(t)===0},qC=function(t){return hw(t)&&Go(t.then)};function Vi(e,t,n,r){r===void 0&&(r=0);for(var i=OK(t);e&&r=0?[]:{}}}return(o===0?e:i)[a[o]]===n?e:(n===void 0?delete i[a[o]]:i[a[o]]=n,o===0&&n===void 0&&delete r[a[o]],r)}function IK(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(e);i0?Re.map(function(Ke){return j(Ke,Vi(ae,Ke))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ye).then(function(Ke){return Ke.reduce(function(xe,Ne,Ct){return Ne==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ne&&(xe=iu(xe,Re[Ct],Ne)),xe},{})})},[j]),V=w.useCallback(function(ae){return Promise.all([z(ae),m.validationSchema?D(ae):{},m.validate?R(ae):{}]).then(function(Re){var Ye=Re[0],Ke=Re[1],xe=Re[2],Ne=o_.all([Ye,Ke,xe],{arrayMerge:fFe});return Ne})},[m.validate,m.validationSchema,z,R,D]),K=Ka(function(ae){return ae===void 0&&(ae=A.values),I({type:"SET_ISVALIDATING",payload:!0}),V(ae).then(function(Re){return k.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:Re})),Re})});w.useEffect(function(){a&&k.current===!0&&md(v.current,m.initialValues)&&K(v.current)},[a,K]);var te=w.useCallback(function(ae){var Re=ae&&ae.values?ae.values:v.current,Ye=ae&&ae.errors?ae.errors:b.current?b.current:m.initialErrors||{},Ke=ae&&ae.touched?ae.touched:S.current?S.current:m.initialTouched||{},xe=ae&&ae.status?ae.status:E.current?E.current:m.initialStatus;v.current=Re,b.current=Ye,S.current=Ke,E.current=xe;var Ne=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!ae&&!!ae.isSubmitting,errors:Ye,touched:Ke,status:xe,values:Re,isValidating:!!ae&&!!ae.isValidating,submitCount:ae&&ae.submitCount&&typeof ae.submitCount=="number"?ae.submitCount:0}})};if(m.onReset){var Ct=m.onReset(A.values,st);qC(Ct)?Ct.then(Ne):Ne()}else Ne()},[m.initialErrors,m.initialStatus,m.initialTouched]);w.useEffect(function(){k.current===!0&&!md(v.current,m.initialValues)&&(u&&(v.current=m.initialValues,te()),a&&K(v.current))},[u,m.initialValues,te,a,K]),w.useEffect(function(){u&&k.current===!0&&!md(b.current,m.initialErrors)&&(b.current=m.initialErrors||uh,I({type:"SET_ERRORS",payload:m.initialErrors||uh}))},[u,m.initialErrors]),w.useEffect(function(){u&&k.current===!0&&!md(S.current,m.initialTouched)&&(S.current=m.initialTouched||Zb,I({type:"SET_TOUCHED",payload:m.initialTouched||Zb}))},[u,m.initialTouched]),w.useEffect(function(){u&&k.current===!0&&!md(E.current,m.initialStatus)&&(E.current=m.initialStatus,I({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]);var q=Ka(function(ae){if(_.current[ae]&&Go(_.current[ae].validate)){var Re=Vi(A.values,ae),Ye=_.current[ae].validate(Re);return qC(Ye)?(I({type:"SET_ISVALIDATING",payload:!0}),Ye.then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ye}}),Promise.resolve(Ye))}else if(m.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),D(A.values,ae).then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke[ae]}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),$=w.useCallback(function(ae,Re){var Ye=Re.validate;_.current[ae]={validate:Ye}},[]),W=w.useCallback(function(ae){delete _.current[ae]},[]),X=Ka(function(ae,Re){I({type:"SET_TOUCHED",payload:ae});var Ye=Re===void 0?i:Re;return Ye?K(A.values):Promise.resolve()}),Z=w.useCallback(function(ae){I({type:"SET_ERRORS",payload:ae})},[]),U=Ka(function(ae,Re){var Ye=Go(ae)?ae(A.values):ae;I({type:"SET_VALUES",payload:Ye});var Ke=Re===void 0?n:Re;return Ke?K(Ye):Promise.resolve()}),Q=w.useCallback(function(ae,Re){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Re}})},[]),ie=Ka(function(ae,Re,Ye){I({type:"SET_FIELD_VALUE",payload:{field:ae,value:Re}});var Ke=Ye===void 0?n:Ye;return Ke?K(iu(A.values,ae,Re)):Promise.resolve()}),fe=w.useCallback(function(ae,Re){var Ye=Re,Ke=ae,xe;if(!GC(ae)){ae.persist&&ae.persist();var Ne=ae.target?ae.target:ae.currentTarget,Ct=Ne.type,Dt=Ne.name,Te=Ne.id,At=Ne.value,$e=Ne.checked,vt=Ne.outerHTML,tn=Ne.options,Rn=Ne.multiple;Ye=Re||Dt||Te,Ke=/number|range/.test(Ct)?(xe=parseFloat(At),isNaN(xe)?"":xe):/checkbox/.test(Ct)?pFe(Vi(A.values,Ye),$e,At):tn&&Rn?hFe(tn):At}Ye&&ie(Ye,Ke)},[ie,A.values]),Se=Ka(function(ae){if(GC(ae))return function(Re){return fe(Re,ae)};fe(ae)}),Pe=Ka(function(ae,Re,Ye){Re===void 0&&(Re=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:ae,value:Re}});var Ke=Ye===void 0?i:Ye;return Ke?K(A.values):Promise.resolve()}),ye=w.useCallback(function(ae,Re){ae.persist&&ae.persist();var Ye=ae.target,Ke=Ye.name,xe=Ye.id,Ne=Ye.outerHTML,Ct=Re||Ke||xe;Pe(Ct,!0)},[Pe]),We=Ka(function(ae){if(GC(ae))return function(Re){return ye(Re,ae)};ye(ae)}),De=w.useCallback(function(ae){Go(ae)?I({type:"SET_FORMIK_STATE",payload:ae}):I({type:"SET_FORMIK_STATE",payload:function(){return ae}})},[]),ot=w.useCallback(function(ae){I({type:"SET_STATUS",payload:ae})},[]),He=w.useCallback(function(ae){I({type:"SET_ISSUBMITTING",payload:ae})},[]),Be=Ka(function(){return I({type:"SUBMIT_ATTEMPT"}),K().then(function(ae){var Re=ae instanceof Error,Ye=!Re&&Object.keys(ae).length===0;if(Ye){var Ke;try{if(Ke=mt(),Ke===void 0)return}catch(xe){throw xe}return Promise.resolve(Ke).then(function(xe){return k.current&&I({type:"SUBMIT_SUCCESS"}),xe}).catch(function(xe){if(k.current)throw I({type:"SUBMIT_FAILURE"}),xe})}else if(k.current&&(I({type:"SUBMIT_FAILURE"}),Re))throw ae})}),wt=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),Be().catch(function(Re){console.warn("Warning: An unhandled error was caught from submitForm()",Re)})}),st={resetForm:te,validateForm:K,validateField:q,setErrors:Z,setFieldError:Q,setFieldTouched:Pe,setFieldValue:ie,setStatus:ot,setSubmitting:He,setTouched:X,setValues:U,setFormikState:De,submitForm:Be},mt=Ka(function(){return d(A.values,st)}),St=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),te()}),Le=w.useCallback(function(ae){return{value:Vi(A.values,ae),error:Vi(A.errors,ae),touched:!!Vi(A.touched,ae),initialValue:Vi(v.current,ae),initialTouched:!!Vi(S.current,ae),initialError:Vi(b.current,ae)}},[A.errors,A.touched,A.values]),lt=w.useCallback(function(ae){return{setValue:function(Ye,Ke){return ie(ae,Ye,Ke)},setTouched:function(Ye,Ke){return Pe(ae,Ye,Ke)},setError:function(Ye){return Q(ae,Ye)}}},[ie,Pe,Q]),Mt=w.useCallback(function(ae){var Re=hw(ae),Ye=Re?ae.name:ae,Ke=Vi(A.values,Ye),xe={name:Ye,value:Ke,onChange:Se,onBlur:We};if(Re){var Ne=ae.type,Ct=ae.value,Dt=ae.as,Te=ae.multiple;Ne==="checkbox"?Ct===void 0?xe.checked=!!Ke:(xe.checked=!!(Array.isArray(Ke)&&~Ke.indexOf(Ct)),xe.value=Ct):Ne==="radio"?(xe.checked=Ke===Ct,xe.value=Ct):Dt==="select"&&Te&&(xe.value=xe.value||[],xe.multiple=!0)}return xe},[We,Se,A.values]),ut=w.useMemo(function(){return!md(v.current,A.values)},[v.current,A.values]),_t=w.useMemo(function(){return typeof s<"u"?ut?A.errors&&Object.keys(A.errors).length===0:s!==!1&&Go(s)?s(m):s:A.errors&&Object.keys(A.errors).length===0},[s,ut,A.errors,m]),ln=Gn({},A,{initialValues:v.current,initialErrors:b.current,initialTouched:S.current,initialStatus:E.current,handleBlur:We,handleChange:Se,handleReset:St,handleSubmit:wt,resetForm:te,setErrors:Z,setFormikState:De,setFieldTouched:Pe,setFieldValue:ie,setFieldError:Q,setStatus:ot,setSubmitting:He,setTouched:X,setValues:U,submitForm:Be,validateForm:K,validateField:q,isValid:_t,dirty:ut,unregisterField:W,registerField:$,getFieldProps:Mt,getFieldMeta:Le,getFieldHelpers:lt,validateOnBlur:i,validateOnChange:n,validateOnMount:a});return ln}function Yy(e){var t=uFe(e),n=e.component,r=e.children,i=e.render,o=e.innerRef;return w.useImperativeHandle(o,function(){return t}),w.createElement(sFe,{value:t},n?w.createElement(n,t):i?i(t):r?Go(r)?r(t):MK(r)?null:w.Children.only(r):null)}function cFe(e){var t={};if(e.inner){if(e.inner.length===0)return iu(t,e.path,e.message);for(var i=e.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;Vi(t,a.path)||(t=iu(t,a.path,a.message))}}return t}function dFe(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=c_(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}function c_(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(i){return Array.isArray(i)===!0||CN(i)?c_(i):i!==""?i:void 0}):CN(e[r])?t[r]=c_(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function fFe(e,t,n){var r=e.slice();return t.forEach(function(o,a){if(typeof r[a]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(o);r[a]=l?o_(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[a]=o_(e[a],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function hFe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function pFe(e,t,n){if(typeof e=="boolean")return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var gFe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?w.useLayoutEffect:w.useEffect;function Ka(e){var t=w.useRef(e);return gFe(function(){t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;ir?i:r},0);return Array.from(Gn({},t,{length:n+1}))}else return[]},SFe=function(e){oFe(t,e);function t(r){var i;return i=e.call(this,r)||this,i.updateArrayField=function(o,a,s){var l=i.props,u=l.name,d=l.formik.setFormikState;d(function(h){var m=typeof s=="function"?s:o,v=typeof a=="function"?a:o,b=iu(h.values,u,o(Vi(h.values,u))),S=s?m(Vi(h.errors,u)):void 0,E=a?v(Vi(h.touched,u)):void 0;return KN(S)&&(S=void 0),KN(E)&&(E=void 0),Gn({},h,{values:b,errors:s?iu(h.errors,u,S):h.errors,touched:a?iu(h.touched,u,E):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(c0(a),[iFe(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(s){return yFe(s,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(s){return vFe(s,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(s){return YC(s,o,a)},function(s){return YC(s,o,null)},function(s){return YC(s,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(s){return bFe(s,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(s){var l=s?[o].concat(s):[o];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(YN(i)),i.pop=i.pop.bind(YN(i)),i}var n=t.prototype;return n.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!md(Vi(i.formik.values,i.name),Vi(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(i){var o;return this.updateArrayField(function(a){var s=a?c0(a):[];return o||(o=s[i]),Go(s.splice)&&s.splice(i,1),s},!0,!0),o},n.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},n.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},o=this.props,a=o.component,s=o.render,l=o.children,u=o.name,d=o.formik,h=Lh(d,["validate","validationSchema"]),m=Gn({},i,{form:h,name:u});return a?w.createElement(a,m):s?s(m):l?typeof l=="function"?l(m):MK(l)?null:w.Children.only(l):null},t}(w.Component);SFe.defaultProps={validateOnChange:!0};const xFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XN=64,ZN=2048;function wFe(){const{openModel:e,model_list:t}=he(xFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,default:!1,format:"ckpt"});w.useEffect(()=>{var l,u,d,h,m,v,b;if(e){const S=ke.pickBy(t,(E,k)=>ke.isEqual(k,e));a({name:e,description:(l=S[e])==null?void 0:l.description,config:(u=S[e])==null?void 0:u.config,weights:(d=S[e])==null?void 0:d.weights,vae:(h=S[e])==null?void 0:h.vae,width:(m=S[e])==null?void 0:m.width,height:(v=S[e])==null?void 0:v.height,default:(b=S[e])==null?void 0:b.default,format:"ckpt"})}},[t,e]);const s=l=>{r($y({...l,width:Number(l.width),height:Number(l.height)}))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.config&&d.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"lg"}),u.config&&d.config?y.jsx(ur,{children:u.config}):y.jsx(lr,{margin:0,children:i("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.weights&&d.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"lg"}),u.weights&&d.weights?y.jsx(ur,{children:u.weights}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.vae&&d.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"lg"}),u.vae&&d.vae?y.jsx(ur,{children:u.vae}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!u.width&&d.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:i("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:h,form:m})=>y.jsx(ra,{id:"width",name:"width",min:XN,max:ZN,step:64,value:m.values.width,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.width&&d.width?y.jsx(ur,{children:u.width}):y.jsx(lr,{margin:0,children:i("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.height&&d.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:i("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:h,form:m})=>y.jsx(ra,{id:"height",name:"height",min:XN,max:ZN,step:64,value:m.values.height,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.height&&d.height?y.jsx(ur,{children:u.height}):y.jsx(lr,{margin:0,children:i("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const CFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function _Fe(){const{openModel:e,model_list:t}=he(CFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",repo_id:"",path:"",vae:{repo_id:"",path:""},default:!1,format:"diffusers"});w.useEffect(()=>{var l,u,d,h,m,v,b,S,E,k,_,T,A,I,R,D;if(e){const j=ke.pickBy(t,(z,V)=>ke.isEqual(V,e));a({name:e,description:(l=j[e])==null?void 0:l.description,path:(u=j[e])!=null&&u.path&&((d=j[e])==null?void 0:d.path)!=="None"?(h=j[e])==null?void 0:h.path:"",repo_id:(m=j[e])!=null&&m.repo_id&&((v=j[e])==null?void 0:v.repo_id)!=="None"?(b=j[e])==null?void 0:b.repo_id:"",vae:{repo_id:(E=(S=j[e])==null?void 0:S.vae)!=null&&E.repo_id?(_=(k=j[e])==null?void 0:k.vae)==null?void 0:_.repo_id:"",path:(A=(T=j[e])==null?void 0:T.vae)!=null&&A.path?(R=(I=j[e])==null?void 0:I.vae)==null?void 0:R.path:""},default:(D=j[e])==null?void 0:D.default,format:"diffusers"})}},[t,e]);const s=l=>{const u=l;l.path===""&&delete u.path,l.repo_id===""&&delete u.repo_id,l.vae.path===""&&delete u.vae.path,l.vae.repo_id===""&&delete u.vae.repo_id,r($y(l))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>{var h,m,v,b,S,E,k,_,T,A;return y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.path&&d.path,isRequired:!0,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"lg"}),u.path&&d.path?y.jsx(ur,{children:u.path}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.repo_id&&d.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:i("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"lg"}),u.repo_id&&d.repo_id?y.jsx(ur,{children:u.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:repoIDValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((h=u.vae)!=null&&h.path)&&((m=d.vae)==null?void 0:m.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"lg"}),(v=u.vae)!=null&&v.path&&((b=d.vae)!=null&&b.path)?y.jsx(ur,{children:(S=u.vae)==null?void 0:S.path}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((E=u.vae)!=null&&E.repo_id)&&((k=d.vae)==null?void 0:k.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:i("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"lg"}),(_=u.vae)!=null&&_.repo_id&&((T=d.vae)!=null&&T.repo_id)?y.jsx(ur,{children:(A=u.vae)==null?void 0:A.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeRepoIDValidationMsg")})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})}})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const DK=at([ir],e=>{const{model_list:t}=e,n=[];return ke.forEach(t,r=>{n.push(r.weights)}),n});function kFe(){const{t:e}=Ve();return y.jsx(ko,{position:"absolute",zIndex:2,right:4,top:4,fontSize:"0.7rem",fontWeight:"bold",backgroundColor:"var(--accent-color)",padding:"0.2rem 0.5rem",borderRadius:"0.2rem",alignItems:"center",children:e("modelmanager:modelExists")})}function QN({model:e,modelsToAdd:t,setModelsToAdd:n}){const r=he(DK),i=o=>{t.includes(o.target.value)?n(ke.remove(t,a=>a!==o.target.value)):n([...t,o.target.value])};return y.jsxs(ko,{position:"relative",children:[r.includes(e.location)?y.jsx(kFe,{}):null,y.jsx(er,{value:e.name,label:y.jsx(y.Fragment,{children:y.jsxs(yn,{alignItems:"start",children:[y.jsx("p",{style:{fontWeight:"bold"},children:e.name}),y.jsx("p",{style:{fontStyle:"italic"},children:e.location})]})}),isChecked:t.includes(e.name),isDisabled:r.includes(e.location),onChange:i,padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",_checked:{backgroundColor:"var(--accent-color)",color:"var(--text-color)"},_disabled:{backgroundColor:"var(--background-color-secondary)"}})]})}function EFe(){const e=Me(),{t}=Ve(),n=he(S=>S.system.searchFolder),r=he(S=>S.system.foundModels),i=he(DK),o=he(S=>S.ui.shouldShowExistingModelsInSearch),a=he(S=>S.system.isProcessing),[s,l]=N.useState([]),u=()=>{e(FU(null)),e(zU(null)),l([])},d=S=>{e(cD(S.checkpointFolder))},h=()=>{l([]),r&&r.forEach(S=>{i.includes(S.location)||l(E=>[...E,S.name])})},m=()=>{l([])},v=()=>{const S=r==null?void 0:r.filter(E=>s.includes(E.name));S==null||S.forEach(E=>{const k={name:E.name,description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:E.location,vae:"",width:512,height:512,default:!1,format:"ckpt"};e($y(k))}),l([])},b=()=>{const S=[],E=[];return r&&r.forEach((k,_)=>{i.includes(k.location)?E.push(y.jsx(QN,{model:k,modelsToAdd:s,setModelsToAdd:l},_)):S.push(y.jsx(QN,{model:k,modelsToAdd:s,setModelsToAdd:l},_))}),y.jsxs(y.Fragment,{children:[S,o&&E]})};return y.jsxs(y.Fragment,{children:[n?y.jsxs(Ge,{flexDirection:"column",padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",rowGap:"0.5rem",position:"relative",children:[y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",backgroundColor:"var(--background-color-secondary)",padding:"0.2rem 1rem",width:"max-content",borderRadius:"0.2rem"},children:t("modelmanager:checkpointFolder")}),y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",maxWidth:"80%"},children:n}),y.jsx(Qe,{"aria-label":t("modelmanager:scanAgain"),tooltip:t("modelmanager:scanAgain"),icon:y.jsx(Wx,{}),position:"absolute",right:16,fontSize:18,disabled:a,onClick:()=>e(cD(n))}),y.jsx(Qe,{"aria-label":t("modelmanager:clearCheckpointFolder"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),position:"absolute",right:5,onClick:u})]}):y.jsx(Yy,{initialValues:{checkpointFolder:""},onSubmit:S=>{d(S)},children:({handleSubmit:S})=>y.jsx("form",{onSubmit:S,children:y.jsxs(wy,{columnGap:"0.5rem",children:[y.jsx(dn,{isRequired:!0,width:"max-content",children:y.jsx(dr,{as:kr,id:"checkpointFolder",name:"checkpointFolder",type:"text",width:"lg",size:"md",label:t("modelmanager:checkpointFolder")})}),y.jsx(Qe,{icon:y.jsx(zEe,{}),"aria-label":t("modelmanager:findModels"),tooltip:t("modelmanager:findModels"),type:"submit",disabled:a})]})})}),r&&y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",children:[y.jsxs(Ge,{justifyContent:"space-between",alignItems:"center",children:[y.jsxs("p",{children:[t("modelmanager:modelsFound"),": ",r.length]}),y.jsxs("p",{children:[t("modelmanager:selected"),": ",s.length]})]}),y.jsxs(Ge,{columnGap:"0.5rem",justifyContent:"space-between",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(cr,{isDisabled:s.length===r.length,onClick:h,children:t("modelmanager:selectAll")}),y.jsx(cr,{isDisabled:s.length===0,onClick:m,children:t("modelmanager:deselectAll")}),y.jsx(er,{label:t("modelmanager:showExisting"),isChecked:o,onChange:()=>e(fCe(!o))})]}),y.jsx(cr,{isDisabled:s.length===0,onClick:v,backgroundColor:s.length>0?"var(--accent-color) !important":"",children:t("modelmanager:addSelected")})]}),y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",maxHeight:"18rem",overflowY:"scroll",paddingRight:"1rem",paddingLeft:"0.2rem",borderRadius:"0.2rem",children:[r.length>0?s.length===0&&y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",margin:"0 0.5rem 0 1rem",textAlign:"center",backgroundColor:"var(--notice-color)",boxShadow:"0 0 200px 6px var(--notice-color)",marginTop:"1rem",width:"max-content",children:t("modelmanager:selectAndAdd")}):y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",textAlign:"center",backgroundColor:"var(--status-bad-color)",children:t("modelmanager:noModelsFound")}),b()]})]})]})}const JN=64,ej=2048;function PFe(){const e=Me(),{t}=Ve(),n=he(u=>u.system.isProcessing);function r(u){return/\s/.test(u)}function i(u){let d;return r(u)&&(d=t("modelmanager:cannotUseSpaces")),d}const o={name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,format:"ckpt",default:!1},a=u=>{e($y(u)),e(zh(null))},[s,l]=N.useState(!1);return y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(EFe,{}),y.jsx(er,{label:t("modelmanager:addManually"),isChecked:s,onChange:()=>l(!s)}),s&&y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:u,errors:d,touched:h})=>y.jsx("form",{onSubmit:u,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(fn,{fontSize:20,fontWeight:"bold",alignSelf:"start",children:t("modelmanager:manual")}),y.jsxs(dn,{isInvalid:!!d.name&&h.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl"}),d.name&&h.name?y.jsx(ur,{children:d.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.description&&h.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl"}),d.description&&h.description?y.jsx(ur,{children:d.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.config&&h.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"2xl"}),d.config&&h.config?y.jsx(ur,{children:d.config}):y.jsx(lr,{margin:0,children:t("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.weights&&h.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"2xl"}),d.weights&&h.weights?y.jsx(ur,{children:d.weights}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.vae&&h.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"2xl"}),d.vae&&h.vae?y.jsx(ur,{children:d.vae}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!d.width&&h.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:t("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:m,form:v})=>y.jsx(ra,{id:"width",name:"width",min:JN,max:ej,step:64,width:"90%",value:v.values.width,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.width&&h.width?y.jsx(ur,{children:d.width}):y.jsx(lr,{margin:0,children:t("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.height&&h.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:t("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:m,form:v})=>y.jsx(ra,{id:"height",name:"height",min:JN,max:ej,width:"90%",step:64,value:v.values.height,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.height&&h.height?y.jsx(ur,{children:d.height}):y.jsx(lr,{margin:0,children:t("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})})]})}function Qb({children:e}){return y.jsx(Ge,{flexDirection:"column",backgroundColor:"var(--background-color)",padding:"1rem 1rem",borderRadius:"0.5rem",rowGap:"1rem",width:"100%",children:e})}function TFe(){const e=Me(),{t}=Ve(),n=he(s=>s.system.isProcessing);function r(s){return/\s/.test(s)}function i(s){let l;return r(s)&&(l=t("modelmanager:cannotUseSpaces")),l}const o={name:"",description:"",repo_id:"",path:"",format:"diffusers",default:!1,vae:{repo_id:"",path:""}},a=s=>{const l=s;s.path===""&&delete l.path,s.repo_id===""&&delete l.repo_id,s.vae.path===""&&delete l.vae.path,s.vae.repo_id===""&&delete l.vae.repo_id,e($y(l)),e(zh(null))};return y.jsxs(Ge,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:s,errors:l,touched:u})=>{var d,h,m,v,b,S,E,k,_,T;return y.jsx("form",{onSubmit:s,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.name&&u.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl",isRequired:!0}),l.name&&u.name?y.jsx(ur,{children:l.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]})}),y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.description&&u.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl",isRequired:!0}),l.description&&u.description?y.jsx(ur,{children:l.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]})}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",fontSize:"sm",children:t("modelmanager:formMessageDiffusersModelLocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersModelLocationDesc")}),y.jsxs(dn,{isInvalid:!!l.path&&u.path,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"2xl"}),l.path&&u.path?y.jsx(ur,{children:l.path}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!l.repo_id&&u.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:t("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"2xl"}),l.repo_id&&u.repo_id?y.jsx(ur,{children:l.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:repoIDValidationMsg")})]})]})]}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",children:t("modelmanager:formMessageDiffusersVAELocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersVAELocationDesc")}),y.jsxs(dn,{isInvalid:!!((d=l.vae)!=null&&d.path)&&((h=u.vae)==null?void 0:h.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"2xl"}),(m=l.vae)!=null&&m.path&&((v=u.vae)!=null&&v.path)?y.jsx(ur,{children:(b=l.vae)==null?void 0:b.path}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((S=l.vae)!=null&&S.repo_id)&&((E=u.vae)==null?void 0:E.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:t("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"2xl"}),(k=l.vae)!=null&&k.repo_id&&((_=u.vae)!=null&&_.repo_id)?y.jsx(ur,{children:(T=l.vae)==null?void 0:T.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeRepoIDValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})}})]})}function tj({text:e,onClick:t}){return y.jsx(Ge,{position:"relative",width:"50%",height:"200px",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",justifyContent:"center",alignItems:"center",_hover:{cursor:"pointer",backgroundColor:"var(--accent-color)"},onClick:t,children:y.jsx(fn,{fontWeight:"bold",children:e})})}function LFe(){const{isOpen:e,onOpen:t,onClose:n}=Wh(),r=he(s=>s.ui.addNewModelUIOption),i=Me(),{t:o}=Ve(),a=()=>{n(),i(zh(null))};return y.jsxs(y.Fragment,{children:[y.jsx(cr,{"aria-label":o("modelmanager:addNewModel"),tooltip:o("modelmanager:addNewModel"),onClick:t,className:"modal-close-btn",size:"sm",children:y.jsxs(Ge,{columnGap:"0.5rem",alignItems:"center",children:[y.jsx(zy,{}),o("modelmanager:addNew")]})}),y.jsxs(Yd,{isOpen:e,onClose:a,size:"3xl",closeOnOverlayClick:!1,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal add-model-modal",fontFamily:"Inter",children:[y.jsx(w0,{children:o("modelmanager:addNewModel")}),y.jsx(Ly,{marginTop:"0.3rem"}),y.jsxs(n0,{className:"add-model-modal-body",children:[r==null&&y.jsxs(Ge,{columnGap:"1rem",children:[y.jsx(tj,{text:o("modelmanager:addCheckpointModel"),onClick:()=>i(zh("ckpt"))}),y.jsx(tj,{text:o("modelmanager:addDiffuserModel"),onClick:()=>i(zh("diffusers"))})]}),r=="ckpt"&&y.jsx(PFe,{}),r=="diffusers"&&y.jsx(TFe,{})]})]})]})]})}function Jb(e){const{isProcessing:t,isConnected:n}=he(v=>v.system),r=he(v=>v.system.openModel),{t:i}=Ve(),o=Me(),{name:a,status:s,description:l}=e,u=()=>{o(VG(a))},d=()=>{o(LR(a))},h=()=>{o($8e(a)),o(LR(null))},m=()=>{switch(s){case"active":return"var(--status-good-color)";case"cached":return"var(--status-working-color)";case"not loaded":return"var(--text-color-secondary)"}};return y.jsxs(Ge,{alignItems:"center",padding:"0.5rem 0.5rem",borderRadius:"0.2rem",backgroundColor:a===r?"var(--accent-color)":"",_hover:{backgroundColor:a===r?"var(--accent-color)":"var(--background-color)"},children:[y.jsx(ko,{onClick:d,cursor:"pointer",children:y.jsx(uo,{label:l,hasArrow:!0,placement:"bottom",children:y.jsx(fn,{fontWeight:"bold",children:a})})}),y.jsx(fF,{onClick:d,cursor:"pointer"}),y.jsxs(Ge,{gap:2,alignItems:"center",children:[y.jsx(fn,{color:m(),children:s}),y.jsx(as,{size:"sm",onClick:u,isDisabled:s==="active"||t||!n,className:"modal-close-btn",children:i("modelmanager:load")}),y.jsx(Qe,{icon:y.jsx(LEe,{}),size:"sm",onClick:d,"aria-label":"Modify Config",isDisabled:s==="active"||t||!n,className:" modal-close-btn"}),y.jsx(oT,{title:i("modelmanager:deleteModel"),acceptCallback:h,acceptButtonText:i("modelmanager:delete"),triggerComponent:y.jsx(Qe,{icon:y.jsx(TEe,{}),size:"sm","aria-label":i("modelmanager:deleteConfig"),isDisabled:s==="active"||t||!n,className:" modal-close-btn",style:{backgroundColor:"var(--btn-delete-image)"}}),children:y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",children:[y.jsx("p",{style:{fontWeight:"bold"},children:i("modelmanager:deleteMsg1")}),y.jsx("p",{style:{color:"var(--text-color-secondary"},children:i("modelmanager:deleteMsg2")})]})})]})]})}const AFe=at(ir,e=>ke.map(e.model_list,(n,r)=>({name:r,...n})),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function KC({label:e,isActive:t,onClick:n}){return y.jsx(cr,{onClick:n,isActive:t,_active:{backgroundColor:"var(--accent-color)",_hover:{backgroundColor:"var(--accent-color)"}},size:"sm",children:e})}const OFe=()=>{const e=he(AFe),[t,n]=w.useState(""),[r,i]=w.useState("all"),[o,a]=w.useTransition(),{t:s}=Ve(),l=d=>{a(()=>{n(d.target.value)})},u=w.useMemo(()=>{const d=[],h=[],m=[],v=[];return e.forEach((b,S)=>{b.name.toLowerCase().includes(t.toLowerCase())&&(m.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)),b.format===r&&v.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))),b.format!=="diffusers"?d.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)):h.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))}),t!==""?r==="all"?y.jsx(ko,{marginTop:"1rem",children:m}):y.jsx(ko,{marginTop:"1rem",children:v}):y.jsxs(Ge,{flexDirection:"column",rowGap:"1.5rem",children:[r==="all"&&y.jsxs(y.Fragment,{children:[y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",margin:"1rem 0",width:"max-content",fontSize:"14",children:s("modelmanager:checkpointModels")}),d]}),y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",marginBottom:"0.5rem",width:"max-content",fontSize:"14",children:s("modelmanager:diffusersModels")}),h]})]}),r==="ckpt"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:d}),r==="diffusers"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:h})]})},[e,t,s,r]);return y.jsxs(Ge,{flexDirection:"column",rowGap:"2rem",width:"50%",minWidth:"50%",children:[y.jsxs(Ge,{justifyContent:"space-between",children:[y.jsx(fn,{fontSize:"1.4rem",fontWeight:"bold",children:s("modelmanager:availableModels")}),y.jsx(LFe,{})]}),y.jsx(kr,{onChange:l,label:s("modelmanager:search")}),y.jsxs(Ge,{flexDirection:"column",gap:1,maxHeight:window.innerHeight-360,overflow:"scroll",paddingRight:"1rem",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(KC,{label:s("modelmanager:allModels"),onClick:()=>i("all"),isActive:r==="all"}),y.jsx(KC,{label:s("modelmanager:checkpointModels"),onClick:()=>i("ckpt"),isActive:r==="ckpt"}),y.jsx(KC,{label:s("modelmanager:diffusersModels"),onClick:()=>i("diffusers"),isActive:r==="diffusers"})]}),u]})]})};function MFe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),i=he(s=>s.system.model_list),o=he(s=>s.system.openModel),{t:a}=Ve();return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,size:"6xl",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal",fontFamily:"Inter",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx(w0,{fontWeight:"bold",children:a("modelmanager:modelManager")}),y.jsxs(Ge,{padding:"0 1.5rem 1.5rem 1.5rem",width:"100%",columnGap:"2rem",children:[y.jsx(OFe,{}),o&&i[o].format==="diffusers"?y.jsx(_Fe,{}):y.jsx(wFe,{})]})]})]})]})}const IFe=at([ir],e=>{const{isProcessing:t,model_list:n}=e;return{models:ke.map(n,(i,o)=>o),isProcessing:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RFe=()=>{const e=Me(),{models:t,isProcessing:n}=he(IFe),r=he(qG),i=o=>{e(VG(o.target.value))};return y.jsx(Ge,{style:{paddingLeft:"0.3rem"},children:y.jsx(tl,{style:{fontSize:"0.8rem"},tooltip:r.description,isDisabled:n,value:r.name,validValues:t,onChange:i})})},DFe=at([ir,mp],(e,t)=>{const{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,model_list:o,saveIntermediatesInterval:a,enableImageDebugging:s}=e,{shouldUseCanvasBetaLayout:l}=t;return{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,models:ke.map(o,(u,d)=>d),saveIntermediatesInterval:a,enableImageDebugging:s,shouldUseCanvasBetaLayout:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NFe=({children:e})=>{const t=Me(),{t:n}=Ve(),r=he(_=>_.generation.steps),{isOpen:i,onOpen:o,onClose:a}=Wh(),{isOpen:s,onOpen:l,onClose:u}=Wh(),{shouldDisplayInProgressType:d,shouldConfirmOnDelete:h,shouldDisplayGuides:m,saveIntermediatesInterval:v,enableImageDebugging:b,shouldUseCanvasBetaLayout:S}=he(DFe),E=()=>{GG.purge().then(()=>{a(),l()})},k=_=>{_>r&&(_=r),_<1&&(_=1),t(Q6e(_))};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:o}),y.jsxs(Yd,{isOpen:i,onClose:a,size:"lg",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal settings-modal",children:[y.jsx(w0,{className:"settings-modal-header",children:n("common:settingsLabel")}),y.jsx(Ly,{className:"modal-close-btn"}),y.jsxs(n0,{className:"settings-modal-content",children:[y.jsxs("div",{className:"settings-modal-items",children:[y.jsxs("div",{className:"settings-modal-item",style:{gridAutoFlow:"row",rowGap:"0.5rem"},children:[y.jsx(tl,{label:n("settings:displayInProgress"),validValues:s7e,value:d,onChange:_=>t(U6e(_.target.value))}),d==="full-res"&&y.jsx(ra,{label:n("settings:saveSteps"),min:1,max:r,step:1,onChange:k,value:v,width:"auto",textAlign:"center"})]}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:confirmOnDelete"),isChecked:h,onChange:_=>t(BU(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:displayHelpIcons"),isChecked:m,onChange:_=>t(K6e(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:useCanvasBeta"),isChecked:S,onChange:_=>t(dCe(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-items",children:[y.jsx("h2",{style:{fontWeight:"bold"},children:"Developer"}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:enableImageDebugging"),isChecked:b,onChange:_=>t(J6e(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-reset",children:[y.jsx(Dh,{size:"md",children:n("settings:resetWebUI")}),y.jsx(as,{colorScheme:"red",onClick:E,children:n("settings:resetWebUI")}),y.jsx(fn,{children:n("settings:resetWebUIDesc1")}),y.jsx(fn,{children:n("settings:resetWebUIDesc2")})]})]}),y.jsx(yx,{children:y.jsx(as,{onClick:a,className:"modal-close-btn",children:n("common:close")})})]})]}),y.jsxs(Yd,{closeOnOverlayClick:!1,isOpen:s,onClose:u,isCentered:!0,children:[y.jsx(Kd,{bg:"blackAlpha.300",backdropFilter:"blur(40px)"}),y.jsx(Zh,{children:y.jsx(n0,{pb:6,pt:6,children:y.jsx(Ge,{justifyContent:"center",children:y.jsx(fn,{fontSize:"lg",children:y.jsx(fn,{children:n("settings:resetComplete")})})})})})]})]})},jFe=at(ir,e=>({isConnected:e.isConnected,isProcessing:e.isProcessing,currentIteration:e.currentIteration,totalIterations:e.totalIterations,currentStatus:e.currentStatus,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),BFe=()=>{const{isConnected:e,isProcessing:t,currentIteration:n,totalIterations:r,currentStatus:i,hasError:o,wasErrorSeen:a}=he(jFe),s=Me(),{t:l}=Ve();let u;e&&!o?u="status-good":u="status-bad";let d=i;[l("common:statusGenerating"),l("common:statusPreparing"),l("common:statusSavingImage"),l("common:statusRestoringFaces"),l("common:statusUpscaling")].includes(d)&&(u="status-working"),d&&t&&r>1&&(d=`${l(d)} (${n}/${r})`);const m=o&&!a?"Click to clear, check logs for details":void 0,v=o&&!a?"pointer":"initial",b=()=>{(o||!a)&&s($U())};return y.jsx(uo,{label:m,children:y.jsx(fn,{cursor:v,onClick:b,className:`status ${u}`,children:l(d)})})};function $Fe(){const{t:e}=Ve(),{setColorMode:t,colorMode:n}=dy(),r=Me(),i=he(l=>l.ui.currentTheme),o={dark:e("common:darkTheme"),light:e("common:lightTheme"),green:e("common:greenTheme")};w.useEffect(()=>{n!==i&&t(i)},[t,n,i]);const a=l=>{r(aCe(l))},s=()=>{const l=[];return Object.keys(o).forEach(u=>{l.push(y.jsx(cr,{style:{width:"6rem"},leftIcon:i===u?y.jsx(PP,{}):void 0,size:"sm",onClick:()=>a(u),children:o[u]},u))}),l};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:themeLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(pEe,{})}),children:y.jsx(yn,{align:"stretch",children:s()})})}function FFe(){const{t:e,i18n:t}=Ve(),n={en:e("common:langEnglish"),nl:e("common:langDutch"),fr:e("common:langFrench"),de:e("common:langGerman"),it:e("common:langItalian"),ja:e("common:langJapanese"),pl:e("common:langPolish"),pt_br:e("common:langBrPortuguese"),ru:e("common:langRussian"),zh_cn:e("common:langSimplifiedChinese"),es:e("common:langSpanish"),ua:e("common:langUkranian")},r=()=>{const i=[];return Object.keys(n).forEach(o=>{i.push(y.jsx(cr,{"data-selected":localStorage.getItem("i18nextLng")===o,onClick:()=>t.changeLanguage(o),className:"modal-close-btn lang-select-btn","aria-label":n[o],tooltip:n[o],size:"sm",minWidth:"200px",children:n[o]},o))}),i};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:languagePickerLabel"),tooltip:e("common:languagePickerLabel"),icon:y.jsx(dEe,{}),size:"sm",variant:"link","data-variant":"link",fontSize:26}),children:y.jsx(yn,{children:r()})})}const zFe=()=>{const{t:e}=Ve(),t=he(n=>n.system.app_version);return y.jsxs("div",{className:"site-header",children:[y.jsxs("div",{className:"site-header-left-side",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs(Ge,{alignItems:"center",columnGap:"0.6rem",children:[y.jsxs(fn,{fontSize:"1.4rem",children:["invoke ",y.jsx("strong",{children:"ai"})]}),y.jsx(fn,{fontWeight:"bold",color:"var(--text-color-secondary)",marginTop:"0.2rem",children:t})]})]}),y.jsxs("div",{className:"site-header-right-side",children:[y.jsx(BFe,{}),y.jsx(RFe,{}),y.jsx(MFe,{children:y.jsx(Qe,{"aria-label":e("modelmanager:modelManager"),tooltip:e("modelmanager:modelManager"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(rEe,{})})}),y.jsx(TDe,{children:y.jsx(Qe,{"aria-label":e("common:hotkeysLabel"),tooltip:e("common:hotkeysLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(cEe,{})})}),y.jsx($Fe,{}),y.jsx(FFe,{}),y.jsx(Qe,{"aria-label":e("common:reportBugLabel"),tooltip:e("common:reportBugLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI/issues",children:y.jsx(nEe,{})})}),y.jsx(Qe,{"aria-label":e("common:githubLabel"),tooltip:e("common:githubLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI",children:y.jsx(Zke,{})})}),y.jsx(Qe,{"aria-label":e("common:discordLabel"),tooltip:e("common:discordLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"https://discord.gg/ZmtBAhwWhy",children:y.jsx(Xke,{})})}),y.jsx(NFe,{children:y.jsx(Qe,{"aria-label":e("common:settingsLabel"),tooltip:e("common:settingsLabel"),variant:"link","data-variant":"link",fontSize:22,size:"sm",icon:y.jsx(VEe,{})})})]})]})};function HFe(){async function e(n=""){return await fetch(n,{method:"GET",cache:"no-cache"})}const t=()=>{const n=document.location;e(n+"/flaskwebgui-keep-server-alive").then(i=>i)};(!{}.NODE_ENV||{}.NODE_ENV==="production")&&document.addEventListener("DOMContentLoaded",()=>{t(),setInterval(t,3e3)})}const VFe=()=>{const e=Me(),t=he(a_e),n=Ry();w.useEffect(()=>{t.forEach(r=>{n(r)}),t.length>0&&e(tCe())},[e,n,t])},NK=at([yp,mp,Or],(e,t,n)=>{const{shouldPinParametersPanel:r,shouldShowParametersPanel:i,shouldHoldParametersPanelOpen:o,shouldUseCanvasBetaLayout:a}=t,{shouldShowGallery:s,shouldPinGallery:l,shouldHoldGalleryOpen:u}=e,d=a&&n==="unifiedCanvas",h=!d&&!(i||o&&!r)&&["txt2img","img2img","unifiedCanvas"].includes(n),m=!(s||u&&!l)&&["txt2img","img2img","unifiedCanvas"].includes(n);return{shouldPinParametersPanel:r,shouldShowProcessButtons:!d&&(!r||!i),shouldShowParametersPanelButton:h,shouldShowParametersPanel:i,shouldShowGallery:s,shouldPinGallery:l,shouldShowGalleryButton:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),WFe=()=>{const e=Me(),{shouldShowParametersPanel:t,shouldShowParametersPanelButton:n,shouldShowProcessButtons:r,shouldPinParametersPanel:i,shouldShowGallery:o,shouldPinGallery:a}=he(NK),s=()=>{e(Ku(!0)),i&&setTimeout(()=>e(vi(!0)),400)};return Je("f",()=>{o||t?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(a||i)&&setTimeout(()=>e(vi(!0)),400)},[o,t]),n?y.jsxs("div",{className:"show-hide-button-options",children:[y.jsx(Qe,{tooltip:"Show Options Panel (O)",tooltipProps:{placement:"top"},"aria-label":"Show Options Panel",onClick:s,children:y.jsx(AP,{})}),r&&y.jsxs(y.Fragment,{children:[y.jsx(XP,{iconButton:!0}),y.jsx(YP,{})]})]}):null},UFe=()=>{const e=Me(),{shouldShowGallery:t,shouldShowGalleryButton:n,shouldPinGallery:r,shouldShowParametersPanel:i,shouldPinParametersPanel:o}=he(NK),a=()=>{e(Bd(!0)),r&&e(vi(!0))};return Je("f",()=>{t||i?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(r||o)&&setTimeout(()=>e(vi(!0)),400)},[t,i]),n?y.jsx(Qe,{tooltip:"Show Gallery (G)",tooltipProps:{placement:"top"},"aria-label":"Show Gallery",styleClass:"floating-show-hide-button right show-hide-button-gallery",onClick:a,children:y.jsx(Tq,{})}):null};HFe();const GFe=()=>(VFe(),y.jsxs("div",{className:"App",children:[y.jsxs(xDe,{children:[y.jsx(EDe,{}),y.jsxs("div",{className:"app-content",children:[y.jsx(zFe,{}),y.jsx(ERe,{})]}),y.jsx("div",{className:"app-console",children:y.jsx(_De,{})})]}),y.jsx(WFe,{}),y.jsx(UFe,{})]})),nj=()=>y.jsx(Ge,{width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center",children:y.jsx(xy,{thickness:"2px",speed:"1s",emptyColor:"gray.200",color:"gray.400",size:"xl"})});const qFe=Aj({key:"invokeai-style-cache",prepend:!0});X9.createRoot(document.getElementById("root")).render(y.jsx(N.StrictMode,{children:y.jsx(T5e,{store:UG,children:y.jsx(mW,{loading:y.jsx(nj,{}),persistor:GG,children:y.jsx(qne,{value:qFe,children:y.jsx(q4e,{children:y.jsx(N.Suspense,{fallback:y.jsx(nj,{}),children:y.jsx(GFe,{})})})})})})})); +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nK(e,t){if(e){if(typeof e=="string")return t_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t_(e,t)}}function t_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yDe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var lT=w.forwardRef(function(e,t){var n=e.children,r=hS(e,sDe),i=iK(r),o=i.open,a=hS(i,lDe);return w.useImperativeHandle(t,function(){return{open:o}},[o]),N.createElement(w.Fragment,null,n(Cr(Cr({},a),{},{open:o})))});lT.displayName="Dropzone";var rK={disabled:!1,getFilesFromEvent:ARe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};lT.defaultProps=rK;lT.propTypes={children:jn.func,accept:jn.objectOf(jn.arrayOf(jn.string)),multiple:jn.bool,preventDropOnDocument:jn.bool,noClick:jn.bool,noKeyboard:jn.bool,noDrag:jn.bool,noDragEventsBubbling:jn.bool,minSize:jn.number,maxSize:jn.number,maxFiles:jn.number,disabled:jn.bool,getFilesFromEvent:jn.func,onFileDialogCancel:jn.func,onFileDialogOpen:jn.func,useFsAccessApi:jn.bool,autoFocus:jn.bool,onDragEnter:jn.func,onDragLeave:jn.func,onDragOver:jn.func,onDrop:jn.func,onDropAccepted:jn.func,onDropRejected:jn.func,onError:jn.func,validator:jn.func};var r_={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function iK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Cr(Cr({},rK),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,m=t.onDrop,v=t.onDropAccepted,b=t.onDropRejected,S=t.onFileDialogCancel,k=t.onFileDialogOpen,E=t.useFsAccessApi,_=t.autoFocus,T=t.preventDropOnDocument,A=t.noClick,I=t.noKeyboard,R=t.noDrag,D=t.noDragEventsBubbling,j=t.onError,z=t.validator,V=w.useMemo(function(){return iDe(n)},[n]),K=w.useMemo(function(){return rDe(n)},[n]),te=w.useMemo(function(){return typeof k=="function"?k:bN},[k]),q=w.useMemo(function(){return typeof S=="function"?S:bN},[S]),$=w.useRef(null),U=w.useRef(null),X=w.useReducer(bDe,r_),Z=VC(X,2),W=Z[0],Q=Z[1],ie=W.isFocused,fe=W.isFileDialogActive,Se=w.useRef(typeof window<"u"&&window.isSecureContext&&E&&nDe()),Pe=function(){!Se.current&&fe&&setTimeout(function(){if(U.current){var Ne=U.current.files;Ne.length||(Q({type:"closeDialog"}),q())}},300)};w.useEffect(function(){return window.addEventListener("focus",Pe,!1),function(){window.removeEventListener("focus",Pe,!1)}},[U,fe,q,Se]);var ye=w.useRef([]),We=function(Ne){$.current&&$.current.contains(Ne.target)||(Ne.preventDefault(),ye.current=[])};w.useEffect(function(){return T&&(document.addEventListener("dragover",vN,!1),document.addEventListener("drop",We,!1)),function(){T&&(document.removeEventListener("dragover",vN),document.removeEventListener("drop",We))}},[$,T]),w.useEffect(function(){return!r&&_&&$.current&&$.current.focus(),function(){}},[$,_,r]);var De=w.useCallback(function(xe){j?j(xe):console.error(xe)},[j]),ot=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[].concat(dDe(ye.current),[xe.target]),Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){if(!(fS(xe)&&!D)){var Ct=Ne.length,Dt=Ct>0&&QRe({files:Ne,accept:V,minSize:a,maxSize:o,multiple:s,maxFiles:l,validator:z}),Te=Ct>0&&!Dt;Q({isDragAccept:Dt,isDragReject:Te,isDragActive:!0,type:"setDraggedFiles"}),u&&u(xe)}}).catch(function(Ne){return De(Ne)})},[i,u,De,D,V,a,o,s,l,z]),He=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=Xb(xe);if(Ne&&xe.dataTransfer)try{xe.dataTransfer.dropEffect="copy"}catch{}return Ne&&h&&h(xe),!1},[h,D]),Be=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=ye.current.filter(function(Dt){return $.current&&$.current.contains(Dt)}),Ct=Ne.indexOf(xe.target);Ct!==-1&&Ne.splice(Ct,1),ye.current=Ne,!(Ne.length>0)&&(Q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Xb(xe)&&d&&d(xe))},[$,d,D]),wt=w.useCallback(function(xe,Ne){var Ct=[],Dt=[];xe.forEach(function(Te){var At=QY(Te,V),$e=VC(At,2),vt=$e[0],tn=$e[1],Rn=JY(Te,a,o),Xe=VC(Rn,2),xt=Xe[0],ft=Xe[1],Ht=z?z(Te):null;if(vt&&xt&&!Ht)Ct.push(Te);else{var nn=[tn,ft];Ht&&(nn=nn.concat(Ht)),Dt.push({file:Te,errors:nn.filter(function(pr){return pr})})}}),(!s&&Ct.length>1||s&&l>=1&&Ct.length>l)&&(Ct.forEach(function(Te){Dt.push({file:Te,errors:[ZRe]})}),Ct.splice(0)),Q({acceptedFiles:Ct,fileRejections:Dt,type:"setFiles"}),m&&m(Ct,Dt,Ne),Dt.length>0&&b&&b(Dt,Ne),Ct.length>0&&v&&v(Ct,Ne)},[Q,s,V,a,o,l,m,v,b,z]),st=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[],Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){fS(xe)&&!D||wt(Ne,xe)}).catch(function(Ne){return De(Ne)}),Q({type:"reset"})},[i,wt,De,D]),mt=w.useCallback(function(){if(Se.current){Q({type:"openDialog"}),te();var xe={multiple:s,types:K};window.showOpenFilePicker(xe).then(function(Ne){return i(Ne)}).then(function(Ne){wt(Ne,null),Q({type:"closeDialog"})}).catch(function(Ne){oDe(Ne)?(q(Ne),Q({type:"closeDialog"})):aDe(Ne)?(Se.current=!1,U.current?(U.current.value=null,U.current.click()):De(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):De(Ne)});return}U.current&&(Q({type:"openDialog"}),te(),U.current.value=null,U.current.click())},[Q,te,q,E,wt,De,K,s]),St=w.useCallback(function(xe){!$.current||!$.current.isEqualNode(xe.target)||(xe.key===" "||xe.key==="Enter"||xe.keyCode===32||xe.keyCode===13)&&(xe.preventDefault(),mt())},[$,mt]),Le=w.useCallback(function(){Q({type:"focus"})},[]),lt=w.useCallback(function(){Q({type:"blur"})},[]),Mt=w.useCallback(function(){A||(tDe()?setTimeout(mt,0):mt())},[A,mt]),ut=function(Ne){return r?null:Ne},_t=function(Ne){return I?null:ut(Ne)},ln=function(Ne){return R?null:ut(Ne)},ae=function(Ne){D&&Ne.stopPropagation()},Re=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.role,Te=xe.onKeyDown,At=xe.onFocus,$e=xe.onBlur,vt=xe.onClick,tn=xe.onDragEnter,Rn=xe.onDragOver,Xe=xe.onDragLeave,xt=xe.onDrop,ft=hS(xe,uDe);return Cr(Cr(n_({onKeyDown:_t(Il(Te,St)),onFocus:_t(Il(At,Le)),onBlur:_t(Il($e,lt)),onClick:ut(Il(vt,Mt)),onDragEnter:ln(Il(tn,ot)),onDragOver:ln(Il(Rn,He)),onDragLeave:ln(Il(Xe,Be)),onDrop:ln(Il(xt,st)),role:typeof Dt=="string"&&Dt!==""?Dt:"presentation"},Ct,$),!r&&!I?{tabIndex:0}:{}),ft)}},[$,St,Le,lt,Mt,ot,He,Be,st,I,R,r]),Ye=w.useCallback(function(xe){xe.stopPropagation()},[]),Ke=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.onChange,Te=xe.onClick,At=hS(xe,cDe),$e=n_({accept:V,multiple:s,type:"file",style:{display:"none"},onChange:ut(Il(Dt,st)),onClick:ut(Il(Te,Ye)),tabIndex:-1},Ct,U);return Cr(Cr({},$e),At)}},[U,n,s,st,r]);return Cr(Cr({},W),{},{isFocused:ie&&!r,getRootProps:Re,getInputProps:Ke,rootRef:$,inputRef:U,open:ut(mt)})}function bDe(e,t){switch(t.type){case"focus":return Cr(Cr({},e),{},{isFocused:!0});case"blur":return Cr(Cr({},e),{},{isFocused:!1});case"openDialog":return Cr(Cr({},r_),{},{isFileDialogActive:!0});case"closeDialog":return Cr(Cr({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Cr(Cr({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Cr(Cr({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Cr({},r_);default:return e}}function bN(){}const SDe=e=>{const{isDragAccept:t,isDragReject:n,overlaySecondaryText:r,setIsHandlingUpload:i}=e;return Je("esc",()=>{i(!1)}),y.jsxs("div",{className:"dropzone-container",children:[t&&y.jsx("div",{className:"dropzone-overlay is-drag-accept",children:y.jsxs(Dh,{size:"lg",children:["Upload Image",r]})}),n&&y.jsxs("div",{className:"dropzone-overlay is-drag-reject",children:[y.jsx(Dh,{size:"lg",children:"Invalid Upload"}),y.jsx(Dh,{size:"md",children:"Must be single JPEG or PNG image"})]})]})},xDe=e=>{const{children:t}=e,n=Me(),r=he(Or),i=Ry({}),{t:o}=Ve(),[a,s]=w.useState(!1),{setOpenUploader:l}=xP(),u=w.useCallback(T=>{s(!0);const A=T.errors.reduce((I,R)=>`${I} +${R.message}`,"");i({title:o("toast:uploadFailed"),description:A,status:"error",isClosable:!0})},[o,i]),d=w.useCallback(async T=>{n(fD({imageFile:T}))},[n]),h=w.useCallback((T,A)=>{A.forEach(I=>{u(I)}),T.forEach(I=>{d(I)})},[d,u]),{getRootProps:m,getInputProps:v,isDragAccept:b,isDragReject:S,isDragActive:k,open:E}=iK({accept:{"image/png":[".png"],"image/jpeg":[".jpg",".jpeg",".png"]},noClick:!0,onDrop:h,onDragOver:()=>s(!0),maxFiles:1});l(E),w.useEffect(()=>{const T=A=>{var j;const I=(j=A.clipboardData)==null?void 0:j.items;if(!I)return;const R=[];for(const z of I)z.kind==="file"&&["image/png","image/jpg"].includes(z.type)&&R.push(z);if(!R.length)return;if(A.stopImmediatePropagation(),R.length>1){i({description:o("toast:uploadFailedMultipleImagesDesc"),status:"error",isClosable:!0});return}const D=R[0].getAsFile();if(!D){i({description:o("toast:uploadFailedUnableToLoadDesc"),status:"error",isClosable:!0});return}n(fD({imageFile:D}))};return document.addEventListener("paste",T),()=>{document.removeEventListener("paste",T)}},[o,n,i,r]);const _=["img2img","unifiedCanvas"].includes(r)?` to ${es[r].tooltip}`:"";return y.jsx(SP.Provider,{value:E,children:y.jsxs("div",{...m({style:{}}),onKeyDown:T=>{T.key},children:[y.jsx("input",{...v()}),t,k&&a&&y.jsx(SDe,{isDragAccept:b,isDragReject:S,overlaySecondaryText:_,setIsHandlingUpload:s})]})})},wDe=at(ir,e=>e.log,{memoizeOptions:{resultEqualityCheck:(e,t)=>e.length===t.length}}),CDe=at(ir,e=>({shouldShowLogViewer:e.shouldShowLogViewer,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),_De=()=>{const e=Me(),t=he(wDe),{shouldShowLogViewer:n,hasError:r,wasErrorSeen:i}=he(CDe),[o,a]=w.useState(!0),s=w.useRef(null);w.useLayoutEffect(()=>{s.current!==null&&o&&(s.current.scrollTop=s.current.scrollHeight)},[o,t,n]);const l=()=>{e($U()),e(CC(!n))};Je("`",()=>{e(CC(!n))},[n]),Je("esc",()=>{e(CC(!1))});const u=()=>{s.current&&o&&s.current.scrollTop{const{timestamp:m,message:v,level:b}=d;return y.jsxs("div",{className:`console-entry console-${b}-color`,children:[y.jsxs("p",{className:"console-timestamp",children:[m,":"]}),y.jsx("p",{className:"console-message",children:v})]},h)})})}),n&&y.jsx(uo,{hasArrow:!0,label:o?"Autoscroll On":"Autoscroll Off",children:y.jsx(ss,{className:"console-autoscroll-icon-button","data-autoscroll-enabled":o,size:"sm","aria-label":"Toggle autoscroll",variant:"solid",icon:y.jsx(Qke,{}),onClick:()=>a(!o)})}),y.jsx(uo,{hasArrow:!0,label:n?"Hide Console":"Show Console",children:y.jsx(ss,{className:"console-toggle-icon-button","data-error-seen":r||!i,size:"sm",position:"fixed",variant:"solid","aria-label":"Toggle Log Viewer",icon:n?y.jsx(hEe,{}):y.jsx(pq,{}),onClick:l})})]})},kDe=at(ir,e=>({isProcessing:e.isProcessing,currentStep:e.currentStep,totalSteps:e.totalSteps,currentStatusHasSteps:e.currentStatusHasSteps}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EDe=()=>{const{isProcessing:e,currentStep:t,totalSteps:n,currentStatusHasSteps:r}=he(kDe),i=t?Math.round(t*100/n):0;return y.jsx(BV,{value:i,isIndeterminate:e&&!r,className:"progress-bar"})};function PDe(e){const{title:t,hotkey:n,description:r}=e;return y.jsxs("div",{className:"hotkey-modal-item",children:[y.jsxs("div",{className:"hotkey-info",children:[y.jsx("p",{className:"hotkey-title",children:t}),r&&y.jsx("p",{className:"hotkey-description",children:r})]}),y.jsx("div",{className:"hotkey-key",children:n})]})}function TDe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),{t:i}=Ve(),o=[{title:i("hotkeys:invoke.title"),desc:i("hotkeys:invoke.desc"),hotkey:"Ctrl+Enter"},{title:i("hotkeys:cancel.title"),desc:i("hotkeys:cancel.desc"),hotkey:"Shift+X"},{title:i("hotkeys:focusPrompt.title"),desc:i("hotkeys:focusPrompt.desc"),hotkey:"Alt+A"},{title:i("hotkeys:toggleOptions.title"),desc:i("hotkeys:toggleOptions.desc"),hotkey:"O"},{title:i("hotkeys:pinOptions.title"),desc:i("hotkeys:pinOptions.desc"),hotkey:"Shift+O"},{title:i("hotkeys:toggleViewer.title"),desc:i("hotkeys:toggleViewer.desc"),hotkey:"Z"},{title:i("hotkeys:toggleGallery.title"),desc:i("hotkeys:toggleGallery.desc"),hotkey:"G"},{title:i("hotkeys:maximizeWorkSpace.title"),desc:i("hotkeys:maximizeWorkSpace.desc"),hotkey:"F"},{title:i("hotkeys:changeTabs.title"),desc:i("hotkeys:changeTabs.desc"),hotkey:"1-5"},{title:i("hotkeys:consoleToggle.title"),desc:i("hotkeys:consoleToggle.desc"),hotkey:"`"}],a=[{title:i("hotkeys:setPrompt.title"),desc:i("hotkeys:setPrompt.desc"),hotkey:"P"},{title:i("hotkeys:setSeed.title"),desc:i("hotkeys:setSeed.desc"),hotkey:"S"},{title:i("hotkeys:setParameters.title"),desc:i("hotkeys:setParameters.desc"),hotkey:"A"},{title:i("hotkeys:restoreFaces.title"),desc:i("hotkeys:restoreFaces.desc"),hotkey:"Shift+R"},{title:i("hotkeys:upscale.title"),desc:i("hotkeys:upscale.desc"),hotkey:"Shift+U"},{title:i("hotkeys:showInfo.title"),desc:i("hotkeys:showInfo.desc"),hotkey:"I"},{title:i("hotkeys:sendToImageToImage.title"),desc:i("hotkeys:sendToImageToImage.desc"),hotkey:"Shift+I"},{title:i("hotkeys:deleteImage.title"),desc:i("hotkeys:deleteImage.desc"),hotkey:"Del"},{title:i("hotkeys:closePanels.title"),desc:i("hotkeys:closePanels.desc"),hotkey:"Esc"}],s=[{title:i("hotkeys:previousImage.title"),desc:i("hotkeys:previousImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextImage.title"),desc:i("hotkeys:nextImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:toggleGalleryPin.title"),desc:i("hotkeys:toggleGalleryPin.desc"),hotkey:"Shift+G"},{title:i("hotkeys:increaseGalleryThumbSize.title"),desc:i("hotkeys:increaseGalleryThumbSize.desc"),hotkey:"Shift+Up"},{title:i("hotkeys:decreaseGalleryThumbSize.title"),desc:i("hotkeys:decreaseGalleryThumbSize.desc"),hotkey:"Shift+Down"}],l=[{title:i("hotkeys:selectBrush.title"),desc:i("hotkeys:selectBrush.desc"),hotkey:"B"},{title:i("hotkeys:selectEraser.title"),desc:i("hotkeys:selectEraser.desc"),hotkey:"E"},{title:i("hotkeys:decreaseBrushSize.title"),desc:i("hotkeys:decreaseBrushSize.desc"),hotkey:"["},{title:i("hotkeys:increaseBrushSize.title"),desc:i("hotkeys:increaseBrushSize.desc"),hotkey:"]"},{title:i("hotkeys:decreaseBrushOpacity.title"),desc:i("hotkeys:decreaseBrushOpacity.desc"),hotkey:"Shift + ["},{title:i("hotkeys:increaseBrushOpacity.title"),desc:i("hotkeys:increaseBrushOpacity.desc"),hotkey:"Shift + ]"},{title:i("hotkeys:moveTool.title"),desc:i("hotkeys:moveTool.desc"),hotkey:"V"},{title:i("hotkeys:fillBoundingBox.title"),desc:i("hotkeys:fillBoundingBox.desc"),hotkey:"Shift + F"},{title:i("hotkeys:eraseBoundingBox.title"),desc:i("hotkeys:eraseBoundingBox.desc"),hotkey:"Delete / Backspace"},{title:i("hotkeys:colorPicker.title"),desc:i("hotkeys:colorPicker.desc"),hotkey:"C"},{title:i("hotkeys:toggleSnap.title"),desc:i("hotkeys:toggleSnap.desc"),hotkey:"N"},{title:i("hotkeys:quickToggleMove.title"),desc:i("hotkeys:quickToggleMove.desc"),hotkey:"Hold Space"},{title:i("hotkeys:toggleLayer.title"),desc:i("hotkeys:toggleLayer.desc"),hotkey:"Q"},{title:i("hotkeys:clearMask.title"),desc:i("hotkeys:clearMask.desc"),hotkey:"Shift+C"},{title:i("hotkeys:hideMask.title"),desc:i("hotkeys:hideMask.desc"),hotkey:"H"},{title:i("hotkeys:showHideBoundingBox.title"),desc:i("hotkeys:showHideBoundingBox.desc"),hotkey:"Shift+H"},{title:i("hotkeys:mergeVisible.title"),desc:i("hotkeys:mergeVisible.desc"),hotkey:"Shift+M"},{title:i("hotkeys:saveToGallery.title"),desc:i("hotkeys:saveToGallery.desc"),hotkey:"Shift+S"},{title:i("hotkeys:copyToClipboard.title"),desc:i("hotkeys:copyToClipboard.desc"),hotkey:"Ctrl+C"},{title:i("hotkeys:downloadImage.title"),desc:i("hotkeys:downloadImage.desc"),hotkey:"Shift+D"},{title:i("hotkeys:undoStroke.title"),desc:i("hotkeys:undoStroke.desc"),hotkey:"Ctrl+Z"},{title:i("hotkeys:redoStroke.title"),desc:i("hotkeys:redoStroke.desc"),hotkey:"Ctrl+Shift+Z, Ctrl+Y"},{title:i("hotkeys:resetView.title"),desc:i("hotkeys:resetView.desc"),hotkey:"R"},{title:i("hotkeys:previousStagingImage.title"),desc:i("hotkeys:previousStagingImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextStagingImage.title"),desc:i("hotkeys:nextStagingImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:acceptStagingImage.title"),desc:i("hotkeys:acceptStagingImage.desc"),hotkey:"Enter"}],u=d=>{const h=[];return d.forEach((m,v)=>{h.push(y.jsx(PDe,{title:m.title,description:m.desc,hotkey:m.hotkey},v))}),y.jsx("div",{className:"hotkey-modal-category",children:h})};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:" modal hotkeys-modal",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx("h1",{children:"Keyboard Shorcuts"}),y.jsx("div",{className:"hotkeys-modal-items",children:y.jsxs(ok,{allowMultiple:!0,children:[y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:appHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(o)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:generalHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(a)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:galleryHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(s)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:unifiedCanvasHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(l)})]})]})})]})]})]})}var SN=Array.isArray,xN=Object.keys,LDe=Object.prototype.hasOwnProperty,ADe=typeof Element<"u";function i_(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=SN(e),r=SN(t),i,o,a;if(n&&r){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!i_(e[i],t[i]))return!1;return!0}if(n!=r)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var h=xN(e);if(o=h.length,o!==xN(t).length)return!1;for(i=o;i--!==0;)if(!LDe.call(t,h[i]))return!1;if(ADe&&e instanceof Element&&t instanceof Element)return e===t;for(i=o;i--!==0;)if(a=h[i],!(a==="_owner"&&e.$$typeof)&&!i_(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var md=function(t,n){try{return i_(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}},ODe=function(t){return MDe(t)&&!IDe(t)};function MDe(e){return!!e&&typeof e=="object"}function IDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||NDe(e)}var RDe=typeof Symbol=="function"&&Symbol.for,DDe=RDe?Symbol.for("react.element"):60103;function NDe(e){return e.$$typeof===DDe}function jDe(e){return Array.isArray(e)?[]:{}}function pS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?sy(jDe(e),e,t):e}function BDe(e,t,n){return e.concat(t).map(function(r){return pS(r,n)})}function $De(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(i){r[i]=pS(e[i],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=pS(t[i],n):r[i]=sy(e[i],t[i],n)}),r}function sy(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||BDe,n.isMergeableObject=n.isMergeableObject||ODe;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):$De(e,t,n):pS(t,n)}sy.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return sy(r,i,n)},{})};var o_=sy,FDe=typeof global=="object"&&global&&global.Object===Object&&global;const oK=FDe;var zDe=typeof self=="object"&&self&&self.Object===Object&&self,HDe=oK||zDe||Function("return this")();const mu=HDe;var VDe=mu.Symbol;const ef=VDe;var aK=Object.prototype,WDe=aK.hasOwnProperty,UDe=aK.toString,gv=ef?ef.toStringTag:void 0;function GDe(e){var t=WDe.call(e,gv),n=e[gv];try{e[gv]=void 0;var r=!0}catch{}var i=UDe.call(e);return r&&(t?e[gv]=n:delete e[gv]),i}var qDe=Object.prototype,YDe=qDe.toString;function KDe(e){return YDe.call(e)}var XDe="[object Null]",ZDe="[object Undefined]",wN=ef?ef.toStringTag:void 0;function xp(e){return e==null?e===void 0?ZDe:XDe:wN&&wN in Object(e)?GDe(e):KDe(e)}function sK(e,t){return function(n){return e(t(n))}}var QDe=sK(Object.getPrototypeOf,Object);const uT=QDe;function wp(e){return e!=null&&typeof e=="object"}var JDe="[object Object]",eNe=Function.prototype,tNe=Object.prototype,lK=eNe.toString,nNe=tNe.hasOwnProperty,rNe=lK.call(Object);function CN(e){if(!wp(e)||xp(e)!=JDe)return!1;var t=uT(e);if(t===null)return!0;var n=nNe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&lK.call(n)==rNe}function iNe(){this.__data__=[],this.size=0}function uK(e,t){return e===t||e!==e&&t!==t}function cw(e,t){for(var n=e.length;n--;)if(uK(e[n][0],t))return n;return-1}var oNe=Array.prototype,aNe=oNe.splice;function sNe(e){var t=this.__data__,n=cw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():aNe.call(t,n,1),--this.size,!0}function lNe(e){var t=this.__data__,n=cw(t,e);return n<0?void 0:t[n][1]}function uNe(e){return cw(this.__data__,e)>-1}function cNe(e,t){var n=this.__data__,r=cw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=vje}var yje="[object Arguments]",bje="[object Array]",Sje="[object Boolean]",xje="[object Date]",wje="[object Error]",Cje="[object Function]",_je="[object Map]",kje="[object Number]",Eje="[object Object]",Pje="[object RegExp]",Tje="[object Set]",Lje="[object String]",Aje="[object WeakMap]",Oje="[object ArrayBuffer]",Mje="[object DataView]",Ije="[object Float32Array]",Rje="[object Float64Array]",Dje="[object Int8Array]",Nje="[object Int16Array]",jje="[object Int32Array]",Bje="[object Uint8Array]",$je="[object Uint8ClampedArray]",Fje="[object Uint16Array]",zje="[object Uint32Array]",sr={};sr[Ije]=sr[Rje]=sr[Dje]=sr[Nje]=sr[jje]=sr[Bje]=sr[$je]=sr[Fje]=sr[zje]=!0;sr[yje]=sr[bje]=sr[Oje]=sr[Sje]=sr[Mje]=sr[xje]=sr[wje]=sr[Cje]=sr[_je]=sr[kje]=sr[Eje]=sr[Pje]=sr[Tje]=sr[Lje]=sr[Aje]=!1;function Hje(e){return wp(e)&&mK(e.length)&&!!sr[xp(e)]}function cT(e){return function(t){return e(t)}}var vK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f2=vK&&typeof module=="object"&&module&&!module.nodeType&&module,Vje=f2&&f2.exports===vK,UC=Vje&&oK.process,Wje=function(){try{var e=f2&&f2.require&&f2.require("util").types;return e||UC&&UC.binding&&UC.binding("util")}catch{}}();const u0=Wje;var LN=u0&&u0.isTypedArray,Uje=LN?cT(LN):Hje;const Gje=Uje;var qje=Object.prototype,Yje=qje.hasOwnProperty;function yK(e,t){var n=qy(e),r=!n&&lje(e),i=!n&&!r&&gK(e),o=!n&&!r&&!i&&Gje(e),a=n||r||i||o,s=a?rje(e.length,String):[],l=s.length;for(var u in e)(t||Yje.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mje(u,l)))&&s.push(u);return s}var Kje=Object.prototype;function dT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Kje;return e===n}var Xje=sK(Object.keys,Object);const Zje=Xje;var Qje=Object.prototype,Jje=Qje.hasOwnProperty;function eBe(e){if(!dT(e))return Zje(e);var t=[];for(var n in Object(e))Jje.call(e,n)&&n!="constructor"&&t.push(n);return t}function bK(e){return e!=null&&mK(e.length)&&!cK(e)}function fT(e){return bK(e)?yK(e):eBe(e)}function tBe(e,t){return e&&fw(t,fT(t),e)}function nBe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var rBe=Object.prototype,iBe=rBe.hasOwnProperty;function oBe(e){if(!Gy(e))return nBe(e);var t=dT(e),n=[];for(var r in e)r=="constructor"&&(t||!iBe.call(e,r))||n.push(r);return n}function hT(e){return bK(e)?yK(e,!0):oBe(e)}function aBe(e,t){return e&&fw(t,hT(t),e)}var SK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,AN=SK&&typeof module=="object"&&module&&!module.nodeType&&module,sBe=AN&&AN.exports===SK,ON=sBe?mu.Buffer:void 0,MN=ON?ON.allocUnsafe:void 0;function lBe(e,t){if(t)return e.slice();var n=e.length,r=MN?MN(n):new e.constructor(n);return e.copy(r),r}function xK(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[i]=e[i]);return n}function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var KN=function(t){return Array.isArray(t)&&t.length===0},Go=function(t){return typeof t=="function"},hw=function(t){return t!==null&&typeof t=="object"},aFe=function(t){return String(Math.floor(Number(t)))===t},GC=function(t){return Object.prototype.toString.call(t)==="[object String]"},MK=function(t){return w.Children.count(t)===0},qC=function(t){return hw(t)&&Go(t.then)};function Vi(e,t,n,r){r===void 0&&(r=0);for(var i=OK(t);e&&r=0?[]:{}}}return(o===0?e:i)[a[o]]===n?e:(n===void 0?delete i[a[o]]:i[a[o]]=n,o===0&&n===void 0&&delete r[a[o]],r)}function IK(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(e);i0?Re.map(function(Ke){return j(Ke,Vi(ae,Ke))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ye).then(function(Ke){return Ke.reduce(function(xe,Ne,Ct){return Ne==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ne&&(xe=iu(xe,Re[Ct],Ne)),xe},{})})},[j]),V=w.useCallback(function(ae){return Promise.all([z(ae),m.validationSchema?D(ae):{},m.validate?R(ae):{}]).then(function(Re){var Ye=Re[0],Ke=Re[1],xe=Re[2],Ne=o_.all([Ye,Ke,xe],{arrayMerge:fFe});return Ne})},[m.validate,m.validationSchema,z,R,D]),K=Ka(function(ae){return ae===void 0&&(ae=A.values),I({type:"SET_ISVALIDATING",payload:!0}),V(ae).then(function(Re){return E.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:Re})),Re})});w.useEffect(function(){a&&E.current===!0&&md(v.current,m.initialValues)&&K(v.current)},[a,K]);var te=w.useCallback(function(ae){var Re=ae&&ae.values?ae.values:v.current,Ye=ae&&ae.errors?ae.errors:b.current?b.current:m.initialErrors||{},Ke=ae&&ae.touched?ae.touched:S.current?S.current:m.initialTouched||{},xe=ae&&ae.status?ae.status:k.current?k.current:m.initialStatus;v.current=Re,b.current=Ye,S.current=Ke,k.current=xe;var Ne=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!ae&&!!ae.isSubmitting,errors:Ye,touched:Ke,status:xe,values:Re,isValidating:!!ae&&!!ae.isValidating,submitCount:ae&&ae.submitCount&&typeof ae.submitCount=="number"?ae.submitCount:0}})};if(m.onReset){var Ct=m.onReset(A.values,st);qC(Ct)?Ct.then(Ne):Ne()}else Ne()},[m.initialErrors,m.initialStatus,m.initialTouched]);w.useEffect(function(){E.current===!0&&!md(v.current,m.initialValues)&&(u&&(v.current=m.initialValues,te()),a&&K(v.current))},[u,m.initialValues,te,a,K]),w.useEffect(function(){u&&E.current===!0&&!md(b.current,m.initialErrors)&&(b.current=m.initialErrors||uh,I({type:"SET_ERRORS",payload:m.initialErrors||uh}))},[u,m.initialErrors]),w.useEffect(function(){u&&E.current===!0&&!md(S.current,m.initialTouched)&&(S.current=m.initialTouched||Zb,I({type:"SET_TOUCHED",payload:m.initialTouched||Zb}))},[u,m.initialTouched]),w.useEffect(function(){u&&E.current===!0&&!md(k.current,m.initialStatus)&&(k.current=m.initialStatus,I({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]);var q=Ka(function(ae){if(_.current[ae]&&Go(_.current[ae].validate)){var Re=Vi(A.values,ae),Ye=_.current[ae].validate(Re);return qC(Ye)?(I({type:"SET_ISVALIDATING",payload:!0}),Ye.then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ye}}),Promise.resolve(Ye))}else if(m.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),D(A.values,ae).then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke[ae]}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),$=w.useCallback(function(ae,Re){var Ye=Re.validate;_.current[ae]={validate:Ye}},[]),U=w.useCallback(function(ae){delete _.current[ae]},[]),X=Ka(function(ae,Re){I({type:"SET_TOUCHED",payload:ae});var Ye=Re===void 0?i:Re;return Ye?K(A.values):Promise.resolve()}),Z=w.useCallback(function(ae){I({type:"SET_ERRORS",payload:ae})},[]),W=Ka(function(ae,Re){var Ye=Go(ae)?ae(A.values):ae;I({type:"SET_VALUES",payload:Ye});var Ke=Re===void 0?n:Re;return Ke?K(Ye):Promise.resolve()}),Q=w.useCallback(function(ae,Re){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Re}})},[]),ie=Ka(function(ae,Re,Ye){I({type:"SET_FIELD_VALUE",payload:{field:ae,value:Re}});var Ke=Ye===void 0?n:Ye;return Ke?K(iu(A.values,ae,Re)):Promise.resolve()}),fe=w.useCallback(function(ae,Re){var Ye=Re,Ke=ae,xe;if(!GC(ae)){ae.persist&&ae.persist();var Ne=ae.target?ae.target:ae.currentTarget,Ct=Ne.type,Dt=Ne.name,Te=Ne.id,At=Ne.value,$e=Ne.checked,vt=Ne.outerHTML,tn=Ne.options,Rn=Ne.multiple;Ye=Re||Dt||Te,Ke=/number|range/.test(Ct)?(xe=parseFloat(At),isNaN(xe)?"":xe):/checkbox/.test(Ct)?pFe(Vi(A.values,Ye),$e,At):tn&&Rn?hFe(tn):At}Ye&&ie(Ye,Ke)},[ie,A.values]),Se=Ka(function(ae){if(GC(ae))return function(Re){return fe(Re,ae)};fe(ae)}),Pe=Ka(function(ae,Re,Ye){Re===void 0&&(Re=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:ae,value:Re}});var Ke=Ye===void 0?i:Ye;return Ke?K(A.values):Promise.resolve()}),ye=w.useCallback(function(ae,Re){ae.persist&&ae.persist();var Ye=ae.target,Ke=Ye.name,xe=Ye.id,Ne=Ye.outerHTML,Ct=Re||Ke||xe;Pe(Ct,!0)},[Pe]),We=Ka(function(ae){if(GC(ae))return function(Re){return ye(Re,ae)};ye(ae)}),De=w.useCallback(function(ae){Go(ae)?I({type:"SET_FORMIK_STATE",payload:ae}):I({type:"SET_FORMIK_STATE",payload:function(){return ae}})},[]),ot=w.useCallback(function(ae){I({type:"SET_STATUS",payload:ae})},[]),He=w.useCallback(function(ae){I({type:"SET_ISSUBMITTING",payload:ae})},[]),Be=Ka(function(){return I({type:"SUBMIT_ATTEMPT"}),K().then(function(ae){var Re=ae instanceof Error,Ye=!Re&&Object.keys(ae).length===0;if(Ye){var Ke;try{if(Ke=mt(),Ke===void 0)return}catch(xe){throw xe}return Promise.resolve(Ke).then(function(xe){return E.current&&I({type:"SUBMIT_SUCCESS"}),xe}).catch(function(xe){if(E.current)throw I({type:"SUBMIT_FAILURE"}),xe})}else if(E.current&&(I({type:"SUBMIT_FAILURE"}),Re))throw ae})}),wt=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),Be().catch(function(Re){console.warn("Warning: An unhandled error was caught from submitForm()",Re)})}),st={resetForm:te,validateForm:K,validateField:q,setErrors:Z,setFieldError:Q,setFieldTouched:Pe,setFieldValue:ie,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,setFormikState:De,submitForm:Be},mt=Ka(function(){return d(A.values,st)}),St=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),te()}),Le=w.useCallback(function(ae){return{value:Vi(A.values,ae),error:Vi(A.errors,ae),touched:!!Vi(A.touched,ae),initialValue:Vi(v.current,ae),initialTouched:!!Vi(S.current,ae),initialError:Vi(b.current,ae)}},[A.errors,A.touched,A.values]),lt=w.useCallback(function(ae){return{setValue:function(Ye,Ke){return ie(ae,Ye,Ke)},setTouched:function(Ye,Ke){return Pe(ae,Ye,Ke)},setError:function(Ye){return Q(ae,Ye)}}},[ie,Pe,Q]),Mt=w.useCallback(function(ae){var Re=hw(ae),Ye=Re?ae.name:ae,Ke=Vi(A.values,Ye),xe={name:Ye,value:Ke,onChange:Se,onBlur:We};if(Re){var Ne=ae.type,Ct=ae.value,Dt=ae.as,Te=ae.multiple;Ne==="checkbox"?Ct===void 0?xe.checked=!!Ke:(xe.checked=!!(Array.isArray(Ke)&&~Ke.indexOf(Ct)),xe.value=Ct):Ne==="radio"?(xe.checked=Ke===Ct,xe.value=Ct):Dt==="select"&&Te&&(xe.value=xe.value||[],xe.multiple=!0)}return xe},[We,Se,A.values]),ut=w.useMemo(function(){return!md(v.current,A.values)},[v.current,A.values]),_t=w.useMemo(function(){return typeof s<"u"?ut?A.errors&&Object.keys(A.errors).length===0:s!==!1&&Go(s)?s(m):s:A.errors&&Object.keys(A.errors).length===0},[s,ut,A.errors,m]),ln=Gn({},A,{initialValues:v.current,initialErrors:b.current,initialTouched:S.current,initialStatus:k.current,handleBlur:We,handleChange:Se,handleReset:St,handleSubmit:wt,resetForm:te,setErrors:Z,setFormikState:De,setFieldTouched:Pe,setFieldValue:ie,setFieldError:Q,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,submitForm:Be,validateForm:K,validateField:q,isValid:_t,dirty:ut,unregisterField:U,registerField:$,getFieldProps:Mt,getFieldMeta:Le,getFieldHelpers:lt,validateOnBlur:i,validateOnChange:n,validateOnMount:a});return ln}function Yy(e){var t=uFe(e),n=e.component,r=e.children,i=e.render,o=e.innerRef;return w.useImperativeHandle(o,function(){return t}),w.createElement(sFe,{value:t},n?w.createElement(n,t):i?i(t):r?Go(r)?r(t):MK(r)?null:w.Children.only(r):null)}function cFe(e){var t={};if(e.inner){if(e.inner.length===0)return iu(t,e.path,e.message);for(var i=e.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;Vi(t,a.path)||(t=iu(t,a.path,a.message))}}return t}function dFe(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=c_(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}function c_(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(i){return Array.isArray(i)===!0||CN(i)?c_(i):i!==""?i:void 0}):CN(e[r])?t[r]=c_(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function fFe(e,t,n){var r=e.slice();return t.forEach(function(o,a){if(typeof r[a]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(o);r[a]=l?o_(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[a]=o_(e[a],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function hFe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function pFe(e,t,n){if(typeof e=="boolean")return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var gFe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?w.useLayoutEffect:w.useEffect;function Ka(e){var t=w.useRef(e);return gFe(function(){t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;ir?i:r},0);return Array.from(Gn({},t,{length:n+1}))}else return[]},SFe=function(e){oFe(t,e);function t(r){var i;return i=e.call(this,r)||this,i.updateArrayField=function(o,a,s){var l=i.props,u=l.name,d=l.formik.setFormikState;d(function(h){var m=typeof s=="function"?s:o,v=typeof a=="function"?a:o,b=iu(h.values,u,o(Vi(h.values,u))),S=s?m(Vi(h.errors,u)):void 0,k=a?v(Vi(h.touched,u)):void 0;return KN(S)&&(S=void 0),KN(k)&&(k=void 0),Gn({},h,{values:b,errors:s?iu(h.errors,u,S):h.errors,touched:a?iu(h.touched,u,k):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(c0(a),[iFe(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(s){return yFe(s,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(s){return vFe(s,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(s){return YC(s,o,a)},function(s){return YC(s,o,null)},function(s){return YC(s,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(s){return bFe(s,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(s){var l=s?[o].concat(s):[o];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(YN(i)),i.pop=i.pop.bind(YN(i)),i}var n=t.prototype;return n.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!md(Vi(i.formik.values,i.name),Vi(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(i){var o;return this.updateArrayField(function(a){var s=a?c0(a):[];return o||(o=s[i]),Go(s.splice)&&s.splice(i,1),s},!0,!0),o},n.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},n.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},o=this.props,a=o.component,s=o.render,l=o.children,u=o.name,d=o.formik,h=Lh(d,["validate","validationSchema"]),m=Gn({},i,{form:h,name:u});return a?w.createElement(a,m):s?s(m):l?typeof l=="function"?l(m):MK(l)?null:w.Children.only(l):null},t}(w.Component);SFe.defaultProps={validateOnChange:!0};const xFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XN=64,ZN=2048;function wFe(){const{openModel:e,model_list:t}=he(xFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,default:!1,format:"ckpt"});w.useEffect(()=>{var l,u,d,h,m,v,b;if(e){const S=ke.pickBy(t,(k,E)=>ke.isEqual(E,e));a({name:e,description:(l=S[e])==null?void 0:l.description,config:(u=S[e])==null?void 0:u.config,weights:(d=S[e])==null?void 0:d.weights,vae:(h=S[e])==null?void 0:h.vae,width:(m=S[e])==null?void 0:m.width,height:(v=S[e])==null?void 0:v.height,default:(b=S[e])==null?void 0:b.default,format:"ckpt"})}},[t,e]);const s=l=>{r($y({...l,width:Number(l.width),height:Number(l.height)}))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.config&&d.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"lg"}),u.config&&d.config?y.jsx(ur,{children:u.config}):y.jsx(lr,{margin:0,children:i("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.weights&&d.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"lg"}),u.weights&&d.weights?y.jsx(ur,{children:u.weights}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.vae&&d.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"lg"}),u.vae&&d.vae?y.jsx(ur,{children:u.vae}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!u.width&&d.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:i("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:h,form:m})=>y.jsx(ra,{id:"width",name:"width",min:XN,max:ZN,step:64,value:m.values.width,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.width&&d.width?y.jsx(ur,{children:u.width}):y.jsx(lr,{margin:0,children:i("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.height&&d.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:i("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:h,form:m})=>y.jsx(ra,{id:"height",name:"height",min:XN,max:ZN,step:64,value:m.values.height,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.height&&d.height?y.jsx(ur,{children:u.height}):y.jsx(lr,{margin:0,children:i("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const CFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function _Fe(){const{openModel:e,model_list:t}=he(CFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",repo_id:"",path:"",vae:{repo_id:"",path:""},default:!1,format:"diffusers"});w.useEffect(()=>{var l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D;if(e){const j=ke.pickBy(t,(z,V)=>ke.isEqual(V,e));a({name:e,description:(l=j[e])==null?void 0:l.description,path:(u=j[e])!=null&&u.path&&((d=j[e])==null?void 0:d.path)!=="None"?(h=j[e])==null?void 0:h.path:"",repo_id:(m=j[e])!=null&&m.repo_id&&((v=j[e])==null?void 0:v.repo_id)!=="None"?(b=j[e])==null?void 0:b.repo_id:"",vae:{repo_id:(k=(S=j[e])==null?void 0:S.vae)!=null&&k.repo_id?(_=(E=j[e])==null?void 0:E.vae)==null?void 0:_.repo_id:"",path:(A=(T=j[e])==null?void 0:T.vae)!=null&&A.path?(R=(I=j[e])==null?void 0:I.vae)==null?void 0:R.path:""},default:(D=j[e])==null?void 0:D.default,format:"diffusers"})}},[t,e]);const s=l=>{const u=l;l.path===""&&delete u.path,l.repo_id===""&&delete u.repo_id,l.vae.path===""&&delete u.vae.path,l.vae.repo_id===""&&delete u.vae.repo_id,r($y(l))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>{var h,m,v,b,S,k,E,_,T,A;return y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.path&&d.path,isRequired:!0,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"lg"}),u.path&&d.path?y.jsx(ur,{children:u.path}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.repo_id&&d.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:i("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"lg"}),u.repo_id&&d.repo_id?y.jsx(ur,{children:u.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:repoIDValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((h=u.vae)!=null&&h.path)&&((m=d.vae)==null?void 0:m.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"lg"}),(v=u.vae)!=null&&v.path&&((b=d.vae)!=null&&b.path)?y.jsx(ur,{children:(S=u.vae)==null?void 0:S.path}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((k=u.vae)!=null&&k.repo_id)&&((E=d.vae)==null?void 0:E.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:i("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"lg"}),(_=u.vae)!=null&&_.repo_id&&((T=d.vae)!=null&&T.repo_id)?y.jsx(ur,{children:(A=u.vae)==null?void 0:A.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeRepoIDValidationMsg")})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})}})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const DK=at([ir],e=>{const{model_list:t}=e,n=[];return ke.forEach(t,r=>{n.push(r.weights)}),n});function kFe(){const{t:e}=Ve();return y.jsx(ko,{position:"absolute",zIndex:2,right:4,top:4,fontSize:"0.7rem",fontWeight:"bold",backgroundColor:"var(--accent-color)",padding:"0.2rem 0.5rem",borderRadius:"0.2rem",alignItems:"center",children:e("modelmanager:modelExists")})}function QN({model:e,modelsToAdd:t,setModelsToAdd:n}){const r=he(DK),i=o=>{t.includes(o.target.value)?n(ke.remove(t,a=>a!==o.target.value)):n([...t,o.target.value])};return y.jsxs(ko,{position:"relative",children:[r.includes(e.location)?y.jsx(kFe,{}):null,y.jsx(er,{value:e.name,label:y.jsx(y.Fragment,{children:y.jsxs(yn,{alignItems:"start",children:[y.jsx("p",{style:{fontWeight:"bold"},children:e.name}),y.jsx("p",{style:{fontStyle:"italic"},children:e.location})]})}),isChecked:t.includes(e.name),isDisabled:r.includes(e.location),onChange:i,padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",_checked:{backgroundColor:"var(--accent-color)",color:"var(--text-color)"},_disabled:{backgroundColor:"var(--background-color-secondary)"}})]})}function EFe(){const e=Me(),{t}=Ve(),n=he(S=>S.system.searchFolder),r=he(S=>S.system.foundModels),i=he(DK),o=he(S=>S.ui.shouldShowExistingModelsInSearch),a=he(S=>S.system.isProcessing),[s,l]=N.useState([]),u=()=>{e(FU(null)),e(zU(null)),l([])},d=S=>{e(cD(S.checkpointFolder))},h=()=>{l([]),r&&r.forEach(S=>{i.includes(S.location)||l(k=>[...k,S.name])})},m=()=>{l([])},v=()=>{const S=r==null?void 0:r.filter(k=>s.includes(k.name));S==null||S.forEach(k=>{const E={name:k.name,description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:k.location,vae:"",width:512,height:512,default:!1,format:"ckpt"};e($y(E))}),l([])},b=()=>{const S=[],k=[];return r&&r.forEach((E,_)=>{i.includes(E.location)?k.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_)):S.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_))}),y.jsxs(y.Fragment,{children:[S,o&&k]})};return y.jsxs(y.Fragment,{children:[n?y.jsxs(Ge,{flexDirection:"column",padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",rowGap:"0.5rem",position:"relative",children:[y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",backgroundColor:"var(--background-color-secondary)",padding:"0.2rem 1rem",width:"max-content",borderRadius:"0.2rem"},children:t("modelmanager:checkpointFolder")}),y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",maxWidth:"80%"},children:n}),y.jsx(Qe,{"aria-label":t("modelmanager:scanAgain"),tooltip:t("modelmanager:scanAgain"),icon:y.jsx(Wx,{}),position:"absolute",right:16,fontSize:18,disabled:a,onClick:()=>e(cD(n))}),y.jsx(Qe,{"aria-label":t("modelmanager:clearCheckpointFolder"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),position:"absolute",right:5,onClick:u})]}):y.jsx(Yy,{initialValues:{checkpointFolder:""},onSubmit:S=>{d(S)},children:({handleSubmit:S})=>y.jsx("form",{onSubmit:S,children:y.jsxs(wy,{columnGap:"0.5rem",children:[y.jsx(dn,{isRequired:!0,width:"max-content",children:y.jsx(dr,{as:kr,id:"checkpointFolder",name:"checkpointFolder",type:"text",width:"lg",size:"md",label:t("modelmanager:checkpointFolder")})}),y.jsx(Qe,{icon:y.jsx(zEe,{}),"aria-label":t("modelmanager:findModels"),tooltip:t("modelmanager:findModels"),type:"submit",disabled:a})]})})}),r&&y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",children:[y.jsxs(Ge,{justifyContent:"space-between",alignItems:"center",children:[y.jsxs("p",{children:[t("modelmanager:modelsFound"),": ",r.length]}),y.jsxs("p",{children:[t("modelmanager:selected"),": ",s.length]})]}),y.jsxs(Ge,{columnGap:"0.5rem",justifyContent:"space-between",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(cr,{isDisabled:s.length===r.length,onClick:h,children:t("modelmanager:selectAll")}),y.jsx(cr,{isDisabled:s.length===0,onClick:m,children:t("modelmanager:deselectAll")}),y.jsx(er,{label:t("modelmanager:showExisting"),isChecked:o,onChange:()=>e(fCe(!o))})]}),y.jsx(cr,{isDisabled:s.length===0,onClick:v,backgroundColor:s.length>0?"var(--accent-color) !important":"",children:t("modelmanager:addSelected")})]}),y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",maxHeight:"18rem",overflowY:"scroll",paddingRight:"1rem",paddingLeft:"0.2rem",borderRadius:"0.2rem",children:[r.length>0?s.length===0&&y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",margin:"0 0.5rem 0 1rem",textAlign:"center",backgroundColor:"var(--notice-color)",boxShadow:"0 0 200px 6px var(--notice-color)",marginTop:"1rem",width:"max-content",children:t("modelmanager:selectAndAdd")}):y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",textAlign:"center",backgroundColor:"var(--status-bad-color)",children:t("modelmanager:noModelsFound")}),b()]})]})]})}const JN=64,ej=2048;function PFe(){const e=Me(),{t}=Ve(),n=he(u=>u.system.isProcessing);function r(u){return/\s/.test(u)}function i(u){let d;return r(u)&&(d=t("modelmanager:cannotUseSpaces")),d}const o={name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,format:"ckpt",default:!1},a=u=>{e($y(u)),e(zh(null))},[s,l]=N.useState(!1);return y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(EFe,{}),y.jsx(er,{label:t("modelmanager:addManually"),isChecked:s,onChange:()=>l(!s)}),s&&y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:u,errors:d,touched:h})=>y.jsx("form",{onSubmit:u,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(fn,{fontSize:20,fontWeight:"bold",alignSelf:"start",children:t("modelmanager:manual")}),y.jsxs(dn,{isInvalid:!!d.name&&h.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl"}),d.name&&h.name?y.jsx(ur,{children:d.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.description&&h.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl"}),d.description&&h.description?y.jsx(ur,{children:d.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.config&&h.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"2xl"}),d.config&&h.config?y.jsx(ur,{children:d.config}):y.jsx(lr,{margin:0,children:t("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.weights&&h.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"2xl"}),d.weights&&h.weights?y.jsx(ur,{children:d.weights}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.vae&&h.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"2xl"}),d.vae&&h.vae?y.jsx(ur,{children:d.vae}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!d.width&&h.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:t("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:m,form:v})=>y.jsx(ra,{id:"width",name:"width",min:JN,max:ej,step:64,width:"90%",value:v.values.width,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.width&&h.width?y.jsx(ur,{children:d.width}):y.jsx(lr,{margin:0,children:t("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.height&&h.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:t("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:m,form:v})=>y.jsx(ra,{id:"height",name:"height",min:JN,max:ej,width:"90%",step:64,value:v.values.height,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.height&&h.height?y.jsx(ur,{children:d.height}):y.jsx(lr,{margin:0,children:t("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})})]})}function Qb({children:e}){return y.jsx(Ge,{flexDirection:"column",backgroundColor:"var(--background-color)",padding:"1rem 1rem",borderRadius:"0.5rem",rowGap:"1rem",width:"100%",children:e})}function TFe(){const e=Me(),{t}=Ve(),n=he(s=>s.system.isProcessing);function r(s){return/\s/.test(s)}function i(s){let l;return r(s)&&(l=t("modelmanager:cannotUseSpaces")),l}const o={name:"",description:"",repo_id:"",path:"",format:"diffusers",default:!1,vae:{repo_id:"",path:""}},a=s=>{const l=s;s.path===""&&delete l.path,s.repo_id===""&&delete l.repo_id,s.vae.path===""&&delete l.vae.path,s.vae.repo_id===""&&delete l.vae.repo_id,e($y(l)),e(zh(null))};return y.jsxs(Ge,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:s,errors:l,touched:u})=>{var d,h,m,v,b,S,k,E,_,T;return y.jsx("form",{onSubmit:s,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.name&&u.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl",isRequired:!0}),l.name&&u.name?y.jsx(ur,{children:l.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]})}),y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.description&&u.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl",isRequired:!0}),l.description&&u.description?y.jsx(ur,{children:l.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]})}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",fontSize:"sm",children:t("modelmanager:formMessageDiffusersModelLocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersModelLocationDesc")}),y.jsxs(dn,{isInvalid:!!l.path&&u.path,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"2xl"}),l.path&&u.path?y.jsx(ur,{children:l.path}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!l.repo_id&&u.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:t("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"2xl"}),l.repo_id&&u.repo_id?y.jsx(ur,{children:l.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:repoIDValidationMsg")})]})]})]}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",children:t("modelmanager:formMessageDiffusersVAELocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersVAELocationDesc")}),y.jsxs(dn,{isInvalid:!!((d=l.vae)!=null&&d.path)&&((h=u.vae)==null?void 0:h.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"2xl"}),(m=l.vae)!=null&&m.path&&((v=u.vae)!=null&&v.path)?y.jsx(ur,{children:(b=l.vae)==null?void 0:b.path}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((S=l.vae)!=null&&S.repo_id)&&((k=u.vae)==null?void 0:k.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:t("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"2xl"}),(E=l.vae)!=null&&E.repo_id&&((_=u.vae)!=null&&_.repo_id)?y.jsx(ur,{children:(T=l.vae)==null?void 0:T.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeRepoIDValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})}})]})}function tj({text:e,onClick:t}){return y.jsx(Ge,{position:"relative",width:"50%",height:"200px",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",justifyContent:"center",alignItems:"center",_hover:{cursor:"pointer",backgroundColor:"var(--accent-color)"},onClick:t,children:y.jsx(fn,{fontWeight:"bold",children:e})})}function LFe(){const{isOpen:e,onOpen:t,onClose:n}=Wh(),r=he(s=>s.ui.addNewModelUIOption),i=Me(),{t:o}=Ve(),a=()=>{n(),i(zh(null))};return y.jsxs(y.Fragment,{children:[y.jsx(cr,{"aria-label":o("modelmanager:addNewModel"),tooltip:o("modelmanager:addNewModel"),onClick:t,className:"modal-close-btn",size:"sm",children:y.jsxs(Ge,{columnGap:"0.5rem",alignItems:"center",children:[y.jsx(zy,{}),o("modelmanager:addNew")]})}),y.jsxs(Yd,{isOpen:e,onClose:a,size:"3xl",closeOnOverlayClick:!1,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal add-model-modal",fontFamily:"Inter",children:[y.jsx(w0,{children:o("modelmanager:addNewModel")}),y.jsx(Ly,{marginTop:"0.3rem"}),y.jsxs(n0,{className:"add-model-modal-body",children:[r==null&&y.jsxs(Ge,{columnGap:"1rem",children:[y.jsx(tj,{text:o("modelmanager:addCheckpointModel"),onClick:()=>i(zh("ckpt"))}),y.jsx(tj,{text:o("modelmanager:addDiffuserModel"),onClick:()=>i(zh("diffusers"))})]}),r=="ckpt"&&y.jsx(PFe,{}),r=="diffusers"&&y.jsx(TFe,{})]})]})]})]})}function Jb(e){const{isProcessing:t,isConnected:n}=he(v=>v.system),r=he(v=>v.system.openModel),{t:i}=Ve(),o=Me(),{name:a,status:s,description:l}=e,u=()=>{o(VG(a))},d=()=>{o(LR(a))},h=()=>{o($8e(a)),o(LR(null))},m=()=>{switch(s){case"active":return"var(--status-good-color)";case"cached":return"var(--status-working-color)";case"not loaded":return"var(--text-color-secondary)"}};return y.jsxs(Ge,{alignItems:"center",padding:"0.5rem 0.5rem",borderRadius:"0.2rem",backgroundColor:a===r?"var(--accent-color)":"",_hover:{backgroundColor:a===r?"var(--accent-color)":"var(--background-color)"},children:[y.jsx(ko,{onClick:d,cursor:"pointer",children:y.jsx(uo,{label:l,hasArrow:!0,placement:"bottom",children:y.jsx(fn,{fontWeight:"bold",children:a})})}),y.jsx(fF,{onClick:d,cursor:"pointer"}),y.jsxs(Ge,{gap:2,alignItems:"center",children:[y.jsx(fn,{color:m(),children:s}),y.jsx(as,{size:"sm",onClick:u,isDisabled:s==="active"||t||!n,className:"modal-close-btn",children:i("modelmanager:load")}),y.jsx(Qe,{icon:y.jsx(LEe,{}),size:"sm",onClick:d,"aria-label":"Modify Config",isDisabled:s==="active"||t||!n,className:" modal-close-btn"}),y.jsx(oT,{title:i("modelmanager:deleteModel"),acceptCallback:h,acceptButtonText:i("modelmanager:delete"),triggerComponent:y.jsx(Qe,{icon:y.jsx(TEe,{}),size:"sm","aria-label":i("modelmanager:deleteConfig"),isDisabled:s==="active"||t||!n,className:" modal-close-btn",style:{backgroundColor:"var(--btn-delete-image)"}}),children:y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",children:[y.jsx("p",{style:{fontWeight:"bold"},children:i("modelmanager:deleteMsg1")}),y.jsx("p",{style:{color:"var(--text-color-secondary"},children:i("modelmanager:deleteMsg2")})]})})]})]})}const AFe=at(ir,e=>ke.map(e.model_list,(n,r)=>({name:r,...n})),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function KC({label:e,isActive:t,onClick:n}){return y.jsx(cr,{onClick:n,isActive:t,_active:{backgroundColor:"var(--accent-color)",_hover:{backgroundColor:"var(--accent-color)"}},size:"sm",children:e})}const OFe=()=>{const e=he(AFe),[t,n]=w.useState(""),[r,i]=w.useState("all"),[o,a]=w.useTransition(),{t:s}=Ve(),l=d=>{a(()=>{n(d.target.value)})},u=w.useMemo(()=>{const d=[],h=[],m=[],v=[];return e.forEach((b,S)=>{b.name.toLowerCase().includes(t.toLowerCase())&&(m.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)),b.format===r&&v.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))),b.format!=="diffusers"?d.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)):h.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))}),t!==""?r==="all"?y.jsx(ko,{marginTop:"1rem",children:m}):y.jsx(ko,{marginTop:"1rem",children:v}):y.jsxs(Ge,{flexDirection:"column",rowGap:"1.5rem",children:[r==="all"&&y.jsxs(y.Fragment,{children:[y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",margin:"1rem 0",width:"max-content",fontSize:"14",children:s("modelmanager:checkpointModels")}),d]}),y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",marginBottom:"0.5rem",width:"max-content",fontSize:"14",children:s("modelmanager:diffusersModels")}),h]})]}),r==="ckpt"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:d}),r==="diffusers"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:h})]})},[e,t,s,r]);return y.jsxs(Ge,{flexDirection:"column",rowGap:"2rem",width:"50%",minWidth:"50%",children:[y.jsxs(Ge,{justifyContent:"space-between",children:[y.jsx(fn,{fontSize:"1.4rem",fontWeight:"bold",children:s("modelmanager:availableModels")}),y.jsx(LFe,{})]}),y.jsx(kr,{onChange:l,label:s("modelmanager:search")}),y.jsxs(Ge,{flexDirection:"column",gap:1,maxHeight:window.innerHeight-360,overflow:"scroll",paddingRight:"1rem",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(KC,{label:s("modelmanager:allModels"),onClick:()=>i("all"),isActive:r==="all"}),y.jsx(KC,{label:s("modelmanager:checkpointModels"),onClick:()=>i("ckpt"),isActive:r==="ckpt"}),y.jsx(KC,{label:s("modelmanager:diffusersModels"),onClick:()=>i("diffusers"),isActive:r==="diffusers"})]}),u]})]})};function MFe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),i=he(s=>s.system.model_list),o=he(s=>s.system.openModel),{t:a}=Ve();return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,size:"6xl",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal",fontFamily:"Inter",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx(w0,{fontWeight:"bold",children:a("modelmanager:modelManager")}),y.jsxs(Ge,{padding:"0 1.5rem 1.5rem 1.5rem",width:"100%",columnGap:"2rem",children:[y.jsx(OFe,{}),o&&i[o].format==="diffusers"?y.jsx(_Fe,{}):y.jsx(wFe,{})]})]})]})]})}const IFe=at([ir],e=>{const{isProcessing:t,model_list:n}=e;return{models:ke.map(n,(i,o)=>o),isProcessing:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RFe=()=>{const e=Me(),{models:t,isProcessing:n}=he(IFe),r=he(qG),i=o=>{e(VG(o.target.value))};return y.jsx(Ge,{style:{paddingLeft:"0.3rem"},children:y.jsx(tl,{style:{fontSize:"0.8rem"},tooltip:r.description,isDisabled:n,value:r.name,validValues:t,onChange:i})})},DFe=at([ir,mp],(e,t)=>{const{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,model_list:o,saveIntermediatesInterval:a,enableImageDebugging:s}=e,{shouldUseCanvasBetaLayout:l}=t;return{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,models:ke.map(o,(u,d)=>d),saveIntermediatesInterval:a,enableImageDebugging:s,shouldUseCanvasBetaLayout:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NFe=({children:e})=>{const t=Me(),{t:n}=Ve(),r=he(_=>_.generation.steps),{isOpen:i,onOpen:o,onClose:a}=Wh(),{isOpen:s,onOpen:l,onClose:u}=Wh(),{shouldDisplayInProgressType:d,shouldConfirmOnDelete:h,shouldDisplayGuides:m,saveIntermediatesInterval:v,enableImageDebugging:b,shouldUseCanvasBetaLayout:S}=he(DFe),k=()=>{GG.purge().then(()=>{a(),l()})},E=_=>{_>r&&(_=r),_<1&&(_=1),t(Q6e(_))};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:o}),y.jsxs(Yd,{isOpen:i,onClose:a,size:"lg",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal settings-modal",children:[y.jsx(w0,{className:"settings-modal-header",children:n("common:settingsLabel")}),y.jsx(Ly,{className:"modal-close-btn"}),y.jsxs(n0,{className:"settings-modal-content",children:[y.jsxs("div",{className:"settings-modal-items",children:[y.jsxs("div",{className:"settings-modal-item",style:{gridAutoFlow:"row",rowGap:"0.5rem"},children:[y.jsx(tl,{label:n("settings:displayInProgress"),validValues:s7e,value:d,onChange:_=>t(U6e(_.target.value))}),d==="full-res"&&y.jsx(ra,{label:n("settings:saveSteps"),min:1,max:r,step:1,onChange:E,value:v,width:"auto",textAlign:"center"})]}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:confirmOnDelete"),isChecked:h,onChange:_=>t(BU(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:displayHelpIcons"),isChecked:m,onChange:_=>t(K6e(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:useCanvasBeta"),isChecked:S,onChange:_=>t(dCe(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-items",children:[y.jsx("h2",{style:{fontWeight:"bold"},children:"Developer"}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:enableImageDebugging"),isChecked:b,onChange:_=>t(J6e(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-reset",children:[y.jsx(Dh,{size:"md",children:n("settings:resetWebUI")}),y.jsx(as,{colorScheme:"red",onClick:k,children:n("settings:resetWebUI")}),y.jsx(fn,{children:n("settings:resetWebUIDesc1")}),y.jsx(fn,{children:n("settings:resetWebUIDesc2")})]})]}),y.jsx(yx,{children:y.jsx(as,{onClick:a,className:"modal-close-btn",children:n("common:close")})})]})]}),y.jsxs(Yd,{closeOnOverlayClick:!1,isOpen:s,onClose:u,isCentered:!0,children:[y.jsx(Kd,{bg:"blackAlpha.300",backdropFilter:"blur(40px)"}),y.jsx(Zh,{children:y.jsx(n0,{pb:6,pt:6,children:y.jsx(Ge,{justifyContent:"center",children:y.jsx(fn,{fontSize:"lg",children:y.jsx(fn,{children:n("settings:resetComplete")})})})})})]})]})},jFe=at(ir,e=>({isConnected:e.isConnected,isProcessing:e.isProcessing,currentIteration:e.currentIteration,totalIterations:e.totalIterations,currentStatus:e.currentStatus,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),BFe=()=>{const{isConnected:e,isProcessing:t,currentIteration:n,totalIterations:r,currentStatus:i,hasError:o,wasErrorSeen:a}=he(jFe),s=Me(),{t:l}=Ve();let u;e&&!o?u="status-good":u="status-bad";let d=i;[l("common:statusGenerating"),l("common:statusPreparing"),l("common:statusSavingImage"),l("common:statusRestoringFaces"),l("common:statusUpscaling")].includes(d)&&(u="status-working"),d&&t&&r>1&&(d=`${l(d)} (${n}/${r})`);const m=o&&!a?"Click to clear, check logs for details":void 0,v=o&&!a?"pointer":"initial",b=()=>{(o||!a)&&s($U())};return y.jsx(uo,{label:m,children:y.jsx(fn,{cursor:v,onClick:b,className:`status ${u}`,children:l(d)})})};function $Fe(){const{t:e}=Ve(),{setColorMode:t,colorMode:n}=dy(),r=Me(),i=he(l=>l.ui.currentTheme),o={dark:e("common:darkTheme"),light:e("common:lightTheme"),green:e("common:greenTheme")};w.useEffect(()=>{n!==i&&t(i)},[t,n,i]);const a=l=>{r(aCe(l))},s=()=>{const l=[];return Object.keys(o).forEach(u=>{l.push(y.jsx(cr,{style:{width:"6rem"},leftIcon:i===u?y.jsx(PP,{}):void 0,size:"sm",onClick:()=>a(u),children:o[u]},u))}),l};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:themeLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(pEe,{})}),children:y.jsx(yn,{align:"stretch",children:s()})})}function FFe(){const{t:e,i18n:t}=Ve(),n={en:e("common:langEnglish"),nl:e("common:langDutch"),fr:e("common:langFrench"),de:e("common:langGerman"),it:e("common:langItalian"),ja:e("common:langJapanese"),pl:e("common:langPolish"),pt_br:e("common:langBrPortuguese"),ru:e("common:langRussian"),zh_cn:e("common:langSimplifiedChinese"),es:e("common:langSpanish"),ua:e("common:langUkranian")},r=()=>{const i=[];return Object.keys(n).forEach(o=>{i.push(y.jsx(cr,{"data-selected":localStorage.getItem("i18nextLng")===o,onClick:()=>t.changeLanguage(o),className:"modal-close-btn lang-select-btn","aria-label":n[o],tooltip:n[o],size:"sm",minWidth:"200px",children:n[o]},o))}),i};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:languagePickerLabel"),tooltip:e("common:languagePickerLabel"),icon:y.jsx(dEe,{}),size:"sm",variant:"link","data-variant":"link",fontSize:26}),children:y.jsx(yn,{children:r()})})}const zFe=()=>{const{t:e}=Ve(),t=he(n=>n.system.app_version);return y.jsxs("div",{className:"site-header",children:[y.jsxs("div",{className:"site-header-left-side",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs(Ge,{alignItems:"center",columnGap:"0.6rem",children:[y.jsxs(fn,{fontSize:"1.4rem",children:["invoke ",y.jsx("strong",{children:"ai"})]}),y.jsx(fn,{fontWeight:"bold",color:"var(--text-color-secondary)",marginTop:"0.2rem",children:t})]})]}),y.jsxs("div",{className:"site-header-right-side",children:[y.jsx(BFe,{}),y.jsx(RFe,{}),y.jsx(MFe,{children:y.jsx(Qe,{"aria-label":e("modelmanager:modelManager"),tooltip:e("modelmanager:modelManager"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(rEe,{})})}),y.jsx(TDe,{children:y.jsx(Qe,{"aria-label":e("common:hotkeysLabel"),tooltip:e("common:hotkeysLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(cEe,{})})}),y.jsx($Fe,{}),y.jsx(FFe,{}),y.jsx(Qe,{"aria-label":e("common:reportBugLabel"),tooltip:e("common:reportBugLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI/issues",children:y.jsx(nEe,{})})}),y.jsx(Qe,{"aria-label":e("common:githubLabel"),tooltip:e("common:githubLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI",children:y.jsx(Zke,{})})}),y.jsx(Qe,{"aria-label":e("common:discordLabel"),tooltip:e("common:discordLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"https://discord.gg/ZmtBAhwWhy",children:y.jsx(Xke,{})})}),y.jsx(NFe,{children:y.jsx(Qe,{"aria-label":e("common:settingsLabel"),tooltip:e("common:settingsLabel"),variant:"link","data-variant":"link",fontSize:22,size:"sm",icon:y.jsx(VEe,{})})})]})]})};function HFe(){async function e(n=""){return await fetch(n,{method:"GET",cache:"no-cache"})}const t=()=>{const n=document.location;e(n+"/flaskwebgui-keep-server-alive").then(i=>i)};(!{}.NODE_ENV||{}.NODE_ENV==="production")&&document.addEventListener("DOMContentLoaded",()=>{t(),setInterval(t,3e3)})}const VFe=()=>{const e=Me(),t=he(a_e),n=Ry();w.useEffect(()=>{t.forEach(r=>{n(r)}),t.length>0&&e(tCe())},[e,n,t])},NK=at([yp,mp,Or],(e,t,n)=>{const{shouldPinParametersPanel:r,shouldShowParametersPanel:i,shouldHoldParametersPanelOpen:o,shouldUseCanvasBetaLayout:a}=t,{shouldShowGallery:s,shouldPinGallery:l,shouldHoldGalleryOpen:u}=e,d=a&&n==="unifiedCanvas",h=!d&&!(i||o&&!r)&&["txt2img","img2img","unifiedCanvas"].includes(n),m=!(s||u&&!l)&&["txt2img","img2img","unifiedCanvas"].includes(n);return{shouldPinParametersPanel:r,shouldShowProcessButtons:!d&&(!r||!i),shouldShowParametersPanelButton:h,shouldShowParametersPanel:i,shouldShowGallery:s,shouldPinGallery:l,shouldShowGalleryButton:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),WFe=()=>{const e=Me(),{shouldShowParametersPanel:t,shouldShowParametersPanelButton:n,shouldShowProcessButtons:r,shouldPinParametersPanel:i,shouldShowGallery:o,shouldPinGallery:a}=he(NK),s=()=>{e(Ku(!0)),i&&setTimeout(()=>e(vi(!0)),400)};return Je("f",()=>{o||t?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(a||i)&&setTimeout(()=>e(vi(!0)),400)},[o,t]),n?y.jsxs("div",{className:"show-hide-button-options",children:[y.jsx(Qe,{tooltip:"Show Options Panel (O)",tooltipProps:{placement:"top"},"aria-label":"Show Options Panel",onClick:s,children:y.jsx(AP,{})}),r&&y.jsxs(y.Fragment,{children:[y.jsx(XP,{iconButton:!0}),y.jsx(YP,{})]})]}):null},UFe=()=>{const e=Me(),{shouldShowGallery:t,shouldShowGalleryButton:n,shouldPinGallery:r,shouldShowParametersPanel:i,shouldPinParametersPanel:o}=he(NK),a=()=>{e(Bd(!0)),r&&e(vi(!0))};return Je("f",()=>{t||i?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(r||o)&&setTimeout(()=>e(vi(!0)),400)},[t,i]),n?y.jsx(Qe,{tooltip:"Show Gallery (G)",tooltipProps:{placement:"top"},"aria-label":"Show Gallery",styleClass:"floating-show-hide-button right show-hide-button-gallery",onClick:a,children:y.jsx(Tq,{})}):null};HFe();const GFe=()=>(VFe(),y.jsxs("div",{className:"App",children:[y.jsxs(xDe,{children:[y.jsx(EDe,{}),y.jsxs("div",{className:"app-content",children:[y.jsx(zFe,{}),y.jsx(ERe,{})]}),y.jsx("div",{className:"app-console",children:y.jsx(_De,{})})]}),y.jsx(WFe,{}),y.jsx(UFe,{})]})),nj=()=>y.jsx(Ge,{width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center",children:y.jsx(xy,{thickness:"2px",speed:"1s",emptyColor:"gray.200",color:"gray.400",size:"xl"})});const qFe=Aj({key:"invokeai-style-cache",prepend:!0});X9.createRoot(document.getElementById("root")).render(y.jsx(N.StrictMode,{children:y.jsx(T5e,{store:UG,children:y.jsx(mW,{loading:y.jsx(nj,{}),persistor:GG,children:y.jsx(qne,{value:qFe,children:y.jsx(q4e,{children:y.jsx(N.Suspense,{fallback:y.jsx(nj,{}),children:y.jsx(GFe,{})})})})})})})); diff --git a/invokeai/frontend/dist/index.html b/invokeai/frontend/dist/index.html index 7727c05af0..832305d5d4 100644 --- a/invokeai/frontend/dist/index.html +++ b/invokeai/frontend/dist/index.html @@ -5,7 +5,7 @@ InvokeAI - A Stable Diffusion Toolkit - + diff --git a/invokeai/frontend/src/features/gallery/components/ImageMetaDataViewer/ImageMetadataViewer.tsx b/invokeai/frontend/src/features/gallery/components/ImageMetaDataViewer/ImageMetadataViewer.tsx index 1b8d00b2a3..049b7e8b1c 100644 --- a/invokeai/frontend/src/features/gallery/components/ImageMetaDataViewer/ImageMetadataViewer.tsx +++ b/invokeai/frontend/src/features/gallery/components/ImageMetaDataViewer/ImageMetadataViewer.tsx @@ -148,7 +148,6 @@ const ImageMetadataViewer = memo( postprocessing, prompt, sampler, - scale, seamless, seed, steps, diff --git a/invokeai/frontend/stats.html b/invokeai/frontend/stats.html index 8c89fdb598..ae9564c092 100644 --- a/invokeai/frontend/stats.html +++ b/invokeai/frontend/stats.html @@ -1,33095 +1,6177 @@ + - - - - - Rollup Visualizer - - - -
- - + - + window.addEventListener('resize', run); + + document.addEventListener('DOMContentLoaded', run); + /*-->*/ + + + From 48da030415c6f5edbe55c6f058e7e9aaace8b244 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:03:31 +1300 Subject: [PATCH 19/20] resolving conflicts --- .../dist/assets/Inter-Bold-790c108b.ttf | Bin 316100 -> 0 bytes .../frontend/dist/assets/Inter-b9a8e5e2.ttf | Bin 803384 -> 0 bytes .../frontend/dist/assets/favicon-0d253ced.ico | Bin 118734 -> 0 bytes .../frontend/dist/assets/index-ad762ffd.js | 638 ------------------ .../frontend/dist/assets/index-fecb6dd4.css | 1 - .../frontend/dist/assets/logo-13003d72.png | Bin 44115 -> 0 bytes invokeai/frontend/dist/index.html | 16 - invokeai/frontend/dist/locales/common/de.json | 55 -- .../frontend/dist/locales/common/en-US.json | 62 -- invokeai/frontend/dist/locales/common/en.json | 62 -- invokeai/frontend/dist/locales/common/es.json | 58 -- invokeai/frontend/dist/locales/common/fr.json | 62 -- invokeai/frontend/dist/locales/common/it.json | 61 -- invokeai/frontend/dist/locales/common/ja.json | 60 -- invokeai/frontend/dist/locales/common/nl.json | 59 -- invokeai/frontend/dist/locales/common/pl.json | 55 -- invokeai/frontend/dist/locales/common/pt.json | 1 - .../frontend/dist/locales/common/pt_br.json | 55 -- invokeai/frontend/dist/locales/common/ru.json | 54 -- invokeai/frontend/dist/locales/common/ua.json | 53 -- .../frontend/dist/locales/common/zh_cn.json | 54 -- .../frontend/dist/locales/gallery/de.json | 16 - .../frontend/dist/locales/gallery/en-US.json | 16 - .../frontend/dist/locales/gallery/en.json | 16 - .../frontend/dist/locales/gallery/es.json | 16 - .../frontend/dist/locales/gallery/fr.json | 16 - .../frontend/dist/locales/gallery/it.json | 16 - .../frontend/dist/locales/gallery/ja.json | 17 - .../frontend/dist/locales/gallery/nl.json | 16 - .../frontend/dist/locales/gallery/pl.json | 16 - .../frontend/dist/locales/gallery/pt.json | 1 - .../frontend/dist/locales/gallery/pt_br.json | 16 - .../frontend/dist/locales/gallery/ru.json | 16 - .../frontend/dist/locales/gallery/ua.json | 16 - .../frontend/dist/locales/gallery/zh_cn.json | 16 - .../frontend/dist/locales/hotkeys/de.json | 207 ------ .../frontend/dist/locales/hotkeys/en-US.json | 207 ------ .../frontend/dist/locales/hotkeys/en.json | 207 ------ .../frontend/dist/locales/hotkeys/es.json | 207 ------ .../frontend/dist/locales/hotkeys/fr.json | 207 ------ .../frontend/dist/locales/hotkeys/it.json | 207 ------ .../frontend/dist/locales/hotkeys/ja.json | 208 ------ .../frontend/dist/locales/hotkeys/nl.json | 207 ------ .../frontend/dist/locales/hotkeys/pl.json | 207 ------ .../frontend/dist/locales/hotkeys/pt.json | 1 - .../frontend/dist/locales/hotkeys/pt_br.json | 207 ------ .../frontend/dist/locales/hotkeys/ru.json | 207 ------ .../frontend/dist/locales/hotkeys/ua.json | 207 ------ .../frontend/dist/locales/hotkeys/zh_cn.json | 207 ------ .../dist/locales/modelmanager/de.json | 53 -- .../dist/locales/modelmanager/en-US.json | 67 -- .../dist/locales/modelmanager/en.json | 67 -- .../dist/locales/modelmanager/es.json | 53 -- .../dist/locales/modelmanager/fr.json | 68 -- .../dist/locales/modelmanager/it.json | 67 -- .../dist/locales/modelmanager/ja.json | 68 -- .../dist/locales/modelmanager/nl.json | 53 -- .../dist/locales/modelmanager/pl.json | 1 - .../dist/locales/modelmanager/pt_br.json | 50 -- .../dist/locales/modelmanager/ru.json | 53 -- .../dist/locales/modelmanager/ua.json | 53 -- .../dist/locales/modelmanager/zh_cn.json | 50 -- .../frontend/dist/locales/parameters/de.json | 61 -- .../dist/locales/parameters/en-US.json | 62 -- .../frontend/dist/locales/parameters/en.json | 65 -- .../frontend/dist/locales/parameters/es.json | 61 -- .../frontend/dist/locales/parameters/fr.json | 62 -- .../frontend/dist/locales/parameters/it.json | 61 -- .../frontend/dist/locales/parameters/ja.json | 62 -- .../frontend/dist/locales/parameters/nl.json | 61 -- .../frontend/dist/locales/parameters/pl.json | 61 -- .../frontend/dist/locales/parameters/pt.json | 1 - .../dist/locales/parameters/pt_br.json | 61 -- .../frontend/dist/locales/parameters/ru.json | 61 -- .../frontend/dist/locales/parameters/ua.json | 62 -- .../dist/locales/parameters/zh_cn.json | 61 -- .../frontend/dist/locales/settings/de.json | 13 - .../frontend/dist/locales/settings/en-US.json | 13 - .../frontend/dist/locales/settings/en.json | 13 - .../frontend/dist/locales/settings/es.json | 13 - .../frontend/dist/locales/settings/fr.json | 13 - .../frontend/dist/locales/settings/it.json | 13 - .../frontend/dist/locales/settings/ja.json | 14 - .../frontend/dist/locales/settings/nl.json | 13 - .../frontend/dist/locales/settings/pl.json | 13 - .../frontend/dist/locales/settings/pt.json | 1 - .../frontend/dist/locales/settings/pt_br.json | 13 - .../frontend/dist/locales/settings/ru.json | 13 - .../frontend/dist/locales/settings/ua.json | 13 - .../frontend/dist/locales/settings/zh_cn.json | 13 - invokeai/frontend/dist/locales/toast/de.json | 32 - .../frontend/dist/locales/toast/en-US.json | 32 - invokeai/frontend/dist/locales/toast/en.json | 32 - invokeai/frontend/dist/locales/toast/es.json | 32 - invokeai/frontend/dist/locales/toast/fr.json | 32 - invokeai/frontend/dist/locales/toast/it.json | 32 - invokeai/frontend/dist/locales/toast/ja.json | 32 - invokeai/frontend/dist/locales/toast/nl.json | 32 - invokeai/frontend/dist/locales/toast/pl.json | 32 - invokeai/frontend/dist/locales/toast/pt.json | 1 - .../frontend/dist/locales/toast/pt_br.json | 32 - invokeai/frontend/dist/locales/toast/ru.json | 32 - invokeai/frontend/dist/locales/toast/ua.json | 32 - .../frontend/dist/locales/toast/zh_cn.json | 32 - .../frontend/dist/locales/tooltip/de.json | 15 - .../frontend/dist/locales/tooltip/en-US.json | 15 - .../frontend/dist/locales/tooltip/en.json | 15 - .../frontend/dist/locales/tooltip/es.json | 15 - .../frontend/dist/locales/tooltip/fr.json | 15 - .../frontend/dist/locales/tooltip/it.json | 15 - .../frontend/dist/locales/tooltip/ja.json | 16 - .../frontend/dist/locales/tooltip/nl.json | 15 - .../frontend/dist/locales/tooltip/pl.json | 15 - .../frontend/dist/locales/tooltip/pt_br.json | 1 - .../frontend/dist/locales/tooltip/ru.json | 15 - .../frontend/dist/locales/tooltip/ua.json | 15 - .../dist/locales/unifiedcanvas/de.json | 59 -- .../dist/locales/unifiedcanvas/en-US.json | 59 -- .../dist/locales/unifiedcanvas/en.json | 59 -- .../dist/locales/unifiedcanvas/es.json | 59 -- .../dist/locales/unifiedcanvas/fr.json | 59 -- .../dist/locales/unifiedcanvas/it.json | 59 -- .../dist/locales/unifiedcanvas/ja.json | 60 -- .../dist/locales/unifiedcanvas/nl.json | 59 -- .../dist/locales/unifiedcanvas/pl.json | 59 -- .../dist/locales/unifiedcanvas/pt.json | 1 - .../dist/locales/unifiedcanvas/pt_br.json | 59 -- .../dist/locales/unifiedcanvas/ru.json | 59 -- .../dist/locales/unifiedcanvas/ua.json | 59 -- .../dist/locales/unifiedcanvas/zh_cn.json | 59 -- 130 files changed, 7338 deletions(-) delete mode 100644 invokeai/frontend/dist/assets/Inter-Bold-790c108b.ttf delete mode 100644 invokeai/frontend/dist/assets/Inter-b9a8e5e2.ttf delete mode 100644 invokeai/frontend/dist/assets/favicon-0d253ced.ico delete mode 100644 invokeai/frontend/dist/assets/index-ad762ffd.js delete mode 100644 invokeai/frontend/dist/assets/index-fecb6dd4.css delete mode 100644 invokeai/frontend/dist/assets/logo-13003d72.png delete mode 100644 invokeai/frontend/dist/index.html delete mode 100644 invokeai/frontend/dist/locales/common/de.json delete mode 100644 invokeai/frontend/dist/locales/common/en-US.json delete mode 100644 invokeai/frontend/dist/locales/common/en.json delete mode 100644 invokeai/frontend/dist/locales/common/es.json delete mode 100644 invokeai/frontend/dist/locales/common/fr.json delete mode 100644 invokeai/frontend/dist/locales/common/it.json delete mode 100644 invokeai/frontend/dist/locales/common/ja.json delete mode 100644 invokeai/frontend/dist/locales/common/nl.json delete mode 100644 invokeai/frontend/dist/locales/common/pl.json delete mode 100644 invokeai/frontend/dist/locales/common/pt.json delete mode 100644 invokeai/frontend/dist/locales/common/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/common/ru.json delete mode 100644 invokeai/frontend/dist/locales/common/ua.json delete mode 100644 invokeai/frontend/dist/locales/common/zh_cn.json delete mode 100644 invokeai/frontend/dist/locales/gallery/de.json delete mode 100644 invokeai/frontend/dist/locales/gallery/en-US.json delete mode 100644 invokeai/frontend/dist/locales/gallery/en.json delete mode 100644 invokeai/frontend/dist/locales/gallery/es.json delete mode 100644 invokeai/frontend/dist/locales/gallery/fr.json delete mode 100644 invokeai/frontend/dist/locales/gallery/it.json delete mode 100644 invokeai/frontend/dist/locales/gallery/ja.json delete mode 100644 invokeai/frontend/dist/locales/gallery/nl.json delete mode 100644 invokeai/frontend/dist/locales/gallery/pl.json delete mode 100644 invokeai/frontend/dist/locales/gallery/pt.json delete mode 100644 invokeai/frontend/dist/locales/gallery/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/gallery/ru.json delete mode 100644 invokeai/frontend/dist/locales/gallery/ua.json delete mode 100644 invokeai/frontend/dist/locales/gallery/zh_cn.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/de.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/en-US.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/en.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/es.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/fr.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/it.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/ja.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/nl.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/pl.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/pt.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/ru.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/ua.json delete mode 100644 invokeai/frontend/dist/locales/hotkeys/zh_cn.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/de.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/en-US.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/en.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/es.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/fr.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/it.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/ja.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/nl.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/pl.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/ru.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/ua.json delete mode 100644 invokeai/frontend/dist/locales/modelmanager/zh_cn.json delete mode 100644 invokeai/frontend/dist/locales/parameters/de.json delete mode 100644 invokeai/frontend/dist/locales/parameters/en-US.json delete mode 100644 invokeai/frontend/dist/locales/parameters/en.json delete mode 100644 invokeai/frontend/dist/locales/parameters/es.json delete mode 100644 invokeai/frontend/dist/locales/parameters/fr.json delete mode 100644 invokeai/frontend/dist/locales/parameters/it.json delete mode 100644 invokeai/frontend/dist/locales/parameters/ja.json delete mode 100644 invokeai/frontend/dist/locales/parameters/nl.json delete mode 100644 invokeai/frontend/dist/locales/parameters/pl.json delete mode 100644 invokeai/frontend/dist/locales/parameters/pt.json delete mode 100644 invokeai/frontend/dist/locales/parameters/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/parameters/ru.json delete mode 100644 invokeai/frontend/dist/locales/parameters/ua.json delete mode 100644 invokeai/frontend/dist/locales/parameters/zh_cn.json delete mode 100644 invokeai/frontend/dist/locales/settings/de.json delete mode 100644 invokeai/frontend/dist/locales/settings/en-US.json delete mode 100644 invokeai/frontend/dist/locales/settings/en.json delete mode 100644 invokeai/frontend/dist/locales/settings/es.json delete mode 100644 invokeai/frontend/dist/locales/settings/fr.json delete mode 100644 invokeai/frontend/dist/locales/settings/it.json delete mode 100644 invokeai/frontend/dist/locales/settings/ja.json delete mode 100644 invokeai/frontend/dist/locales/settings/nl.json delete mode 100644 invokeai/frontend/dist/locales/settings/pl.json delete mode 100644 invokeai/frontend/dist/locales/settings/pt.json delete mode 100644 invokeai/frontend/dist/locales/settings/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/settings/ru.json delete mode 100644 invokeai/frontend/dist/locales/settings/ua.json delete mode 100644 invokeai/frontend/dist/locales/settings/zh_cn.json delete mode 100644 invokeai/frontend/dist/locales/toast/de.json delete mode 100644 invokeai/frontend/dist/locales/toast/en-US.json delete mode 100644 invokeai/frontend/dist/locales/toast/en.json delete mode 100644 invokeai/frontend/dist/locales/toast/es.json delete mode 100644 invokeai/frontend/dist/locales/toast/fr.json delete mode 100644 invokeai/frontend/dist/locales/toast/it.json delete mode 100644 invokeai/frontend/dist/locales/toast/ja.json delete mode 100644 invokeai/frontend/dist/locales/toast/nl.json delete mode 100644 invokeai/frontend/dist/locales/toast/pl.json delete mode 100644 invokeai/frontend/dist/locales/toast/pt.json delete mode 100644 invokeai/frontend/dist/locales/toast/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/toast/ru.json delete mode 100644 invokeai/frontend/dist/locales/toast/ua.json delete mode 100644 invokeai/frontend/dist/locales/toast/zh_cn.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/de.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/en-US.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/en.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/es.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/fr.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/it.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/ja.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/nl.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/pl.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/ru.json delete mode 100644 invokeai/frontend/dist/locales/tooltip/ua.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/de.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/en-US.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/en.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/es.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/fr.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/it.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/ja.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/nl.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/pl.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/pt.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/ru.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/ua.json delete mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json diff --git a/invokeai/frontend/dist/assets/Inter-Bold-790c108b.ttf b/invokeai/frontend/dist/assets/Inter-Bold-790c108b.ttf deleted file mode 100644 index 8e82c70d1081e2857ada1b73395d4f42c2e8adc9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 316100 zcmcG133wDm^ZxYA?(8O&ccOcwEAO{dgNC-DVB9}lQBBz{k zsepojhzNol9;k@lr{IZ-h!-NCpmHQTz5lnmXLctc2tLpM_n?rx(^FktU0q#WUEQNF zMNul^FNdOZdaOgoCLcDbu4wU>0R(sI)w9ppj~h-?w4RE>8tI+-B(|F~w=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c#RufB&96{syGFH?(BYnhs+WQE}eseBVCzj-)tM;SLn8d%B}fIV+DiU5js;mohWv9JNm zvEN-F7WmYi6#<<1{#=Xne~7Y!Xqy?OMNqr`*vh1ij_XKGJ~ZT%B|kO04E$IRO+)TYdx{D zEGis5CYs=19QF7&M@d)^M{$7p>%606=FE4$E2OOURJz4Tr9cVrLe`COD_!!dqE{&O dOnHTJefZ`IWl=bJoOzARPmbiMuz8fC{5NLxuU-HE diff --git a/invokeai/frontend/dist/assets/favicon-0d253ced.ico b/invokeai/frontend/dist/assets/favicon-0d253ced.ico deleted file mode 100644 index 413340efb28b6a92b207d5180b836a7cc97f3694..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118734 zcmb5Vbx<5n6z{wE;u2hgy95dDuEE{iCAd2zxCVDma0o7oTX0za&H1);9qI_^zrVi;hB!0<9Wd zUQSB=zpMX!f&Vpa__Y$+rUJdZl(?qP>RFz*59#7>P_XwnzNa1SgR^5CV+&(Zq!@@0 z9-c($kX8%_HX;HCE>sp%IJ65O4=l>M4w*sz!c79~Gxclj>t1WrZd`3)e0crjkZ(a_ z(8A;GRrVTKAR1Ga$JOLME&QO#pjs#v3X6b(`@c_a5v68eahC;hJ2C+tpwTxjcuhcH zsC^;MHyA51WYyePA}212Gg$m2z-owfA+{|naR|@KdkcWX6<|;oKT%j9AIe%$2)K?o z4NHVsgBu7r3rPlj?2_KZWEjyv4BCOM0oj{s-A_xHlGhVH5?6v9cAaOYt3msW3?ZZg zRk1Kqp=v&{fdr;Drbwn7raNalVSk_B{+?2hd|~_p(*qDe?CH}$JM(iAvgJp06l3ca z>rOeH62T&bIYm5$IgPOy&e+O2dx8jCg?M#Y4A6s+KrcS{1J_|?SS(Kv^F3OU%xlSz z?obNA?$w`1PQN#As;dB0hmg7u-cUUdm8p|BWo21KuOok`1_9RWHo&Djm)s~tuDWq(#;fu zhw};}kH6y@4?EL!u3aFJVlM3X9-%r4-+`Dx7N8U8Q(!lX34afRJw$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rx3>{TF<=t#7obQ(-y^*<8PGYmtxZ^XuO@IG z5J>M6v)b^C*)F}p!5Zi0yFUqpH_yEuchjn-mB8Iy++!h6>ZpH z_>%f{)?~J2?Q&oRx3*z$m+#>7xvWO`s!iH~1{I%va-^e?Cvk5gprBKO?_kV}#SG~K zzq^-J<{Fget;kRB#9{p~-)W&j2gyM>Zk$h1);q4LPI;>c<2Y@n%KPNIcE`qbTGLgg zfzA^*t!LzKP+2cds`=q>q?KAf;C!$mZHt{BRPtJ|lLgxWzv9YiTs(K0&7T~_hIQ}2 zfqY6{ID1MZOycJCDsrGasa7tAD`bGQ&nVJ&nzT)YZj!lj+6$*m5S&M(r zI|;f_kwMHBWj$P=^pP&j6Qq_m<+*wCQ%wGo73ovj%JB)E&!7C2h8x$esN_jnSEk^T zPm}8P(69GCv6>zgQqvd|*)}z8lDW|QnK}(5hYM#;roKnt4N!!kxmUG%vM$o@rbwT@ zji3li$Hg-zrN;Bilqi*F%Hh<{=S>`&`W~$+l{CD$kVTR6ifuEj%^-E$ddQyl1=Ql5+Z#@3p3{>_;{o)6Z=AXLkO})bhvI0eaUz z3yfU<@aaphf4g;HMyP+yQ4UgVyo_#tco}3``^%>a7w*}4+#3d@+Ly|48G4R*sjgD=zX#!*Ai4j| zUg7(}QF&+^811>EeRj0Rj`r0Rlwkye5QQNG1yiIGF3Am>KJ!>Qs z0q*w!K3i^j!76nh&1!gm^;=KpbkA}lx98vs!u3;*1J^WX@Y#0B<<$2Y`?z4uc54oF zPW1@I!`o>T2S*2v#P5Adm)1a2A8WzXXl@<5!ak=pS_`I*=bljcXWU LhQiW2^zQ!yaVtbM diff --git a/invokeai/frontend/dist/assets/index-ad762ffd.js b/invokeai/frontend/dist/assets/index-ad762ffd.js deleted file mode 100644 index dee1d5d7e4..0000000000 --- a/invokeai/frontend/dist/assets/index-ad762ffd.js +++ /dev/null @@ -1,638 +0,0 @@ -var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var an=(e,t,n)=>(dee(e,typeof t!="symbol"?t+"":t,n),n);function rj(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function d_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y={},fee={get exports(){return y},set exports(e){y=e}},gS={},w={},hee={get exports(){return w},set exports(e){w=e}},en={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var cy=Symbol.for("react.element"),pee=Symbol.for("react.portal"),gee=Symbol.for("react.fragment"),mee=Symbol.for("react.strict_mode"),vee=Symbol.for("react.profiler"),yee=Symbol.for("react.provider"),bee=Symbol.for("react.context"),See=Symbol.for("react.forward_ref"),xee=Symbol.for("react.suspense"),wee=Symbol.for("react.memo"),Cee=Symbol.for("react.lazy"),cL=Symbol.iterator;function _ee(e){return e===null||typeof e!="object"?null:(e=cL&&e[cL]||e["@@iterator"],typeof e=="function"?e:null)}var ij={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oj=Object.assign,aj={};function d0(e,t,n){this.props=e,this.context=t,this.refs=aj,this.updater=n||ij}d0.prototype.isReactComponent={};d0.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};d0.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sj(){}sj.prototype=d0.prototype;function f_(e,t,n){this.props=e,this.context=t,this.refs=aj,this.updater=n||ij}var h_=f_.prototype=new sj;h_.constructor=f_;oj(h_,d0.prototype);h_.isPureReactComponent=!0;var dL=Array.isArray,lj=Object.prototype.hasOwnProperty,p_={current:null},uj={key:!0,ref:!0,__self:!0,__source:!0};function cj(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)lj.call(t,r)&&!uj.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?j3.dark:j3.light),document.body.classList.remove(r?j3.light:j3.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){return n.query().matches??r==="dark"?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var Nee="chakra-ui-color-mode";function jee(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var Bee=jee(Nee),hL=()=>{};function pL(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function fj(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=Bee}=e,s=i==="dark"?"dark":"light",[l,u]=w.useState(()=>pL(a,s)),[d,h]=w.useState(()=>pL(a)),{getSystemTheme:m,setClassName:v,setDataset:b,addListener:S}=w.useMemo(()=>Dee({preventTransition:o}),[o]),k=i==="system"&&!l?d:l,E=w.useCallback(A=>{const I=A==="system"?m():A;u(I),v(I==="dark"),b(I),a.set(I)},[a,m,v,b]);Ws(()=>{i==="system"&&h(m())},[]),w.useEffect(()=>{const A=a.get();if(A){E(A);return}if(i==="system"){E("system");return}E(s)},[a,s,i,E]);const _=w.useCallback(()=>{E(k==="dark"?"light":"dark")},[k,E]);w.useEffect(()=>{if(r)return S(E)},[r,S,E]);const T=w.useMemo(()=>({colorMode:t??k,toggleColorMode:t?hL:_,setColorMode:t?hL:E,forced:t!==void 0}),[k,_,E,t]);return N.createElement(m_.Provider,{value:T},n)}fj.displayName="ColorModeProvider";var z4={},$ee={get exports(){return z4},set exports(e){z4=e}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Function]",b="[object GeneratorFunction]",S="[object Map]",k="[object Number]",E="[object Null]",_="[object Object]",T="[object Proxy]",A="[object RegExp]",I="[object Set]",R="[object String]",D="[object Undefined]",j="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",K="[object Float32Array]",te="[object Float64Array]",q="[object Int8Array]",$="[object Int16Array]",U="[object Int32Array]",X="[object Uint8Array]",Z="[object Uint8ClampedArray]",W="[object Uint16Array]",Q="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,fe=/^\[object .+?Constructor\]$/,Se=/^(?:0|[1-9]\d*)$/,Pe={};Pe[K]=Pe[te]=Pe[q]=Pe[$]=Pe[U]=Pe[X]=Pe[Z]=Pe[W]=Pe[Q]=!0,Pe[s]=Pe[l]=Pe[z]=Pe[d]=Pe[V]=Pe[h]=Pe[m]=Pe[v]=Pe[S]=Pe[k]=Pe[_]=Pe[A]=Pe[I]=Pe[R]=Pe[j]=!1;var ye=typeof Co=="object"&&Co&&Co.Object===Object&&Co,We=typeof self=="object"&&self&&self.Object===Object&&self,De=ye||We||Function("return this")(),ot=t&&!t.nodeType&&t,He=ot&&!0&&e&&!e.nodeType&&e,Be=He&&He.exports===ot,wt=Be&&ye.process,st=function(){try{var Y=He&&He.require&&He.require("util").types;return Y||wt&&wt.binding&&wt.binding("util")}catch{}}(),mt=st&&st.isTypedArray;function St(Y,re,ge){switch(ge.length){case 0:return Y.call(re);case 1:return Y.call(re,ge[0]);case 2:return Y.call(re,ge[0],ge[1]);case 3:return Y.call(re,ge[0],ge[1],ge[2])}return Y.apply(re,ge)}function Le(Y,re){for(var ge=-1,it=Array(Y);++ge-1}function N0(Y,re){var ge=this.__data__,it=ms(ge,Y);return it<0?(++this.size,ge.push([Y,re])):ge[it][1]=re,this}ia.prototype.clear=vf,ia.prototype.delete=D0,ia.prototype.get=bc,ia.prototype.has=yf,ia.prototype.set=N0;function il(Y){var re=-1,ge=Y==null?0:Y.length;for(this.clear();++re1?ge[Wt-1]:void 0,kt=Wt>2?ge[2]:void 0;for(Sn=Y.length>3&&typeof Sn=="function"?(Wt--,Sn):void 0,kt&&Ap(ge[0],ge[1],kt)&&(Sn=Wt<3?void 0:Sn,Wt=1),re=Object(re);++it-1&&Y%1==0&&Y0){if(++re>=i)return arguments[0]}else re=0;return Y.apply(void 0,arguments)}}function _c(Y){if(Y!=null){try{return Ye.call(Y)}catch{}try{return Y+""}catch{}}return""}function $a(Y,re){return Y===re||Y!==Y&&re!==re}var Cf=bu(function(){return arguments}())?bu:function(Y){return Kn(Y)&&Ke.call(Y,"callee")&&!Xe.call(Y,"callee")},wu=Array.isArray;function Yt(Y){return Y!=null&&Mp(Y.length)&&!Ec(Y)}function Op(Y){return Kn(Y)&&Yt(Y)}var kc=nn||K0;function Ec(Y){if(!la(Y))return!1;var re=al(Y);return re==v||re==b||re==u||re==T}function Mp(Y){return typeof Y=="number"&&Y>-1&&Y%1==0&&Y<=a}function la(Y){var re=typeof Y;return Y!=null&&(re=="object"||re=="function")}function Kn(Y){return Y!=null&&typeof Y=="object"}function _f(Y){if(!Kn(Y)||al(Y)!=_)return!1;var re=tn(Y);if(re===null)return!0;var ge=Ke.call(re,"constructor")&&re.constructor;return typeof ge=="function"&&ge instanceof ge&&Ye.call(ge)==Ct}var Ip=mt?lt(mt):xc;function kf(Y){return ui(Y,Rp(Y))}function Rp(Y){return Yt(Y)?G0(Y,!0):sl(Y)}var gn=vs(function(Y,re,ge,it){oa(Y,re,ge,it)});function Kt(Y){return function(){return Y}}function Dp(Y){return Y}function K0(){return!1}e.exports=gn})($ee,z4);const Wl=z4;function Us(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function xh(e,...t){return Fee(e)?e(...t):e}var Fee=e=>typeof e=="function",zee=e=>/!(important)?$/.test(e),gL=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,ZC=(e,t)=>n=>{const r=String(t),i=zee(r),o=gL(r),a=e?`${e}.${o}`:o;let s=Us(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=gL(s),i?`${s} !important`:s};function p2(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const s=ZC(t,o)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}var B3=(...e)=>t=>e.reduce((n,r)=>r(n),t);function As(e,t){return n=>{const r={property:n,scale:e};return r.transform=p2({scale:e,transform:t}),r}}var Hee=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Vee(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:Hee(t),transform:n?p2({scale:n,compose:r}):r}}var hj=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Wee(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...hj].join(" ")}function Uee(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...hj].join(" ")}var Gee={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},qee={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Yee(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Kee={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},pj="& > :not(style) ~ :not(style)",Xee={[pj]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},Zee={[pj]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},QC={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Qee=new Set(Object.values(QC)),gj=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Jee=e=>e.trim();function ete(e,t){var n;if(e==null||gj.has(e))return e;const r=/(?^[a-z-A-Z]+)\((?(.*))\)/g,{type:i,values:o}=((n=r.exec(e))==null?void 0:n.groups)??{};if(!i||!o)return e;const a=i.includes("-gradient")?i:`${i}-gradient`,[s,...l]=o.split(",").map(Jee).filter(Boolean);if((l==null?void 0:l.length)===0)return e;const u=s in QC?QC[s]:s;l.unshift(u);const d=l.map(h=>{if(Qee.has(h))return h;const m=h.indexOf(" "),[v,b]=m!==-1?[h.substr(0,m),h.substr(m+1)]:[h],S=mj(b)?b:b&&b.split(" "),k=`colors.${v}`,E=k in t.__cssMap?t.__cssMap[k].varRef:v;return S?[E,...Array.isArray(S)?S:[S]].join(" "):E});return`${a}(${d.join(", ")})`}var mj=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),tte=(e,t)=>ete(e,t??{});function nte(e){return/^var\(--.+\)$/.test(e)}var rte=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Tl=e=>t=>`${e}(${t})`,hn={filter(e){return e!=="auto"?e:Gee},backdropFilter(e){return e!=="auto"?e:qee},ring(e){return Yee(hn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Wee():e==="auto-gpu"?Uee():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=rte(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(nte(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:tte,blur:Tl("blur"),opacity:Tl("opacity"),brightness:Tl("brightness"),contrast:Tl("contrast"),dropShadow:Tl("drop-shadow"),grayscale:Tl("grayscale"),hueRotate:Tl("hue-rotate"),invert:Tl("invert"),saturate:Tl("saturate"),sepia:Tl("sepia"),bgImage(e){return e==null||mj(e)||gj.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Kee[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},se={borderWidths:As("borderWidths"),borderStyles:As("borderStyles"),colors:As("colors"),borders:As("borders"),radii:As("radii",hn.px),space:As("space",B3(hn.vh,hn.px)),spaceT:As("space",B3(hn.vh,hn.px)),degreeT(e){return{property:e,transform:hn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:p2({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:As("sizes",B3(hn.vh,hn.px)),sizesT:As("sizes",B3(hn.vh,hn.fraction)),shadows:As("shadows"),logical:Vee,blur:As("blur",hn.blur)},n4={background:se.colors("background"),backgroundColor:se.colors("backgroundColor"),backgroundImage:se.propT("backgroundImage",hn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:hn.bgClip},bgSize:se.prop("backgroundSize"),bgPosition:se.prop("backgroundPosition"),bg:se.colors("background"),bgColor:se.colors("backgroundColor"),bgPos:se.prop("backgroundPosition"),bgRepeat:se.prop("backgroundRepeat"),bgAttachment:se.prop("backgroundAttachment"),bgGradient:se.propT("backgroundImage",hn.gradient),bgClip:{transform:hn.bgClip}};Object.assign(n4,{bgImage:n4.backgroundImage,bgImg:n4.backgroundImage});var wn={border:se.borders("border"),borderWidth:se.borderWidths("borderWidth"),borderStyle:se.borderStyles("borderStyle"),borderColor:se.colors("borderColor"),borderRadius:se.radii("borderRadius"),borderTop:se.borders("borderTop"),borderBlockStart:se.borders("borderBlockStart"),borderTopLeftRadius:se.radii("borderTopLeftRadius"),borderStartStartRadius:se.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:se.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:se.radii("borderTopRightRadius"),borderStartEndRadius:se.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:se.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:se.borders("borderRight"),borderInlineEnd:se.borders("borderInlineEnd"),borderBottom:se.borders("borderBottom"),borderBlockEnd:se.borders("borderBlockEnd"),borderBottomLeftRadius:se.radii("borderBottomLeftRadius"),borderBottomRightRadius:se.radii("borderBottomRightRadius"),borderLeft:se.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:se.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:se.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:se.borders(["borderLeft","borderRight"]),borderInline:se.borders("borderInline"),borderY:se.borders(["borderTop","borderBottom"]),borderBlock:se.borders("borderBlock"),borderTopWidth:se.borderWidths("borderTopWidth"),borderBlockStartWidth:se.borderWidths("borderBlockStartWidth"),borderTopColor:se.colors("borderTopColor"),borderBlockStartColor:se.colors("borderBlockStartColor"),borderTopStyle:se.borderStyles("borderTopStyle"),borderBlockStartStyle:se.borderStyles("borderBlockStartStyle"),borderBottomWidth:se.borderWidths("borderBottomWidth"),borderBlockEndWidth:se.borderWidths("borderBlockEndWidth"),borderBottomColor:se.colors("borderBottomColor"),borderBlockEndColor:se.colors("borderBlockEndColor"),borderBottomStyle:se.borderStyles("borderBottomStyle"),borderBlockEndStyle:se.borderStyles("borderBlockEndStyle"),borderLeftWidth:se.borderWidths("borderLeftWidth"),borderInlineStartWidth:se.borderWidths("borderInlineStartWidth"),borderLeftColor:se.colors("borderLeftColor"),borderInlineStartColor:se.colors("borderInlineStartColor"),borderLeftStyle:se.borderStyles("borderLeftStyle"),borderInlineStartStyle:se.borderStyles("borderInlineStartStyle"),borderRightWidth:se.borderWidths("borderRightWidth"),borderInlineEndWidth:se.borderWidths("borderInlineEndWidth"),borderRightColor:se.colors("borderRightColor"),borderInlineEndColor:se.colors("borderInlineEndColor"),borderRightStyle:se.borderStyles("borderRightStyle"),borderInlineEndStyle:se.borderStyles("borderInlineEndStyle"),borderTopRadius:se.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:se.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:se.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:se.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(wn,{rounded:wn.borderRadius,roundedTop:wn.borderTopRadius,roundedTopLeft:wn.borderTopLeftRadius,roundedTopRight:wn.borderTopRightRadius,roundedTopStart:wn.borderStartStartRadius,roundedTopEnd:wn.borderStartEndRadius,roundedBottom:wn.borderBottomRadius,roundedBottomLeft:wn.borderBottomLeftRadius,roundedBottomRight:wn.borderBottomRightRadius,roundedBottomStart:wn.borderEndStartRadius,roundedBottomEnd:wn.borderEndEndRadius,roundedLeft:wn.borderLeftRadius,roundedRight:wn.borderRightRadius,roundedStart:wn.borderInlineStartRadius,roundedEnd:wn.borderInlineEndRadius,borderStart:wn.borderInlineStart,borderEnd:wn.borderInlineEnd,borderTopStartRadius:wn.borderStartStartRadius,borderTopEndRadius:wn.borderStartEndRadius,borderBottomStartRadius:wn.borderEndStartRadius,borderBottomEndRadius:wn.borderEndEndRadius,borderStartRadius:wn.borderInlineStartRadius,borderEndRadius:wn.borderInlineEndRadius,borderStartWidth:wn.borderInlineStartWidth,borderEndWidth:wn.borderInlineEndWidth,borderStartColor:wn.borderInlineStartColor,borderEndColor:wn.borderInlineEndColor,borderStartStyle:wn.borderInlineStartStyle,borderEndStyle:wn.borderInlineEndStyle});var ite={color:se.colors("color"),textColor:se.colors("color"),fill:se.colors("fill"),stroke:se.colors("stroke")},JC={boxShadow:se.shadows("boxShadow"),mixBlendMode:!0,blendMode:se.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:se.prop("backgroundBlendMode"),opacity:!0};Object.assign(JC,{shadow:JC.boxShadow});var ote={filter:{transform:hn.filter},blur:se.blur("--chakra-blur"),brightness:se.propT("--chakra-brightness",hn.brightness),contrast:se.propT("--chakra-contrast",hn.contrast),hueRotate:se.degreeT("--chakra-hue-rotate"),invert:se.propT("--chakra-invert",hn.invert),saturate:se.propT("--chakra-saturate",hn.saturate),dropShadow:se.propT("--chakra-drop-shadow",hn.dropShadow),backdropFilter:{transform:hn.backdropFilter},backdropBlur:se.blur("--chakra-backdrop-blur"),backdropBrightness:se.propT("--chakra-backdrop-brightness",hn.brightness),backdropContrast:se.propT("--chakra-backdrop-contrast",hn.contrast),backdropHueRotate:se.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:se.propT("--chakra-backdrop-invert",hn.invert),backdropSaturate:se.propT("--chakra-backdrop-saturate",hn.saturate)},H4={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:hn.flexDirection},experimental_spaceX:{static:Xee,transform:p2({scale:"space",transform:e=>e!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:Zee,transform:p2({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:se.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:se.space("gap"),rowGap:se.space("rowGap"),columnGap:se.space("columnGap")};Object.assign(H4,{flexDir:H4.flexDirection});var vj={gridGap:se.space("gridGap"),gridColumnGap:se.space("gridColumnGap"),gridRowGap:se.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},ate={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:hn.outline},outlineOffset:!0,outlineColor:se.colors("outlineColor")},Xa={width:se.sizesT("width"),inlineSize:se.sizesT("inlineSize"),height:se.sizes("height"),blockSize:se.sizes("blockSize"),boxSize:se.sizes(["width","height"]),minWidth:se.sizes("minWidth"),minInlineSize:se.sizes("minInlineSize"),minHeight:se.sizes("minHeight"),minBlockSize:se.sizes("minBlockSize"),maxWidth:se.sizes("maxWidth"),maxInlineSize:se.sizes("maxInlineSize"),maxHeight:se.sizes("maxHeight"),maxBlockSize:se.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:se.propT("float",hn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Xa,{w:Xa.width,h:Xa.height,minW:Xa.minWidth,maxW:Xa.maxWidth,minH:Xa.minHeight,maxH:Xa.maxHeight,overscroll:Xa.overscrollBehavior,overscrollX:Xa.overscrollBehaviorX,overscrollY:Xa.overscrollBehaviorY});var ste={listStyleType:!0,listStylePosition:!0,listStylePos:se.prop("listStylePosition"),listStyleImage:!0,listStyleImg:se.prop("listStyleImage")};function lte(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},cte=ute(lte),dte={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},fte={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Uw=(e,t,n)=>{const r={},i=cte(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},hte={srOnly:{transform(e){return e===!0?dte:e==="focusable"?fte:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Uw(t,e,n)}},Rv={position:!0,pos:se.prop("position"),zIndex:se.prop("zIndex","zIndices"),inset:se.spaceT("inset"),insetX:se.spaceT(["left","right"]),insetInline:se.spaceT("insetInline"),insetY:se.spaceT(["top","bottom"]),insetBlock:se.spaceT("insetBlock"),top:se.spaceT("top"),insetBlockStart:se.spaceT("insetBlockStart"),bottom:se.spaceT("bottom"),insetBlockEnd:se.spaceT("insetBlockEnd"),left:se.spaceT("left"),insetInlineStart:se.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:se.spaceT("right"),insetInlineEnd:se.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rv,{insetStart:Rv.insetInlineStart,insetEnd:Rv.insetInlineEnd});var pte={ring:{transform:hn.ring},ringColor:se.colors("--chakra-ring-color"),ringOffset:se.prop("--chakra-ring-offset-width"),ringOffsetColor:se.colors("--chakra-ring-offset-color"),ringInset:se.prop("--chakra-ring-inset")},ar={margin:se.spaceT("margin"),marginTop:se.spaceT("marginTop"),marginBlockStart:se.spaceT("marginBlockStart"),marginRight:se.spaceT("marginRight"),marginInlineEnd:se.spaceT("marginInlineEnd"),marginBottom:se.spaceT("marginBottom"),marginBlockEnd:se.spaceT("marginBlockEnd"),marginLeft:se.spaceT("marginLeft"),marginInlineStart:se.spaceT("marginInlineStart"),marginX:se.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:se.spaceT("marginInline"),marginY:se.spaceT(["marginTop","marginBottom"]),marginBlock:se.spaceT("marginBlock"),padding:se.space("padding"),paddingTop:se.space("paddingTop"),paddingBlockStart:se.space("paddingBlockStart"),paddingRight:se.space("paddingRight"),paddingBottom:se.space("paddingBottom"),paddingBlockEnd:se.space("paddingBlockEnd"),paddingLeft:se.space("paddingLeft"),paddingInlineStart:se.space("paddingInlineStart"),paddingInlineEnd:se.space("paddingInlineEnd"),paddingX:se.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:se.space("paddingInline"),paddingY:se.space(["paddingTop","paddingBottom"]),paddingBlock:se.space("paddingBlock")};Object.assign(ar,{m:ar.margin,mt:ar.marginTop,mr:ar.marginRight,me:ar.marginInlineEnd,marginEnd:ar.marginInlineEnd,mb:ar.marginBottom,ml:ar.marginLeft,ms:ar.marginInlineStart,marginStart:ar.marginInlineStart,mx:ar.marginX,my:ar.marginY,p:ar.padding,pt:ar.paddingTop,py:ar.paddingY,px:ar.paddingX,pb:ar.paddingBottom,pl:ar.paddingLeft,ps:ar.paddingInlineStart,paddingStart:ar.paddingInlineStart,pr:ar.paddingRight,pe:ar.paddingInlineEnd,paddingEnd:ar.paddingInlineEnd});var gte={textDecorationColor:se.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:se.shadows("textShadow")},mte={clipPath:!0,transform:se.propT("transform",hn.transform),transformOrigin:!0,translateX:se.spaceT("--chakra-translate-x"),translateY:se.spaceT("--chakra-translate-y"),skewX:se.degreeT("--chakra-skew-x"),skewY:se.degreeT("--chakra-skew-y"),scaleX:se.prop("--chakra-scale-x"),scaleY:se.prop("--chakra-scale-y"),scale:se.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:se.degreeT("--chakra-rotate")},vte={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:se.prop("transitionDuration","transition.duration"),transitionProperty:se.prop("transitionProperty","transition.property"),transitionTimingFunction:se.prop("transitionTimingFunction","transition.easing")},yte={fontFamily:se.prop("fontFamily","fonts"),fontSize:se.prop("fontSize","fontSizes",hn.px),fontWeight:se.prop("fontWeight","fontWeights"),lineHeight:se.prop("lineHeight","lineHeights"),letterSpacing:se.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},bte={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:se.spaceT("scrollMargin"),scrollMarginTop:se.spaceT("scrollMarginTop"),scrollMarginBottom:se.spaceT("scrollMarginBottom"),scrollMarginLeft:se.spaceT("scrollMarginLeft"),scrollMarginRight:se.spaceT("scrollMarginRight"),scrollMarginX:se.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:se.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:se.spaceT("scrollPadding"),scrollPaddingTop:se.spaceT("scrollPaddingTop"),scrollPaddingBottom:se.spaceT("scrollPaddingBottom"),scrollPaddingLeft:se.spaceT("scrollPaddingLeft"),scrollPaddingRight:se.spaceT("scrollPaddingRight"),scrollPaddingX:se.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:se.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function yj(e){return Us(e)&&e.reference?e.reference:String(e)}var mS=(e,...t)=>t.map(yj).join(` ${e} `).replace(/calc/g,""),mL=(...e)=>`calc(${mS("+",...e)})`,vL=(...e)=>`calc(${mS("-",...e)})`,e7=(...e)=>`calc(${mS("*",...e)})`,yL=(...e)=>`calc(${mS("/",...e)})`,bL=e=>{const t=yj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:e7(t,-1)},yh=Object.assign(e=>({add:(...t)=>yh(mL(e,...t)),subtract:(...t)=>yh(vL(e,...t)),multiply:(...t)=>yh(e7(e,...t)),divide:(...t)=>yh(yL(e,...t)),negate:()=>yh(bL(e)),toString:()=>e.toString()}),{add:mL,subtract:vL,multiply:e7,divide:yL,negate:bL});function Ste(e,t="-"){return e.replace(/\s+/g,t)}function xte(e){const t=Ste(e.toString());return Cte(wte(t))}function wte(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Cte(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function _te(e,t=""){return[t,e].filter(Boolean).join("-")}function kte(e,t){return`var(${e}${t?`, ${t}`:""})`}function Ete(e,t=""){return xte(`--${_te(e,t)}`)}function Hn(e,t,n){const r=Ete(e,n);return{variable:r,reference:kte(r,t)}}function Pte(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function Tte(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function t7(e){if(e==null)return e;const{unitless:t}=Tte(e);return t||typeof e=="number"?`${e}px`:e}var bj=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,v_=e=>Object.fromEntries(Object.entries(e).sort(bj));function SL(e){const t=v_(e);return Object.assign(Object.values(t),t)}function Lte(e){const t=Object.keys(v_(e));return new Set(t)}function xL(e){if(!e)return e;e=t7(e)??e;const t=e.endsWith("px")?-1:-.0625;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function mv(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${t7(e)})`),t&&n.push("and",`(max-width: ${t7(t)})`),n.join(" ")}function Ate(e){if(!e)return null;e.base=e.base??"0px";const t=SL(e),n=Object.entries(e).sort(bj).map(([o,a],s,l)=>{let[,u]=l[s+1]??[];return u=parseFloat(u)>0?xL(u):void 0,{_minW:xL(a),breakpoint:o,minW:a,maxW:u,maxWQuery:mv(null,u),minWQuery:mv(a),minMaxQuery:mv(a,u)}}),r=Lte(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(s=>r.has(s))},asObject:v_(e),asArray:SL(e),details:n,media:[null,...t.map(o=>mv(o)).slice(1)],toArrayValue(o){if(!Us(o))throw new Error("toArrayValue: value must be an object");const a=i.map(s=>o[s]??null);for(;Pte(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,s,l)=>{const u=i[l];return u!=null&&s!=null&&(a[u]=s),a},{})}}}var Fi={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},id=e=>Sj(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Nu=e=>Sj(t=>e(t,"~ &"),"[data-peer]",".peer"),Sj=(e,...t)=>t.map(e).join(", "),vS={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:id(Fi.hover),_peerHover:Nu(Fi.hover),_groupFocus:id(Fi.focus),_peerFocus:Nu(Fi.focus),_groupFocusVisible:id(Fi.focusVisible),_peerFocusVisible:Nu(Fi.focusVisible),_groupActive:id(Fi.active),_peerActive:Nu(Fi.active),_groupDisabled:id(Fi.disabled),_peerDisabled:Nu(Fi.disabled),_groupInvalid:id(Fi.invalid),_peerInvalid:Nu(Fi.invalid),_groupChecked:id(Fi.checked),_peerChecked:Nu(Fi.checked),_groupFocusWithin:id(Fi.focusWithin),_peerFocusWithin:Nu(Fi.focusWithin),_peerPlaceholderShown:Nu(Fi.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Ote=Object.keys(vS);function wL(e,t){return Hn(String(e).replace(/\./g,"-"),void 0,t)}function Mte(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:u}=wL(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const m=i.split("."),[v,...b]=m,S=`${v}.-${b.join(".")}`,k=yh.negate(s),E=yh.negate(u);r[S]={value:k,var:l,varRef:E}}n[l]=s,r[i]={value:s,var:l,varRef:u};continue}const d=m=>{const b=[String(i).split(".")[0],m].join(".");if(!e[b])return m;const{reference:k}=wL(b,t==null?void 0:t.cssVarPrefix);return k},h=Us(s)?s:{default:s};n=Wl(n,Object.entries(h).reduce((m,[v,b])=>{var S;const k=d(b);if(v==="default")return m[l]=k,m;const E=((S=vS)==null?void 0:S[v])??v;return m[E]={[l]:k},m},{})),r[i]={value:u,var:l,varRef:u}}return{cssVars:n,cssMap:r}}function Ite(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Rte(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var Dte=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Nte(e){return Rte(e,Dte)}function jte(e){return e.semanticTokens}function Bte(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function $te({tokens:e,semanticTokens:t}){const n=Object.entries(n7(e)??{}).map(([i,o])=>[i,{isSemantic:!1,value:o}]),r=Object.entries(n7(t,1)??{}).map(([i,o])=>[i,{isSemantic:!0,value:o}]);return Object.fromEntries([...n,...r])}function n7(e,t=1/0){return!Us(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(Us(i)||Array.isArray(i)?Object.entries(n7(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function Fte(e){var t;const n=Bte(e),r=Nte(n),i=jte(n),o=$te({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=Mte(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:Ate(n.breakpoints)}),n}var y_=Wl({},n4,wn,ite,H4,Xa,ote,pte,ate,vj,hte,Rv,JC,ar,bte,yte,gte,mte,ste,vte),zte=Object.assign({},ar,Xa,H4,vj,Rv),Hte=Object.keys(zte),Vte=[...Object.keys(y_),...Ote],Wte={...y_,...vS},Ute=e=>e in Wte,Gte=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=xh(e[a],t);if(s==null)continue;if(s=Us(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let u=0;ue.startsWith("--")&&typeof t=="string"&&!Yte(t),Xte=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[i,o]=qte(t);return t=n(i)??r(o)??r(t),t};function Zte(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var s;const l=xh(o,r),u=Gte(l)(r);let d={};for(let h in u){const m=u[h];let v=xh(m,r);h in n&&(h=n[h]),Kte(h,v)&&(v=Xte(r,v));let b=t[h];if(b===!0&&(b={property:h}),Us(v)){d[h]=d[h]??{},d[h]=Wl({},d[h],i(v,!0));continue}let S=((s=b==null?void 0:b.transform)==null?void 0:s.call(b,v,r,l))??v;S=b!=null&&b.processResult?i(S,!0):S;const k=xh(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const E=xh(b.static,r);d=Wl({},d,E)}if(k&&Array.isArray(k)){for(const E of k)d[E]=S;continue}if(k){k==="&"&&Us(S)?d=Wl({},d,S):d[k]=S;continue}if(Us(S)){d=Wl({},d,S);continue}d[h]=S}return d};return i}var xj=e=>t=>Zte({theme:t,pseudos:vS,configs:y_})(e);function hr(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function Qte(e,t){if(Array.isArray(e))return e;if(Us(e))return t(e);if(e!=null)return[e]}function Jte(e,t){for(let n=t+1;n{Wl(u,{[T]:m?_[T]:{[E]:_[T]}})});continue}if(!v){m?Wl(u,_):u[E]=_;continue}u[E]=_}}return u}}function tne(e){return t=>{const{variant:n,size:r,theme:i}=t,o=ene(i);return Wl({},xh(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function nne(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function En(e){return Ite(e,["styleConfig","size","variant","colorScheme"])}function rne(e){if(e.sheet)return e.sheet;for(var t=0;t0?Wi(f0,--na):0,zm--,ii===10&&(zm=1,bS--),ii}function Pa(){return ii=na2||m2(ii)>3?"":" "}function gne(e,t){for(;--t&&Pa()&&!(ii<48||ii>102||ii>57&&ii<65||ii>70&&ii<97););return fy(e,r4()+(t<6&&Yl()==32&&Pa()==32))}function i7(e){for(;Pa();)switch(ii){case e:return na;case 34:case 39:e!==34&&e!==39&&i7(ii);break;case 40:e===41&&i7(e);break;case 92:Pa();break}return na}function mne(e,t){for(;Pa()&&e+ii!==47+10;)if(e+ii===42+42&&Yl()===47)break;return"/*"+fy(t,na-1)+"*"+yS(e===47?e:Pa())}function vne(e){for(;!m2(Yl());)Pa();return fy(e,na)}function yne(e){return Pj(o4("",null,null,null,[""],e=Ej(e),0,[0],e))}function o4(e,t,n,r,i,o,a,s,l){for(var u=0,d=0,h=a,m=0,v=0,b=0,S=1,k=1,E=1,_=0,T="",A=i,I=o,R=r,D=T;k;)switch(b=_,_=Pa()){case 40:if(b!=108&&Wi(D,h-1)==58){r7(D+=An(i4(_),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:D+=i4(_);break;case 9:case 10:case 13:case 32:D+=pne(b);break;case 92:D+=gne(r4()-1,7);continue;case 47:switch(Yl()){case 42:case 47:$3(bne(mne(Pa(),r4()),t,n),l);break;default:D+="/"}break;case 123*S:s[u++]=Bl(D)*E;case 125*S:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+d:v>0&&Bl(D)-h&&$3(v>32?_L(D+";",r,n,h-1):_L(An(D," ","")+";",r,n,h-2),l);break;case 59:D+=";";default:if($3(R=CL(D,t,n,u,d,i,s,T,A=[],I=[],h),o),_===123)if(d===0)o4(D,t,R,R,A,o,h,s,I);else switch(m===99&&Wi(D,3)===110?100:m){case 100:case 109:case 115:o4(e,R,R,r&&$3(CL(e,R,R,0,0,i,s,T,i,A=[],h),I),i,I,h,s,r?A:I);break;default:o4(D,R,R,R,[""],I,0,s,I)}}u=d=v=0,S=E=1,T=D="",h=a;break;case 58:h=1+Bl(D),v=b;default:if(S<1){if(_==123)--S;else if(_==125&&S++==0&&hne()==125)continue}switch(D+=yS(_),_*S){case 38:E=d>0?1:(D+="\f",-1);break;case 44:s[u++]=(Bl(D)-1)*E,E=1;break;case 64:Yl()===45&&(D+=i4(Pa())),m=Yl(),d=h=Bl(T=D+=vne(r4())),_++;break;case 45:b===45&&Bl(D)==2&&(S=0)}}return o}function CL(e,t,n,r,i,o,a,s,l,u,d){for(var h=i-1,m=i===0?o:[""],v=x_(m),b=0,S=0,k=0;b0?m[E]+" "+_:An(_,/&\f/g,m[E])))&&(l[k++]=T);return SS(e,t,n,i===0?b_:s,l,u,d)}function bne(e,t,n){return SS(e,t,n,wj,yS(fne()),g2(e,2,-2),0)}function _L(e,t,n,r){return SS(e,t,n,S_,g2(e,0,r),g2(e,r+1,-1),r)}function hm(e,t){for(var n="",r=x_(e),i=0;i6)switch(Wi(e,t+1)){case 109:if(Wi(e,t+4)!==45)break;case 102:return An(e,/(.+:)(.+)-([^]+)/,"$1"+Cn+"$2-$3$1"+V4+(Wi(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r7(e,"stretch")?Lj(An(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wi(e,t+1)!==115)break;case 6444:switch(Wi(e,Bl(e)-3-(~r7(e,"!important")&&10))){case 107:return An(e,":",":"+Cn)+e;case 101:return An(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Cn+(Wi(e,14)===45?"inline-":"")+"box$3$1"+Cn+"$2$3$1"+eo+"$2box$3")+e}break;case 5936:switch(Wi(e,t+11)){case 114:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Cn+e+eo+e+e}return e}var Tne=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S_:t.return=Lj(t.value,t.length);break;case Cj:return hm([F1(t,{value:An(t.value,"@","@"+Cn)})],i);case b_:if(t.length)return dne(t.props,function(o){switch(cne(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hm([F1(t,{props:[An(o,/:(read-\w+)/,":"+V4+"$1")]})],i);case"::placeholder":return hm([F1(t,{props:[An(o,/:(plac\w+)/,":"+Cn+"input-$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,":"+V4+"$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,eo+"input-$1")]})],i)}return""})}},Lne=[Tne],Aj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var k=S.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var i=t.stylisPlugins||Lne,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var k=S.getAttribute("data-emotion").split(" "),E=1;E=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zne={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hne=/[A-Z]|^ms/g,Vne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nj=function(t){return t.charCodeAt(1)===45},PL=function(t){return t!=null&&typeof t!="boolean"},Gw=Tj(function(e){return Nj(e)?e:e.replace(Hne,"-$&").toLowerCase()}),TL=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vne,function(r,i,o){return $l={name:i,styles:o,next:$l},i})}return zne[t]!==1&&!Nj(t)&&typeof n=="number"&&n!==0?n+"px":n};function v2(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return $l={name:n.name,styles:n.styles,next:$l},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)$l={name:r.name,styles:r.styles,next:$l},r=r.next;var i=n.styles+";";return i}return Wne(e,t,n)}case"function":{if(e!==void 0){var o=$l,a=n(e);return $l=o,v2(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Wne(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i{t.includes(r)||(n[r]=e[r])}),n}function sre(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},Vj=lre(sre);function Wj(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var Uj=e=>Wj(e,t=>t!=null);function ure(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var cre=ure();function Gj(e,...t){return ore(e)?e(...t):e}function dre(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function fre(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=w.createContext(void 0);i.displayName=r;function o(){var a;const s=w.useContext(i);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,o),l}return s}return[i.Provider,o,i]}var hre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pre=Tj(function(e){return hre.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gre=pre,mre=function(t){return t!=="theme"},ML=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gre:mre},IL=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},vre=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Rj(n,r,i),Gne(function(){return Dj(n,r,i)}),null},yre=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=IL(t,n,r),l=s||ML(i),u=!l("as");return function(){var d=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,v=1;v[h,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([h,m])=>[h,m.className]))}function l(d){const v=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:v,selector:`.${v}`,toString:()=>d}}return{parts:i,toPart:l,extend:o,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var Sre=On("accordion").parts("root","container","button","panel").extend("icon"),xre=On("alert").parts("title","description","container").extend("icon","spinner"),wre=On("avatar").parts("label","badge","container").extend("excessLabel","group"),Cre=On("breadcrumb").parts("link","item","container").extend("separator");On("button").parts();var _re=On("checkbox").parts("control","icon","container").extend("label");On("progress").parts("track","filledTrack").extend("label");var kre=On("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ere=On("editable").parts("preview","input","textarea"),Pre=On("form").parts("container","requiredIndicator","helperText"),Tre=On("formError").parts("text","icon"),Lre=On("input").parts("addon","field","element"),Are=On("list").parts("container","item","icon"),Ore=On("menu").parts("button","list","item").extend("groupTitle","command","divider"),Mre=On("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ire=On("numberinput").parts("root","field","stepperGroup","stepper");On("pininput").parts("field");var Rre=On("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Dre=On("progress").parts("label","filledTrack","track"),Nre=On("radio").parts("container","control","label"),jre=On("select").parts("field","icon"),Bre=On("slider").parts("container","track","thumb","filledTrack","mark"),$re=On("stat").parts("container","label","helpText","number","icon"),Fre=On("switch").parts("container","track","thumb"),zre=On("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Hre=On("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Vre=On("tag").parts("container","label","closeButton"),Wre=On("card").parts("container","header","body","footer");function Ui(e,t){Ure(e)&&(e="100%");var n=Gre(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function F3(e){return Math.min(1,Math.max(0,e))}function Ure(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Gre(e){return typeof e=="string"&&e.indexOf("%")!==-1}function qj(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function z3(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wh(e){return e.length===1?"0"+e:String(e)}function qre(e,t,n){return{r:Ui(e,255)*255,g:Ui(t,255)*255,b:Ui(n,255)*255}}function RL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Yre(e,t,n){var r,i,o;if(e=Ui(e,360),t=Ui(t,100),n=Ui(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=qw(s,a,e+1/3),i=qw(s,a,e),o=qw(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function DL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,l=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var u7={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Jre(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=nie(e)),typeof e=="object"&&(ju(e.r)&&ju(e.g)&&ju(e.b)?(t=qre(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ju(e.h)&&ju(e.s)&&ju(e.v)?(r=z3(e.s),i=z3(e.v),t=Kre(e.h,r,i),a=!0,s="hsv"):ju(e.h)&&ju(e.s)&&ju(e.l)&&(r=z3(e.s),o=z3(e.l),t=Yre(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=qj(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var eie="[-\\+]?\\d+%?",tie="[-\\+]?\\d*\\.\\d+%?",xd="(?:".concat(tie,")|(?:").concat(eie,")"),Yw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Kw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Ds={CSS_UNIT:new RegExp(xd),rgb:new RegExp("rgb"+Yw),rgba:new RegExp("rgba"+Kw),hsl:new RegExp("hsl"+Yw),hsla:new RegExp("hsla"+Kw),hsv:new RegExp("hsv"+Yw),hsva:new RegExp("hsva"+Kw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nie(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(u7[e])e=u7[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ds.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ds.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ds.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ds.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ds.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ds.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ds.hex8.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),a:jL(n[4]),format:t?"name":"hex8"}:(n=Ds.hex6.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),format:t?"name":"hex"}:(n=Ds.hex4.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),a:jL(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ds.hex3.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ju(e){return Boolean(Ds.CSS_UNIT.exec(String(e)))}var hy=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Qre(t)),this.originalInput=t;var i=Jre(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=qj(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=DL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=DL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=RL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=RL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NL(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Xre(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ui(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ui(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NL(this.r,this.g,this.b,!1),n=0,r=Object.entries(u7);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=F3(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=F3(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=F3(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=F3(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;an.length;)e.count=null,e.seed&&(e.seed+=1),n.push(Yj(e));return e.count=t,n}var r=rie(e.hue,e.seed),i=iie(r,e),o=oie(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new hy(a)}function rie(e,t){var n=sie(e),r=W4(n,t);return r<0&&(r=360+r),r}function iie(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return W4([0,100],t.seed);var n=Kj(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return W4([r,i],t.seed)}function oie(e,t,n){var r=aie(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return W4([r,i],n.seed)}function aie(e,t){for(var n=Kj(e).lowerBounds,r=0;r=i&&t<=a){var l=(s-o)/(a-i),u=o-l*i;return l*t+u}}return 0}function sie(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Zj.find(function(a){return a.name===e});if(n){var r=Xj(n);if(r.hueRange)return r.hueRange}var i=new hy(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Kj(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Zj;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function W4(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function Xj(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Zj=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];function lie(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;rObject.keys(e).length===0,_o=(e,t,n)=>{const r=lie(e,`colors.${t}`,t),{isValid:i}=new hy(r);return i?r:n},cie=e=>t=>{const n=_o(t,e);return new hy(n).isDark()?"dark":"light"},die=e=>t=>cie(e)(t)==="dark",Hm=(e,t)=>n=>{const r=_o(n,e);return new hy(r).setAlpha(t).toRgbString()};function BL(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( - 45deg, - ${t} 25%, - transparent 25%, - transparent 50%, - ${t} 50%, - ${t} 75%, - transparent 75%, - transparent - )`,backgroundSize:`${e} ${e}`}}function fie(e){const t=Yj().toHexString();return!e||uie(e)?t:e.string&&e.colors?pie(e.string,e.colors):e.string&&!e.colors?hie(e.string):e.colors&&!e.string?gie(e.colors):t}function hie(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r>r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function pie(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;rn.colorMode==="dark"?t:e}function P_(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function mie(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Qj(e){return mie(e)&&e.reference?e.reference:String(e)}var IS=(e,...t)=>t.map(Qj).join(` ${e} `).replace(/calc/g,""),$L=(...e)=>`calc(${IS("+",...e)})`,FL=(...e)=>`calc(${IS("-",...e)})`,c7=(...e)=>`calc(${IS("*",...e)})`,zL=(...e)=>`calc(${IS("/",...e)})`,HL=e=>{const t=Qj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:c7(t,-1)},Vu=Object.assign(e=>({add:(...t)=>Vu($L(e,...t)),subtract:(...t)=>Vu(FL(e,...t)),multiply:(...t)=>Vu(c7(e,...t)),divide:(...t)=>Vu(zL(e,...t)),negate:()=>Vu(HL(e)),toString:()=>e.toString()}),{add:$L,subtract:FL,multiply:c7,divide:zL,negate:HL});function vie(e){return!Number.isInteger(parseFloat(e.toString()))}function yie(e,t="-"){return e.replace(/\s+/g,t)}function Jj(e){const t=yie(e.toString());return t.includes("\\.")?e:vie(e)?t.replace(".","\\."):e}function bie(e,t=""){return[t,Jj(e)].filter(Boolean).join("-")}function Sie(e,t){return`var(${Jj(e)}${t?`, ${t}`:""})`}function xie(e,t=""){return`--${bie(e,t)}`}function yi(e,t){const n=xie(e,t==null?void 0:t.prefix);return{variable:n,reference:Sie(n,wie(t==null?void 0:t.fallback))}}function wie(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{definePartsStyle:Cie,defineMultiStyleConfig:_ie}=hr(Sre.keys),kie={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},Eie={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},Pie={pt:"2",px:"4",pb:"5"},Tie={fontSize:"1.25em"},Lie=Cie({container:kie,button:Eie,panel:Pie,icon:Tie}),Aie=_ie({baseStyle:Lie}),{definePartsStyle:py,defineMultiStyleConfig:Oie}=hr(xre.keys),Ta=Hn("alert-fg"),Qu=Hn("alert-bg"),Mie=py({container:{bg:Qu.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function T_(e){const{theme:t,colorScheme:n}=e,r=Hm(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}var Iie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark}}}}),Rie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ta.reference}}}),Die=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ta.reference}}}),Nie=py(e=>{const{colorScheme:t}=e;return{container:{[Ta.variable]:"colors.white",[Qu.variable]:`colors.${t}.500`,_dark:{[Ta.variable]:"colors.gray.900",[Qu.variable]:`colors.${t}.200`},color:Ta.reference}}}),jie={subtle:Iie,"left-accent":Rie,"top-accent":Die,solid:Nie},Bie=Oie({baseStyle:Mie,variants:jie,defaultProps:{variant:"subtle",colorScheme:"blue"}}),eB={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},$ie={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},Fie={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},zie={...eB,...$ie,container:Fie},tB=zie,Hie=e=>typeof e=="function";function Po(e,...t){return Hie(e)?e(...t):e}var{definePartsStyle:nB,defineMultiStyleConfig:Vie}=hr(wre.keys),pm=Hn("avatar-border-color"),Xw=Hn("avatar-bg"),Wie={borderRadius:"full",border:"0.2em solid",[pm.variable]:"white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference},Uie={[Xw.variable]:"colors.gray.200",_dark:{[Xw.variable]:"colors.whiteAlpha.400"},bgColor:Xw.reference},VL=Hn("avatar-background"),Gie=e=>{const{name:t,theme:n}=e,r=t?fie({string:t}):"colors.gray.400",i=die(r)(n);let o="white";return i||(o="gray.800"),{bg:VL.reference,"&:not([data-loaded])":{[VL.variable]:r},color:o,[pm.variable]:"colors.white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference,verticalAlign:"top"}},qie=nB(e=>({badge:Po(Wie,e),excessLabel:Po(Uie,e),container:Po(Gie,e)}));function od(e){const t=e!=="100%"?tB[e]:void 0;return nB({container:{width:e,height:e,fontSize:`calc(${t??e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${t??e} / 2.5)`,lineHeight:e!=="100%"?t??e:void 0}})}var Yie={"2xs":od(4),xs:od(6),sm:od(8),md:od(12),lg:od(16),xl:od(24),"2xl":od(32),full:od("100%")},Kie=Vie({baseStyle:qie,sizes:Yie,defaultProps:{size:"md"}}),Xie={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},gm=Hn("badge-bg"),Ul=Hn("badge-color"),Zie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.500`,.6)(n);return{[gm.variable]:`colors.${t}.500`,[Ul.variable]:"colors.white",_dark:{[gm.variable]:r,[Ul.variable]:"colors.whiteAlpha.800"},bg:gm.reference,color:Ul.reference}},Qie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.16)(n);return{[gm.variable]:`colors.${t}.100`,[Ul.variable]:`colors.${t}.800`,_dark:{[gm.variable]:r,[Ul.variable]:`colors.${t}.200`},bg:gm.reference,color:Ul.reference}},Jie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.8)(n);return{[Ul.variable]:`colors.${t}.500`,_dark:{[Ul.variable]:r},color:Ul.reference,boxShadow:`inset 0 0 0px 1px ${Ul.reference}`}},eoe={solid:Zie,subtle:Qie,outline:Jie},Nv={baseStyle:Xie,variants:eoe,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:toe,definePartsStyle:noe}=hr(Cre.keys),roe={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},ioe=noe({link:roe}),ooe=toe({baseStyle:ioe}),aoe={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},rB=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:Et("inherit","whiteAlpha.900")(e),_hover:{bg:Et("gray.100","whiteAlpha.200")(e)},_active:{bg:Et("gray.200","whiteAlpha.300")(e)}};const r=Hm(`${t}.200`,.12)(n),i=Hm(`${t}.200`,.24)(n);return{color:Et(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Et(`${t}.50`,r)(e)},_active:{bg:Et(`${t}.100`,i)(e)}}},soe=e=>{const{colorScheme:t}=e,n=Et("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached] > &:not(:last-of-type)":{marginEnd:"-1px"},...Po(rB,e)}},loe={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},uoe=e=>{const{colorScheme:t}=e;if(t==="gray"){const s=Et("gray.100","whiteAlpha.200")(e);return{bg:s,_hover:{bg:Et("gray.200","whiteAlpha.300")(e),_disabled:{bg:s}},_active:{bg:Et("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:i=`${t}.600`,activeBg:o=`${t}.700`}=loe[t]??{},a=Et(n,`${t}.200`)(e);return{bg:a,color:Et(r,"gray.800")(e),_hover:{bg:Et(i,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Et(o,`${t}.400`)(e)}}},coe=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Et(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Et(`${t}.700`,`${t}.500`)(e)}}},doe={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},foe={ghost:rB,outline:soe,solid:uoe,link:coe,unstyled:doe},hoe={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},poe={baseStyle:aoe,variants:foe,sizes:hoe,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Ah,defineMultiStyleConfig:goe}=hr(Wre.keys),U4=Hn("card-bg"),mm=Hn("card-padding"),moe=Ah({container:{[U4.variable]:"chakra-body-bg",backgroundColor:U4.reference,color:"chakra-body-text"},body:{padding:mm.reference,flex:"1 1 0%"},header:{padding:mm.reference},footer:{padding:mm.reference}}),voe={sm:Ah({container:{borderRadius:"base",[mm.variable]:"space.3"}}),md:Ah({container:{borderRadius:"md",[mm.variable]:"space.5"}}),lg:Ah({container:{borderRadius:"xl",[mm.variable]:"space.7"}})},yoe={elevated:Ah({container:{boxShadow:"base",_dark:{[U4.variable]:"colors.gray.700"}}}),outline:Ah({container:{borderWidth:"1px",borderColor:"chakra-border-color"}}),filled:Ah({container:{[U4.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{padding:0},header:{padding:0},footer:{padding:0}}},boe=goe({baseStyle:moe,variants:yoe,sizes:voe,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:a4,defineMultiStyleConfig:Soe}=hr(_re.keys),jv=Hn("checkbox-size"),xoe=e=>{const{colorScheme:t}=e;return{w:jv.reference,h:jv.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e),_hover:{bg:Et(`${t}.600`,`${t}.300`)(e),borderColor:Et(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Et("gray.200","transparent")(e),bg:Et("gray.200","whiteAlpha.300")(e),color:Et("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e)},_disabled:{bg:Et("gray.100","whiteAlpha.100")(e),borderColor:Et("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Et("red.500","red.300")(e)}}},woe={_disabled:{cursor:"not-allowed"}},Coe={userSelect:"none",_disabled:{opacity:.4}},_oe={transitionProperty:"transform",transitionDuration:"normal"},koe=a4(e=>({icon:_oe,container:woe,control:Po(xoe,e),label:Coe})),Eoe={sm:a4({control:{[jv.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:a4({control:{[jv.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:a4({control:{[jv.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},G4=Soe({baseStyle:koe,sizes:Eoe,defaultProps:{size:"md",colorScheme:"blue"}}),Bv=yi("close-button-size"),z1=yi("close-button-bg"),Poe={w:[Bv.reference],h:[Bv.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[z1.variable]:"colors.blackAlpha.100",_dark:{[z1.variable]:"colors.whiteAlpha.100"}},_active:{[z1.variable]:"colors.blackAlpha.200",_dark:{[z1.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:z1.reference},Toe={lg:{[Bv.variable]:"sizes.10",fontSize:"md"},md:{[Bv.variable]:"sizes.8",fontSize:"xs"},sm:{[Bv.variable]:"sizes.6",fontSize:"2xs"}},Loe={baseStyle:Poe,sizes:Toe,defaultProps:{size:"md"}},{variants:Aoe,defaultProps:Ooe}=Nv,Moe={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},Ioe={baseStyle:Moe,variants:Aoe,defaultProps:Ooe},Roe={w:"100%",mx:"auto",maxW:"prose",px:"4"},Doe={baseStyle:Roe},Noe={opacity:.6,borderColor:"inherit"},joe={borderStyle:"solid"},Boe={borderStyle:"dashed"},$oe={solid:joe,dashed:Boe},Foe={baseStyle:Noe,variants:$oe,defaultProps:{variant:"solid"}},{definePartsStyle:d7,defineMultiStyleConfig:zoe}=hr(kre.keys),Zw=Hn("drawer-bg"),Qw=Hn("drawer-box-shadow");function xg(e){return d7(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var Hoe={bg:"blackAlpha.600",zIndex:"overlay"},Voe={display:"flex",zIndex:"modal",justifyContent:"center"},Woe=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Zw.variable]:"colors.white",[Qw.variable]:"shadows.lg",_dark:{[Zw.variable]:"colors.gray.700",[Qw.variable]:"shadows.dark-lg"},bg:Zw.reference,boxShadow:Qw.reference}},Uoe={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Goe={position:"absolute",top:"2",insetEnd:"3"},qoe={px:"6",py:"2",flex:"1",overflow:"auto"},Yoe={px:"6",py:"4"},Koe=d7(e=>({overlay:Hoe,dialogContainer:Voe,dialog:Po(Woe,e),header:Uoe,closeButton:Goe,body:qoe,footer:Yoe})),Xoe={xs:xg("xs"),sm:xg("md"),md:xg("lg"),lg:xg("2xl"),xl:xg("4xl"),full:xg("full")},Zoe=zoe({baseStyle:Koe,sizes:Xoe,defaultProps:{size:"xs"}}),{definePartsStyle:Qoe,defineMultiStyleConfig:Joe}=hr(Ere.keys),eae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},tae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},nae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},rae=Qoe({preview:eae,input:tae,textarea:nae}),iae=Joe({baseStyle:rae}),{definePartsStyle:oae,defineMultiStyleConfig:aae}=hr(Pre.keys),vm=Hn("form-control-color"),sae={marginStart:"1",[vm.variable]:"colors.red.500",_dark:{[vm.variable]:"colors.red.300"},color:vm.reference},lae={mt:"2",[vm.variable]:"colors.gray.600",_dark:{[vm.variable]:"colors.whiteAlpha.600"},color:vm.reference,lineHeight:"normal",fontSize:"sm"},uae=oae({container:{width:"100%",position:"relative"},requiredIndicator:sae,helperText:lae}),cae=aae({baseStyle:uae}),{definePartsStyle:dae,defineMultiStyleConfig:fae}=hr(Tre.keys),ym=Hn("form-error-color"),hae={[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},pae={marginEnd:"0.5em",[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference},gae=dae({text:hae,icon:pae}),mae=fae({baseStyle:gae}),vae={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},yae={baseStyle:vae},bae={fontFamily:"heading",fontWeight:"bold"},Sae={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},xae={baseStyle:bae,sizes:Sae,defaultProps:{size:"xl"}},{definePartsStyle:Wu,defineMultiStyleConfig:wae}=hr(Lre.keys),Cae=Wu({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),ad={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}},_ae={lg:Wu({field:ad.lg,addon:ad.lg}),md:Wu({field:ad.md,addon:ad.md}),sm:Wu({field:ad.sm,addon:ad.sm}),xs:Wu({field:ad.xs,addon:ad.xs})};function L_(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Et("blue.500","blue.300")(e),errorBorderColor:n||Et("red.500","red.300")(e)}}var kae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Et("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r),boxShadow:`0 0 0 1px ${_o(t,r)}`},_focusVisible:{zIndex:1,borderColor:_o(t,n),boxShadow:`0 0 0 1px ${_o(t,n)}`}},addon:{border:"1px solid",borderColor:Et("inherit","whiteAlpha.50")(e),bg:Et("gray.100","whiteAlpha.300")(e)}}}),Eae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e),_hover:{bg:Et("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r)},_focusVisible:{bg:"transparent",borderColor:_o(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e)}}}),Pae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r),boxShadow:`0px 1px 0px 0px ${_o(t,r)}`},_focusVisible:{borderColor:_o(t,n),boxShadow:`0px 1px 0px 0px ${_o(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Tae=Wu({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),Lae={outline:kae,filled:Eae,flushed:Pae,unstyled:Tae},_n=wae({baseStyle:Cae,sizes:_ae,variants:Lae,defaultProps:{size:"md",variant:"outline"}}),Jw=Hn("kbd-bg"),Aae={[Jw.variable]:"colors.gray.100",_dark:{[Jw.variable]:"colors.whiteAlpha.100"},bg:Jw.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},Oae={baseStyle:Aae},Mae={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},Iae={baseStyle:Mae},{defineMultiStyleConfig:Rae,definePartsStyle:Dae}=hr(Are.keys),Nae={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},jae=Dae({icon:Nae}),Bae=Rae({baseStyle:jae}),{defineMultiStyleConfig:$ae,definePartsStyle:Fae}=hr(Ore.keys),jl=Hn("menu-bg"),e6=Hn("menu-shadow"),zae={[jl.variable]:"#fff",[e6.variable]:"shadows.sm",_dark:{[jl.variable]:"colors.gray.700",[e6.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:jl.reference,boxShadow:e6.reference},Hae={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_active:{[jl.variable]:"colors.gray.200",_dark:{[jl.variable]:"colors.whiteAlpha.200"}},_expanded:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:jl.reference},Vae={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},Wae={opacity:.6},Uae={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},Gae={transitionProperty:"common",transitionDuration:"normal"},qae=Fae({button:Gae,list:zae,item:Hae,groupTitle:Vae,command:Wae,divider:Uae}),Yae=$ae({baseStyle:qae}),{defineMultiStyleConfig:Kae,definePartsStyle:f7}=hr(Mre.keys),Xae={bg:"blackAlpha.600",zIndex:"modal"},Zae=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},Qae=e=>{const{scrollBehavior:t}=e;return{borderRadius:"md",bg:Et("white","gray.700")(e),color:"inherit",my:"16",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:Et("lg","dark-lg")(e)}},Jae={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},ese={position:"absolute",top:"2",insetEnd:"3"},tse=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},nse={px:"6",py:"4"},rse=f7(e=>({overlay:Xae,dialogContainer:Po(Zae,e),dialog:Po(Qae,e),header:Jae,closeButton:ese,body:Po(tse,e),footer:nse}));function Os(e){return f7(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var ise={xs:Os("xs"),sm:Os("sm"),md:Os("md"),lg:Os("lg"),xl:Os("xl"),"2xl":Os("2xl"),"3xl":Os("3xl"),"4xl":Os("4xl"),"5xl":Os("5xl"),"6xl":Os("6xl"),full:Os("full")},ose=Kae({baseStyle:rse,sizes:ise,defaultProps:{size:"md"}}),ase={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},iB=ase,{defineMultiStyleConfig:sse,definePartsStyle:oB}=hr(Ire.keys),A_=yi("number-input-stepper-width"),aB=yi("number-input-input-padding"),lse=Vu(A_).add("0.5rem").toString(),t6=yi("number-input-bg"),n6=yi("number-input-color"),r6=yi("number-input-border-color"),use={[A_.variable]:"sizes.6",[aB.variable]:lse},cse=e=>{var t;return((t=Po(_n.baseStyle,e))==null?void 0:t.field)??{}},dse={width:A_.reference},fse={borderStart:"1px solid",borderStartColor:r6.reference,color:n6.reference,bg:t6.reference,[n6.variable]:"colors.chakra-body-text",[r6.variable]:"colors.chakra-border-color",_dark:{[n6.variable]:"colors.whiteAlpha.800",[r6.variable]:"colors.whiteAlpha.300"},_active:{[t6.variable]:"colors.gray.200",_dark:{[t6.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},hse=oB(e=>({root:use,field:Po(cse,e)??{},stepperGroup:dse,stepper:fse}));function H3(e){var t,n;const r=(t=_n.sizes)==null?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=((n=r.field)==null?void 0:n.fontSize)??"md",a=iB.fontSizes[o];return oB({field:{...r.field,paddingInlineEnd:aB.reference,verticalAlign:"top"},stepper:{fontSize:Vu(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var pse={xs:H3("xs"),sm:H3("sm"),md:H3("md"),lg:H3("lg")},gse=sse({baseStyle:hse,sizes:pse,variants:_n.variants,defaultProps:_n.defaultProps}),WL,mse={...(WL=_n.baseStyle)==null?void 0:WL.field,textAlign:"center"},vse={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},UL,yse={outline:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((UL=_n.variants)==null?void 0:UL.unstyled.field)??{}},bse={baseStyle:mse,sizes:vse,variants:yse,defaultProps:_n.defaultProps},{defineMultiStyleConfig:Sse,definePartsStyle:xse}=hr(Rre.keys),V3=yi("popper-bg"),wse=yi("popper-arrow-bg"),GL=yi("popper-arrow-shadow-color"),Cse={zIndex:10},_se={[V3.variable]:"colors.white",bg:V3.reference,[wse.variable]:V3.reference,[GL.variable]:"colors.gray.200",_dark:{[V3.variable]:"colors.gray.700",[GL.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},kse={px:3,py:2,borderBottomWidth:"1px"},Ese={px:3,py:2},Pse={px:3,py:2,borderTopWidth:"1px"},Tse={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Lse=xse({popper:Cse,content:_se,header:kse,body:Ese,footer:Pse,closeButton:Tse}),Ase=Sse({baseStyle:Lse}),{defineMultiStyleConfig:Ose,definePartsStyle:vv}=hr(Dre.keys),Mse=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=Et(BL(),BL("1rem","rgba(0,0,0,0.1)"))(e),a=Et(`${t}.500`,`${t}.200`)(e),s=`linear-gradient( - to right, - transparent 0%, - ${_o(n,a)} 50%, - transparent 100% - )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},Ise={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Rse=e=>({bg:Et("gray.100","whiteAlpha.300")(e)}),Dse=e=>({transitionProperty:"common",transitionDuration:"slow",...Mse(e)}),Nse=vv(e=>({label:Ise,filledTrack:Dse(e),track:Rse(e)})),jse={xs:vv({track:{h:"1"}}),sm:vv({track:{h:"2"}}),md:vv({track:{h:"3"}}),lg:vv({track:{h:"4"}})},Bse=Ose({sizes:jse,baseStyle:Nse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:$se,definePartsStyle:s4}=hr(Nre.keys),Fse=e=>{var t;const n=(t=Po(G4.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},zse=s4(e=>{var t,n,r,i;return{label:(n=(t=G4).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=G4).baseStyle)==null?void 0:i.call(r,e).container,control:Fse(e)}}),Hse={md:s4({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:s4({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:s4({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Vse=$se({baseStyle:zse,sizes:Hse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Wse,definePartsStyle:Use}=hr(jre.keys),W3=Hn("select-bg"),qL,Gse={...(qL=_n.baseStyle)==null?void 0:qL.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:W3.reference,[W3.variable]:"colors.white",_dark:{[W3.variable]:"colors.gray.700"},"> option, > optgroup":{bg:W3.reference}},qse={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},Yse=Use({field:Gse,icon:qse}),U3={paddingInlineEnd:"8"},YL,KL,XL,ZL,QL,JL,eA,tA,Kse={lg:{...(YL=_n.sizes)==null?void 0:YL.lg,field:{...(KL=_n.sizes)==null?void 0:KL.lg.field,...U3}},md:{...(XL=_n.sizes)==null?void 0:XL.md,field:{...(ZL=_n.sizes)==null?void 0:ZL.md.field,...U3}},sm:{...(QL=_n.sizes)==null?void 0:QL.sm,field:{...(JL=_n.sizes)==null?void 0:JL.sm.field,...U3}},xs:{...(eA=_n.sizes)==null?void 0:eA.xs,field:{...(tA=_n.sizes)==null?void 0:tA.xs.field,...U3},icon:{insetEnd:"1"}}},Xse=Wse({baseStyle:Yse,sizes:Kse,variants:_n.variants,defaultProps:_n.defaultProps}),i6=Hn("skeleton-start-color"),o6=Hn("skeleton-end-color"),Zse={[i6.variable]:"colors.gray.100",[o6.variable]:"colors.gray.400",_dark:{[i6.variable]:"colors.gray.800",[o6.variable]:"colors.gray.600"},background:i6.reference,borderColor:o6.reference,opacity:.7,borderRadius:"sm"},Qse={baseStyle:Zse},a6=Hn("skip-link-bg"),Jse={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[a6.variable]:"colors.white",_dark:{[a6.variable]:"colors.gray.700"},bg:a6.reference}},ele={baseStyle:Jse},{defineMultiStyleConfig:tle,definePartsStyle:RS}=hr(Bre.keys),S2=Hn("slider-thumb-size"),x2=Hn("slider-track-size"),vd=Hn("slider-bg"),nle=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...P_({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},rle=e=>({...P_({orientation:e.orientation,horizontal:{h:x2.reference},vertical:{w:x2.reference}}),overflow:"hidden",borderRadius:"sm",[vd.variable]:"colors.gray.200",_dark:{[vd.variable]:"colors.whiteAlpha.200"},_disabled:{[vd.variable]:"colors.gray.300",_dark:{[vd.variable]:"colors.whiteAlpha.300"}},bg:vd.reference}),ile=e=>{const{orientation:t}=e;return{...P_({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:S2.reference,h:S2.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},ole=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[vd.variable]:`colors.${t}.500`,_dark:{[vd.variable]:`colors.${t}.200`},bg:vd.reference}},ale=RS(e=>({container:nle(e),track:rle(e),thumb:ile(e),filledTrack:ole(e)})),sle=RS({container:{[S2.variable]:"sizes.4",[x2.variable]:"sizes.1"}}),lle=RS({container:{[S2.variable]:"sizes.3.5",[x2.variable]:"sizes.1"}}),ule=RS({container:{[S2.variable]:"sizes.2.5",[x2.variable]:"sizes.0.5"}}),cle={lg:sle,md:lle,sm:ule},dle=tle({baseStyle:ale,sizes:cle,defaultProps:{size:"md",colorScheme:"blue"}}),bh=yi("spinner-size"),fle={width:[bh.reference],height:[bh.reference]},hle={xs:{[bh.variable]:"sizes.3"},sm:{[bh.variable]:"sizes.4"},md:{[bh.variable]:"sizes.6"},lg:{[bh.variable]:"sizes.8"},xl:{[bh.variable]:"sizes.12"}},ple={baseStyle:fle,sizes:hle,defaultProps:{size:"md"}},{defineMultiStyleConfig:gle,definePartsStyle:sB}=hr($re.keys),mle={fontWeight:"medium"},vle={opacity:.8,marginBottom:"2"},yle={verticalAlign:"baseline",fontWeight:"semibold"},ble={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},Sle=sB({container:{},label:mle,helpText:vle,number:yle,icon:ble}),xle={md:sB({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},wle=gle({baseStyle:Sle,sizes:xle,defaultProps:{size:"md"}}),{defineMultiStyleConfig:Cle,definePartsStyle:l4}=hr(Fre.keys),$v=yi("switch-track-width"),Oh=yi("switch-track-height"),s6=yi("switch-track-diff"),_le=Vu.subtract($v,Oh),h7=yi("switch-thumb-x"),H1=yi("switch-bg"),kle=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[$v.reference],height:[Oh.reference],transitionProperty:"common",transitionDuration:"fast",[H1.variable]:"colors.gray.300",_dark:{[H1.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[H1.variable]:`colors.${t}.500`,_dark:{[H1.variable]:`colors.${t}.200`}},bg:H1.reference}},Ele={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oh.reference],height:[Oh.reference],_checked:{transform:`translateX(${h7.reference})`}},Ple=l4(e=>({container:{[s6.variable]:_le,[h7.variable]:s6.reference,_rtl:{[h7.variable]:Vu(s6).negate().toString()}},track:kle(e),thumb:Ele})),Tle={sm:l4({container:{[$v.variable]:"1.375rem",[Oh.variable]:"sizes.3"}}),md:l4({container:{[$v.variable]:"1.875rem",[Oh.variable]:"sizes.4"}}),lg:l4({container:{[$v.variable]:"2.875rem",[Oh.variable]:"sizes.6"}})},Lle=Cle({baseStyle:Ple,sizes:Tle,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ale,definePartsStyle:bm}=hr(zre.keys),Ole=bm({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),q4={"&[data-is-numeric=true]":{textAlign:"end"}},Mle=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Ile=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e)},td:{background:Et(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Rle={simple:Mle,striped:Ile,unstyled:{}},Dle={sm:bm({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:bm({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bm({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Nle=Ale({baseStyle:Ole,variants:Rle,sizes:Dle,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ko=Hn("tabs-color"),Fs=Hn("tabs-bg"),G3=Hn("tabs-border-color"),{defineMultiStyleConfig:jle,definePartsStyle:Kl}=hr(Hre.keys),Ble=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},$le=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Fle=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},zle={p:4},Hle=Kl(e=>({root:Ble(e),tab:$le(e),tablist:Fle(e),tabpanel:zle})),Vle={sm:Kl({tab:{py:1,px:4,fontSize:"sm"}}),md:Kl({tab:{fontSize:"md",py:2,px:4}}),lg:Kl({tab:{fontSize:"lg",py:3,px:4}})},Wle=Kl(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[Ko.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Fs.variable]:"colors.gray.200",_dark:{[Fs.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ko.reference,bg:Fs.reference}}}),Ule=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[G3.reference]:"transparent",_selected:{[Ko.variable]:`colors.${t}.600`,[G3.variable]:"colors.white",_dark:{[Ko.variable]:`colors.${t}.300`,[G3.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:G3.reference},color:Ko.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Gle=Kl(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Fs.variable]:"colors.gray.50",_dark:{[Fs.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Fs.variable]:"colors.white",[Ko.variable]:`colors.${t}.600`,_dark:{[Fs.variable]:"colors.gray.800",[Ko.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ko.reference,bg:Fs.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),qle=Kl(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:_o(n,`${t}.700`),bg:_o(n,`${t}.100`)}}}}),Yle=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ko.variable]:"colors.gray.600",_dark:{[Ko.variable]:"inherit"},_selected:{[Ko.variable]:"colors.white",[Fs.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:"colors.gray.800",[Fs.variable]:`colors.${t}.300`}},color:Ko.reference,bg:Fs.reference}}}),Kle=Kl({}),Xle={line:Wle,enclosed:Ule,"enclosed-colored":Gle,"soft-rounded":qle,"solid-rounded":Yle,unstyled:Kle},Zle=jle({baseStyle:Hle,sizes:Vle,variants:Xle,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Qle,definePartsStyle:Mh}=hr(Vre.keys),Jle={fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},eue={lineHeight:1.2,overflow:"visible"},tue={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},nue=Mh({container:Jle,label:eue,closeButton:tue}),rue={sm:Mh({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Mh({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Mh({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},iue={subtle:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.subtle(e)}}),solid:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.solid(e)}}),outline:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.outline(e)}})},oue=Qle({variants:iue,baseStyle:nue,sizes:rue,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),nA,aue={...(nA=_n.baseStyle)==null?void 0:nA.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},rA,sue={outline:e=>{var t;return((t=_n.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=_n.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=_n.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((rA=_n.variants)==null?void 0:rA.unstyled.field)??{}},iA,oA,aA,sA,lue={xs:((iA=_n.sizes)==null?void 0:iA.xs.field)??{},sm:((oA=_n.sizes)==null?void 0:oA.sm.field)??{},md:((aA=_n.sizes)==null?void 0:aA.md.field)??{},lg:((sA=_n.sizes)==null?void 0:sA.lg.field)??{}},uue={baseStyle:aue,sizes:lue,variants:sue,defaultProps:{size:"md",variant:"outline"}},q3=yi("tooltip-bg"),l6=yi("tooltip-fg"),cue=yi("popper-arrow-bg"),due={bg:q3.reference,color:l6.reference,[q3.variable]:"colors.gray.700",[l6.variable]:"colors.whiteAlpha.900",_dark:{[q3.variable]:"colors.gray.300",[l6.variable]:"colors.gray.900"},[cue.variable]:q3.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},fue={baseStyle:due},hue={Accordion:Aie,Alert:Bie,Avatar:Kie,Badge:Nv,Breadcrumb:ooe,Button:poe,Checkbox:G4,CloseButton:Loe,Code:Ioe,Container:Doe,Divider:Foe,Drawer:Zoe,Editable:iae,Form:cae,FormError:mae,FormLabel:yae,Heading:xae,Input:_n,Kbd:Oae,Link:Iae,List:Bae,Menu:Yae,Modal:ose,NumberInput:gse,PinInput:bse,Popover:Ase,Progress:Bse,Radio:Vse,Select:Xse,Skeleton:Qse,SkipLink:ele,Slider:dle,Spinner:ple,Stat:wle,Switch:Lle,Table:Nle,Tabs:Zle,Tag:oue,Textarea:uue,Tooltip:fue,Card:boe},pue={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},gue=pue,mue={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},vue=mue,yue={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},bue=yue,Sue={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},xue=Sue,wue={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Cue=wue,_ue={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},kue={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Eue={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},Pue={property:_ue,easing:kue,duration:Eue},Tue=Pue,Lue={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},Aue=Lue,Oue={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Mue=Oue,Iue={breakpoints:vue,zIndices:Aue,radii:xue,blur:Mue,colors:bue,...iB,sizes:tB,shadows:Cue,space:eB,borders:gue,transition:Tue},Rue={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Due={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},Nue="ltr",jue={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Bue={semanticTokens:Rue,direction:Nue,...Iue,components:hue,styles:Due,config:jue},$ue=typeof Element<"u",Fue=typeof Map=="function",zue=typeof Set=="function",Hue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function u4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!u4(e[r],t[r]))return!1;return!0}var o;if(Fue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!u4(r.value[1],t.get(r.value[0])))return!1;return!0}if(zue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Hue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if($ue&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!u4(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var Vue=function(t,n){try{return u4(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function h0(){const e=w.useContext(y2);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function lB(){const e=dy(),t=h0();return{...e,theme:t}}function Wue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__breakpoints)==null?void 0:o.asArray)==null?void 0:a[i]};return r(t)??r(n)??n}function Uue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function Gue(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),s=r.map((l,u)=>{if(e==="breakpoints")return Wue(o,l,a[u]??l);const d=`${e}.${l}`;return Uue(o,d,a[u]??l)});return Array.isArray(t)?s:s[0]}}function que(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=w.useMemo(()=>Fte(n),[n]);return N.createElement(Xne,{theme:i},N.createElement(Yue,{root:t}),r)}function Yue({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return N.createElement(OS,{styles:n=>({[t]:n.__cssVars})})}fre({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function Kue(){const{colorMode:e}=dy();return N.createElement(OS,{styles:t=>{const n=Vj(t,"styles.global"),r=Gj(n,{theme:t,colorMode:e});return r?xj(r)(t):void 0}})}var Xue=new Set([...Vte,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Zue=new Set(["htmlWidth","htmlHeight","htmlSize"]);function Que(e){return Zue.has(e)||!Xue.has(e)}var Jue=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=Wj(a,(h,m)=>Ute(m)),l=Gj(e,t),u=Object.assign({},i,l,Uj(s),o),d=xj(u)(t.theme);return r?[d,r]:d};function u6(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Que);const i=Jue({baseStyle:n}),o=l7(e,r)(i);return N.forwardRef(function(l,u){const{colorMode:d,forced:h}=dy();return N.createElement(o,{ref:u,"data-theme":h?d:void 0,...l})})}function Ae(e){return w.forwardRef(e)}function uB(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=lB(),a=e?Vj(i,`components.${e}`):void 0,s=n||a,l=Wl({theme:i,colorMode:o},(s==null?void 0:s.defaultProps)??{},Uj(are(r,["children"]))),u=w.useRef({});if(s){const h=tne(s)(l);Vue(u.current,h)||(u.current=h)}return u.current}function Ao(e,t={}){return uB(e,t)}function Yi(e,t={}){return uB(e,t)}function ece(){const e=new Map;return new Proxy(u6,{apply(t,n,r){return u6(...r)},get(t,n){return e.has(n)||e.set(n,u6(n)),e.get(n)}})}var Ce=ece();function tce(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Mn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o}=e,a=w.createContext(void 0);a.displayName=t;function s(){var l;const u=w.useContext(a);if(!u&&n){const d=new Error(o??tce(r,i));throw d.name="ContextError",(l=Error.captureStackTrace)==null||l.call(Error,d,s),d}return u}return[a.Provider,s,a]}function nce(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function qn(...e){return t=>{e.forEach(n=>{nce(n,t)})}}function rce(...e){return w.useMemo(()=>qn(...e),e)}function lA(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var ice=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function uA(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function cA(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var p7=typeof window<"u"?w.useLayoutEffect:w.useEffect,Y4=e=>e,oce=class{constructor(){an(this,"descendants",new Map);an(this,"register",e=>{if(e!=null)return ice(e)?this.registerNode(e):t=>{this.registerNode(t,e)}});an(this,"unregister",e=>{this.descendants.delete(e);const t=lA(Array.from(this.descendants.keys()));this.assignIndex(t)});an(this,"destroy",()=>{this.descendants.clear()});an(this,"assignIndex",e=>{this.descendants.forEach(t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()})});an(this,"count",()=>this.descendants.size);an(this,"enabledCount",()=>this.enabledValues().length);an(this,"values",()=>Array.from(this.descendants.values()).sort((t,n)=>t.index-n.index));an(this,"enabledValues",()=>this.values().filter(e=>!e.disabled));an(this,"item",e=>{if(this.count()!==0)return this.values()[e]});an(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]});an(this,"first",()=>this.item(0));an(this,"firstEnabled",()=>this.enabledItem(0));an(this,"last",()=>this.item(this.descendants.size-1));an(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)});an(this,"indexOf",e=>{var t;return e?((t=this.descendants.get(e))==null?void 0:t.index)??-1:-1});an(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e)));an(this,"next",(e,t=!0)=>{const n=uA(e,this.count(),t);return this.item(n)});an(this,"nextEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=uA(r,this.enabledCount(),t);return this.enabledItem(i)});an(this,"prev",(e,t=!0)=>{const n=cA(e,this.count()-1,t);return this.item(n)});an(this,"prevEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=cA(r,this.enabledCount()-1,t);return this.enabledItem(i)});an(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const n=Array.from(this.descendants.keys()).concat(e),r=lA(n);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(r)})}};function ace(){const e=w.useRef(new oce);return p7(()=>()=>e.current.destroy()),e.current}var[sce,cB]=Mn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function lce(e){const t=cB(),[n,r]=w.useState(-1),i=w.useRef(null);p7(()=>()=>{i.current&&t.unregister(i.current)},[]),p7(()=>{if(!i.current)return;const a=Number(i.current.dataset.index);n!=a&&!Number.isNaN(a)&&r(a)});const o=Y4(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:qn(o,i)}}function dB(){return[Y4(sce),()=>Y4(cB()),()=>ace(),i=>lce(i)]}var Qr=(...e)=>e.filter(Boolean).join(" "),dA={path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Da=Ae((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...u}=e,d=Qr("chakra-icon",s),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l},m={ref:t,focusable:o,className:d,__css:h},v=r??dA.viewBox;if(n&&typeof n!="string")return N.createElement(Ce.svg,{as:n,...m,...u});const b=a??dA.path;return N.createElement(Ce.svg,{verticalAlign:"middle",viewBox:v,...m,...u},b)});Da.displayName="Icon";function yt(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=w.Children.toArray(e.path),a=Ae((s,l)=>N.createElement(Da,{ref:l,viewBox:t,...i,...s},o.length?o:N.createElement("path",{fill:"currentColor",d:n})));return a.displayName=r,a}function Er(e,t=[]){const n=w.useRef(e);return w.useEffect(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function DS(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(m,v)=>m!==v}=e,o=Er(r),a=Er(i),[s,l]=w.useState(n),u=t!==void 0,d=u?t:s,h=Er(m=>{const b=typeof m=="function"?m(d):m;a(d,b)&&(u||l(b),o(b))},[u,o,d,a]);return[d,h]}const O_=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),NS=w.createContext({});function uce(){return w.useContext(NS).visualElement}const p0=w.createContext(null),np=typeof document<"u",K4=np?w.useLayoutEffect:w.useEffect,fB=w.createContext({strict:!1});function cce(e,t,n,r){const i=uce(),o=w.useContext(fB),a=w.useContext(p0),s=w.useContext(O_).reducedMotion,l=w.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;return K4(()=>{u&&u.render()}),w.useEffect(()=>{u&&u.animationState&&u.animationState.animateChanges()}),K4(()=>()=>u&&u.notify("Unmount"),[]),u}function Hg(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dce(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Hg(n)&&(n.current=r))},[t])}function w2(e){return typeof e=="string"||Array.isArray(e)}function jS(e){return typeof e=="object"&&typeof e.start=="function"}const fce=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function BS(e){return jS(e.animate)||fce.some(t=>w2(e[t]))}function hB(e){return Boolean(BS(e)||e.variants)}function hce(e,t){if(BS(e)){const{initial:n,animate:r}=e;return{initial:n===!1||w2(n)?n:void 0,animate:w2(r)?r:void 0}}return e.inherit!==!1?t:{}}function pce(e){const{initial:t,animate:n}=hce(e,w.useContext(NS));return w.useMemo(()=>({initial:t,animate:n}),[fA(t),fA(n)])}function fA(e){return Array.isArray(e)?e.join(" "):e}const Bu=e=>({isEnabled:t=>e.some(n=>!!t[n])}),C2={measureLayout:Bu(["layout","layoutId","drag"]),animation:Bu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Bu(["exit"]),drag:Bu(["drag","dragControls"]),focus:Bu(["whileFocus"]),hover:Bu(["whileHover","onHoverStart","onHoverEnd"]),tap:Bu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Bu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Bu(["whileInView","onViewportEnter","onViewportLeave"])};function gce(e){for(const t in e)t==="projectionNodeConstructor"?C2.projectionNodeConstructor=e[t]:C2[t].Component=e[t]}function $S(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let mce=1;function vce(){return $S(()=>{if(Fv.hasEverUpdated)return mce++})}const M_=w.createContext({});class yce extends N.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const pB=w.createContext({}),bce=Symbol.for("motionComponentSymbol");function Sce({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&gce(e);function a(l,u){const d={...w.useContext(O_),...l,layoutId:xce(l)},{isStatic:h}=d;let m=null;const v=pce(l),b=h?void 0:vce(),S=i(l,h);if(!h&&np){v.visualElement=cce(o,S,d,t);const k=w.useContext(fB).strict,E=w.useContext(pB);v.visualElement&&(m=v.visualElement.loadFeatures(d,k,e,b,n||C2.projectionNodeConstructor,E))}return w.createElement(yce,{visualElement:v.visualElement,props:d},m,w.createElement(NS.Provider,{value:v},r(o,l,b,dce(S,v.visualElement,u),S,h,v.visualElement)))}const s=w.forwardRef(a);return s[bce]=o,s}function xce({layoutId:e}){const t=w.useContext(M_).id;return t&&e!==void 0?t+"-"+e:e}function wce(e){function t(r,i={}){return Sce(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Cce=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function I_(e){return typeof e!="string"||e.includes("-")?!1:!!(Cce.indexOf(e)>-1||/[A-Z]/.test(e))}const X4={};function _ce(e){Object.assign(X4,e)}const Z4=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g0=new Set(Z4);function gB(e,{layout:t,layoutId:n}){return g0.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!X4[e]||e==="opacity")}const ou=e=>!!(e!=null&&e.getVelocity),kce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ece=(e,t)=>Z4.indexOf(e)-Z4.indexOf(t);function Pce({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(Ece);for(const s of t)a+=`${kce[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function mB(e){return e.startsWith("--")}const Tce=(e,t)=>t&&typeof e=="number"?t.transform(e):e,vB=(e,t)=>n=>Math.max(Math.min(n,t),e),zv=e=>e%1?Number(e.toFixed(5)):e,_2=/(-)?([\d]*\.?[\d])+/g,g7=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Lce=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function gy(e){return typeof e=="string"}const rp={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Hv=Object.assign(Object.assign({},rp),{transform:vB(0,1)}),Y3=Object.assign(Object.assign({},rp),{default:1}),my=e=>({test:t=>gy(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),cd=my("deg"),Xl=my("%"),Lt=my("px"),Ace=my("vh"),Oce=my("vw"),hA=Object.assign(Object.assign({},Xl),{parse:e=>Xl.parse(e)/100,transform:e=>Xl.transform(e*100)}),R_=(e,t)=>n=>Boolean(gy(n)&&Lce.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yB=(e,t,n)=>r=>{if(!gy(r))return r;const[i,o,a,s]=r.match(_2);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Ch={test:R_("hsl","hue"),parse:yB("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xl.transform(zv(t))+", "+Xl.transform(zv(n))+", "+zv(Hv.transform(r))+")"},Mce=vB(0,255),c6=Object.assign(Object.assign({},rp),{transform:e=>Math.round(Mce(e))}),wd={test:R_("rgb","red"),parse:yB("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+c6.transform(e)+", "+c6.transform(t)+", "+c6.transform(n)+", "+zv(Hv.transform(r))+")"};function Ice(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const m7={test:R_("#"),parse:Ice,transform:wd.transform},xo={test:e=>wd.test(e)||m7.test(e)||Ch.test(e),parse:e=>wd.test(e)?wd.parse(e):Ch.test(e)?Ch.parse(e):m7.parse(e),transform:e=>gy(e)?e:e.hasOwnProperty("red")?wd.transform(e):Ch.transform(e)},bB="${c}",SB="${n}";function Rce(e){var t,n,r,i;return isNaN(e)&&gy(e)&&((n=(t=e.match(_2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(g7))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function xB(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(g7);r&&(n=r.length,e=e.replace(g7,bB),t.push(...r.map(xo.parse)));const i=e.match(_2);return i&&(e=e.replace(_2,SB),t.push(...i.map(rp.parse))),{values:t,numColors:n,tokenised:e}}function wB(e){return xB(e).values}function CB(e){const{values:t,numColors:n,tokenised:r}=xB(e),i=t.length;return o=>{let a=r;for(let s=0;stypeof e=="number"?0:e;function Nce(e){const t=wB(e);return CB(e)(t.map(Dce))}const Ju={test:Rce,parse:wB,createTransformer:CB,getAnimatableNone:Nce},jce=new Set(["brightness","contrast","saturate","opacity"]);function Bce(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(_2)||[];if(!r)return e;const i=n.replace(r,"");let o=jce.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const $ce=/([a-z-]*)\(.*?\)/g,v7=Object.assign(Object.assign({},Ju),{getAnimatableNone:e=>{const t=e.match($ce);return t?t.map(Bce).join(" "):e}}),pA={...rp,transform:Math.round},_B={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,size:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,rotate:cd,rotateX:cd,rotateY:cd,rotateZ:cd,scale:Y3,scaleX:Y3,scaleY:Y3,scaleZ:Y3,skew:cd,skewX:cd,skewY:cd,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:Hv,originX:hA,originY:hA,originZ:Lt,zIndex:pA,fillOpacity:Hv,strokeOpacity:Hv,numOctaves:pA};function D_(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,d=!1,h=!0;for(const m in t){const v=t[m];if(mB(m)){o[m]=v;continue}const b=_B[m],S=Tce(v,b);if(g0.has(m)){if(u=!0,a[m]=S,s.push(m),!h)continue;v!==(b.default||0)&&(h=!1)}else m.startsWith("origin")?(d=!0,l[m]=S):i[m]=S}if(t.transform||(u||r?i.transform=Pce(e,n,h,r):i.transform&&(i.transform="none")),d){const{originX:m="50%",originY:v="50%",originZ:b=0}=l;i.transformOrigin=`${m} ${v} ${b}`}}const N_=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function kB(e,t,n){for(const r in t)!ou(t[r])&&!gB(r,n)&&(e[r]=t[r])}function Fce({transformTemplate:e},t,n){return w.useMemo(()=>{const r=N_();return D_(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function zce(e,t,n){const r=e.style||{},i={};return kB(i,r,e),Object.assign(i,Fce(e,t,n)),e.transformValues?e.transformValues(i):i}function Hce(e,t,n){const r={},i=zce(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const Vce=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],Wce=["whileTap","onTap","onTapStart","onTapCancel"],Uce=["onPan","onPanStart","onPanSessionStart","onPanEnd"],Gce=["whileInView","onViewportEnter","onViewportLeave","viewport"],qce=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...Gce,...Wce,...Vce,...Uce]);function Q4(e){return qce.has(e)}let EB=e=>!Q4(e);function Yce(e){e&&(EB=t=>t.startsWith("on")?!Q4(t):e(t))}try{Yce(require("@emotion/is-prop-valid").default)}catch{}function Kce(e,t,n){const r={};for(const i in e)(EB(i)||n===!0&&Q4(i)||!t&&!Q4(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function gA(e,t,n){return typeof e=="string"?e:Lt.transform(t+n*e)}function Xce(e,t,n){const r=gA(t,e.x,e.width),i=gA(n,e.y,e.height);return`${r} ${i}`}const Zce={offset:"stroke-dashoffset",array:"stroke-dasharray"},Qce={offset:"strokeDashoffset",array:"strokeDasharray"};function Jce(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Zce:Qce;e[o.offset]=Lt.transform(-r);const a=Lt.transform(t),s=Lt.transform(n);e[o.array]=`${a} ${s}`}function j_(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,d){D_(e,l,u,d),e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:v}=e;h.transform&&(v&&(m.transform=h.transform),delete h.transform),v&&(r!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=Xce(v,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),o!==void 0&&Jce(h,o,a,s,!1)}const PB=()=>({...N_(),attrs:{}});function ede(e,t){const n=w.useMemo(()=>{const r=PB();return j_(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};kB(r,e.style,e),n.style={...r,...n.style}}return n}function tde(e=!1){return(n,r,i,o,{latestValues:a},s)=>{const u=(I_(n)?ede:Hce)(r,a,s),h={...Kce(r,typeof n=="string",e),...u,ref:o};return i&&(h["data-projection-id"]=i),w.createElement(n,h)}}const TB=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function LB(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const AB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function OB(e,t,n,r){LB(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(AB.has(i)?i:TB(i),t.attrs[i])}function B_(e){const{style:t}=e,n={};for(const r in t)(ou(t[r])||gB(r,e))&&(n[r]=t[r]);return n}function MB(e){const t=B_(e);for(const n in e)if(ou(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function $_(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const k2=e=>Array.isArray(e),nde=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),IB=e=>k2(e)?e[e.length-1]||0:e;function c4(e){const t=ou(e)?e.get():e;return nde(t)?t.toValue():t}function rde({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:ide(r,i,o,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}const RB=e=>(t,n)=>{const r=w.useContext(NS),i=w.useContext(p0),o=()=>rde(e,t,r,i);return n?o():$S(o)};function ide(e,t,n,r){const i={},o=r(e);for(const m in o)i[m]=c4(o[m]);let{initial:a,animate:s}=e;const l=BS(e),u=hB(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const h=d?s:a;return h&&typeof h!="boolean"&&!jS(h)&&(Array.isArray(h)?h:[h]).forEach(v=>{const b=$_(e,v);if(!b)return;const{transitionEnd:S,transition:k,...E}=b;for(const _ in E){let T=E[_];if(Array.isArray(T)){const A=d?T.length-1:0;T=T[A]}T!==null&&(i[_]=T)}for(const _ in S)i[_]=S[_]}),i}const ode={useVisualState:RB({scrapeMotionValuesFromProps:MB,createRenderState:PB,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}j_(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),OB(t,n)}})},ade={useVisualState:RB({scrapeMotionValuesFromProps:B_,createRenderState:N_})};function sde(e,{forwardMotionProps:t=!1},n,r,i){return{...I_(e)?ode:ade,preloadedFeatures:n,useRender:tde(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var tr;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(tr||(tr={}));function FS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function y7(e,t,n,r){w.useEffect(()=>{const i=e.current;if(n&&i)return FS(i,t,n,r)},[e,t,n,r])}function lde({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(tr.Focus,!0)},i=()=>{n&&n.setActive(tr.Focus,!1)};y7(t,"focus",e?r:void 0),y7(t,"blur",e?i:void 0)}function DB(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function NB(e){return!!e.touches}function ude(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const cde={pageX:0,pageY:0};function dde(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||cde;return{x:r[t+"X"],y:r[t+"Y"]}}function fde(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function F_(e,t="page"){return{point:NB(e)?dde(e,t):fde(e,t)}}const jB=(e,t=!1)=>{const n=r=>e(r,F_(r));return t?ude(n):n},hde=()=>np&&window.onpointerdown===null,pde=()=>np&&window.ontouchstart===null,gde=()=>np&&window.onmousedown===null,mde={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},vde={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function BB(e){return hde()?e:pde()?vde[e]:gde()?mde[e]:e}function Sm(e,t,n,r){return FS(e,BB(t),jB(n,t==="pointerdown"),r)}function J4(e,t,n,r){return y7(e,BB(t),n&&jB(n,t==="pointerdown"),r)}function $B(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const mA=$B("dragHorizontal"),vA=$B("dragVertical");function FB(e){let t=!1;if(e==="y")t=vA();else if(e==="x")t=mA();else{const n=mA(),r=vA();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function zB(){const e=FB(!0);return e?(e(),!1):!0}function yA(e,t,n){return(r,i)=>{!DB(r)||zB()||(e.animationState&&e.animationState.setActive(tr.Hover,t),n&&n(r,i))}}function yde({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){J4(r,"pointerenter",e||n?yA(r,!0,e):void 0,{passive:!e}),J4(r,"pointerleave",t||n?yA(r,!1,t):void 0,{passive:!t})}const HB=(e,t)=>t?e===t?!0:HB(e,t.parentElement):!1;function z_(e){return w.useEffect(()=>()=>e(),[])}function VB(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),d6=.001,Sde=.01,bA=10,xde=.05,wde=1;function Cde({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;bde(e<=bA*1e3);let a=1-t;a=t5(xde,wde,a),e=t5(Sde,bA,e/1e3),a<1?(i=u=>{const d=u*a,h=d*e,m=d-n,v=b7(u,a),b=Math.exp(-h);return d6-m/v*b},o=u=>{const h=u*a*e,m=h*n+n,v=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-h),S=b7(Math.pow(u,2),a);return(-i(u)+d6>0?-1:1)*((m-v)*b)/S}):(i=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-d6+d*h},o=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const s=5/e,l=kde(i,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const _de=12;function kde(e,t,n){let r=n;for(let i=1;i<_de;i++)r=r-e(r)/t(r);return r}function b7(e,t){return e*Math.sqrt(1-t*t)}const Ede=["duration","bounce"],Pde=["stiffness","damping","mass"];function SA(e,t){return t.some(n=>e[n]!==void 0)}function Tde(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!SA(e,Pde)&&SA(e,Ede)){const n=Cde(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function H_(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=VB(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=Tde(o),v=xA,b=xA;function S(){const k=d?-(d/1e3):0,E=n-t,_=l/(2*Math.sqrt(s*u)),T=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const A=b7(T,_);v=I=>{const R=Math.exp(-_*T*I);return n-R*((k+_*T*E)/A*Math.sin(A*I)+E*Math.cos(A*I))},b=I=>{const R=Math.exp(-_*T*I);return _*T*R*(Math.sin(A*I)*(k+_*T*E)/A+E*Math.cos(A*I))-R*(Math.cos(A*I)*(k+_*T*E)-A*E*Math.sin(A*I))}}else if(_===1)v=A=>n-Math.exp(-T*A)*(E+(k+T*E)*A);else{const A=T*Math.sqrt(_*_-1);v=I=>{const R=Math.exp(-_*T*I),D=Math.min(A*I,300);return n-R*((k+_*T*E)*Math.sinh(D)+A*E*Math.cosh(D))/A}}}return S(),{next:k=>{const E=v(k);if(m)a.done=k>=h;else{const _=b(k)*1e3,T=Math.abs(_)<=r,A=Math.abs(n-E)<=i;a.done=T&&A}return a.value=a.done?n:E,a},flipTarget:()=>{d=-d,[t,n]=[n,t],S()}}}H_.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const xA=e=>0,E2=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Fr=(e,t,n)=>-n*e+n*t+e;function f6(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=f6(l,s,e+1/3),o=f6(l,s,e),a=f6(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const Lde=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Ade=[m7,wd,Ch],CA=e=>Ade.find(t=>t.test(e)),WB=(e,t)=>{let n=CA(e),r=CA(t),i=n.parse(e),o=r.parse(t);n===Ch&&(i=wA(i),n=wd),r===Ch&&(o=wA(o),r=wd);const a=Object.assign({},i);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Lde(i[l],o[l],s));return a.alpha=Fr(i.alpha,o.alpha,s),n.transform(a)}},S7=e=>typeof e=="number",Ode=(e,t)=>n=>t(e(n)),zS=(...e)=>e.reduce(Ode);function UB(e,t){return S7(e)?n=>Fr(e,t,n):xo.test(e)?WB(e,t):qB(e,t)}const GB=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>UB(o,t[a]));return o=>{for(let a=0;a{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=UB(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function _A(e){const t=Ju.parse(e),n=t.length;let r=0,i=0,o=0;for(let a=0;a{const n=Ju.createTransformer(t),r=_A(e),i=_A(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?zS(GB(r.parsed,i.parsed),n):a=>`${a>0?t:e}`},Ide=(e,t)=>n=>Fr(e,t,n);function Rde(e){if(typeof e=="number")return Ide;if(typeof e=="string")return xo.test(e)?WB:qB;if(Array.isArray(e))return GB;if(typeof e=="object")return Mde}function Dde(e,t,n){const r=[],i=n||Rde(e[0]),o=e.length-1;for(let a=0;an(E2(e,t,r))}function jde(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let l=1;for(;li||l===r);l++);o=l-1}const s=E2(e[o],e[o+1],i);return t[o](s)}}function YB(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;e5(o===t.length),e5(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Dde(t,r,i),s=o===2?Nde(e,a):jde(e,a);return n?l=>s(t5(e[0],e[o-1],l)):s}const HS=e=>t=>1-e(1-t),V_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bde=e=>t=>Math.pow(t,e),KB=e=>t=>t*t*((e+1)*t-e),$de=e=>{const t=KB(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},XB=1.525,Fde=4/11,zde=8/11,Hde=9/10,W_=e=>e,U_=Bde(2),Vde=HS(U_),ZB=V_(U_),QB=e=>1-Math.sin(Math.acos(e)),G_=HS(QB),Wde=V_(G_),q_=KB(XB),Ude=HS(q_),Gde=V_(q_),qde=$de(XB),Yde=4356/361,Kde=35442/1805,Xde=16061/1805,n5=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-n5(1-e*2)):.5*n5(e*2-1)+.5;function Jde(e,t){return e.map(()=>t||ZB).splice(0,e.length-1)}function efe(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function tfe(e,t){return e.map(n=>n*t)}function d4({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=tfe(r&&r.length===a.length?r:efe(a),i);function l(){return YB(s,a,{ease:Array.isArray(n)?n:Jde(a,n)})}let u=l();return{next:d=>(o.value=u(d),o.done=d>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}function nfe({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:d=>{const h=-s*Math.exp(-d/r);return a.done=!(h>i||h<-i),a.value=a.done?u:u+h,a},flipTarget:()=>{}}}const kA={keyframes:d4,spring:H_,decay:nfe};function rfe(e){if(Array.isArray(e.to))return d4;if(kA[e.type])return kA[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?d4:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?H_:d4}const JB=1/60*1e3,ife=typeof performance<"u"?()=>performance.now():()=>Date.now(),e$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ife()),JB);function ofe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=ofe(()=>P2=!0),e),{}),sfe=vy.reduce((e,t)=>{const n=VS[t];return e[t]=(r,i=!1,o=!1)=>(P2||cfe(),n.schedule(r,i,o)),e},{}),lfe=vy.reduce((e,t)=>(e[t]=VS[t].cancel,e),{});vy.reduce((e,t)=>(e[t]=()=>VS[t].process(xm),e),{});const ufe=e=>VS[e].process(xm),t$=e=>{P2=!1,xm.delta=x7?JB:Math.max(Math.min(e-xm.timestamp,afe),1),xm.timestamp=e,w7=!0,vy.forEach(ufe),w7=!1,P2&&(x7=!1,e$(t$))},cfe=()=>{P2=!0,x7=!0,w7||e$(t$)},dfe=()=>xm;function n$(e,t,n=0){return e-t-n}function ffe(e,t,n=0,r=!0){return r?n$(t+-e,t,n):t-(e-t)+n}function hfe(e,t,n,r){return r?e>=t+n:e<=-n}const pfe=e=>{const t=({delta:n})=>e(n);return{start:()=>sfe.update(t,!0),stop:()=>lfe.update(t)}};function r$(e){var t,n,{from:r,autoplay:i=!0,driver:o=pfe,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:d,onStop:h,onComplete:m,onRepeat:v,onUpdate:b}=e,S=VB(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:k}=S,E,_=0,T=S.duration,A,I=!1,R=!0,D;const j=rfe(S);!((n=(t=j).needsInterpolation)===null||n===void 0)&&n.call(t,r,k)&&(D=YB([0,100],[r,k],{clamp:!1}),r=0,k=100);const z=j(Object.assign(Object.assign({},S),{from:r,to:k}));function V(){_++,l==="reverse"?(R=_%2===0,a=ffe(a,T,u,R)):(a=n$(a,T,u),l==="mirror"&&z.flipTarget()),I=!1,v&&v()}function K(){E.stop(),m&&m()}function te($){if(R||($=-$),a+=$,!I){const U=z.next(Math.max(0,a));A=U.value,D&&(A=D(A)),I=R?U.done:a<=0}b==null||b(A),I&&(_===0&&(T??(T=a)),_{h==null||h(),E.stop()}}}function i$(e,t){return t?e*(1e3/t):0}function gfe({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:h,onComplete:m,onStop:v}){let b;function S(T){return n!==void 0&&Tr}function k(T){return n===void 0?r:r===void 0||Math.abs(n-T){var I;h==null||h(A),(I=T.onUpdate)===null||I===void 0||I.call(T,A)},onComplete:m,onStop:v}))}function _(T){E(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},T))}if(S(e))_({from:e,velocity:t,to:k(e)});else{let T=i*t+e;typeof u<"u"&&(T=u(T));const A=k(T),I=A===n?-1:1;let R,D;const j=z=>{R=D,D=z,t=i$(z-R,dfe().delta),(I===1&&z>A||I===-1&&zb==null?void 0:b.stop()}}const C7=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),EA=e=>C7(e)&&e.hasOwnProperty("z"),K3=(e,t)=>Math.abs(e-t);function Y_(e,t){if(S7(e)&&S7(t))return K3(e,t);if(C7(e)&&C7(t)){const n=K3(e.x,t.x),r=K3(e.y,t.y),i=EA(e)&&EA(t)?K3(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const o$=(e,t)=>1-3*t+3*e,a$=(e,t)=>3*t-6*e,s$=e=>3*e,r5=(e,t,n)=>((o$(t,n)*e+a$(t,n))*e+s$(t))*e,l$=(e,t,n)=>3*o$(t,n)*e*e+2*a$(t,n)*e+s$(t),mfe=1e-7,vfe=10;function yfe(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=r5(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>mfe&&++s=Sfe?xfe(a,h,e,n):m===0?h:yfe(a,s,s+X3,e,n)}return a=>a===0||a===1?a:r5(o(a),t,r)}function Cfe({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(!1),s=w.useRef(null),l={passive:!(t||e||n||v)};function u(){s.current&&s.current(),s.current=null}function d(){return u(),a.current=!1,i.animationState&&i.animationState.setActive(tr.Tap,!1),!zB()}function h(b,S){d()&&(HB(i.current,b.target)?e&&e(b,S):n&&n(b,S))}function m(b,S){d()&&n&&n(b,S)}function v(b,S){u(),!a.current&&(a.current=!0,s.current=zS(Sm(window,"pointerup",h,l),Sm(window,"pointercancel",m,l)),i.animationState&&i.animationState.setActive(tr.Tap,!0),t&&t(b,S))}J4(i,"pointerdown",o?v:void 0,l),z_(u)}const _fe="production",u$=typeof process>"u"||process.env===void 0?_fe:"production",PA=new Set;function c$(e,t,n){e||PA.has(t)||(console.warn(t),n&&console.warn(n),PA.add(t))}const _7=new WeakMap,h6=new WeakMap,kfe=e=>{const t=_7.get(e.target);t&&t(e)},Efe=e=>{e.forEach(kfe)};function Pfe({root:e,...t}){const n=e||document;h6.has(n)||h6.set(n,{});const r=h6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Efe,{root:e,...t})),r[i]}function Tfe(e,t,n){const r=Pfe(t);return _7.set(e,n),r.observe(e),()=>{_7.delete(e),r.unobserve(e)}}function Lfe({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=w.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?Mfe:Ofe)(a,o.current,e,i)}const Afe={some:0,all:1};function Ofe(e,t,n,{root:r,margin:i,amount:o="some",once:a}){w.useEffect(()=>{if(!e||!n.current)return;const s={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:Afe[o]},l=u=>{const{isIntersecting:d}=u;if(t.isInView===d||(t.isInView=d,a&&!d&&t.hasEnteredView))return;d&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(tr.InView,d);const h=n.getProps(),m=d?h.onViewportEnter:h.onViewportLeave;m&&m(u)};return Tfe(n.current,s,l)},[e,r,i,o])}function Mfe(e,t,n,{fallback:r=!0}){w.useEffect(()=>{!e||!r||(u$!=="production"&&c$(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(tr.InView,!0)}))},[e])}const Cd=e=>t=>(e(t),null),Ife={inView:Cd(Lfe),tap:Cd(Cfe),focus:Cd(lde),hover:Cd(yde)};function K_(){const e=w.useContext(p0);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Rfe(){return Dfe(w.useContext(p0))}function Dfe(e){return e===null?!0:e.isPresent}function d$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;re*1e3,Nfe={linear:W_,easeIn:U_,easeInOut:ZB,easeOut:Vde,circIn:QB,circInOut:Wde,circOut:G_,backIn:q_,backInOut:Gde,backOut:Ude,anticipate:qde,bounceIn:Zde,bounceInOut:Qde,bounceOut:n5},TA=e=>{if(Array.isArray(e)){e5(e.length===4);const[t,n,r,i]=e;return wfe(t,n,r,i)}else if(typeof e=="string")return Nfe[e];return e},jfe=e=>Array.isArray(e)&&typeof e[0]!="number",LA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ju.test(t)&&!t.startsWith("url(")),rh=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Z3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),p6=()=>({type:"keyframes",ease:"linear",duration:.3}),Bfe=e=>({type:"keyframes",duration:.8,values:e}),AA={x:rh,y:rh,z:rh,rotate:rh,rotateX:rh,rotateY:rh,rotateZ:rh,scaleX:Z3,scaleY:Z3,scale:Z3,opacity:p6,backgroundColor:p6,color:p6,default:Z3},$fe=(e,t)=>{let n;return k2(t)?n=Bfe:n=AA[e]||AA.default,{to:t,...n(t)}},Ffe={..._B,color:xo,backgroundColor:xo,outlineColor:xo,fill:xo,stroke:xo,borderColor:xo,borderTopColor:xo,borderRightColor:xo,borderBottomColor:xo,borderLeftColor:xo,filter:v7,WebkitFilter:v7},X_=e=>Ffe[e];function Z_(e,t){var n;let r=X_(e);return r!==v7&&(r=Ju),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const zfe={current:!1},f$=1/60*1e3,Hfe=typeof performance<"u"?()=>performance.now():()=>Date.now(),h$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Hfe()),f$);function Vfe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=Vfe(()=>T2=!0),e),{}),Gs=yy.reduce((e,t)=>{const n=WS[t];return e[t]=(r,i=!1,o=!1)=>(T2||Gfe(),n.schedule(r,i,o)),e},{}),Vh=yy.reduce((e,t)=>(e[t]=WS[t].cancel,e),{}),g6=yy.reduce((e,t)=>(e[t]=()=>WS[t].process(wm),e),{}),Ufe=e=>WS[e].process(wm),p$=e=>{T2=!1,wm.delta=k7?f$:Math.max(Math.min(e-wm.timestamp,Wfe),1),wm.timestamp=e,E7=!0,yy.forEach(Ufe),E7=!1,T2&&(k7=!1,h$(p$))},Gfe=()=>{T2=!0,k7=!0,E7||h$(p$)},P7=()=>wm;function g$(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Vh.read(r),e(o-t))};return Gs.read(r,!0),()=>Vh.read(r)}function qfe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}function Yfe({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){const a={...o};return t&&(a.offset=t),o.duration&&(a.duration=i5(o.duration)),o.repeatDelay&&(a.repeatDelay=i5(o.repeatDelay)),e&&(a.ease=jfe(e)?e.map(TA):TA(e)),o.type==="tween"&&(a.type="keyframes"),(n||i||r)&&(n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),o.type!=="spring"&&(a.type="keyframes"),a}function Kfe(e,t){var n,r;return(r=(n=(Q_(e,t)||{}).delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function Xfe(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Zfe(e,t,n){return Array.isArray(t.to)&&e.duration===void 0&&(e.duration=.8),Xfe(t),qfe(e)||(e={...e,...$fe(n,t.to)}),{...t,...Yfe(e)}}function Qfe(e,t,n,r,i){const o=Q_(r,e)||{};let a=o.from!==void 0?o.from:t.get();const s=LA(e,n);a==="none"&&s&&typeof n=="string"?a=Z_(e,n):OA(a)&&typeof n=="string"?a=MA(n):!Array.isArray(n)&&OA(n)&&typeof a=="string"&&(n=MA(a));const l=LA(e,a);function u(){const h={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:m=>t.set(m)};return o.type==="inertia"||o.type==="decay"?gfe({...h,...o}):r$({...Zfe(o,h,e),onUpdate:m=>{h.onUpdate(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{h.onComplete(),o.onComplete&&o.onComplete()}})}function d(){const h=IB(n);return t.set(h),i(),o.onUpdate&&o.onUpdate(h),o.onComplete&&o.onComplete(),{stop:()=>{}}}return!l||!s||o.type===!1?d:u}function OA(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function MA(e){return typeof e=="number"?0:Z_("",e)}function Q_(e,t){return e[t]||e.default||e}function J_(e,t,n,r={}){return zfe.current&&(r={type:!1}),t.start(i=>{let o;const a=Qfe(e,t,n,r,i),s=Kfe(r,e),l=()=>o=a();let u;return s?u=g$(l,i5(s)):l(),()=>{u&&u(),o&&o.stop()}})}const Jfe=e=>/^\-?\d*\.?\d+$/.test(e),ehe=e=>/^0[^.\s]+$/.test(e);function ek(e,t){e.indexOf(t)===-1&&e.push(t)}function tk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vv{constructor(){this.subscriptions=[]}add(t){return ek(this.subscriptions,t),()=>tk(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class nhe{constructor(t){this.version="7.6.9",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Vv,this.velocityUpdateSubscribers=new Vv,this.renderSubscribers=new Vv,this.canTrackVelocity=!1,this.updateAndNotify=(n,r=!0)=>{this.prev=this.current,this.current=n;const{delta:i,timestamp:o}=P7();this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,Gs.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),r&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Gs.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=the(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?i$(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Vm(e){return new nhe(e)}const m$=e=>t=>t.test(e),rhe={test:e=>e==="auto",parse:e=>e},v$=[rp,Lt,Xl,cd,Oce,Ace,rhe],V1=e=>v$.find(m$(e)),ihe=[...v$,xo,Ju],ohe=e=>ihe.find(m$(e));function ahe(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function she(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function US(e,t,n){const r=e.getProps();return $_(r,t,n!==void 0?n:r.custom,ahe(e),she(e))}function lhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vm(n))}function uhe(e,t){const n=US(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const s=IB(o[a]);lhe(e,a,s)}}function che(e,t,n){var r,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sT7(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=T7(e,t,n);else{const i=typeof t=="function"?US(e,t,n.custom):t;r=y$(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function T7(e,t,n={}){var r;const i=US(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>y$(e,i,n):()=>Promise.resolve(),s=!((r=e.variantChildren)===null||r===void 0)&&r.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:m}=o;return phe(e,t,d+u,h,m,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,d]=l==="beforeChildren"?[a,s]:[s,a];return u().then(d)}else return Promise.all([a(),s(n.delay)])}function y$(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(a=r);const d=[],h=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const m in l){const v=e.getValue(m),b=l[m];if(!v||b===void 0||h&&mhe(h,m))continue;let S={delay:n,...a};e.shouldReduceMotion&&g0.has(m)&&(S={...S,type:!1,delay:0});let k=J_(m,v,b,S);o5(u)&&(u.add(m),k=k.then(()=>u.remove(m))),d.push(k)}return Promise.all(d).then(()=>{s&&uhe(e,s)})}function phe(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(ghe).forEach((u,d)=>{a.push(T7(u,t,{...o,delay:n+l(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function ghe(e,t){return e.sortNodePosition(t)}function mhe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const nk=[tr.Animate,tr.InView,tr.Focus,tr.Hover,tr.Tap,tr.Drag,tr.Exit],vhe=[...nk].reverse(),yhe=nk.length;function bhe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hhe(e,n,r)))}function She(e){let t=bhe(e);const n=whe();let r=!0;const i=(l,u)=>{const d=US(e,u);if(d){const{transition:h,transitionEnd:m,...v}=d;l={...l,...v,...m}}return l};function o(l){t=l(e)}function a(l,u){var d;const h=e.getProps(),m=e.getVariantContext(!0)||{},v=[],b=new Set;let S={},k=1/0;for(let _=0;_k&&R;const K=Array.isArray(I)?I:[I];let te=K.reduce(i,{});D===!1&&(te={});const{prevResolvedValues:q={}}=A,$={...q,...te},U=X=>{V=!0,b.delete(X),A.needsAnimating[X]=!0};for(const X in $){const Z=te[X],W=q[X];S.hasOwnProperty(X)||(Z!==W?k2(Z)&&k2(W)?!d$(Z,W)||z?U(X):A.protectedKeys[X]=!0:Z!==void 0?U(X):b.add(X):Z!==void 0&&b.has(X)?U(X):A.protectedKeys[X]=!0)}A.prevProp=I,A.prevResolvedValues=te,A.isActive&&(S={...S,...te}),r&&e.blockInitialAnimation&&(V=!1),V&&!j&&v.push(...K.map(X=>({animation:X,options:{type:T,...l}})))}if(b.size){const _={};b.forEach(T=>{const A=e.getBaseTarget(T);A!==void 0&&(_[T]=A)}),v.push({animation:_})}let E=Boolean(v.length);return r&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(v):Promise.resolve()}function s(l,u,d){var h;if(n[l].isActive===u)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(l,u)}),n[l].isActive=u;const m=a(d,l);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n}}function xhe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!d$(t,e):!1}function ih(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function whe(){return{[tr.Animate]:ih(!0),[tr.InView]:ih(),[tr.Hover]:ih(),[tr.Tap]:ih(),[tr.Drag]:ih(),[tr.Focus]:ih(),[tr.Exit]:ih()}}const Che={animation:Cd(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=She(e)),jS(t)&&w.useEffect(()=>t.subscribe(e),[t])}),exit:Cd(e=>{const{custom:t,visualElement:n}=e,[r,i]=K_(),o=w.useContext(p0);w.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(tr.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})};class b${constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=v6(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,h=Y_(u.offset,{x:0,y:0})>=3;if(!d&&!h)return;const{point:m}=u,{timestamp:v}=P7();this.history.push({...m,timestamp:v});const{onStart:b,onMove:S}=this.handlers;d||(b&&b(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{if(this.lastMoveEvent=u,this.lastMoveEventInfo=m6(d,this.transformPagePoint),DB(u)&&u.buttons===0){this.handlePointerUp(u,d);return}Gs.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{this.end();const{onEnd:h,onSessionEnd:m}=this.handlers,v=v6(m6(d,this.transformPagePoint),this.history);this.startEvent&&h&&h(u,v),m&&m(u,v)},NB(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=F_(t),o=m6(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=P7();this.history=[{...a,timestamp:s}];const{onSessionStart:l}=n;l&&l(t,v6(o,this.history)),this.removeListeners=zS(Sm(window,"pointermove",this.handlePointerMove),Sm(window,"pointerup",this.handlePointerUp),Sm(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vh.update(this.updatePoint)}}function m6(e,t){return t?{point:t(e.point)}:e}function IA(e,t){return{x:e.x-t.x,y:e.y-t.y}}function v6({point:e},t){return{point:e,delta:IA(e,S$(t)),offset:IA(e,_he(t)),velocity:khe(t,.1)}}function _he(e){return e[0]}function S$(e){return e[e.length-1]}function khe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=S$(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>i5(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Oa(e){return e.max-e.min}function RA(e,t=0,n=.01){return Y_(e,t)n&&(e=r?Fr(n,e,r.max):Math.min(e,n)),e}function BA(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function The(e,{top:t,left:n,bottom:r,right:i}){return{x:BA(e.x,n,i),y:BA(e.y,t,r)}}function $A(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=E2(t.min,t.max-r,e.min):r>i&&(n=E2(e.min,e.max-i,t.min)),t5(0,1,n)}function Ohe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const L7=.35;function Mhe(e=L7){return e===!1?e=0:e===!0&&(e=L7),{x:FA(e,"left","right"),y:FA(e,"top","bottom")}}function FA(e,t,n){return{min:zA(e,t),max:zA(e,n)}}function zA(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}const HA=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gv=()=>({x:HA(),y:HA()}),VA=()=>({min:0,max:0}),pi=()=>({x:VA(),y:VA()});function Rl(e){return[e("x"),e("y")]}function x$({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ihe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rhe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function y6(e){return e===void 0||e===1}function A7({scale:e,scaleX:t,scaleY:n}){return!y6(e)||!y6(t)||!y6(n)}function ch(e){return A7(e)||w$(e)||e.z||e.rotate||e.rotateX||e.rotateY}function w$(e){return WA(e.x)||WA(e.y)}function WA(e){return e&&e!=="0%"}function a5(e,t,n){const r=e-n,i=t*r;return n+i}function UA(e,t,n,r,i){return i!==void 0&&(e=a5(e,i,r)),a5(e,n,r)+t}function O7(e,t=0,n=1,r,i){e.min=UA(e.min,t,n,r,i),e.max=UA(e.max,t,n,r,i)}function C$(e,{x:t,y:n}){O7(e.x,t.translate,t.scale,t.originPoint),O7(e.y,n.translate,n.scale,n.originPoint)}function Dhe(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let u=0;u{this.stopAnimation(),n&&this.snapToCursor(F_(s,"page").point)},i=(s,l)=>{var u;const{drag:d,dragPropagation:h,onDragStart:m}=this.getProps();d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=FB(d),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rl(v=>{var b,S;let k=this.getAxisMotionValue(v).get()||0;if(Xl.test(k)){const E=(S=(b=this.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.layoutBox[v];E&&(k=Oa(E)*(parseFloat(k)/100))}this.originPoint[v]=k}),m==null||m(s,l),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(tr.Drag,!0))},o=(s,l)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:h,onDrag:m}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:v}=l;if(d&&this.currentDirection===null){this.currentDirection=zhe(v),this.currentDirection!==null&&(h==null||h(this.currentDirection));return}this.updateAxis("x",l.point,v),this.updateAxis("y",l.point,v),this.visualElement.render(),m==null||m(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new b$(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(tr.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Q3(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Phe(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Hg(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=The(r.layoutBox,t):this.constraints=!1,this.elastic=Mhe(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Rl(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Ohe(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Hg(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Bhe(r,i.root,this.visualElement.getTransformPagePoint());let a=Lhe(i.layout.layoutBox,o);if(n){const s=n(Ihe(a));this.hasMutatedConstraints=!!s,s&&(a=x$(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=Rl(d=>{var h;if(!Q3(d,n,this.currentDirection))return;let m=(h=l==null?void 0:l[d])!==null&&h!==void 0?h:{};a&&(m={min:0,max:0});const v=i?200:1e6,b=i?40:1e7,S={type:"inertia",velocity:r?t[d]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(d,S)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return J_(t,r,0,n)}stopAnimation(){Rl(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n,r;const i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)}snapToCursor(t){Rl(n=>{const{drag:r}=this.getProps();if(!Q3(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[n];o.set(t[n]-Fr(a,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Hg(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rl(s=>{const l=this.getAxisMotionValue(s);if(l){const u=l.get();o[s]=Ahe({min:u,max:u},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Rl(s=>{if(!Q3(s,n,null))return;const l=this.getAxisMotionValue(s),{min:u,max:d}=this.constraints[s];l.set(Fr(u,d,o[s]))})}addListeners(){var t;if(!this.visualElement.current)return;$he.set(this.visualElement,this);const n=this.visualElement.current,r=Sm(n,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),i=()=>{const{dragConstraints:u}=this.getProps();Hg(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const s=FS(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Rl(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=u[h].translate,m.set(m.get()+u[h].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),l==null||l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=L7,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function Q3(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zhe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function Hhe(e){const{dragControls:t,visualElement:n}=e,r=$S(()=>new Fhe(n));w.useEffect(()=>t&&t.subscribe(r),[r,t]),w.useEffect(()=>r.addListeners(),[r])}function Vhe({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(null),{transformPagePoint:s}=w.useContext(O_),l={onSessionStart:r,onStart:t,onMove:e,onEnd:(d,h)=>{a.current=null,n&&n(d,h)}};w.useEffect(()=>{a.current!==null&&a.current.updateHandlers(l)});function u(d){a.current=new b$(d,l,{transformPagePoint:s})}J4(i,"pointerdown",o&&u),z_(()=>a.current&&a.current.end())}const Whe={pan:Cd(Vhe),drag:Cd(Hhe)};function M7(e){return typeof e=="string"&&e.startsWith("var(--")}const k$=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Uhe(e){const t=k$.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function I7(e,t,n=1){const[r,i]=Uhe(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():M7(i)?I7(i,t,n+1):i}function Ghe(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!M7(o))return;const a=I7(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!M7(o))continue;const a=I7(o,r);a&&(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const qhe=new Set(["width","height","top","left","right","bottom","x","y"]),E$=e=>qhe.has(e),Yhe=e=>Object.keys(e).some(E$),P$=(e,t)=>{e.set(t,!1),e.set(t)},qA=e=>e===rp||e===Lt;var YA;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(YA||(YA={}));const KA=(e,t)=>parseFloat(e.split(", ")[t]),XA=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return KA(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?KA(o[1],e):0}},Khe=new Set(["x","y","z"]),Xhe=Z4.filter(e=>!Khe.has(e));function Zhe(e){const t=[];return Xhe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZA={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:XA(4,13),y:XA(5,14)},Qhe=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=ZA[u](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const d=t.getValue(u);P$(d,s[u]),e[u]=ZA[u](l,o)}),e},Jhe=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(E$);let o=[],a=!1;const s=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],h=V1(d);const m=t[l];let v;if(k2(m)){const b=m.length,S=m[0]===null?1:0;d=m[S],h=V1(d);for(let k=S;k=0?window.pageYOffset:null,u=Qhe(t,e,s);return o.length&&o.forEach(([d,h])=>{e.getValue(d).set(h)}),e.render(),np&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function epe(e,t,n,r){return Yhe(t)?Jhe(e,t,n,r):{target:t,transitionEnd:r}}const tpe=(e,t,n,r)=>{const i=Ghe(e,t,r);return t=i.target,r=i.transitionEnd,epe(e,t,n,r)},R7={current:null},T$={current:!1};function npe(){if(T$.current=!0,!!np)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>R7.current=e.matches;e.addListener(t),t()}else R7.current=!1}function rpe(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ou(o))e.addValue(i,o),o5(r)&&r.add(i);else if(ou(a))e.addValue(i,Vm(o)),o5(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,Vm(s!==void 0?s:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const L$=Object.keys(C2),ipe=L$.length,QA=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ope{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Gs.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=BS(n),this.isVariantNode=hB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(n);for(const d in u){const h=u[d];a[d]!==void 0&&ou(h)&&(h.set(a[d],!1),o5(l)&&l.add(d))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),T$.current||npe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:R7.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Vh.update(this.notifyUpdate),Vh.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=g0.has(t),i=n.onChange(a=>{this.latestValues[t]=a,this.props.onUpdate&&Gs.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isProjectionDirty=!0)}),o=n.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const s=[];for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:m})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):pi()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;nr.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vm(n),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=$_(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ou(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Vv),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const A$=["initial",...nk],ape=A$.length;class O$ extends ope{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=fhe(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){che(this,r,a);const s=tpe(this,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function spe(e){return window.getComputedStyle(e)}class lpe extends O${readValueFromInstance(t,n){if(g0.has(n)){const r=X_(n);return r&&r.default||0}else{const r=spe(t),i=(mB(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return _$(t,n)}build(t,n,r,i){D_(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return B_(t)}renderInstance(t,n,r,i){LB(t,n,r,i)}}class upe extends O${getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return g0.has(n)?((r=X_(n))===null||r===void 0?void 0:r.default)||0:(n=AB.has(n)?n:TB(n),t.getAttribute(n))}measureInstanceViewportBox(){return pi()}scrapeMotionValuesFromProps(t){return MB(t)}build(t,n,r,i){j_(t,n,r,i.transformTemplate)}renderInstance(t,n,r,i){OB(t,n,r,i)}}const cpe=(e,t)=>I_(e)?new upe(t,{enableHardwareAcceleration:!1}):new lpe(t,{enableHardwareAcceleration:!0});function JA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const W1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Lt.test(e))e=parseFloat(e);else return e;const n=JA(e,t.target.x),r=JA(e,t.target.y);return`${n}% ${r}%`}},eO="_$css",dpe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(k$,v=>(o.push(v),eO)));const a=Ju.parse(e);if(a.length>5)return r;const s=Ju.createTransformer(e),l=typeof a[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=d;const h=Fr(u,d,.5);typeof a[2+l]=="number"&&(a[2+l]/=h),typeof a[3+l]=="number"&&(a[3+l]/=h);let m=s(a);if(i){let v=0;m=m.replace(eO,()=>{const b=o[v];return v++,b})}return m}};class fpe extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;_ce(ppe),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Fv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||Gs.postRender(()=>{var s;!((s=a.getStack())===null||s===void 0)&&s.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function hpe(e){const[t,n]=K_(),r=w.useContext(M_);return N.createElement(fpe,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(pB),isPresent:t,safeToRemove:n})}const ppe={borderRadius:{...W1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:W1,borderTopRightRadius:W1,borderBottomLeftRadius:W1,borderBottomRightRadius:W1,boxShadow:dpe},gpe={measureLayout:hpe};function mpe(e,t,n={}){const r=ou(e)?e:Vm(e);return J_("",r,t,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const M$=["TopLeft","TopRight","BottomLeft","BottomRight"],vpe=M$.length,tO=e=>typeof e=="string"?parseFloat(e):e,nO=e=>typeof e=="number"||Lt.test(e);function ype(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=Fr(0,(a=n.opacity)!==null&&a!==void 0?a:1,bpe(r)),e.opacityExit=Fr((s=t.opacity)!==null&&s!==void 0?s:1,0,Spe(r))):o&&(e.opacity=Fr((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(let d=0;drt?1:n(E2(e,t,r))}function iO(e,t){e.min=t.min,e.max=t.max}function Ms(e,t){iO(e.x,t.x),iO(e.y,t.y)}function oO(e,t,n,r,i){return e-=t,e=a5(e,1/n,r),i!==void 0&&(e=a5(e,1/i,r)),e}function xpe(e,t=0,n=1,r=.5,i,o=e,a=e){if(Xl.test(t)&&(t=parseFloat(t),t=Fr(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Fr(o.min,o.max,r);e===o&&(s-=t),e.min=oO(e.min,t,n,s,i),e.max=oO(e.max,t,n,s,i)}function aO(e,t,[n,r,i],o,a){xpe(e,t[n],t[r],t[i],t.scale,o,a)}const wpe=["x","scaleX","originX"],Cpe=["y","scaleY","originY"];function sO(e,t,n,r){aO(e.x,t,wpe,n==null?void 0:n.x,r==null?void 0:r.x),aO(e.y,t,Cpe,n==null?void 0:n.y,r==null?void 0:r.y)}function lO(e){return e.translate===0&&e.scale===1}function R$(e){return lO(e.x)&&lO(e.y)}function D$(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function uO(e){return Oa(e.x)/Oa(e.y)}function _pe(e,t,n=.1){return Y_(e,t)<=n}class kpe{constructor(){this.members=[]}add(t){ek(this.members,t),t.scheduleRender()}remove(t){if(tk(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cO(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),d&&(r+=`rotateY(${d}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}const Epe=(e,t)=>e.depth-t.depth;class Ppe{constructor(){this.children=[],this.isDirty=!1}add(t){ek(this.children,t),this.isDirty=!0}remove(t){tk(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Epe),this.isDirty=!1,this.children.forEach(t)}}const dO=["","X","Y","Z"],fO=1e3;let Tpe=0;function N$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,s={},l=t==null?void 0:t()){this.id=Tpe++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Ipe),this.nodes.forEach(Rpe)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let u=0;uthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=g$(v,250),Fv.hasAnimatedSinceResize&&(Fv.hasAnimatedSinceResize=!1,this.nodes.forEach(pO))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeTargetChanged:b,layout:S})=>{var k,E,_,T,A;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const I=(E=(k=this.options.transition)!==null&&k!==void 0?k:h.getDefaultTransition())!==null&&E!==void 0?E:$pe,{onLayoutAnimationStart:R,onLayoutAnimationComplete:D}=h.getProps(),j=!this.targetLayout||!D$(this.targetLayout,S)||b,z=!v&&b;if(!((_=this.resumeFrom)===null||_===void 0)&&_.instance||z||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,z);const V={...Q_(I,"layout"),onPlay:R,onComplete:D};h.shouldReduceMotion&&(V.delay=0,V.type=!1),this.startAnimation(V)}else!v&&this.animationProgress===0&&pO(this),this.isLead()&&((A=(T=this.options).onExitComplete)===null||A===void 0||A.call(T));this.targetLayout=S})}unmount(){var a,s;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(s=this.parent)===null||s===void 0||s.children.delete(this),this.instance=void 0,Vh.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(Dpe),this.animationId++)}willUpdate(a=!0){var s,l,u;if(this.root.isUpdateBlocked()){(l=(s=this.options).onExitComplete)===null||l===void 0||l.call(s);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{var T;const A=_/1e3;gO(v.x,a.x,A),gO(v.y,a.y,A),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((T=this.relativeParent)===null||T===void 0)&&T.layout)&&(Uv(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jpe(this.relativeTarget,this.relativeTargetOrigin,b,A)),S&&(this.animationValues=m,ype(m,h,this.latestValues,A,E,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(0)}startAnimation(a){var s,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((l=this.resumingFrom.currentAnimation)===null||l===void 0||l.stop()),this.pendingAnimation&&(Vh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gs.update(()=>{Fv.hasAnimatedSinceResize=!0,this.currentAnimation=mpe(0,fO,{...a,onUpdate:u=>{var d;this.mixTargetDelta(u),(d=a.onUpdate)===null||d===void 0||d.call(a,u)},onComplete:()=>{var u;(u=a.onComplete)===null||u===void 0||u.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,fO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:d}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&j$(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||pi();const h=Oa(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const m=Oa(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m}Ms(s,l),Vg(s,d),Wv(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(a,s){var l,u,d;this.sharedNodes.has(a)||this.sharedNodes.set(a,new kpe),this.sharedNodes.get(a).add(s),s.promote({transition:(l=s.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(d=(u=s.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(u,s)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let d=0;d{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(hO),this.root.sharedNodes.clear()}}}function Lpe(e){e.updateLayout()}function Ape(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(b);b.min=o[v].min,b.max=b.min+S}):j$(s,i.layoutBox,o)&&Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(o[v]);b.max=b.min+S});const u=Gv();Wv(u,o,i.layoutBox);const d=Gv();l?Wv(d,e.applyTransform(a,!0),i.measuredBox):Wv(d,o,i.layoutBox);const h=!R$(u);let m=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const k=pi();Uv(k,i.layoutBox,b.layoutBox);const E=pi();Uv(E,o,S.layoutBox),D$(k,E)||(m=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:d,layoutDelta:u,hasLayoutChanged:h,hasRelativeTargetChanged:m})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function Ope(e){e.clearSnapshot()}function hO(e){e.clearMeasurements()}function Mpe(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Ipe(e){e.resolveTargetDelta()}function Rpe(e){e.calcProjection()}function Dpe(e){e.resetRotation()}function Npe(e){e.removeLeadSnapshot()}function gO(e,t,n){e.translate=Fr(t.translate,0,n),e.scale=Fr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mO(e,t,n,r){e.min=Fr(t.min,n.min,r),e.max=Fr(t.max,n.max,r)}function jpe(e,t,n,r){mO(e.x,t.x,n.x,r),mO(e.y,t.y,n.y,r)}function Bpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $pe={duration:.45,ease:[.4,0,.1,1]};function Fpe(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function vO(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function zpe(e){vO(e.x),vO(e.y)}function j$(e,t,n){return e==="position"||e==="preserve-aspect"&&!_pe(uO(t),uO(n),.2)}const Hpe=N$({attachResizeListener:(e,t)=>FS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),b6={current:void 0},Vpe=N$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!b6.current){const e=new Hpe(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),b6.current=e}return b6.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),Wpe={...Che,...Ife,...Whe,...gpe},du=wce((e,t)=>sde(e,t,Wpe,cpe,Vpe));function B$(){const e=w.useRef(!1);return K4(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Upe(){const e=B$(),[t,n]=w.useState(0),r=w.useCallback(()=>{e.current&&n(t+1)},[t]);return[w.useCallback(()=>Gs.postRender(r),[r]),t]}class Gpe extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function qpe({children:e,isPresent:t}){const n=w.useId(),r=w.useRef(null),i=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:l}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` - [data-motion-pop-id="${n}"] { - position: absolute !important; - width: ${o}px !important; - height: ${a}px !important; - top: ${s}px !important; - left: ${l}px !important; - } - `),()=>{document.head.removeChild(u)}},[t]),w.createElement(Gpe,{isPresent:t,childRef:r,sizeRef:i},w.cloneElement(e,{ref:r}))}const S6=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=$S(Ype),l=w.useId(),u=w.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:d=>{s.set(d,!0);for(const h of s.values())if(!h)return;r&&r()},register:d=>(s.set(d,!1),()=>s.delete(d))}),o?void 0:[n]);return w.useMemo(()=>{s.forEach((d,h)=>s.set(h,!1))},[n]),w.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=w.createElement(qpe,{isPresent:n},e)),w.createElement(p0.Provider,{value:u},e)};function Ype(){return new Map}const Bg=e=>e.key||"";function Kpe(e,t){e.forEach(n=>{const r=Bg(n);t.set(r,n)})}function Xpe(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const nf=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",c$(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=Upe();const l=w.useContext(M_).forceRender;l&&(s=l);const u=B$(),d=Xpe(e);let h=d;const m=new Set,v=w.useRef(h),b=w.useRef(new Map).current,S=w.useRef(!0);if(K4(()=>{S.current=!1,Kpe(d,b),v.current=h}),z_(()=>{S.current=!0,b.clear(),m.clear()}),S.current)return w.createElement(w.Fragment,null,h.map(T=>w.createElement(S6,{key:Bg(T),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},T)));h=[...h];const k=v.current.map(Bg),E=d.map(Bg),_=k.length;for(let T=0;T<_;T++){const A=k[T];E.indexOf(A)===-1&&m.add(A)}return a==="wait"&&m.size&&(h=[]),m.forEach(T=>{if(E.indexOf(T)!==-1)return;const A=b.get(T);if(!A)return;const I=k.indexOf(T),R=()=>{b.delete(T),m.delete(T);const D=v.current.findIndex(j=>j.key===T);if(v.current.splice(D,1),!m.size){if(v.current=d,u.current===!1)return;s(),r&&r()}};h.splice(I,0,w.createElement(S6,{key:Bg(A),isPresent:!1,onExitComplete:R,custom:t,presenceAffectsLayout:o,mode:a},A))}),h=h.map(T=>{const A=T.key;return m.has(A)?T:w.createElement(S6,{key:Bg(T),isPresent:!0,presenceAffectsLayout:o,mode:a},T)}),u$!=="production"&&a==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),w.createElement(w.Fragment,null,m.size?h:h.map(T=>w.cloneElement(T)))};var Fl=function(){return Fl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function D7(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;re.filter(Boolean).join(" ");function Zpe(){return!1}var Qpe=e=>{const{condition:t,message:n}=e;t&&Zpe()&&console.warn(n)},_h={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},U1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function N7(e){switch((e==null?void 0:e.direction)??"right"){case"right":return U1.slideRight;case"left":return U1.slideLeft;case"bottom":return U1.slideDown;case"top":return U1.slideUp;default:return U1.slideRight}}var Ih={enter:{duration:.2,ease:_h.easeOut},exit:{duration:.1,ease:_h.easeIn}},qs={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Jpe=e=>e!=null&&parseInt(e.toString(),10)>0,bO={exit:{height:{duration:.2,ease:_h.ease},opacity:{duration:.3,ease:_h.ease}},enter:{height:{duration:.3,ease:_h.ease},opacity:{duration:.4,ease:_h.ease}}},ege={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:Jpe(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??qs.exit(bO.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??qs.enter(bO.enter,i)})},F$=w.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:s,className:l,transition:u,transitionEnd:d,...h}=e,[m,v]=w.useState(!1);w.useEffect(()=>{const _=setTimeout(()=>{v(!0)});return()=>clearTimeout(_)},[]),Qpe({condition:Boolean(o>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const b=parseFloat(o.toString())>0,S={startingHeight:o,endingHeight:a,animateOpacity:i,transition:m?u:{enter:{duration:0}},transitionEnd:{enter:d==null?void 0:d.enter,exit:r?d==null?void 0:d.exit:{...d==null?void 0:d.exit,display:b?"block":"none"}}},k=r?n:!0,E=n||r?"enter":"exit";return N.createElement(nf,{initial:!1,custom:S},k&&N.createElement(du.div,{ref:t,...h,className:by("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:S,variants:ege,initial:r?"exit":!1,animate:E,exit:"exit"}))});F$.displayName="Collapse";var tge={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??qs.exit(Ih.exit,n),transitionEnd:t==null?void 0:t.exit})},z$={initial:"exit",animate:"enter",exit:"exit",variants:tge},nge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:s,delay:l,...u}=t,d=i||r?"enter":"exit",h=r?i&&r:!0,m={transition:a,transitionEnd:s,delay:l};return N.createElement(nf,{custom:m},h&&N.createElement(du.div,{ref:n,className:by("chakra-fade",o),custom:m,...z$,animate:d,...u}))});nge.displayName="Fade";var rge={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??qs.enter(Ih.enter,n),transitionEnd:e==null?void 0:e.enter})},H$={initial:"exit",animate:"enter",exit:"exit",variants:rge},ige=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:u,delay:d,...h}=t,m=r?i&&r:!0,v=i||r?"enter":"exit",b={initialScale:a,reverse:o,transition:l,transitionEnd:u,delay:d};return N.createElement(nf,{custom:b},m&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",s),...H$,animate:v,custom:b,...h}))});ige.displayName="ScaleFade";var SO={exit:{duration:.15,ease:_h.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},oge={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=N7({direction:e});return{...i,transition:(t==null?void 0:t.exit)??qs.exit(SO.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=N7({direction:e});return{...i,transition:(n==null?void 0:n.enter)??qs.enter(SO.enter,r),transitionEnd:t==null?void 0:t.enter}}},V$=w.forwardRef(function(t,n){const{direction:r="right",style:i,unmountOnExit:o,in:a,className:s,transition:l,transitionEnd:u,delay:d,motionProps:h,...m}=t,v=N7({direction:r}),b=Object.assign({position:"fixed"},v.position,i),S=o?a&&o:!0,k=a||o?"enter":"exit",E={transitionEnd:u,transition:l,direction:r,delay:d};return N.createElement(nf,{custom:E},S&&N.createElement(du.div,{...m,ref:n,initial:"exit",className:by("chakra-slide",s),animate:k,exit:"exit",custom:E,variants:oge,style:b,...h}))});V$.displayName="Slide";var age={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}},j7={initial:"initial",animate:"enter",exit:"exit",variants:age},sge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:d,delay:h,...m}=t,v=r?i&&r:!0,b=i||r?"enter":"exit",S={offsetX:s,offsetY:l,reverse:o,transition:u,transitionEnd:d,delay:h};return N.createElement(nf,{custom:S},v&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",a),custom:S,...j7,animate:b,...m}))});sge.displayName="SlideFade";var Sy=(...e)=>e.filter(Boolean).join(" ");function lge(){return!1}var GS=e=>{const{condition:t,message:n}=e;t&&lge()&&console.warn(n)};function x6(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[uge,qS]=Mn({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[cge,rk]=Mn({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[dge,XFe,fge,hge]=dB(),Wg=Ae(function(t,n){const{getButtonProps:r}=rk(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...qS().button};return N.createElement(Ce.button,{...i,className:Sy("chakra-accordion__button",t.className),__css:a})});Wg.displayName="AccordionButton";function pge(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;vge(e),yge(e);const s=fge(),[l,u]=w.useState(-1);w.useEffect(()=>()=>{u(-1)},[]);const[d,h]=DS({value:r,defaultValue(){return i?n??[]:n??-1},onChange:t});return{index:d,setIndex:h,htmlProps:a,getAccordionItemProps:v=>{let b=!1;return v!==null&&(b=Array.isArray(d)?d.includes(v):d===v),{isOpen:b,onChange:k=>{if(v!==null)if(i&&Array.isArray(d)){const E=k?d.concat(v):d.filter(_=>_!==v);h(E)}else k?h(v):o&&h(-1)}}},focusedIndex:l,setFocusedIndex:u,descendants:s}}var[gge,ik]=Mn({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function mge(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=ik(),s=w.useRef(null),l=w.useId(),u=r??l,d=`accordion-button-${u}`,h=`accordion-panel-${u}`;bge(e);const{register:m,index:v,descendants:b}=hge({disabled:t&&!n}),{isOpen:S,onChange:k}=o(v===-1?null:v);Sge({isOpen:S,isDisabled:t});const E=()=>{k==null||k(!0)},_=()=>{k==null||k(!1)},T=w.useCallback(()=>{k==null||k(!S),a(v)},[v,a,S,k]),A=w.useCallback(j=>{const V={ArrowDown:()=>{const K=b.nextEnabled(v);K==null||K.node.focus()},ArrowUp:()=>{const K=b.prevEnabled(v);K==null||K.node.focus()},Home:()=>{const K=b.firstEnabled();K==null||K.node.focus()},End:()=>{const K=b.lastEnabled();K==null||K.node.focus()}}[j.key];V&&(j.preventDefault(),V(j))},[b,v]),I=w.useCallback(()=>{a(v)},[a,v]),R=w.useCallback(function(z={},V=null){return{...z,type:"button",ref:qn(m,s,V),id:d,disabled:!!t,"aria-expanded":!!S,"aria-controls":h,onClick:x6(z.onClick,T),onFocus:x6(z.onFocus,I),onKeyDown:x6(z.onKeyDown,A)}},[d,t,S,T,I,A,h,m]),D=w.useCallback(function(z={},V=null){return{...z,ref:V,role:"region",id:h,"aria-labelledby":d,hidden:!S}},[d,S,h]);return{isOpen:S,isDisabled:t,isFocusable:n,onOpen:E,onClose:_,getButtonProps:R,getPanelProps:D,htmlProps:i}}function vge(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;GS({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function yge(e){GS({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function bge(e){GS({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. - `})}function Sge(e){GS({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Ug(e){const{isOpen:t,isDisabled:n}=rk(),{reduceMotion:r}=ik(),i=Sy("chakra-accordion__icon",e.className),o=qS(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return N.createElement(Da,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}Ug.displayName="AccordionIcon";var Gg=Ae(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=mge(t),l={...qS().container,overflowAnchor:"none"},u=w.useMemo(()=>a,[a]);return N.createElement(cge,{value:u},N.createElement(Ce.div,{ref:n,...o,className:Sy("chakra-accordion__item",i),__css:l},typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r))});Gg.displayName="AccordionItem";var qg=Ae(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=ik(),{getPanelProps:s,isOpen:l}=rk(),u=s(o,n),d=Sy("chakra-accordion__panel",r),h=qS();a||delete u.hidden;const m=N.createElement(Ce.div,{...u,__css:h.panel,className:d});return a?m:N.createElement(F$,{in:l,...i},m)});qg.displayName="AccordionPanel";var ok=Ae(function({children:t,reduceMotion:n,...r},i){const o=Yi("Accordion",r),a=En(r),{htmlProps:s,descendants:l,...u}=pge(a),d=w.useMemo(()=>({...u,reduceMotion:!!n}),[u,n]);return N.createElement(dge,{value:l},N.createElement(gge,{value:d},N.createElement(uge,{value:o},N.createElement(Ce.div,{ref:i,...s,className:Sy("chakra-accordion",r.className),__css:o.root},t))))});ok.displayName="Accordion";var xge=(...e)=>e.filter(Boolean).join(" "),wge=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),xy=Ae((e,t)=>{const n=Ao("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:s,...l}=En(e),u=xge("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${wge} ${o} linear infinite`,...n};return N.createElement(Ce.div,{ref:t,__css:d,className:u,...l},r&&N.createElement(Ce.span,{srOnly:!0},r))});xy.displayName="Spinner";var YS=(...e)=>e.filter(Boolean).join(" ");function Cge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))}function _ge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))}function xO(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[kge,Ege]=Mn({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Pge,ak]=Mn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),W$={info:{icon:_ge,colorScheme:"blue"},warning:{icon:xO,colorScheme:"orange"},success:{icon:Cge,colorScheme:"green"},error:{icon:xO,colorScheme:"red"},loading:{icon:xy,colorScheme:"blue"}};function Tge(e){return W$[e].colorScheme}function Lge(e){return W$[e].icon}var U$=Ae(function(t,n){const{status:r="info",addRole:i=!0,...o}=En(t),a=t.colorScheme??Tge(r),s=Yi("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return N.createElement(kge,{value:{status:r}},N.createElement(Pge,{value:s},N.createElement(Ce.div,{role:i?"alert":void 0,ref:n,...o,className:YS("chakra-alert",t.className),__css:l})))});U$.displayName="Alert";var G$=Ae(function(t,n){const i={display:"inline",...ak().description};return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__desc",t.className),__css:i})});G$.displayName="AlertDescription";function q$(e){const{status:t}=Ege(),n=Lge(t),r=ak(),i=t==="loading"?r.spinner:r.icon;return N.createElement(Ce.span,{display:"inherit",...e,className:YS("chakra-alert__icon",e.className),__css:i},e.children||N.createElement(n,{h:"100%",w:"100%"}))}q$.displayName="AlertIcon";var Y$=Ae(function(t,n){const r=ak();return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__title",t.className),__css:r.title})});Y$.displayName="AlertTitle";function Age(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Oge(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[u,d]=w.useState("pending");w.useEffect(()=>{d(n?"loading":"pending")},[n]);const h=w.useRef(),m=w.useCallback(()=>{if(!n)return;v();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=S=>{v(),d("loaded"),i==null||i(S)},b.onerror=S=>{v(),d("failed"),o==null||o(S)},h.current=b},[n,a,r,s,i,o,t]),v=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return Ws(()=>{if(!l)return u==="loading"&&m(),()=>{v()}},[u,m,l]),l?"loaded":u}var Mge=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError",s5=Ae(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return N.createElement("img",{width:r,height:i,ref:n,alt:o,...a})});s5.displayName="NativeImage";var KS=Ae(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:s,fit:l,loading:u,ignoreFallback:d,crossOrigin:h,fallbackStrategy:m="beforeLoadOrError",referrerPolicy:v,...b}=t,S=r!==void 0||i!==void 0,k=u!=null||d||!S,E=Oge({...t,ignoreFallback:k}),_=Mge(E,m),T={ref:n,objectFit:l,objectPosition:s,...k?b:Age(b,["onError","onLoad"])};return _?i||N.createElement(Ce.img,{as:s5,className:"chakra-image__placeholder",src:r,...T}):N.createElement(Ce.img,{as:s5,src:o,srcSet:a,crossOrigin:h,loading:u,referrerPolicy:v,className:"chakra-image",...T})});KS.displayName="Image";Ae((e,t)=>N.createElement(Ce.img,{ref:t,as:s5,className:"chakra-image",...e}));function XS(e){return w.Children.toArray(e).filter(t=>w.isValidElement(t))}var ZS=(...e)=>e.filter(Boolean).join(" "),wO=e=>e?"":void 0,[Ige,Rge]=Mn({strict:!1,name:"ButtonGroupContext"});function B7(e){const{children:t,className:n,...r}=e,i=w.isValidElement(t)?w.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=ZS("chakra-button__icon",n);return N.createElement(Ce.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o},i)}B7.displayName="ButtonIcon";function $7(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=N.createElement(xy,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...s}=e,l=ZS("chakra-button__spinner",o),u=n==="start"?"marginEnd":"marginStart",d=w.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,u,r]);return N.createElement(Ce.div,{className:l,...s,__css:d},i)}$7.displayName="ButtonSpinner";function Dge(e){const[t,n]=w.useState(!e);return{ref:w.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}var as=Ae((e,t)=>{const n=Rge(),r=Ao("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:s,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:b="start",className:S,as:k,...E}=En(e),_=w.useMemo(()=>{const R={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:R}}},[r,n]),{ref:T,type:A}=Dge(k),I={rightIcon:u,leftIcon:l,iconSpacing:h,children:s};return N.createElement(Ce.button,{disabled:i||o,ref:rce(t,T),as:k,type:m??A,"data-active":wO(a),"data-loading":wO(o),__css:_,className:ZS("chakra-button",S),...E},o&&b==="start"&&N.createElement($7,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:h},v),o?d||N.createElement(Ce.span,{opacity:0},N.createElement(CO,{...I})):N.createElement(CO,{...I}),o&&b==="end"&&N.createElement($7,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:h},v))});as.displayName="Button";function CO(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return N.createElement(N.Fragment,null,t&&N.createElement(B7,{marginEnd:i},t),r,n&&N.createElement(B7,{marginStart:i},n))}var oo=Ae(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:u,...d}=t,h=ZS("chakra-button__group",a),m=w.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:u}),[r,i,o,u]);let v={display:"inline-flex"};return l?v={...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:v={...v,"& > *:not(style) ~ *:not(style)":{marginStart:s}},N.createElement(Ige,{value:m},N.createElement(Ce.div,{ref:n,role:"group",__css:v,className:h,"data-attached":l?"":void 0,...d}))});oo.displayName="ButtonGroup";var ss=Ae((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,s=n||r,l=w.isValidElement(s)?w.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return N.createElement(as,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a},l)});ss.displayName="IconButton";var y0=(...e)=>e.filter(Boolean).join(" "),J3=e=>e?"":void 0,w6=e=>e?!0:void 0;function _O(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[Nge,K$]=Mn({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[jge,b0]=Mn({strict:!1,name:"FormControlContext"});function Bge(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,s=w.useId(),l=t||`field-${s}`,u=`${l}-label`,d=`${l}-feedback`,h=`${l}-helptext`,[m,v]=w.useState(!1),[b,S]=w.useState(!1),[k,E]=w.useState(!1),_=w.useCallback((D={},j=null)=>({id:h,...D,ref:qn(j,z=>{z&&S(!0)})}),[h]),T=w.useCallback((D={},j=null)=>({...D,ref:j,"data-focus":J3(k),"data-disabled":J3(i),"data-invalid":J3(r),"data-readonly":J3(o),id:D.id??u,htmlFor:D.htmlFor??l}),[l,i,k,r,o,u]),A=w.useCallback((D={},j=null)=>({id:d,...D,ref:qn(j,z=>{z&&v(!0)}),"aria-live":"polite"}),[d]),I=w.useCallback((D={},j=null)=>({...D,...a,ref:j,role:"group"}),[a]),R=w.useCallback((D={},j=null)=>({...D,ref:j,role:"presentation","aria-hidden":!0,children:D.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!k,onFocus:()=>E(!0),onBlur:()=>E(!1),hasFeedbackText:m,setHasFeedbackText:v,hasHelpText:b,setHasHelpText:S,id:l,labelId:u,feedbackId:d,helpTextId:h,htmlProps:a,getHelpTextProps:_,getErrorMessageProps:A,getRootProps:I,getLabelProps:T,getRequiredIndicatorProps:R}}var dn=Ae(function(t,n){const r=Yi("Form",t),i=En(t),{getRootProps:o,htmlProps:a,...s}=Bge(i),l=y0("chakra-form-control",t.className);return N.createElement(jge,{value:s},N.createElement(Nge,{value:r},N.createElement(Ce.div,{...o({},n),className:l,__css:r.container})))});dn.displayName="FormControl";var lr=Ae(function(t,n){const r=b0(),i=K$(),o=y0("chakra-form__helper-text",t.className);return N.createElement(Ce.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});lr.displayName="FormHelperText";function sk(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=lk(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":w6(n),"aria-required":w6(i),"aria-readonly":w6(r)}}function lk(e){const t=b0(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:u,onFocus:d,onBlur:h,...m}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&v.push(t.feedbackId),t!=null&&t.hasHelpText&&v.push(t.helpTextId),{...m,"aria-describedby":v.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??u??(t==null?void 0:t.isDisabled),isReadOnly:i??l??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:_O(t==null?void 0:t.onFocus,d),onBlur:_O(t==null?void 0:t.onBlur,h)}}var[$ge,Fge]=Mn({name:"FormErrorStylesContext",errorMessage:`useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),ur=Ae((e,t)=>{const n=Yi("FormError",e),r=En(e),i=b0();return i!=null&&i.isInvalid?N.createElement($ge,{value:n},N.createElement(Ce.div,{...i==null?void 0:i.getErrorMessageProps(r,t),className:y0("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})):null});ur.displayName="FormErrorMessage";var zge=Ae((e,t)=>{const n=Fge(),r=b0();if(!(r!=null&&r.isInvalid))return null;const i=y0("chakra-form__error-icon",e.className);return N.createElement(Da,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:i},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))});zge.displayName="FormErrorIcon";var kn=Ae(function(t,n){const r=Ao("FormLabel",t),i=En(t),{className:o,children:a,requiredIndicator:s=N.createElement(X$,null),optionalIndicator:l=null,...u}=i,d=b0(),h=(d==null?void 0:d.getLabelProps(u,n))??{ref:n,...u};return N.createElement(Ce.label,{...h,className:y0("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r}},a,d!=null&&d.isRequired?s:l)});kn.displayName="FormLabel";var X$=Ae(function(t,n){const r=b0(),i=K$();if(!(r!=null&&r.isRequired))return null;const o=y0("chakra-form__required-indicator",t.className);return N.createElement(Ce.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});X$.displayName="RequiredIndicator";function Vd(e,t){const n=w.useRef(!1),r=w.useRef(!1);w.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),w.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}var uk={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Hge=Ce("span",{baseStyle:uk});Hge.displayName="VisuallyHidden";var Vge=Ce("input",{baseStyle:uk});Vge.displayName="VisuallyHiddenInput";var kO=!1,QS=null,Wm=!1,F7=new Set,Wge=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function Uge(e){return!(e.metaKey||!Wge&&e.altKey||e.ctrlKey)}function ck(e,t){F7.forEach(n=>n(e,t))}function EO(e){Wm=!0,Uge(e)&&(QS="keyboard",ck("keyboard",e))}function wg(e){QS="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wm=!0,ck("pointer",e))}function Gge(e){e.target===window||e.target===document||(Wm||(QS="keyboard",ck("keyboard",e)),Wm=!1)}function qge(){Wm=!1}function PO(){return QS!=="pointer"}function Yge(){if(typeof window>"u"||kO)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){Wm=!0,e.apply(this,n)},document.addEventListener("keydown",EO,!0),document.addEventListener("keyup",EO,!0),window.addEventListener("focus",Gge,!0),window.addEventListener("blur",qge,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",wg,!0),document.addEventListener("pointermove",wg,!0),document.addEventListener("pointerup",wg,!0)):(document.addEventListener("mousedown",wg,!0),document.addEventListener("mousemove",wg,!0),document.addEventListener("mouseup",wg,!0)),kO=!0}function Kge(e){Yge(),e(PO());const t=()=>e(PO());return F7.add(t),()=>{F7.delete(t)}}var[ZFe,Xge]=Mn({name:"CheckboxGroupContext",strict:!1}),Zge=(...e)=>e.filter(Boolean).join(" "),bo=e=>e?"":void 0;function Ya(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function Qge(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}function Jge(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e},N.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function eme(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e},N.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function tme(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?eme:Jge;return n||t?N.createElement(Ce.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},N.createElement(i,{...r})):null}function nme(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Z$(e={}){const t=lk(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:s,onFocus:l,"aria-describedby":u}=t,{defaultChecked:d,isChecked:h,isFocusable:m,onChange:v,isIndeterminate:b,name:S,value:k,tabIndex:E=void 0,"aria-label":_,"aria-labelledby":T,"aria-invalid":A,...I}=e,R=nme(I,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),D=Er(v),j=Er(s),z=Er(l),[V,K]=w.useState(!1),[te,q]=w.useState(!1),[$,U]=w.useState(!1),[X,Z]=w.useState(!1);w.useEffect(()=>Kge(K),[]);const W=w.useRef(null),[Q,ie]=w.useState(!0),[fe,Se]=w.useState(!!d),Pe=h!==void 0,ye=Pe?h:fe,We=w.useCallback(Le=>{if(r||n){Le.preventDefault();return}Pe||Se(ye?Le.target.checked:b?!0:Le.target.checked),D==null||D(Le)},[r,n,ye,Pe,b,D]);Ws(()=>{W.current&&(W.current.indeterminate=Boolean(b))},[b]),Vd(()=>{n&&q(!1)},[n,q]),Ws(()=>{const Le=W.current;Le!=null&&Le.form&&(Le.form.onreset=()=>{Se(!!d)})},[]);const De=n&&!m,ot=w.useCallback(Le=>{Le.key===" "&&Z(!0)},[Z]),He=w.useCallback(Le=>{Le.key===" "&&Z(!1)},[Z]);Ws(()=>{if(!W.current)return;W.current.checked!==ye&&Se(W.current.checked)},[W.current]);const Be=w.useCallback((Le={},lt=null)=>{const Mt=ut=>{te&&ut.preventDefault(),Z(!0)};return{...Le,ref:lt,"data-active":bo(X),"data-hover":bo($),"data-checked":bo(ye),"data-focus":bo(te),"data-focus-visible":bo(te&&V),"data-indeterminate":bo(b),"data-disabled":bo(n),"data-invalid":bo(o),"data-readonly":bo(r),"aria-hidden":!0,onMouseDown:Ya(Le.onMouseDown,Mt),onMouseUp:Ya(Le.onMouseUp,()=>Z(!1)),onMouseEnter:Ya(Le.onMouseEnter,()=>U(!0)),onMouseLeave:Ya(Le.onMouseLeave,()=>U(!1))}},[X,ye,n,te,V,$,b,o,r]),wt=w.useCallback((Le={},lt=null)=>({...R,...Le,ref:qn(lt,Mt=>{Mt&&ie(Mt.tagName==="LABEL")}),onClick:Ya(Le.onClick,()=>{var Mt;Q||((Mt=W.current)==null||Mt.click(),requestAnimationFrame(()=>{var ut;(ut=W.current)==null||ut.focus()}))}),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[R,n,ye,o,Q]),st=w.useCallback((Le={},lt=null)=>({...Le,ref:qn(W,lt),type:"checkbox",name:S,value:k,id:a,tabIndex:E,onChange:Ya(Le.onChange,We),onBlur:Ya(Le.onBlur,j,()=>q(!1)),onFocus:Ya(Le.onFocus,z,()=>q(!0)),onKeyDown:Ya(Le.onKeyDown,ot),onKeyUp:Ya(Le.onKeyUp,He),required:i,checked:ye,disabled:De,readOnly:r,"aria-label":_,"aria-labelledby":T,"aria-invalid":A?Boolean(A):o,"aria-describedby":u,"aria-disabled":n,style:uk}),[S,k,a,We,j,z,ot,He,i,ye,De,r,_,T,A,o,u,n,E]),mt=w.useCallback((Le={},lt=null)=>({...Le,ref:lt,onMouseDown:Ya(Le.onMouseDown,TO),onTouchStart:Ya(Le.onTouchStart,TO),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[ye,n,o]);return{state:{isInvalid:o,isFocused:te,isChecked:ye,isActive:X,isHovered:$,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:wt,getCheckboxProps:Be,getInputProps:st,getLabelProps:mt,htmlProps:R}}function TO(e){e.preventDefault(),e.stopPropagation()}var rme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},ime={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ome=tf({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),ame=tf({from:{opacity:0},to:{opacity:1}}),sme=tf({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),Q$=Ae(function(t,n){const r=Xge(),i={...r,...t},o=Yi("Checkbox",i),a=En(t),{spacing:s="0.5rem",className:l,children:u,iconColor:d,iconSize:h,icon:m=N.createElement(tme,null),isChecked:v,isDisabled:b=r==null?void 0:r.isDisabled,onChange:S,inputProps:k,...E}=a;let _=v;r!=null&&r.value&&a.value&&(_=r.value.includes(a.value));let T=S;r!=null&&r.onChange&&a.value&&(T=Qge(r.onChange,S));const{state:A,getInputProps:I,getCheckboxProps:R,getLabelProps:D,getRootProps:j}=Z$({...E,isDisabled:b,isChecked:_,onChange:T}),z=w.useMemo(()=>({animation:A.isIndeterminate?`${ame} 20ms linear, ${sme} 200ms linear`:`${ome} 200ms linear`,fontSize:h,color:d,...o.icon}),[d,h,,A.isIndeterminate,o.icon]),V=w.cloneElement(m,{__css:z,isIndeterminate:A.isIndeterminate,isChecked:A.isChecked});return N.createElement(Ce.label,{__css:{...ime,...o.container},className:Zge("chakra-checkbox",l),...j()},N.createElement("input",{className:"chakra-checkbox__input",...I(k,n)}),N.createElement(Ce.span,{__css:{...rme,...o.control},className:"chakra-checkbox__control",...R()},V),u&&N.createElement(Ce.span,{className:"chakra-checkbox__label",...D(),__css:{marginStart:s,...o.label}},u))});Q$.displayName="Checkbox";function lme(e){return N.createElement(Da,{focusable:"false","aria-hidden":!0,...e},N.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}var JS=Ae(function(t,n){const r=Ao("CloseButton",t),{children:i,isDisabled:o,__css:a,...s}=En(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return N.createElement(Ce.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...l,...r,...a},...s},i||N.createElement(lme,{width:"1em",height:"1em"}))});JS.displayName="CloseButton";function ume(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function dk(e,t){let n=ume(e);const r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function z7(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function l5(e,t,n){return(e-t)*100/(n-t)}function J$(e,t,n){return(n-t)*e+t}function H7(e,t,n){const r=Math.round((e-t)/n)*n+t,i=z7(n);return dk(r,i)}function Cm(e,t,n){return e==null?e:(nr==null?"":C6(r,o,n)??""),m=typeof i<"u",v=m?i:d,b=eF(dd(v),o),S=n??b,k=w.useCallback(V=>{V!==v&&(m||h(V.toString()),u==null||u(V.toString(),dd(V)))},[u,m,v]),E=w.useCallback(V=>{let K=V;return l&&(K=Cm(K,a,s)),dk(K,S)},[S,l,s,a]),_=w.useCallback((V=o)=>{let K;v===""?K=dd(V):K=dd(v)+V,K=E(K),k(K)},[E,o,k,v]),T=w.useCallback((V=o)=>{let K;v===""?K=dd(-V):K=dd(v)-V,K=E(K),k(K)},[E,o,k,v]),A=w.useCallback(()=>{let V;r==null?V="":V=C6(r,o,n)??a,k(V)},[r,n,o,k,a]),I=w.useCallback(V=>{const K=C6(V,o,S)??a;k(K)},[S,o,k,a]),R=dd(v);return{isOutOfRange:R>s||RN.createElement(OS,{styles:tF}),fme=()=>N.createElement(OS,{styles:` - html { - line-height: 1.5; - -webkit-text-size-adjust: 100%; - font-family: system-ui, sans-serif; - -webkit-font-smoothing: antialiased; - text-rendering: optimizeLegibility; - -moz-osx-font-smoothing: grayscale; - touch-action: manipulation; - } - - body { - position: relative; - min-height: 100%; - font-feature-settings: 'kern'; - } - - *, - *::before, - *::after { - border-width: 0; - border-style: solid; - box-sizing: border-box; - } - - main { - display: block; - } - - hr { - border-top-width: 1px; - box-sizing: content-box; - height: 0; - overflow: visible; - } - - pre, - code, - kbd, - samp { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; - font-size: 1em; - } - - a { - background-color: transparent; - color: inherit; - text-decoration: inherit; - } - - abbr[title] { - border-bottom: none; - text-decoration: underline; - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - } - - b, - strong { - font-weight: bold; - } - - small { - font-size: 80%; - } - - sub, - sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; - } - - sub { - bottom: -0.25em; - } - - sup { - top: -0.5em; - } - - img { - border-style: none; - } - - button, - input, - optgroup, - select, - textarea { - font-family: inherit; - font-size: 100%; - line-height: 1.15; - margin: 0; - } - - button, - input { - overflow: visible; - } - - button, - select { - text-transform: none; - } - - button::-moz-focus-inner, - [type="button"]::-moz-focus-inner, - [type="reset"]::-moz-focus-inner, - [type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; - } - - fieldset { - padding: 0.35em 0.75em 0.625em; - } - - legend { - box-sizing: border-box; - color: inherit; - display: table; - max-width: 100%; - padding: 0; - white-space: normal; - } - - progress { - vertical-align: baseline; - } - - textarea { - overflow: auto; - } - - [type="checkbox"], - [type="radio"] { - box-sizing: border-box; - padding: 0; - } - - [type="number"]::-webkit-inner-spin-button, - [type="number"]::-webkit-outer-spin-button { - -webkit-appearance: none !important; - } - - input[type="number"] { - -moz-appearance: textfield; - } - - [type="search"] { - -webkit-appearance: textfield; - outline-offset: -2px; - } - - [type="search"]::-webkit-search-decoration { - -webkit-appearance: none !important; - } - - ::-webkit-file-upload-button { - -webkit-appearance: button; - font: inherit; - } - - details { - display: block; - } - - summary { - display: list-item; - } - - template { - display: none; - } - - [hidden] { - display: none !important; - } - - body, - blockquote, - dl, - dd, - h1, - h2, - h3, - h4, - h5, - h6, - hr, - figure, - p, - pre { - margin: 0; - } - - button { - background: transparent; - padding: 0; - } - - fieldset { - margin: 0; - padding: 0; - } - - ol, - ul { - margin: 0; - padding: 0; - } - - textarea { - resize: vertical; - } - - button, - [role="button"] { - cursor: pointer; - } - - button::-moz-focus-inner { - border: 0 !important; - } - - table { - border-collapse: collapse; - } - - h1, - h2, - h3, - h4, - h5, - h6 { - font-size: inherit; - font-weight: inherit; - } - - button, - input, - optgroup, - select, - textarea { - padding: 0; - line-height: inherit; - color: inherit; - } - - img, - svg, - video, - canvas, - audio, - iframe, - embed, - object { - display: block; - } - - img, - video { - max-width: 100%; - height: auto; - } - - [data-js-focus-visible] :focus:not([data-focus-visible-added]):not([data-focus-visible-disabled]) { - outline: none; - box-shadow: none; - } - - select::-ms-expand { - display: none; - } - - ${tF} - `});function Rh(e,t,n,r){const i=Er(n);return w.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function hme(e){return"current"in e}var nF=()=>typeof window<"u";function pme(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var gme=e=>nF()&&e.test(navigator.vendor),mme=e=>nF()&&e.test(pme()),vme=()=>mme(/mac|iphone|ipad|ipod/i),yme=()=>vme()&&gme(/apple/i);function bme(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o;return((o=t.current)==null?void 0:o.ownerDocument)??document};Rh(i,"pointerdown",o=>{if(!yme()||!r)return;const a=o.target,l=(n??[t]).some(u=>{const d=hme(u)?u.current:u;return(d==null?void 0:d.contains(a))||d===a});i().activeElement!==a&&l&&(o.preventDefault(),a.focus())})}var Sme=cre?w.useLayoutEffect:w.useEffect;function LO(e,t=[]){const n=w.useRef(e);return Sme(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function xme(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function wme(e,t){const n=w.useId();return w.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Wh(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=LO(n),a=LO(t),[s,l]=w.useState(e.defaultIsOpen||!1),[u,d]=xme(r,s),h=wme(i,"disclosure"),m=w.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),v=w.useCallback(()=>{u||l(!0),o==null||o()},[u,o]),b=w.useCallback(()=>{(d?m:v)()},[d,v,m]);return{isOpen:!!d,onOpen:v,onClose:m,onToggle:b,isControlled:u,getButtonProps:(S={})=>({...S,"aria-expanded":d,"aria-controls":h,onClick:dre(S.onClick,b)}),getDisclosureProps:(S={})=>({...S,hidden:!d,id:h})}}function fk(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var hk=Ae(function(t,n){const{htmlSize:r,...i}=t,o=Yi("Input",i),a=En(i),s=sk(a),l=Qr("chakra-input",t.className);return N.createElement(Ce.input,{size:r,...s,__css:o.field,ref:n,className:l})});hk.displayName="Input";hk.id="Input";var[Cme,rF]=Mn({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),_me=Ae(function(t,n){const r=Yi("Input",t),{children:i,className:o,...a}=En(t),s=Qr("chakra-input__group",o),l={},u=XS(i),d=r.field;u.forEach(m=>{r&&(d&&m.type.id==="InputLeftElement"&&(l.paddingStart=d.height??d.h),d&&m.type.id==="InputRightElement"&&(l.paddingEnd=d.height??d.h),m.type.id==="InputRightAddon"&&(l.borderEndRadius=0),m.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const h=u.map(m=>{var v,b;const S=fk({size:((v=m.props)==null?void 0:v.size)||t.size,variant:((b=m.props)==null?void 0:b.variant)||t.variant});return m.type.id!=="Input"?w.cloneElement(m,S):w.cloneElement(m,Object.assign(S,l,m.props))});return N.createElement(Ce.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative"},...a},N.createElement(Cme,{value:r},h))});_me.displayName="InputGroup";var kme={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},Eme=Ce("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),pk=Ae(function(t,n){const{placement:r="left",...i}=t,o=kme[r]??{},a=rF();return N.createElement(Eme,{ref:n,...i,__css:{...a.addon,...o}})});pk.displayName="InputAddon";var iF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"left",...t,className:Qr("chakra-input__left-addon",t.className)})});iF.displayName="InputLeftAddon";iF.id="InputLeftAddon";var oF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"right",...t,className:Qr("chakra-input__right-addon",t.className)})});oF.displayName="InputRightAddon";oF.id="InputRightAddon";var Pme=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),ex=Ae(function(t,n){const{placement:r="left",...i}=t,o=rF(),a=o.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...o.element};return N.createElement(Pme,{ref:n,__css:l,...i})});ex.id="InputElement";ex.displayName="InputElement";var aF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__left-element",r);return N.createElement(ex,{ref:n,placement:"left",className:o,...i})});aF.id="InputLeftElement";aF.displayName="InputLeftElement";var sF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__right-element",r);return N.createElement(ex,{ref:n,placement:"right",className:o,...i})});sF.id="InputRightElement";sF.displayName="InputRightElement";function Tme(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Wd(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):Tme(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}var Lme=Ae(function(e,t){const{ratio:n=4/3,children:r,className:i,...o}=e,a=w.Children.only(r),s=Qr("chakra-aspect-ratio",i);return N.createElement(Ce.div,{ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:Wd(n,l=>`${1/l*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o},a)});Lme.displayName="AspectRatio";var Ame=Ae(function(t,n){const r=Ao("Badge",t),{className:i,...o}=En(t);return N.createElement(Ce.span,{ref:n,className:Qr("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});Ame.displayName="Badge";var ko=Ce("div");ko.displayName="Box";var lF=Ae(function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return N.createElement(ko,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})});lF.displayName="Square";var Ome=Ae(function(t,n){const{size:r,...i}=t;return N.createElement(lF,{size:r,ref:n,borderRadius:"9999px",...i})});Ome.displayName="Circle";var uF=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});uF.displayName="Center";var Mme={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};Ae(function(t,n){const{axis:r="both",...i}=t;return N.createElement(Ce.div,{ref:n,__css:Mme[r],...i,position:"absolute"})});var Ime=Ae(function(t,n){const r=Ao("Code",t),{className:i,...o}=En(t);return N.createElement(Ce.code,{ref:n,className:Qr("chakra-code",t.className),...o,__css:{display:"inline-block",...r}})});Ime.displayName="Code";var Rme=Ae(function(t,n){const{className:r,centerContent:i,...o}=En(t),a=Ao("Container",t);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});Rme.displayName="Container";var Dme=Ae(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:u,...d}=Ao("Divider",t),{className:h,orientation:m="horizontal",__css:v,...b}=En(t),S={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return N.createElement(Ce.hr,{ref:n,"aria-orientation":m,...b,__css:{...d,border:"0",borderColor:u,borderStyle:l,...S[m],...v},className:Qr("chakra-divider",h)})});Dme.displayName="Divider";var Ge=Ae(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:s,grow:l,shrink:u,...d}=t,h={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:u};return N.createElement(Ce.div,{ref:n,__css:h,...d})});Ge.displayName="Flex";var cF=Ae(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:s,row:l,autoFlow:u,autoRows:d,templateRows:h,autoColumns:m,templateColumns:v,...b}=t,S={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:m,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:h,gridTemplateColumns:v};return N.createElement(Ce.div,{ref:n,__css:S,...b})});cF.displayName="Grid";function AO(e){return Wd(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}var Nme=Ae(function(t,n){const{area:r,colSpan:i,colStart:o,colEnd:a,rowEnd:s,rowSpan:l,rowStart:u,...d}=t,h=fk({gridArea:r,gridColumn:AO(i),gridRow:AO(l),gridColumnStart:o,gridColumnEnd:a,gridRowStart:u,gridRowEnd:s});return N.createElement(Ce.div,{ref:n,__css:h,...d})});Nme.displayName="GridItem";var Dh=Ae(function(t,n){const r=Ao("Heading",t),{className:i,...o}=En(t);return N.createElement(Ce.h2,{ref:n,className:Qr("chakra-heading",t.className),...o,__css:r})});Dh.displayName="Heading";Ae(function(t,n){const r=Ao("Mark",t),i=En(t);return N.createElement(ko,{ref:n,...i,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...r}})});var jme=Ae(function(t,n){const r=Ao("Kbd",t),{className:i,...o}=En(t);return N.createElement(Ce.kbd,{ref:n,className:Qr("chakra-kbd",i),...o,__css:{fontFamily:"mono",...r}})});jme.displayName="Kbd";var Nh=Ae(function(t,n){const r=Ao("Link",t),{className:i,isExternal:o,...a}=En(t);return N.createElement(Ce.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Qr("chakra-link",i),...a,__css:r})});Nh.displayName="Link";Ae(function(t,n){const{isExternal:r,target:i,rel:o,className:a,...s}=t;return N.createElement(Ce.a,{...s,ref:n,className:Qr("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":o,target:r?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})});Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.div,{ref:n,position:"relative",...i,className:Qr("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})});var[Bme,dF]=Mn({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),gk=Ae(function(t,n){const r=Yi("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:s,...l}=En(t),u=XS(i),h=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return N.createElement(Bme,{value:r},N.createElement(Ce.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...h},...l},u))});gk.displayName="List";var $me=Ae((e,t)=>{const{as:n,...r}=e;return N.createElement(gk,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});$me.displayName="OrderedList";var Fme=Ae(function(t,n){const{as:r,...i}=t;return N.createElement(gk,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});Fme.displayName="UnorderedList";var zme=Ae(function(t,n){const r=dF();return N.createElement(Ce.li,{ref:n,...t,__css:r.item})});zme.displayName="ListItem";var Hme=Ae(function(t,n){const r=dF();return N.createElement(Da,{ref:n,role:"presentation",...t,__css:r.icon})});Hme.displayName="ListIcon";var Vme=Ae(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:s,...l}=t,u=h0(),d=s?Ume(s,u):Gme(r);return N.createElement(cF,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:d,...l})});Vme.displayName="SimpleGrid";function Wme(e){return typeof e=="number"?`${e}px`:e}function Ume(e,t){return Wd(e,n=>{const r=Gue("sizes",n,Wme(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function Gme(e){return Wd(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var fF=Ce("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});fF.displayName="Spacer";var V7="& > *:not(style) ~ *:not(style)";function qme(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[V7]:Wd(n,i=>r[i])}}function Yme(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Wd(n,i=>r[i])}}var hF=e=>N.createElement(Ce.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});hF.displayName="StackItem";var mk=Ae((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:s,children:l,divider:u,className:d,shouldWrapChildren:h,...m}=e,v=n?"row":r??"column",b=w.useMemo(()=>qme({direction:v,spacing:a}),[v,a]),S=w.useMemo(()=>Yme({spacing:a,direction:v}),[a,v]),k=!!u,E=!h&&!k,_=w.useMemo(()=>{const A=XS(l);return E?A:A.map((I,R)=>{const D=typeof I.key<"u"?I.key:R,j=R+1===A.length,V=h?N.createElement(hF,{key:D},I):I;if(!k)return V;const K=w.cloneElement(u,{__css:S}),te=j?null:K;return N.createElement(w.Fragment,{key:D},V,te)})},[u,S,k,E,h,l]),T=Qr("chakra-stack",d);return N.createElement(Ce.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:b.flexDirection,flexWrap:s,className:T,__css:k?{}:{[V7]:b[V7]},...m},_)});mk.displayName="Stack";var wy=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"row",ref:t}));wy.displayName="HStack";var yn=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"column",ref:t}));yn.displayName="VStack";var fn=Ae(function(t,n){const r=Ao("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=En(t),u=fk({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return N.createElement(Ce.p,{ref:n,className:Qr("chakra-text",t.className),...u,...l,__css:r})});fn.displayName="Text";function OO(e){return typeof e=="number"?`${e}px`:e}var Kme=Ae(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:s,direction:l,align:u,className:d,shouldWrapChildren:h,...m}=t,v=w.useMemo(()=>{const{spacingX:S=r,spacingY:k=r}={spacingX:i,spacingY:o};return{"--chakra-wrap-x-spacing":E=>Wd(S,_=>OO(ZC("space",_)(E))),"--chakra-wrap-y-spacing":E=>Wd(k,_=>OO(ZC("space",_)(E))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:u,flexDirection:l,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[r,i,o,s,u,l]),b=w.useMemo(()=>h?w.Children.map(a,(S,k)=>N.createElement(pF,{key:k},S)):a,[a,h]);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-wrap",d),overflow:"hidden",...m},N.createElement(Ce.ul,{className:"chakra-wrap__list",__css:v},b))});Kme.displayName="Wrap";var pF=Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Qr("chakra-wrap__listitem",r),...i})});pF.displayName="WrapItem";var Xme={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},gF=Xme,Cg=()=>{},Zme={document:gF,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Cg,removeEventListener:Cg,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:Cg,removeListener:Cg}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)},setTimeout:()=>0,clearTimeout:Cg,setInterval:()=>0,clearInterval:Cg},Qme=Zme,Jme={window:Qme,document:gF},mF=typeof window<"u"?{window,document}:Jme,vF=w.createContext(mF);vF.displayName="EnvironmentContext";function yF(e){const{children:t,environment:n}=e,[r,i]=w.useState(null),[o,a]=w.useState(!1);w.useEffect(()=>a(!0),[]);const s=w.useMemo(()=>{if(n)return n;const l=r==null?void 0:r.ownerDocument,u=r==null?void 0:r.ownerDocument.defaultView;return l?{document:l,window:u}:mF},[r,n]);return N.createElement(vF.Provider,{value:s},t,!n&&o&&N.createElement("span",{id:"__chakra_env",hidden:!0,ref:l=>{w.startTransition(()=>{l&&i(l)})}}))}yF.displayName="EnvironmentProvider";var e0e=e=>e?"":void 0;function t0e(){const e=w.useRef(new Map),t=e.current,n=w.useCallback((i,o,a,s)=>{e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),r=w.useCallback((i,o,a,s)=>{i.removeEventListener(o,a,s),e.current.delete(a)},[]);return w.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function _6(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function n0e(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:u,onKeyUp:d,tabIndex:h,onMouseOver:m,onMouseLeave:v,...b}=e,[S,k]=w.useState(!0),[E,_]=w.useState(!1),T=t0e(),A=Z=>{Z&&Z.tagName!=="BUTTON"&&k(!1)},I=S?h:h||0,R=n&&!r,D=w.useCallback(Z=>{if(n){Z.stopPropagation(),Z.preventDefault();return}Z.currentTarget.focus(),l==null||l(Z)},[n,l]),j=w.useCallback(Z=>{E&&_6(Z)&&(Z.preventDefault(),Z.stopPropagation(),_(!1),T.remove(document,"keyup",j,!1))},[E,T]),z=w.useCallback(Z=>{if(u==null||u(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;const W=i&&Z.key==="Enter";o&&Z.key===" "&&(Z.preventDefault(),_(!0)),W&&(Z.preventDefault(),Z.currentTarget.click()),T.add(document,"keyup",j,!1)},[n,S,u,i,o,T,j]),V=w.useCallback(Z=>{if(d==null||d(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;o&&Z.key===" "&&(Z.preventDefault(),_(!1),Z.currentTarget.click())},[o,S,n,d]),K=w.useCallback(Z=>{Z.button===0&&(_(!1),T.remove(document,"mouseup",K,!1))},[T]),te=w.useCallback(Z=>{if(Z.button!==0)return;if(n){Z.stopPropagation(),Z.preventDefault();return}S||_(!0),Z.currentTarget.focus({preventScroll:!0}),T.add(document,"mouseup",K,!1),a==null||a(Z)},[n,S,a,T,K]),q=w.useCallback(Z=>{Z.button===0&&(S||_(!1),s==null||s(Z))},[s,S]),$=w.useCallback(Z=>{if(n){Z.preventDefault();return}m==null||m(Z)},[n,m]),U=w.useCallback(Z=>{E&&(Z.preventDefault(),_(!1)),v==null||v(Z)},[E,v]),X=qn(t,A);return S?{...b,ref:X,type:"button","aria-disabled":R?void 0:n,disabled:R,onClick:D,onMouseDown:a,onMouseUp:s,onKeyUp:d,onKeyDown:u,onMouseOver:m,onMouseLeave:v}:{...b,ref:X,role:"button","data-active":e0e(E),"aria-disabled":n?"true":void 0,tabIndex:R?void 0:I,onClick:D,onMouseDown:te,onMouseUp:q,onKeyUp:V,onKeyDown:z,onMouseOver:$,onMouseLeave:U}}function bF(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function SF(e){if(!bF(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function r0e(e){var t;return((t=xF(e))==null?void 0:t.defaultView)??window}function xF(e){return bF(e)?e.ownerDocument:document}function i0e(e){return xF(e).activeElement}var wF=e=>e.hasAttribute("tabindex"),o0e=e=>wF(e)&&e.tabIndex===-1;function a0e(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function CF(e){return e.parentElement&&CF(e.parentElement)?!0:e.hidden}function s0e(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function _F(e){if(!SF(e)||CF(e)||a0e(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():s0e(e)?!0:wF(e)}function l0e(e){return e?SF(e)&&_F(e)&&!o0e(e):!1}var u0e=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],c0e=u0e.join(),d0e=e=>e.offsetWidth>0&&e.offsetHeight>0;function kF(e){const t=Array.from(e.querySelectorAll(c0e));return t.unshift(e),t.filter(n=>_F(n)&&d0e(n))}function f0e(e){const t=e.current;if(!t)return!1;const n=i0e(t);return!n||t.contains(n)?!1:!!l0e(n)}function h0e(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;Vd(()=>{if(!o||f0e(e))return;const a=(i==null?void 0:i.current)||e.current;a&&requestAnimationFrame(()=>{a.focus()})},[o,e,i])}var p0e={preventScroll:!0,shouldFocus:!1};function g0e(e,t=p0e){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:o}=t,a=m0e(e)?e.current:e,s=i&&o,l=w.useRef(s),u=w.useRef(o);Ws(()=>{!u.current&&o&&(l.current=s),u.current=o},[o,s]);const d=w.useCallback(()=>{if(!(!o||!a||!l.current)&&(l.current=!1,!a.contains(document.activeElement)))if(n!=null&&n.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:r})});else{const h=kF(a);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:r})})}},[o,r,a,n]);Vd(()=>{d()},[d]),Rh(a,"transitionend",d)}function m0e(e){return"current"in e}var Zo="top",ls="bottom",us="right",Qo="left",vk="auto",Cy=[Zo,ls,us,Qo],Um="start",L2="end",v0e="clippingParents",EF="viewport",G1="popper",y0e="reference",MO=Cy.reduce(function(e,t){return e.concat([t+"-"+Um,t+"-"+L2])},[]),PF=[].concat(Cy,[vk]).reduce(function(e,t){return e.concat([t,t+"-"+Um,t+"-"+L2])},[]),b0e="beforeRead",S0e="read",x0e="afterRead",w0e="beforeMain",C0e="main",_0e="afterMain",k0e="beforeWrite",E0e="write",P0e="afterWrite",T0e=[b0e,S0e,x0e,w0e,C0e,_0e,k0e,E0e,P0e];function au(e){return e?(e.nodeName||"").toLowerCase():null}function hs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uh(e){var t=hs(e).Element;return e instanceof t||e instanceof Element}function is(e){var t=hs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yk(e){if(typeof ShadowRoot>"u")return!1;var t=hs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L0e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!is(o)||!au(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function A0e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!is(i)||!au(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const O0e={name:"applyStyles",enabled:!0,phase:"write",fn:L0e,effect:A0e,requires:["computeStyles"]};function Zl(e){return e.split("-")[0]}var jh=Math.max,u5=Math.min,Gm=Math.round;function W7(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function TF(){return!/^((?!chrome|android).)*safari/i.test(W7())}function qm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&is(e)&&(i=e.offsetWidth>0&&Gm(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Gm(r.height)/e.offsetHeight||1);var a=Uh(e)?hs(e):window,s=a.visualViewport,l=!TF()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,h=r.width/i,m=r.height/o;return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function bk(e){var t=qm(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function LF(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ec(e){return hs(e).getComputedStyle(e)}function M0e(e){return["table","td","th"].indexOf(au(e))>=0}function rf(e){return((Uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function tx(e){return au(e)==="html"?e:e.assignedSlot||e.parentNode||(yk(e)?e.host:null)||rf(e)}function IO(e){return!is(e)||ec(e).position==="fixed"?null:e.offsetParent}function I0e(e){var t=/firefox/i.test(W7()),n=/Trident/i.test(W7());if(n&&is(e)){var r=ec(e);if(r.position==="fixed")return null}var i=tx(e);for(yk(i)&&(i=i.host);is(i)&&["html","body"].indexOf(au(i))<0;){var o=ec(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _y(e){for(var t=hs(e),n=IO(e);n&&M0e(n)&&ec(n).position==="static";)n=IO(n);return n&&(au(n)==="html"||au(n)==="body"&&ec(n).position==="static")?t:n||I0e(e)||t}function Sk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qv(e,t,n){return jh(e,u5(t,n))}function R0e(e,t,n){var r=qv(e,t,n);return r>n?n:r}function AF(){return{top:0,right:0,bottom:0,left:0}}function OF(e){return Object.assign({},AF(),e)}function MF(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var D0e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,OF(typeof t!="number"?t:MF(t,Cy))};function N0e(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Zl(n.placement),l=Sk(s),u=[Qo,us].indexOf(s)>=0,d=u?"height":"width";if(!(!o||!a)){var h=D0e(i.padding,n),m=bk(o),v=l==="y"?Zo:Qo,b=l==="y"?ls:us,S=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],k=a[l]-n.rects.reference[l],E=_y(o),_=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,T=S/2-k/2,A=h[v],I=_-m[d]-h[b],R=_/2-m[d]/2+T,D=qv(A,R,I),j=l;n.modifiersData[r]=(t={},t[j]=D,t.centerOffset=D-R,t)}}function j0e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||LF(t.elements.popper,i)&&(t.elements.arrow=i))}const B0e={name:"arrow",enabled:!0,phase:"main",fn:N0e,effect:j0e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ym(e){return e.split("-")[1]}var $0e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F0e(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Gm(t*i)/i||0,y:Gm(n*i)/i||0}}function RO(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,S=b===void 0?0:b,k=typeof d=="function"?d({x:v,y:S}):{x:v,y:S};v=k.x,S=k.y;var E=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),T=Qo,A=Zo,I=window;if(u){var R=_y(n),D="clientHeight",j="clientWidth";if(R===hs(n)&&(R=rf(n),ec(R).position!=="static"&&s==="absolute"&&(D="scrollHeight",j="scrollWidth")),R=R,i===Zo||(i===Qo||i===us)&&o===L2){A=ls;var z=h&&R===I&&I.visualViewport?I.visualViewport.height:R[D];S-=z-r.height,S*=l?1:-1}if(i===Qo||(i===Zo||i===ls)&&o===L2){T=us;var V=h&&R===I&&I.visualViewport?I.visualViewport.width:R[j];v-=V-r.width,v*=l?1:-1}}var K=Object.assign({position:s},u&&$0e),te=d===!0?F0e({x:v,y:S}):{x:v,y:S};if(v=te.x,S=te.y,l){var q;return Object.assign({},K,(q={},q[A]=_?"0":"",q[T]=E?"0":"",q.transform=(I.devicePixelRatio||1)<=1?"translate("+v+"px, "+S+"px)":"translate3d("+v+"px, "+S+"px, 0)",q))}return Object.assign({},K,(t={},t[A]=_?S+"px":"",t[T]=E?v+"px":"",t.transform="",t))}function z0e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Zl(t.placement),variation:Ym(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,RO(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,RO(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const H0e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:z0e,data:{}};var eb={passive:!0};function V0e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=hs(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,eb)}),s&&l.addEventListener("resize",n.update,eb),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,eb)}),s&&l.removeEventListener("resize",n.update,eb)}}const W0e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:V0e,data:{}};var U0e={left:"right",right:"left",bottom:"top",top:"bottom"};function h4(e){return e.replace(/left|right|bottom|top/g,function(t){return U0e[t]})}var G0e={start:"end",end:"start"};function DO(e){return e.replace(/start|end/g,function(t){return G0e[t]})}function xk(e){var t=hs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wk(e){return qm(rf(e)).left+xk(e).scrollLeft}function q0e(e,t){var n=hs(e),r=rf(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=TF();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+wk(e),y:l}}function Y0e(e){var t,n=rf(e),r=xk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=jh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=jh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+wk(e),l=-r.scrollTop;return ec(i||n).direction==="rtl"&&(s+=jh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ck(e){var t=ec(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function IF(e){return["html","body","#document"].indexOf(au(e))>=0?e.ownerDocument.body:is(e)&&Ck(e)?e:IF(tx(e))}function Yv(e,t){var n;t===void 0&&(t=[]);var r=IF(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=hs(r),a=i?[o].concat(o.visualViewport||[],Ck(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Yv(tx(a)))}function U7(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function K0e(e,t){var n=qm(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function NO(e,t,n){return t===EF?U7(q0e(e,n)):Uh(t)?K0e(t,n):U7(Y0e(rf(e)))}function X0e(e){var t=Yv(tx(e)),n=["absolute","fixed"].indexOf(ec(e).position)>=0,r=n&&is(e)?_y(e):e;return Uh(r)?t.filter(function(i){return Uh(i)&&LF(i,r)&&au(i)!=="body"}):[]}function Z0e(e,t,n,r){var i=t==="clippingParents"?X0e(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var d=NO(e,u,r);return l.top=jh(d.top,l.top),l.right=u5(d.right,l.right),l.bottom=u5(d.bottom,l.bottom),l.left=jh(d.left,l.left),l},NO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function RF(e){var t=e.reference,n=e.element,r=e.placement,i=r?Zl(r):null,o=r?Ym(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Zo:l={x:a,y:t.y-n.height};break;case ls:l={x:a,y:t.y+t.height};break;case us:l={x:t.x+t.width,y:s};break;case Qo:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?Sk(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case Um:l[u]=l[u]-(t[d]/2-n[d]/2);break;case L2:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function A2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?v0e:s,u=n.rootBoundary,d=u===void 0?EF:u,h=n.elementContext,m=h===void 0?G1:h,v=n.altBoundary,b=v===void 0?!1:v,S=n.padding,k=S===void 0?0:S,E=OF(typeof k!="number"?k:MF(k,Cy)),_=m===G1?y0e:G1,T=e.rects.popper,A=e.elements[b?_:m],I=Z0e(Uh(A)?A:A.contextElement||rf(e.elements.popper),l,d,a),R=qm(e.elements.reference),D=RF({reference:R,element:T,strategy:"absolute",placement:i}),j=U7(Object.assign({},T,D)),z=m===G1?j:R,V={top:I.top-z.top+E.top,bottom:z.bottom-I.bottom+E.bottom,left:I.left-z.left+E.left,right:z.right-I.right+E.right},K=e.modifiersData.offset;if(m===G1&&K){var te=K[i];Object.keys(V).forEach(function(q){var $=[us,ls].indexOf(q)>=0?1:-1,U=[Zo,ls].indexOf(q)>=0?"y":"x";V[q]+=te[U]*$})}return V}function Q0e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?PF:l,d=Ym(r),h=d?s?MO:MO.filter(function(b){return Ym(b)===d}):Cy,m=h.filter(function(b){return u.indexOf(b)>=0});m.length===0&&(m=h);var v=m.reduce(function(b,S){return b[S]=A2(e,{placement:S,boundary:i,rootBoundary:o,padding:a})[Zl(S)],b},{});return Object.keys(v).sort(function(b,S){return v[b]-v[S]})}function J0e(e){if(Zl(e)===vk)return[];var t=h4(e);return[DO(e),t,DO(t)]}function e1e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,S=n.allowedAutoPlacements,k=t.options.placement,E=Zl(k),_=E===k,T=l||(_||!b?[h4(k)]:J0e(k)),A=[k].concat(T).reduce(function(ye,We){return ye.concat(Zl(We)===vk?Q0e(t,{placement:We,boundary:d,rootBoundary:h,padding:u,flipVariations:b,allowedAutoPlacements:S}):We)},[]),I=t.rects.reference,R=t.rects.popper,D=new Map,j=!0,z=A[0],V=0;V=0,U=$?"width":"height",X=A2(t,{placement:K,boundary:d,rootBoundary:h,altBoundary:m,padding:u}),Z=$?q?us:Qo:q?ls:Zo;I[U]>R[U]&&(Z=h4(Z));var W=h4(Z),Q=[];if(o&&Q.push(X[te]<=0),s&&Q.push(X[Z]<=0,X[W]<=0),Q.every(function(ye){return ye})){z=K,j=!1;break}D.set(K,Q)}if(j)for(var ie=b?3:1,fe=function(We){var De=A.find(function(ot){var He=D.get(ot);if(He)return He.slice(0,We).every(function(Be){return Be})});if(De)return z=De,"break"},Se=ie;Se>0;Se--){var Pe=fe(Se);if(Pe==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const t1e={name:"flip",enabled:!0,phase:"main",fn:e1e,requiresIfExists:["offset"],data:{_skip:!1}};function jO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function BO(e){return[Zo,us,ls,Qo].some(function(t){return e[t]>=0})}function n1e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=A2(t,{elementContext:"reference"}),s=A2(t,{altBoundary:!0}),l=jO(a,r),u=jO(s,i,o),d=BO(l),h=BO(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const r1e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:n1e};function i1e(e,t,n){var r=Zl(e),i=[Qo,Zo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Qo,us].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function o1e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=PF.reduce(function(d,h){return d[h]=i1e(h,t.rects,o),d},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const a1e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o1e};function s1e(e){var t=e.state,n=e.name;t.modifiersData[n]=RF({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const l1e={name:"popperOffsets",enabled:!0,phase:"read",fn:s1e,data:{}};function u1e(e){return e==="x"?"y":"x"}function c1e(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,S=b===void 0?0:b,k=A2(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:d}),E=Zl(t.placement),_=Ym(t.placement),T=!_,A=Sk(E),I=u1e(A),R=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,z=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,V=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,te={x:0,y:0};if(R){if(o){var q,$=A==="y"?Zo:Qo,U=A==="y"?ls:us,X=A==="y"?"height":"width",Z=R[A],W=Z+k[$],Q=Z-k[U],ie=v?-j[X]/2:0,fe=_===Um?D[X]:j[X],Se=_===Um?-j[X]:-D[X],Pe=t.elements.arrow,ye=v&&Pe?bk(Pe):{width:0,height:0},We=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:AF(),De=We[$],ot=We[U],He=qv(0,D[X],ye[X]),Be=T?D[X]/2-ie-He-De-V.mainAxis:fe-He-De-V.mainAxis,wt=T?-D[X]/2+ie+He+ot+V.mainAxis:Se+He+ot+V.mainAxis,st=t.elements.arrow&&_y(t.elements.arrow),mt=st?A==="y"?st.clientTop||0:st.clientLeft||0:0,St=(q=K==null?void 0:K[A])!=null?q:0,Le=Z+Be-St-mt,lt=Z+wt-St,Mt=qv(v?u5(W,Le):W,Z,v?jh(Q,lt):Q);R[A]=Mt,te[A]=Mt-Z}if(s){var ut,_t=A==="x"?Zo:Qo,ln=A==="x"?ls:us,ae=R[I],Re=I==="y"?"height":"width",Ye=ae+k[_t],Ke=ae-k[ln],xe=[Zo,Qo].indexOf(E)!==-1,Ne=(ut=K==null?void 0:K[I])!=null?ut:0,Ct=xe?Ye:ae-D[Re]-j[Re]-Ne+V.altAxis,Dt=xe?ae+D[Re]+j[Re]-Ne-V.altAxis:Ke,Te=v&&xe?R0e(Ct,ae,Dt):qv(v?Ct:Ye,ae,v?Dt:Ke);R[I]=Te,te[I]=Te-ae}t.modifiersData[r]=te}}const d1e={name:"preventOverflow",enabled:!0,phase:"main",fn:c1e,requiresIfExists:["offset"]};function f1e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function h1e(e){return e===hs(e)||!is(e)?xk(e):f1e(e)}function p1e(e){var t=e.getBoundingClientRect(),n=Gm(t.width)/e.offsetWidth||1,r=Gm(t.height)/e.offsetHeight||1;return n!==1||r!==1}function g1e(e,t,n){n===void 0&&(n=!1);var r=is(t),i=is(t)&&p1e(t),o=rf(t),a=qm(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((au(t)!=="body"||Ck(o))&&(s=h1e(t)),is(t)?(l=qm(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=wk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function m1e(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function v1e(e){var t=m1e(e);return T0e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function y1e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function b1e(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var $O={placement:"bottom",modifiers:[],strategy:"absolute"};function FO(){for(var e=arguments.length,t=new Array(e),n=0;n({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),oi={arrowShadowColor:_g("--popper-arrow-shadow-color"),arrowSize:_g("--popper-arrow-size","8px"),arrowSizeHalf:_g("--popper-arrow-size-half"),arrowBg:_g("--popper-arrow-bg"),transformOrigin:_g("--popper-transform-origin"),arrowOffset:_g("--popper-arrow-offset")};function C1e(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var _1e={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},k1e=e=>_1e[e],zO={scroll:!0,resize:!0};function E1e(e){let t;return typeof e=="object"?t={enabled:!0,options:{...zO,...e}}:t={enabled:e,options:zO},t}var P1e={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},T1e={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{HO(e)},effect:({state:e})=>()=>{HO(e)}},HO=e=>{e.elements.popper.style.setProperty(oi.transformOrigin.var,k1e(e.placement))},L1e={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A1e(e)}},A1e=e=>{var t;if(!e.placement)return;const n=O1e(e.placement);if((t=e.elements)!=null&&t.arrow&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:oi.arrowSize.varRef,height:oi.arrowSize.varRef,zIndex:-1});const r={[oi.arrowSizeHalf.var]:`calc(${oi.arrowSize.varRef} / 2)`,[oi.arrowOffset.var]:`calc(${oi.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},O1e=e=>{if(e.startsWith("top"))return{property:"bottom",value:oi.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:oi.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:oi.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:oi.arrowOffset.varRef}},M1e={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{VO(e)},effect:({state:e})=>()=>{VO(e)}},VO=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");t&&Object.assign(t.style,{transform:"rotate(45deg)",background:oi.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:C1e(e.placement)})},I1e={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},R1e={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function D1e(e,t="ltr"){var n;const r=((n=I1e[e])==null?void 0:n[t])||e;return t==="ltr"?r:R1e[e]??r}function DF(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:h=!0,matchWidth:m,direction:v="ltr"}=e,b=w.useRef(null),S=w.useRef(null),k=w.useRef(null),E=D1e(r,v),_=w.useRef(()=>{}),T=w.useCallback(()=>{var V;!t||!b.current||!S.current||((V=_.current)==null||V.call(_),k.current=w1e(b.current,S.current,{placement:E,modifiers:[M1e,L1e,T1e,{...P1e,enabled:!!m},{name:"eventListeners",...E1e(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:d}},...n??[]],strategy:i}),k.current.forceUpdate(),_.current=k.current.destroy)},[E,t,n,m,a,o,s,l,u,h,d,i]);w.useEffect(()=>()=>{var V;!b.current&&!S.current&&((V=k.current)==null||V.destroy(),k.current=null)},[]);const A=w.useCallback(V=>{b.current=V,T()},[T]),I=w.useCallback((V={},K=null)=>({...V,ref:qn(A,K)}),[A]),R=w.useCallback(V=>{S.current=V,T()},[T]),D=w.useCallback((V={},K=null)=>({...V,ref:qn(R,K),style:{...V.style,position:i,minWidth:m?void 0:"max-content",inset:"0 auto auto 0"}}),[i,R,m]),j=w.useCallback((V={},K=null)=>{const{size:te,shadowColor:q,bg:$,style:U,...X}=V;return{...X,ref:K,"data-popper-arrow":"",style:N1e(V)}},[]),z=w.useCallback((V={},K=null)=>({...V,ref:K,"data-popper-arrow-inner":""}),[]);return{update(){var V;(V=k.current)==null||V.update()},forceUpdate(){var V;(V=k.current)==null||V.forceUpdate()},transformOrigin:oi.transformOrigin.varRef,referenceRef:A,popperRef:R,getPopperProps:D,getArrowProps:j,getArrowInnerProps:z,getReferenceProps:I}}function N1e(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function NF(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=Er(n),a=Er(t),[s,l]=w.useState(e.defaultIsOpen||!1),u=r!==void 0?r:s,d=r!==void 0,h=w.useId(),m=i??`disclosure-${h}`,v=w.useCallback(()=>{d||l(!1),a==null||a()},[d,a]),b=w.useCallback(()=>{d||l(!0),o==null||o()},[d,o]),S=w.useCallback(()=>{u?v():b()},[u,b,v]);function k(_={}){return{..._,"aria-expanded":u,"aria-controls":m,onClick(T){var A;(A=_.onClick)==null||A.call(_,T),S()}}}function E(_={}){return{..._,hidden:!u,id:m}}return{isOpen:u,onOpen:b,onClose:v,onToggle:S,isControlled:d,getButtonProps:k,getDisclosureProps:E}}function j1e(e){const{isOpen:t,ref:n}=e,[r,i]=w.useState(t),[o,a]=w.useState(!1);return w.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),Rh(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var l;const u=r0e(n.current),d=new u.CustomEvent("animationend",{bubbles:!0});(l=n.current)==null||l.dispatchEvent(d)}}}function jF(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}var Qs={},B1e={get exports(){return Qs},set exports(e){Qs=e}},Na={},Bh={},$1e={get exports(){return Bh},set exports(e){Bh=e}},BF={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function t(W,Q){var ie=W.length;W.push(Q);e:for(;0>>1,Se=W[fe];if(0>>1;fei(We,ie))Dei(ot,We)?(W[fe]=ot,W[De]=ie,fe=De):(W[fe]=We,W[ye]=ie,fe=ye);else if(Dei(ot,ie))W[fe]=ot,W[De]=ie,fe=De;else break e}}return Q}function i(W,Q){var ie=W.sortIndex-Q.sortIndex;return ie!==0?ie:W.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],d=1,h=null,m=3,v=!1,b=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(W){for(var Q=n(u);Q!==null;){if(Q.callback===null)r(u);else if(Q.startTime<=W)r(u),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(u)}}function A(W){if(S=!1,T(W),!b)if(n(l)!==null)b=!0,X(I);else{var Q=n(u);Q!==null&&Z(A,Q.startTime-W)}}function I(W,Q){b=!1,S&&(S=!1,E(j),j=-1),v=!0;var ie=m;try{for(T(Q),h=n(l);h!==null&&(!(h.expirationTime>Q)||W&&!K());){var fe=h.callback;if(typeof fe=="function"){h.callback=null,m=h.priorityLevel;var Se=fe(h.expirationTime<=Q);Q=e.unstable_now(),typeof Se=="function"?h.callback=Se:h===n(l)&&r(l),T(Q)}else r(l);h=n(l)}if(h!==null)var Pe=!0;else{var ye=n(u);ye!==null&&Z(A,ye.startTime-Q),Pe=!1}return Pe}finally{h=null,m=ie,v=!1}}var R=!1,D=null,j=-1,z=5,V=-1;function K(){return!(e.unstable_now()-VW||125fe?(W.sortIndex=ie,t(u,W),n(l)===null&&W===n(u)&&(S?(E(j),j=-1):S=!0,Z(A,ie-fe))):(W.sortIndex=Se,t(l,W),b||v||(b=!0,X(I))),W},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(W){var Q=m;return function(){var ie=m;m=Q;try{return W.apply(this,arguments)}finally{m=ie}}}})(BF);(function(e){e.exports=BF})($1e);/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var $F=w,Ma=Bh;function Fe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),G7=Object.prototype.hasOwnProperty,F1e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,WO={},UO={};function z1e(e){return G7.call(UO,e)?!0:G7.call(WO,e)?!1:F1e.test(e)?UO[e]=!0:(WO[e]=!0,!1)}function H1e(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function V1e(e,t,n,r){if(t===null||typeof t>"u"||H1e(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oo(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var qi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qi[e]=new Oo(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qi[t]=new Oo(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qi[e]=new Oo(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qi[e]=new Oo(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){qi[e]=new Oo(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qi[e]=new Oo(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qi[e]=new Oo(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qi[e]=new Oo(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qi[e]=new Oo(e,5,!1,e.toLowerCase(),null,!1,!1)});var _k=/[\-:]([a-z])/g;function kk(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!1,!1)});qi.xlinkHref=new Oo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ek(e,t,n,r){var i=qi.hasOwnProperty(t)?qi[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` -`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{E6=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yv(e):""}function W1e(e){switch(e.tag){case 5:return yv(e.type);case 16:return yv("Lazy");case 13:return yv("Suspense");case 19:return yv("SuspenseList");case 0:case 2:case 15:return e=P6(e.type,!1),e;case 11:return e=P6(e.type.render,!1),e;case 1:return e=P6(e.type,!0),e;default:return""}}function X7(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kg:return"Fragment";case Yg:return"Portal";case q7:return"Profiler";case Pk:return"StrictMode";case Y7:return"Suspense";case K7:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case HF:return(e.displayName||"Context")+".Consumer";case zF:return(e._context.displayName||"Context")+".Provider";case Tk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lk:return t=e.displayName||null,t!==null?t:X7(e.type)||"Memo";case pd:t=e._payload,e=e._init;try{return X7(e(t))}catch{}}return null}function U1e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X7(t);case 8:return t===Pk?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ud(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function WF(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function G1e(e){var t=WF(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nb(e){e._valueTracker||(e._valueTracker=G1e(e))}function UF(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=WF(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function c5(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Z7(e,t){var n=t.checked;return Tr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qO(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ud(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function GF(e,t){t=t.checked,t!=null&&Ek(e,"checked",t,!1)}function Q7(e,t){GF(e,t);var n=Ud(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?J7(e,t.type,n):t.hasOwnProperty("defaultValue")&&J7(e,t.type,Ud(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YO(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function J7(e,t,n){(t!=="number"||c5(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bv=Array.isArray;function _m(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=rb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function M2(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kv={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q1e=["Webkit","ms","Moz","O"];Object.keys(Kv).forEach(function(e){q1e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kv[t]=Kv[e]})});function XF(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kv.hasOwnProperty(e)&&Kv[e]?(""+t).trim():t+"px"}function ZF(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=XF(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Y1e=Tr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function n9(e,t){if(t){if(Y1e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Fe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Fe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Fe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Fe(62))}}function r9(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var i9=null;function Ak(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var o9=null,km=null,Em=null;function ZO(e){if(e=Py(e)){if(typeof o9!="function")throw Error(Fe(280));var t=e.stateNode;t&&(t=ax(t),o9(e.stateNode,e.type,t))}}function QF(e){km?Em?Em.push(e):Em=[e]:km=e}function JF(){if(km){var e=km,t=Em;if(Em=km=null,ZO(e),t)for(e=0;e>>=0,e===0?32:31-(ove(e)/ave|0)|0}var ib=64,ob=4194304;function Sv(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function p5(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Sv(s):(o&=a,o!==0&&(r=Sv(o)))}else a=n&~i,a!==0?r=Sv(a):o!==0&&(r=Sv(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ky(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ys(t),e[t]=n}function cve(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zv),aM=String.fromCharCode(32),sM=!1;function bz(e,t){switch(e){case"keyup":return Bve.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sz(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xg=!1;function Fve(e,t){switch(e){case"compositionend":return Sz(t);case"keypress":return t.which!==32?null:(sM=!0,aM);case"textInput":return e=t.data,e===aM&&sM?null:e;default:return null}}function zve(e,t){if(Xg)return e==="compositionend"||!Bk&&bz(e,t)?(e=vz(),g4=Dk=_d=null,Xg=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dM(n)}}function _z(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_z(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kz(){for(var e=window,t=c5();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=c5(e.document)}return t}function $k(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Xve(e){var t=kz(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_z(n.ownerDocument.documentElement,n)){if(r!==null&&$k(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=fM(n,o);var a=fM(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zg=null,d9=null,Jv=null,f9=!1;function hM(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;f9||Zg==null||Zg!==c5(r)||(r=Zg,"selectionStart"in r&&$k(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jv&&B2(Jv,r)||(Jv=r,r=v5(d9,"onSelect"),0em||(e.current=y9[em],y9[em]=null,em--)}function nr(e,t){em++,y9[em]=e.current,e.current=t}var Gd={},lo=af(Gd),Jo=af(!1),Gh=Gd;function Xm(e,t){var n=e.type.contextTypes;if(!n)return Gd;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function b5(){fr(Jo),fr(lo)}function SM(e,t,n){if(lo.current!==Gd)throw Error(Fe(168));nr(lo,t),nr(Jo,n)}function Rz(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Fe(108,U1e(e)||"Unknown",i));return Tr({},n,r)}function S5(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gd,Gh=lo.current,nr(lo,e),nr(Jo,Jo.current),!0}function xM(e,t,n){var r=e.stateNode;if(!r)throw Error(Fe(169));n?(e=Rz(e,t,Gh),r.__reactInternalMemoizedMergedChildContext=e,fr(Jo),fr(lo),nr(lo,e)):fr(Jo),nr(Jo,n)}var Hu=null,sx=!1,z6=!1;function Dz(e){Hu===null?Hu=[e]:Hu.push(e)}function l2e(e){sx=!0,Dz(e)}function sf(){if(!z6&&Hu!==null){z6=!0;var e=0,t=Bn;try{var n=Hu;for(Bn=1;e>=a,i-=a,Uu=1<<32-Ys(t)+i|n<j?(z=D,D=null):z=D.sibling;var V=m(E,D,T[j],A);if(V===null){D===null&&(D=z);break}e&&D&&V.alternate===null&&t(E,D),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V,D=z}if(j===T.length)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;jj?(z=D,D=null):z=D.sibling;var K=m(E,D,V.value,A);if(K===null){D===null&&(D=z);break}e&&D&&K.alternate===null&&t(E,D),_=o(K,_,j),R===null?I=K:R.sibling=K,R=K,D=z}if(V.done)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;!V.done;j++,V=T.next())V=h(E,V.value,A),V!==null&&(_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return yr&&dh(E,j),I}for(D=r(E,D);!V.done;j++,V=T.next())V=v(D,E,j,V.value,A),V!==null&&(e&&V.alternate!==null&&D.delete(V.key===null?j:V.key),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return e&&D.forEach(function(te){return t(E,te)}),yr&&dh(E,j),I}function k(E,_,T,A){if(typeof T=="object"&&T!==null&&T.type===Kg&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case tb:e:{for(var I=T.key,R=_;R!==null;){if(R.key===I){if(I=T.type,I===Kg){if(R.tag===7){n(E,R.sibling),_=i(R,T.props.children),_.return=E,E=_;break e}}else if(R.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===pd&&TM(I)===R.type){n(E,R.sibling),_=i(R,T.props),_.ref=Q1(E,R,T),_.return=E,E=_;break e}n(E,R);break}else t(E,R);R=R.sibling}T.type===Kg?(_=Fh(T.props.children,E.mode,A,T.key),_.return=E,E=_):(A=C4(T.type,T.key,T.props,null,E.mode,A),A.ref=Q1(E,_,T),A.return=E,E=A)}return a(E);case Yg:e:{for(R=T.key;_!==null;){if(_.key===R)if(_.tag===4&&_.stateNode.containerInfo===T.containerInfo&&_.stateNode.implementation===T.implementation){n(E,_.sibling),_=i(_,T.children||[]),_.return=E,E=_;break e}else{n(E,_);break}else t(E,_);_=_.sibling}_=K6(T,E.mode,A),_.return=E,E=_}return a(E);case pd:return R=T._init,k(E,_,R(T._payload),A)}if(bv(T))return b(E,_,T,A);if(q1(T))return S(E,_,T,A);fb(E,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,_!==null&&_.tag===6?(n(E,_.sibling),_=i(_,T),_.return=E,E=_):(n(E,_),_=Y6(T,E.mode,A),_.return=E,E=_),a(E)):n(E,_)}return k}var Qm=Vz(!0),Wz=Vz(!1),Ty={},Jl=af(Ty),H2=af(Ty),V2=af(Ty);function Ph(e){if(e===Ty)throw Error(Fe(174));return e}function Yk(e,t){switch(nr(V2,t),nr(H2,e),nr(Jl,Ty),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:t9(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=t9(t,e)}fr(Jl),nr(Jl,t)}function Jm(){fr(Jl),fr(H2),fr(V2)}function Uz(e){Ph(V2.current);var t=Ph(Jl.current),n=t9(t,e.type);t!==n&&(nr(H2,e),nr(Jl,n))}function Kk(e){H2.current===e&&(fr(Jl),fr(H2))}var _r=af(0);function E5(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var H6=[];function Xk(){for(var e=0;en?n:4,e(!0);var r=V6.transition;V6.transition={};try{e(!1),t()}finally{Bn=n,V6.transition=r}}function sH(){return ds().memoizedState}function f2e(e,t,n){var r=Dd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lH(e))uH(t,n);else if(n=$z(e,t,n,r),n!==null){var i=To();Ks(n,e,r,i),cH(n,t,r)}}function h2e(e,t,n){var r=Dd(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lH(e))uH(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Js(s,a)){var l=t.interleaved;l===null?(i.next=i,Gk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=$z(e,t,i,r),n!==null&&(i=To(),Ks(n,e,r,i),cH(n,t,r))}}function lH(e){var t=e.alternate;return e===Pr||t!==null&&t===Pr}function uH(e,t){e2=P5=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cH(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mk(e,n)}}var T5={readContext:cs,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useInsertionEffect:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useDeferredValue:Qi,useTransition:Qi,useMutableSource:Qi,useSyncExternalStore:Qi,useId:Qi,unstable_isNewReconciler:!1},p2e={readContext:cs,useCallback:function(e,t){return Dl().memoizedState=[e,t===void 0?null:t],e},useContext:cs,useEffect:AM,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,b4(4194308,4,nH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return b4(4194308,4,e,t)},useInsertionEffect:function(e,t){return b4(4,2,e,t)},useMemo:function(e,t){var n=Dl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=f2e.bind(null,Pr,e),[r.memoizedState,e]},useRef:function(e){var t=Dl();return e={current:e},t.memoizedState=e},useState:LM,useDebugValue:tE,useDeferredValue:function(e){return Dl().memoizedState=e},useTransition:function(){var e=LM(!1),t=e[0];return e=d2e.bind(null,e[1]),Dl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pr,i=Dl();if(yr){if(n===void 0)throw Error(Fe(407));n=n()}else{if(n=t(),Li===null)throw Error(Fe(349));Yh&30||Yz(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,AM(Xz.bind(null,r,o,e),[e]),r.flags|=2048,G2(9,Kz.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dl(),t=Li.identifierPrefix;if(yr){var n=Gu,r=Uu;n=(r&~(1<<32-Ys(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=W2++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[zl]=t,e[z2]=r,bH(e,t,!1,!1),t.stateNode=e;e:{switch(a=r9(n,r),n){case"dialog":or("cancel",e),or("close",e),i=r;break;case"iframe":case"object":case"embed":or("load",e),i=r;break;case"video":case"audio":for(i=0;it0&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304)}else{if(!r)if(e=E5(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),J1(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!yr)return Ji(t),null}else 2*Zr()-o.renderingStartTime>t0&&n!==1073741824&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Zr(),t.sibling=null,n=_r.current,nr(_r,r?n&1|2:n&1),t):(Ji(t),null);case 22:case 23:return sE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_a&1073741824&&(Ji(t),t.subtreeFlags&6&&(t.flags|=8192)):Ji(t),null;case 24:return null;case 25:return null}throw Error(Fe(156,t.tag))}function w2e(e,t){switch(zk(t),t.tag){case 1:return ea(t.type)&&b5(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jm(),fr(Jo),fr(lo),Xk(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kk(t),null;case 13:if(fr(_r),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Fe(340));Zm()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fr(_r),null;case 4:return Jm(),null;case 10:return Uk(t.type._context),null;case 22:case 23:return sE(),null;case 24:return null;default:return null}}var pb=!1,io=!1,C2e=typeof WeakSet=="function"?WeakSet:Set,ht=null;function im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$r(e,t,r)}else n.current=null}function A9(e,t,n){try{n()}catch(r){$r(e,t,r)}}var $M=!1;function _2e(e,t){if(h9=g5,e=kz(),$k(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,d=0,h=e,m=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(s=a+i),h!==o||r!==0&&h.nodeType!==3||(l=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(v=h.firstChild)!==null;)m=h,h=v;for(;;){if(h===e)break t;if(m===n&&++u===i&&(s=a),m===o&&++d===r&&(l=a),(v=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(p9={focusedElem:e,selectionRange:n},g5=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){t=ht;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var S=b.memoizedProps,k=b.memoizedState,E=t.stateNode,_=E.getSnapshotBeforeUpdate(t.elementType===t.type?S:Ns(t.type,S),k);E.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Fe(163))}}catch(A){$r(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}return b=$M,$M=!1,b}function t2(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&A9(t,n,o)}i=i.next}while(i!==r)}}function cx(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function O9(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wH(e){var t=e.alternate;t!==null&&(e.alternate=null,wH(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zl],delete t[z2],delete t[v9],delete t[a2e],delete t[s2e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function CH(e){return e.tag===5||e.tag===3||e.tag===4}function FM(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||CH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function M9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=y5));else if(r!==4&&(e=e.child,e!==null))for(M9(e,t,n),e=e.sibling;e!==null;)M9(e,t,n),e=e.sibling}function I9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(I9(e,t,n),e=e.sibling;e!==null;)I9(e,t,n),e=e.sibling}var Hi=null,js=!1;function sd(e,t,n){for(n=n.child;n!==null;)_H(e,t,n),n=n.sibling}function _H(e,t,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(nx,n)}catch{}switch(n.tag){case 5:io||im(n,t);case 6:var r=Hi,i=js;Hi=null,sd(e,t,n),Hi=r,js=i,Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Hi.removeChild(n.stateNode));break;case 18:Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?F6(e.parentNode,n):e.nodeType===1&&F6(e,n),N2(e)):F6(Hi,n.stateNode));break;case 4:r=Hi,i=js,Hi=n.stateNode.containerInfo,js=!0,sd(e,t,n),Hi=r,js=i;break;case 0:case 11:case 14:case 15:if(!io&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&A9(n,t,a),i=i.next}while(i!==r)}sd(e,t,n);break;case 1:if(!io&&(im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){$r(n,t,s)}sd(e,t,n);break;case 21:sd(e,t,n);break;case 22:n.mode&1?(io=(r=io)||n.memoizedState!==null,sd(e,t,n),io=r):sd(e,t,n);break;default:sd(e,t,n)}}function zM(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new C2e),t.forEach(function(r){var i=I2e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Is(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Zr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*E2e(r/1960))-r,10e?16:e,kd===null)var r=!1;else{if(e=kd,kd=null,O5=0,pn&6)throw Error(Fe(331));var i=pn;for(pn|=4,ht=e.current;ht!==null;){var o=ht,a=o.child;if(ht.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lZr()-oE?$h(e,0):iE|=n),ta(e,t)}function MH(e,t){t===0&&(e.mode&1?(t=ob,ob<<=1,!(ob&130023424)&&(ob=4194304)):t=1);var n=To();e=rc(e,t),e!==null&&(ky(e,t,n),ta(e,n))}function M2e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),MH(e,n)}function I2e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Fe(314))}r!==null&&r.delete(t),MH(e,n)}var IH;IH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Jo.current)Xo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xo=!1,S2e(e,t,n);Xo=!!(e.flags&131072)}else Xo=!1,yr&&t.flags&1048576&&Nz(t,w5,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;S4(e,t),e=t.pendingProps;var i=Xm(t,lo.current);Tm(t,n),i=Qk(null,t,r,e,i,n);var o=Jk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(r)?(o=!0,S5(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qk(t),i.updater=lx,t.stateNode=i,i._reactInternals=t,C9(t,r,e,n),t=E9(null,t,r,!0,o,n)):(t.tag=0,yr&&o&&Fk(t),wo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(S4(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=D2e(r),e=Ns(r,e),i){case 0:t=k9(null,t,r,e,n);break e;case 1:t=NM(null,t,r,e,n);break e;case 11:t=RM(null,t,r,e,n);break e;case 14:t=DM(null,t,r,Ns(r.type,e),n);break e}throw Error(Fe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),k9(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),NM(e,t,r,i,n);case 3:e:{if(mH(t),e===null)throw Error(Fe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Fz(e,t),k5(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=e0(Error(Fe(423)),t),t=jM(e,t,r,n,i);break e}else if(r!==i){i=e0(Error(Fe(424)),t),t=jM(e,t,r,n,i);break e}else for(Ea=Md(t.stateNode.containerInfo.firstChild),La=t,yr=!0,$s=null,n=Wz(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zm(),r===i){t=ic(e,t,n);break e}wo(e,t,r,n)}t=t.child}return t;case 5:return Uz(t),e===null&&S9(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,g9(r,i)?a=null:o!==null&&g9(r,o)&&(t.flags|=32),gH(e,t),wo(e,t,a,n),t.child;case 6:return e===null&&S9(t),null;case 13:return vH(e,t,n);case 4:return Yk(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qm(t,null,r,n):wo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),RM(e,t,r,i,n);case 7:return wo(e,t,t.pendingProps,n),t.child;case 8:return wo(e,t,t.pendingProps.children,n),t.child;case 12:return wo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,nr(C5,r._currentValue),r._currentValue=a,o!==null)if(Js(o.value,a)){if(o.children===i.children&&!Jo.current){t=ic(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qu(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),x9(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Fe(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),x9(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}wo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Tm(t,n),i=cs(i),r=r(i),t.flags|=1,wo(e,t,r,n),t.child;case 14:return r=t.type,i=Ns(r,t.pendingProps),i=Ns(r.type,i),DM(e,t,r,i,n);case 15:return hH(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),S4(e,t),t.tag=1,ea(r)?(e=!0,S5(t)):e=!1,Tm(t,n),Hz(t,r,i),C9(t,r,i,n),E9(null,t,r,!0,e,n);case 19:return yH(e,t,n);case 22:return pH(e,t,n)}throw Error(Fe(156,t.tag))};function RH(e,t){return az(e,t)}function R2e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ns(e,t,n,r){return new R2e(e,t,n,r)}function uE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function D2e(e){if(typeof e=="function")return uE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tk)return 11;if(e===Lk)return 14}return 2}function Nd(e,t){var n=e.alternate;return n===null?(n=ns(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function C4(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")uE(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kg:return Fh(n.children,i,o,t);case Pk:a=8,i|=8;break;case q7:return e=ns(12,n,t,i|2),e.elementType=q7,e.lanes=o,e;case Y7:return e=ns(13,n,t,i),e.elementType=Y7,e.lanes=o,e;case K7:return e=ns(19,n,t,i),e.elementType=K7,e.lanes=o,e;case VF:return fx(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zF:a=10;break e;case HF:a=9;break e;case Tk:a=11;break e;case Lk:a=14;break e;case pd:a=16,r=null;break e}throw Error(Fe(130,e==null?e:typeof e,""))}return t=ns(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Fh(e,t,n,r){return e=ns(7,e,r,t),e.lanes=n,e}function fx(e,t,n,r){return e=ns(22,e,r,t),e.elementType=VF,e.lanes=n,e.stateNode={isHidden:!1},e}function Y6(e,t,n){return e=ns(6,e,null,t),e.lanes=n,e}function K6(e,t,n){return t=ns(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function N2e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=L6(0),this.expirationTimes=L6(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=L6(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cE(e,t,n,r,i,o,a,s,l){return e=new N2e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ns(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qk(o),e}function j2e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Na})(B1e);const vb=d_(Qs);var[H2e,V2e]=Mn({strict:!1,name:"PortalManagerContext"});function BH(e){const{children:t,zIndex:n}=e;return N.createElement(H2e,{value:{zIndex:n}},t)}BH.displayName="PortalManager";var[$H,W2e]=Mn({strict:!1,name:"PortalContext"}),pE="chakra-portal",U2e=".chakra-portal",G2e=e=>N.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),q2e=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=w.useState(null),o=w.useRef(null),[,a]=w.useState({});w.useEffect(()=>a({}),[]);const s=W2e(),l=V2e();Ws(()=>{if(!r)return;const d=r.ownerDocument,h=t?s??d.body:d.body;if(!h)return;o.current=d.createElement("div"),o.current.className=pE,h.appendChild(o.current),a({});const m=o.current;return()=>{h.contains(m)&&h.removeChild(m)}},[r]);const u=l!=null&&l.zIndex?N.createElement(G2e,{zIndex:l==null?void 0:l.zIndex},n):n;return o.current?Qs.createPortal(N.createElement($H,{value:o.current},u),o.current):N.createElement("span",{ref:d=>{d&&i(d)}})},Y2e=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=w.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=pE),l},[i]),[,s]=w.useState({});return Ws(()=>s({}),[]),Ws(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Qs.createPortal(N.createElement($H,{value:r?a:null},t),a):null};function ap(e){const{containerRef:t,...n}=e;return t?N.createElement(Y2e,{containerRef:t,...n}):N.createElement(q2e,{...n})}ap.defaultProps={appendToParentPortal:!0};ap.className=pE;ap.selector=U2e;ap.displayName="Portal";var K2e=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eg=new WeakMap,yb=new WeakMap,bb={},X6=0,FH=function(e){return e&&(e.host||FH(e.parentNode))},X2e=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=FH(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return Boolean(n)})},Z2e=function(e,t,n,r){var i=X2e(t,Array.isArray(e)?e:[e]);bb[n]||(bb[n]=new WeakMap);var o=bb[n],a=[],s=new Set,l=new Set(i),u=function(h){!h||s.has(h)||(s.add(h),u(h.parentNode))};i.forEach(u);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))d(m);else{var v=m.getAttribute(r),b=v!==null&&v!=="false",S=(Eg.get(m)||0)+1,k=(o.get(m)||0)+1;Eg.set(m,S),o.set(m,k),a.push(m),S===1&&b&&yb.set(m,!0),k===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}})};return d(t),s.clear(),X6++,function(){a.forEach(function(h){var m=Eg.get(h)-1,v=o.get(h)-1;Eg.set(h,m),o.set(h,v),m||(yb.has(h)||h.removeAttribute(r),yb.delete(h)),v||h.removeAttribute(n)}),X6--,X6||(Eg=new WeakMap,Eg=new WeakMap,yb=new WeakMap,bb={})}},zH=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||K2e(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),Z2e(r,i,n,"aria-hidden")):function(){return null}};function gE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var jn={},Q2e={get exports(){return jn},set exports(e){jn=e}},J2e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eye=J2e,tye=eye;function HH(){}function VH(){}VH.resetWarningCache=HH;var nye=function(){function e(r,i,o,a,s,l){if(l!==tye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:VH,resetWarningCache:HH};return n.PropTypes=n,n};Q2e.exports=nye();var B9="data-focus-lock",WH="data-focus-lock-disabled",rye="data-no-focus-lock",iye="data-autofocus-inside",oye="data-no-autofocus";function aye(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sye(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function UH(e,t){return sye(t||null,function(n){return e.forEach(function(r){return aye(r,n)})})}var Z6={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function GH(e){return e}function qH(e,t){t===void 0&&(t=GH);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return i}function mE(e,t){return t===void 0&&(t=GH),qH(e,t)}function YH(e){e===void 0&&(e={});var t=qH(null);return t.options=Fl({async:!0,ssr:!1},e),t}var KH=function(e){var t=e.sideCar,n=$$(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,Fl({},n))};KH.isSideCarExport=!0;function lye(e,t){return e.useMedium(t),KH}var XH=mE({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),ZH=mE(),uye=mE(),cye=YH({async:!0}),dye=[],vE=w.forwardRef(function(t,n){var r,i=w.useState(),o=i[0],a=i[1],s=w.useRef(),l=w.useRef(!1),u=w.useRef(null),d=t.children,h=t.disabled,m=t.noFocusGuards,v=t.persistentFocus,b=t.crossFrame,S=t.autoFocus;t.allowTextSelection;var k=t.group,E=t.className,_=t.whiteList,T=t.hasPositiveIndices,A=t.shards,I=A===void 0?dye:A,R=t.as,D=R===void 0?"div":R,j=t.lockProps,z=j===void 0?{}:j,V=t.sideCar,K=t.returnFocus,te=t.focusOptions,q=t.onActivation,$=t.onDeactivation,U=w.useState({}),X=U[0],Z=w.useCallback(function(){u.current=u.current||document&&document.activeElement,s.current&&q&&q(s.current),l.current=!0},[q]),W=w.useCallback(function(){l.current=!1,$&&$(s.current)},[$]);w.useEffect(function(){h||(u.current=null)},[]);var Q=w.useCallback(function(ot){var He=u.current;if(He&&He.focus){var Be=typeof K=="function"?K(He):K;if(Be){var wt=typeof Be=="object"?Be:void 0;u.current=null,ot?Promise.resolve().then(function(){return He.focus(wt)}):He.focus(wt)}}},[K]),ie=w.useCallback(function(ot){l.current&&XH.useMedium(ot)},[]),fe=ZH.useMedium,Se=w.useCallback(function(ot){s.current!==ot&&(s.current=ot,a(ot))},[]),Pe=bn((r={},r[WH]=h&&"disabled",r[B9]=k,r),z),ye=m!==!0,We=ye&&m!=="tail",De=UH([n,Se]);return w.createElement(w.Fragment,null,ye&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}),T?w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:Z6}):null],!h&&w.createElement(V,{id:X,sideCar:cye,observed:o,disabled:h,persistentFocus:v,crossFrame:b,autoFocus:S,whiteList:_,shards:I,onActivation:Z,onDeactivation:W,returnFocus:Q,focusOptions:te}),w.createElement(D,bn({ref:De},Pe,{className:E,onBlur:fe,onFocus:ie}),d),We&&w.createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}))});vE.propTypes={};vE.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const QH=vE;function $9(e,t){return $9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$9(e,t)}function yE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$9(e,t)}function JH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fye(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function s(){a=e(o.map(function(u){return u.props})),t(a)}var l=function(u){yE(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return a};var h=d.prototype;return h.componentDidMount=function(){o.push(this),s()},h.componentDidUpdate=function(){s()},h.componentWillUnmount=function(){var v=o.indexOf(this);o.splice(v,1),s()},h.render=function(){return N.createElement(i,this.props)},d}(w.PureComponent);return JH(l,"displayName","SideEffect("+n(i)+")"),l}}var fu=function(e){for(var t=Array(e.length),n=0;n=0}).sort(Sye)},xye=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],SE=xye.join(","),wye="".concat(SE,", [data-focus-guard]"),lV=function(e,t){var n;return fu(((n=e.shadowRoot)===null||n===void 0?void 0:n.children)||e.children).reduce(function(r,i){return r.concat(i.matches(t?wye:SE)?[i]:[],lV(i))},[])},xE=function(e,t){return e.reduce(function(n,r){return n.concat(lV(r,t),r.parentNode?fu(r.parentNode.querySelectorAll(SE)).filter(function(i){return i===r}):[])},[])},Cye=function(e){var t=e.querySelectorAll("[".concat(iye,"]"));return fu(t).map(function(n){return xE([n])}).reduce(function(n,r){return n.concat(r)},[])},wE=function(e,t){return fu(e).filter(function(n){return nV(t,n)}).filter(function(n){return vye(n)})},KM=function(e,t){return t===void 0&&(t=new Map),fu(e).filter(function(n){return rV(t,n)})},z9=function(e,t,n){return sV(wE(xE(e,n),t),!0,n)},XM=function(e,t){return sV(wE(xE(e),t),!1)},_ye=function(e,t){return wE(Cye(e),t)},Y2=function(e,t){return e.shadowRoot?Y2(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:fu(e.children).some(function(n){return Y2(n,t)})},kye=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},uV=function(e){return e.parentNode?uV(e.parentNode):e},CE=function(e){var t=F9(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(B9);return n.push.apply(n,i?kye(fu(uV(r).querySelectorAll("[".concat(B9,'="').concat(i,'"]:not([').concat(WH,'="disabled"])')))):[r]),n},[])},cV=function(e){return e.activeElement?e.activeElement.shadowRoot?cV(e.activeElement.shadowRoot):e.activeElement:void 0},_E=function(){return document.activeElement?document.activeElement.shadowRoot?cV(document.activeElement.shadowRoot):document.activeElement:void 0},Eye=function(e){return e===document.activeElement},Pye=function(e){return Boolean(fu(e.querySelectorAll("iframe")).some(function(t){return Eye(t)}))},dV=function(e){var t=document&&_E();return!t||t.dataset&&t.dataset.focusGuard?!1:CE(e).some(function(n){return Y2(n,t)||Pye(n)})},Tye=function(){var e=document&&_E();return e?fu(document.querySelectorAll("[".concat(rye,"]"))).some(function(t){return Y2(t,e)}):!1},Lye=function(e,t){return t.filter(aV).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},kE=function(e,t){return aV(e)&&e.name?Lye(e,t):e},Aye=function(e){var t=new Set;return e.forEach(function(n){return t.add(kE(n,e))}),e.filter(function(n){return t.has(n)})},ZM=function(e){return e[0]&&e.length>1?kE(e[0],e):e[0]},QM=function(e,t){return e.length>1?e.indexOf(kE(e[t],e)):t},fV="NEW_FOCUS",Oye=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=bE(n);if(!(n&&e.indexOf(n)>=0)){var l=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):l,d=r?e.indexOf(r):-1,h=l-u,m=t.indexOf(o),v=t.indexOf(a),b=Aye(t),S=n!==void 0?b.indexOf(n):-1,k=S-(r?b.indexOf(r):l),E=QM(e,0),_=QM(e,i-1);if(l===-1||d===-1)return fV;if(!h&&d>=0)return d;if(l<=m&&s&&Math.abs(h)>1)return _;if(l>=v&&s&&Math.abs(h)>1)return E;if(h&&Math.abs(k)>1)return d;if(l<=m)return _;if(l>v)return E;if(h)return Math.abs(h)>1?d:(i+d+h)%i}},Mye=function(e){return function(t){var n,r=(n=iV(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Iye=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=KM(r.filter(Mye(n)));return i&&i.length?ZM(i):ZM(KM(t))},H9=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&H9(e.parentNode.host||e.parentNode,t),t},Q6=function(e,t){for(var n=H9(e),r=H9(t),i=0;i=0)return o}return!1},hV=function(e,t,n){var r=F9(e),i=F9(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(s){a=Q6(a||s,s)||a,n.filter(Boolean).forEach(function(l){var u=Q6(o,l);u&&(!a||Y2(u,a)?a=u:a=Q6(u,a))})}),a},Rye=function(e,t){return e.reduce(function(n,r){return n.concat(_ye(r,t))},[])},Dye=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(bye)},Nye=function(e,t){var n=document&&_E(),r=CE(e).filter(R5),i=hV(n||e,e,r),o=new Map,a=XM(r,o),s=z9(r,o).filter(function(m){var v=m.node;return R5(v)});if(!(!s[0]&&(s=a,!s[0]))){var l=XM([i],o).map(function(m){var v=m.node;return v}),u=Dye(l,s),d=u.map(function(m){var v=m.node;return v}),h=Oye(d,l,n,t);return h===fV?{node:Iye(a,d,Rye(r,o))}:h===void 0?h:u[h]}},jye=function(e){var t=CE(e).filter(R5),n=hV(e,e,t),r=new Map,i=z9([n],r,!0),o=z9(t,r).filter(function(a){var s=a.node;return R5(s)}).map(function(a){var s=a.node;return s});return i.map(function(a){var s=a.node,l=a.index;return{node:s,index:l,lockItem:o.indexOf(s)>=0,guard:bE(s)}})},Bye=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},J6=0,eC=!1,$ye=function(e,t,n){n===void 0&&(n={});var r=Nye(e,t);if(!eC&&r){if(J6>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eC=!0,setTimeout(function(){eC=!1},1);return}J6++,Bye(r.node,n.focusOptions),J6--}};const pV=$ye;function gV(e){var t=window,n=t.setImmediate;typeof n<"u"?n(e):setTimeout(e,1)}var Fye=function(){return document&&document.activeElement===document.body},zye=function(){return Fye()||Tye()},Am=null,am=null,Om=null,K2=!1,Hye=function(){return!0},Vye=function(t){return(Am.whiteList||Hye)(t)},Wye=function(t,n){Om={observerNode:t,portaledElement:n}},Uye=function(t){return Om&&Om.portaledElement===t};function JM(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var Gye=function(t){return t&&"current"in t?t.current:t},qye=function(t){return t?Boolean(K2):K2==="meanwhile"},Yye=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Kye=function(t,n){return n.some(function(r){return Yye(t,r,r)})},D5=function(){var t=!1;if(Am){var n=Am,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||Om&&Om.portaledElement,d=document&&document.activeElement;if(u){var h=[u].concat(a.map(Gye).filter(Boolean));if((!d||Vye(d))&&(i||qye(s)||!zye()||!am&&o)&&(u&&!(dV(h)||d&&Kye(d,h)||Uye(d))&&(document&&!am&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(t=pV(h,am,{focusOptions:l}),Om={})),K2=!1,am=document&&document.activeElement),document){var m=document&&document.activeElement,v=jye(h),b=v.map(function(S){var k=S.node;return k}).indexOf(m);b>-1&&(v.filter(function(S){var k=S.guard,E=S.node;return k&&E.dataset.focusAutoGuard}).forEach(function(S){var k=S.node;return k.removeAttribute("tabIndex")}),JM(b,v.length,1,v),JM(b,-1,-1,v))}}}return t},mV=function(t){D5()&&t&&(t.stopPropagation(),t.preventDefault())},EE=function(){return gV(D5)},Xye=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Wye(r,n)},Zye=function(){return null},vV=function(){K2="just",setTimeout(function(){K2="meanwhile"},0)},Qye=function(){document.addEventListener("focusin",mV),document.addEventListener("focusout",EE),window.addEventListener("blur",vV)},Jye=function(){document.removeEventListener("focusin",mV),document.removeEventListener("focusout",EE),window.removeEventListener("blur",vV)};function e3e(e){return e.filter(function(t){var n=t.disabled;return!n})}function t3e(e){var t=e.slice(-1)[0];t&&!Am&&Qye();var n=Am,r=n&&t&&t.id===n.id;Am=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(am=null,(!r||n.observed!==t.observed)&&t.onActivation(),D5(),gV(D5)):(Jye(),am=null)}XH.assignSyncMedium(Xye);ZH.assignMedium(EE);uye.assignMedium(function(e){return e({moveFocusInside:pV,focusInside:dV})});const n3e=fye(e3e,t3e)(Zye);var yV=w.forwardRef(function(t,n){return w.createElement(QH,bn({sideCar:n3e,ref:n},t))}),bV=QH.propTypes||{};bV.sideCar;gE(bV,["sideCar"]);yV.propTypes={};const r3e=yV;var SV=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=w.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&kF(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),h=w.useCallback(()=>{var v;(v=n==null?void 0:n.current)==null||v.focus()},[n]),m=i&&!n;return N.createElement(r3e,{crossFrame:u,persistentFocus:l,autoFocus:s,disabled:a,onActivation:d,onDeactivation:h,returnFocus:m},o)};SV.displayName="FocusLock";var _4="right-scroll-bar-position",k4="width-before-scroll-bar",i3e="with-scroll-bars-hidden",o3e="--removed-body-scroll-bar-size",xV=YH(),tC=function(){},vx=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:tC,onWheelCapture:tC,onTouchMoveCapture:tC}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,m=e.sideCar,v=e.noIsolation,b=e.inert,S=e.allowPinchZoom,k=e.as,E=k===void 0?"div":k,_=$$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),T=m,A=UH([n,t]),I=Fl(Fl({},_),i);return w.createElement(w.Fragment,null,d&&w.createElement(T,{sideCar:xV,removeScrollBar:u,shards:h,noIsolation:v,inert:b,setCallbacks:o,allowPinchZoom:!!S,lockRef:n}),a?w.cloneElement(w.Children.only(s),Fl(Fl({},I),{ref:A})):w.createElement(E,Fl({},I,{className:l,ref:A}),s))});vx.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};vx.classNames={fullWidth:k4,zeroRight:_4};var a3e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s3e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a3e();return t&&e.setAttribute("nonce",t),e}function l3e(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u3e(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c3e=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s3e())&&(l3e(t,n),u3e(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d3e=function(){var e=c3e();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wV=function(){var e=d3e(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},f3e={left:0,top:0,right:0,gap:0},nC=function(e){return parseInt(e||"",10)||0},h3e=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[nC(n),nC(r),nC(i)]},p3e=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f3e;var t=h3e(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},g3e=wV(),m3e=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` - .`.concat(i3e,` { - overflow: hidden `).concat(r,`; - padding-right: `).concat(s,"px ").concat(r,`; - } - body { - overflow: hidden `).concat(r,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` - padding-left: `.concat(i,`px; - padding-top: `).concat(o,`px; - padding-right: `).concat(a,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(s,"px ").concat(r,`; - `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),` - } - - .`).concat(_4,` { - right: `).concat(s,"px ").concat(r,`; - } - - .`).concat(k4,` { - margin-right: `).concat(s,"px ").concat(r,`; - } - - .`).concat(_4," .").concat(_4,` { - right: 0 `).concat(r,`; - } - - .`).concat(k4," .").concat(k4,` { - margin-right: 0 `).concat(r,`; - } - - body { - `).concat(o3e,": ").concat(s,`px; - } -`)},v3e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=w.useMemo(function(){return p3e(i)},[i]);return w.createElement(g3e,{styles:m3e(o,!t,i,n?"":"!important")})},V9=!1;if(typeof window<"u")try{var Sb=Object.defineProperty({},"passive",{get:function(){return V9=!0,!0}});window.addEventListener("test",Sb,Sb),window.removeEventListener("test",Sb,Sb)}catch{V9=!1}var Pg=V9?{passive:!1}:!1,y3e=function(e){return e.tagName==="TEXTAREA"},CV=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!y3e(e)&&n[t]==="visible")},b3e=function(e){return CV(e,"overflowY")},S3e=function(e){return CV(e,"overflowX")},eI=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=_V(e,n);if(r){var i=kV(e,n),o=i[1],a=i[2];if(o>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},x3e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},w3e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},_V=function(e,t){return e==="v"?b3e(t):S3e(t)},kV=function(e,t){return e==="v"?x3e(t):w3e(t)},C3e=function(e,t){return e==="h"&&t==="rtl"?-1:1},_3e=function(e,t,n,r,i){var o=C3e(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,d=a>0,h=0,m=0;do{var v=kV(e,s),b=v[0],S=v[1],k=v[2],E=S-k-o*b;(b||E)&&_V(e,s)&&(h+=E,m+=b),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&(i&&h===0||!i&&a>h)||!d&&(i&&m===0||!i&&-a>m))&&(u=!0),u},xb=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tI=function(e){return[e.deltaX,e.deltaY]},nI=function(e){return e&&"current"in e?e.current:e},k3e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},E3e=function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},P3e=0,Tg=[];function T3e(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),i=w.useState(P3e++)[0],o=w.useState(function(){return wV()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var S=D7([e.lockRef.current],(e.shards||[]).map(nI),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=w.useCallback(function(S,k){if("touches"in S&&S.touches.length===2)return!a.current.allowPinchZoom;var E=xb(S),_=n.current,T="deltaX"in S?S.deltaX:_[0]-E[0],A="deltaY"in S?S.deltaY:_[1]-E[1],I,R=S.target,D=Math.abs(T)>Math.abs(A)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var j=eI(D,R);if(!j)return!0;if(j?I=D:(I=D==="v"?"h":"v",j=eI(D,R)),!j)return!1;if(!r.current&&"changedTouches"in S&&(T||A)&&(r.current=I),!I)return!0;var z=r.current||I;return _3e(z,k,S,z==="h"?T:A,!0)},[]),l=w.useCallback(function(S){var k=S;if(!(!Tg.length||Tg[Tg.length-1]!==o)){var E="deltaY"in k?tI(k):xb(k),_=t.current.filter(function(I){return I.name===k.type&&I.target===k.target&&k3e(I.delta,E)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var T=(a.current.shards||[]).map(nI).filter(Boolean).filter(function(I){return I.contains(k.target)}),A=T.length>0?s(k,T[0]):!a.current.noIsolation;A&&k.cancelable&&k.preventDefault()}}},[]),u=w.useCallback(function(S,k,E,_){var T={name:S,delta:k,target:E,should:_};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(A){return A!==T})},1)},[]),d=w.useCallback(function(S){n.current=xb(S),r.current=void 0},[]),h=w.useCallback(function(S){u(S.type,tI(S),S.target,s(S,e.lockRef.current))},[]),m=w.useCallback(function(S){u(S.type,xb(S),S.target,s(S,e.lockRef.current))},[]);w.useEffect(function(){return Tg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Pg),document.addEventListener("touchmove",l,Pg),document.addEventListener("touchstart",d,Pg),function(){Tg=Tg.filter(function(S){return S!==o}),document.removeEventListener("wheel",l,Pg),document.removeEventListener("touchmove",l,Pg),document.removeEventListener("touchstart",d,Pg)}},[]);var v=e.removeScrollBar,b=e.inert;return w.createElement(w.Fragment,null,b?w.createElement(o,{styles:E3e(i)}):null,v?w.createElement(v3e,{gapMode:"margin"}):null)}const L3e=lye(xV,T3e);var EV=w.forwardRef(function(e,t){return w.createElement(vx,Fl({},e,{ref:t,sideCar:L3e}))});EV.classNames=vx.classNames;const PV=EV;var sp=(...e)=>e.filter(Boolean).join(" ");function wv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var A3e=class{constructor(){an(this,"modals");this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},W9=new A3e;function O3e(e,t){w.useEffect(()=>(t&&W9.add(e),()=>{W9.remove(e)}),[t,e])}function M3e(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,u=w.useRef(null),d=w.useRef(null),[h,m,v]=R3e(r,"chakra-modal","chakra-modal--header","chakra-modal--body");I3e(u,t&&a),O3e(u,t);const b=w.useRef(null),S=w.useCallback(j=>{b.current=j.target},[]),k=w.useCallback(j=>{j.key==="Escape"&&(j.stopPropagation(),o&&(n==null||n()),l==null||l())},[o,n,l]),[E,_]=w.useState(!1),[T,A]=w.useState(!1),I=w.useCallback((j={},z=null)=>({role:"dialog",...j,ref:qn(z,u),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?m:void 0,"aria-describedby":T?v:void 0,onClick:wv(j.onClick,V=>V.stopPropagation())}),[v,T,h,m,E]),R=w.useCallback(j=>{j.stopPropagation(),b.current===j.target&&W9.isTopModal(u)&&(i&&(n==null||n()),s==null||s())},[n,i,s]),D=w.useCallback((j={},z=null)=>({...j,ref:qn(z,d),onClick:wv(j.onClick,R),onKeyDown:wv(j.onKeyDown,k),onMouseDown:wv(j.onMouseDown,S)}),[k,S,R]);return{isOpen:t,onClose:n,headerId:m,bodyId:v,setBodyMounted:A,setHeaderMounted:_,dialogRef:u,overlayRef:d,getDialogProps:I,getDialogContainerProps:D}}function I3e(e,t){const n=e.current;w.useEffect(()=>{if(!(!e.current||!t))return zH(e.current)},[t,e,n])}function R3e(e,...t){const n=w.useId(),r=e||n;return w.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}var[D3e,lp]=Mn({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[N3e,qd]=Mn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Yd=e=>{const{portalProps:t,children:n,autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m,onCloseComplete:v}=e,b=Yi("Modal",e),k={...M3e(e),autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m};return N.createElement(N3e,{value:k},N.createElement(D3e,{value:b},N.createElement(nf,{onExitComplete:v},k.isOpen&&N.createElement(ap,{...t},n))))};Yd.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};Yd.displayName="Modal";var n0=Ae((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__body",n),s=lp();return N.createElement(Ce.div,{ref:t,className:a,id:i,...r,__css:s.body})});n0.displayName="ModalBody";var Ly=Ae((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=qd(),a=sp("chakra-modal__close-btn",r),s=lp();return N.createElement(JS,{ref:t,__css:s.closeButton,className:a,onClick:wv(n,l=>{l.stopPropagation(),o()}),...i})});Ly.displayName="ModalCloseButton";function TV(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d}=qd(),[h,m]=K_();return w.useEffect(()=>{!h&&m&&setTimeout(m)},[h,m]),N.createElement(SV,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:d},N.createElement(PV,{removeScrollBar:!u,allowPinchZoom:a,enabled:o,forwardProps:!0},e.children))}var j3e={slideInBottom:{...j7,custom:{offsetY:16,reverse:!0}},slideInRight:{...j7,custom:{offsetX:16,reverse:!0}},scale:{...H$,custom:{initialScale:.95,reverse:!0}},none:{}},B3e=Ce(du.section),$3e=e=>j3e[e||"none"],LV=w.forwardRef((e,t)=>{const{preset:n,motionProps:r=$3e(n),...i}=e;return N.createElement(B3e,{ref:t,...r,...i})});LV.displayName="ModalTransition";var Zh=Ae((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=qd(),u=s(a,t),d=l(i),h=sp("chakra-modal__content",n),m=lp(),v={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...m.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...m.dialogContainer},{motionPreset:S}=qd();return N.createElement(TV,null,N.createElement(Ce.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:b},N.createElement(LV,{preset:S,motionProps:o,className:h,...u,__css:v},r)))});Zh.displayName="ModalContent";var yx=Ae((e,t)=>{const{className:n,...r}=e,i=sp("chakra-modal__footer",n),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...lp().footer};return N.createElement(Ce.footer,{ref:t,...r,__css:a,className:i})});yx.displayName="ModalFooter";var w0=Ae((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__header",n),l={flex:0,...lp().header};return N.createElement(Ce.header,{ref:t,className:a,id:i,...r,__css:l})});w0.displayName="ModalHeader";var F3e=Ce(du.div),Kd=Ae((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=sp("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...lp().overlay},{motionPreset:u}=qd(),h=i||(u==="none"?{}:z$);return N.createElement(F3e,{...h,__css:l,ref:t,className:a,...o})});Kd.displayName="ModalOverlay";function AV(e){const{leastDestructiveRef:t,...n}=e;return N.createElement(Yd,{...n,initialFocusRef:t})}var OV=Ae((e,t)=>N.createElement(Zh,{ref:t,role:"alertdialog",...e})),[QFe,z3e]=Mn(),H3e=Ce(V$),V3e=Ae((e,t)=>{const{className:n,children:r,motionProps:i,containerProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=qd(),d=s(a,t),h=l(o),m=sp("chakra-modal__content",n),v=lp(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...v.dialog},S={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...v.dialogContainer},{placement:k}=z3e();return N.createElement(TV,null,N.createElement(Ce.div,{...h,className:"chakra-modal__content-container",__css:S},N.createElement(H3e,{motionProps:i,direction:k,in:u,className:m,...d,__css:b},r)))});V3e.displayName="DrawerContent";function W3e(e,t){const n=Er(e);w.useEffect(()=>{let r=null;const i=()=>n();return t!==null&&(r=window.setInterval(i,t)),()=>{r&&window.clearInterval(r)}},[t,n])}var MV=(...e)=>e.filter(Boolean).join(" "),rC=e=>e?!0:void 0;function Al(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var U3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})),G3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"}));function rI(e,t,n,r){w.useEffect(()=>{if(!e.current||!r)return;const i=e.current.ownerDocument.defaultView??window,o=Array.isArray(t)?t:[t],a=new i.MutationObserver(s=>{for(const l of s)l.type==="attributes"&&l.attributeName&&o.includes(l.attributeName)&&n(l)});return a.observe(e.current,{attributes:!0,attributeFilter:o}),()=>a.disconnect()})}var q3e=50,iI=300;function Y3e(e,t){const[n,r]=w.useState(!1),[i,o]=w.useState(null),[a,s]=w.useState(!0),l=w.useRef(null),u=()=>clearTimeout(l.current);W3e(()=>{i==="increment"&&e(),i==="decrement"&&t()},n?q3e:null);const d=w.useCallback(()=>{a&&e(),l.current=setTimeout(()=>{s(!1),r(!0),o("increment")},iI)},[e,a]),h=w.useCallback(()=>{a&&t(),l.current=setTimeout(()=>{s(!1),r(!0),o("decrement")},iI)},[t,a]),m=w.useCallback(()=>{s(!0),r(!1),u()},[]);return w.useEffect(()=>()=>u(),[]),{up:d,down:h,stop:m,isSpinning:n}}var K3e=/^[Ee0-9+\-.]$/;function X3e(e){return K3e.test(e)}function Z3e(e,t){if(e.key==null)return!0;const n=e.ctrlKey||e.altKey||e.metaKey;return!(e.key.length===1)||n?!0:t(e.key)}function Q3e(e={}){const{focusInputOnChange:t=!0,clampValueOnBlur:n=!0,keepWithinRange:r=!0,min:i=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:a=1,isReadOnly:s,isDisabled:l,isRequired:u,isInvalid:d,pattern:h="[0-9]*(.[0-9]+)?",inputMode:m="decimal",allowMouseWheel:v,id:b,onChange:S,precision:k,name:E,"aria-describedby":_,"aria-label":T,"aria-labelledby":A,onFocus:I,onBlur:R,onInvalid:D,getAriaValueText:j,isValidCharacter:z,format:V,parse:K,...te}=e,q=Er(I),$=Er(R),U=Er(D),X=Er(z??X3e),Z=Er(j),W=cme(e),{update:Q,increment:ie,decrement:fe}=W,[Se,Pe]=w.useState(!1),ye=!(s||l),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useRef(null),Be=w.useCallback(Te=>Te.split("").filter(X).join(""),[X]),wt=w.useCallback(Te=>(K==null?void 0:K(Te))??Te,[K]),st=w.useCallback(Te=>((V==null?void 0:V(Te))??Te).toString(),[V]);Vd(()=>{(W.valueAsNumber>o||W.valueAsNumber{if(!We.current)return;if(We.current.value!=W.value){const At=wt(We.current.value);W.setValue(Be(At))}},[wt,Be]);const mt=w.useCallback((Te=a)=>{ye&&ie(Te)},[ie,ye,a]),St=w.useCallback((Te=a)=>{ye&&fe(Te)},[fe,ye,a]),Le=Y3e(mt,St);rI(ot,"disabled",Le.stop,Le.isSpinning),rI(He,"disabled",Le.stop,Le.isSpinning);const lt=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;const $e=wt(Te.currentTarget.value);Q(Be($e)),De.current={start:Te.currentTarget.selectionStart,end:Te.currentTarget.selectionEnd}},[Q,Be,wt]),Mt=w.useCallback(Te=>{var At;q==null||q(Te),De.current&&(Te.target.selectionStart=De.current.start??((At=Te.currentTarget.value)==null?void 0:At.length),Te.currentTarget.selectionEnd=De.current.end??Te.currentTarget.selectionStart)},[q]),ut=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;Z3e(Te,X)||Te.preventDefault();const At=_t(Te)*a,$e=Te.key,tn={ArrowUp:()=>mt(At),ArrowDown:()=>St(At),Home:()=>Q(i),End:()=>Q(o)}[$e];tn&&(Te.preventDefault(),tn(Te))},[X,a,mt,St,Q,i,o]),_t=Te=>{let At=1;return(Te.metaKey||Te.ctrlKey)&&(At=.1),Te.shiftKey&&(At=10),At},ln=w.useMemo(()=>{const Te=Z==null?void 0:Z(W.value);if(Te!=null)return Te;const At=W.value.toString();return At||void 0},[W.value,Z]),ae=w.useCallback(()=>{let Te=W.value;if(W.value==="")return;/^[eE]/.test(W.value.toString())?W.setValue(""):(W.valueAsNumbero&&(Te=o),W.cast(Te))},[W,o,i]),Re=w.useCallback(()=>{Pe(!1),n&&ae()},[n,Pe,ae]),Ye=w.useCallback(()=>{t&&requestAnimationFrame(()=>{var Te;(Te=We.current)==null||Te.focus()})},[t]),Ke=w.useCallback(Te=>{Te.preventDefault(),Le.up(),Ye()},[Ye,Le]),xe=w.useCallback(Te=>{Te.preventDefault(),Le.down(),Ye()},[Ye,Le]);Rh(()=>We.current,"wheel",Te=>{var At;const vt=(((At=We.current)==null?void 0:At.ownerDocument)??document).activeElement===We.current;if(!v||!vt)return;Te.preventDefault();const tn=_t(Te)*a,Rn=Math.sign(Te.deltaY);Rn===-1?mt(tn):Rn===1&&St(tn)},{passive:!1});const Ne=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMax;return{...Te,ref:qn(At,ot),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||Ke(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[W.isAtMax,r,Ke,Le.stop,l]),Ct=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMin;return{...Te,ref:qn(At,He),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||xe(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[W.isAtMin,r,xe,Le.stop,l]),Dt=w.useCallback((Te={},At=null)=>({name:E,inputMode:m,type:"text",pattern:h,"aria-labelledby":A,"aria-label":T,"aria-describedby":_,id:b,disabled:l,...Te,readOnly:Te.readOnly??s,"aria-readonly":Te.readOnly??s,"aria-required":Te.required??u,required:Te.required??u,ref:qn(We,At),value:st(W.value),role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Number.isNaN(W.valueAsNumber)?void 0:W.valueAsNumber,"aria-invalid":rC(d??W.isOutOfRange),"aria-valuetext":ln,autoComplete:"off",autoCorrect:"off",onChange:Al(Te.onChange,lt),onKeyDown:Al(Te.onKeyDown,ut),onFocus:Al(Te.onFocus,Mt,()=>Pe(!0)),onBlur:Al(Te.onBlur,$,Re)}),[E,m,h,A,T,st,_,b,l,u,s,d,W.value,W.valueAsNumber,W.isOutOfRange,i,o,ln,lt,ut,Mt,$,Re]);return{value:st(W.value),valueAsNumber:W.valueAsNumber,isFocused:Se,isDisabled:l,isReadOnly:s,getIncrementButtonProps:Ne,getDecrementButtonProps:Ct,getInputProps:Dt,htmlProps:te}}var[J3e,bx]=Mn({name:"NumberInputStylesContext",errorMessage:`useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[ebe,PE]=Mn({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),TE=Ae(function(t,n){const r=Yi("NumberInput",t),i=En(t),o=lk(i),{htmlProps:a,...s}=Q3e(o),l=w.useMemo(()=>s,[s]);return N.createElement(ebe,{value:l},N.createElement(J3e,{value:r},N.createElement(Ce.div,{...a,ref:n,className:MV("chakra-numberinput",t.className),__css:{position:"relative",zIndex:0,...r.root}})))});TE.displayName="NumberInput";var IV=Ae(function(t,n){const r=bx();return N.createElement(Ce.div,{"aria-hidden":!0,ref:n,...t,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})});IV.displayName="NumberInputStepper";var LE=Ae(function(t,n){const{getInputProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(Ce.input,{...i,className:MV("chakra-numberinput__field",t.className),__css:{width:"100%",...o.field}})});LE.displayName="NumberInputField";var RV=Ce("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),AE=Ae(function(t,n){const r=bx(),{getDecrementButtonProps:i}=PE(),o=i(t,n);return N.createElement(RV,{...o,__css:r.stepper},t.children??N.createElement(U3e,null))});AE.displayName="NumberDecrementStepper";var OE=Ae(function(t,n){const{getIncrementButtonProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(RV,{...i,__css:o.stepper},t.children??N.createElement(G3e,null))});OE.displayName="NumberIncrementStepper";var Ay=(...e)=>e.filter(Boolean).join(" ");function tbe(e,...t){return nbe(e)?e(...t):e}var nbe=e=>typeof e=="function";function Ol(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function rbe(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var[ibe,up]=Mn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[obe,Oy]=Mn({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Lg={click:"click",hover:"hover"};function abe(e={}){const{closeOnBlur:t=!0,closeOnEsc:n=!0,initialFocusRef:r,id:i,returnFocusOnClose:o=!0,autoFocus:a=!0,arrowSize:s,arrowShadowColor:l,trigger:u=Lg.click,openDelay:d=200,closeDelay:h=200,isLazy:m,lazyBehavior:v="unmount",computePositionOnMount:b,...S}=e,{isOpen:k,onClose:E,onOpen:_,onToggle:T}=NF(e),A=w.useRef(null),I=w.useRef(null),R=w.useRef(null),D=w.useRef(!1),j=w.useRef(!1);k&&(j.current=!0);const[z,V]=w.useState(!1),[K,te]=w.useState(!1),q=w.useId(),$=i??q,[U,X,Z,W]=["popover-trigger","popover-content","popover-header","popover-body"].map(lt=>`${lt}-${$}`),{referenceRef:Q,getArrowProps:ie,getPopperProps:fe,getArrowInnerProps:Se,forceUpdate:Pe}=DF({...S,enabled:k||!!b}),ye=j1e({isOpen:k,ref:R});bme({enabled:k,ref:I}),h0e(R,{focusRef:I,visible:k,shouldFocus:o&&u===Lg.click}),g0e(R,{focusRef:r,visible:k,shouldFocus:a&&u===Lg.click});const We=jF({wasSelected:j.current,enabled:m,mode:v,isSelected:ye.present}),De=w.useCallback((lt={},Mt=null)=>{const ut={...lt,style:{...lt.style,transformOrigin:oi.transformOrigin.varRef,[oi.arrowSize.var]:s?`${s}px`:void 0,[oi.arrowShadowColor.var]:l},ref:qn(R,Mt),children:We?lt.children:null,id:X,tabIndex:-1,role:"dialog",onKeyDown:Ol(lt.onKeyDown,_t=>{n&&_t.key==="Escape"&&E()}),onBlur:Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=iC(R.current,ln),Re=iC(I.current,ln);k&&t&&(!ae&&!Re)&&E()}),"aria-labelledby":z?Z:void 0,"aria-describedby":K?W:void 0};return u===Lg.hover&&(ut.role="tooltip",ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0}),ut.onMouseLeave=Ol(lt.onMouseLeave,_t=>{_t.nativeEvent.relatedTarget!==null&&(D.current=!1,setTimeout(()=>E(),h))})),ut},[We,X,z,Z,K,W,u,n,E,k,t,h,l,s]),ot=w.useCallback((lt={},Mt=null)=>fe({...lt,style:{visibility:k?"visible":"hidden",...lt.style}},Mt),[k,fe]),He=w.useCallback((lt,Mt=null)=>({...lt,ref:qn(Mt,A,Q)}),[A,Q]),Be=w.useRef(),wt=w.useRef(),st=w.useCallback(lt=>{A.current==null&&Q(lt)},[Q]),mt=w.useCallback((lt={},Mt=null)=>{const ut={...lt,ref:qn(I,Mt,st),id:U,"aria-haspopup":"dialog","aria-expanded":k,"aria-controls":X};return u===Lg.click&&(ut.onClick=Ol(lt.onClick,T)),u===Lg.hover&&(ut.onFocus=Ol(lt.onFocus,()=>{Be.current===void 0&&_()}),ut.onBlur=Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=!iC(R.current,ln);k&&t&&ae&&E()}),ut.onKeyDown=Ol(lt.onKeyDown,_t=>{_t.key==="Escape"&&E()}),ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0,Be.current=window.setTimeout(()=>_(),d)}),ut.onMouseLeave=Ol(lt.onMouseLeave,()=>{D.current=!1,Be.current&&(clearTimeout(Be.current),Be.current=void 0),wt.current=window.setTimeout(()=>{D.current===!1&&E()},h)})),ut},[U,k,X,u,st,T,_,t,E,d,h]);w.useEffect(()=>()=>{Be.current&&clearTimeout(Be.current),wt.current&&clearTimeout(wt.current)},[]);const St=w.useCallback((lt={},Mt=null)=>({...lt,id:Z,ref:qn(Mt,ut=>{V(!!ut)})}),[Z]),Le=w.useCallback((lt={},Mt=null)=>({...lt,id:W,ref:qn(Mt,ut=>{te(!!ut)})}),[W]);return{forceUpdate:Pe,isOpen:k,onAnimationComplete:ye.onComplete,onClose:E,getAnchorProps:He,getArrowProps:ie,getArrowInnerProps:Se,getPopoverPositionerProps:ot,getPopoverProps:De,getTriggerProps:mt,getHeaderProps:St,getBodyProps:Le}}function iC(e,t){return e===t||(e==null?void 0:e.contains(t))}function oI(e){const t=e.currentTarget.ownerDocument.activeElement;return e.relatedTarget??t}function ME(e){const t=Yi("Popover",e),{children:n,...r}=En(e),i=h0(),o=abe({...r,direction:i.direction});return N.createElement(ibe,{value:o},N.createElement(obe,{value:t},tbe(n,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})))}ME.displayName="Popover";function IE(e){const{bg:t,bgColor:n,backgroundColor:r}=e,{getArrowProps:i,getArrowInnerProps:o}=up(),a=Oy(),s=t??n??r;return N.createElement(Ce.div,{...i(),className:"chakra-popover__arrow-positioner"},N.createElement(Ce.div,{className:Ay("chakra-popover__arrow",e.className),...o(e),__css:{...a.arrow,"--popper-arrow-bg":s?`colors.${s}, ${s}`:void 0}}))}IE.displayName="PopoverArrow";var sbe=Ae(function(t,n){const{getBodyProps:r}=up(),i=Oy();return N.createElement(Ce.div,{...r(t,n),className:Ay("chakra-popover__body",t.className),__css:i.body})});sbe.displayName="PopoverBody";var lbe=Ae(function(t,n){const{onClose:r}=up(),i=Oy();return N.createElement(JS,{size:"sm",onClick:r,className:Ay("chakra-popover__close-btn",t.className),__css:i.closeButton,ref:n,...t})});lbe.displayName="PopoverCloseButton";function ube(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}var cbe={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},dbe=Ce(du.section),DV=Ae(function(t,n){const{variants:r=cbe,...i}=t,{isOpen:o}=up();return N.createElement(dbe,{ref:n,variants:ube(r),initial:!1,animate:o?"enter":"exit",...i})});DV.displayName="PopoverTransition";var RE=Ae(function(t,n){const{rootProps:r,motionProps:i,...o}=t,{getPopoverProps:a,getPopoverPositionerProps:s,onAnimationComplete:l}=up(),u=Oy(),d={position:"relative",display:"flex",flexDirection:"column",...u.content};return N.createElement(Ce.div,{...s(r),__css:u.popper,className:"chakra-popover__popper"},N.createElement(DV,{...i,...a(o,n),onAnimationComplete:rbe(l,o.onAnimationComplete),className:Ay("chakra-popover__content",t.className),__css:d}))});RE.displayName="PopoverContent";var fbe=Ae(function(t,n){const{getHeaderProps:r}=up(),i=Oy();return N.createElement(Ce.header,{...r(t,n),className:Ay("chakra-popover__header",t.className),__css:i.header})});fbe.displayName="PopoverHeader";function DE(e){const t=w.Children.only(e.children),{getTriggerProps:n}=up();return w.cloneElement(t,n(t.props,t.ref))}DE.displayName="PopoverTrigger";function hbe(e,t,n){return(e-t)*100/(n-t)}var pbe=tf({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),gbe=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),mbe=tf({"0%":{left:"-40%"},"100%":{left:"100%"}}),vbe=tf({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function NV(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=hbe(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof o=="function"?o(t,l):i})(),role:s},percent:l,value:t}}var jV=e=>{const{size:t,isIndeterminate:n,...r}=e;return N.createElement(Ce.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:n?`${gbe} 2s linear infinite`:void 0},...r})};jV.displayName="Shape";var U9=e=>N.createElement(Ce.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});U9.displayName="Circle";var ybe=Ae((e,t)=>{const{size:n="48px",max:r=100,min:i=0,valueText:o,getValueText:a,value:s,capIsRound:l,children:u,thickness:d="10px",color:h="#0078d4",trackColor:m="#edebe9",isIndeterminate:v,...b}=e,S=NV({min:i,max:r,value:s,valueText:o,getValueText:a,isIndeterminate:v}),k=v?void 0:(S.percent??0)*2.64,E=k==null?void 0:`${k} ${264-k}`,_=v?{css:{animation:`${pbe} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:E,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},T={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return N.createElement(Ce.div,{ref:t,className:"chakra-progress",...S.bind,...b,__css:T},N.createElement(jV,{size:n,isIndeterminate:v},N.createElement(U9,{stroke:m,strokeWidth:d,className:"chakra-progress__track"}),N.createElement(U9,{stroke:h,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:l?"round":void 0,opacity:S.value===0&&!v?0:void 0,..._})),u)});ybe.displayName="CircularProgress";var[bbe,Sbe]=Mn({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),xbe=Ae((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...s}=e,l=NV({value:i,min:n,max:r,isIndeterminate:o,role:a}),d={height:"100%",...Sbe().filledTrack};return N.createElement(Ce.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:d})}),BV=Ae((e,t)=>{var n;const{value:r,min:i=0,max:o=100,hasStripe:a,isAnimated:s,children:l,borderRadius:u,isIndeterminate:d,"aria-label":h,"aria-labelledby":m,title:v,role:b,...S}=En(e),k=Yi("Progress",e),E=u??((n=k.track)==null?void 0:n.borderRadius),_={animation:`${vbe} 1s linear infinite`},I={...!d&&a&&s&&_,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${mbe} 1s ease infinite normal none running`}},R={overflow:"hidden",position:"relative",...k.track};return N.createElement(Ce.div,{ref:t,borderRadius:E,__css:R,...S},N.createElement(bbe,{value:k},N.createElement(xbe,{"aria-label":h,"aria-labelledby":m,min:i,max:o,value:r,isIndeterminate:d,css:I,borderRadius:E,title:v,role:b}),l))});BV.displayName="Progress";var wbe=Ce("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});wbe.displayName="CircularProgressLabel";var Cbe=(...e)=>e.filter(Boolean).join(" "),_be=e=>e?"":void 0;function kbe(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}var $V=Ae(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return N.createElement(Ce.select,{...a,ref:n,className:Cbe("chakra-select",o)},i&&N.createElement("option",{value:""},i),r)});$V.displayName="SelectField";var FV=Ae((e,t)=>{var n;const r=Yi("Select",e),{rootProps:i,placeholder:o,icon:a,color:s,height:l,h:u,minH:d,minHeight:h,iconColor:m,iconSize:v,...b}=En(e),[S,k]=kbe(b,Hte),E=sk(k),_={width:"100%",height:"fit-content",position:"relative",color:s},T={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return N.createElement(Ce.div,{className:"chakra-select__wrapper",__css:_,...S,...i},N.createElement($V,{ref:t,height:u??l,minH:d??h,placeholder:o,...E,__css:T},e.children),N.createElement(zV,{"data-disabled":_be(E.disabled),...(m||s)&&{color:m||s},__css:r.icon,...v&&{fontSize:v}},a))});FV.displayName="Select";var Ebe=e=>N.createElement("svg",{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pbe=Ce("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),zV=e=>{const{children:t=N.createElement(Ebe,null),...n}=e,r=w.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return N.createElement(Pbe,{...n,className:"chakra-select__icon-wrapper"},w.isValidElement(t)?r:null)};zV.displayName="SelectIcon";function Tbe(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Lbe(e){const t=Obe(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function HV(e){return!!e.touches}function Abe(e){return HV(e)&&e.touches.length>1}function Obe(e){return e.view??window}function Mbe(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Ibe(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function VV(e,t="page"){return HV(e)?Mbe(e,t):Ibe(e,t)}function Rbe(e){return t=>{const n=Lbe(t);(!n||n&&t.button===0)&&e(t)}}function Dbe(e,t=!1){function n(i){e(i,{point:VV(i)})}return t?Rbe(n):n}function E4(e,t,n,r){return Tbe(e,t,Dbe(n,t==="pointerdown"),r)}function WV(e){const t=w.useRef(null);return t.current=e,t}var Nbe=class{constructor(e,t,n){an(this,"history",[]);an(this,"startEvent",null);an(this,"lastEvent",null);an(this,"lastEventInfo",null);an(this,"handlers",{});an(this,"removeListeners",()=>{});an(this,"threshold",3);an(this,"win");an(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const e=oC(this.lastEventInfo,this.history),t=this.startEvent!==null,n=Fbe(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!n)return;const{timestamp:r}=OL();this.history.push({...e.point,timestamp:r});const{onStart:i,onMove:o}=this.handlers;t||(i==null||i(this.lastEvent,e),this.startEvent=this.lastEvent),o==null||o(this.lastEvent,e)});an(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,tre.update(this.updatePoint,!0)});an(this,"onPointerUp",(e,t)=>{const n=oC(t,this.history),{onEnd:r,onSessionEnd:i}=this.handlers;i==null||i(e,n),this.end(),!(!r||!this.startEvent)&&(r==null||r(e,n))});if(this.win=e.view??window,Abe(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:VV(e)},{timestamp:i}=OL();this.history=[{...r.point,timestamp:i}];const{onSessionStart:o}=t;o==null||o(e,oC(r,this.history)),this.removeListeners=$be(E4(this.win,"pointermove",this.onPointerMove),E4(this.win,"pointerup",this.onPointerUp),E4(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),nre.update(this.updatePoint)}};function aI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oC(e,t){return{point:e.point,delta:aI(e.point,t[t.length-1]),offset:aI(e.point,t[0]),velocity:Bbe(t,.1)}}var jbe=e=>e*1e3;function Bbe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=e[e.length-1];for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>jbe(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function $be(...e){return t=>e.reduce((n,r)=>r(n),t)}function aC(e,t){return Math.abs(e-t)}function sI(e){return"x"in e&&"y"in e}function Fbe(e,t){if(typeof e=="number"&&typeof t=="number")return aC(e,t);if(sI(e)&&sI(t)){const n=aC(e.x,t.x),r=aC(e.y,t.y);return Math.sqrt(n**2+r**2)}return 0}function UV(e,t){const{onPan:n,onPanStart:r,onPanEnd:i,onPanSessionStart:o,onPanSessionEnd:a,threshold:s}=t,l=Boolean(n||r||i||o||a),u=w.useRef(null),d=WV({onSessionStart:o,onSessionEnd:a,onStart:r,onMove:n,onEnd(h,m){u.current=null,i==null||i(h,m)}});w.useEffect(()=>{var h;(h=u.current)==null||h.updateHandlers(d.current)}),w.useEffect(()=>{const h=e.current;if(!h||!l)return;function m(v){u.current=new Nbe(v,d.current,s)}return E4(h,"pointerdown",m)},[e,l,d,s]),w.useEffect(()=>()=>{var h;(h=u.current)==null||h.end(),u.current=null},[])}function zbe(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,r=new n.ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const[o]=i;let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;t({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}var Hbe=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect;function Vbe(e,t){var n;if(!e||!e.parentElement)return;const r=((n=e.ownerDocument)==null?void 0:n.defaultView)??window,i=new r.MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}function GV({getNodes:e,observeMutation:t=!0}){const[n,r]=w.useState([]),[i,o]=w.useState(0);return Hbe(()=>{const a=e(),s=a.map((l,u)=>zbe(l,d=>{r(h=>[...h.slice(0,u),d,...h.slice(u+1)])}));if(t){const l=a[0];s.push(Vbe(l,()=>{o(u=>u+1)}))}return()=>{s.forEach(l=>{l==null||l()})}},[i]),n}function Wbe(e){return typeof e=="object"&&e!==null&&"current"in e}function Ube(e){const[t]=GV({observeMutation:!1,getNodes(){return[Wbe(e)?e.current:e]}});return t}var Gbe=Object.getOwnPropertyNames,qbe=(e,t)=>function(){return e&&(t=(0,e[Gbe(e)[0]])(e=0)),t},lf=qbe({"../../../react-shim.js"(){}});lf();lf();lf();var Ja=e=>e?"":void 0,Mm=e=>e?!0:void 0,uf=(...e)=>e.filter(Boolean).join(" ");lf();function Im(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}lf();lf();function Ybe(e){return{root:`slider-root-${e}`,getThumb:t=>`slider-thumb-${e}-${t}`,getInput:t=>`slider-input-${e}-${t}`,track:`slider-track-${e}`,innerTrack:`slider-filled-track-${e}`,getMarker:t=>`slider-marker-${e}-${t}`,output:`slider-output-${e}`}}function Cv(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}var P4={width:0,height:0},wb=e=>e||P4;function qV(e){const{orientation:t,thumbPercents:n,thumbRects:r,isReversed:i}=e,o=S=>{const k=r[S]??P4;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...Cv({orientation:t,vertical:{bottom:`calc(${n[S]}% - ${k.height/2}px)`},horizontal:{left:`calc(${n[S]}% - ${k.width/2}px)`}})}},a=t==="vertical"?r.reduce((S,k)=>wb(S).height>wb(k).height?S:k,P4):r.reduce((S,k)=>wb(S).width>wb(k).width?S:k,P4),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...Cv({orientation:t,vertical:a?{paddingLeft:a.width/2,paddingRight:a.width/2}:{},horizontal:a?{paddingTop:a.height/2,paddingBottom:a.height/2}:{}})},l={position:"absolute",...Cv({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},u=n.length===1,d=[0,i?100-n[0]:n[0]],h=u?d:n;let m=h[0];!u&&i&&(m=100-m);const v=Math.abs(h[h.length-1]-h[0]),b={...l,...Cv({orientation:t,vertical:i?{height:`${v}%`,top:`${m}%`}:{height:`${v}%`,bottom:`${m}%`},horizontal:i?{width:`${v}%`,right:`${m}%`}:{width:`${v}%`,left:`${m}%`}})};return{trackStyle:l,innerTrackStyle:b,rootStyle:s,getThumbStyle:o}}function YV(e){const{isReversed:t,direction:n,orientation:r}=e;return n==="ltr"||r==="vertical"?t:!t}function Kbe(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,minStepsBetweenThumbs:I=0,...R}=e,D=Er(m),j=Er(v),z=Er(S),V=YV({isReversed:a,direction:s,orientation:l}),[K,te]=DS({value:i,defaultValue:o??[25,75],onChange:r});if(!Array.isArray(K))throw new TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof K}\``);const[q,$]=w.useState(!1),[U,X]=w.useState(!1),[Z,W]=w.useState(-1),Q=!(d||h),ie=w.useRef(K),fe=K.map(Xe=>Cm(Xe,t,n)),Se=I*b,Pe=Xbe(fe,t,n,Se),ye=w.useRef({eventSource:null,value:[],valueBounds:[]});ye.current.value=fe,ye.current.valueBounds=Pe;const We=fe.map(Xe=>n-Xe+t),ot=(V?We:fe).map(Xe=>l5(Xe,t,n)),He=l==="vertical",Be=w.useRef(null),wt=w.useRef(null),st=GV({getNodes(){const Xe=wt.current,xt=Xe==null?void 0:Xe.querySelectorAll("[role=slider]");return xt?Array.from(xt):[]}}),mt=w.useId(),Le=Ybe(u??mt),lt=w.useCallback(Xe=>{var xt;if(!Be.current)return;ye.current.eventSource="pointer";const ft=Be.current.getBoundingClientRect(),{clientX:Ht,clientY:nn}=((xt=Xe.touches)==null?void 0:xt[0])??Xe,pr=He?ft.bottom-nn:Ht-ft.left,Mo=He?ft.height:ft.width;let Oi=pr/Mo;return V&&(Oi=1-Oi),J$(Oi,t,n)},[He,V,n,t]),Mt=(n-t)/10,ut=b||(n-t)/100,_t=w.useMemo(()=>({setValueAtIndex(Xe,xt){if(!Q)return;const ft=ye.current.valueBounds[Xe];xt=parseFloat(H7(xt,ft.min,ut)),xt=Cm(xt,ft.min,ft.max);const Ht=[...ye.current.value];Ht[Xe]=xt,te(Ht)},setActiveIndex:W,stepUp(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft-xt:ft+xt;_t.setValueAtIndex(Xe,Ht)},stepDown(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft+xt:ft-xt;_t.setValueAtIndex(Xe,Ht)},reset(){te(ie.current)}}),[ut,V,te,Q]),ln=w.useCallback(Xe=>{const xt=Xe.key,Ht={ArrowRight:()=>_t.stepUp(Z),ArrowUp:()=>_t.stepUp(Z),ArrowLeft:()=>_t.stepDown(Z),ArrowDown:()=>_t.stepDown(Z),PageUp:()=>_t.stepUp(Z,Mt),PageDown:()=>_t.stepDown(Z,Mt),Home:()=>{const{min:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)},End:()=>{const{max:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)}}[xt];Ht&&(Xe.preventDefault(),Xe.stopPropagation(),Ht(Xe),ye.current.eventSource="keyboard")},[_t,Z,Mt,Pe]),{getThumbStyle:ae,rootStyle:Re,trackStyle:Ye,innerTrackStyle:Ke}=w.useMemo(()=>qV({isReversed:V,orientation:l,thumbRects:st,thumbPercents:ot}),[V,l,ot,st]),xe=w.useCallback(Xe=>{var xt;const ft=Xe??Z;if(ft!==-1&&A){const Ht=Le.getThumb(ft),nn=(xt=wt.current)==null?void 0:xt.ownerDocument.getElementById(Ht);nn&&setTimeout(()=>nn.focus())}},[A,Z,Le]);Vd(()=>{ye.current.eventSource==="keyboard"&&(j==null||j(ye.current.value))},[fe,j]);const Ne=Xe=>{const xt=lt(Xe)||0,ft=ye.current.value.map(Oi=>Math.abs(Oi-xt)),Ht=Math.min(...ft);let nn=ft.indexOf(Ht);const pr=ft.filter(Oi=>Oi===Ht);pr.length>1&&xt>ye.current.value[nn]&&(nn=nn+pr.length-1),W(nn),_t.setValueAtIndex(nn,xt),xe(nn)},Ct=Xe=>{if(Z==-1)return;const xt=lt(Xe)||0;W(Z),_t.setValueAtIndex(Z,xt),xe(Z)};UV(wt,{onPanSessionStart(Xe){Q&&($(!0),Ne(Xe),D==null||D(ye.current.value))},onPanSessionEnd(){Q&&($(!1),j==null||j(ye.current.value))},onPan(Xe){Q&&Ct(Xe)}});const Dt=w.useCallback((Xe={},xt=null)=>({...Xe,...R,id:Le.root,ref:qn(xt,wt),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja(U),style:{...Xe.style,...Re}}),[R,d,U,Re,Le]),Te=w.useCallback((Xe={},xt=null)=>({...Xe,ref:qn(xt,Be),id:Le.track,"data-disabled":Ja(d),style:{...Xe.style,...Ye}}),[d,Ye,Le]),At=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.innerTrack,style:{...Xe.style,...Ke}}),[Ke,Le]),$e=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe,nn=fe[ft];if(nn==null)throw new TypeError(`[range-slider > thumb] Cannot find value at index \`${ft}\`. The \`value\` or \`defaultValue\` length is : ${fe.length}`);const pr=Pe[ft];return{...Ht,ref:xt,role:"slider",tabIndex:Q?0:void 0,id:Le.getThumb(ft),"data-active":Ja(q&&Z===ft),"aria-valuetext":(z==null?void 0:z(nn))??(k==null?void 0:k[ft]),"aria-valuemin":pr.min,"aria-valuemax":pr.max,"aria-valuenow":nn,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E==null?void 0:E[ft],"aria-labelledby":E!=null&&E[ft]||_==null?void 0:_[ft],style:{...Xe.style,...ae(ft)},onKeyDown:Im(Xe.onKeyDown,ln),onFocus:Im(Xe.onFocus,()=>{X(!0),W(ft)}),onBlur:Im(Xe.onBlur,()=>{X(!1),W(-1)})}},[Le,fe,Pe,Q,q,Z,z,k,l,d,h,E,_,ae,ln,X]),vt=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.output,htmlFor:fe.map((ft,Ht)=>Le.getThumb(Ht)).join(" "),"aria-live":"off"}),[Le,fe]),tn=w.useCallback((Xe,xt=null)=>{const{value:ft,...Ht}=Xe,nn=!(ftn),pr=ft>=fe[0]&&ft<=fe[fe.length-1];let Mo=l5(ft,t,n);Mo=V?100-Mo:Mo;const Oi={position:"absolute",pointerEvents:"none",...Cv({orientation:l,vertical:{bottom:`${Mo}%`},horizontal:{left:`${Mo}%`}})};return{...Ht,ref:xt,id:Le.getMarker(Xe.value),role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!nn),"data-highlighted":Ja(pr),style:{...Xe.style,...Oi}}},[d,V,n,t,l,fe,Le]),Rn=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe;return{...Ht,ref:xt,id:Le.getInput(ft),type:"hidden",value:fe[ft],name:Array.isArray(T)?T[ft]:`${T}-${ft}`}},[T,fe,Le]);return{state:{value:fe,isFocused:U,isDragging:q,getThumbPercent:Xe=>ot[Xe],getThumbMinValue:Xe=>Pe[Xe].min,getThumbMaxValue:Xe=>Pe[Xe].max},actions:_t,getRootProps:Dt,getTrackProps:Te,getInnerTrackProps:At,getThumbProps:$e,getMarkerProps:tn,getInputProps:Rn,getOutputProps:vt}}function Xbe(e,t,n,r){return e.map((i,o)=>{const a=o===0?t:e[o-1]+r,s=o===e.length-1?n:e[o+1]-r;return{min:a,max:s}})}var[Zbe,Sx]=Mn({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[Qbe,NE]=Mn({name:"RangeSliderStylesContext",errorMessage:`useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),KV=Ae(function(t,n){const r=Yi("Slider",t),i=En(t),{direction:o}=h0();i.direction=o;const{getRootProps:a,...s}=Kbe(i),l=w.useMemo(()=>({...s,name:t.name}),[s,t.name]);return N.createElement(Zbe,{value:l},N.createElement(Qbe,{value:r},N.createElement(Ce.div,{...a({},n),className:"chakra-slider",__css:r.container},t.children)))});KV.defaultProps={orientation:"horizontal"};KV.displayName="RangeSlider";var Jbe=Ae(function(t,n){const{getThumbProps:r,getInputProps:i,name:o}=Sx(),a=NE(),s=r(t,n);return N.createElement(Ce.div,{...s,className:uf("chakra-slider__thumb",t.className),__css:a.thumb},s.children,o&&N.createElement("input",{...i({index:t.index})}))});Jbe.displayName="RangeSliderThumb";var e4e=Ae(function(t,n){const{getTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:uf("chakra-slider__track",t.className),__css:i.track,"data-testid":"chakra-range-slider-track"})});e4e.displayName="RangeSliderTrack";var t4e=Ae(function(t,n){const{getInnerTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:"chakra-slider__filled-track",__css:i.filledTrack})});t4e.displayName="RangeSliderFilledTrack";var n4e=Ae(function(t,n){const{getMarkerProps:r}=Sx(),i=r(t,n);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",t.className)})});n4e.displayName="RangeSliderMark";lf();lf();function r4e(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,...I}=e,R=Er(m),D=Er(v),j=Er(S),z=YV({isReversed:a,direction:s,orientation:l}),[V,K]=DS({value:i,defaultValue:o??o4e(t,n),onChange:r}),[te,q]=w.useState(!1),[$,U]=w.useState(!1),X=!(d||h),Z=(n-t)/10,W=b||(n-t)/100,Q=Cm(V,t,n),ie=n-Q+t,Se=l5(z?ie:Q,t,n),Pe=l==="vertical",ye=WV({min:t,max:n,step:b,isDisabled:d,value:Q,isInteractive:X,isReversed:z,isVertical:Pe,eventSource:null,focusThumbOnChange:A,orientation:l}),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useId(),Be=u??He,[wt,st]=[`slider-thumb-${Be}`,`slider-track-${Be}`],mt=w.useCallback($e=>{var vt;if(!We.current)return;const tn=ye.current;tn.eventSource="pointer";const Rn=We.current.getBoundingClientRect(),{clientX:Xe,clientY:xt}=((vt=$e.touches)==null?void 0:vt[0])??$e,ft=Pe?Rn.bottom-xt:Xe-Rn.left,Ht=Pe?Rn.height:Rn.width;let nn=ft/Ht;z&&(nn=1-nn);let pr=J$(nn,tn.min,tn.max);return tn.step&&(pr=parseFloat(H7(pr,tn.min,tn.step))),pr=Cm(pr,tn.min,tn.max),pr},[Pe,z,ye]),St=w.useCallback($e=>{const vt=ye.current;vt.isInteractive&&($e=parseFloat(H7($e,vt.min,W)),$e=Cm($e,vt.min,vt.max),K($e))},[W,K,ye]),Le=w.useMemo(()=>({stepUp($e=W){const vt=z?Q-$e:Q+$e;St(vt)},stepDown($e=W){const vt=z?Q+$e:Q-$e;St(vt)},reset(){St(o||0)},stepTo($e){St($e)}}),[St,z,Q,W,o]),lt=w.useCallback($e=>{const vt=ye.current,Rn={ArrowRight:()=>Le.stepUp(),ArrowUp:()=>Le.stepUp(),ArrowLeft:()=>Le.stepDown(),ArrowDown:()=>Le.stepDown(),PageUp:()=>Le.stepUp(Z),PageDown:()=>Le.stepDown(Z),Home:()=>St(vt.min),End:()=>St(vt.max)}[$e.key];Rn&&($e.preventDefault(),$e.stopPropagation(),Rn($e),vt.eventSource="keyboard")},[Le,St,Z,ye]),Mt=(j==null?void 0:j(Q))??k,ut=Ube(De),{getThumbStyle:_t,rootStyle:ln,trackStyle:ae,innerTrackStyle:Re}=w.useMemo(()=>{const $e=ye.current,vt=ut??{width:0,height:0};return qV({isReversed:z,orientation:$e.orientation,thumbRects:[vt],thumbPercents:[Se]})},[z,ut,Se,ye]),Ye=w.useCallback(()=>{ye.current.focusThumbOnChange&&setTimeout(()=>{var vt;return(vt=De.current)==null?void 0:vt.focus()})},[ye]);Vd(()=>{const $e=ye.current;Ye(),$e.eventSource==="keyboard"&&(D==null||D($e.value))},[Q,D]);function Ke($e){const vt=mt($e);vt!=null&&vt!==ye.current.value&&K(vt)}UV(ot,{onPanSessionStart($e){const vt=ye.current;vt.isInteractive&&(q(!0),Ye(),Ke($e),R==null||R(vt.value))},onPanSessionEnd(){const $e=ye.current;$e.isInteractive&&(q(!1),D==null||D($e.value))},onPan($e){ye.current.isInteractive&&Ke($e)}});const xe=w.useCallback(($e={},vt=null)=>({...$e,...I,ref:qn(vt,ot),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja($),style:{...$e.style,...ln}}),[I,d,$,ln]),Ne=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,We),id:st,"data-disabled":Ja(d),style:{...$e.style,...ae}}),[d,st,ae]),Ct=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,style:{...$e.style,...Re}}),[Re]),Dt=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,De),role:"slider",tabIndex:X?0:void 0,id:wt,"data-active":Ja(te),"aria-valuetext":Mt,"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":Q,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E,"aria-labelledby":E?void 0:_,style:{...$e.style,..._t(0)},onKeyDown:Im($e.onKeyDown,lt),onFocus:Im($e.onFocus,()=>U(!0)),onBlur:Im($e.onBlur,()=>U(!1))}),[X,wt,te,Mt,t,n,Q,l,d,h,E,_,_t,lt]),Te=w.useCallback(($e,vt=null)=>{const tn=!($e.valuen),Rn=Q>=$e.value,Xe=l5($e.value,t,n),xt={position:"absolute",pointerEvents:"none",...i4e({orientation:l,vertical:{bottom:z?`${100-Xe}%`:`${Xe}%`},horizontal:{left:z?`${100-Xe}%`:`${Xe}%`}})};return{...$e,ref:vt,role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!tn),"data-highlighted":Ja(Rn),style:{...$e.style,...xt}}},[d,z,n,t,l,Q]),At=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,type:"hidden",value:Q,name:T}),[T,Q]);return{state:{value:Q,isFocused:$,isDragging:te},actions:Le,getRootProps:xe,getTrackProps:Ne,getInnerTrackProps:Ct,getThumbProps:Dt,getMarkerProps:Te,getInputProps:At}}function i4e(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}function o4e(e,t){return t"}),[s4e,wx]=Mn({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),jE=Ae((e,t)=>{const n=Yi("Slider",e),r=En(e),{direction:i}=h0();r.direction=i;const{getInputProps:o,getRootProps:a,...s}=r4e(r),l=a(),u=o({},t);return N.createElement(a4e,{value:s},N.createElement(s4e,{value:n},N.createElement(Ce.div,{...l,className:uf("chakra-slider",e.className),__css:n.container},e.children,N.createElement("input",{...u}))))});jE.defaultProps={orientation:"horizontal"};jE.displayName="Slider";var XV=Ae((e,t)=>{const{getThumbProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__thumb",e.className),__css:r.thumb})});XV.displayName="SliderThumb";var ZV=Ae((e,t)=>{const{getTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__track",e.className),__css:r.track})});ZV.displayName="SliderTrack";var QV=Ae((e,t)=>{const{getInnerTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__filled-track",e.className),__css:r.filledTrack})});QV.displayName="SliderFilledTrack";var G9=Ae((e,t)=>{const{getMarkerProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",e.className),__css:r.mark})});G9.displayName="SliderMark";var l4e=(...e)=>e.filter(Boolean).join(" "),lI=e=>e?"":void 0,BE=Ae(function(t,n){const r=Yi("Switch",t),{spacing:i="0.5rem",children:o,...a}=En(t),{state:s,getInputProps:l,getCheckboxProps:u,getRootProps:d,getLabelProps:h}=Z$(a),m=w.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),v=w.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=w.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return N.createElement(Ce.label,{...d(),className:l4e("chakra-switch",t.className),__css:m},N.createElement("input",{className:"chakra-switch__input",...l({},n)}),N.createElement(Ce.span,{...u(),className:"chakra-switch__track",__css:v},N.createElement(Ce.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":lI(s.isChecked),"data-hover":lI(s.isHovered)})),o&&N.createElement(Ce.span,{className:"chakra-switch__label",...h(),__css:b},o))});BE.displayName="Switch";var C0=(...e)=>e.filter(Boolean).join(" ");function q9(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[u4e,JV,c4e,d4e]=dB();function f4e(e){const{defaultIndex:t,onChange:n,index:r,isManual:i,isLazy:o,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...u}=e,[d,h]=w.useState(t??0),[m,v]=DS({defaultValue:t??0,value:r,onChange:n});w.useEffect(()=>{r!=null&&h(r)},[r]);const b=c4e(),S=w.useId();return{id:`tabs-${e.id??S}`,selectedIndex:m,focusedIndex:d,setSelectedIndex:v,setFocusedIndex:h,isManual:i,isLazy:o,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:u}}var[h4e,My]=Mn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function p4e(e){const{focusedIndex:t,orientation:n,direction:r}=My(),i=JV(),o=w.useCallback(a=>{const s=()=>{var _;const T=i.nextEnabled(t);T&&((_=T.node)==null||_.focus())},l=()=>{var _;const T=i.prevEnabled(t);T&&((_=T.node)==null||_.focus())},u=()=>{var _;const T=i.firstEnabled();T&&((_=T.node)==null||_.focus())},d=()=>{var _;const T=i.lastEnabled();T&&((_=T.node)==null||_.focus())},h=n==="horizontal",m=n==="vertical",v=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",S=r==="ltr"?"ArrowRight":"ArrowLeft",E={[b]:()=>h&&l(),[S]:()=>h&&s(),ArrowDown:()=>m&&s(),ArrowUp:()=>m&&l(),Home:u,End:d}[v];E&&(a.preventDefault(),E(a))},[i,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:q9(e.onKeyDown,o)}}function g4e(e){const{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=My(),{index:u,register:d}=d4e({disabled:t&&!n}),h=u===l,m=()=>{i(u)},v=()=>{s(u),!o&&!(t&&n)&&i(u)},b=n0e({...r,ref:qn(d,e.ref),isDisabled:t,isFocusable:n,onClick:q9(e.onClick,m)}),S="button";return{...b,id:eW(a,u),role:"tab",tabIndex:h?0:-1,type:S,"aria-selected":h,"aria-controls":tW(a,u),onFocus:t?void 0:q9(e.onFocus,v)}}var[m4e,v4e]=Mn({});function y4e(e){const t=My(),{id:n,selectedIndex:r}=t,o=XS(e.children).map((a,s)=>w.createElement(m4e,{key:s,value:{isSelected:s===r,id:tW(n,s),tabId:eW(n,s),selectedIndex:r}},a));return{...e,children:o}}function b4e(e){const{children:t,...n}=e,{isLazy:r,lazyBehavior:i}=My(),{isSelected:o,id:a,tabId:s}=v4e(),l=w.useRef(!1);o&&(l.current=!0);const u=jF({wasSelected:l.current,isSelected:o,enabled:r,mode:i});return{tabIndex:0,...n,children:u?t:null,role:"tabpanel","aria-labelledby":s,hidden:!o,id:a}}function S4e(){const e=My(),t=JV(),{selectedIndex:n,orientation:r}=e,i=r==="horizontal",o=r==="vertical",[a,s]=w.useState(()=>{if(i)return{left:0,width:0};if(o)return{top:0,height:0}}),[l,u]=w.useState(!1);return Ws(()=>{if(n==null)return;const d=t.item(n);if(d==null)return;i&&s({left:d.node.offsetLeft,width:d.node.offsetWidth}),o&&s({top:d.node.offsetTop,height:d.node.offsetHeight});const h=requestAnimationFrame(()=>{u(!0)});return()=>{h&&cancelAnimationFrame(h)}},[n,i,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...a}}function eW(e,t){return`${e}--tab-${t}`}function tW(e,t){return`${e}--tabpanel-${t}`}var[x4e,Iy]=Mn({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),nW=Ae(function(t,n){const r=Yi("Tabs",t),{children:i,className:o,...a}=En(t),{htmlProps:s,descendants:l,...u}=f4e(a),d=w.useMemo(()=>u,[u]),{isFitted:h,...m}=s;return N.createElement(u4e,{value:l},N.createElement(h4e,{value:d},N.createElement(x4e,{value:r},N.createElement(Ce.div,{className:C0("chakra-tabs",o),ref:n,...m,__css:r.root},i))))});nW.displayName="Tabs";var w4e=Ae(function(t,n){const r=S4e(),i={...t.style,...r},o=Iy();return N.createElement(Ce.div,{ref:n,...t,className:C0("chakra-tabs__tab-indicator",t.className),style:i,__css:o.indicator})});w4e.displayName="TabIndicator";var C4e=Ae(function(t,n){const r=p4e({...t,ref:n}),o={display:"flex",...Iy().tablist};return N.createElement(Ce.div,{...r,className:C0("chakra-tabs__tablist",t.className),__css:o})});C4e.displayName="TabList";var rW=Ae(function(t,n){const r=b4e({...t,ref:n}),i=Iy();return N.createElement(Ce.div,{outline:"0",...r,className:C0("chakra-tabs__tab-panel",t.className),__css:i.tabpanel})});rW.displayName="TabPanel";var iW=Ae(function(t,n){const r=y4e(t),i=Iy();return N.createElement(Ce.div,{...r,width:"100%",ref:n,className:C0("chakra-tabs__tab-panels",t.className),__css:i.tabpanels})});iW.displayName="TabPanels";var oW=Ae(function(t,n){const r=Iy(),i=g4e({...t,ref:n}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return N.createElement(Ce.button,{...i,className:C0("chakra-tabs__tab",t.className),__css:o})});oW.displayName="Tab";var _4e=(...e)=>e.filter(Boolean).join(" ");function k4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var E4e=["h","minH","height","minHeight"],$E=Ae((e,t)=>{const n=Ao("Textarea",e),{className:r,rows:i,...o}=En(e),a=sk(o),s=i?k4e(n,E4e):n;return N.createElement(Ce.textarea,{ref:t,rows:i,...a,className:_4e("chakra-textarea",r),__css:s})});$E.displayName="Textarea";function P4e(e,t){const n=Er(e);w.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function Y9(e,...t){return T4e(e)?e(...t):e}var T4e=e=>typeof e=="function";function L4e(e,t){const n=e??"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(i==null?void 0:i[t])??n}var A4e=(e,t)=>e.find(n=>n.id===t);function uI(e,t){const n=aW(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function aW(e,t){for(const[n,r]of Object.entries(e))if(A4e(r,t))return n}function O4e(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function M4e(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}var I4e={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Hl=R4e(I4e);function R4e(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(s=>s.id!=i)}))},notify:(i,o)=>{const a=D4e(i,o),{position:s,id:l}=a;return r(u=>{const h=s.includes("top")?[a,...u[s]??[]]:[...u[s]??[],a];return{...u,[s]:h}}),l},update:(i,o)=>{i&&r(a=>{const s={...a},{position:l,index:u}=uI(s,i);return l&&u!==-1&&(s[l][u]={...s[l][u],...o,message:sW(o)}),s})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=o[u].map(d=>({...d,requestClose:!0})),l),{...o}))},close:i=>{r(o=>{const a=aW(o,i);return a?{...o,[a]:o[a].map(s=>s.id==i?{...s,requestClose:!0}:s)}:o})},isActive:i=>Boolean(uI(Hl.getState(),i).position)}}var cI=0;function D4e(e,t={}){cI+=1;const n=t.id??cI,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Hl.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var N4e=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:s,icon:l}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return N.createElement(U$,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},N.createElement(q$,null,l),N.createElement(Ce.div,{flex:"1",maxWidth:"100%"},i&&N.createElement(Y$,{id:u==null?void 0:u.title},i),s&&N.createElement(G$,{id:u==null?void 0:u.description,display:"block"},s)),o&&N.createElement(JS,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1}))};function sW(e={}){const{render:t,toastComponent:n=N4e}=e;return i=>typeof t=="function"?t({...i,...e}):N.createElement(n,{...i,...e})}function j4e(e,t){const n=i=>({...t,...i,position:L4e((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=sW(o);return Hl.notify(a,o)};return r.update=(i,o)=>{Hl.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(s=>r.update(a,{status:"success",duration:5e3,...Y9(o.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...Y9(o.error,s)}))},r.closeAll=Hl.closeAll,r.close=Hl.close,r.isActive=Hl.isActive,r}function Ry(e){const{theme:t}=lB();return w.useMemo(()=>j4e(t.direction,e),[e,t.direction])}var B4e={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},lW=w.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=B4e,toastSpacing:d="0.5rem"}=e,[h,m]=w.useState(s),v=Rfe();Vd(()=>{v||r==null||r()},[v]),Vd(()=>{m(s)},[s]);const b=()=>m(null),S=()=>m(s),k=()=>{v&&i()};w.useEffect(()=>{v&&o&&i()},[v,o,i]),P4e(k,h);const E=w.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),_=w.useMemo(()=>O4e(a),[a]);return N.createElement(du.li,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:S,custom:{position:a},style:_},N.createElement(Ce.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:E},Y9(n,{id:t,onClose:k})))});lW.displayName="ToastComponent";var $4e=e=>{const t=w.useSyncExternalStore(Hl.subscribe,Hl.getState,Hl.getState),{children:n,motionVariants:r,component:i=lW,portalProps:o}=e,s=Object.keys(t).map(l=>{const u=t[l];return N.createElement("ul",{role:"region","aria-live":"polite",key:l,id:`chakra-toast-manager-${l}`,style:M4e(l)},N.createElement(nf,{initial:!1},u.map(d=>N.createElement(i,{key:d.id,motionVariants:r,...d}))))});return N.createElement(N.Fragment,null,n,N.createElement(ap,{...o},s))};function F4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function z4e(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var H4e={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function tv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var N5=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},K9=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function V4e(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:s=!0,onOpen:l,onClose:u,placement:d,id:h,isOpen:m,defaultIsOpen:v,arrowSize:b=10,arrowShadowColor:S,arrowPadding:k,modifiers:E,isDisabled:_,gutter:T,offset:A,direction:I,...R}=e,{isOpen:D,onOpen:j,onClose:z}=NF({isOpen:m,defaultIsOpen:v,onOpen:l,onClose:u}),{referenceRef:V,getPopperProps:K,getArrowInnerProps:te,getArrowProps:q}=DF({enabled:D,placement:d,arrowPadding:k,modifiers:E,gutter:T,offset:A,direction:I}),$=w.useId(),X=`tooltip-${h??$}`,Z=w.useRef(null),W=w.useRef(),Q=w.useCallback(()=>{W.current&&(clearTimeout(W.current),W.current=void 0)},[]),ie=w.useRef(),fe=w.useCallback(()=>{ie.current&&(clearTimeout(ie.current),ie.current=void 0)},[]),Se=w.useCallback(()=>{fe(),z()},[z,fe]),Pe=W4e(Z,Se),ye=w.useCallback(()=>{if(!_&&!W.current){Pe();const mt=K9(Z);W.current=mt.setTimeout(j,t)}},[Pe,_,j,t]),We=w.useCallback(()=>{Q();const mt=K9(Z);ie.current=mt.setTimeout(Se,n)},[n,Se,Q]),De=w.useCallback(()=>{D&&r&&We()},[r,We,D]),ot=w.useCallback(()=>{D&&a&&We()},[a,We,D]),He=w.useCallback(mt=>{D&&mt.key==="Escape"&&We()},[D,We]);Rh(()=>N5(Z),"keydown",s?He:void 0),Rh(()=>N5(Z),"scroll",()=>{D&&o&&Se()}),w.useEffect(()=>{_&&(Q(),D&&z())},[_,D,z,Q]),w.useEffect(()=>()=>{Q(),fe()},[Q,fe]),Rh(()=>Z.current,"pointerleave",We);const Be=w.useCallback((mt={},St=null)=>({...mt,ref:qn(Z,St,V),onPointerEnter:tv(mt.onPointerEnter,lt=>{lt.pointerType!=="touch"&&ye()}),onClick:tv(mt.onClick,De),onPointerDown:tv(mt.onPointerDown,ot),onFocus:tv(mt.onFocus,ye),onBlur:tv(mt.onBlur,We),"aria-describedby":D?X:void 0}),[ye,We,ot,D,X,De,V]),wt=w.useCallback((mt={},St=null)=>K({...mt,style:{...mt.style,[oi.arrowSize.var]:b?`${b}px`:void 0,[oi.arrowShadowColor.var]:S}},St),[K,b,S]),st=w.useCallback((mt={},St=null)=>{const Le={...mt.style,position:"relative",transformOrigin:oi.transformOrigin.varRef};return{ref:St,...R,...mt,id:X,role:"tooltip",style:Le}},[R,X]);return{isOpen:D,show:ye,hide:We,getTriggerProps:Be,getTooltipProps:st,getTooltipPositionerProps:wt,getArrowProps:q,getArrowInnerProps:te}}var sC="chakra-ui:close-tooltip";function W4e(e,t){return w.useEffect(()=>{const n=N5(e);return n.addEventListener(sC,t),()=>n.removeEventListener(sC,t)},[t,e]),()=>{const n=N5(e),r=K9(e);n.dispatchEvent(new r.CustomEvent(sC))}}var U4e=Ce(du.div),uo=Ae((e,t)=>{const n=Ao("Tooltip",e),r=En(e),i=h0(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:u,bg:d,portalProps:h,background:m,backgroundColor:v,bgColor:b,motionProps:S,...k}=r,E=m??v??d??b;if(E){n.bg=E;const z=nne(i,"colors",E);n[oi.arrowBg.var]=z}const _=V4e({...k,direction:i.direction}),T=typeof o=="string"||s;let A;if(T)A=N.createElement(Ce.span,{display:"inline-block",tabIndex:0,..._.getTriggerProps()},o);else{const z=w.Children.only(o);A=w.cloneElement(z,_.getTriggerProps(z.props,z.ref))}const I=!!l,R=_.getTooltipProps({},t),D=I?F4e(R,["role","id"]):R,j=z4e(R,["role","id"]);return a?N.createElement(N.Fragment,null,A,N.createElement(nf,null,_.isOpen&&N.createElement(ap,{...h},N.createElement(Ce.div,{..._.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"}},N.createElement(U4e,{variants:H4e,initial:"exit",animate:"enter",exit:"exit",...S,...D,__css:n},a,I&&N.createElement(Ce.span,{srOnly:!0,...j},l),u&&N.createElement(Ce.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},N.createElement(Ce.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}}))))))):N.createElement(N.Fragment,null,o)});uo.displayName="Tooltip";var G4e=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetCSS:i=!0,theme:o={},environment:a,cssVarsRoot:s}=e,l=N.createElement(yF,{environment:a},t);return N.createElement(que,{theme:o,cssVarsRoot:s},N.createElement(fj,{colorModeManager:n,options:o.config},i?N.createElement(fme,null):N.createElement(dme,null),N.createElement(Kue,null),r?N.createElement(BH,{zIndex:r},l):l))};function q4e({children:e,theme:t=Bue,toastOptions:n,...r}){return N.createElement(G4e,{theme:t,...r},e,N.createElement($4e,{...n}))}var X9={},dI=Qs;X9.createRoot=dI.createRoot,X9.hydrateRoot=dI.hydrateRoot;var Z9={},Y4e={get exports(){return Z9},set exports(e){Z9=e}},uW={};/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r0=w;function K4e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var X4e=typeof Object.is=="function"?Object.is:K4e,Z4e=r0.useState,Q4e=r0.useEffect,J4e=r0.useLayoutEffect,e5e=r0.useDebugValue;function t5e(e,t){var n=t(),r=Z4e({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return J4e(function(){i.value=n,i.getSnapshot=t,lC(i)&&o({inst:i})},[e,n,t]),Q4e(function(){return lC(i)&&o({inst:i}),e(function(){lC(i)&&o({inst:i})})},[e]),e5e(n),n}function lC(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!X4e(e,n)}catch{return!0}}function n5e(e,t){return t()}var r5e=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n5e:t5e;uW.useSyncExternalStore=r0.useSyncExternalStore!==void 0?r0.useSyncExternalStore:r5e;(function(e){e.exports=uW})(Y4e);var Q9={},i5e={get exports(){return Q9},set exports(e){Q9=e}},cW={};/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Cx=w,o5e=Z9;function a5e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var s5e=typeof Object.is=="function"?Object.is:a5e,l5e=o5e.useSyncExternalStore,u5e=Cx.useRef,c5e=Cx.useEffect,d5e=Cx.useMemo,f5e=Cx.useDebugValue;cW.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=u5e(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=d5e(function(){function l(v){if(!u){if(u=!0,d=v,v=r(v),i!==void 0&&a.hasValue){var b=a.value;if(i(b,v))return h=b}return h=v}if(b=h,s5e(d,v))return b;var S=r(v);return i!==void 0&&i(b,S)?b:(d=v,h=S)}var u=!1,d,h,m=n===void 0?null:n;return[function(){return l(t())},m===null?void 0:function(){return l(m())}]},[t,n,r,i]);var s=l5e(e,o[0],o[1]);return c5e(function(){a.hasValue=!0,a.value=s},[s]),f5e(s),s};(function(e){e.exports=cW})(i5e);function h5e(e){e()}let dW=h5e;const p5e=e=>dW=e,g5e=()=>dW,Xd=w.createContext(null);function fW(){return w.useContext(Xd)}const m5e=()=>{throw new Error("uSES not initialized!")};let hW=m5e;const v5e=e=>{hW=e},y5e=(e,t)=>e===t;function b5e(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(r,i=y5e){const{store:o,subscription:a,getServerState:s}=t(),l=hW(a.addNestedSub,o.getState,s||o.getState,r,i);return w.useDebugValue(l),l}}const S5e=b5e();var fI={},x5e={get exports(){return fI},set exports(e){fI=e}},Fn={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var FE=Symbol.for("react.element"),zE=Symbol.for("react.portal"),_x=Symbol.for("react.fragment"),kx=Symbol.for("react.strict_mode"),Ex=Symbol.for("react.profiler"),Px=Symbol.for("react.provider"),Tx=Symbol.for("react.context"),w5e=Symbol.for("react.server_context"),Lx=Symbol.for("react.forward_ref"),Ax=Symbol.for("react.suspense"),Ox=Symbol.for("react.suspense_list"),Mx=Symbol.for("react.memo"),Ix=Symbol.for("react.lazy"),C5e=Symbol.for("react.offscreen"),pW;pW=Symbol.for("react.module.reference");function ps(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case FE:switch(e=e.type,e){case _x:case Ex:case kx:case Ax:case Ox:return e;default:switch(e=e&&e.$$typeof,e){case w5e:case Tx:case Lx:case Ix:case Mx:case Px:return e;default:return t}}case zE:return t}}}Fn.ContextConsumer=Tx;Fn.ContextProvider=Px;Fn.Element=FE;Fn.ForwardRef=Lx;Fn.Fragment=_x;Fn.Lazy=Ix;Fn.Memo=Mx;Fn.Portal=zE;Fn.Profiler=Ex;Fn.StrictMode=kx;Fn.Suspense=Ax;Fn.SuspenseList=Ox;Fn.isAsyncMode=function(){return!1};Fn.isConcurrentMode=function(){return!1};Fn.isContextConsumer=function(e){return ps(e)===Tx};Fn.isContextProvider=function(e){return ps(e)===Px};Fn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===FE};Fn.isForwardRef=function(e){return ps(e)===Lx};Fn.isFragment=function(e){return ps(e)===_x};Fn.isLazy=function(e){return ps(e)===Ix};Fn.isMemo=function(e){return ps(e)===Mx};Fn.isPortal=function(e){return ps(e)===zE};Fn.isProfiler=function(e){return ps(e)===Ex};Fn.isStrictMode=function(e){return ps(e)===kx};Fn.isSuspense=function(e){return ps(e)===Ax};Fn.isSuspenseList=function(e){return ps(e)===Ox};Fn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_x||e===Ex||e===kx||e===Ax||e===Ox||e===C5e||typeof e=="object"&&e!==null&&(e.$$typeof===Ix||e.$$typeof===Mx||e.$$typeof===Px||e.$$typeof===Tx||e.$$typeof===Lx||e.$$typeof===pW||e.getModuleId!==void 0)};Fn.typeOf=ps;(function(e){e.exports=Fn})(x5e);function _5e(){const e=g5e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const hI={notify(){},get:()=>[]};function k5e(e,t){let n,r=hI;function i(h){return l(),r.subscribe(h)}function o(){r.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=_5e())}function u(){n&&(n(),n=void 0,r.clear(),r=hI)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return d}const E5e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P5e=E5e?w.useLayoutEffect:w.useEffect;function T5e({store:e,context:t,children:n,serverState:r}){const i=w.useMemo(()=>{const s=k5e(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=w.useMemo(()=>e.getState(),[e]);P5e(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||Xd;return N.createElement(a.Provider,{value:i},n)}function gW(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(){const{store:r}=t();return r}}const L5e=gW();function A5e(e=Xd){const t=e===Xd?L5e:gW(e);return function(){return t().dispatch}}const O5e=A5e();v5e(Q9.useSyncExternalStoreWithSelector);p5e(Qs.unstable_batchedUpdates);function T4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T4=function(n){return typeof n}:T4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T4(e)}function M5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pI(e,t){for(var n=0;n1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:HE(e)?2:VE(e)?3:0}function Rm(e,t){return _0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function N5e(e,t){return _0(e)===2?e.get(t):e[t]}function vW(e,t,n){var r=_0(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function yW(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function HE(e){return H5e&&e instanceof Map}function VE(e){return V5e&&e instanceof Set}function hh(e){return e.o||e.t}function WE(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=SW(e);delete t[vr];for(var n=Dm(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=j5e),Object.freeze(e),t&&Qh(e,function(n,r){return UE(r,!0)},!0)),e}function j5e(){zs(2)}function GE(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function eu(e){var t=i8[e];return t||zs(18,e),t}function B5e(e,t){i8[e]||(i8[e]=t)}function t8(){return X2}function uC(e,t){t&&(eu("Patches"),e.u=[],e.s=[],e.v=t)}function j5(e){n8(e),e.p.forEach($5e),e.p=null}function n8(e){e===X2&&(X2=e.l)}function gI(e){return X2={p:[],l:X2,h:e,m:!0,_:0}}function $5e(e){var t=e[vr];t.i===0||t.i===1?t.j():t.O=!0}function cC(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||eu("ES5").S(t,e,r),r?(n[vr].P&&(j5(t),zs(4)),oc(e)&&(e=B5(t,e),t.l||$5(t,e)),t.u&&eu("Patches").M(n[vr].t,e,t.u,t.s)):e=B5(t,n,[]),j5(t),t.u&&t.v(t.u,t.s),e!==bW?e:void 0}function B5(e,t,n){if(GE(t))return t;var r=t[vr];if(!r)return Qh(t,function(o,a){return mI(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return $5(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=WE(r.k):r.o;Qh(r.i===3?new Set(i):i,function(o,a){return mI(e,r,i,o,a,n)}),$5(e,i,!1),n&&e.u&&eu("Patches").R(r,n,e.u,e.s)}return r.o}function mI(e,t,n,r,i,o){if(Zd(i)){var a=B5(e,i,o&&t&&t.i!==3&&!Rm(t.D,r)?o.concat(r):void 0);if(vW(n,r,a),!Zd(a))return;e.m=!1}if(oc(i)&&!GE(i)){if(!e.h.F&&e._<1)return;B5(e,i),t&&t.A.l||$5(e,i)}}function $5(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&UE(t,n)}function dC(e,t){var n=e[vr];return(n?hh(n):e)[t]}function vI(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Sd(e){e.P||(e.P=!0,e.l&&Sd(e.l))}function fC(e){e.o||(e.o=WE(e.t))}function r8(e,t,n){var r=HE(t)?eu("MapSet").N(t,n):VE(t)?eu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:t8(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},l=s,u=Z2;a&&(l=[s],u=_v);var d=Proxy.revocable(l,u),h=d.revoke,m=d.proxy;return s.k=m,s.j=h,m}(t,n):eu("ES5").J(t,n);return(n?n.A:t8()).p.push(r),r}function F5e(e){return Zd(e)||zs(22,e),function t(n){if(!oc(n))return n;var r,i=n[vr],o=_0(n);if(i){if(!i.P&&(i.i<4||!eu("ES5").K(i)))return i.t;i.I=!0,r=yI(n,o),i.I=!1}else r=yI(n,o);return Qh(r,function(a,s){i&&N5e(i.t,a)===s||vW(r,a,t(s))}),o===3?new Set(r):r}(e)}function yI(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return WE(e)}function z5e(){function e(o,a){var s=i[o];return s?s.enumerable=a:i[o]=s={configurable:!0,enumerable:a,get:function(){var l=this[vr];return Z2.get(l,o)},set:function(l){var u=this[vr];Z2.set(u,o,l)}},s}function t(o){for(var a=o.length-1;a>=0;a--){var s=o[a][vr];if(!s.P)switch(s.i){case 5:r(s)&&Sd(s);break;case 4:n(s)&&Sd(s)}}}function n(o){for(var a=o.t,s=o.k,l=Dm(s),u=l.length-1;u>=0;u--){var d=l[u];if(d!==vr){var h=a[d];if(h===void 0&&!Rm(a,d))return!0;var m=s[d],v=m&&m[vr];if(v?v.t!==h:!yW(m,h))return!0}}var b=!!a[vr];return l.length!==Dm(a).length+(b?0:1)}function r(o){var a=o.k;if(a.length!==o.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var l=0;l1?E-1:0),T=1;T1?d-1:0),m=1;m=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=eu("Patches").$;return Zd(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Ia=new U5e,xW=Ia.produce;Ia.produceWithPatches.bind(Ia);Ia.setAutoFreeze.bind(Ia);Ia.setUseProxies.bind(Ia);Ia.applyPatches.bind(Ia);Ia.createDraft.bind(Ia);Ia.finishDraft.bind(Ia);function wI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CI(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ro(1));return n(YE)(e,t)}if(typeof e!="function")throw new Error(ro(2));var i=e,o=t,a=[],s=a,l=!1;function u(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ro(3));return o}function h(S){if(typeof S!="function")throw new Error(ro(4));if(l)throw new Error(ro(5));var k=!0;return u(),s.push(S),function(){if(k){if(l)throw new Error(ro(6));k=!1,u();var _=s.indexOf(S);s.splice(_,1),a=null}}}function m(S){if(!G5e(S))throw new Error(ro(7));if(typeof S.type>"u")throw new Error(ro(8));if(l)throw new Error(ro(9));try{l=!0,o=i(o,S)}finally{l=!1}for(var k=a=s,E=0;E"u")throw new Error(ro(12));if(typeof n(void 0,{type:F5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ro(13))})}function wW(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(ro(14));h[v]=k,d=d||k!==S}return d=d||o.length!==Object.keys(l).length,d?h:l}}function z5(){for(var e=arguments.length,t=new Array(e),n=0;n-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return H5}function i(s,l){r(s)===H5&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var Z5e=function(t,n){return t===n};function Q5e(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?t-1:0),r=1;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]{Object.keys(R).forEach(function(D){T(D)&&d[D]!==R[D]&&m.indexOf(D)===-1&&m.push(D)}),Object.keys(d).forEach(function(D){R[D]===void 0&&T(D)&&m.indexOf(D)===-1&&d[D]!==void 0&&m.push(D)}),v===null&&(v=setInterval(E,i)),d=R},o)}function E(){if(m.length===0){v&&clearInterval(v),v=null;return}var R=m.shift(),D=r.reduce(function(j,z){return z.in(j,R,d)},d[R]);if(D!==void 0)try{h[R]=l(D)}catch(j){console.error("redux-persist/createPersistoid: error serializing state",j)}else delete h[R];m.length===0&&_()}function _(){Object.keys(h).forEach(function(R){d[R]===void 0&&delete h[R]}),b=s.setItem(a,l(h)).catch(A)}function T(R){return!(n&&n.indexOf(R)===-1&&R!=="_persist"||t&&t.indexOf(R)!==-1)}function A(R){u&&u(R)}var I=function(){for(;m.length!==0;)E();return b||Promise.resolve()};return{update:k,flush:I}}function MSe(e){return JSON.stringify(e)}function ISe(e){var t=e.transforms||[],n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key),r=e.storage;e.debug;var i;return e.deserialize===!1?i=function(a){return a}:typeof e.deserialize=="function"?i=e.deserialize:i=RSe,r.getItem(n).then(function(o){if(o)try{var a={},s=i(o);return Object.keys(s).forEach(function(l){a[l]=t.reduceRight(function(u,d){return d.out(u,l,s)},i(s[l]))}),a}catch(l){throw l}else return})}function RSe(e){return JSON.parse(e)}function DSe(e){var t=e.storage,n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key);return t.removeItem(n,NSe)}function NSe(e){}function OI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $u(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $Se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var FSe=5e3;function zSe(e,t){var n=e.version!==void 0?e.version:PSe;e.debug;var r=e.stateReconciler===void 0?ASe:e.stateReconciler,i=e.getStoredState||ISe,o=e.timeout!==void 0?e.timeout:FSe,a=null,s=!1,l=!0,u=function(h){return h._persist.rehydrated&&a&&!l&&a.update(h),h};return function(d,h){var m=d||{},v=m._persist,b=BSe(m,["_persist"]),S=b;if(h.type===TW){var k=!1,E=function(j,z){k||(h.rehydrate(e.key,j,z),k=!0)};if(o&&setTimeout(function(){!k&&E(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},o),l=!1,a||(a=OSe(e)),v)return $u({},t(S,h),{_persist:v});if(typeof h.rehydrate!="function"||typeof h.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return h.register(e.key),i(e).then(function(D){var j=e.migrate||function(z,V){return Promise.resolve(z)};j(D,n).then(function(z){E(z)},function(z){E(void 0,z)})},function(D){E(void 0,D)}),$u({},t(S,h),{_persist:{version:n,rehydrated:!1}})}else{if(h.type===LW)return s=!0,h.result(DSe(e)),$u({},t(S,h),{_persist:v});if(h.type===EW)return h.result(a&&a.flush()),$u({},t(S,h),{_persist:v});if(h.type===PW)l=!0;else if(h.type===ZE){if(s)return $u({},S,{_persist:$u({},v,{rehydrated:!0})});if(h.key===e.key){var _=t(S,h),T=h.payload,A=r!==!1&&T!==void 0?r(T,d,_,e):_,I=$u({},A,{_persist:$u({},v,{rehydrated:!0})});return u(I)}}}if(!v)return t(d,h);var R=t(S,h);return R===S?d:u($u({},R,{_persist:v}))}}function MI(e){return WSe(e)||VSe(e)||HSe()}function HSe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function VSe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function WSe(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:OW,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case AW:return a8({},t,{registry:[].concat(MI(t.registry),[n.key])});case ZE:var r=t.registry.indexOf(n.key),i=MI(t.registry);return i.splice(r,1),a8({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function qSe(e,t,n){var r=n||!1,i=YE(GSe,OW,t&&t.enhancer?t.enhancer:void 0),o=function(u){i.dispatch({type:AW,key:u})},a=function(u,d,h){var m={type:ZE,payload:d,err:h,key:u};e.dispatch(m),i.dispatch(m),r&&s.getState().bootstrapped&&(r(),r=!1)},s=a8({},i,{purge:function(){var u=[];return e.dispatch({type:LW,result:function(h){u.push(h)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:EW,result:function(h){u.push(h)}}),Promise.all(u)},pause:function(){e.dispatch({type:PW})},persist:function(){e.dispatch({type:TW,register:o,rehydrate:a})}});return t&&t.manualPersist||s.persist(),s}var QE={},JE={};JE.__esModule=!0;JE.default=XSe;function M4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M4=function(n){return typeof n}:M4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M4(e)}function mC(){}var YSe={getItem:mC,setItem:mC,removeItem:mC};function KSe(e){if((typeof self>"u"?"undefined":M4(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function XSe(e){var t="".concat(e,"Storage");return KSe(t)?self[t]:YSe}QE.__esModule=!0;QE.default=JSe;var ZSe=QSe(JE);function QSe(e){return e&&e.__esModule?e:{default:e}}function JSe(e){var t=(0,ZSe.default)(e);return{getItem:function(r){return new Promise(function(i,o){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(o,a){o(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,o){i(t.removeItem(r))})}}}var MW=void 0,exe=txe(QE);function txe(e){return e&&e.__esModule?e:{default:e}}var nxe=(0,exe.default)("local");MW=nxe;var IW={},RW={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});Jh.PLACEHOLDER_UNDEFINED=Jh.PACKAGE_NAME=void 0;Jh.PACKAGE_NAME="redux-deep-persist";Jh.PLACEHOLDER_UNDEFINED="@@placeholder/undefined";var eP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigType=void 0,function(t){t[t.WHITELIST=0]="WHITELIST",t[t.BLACKLIST=1]="BLACKLIST"}(e.ConfigType||(e.ConfigType={}))})(eP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRootKeysGroup=e.throwError=e.configValidator=e.transformsValidator=e.singleTransformValidator=e.findDuplicatesAndSubsets=e.unique=e.preserveUndefined=e.mergeDeep=e.dissocPath=e.assocPath=e.path=e.difference=e.cloneDeep=e._cloneDeep=e.getCircularPath=e.isEmpty=e.isDate=e.isString=e.isIntegerString=e.isPlainObject=e.isArray=e.isLength=e.isObjectLike=void 0;const t=Jh,n=eP,r=function(q){return typeof q=="object"&&q!==null};e.isObjectLike=r;const i=function(q){return typeof q=="number"&&q>-1&&q%1==0&&q<=Number.MAX_SAFE_INTEGER};e.isLength=i,e.isArray=Array.isArray||function(q){return(0,e.isLength)(q&&q.length)&&Object.prototype.toString.call(q)==="[object Array]"};const o=function(q){return!!q&&typeof q=="object"&&!(0,e.isArray)(q)};e.isPlainObject=o;const a=function(q){return String(~~q)===q&&Number(q)>=0};e.isIntegerString=a;const s=function(q){return Object.prototype.toString.call(q)==="[object String]"};e.isString=s;const l=function(q){return Object.prototype.toString.call(q)==="[object Date]"};e.isDate=l;const u=function(q){return Object.keys(q).length===0};e.isEmpty=u;const d=Object.prototype.hasOwnProperty,h=function(q,$,U){U||(U=new Set([q])),$||($="");for(const X in q){const Z=$?`${$}.${X}`:X,W=q[X];if((0,e.isObjectLike)(W))return U.has(W)?`${$}.${X}:`:(U.add(W),(0,e.getCircularPath)(W,Z,U))}return null};e.getCircularPath=h;const m=function(q){if(!(0,e.isObjectLike)(q))return q;if((0,e.isDate)(q))return new Date(+q);const $=(0,e.isArray)(q)?[]:{};for(const U in q){const X=q[U];$[U]=(0,e._cloneDeep)(X)}return $};e._cloneDeep=m;const v=function(q){const $=(0,e.getCircularPath)(q);if($)throw new Error(`${t.PACKAGE_NAME}: circular dependency detected under the path '${$}' of object you're trying to persist: ${q}`);return(0,e._cloneDeep)(q)};e.cloneDeep=v;const b=function(q,$){if(q===$)return{};if(!(0,e.isObjectLike)(q)||!(0,e.isObjectLike)($))return $;const U=(0,e.cloneDeep)(q),X=(0,e.cloneDeep)($),Z=Object.keys(U).reduce((Q,ie)=>(d.call(X,ie)||(Q[ie]=void 0),Q),{});if((0,e.isDate)(U)||(0,e.isDate)(X))return U.valueOf()===X.valueOf()?{}:X;const W=Object.keys(X).reduce((Q,ie)=>{if(!d.call(U,ie))return Q[ie]=X[ie],Q;const fe=(0,e.difference)(U[ie],X[ie]);return(0,e.isObjectLike)(fe)&&(0,e.isEmpty)(fe)&&!(0,e.isDate)(fe)?(0,e.isArray)(U)&&!(0,e.isArray)(X)||!(0,e.isArray)(U)&&(0,e.isArray)(X)?X:Q:(Q[ie]=fe,Q)},Z);return delete W._persist,W};e.difference=b;const S=function(q,$){return $.reduce((U,X)=>{if(U){const Z=parseInt(X,10),W=(0,e.isIntegerString)(X)&&Z<0?U.length+Z:X;return(0,e.isString)(U)?U.charAt(W):U[W]}},q)};e.path=S;const k=function(q,$){return[...q].reverse().reduce((Z,W,Q)=>{const ie=(0,e.isIntegerString)(W)?[]:{};return ie[W]=Q===0?$:Z,ie},{})};e.assocPath=k;const E=function(q,$){const U=(0,e.cloneDeep)(q);return $.reduce((X,Z,W)=>(W===$.length-1&&X&&(0,e.isObjectLike)(X)&&delete X[Z],X&&X[Z]),U),U};e.dissocPath=E;const _=function(q,$,...U){if(!U||!U.length)return $;const X=U.shift(),{preservePlaceholder:Z,preserveUndefined:W}=q;if((0,e.isObjectLike)($)&&(0,e.isObjectLike)(X))for(const Q in X)if((0,e.isObjectLike)(X[Q])&&(0,e.isObjectLike)($[Q]))$[Q]||($[Q]={}),_(q,$[Q],X[Q]);else if((0,e.isArray)($)){let ie=X[Q];const fe=Z?t.PLACEHOLDER_UNDEFINED:void 0;W||(ie=typeof ie<"u"?ie:$[parseInt(Q,10)]),ie=ie!==t.PLACEHOLDER_UNDEFINED?ie:fe,$[parseInt(Q,10)]=ie}else{const ie=X[Q]!==t.PLACEHOLDER_UNDEFINED?X[Q]:void 0;$[Q]=ie}return _(q,$,...U)},T=function(q,$,U){return _({preservePlaceholder:U==null?void 0:U.preservePlaceholder,preserveUndefined:U==null?void 0:U.preserveUndefined},(0,e.cloneDeep)(q),(0,e.cloneDeep)($))};e.mergeDeep=T;const A=function(q,$=[],U,X,Z){if(!(0,e.isObjectLike)(q))return q;for(const W in q){const Q=q[W],ie=(0,e.isArray)(q),fe=X?X+"."+W:W;Q===null&&(U===n.ConfigType.WHITELIST&&$.indexOf(fe)===-1||U===n.ConfigType.BLACKLIST&&$.indexOf(fe)!==-1)&&ie&&(q[parseInt(W,10)]=void 0),Q===void 0&&Z&&U===n.ConfigType.BLACKLIST&&$.indexOf(fe)===-1&&ie&&(q[parseInt(W,10)]=t.PLACEHOLDER_UNDEFINED),A(Q,$,U,fe,Z)}},I=function(q,$,U,X){const Z=(0,e.cloneDeep)(q);return A(Z,$,U,"",X),Z};e.preserveUndefined=I;const R=function(q,$,U){return U.indexOf(q)===$};e.unique=R;const D=function(q){return q.reduce(($,U)=>{const X=q.filter(Se=>Se===U),Z=q.filter(Se=>(U+".").indexOf(Se+".")===0),{duplicates:W,subsets:Q}=$,ie=X.length>1&&W.indexOf(U)===-1,fe=Z.length>1;return{duplicates:[...W,...ie?X:[]],subsets:[...Q,...fe?Z:[]].filter(e.unique).sort()}},{duplicates:[],subsets:[]})};e.findDuplicatesAndSubsets=D;const j=function(q,$,U){const X=U===n.ConfigType.WHITELIST?"whitelist":"blacklist",Z=`${t.PACKAGE_NAME}: incorrect ${X} configuration.`,W=`Check your create${U===n.ConfigType.WHITELIST?"White":"Black"}list arguments. - -`;if(!(0,e.isString)($)||$.length<1)throw new Error(`${Z} Name (key) of reducer is required. ${W}`);if(!q||!q.length)return;const{duplicates:Q,subsets:ie}=(0,e.findDuplicatesAndSubsets)(q);if(Q.length>1)throw new Error(`${Z} Duplicated paths. - - ${JSON.stringify(Q)} - - ${W}`);if(ie.length>1)throw new Error(`${Z} You are trying to persist an entire property and also some of its subset. - -${JSON.stringify(ie)} - - ${W}`)};e.singleTransformValidator=j;const z=function(q){if(!(0,e.isArray)(q))return;const $=(q==null?void 0:q.map(U=>U.deepPersistKey).filter(U=>U))||[];if($.length){const U=$.filter((X,Z)=>$.indexOf(X)!==Z);if(U.length)throw new Error(`${t.PACKAGE_NAME}: found duplicated keys in transforms creators. You can createWhitelist or createBlacklist for a specific root reducer key only once. Duplicated keys among createWhitelist and createBlacklist transforms are not allowed. - - Duplicates: ${JSON.stringify(U)}`)}};e.transformsValidator=z;const V=function({whitelist:q,blacklist:$}){if(q&&q.length&&$&&$.length)throw new Error(`${t.PACKAGE_NAME}: you should not define a whitelist and blacklist in parallel. It is allowed to use only one of these lists per config.`);if(q){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)(q);(0,e.throwError)({duplicates:U,subsets:X},"whitelist")}if($){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)($);(0,e.throwError)({duplicates:U,subsets:X},"blacklist")}};e.configValidator=V;const K=function({duplicates:q,subsets:$},U){if(q.length)throw new Error(`${t.PACKAGE_NAME}: duplicates of paths found in your ${U}. - - ${JSON.stringify(q)}`);if($.length)throw new Error(`${t.PACKAGE_NAME}: subsets of some parent keys found in your ${U}. You must decide if you want to persist an entire path or its specific subset. - - ${JSON.stringify($)}`)};e.throwError=K;const te=function(q){return(0,e.isArray)(q)?q.filter(e.unique).reduce(($,U)=>{const X=U.split("."),Z=X[0],W=X.slice(1).join(".")||void 0,Q=$.filter(fe=>Object.keys(fe)[0]===Z)[0],ie=Q?Object.values(Q)[0]:void 0;return Q||$.push({[Z]:W?[W]:void 0}),Q&&!ie&&W&&(Q[Z]=[W]),Q&&ie&&W&&ie.push(W),$},[]):[]};e.getRootKeysGroup=te})(RW);(function(e){var t=Co&&Co.__rest||function(h,m){var v={};for(var b in h)Object.prototype.hasOwnProperty.call(h,b)&&m.indexOf(b)<0&&(v[b]=h[b]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(h);S!k(_)&&h?h(E,_,T):E,out:(E,_,T)=>!k(_)&&m?m(E,_,T):E,deepPersistKey:b&&b[0]}},a=(h,m,v,{debug:b,whitelist:S,blacklist:k,transforms:E})=>{if(S||k)throw new Error("State reconciler autoMergeDeep uses custom transforms instead of old whitelist or blacklist config properties. Please use createWhitelist or createBlacklist transforms.");(0,n.transformsValidator)(E);const _=(0,n.cloneDeep)(v);let T=h;if(T&&(0,n.isObjectLike)(T)){const A=(0,n.difference)(m,v);(0,n.isEmpty)(A)||(T=(0,n.mergeDeep)(h,A,{preserveUndefined:!0}),b&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: sub state of your state was modified by reducer during rehydration. Values from reducer will be kept: ${JSON.stringify(A)}`)),Object.keys(T).forEach(I=>{if(I!=="_persist"){if((0,n.isObjectLike)(_[I])){_[I]=(0,n.mergeDeep)(_[I],T[I]);return}_[I]=T[I]}})}return b&&T&&(0,n.isObjectLike)(T)&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: rehydrated keys ${JSON.stringify(T)}`),_};e.autoMergeDeep=a;const s=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.WHITELIST),o(v=>{if(!m||!m.length)return v;let b=null,S;return m.forEach(k=>{const E=k.split(".");S=(0,n.path)(v,E),typeof S>"u"&&(0,n.isIntegerString)(E[E.length-1])&&(S=r.PLACEHOLDER_UNDEFINED);const _=(0,n.assocPath)(E,S),T=(0,n.isArray)(_)?[]:{};b=(0,n.mergeDeep)(b||T,_,{preservePlaceholder:!0})}),b||v},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.WHITELIST),{whitelist:[h]}));e.createWhitelist=s;const l=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.BLACKLIST),o(v=>{if(!m||!m.length)return;const b=(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST,!0);return m.map(k=>k.split(".")).reduce((k,E)=>(0,n.dissocPath)(k,E),b)},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST),{whitelist:[h]}));e.createBlacklist=l;const u=function(h,m){return m.map(v=>{const b=Object.keys(v)[0],S=v[b];return h===i.ConfigType.WHITELIST?(0,e.createWhitelist)(b,S):(0,e.createBlacklist)(b,S)})};e.getTransforms=u;const d=h=>{var{key:m,whitelist:v,blacklist:b,storage:S,transforms:k,rootReducer:E}=h,_=t(h,["key","whitelist","blacklist","storage","transforms","rootReducer"]);(0,n.configValidator)({whitelist:v,blacklist:b});const T=(0,n.getRootKeysGroup)(v),A=(0,n.getRootKeysGroup)(b),I=Object.keys(E(void 0,{type:""})),R=T.map(te=>Object.keys(te)[0]),D=A.map(te=>Object.keys(te)[0]),j=I.filter(te=>R.indexOf(te)===-1&&D.indexOf(te)===-1),z=(0,e.getTransforms)(i.ConfigType.WHITELIST,T),V=(0,e.getTransforms)(i.ConfigType.BLACKLIST,A),K=(0,n.isArray)(v)?j.map(te=>(0,e.createBlacklist)(te)):[];return Object.assign(Object.assign({},_),{key:m,storage:S,transforms:[...z,...V,...K,...k||[]],stateReconciler:e.autoMergeDeep})};e.getPersistConfig=d})(IW);const Ed=(e,t)=>Math.floor(e/t)*t,Gl=(e,t)=>Math.round(e/t)*t;var ke={},rxe={get exports(){return ke},set exports(e){ke=e}};/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,m=2,v=4,b=1,S=2,k=1,E=2,_=4,T=8,A=16,I=32,R=64,D=128,j=256,z=512,V=30,K="...",te=800,q=16,$=1,U=2,X=3,Z=1/0,W=9007199254740991,Q=17976931348623157e292,ie=0/0,fe=4294967295,Se=fe-1,Pe=fe>>>1,ye=[["ary",D],["bind",k],["bindKey",E],["curry",T],["curryRight",A],["flip",z],["partial",I],["partialRight",R],["rearg",j]],We="[object Arguments]",De="[object Array]",ot="[object AsyncFunction]",He="[object Boolean]",Be="[object Date]",wt="[object DOMException]",st="[object Error]",mt="[object Function]",St="[object GeneratorFunction]",Le="[object Map]",lt="[object Number]",Mt="[object Null]",ut="[object Object]",_t="[object Promise]",ln="[object Proxy]",ae="[object RegExp]",Re="[object Set]",Ye="[object String]",Ke="[object Symbol]",xe="[object Undefined]",Ne="[object WeakMap]",Ct="[object WeakSet]",Dt="[object ArrayBuffer]",Te="[object DataView]",At="[object Float32Array]",$e="[object Float64Array]",vt="[object Int8Array]",tn="[object Int16Array]",Rn="[object Int32Array]",Xe="[object Uint8Array]",xt="[object Uint8ClampedArray]",ft="[object Uint16Array]",Ht="[object Uint32Array]",nn=/\b__p \+= '';/g,pr=/\b(__p \+=) '' \+/g,Mo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oi=/&(?:amp|lt|gt|quot|#39);/g,rl=/[&<>"']/g,I0=RegExp(Oi.source),Ba=RegExp(rl.source),kp=/<%-([\s\S]+?)%>/g,R0=/<%([\s\S]+?)%>/g,yc=/<%=([\s\S]+?)%>/g,Ep=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pp=/^\w*$/,ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vf=/[\\^$.*+?()[\]{}|]/g,D0=RegExp(vf.source),bc=/^\s+/,yf=/\s/,N0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,il=/\{\n\/\* \[wrapped with (.+)\] \*/,Sc=/,? & /,j0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,B0=/[()=,{}\[\]\/\s]/,$0=/\\(\\)?/g,F0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gs=/\w*$/,z0=/^[-+]0x[0-9a-f]+$/i,H0=/^0b[01]+$/i,V0=/^\[object .+?Constructor\]$/,W0=/^0o[0-7]+$/i,U0=/^(?:0|[1-9]\d*)$/,G0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,q0=/['\n\r\u2028\u2029\\]/g,ms="\\ud800-\\udfff",vu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",bu=vu+yu+al,Tp="\\u2700-\\u27bf",xc="a-z\\xdf-\\xf6\\xf8-\\xff",sl="\\xac\\xb1\\xd7\\xf7",oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dn="\\u2000-\\u206f",Pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",Hr="\\ufe0e\\ufe0f",li=sl+oa+Dn+Pn,sa="['’]",ll="["+ms+"]",ui="["+li+"]",vs="["+bu+"]",bf="\\d+",Su="["+Tp+"]",ys="["+xc+"]",Sf="[^"+ms+li+bf+Tp+xc+aa+"]",Mi="\\ud83c[\\udffb-\\udfff]",Lp="(?:"+vs+"|"+Mi+")",Ap="[^"+ms+"]",xf="(?:\\ud83c[\\udde6-\\uddff]){2}",ul="[\\ud800-\\udbff][\\udc00-\\udfff]",Io="["+aa+"]",cl="\\u200d",xu="(?:"+ys+"|"+Sf+")",Y0="(?:"+Io+"|"+Sf+")",wc="(?:"+sa+"(?:d|ll|m|re|s|t|ve))?",Cc="(?:"+sa+"(?:D|LL|M|RE|S|T|VE))?",wf=Lp+"?",_c="["+Hr+"]?",$a="(?:"+cl+"(?:"+[Ap,xf,ul].join("|")+")"+_c+wf+")*",Cf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yt=_c+wf+$a,Op="(?:"+[Su,xf,ul].join("|")+")"+Yt,kc="(?:"+[Ap+vs+"?",vs,xf,ul,ll].join("|")+")",Ec=RegExp(sa,"g"),Mp=RegExp(vs,"g"),la=RegExp(Mi+"(?="+Mi+")|"+kc+Yt,"g"),Kn=RegExp([Io+"?"+ys+"+"+wc+"(?="+[ui,Io,"$"].join("|")+")",Y0+"+"+Cc+"(?="+[ui,Io+xu,"$"].join("|")+")",Io+"?"+xu+"+"+wc,Io+"+"+Cc,wu,Cf,bf,Op].join("|"),"g"),_f=RegExp("["+cl+ms+bu+Hr+"]"),Ip=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,gn={};gn[At]=gn[$e]=gn[vt]=gn[tn]=gn[Rn]=gn[Xe]=gn[xt]=gn[ft]=gn[Ht]=!0,gn[We]=gn[De]=gn[Dt]=gn[He]=gn[Te]=gn[Be]=gn[st]=gn[mt]=gn[Le]=gn[lt]=gn[ut]=gn[ae]=gn[Re]=gn[Ye]=gn[Ne]=!1;var Kt={};Kt[We]=Kt[De]=Kt[Dt]=Kt[Te]=Kt[He]=Kt[Be]=Kt[At]=Kt[$e]=Kt[vt]=Kt[tn]=Kt[Rn]=Kt[Le]=Kt[lt]=Kt[ut]=Kt[ae]=Kt[Re]=Kt[Ye]=Kt[Ke]=Kt[Xe]=Kt[xt]=Kt[ft]=Kt[Ht]=!0,Kt[st]=Kt[mt]=Kt[Ne]=!1;var Dp={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í: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ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},K0={"&":"&","<":"<",">":">",'"':""","'":"'"},Y={"&":"&","<":"<",">":">",""":'"',"'":"'"},re={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ge=parseFloat,it=parseInt,Wt=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Sn=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wt||Sn||Function("return this")(),Nt=t&&!t.nodeType&&t,Xt=Nt&&!0&&e&&!e.nodeType&&e,Jr=Xt&&Xt.exports===Nt,Ir=Jr&&Wt.process,xn=function(){try{var oe=Xt&&Xt.require&&Xt.require("util").types;return oe||Ir&&Ir.binding&&Ir.binding("util")}catch{}}(),ci=xn&&xn.isArrayBuffer,Ro=xn&&xn.isDate,co=xn&&xn.isMap,Fa=xn&&xn.isRegExp,dl=xn&&xn.isSet,X0=xn&&xn.isTypedArray;function Ii(oe,we,ve){switch(ve.length){case 0:return oe.call(we);case 1:return oe.call(we,ve[0]);case 2:return oe.call(we,ve[0],ve[1]);case 3:return oe.call(we,ve[0],ve[1],ve[2])}return oe.apply(we,ve)}function Z0(oe,we,ve,nt){for(var It=-1,rn=oe==null?0:oe.length;++It-1}function Np(oe,we,ve){for(var nt=-1,It=oe==null?0:oe.length;++nt-1;);return ve}function bs(oe,we){for(var ve=oe.length;ve--&&Lc(we,oe[ve],0)>-1;);return ve}function J0(oe,we){for(var ve=oe.length,nt=0;ve--;)oe[ve]===we&&++nt;return nt}var Jy=Lf(Dp),Ss=Lf(K0);function hl(oe){return"\\"+re[oe]}function Bp(oe,we){return oe==null?n:oe[we]}function _u(oe){return _f.test(oe)}function $p(oe){return Ip.test(oe)}function e3(oe){for(var we,ve=[];!(we=oe.next()).done;)ve.push(we.value);return ve}function Fp(oe){var we=-1,ve=Array(oe.size);return oe.forEach(function(nt,It){ve[++we]=[It,nt]}),ve}function zp(oe,we){return function(ve){return oe(we(ve))}}function da(oe,we){for(var ve=-1,nt=oe.length,It=0,rn=[];++ve-1}function b3(c,g){var C=this.__data__,O=Wr(C,c);return O<0?(++this.size,C.push([c,g])):C[O][1]=g,this}fa.prototype.clear=v3,fa.prototype.delete=y3,fa.prototype.get=p1,fa.prototype.has=g1,fa.prototype.set=b3;function ha(c){var g=-1,C=c==null?0:c.length;for(this.clear();++g=g?c:g)),c}function wi(c,g,C,O,B,H){var J,ne=g&h,ce=g&m,_e=g&v;if(C&&(J=B?C(c,O,B,H):C(c)),J!==n)return J;if(!wr(c))return c;var Ee=Ft(c);if(Ee){if(J=$K(c),!ne)return $i(c,J)}else{var Ie=ki(c),tt=Ie==mt||Ie==St;if(rd(c))return _l(c,ne);if(Ie==ut||Ie==We||tt&&!B){if(J=ce||tt?{}:ST(c),!ne)return ce?I1(c,qc(J,c)):zo(c,ct(J,c))}else{if(!Kt[Ie])return B?c:{};J=FK(c,Ie,ne)}}H||(H=new Dr);var bt=H.get(c);if(bt)return bt;H.set(c,J),KT(c)?c.forEach(function(Tt){J.add(wi(Tt,g,C,Tt,c,H))}):qT(c)&&c.forEach(function(Tt,Qt){J.set(Qt,wi(Tt,g,C,Qt,c,H))});var Pt=_e?ce?me:ya:ce?Vo:Ei,qt=Ee?n:Pt(c);return Xn(qt||c,function(Tt,Qt){qt&&(Qt=Tt,Tt=c[Qt]),ml(J,Qt,wi(Tt,g,C,Qt,c,H))}),J}function Kp(c){var g=Ei(c);return function(C){return Xp(C,c,g)}}function Xp(c,g,C){var O=C.length;if(c==null)return!O;for(c=mn(c);O--;){var B=C[O],H=g[B],J=c[B];if(J===n&&!(B in c)||!H(J))return!1}return!0}function b1(c,g,C){if(typeof c!="function")throw new Ri(a);return B1(function(){c.apply(n,C)},g)}function Yc(c,g,C,O){var B=-1,H=Ki,J=!0,ne=c.length,ce=[],_e=g.length;if(!ne)return ce;C&&(g=Wn(g,Vr(C))),O?(H=Np,J=!1):g.length>=i&&(H=Oc,J=!1,g=new Wa(g));e:for(;++BB?0:B+C),O=O===n||O>B?B:Vt(O),O<0&&(O+=B),O=C>O?0:ZT(O);C0&&C(ne)?g>1?Ur(ne,g-1,C,O,B):za(B,ne):O||(B[B.length]=ne)}return B}var Qp=kl(),Bo=kl(!0);function va(c,g){return c&&Qp(c,g,Ei)}function $o(c,g){return c&&Bo(c,g,Ei)}function Jp(c,g){return No(g,function(C){return Iu(c[C])})}function vl(c,g){g=Cl(g,c);for(var C=0,O=g.length;c!=null&&Cg}function tg(c,g){return c!=null&&un.call(c,g)}function ng(c,g){return c!=null&&g in mn(c)}function rg(c,g,C){return c>=fi(g,C)&&c=120&&Ee.length>=120)?new Wa(J&&Ee):n}Ee=c[0];var Ie=-1,tt=ne[0];e:for(;++Ie-1;)ne!==c&&jf.call(ne,ce,1),jf.call(c,ce,1);return c}function Gf(c,g){for(var C=c?g.length:0,O=C-1;C--;){var B=g[C];if(C==O||B!==H){var H=B;Mu(B)?jf.call(c,B,1):hg(c,B)}}return c}function qf(c,g){return c+Eu(l1()*(g-c+1))}function xl(c,g,C,O){for(var B=-1,H=Rr(Ff((g-c)/(C||1)),0),J=ve(H);H--;)J[O?H:++B]=c,c+=C;return J}function ed(c,g){var C="";if(!c||g<1||g>W)return C;do g%2&&(C+=c),g=Eu(g/2),g&&(c+=c);while(g);return C}function Ot(c,g){return Tw(CT(c,g,Wo),c+"")}function lg(c){return Gc(Sg(c))}function Yf(c,g){var C=Sg(c);return P3(C,Tu(g,0,C.length))}function Au(c,g,C,O){if(!wr(c))return c;g=Cl(g,c);for(var B=-1,H=g.length,J=H-1,ne=c;ne!=null&&++BB?0:B+g),C=C>B?B:C,C<0&&(C+=B),B=g>C?0:C-g>>>0,g>>>=0;for(var H=ve(B);++O>>1,J=c[H];J!==null&&!ba(J)&&(C?J<=g:J=i){var _e=g?null:G(c);if(_e)return If(_e);J=!1,B=Oc,ce=new Wa}else ce=g?[]:ne;e:for(;++O=O?c:qr(c,g,C)}var L1=o3||function(c){return kt.clearTimeout(c)};function _l(c,g){if(g)return c.slice();var C=c.length,O=Nc?Nc(C):new c.constructor(C);return c.copy(O),O}function A1(c){var g=new c.constructor(c.byteLength);return new Di(g).set(new Di(c)),g}function Ou(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.byteLength)}function C3(c){var g=new c.constructor(c.source,gs.exec(c));return g.lastIndex=c.lastIndex,g}function Zn(c){return Hf?mn(Hf.call(c)):{}}function _3(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.length)}function O1(c,g){if(c!==g){var C=c!==n,O=c===null,B=c===c,H=ba(c),J=g!==n,ne=g===null,ce=g===g,_e=ba(g);if(!ne&&!_e&&!H&&c>g||H&&J&&ce&&!ne&&!_e||O&&J&&ce||!C&&ce||!B)return 1;if(!O&&!H&&!_e&&c=ne)return ce;var _e=C[O];return ce*(_e=="desc"?-1:1)}}return c.index-g.index}function k3(c,g,C,O){for(var B=-1,H=c.length,J=C.length,ne=-1,ce=g.length,_e=Rr(H-J,0),Ee=ve(ce+_e),Ie=!O;++ne1?C[B-1]:n,J=B>2?C[2]:n;for(H=c.length>3&&typeof H=="function"?(B--,H):n,J&&vo(C[0],C[1],J)&&(H=B<3?n:H,B=1),g=mn(g);++O-1?B[H?g[J]:J]:n}}function D1(c){return mr(function(g){var C=g.length,O=C,B=ho.prototype.thru;for(c&&g.reverse();O--;){var H=g[O];if(typeof H!="function")throw new Ri(a);if(B&&!J&&be(H)=="wrapper")var J=new ho([],!0)}for(O=J?O:C;++O1&&on.reverse(),Ee&&cene))return!1;var _e=H.get(c),Ee=H.get(g);if(_e&&Ee)return _e==g&&Ee==c;var Ie=-1,tt=!0,bt=C&S?new Wa:n;for(H.set(c,g),H.set(g,c);++Ie1?"& ":"")+g[O],g=g.join(C>2?", ":" "),c.replace(N0,`{ -/* [wrapped with `+g+`] */ -`)}function HK(c){return Ft(c)||nh(c)||!!(a1&&c&&c[a1])}function Mu(c,g){var C=typeof c;return g=g??W,!!g&&(C=="number"||C!="symbol"&&U0.test(c))&&c>-1&&c%1==0&&c0){if(++g>=te)return arguments[0]}else g=0;return c.apply(n,arguments)}}function P3(c,g){var C=-1,O=c.length,B=O-1;for(g=g===n?O:g;++C1?c[g-1]:n;return C=typeof C=="function"?(c.pop(),C):n,DT(c,C)});function NT(c){var g=F(c);return g.__chain__=!0,g}function JX(c,g){return g(c),c}function T3(c,g){return g(c)}var eZ=mr(function(c){var g=c.length,C=g?c[0]:0,O=this.__wrapped__,B=function(H){return Yp(H,c)};return g>1||this.__actions__.length||!(O instanceof Zt)||!Mu(C)?this.thru(B):(O=O.slice(C,+C+(g?1:0)),O.__actions__.push({func:T3,args:[B],thisArg:n}),new ho(O,this.__chain__).thru(function(H){return g&&!H.length&&H.push(n),H}))});function tZ(){return NT(this)}function nZ(){return new ho(this.value(),this.__chain__)}function rZ(){this.__values__===n&&(this.__values__=XT(this.value()));var c=this.__index__>=this.__values__.length,g=c?n:this.__values__[this.__index__++];return{done:c,value:g}}function iZ(){return this}function oZ(c){for(var g,C=this;C instanceof Vf;){var O=LT(C);O.__index__=0,O.__values__=n,g?B.__wrapped__=O:g=O;var B=O;C=C.__wrapped__}return B.__wrapped__=c,g}function aZ(){var c=this.__wrapped__;if(c instanceof Zt){var g=c;return this.__actions__.length&&(g=new Zt(this)),g=g.reverse(),g.__actions__.push({func:T3,args:[Lw],thisArg:n}),new ho(g,this.__chain__)}return this.thru(Lw)}function sZ(){return wl(this.__wrapped__,this.__actions__)}var lZ=gg(function(c,g,C){un.call(c,C)?++c[C]:pa(c,C,1)});function uZ(c,g,C){var O=Ft(c)?Vn:S1;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}function cZ(c,g){var C=Ft(c)?No:ma;return C(c,Oe(g,3))}var dZ=R1(AT),fZ=R1(OT);function hZ(c,g){return Ur(L3(c,g),1)}function pZ(c,g){return Ur(L3(c,g),Z)}function gZ(c,g,C){return C=C===n?1:Vt(C),Ur(L3(c,g),C)}function jT(c,g){var C=Ft(c)?Xn:Cs;return C(c,Oe(g,3))}function BT(c,g){var C=Ft(c)?Do:Zp;return C(c,Oe(g,3))}var mZ=gg(function(c,g,C){un.call(c,C)?c[C].push(g):pa(c,C,[g])});function vZ(c,g,C,O){c=Ho(c)?c:Sg(c),C=C&&!O?Vt(C):0;var B=c.length;return C<0&&(C=Rr(B+C,0)),R3(c)?C<=B&&c.indexOf(g,C)>-1:!!B&&Lc(c,g,C)>-1}var yZ=Ot(function(c,g,C){var O=-1,B=typeof g=="function",H=Ho(c)?ve(c.length):[];return Cs(c,function(J){H[++O]=B?Ii(g,J,C):_s(J,g,C)}),H}),bZ=gg(function(c,g,C){pa(c,C,g)});function L3(c,g){var C=Ft(c)?Wn:jr;return C(c,Oe(g,3))}function SZ(c,g,C,O){return c==null?[]:(Ft(g)||(g=g==null?[]:[g]),C=O?n:C,Ft(C)||(C=C==null?[]:[C]),ji(c,g,C))}var xZ=gg(function(c,g,C){c[C?0:1].push(g)},function(){return[[],[]]});function wZ(c,g,C){var O=Ft(c)?Ef:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Cs)}function CZ(c,g,C){var O=Ft(c)?Ky:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Zp)}function _Z(c,g){var C=Ft(c)?No:ma;return C(c,M3(Oe(g,3)))}function kZ(c){var g=Ft(c)?Gc:lg;return g(c)}function EZ(c,g,C){(C?vo(c,g,C):g===n)?g=1:g=Vt(g);var O=Ft(c)?xi:Yf;return O(c,g)}function PZ(c){var g=Ft(c)?Sw:_i;return g(c)}function TZ(c){if(c==null)return 0;if(Ho(c))return R3(c)?Ha(c):c.length;var g=ki(c);return g==Le||g==Re?c.size:Gr(c).length}function LZ(c,g,C){var O=Ft(c)?Pc:Fo;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}var AZ=Ot(function(c,g){if(c==null)return[];var C=g.length;return C>1&&vo(c,g[0],g[1])?g=[]:C>2&&vo(g[0],g[1],g[2])&&(g=[g[0]]),ji(c,Ur(g,1),[])}),A3=a3||function(){return kt.Date.now()};function OZ(c,g){if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){if(--c<1)return g.apply(this,arguments)}}function $T(c,g,C){return g=C?n:g,g=c&&g==null?c.length:g,pe(c,D,n,n,n,n,g)}function FT(c,g){var C;if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){return--c>0&&(C=g.apply(this,arguments)),c<=1&&(g=n),C}}var Ow=Ot(function(c,g,C){var O=k;if(C.length){var B=da(C,et(Ow));O|=I}return pe(c,O,g,C,B)}),zT=Ot(function(c,g,C){var O=k|E;if(C.length){var B=da(C,et(zT));O|=I}return pe(g,O,c,C,B)});function HT(c,g,C){g=C?n:g;var O=pe(c,T,n,n,n,n,n,g);return O.placeholder=HT.placeholder,O}function VT(c,g,C){g=C?n:g;var O=pe(c,A,n,n,n,n,n,g);return O.placeholder=VT.placeholder,O}function WT(c,g,C){var O,B,H,J,ne,ce,_e=0,Ee=!1,Ie=!1,tt=!0;if(typeof c!="function")throw new Ri(a);g=qa(g)||0,wr(C)&&(Ee=!!C.leading,Ie="maxWait"in C,H=Ie?Rr(qa(C.maxWait)||0,g):H,tt="trailing"in C?!!C.trailing:tt);function bt(Kr){var Ls=O,Du=B;return O=B=n,_e=Kr,J=c.apply(Du,Ls),J}function Pt(Kr){return _e=Kr,ne=B1(Qt,g),Ee?bt(Kr):J}function qt(Kr){var Ls=Kr-ce,Du=Kr-_e,uL=g-Ls;return Ie?fi(uL,H-Du):uL}function Tt(Kr){var Ls=Kr-ce,Du=Kr-_e;return ce===n||Ls>=g||Ls<0||Ie&&Du>=H}function Qt(){var Kr=A3();if(Tt(Kr))return on(Kr);ne=B1(Qt,qt(Kr))}function on(Kr){return ne=n,tt&&O?bt(Kr):(O=B=n,J)}function Sa(){ne!==n&&L1(ne),_e=0,O=ce=B=ne=n}function yo(){return ne===n?J:on(A3())}function xa(){var Kr=A3(),Ls=Tt(Kr);if(O=arguments,B=this,ce=Kr,Ls){if(ne===n)return Pt(ce);if(Ie)return L1(ne),ne=B1(Qt,g),bt(ce)}return ne===n&&(ne=B1(Qt,g)),J}return xa.cancel=Sa,xa.flush=yo,xa}var MZ=Ot(function(c,g){return b1(c,1,g)}),IZ=Ot(function(c,g,C){return b1(c,qa(g)||0,C)});function RZ(c){return pe(c,z)}function O3(c,g){if(typeof c!="function"||g!=null&&typeof g!="function")throw new Ri(a);var C=function(){var O=arguments,B=g?g.apply(this,O):O[0],H=C.cache;if(H.has(B))return H.get(B);var J=c.apply(this,O);return C.cache=H.set(B,J)||H,J};return C.cache=new(O3.Cache||ha),C}O3.Cache=ha;function M3(c){if(typeof c!="function")throw new Ri(a);return function(){var g=arguments;switch(g.length){case 0:return!c.call(this);case 1:return!c.call(this,g[0]);case 2:return!c.call(this,g[0],g[1]);case 3:return!c.call(this,g[0],g[1],g[2])}return!c.apply(this,g)}}function DZ(c){return FT(2,c)}var NZ=Cw(function(c,g){g=g.length==1&&Ft(g[0])?Wn(g[0],Vr(Oe())):Wn(Ur(g,1),Vr(Oe()));var C=g.length;return Ot(function(O){for(var B=-1,H=fi(O.length,C);++B=g}),nh=og(function(){return arguments}())?og:function(c){return Br(c)&&un.call(c,"callee")&&!o1.call(c,"callee")},Ft=ve.isArray,ZZ=ci?Vr(ci):w1;function Ho(c){return c!=null&&I3(c.length)&&!Iu(c)}function Yr(c){return Br(c)&&Ho(c)}function QZ(c){return c===!0||c===!1||Br(c)&&Ci(c)==He}var rd=s3||Vw,JZ=Ro?Vr(Ro):C1;function eQ(c){return Br(c)&&c.nodeType===1&&!$1(c)}function tQ(c){if(c==null)return!0;if(Ho(c)&&(Ft(c)||typeof c=="string"||typeof c.splice=="function"||rd(c)||bg(c)||nh(c)))return!c.length;var g=ki(c);if(g==Le||g==Re)return!c.size;if(j1(c))return!Gr(c).length;for(var C in c)if(un.call(c,C))return!1;return!0}function nQ(c,g){return Xc(c,g)}function rQ(c,g,C){C=typeof C=="function"?C:n;var O=C?C(c,g):n;return O===n?Xc(c,g,n,C):!!O}function Iw(c){if(!Br(c))return!1;var g=Ci(c);return g==st||g==wt||typeof c.message=="string"&&typeof c.name=="string"&&!$1(c)}function iQ(c){return typeof c=="number"&&Wp(c)}function Iu(c){if(!wr(c))return!1;var g=Ci(c);return g==mt||g==St||g==ot||g==ln}function GT(c){return typeof c=="number"&&c==Vt(c)}function I3(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=W}function wr(c){var g=typeof c;return c!=null&&(g=="object"||g=="function")}function Br(c){return c!=null&&typeof c=="object"}var qT=co?Vr(co):ww;function oQ(c,g){return c===g||Zc(c,g,Rt(g))}function aQ(c,g,C){return C=typeof C=="function"?C:n,Zc(c,g,Rt(g),C)}function sQ(c){return YT(c)&&c!=+c}function lQ(c){if(UK(c))throw new It(o);return ag(c)}function uQ(c){return c===null}function cQ(c){return c==null}function YT(c){return typeof c=="number"||Br(c)&&Ci(c)==lt}function $1(c){if(!Br(c)||Ci(c)!=ut)return!1;var g=jc(c);if(g===null)return!0;var C=un.call(g,"constructor")&&g.constructor;return typeof C=="function"&&C instanceof C&&br.call(C)==Si}var Rw=Fa?Vr(Fa):Sr;function dQ(c){return GT(c)&&c>=-W&&c<=W}var KT=dl?Vr(dl):Ut;function R3(c){return typeof c=="string"||!Ft(c)&&Br(c)&&Ci(c)==Ye}function ba(c){return typeof c=="symbol"||Br(c)&&Ci(c)==Ke}var bg=X0?Vr(X0):ei;function fQ(c){return c===n}function hQ(c){return Br(c)&&ki(c)==Ne}function pQ(c){return Br(c)&&Ci(c)==Ct}var gQ=P(yl),mQ=P(function(c,g){return c<=g});function XT(c){if(!c)return[];if(Ho(c))return R3(c)?Xi(c):$i(c);if(Bc&&c[Bc])return e3(c[Bc]());var g=ki(c),C=g==Le?Fp:g==Re?If:Sg;return C(c)}function Ru(c){if(!c)return c===0?c:0;if(c=qa(c),c===Z||c===-Z){var g=c<0?-1:1;return g*Q}return c===c?c:0}function Vt(c){var g=Ru(c),C=g%1;return g===g?C?g-C:g:0}function ZT(c){return c?Tu(Vt(c),0,fe):0}function qa(c){if(typeof c=="number")return c;if(ba(c))return ie;if(wr(c)){var g=typeof c.valueOf=="function"?c.valueOf():c;c=wr(g)?g+"":g}if(typeof c!="string")return c===0?c:+c;c=fo(c);var C=H0.test(c);return C||W0.test(c)?it(c.slice(2),C?2:8):z0.test(c)?ie:+c}function QT(c){return Ua(c,Vo(c))}function vQ(c){return c?Tu(Vt(c),-W,W):c===0?c:0}function Ln(c){return c==null?"":go(c)}var yQ=mo(function(c,g){if(j1(g)||Ho(g)){Ua(g,Ei(g),c);return}for(var C in g)un.call(g,C)&&ml(c,C,g[C])}),JT=mo(function(c,g){Ua(g,Vo(g),c)}),D3=mo(function(c,g,C,O){Ua(g,Vo(g),c,O)}),bQ=mo(function(c,g,C,O){Ua(g,Ei(g),c,O)}),SQ=mr(Yp);function xQ(c,g){var C=Pu(c);return g==null?C:ct(C,g)}var wQ=Ot(function(c,g){c=mn(c);var C=-1,O=g.length,B=O>2?g[2]:n;for(B&&vo(g[0],g[1],B)&&(O=1);++C1),H}),Ua(c,me(c),C),O&&(C=wi(C,h|m|v,jt));for(var B=g.length;B--;)hg(C,g[B]);return C});function FQ(c,g){return tL(c,M3(Oe(g)))}var zQ=mr(function(c,g){return c==null?{}:E1(c,g)});function tL(c,g){if(c==null)return{};var C=Wn(me(c),function(O){return[O]});return g=Oe(g),sg(c,C,function(O,B){return g(O,B[0])})}function HQ(c,g,C){g=Cl(g,c);var O=-1,B=g.length;for(B||(B=1,c=n);++Og){var O=c;c=g,g=O}if(C||c%1||g%1){var B=l1();return fi(c+B*(g-c+ge("1e-"+((B+"").length-1))),g)}return qf(c,g)}var JQ=El(function(c,g,C){return g=g.toLowerCase(),c+(C?iL(g):g)});function iL(c){return jw(Ln(c).toLowerCase())}function oL(c){return c=Ln(c),c&&c.replace(G0,Jy).replace(Mp,"")}function eJ(c,g,C){c=Ln(c),g=go(g);var O=c.length;C=C===n?O:Tu(Vt(C),0,O);var B=C;return C-=g.length,C>=0&&c.slice(C,B)==g}function tJ(c){return c=Ln(c),c&&Ba.test(c)?c.replace(rl,Ss):c}function nJ(c){return c=Ln(c),c&&D0.test(c)?c.replace(vf,"\\$&"):c}var rJ=El(function(c,g,C){return c+(C?"-":"")+g.toLowerCase()}),iJ=El(function(c,g,C){return c+(C?" ":"")+g.toLowerCase()}),oJ=vg("toLowerCase");function aJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;if(!g||O>=g)return c;var B=(g-O)/2;return f(Eu(B),C)+c+f(Ff(B),C)}function sJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;return g&&O>>0,C?(c=Ln(c),c&&(typeof g=="string"||g!=null&&!Rw(g))&&(g=go(g),!g&&_u(c))?Es(Xi(c),0,C):c.split(g,C)):[]}var pJ=El(function(c,g,C){return c+(C?" ":"")+jw(g)});function gJ(c,g,C){return c=Ln(c),C=C==null?0:Tu(Vt(C),0,c.length),g=go(g),c.slice(C,C+g.length)==g}function mJ(c,g,C){var O=F.templateSettings;C&&vo(c,g,C)&&(g=n),c=Ln(c),g=D3({},g,O,ze);var B=D3({},g.imports,O.imports,ze),H=Ei(B),J=Mf(B,H),ne,ce,_e=0,Ee=g.interpolate||ol,Ie="__p += '",tt=Df((g.escape||ol).source+"|"+Ee.source+"|"+(Ee===yc?F0:ol).source+"|"+(g.evaluate||ol).source+"|$","g"),bt="//# sourceURL="+(un.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` -`;c.replace(tt,function(Tt,Qt,on,Sa,yo,xa){return on||(on=Sa),Ie+=c.slice(_e,xa).replace(q0,hl),Qt&&(ne=!0,Ie+=`' + -__e(`+Qt+`) + -'`),yo&&(ce=!0,Ie+=`'; -`+yo+`; -__p += '`),on&&(Ie+=`' + -((__t = (`+on+`)) == null ? '' : __t) + -'`),_e=xa+Tt.length,Tt}),Ie+=`'; -`;var Pt=un.call(g,"variable")&&g.variable;if(!Pt)Ie=`with (obj) { -`+Ie+` -} -`;else if(B0.test(Pt))throw new It(s);Ie=(ce?Ie.replace(nn,""):Ie).replace(pr,"$1").replace(Mo,"$1;"),Ie="function("+(Pt||"obj")+`) { -`+(Pt?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(ce?`, __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -`:`; -`)+Ie+`return __p -}`;var qt=sL(function(){return rn(H,bt+"return "+Ie).apply(n,J)});if(qt.source=Ie,Iw(qt))throw qt;return qt}function vJ(c){return Ln(c).toLowerCase()}function yJ(c){return Ln(c).toUpperCase()}function bJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return fo(c);if(!c||!(g=go(g)))return c;var O=Xi(c),B=Xi(g),H=ca(O,B),J=bs(O,B)+1;return Es(O,H,J).join("")}function SJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.slice(0,t1(c)+1);if(!c||!(g=go(g)))return c;var O=Xi(c),B=bs(O,Xi(g))+1;return Es(O,0,B).join("")}function xJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.replace(bc,"");if(!c||!(g=go(g)))return c;var O=Xi(c),B=ca(O,Xi(g));return Es(O,B).join("")}function wJ(c,g){var C=V,O=K;if(wr(g)){var B="separator"in g?g.separator:B;C="length"in g?Vt(g.length):C,O="omission"in g?go(g.omission):O}c=Ln(c);var H=c.length;if(_u(c)){var J=Xi(c);H=J.length}if(C>=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Rw(B)){if(c.slice(ne).search(B)){var _e,Ee=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;_e=B.exec(Ee);)var Ie=_e.index;ce=ce.slice(0,Ie===n?ne:Ie)}}else if(c.indexOf(go(B),ne)!=ne){var tt=ce.lastIndexOf(B);tt>-1&&(ce=ce.slice(0,tt))}return ce+O}function CJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var _J=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),jw=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?$p(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Iw(C)?C:new It(C)}}),kJ=mr(function(c,g){return Xn(g,function(C){C=Pl(C),pa(c,C,Ow(c[C],c))}),c});function EJ(c){var g=c==null?0:c.length,C=Oe();return c=g?Wn(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BW)return[];var C=fe,O=fi(c,fe);g=Oe(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Zt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Zt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Zt.prototype.toArray=function(){return this.take(fe)},va(Zt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=F[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&(F.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Zt,_e=ne[0],Ee=ce||Ft(J),Ie=function(Qt){var on=B.apply(F,za([Qt],ne));return O&&tt?on[0]:on};Ee&&C&&typeof _e=="function"&&_e.length!=1&&(ce=Ee=!1);var tt=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!tt,qt=ce&&!bt;if(!H&&Ee){J=qt?J:new Zt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Ie],thisArg:n}),new ho(Tt,tt)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Ie),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Xn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);F.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply(Ft(H)?H:[],B)}return this[C](function(J){return g.apply(Ft(J)?J:[],B)})}}),va(Zt.prototype,function(c,g){var C=F[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,E).name]=[{name:"wrapper",func:n}],Zt.prototype.clone=Zi,Zt.prototype.reverse=Ni,Zt.prototype.value=f3,F.prototype.at=eZ,F.prototype.chain=tZ,F.prototype.commit=nZ,F.prototype.next=rZ,F.prototype.plant=oZ,F.prototype.reverse=aZ,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=sZ,F.prototype.first=F.prototype.head,Bc&&(F.prototype[Bc]=iZ),F},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(Co)})(rxe,ke);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},ixe=.999,oxe=.1,axe=20,nv=.95,RI=30,s8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},sxe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),DW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],lxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",uxe=e=>e.kind==="line"&&e.layer==="base",W5=e=>e.kind==="image"&&e.layer==="base",cxe=e=>e.kind==="fillRect"&&e.layer==="base",dxe=e=>e.kind==="eraseRect"&&e.layer==="base",fxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},hxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},NW=cp({name:"canvas",initialState:hxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(ke.clamp(n.width,64,512),64),height:Ed(ke.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=sxe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(fxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(ke.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(W5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(W5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(ke.clamp(o,64,512),64),height:Ed(ke.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:jW,addFillRect:BW,addImageToStagingArea:pxe,addLine:gxe,addPointToCurrentLine:$W,clearCanvasHistory:FW,clearMask:nP,commitColorPickerColor:mxe,commitStagingAreaImage:vxe,discardStagedImages:yxe,fitBoundingBoxToStage:JFe,mouseLeftCanvas:bxe,nextStagingAreaImage:Sxe,prevStagingAreaImage:xxe,redo:wxe,resetCanvas:rP,resetCanvasInteractionState:Cxe,resetCanvasView:zW,resizeAndScaleCanvas:Rx,resizeCanvas:_xe,setBoundingBoxCoordinates:vC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:eze,setBoundingBoxScaleMethod:kxe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:Exe,setColorPickerColor:Pxe,setCursorPosition:Txe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:Dx,setIsDrawing:HW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:tze,setIsMoveStageKeyHeld:nze,setIsMovingBoundingBox:yC,setIsMovingStage:U5,setIsTransformingBoundingBox:bC,setLayer:G5,setMaskColor:VW,setMergedCanvas:Lxe,setShouldAutoSave:WW,setShouldCropToBoundingBoxOnSave:UW,setShouldDarkenOutsideBoundingBox:GW,setShouldLockBoundingBox:rze,setShouldPreserveMaskedArea:qW,setShouldShowBoundingBox:Axe,setShouldShowBrush:ize,setShouldShowBrushPreview:oze,setShouldShowCanvasDebugInfo:YW,setShouldShowCheckboardTransparency:aze,setShouldShowGrid:KW,setShouldShowIntermediates:XW,setShouldShowStagingImage:Oxe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:q5,setStageCoordinates:ZW,setStageScale:Mxe,setTool:tu,toggleShouldLockBoundingBox:sze,toggleTool:lze,undo:Ixe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:QW}=NW.actions,Rxe=NW.reducer,Dxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},JW=cp({name:"gallery",initialState:Dxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=ke.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:SC,removeImage:eU,setCurrentImage:jI,addGalleryImages:Nxe,setIntermediateImage:jxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:Bxe,setShouldShowGallery:Bd,setGalleryScrollPosition:$xe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:tU,setShouldAutoSwitchToNewImages:zxe,setCurrentCategory:kb,setGalleryWidth:Hxe,setShouldUseSingleGalleryColumn:Vxe}=JW.actions,Wxe=JW.reducer,Uxe={isLightboxOpen:!1},Gxe=Uxe,nU=cp({name:"lightbox",initialState:Gxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=nU.actions,qxe=nU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const Yxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?Yxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),Y5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Kxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),rU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Xxe=rU,iU=cp({name:"generation",initialState:Xxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=Y5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,typeof u>"u"?e.perlin=0:e.perlin=u,typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:k,init_image_path:E,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(E&&(e.initialImage=E),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof k=="boolean"&&(e.shouldFitToWidthHeight=k)),a&&a.length>0?(e.seedWeights=Y5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),typeof u>"u"?e.threshold=0:e.threshold=u,typeof d>"u"?e.perlin=0:e.perlin=d,typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...rU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:oU,resetParametersState:uze,resetSeed:cze,setAllImageToImageParameters:Zxe,setAllParameters:aU,setAllTextToImageParameters:dze,setCfgScale:sU,setHeight:lU,setImg2imgStrength:l8,setInfillMethod:uU,setInitialImage:k0,setIterations:Qxe,setMaskPath:cU,setParameter:fze,setPerlin:dU,setPrompt:Nx,setNegativePrompt:Q2,setSampler:fU,setSeamBlur:BI,setSeamless:hU,setSeamSize:$I,setSeamSteps:FI,setSeamStrength:zI,setSeed:Ny,setSeedWeights:pU,setShouldFitToWidthHeight:gU,setShouldGenerateVariations:Jxe,setShouldRandomizeSeed:ewe,setSteps:mU,setThreshold:vU,setTileSize:HI,setVariationAmount:twe,setWidth:yU}=iU.actions,nwe=iU.reducer,bU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingDenoising:.75,upscalingStrength:.75},rwe=bU,SU=cp({name:"postprocessing",initialState:rwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingDenoising:(e,t)=>{e.upscalingDenoising=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...bU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:hze,setCodeformerFidelity:xU,setFacetoolStrength:u8,setFacetoolType:I4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:iwe,setShouldRunESRGAN:owe,setShouldRunFacetool:awe,setUpscalingLevel:wU,setUpscalingDenoising:c8,setUpscalingStrength:d8}=SU.actions,swe=SU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lwe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CU(e){var t=lwe(e,"string");return Xs(t)==="symbol"?t:String(t)}function WI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.init(t,n)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||pwe,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function KI(e,t,n){var r=uP(e,t,Object),i=r.obj,o=r.k;i[o]=n}function vwe(e,t,n,r){var i=uP(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function K5(e,t){var n=uP(e,t),r=n.obj,i=n.k;if(r)return r[i]}function XI(e,t,n){var r=K5(e,n);return r!==void 0?r:K5(t,n)}function _U(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):_U(e[r],t[r],n):e[r]=t[r]);return e}function Mg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ywe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function bwe(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return ywe[t]}):e}var Bx=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Swe=[" ",",","?","!",";"];function xwe(e,t,n){t=t||"",n=n||"";var r=Swe.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function ZI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eb(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?kU(l,u,n):void 0}i=i[r[o]]}return i}}var _we=function(e){jx(n,e);var t=wwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pu(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,d=[i,o];a&&typeof a!="string"&&(d=d.concat(a)),a&&typeof a=="string"&&(d=d.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(d=i.split("."));var h=K5(this.data,d);return h||!u||typeof a!="string"?h:kU(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var d=[i,o];a&&(d=d.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(d=i.split("."),s=o,o=d[1]),this.addNamespaces(o),KI(this.data,d,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},d=[i,o];i.indexOf(".")>-1&&(d=i.split("."),s=a,a=o,o=d[1]),this.addNamespaces(o);var h=K5(this.data,d)||{};s?_U(h,a,l):h=Eb(Eb({},h),a),KI(this.data,d,h),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Eb(Eb({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Qd),EU={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function QI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function So(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var JI={},eR=function(e){jx(n,e);var t=kwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),mwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,$d(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=ql.create("translator"),i}return pu(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,d=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!xwe(i,a,s);if(u&&!d){var h=i.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Xs(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=this.extractFromKey(i[i.length-1],o),h=d.key,m=d.namespaces,v=m[m.length-1],b=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(S){var k=o.nsSeparator||this.options.nsSeparator;return l?(E.res="".concat(v).concat(k).concat(h),E):"".concat(v).concat(k).concat(h)}return l?(E.res=h,E):h}var E=this.resolve(i,o),_=E&&E.res,T=E&&E.usedKey||h,A=E&&E.exactUsedKey||h,I=Object.prototype.toString.apply(_),R=["[object Number]","[object Function]","[object RegExp]"],D=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=typeof _!="string"&&typeof _!="boolean"&&typeof _!="number";if(j&&_&&z&&R.indexOf(I)<0&&!(typeof D=="string"&&I==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var V=this.options.returnedObjectHandler?this.options.returnedObjectHandler(T,_,So(So({},o),{},{ns:m})):"key '".concat(h," (").concat(this.language,")' returned an object instead of string.");return l?(E.res=V,E):V}if(u){var K=I==="[object Array]",te=K?[]:{},q=K?A:T;for(var $ in _)if(Object.prototype.hasOwnProperty.call(_,$)){var U="".concat(q).concat(u).concat($);te[$]=this.translate(U,So(So({},o),{joinArrays:!1,ns:m})),te[$]===U&&(te[$]=_[$])}_=te}}else if(j&&typeof D=="string"&&I==="[object Array]")_=_.join(D),_&&(_=this.extendTranslation(_,i,o,a));else{var X=!1,Z=!1,W=o.count!==void 0&&typeof o.count!="string",Q=n.hasDefaultValue(o),ie=W?this.pluralResolver.getSuffix(b,o.count,o):"",fe=o["defaultValue".concat(ie)]||o.defaultValue;!this.isValidLookup(_)&&Q&&(X=!0,_=fe),this.isValidLookup(_)||(Z=!0,_=h);var Se=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Pe=Se&&Z?void 0:_,ye=Q&&fe!==_&&this.options.updateMissing;if(Z||X||ye){if(this.logger.log(ye?"updateKey":"missingKey",b,v,h,ye?fe:_),u){var We=this.resolve(h,So(So({},o),{},{keySeparator:!1}));We&&We.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var De=[],ot=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ot&&ot[0])for(var He=0;He1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,d,h;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var v=o.extractFromKey(m,a),b=v.key;l=b;var S=v.namespaces;o.options.fallbackNS&&(S=S.concat(o.options.fallbackNS));var k=a.count!==void 0&&typeof a.count!="string",E=k&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),_=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",T=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);S.forEach(function(A){o.isValidLookup(s)||(h=A,!JI["".concat(T[0],"-").concat(A)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(h)&&(JI["".concat(T[0],"-").concat(A)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(T.join(", "),`" won't get resolved as namespace "`).concat(h,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(function(I){if(!o.isValidLookup(s)){d=I;var R=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(R,b,I,A,a);else{var D;k&&(D=o.pluralResolver.getSuffix(I,a.count,a));var j="".concat(o.options.pluralSeparator,"zero");if(k&&(R.push(b+D),E&&R.push(b+j)),_){var z="".concat(b).concat(o.options.contextSeparator).concat(a.context);R.push(z),k&&(R.push(z+D),E&&R.push(z+j))}}for(var V;V=R.pop();)o.isValidLookup(s)||(u=V,s=o.getResource(I,A,V,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:d,usedNS:h}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(Qd);function xC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var tR=function(){function e(t){hu(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ql.create("languageUtils")}return pu(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=xC(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),Pwe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Twe={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Lwe=["v1","v2","v3"],nR={zero:0,one:1,two:2,few:3,many:4,other:5};function Awe(){var e={};return Pwe.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Twe[t.fc]}})}),e}var Owe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.languageUtils=t,this.options=n,this.logger=ql.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Awe()}return pu(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return nR[a]-nR[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Lwe.includes(this.options.compatibilityJSON)}}]),e}();function rR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pu(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:bwe,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Mg(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Mg(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Mg(r.nestingPrefix):r.nestingPrefixEscaped||Mg("$t("),this.nestingSuffix=r.nestingSuffix?Mg(r.nestingSuffix):r.nestingSuffixEscaped||Mg(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function h(k){return k.replace(/\$/g,"$$$$")}var m=function(E){if(E.indexOf(a.formatSeparator)<0){var _=XI(r,d,E);return a.alwaysFormat?a.format(_,void 0,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:E})):_}var T=E.split(a.formatSeparator),A=T.shift().trim(),I=T.join(a.formatSeparator).trim();return a.format(XI(r,d,A),I,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:A}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,S=[{regex:this.regexpUnescape,safeValue:function(E){return h(E)}},{regex:this.regexp,safeValue:function(E){return a.escapeValue?h(a.escape(E)):h(E)}}];return S.forEach(function(k){for(u=0;s=k.regex.exec(n);){var E=s[1].trim();if(l=m(E),l===void 0)if(typeof v=="function"){var _=v(n,s,o);l=typeof _=="string"?_:""}else if(o&&o.hasOwnProperty(E))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(E," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=YI(l));var T=k.safeValue(l);if(n=n.replace(s[0],T),b?(k.regex.lastIndex+=l.length,k.regex.lastIndex-=s[0].length):k.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,b){var S=this.nestingOptionsSeparator;if(v.indexOf(S)<0)return v;var k=v.split(new RegExp("".concat(S,"[ ]*{"))),E="{".concat(k[1]);v=k[0],E=this.interpolate(E,l);var _=E.match(/'/g),T=E.match(/"/g);(_&&_.length%2===0&&!T||T.length%2!==0)&&(E=E.replace(/'/g,'"'));try{l=JSON.parse(E),b&&(l=Rs(Rs({},b),l))}catch(A){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),A),"".concat(v).concat(S).concat(E)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var d=[];l=Rs({},o),l.applyPostProcessor=!1,delete l.defaultValue;var h=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=m.shift(),d=m,h=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=YI(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),h&&(s=d.reduce(function(v,b){return i.format(v,b,o.lng,Rs(Rs({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function iR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=hwe(s),u=l[0],d=l.slice(1),h=d.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=h),h==="false"&&(n[u.trim()]=!1),h==="true"&&(n[u.trim()]=!0),isNaN(h)||(n[u.trim()]=parseInt(h,10))}})}}return{formatName:t,formatOptions:n}}function Ig(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var Rwe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("formatter"),this.options=t,this.formats={number:Ig(function(n,r){var i=new Intl.NumberFormat(n,r);return function(o){return i.format(o)}}),currency:Ig(function(n,r){var i=new Intl.NumberFormat(n,ld(ld({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Ig(function(n,r){var i=new Intl.DateTimeFormat(n,ld({},r));return function(o){return i.format(o)}}),relativetime:Ig(function(n,r){var i=new Intl.RelativeTimeFormat(n,ld({},r));return function(o){return i.format(o,r.range||"day")}}),list:Ig(function(n,r){var i=new Intl.ListFormat(n,ld({},r));return function(o){return i.format(o)}})},this.init(t)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Ig(r)}},{key:"format",value:function(n,r,i,o){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,d){var h=Iwe(d),m=h.formatName,v=h.formatOptions;if(a.formats[m]){var b=u;try{var S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},k=S.locale||S.lng||o.locale||o.lng||i;b=a.formats[m](u,k,ld(ld(ld({},v),o),S))}catch(E){a.logger.warn(E)}return b}else a.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aR(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jwe(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Bwe=function(e){jx(n,e);var t=Dwe(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hu(this,n),a=t.call(this),Bx&&Qd.call($d(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=ql.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return pu(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},d={},h={},m={};return i.forEach(function(v){var b=!0;o.forEach(function(S){var k="".concat(v,"|").concat(S);!a.reload&&l.store.hasResourceBundle(v,S)?l.state[k]=2:l.state[k]<0||(l.state[k]===1?d[k]===void 0&&(d[k]=!0):(l.state[k]=1,b=!1,d[k]===void 0&&(d[k]=!0),u[k]===void 0&&(u[k]=!0),m[S]===void 0&&(m[S]=!0)))}),b||(h[v]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var d={};this.queue.forEach(function(h){vwe(h.loaded,[l],u),jwe(h,i),o&&h.errors.push(o),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(function(m){d[m]||(d[m]={});var v=h.loaded[m];v.length&&v.forEach(function(b){d[m][b]===void 0&&(d[m][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(function(h){return!h.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!i.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:d});return}this.readingCalls++;var h=function(S,k){if(s.readingCalls--,s.waitingReads.length>0){var E=s.waitingReads.shift();s.read(E.lng,E.ns,E.fcName,E.tried,E.wait,E.callback)}if(S&&k&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(d){a.loadOne(d)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(d,h){d&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),d),!d&&h&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),h),o.loaded(i,d,h)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var h=aR(aR({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var v;m.length===5?v=m(i,o,a,s,h):v=m(i,o,a,s),v&&typeof v.then=="function"?v.then(function(b){return d(null,b)}).catch(d):d(null,v)}catch(b){d(b)}else m(i,o,a,s,d,h)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(Qd);function sR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Xs(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Xs(t[2])==="object"||Xs(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function lR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(){}function zwe(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var X5=function(e){jx(n,e);var t=$we(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(hu(this,n),r=t.call(this),Bx&&Qd.call($d(r)),r.options=lR(i),r.services={},r.logger=ql,r.modules={external:[]},zwe($d(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),jy(r,$d(r));setTimeout(function(){r.init(i,o)},0)}return r}return pu(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=sR();this.options=Ml(Ml(Ml({},s),this.options),lR(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ml(Ml({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?ql.init(l(this.modules.logger),this.options):ql.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Rwe);var d=new tR(this.options);this.store=new _we(this.options.resources,this.options);var h=this.services;h.logger=ql,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Owe(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Mwe(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new Bwe(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new eR(this.services,this.options),this.translator.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.external.forEach(function(E){E.init&&E.init(i)})}if(this.format=this.options.interpolation.format,a||(a=Pb),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments),i}});var S=iv(),k=function(){var _=function(A,I){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),S.resolve(I),a(A,I)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return _(null,i.t.bind(i));i.changeLanguage(i.options.lng,_)};return this.options.resources||!this.options.initImmediate?k():setTimeout(k,0),S}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],d=function(v){if(v){var b=o.services.languageUtils.toResolveHierarchy(v);b.forEach(function(S){u.indexOf(S)<0&&u.push(S)})}};if(l)d(l);else{var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.forEach(function(m){return d(m)})}this.options.preload&&this.options.preload.forEach(function(m){return d(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=iv();return i||(i=this.languages),o||(o=this.options.ns),a||(a=Pb),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&EU.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=iv();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},d=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var v=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(b){u(b,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(d,h){var m;if(Xs(h)!=="object"){for(var v=arguments.length,b=new Array(v>2?v-2:0),S=2;S1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var d=function(v,b){var S=o.services.backendConnector.state["".concat(v,"|").concat(b)];return S===-1||S===2};if(a.precheck){var h=a.precheck(this,d);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(s,i)&&(!l||d(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=iv();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=iv();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tR(sR());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=Ml(Ml(Ml({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(d){l[d]=i[d]}),l.services=Ml({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new eR(l.services,l.options),l.translator.on("*",function(d){for(var h=arguments.length,m=new Array(h>1?h-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new X5(e,t)});var zt=X5.createInstance();zt.createInstance=X5.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;function Hwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J2(e){return J2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J2(e)}function Vwe(e,t){if(J2(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(J2(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wwe(e){var t=Vwe(e,"string");return J2(t)==="symbol"?t:String(t)}function cR(e,t){for(var n=0;n0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!dR.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!dR.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},fR={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Kwe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(n=o[a].substring(s+1))}}}return n}},ov=null,hR=function(){if(ov!==null)return ov;try{ov=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ov=!1}return ov},Qwe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&hR()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&hR()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},av=null,pR=function(){if(av!==null)return av;try{av=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{av=!1}return av},Jwe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&pR()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&pR()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},e6e={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},t6e={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},n6e={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},r6e={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function i6e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var TU=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hwe(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Uwe(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Ywe(r,this.options||{},i6e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Xwe),this.addDetector(Zwe),this.addDetector(Qwe),this.addDetector(Jwe),this.addDetector(e6e),this.addDetector(t6e),this.addDetector(n6e),this.addDetector(r6e)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();TU.type="languageDetector";function h8(e){return h8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h8(e)}var LU=[],o6e=LU.forEach,a6e=LU.slice;function p8(e){return o6e.call(a6e.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function AU(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":h8(XMLHttpRequest))==="object"}function s6e(e){return!!e&&typeof e.then=="function"}function l6e(e){return s6e(e)?e:Promise.resolve(e)}function u6e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ey={},c6e={get exports(){return ey},set exports(e){ey=e}},o2={},d6e={get exports(){return o2},set exports(e){o2=e}},gR;function f6e(){return gR||(gR=1,function(e,t){var n=typeof self<"u"?self:Co,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l($){return $&&DataView.prototype.isPrototypeOf($)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function($){return $&&u.indexOf(Object.prototype.toString.call($))>-1};function h($){if(typeof $!="string"&&($=String($)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test($))throw new TypeError("Invalid character in header field name");return $.toLowerCase()}function m($){return typeof $!="string"&&($=String($)),$}function v($){var U={next:function(){var X=$.shift();return{done:X===void 0,value:X}}};return s.iterable&&(U[Symbol.iterator]=function(){return U}),U}function b($){this.map={},$ instanceof b?$.forEach(function(U,X){this.append(X,U)},this):Array.isArray($)?$.forEach(function(U){this.append(U[0],U[1])},this):$&&Object.getOwnPropertyNames($).forEach(function(U){this.append(U,$[U])},this)}b.prototype.append=function($,U){$=h($),U=m(U);var X=this.map[$];this.map[$]=X?X+", "+U:U},b.prototype.delete=function($){delete this.map[h($)]},b.prototype.get=function($){return $=h($),this.has($)?this.map[$]:null},b.prototype.has=function($){return this.map.hasOwnProperty(h($))},b.prototype.set=function($,U){this.map[h($)]=m(U)},b.prototype.forEach=function($,U){for(var X in this.map)this.map.hasOwnProperty(X)&&$.call(U,this.map[X],X,this)},b.prototype.keys=function(){var $=[];return this.forEach(function(U,X){$.push(X)}),v($)},b.prototype.values=function(){var $=[];return this.forEach(function(U){$.push(U)}),v($)},b.prototype.entries=function(){var $=[];return this.forEach(function(U,X){$.push([X,U])}),v($)},s.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S($){if($.bodyUsed)return Promise.reject(new TypeError("Already read"));$.bodyUsed=!0}function k($){return new Promise(function(U,X){$.onload=function(){U($.result)},$.onerror=function(){X($.error)}})}function E($){var U=new FileReader,X=k(U);return U.readAsArrayBuffer($),X}function _($){var U=new FileReader,X=k(U);return U.readAsText($),X}function T($){for(var U=new Uint8Array($),X=new Array(U.length),Z=0;Z-1?U:$}function j($,U){U=U||{};var X=U.body;if($ instanceof j){if($.bodyUsed)throw new TypeError("Already read");this.url=$.url,this.credentials=$.credentials,U.headers||(this.headers=new b($.headers)),this.method=$.method,this.mode=$.mode,this.signal=$.signal,!X&&$._bodyInit!=null&&(X=$._bodyInit,$.bodyUsed=!0)}else this.url=String($);if(this.credentials=U.credentials||this.credentials||"same-origin",(U.headers||!this.headers)&&(this.headers=new b(U.headers)),this.method=D(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&X)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(X)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function z($){var U=new FormData;return $.trim().split("&").forEach(function(X){if(X){var Z=X.split("="),W=Z.shift().replace(/\+/g," "),Q=Z.join("=").replace(/\+/g," ");U.append(decodeURIComponent(W),decodeURIComponent(Q))}}),U}function V($){var U=new b,X=$.replace(/\r?\n[\t ]+/g," ");return X.split(/\r?\n/).forEach(function(Z){var W=Z.split(":"),Q=W.shift().trim();if(Q){var ie=W.join(":").trim();U.append(Q,ie)}}),U}I.call(j.prototype);function K($,U){U||(U={}),this.type="default",this.status=U.status===void 0?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new b(U.headers),this.url=U.url||"",this._initBody($)}I.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},K.error=function(){var $=new K(null,{status:0,statusText:""});return $.type="error",$};var te=[301,302,303,307,308];K.redirect=function($,U){if(te.indexOf(U)===-1)throw new RangeError("Invalid status code");return new K(null,{status:U,headers:{location:$}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,X){this.message=U,this.name=X;var Z=Error(U);this.stack=Z.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function q($,U){return new Promise(function(X,Z){var W=new j($,U);if(W.signal&&W.signal.aborted)return Z(new a.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function ie(){Q.abort()}Q.onload=function(){var fe={status:Q.status,statusText:Q.statusText,headers:V(Q.getAllResponseHeaders()||"")};fe.url="responseURL"in Q?Q.responseURL:fe.headers.get("X-Request-URL");var Se="response"in Q?Q.response:Q.responseText;X(new K(Se,fe))},Q.onerror=function(){Z(new TypeError("Network request failed"))},Q.ontimeout=function(){Z(new TypeError("Network request failed"))},Q.onabort=function(){Z(new a.DOMException("Aborted","AbortError"))},Q.open(W.method,W.url,!0),W.credentials==="include"?Q.withCredentials=!0:W.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&s.blob&&(Q.responseType="blob"),W.headers.forEach(function(fe,Se){Q.setRequestHeader(Se,fe)}),W.signal&&(W.signal.addEventListener("abort",ie),Q.onreadystatechange=function(){Q.readyState===4&&W.signal.removeEventListener("abort",ie)}),Q.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=b,o.Request=j,o.Response=K),a.Headers=b,a.Request=j,a.Response=K,a.fetch=q,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(d6e,o2)),o2}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Co<"u"&&Co.fetch?n=Co.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof u6e<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||f6e();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(c6e,ey);const OU=ey,mR=rj({__proto__:null,default:OU},[ey]);function Z5(e){return Z5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z5(e)}var Yu;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Yu=global.fetch:typeof window<"u"&&window.fetch?Yu=window.fetch:Yu=fetch);var ty;AU()&&(typeof global<"u"&&global.XMLHttpRequest?ty=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ty=window.XMLHttpRequest));var Q5;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Q5=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Q5=window.ActiveXObject));!Yu&&mR&&!ty&&!Q5&&(Yu=OU||mR);typeof Yu!="function"&&(Yu=void 0);var g8=function(t,n){if(n&&Z5(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},vR=function(t,n,r){Yu(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},yR=!1,h6e=function(t,n,r,i){t.queryStringParams&&(n=g8(n,t.queryStringParams));var o=p8({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=p8({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},yR?{}:a);try{vR(n,s,i)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return i(l);try{Object.keys(a).forEach(function(u){delete s[u]}),vR(n,s,i),yR=!0}catch(u){i(u)}}},p6e=function(t,n,r,i){r&&Z5(r)==="object"&&(r=g8("",r).slice(1)),t.queryStringParams&&(n=g8(n,t.queryStringParams));try{var o;ty?o=new ty:o=new Q5("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(l){console&&console.log(l)}},g6e=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Yu&&n.indexOf("file:")!==0)return h6e(t,n,r,i);if(AU()||typeof ActiveXObject=="function")return p6e(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ny(e){return ny=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ny(e)}function m6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};m6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return v6e(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=p8(i,this.options||{},S6e()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,i)),l=l6e(l),l.then(function(u){if(!u)return a(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});s.loadUrl(d,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,d;try{typeof l.data=="string"?u=a.options.parse(l.data,i,o):u=l.data}catch{d="failed parsing "+n+" to json"}if(d)return r(d,!1);r(null,u)})}},{key:"create",value:function(n,r,i,o,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,i,o),u=0,d=[],h=[];n.forEach(function(m){var v=s.options.addPath;typeof s.options.addPath=="function"&&(v=s.options.addPath(m,r));var b=s.services.interpolator.interpolate(v,{lng:m,ns:r});s.options.request(s.options,b,l,function(S,k){u+=1,d.push(S),h.push(k),u===n.length&&a&&a(d,h)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,s=i.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(h){var m=o.toResolveHierarchy(h);m.forEach(function(v){l.indexOf(v)<0&&l.push(v)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(h){i.read(d,h,"read",null,null,function(m,v){m&&a.warn("loading namespace ".concat(h," for language ").concat(d," failed"),m),!m&&v&&a.log("loaded namespace ".concat(h," for language ").concat(d),v),i.loaded("".concat(d,"|").concat(h),m,v)})})})}}}]),e}();IU.type="backend";function ry(e){return ry=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ry(e)}function x6e(e,t){if(ry(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ry(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RU(e){var t=x6e(e,"string");return ry(t)==="symbol"?t:String(t)}function DU(e,t,n){return t=RU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w6e(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var d=t.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}function _6e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return m8("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,e))return!1}}):C6e(e,t,n)}var k6e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E6e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},P6e=function(t){return E6e[t]},T6e=function(t){return t.replace(k6e,P6e)};function wR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CR(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};v8=CR(CR({},v8),e)}function A6e(){return v8}var NU;function O6e(e){NU=e}function M6e(){return NU}function I6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(N6e)||{},i=r.i18n,o=r.defaultNS,a=n||i||M6e();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new j6e),!a){m8("You will need to pass in an i18next instance by using initReactI18next");var s=function(z){return Array.isArray(z)?z[z.length-1]:z},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&m8("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=wC(wC(wC({},A6e()),a.options.react),t),d=u.useSuspense,h=u.keyPrefix,m=e||o||a.options&&a.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(m);var v=(a.isInitialized||a.initializedStoreOnce)&&m.every(function(j){return _6e(j,a,u)});function b(){return a.getFixedT(null,u.nsMode==="fallback"?m:m[0],h)}var S=w.useState(b),k=H6e(S,2),E=k[0],_=k[1],T=m.join(),A=V6e(T),I=w.useRef(!0);w.useEffect(function(){var j=u.bindI18n,z=u.bindI18nStore;I.current=!0,!v&&!d&&xR(a,m,function(){I.current&&_(b)}),v&&A&&A!==T&&I.current&&_(b);function V(){I.current&&_(b)}return j&&a&&a.on(j,V),z&&a&&a.store.on(z,V),function(){I.current=!1,j&&a&&j.split(" ").forEach(function(K){return a.off(K,V)}),z&&a&&z.split(" ").forEach(function(K){return a.store.off(K,V)})}},[a,T]);var R=w.useRef(!0);w.useEffect(function(){I.current&&!R.current&&_(b),R.current=!1},[a,h]);var D=[E,a,v];if(D.t=E,D.i18n=a,D.ready=v,v||!v&&!d)return D;throw new Promise(function(j){xR(a,m,function(){j()})})}zt.use(IU).use(TU).use(D6e).init({fallbackLng:"en",debug:!1,ns:["common","gallery","hotkeys","parameters","settings","modelmanager","toast","tooltip","unifiedcanvas"],backend:{loadPath:"/locales/{{ns}}/{{lng}}.json"},interpolation:{escapeValue:!1},returnNull:!1});const W6e={isConnected:!1,isProcessing:!1,log:[],shouldShowLogViewer:!1,shouldDisplayInProgressType:"latents",shouldDisplayGuides:!0,isGFPGANAvailable:!0,isESRGANAvailable:!0,socketId:"",shouldConfirmOnDelete:!0,openAccordions:[],currentStep:0,totalSteps:0,currentIteration:0,totalIterations:0,currentStatus:zt.isInitialized?zt.t("common:statusDisconnected"):"Disconnected",currentStatusHasSteps:!1,model:"",model_id:"",model_hash:"",app_id:"",app_version:"",model_list:{},infill_methods:[],hasError:!1,wasErrorSeen:!0,isCancelable:!0,saveIntermediatesInterval:5,enableImageDebugging:!1,toastQueue:[],searchFolder:null,foundModels:null,openModel:null},jU=cp({name:"system",initialState:W6e,reducers:{setShouldDisplayInProgressType:(e,t)=>{e.shouldDisplayInProgressType=t.payload},setIsProcessing:(e,t)=>{e.isProcessing=t.payload},setCurrentStatus:(e,t)=>{e.currentStatus=t.payload},setSystemStatus:(e,t)=>({...e,...t.payload}),errorOccurred:e=>{e.hasError=!0,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusError"),e.wasErrorSeen=!1},errorSeen:e=>{e.hasError=!1,e.wasErrorSeen=!0,e.currentStatus=e.isConnected?zt.t("common:statusConnected"):zt.t("common:statusDisconnected")},addLogEntry:(e,t)=>{const{timestamp:n,message:r,level:i}=t.payload,a={timestamp:n,message:r,level:i||"info"};e.log.push(a)},setShouldShowLogViewer:(e,t)=>{e.shouldShowLogViewer=t.payload},setIsConnected:(e,t)=>{e.isConnected=t.payload,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.hasError=!1},setSocketId:(e,t)=>{e.socketId=t.payload},setShouldConfirmOnDelete:(e,t)=>{e.shouldConfirmOnDelete=t.payload},setOpenAccordions:(e,t)=>{e.openAccordions=t.payload},setSystemConfig:(e,t)=>({...e,...t.payload}),setShouldDisplayGuides:(e,t)=>{e.shouldDisplayGuides=t.payload},processingCanceled:e=>{e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusProcessingCanceled")},generationRequested:e=>{e.isProcessing=!0,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusPreparing")},setModelList:(e,t)=>{e.model_list=t.payload},setIsCancelable:(e,t)=>{e.isCancelable=t.payload},modelChangeRequested:e=>{e.currentStatus=zt.t("common:statusLoadingModel"),e.isCancelable=!1,e.isProcessing=!0,e.currentStatusHasSteps=!1},setSaveIntermediatesInterval:(e,t)=>{e.saveIntermediatesInterval=t.payload},setEnableImageDebugging:(e,t)=>{e.enableImageDebugging=t.payload},addToast:(e,t)=>{e.toastQueue.push(t.payload)},clearToastQueue:e=>{e.toastQueue=[]},setProcessingIndeterminateTask:(e,t)=>{e.isProcessing=!0,e.currentStatus=t.payload,e.currentStatusHasSteps=!1},setSearchFolder:(e,t)=>{e.searchFolder=t.payload},setFoundModels:(e,t)=>{e.foundModels=t.payload},setOpenModel:(e,t)=>{e.openModel=t.payload}}}),{setShouldDisplayInProgressType:U6e,setIsProcessing:Hs,addLogEntry:to,setShouldShowLogViewer:CC,setIsConnected:PR,setSocketId:pze,setShouldConfirmOnDelete:BU,setOpenAccordions:G6e,setSystemStatus:q6e,setCurrentStatus:R4,setSystemConfig:Y6e,setShouldDisplayGuides:K6e,processingCanceled:X6e,errorOccurred:TR,errorSeen:$U,setModelList:Tb,setIsCancelable:lm,modelChangeRequested:Z6e,setSaveIntermediatesInterval:Q6e,setEnableImageDebugging:J6e,generationRequested:eCe,addToast:Th,clearToastQueue:tCe,setProcessingIndeterminateTask:nCe,setSearchFolder:FU,setFoundModels:zU,setOpenModel:LR}=jU.actions,rCe=jU.reducer,cP=["txt2img","img2img","unifiedCanvas","nodes","postprocess","training"],iCe={activeTab:0,currentTheme:"dark",parametersPanelScrollPosition:0,shouldHoldParametersPanelOpen:!1,shouldPinParametersPanel:!0,shouldShowParametersPanel:!0,shouldShowDualDisplay:!0,shouldShowImageDetails:!1,shouldUseCanvasBetaLayout:!1,shouldShowExistingModelsInSearch:!1,addNewModelUIOption:null},oCe=iCe,HU=cp({name:"ui",initialState:oCe,reducers:{setActiveTab:(e,t)=>{typeof t.payload=="number"?e.activeTab=t.payload:e.activeTab=cP.indexOf(t.payload)},setCurrentTheme:(e,t)=>{e.currentTheme=t.payload},setParametersPanelScrollPosition:(e,t)=>{e.parametersPanelScrollPosition=t.payload},setShouldPinParametersPanel:(e,t)=>{e.shouldPinParametersPanel=t.payload},setShouldShowParametersPanel:(e,t)=>{e.shouldShowParametersPanel=t.payload},setShouldHoldParametersPanelOpen:(e,t)=>{e.shouldHoldParametersPanelOpen=t.payload},setShouldShowDualDisplay:(e,t)=>{e.shouldShowDualDisplay=t.payload},setShouldShowImageDetails:(e,t)=>{e.shouldShowImageDetails=t.payload},setShouldUseCanvasBetaLayout:(e,t)=>{e.shouldUseCanvasBetaLayout=t.payload},setShouldShowExistingModelsInSearch:(e,t)=>{e.shouldShowExistingModelsInSearch=t.payload},setAddNewModelUIOption:(e,t)=>{e.addNewModelUIOption=t.payload}}}),{setActiveTab:qo,setCurrentTheme:aCe,setParametersPanelScrollPosition:sCe,setShouldHoldParametersPanelOpen:lCe,setShouldPinParametersPanel:uCe,setShouldShowParametersPanel:Ku,setShouldShowDualDisplay:cCe,setShouldShowImageDetails:VU,setShouldUseCanvasBetaLayout:dCe,setShouldShowExistingModelsInSearch:fCe,setAddNewModelUIOption:zh}=HU.actions,hCe=HU.reducer,lu=Object.create(null);lu.open="0";lu.close="1";lu.ping="2";lu.pong="3";lu.message="4";lu.upgrade="5";lu.noop="6";const D4=Object.create(null);Object.keys(lu).forEach(e=>{D4[lu[e]]=e});const pCe={type:"error",data:"parser error"},gCe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",mCe=typeof ArrayBuffer=="function",vCe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,WU=({type:e,data:t},n,r)=>gCe&&t instanceof Blob?n?r(t):AR(t,r):mCe&&(t instanceof ArrayBuffer||vCe(t))?n?r(t):AR(new Blob([t]),r):r(lu[e]+(t||"")),AR=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+r)},n.readAsDataURL(e)},OR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r>4,d[i++]=(a&15)<<4|s>>2,d[i++]=(s&3)<<6|l&63;return u},bCe=typeof ArrayBuffer=="function",UU=(e,t)=>{if(typeof e!="string")return{type:"message",data:GU(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:SCe(e.substring(1),t)}:D4[n]?e.length>1?{type:D4[n],data:e.substring(1)}:{type:D4[n]}:pCe},SCe=(e,t)=>{if(bCe){const n=yCe(e);return GU(n,t)}else return{base64:!0,data:e}},GU=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},qU=String.fromCharCode(30),xCe=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{WU(o,!1,s=>{r[a]=s,++i===n&&t(r.join(qU))})})},wCe=(e,t)=>{const n=e.split(qU),r=[];for(let i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function KU(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const _Ce=setTimeout,kCe=clearTimeout;function $x(e,t){t.useNativeTimers?(e.setTimeoutFn=_Ce.bind(Pd),e.clearTimeoutFn=kCe.bind(Pd)):(e.setTimeoutFn=setTimeout.bind(Pd),e.clearTimeoutFn=clearTimeout.bind(Pd))}const ECe=1.33;function PCe(e){return typeof e=="string"?TCe(e):Math.ceil((e.byteLength||e.size)*ECe)}function TCe(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}class LCe extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class XU extends si{constructor(t){super(),this.writable=!1,$x(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new LCe(t,n,r)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=UU(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}}const ZU="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),y8=64,ACe={};let MR=0,Lb=0,IR;function RR(e){let t="";do t=ZU[e%y8]+t,e=Math.floor(e/y8);while(e>0);return t}function QU(){const e=RR(+new Date);return e!==IR?(MR=0,IR=e):e+"."+RR(MR++)}for(;Lb{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};wCe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,xCe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=QU()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new nu(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class nu extends si{constructor(t,n){super(),$x(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=KU(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new tG(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=nu.requestsCount++,nu.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=ICe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete nu.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}nu.requestsCount=0;nu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",DR);else if(typeof addEventListener=="function"){const e="onpagehide"in Pd?"pagehide":"unload";addEventListener(e,DR,!1)}}function DR(){for(let e in nu.requests)nu.requests.hasOwnProperty(e)&&nu.requests[e].abort()}const nG=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ab=Pd.WebSocket||Pd.MozWebSocket,NR=!0,NCe="arraybuffer",jR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class jCe extends XU{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=jR?{}:KU(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=NR&&!jR?n?new Ab(t,n):new Ab(t):new Ab(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||NCe,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const a={};try{NR&&this.ws.send(o)}catch{}i&&nG(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=QU()),this.supportsBinary||(t.b64=1);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!Ab}}const BCe={websocket:jCe,polling:DCe},$Ce=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FCe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function b8(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=$Ce.exec(e||""),o={},a=14;for(;a--;)o[FCe[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=zCe(o,o.path),o.queryKey=HCe(o,o.query),o}function zCe(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function HCe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let rG=class $g extends si{constructor(t,n={}){super(),t&&typeof t=="object"&&(n=t,t=null),t?(t=b8(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=b8(n.host).host),$x(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=OCe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=YU,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new BCe[t](r)}open(){let t;if(this.opts.rememberUpgrade&&$g.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;$g.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;$g.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,d(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function s(){a("transport closed")}function l(){a("socket closed")}function u(h){n&&h.name!==n.name&&o()}const d=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",$g.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){$g.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,iG=Object.prototype.toString,GCe=typeof Blob=="function"||typeof Blob<"u"&&iG.call(Blob)==="[object BlobConstructor]",qCe=typeof File=="function"||typeof File<"u"&&iG.call(File)==="[object FileConstructor]";function dP(e){return WCe&&(e instanceof ArrayBuffer||UCe(e))||GCe&&e instanceof Blob||qCe&&e instanceof File}function N4(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case cn.ACK:case cn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class QCe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=KCe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const JCe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:fP,Encoder:ZCe,get PacketType(){return cn},protocol:XCe},Symbol.toStringTag,{value:"Module"}));function Bs(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const e7e=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class oG extends si{constructor(t,n,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Bs(t,"open",this.onopen.bind(this)),Bs(t,"packet",this.onpacket.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(e7e.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');n.unshift(t);const r={type:cn.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,s=n.pop();this._registerAckCallback(a,s),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){const r=this.flags.timeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:cn.CONNECT,data:t})}):this.packet({type:cn.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case cn.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case cn.EVENT:case cn.BINARY_EVENT:this.onevent(t);break;case cn.ACK:case cn.BINARY_ACK:this.onack(t);break;case cn.DISCONNECT:this.ondisconnect();break;case cn.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t)}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:cn.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:cn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}E0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};E0.prototype.reset=function(){this.attempts=0};E0.prototype.setMin=function(e){this.ms=e};E0.prototype.setMax=function(e){this.max=e};E0.prototype.setJitter=function(e){this.jitter=e};class w8 extends si{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$x(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new E0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||JCe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new rG(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Bs(n,"open",function(){r.onopen(),t&&t()}),o=Bs(n,"error",a=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",a),t?t(a):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Bs(t,"ping",this.onping.bind(this)),Bs(t,"data",this.ondata.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this)),Bs(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){nG(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r||(r=new oG(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const sv={};function j4(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=VCe(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=sv[i]&&o in sv[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new w8(r,t):(sv[i]||(sv[i]=new w8(r,t)),l=sv[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(j4,{Manager:w8,Socket:oG,io:j4,connect:j4});const t7e=["ddim","plms","k_lms","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_dpmpp_2_a","k_euler","k_euler_a","k_heun"],n7e=["ddim","plms","k_lms","dpmpp_2","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_euler","k_euler_a","k_heun"],r7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],i7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],o7e=[{key:"2x",value:2},{key:"4x",value:4}],hP=0,pP=4294967295,a7e=["gfpgan","codeformer"],s7e=[{key:"None",value:"none"},{key:"Fast",value:"latents"},{key:"Accurate",value:"full-res"}];var l7e=Math.PI/180;function u7e(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const $m=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},pt={_global:$m,version:"8.3.14",isBrowser:u7e(),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle(e){return pt.angleDeg?e*l7e:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:typeof window<"u"&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return pt.DD.isDragging},isDragReady(){return!!pt.DD.node},releaseCanvasOnDestroy:!0,document:$m.document,_injectGlobal(e){$m.Konva=e}},Ar=e=>{pt[e.prototype.getClassName()]=e};pt._injectGlobal(pt);class ka{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new ka(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var n=this.m;return{x:n[0]*t.x+n[2]*t.y+n[4],y:n[1]*t.x+n[3]*t.y+n[5]}}translate(t,n){return this.m[4]+=this.m[0]*t+this.m[2]*n,this.m[5]+=this.m[1]*t+this.m[3]*n,this}scale(t,n){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=n,this.m[3]*=n,this}rotate(t){var n=Math.cos(t),r=Math.sin(t),i=this.m[0]*n+this.m[2]*r,o=this.m[1]*n+this.m[3]*r,a=this.m[0]*-r+this.m[2]*n,s=this.m[1]*-r+this.m[3]*n;return this.m[0]=i,this.m[1]=o,this.m[2]=a,this.m[3]=s,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,n){var r=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,o=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=i,this.m[2]=o,this.m[3]=a,this}multiply(t){var n=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],s=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*t,r=-this.m[1]*t,i=-this.m[2]*t,o=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),s=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}getMatrix(){return this.m}decompose(){var t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=this.m[4],a=this.m[5],s=t*i-n*r;let l={x:o,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(t!=0||n!=0){var u=Math.sqrt(t*t+n*n);l.rotation=n>0?Math.acos(t/u):-Math.acos(t/u),l.scaleX=u,l.scaleY=s/u,l.skewX=(t*r+n*i)/s,l.skewY=0}else if(r!=0||i!=0){var d=Math.sqrt(r*r+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-r/d):-Math.acos(r/d)),l.scaleX=s/d,l.scaleY=d,l.skewX=0,l.skewY=(t*r+n*i)/s}return l.rotation=de._getRotation(l.rotation),l}}var c7e="[object Array]",d7e="[object Number]",f7e="[object String]",h7e="[object Boolean]",p7e=Math.PI/180,g7e=180/Math.PI,_C="#",m7e="",v7e="0",y7e="Konva warning: ",BR="Konva error: ",b7e="rgb(",kC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},S7e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Ob=[];const x7e=typeof requestAnimationFrame<"u"&&requestAnimationFrame||function(e){setTimeout(e,60)},de={_isElement(e){return!!(e&&e.nodeType==1)},_isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject(e){return!!e&&e.constructor===Object},_isArray(e){return Object.prototype.toString.call(e)===c7e},_isNumber(e){return Object.prototype.toString.call(e)===d7e&&!isNaN(e)&&isFinite(e)},_isString(e){return Object.prototype.toString.call(e)===f7e},_isBoolean(e){return Object.prototype.toString.call(e)===h7e},isObject(e){return e instanceof Object},isValidSelector(e){if(typeof e!="string")return!1;var t=e[0];return t==="#"||t==="."||t===t.toUpperCase()},_sign(e){return e===0||e>0?1:-1},requestAnimFrame(e){Ob.push(e),Ob.length===1&&x7e(function(){const t=Ob;Ob=[],t.forEach(function(n){n()})})},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch{}return e},createImageElement(){return document.createElement("img")},_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=de.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex(e,t,n){return((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},_hexToRgb(e){e=e.replace(_C,m7e);var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}},getRandomColor(){for(var e=(Math.random()*16777215<<0).toString(16);e.length<6;)e=v7e+e;return _C+e},getRGB(e){var t;return e in kC?(t=kC[e],{r:t[0],g:t[1],b:t[2]}):e[0]===_C?this._hexToRgb(e.substring(1)):e.substr(0,4)===b7e?(t=S7e.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA(e){return e=e||"black",de._namedColorToRBA(e)||de._hex3ColorToRGBA(e)||de._hex6ColorToRGBA(e)||de._rgbColorToRGBA(e)||de._rgbaColorToRGBA(e)||de._hslColorToRGBA(e)},_namedColorToRBA(e){var t=kC[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(e.indexOf("rgb(")===0){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(e.indexOf("rgba(")===0){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map((n,r)=>n.slice(-1)==="%"?r===3?parseInt(n)/100:parseInt(n)/100*255:Number(n));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if(e[0]==="#"&&e.length===7)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if(e[0]==="#"&&e.length===4)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100;let a,s,l;if(i===0)return l=o*255,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};o<.5?a=o*(1+i):a=o+i-o*i;const u=2*o-a,d=[0,0,0];for(let h=0;h<3;h++)s=r+1/3*-(h-1),s<0&&s++,s>1&&s--,6*s<1?l=u+(a-u)*6*s:2*s<1?l=a:3*s<2?l=u+(a-u)*(2/3-s)*6:l=u,d[h]=l*255;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height1?(a=n,s=r,l=(n-i)*(n-i)+(r-o)*(r-o)):(a=e+d*(n-e),s=t+d*(r-t),l=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,l]},_getProjectionToLine(e,t,n){var r=de.cloneObject(e),i=Number.MAX_VALUE;return t.forEach(function(o,a){if(!(!n&&a===t.length-1)){var s=t[(a+1)%t.length],l=de._getProjectionToSegment(o.x,o.y,s.x,s.y,e.x,e.y),u=l[0],d=l[1],h=l[2];ht.length){var a=t;t=e,e=a}for(r=0;r{t.width=0,t.height=0})}};function df(e){return de._isString(e)?'"'+e+'"':Object.prototype.toString.call(e)==="[object Number]"||de._isBoolean(e)?e:Object.prototype.toString.call(e)}function aG(e){return e>255?255:e<0?0:Math.round(e)}function qe(){if(pt.isUnminified)return function(e,t){return de._isNumber(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function sG(e){if(pt.isUnminified)return function(t,n){let r=de._isNumber(t),i=de._isArray(t)&&t.length==e;return!r&&!i&&de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}}function gP(){if(pt.isUnminified)return function(e,t){var n=de._isNumber(e),r=e==="auto";return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function P0(){if(pt.isUnminified)return function(e,t){return de._isString(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function lG(){if(pt.isUnminified)return function(e,t){const n=de._isString(e),r=Object.prototype.toString.call(e)==="[object CanvasGradient]"||e&&e.addColorStop;return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function w7e(){if(pt.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(de._isArray(e)?e.forEach(function(r){de._isNumber(r)||de.warn('"'+t+'" attribute has non numeric element '+r+". Make sure that all elements are numbers.")}):de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function nl(){if(pt.isUnminified)return function(e,t){var n=e===!0||e===!1;return n||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function C7e(e){if(pt.isUnminified)return function(t,n){return t==null||de.isObject(t)||de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}var lv="get",uv="set";const ee={addGetterSetter(e,t,n,r,i){ee.addGetter(e,t,n),ee.addSetter(e,t,r,i),ee.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=lv+de._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var i=this.attrs[t];return i===void 0?n:i}},addSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]||ee.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]=function(o){return n&&o!==void 0&&o!==null&&(o=n.call(this,o,t)),this._setAttr(t,o),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o=n.length,a=de._capitalize,s=lv+a(t),l=uv+a(t),u,d;e.prototype[s]=function(){var m={};for(u=0;u{this._setAttr(t+a(S),void 0)}),this._fireChangeEvent(t,v,m),i&&i.call(this),this},ee.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=de._capitalize(t),r=uv+n,i=lv+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[i]()}},addDeprecatedGetterSetter(e,t,n,r){de.error("Adding deprecated "+t);var i=lv+de._capitalize(t),o=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){de.error(o);var a=this.attrs[t];return a===void 0?n:a},ee.addSetter(e,t,r,function(){de.error(o)}),ee.addOverloadedGetterSetter(e,t)},backCompat(e,t){de.each(t,function(n,r){var i=e.prototype[r],o=lv+de._capitalize(n),a=uv+de._capitalize(n);function s(){i.apply(this,arguments),de.error('"'+n+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}e.prototype[n]=s,e.prototype[o]=s,e.prototype[a]=s})},afterSetFilter(){this._filterUpToDate=!1}};function _7e(e){var t=[],n=e.length,r=de,i,o;for(i=0;itypeof d=="number"?Math.floor(d):d)),o+=k7e+u.join($R)+E7e)):(o+=s.property,t||(o+=O7e+s.val)),o+=L7e;return o}clearTrace(){this.traceArr=[]}_trace(t){var n=this.traceArr,r;n.push(t),r=n.length,r>=I7e&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var n=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}_applyLineCap(t){var n=t.getLineCap();n&&this.setAttr("lineCap",n)}_applyOpacity(t){var n=t.getAbsoluteOpacity();n!==1&&this.setAttr("globalAlpha",n)}_applyLineJoin(t){var n=t.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}setAttr(t,n){this._context[t]=n}arc(t,n,r,i,o,a){this._context.arc(t,n,r,i,o,a)}arcTo(t,n,r,i,o){this._context.arcTo(t,n,r,i,o)}beginPath(){this._context.beginPath()}bezierCurveTo(t,n,r,i,o,a){this._context.bezierCurveTo(t,n,r,i,o,a)}clearRect(t,n,r,i){this._context.clearRect(t,n,r,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,n){var r=arguments;if(r.length===2)return this._context.createImageData(t,n);if(r.length===1)return this._context.createImageData(t)}createLinearGradient(t,n,r,i){return this._context.createLinearGradient(t,n,r,i)}createPattern(t,n){return this._context.createPattern(t,n)}createRadialGradient(t,n,r,i,o,a){return this._context.createRadialGradient(t,n,r,i,o,a)}drawImage(t,n,r,i,o,a,s,l,u){var d=arguments,h=this._context;d.length===3?h.drawImage(t,n,r):d.length===5?h.drawImage(t,n,r,i,o):d.length===9&&h.drawImage(t,n,r,i,o,a,s,l,u)}ellipse(t,n,r,i,o,a,s,l){this._context.ellipse(t,n,r,i,o,a,s,l)}isPointInPath(t,n){return this._context.isPointInPath(t,n)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,n,r,i){this._context.fillRect(t,n,r,i)}strokeRect(t,n,r,i){this._context.strokeRect(t,n,r,i)}fillText(t,n,r,i){i?this._context.fillText(t,n,r,i):this._context.fillText(t,n,r)}measureText(t){return this._context.measureText(t)}getImageData(t,n,r,i){return this._context.getImageData(t,n,r,i)}lineTo(t,n){this._context.lineTo(t,n)}moveTo(t,n){this._context.moveTo(t,n)}rect(t,n,r,i){this._context.rect(t,n,r,i)}putImageData(t,n,r){this._context.putImageData(t,n,r)}quadraticCurveTo(t,n,r,i){this._context.quadraticCurveTo(t,n,r,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,n){this._context.scale(t,n)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,n,r,i,o,a){this._context.setTransform(t,n,r,i,o,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,n,r,i){this._context.strokeText(t,n,r,i)}transform(t,n,r,i,o,a){this._context.transform(t,n,r,i,o,a)}translate(t,n){this._context.translate(t,n)}_enableTrace(){var t=this,n=FR.length,r=this.setAttr,i,o,a=function(s){var l=t[s],u;t[s]=function(){return o=_7e(Array.prototype.slice.call(arguments,0)),u=l.apply(t,arguments),t._trace({method:s,args:o}),u}};for(i=0;i{t.dragStatus==="dragging"&&(e=!0)}),e},justDragged:!1,get node(){var e;return vn._dragElements.forEach(t=>{e=t.node}),e},_dragElements:new Map,_drag(e){const t=[];vn._dragElements.forEach((n,r)=>{const{node:i}=n,o=i.getStage();o.setPointersPositions(e),n.pointerId===void 0&&(n.pointerId=de._getFirstPointerId(e));const a=o._changedPointerPositions.find(u=>u.id===n.pointerId);if(a){if(n.dragStatus!=="dragging"){var s=i.dragDistance(),l=Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y));if(l{n.fire("dragmove",{type:"dragmove",target:n,evt:e},!0)})},_endDragBefore(e){const t=[];vn._dragElements.forEach(n=>{const{node:r}=n,i=r.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find(s=>s.id===n.pointerId))return;(n.dragStatus==="dragging"||n.dragStatus==="stopped")&&(vn.justDragged=!0,pt._mouseListenClick=!1,pt._touchListenClick=!1,pt._pointerListenClick=!1,n.dragStatus="stopped");const a=n.node.getLayer()||n.node instanceof pt.Stage&&n.node;a&&t.indexOf(a)===-1&&t.push(a)}),t.forEach(n=>{n.draw()})},_endDragAfter(e){vn._dragElements.forEach((t,n)=>{t.dragStatus==="stopped"&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),t.dragStatus!=="dragging"&&vn._dragElements.delete(n)})}};pt.isBrowser&&(window.addEventListener("mouseup",vn._endDragBefore,!0),window.addEventListener("touchend",vn._endDragBefore,!0),window.addEventListener("mousemove",vn._drag),window.addEventListener("touchmove",vn._drag),window.addEventListener("mouseup",vn._endDragAfter,!1),window.addEventListener("touchend",vn._endDragAfter,!1));var B4="absoluteOpacity",Ib="allEventListeners",Fu="absoluteTransform",zR="absoluteScale",ah="canvas",j7e="Change",B7e="children",$7e="konva",C8="listening",HR="mouseenter",VR="mouseleave",WR="set",UR="Shape",$4=" ",GR="stage",fd="transform",F7e="Stage",_8="visible",z7e=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join($4);let H7e=1,Ze=class k8{constructor(t){this._id=H7e++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){(t===fd||t===Fu)&&this._cache.get(t)?this._cache.get(t).dirty=!0:t?this._cache.delete(t):this._cache.clear()}_getCache(t,n){var r=this._cache.get(t),i=t===fd||t===Fu,o=r===void 0||i&&r.dirty===!0;return o&&(r=n.call(this),this._cache.set(t,r)),r}_calculate(t,n,r){if(!this._attachedDepsListeners.get(t)){const i=n.map(o=>o+"Change.konva").join($4);this.on(i,()=>{this._clearCache(t)}),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)}_getCanvasCache(){return this._cache.get(ah)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===Fu&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(ah)){const{scene:t,filter:n,hit:r}=this._cache.get(ah);de.releaseCanvas(t,n,r),this._cache.delete(ah)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var n=t||{},r={};(n.x===void 0||n.y===void 0||n.width===void 0||n.height===void 0)&&(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(n.width||r.width),o=Math.ceil(n.height||r.height),a=n.pixelRatio,s=n.x===void 0?Math.floor(r.x):n.x,l=n.y===void 0?Math.floor(r.y):n.y,u=n.offset||0,d=n.drawBorder||!1,h=n.hitCanvasPixelRatio||1;if(!i||!o){de.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");return}i+=u*2+1,o+=u*2+1,s-=u,l-=u;var m=new Fm({pixelRatio:a,width:i,height:o}),v=new Fm({pixelRatio:a,width:0,height:0}),b=new mP({pixelRatio:h,width:i,height:o}),S=m.getContext(),k=b.getContext();return b.isCache=!0,m.isCache=!0,this._cache.delete(ah),this._filterUpToDate=!1,n.imageSmoothingEnabled===!1&&(m.getContext()._context.imageSmoothingEnabled=!1,v.getContext()._context.imageSmoothingEnabled=!1),S.save(),k.save(),S.translate(-s,-l),k.translate(-s,-l),this._isUnderCache=!0,this._clearSelfAndDescendantCache(B4),this._clearSelfAndDescendantCache(zR),this.drawScene(m,this),this.drawHit(b,this),this._isUnderCache=!1,S.restore(),k.restore(),d&&(S.save(),S.beginPath(),S.rect(0,0,i,o),S.closePath(),S.setAttr("strokeStyle","red"),S.setAttr("lineWidth",5),S.stroke(),S.restore()),this._cache.set(ah,{scene:m,filter:v,hit:b,x:s,y:l}),this._requestDraw(),this}isCached(){return this._cache.has(ah)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,n){var r=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],i,o,a,s,l=this.getAbsoluteTransform(n);return r.forEach(function(u){var d=l.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),{x:i,y:o,width:a-i,height:s-o}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const n=this._getCanvasCache();t.translate(n.x,n.y);var r=this._getCachedSceneCanvas(),i=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/i,r.height/i),t.restore()}_drawCachedHitCanvas(t){var n=this._getCanvasCache(),r=n.hit;t.save(),t.translate(n.x,n.y),t.drawImage(r._canvas,0,0,r.width/r.pixelRatio,r.height/r.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t=this.filters(),n=this._getCanvasCache(),r=n.scene,i=n.filter,o=i.getContext(),a,s,l,u;if(t){if(!this._filterUpToDate){var d=r.pixelRatio;i.setSize(r.width/r.pixelRatio,r.height/r.pixelRatio);try{for(a=t.length,o.clear(),o.drawImage(r._canvas,0,0,r.getWidth()/d,r.getHeight()/d),s=o.getImageData(0,0,i.getWidth(),i.getHeight()),l=0;l{var n,r;if(!t)return this;for(n in t)n!==B7e&&(r=WR+de._capitalize(n),de._isFunction(this[r])?this[r](t[n]):this._setAttr(n,t[n]))}),this}isListening(){return this._getCache(C8,this._isListening)}_isListening(t){if(!this.listening())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isListening(t):!0}isVisible(){return this._getCache(_8,this._isVisible)}_isVisible(t){if(!this.visible())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isVisible(t):!0}shouldDrawHit(t,n=!1){if(t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),i=!1;vn._dragElements.forEach(a=>{a.dragStatus==="dragging"&&(a.node.nodeType==="Stage"||a.node.getLayer()===r)&&(i=!0)});var o=!n&&!pt.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t=this.getDepth(),n=this,r=0,i,o,a,s;function l(u){for(i=[],o=u.length,a=0;a0&&i[0].getDepth()<=t&&l(i)}return n.nodeType!==F7e&&l(n.getStage().getChildren()),r}getDepth(){for(var t=0,n=this.parent;n;)t++,n=n.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(fd),this._clearSelfAndDescendantCache(Fu)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges(()=>{this.x(t.x),this.y(t.y)}),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(t){let n=!1,r=this.parent;for(;r;){if(r.isCached()){n=!0;break}r=r.parent}n&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new ka,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()}setAbsolutePosition(t){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(fd);var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this._clearCache(fd),this._clearSelfAndDescendantCache(Fu),this}_setTransform(t){var n;for(n in t)this.attrs[n]=t[n]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var n=t.x,r=t.y,i=this.x(),o=this.y();return n!==void 0&&(i+=n),r!==void 0&&(o+=r),this.setPosition({x:i,y:o}),this}_eachAncestorReverse(t,n){var r=[],i=this.getParent(),o,a;if(!(n&&n._id===this._id)){for(r.unshift(this);i&&(!n||i._id!==n._id);)r.unshift(i),i=i.parent;for(o=r.length,a=0;a0?(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0):!1}moveToBottom(){if(!this.parent)return de.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0?(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0):!1}setZIndex(t){if(!this.parent)return de.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&de.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(B4,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(t*=n.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t={},n=this.getAttrs(),r,i,o,a,s;t.attrs={};for(r in n)i=n[r],s=de.isObject(i)&&!de._isPlainObject(i)&&!de._isArray(i),!s&&(o=typeof this[r]=="function"&&this[r],delete n[r],a=o?o.call(this):null,n[r]=i,a!==i&&(t.attrs[r]=i));return t.className=this.getClassName(),de._prepareToStringify(t)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,n,r){var i=[];n&&this._isMatch(t)&&i.push(this);for(var o=this.parent;o;){if(o===r)return i;o._isMatch(t)&&i.push(o),o=o.parent}return i}isAncestorOf(t){return!1}findAncestor(t,n,r){return this.findAncestors(t,n,r)[0]}_isMatch(t){if(!t)return!1;if(typeof t=="function")return t(this);var n=t.replace(/ /g,"").split(","),r=n.length,i,o;for(i=0;i{try{const i=t==null?void 0:t.callback;i&&delete t.callback,de._urlToImage(this.toDataURL(t),function(o){n(o),i==null||i(o)})}catch(i){r(i)}})}toBlob(t){return new Promise((n,r)=>{try{const i=t==null?void 0:t.callback;i&&delete t.callback,this.toCanvas(t).toBlob(o=>{n(o),i==null||i(o)})}catch(i){r(i)}})}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return this.attrs.dragDistance!==void 0?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():pt.dragDistance}_off(t,n,r){var i=this.eventListeners[t],o,a,s;for(o=0;o=0;if(r&&!this.isDragging()){var i=!1;vn._dragElements.forEach(o=>{this.isAncestorOf(o.node)&&(i=!0)}),i||this._createDragElement(t)}})}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const n=vn._dragElements.get(this._id),r=n&&n.dragStatus==="dragging",i=n&&n.dragStatus==="ready";r?this.stopDrag():i&&vn._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const n=this.getStage();if(!n)return!1;const r={x:-t.x,y:-t.y,width:n.width()+2*t.x,height:n.height()+2*t.y};return de.haveIntersection(r,this.getClientRect())}static create(t,n){return de._isString(t)&&(t=JSON.parse(t)),this._createNode(t,n)}static _createNode(t,n){var r=k8.prototype.getClassName.call(t),i=t.children,o,a,s;n&&(t.attrs.container=n),pt[r]||(de.warn('Can not find a node with class name "'+r+'". Fallback to "Shape".'),r="Shape");const l=pt[r];if(o=new l(t.attrs),i)for(a=i.length,s=0;s0}removeChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.remove()}),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.destroy()}),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var n=0;n0?n[0]:void 0}_generalFind(t,n){var r=[];return this._descendants(i=>{const o=i._isMatch(t);return o&&r.push(i),!!(o&&n)}),r}_descendants(t){let n=!1;const r=this.getChildren();for(const i of r){if(n=t(i),n)return!0;if(i.hasChildren()&&(n=i._descendants(t),n))return!0}return!1}toObject(){var t=Ze.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach(n=>{t.children.push(n.toObject())}),t}isAncestorOf(t){for(var n=t.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}clone(t){var n=Ze.prototype.clone.call(this,t);return this.getChildren().forEach(function(r){n.add(r.clone())}),n}getAllIntersections(t){var n=[];return this.find("Shape").forEach(function(r){r.isVisible()&&r.intersects(t)&&n.push(r)}),n}_clearSelfAndDescendantCache(t){var n;super._clearSelfAndDescendantCache(t),!this.isCached()&&((n=this.children)===null||n===void 0||n.forEach(function(r){r._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;(t=this.children)===null||t===void 0||t.forEach(function(n,r){n.index=r}),this._requestDraw()}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas(),o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.scene,l=i&&i.isCache;if(!this.isVisible()&&!l)return this;if(s){o.save();var u=this.getAbsoluteTransform(n).getMatrix();o.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",i,n);return this}drawHit(t,n){if(!this.shouldDrawHit(n))return this;var r=this.getLayer(),i=t||r&&r.hitCanvas,o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.hit;if(s){o.save();var l=this.getAbsoluteTransform(n).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",i,n);return this}_drawChildren(t,n,r){var i,o=n&&n.getContext(),a=this.clipWidth(),s=this.clipHeight(),l=this.clipFunc(),u=a&&s||l;const d=r===this;if(u){o.save();var h=this.getAbsoluteTransform(r),m=h.getMatrix();if(o.transform(m[0],m[1],m[2],m[3],m[4],m[5]),o.beginPath(),l)l.call(this,o,this);else{var v=this.clipX(),b=this.clipY();o.rect(v,b,a,s)}o.clip(),m=h.copy().invert().getMatrix(),o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}var S=!d&&this.globalCompositeOperation()!=="source-over"&&t==="drawScene";S&&(o.save(),o._applyGlobalCompositeOperation(this)),(i=this.children)===null||i===void 0||i.forEach(function(k){k[t](n,r)}),S&&o.restore(),u&&o.restore()}getClientRect(t){var n;t=t||{};var r=t.skipTransform,i=t.relativeTo,o,a,s,l,u={x:1/0,y:1/0,width:0,height:0},d=this;(n=this.children)===null||n===void 0||n.forEach(function(S){if(S.visible()){var k=S.getClientRect({relativeTo:d,skipShadow:t.skipShadow,skipStroke:t.skipStroke});k.width===0&&k.height===0||(o===void 0?(o=k.x,a=k.y,s=k.x+k.width,l=k.y+k.height):(o=Math.min(o,k.x),a=Math.min(a,k.y),s=Math.max(s,k.x+k.width),l=Math.max(l,k.y+k.height)))}});for(var h=this.find("Shape"),m=!1,v=0;ve.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",Rg=e=>{const t=Ov(e);if(t==="pointer")return pt.pointerEventsEnabled&&PC.pointer;if(t==="touch")return PC.touch;if(t==="mouse")return PC.mouse};function YR(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&de.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const K7e="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",F4=[];let Hx=class extends Aa{constructor(t){super(YR(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),F4.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",()=>{YR(this.attrs)}),this._checkVisibility()}_validateAdd(t){const n=t.getType()==="Layer",r=t.getType()==="FastLayer";n||r||de.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===W7e){if(t.charAt(0)==="."){var n=t.slice(1);t=document.getElementsByClassName(n)[0]}else{var r;t.charAt(0)!=="#"?r=t:r=t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t=this.children,n=t.length,r;for(r=0;r-1&&F4.splice(n,1),de.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(de.warn(K7e),null)}_getPointerById(t){return this._pointerPositions.find(n=>n.id===t)}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var n=new Fm({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),r=n.getContext()._context,i=this.children;return(t.x||t.y)&&r.translate(-1*t.x,-1*t.y),i.forEach(function(o){if(o.isVisible()){var a=o._toKonvaCanvas(t);r.drawImage(a._canvas,t.x,t.y,a.getWidth()/a.getPixelRatio(),a.getHeight()/a.getPixelRatio())}}),n}getIntersection(t){if(!t)return null;var n=this.children,r=n.length,i=r-1,o;for(o=i;o>=0;o--){const a=n[o].getIntersection(t);if(a)return a}return null}_resizeDOM(){var t=this.width(),n=this.height();this.content&&(this.content.style.width=t+qR,this.content.style.height=n+qR),this.bufferCanvas.setSize(t,n),this.bufferHitCanvas.setSize(t,n),this.children.forEach(r=>{r.setSize({width:t,height:n}),r.draw()})}add(t,...n){if(arguments.length>1){for(var r=0;rq7e&&de.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),pt.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}getLayers(){return this.children}_bindContentEvents(){pt.isBrowser&&Y7e.forEach(([t,n])=>{this.content.addEventListener(t,r=>{this[n](r)},{passive:!1})})}_pointerenter(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let n=this[t+"targetShape"];return n&&!n.getStage()&&(n=null),n}_pointerleave(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=this._getTargetShape(r),o=!vn.isDragging||pt.hitOnDragEnabled;i&&o?(i._fireAndBubble(n.pointerout,{evt:t}),i._fireAndBubble(n.pointerleave,{evt:t}),this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this[r+"targetShape"]=null):o&&(this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach(o=>{var a=this.getIntersection(o);if(vn.justDragged=!1,pt["_"+r+"ListenClick"]=!0,!(a&&a.isListening()))return;pt.capturePointerEventsEnabled&&a.setPointerCapture(o.id),this[r+"ClickStartShape"]=a,a._fireAndBubble(n.pointerdown,{evt:t,pointerId:o.id}),i=!0;const l=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&l&&t.preventDefault()}),i||this._fire(n.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;vn.isDragging&&vn.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!vn.isDragging||pt.hitOnDragEnabled;if(!i)return;var o={};let a=!1;var s=this._getTargetShape(r);this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l),d=l.id,h={evt:t,pointerId:d};var m=s!==u;if(m&&s&&(s._fireAndBubble(n.pointerout,Object.assign({},h),u),s._fireAndBubble(n.pointerleave,Object.assign({},h),u)),u){if(o[u._id])return;o[u._id]=!0}u&&u.isListening()?(a=!0,m&&(u._fireAndBubble(n.pointerover,Object.assign({},h),s),u._fireAndBubble(n.pointerenter,Object.assign({},h),s),this[r+"targetShape"]=u),u._fireAndBubble(n.pointermove,Object.assign({},h))):s&&(this._fire(n.pointerover,{evt:t,target:this,currentTarget:this,pointerId:d}),this[r+"targetShape"]=null)}),a||this._fire(n.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;this.setPointersPositions(t);const i=this[r+"ClickStartShape"],o=this[r+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),a[u._id])return;a[u._id]=!0}const d=l.id,h={evt:t,pointerId:d};let m=!1;pt["_"+r+"InDblClickWindow"]?(m=!0,clearTimeout(this[r+"DblTimeout"])):vn.justDragged||(pt["_"+r+"InDblClickWindow"]=!0,clearTimeout(this[r+"DblTimeout"])),this[r+"DblTimeout"]=setTimeout(function(){pt["_"+r+"InDblClickWindow"]=!1},pt.dblClickWindow),u&&u.isListening()?(s=!0,this[r+"ClickEndShape"]=u,u._fireAndBubble(n.pointerup,Object.assign({},h)),pt["_"+r+"ListenClick"]&&i&&i===u&&(u._fireAndBubble(n.pointerclick,Object.assign({},h)),m&&o&&o===u&&u._fireAndBubble(n.pointerdblclick,Object.assign({},h)))):(this[r+"ClickEndShape"]=null,pt["_"+r+"ListenClick"]&&this._fire(n.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:d}),m&&this._fire(n.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:d}))}),s||this._fire(n.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),pt["_"+r+"ListenClick"]=!1,t.cancelable&&r!=="touch"&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(E8,{evt:t}):this._fire(E8,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(P8,{evt:t}):this._fire(P8,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const n=EC(t.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(um,vP(t)),a2(t.pointerId)}_lostpointercapture(t){a2(t.pointerId)}setPointersPositions(t){var n=this._getContentPosition(),r=null,i=null;t=t||window.event,t.touches!==void 0?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,o=>{this._pointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})}),Array.prototype.forEach.call(t.changedTouches||t.touches,o=>{this._changedPointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})})):(r=(t.clientX-n.left)/n.scaleX,i=(t.clientY-n.top)/n.scaleY,this.pointerPos={x:r,y:i},this._pointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}],this._changedPointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}])}_setPointerPosition(t){de.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new Fm({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mP({pixelRatio:1,width:this.width(),height:this.height()}),!!pt.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return de.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach(function(t){t.batchDraw()}),this}};Hx.prototype.nodeType=V7e;Ar(Hx);ee.addGetterSetter(Hx,"container");var wG="hasShadow",CG="shadowRGBA",_G="patternImage",kG="linearGradient",EG="radialGradient";let Bb;function TC(){return Bb||(Bb=de.createCanvasElement().getContext("2d"),Bb)}const s2={};function X7e(e){e.fill()}function Z7e(e){e.stroke()}function Q7e(e){e.fill()}function J7e(e){e.stroke()}function e9e(){this._clearCache(wG)}function t9e(){this._clearCache(CG)}function n9e(){this._clearCache(_G)}function r9e(){this._clearCache(kG)}function i9e(){this._clearCache(EG)}class je extends Ze{constructor(t){super(t);let n;for(;n=de.getRandomColor(),!(n&&!(n in s2)););this.colorKey=n,s2[n]=this}getContext(){return de.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return de.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(wG,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&this.shadowOpacity()!==0&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(_G,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=TC();const n=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(n&&n.setTransform){const r=new ka;r.translate(this.fillPatternX(),this.fillPatternY()),r.rotate(pt.getAngle(this.fillPatternRotation())),r.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),r.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const i=r.getMatrix(),o=typeof DOMMatrix>"u"?{a:i[0],b:i[1],c:i[2],d:i[3],e:i[4],f:i[5]}:new DOMMatrix(i);n.setTransform(o)}return n}}_getLinearGradient(){return this._getCache(kG,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var n=TC(),r=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),o=n.createLinearGradient(r.x,r.y,i.x,i.y),a=0;athis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops()))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],()=>this.strokeEnabled()&&this.strokeWidth()&&!!(this.stroke()||this.strokeLinearGradientColorStops()))}hasHitStroke(){const t=this.hitStrokeWidth();return t==="auto"?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var n=this.getStage(),r=n.bufferHitCanvas,i;return r.getContext().clear(),this.drawHit(r,null,!0),i=r.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,i[3]>0}destroy(){return Ze.prototype.destroy.call(this),delete s2[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var n;if(!this.getStage()||!((n=this.attrs.perfectDrawEnabled)!==null&&n!==void 0?n:!0))return!1;const i=t||this.hasFill(),o=this.hasStroke(),a=this.getAbsoluteOpacity()!==1;if(i&&o&&a)return!0;const s=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(i&&o&&s&&l)}setStrokeHitEnabled(t){de.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return this.hitStrokeWidth()!==0}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const n=t.skipTransform,r=t.relativeTo,i=this.getSelfRect(),a=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,s=i.width+a,l=i.height+a,u=!t.skipShadow&&this.hasShadow(),d=u?this.shadowOffsetX():0,h=u?this.shadowOffsetY():0,m=s+Math.abs(d),v=l+Math.abs(h),b=u&&this.shadowBlur()||0,S=m+b*2,k=v+b*2,E={width:S,height:k,x:-(a/2+b)+Math.min(d,0)+i.x,y:-(a/2+b)+Math.min(h,0)+i.y};return n?E:this._transformedRect(E,r)}drawScene(t,n){var r=this.getLayer(),i=t||r.getCanvas(),o=i.getContext(),a=this._getCanvasCache(),s=this.getSceneFunc(),l=this.hasShadow(),u,d,h,m=i.isCache,v=n===this;if(!this.isVisible()&&!v)return this;if(a){o.save();var b=this.getAbsoluteTransform(n).getMatrix();return o.transform(b[0],b[1],b[2],b[3],b[4],b[5]),this._drawCachedSceneCanvas(o),o.restore(),this}if(!s)return this;if(o.save(),this._useBufferCanvas()&&!m){u=this.getStage(),d=u.bufferCanvas,h=d.getContext(),h.clear(),h.save(),h._applyLineJoin(this);var S=this.getAbsoluteTransform(n).getMatrix();h.transform(S[0],S[1],S[2],S[3],S[4],S[5]),s.call(this,h,this),h.restore();var k=d.pixelRatio;l&&o._applyShadow(this),o._applyOpacity(this),o._applyGlobalCompositeOperation(this),o.drawImage(d._canvas,0,0,d.width/k,d.height/k)}else{if(o._applyLineJoin(this),!v){var S=this.getAbsoluteTransform(n).getMatrix();o.transform(S[0],S[1],S[2],S[3],S[4],S[5]),o._applyOpacity(this),o._applyGlobalCompositeOperation(this)}l&&o._applyShadow(this),s.call(this,o,this)}return o.restore(),this}drawHit(t,n,r=!1){if(!this.shouldDrawHit(n,r))return this;var i=this.getLayer(),o=t||i.hitCanvas,a=o&&o.getContext(),s=this.hitFunc()||this.sceneFunc(),l=this._getCanvasCache(),u=l&&l.hit;if(this.colorKey||de.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),u){a.save();var d=this.getAbsoluteTransform(n).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),a._applyLineJoin(this),!(this===n)){var m=this.getAbsoluteTransform(n).getMatrix();a.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return s.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var n=this._getCanvasCache(),r=this._getCachedSceneCanvas(),i=n.hit,o=i.getContext(),a=i.getWidth(),s=i.getHeight(),l,u,d,h,m,v;o.clear(),o.drawImage(r._canvas,0,0,a,s);try{for(l=o.getImageData(0,0,a,s),u=l.data,d=u.length,h=de._hexToRgb(this.colorKey),m=0;mt?(u[m]=h.r,u[m+1]=h.g,u[m+2]=h.b,u[m+3]=255):u[m+3]=0;o.putImageData(l,0,0)}catch(b){de.error("Unable to draw hit graph from cached scene canvas. "+b.message)}return this}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}}je.prototype._fillFunc=X7e;je.prototype._strokeFunc=Z7e;je.prototype._fillFuncHit=Q7e;je.prototype._strokeFuncHit=J7e;je.prototype._centroid=!1;je.prototype.nodeType="Shape";Ar(je);je.prototype.eventListeners={};je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",e9e);je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",t9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",n9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",r9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",i9e);ee.addGetterSetter(je,"stroke",void 0,lG());ee.addGetterSetter(je,"strokeWidth",2,qe());ee.addGetterSetter(je,"fillAfterStrokeEnabled",!1);ee.addGetterSetter(je,"hitStrokeWidth","auto",gP());ee.addGetterSetter(je,"strokeHitEnabled",!0,nl());ee.addGetterSetter(je,"perfectDrawEnabled",!0,nl());ee.addGetterSetter(je,"shadowForStrokeEnabled",!0,nl());ee.addGetterSetter(je,"lineJoin");ee.addGetterSetter(je,"lineCap");ee.addGetterSetter(je,"sceneFunc");ee.addGetterSetter(je,"hitFunc");ee.addGetterSetter(je,"dash");ee.addGetterSetter(je,"dashOffset",0,qe());ee.addGetterSetter(je,"shadowColor",void 0,P0());ee.addGetterSetter(je,"shadowBlur",0,qe());ee.addGetterSetter(je,"shadowOpacity",1,qe());ee.addComponentsGetterSetter(je,"shadowOffset",["x","y"]);ee.addGetterSetter(je,"shadowOffsetX",0,qe());ee.addGetterSetter(je,"shadowOffsetY",0,qe());ee.addGetterSetter(je,"fillPatternImage");ee.addGetterSetter(je,"fill",void 0,lG());ee.addGetterSetter(je,"fillPatternX",0,qe());ee.addGetterSetter(je,"fillPatternY",0,qe());ee.addGetterSetter(je,"fillLinearGradientColorStops");ee.addGetterSetter(je,"strokeLinearGradientColorStops");ee.addGetterSetter(je,"fillRadialGradientStartRadius",0);ee.addGetterSetter(je,"fillRadialGradientEndRadius",0);ee.addGetterSetter(je,"fillRadialGradientColorStops");ee.addGetterSetter(je,"fillPatternRepeat","repeat");ee.addGetterSetter(je,"fillEnabled",!0);ee.addGetterSetter(je,"strokeEnabled",!0);ee.addGetterSetter(je,"shadowEnabled",!0);ee.addGetterSetter(je,"dashEnabled",!0);ee.addGetterSetter(je,"strokeScaleEnabled",!0);ee.addGetterSetter(je,"fillPriority","color");ee.addComponentsGetterSetter(je,"fillPatternOffset",["x","y"]);ee.addGetterSetter(je,"fillPatternOffsetX",0,qe());ee.addGetterSetter(je,"fillPatternOffsetY",0,qe());ee.addComponentsGetterSetter(je,"fillPatternScale",["x","y"]);ee.addGetterSetter(je,"fillPatternScaleX",1,qe());ee.addGetterSetter(je,"fillPatternScaleY",1,qe());ee.addComponentsGetterSetter(je,"fillLinearGradientStartPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientStartPointX",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointX",0);ee.addGetterSetter(je,"fillLinearGradientStartPointY",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillLinearGradientEndPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientEndPointX",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointX",0);ee.addGetterSetter(je,"fillLinearGradientEndPointY",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientStartPointX",0);ee.addGetterSetter(je,"fillRadialGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientEndPointX",0);ee.addGetterSetter(je,"fillRadialGradientEndPointY",0);ee.addGetterSetter(je,"fillPatternRotation",0);ee.backCompat(je,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var o9e="#",a9e="beforeDraw",s9e="draw",PG=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],l9e=PG.length;let dp=class extends Aa{constructor(t){super(t),this.canvas=new Fm,this.hitCanvas=new mP({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),t{this.draw(),this._waitingForDraw=!1})),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;for(var n=1,r=!1;;){for(let i=0;i0)return{antialiased:!0};return{}}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas();return this._fire(a9e,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Aa.prototype.drawScene.call(this,i,n),this._fire(s9e,{node:this}),this}drawHit(t,n){var r=this.getLayer(),i=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),Aa.prototype.drawHit.call(this,i,n),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(!(!this.parent||!this.parent.content)){var t=this.parent,n=!!this.hitCanvas._canvas.parentNode;n?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}destroy(){return de.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}};dp.prototype.nodeType="Layer";Ar(dp);ee.addGetterSetter(dp,"imageSmoothingEnabled",!0);ee.addGetterSetter(dp,"clearBeforeDraw",!0);ee.addGetterSetter(dp,"hitGraphEnabled",!0,nl());class yP extends dp{constructor(t){super(t),this.listening(!1),de.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}yP.prototype.nodeType="FastLayer";Ar(yP);let i0=class extends Aa{_validateAdd(t){var n=t.getType();n!=="Group"&&n!=="Shape"&&de.throw("You may only add groups and shapes to groups.")}};i0.prototype.nodeType="Group";Ar(i0);var LC=function(){return $m.performance&&$m.performance.now?function(){return $m.performance.now()}:function(){return new Date().getTime()}}();class ts{constructor(t,n){this.id=ts.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:LC(),frameRate:0},this.func=t,this.setLayers(n)}setLayers(t){var n=[];return t?t.length>0?n=t:n=[t]:n=[],this.layers=n,this}getLayers(){return this.layers}addLayer(t){var n=this.layers,r=n.length,i;for(i=0;ithis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return t===void 0&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=KR,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=XR,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===KR?this.setTime(t):this.state===XR&&this.setTime(this.duration-t)}pause(){this.state=c9e,this.fire("onPause")}getTimer(){return new Date().getTime()}}class Xr{constructor(t){var n=this,r=t.node,i=r._id,o,a=t.easing||l2.Linear,s=!!t.yoyo,l;typeof t.duration>"u"?o=.3:t.duration===0?o=.001:o=t.duration,this.node=r,this._id=d9e++;var u=r.getLayer()||(r instanceof pt.Stage?r.getLayers():null);u||de.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new ts(function(){n.tween.onEnterFrame()},u),this.tween=new f9e(l,function(d){n._tweenFunc(d)},a,0,1,o*1e3,s),this._addListeners(),Xr.attrs[i]||(Xr.attrs[i]={}),Xr.attrs[i][this._id]||(Xr.attrs[i][this._id]={}),Xr.tweens[i]||(Xr.tweens[i]={});for(l in t)u9e[l]===void 0&&this._addAttr(l,t[l]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,n){var r=this.node,i=r._id,o,a,s,l,u,d,h,m;if(s=Xr.tweens[i][t],s&&delete Xr.attrs[i][s][t],o=r.getAttr(t),de._isArray(n))if(a=[],u=Math.max(n.length,o.length),t==="points"&&n.length!==o.length&&(n.length>o.length?(h=o,o=de._prepareArrayForTween(o,n,r.closed())):(d=n,n=de._prepareArrayForTween(n,o,r.closed()))),t.indexOf("fill")===0)for(l=0;l{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueEnd&&t.setAttr("points",n.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueStart&&t.points(n.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(t*1e3),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t=this.node._id,n=this._id,r=Xr.tweens[t],i;this.pause();for(i in r)delete Xr.tweens[t][i];delete Xr.attrs[t][n]}}Xr.attrs={};Xr.tweens={};Ze.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()};var n=new Xr(e);n.play()};const l2={BackEaseIn(e,t,n,r){var i=1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},BackEaseOut(e,t,n,r){var i=1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*(((i*=1.525)+1)*e-i))+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return e===0?t:(e/=r)===1?t+n:(o||(o=r*.3),!i||i0?t:n),d=a*n,h=s*(s>0?t:n),m=l*(l>0?n:t);return{x:u,y:r?-1*m:h,width:d-u,height:m-h}}}cc.prototype._centroid=!0;cc.prototype.className="Arc";cc.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(cc);ee.addGetterSetter(cc,"innerRadius",0,qe());ee.addGetterSetter(cc,"outerRadius",0,qe());ee.addGetterSetter(cc,"angle",0,qe());ee.addGetterSetter(cc,"clockwise",!1,nl());function T8(e,t,n,r,i,o,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(i-n,2)+Math.pow(o-r,2)),u=a*s/(s+l),d=a*l/(s+l),h=n-u*(i-e),m=r-u*(o-t),v=n+d*(i-e),b=r+d*(o-t);return[h,m,v,b]}function QR(e,t){var n=e.length,r=[],i,o;for(i=2;i4){for(s=this.getTensionPoints(),l=s.length,u=o?0:4,o||t.quadraticCurveTo(s[0],s[1],s[2],s[3]);ud?u:d,k=u>d?1:u/d,E=u>d?d/u:1;t.translate(s,l),t.rotate(v),t.scale(k,E),t.arc(0,0,S,h,h+m,1-b),t.scale(1/k,1/E),t.rotate(-v),t.translate(-s,-l);break;case"z":r=!0,t.closePath();break}}!r&&!this.hasFill()?t.strokeShape(this):t.fillStrokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach(function(u){if(u.command==="A"){var d=u.points[4],h=u.points[5],m=u.points[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;b-=v){const S=zn.getPointOnEllipticalArc(u.points[0],u.points[1],u.points[2],u.points[3],b,0);t.push(S.x,S.y)}else for(let b=d+v;bthis.dataArray[r].pathLength;)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return zn.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return zn.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return zn.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],l=a[1],u=a[2],d=a[3],h=a[4],m=a[5],v=a[6];return h+=m*t/o.pathLength,zn.getPointOnEllipticalArc(s,l,u,d,h,v)}return null}static getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}static getPointOnLine(t,n,r,i,o,a,s){a===void 0&&(a=n),s===void 0&&(s=r);var l=(o-r)/(i-n+1e-8),u=Math.sqrt(t*t/(1+l*l));i0&&!isNaN(b[0]);){var _=null,T=[],A=l,I=u,R,D,j,z,V,K,te,q,$,U;switch(v){case"l":l+=b.shift(),u+=b.shift(),_="L",T.push(l,u);break;case"L":l=b.shift(),u=b.shift(),T.push(l,u);break;case"m":var X=b.shift(),Z=b.shift();if(l+=X,u+=Z,_="M",a.length>2&&a[a.length-1].command==="z"){for(var W=a.length-2;W>=0;W--)if(a[W].command==="M"){l=a[W].points[0]+X,u=a[W].points[1]+Z;break}}T.push(l,u),v="l";break;case"M":l=b.shift(),u=b.shift(),_="M",T.push(l,u),v="L";break;case"h":l+=b.shift(),_="L",T.push(l,u);break;case"H":l=b.shift(),_="L",T.push(l,u);break;case"v":u+=b.shift(),_="L",T.push(l,u);break;case"V":u=b.shift(),_="L",T.push(l,u);break;case"C":T.push(b.shift(),b.shift(),b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"c":T.push(l+b.shift(),u+b.shift(),l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"S":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,b.shift(),b.shift()),l=b.shift(),u=b.shift(),_="C",T.push(l,u);break;case"s":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"Q":T.push(b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"q":T.push(l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="Q",T.push(l,u);break;case"T":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l=b.shift(),u=b.shift(),_="Q",T.push(D,j,l,u);break;case"t":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l+=b.shift(),u+=b.shift(),_="Q",T.push(D,j,l,u);break;case"A":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l=b.shift(),u=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break;case"a":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l+=b.shift(),u+=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break}a.push({command:_||v,points:T,start:{x:A,y:I},pathLength:this.calcLength(A,I,_||v,T)})}(v==="z"||v==="Z")&&a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(t,n,r,i){var o,a,s,l,u=zn;switch(r){case"L":return u.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=u.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),l=.01;l<=1;l+=.01)s=u.getPointOnCubicBezier(l,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=u.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),l=.01;l<=1;l+=.01)s=u.getPointOnQuadraticBezier(l,t,n,i[0],i[1],i[2],i[3]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var d=i[4],h=i[5],m=i[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;l-=v)s=u.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(l=d+v;l1&&(s*=Math.sqrt(v),l*=Math.sqrt(v));var b=Math.sqrt((s*s*(l*l)-s*s*(m*m)-l*l*(h*h))/(s*s*(m*m)+l*l*(h*h)));o===a&&(b*=-1),isNaN(b)&&(b=0);var S=b*s*m/l,k=b*-l*h/s,E=(t+r)/2+Math.cos(d)*S-Math.sin(d)*k,_=(n+i)/2+Math.sin(d)*S+Math.cos(d)*k,T=function(V){return Math.sqrt(V[0]*V[0]+V[1]*V[1])},A=function(V,K){return(V[0]*K[0]+V[1]*K[1])/(T(V)*T(K))},I=function(V,K){return(V[0]*K[1]=1&&(z=0),a===0&&z>0&&(z=z-2*Math.PI),a===1&&z<0&&(z=z+2*Math.PI),[E,_,s,l,R,z,d,a]}}zn.prototype.className="Path";zn.prototype._attrsAffectingSize=["data"];Ar(zn);ee.addGetterSetter(zn,"data");class fp extends dc{_sceneFunc(t){super._sceneFunc(t);var n=Math.PI*2,r=this.points(),i=r,o=this.tension()!==0&&r.length>4;o&&(i=this.getTensionPoints());var a=this.pointerLength(),s=r.length,l,u;if(o){const m=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],r[s-2],r[s-1]],v=zn.calcLength(i[i.length-4],i[i.length-3],"C",m),b=zn.getPointOnQuadraticBezier(Math.min(1,1-a/v),m[0],m[1],m[2],m[3],m[4],m[5]);l=r[s-2]-b.x,u=r[s-1]-b.y}else l=r[s-2]-r[s-4],u=r[s-1]-r[s-3];var d=(Math.atan2(u,l)+n)%n,h=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(r[s-2],r[s-1]),t.rotate(d),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(r[0],r[1]),o?(l=(i[0]+i[2])/2-r[0],u=(i[1]+i[3])/2-r[1]):(l=r[2]-r[0],u=r[3]-r[1]),t.rotate((Math.atan2(-u,-l)+n)%n),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),n=this.pointerWidth()/2;return{x:t.x-n,y:t.y-n,width:t.width+n*2,height:t.height+n*2}}}fp.prototype.className="Arrow";Ar(fp);ee.addGetterSetter(fp,"pointerLength",10,qe());ee.addGetterSetter(fp,"pointerWidth",10,qe());ee.addGetterSetter(fp,"pointerAtBeginning",!1);ee.addGetterSetter(fp,"pointerAtEnding",!0);let T0=class extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,Math.PI*2,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}};T0.prototype._centroid=!0;T0.prototype.className="Circle";T0.prototype._attrsAffectingSize=["radius"];Ar(T0);ee.addGetterSetter(T0,"radius",0,qe());class ff extends je{_sceneFunc(t){var n=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),n!==r&&t.scale(1,r/n),t.arc(0,0,n,0,Math.PI*2,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radiusX()*2}getHeight(){return this.radiusY()*2}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}ff.prototype.className="Ellipse";ff.prototype._centroid=!0;ff.prototype._attrsAffectingSize=["radiusX","radiusY"];Ar(ff);ee.addComponentsGetterSetter(ff,"radius",["x","y"]);ee.addGetterSetter(ff,"radiusX",0,qe());ee.addGetterSetter(ff,"radiusY",0,qe());let fc=class TG extends je{constructor(t){super(t),this.on("imageChange.konva",()=>{this._setImageLoad()}),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&t.readyState===4||t&&t.addEventListener&&t.addEventListener("load",()=>{this._requestDraw()})}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const n=this.getWidth(),r=this.getHeight(),i=this.attrs.image;let o;if(i){const a=this.attrs.cropWidth,s=this.attrs.cropHeight;a&&s?o=[i,this.cropX(),this.cropY(),a,s,0,0,n,r]:o=[i,0,0,n,r]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,o)}_hitFunc(t){var n=this.width(),r=this.height();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,n;return(t=this.attrs.width)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.width}getHeight(){var t,n;return(t=this.attrs.height)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.height}static fromURL(t,n,r=null){var i=de.createImageElement();i.onload=function(){var o=new TG({image:i});n(o)},i.onerror=r,i.crossOrigin="Anonymous",i.src=t}};fc.prototype.className="Image";Ar(fc);ee.addGetterSetter(fc,"image");ee.addComponentsGetterSetter(fc,"crop",["x","y","width","height"]);ee.addGetterSetter(fc,"cropX",0,qe());ee.addGetterSetter(fc,"cropY",0,qe());ee.addGetterSetter(fc,"cropWidth",0,qe());ee.addGetterSetter(fc,"cropHeight",0,qe());var LG=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],h9e="Change.konva",p9e="none",L8="up",A8="right",O8="down",M8="left",g9e=LG.length;class bP extends i0{constructor(t){super(t),this.on("add.konva",function(n){this._addListeners(n.child),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var n=this,r,i=function(){n._sync()};for(r=0;r{n=Math.min(n,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),{x:n,y:i,width:r-n,height:o-i}}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}pp.prototype.className="RegularPolygon";pp.prototype._centroid=!0;pp.prototype._attrsAffectingSize=["radius"];Ar(pp);ee.addGetterSetter(pp,"radius",0,qe());ee.addGetterSetter(pp,"sides",0,qe());var JR=Math.PI*2;class gp extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,JR,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),JR,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.outerRadius()*2}getHeight(){return this.outerRadius()*2}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}gp.prototype.className="Ring";gp.prototype._centroid=!0;gp.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(gp);ee.addGetterSetter(gp,"innerRadius",0,qe());ee.addGetterSetter(gp,"outerRadius",0,qe());class gu extends je{constructor(t){super(t),this._updated=!0,this.anim=new ts(()=>{var n=this._updated;return this._updated=!1,n}),this.on("animationChange.konva",function(){this.frameIndex(0)}),this.on("frameIndexChange.konva",function(){this._updated=!0}),this.on("frameRateChange.konva",function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})}_sceneFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+0],l=o[i+1],u=o[i+2],d=o[i+3],h=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,u,d),t.closePath(),t.fillStrokeShape(this)),h)if(a){var m=a[n],v=r*2;t.drawImage(h,s,l,u,d,m[v+0],m[v+1],u,d)}else t.drawImage(h,s,l,u,d,0,0,u,d)}_hitFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+2],l=o[i+3];if(t.beginPath(),a){var u=a[n],d=r*2;t.rect(u[d+0],u[d+1],s,l)}else t.rect(0,0,s,l);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval(function(){t._updateIndex()},1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),n=this.animation(),r=this.animations(),i=r[n],o=i.length/4;t{t=t.trim();const n=t.indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return n&&!r&&(t=`"${t}"`),t}).join(", ")}var Fb;function OC(){return Fb||(Fb=de.createCanvasElement().getContext(y9e),Fb)}function L9e(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)}function A9e(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function O9e(e){return e=e||{},!e.fillLinearGradientColorStops&&!e.fillRadialGradientColorStops&&!e.fillPatternImage&&(e.fill=e.fill||"black"),e}class Lr extends je{constructor(t){super(O9e(t)),this._partialTextX=0,this._partialTextY=0;for(var n=0;n1&&(E+=a)}}}_hitFunc(t){var n=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}setText(t){var n=de._isString(t)?t:t==null?"":t+"";return this._setAttr(b9e,n),this}getWidth(){var t=this.attrs.width===Dg||this.attrs.width===void 0;return t?this.getTextWidth()+this.padding()*2:this.attrs.width}getHeight(){var t=this.attrs.height===Dg||this.attrs.height===void 0;return t?this.fontSize()*this.textArr.length*this.lineHeight()+this.padding()*2:this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return de.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var n=OC(),r=this.fontSize(),i;return n.save(),n.font=this._getContextFont(),i=n.measureText(t),n.restore(),{width:i.width,height:r}}_getContextFont(){return this.fontStyle()+$b+this.fontVariant()+$b+(this.fontSize()+C9e)+T9e(this.fontFamily())}_addTextLine(t){this.align()===cv&&(t=t.trim());var n=this._getTextWidth(t);return this.textArr.push({text:t,width:n,lastInParagraph:!1})}_getTextWidth(t){var n=this.letterSpacing(),r=t.length;return OC().measureText(t).width+(r?n*(r-1):0)}_setTextData(){var t=this.text().split(` -`),n=+this.fontSize(),r=0,i=this.lineHeight()*n,o=this.attrs.width,a=this.attrs.height,s=o!==Dg&&o!==void 0,l=a!==Dg&&a!==void 0,u=this.padding(),d=o-u*2,h=a-u*2,m=0,v=this.wrap(),b=v!==nD,S=v!==E9e&&b,k=this.ellipsis();this.textArr=[],OC().font=this._getContextFont();for(var E=k?this._getTextWidth(AC):0,_=0,T=t.length;_d)for(;A.length>0;){for(var R=0,D=A.length,j="",z=0;R>>1,K=A.slice(0,V+1),te=this._getTextWidth(K)+E;te<=d?(R=V+1,j=K,z=te):D=V}if(j){if(S){var q,$=A[j.length],U=$===$b||$===eD;U&&z<=d?q=j.length:q=Math.max(j.lastIndexOf($b),j.lastIndexOf(eD))+1,q>0&&(R=q,j=j.slice(0,R),z=this._getTextWidth(j))}j=j.trimRight(),this._addTextLine(j),r=Math.max(r,z),m+=i;var X=this._shouldHandleEllipsis(m);if(X){this._tryToAddEllipsisToLastLine();break}if(A=A.slice(R),A=A.trimLeft(),A.length>0&&(I=this._getTextWidth(A),I<=d)){this._addTextLine(A),m+=i,r=Math.max(r,I);break}}else break}else this._addTextLine(A),m+=i,r=Math.max(r,I),this._shouldHandleEllipsis(m)&&_h)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,o=i!==Dg&&i!==void 0,a=this.padding(),s=i-a*2,l=this.wrap(),u=l!==nD;return!u||o&&t+r>s}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==Dg&&t!==void 0,r=this.padding(),i=t-r*2,o=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(!(!a||!o)){if(n){var s=this._getTextWidth(a.text+AC)=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i0&&(s+=t.dataArray[l].pathLength);var u=0;i==="center"&&(u=Math.max(0,s/2-a/2)),i==="right"&&(u=Math.max(0,s-a));for(var d=AG(this.text()),h=this.text().split(" ").length-1,m,v,b,S=-1,k=0,E=function(){k=0;for(var te=t.dataArray,q=S+1;q0)return S=q,te[q];te[q].command==="M"&&(m={x:te[q].points[0],y:te[q].points[1]})}return{}},_=function(te){var q=t._getTextSize(te).width+r;te===" "&&i==="justify"&&(q+=(s-a)/h);var $=0,U=0;for(v=void 0;Math.abs(q-$)/q>.01&&U<20;){U++;for(var X=$;b===void 0;)b=E(),b&&X+b.pathLengthq?v=zn.getPointOnLine(q,m.x,m.y,b.points[0],b.points[1],m.x,m.y):b=void 0;break;case"A":var W=b.points[4],Q=b.points[5],ie=b.points[4]+Q;k===0?k=W+1e-8:q>$?k+=Math.PI/180*Q/Math.abs(Q):k-=Math.PI/360*Q/Math.abs(Q),(Q<0&&k=0&&k>ie)&&(k=ie,Z=!0),v=zn.getPointOnEllipticalArc(b.points[0],b.points[1],b.points[2],b.points[3],k,b.points[6]);break;case"C":k===0?q>b.pathLength?k=1e-8:k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength/2:k=Math.max(k-($-q)/b.pathLength/2,0),k>1&&(k=1,Z=!0),v=zn.getPointOnCubicBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3],b.points[4],b.points[5]);break;case"Q":k===0?k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength:k-=($-q)/b.pathLength,k>1&&(k=1,Z=!0),v=zn.getPointOnQuadraticBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3]);break}v!==void 0&&($=zn.getLineLength(m.x,m.y,v.x,v.y)),Z&&(Z=!1,b=void 0)}},T="C",A=t._getTextSize(T).width+r,I=u/A-1,R=0;Re+`.${jG}`).join(" "),rD="nodesRect",R9e=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],D9e={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const N9e="ontouchstart"in pt._global;function j9e(e,t){if(e==="rotater")return"crosshair";t+=de.degToRad(D9e[e]||0);var n=(de.radToDeg(t)%360+360)%360;return de._inRange(n,315+22.5,360)||de._inRange(n,0,22.5)?"ns-resize":de._inRange(n,45-22.5,45+22.5)?"nesw-resize":de._inRange(n,90-22.5,90+22.5)?"ew-resize":de._inRange(n,135-22.5,135+22.5)?"nwse-resize":de._inRange(n,180-22.5,180+22.5)?"ns-resize":de._inRange(n,225-22.5,225+22.5)?"nesw-resize":de._inRange(n,270-22.5,270+22.5)?"ew-resize":de._inRange(n,315-22.5,315+22.5)?"nwse-resize":(de.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var J5=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],iD=1e8;function B9e(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}function BG(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),i=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:i})}function $9e(e,t){const n=B9e(e);return BG(e,t,n)}function F9e(e,t,n){let r=t;for(let i=0;i{const i=()=>{this.nodes().length===1&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),!this._transforming&&!this.isDragging()&&this.update()},o=r._attrsAffectingSize.map(a=>a+"Change."+this._getEventNamespace()).join(" ");r.on(o,i),r.on(R9e.map(a=>a+`.${this._getEventNamespace()}`).join(" "),i),r.on(`absoluteTransformChange.${this._getEventNamespace()}`,i),this._proxyDrag(r)}),this._resetTransformCache();var n=!!this.findOne(".top-left");return n&&this.update(),this}_proxyDrag(t){let n;t.on(`dragstart.${this._getEventNamespace()}`,r=>{n=t.getAbsolutePosition(),!this.isDragging()&&t!==this.findOne(".back")&&this.startDrag(r,!1)}),t.on(`dragmove.${this._getEventNamespace()}`,r=>{if(!n)return;const i=t.getAbsolutePosition(),o=i.x-n.x,a=i.y-n.y;this.nodes().forEach(s=>{if(s===t||s.isDragging())return;const l=s.getAbsolutePosition();s.setAbsolutePosition({x:l.x+o,y:l.y+a}),s.startDrag(r)}),n=null})}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach(t=>{t.off("."+this._getEventNamespace())}),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(rD),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(rD,this.__getNodeRect)}__getNodeShape(t,n=this.rotation(),r){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=t.getAbsoluteScale(r),a=t.getAbsolutePosition(r),s=i.x*o.x-t.offsetX()*o.x,l=i.y*o.y-t.offsetY()*o.y;const u=(pt.getAngle(t.getAbsoluteRotation())+Math.PI*2)%(Math.PI*2),d={x:a.x+s*Math.cos(u)+l*Math.sin(-u),y:a.y+l*Math.cos(u)+s*Math.sin(u),width:i.width*o.x,height:i.height*o.y,rotation:u};return BG(d,-pt.getAngle(n),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-iD,y:-iD,width:0,height:0,rotation:0};const n=[];this.nodes().map(u=>{const d=u.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var h=[{x:d.x,y:d.y},{x:d.x+d.width,y:d.y},{x:d.x+d.width,y:d.y+d.height},{x:d.x,y:d.y+d.height}],m=u.getAbsoluteTransform();h.forEach(function(v){var b=m.point(v);n.push(b)})});const r=new ka;r.rotate(-pt.getAngle(this.rotation()));var i,o,a,s;n.forEach(function(u){var d=r.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),r.invert();const l=r.point({x:i,y:o});return{x:l.x,y:l.y,width:a-i,height:s-o,rotation:pt.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),J5.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var n=new By({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:N9e?10:"auto"}),r=this;n.on("mousedown touchstart",function(i){r._handleMouseDown(i)}),n.on("dragstart",i=>{n.stopDrag(),i.cancelBubble=!0}),n.on("dragend",i=>{i.cancelBubble=!0}),n.on("mouseenter",()=>{var i=pt.getAngle(this.rotation()),o=j9e(t,i);n.getStage().content&&(n.getStage().content.style.cursor=o),this._cursorChange=!0}),n.on("mouseout",()=>{n.getStage().content&&(n.getStage().content.style.cursor=""),this._cursorChange=!1}),this.add(n)}_createBack(){var t=new je({name:"back",width:0,height:0,draggable:!0,sceneFunc(n){var r=this.getParent(),i=r.padding();n.beginPath(),n.rect(-i,-i,this.width()+i*2,this.height()+i*2),n.moveTo(this.width()/2,-i),r.rotateEnabled()&&n.lineTo(this.width()/2,-r.rotateAnchorOffset()*de._sign(this.height())-i),n.fillStrokeShape(this)},hitFunc:(n,r)=>{if(this.shouldOverdrawWholeArea()){var i=this.padding();n.beginPath(),n.rect(-i,-i,r.width()+i*2,r.height()+i*2),n.fillStrokeShape(r)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",n=>{n.cancelBubble=!0}),t.on("dragmove",n=>{n.cancelBubble=!0}),t.on("dragend",n=>{n.cancelBubble=!0}),this.on("dragmove",n=>{this.update()})}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var n=this._getNodeRect(),r=n.width,i=n.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(i,2));this.sin=Math.abs(i/o),this.cos=Math.abs(r/o),typeof window<"u"&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),s=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:s.x-a.x,y:s.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach(l=>{l._fire("transformstart",{evt:t.evt,target:l})})}_handleMouseMove(t){var n,r,i,o=this.findOne("."+this._movingAnchorName),a=o.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let l={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const u=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(u,l,t)),o.setAbsolutePosition(l);const d=o.getAbsolutePosition();if(!(u.x===d.x&&u.y===d.y)){if(this._movingAnchorName==="rotater"){var h=this._getNodeRect();n=o.x()-h.width/2,r=-o.y()+h.height/2;let te=Math.atan2(-r,n)+Math.PI/2;h.height<0&&(te-=Math.PI);var m=pt.getAngle(this.rotation());const q=m+te,$=pt.getAngle(this.rotationSnapTolerance()),X=F9e(this.rotationSnaps(),q,$)-h.rotation,Z=$9e(h,X);this._fitNodesInto(Z,t);return}var v=this.keepRatio()||t.shiftKey,_=this.centeredScaling()||t.altKey;if(this._movingAnchorName==="top-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-left").x()>b.x?-1:1,k=this.findOne(".top-left").y()>b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-left").x(b.x-n),this.findOne(".top-left").y(b.y-r)}}else if(this._movingAnchorName==="top-center")this.findOne(".top-left").y(o.y());else if(this._movingAnchorName==="top-right"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(o.x()-b.x,2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-right").x()b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-right").x(b.x+n),this.findOne(".top-right").y(b.y-r)}var E=o.position();this.findOne(".top-left").y(E.y),this.findOne(".bottom-right").x(E.x)}else if(this._movingAnchorName==="middle-left")this.findOne(".top-left").x(o.x());else if(this._movingAnchorName==="middle-right")this.findOne(".bottom-right").x(o.x());else if(this._movingAnchorName==="bottom-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(o.y()-b.y,2));var S=b.x{r._fire("transformend",{evt:t,target:r})}),this._movingAnchorName=null}}_fitNodesInto(t,n){var r=this._getNodeRect();const i=1;if(de._inRange(t.width,-this.padding()*2-i,i)){this.update();return}if(de._inRange(t.height,-this.padding()*2-i,i)){this.update();return}const o=this.flipEnabled();var a=new ka;if(a.rotate(pt.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const h=a.point({x:-this.padding()*2,y:0});if(t.x+=h.x,t.y+=h.y,t.width+=this.padding()*2,this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,!o){this.update();return}}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const h=a.point({x:this.padding()*2,y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=this.padding()*2,!o){this.update();return}}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const h=a.point({x:0,y:-this.padding()*2});if(t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const h=a.point({x:0,y:this.padding()*2});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}if(this.boundBoxFunc()){const h=this.boundBoxFunc()(r,t);h?t=h:de.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new ka;l.translate(r.x,r.y),l.rotate(r.rotation),l.scale(r.width/s,r.height/s);const u=new ka;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const d=u.multiply(l.invert());this._nodes.forEach(h=>{var m;const v=h.getParent().getAbsoluteTransform(),b=h.getTransform().copy();b.translate(h.offsetX(),h.offsetY());const S=new ka;S.multiply(v.copy().invert()).multiply(d).multiply(v).multiply(b);const k=S.decompose();h.setAttrs(k),this._fire("transform",{evt:n,target:h}),h._fire("transform",{evt:n,target:h}),(m=h.getLayer())===null||m===void 0||m.batchDraw()}),this.rotation(de._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,n){this.findOne(t).setAttrs(n)}update(){var t,n=this._getNodeRect();this.rotation(de._getRotation(n.rotation));var r=n.width,i=n.height,o=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),l=this.anchorSize();this.find("._anchor").forEach(u=>{u.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})}),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+s,offsetY:l/2+s,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:r/2,y:0,offsetY:l/2+s,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:r,y:0,offsetX:l/2-s,offsetY:l/2+s,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:l/2+s,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:r,y:i/2,offsetX:l/2-s,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:l/2+s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:r/2,y:i,offsetY:l/2-s,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:r,y:i,offsetX:l/2-s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:r/2,y:-this.rotateAnchorOffset()*de._sign(i)-s,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:r,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),(t=this.getLayer())===null||t===void 0||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),i0.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Ze.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}};function z9e(e){return e instanceof Array||de.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach(function(t){J5.indexOf(t)===-1&&de.warn("Unknown anchor name: "+t+". Available names are: "+J5.join(", "))}),e||[]}In.prototype.className="Transformer";Ar(In);ee.addGetterSetter(In,"enabledAnchors",J5,z9e);ee.addGetterSetter(In,"flipEnabled",!0,nl());ee.addGetterSetter(In,"resizeEnabled",!0);ee.addGetterSetter(In,"anchorSize",10,qe());ee.addGetterSetter(In,"rotateEnabled",!0);ee.addGetterSetter(In,"rotationSnaps",[]);ee.addGetterSetter(In,"rotateAnchorOffset",50,qe());ee.addGetterSetter(In,"rotationSnapTolerance",5,qe());ee.addGetterSetter(In,"borderEnabled",!0);ee.addGetterSetter(In,"anchorStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"anchorStrokeWidth",1,qe());ee.addGetterSetter(In,"anchorFill","white");ee.addGetterSetter(In,"anchorCornerRadius",0,qe());ee.addGetterSetter(In,"borderStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"borderStrokeWidth",1,qe());ee.addGetterSetter(In,"borderDash");ee.addGetterSetter(In,"keepRatio",!0);ee.addGetterSetter(In,"centeredScaling",!1);ee.addGetterSetter(In,"ignoreStroke",!1);ee.addGetterSetter(In,"padding",0,qe());ee.addGetterSetter(In,"node");ee.addGetterSetter(In,"nodes");ee.addGetterSetter(In,"boundBoxFunc");ee.addGetterSetter(In,"anchorDragBoundFunc");ee.addGetterSetter(In,"shouldOverdrawWholeArea",!1);ee.addGetterSetter(In,"useSingleNodeRotation",!0);ee.backCompat(In,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class hc extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,pt.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}hc.prototype.className="Wedge";hc.prototype._centroid=!0;hc.prototype._attrsAffectingSize=["radius"];Ar(hc);ee.addGetterSetter(hc,"radius",0,qe());ee.addGetterSetter(hc,"angle",0,qe());ee.addGetterSetter(hc,"clockwise",!1);ee.backCompat(hc,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});function oD(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var H9e=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],V9e=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function W9e(e,t){var n=e.data,r=e.width,i=e.height,o,a,s,l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D,j,z,V,K,te,q=t+t+1,$=r-1,U=i-1,X=t+1,Z=X*(X+1)/2,W=new oD,Q=null,ie=W,fe=null,Se=null,Pe=H9e[t],ye=V9e[t];for(s=1;s>ye,K!==0?(K=255/K,n[d]=(m*Pe>>ye)*K,n[d+1]=(v*Pe>>ye)*K,n[d+2]=(b*Pe>>ye)*K):n[d]=n[d+1]=n[d+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=h+((l=o+t+1)<$?l:$)<<2,A+=fe.r=n[l],I+=fe.g=n[l+1],R+=fe.b=n[l+2],D+=fe.a=n[l+3],m+=A,v+=I,b+=R,S+=D,fe=fe.next,k+=j=Se.r,E+=z=Se.g,_+=V=Se.b,T+=K=Se.a,A-=j,I-=z,R-=V,D-=K,Se=Se.next,d+=4;h+=r}for(o=0;o>ye,K>0?(K=255/K,n[l]=(m*Pe>>ye)*K,n[l+1]=(v*Pe>>ye)*K,n[l+2]=(b*Pe>>ye)*K):n[l]=n[l+1]=n[l+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=o+((l=a+X)0&&W9e(t,n)};ee.addGetterSetter(Ze,"blurRadius",0,qe(),ee.afterSetFilter);const G9e=function(e){var t=this.brightness()*255,n=e.data,r=n.length,i;for(i=0;i255?255:i,o=o<0?0:o>255?255:o,a=a<0?0:a>255?255:a,n[s]=i,n[s+1]=o,n[s+2]=a};ee.addGetterSetter(Ze,"contrast",0,qe(),ee.afterSetFilter);const Y9e=function(e){var t=this.embossStrength()*10,n=this.embossWhiteLevel()*255,r=this.embossDirection(),i=this.embossBlend(),o=0,a=0,s=e.data,l=e.width,u=e.height,d=l*4,h=u;switch(r){case"top-left":o=-1,a=-1;break;case"top":o=-1,a=0;break;case"top-right":o=-1,a=1;break;case"right":o=0,a=1;break;case"bottom-right":o=1,a=1;break;case"bottom":o=1,a=0;break;case"bottom-left":o=1,a=-1;break;case"left":o=0,a=-1;break;default:de.error("Unknown emboss direction: "+r)}do{var m=(h-1)*d,v=o;h+v<1&&(v=0),h+v>u&&(v=0);var b=(h-1+v)*l*4,S=l;do{var k=m+(S-1)*4,E=a;S+E<1&&(E=0),S+E>l&&(E=0);var _=b+(S-1+E)*4,T=s[k]-s[_],A=s[k+1]-s[_+1],I=s[k+2]-s[_+2],R=T,D=R>0?R:-R,j=A>0?A:-A,z=I>0?I:-I;if(j>D&&(R=A),z>D&&(R=I),R*=t,i){var V=s[k]+R,K=s[k+1]+R,te=s[k+2]+R;s[k]=V>255?255:V<0?0:V,s[k+1]=K>255?255:K<0?0:K,s[k+2]=te>255?255:te<0?0:te}else{var q=n-R;q<0?q=0:q>255&&(q=255),s[k]=s[k+1]=s[k+2]=q}}while(--S)}while(--h)};ee.addGetterSetter(Ze,"embossStrength",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossWhiteLevel",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossDirection","top-left",null,ee.afterSetFilter);ee.addGetterSetter(Ze,"embossBlend",!1,null,ee.afterSetFilter);function MC(e,t,n,r,i){var o=n-t,a=i-r,s;return o===0?r+a/2:a===0?r:(s=(e-t)/o,s=a*s+r,s)}const K9e=function(e){var t=e.data,n=t.length,r=t[0],i=r,o,a=t[1],s=a,l,u=t[2],d=u,h,m,v=this.enhance();if(v!==0){for(m=0;mi&&(i=o),l=t[m+1],ls&&(s=l),h=t[m+2],hd&&(d=h);i===r&&(i=255,r=0),s===a&&(s=255,a=0),d===u&&(d=255,u=0);var b,S,k,E,_,T,A,I,R;for(v>0?(S=i+v*(255-i),k=r-v*(r-0),_=s+v*(255-s),T=a-v*(a-0),I=d+v*(255-d),R=u-v*(u-0)):(b=(i+r)*.5,S=i+v*(i-b),k=r+v*(r-b),E=(s+a)*.5,_=s+v*(s-E),T=a+v*(a-E),A=(d+u)*.5,I=d+v*(d-A),R=u+v*(u-A)),m=0;mE?k:E;var _=a,T=o,A,I,R=360/T*Math.PI/180,D,j;for(I=0;IT?_:T;var A=a,I=o,R,D,j=n.polarRotation||0,z,V;for(d=0;dt&&(A=T,I=0,R=-1),i=0;i=0&&v=0&&b=0&&v=0&&b=255*4?255:0}return a}function l8e(e,t,n){for(var r=[.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&v=0&&b=n))for(o=S;o=r||(a=(n*o+i)*4,s+=A[a+0],l+=A[a+1],u+=A[a+2],d+=A[a+3],T+=1);for(s=s/T,l=l/T,u=u/T,d=d/T,i=v;i=n))for(o=S;o=r||(a=(n*o+i)*4,A[a+0]=s,A[a+1]=l,A[a+2]=u,A[a+3]=d)}};ee.addGetterSetter(Ze,"pixelSize",8,qe(),ee.afterSetFilter);const f8e=function(e){var t=Math.round(this.levels()*254)+1,n=e.data,r=n.length,i=255/t,o;for(o=0;o255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);const p8e=function(e){var t=e.data,n=t.length,r=this.red(),i=this.green(),o=this.blue(),a=this.alpha(),s,l;for(s=0;s255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);ee.addGetterSetter(Ze,"alpha",1,function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e});const g8e=function(e){var t=e.data,n=t.length,r,i,o,a;for(r=0;r127&&(u=255-u),d>127&&(d=255-d),h>127&&(h=255-h),t[l]=u,t[l+1]=d,t[l+2]=h}while(--s)}while(--o)},v8e=function(e){var t=this.threshold()*255,n=e.data,r=n.length,i;for(i=0;i{const{width:n,height:r}=t,i=document.createElement("div"),o=new Fg.Stage({container:i,width:n,height:r}),a=new Fg.Layer,s=new Fg.Layer;a.add(new Fg.Rect({...t,fill:"white"})),e.forEach(u=>s.add(new Fg.Line({points:u.points,stroke:"black",strokeWidth:u.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,globalCompositeOperation:u.tool==="brush"?"source-over":"destination-out"}))),o.add(a),o.add(s);const l=o.toDataURL({...t});return i.remove(),l};let $G=null,FG=null;const b8e=e=>{$G=e},el=()=>$G,S8e=e=>{FG=e},zG=()=>FG,x8e=e=>{const t=window.open("");t&&e.forEach(n=>{const r=new Image;r.src=n.base64,t.document.write(n.caption),t.document.write("
    "),t.document.write(r.outerHTML),t.document.write("

    ")})},HG=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),w8e=e=>{const t=el(),{generationMode:n,generationState:r,postprocessingState:i,canvasState:o,systemState:a}=e,{codeformerFidelity:s,facetoolStrength:l,facetoolType:u,hiresFix:d,hiresStrength:h,shouldRunESRGAN:m,shouldRunFacetool:v,upscalingLevel:b,upscalingStrength:S,upscalingDenoising:k}=i,{cfgScale:E,height:_,img2imgStrength:T,infillMethod:A,initialImage:I,iterations:R,perlin:D,prompt:j,negativePrompt:z,sampler:V,seamBlur:K,seamless:te,seamSize:q,seamSteps:$,seamStrength:U,seed:X,seedWeights:Z,shouldFitToWidthHeight:W,shouldGenerateVariations:Q,shouldRandomizeSeed:ie,steps:fe,threshold:Se,tileSize:Pe,variationAmount:ye,width:We}=r,{shouldDisplayInProgressType:De,saveIntermediatesInterval:ot,enableImageDebugging:He}=a,Be={prompt:j,iterations:R,steps:fe,cfg_scale:E,threshold:Se,perlin:D,height:_,width:We,sampler_name:V,seed:X,progress_images:De==="full-res",progress_latents:De==="latents",save_intermediates:ot,generation_mode:n,init_mask:""};let wt=!1,st=!1;if(z!==""&&(Be.prompt=`${j} [${z}]`),Be.seed=ie?HG(hP,pP):X,["txt2img","img2img"].includes(n)&&(Be.seamless=te,Be.hires_fix=d,d&&(Be.strength=h),m&&(wt={level:b,denoise_str:k,strength:S}),v&&(st={type:u,strength:l},u==="codeformer"&&(st.codeformer_fidelity=s))),n==="img2img"&&I&&(Be.init_img=typeof I=="string"?I:I.url,Be.strength=T,Be.fit=W),n==="unifiedCanvas"&&t){const{layerState:{objects:mt},boundingBoxCoordinates:St,boundingBoxDimensions:Le,stageScale:lt,isMaskEnabled:Mt,shouldPreserveMaskedArea:ut,boundingBoxScaleMethod:_t,scaledBoundingBoxDimensions:ln}=o,ae={...St,...Le},Re=y8e(Mt?mt.filter(tP):[],ae);Be.init_mask=Re,Be.fit=!1,Be.strength=T,Be.invert_mask=ut,Be.bounding_box=ae;const Ye=t.scale();t.scale({x:1/lt,y:1/lt});const Ke=t.getAbsolutePosition(),xe=t.toDataURL({x:ae.x+Ke.x,y:ae.y+Ke.y,width:ae.width,height:ae.height});He&&x8e([{base64:Re,caption:"mask sent as init_mask"},{base64:xe,caption:"image sent as init_img"}]),t.scale(Ye),Be.init_img=xe,Be.progress_images=!1,_t!=="none"&&(Be.inpaint_width=ln.width,Be.inpaint_height=ln.height),Be.seam_size=q,Be.seam_blur=K,Be.seam_strength=U,Be.seam_steps=$,Be.tile_size=Pe,Be.infill_method=A,Be.force_outpaint=!1}return Q?(Be.variation_amount=ye,Z&&(Be.with_variations=Kxe(Z))):Be.variation_amount=0,He&&(Be.enable_image_debugging=He),{generationParameters:Be,esrganParameters:wt,facetoolParameters:st}};var C8e=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,_8e=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,k8e=/[^-+\dA-Z]/g;function no(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(aD[t]||t||aD.default);var i=t.slice(0,4);(i==="UTC:"||i==="GMT:")&&(t=t.slice(4),n=!0,i==="GMT:"&&(r=!0));var o=function(){return n?"getUTC":"get"},a=function(){return e[o()+"Date"]()},s=function(){return e[o()+"Day"]()},l=function(){return e[o()+"Month"]()},u=function(){return e[o()+"FullYear"]()},d=function(){return e[o()+"Hours"]()},h=function(){return e[o()+"Minutes"]()},m=function(){return e[o()+"Seconds"]()},v=function(){return e[o()+"Milliseconds"]()},b=function(){return n?0:e.getTimezoneOffset()},S=function(){return E8e(e)},k=function(){return P8e(e)},E={d:function(){return a()},dd:function(){return wa(a())},ddd:function(){return Uo.dayNames[s()]},DDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()],short:!0})},dddd:function(){return Uo.dayNames[s()+7]},DDDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()+7]})},m:function(){return l()+1},mm:function(){return wa(l()+1)},mmm:function(){return Uo.monthNames[l()]},mmmm:function(){return Uo.monthNames[l()+12]},yy:function(){return String(u()).slice(2)},yyyy:function(){return wa(u(),4)},h:function(){return d()%12||12},hh:function(){return wa(d()%12||12)},H:function(){return d()},HH:function(){return wa(d())},M:function(){return h()},MM:function(){return wa(h())},s:function(){return m()},ss:function(){return wa(m())},l:function(){return wa(v(),3)},L:function(){return wa(Math.floor(v()/10))},t:function(){return d()<12?Uo.timeNames[0]:Uo.timeNames[1]},tt:function(){return d()<12?Uo.timeNames[2]:Uo.timeNames[3]},T:function(){return d()<12?Uo.timeNames[4]:Uo.timeNames[5]},TT:function(){return d()<12?Uo.timeNames[6]:Uo.timeNames[7]},Z:function(){return r?"GMT":n?"UTC":T8e(e)},o:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60)*100+Math.abs(b())%60,4)},p:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60),2)+":"+wa(Math.floor(Math.abs(b())%60),2)},S:function(){return["th","st","nd","rd"][a()%10>3?0:(a()%100-a()%10!=10)*a()%10]},W:function(){return S()},WW:function(){return wa(S())},N:function(){return k()}};return t.replace(C8e,function(_){return _ in E?E[_]():_.slice(1,_.length-1)})}var aD={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Uo={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},wa=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return String(t).padStart(n,"0")},sD=function(t){var n=t.y,r=t.m,i=t.d,o=t._,a=t.dayName,s=t.short,l=s===void 0?!1:s,u=new Date,d=new Date;d.setDate(d[o+"Date"]()-1);var h=new Date;h.setDate(h[o+"Date"]()+1);var m=function(){return u[o+"Date"]()},v=function(){return u[o+"Month"]()},b=function(){return u[o+"FullYear"]()},S=function(){return d[o+"Date"]()},k=function(){return d[o+"Month"]()},E=function(){return d[o+"FullYear"]()},_=function(){return h[o+"Date"]()},T=function(){return h[o+"Month"]()},A=function(){return h[o+"FullYear"]()};return b()===n&&v()===r&&m()===i?l?"Tdy":"Today":E()===n&&k()===r&&S()===i?l?"Ysd":"Yesterday":A()===n&&T()===r&&_()===i?l?"Tmw":"Tomorrow":a},E8e=function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=new Date(n.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=n.getTimezoneOffset()-r.getTimezoneOffset();n.setHours(n.getHours()-i);var o=(n-r)/(864e5*7);return 1+Math.floor(o)},P8e=function(t){var n=t.getDay();return n===0&&(n=7),n},T8e=function(t){return(String(t).match(_8e)||[""]).pop().replace(k8e,"").replace(/GMT\+0000/g,"UTC")};const L8e=(e,t)=>{const{dispatch:n,getState:r}=e;return{emitGenerateImage:i=>{n(Hs(!0));const o=r(),{generation:a,postprocessing:s,system:l,canvas:u}=o,d={generationMode:i,generationState:a,postprocessingState:s,canvasState:u,systemState:l};n(eCe());const{generationParameters:h,esrganParameters:m,facetoolParameters:v}=w8e(d);t.emit("generateImage",h,m,v),h.init_mask&&(h.init_mask=h.init_mask.substr(0,64).concat("...")),h.init_img&&(h.init_img=h.init_img.substr(0,64).concat("...")),n(to({timestamp:no(new Date,"isoDateTime"),message:`Image generation requested: ${JSON.stringify({...h,...m,...v})}`}))},emitRunESRGAN:i=>{n(Hs(!0));const{postprocessing:{upscalingLevel:o,upscalingDenoising:a,upscalingStrength:s}}=r(),l={upscale:[o,a,s]};t.emit("runPostprocessing",i,{type:"esrgan",...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`ESRGAN upscale requested: ${JSON.stringify({file:i.url,...l})}`}))},emitRunFacetool:i=>{n(Hs(!0));const{postprocessing:{facetoolType:o,facetoolStrength:a,codeformerFidelity:s}}=r(),l={facetool_strength:a};o==="codeformer"&&(l.codeformer_fidelity=s),t.emit("runPostprocessing",i,{type:o,...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`Face restoration (${o}) requested: ${JSON.stringify({file:i.url,...l})}`}))},emitDeleteImage:i=>{const{url:o,uuid:a,category:s,thumbnail:l}=i;n(eU(i)),t.emit("deleteImage",o,l,a,s)},emitRequestImages:i=>{const o=r().gallery,{earliest_mtime:a}=o.categories[i];t.emit("requestImages",i,a)},emitRequestNewImages:i=>{const o=r().gallery,{latest_mtime:a}=o.categories[i];t.emit("requestLatestImages",i,a)},emitCancelProcessing:()=>{t.emit("cancel")},emitRequestSystemConfig:()=>{t.emit("requestSystemConfig")},emitSearchForModels:i=>{t.emit("searchForModels",i)},emitAddNewModel:i=>{t.emit("addNewModel",i)},emitDeleteModel:i=>{t.emit("deleteModel",i)},emitRequestModelChange:i=>{n(Z6e()),t.emit("requestModelChange",i)},emitSaveStagingAreaImageToGallery:i=>{t.emit("requestSaveStagingAreaImageToGallery",i)},emitRequestEmptyTempFolder:()=>{t.emit("requestEmptyTempFolder")}}};let Hb;const A8e=new Uint8Array(16);function O8e(){if(!Hb&&(Hb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Hb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Hb(A8e)}const zi=[];for(let e=0;e<256;++e)zi.push((e+256).toString(16).slice(1));function M8e(e,t=0){return(zi[e[t+0]]+zi[e[t+1]]+zi[e[t+2]]+zi[e[t+3]]+"-"+zi[e[t+4]]+zi[e[t+5]]+"-"+zi[e[t+6]]+zi[e[t+7]]+"-"+zi[e[t+8]]+zi[e[t+9]]+"-"+zi[e[t+10]]+zi[e[t+11]]+zi[e[t+12]]+zi[e[t+13]]+zi[e[t+14]]+zi[e[t+15]]).toLowerCase()}const I8e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lD={randomUUID:I8e};function cm(e,t,n){if(lD.randomUUID&&!t&&!e)return lD.randomUUID();e=e||{};const r=e.random||(e.rng||O8e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return M8e(r)}const I8=zr("socketio/generateImage"),R8e=zr("socketio/runESRGAN"),D8e=zr("socketio/runFacetool"),N8e=zr("socketio/deleteImage"),R8=zr("socketio/requestImages"),uD=zr("socketio/requestNewImages"),j8e=zr("socketio/cancelProcessing"),B8e=zr("socketio/requestSystemConfig"),cD=zr("socketio/searchForModels"),$y=zr("socketio/addNewModel"),$8e=zr("socketio/deleteModel"),VG=zr("socketio/requestModelChange"),F8e=zr("socketio/saveStagingAreaImageToGallery"),z8e=zr("socketio/requestEmptyTempFolder"),H8e=e=>{const{dispatch:t,getState:n}=e;return{onConnect:()=>{try{t(PR(!0)),t(R4(zt.t("common:statusConnected"))),t(B8e());const r=n().gallery;r.categories.result.latest_mtime?t(uD("result")):t(R8("result")),r.categories.user.latest_mtime?t(uD("user")):t(R8("user"))}catch(r){console.error(r)}},onDisconnect:()=>{try{t(PR(!1)),t(R4(zt.t("common:statusDisconnected"))),t(to({timestamp:no(new Date,"isoDateTime"),message:"Disconnected from server",level:"warning"}))}catch(r){console.error(r)}},onGenerationResult:r=>{try{const i=n(),{activeTab:o}=i.ui,{shouldLoopback:a}=i.postprocessing,{boundingBox:s,generationMode:l,...u}=r,d={uuid:cm(),...u};if(["txt2img","img2img"].includes(l)&&t(sm({category:"result",image:{...d,category:"result"}})),l==="unifiedCanvas"&&r.boundingBox){const{boundingBox:h}=r;t(pxe({image:{...d,category:"temp"},boundingBox:h})),i.canvas.shouldAutoSave&&t(sm({image:{...d,category:"result"},category:"result"}))}if(a)switch(cP[o]){case"img2img":{t(k0(d));break}}t(SC()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image generated: ${r.url}`}))}catch(i){console.error(i)}},onIntermediateResult:r=>{try{t(jxe({uuid:cm(),...r,category:"result"})),r.isBase64||t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image generated: ${r.url}`}))}catch(i){console.error(i)}},onPostprocessingResult:r=>{try{t(sm({category:"result",image:{uuid:cm(),...r,category:"result"}})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Postprocessed: ${r.url}`}))}catch(i){console.error(i)}},onProgressUpdate:r=>{try{t(Hs(!0)),t(q6e(r))}catch(i){console.error(i)}},onError:r=>{const{message:i,additionalData:o}=r;try{t(to({timestamp:no(new Date,"isoDateTime"),message:`Server error: ${i}`,level:"error"})),t(TR()),t(SC())}catch(a){console.error(a)}},onGalleryImages:r=>{const{images:i,areMoreImagesAvailable:o,category:a}=r,s=i.map(l=>({uuid:cm(),...l}));t(Nxe({images:s,areMoreImagesAvailable:o,category:a})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Loaded ${i.length} images`}))},onProcessingCanceled:()=>{t(X6e());const{intermediateImage:r}=n().gallery;r&&(r.isBase64||(t(sm({category:"result",image:r})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image saved: ${r.url}`}))),t(SC())),t(to({timestamp:no(new Date,"isoDateTime"),message:"Processing canceled",level:"warning"}))},onImageDeleted:r=>{const{url:i}=r;t(eU(r));const{generation:{initialImage:o,maskPath:a}}=n();(o===i||(o==null?void 0:o.url)===i)&&t(oU()),a===i&&t(cU("")),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image deleted: ${i}`}))},onSystemConfig:r=>{t(Y6e(r)),r.infill_methods.includes("patchmatch")||t(uU(r.infill_methods[0]))},onFoundModels:r=>{const{search_folder:i,found_models:o}=r;t(FU(i)),t(zU(o))},onNewModelAdded:r=>{const{new_model_name:i,model_list:o,update:a}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model Added: ${i}`,level:"info"})),t(Th({title:a?`${zt.t("modelmanager:modelUpdated")}: ${i}`:`${zt.t("modelmanager:modelAdded")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelDeleted:r=>{const{deleted_model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`${zt.t("modelmanager:modelAdded")}: ${i}`,level:"info"})),t(Th({title:`${zt.t("modelmanager:modelEntryDeleted")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelChanged:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(R4(zt.t("common:statusModelChanged"))),t(Hs(!1)),t(lm(!0)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model changed: ${i}`,level:"info"}))},onModelChangeFailed:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(lm(!0)),t(TR()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model change failed: ${i}`,level:"error"}))},onTempFolderEmptied:()=>{t(Th({title:zt.t("toast:tempFoldersEmptied"),status:"success",duration:2500,isClosable:!0}))}}},V8e=()=>{const{origin:e}=new URL(window.location.href),t=j4(e,{timeout:6e4,path:`${window.location.pathname}socket.io`});let n=!1;return i=>o=>a=>{const{onConnect:s,onDisconnect:l,onError:u,onPostprocessingResult:d,onGenerationResult:h,onIntermediateResult:m,onProgressUpdate:v,onGalleryImages:b,onProcessingCanceled:S,onImageDeleted:k,onSystemConfig:E,onModelChanged:_,onFoundModels:T,onNewModelAdded:A,onModelDeleted:I,onModelChangeFailed:R,onTempFolderEmptied:D}=H8e(i),{emitGenerateImage:j,emitRunESRGAN:z,emitRunFacetool:V,emitDeleteImage:K,emitRequestImages:te,emitRequestNewImages:q,emitCancelProcessing:$,emitRequestSystemConfig:U,emitSearchForModels:X,emitAddNewModel:Z,emitDeleteModel:W,emitRequestModelChange:Q,emitSaveStagingAreaImageToGallery:ie,emitRequestEmptyTempFolder:fe}=L8e(i,t);switch(n||(t.on("connect",()=>s()),t.on("disconnect",()=>l()),t.on("error",Se=>u(Se)),t.on("generationResult",Se=>h(Se)),t.on("postprocessingResult",Se=>d(Se)),t.on("intermediateResult",Se=>m(Se)),t.on("progressUpdate",Se=>v(Se)),t.on("galleryImages",Se=>b(Se)),t.on("processingCanceled",()=>{S()}),t.on("imageDeleted",Se=>{k(Se)}),t.on("systemConfig",Se=>{E(Se)}),t.on("foundModels",Se=>{T(Se)}),t.on("newModelAdded",Se=>{A(Se)}),t.on("modelDeleted",Se=>{I(Se)}),t.on("modelChanged",Se=>{_(Se)}),t.on("modelChangeFailed",Se=>{R(Se)}),t.on("tempFolderEmptied",()=>{D()}),n=!0),a.type){case"socketio/generateImage":{j(a.payload);break}case"socketio/runESRGAN":{z(a.payload);break}case"socketio/runFacetool":{V(a.payload);break}case"socketio/deleteImage":{K(a.payload);break}case"socketio/requestImages":{te(a.payload);break}case"socketio/requestNewImages":{q(a.payload);break}case"socketio/cancelProcessing":{$();break}case"socketio/requestSystemConfig":{U();break}case"socketio/searchForModels":{X(a.payload);break}case"socketio/addNewModel":{Z(a.payload);break}case"socketio/deleteModel":{W(a.payload);break}case"socketio/requestModelChange":{Q(a.payload);break}case"socketio/saveStagingAreaImageToGallery":{ie(a.payload);break}case"socketio/requestEmptyTempFolder":{fe();break}}o(a)}},W8e=["cursorPosition","isCanvasInitialized","doesCanvasNeedScaling"].map(e=>`canvas.${e}`),U8e=["currentIteration","currentStatus","currentStep","isCancelable","isConnected","isESRGANAvailable","isGFPGANAvailable","isProcessing","socketId","totalIterations","totalSteps","openModel"].map(e=>`system.${e}`),G8e=["categories","currentCategory","currentImage","currentImageUuid","shouldAutoSwitchToNewImages","shouldHoldGalleryOpen","intermediateImage"].map(e=>`gallery.${e}`),WG=wW({generation:nwe,postprocessing:swe,gallery:Wxe,system:rCe,canvas:Rxe,ui:hCe,lightbox:qxe}),q8e=IW.getPersistConfig({key:"root",storage:MW,rootReducer:WG,blacklist:[...W8e,...U8e,...G8e],debounce:300}),Y8e=zSe(q8e,WG),UG=vSe({reducer:Y8e,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(V8e()),devTools:{actionsDenylist:["canvas/setCursorPosition","canvas/setStageCoordinates","canvas/setStageScale","canvas/setIsDrawing","canvas/setBoundingBoxCoordinates","canvas/setBoundingBoxDimensions","canvas/setIsDrawing","canvas/addPointToCurrentLine"]}}),GG=qSe(UG),SP=w.createContext(null),Me=O5e,he=S5e;let dD;const xP=()=>({setOpenUploader:e=>{e&&(dD=e)},openUploader:dD}),Or=at(e=>e.ui,e=>cP[e.activeTab],{memoizeOptions:{equalityCheck:ke.isEqual}}),K8e=at(e=>e.ui,e=>e.activeTab,{memoizeOptions:{equalityCheck:ke.isEqual}}),mp=at(e=>e.ui,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),fD=e=>async(t,n)=>{const{imageFile:r}=e,i=n(),o=Or(i),a=new FormData;a.append("file",r,r.name),a.append("data",JSON.stringify({kind:"init"}));const l=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:a})).json(),u={uuid:cm(),category:"user",...l};t(sm({image:u,category:"user"})),o==="unifiedCanvas"?t(Dx(u)):o==="img2img"&&t(k0(u))};function X8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:nodes")}),y.jsx("p",{children:e("common:nodesDesc")})]})}const Z8e=()=>{const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress post-processing-work-in-progress",children:[y.jsx("h1",{children:e("common:postProcessing")}),y.jsx("p",{children:e("common:postProcessDesc1")}),y.jsx("p",{children:e("common:postProcessDesc2")}),y.jsx("p",{children:e("common:postProcessDesc3")})]})};function Q8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:training")}),y.jsxs("p",{children:[e("common:trainingDesc1"),y.jsx("br",{}),y.jsx("br",{}),e("common:trainingDesc2")]})]})}function J8e(e){const{i18n:t}=Ve(),n=localStorage.getItem("i18nextLng");N.useEffect(()=>{e()},[e]),N.useEffect(()=>{t.on("languageChanged",()=>{e()})},[e,t,n])}const e_e=yt({displayName:"ImageToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{transform:"matrix(1.10943,0,0,1.10943,-206.981,-213.533)",children:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M688.533,2405.95L542.987,2405.95C349.532,2405.95 192.47,2248.89 192.47,2055.44L192.47,542.987C192.47,349.532 349.532,192.47 542.987,192.47L2527.88,192.47C2721.33,192.47 2878.4,349.532 2878.4,542.987L2878.4,1172.79L3023.94,1172.79C3217.4,1172.79 3374.46,1329.85 3374.46,1523.3C3374.46,1523.3 3374.46,3035.75 3374.46,3035.75C3374.46,3229.21 3217.4,3386.27 3023.94,3386.27L1039.05,3386.27C845.595,3386.27 688.533,3229.21 688.533,3035.75L688.533,2405.95ZM3286.96,2634.37L3286.96,1523.3C3286.96,1378.14 3169.11,1260.29 3023.94,1260.29C3023.94,1260.29 1039.05,1260.29 1039.05,1260.29C893.887,1260.29 776.033,1378.14 776.033,1523.3L776.033,2489.79L1440.94,1736.22L2385.83,2775.59L2880.71,2200.41L3286.96,2634.37ZM2622.05,1405.51C2778.5,1405.51 2905.51,1532.53 2905.51,1688.98C2905.51,1845.42 2778.5,1972.44 2622.05,1972.44C2465.6,1972.44 2338.58,1845.42 2338.58,1688.98C2338.58,1532.53 2465.6,1405.51 2622.05,1405.51ZM2790.9,1172.79L1323.86,1172.79L944.882,755.906L279.97,1509.47L279.97,542.987C279.97,397.824 397.824,279.97 542.987,279.97C542.987,279.97 2527.88,279.97 2527.88,279.97C2673.04,279.97 2790.9,397.824 2790.9,542.987L2790.9,1172.79ZM2125.98,425.197C2282.43,425.197 2409.45,552.213 2409.45,708.661C2409.45,865.11 2282.43,992.126 2125.98,992.126C1969.54,992.126 1842.52,865.11 1842.52,708.661C1842.52,552.213 1969.54,425.197 2125.98,425.197Z"})})}),t_e=yt({displayName:"NodesIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 0,515.578 0,770.787L0,2766.03C0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM3427.88,770.787L3427.88,2766.03C3427.88,2957.53 3272.4,3113.01 3080.9,3113.01C3080.9,3113.01 462.407,3113.01 462.407,3113.01C270.906,3113.01 115.431,2957.53 115.431,2766.03L115.431,770.787C115.431,579.286 270.906,423.812 462.407,423.812L3080.9,423.812C3272.4,423.812 3427.88,579.286 3427.88,770.787ZM1214.23,1130.69L1321.47,1130.69C1324.01,1130.69 1326.54,1130.53 1329.05,1130.2C1329.05,1130.2 1367.3,1125.33 1397.94,1149.8C1421.63,1168.72 1437.33,1204.3 1437.33,1265.48L1437.33,2078.74L1220.99,2078.74C1146.83,2078.74 1086.61,2138.95 1086.61,2213.12L1086.61,2762.46C1086.61,2836.63 1146.83,2896.84 1220.99,2896.84L1770.34,2896.84C1844.5,2896.84 1904.71,2836.63 1904.71,2762.46L1904.71,2213.12C1904.71,2138.95 1844.5,2078.74 1770.34,2078.74L1554,2078.74L1554,1604.84C1625.84,1658.19 1703.39,1658.1 1703.39,1658.1C1703.54,1658.1 1703.69,1658.11 1703.84,1658.11L2362.2,1658.11L2362.2,1874.44C2362.2,1948.61 2422.42,2008.82 2496.58,2008.82L3045.93,2008.82C3120.09,2008.82 3180.3,1948.61 3180.3,1874.44L3180.3,1325.1C3180.3,1250.93 3120.09,1190.72 3045.93,1190.72L2496.58,1190.72C2422.42,1190.72 2362.2,1250.93 2362.2,1325.1L2362.2,1558.97L2362.2,1541.44L1704.23,1541.44C1702.2,1541.37 1650.96,1539.37 1609.51,1499.26C1577.72,1468.49 1554,1416.47 1554,1331.69L1554,1265.48C1554,1153.86 1513.98,1093.17 1470.76,1058.64C1411.24,1011.1 1338.98,1012.58 1319.15,1014.03L1214.23,1014.03L1214.23,796.992C1214.23,722.828 1154.02,662.617 1079.85,662.617L530.507,662.617C456.343,662.617 396.131,722.828 396.131,796.992L396.131,1346.34C396.131,1420.5 456.343,1480.71 530.507,1480.71L1079.85,1480.71C1154.02,1480.71 1214.23,1420.5 1214.23,1346.34L1214.23,1130.69Z"})}),n_e=yt({displayName:"PostprocessingIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M709.477,1596.53L992.591,1275.66L2239.09,2646.81L2891.95,1888.03L3427.88,2460.51L3427.88,994.78C3427.88,954.66 3421.05,916.122 3408.5,880.254L3521.9,855.419C3535.8,899.386 3543.31,946.214 3543.31,994.78L3543.31,2990.02C3543.31,3245.23 3336.11,3452.43 3080.9,3452.43C3080.9,3452.43 462.407,3452.43 462.407,3452.43C207.197,3452.43 -0,3245.23 -0,2990.02L-0,994.78C-0,739.571 207.197,532.373 462.407,532.373L505.419,532.373L504.644,532.546L807.104,600.085C820.223,601.729 832.422,607.722 841.77,617.116C850.131,625.517 855.784,636.21 858.055,647.804L462.407,647.804C270.906,647.804 115.431,803.279 115.431,994.78L115.431,2075.73L-0,2101.5L115.431,2127.28L115.431,2269.78L220.47,2150.73L482.345,2209.21C503.267,2211.83 522.722,2221.39 537.63,2236.37C552.538,2251.35 562.049,2270.9 564.657,2291.93L671.84,2776.17L779.022,2291.93C781.631,2270.9 791.141,2251.35 806.05,2236.37C820.958,2221.39 840.413,2211.83 861.334,2209.21L1353.15,2101.5L861.334,1993.8C840.413,1991.18 820.958,1981.62 806.05,1966.64C791.141,1951.66 781.631,1932.11 779.022,1911.08L709.477,1596.53ZM671.84,1573.09L725.556,2006.07C726.863,2016.61 731.63,2026.4 739.101,2033.91C746.573,2041.42 756.323,2046.21 766.808,2047.53L1197.68,2101.5L766.808,2155.48C756.323,2156.8 746.573,2161.59 739.101,2169.09C731.63,2176.6 726.863,2186.4 725.556,2196.94L671.84,2629.92L618.124,2196.94C616.817,2186.4 612.05,2176.6 604.579,2169.09C597.107,2161.59 587.357,2156.8 576.872,2155.48L146.001,2101.5L576.872,2047.53C587.357,2046.21 597.107,2041.42 604.579,2033.91C612.05,2026.4 616.817,2016.61 618.124,2006.07L671.84,1573.09ZM609.035,1710.36L564.657,1911.08C562.049,1932.11 552.538,1951.66 537.63,1966.64C522.722,1981.62 503.267,1991.18 482.345,1993.8L328.665,2028.11L609.035,1710.36ZM2297.12,938.615L2451.12,973.003C2480.59,976.695 2507.99,990.158 2528.99,1011.26C2549.99,1032.37 2563.39,1059.9 2567.07,1089.52L2672.73,1566.9C2634.5,1580.11 2593.44,1587.29 2550.72,1587.29C2344.33,1587.29 2176.77,1419.73 2176.77,1213.34C2176.77,1104.78 2223.13,1006.96 2297.12,938.615ZM2718.05,76.925L2793.72,686.847C2795.56,701.69 2802.27,715.491 2812.8,726.068C2823.32,736.644 2837.06,743.391 2851.83,745.242L3458.78,821.28L2851.83,897.318C2837.06,899.168 2823.32,905.916 2812.8,916.492C2802.27,927.068 2795.56,940.87 2793.72,955.712L2718.05,1565.63L2642.38,955.712C2640.54,940.87 2633.83,927.068 2623.3,916.492C2612.78,905.916 2599.04,899.168 2584.27,897.318L1977.32,821.28L2584.27,745.242C2599.04,743.391 2612.78,736.644 2623.3,726.068C2633.83,715.491 2640.54,701.69 2642.38,686.847L2718.05,76.925ZM2883.68,1043.06C2909.88,1094.13 2924.67,1152.02 2924.67,1213.34C2924.67,1335.4 2866.06,1443.88 2775.49,1512.14L2869.03,1089.52C2871.07,1073.15 2876.07,1057.42 2883.68,1043.06ZM925.928,201.2L959.611,472.704C960.431,479.311 963.42,485.455 968.105,490.163C972.79,494.871 978.904,497.875 985.479,498.698L1255.66,532.546L985.479,566.395C978.904,567.218 972.79,570.222 968.105,574.93C963.42,579.638 960.431,585.781 959.611,592.388L925.928,863.893L892.245,592.388C891.425,585.781 888.436,579.638 883.751,574.93C879.066,570.222 872.952,567.218 866.378,566.395L596.195,532.546L866.378,498.698C872.952,497.875 879.066,494.871 883.751,490.163C888.436,485.455 891.425,479.311 892.245,472.704L925.928,201.2ZM2864.47,532.373L3080.9,532.373C3258.7,532.373 3413.2,632.945 3490.58,780.281L3319.31,742.773C3257.14,683.925 3173.2,647.804 3080.9,647.804L2927.07,647.804C2919.95,642.994 2913.25,637.473 2907.11,631.298C2886.11,610.194 2872.71,582.655 2869.03,553.04L2864.47,532.373ZM1352.36,532.373L2571.64,532.373L2567.07,553.04C2563.39,582.655 2549.99,610.194 2528.99,631.298C2522.85,637.473 2516.16,642.994 2509.03,647.804L993.801,647.804C996.072,636.21 1001.73,625.517 1010.09,617.116C1019.43,607.722 1031.63,601.729 1044.75,600.085L1353.15,532.546L1352.36,532.373Z"})}),r_e=yt({displayName:"TextToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",transform:"matrix(1.11667,0,0,1.1066,-231.131,-213.062)",children:y.jsx("path",{d:"M2209.59,1137.35L2209.59,1098.17C2177.13,1108.99 2125.74,1121.91 2055.41,1136.94C2054.77,1137.08 2054.14,1137.21 2053.49,1137.35L1662.79,1137.35C1687.75,1101.98 1720.8,1074.35 1761.93,1054.44C1808.52,1031.9 1875.69,1012.22 1963.45,995.386C2081.86,973.146 2163.91,952.409 2209.59,933.174L2209.59,907.929C2209.59,859.241 2197.57,824.529 2173.53,803.792C2149.48,783.054 2104.1,772.686 2037.38,772.686C1992.3,772.686 1957.14,781.552 1931.89,799.284C1906.64,817.015 1886.21,848.121 1870.58,892.601L1640.67,851.127C1666.51,758.56 1710.99,690.037 1774.11,645.557C1837.22,601.077 1930.99,578.837 2055.41,578.837C2168.42,578.837 2252.57,592.211 2307.87,618.959C2363.17,645.707 2402.09,679.668 2424.63,720.842C2447.17,762.016 2458.44,837.602 2458.44,947.6L2456.7,1137.35L3021.34,1137.35C3214.79,1137.35 3371.86,1294.41 3371.86,1487.87C3371.86,1487.87 3371.86,3000.32 3371.86,3000.32C3371.86,3193.78 3214.79,3350.84 3021.34,3350.84C3021.34,3350.84 1036.45,3350.84 1036.45,3350.84C842.991,3350.84 685.93,3193.78 685.93,3000.32L685.93,1487.87C685.93,1400.21 718.174,1320.03 771.448,1258.54L772.123,1257.76L607.408,1257.76L498.311,1558L215.202,1558L730.028,236.22L1012.24,236.22L1373.06,1137.35L2209.59,1137.35ZM3284.36,2598.93L3284.36,1487.87C3284.36,1342.71 3166.5,1224.85 3021.34,1224.85C3021.34,1224.85 1036.45,1224.85 1036.45,1224.85C891.284,1224.85 773.43,1342.71 773.43,1487.87L773.43,2454.35L1438.34,1700.79L2383.22,2740.16L2878.11,2164.98L3284.36,2598.93ZM2619.44,1370.08C2775.89,1370.08 2902.91,1497.1 2902.91,1653.54C2902.91,1809.99 2775.89,1937.01 2619.44,1937.01C2462.99,1937.01 2335.98,1809.99 2335.98,1653.54C2335.98,1497.1 2462.99,1370.08 2619.44,1370.08ZM772.877,1256.89L772.849,1256.93L773.167,1256.57L772.877,1256.89ZM773.634,1256.04L773.563,1256.12L773.985,1255.64L773.634,1256.04ZM774.394,1255.18L774.276,1255.31L774.746,1254.78L774.394,1255.18ZM775.157,1254.32L774.988,1254.51L775.493,1253.95L775.157,1254.32ZM775.923,1253.47L775.698,1253.72L776.237,1253.12L775.923,1253.47ZM776.691,1252.62L776.403,1252.94L776.979,1252.3L776.691,1252.62ZM777.462,1251.77L777.098,1252.17L777.723,1251.49L777.462,1251.77ZM925.081,1155.44C868.026,1174.57 817.508,1207.99 777.775,1251.43C817.511,1207.99 868.031,1174.57 925.081,1155.44ZM925.646,1155.25L925.108,1155.43L926.103,1155.1L925.646,1155.25ZM935.286,1152.2C932.214,1153.12 929.159,1154.09 926.13,1155.09C929.165,1154.09 932.219,1153.12 935.286,1152.2ZM935.716,1152.07L935.384,1152.17L936.292,1151.89L935.716,1152.07ZM936.843,1151.73L936.451,1151.85L937.327,1151.59L936.843,1151.73ZM937.972,1151.4L937.514,1151.53L938.377,1151.28L937.972,1151.4ZM939.102,1151.07L938.57,1151.22L939.438,1150.97L939.102,1151.07ZM940.233,1150.74L939.613,1150.92L940.505,1150.67L940.233,1150.74ZM946.659,1148.98C944.639,1149.51 942.626,1150.07 940.626,1150.63C942.631,1150.06 944.642,1149.51 946.659,1148.98ZM947.056,1148.87L946.829,1148.93L947.659,1148.71L947.056,1148.87ZM948.198,1148.57L947.919,1148.65L948.705,1148.44L948.198,1148.57ZM949.342,1148.28L949.008,1148.37L949.771,1148.17L949.342,1148.28ZM950.488,1147.99L950.096,1148.09L950.848,1147.9L950.488,1147.99ZM951.635,1147.7L951.182,1147.81L951.932,1147.63L951.635,1147.7ZM952.783,1147.42L952.262,1147.55L953.022,1147.36L952.783,1147.42ZM953.933,1147.14L953.327,1147.28L954.115,1147.09L953.933,1147.14ZM958.213,1146.13C956.927,1146.42 955.644,1146.73 954.354,1147.04C955.637,1146.73 956.923,1146.43 958.213,1146.13ZM958.547,1146.06L958.409,1146.09L959.174,1145.91L958.547,1146.06ZM959.704,1145.79L959.517,1145.84L960.229,1145.68L959.704,1145.79ZM960.863,1145.54L960.626,1145.59L961.311,1145.44L960.863,1145.54ZM962.023,1145.28L961.736,1145.35L962.406,1145.2L962.023,1145.28ZM963.184,1145.03L962.846,1145.11L963.508,1144.97L963.184,1145.03ZM964.347,1144.79L963.956,1144.87L964.615,1144.73L964.347,1144.79ZM965.511,1144.55L965.066,1144.64L965.725,1144.5L965.511,1144.55ZM966.677,1144.31L966.172,1144.41L966.838,1144.28L966.677,1144.31ZM967.844,1144.08L967.269,1144.19L967.953,1144.05L967.844,1144.08ZM970.183,1143.62C969.793,1143.69 969.403,1143.77 969.013,1143.85L969.055,1143.84C969.413,1143.77 969.771,1143.7 970.129,1143.63L970.183,1143.62ZM971.354,1143.4L971.245,1143.42L971.882,1143.3L971.354,1143.4ZM972.526,1143.18L972.37,1143.21L972.987,1143.09L972.526,1143.18ZM973.7,1142.96L973.496,1143L974.103,1142.89L973.7,1142.96ZM974.876,1142.75L974.624,1142.8L975.225,1142.69L974.876,1142.75ZM976.052,1142.55L975.754,1142.6L976.349,1142.49L976.052,1142.55ZM977.23,1142.34L976.885,1142.4L977.476,1142.3L977.23,1142.34ZM978.41,1142.14L978.019,1142.21L978.605,1142.11L978.41,1142.14ZM979.59,1141.95L979.156,1142.02L979.736,1141.92L979.59,1141.95ZM980.772,1141.76L980.299,1141.83L980.868,1141.74L980.772,1141.76ZM981.955,1141.57L981.464,1141.65L982.002,1141.56L981.955,1141.57ZM983.14,1141.39L983.1,1141.39L983.605,1141.32L983.14,1141.39ZM984.326,1141.21L984.239,1141.22L984.778,1141.14L984.326,1141.21ZM985.513,1141.03L985.379,1141.05L985.928,1140.97L985.513,1141.03ZM986.702,1140.86L986.521,1140.89L987.073,1140.81L986.702,1140.86ZM987.891,1140.69L987.665,1140.73L988.218,1140.65L987.891,1140.69ZM989.082,1140.53L988.811,1140.57L989.363,1140.49L989.082,1140.53ZM990.275,1140.37L989.96,1140.41L990.508,1140.34L990.275,1140.37ZM991.468,1140.22L991.113,1140.26L991.654,1140.19L991.468,1140.22ZM992.663,1140.07L992.273,1140.12L992.8,1140.05L992.663,1140.07ZM993.859,1139.92L993.447,1139.97L993.948,1139.91L993.859,1139.92ZM995.056,1139.78L994.671,1139.82L995.097,1139.77L995.056,1139.78ZM996.255,1139.64L996.23,1139.64L996.578,1139.6L996.255,1139.64ZM997.454,1139.5L997.383,1139.51L997.852,1139.46L997.454,1139.5ZM998.655,1139.37L998.537,1139.38L999.041,1139.33L998.655,1139.37ZM999.857,1139.24L999.693,1139.26L1000.21,1139.21L999.857,1139.24ZM1001.06,1139.12L1000.85,1139.14L1001.38,1139.09L1001.06,1139.12ZM1002.26,1139L1002.01,1139.03L1002.54,1138.98L1002.26,1139ZM1003.47,1138.89L1003.18,1138.91L1003.7,1138.87L1003.47,1138.89ZM1004.68,1138.78L1004.34,1138.81L1004.86,1138.76L1004.68,1138.78ZM1005.89,1138.67L1005.52,1138.7L1006.02,1138.66L1005.89,1138.67ZM1007.1,1138.57L1006.71,1138.6L1007.18,1138.56L1007.1,1138.57ZM1008.31,1138.47L1007.96,1138.5L1008.35,1138.46L1008.31,1138.47ZM1009.52,1138.37L1009.5,1138.38L1009.72,1138.36L1009.52,1138.37ZM1010.73,1138.28L1010.67,1138.29L1011.1,1138.26L1010.73,1138.28ZM1011.94,1138.2L1011.84,1138.2L1012.32,1138.17L1011.94,1138.2ZM1013.16,1138.12L1013,1138.13L1013.51,1138.09L1013.16,1138.12ZM1014.37,1138.04L1014.17,1138.05L1014.69,1138.02L1014.37,1138.04ZM1015.59,1137.96L1015.35,1137.98L1015.86,1137.95L1015.59,1137.96ZM1016.81,1137.89L1016.52,1137.91L1017.04,1137.88L1016.81,1137.89ZM1018.03,1137.83L1017.7,1137.85L1018.21,1137.82L1018.03,1137.83ZM1019.25,1137.77L1018.89,1137.79L1019.39,1137.76L1019.25,1137.77ZM1020.47,1137.71L1020.1,1137.73L1020.56,1137.71L1020.47,1137.71ZM1021.69,1137.66L1021.36,1137.67L1021.74,1137.66L1021.69,1137.66ZM1022.92,1137.61L1022.91,1137.61L1023.02,1137.61L1022.92,1137.61ZM1024.14,1137.57L1024.09,1137.57L1024.49,1137.55L1024.14,1137.57ZM1025.37,1137.52L1025.27,1137.53L1025.74,1137.51L1025.37,1137.52ZM1026.6,1137.49L1026.45,1137.49L1026.94,1137.48L1026.6,1137.49ZM1027.82,1137.46L1027.63,1137.46L1028.14,1137.45L1027.82,1137.46ZM1029.05,1137.43L1028.81,1137.43L1029.33,1137.42L1029.05,1137.43ZM1030.28,1137.41L1030,1137.41L1030.52,1137.4L1030.28,1137.41ZM1031.51,1137.39L1031.19,1137.39L1031.7,1137.38L1031.51,1137.39ZM1032.75,1137.37L1032.39,1137.38L1032.89,1137.37L1032.75,1137.37ZM1033.98,1137.36L1033.61,1137.36L1034.07,1137.36L1033.98,1137.36ZM1035.21,1137.35L1034.87,1137.36L1035.26,1137.35L1035.21,1137.35ZM1050.1,1035.06L867.977,544.575L689.455,1035.06L1050.1,1035.06Z"})})}),i_e=yt({displayName:"TrainingIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0,768.593L0,2774.71C0,2930.6 78.519,3068.3 198.135,3150.37C273.059,3202.68 364.177,3233.38 462.407,3233.38C462.407,3233.38 3080.9,3233.38 3080.9,3233.38C3179.13,3233.38 3270.25,3202.68 3345.17,3150.37C3464.79,3068.3 3543.31,2930.6 3543.31,2774.71L3543.31,768.593C3543.31,517.323 3339.31,313.324 3088.04,313.324L455.269,313.324C203.999,313.324 0,517.323 0,768.593ZM3427.88,775.73L3427.88,2770.97C3427.88,2962.47 3272.4,3117.95 3080.9,3117.95L462.407,3117.95C270.906,3117.95 115.431,2962.47 115.431,2770.97C115.431,2770.97 115.431,775.73 115.431,775.73C115.431,584.229 270.906,428.755 462.407,428.755C462.407,428.755 3080.9,428.755 3080.9,428.755C3272.4,428.755 3427.88,584.229 3427.88,775.73ZM796.24,1322.76L796.24,1250.45C796.24,1199.03 836.16,1157.27 885.331,1157.27C885.331,1157.27 946.847,1157.27 946.847,1157.27C996.017,1157.27 1035.94,1199.03 1035.94,1250.45L1035.94,1644.81L2507.37,1644.81L2507.37,1250.45C2507.37,1199.03 2547.29,1157.27 2596.46,1157.27C2596.46,1157.27 2657.98,1157.27 2657.98,1157.27C2707.15,1157.27 2747.07,1199.03 2747.07,1250.45L2747.07,1322.76C2756.66,1319.22 2767.02,1317.29 2777.83,1317.29C2777.83,1317.29 2839.34,1317.29 2839.34,1317.29C2888.51,1317.29 2928.43,1357.21 2928.43,1406.38L2928.43,1527.32C2933.51,1526.26 2938.77,1525.71 2944.16,1525.71L2995.3,1525.71C3036.18,1525.71 3069.37,1557.59 3069.37,1596.86C3069.37,1596.86 3069.37,1946.44 3069.37,1946.44C3069.37,1985.72 3036.18,2017.6 2995.3,2017.6C2995.3,2017.6 2944.16,2017.6 2944.16,2017.6C2938.77,2017.6 2933.51,2017.04 2928.43,2015.99L2928.43,2136.92C2928.43,2186.09 2888.51,2226.01 2839.34,2226.01L2777.83,2226.01C2767.02,2226.01 2756.66,2224.08 2747.07,2220.55L2747.07,2292.85C2747.07,2344.28 2707.15,2386.03 2657.98,2386.03C2657.98,2386.03 2596.46,2386.03 2596.46,2386.03C2547.29,2386.03 2507.37,2344.28 2507.37,2292.85L2507.37,1898.5L1035.94,1898.5L1035.94,2292.85C1035.94,2344.28 996.017,2386.03 946.847,2386.03C946.847,2386.03 885.331,2386.03 885.331,2386.03C836.16,2386.03 796.24,2344.28 796.24,2292.85L796.24,2220.55C786.651,2224.08 776.29,2226.01 765.482,2226.01L703.967,2226.01C654.796,2226.01 614.876,2186.09 614.876,2136.92L614.876,2015.99C609.801,2017.04 604.539,2017.6 599.144,2017.6C599.144,2017.6 548.003,2017.6 548.003,2017.6C507.125,2017.6 473.937,1985.72 473.937,1946.44C473.937,1946.44 473.937,1596.86 473.937,1596.86C473.937,1557.59 507.125,1525.71 548.003,1525.71L599.144,1525.71C604.539,1525.71 609.801,1526.26 614.876,1527.32L614.876,1406.38C614.876,1357.21 654.796,1317.29 703.967,1317.29C703.967,1317.29 765.482,1317.29 765.482,1317.29C776.29,1317.29 786.651,1319.22 796.24,1322.76ZM977.604,1250.45C977.604,1232.7 963.822,1218.29 946.847,1218.29L885.331,1218.29C868.355,1218.29 854.573,1232.7 854.573,1250.45L854.573,2292.85C854.573,2310.61 868.355,2325.02 885.331,2325.02L946.847,2325.02C963.822,2325.02 977.604,2310.61 977.604,2292.85L977.604,1250.45ZM2565.7,1250.45C2565.7,1232.7 2579.49,1218.29 2596.46,1218.29L2657.98,1218.29C2674.95,1218.29 2688.73,1232.7 2688.73,1250.45L2688.73,2292.85C2688.73,2310.61 2674.95,2325.02 2657.98,2325.02L2596.46,2325.02C2579.49,2325.02 2565.7,2310.61 2565.7,2292.85L2565.7,1250.45ZM673.209,1406.38L673.209,2136.92C673.209,2153.9 686.991,2167.68 703.967,2167.68L765.482,2167.68C782.458,2167.68 796.24,2153.9 796.24,2136.92L796.24,1406.38C796.24,1389.41 782.458,1375.63 765.482,1375.63L703.967,1375.63C686.991,1375.63 673.209,1389.41 673.209,1406.38ZM2870.1,1406.38L2870.1,2136.92C2870.1,2153.9 2856.32,2167.68 2839.34,2167.68L2777.83,2167.68C2760.85,2167.68 2747.07,2153.9 2747.07,2136.92L2747.07,1406.38C2747.07,1389.41 2760.85,1375.63 2777.83,1375.63L2839.34,1375.63C2856.32,1375.63 2870.1,1389.41 2870.1,1406.38ZM614.876,1577.5C610.535,1574.24 605.074,1572.3 599.144,1572.3L548.003,1572.3C533.89,1572.3 522.433,1583.3 522.433,1596.86L522.433,1946.44C522.433,1960 533.89,1971.01 548.003,1971.01L599.144,1971.01C605.074,1971.01 610.535,1969.07 614.876,1965.81L614.876,1577.5ZM2928.43,1965.81L2928.43,1577.5C2932.77,1574.24 2938.23,1572.3 2944.16,1572.3L2995.3,1572.3C3009.42,1572.3 3020.87,1583.3 3020.87,1596.86L3020.87,1946.44C3020.87,1960 3009.42,1971.01 2995.3,1971.01L2944.16,1971.01C2938.23,1971.01 2932.77,1969.07 2928.43,1965.81ZM2507.37,1703.14L1035.94,1703.14L1035.94,1840.16L2507.37,1840.16L2507.37,1898.38L2507.37,1659.46L2507.37,1703.14Z"})}),o_e=yt({displayName:"UnifiedCanvasIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 -0,515.578 -0,770.787L-0,2766.03C-0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM922.933,3113.01L462.407,3113.01C437.741,3113.01 413.674,3110.43 390.453,3105.52L390.453,2899.11L922.933,2899.11L922.933,3113.01ZM947.933,2899.11L947.933,3113.01L1480.41,3113.01L1480.41,2899.11L947.933,2899.11ZM1505.41,2899.11L1505.41,3113.01L2037.89,3113.01L2037.89,2899.11L1505.41,2899.11ZM2062.89,2899.11L2062.89,3113.01L2595.37,3113.01L2595.37,2899.11L2062.89,2899.11ZM3152.85,3105.52C3129.63,3110.43 3105.57,3113.01 3080.9,3113.01L2620.37,3113.01L2620.37,2899.11L3152.85,2899.11L3152.85,3105.52ZM365.453,3099.26L365.408,3099.24C354.521,3096.07 343.79,3092.37 333.266,3088.14C315.377,3080.95 298.094,3072.26 281.651,3062.2C263.114,3050.85 245.648,3037.77 229.544,3023.17C213.34,3008.49 198.518,2992.28 185.34,2974.83C174.102,2959.94 164.06,2944.16 155.353,2927.66C150.517,2918.5 146.102,2909.13 142.102,2899.57L141.91,2899.11L365.453,2899.11L365.453,3099.26ZM3401.4,2899.11C3361.33,2995.39 3279.12,3069.8 3177.85,3099.26L3177.85,2899.11L3401.4,2899.11ZM132.624,2874.11C121.465,2840.08 115.431,2803.76 115.431,2766.03L115.431,2341.63L365.453,2341.63L365.453,2874.11L132.624,2874.11ZM922.933,918.103L922.933,669.193L390.453,669.193L390.453,1201.67L731.014,1201.67L731.014,1226.67L390.453,1226.67L390.453,1759.15L731.014,1759.15L731.014,1784.15L390.453,1784.15L390.453,2316.63L731.014,2316.63L731.014,2341.63L390.453,2341.63L390.453,2874.11L922.933,2874.11L922.933,2625.2C931.122,2627.1 939.463,2628.6 947.933,2629.66L947.933,2874.11L1480.41,2874.11L1480.41,2631.62L1505.41,2631.62L1505.41,2874.11L2037.89,2874.11L2037.89,2631.62L2062.89,2631.62L2062.89,2874.11L2595.37,2874.11L2595.37,2629.66C2603.85,2628.6 2612.18,2627.1 2620.37,2625.2L2620.37,2874.11L3152.85,2874.11L3152.85,2341.63L2812.29,2341.63L2812.29,2316.63L3152.85,2316.63L3152.85,1784.15L2812.29,1784.15L2812.29,1759.15L3152.85,1759.15L3152.85,1226.67L2812.29,1226.67L2812.29,1201.67L3152.85,1201.67L3152.85,669.193L2620.37,669.193L2620.37,918.103C2612.18,916.203 2603.84,914.708 2595.37,913.642L2595.37,669.193L2062.89,669.193L2062.89,911.688L2037.89,911.688L2037.89,669.193L1505.41,669.193L1505.41,911.688L1480.41,911.688L1480.41,669.193L947.933,669.193L947.933,913.642C939.462,914.708 931.123,916.203 922.933,918.103ZM3427.88,2341.63L3427.88,2766.03C3427.88,2803.76 3421.84,2840.08 3410.68,2874.11L3177.85,2874.11L3177.85,2341.63L3427.88,2341.63ZM2494.01,2603.04L2524.53,2603.04C2541.26,2603.04 2557.62,2601.44 2573.47,2598.39L2598.02,2593.66L2588.56,2544.56L2564.01,2549.29C2551.23,2551.75 2538.03,2553.04 2524.53,2553.04L2494.01,2553.04L2494.01,2603.04ZM1294.01,2603.04L1394.01,2603.04L1394.01,2553.04L1294.01,2553.04L1294.01,2603.04ZM1894.01,2603.04L1994.01,2603.04L1994.01,2553.04L1894.01,2553.04L1894.01,2603.04ZM2194.01,2603.04L2294.01,2603.04L2294.01,2553.04L2194.01,2553.04L2194.01,2603.04ZM1144.01,2603.04L1244.01,2603.04L1244.01,2553.04L1144.01,2553.04L1144.01,2603.04ZM1444.01,2603.04L1544.01,2603.04L1544.01,2553.04L1444.01,2553.04L1444.01,2603.04ZM1594.01,2603.04L1694.01,2603.04L1694.01,2553.04L1594.01,2553.04L1594.01,2603.04ZM2344.01,2603.04L2444.01,2603.04L2444.01,2553.04L2344.01,2553.04L2344.01,2603.04ZM2044.01,2603.04L2144.01,2603.04L2144.01,2553.04L2044.01,2553.04L2044.01,2603.04ZM994.01,2603.04L1094.01,2603.04L1094.01,2553.04L994.01,2553.04L994.01,2603.04ZM1744.01,2603.04L1844.01,2603.04L1844.01,2553.04L1744.01,2553.04L1744.01,2603.04ZM864.145,2551.46C878.835,2562.5 894.741,2572 911.624,2579.74L934.352,2590.15L955.18,2544.7L932.452,2534.28C918.844,2528.05 906.024,2520.39 894.185,2511.49L874.199,2496.47L844.16,2536.44L864.145,2551.46ZM2674.44,2554.92C2689.46,2544.16 2703.28,2531.82 2715.65,2518.14L2732.42,2499.61L2695.35,2466.06L2678.58,2484.6C2668.59,2495.63 2657.44,2505.59 2645.32,2514.28L2625,2528.84L2654.12,2569.48L2674.44,2554.92ZM865.632,1911.31L1339.59,1374.15L2030.89,2134.59L2392.97,1713.77L2677.68,2017.9L2677.68,2324.93C2677.68,2424.23 2597.06,2504.85 2497.76,2504.85C2497.76,2504.85 1045.55,2504.85 1045.55,2504.85C946.251,2504.85 865.632,2424.23 865.632,2324.93L865.632,1911.31ZM771.251,2417.22C776.455,2435.14 783.552,2452.26 792.313,2468.35L804.27,2490.3L848.18,2466.39L836.223,2444.43C829.171,2431.49 823.457,2417.7 819.268,2403.28L812.297,2379.27L764.28,2393.21L771.251,2417.22ZM2770.36,2422.83C2775.83,2405.47 2779.52,2387.33 2781.2,2368.61L2783.43,2343.71L2733.64,2339.24L2731.4,2364.14C2730.05,2379.21 2727.08,2393.82 2722.67,2407.79L2715.15,2431.63L2762.84,2446.67L2770.36,2422.83ZM761.068,2236.12L761.068,2336.12L811.068,2336.12L811.068,2236.12L761.068,2236.12ZM3177.85,1784.15L3177.85,2316.63L3427.88,2316.63L3427.88,1784.15L3177.85,1784.15ZM115.431,1784.15L115.431,2316.63L365.453,2316.63L365.453,1784.15L115.431,1784.15ZM2782.24,2291.41L2782.24,2191.41L2732.24,2191.41L2732.24,2291.41L2782.24,2291.41ZM761.068,2086.12L761.068,2186.12L811.068,2186.12L811.068,2086.12L761.068,2086.12ZM2782.24,2141.41L2782.24,2041.4L2732.24,2041.4L2732.24,2141.41L2782.24,2141.41ZM761.068,1936.12L761.068,2036.12L811.068,2036.12L811.068,1936.12L761.068,1936.12ZM2782.24,1991.4L2782.24,1891.4L2732.24,1891.4L2732.24,1991.4L2782.24,1991.4ZM761.068,1786.12L761.068,1886.12L811.068,1886.12L811.068,1786.12L761.068,1786.12ZM2782.24,1841.4L2782.24,1741.41L2732.24,1741.41L2732.24,1841.4L2782.24,1841.4ZM3177.85,1226.67L3177.85,1759.15L3427.88,1759.15L3427.88,1226.67L3177.85,1226.67ZM115.431,1226.67L115.431,1759.15L365.453,1759.15L365.453,1226.67L115.431,1226.67ZM761.068,1636.12L761.068,1736.12L811.068,1736.12L811.068,1636.12L761.068,1636.12ZM2782.24,1691.41L2782.24,1591.41L2732.24,1591.41L2732.24,1691.41L2782.24,1691.41ZM761.068,1486.12L761.068,1586.12L811.068,1586.12L811.068,1486.12L761.068,1486.12ZM2203.72,1132.2C2318.18,1132.2 2411.11,1225.13 2411.11,1339.59C2411.11,1454.05 2318.18,1546.98 2203.72,1546.98C2089.26,1546.98 1996.33,1454.05 1996.33,1339.59C1996.33,1225.13 2089.26,1132.2 2203.72,1132.2ZM2782.24,1541.41L2782.24,1441.41L2732.24,1441.41L2732.24,1541.41L2782.24,1541.41ZM761.068,1336.12L761.068,1436.12L811.068,1436.12L811.068,1336.12L761.068,1336.12ZM2782.24,1391.41L2782.24,1291.41L2732.24,1291.41L2732.24,1391.41L2782.24,1391.41ZM761.068,1186.12L761.068,1286.12L811.068,1286.12L811.068,1186.12L761.068,1186.12ZM2732.24,1197.98L2732.24,1241.41L2782.24,1241.41L2782.24,1172.98L2781.03,1172.98C2780.06,1162.82 2778.49,1152.83 2776.36,1143.04L2771.04,1118.62L2722.18,1129.24L2727.5,1153.67C2730.61,1167.95 2732.24,1182.78 2732.24,1197.98ZM3412.74,669.193L3412.89,669.694C3414.66,675.5 3416.28,681.348 3417.73,687.238C3420.46,698.265 3422.65,709.427 3424.28,720.67C3425.85,731.554 3426.91,742.513 3427.45,753.497C3427.74,759.256 3427.87,765.021 3427.88,770.787L3427.88,1201.67L3177.85,1201.67L3177.85,669.193L3412.74,669.193ZM115.431,1201.67L115.431,770.787C115.436,765.021 115.572,759.256 115.855,753.497C116.395,742.513 117.453,731.554 119.031,720.67C120.66,709.427 122.844,698.265 125.574,687.238C127.032,681.348 128.65,675.5 130.414,669.694L130.567,669.193L365.453,669.193L365.453,1201.67L115.431,1201.67ZM804.386,1055C794.186,1070.26 785.572,1086.67 778.777,1103.99L769.647,1127.26L816.194,1145.52L825.324,1122.25C830.797,1108.3 837.738,1095.08 845.955,1082.79L859.848,1062L818.279,1034.21L804.386,1055ZM2730.5,1043.14C2719.39,1028.39 2706.73,1014.86 2692.77,1002.81L2673.84,986.48L2641.17,1024.34L2660.1,1040.67C2671.37,1050.39 2681.59,1061.31 2690.56,1073.22L2705.6,1093.19L2745.54,1063.11L2730.5,1043.14ZM933.266,954.821C915.698,961.006 898.998,969.041 883.402,978.694L862.144,991.851L888.457,1034.37L909.715,1021.21C922.275,1013.44 935.723,1006.96 949.871,1001.98L973.452,993.681L956.848,946.518L933.266,954.821ZM2596.18,950.378C2578.71,945.327 2560.49,942.072 2541.72,940.832L2516.78,939.183L2513.48,989.074L2538.43,990.723C2553.54,991.722 2568.22,994.341 2582.28,998.409L2606.3,1005.36L2620.19,957.325L2596.18,950.378ZM2165.09,940.265L2065.09,940.265L2065.09,990.265L2165.09,990.265L2165.09,940.265ZM1865.08,940.265L1765.08,940.265L1765.08,990.265L1865.08,990.265L1865.08,940.265ZM1115.08,940.265L1015.08,940.265L1015.08,990.265L1115.08,990.265L1115.08,940.265ZM2015.09,940.265L1915.09,940.265L1915.09,990.265L2015.09,990.265L2015.09,940.265ZM2315.09,940.265L2215.09,940.265L2215.09,990.265L2315.09,990.265L2315.09,940.265ZM1265.08,940.265L1165.08,940.265L1165.08,990.265L1265.08,990.265L1265.08,940.265ZM1415.08,940.265L1315.08,940.265L1315.08,990.265L1415.08,990.265L1415.08,940.265ZM1565.08,940.265L1465.08,940.265L1465.08,990.265L1565.08,990.265L1565.08,940.265ZM1715.08,940.265L1615.08,940.265L1615.08,990.265L1715.08,990.265L1715.08,940.265ZM2465.09,940.265L2365.09,940.265L2365.09,990.265L2465.09,990.265L2465.09,940.265ZM365.453,437.562L365.453,644.193L139.286,644.193C178.303,544.782 261.917,467.677 365.453,437.562ZM922.933,423.812L922.933,644.193L390.453,644.193L390.453,431.295C413.674,426.391 437.741,423.812 462.407,423.812L922.933,423.812ZM947.933,423.812L947.933,644.193L1480.41,644.193L1480.41,423.812L947.933,423.812ZM1505.41,423.812L1505.41,644.193L2037.89,644.193L2037.89,423.812L1505.41,423.812ZM2062.89,423.812L2062.89,644.193L2595.37,644.193L2595.37,423.812L2062.89,423.812ZM2620.37,423.812L3080.9,423.812C3105.57,423.812 3129.63,426.391 3152.85,431.295L3152.85,644.193L2620.37,644.193L2620.37,423.812ZM3177.85,437.562C3281.38,467.669 3365,544.774 3404.02,644.193L3177.85,644.193L3177.85,437.562Z"})}),Qe=Ae((e,t)=>{const{tooltip:n="",styleClass:r,tooltipProps:i,asCheckbox:o,isChecked:a,...s}=e;return y.jsx(uo,{label:n,hasArrow:!0,...i,...i!=null&&i.placement?{placement:i.placement}:{placement:"top"},children:y.jsx(ss,{ref:t,className:r?`invokeai__icon-button ${r}`:"invokeai__icon-button","data-as-checkbox":o,"data-selected":a!==void 0?a:void 0,...s})})}),cr=Ae((e,t)=>{const{children:n,tooltip:r="",tooltipProps:i,styleClass:o,...a}=e;return y.jsx(uo,{label:r,...i,children:y.jsx(as,{ref:t,className:["invokeai__button",o].join(" "),...a,children:n})})}),Zs=e=>{const{triggerComponent:t,children:n,styleClass:r,hasArrow:i=!0,...o}=e;return y.jsxs(ME,{...o,children:[y.jsx(DE,{children:t}),y.jsxs(RE,{className:`invokeai__popover-content ${r}`,children:[i&&y.jsx(IE,{className:"invokeai__popover-arrow"}),n]})]})},Vx=at(e=>e.lightbox,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),hD=/^-?(0\.)?\.?$/,ra=e=>{const{label:t,labelFontSize:n="sm",styleClass:r,isDisabled:i=!1,showStepper:o=!0,width:a,textAlign:s,isInvalid:l,value:u,onChange:d,min:h,max:m,isInteger:v=!0,formControlProps:b,formLabelProps:S,numberInputFieldProps:k,numberInputStepperProps:E,tooltipProps:_,...T}=e,[A,I]=w.useState(String(u));w.useEffect(()=>{!A.match(hD)&&u!==Number(A)&&I(String(u))},[u,A]);const R=j=>{I(j),j.match(hD)||d(v?Math.floor(Number(j)):Number(j))},D=j=>{const z=ke.clamp(v?Math.floor(Number(j.target.value)):Number(j.target.value),h,m);I(String(z)),d(z)};return y.jsx(uo,{..._,children:y.jsxs(dn,{isDisabled:i,isInvalid:l,className:r?`invokeai__number-input-form-control ${r}`:"invokeai__number-input-form-control",...b,children:[t&&y.jsx(kn,{className:"invokeai__number-input-form-label",style:{display:t?"block":"none"},fontSize:n,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",...S,children:t}),y.jsxs(TE,{className:"invokeai__number-input-root",value:A,min:h,max:m,keepWithinRange:!0,clampValueOnBlur:!1,onChange:R,onBlur:D,width:a,...T,children:[y.jsx(LE,{className:"invokeai__number-input-field",textAlign:s,...k}),o&&y.jsxs("div",{className:"invokeai__number-input-stepper",children:[y.jsx(OE,{...E,className:"invokeai__number-input-stepper-button"}),y.jsx(AE,{...E,className:"invokeai__number-input-stepper-button"})]})]})]})})},tl=e=>{const{label:t,isDisabled:n,validValues:r,tooltip:i,tooltipProps:o,size:a="sm",fontSize:s="sm",styleClass:l,...u}=e;return y.jsxs(dn,{isDisabled:n,className:`invokeai__select ${l}`,onClick:d=>{d.stopPropagation(),d.nativeEvent.stopImmediatePropagation(),d.nativeEvent.stopPropagation(),d.nativeEvent.cancelBubble=!0},children:[t&&y.jsx(kn,{className:"invokeai__select-label",fontSize:s,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",children:t}),y.jsx(uo,{label:i,...o,children:y.jsx(FV,{className:"invokeai__select-picker",fontSize:s,size:a,...u,children:r.map(d=>typeof d=="string"||typeof d=="number"?y.jsx("option",{value:d,className:"invokeai__select-option",children:d},d):y.jsx("option",{value:d.value,className:"invokeai__select-option",children:d.key},d.value))})})]})},Fy=e=>e.postprocessing,ir=e=>e.system,a_e=e=>e.system.toastQueue,qG=at(ir,e=>{const{model_list:t}=e,n=ke.reduce(t,(r,i,o)=>(i.status==="active"&&(r=o),r),"");return{...t[n],name:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),s_e=at([Fy,ir],({facetoolStrength:e,facetoolType:t,codeformerFidelity:n},{isGFPGANAvailable:r})=>({facetoolStrength:e,facetoolType:t,codeformerFidelity:n,isGFPGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wP=()=>{const e=Me(),{facetoolStrength:t,facetoolType:n,codeformerFidelity:r,isGFPGANAvailable:i}=he(s_e),o=u=>e(u8(u)),a=u=>e(xU(u)),s=u=>e(I4(u.target.value)),{t:l}=Ve();return y.jsxs(Ge,{direction:"column",gap:2,children:[y.jsx(tl,{label:l("parameters:type"),validValues:a7e.concat(),value:n,onChange:s}),y.jsx(ra,{isDisabled:!i,label:l("parameters:strength"),step:.05,min:0,max:1,onChange:o,value:t,width:"90px",isInteger:!1}),n==="codeformer"&&y.jsx(ra,{isDisabled:!i,label:l("parameters:codeformerFidelity"),step:.05,min:0,max:1,onChange:a,value:r,width:"90px",isInteger:!1})]})};var YG={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},pD=N.createContext&&N.createContext(YG),Fd=globalThis&&globalThis.__assign||function(){return Fd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{Se(i)},[i]);const Pe=w.useMemo(()=>U!=null&&U.max?U.max:a,[a,U==null?void 0:U.max]),ye=He=>{l(He)},We=He=>{He.target.value===""&&(He.target.value=String(o));const Be=ke.clamp(S?Math.floor(Number(He.target.value)):Number(fe),o,Pe);l(Be)},De=He=>{Se(He)},ot=()=>{I&&I()};return y.jsxs(dn,{className:z?`invokeai__slider-component ${z}`:"invokeai__slider-component","data-markers":h,style:A?{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"1rem",margin:0,padding:0}:{},...V,children:[y.jsx(kn,{className:"invokeai__slider-component-label",...K,children:r}),y.jsxs(wy,{w:"100%",gap:2,alignItems:"center",children:[y.jsxs(jE,{"aria-label":r,value:i,min:o,max:a,step:s,onChange:ye,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),focusThumbOnChange:!1,isDisabled:D,width:u,...ie,children:[h&&y.jsxs(y.Fragment,{children:[y.jsx(G9,{value:o,className:"invokeai__slider-mark invokeai__slider-mark-start",ml:m,...te,children:o}),y.jsx(G9,{value:a,className:"invokeai__slider-mark invokeai__slider-mark-end",ml:v,...te,children:a})]}),y.jsx(ZV,{className:"invokeai__slider_track",...q,children:y.jsx(QV,{className:"invokeai__slider_track-filled"})}),y.jsx(uo,{hasArrow:!0,className:"invokeai__slider-component-tooltip",placement:"top",isOpen:t,label:`${i}${d}`,hidden:T,...W,children:y.jsx(XV,{className:"invokeai__slider-thumb",...$})})]}),b&&y.jsxs(TE,{min:o,max:Pe,step:s,value:fe,onChange:De,onBlur:We,className:"invokeai__slider-number-field",isDisabled:j,...U,children:[y.jsx(LE,{className:"invokeai__slider-number-input",width:k,readOnly:E,minWidth:k,...X}),y.jsxs(IV,{...Z,children:[y.jsx(OE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"}),y.jsx(AE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"})]})]}),_&&y.jsx(Qe,{size:"sm","aria-label":"Reset",tooltip:"Reset",icon:y.jsx(Wx,{}),onClick:ot,isDisabled:R,...Q})]})]})}const g_e=at([Fy,ir],({upscalingLevel:e,upscalingStrength:t,upscalingDenoising:n},{isESRGANAvailable:r})=>({upscalingLevel:e,upscalingDenoising:n,upscalingStrength:t,isESRGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CP=()=>{const e=Me(),{upscalingLevel:t,upscalingStrength:n,upscalingDenoising:r,isESRGANAvailable:i}=he(g_e),{t:o}=Ve(),a=l=>e(wU(Number(l.target.value))),s=l=>e(d8(l));return y.jsxs(Ge,{flexDir:"column",rowGap:"1rem",minWidth:"20rem",children:[y.jsx(tl,{isDisabled:!i,label:o("parameters:scale"),value:t,onChange:a,validValues:o7e}),y.jsx(so,{label:o("parameters:denoisingStrength"),value:r,min:0,max:1,step:.01,onChange:l=>{e(c8(l))},handleReset:()=>e(c8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i}),y.jsx(so,{label:`${o("parameters:upscale")} ${o("parameters:strength")}`,value:n,min:0,max:1,step:.05,onChange:s,handleReset:()=>e(d8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i})]})};var m_e=Object.create,ZG=Object.defineProperty,v_e=Object.getOwnPropertyDescriptor,y_e=Object.getOwnPropertyNames,b_e=Object.getPrototypeOf,S_e=Object.prototype.hasOwnProperty,Ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),x_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of y_e(t))!S_e.call(e,i)&&i!==n&&ZG(e,i,{get:()=>t[i],enumerable:!(r=v_e(t,i))||r.enumerable});return e},QG=(e,t,n)=>(n=e!=null?m_e(b_e(e)):{},x_e(t||!e||!e.__esModule?ZG(n,"default",{value:e,enumerable:!0}):n,e)),w_e=Ue((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n}),JG=Ue((e,t)=>{function n(r,i){return r===i||r!==r&&i!==i}t.exports=n}),Ux=Ue((e,t)=>{var n=JG();function r(i,o){for(var a=i.length;a--;)if(n(i[a][0],o))return a;return-1}t.exports=r}),C_e=Ue((e,t)=>{var n=Ux(),r=Array.prototype,i=r.splice;function o(a){var s=this.__data__,l=n(s,a);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=o}),__e=Ue((e,t)=>{var n=Ux();function r(i){var o=this.__data__,a=n(o,i);return a<0?void 0:o[a][1]}t.exports=r}),k_e=Ue((e,t)=>{var n=Ux();function r(i){return n(this.__data__,i)>-1}t.exports=r}),E_e=Ue((e,t)=>{var n=Ux();function r(i,o){var a=this.__data__,s=n(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=r}),Gx=Ue((e,t)=>{var n=w_e(),r=C_e(),i=__e(),o=k_e(),a=E_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx();function r(){this.__data__=new n,this.size=0}t.exports=r}),T_e=Ue((e,t)=>{function n(r){var i=this.__data__,o=i.delete(r);return this.size=i.size,o}t.exports=n}),L_e=Ue((e,t)=>{function n(r){return this.__data__.get(r)}t.exports=n}),A_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),eq=Ue((e,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),pc=Ue((e,t)=>{var n=eq(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();t.exports=i}),_P=Ue((e,t)=>{var n=pc(),r=n.Symbol;t.exports=r}),O_e=Ue((e,t)=>{var n=_P(),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;function s(l){var u=i.call(l,a),d=l[a];try{l[a]=void 0;var h=!0}catch{}var m=o.call(l);return h&&(u?l[a]=d:delete l[a]),m}t.exports=s}),M_e=Ue((e,t)=>{var n=Object.prototype,r=n.toString;function i(o){return r.call(o)}t.exports=i}),qx=Ue((e,t)=>{var n=_P(),r=O_e(),i=M_e(),o="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;function l(u){return u==null?u===void 0?a:o:s&&s in Object(u)?r(u):i(u)}t.exports=l}),tq=Ue((e,t)=>{function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}t.exports=n}),nq=Ue((e,t)=>{var n=qx(),r=tq(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!r(u))return!1;var d=n(u);return d==o||d==a||d==i||d==s}t.exports=l}),I_e=Ue((e,t)=>{var n=pc(),r=n["__core-js_shared__"];t.exports=r}),R_e=Ue((e,t)=>{var n=I_e(),r=function(){var o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!r&&r in o}t.exports=i}),rq=Ue((e,t)=>{var n=Function.prototype,r=n.toString;function i(o){if(o!=null){try{return r.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}),D_e=Ue((e,t)=>{var n=nq(),r=R_e(),i=tq(),o=rq(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,h=u.hasOwnProperty,m=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(b){if(!i(b)||r(b))return!1;var S=n(b)?m:s;return S.test(o(b))}t.exports=v}),N_e=Ue((e,t)=>{function n(r,i){return r==null?void 0:r[i]}t.exports=n}),L0=Ue((e,t)=>{var n=D_e(),r=N_e();function i(o,a){var s=r(o,a);return n(s)?s:void 0}t.exports=i}),kP=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Map");t.exports=i}),Yx=Ue((e,t)=>{var n=L0(),r=n(Object,"create");t.exports=r}),j_e=Ue((e,t)=>{var n=Yx();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}),B_e=Ue((e,t)=>{function n(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}t.exports=n}),$_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var l=this.__data__;if(n){var u=l[s];return u===r?void 0:u}return o.call(l,s)?l[s]:void 0}t.exports=a}),F_e=Ue((e,t)=>{var n=Yx(),r=Object.prototype,i=r.hasOwnProperty;function o(a){var s=this.__data__;return n?s[a]!==void 0:i.call(s,a)}t.exports=o}),z_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=n&&a===void 0?r:a,this}t.exports=i}),H_e=Ue((e,t)=>{var n=j_e(),r=B_e(),i=$_e(),o=F_e(),a=z_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=H_e(),r=Gx(),i=kP();function o(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=o}),W_e=Ue((e,t)=>{function n(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}t.exports=n}),Kx=Ue((e,t)=>{var n=W_e();function r(i,o){var a=i.__data__;return n(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=r}),U_e=Ue((e,t)=>{var n=Kx();function r(i){var o=n(this,i).delete(i);return this.size-=o?1:0,o}t.exports=r}),G_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).get(i)}t.exports=r}),q_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).has(i)}t.exports=r}),Y_e=Ue((e,t)=>{var n=Kx();function r(i,o){var a=n(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=r}),iq=Ue((e,t)=>{var n=V_e(),r=U_e(),i=G_e(),o=q_e(),a=Y_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx(),r=kP(),i=iq(),o=200;function a(s,l){var u=this.__data__;if(u instanceof n){var d=u.__data__;if(!r||d.length{var n=Gx(),r=P_e(),i=T_e(),o=L_e(),a=A_e(),s=K_e();function l(u){var d=this.__data__=new n(u);this.size=d.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l}),Z_e=Ue((e,t)=>{var n="__lodash_hash_undefined__";function r(i){return this.__data__.set(i,n),this}t.exports=r}),Q_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),J_e=Ue((e,t)=>{var n=iq(),r=Z_e(),i=Q_e();function o(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new n;++s{function n(r,i){for(var o=-1,a=r==null?0:r.length;++o{function n(r,i){return r.has(i)}t.exports=n}),oq=Ue((e,t)=>{var n=J_e(),r=eke(),i=tke(),o=1,a=2;function s(l,u,d,h,m,v){var b=d&o,S=l.length,k=u.length;if(S!=k&&!(b&&k>S))return!1;var E=v.get(l),_=v.get(u);if(E&&_)return E==u&&_==l;var T=-1,A=!0,I=d&a?new n:void 0;for(v.set(l,u),v.set(u,l);++T{var n=pc(),r=n.Uint8Array;t.exports=r}),rke=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=n}),ike=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=a}),o}t.exports=n}),oke=Ue((e,t)=>{var n=_P(),r=nke(),i=JG(),o=oq(),a=rke(),s=ike(),l=1,u=2,d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Map]",b="[object Number]",S="[object RegExp]",k="[object Set]",E="[object String]",_="[object Symbol]",T="[object ArrayBuffer]",A="[object DataView]",I=n?n.prototype:void 0,R=I?I.valueOf:void 0;function D(j,z,V,K,te,q,$){switch(V){case A:if(j.byteLength!=z.byteLength||j.byteOffset!=z.byteOffset)return!1;j=j.buffer,z=z.buffer;case T:return!(j.byteLength!=z.byteLength||!q(new r(j),new r(z)));case d:case h:case b:return i(+j,+z);case m:return j.name==z.name&&j.message==z.message;case S:case E:return j==z+"";case v:var U=a;case k:var X=K&l;if(U||(U=s),j.size!=z.size&&!X)return!1;var Z=$.get(j);if(Z)return Z==z;K|=u,$.set(j,z);var W=o(U(j),U(z),K,te,q,$);return $.delete(j),W;case _:if(R)return R.call(j)==R.call(z)}return!1}t.exports=D}),ake=Ue((e,t)=>{function n(r,i){for(var o=-1,a=i.length,s=r.length;++o{var n=Array.isArray;t.exports=n}),ske=Ue((e,t)=>{var n=ake(),r=EP();function i(o,a,s){var l=a(o);return r(o)?l:n(l,s(o))}t.exports=i}),lke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=r==null?0:r.length,s=0,l=[];++o{function n(){return[]}t.exports=n}),cke=Ue((e,t)=>{var n=lke(),r=uke(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),n(a(l),function(u){return o.call(l,u)}))}:r;t.exports=s}),dke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=Array(r);++o{function n(r){return r!=null&&typeof r=="object"}t.exports=n}),fke=Ue((e,t)=>{var n=qx(),r=Xx(),i="[object Arguments]";function o(a){return r(a)&&n(a)==i}t.exports=o}),hke=Ue((e,t)=>{var n=fke(),r=Xx(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(l){return r(l)&&o.call(l,"callee")&&!a.call(l,"callee")};t.exports=s}),pke=Ue((e,t)=>{function n(){return!1}t.exports=n}),aq=Ue((e,t)=>{var n=pc(),r=pke(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||r;t.exports=u}),gke=Ue((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??n,!!a&&(s=="number"||s!="symbol"&&r.test(o))&&o>-1&&o%1==0&&o{var n=9007199254740991;function r(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}t.exports=r}),mke=Ue((e,t)=>{var n=qx(),r=sq(),i=Xx(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",S="[object Set]",k="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",I="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",K="[object Uint16Array]",te="[object Uint32Array]",q={};q[A]=q[I]=q[R]=q[D]=q[j]=q[z]=q[V]=q[K]=q[te]=!0,q[o]=q[a]=q[_]=q[s]=q[T]=q[l]=q[u]=q[d]=q[h]=q[m]=q[v]=q[b]=q[S]=q[k]=q[E]=!1;function $(U){return i(U)&&r(U.length)&&!!q[n(U)]}t.exports=$}),vke=Ue((e,t)=>{function n(r){return function(i){return r(i)}}t.exports=n}),yke=Ue((e,t)=>{var n=eq(),r=typeof e=="object"&&e&&!e.nodeType&&e,i=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s}),lq=Ue((e,t)=>{var n=mke(),r=vke(),i=yke(),o=i&&i.isTypedArray,a=o?r(o):n;t.exports=a}),bke=Ue((e,t)=>{var n=dke(),r=hke(),i=EP(),o=aq(),a=gke(),s=lq(),l=Object.prototype,u=l.hasOwnProperty;function d(h,m){var v=i(h),b=!v&&r(h),S=!v&&!b&&o(h),k=!v&&!b&&!S&&s(h),E=v||b||S||k,_=E?n(h.length,String):[],T=_.length;for(var A in h)(m||u.call(h,A))&&!(E&&(A=="length"||S&&(A=="offset"||A=="parent")||k&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,T)))&&_.push(A);return _}t.exports=d}),Ske=Ue((e,t)=>{var n=Object.prototype;function r(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||n;return i===a}t.exports=r}),xke=Ue((e,t)=>{function n(r,i){return function(o){return r(i(o))}}t.exports=n}),wke=Ue((e,t)=>{var n=xke(),r=n(Object.keys,Object);t.exports=r}),Cke=Ue((e,t)=>{var n=Ske(),r=wke(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=a}),_ke=Ue((e,t)=>{var n=nq(),r=sq();function i(o){return o!=null&&r(o.length)&&!n(o)}t.exports=i}),kke=Ue((e,t)=>{var n=bke(),r=Cke(),i=_ke();function o(a){return i(a)?n(a):r(a)}t.exports=o}),Eke=Ue((e,t)=>{var n=ske(),r=cke(),i=kke();function o(a){return n(a,i,r)}t.exports=o}),Pke=Ue((e,t)=>{var n=Eke(),r=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,l,u,d,h,m){var v=u&r,b=n(s),S=b.length,k=n(l),E=k.length;if(S!=E&&!v)return!1;for(var _=S;_--;){var T=b[_];if(!(v?T in l:o.call(l,T)))return!1}var A=m.get(s),I=m.get(l);if(A&&I)return A==l&&I==s;var R=!0;m.set(s,l),m.set(l,s);for(var D=v;++_{var n=L0(),r=pc(),i=n(r,"DataView");t.exports=i}),Lke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Promise");t.exports=i}),Ake=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Set");t.exports=i}),Oke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"WeakMap");t.exports=i}),Mke=Ue((e,t)=>{var n=Tke(),r=kP(),i=Lke(),o=Ake(),a=Oke(),s=qx(),l=rq(),u="[object Map]",d="[object Object]",h="[object Promise]",m="[object Set]",v="[object WeakMap]",b="[object DataView]",S=l(n),k=l(r),E=l(i),_=l(o),T=l(a),A=s;(n&&A(new n(new ArrayBuffer(1)))!=b||r&&A(new r)!=u||i&&A(i.resolve())!=h||o&&A(new o)!=m||a&&A(new a)!=v)&&(A=function(I){var R=s(I),D=R==d?I.constructor:void 0,j=D?l(D):"";if(j)switch(j){case S:return b;case k:return u;case E:return h;case _:return m;case T:return v}return R}),t.exports=A}),Ike=Ue((e,t)=>{var n=X_e(),r=oq(),i=oke(),o=Pke(),a=Mke(),s=EP(),l=aq(),u=lq(),d=1,h="[object Arguments]",m="[object Array]",v="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function k(E,_,T,A,I,R){var D=s(E),j=s(_),z=D?m:a(E),V=j?m:a(_);z=z==h?v:z,V=V==h?v:V;var K=z==v,te=V==v,q=z==V;if(q&&l(E)){if(!l(_))return!1;D=!0,K=!1}if(q&&!K)return R||(R=new n),D||u(E)?r(E,_,T,A,I,R):i(E,_,z,T,A,I,R);if(!(T&d)){var $=K&&S.call(E,"__wrapped__"),U=te&&S.call(_,"__wrapped__");if($||U){var X=$?E.value():E,Z=U?_.value():_;return R||(R=new n),I(X,Z,T,A,R)}}return q?(R||(R=new n),o(E,_,T,A,I,R)):!1}t.exports=k}),Rke=Ue((e,t)=>{var n=Ike(),r=Xx();function i(o,a,s,l,u){return o===a?!0:o==null||a==null||!r(o)&&!r(a)?o!==o&&a!==a:n(o,a,s,l,i,u)}t.exports=i}),uq=Ue((e,t)=>{var n=Rke();function r(i,o){return n(i,o)}t.exports=r}),Dke=["ctrl","shift","alt","meta","mod"],Nke={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown"};function IC(e,t=","){return typeof e=="string"?e.split(t):e}function u2(e,t="+"){let n=e.toLocaleLowerCase().split(t).map(o=>o.trim()).map(o=>Nke[o]||o),r={alt:n.includes("alt"),ctrl:n.includes("ctrl"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},i=n.filter(o=>!Dke.includes(o));return{...r,keys:i}}function jke(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function Bke(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function $ke(e){return cq(e,["input","textarea","select"])}function cq({target:e},t=!1){let n=e&&e.tagName;return t instanceof Array?Boolean(n&&t&&t.some(r=>r.toLowerCase()===n.toLowerCase())):Boolean(n&&t&&t===!0)}function Fke(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a '),!0):t?e.some(n=>t.includes(n))||e.includes("*"):!0}var zke=(e,t,n)=>{let{alt:r,ctrl:i,meta:o,mod:a,shift:s,keys:l}=t,{altKey:u,ctrlKey:d,metaKey:h,shiftKey:m,key:v,code:b}=e,S=b.toLowerCase().replace("key",""),k=v.toLowerCase();if(u!==r&&k!=="alt"||m!==s&&k!=="shift")return!1;if(a){if(!h&&!d)return!1}else if(h!==o&&S!=="meta"||d!==i&&S!=="ctrl")return!1;return l&&l.length===1&&(l.includes(k)||l.includes(S))?!0:l?l.every(E=>n.has(E)):!l},Hke=w.createContext(void 0),Vke=()=>w.useContext(Hke),Wke=w.createContext({hotkeys:[],enabledScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),Uke=()=>w.useContext(Wke),Gke=QG(uq());function qke(e){let t=w.useRef(void 0);return(0,Gke.default)(t.current,e)||(t.current=e),t.current}var gD=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()};function Je(e,t,n,r){let i=w.useRef(null),{current:o}=w.useRef(new Set),a=n instanceof Array?r instanceof Array?void 0:r:n,s=n instanceof Array?n:r instanceof Array?r:[],l=w.useCallback(t,[...s]),u=qke(a),{enabledScopes:d}=Uke(),h=Vke();return w.useLayoutEffect(()=>{if((u==null?void 0:u.enabled)===!1||!Fke(d,u==null?void 0:u.scopes))return;let m=S=>{var k;if(!($ke(S)&&!cq(S,u==null?void 0:u.enableOnFormTags))){if(i.current!==null&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){gD(S);return}(k=S.target)!=null&&k.isContentEditable&&!(u!=null&&u.enableOnContentEditable)||IC(e,u==null?void 0:u.splitKey).forEach(E=>{var T;let _=u2(E,u==null?void 0:u.combinationKey);if(zke(S,_,o)||(T=_.keys)!=null&&T.includes("*")){if(jke(S,_,u==null?void 0:u.preventDefault),!Bke(S,_,u==null?void 0:u.enabled)){gD(S);return}l(S,_)}})}},v=S=>{o.add(S.key.toLowerCase()),((u==null?void 0:u.keydown)===void 0&&(u==null?void 0:u.keyup)!==!0||u!=null&&u.keydown)&&m(S)},b=S=>{S.key.toLowerCase()!=="meta"?o.delete(S.key.toLowerCase()):o.clear(),u!=null&&u.keyup&&m(S)};return(i.current||document).addEventListener("keyup",b),(i.current||document).addEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.addHotkey(u2(S,u==null?void 0:u.combinationKey))),()=>{(i.current||document).removeEventListener("keyup",b),(i.current||document).removeEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.removeHotkey(u2(S,u==null?void 0:u.combinationKey)))}},[e,l,u,d]),i}QG(uq());var D8=new Set;function Yke(e){(Array.isArray(e)?e:[e]).forEach(t=>D8.add(u2(t)))}function Kke(e){(Array.isArray(e)?e:[e]).forEach(t=>{var r;let n=u2(t);for(let i of D8)(r=i.keys)!=null&&r.every(o=>{var a;return(a=n.keys)==null?void 0:a.includes(o)})&&D8.delete(i)})}window.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keydown",e=>{Yke(e.key)}),document.addEventListener("keyup",e=>{Kke(e.key)})});function Xke(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}}]})(e)}function Zke(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(e)}function Qke(e){return gt({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}]})(e)}function dq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}]})(e)}function fq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}]})(e)}function Jke(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}]})(e)}function eEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}]})(e)}function hq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}]})(e)}function tEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}]})(e)}function nEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}]})(e)}function PP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function pq(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"}}]})(e)}function o0(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"}}]})(e)}function gq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z"}}]})(e)}function rEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}]})(e)}function TP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function mq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z"}}]})(e)}function iEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z"}}]})(e)}function oEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"}}]})(e)}function vq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M50.75 333.25c-12 12-18.75 28.28-18.75 45.26V424L0 480l32 32 56-32h45.49c16.97 0 33.25-6.74 45.25-18.74l126.64-126.62-128-128L50.75 333.25zM483.88 28.12c-37.47-37.5-98.28-37.5-135.75 0l-77.09 77.09-13.1-13.1c-9.44-9.44-24.65-9.31-33.94 0l-40.97 40.97c-9.37 9.37-9.37 24.57 0 33.94l161.94 161.94c9.44 9.44 24.65 9.31 33.94 0L419.88 288c9.37-9.37 9.37-24.57 0-33.94l-13.1-13.1 77.09-77.09c37.51-37.48 37.51-98.26.01-135.75z"}}]})(e)}function aEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"}}]})(e)}function sEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"}}]})(e)}function yq(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M512 320s-64 92.65-64 128c0 35.35 28.66 64 64 64s64-28.65 64-64-64-128-64-128zm-9.37-102.94L294.94 9.37C288.69 3.12 280.5 0 272.31 0s-16.38 3.12-22.62 9.37l-81.58 81.58L81.93 4.76c-6.25-6.25-16.38-6.25-22.62 0L36.69 27.38c-6.24 6.25-6.24 16.38 0 22.62l86.19 86.18-94.76 94.76c-37.49 37.48-37.49 98.26 0 135.75l117.19 117.19c18.74 18.74 43.31 28.12 67.87 28.12 24.57 0 49.13-9.37 67.87-28.12l221.57-221.57c12.5-12.5 12.5-32.75.01-45.25zm-116.22 70.97H65.93c1.36-3.84 3.57-7.98 7.43-11.83l13.15-13.15 81.61-81.61 58.6 58.6c12.49 12.49 32.75 12.49 45.24 0s12.49-32.75 0-45.24l-58.6-58.6 58.95-58.95 162.44 162.44-48.34 48.34z"}}]})(e)}function lEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.3.9 9 8.5 4.4 13.1z"}}]})(e)}function uEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"}}]})(e)}function cEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"}}]})(e)}function dEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z"}}]})(e)}function bq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"}}]})(e)}function fEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320.67 64c-442.6 0-357.57 384-158.46 384 39.9 0 77.47-20.69 101.42-55.86l25.73-37.79c15.66-22.99 46.97-22.99 62.63 0l25.73 37.79C401.66 427.31 439.23 448 479.13 448c189.86 0 290.63-384-158.46-384zM184 308.36c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05zm272 0c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05z"}}]})(e)}function hEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function Sq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"}}]})(e)}function pEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(e)}function gEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}}]})(e)}function zy(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function mEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z"}}]})(e)}function vEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z"}}]})(e)}function yEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z"}}]})(e)}function LP(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"}}]})(e)}function bEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M64 96H0c0 123.7 100.3 224 224 224v144c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320C288 196.3 187.7 96 64 96zm384-64c-84.2 0-157.4 46.5-195.7 115.2 27.7 30.2 48.2 66.9 59 107.6C424 243.1 512 147.9 512 32h-64z"}}]})(e)}function SEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"}}]})(e)}function mD(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"}}]})(e)}function AP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z"}}]})(e)}function xEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"}}]})(e)}function vp(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"}}]})(e)}function wEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"}}]})(e)}function Zx(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function CEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function OP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}]})(e)}const sn=e=>e.canvas,Mr=at([sn,Or,ir],(e,t,n)=>e.layerState.stagingArea.images.length>0||t==="unifiedCanvas"&&n.isProcessing),xq=e=>e.canvas.layerState.objects.find(W5),yp=e=>e.gallery,_Ee=at([yp,Vx,Mr,Or],(e,t,n,r)=>{const{categories:i,currentCategory:o,currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,galleryWidth:b,shouldUseSingleGalleryColumn:S}=e,{isLightboxOpen:k}=t;return{currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,galleryGridTemplateColumns:S?"auto":`repeat(auto-fill, minmax(${d}px, auto))`,activeTabName:r,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,images:i[o].images,areMoreImagesAvailable:i[o].areMoreImagesAvailable,currentCategory:o,galleryWidth:b,isLightboxOpen:k,isStaging:n,shouldEnableResize:!(k||r==="unifiedCanvas"&&s),shouldUseSingleGalleryColumn:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kEe=at([yp,ir,Vx,Or],(e,t,n,r)=>({mayDeleteImage:t.isConnected&&!t.isProcessing,galleryImageObjectFit:e.galleryImageObjectFit,galleryImageMinimumWidth:e.galleryImageMinimumWidth,shouldUseSingleGalleryColumn:e.shouldUseSingleGalleryColumn,activeTabName:r,isLightboxOpen:n.isLightboxOpen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EEe=at(ir,e=>{const{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}=e;return{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eS=w.forwardRef(({image:e,children:t},n)=>{const{isOpen:r,onOpen:i,onClose:o}=Wh(),a=Me(),{shouldConfirmOnDelete:s,isConnected:l,isProcessing:u}=he(EEe),d=w.useRef(null),h=b=>{b.stopPropagation(),s?i():m()},m=()=>{l&&!u&&e&&a(N8e(e)),o()};Je("delete",()=>{s?i():m()},[e,s,l,u]);const v=b=>a(BU(!b.target.checked));return y.jsxs(y.Fragment,{children:[w.cloneElement(t,{onClick:e?h:void 0,ref:n}),y.jsx(AV,{isOpen:r,leastDestructiveRef:d,onClose:o,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:"Delete image"}),y.jsx(n0,{children:y.jsxs(Ge,{direction:"column",gap:5,children:[y.jsx(fn,{children:"Are you sure? Deleted images will be sent to the Bin. You can restore from there if you wish to."}),y.jsx(dn,{children:y.jsxs(Ge,{alignItems:"center",children:[y.jsx(kn,{mb:0,children:"Don't ask me again"}),y.jsx(BE,{checked:!s,onChange:v})]})})]})}),y.jsxs(yx,{children:[y.jsx(as,{ref:d,onClick:o,className:"modal-close-btn",children:"Cancel"}),y.jsx(as,{colorScheme:"red",onClick:m,ml:3,children:"Delete"})]})]})})})]})});eS.displayName="DeleteImageModal";const PEe=at([ir,yp,Fy,mp,Vx,Or],(e,t,n,r,i,o)=>{const{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u}=e,{upscalingLevel:d,facetoolStrength:h}=n,{isLightboxOpen:m}=i,{shouldShowImageDetails:v}=r,{intermediateImage:b,currentImage:S}=t;return{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u,upscalingLevel:d,facetoolStrength:h,shouldDisableToolbarButtons:Boolean(b)||!S,currentImage:S,shouldShowImageDetails:v,activeTabName:o,isLightboxOpen:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wq=()=>{var z,V,K,te,q,$;const e=Me(),{isProcessing:t,isConnected:n,isGFPGANAvailable:r,isESRGANAvailable:i,upscalingLevel:o,facetoolStrength:a,shouldDisableToolbarButtons:s,shouldShowImageDetails:l,currentImage:u,isLightboxOpen:d,activeTabName:h}=he(PEe),m=Ry(),{t:v}=Ve(),b=()=>{u&&(d&&e(Bm(!1)),e(k0(u)),e(qo("img2img")))},S=async()=>{if(!u)return;const U=await fetch(u.url).then(Z=>Z.blob()),X=[new ClipboardItem({[U.type]:U})];await navigator.clipboard.write(X),m({title:v("toast:imageCopied"),status:"success",duration:2500,isClosable:!0})},k=()=>{navigator.clipboard.writeText(u?window.location.toString()+u.url:"").then(()=>{m({title:v("toast:imageLinkCopied"),status:"success",duration:2500,isClosable:!0})})};Je("shift+i",()=>{u?(b(),m({title:v("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:imageNotLoaded"),description:v("toast:imageNotLoadedDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const E=()=>{var U,X;u&&(u.metadata&&e(aU(u.metadata)),((U=u.metadata)==null?void 0:U.image.type)==="img2img"?e(qo("img2img")):((X=u.metadata)==null?void 0:X.image.type)==="txt2img"&&e(qo("txt2img")))};Je("a",()=>{var U,X;["txt2img","img2img"].includes((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)==null?void 0:X.type)?(E(),m({title:v("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:parametersNotSet"),description:v("toast:parametersNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const _=()=>{u!=null&&u.metadata&&e(Ny(u.metadata.image.seed))};Je("s",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.seed?(_(),m({title:v("toast:seedSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:seedNotSet"),description:v("toast:seedNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const T=()=>{var U,X,Z,W;if((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt){const[Q,ie]=aP((W=(Z=u==null?void 0:u.metadata)==null?void 0:Z.image)==null?void 0:W.prompt);Q&&e(Nx(Q)),e(Q2(ie||""))}};Je("p",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt?(T(),m({title:v("toast:promptSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:promptNotSet"),description:v("toast:promptNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const A=()=>{u&&e(R8e(u))};Je("Shift+U",()=>{i&&!s&&n&&!t&&o?A():m({title:v("toast:upscalingFailed"),status:"error",duration:2500,isClosable:!0})},[u,i,s,n,t,o]);const I=()=>{u&&e(D8e(u))};Je("Shift+R",()=>{r&&!s&&n&&!t&&a?I():m({title:v("toast:faceRestoreFailed"),status:"error",duration:2500,isClosable:!0})},[u,r,s,n,t,a]);const R=()=>e(VU(!l)),D=()=>{u&&(d&&e(Bm(!1)),e(Dx(u)),e(vi(!0)),h!=="unifiedCanvas"&&e(qo("unifiedCanvas")),m({title:v("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0}))};Je("i",()=>{u?R():m({title:v("toast:metadataLoadFailed"),status:"error",duration:2500,isClosable:!0})},[u,l]);const j=()=>{e(Bm(!d))};return y.jsxs("div",{className:"current-image-options",children:[y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":`${v("parameters:sendTo")}...`,icon:y.jsx(SEe,{})}),children:y.jsxs("div",{className:"current-image-send-to-popover",children:[y.jsx(cr,{size:"sm",onClick:b,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToImg2Img")}),y.jsx(cr,{size:"sm",onClick:D,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToUnifiedCanvas")}),y.jsx(cr,{size:"sm",onClick:S,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImage")}),y.jsx(cr,{size:"sm",onClick:k,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImageToLink")}),y.jsx(Nh,{download:!0,href:u==null?void 0:u.url,children:y.jsx(cr,{leftIcon:y.jsx(TP,{}),size:"sm",w:"100%",children:v("parameters:downloadImage")})})]})}),y.jsx(Qe,{icon:y.jsx(oEe,{}),tooltip:d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"aria-label":d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"data-selected":d,onClick:j})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{icon:y.jsx(mEe,{}),tooltip:`${v("parameters:usePrompt")} (P)`,"aria-label":`${v("parameters:usePrompt")} (P)`,isDisabled:!((V=(z=u==null?void 0:u.metadata)==null?void 0:z.image)!=null&&V.prompt),onClick:T}),y.jsx(Qe,{icon:y.jsx(bEe,{}),tooltip:`${v("parameters:useSeed")} (S)`,"aria-label":`${v("parameters:useSeed")} (S)`,isDisabled:!((te=(K=u==null?void 0:u.metadata)==null?void 0:K.image)!=null&&te.seed),onClick:_}),y.jsx(Qe,{icon:y.jsx(tEe,{}),tooltip:`${v("parameters:useAll")} (A)`,"aria-label":`${v("parameters:useAll")} (A)`,isDisabled:!["txt2img","img2img"].includes(($=(q=u==null?void 0:u.metadata)==null?void 0:q.image)==null?void 0:$.type),onClick:E})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(lEe,{}),"aria-label":v("parameters:restoreFaces")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(wP,{}),y.jsx(cr,{isDisabled:!r||!u||!(n&&!t)||!a,onClick:I,children:v("parameters:restoreFaces")})]})}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(iEe,{}),"aria-label":v("parameters:upscale")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(CP,{}),y.jsx(cr,{isDisabled:!i||!u||!(n&&!t)||!o,onClick:A,children:v("parameters:upscaleImage")})]})})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(Qe,{icon:y.jsx(pq,{}),tooltip:`${v("parameters:info")} (I)`,"aria-label":`${v("parameters:info")} (I)`,"data-selected":l,onClick:R})}),y.jsx(eS,{image:u,children:y.jsx(Qe,{icon:y.jsx(vp,{}),tooltip:`${v("parameters:deleteImage")} (Del)`,"aria-label":`${v("parameters:deleteImage")} (Del)`,isDisabled:!u||!n||t,style:{backgroundColor:"var(--btn-delete-image)"}})})]})};yt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});yt({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});yt({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});yt({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});yt({displayName:"SunIcon",path:N.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},N.createElement("circle",{cx:"12",cy:"12",r:"5"}),N.createElement("path",{d:"M12 1v2"}),N.createElement("path",{d:"M12 21v2"}),N.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),N.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),N.createElement("path",{d:"M1 12h2"}),N.createElement("path",{d:"M21 12h2"}),N.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),N.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});yt({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});yt({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:N.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});yt({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});yt({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});yt({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});yt({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});yt({displayName:"ViewIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),N.createElement("circle",{cx:"12",cy:"12",r:"2"}))});yt({displayName:"ViewOffIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),N.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});yt({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});var TEe=yt({displayName:"DeleteIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});yt({displayName:"RepeatIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),N.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});yt({displayName:"RepeatClockIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),N.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});var LEe=yt({displayName:"EditIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),N.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});yt({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});yt({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});yt({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});yt({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});yt({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});yt({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});yt({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});yt({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});yt({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});var Cq=yt({displayName:"ExternalLinkIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),N.createElement("path",{d:"M15 3h6v6"}),N.createElement("path",{d:"M10 14L21 3"}))});yt({displayName:"LinkIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),N.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});yt({displayName:"PlusSquareIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),N.createElement("path",{d:"M12 8v8"}),N.createElement("path",{d:"M8 12h8"}))});yt({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});yt({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});yt({displayName:"TimeIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),N.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});yt({displayName:"ArrowRightIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),N.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});yt({displayName:"ArrowLeftIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),N.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});yt({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});yt({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});yt({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});yt({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});yt({displayName:"EmailIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),N.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});yt({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});yt({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});yt({displayName:"SpinnerIcon",path:N.createElement(N.Fragment,null,N.createElement("defs",null,N.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},N.createElement("stop",{stopColor:"currentColor",offset:"0%"}),N.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),N.createElement("g",{transform:"translate(2)",fill:"none"},N.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),N.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),N.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});yt({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});yt({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:N.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});yt({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});yt({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});yt({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});yt({displayName:"InfoOutlineIcon",path:N.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},N.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),N.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),N.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});yt({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});yt({displayName:"QuestionOutlineIcon",path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});yt({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});yt({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});yt({viewBox:"0 0 14 14",path:N.createElement("g",{fill:"currentColor"},N.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});yt({displayName:"MinusIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});yt({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});function AEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M245.09 327.74v-37.32c57.07 0 84.51 13.47 108.58 38.68 5.4 5.65 15 1.32 14.29-6.43-5.45-61.45-34.14-117.09-122.87-117.09v-37.32a8.32 8.32 0 00-14.05-6L146.58 242a8.2 8.2 0 000 11.94L231 333.71a8.32 8.32 0 0014.09-5.97z"}},{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}}]})(e)}const Qn=({label:e,value:t,onClick:n,isLink:r,labelPosition:i,withCopy:o=!1})=>y.jsxs(Ge,{gap:2,children:[n&&y.jsx(uo,{label:`Recall ${e}`,children:y.jsx(ss,{"aria-label":"Use this parameter",icon:y.jsx(AEe,{}),size:"xs",variant:"ghost",fontSize:20,onClick:n})}),o&&y.jsx(uo,{label:`Copy ${e}`,children:y.jsx(ss,{"aria-label":`Copy ${e}`,icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(t.toString())})}),y.jsxs(Ge,{direction:i?"column":"row",children:[y.jsxs(fn,{fontWeight:"semibold",whiteSpace:"pre-wrap",pr:2,children:[e,":"]}),r?y.jsxs(Nh,{href:t.toString(),isExternal:!0,wordBreak:"break-all",children:[t.toString()," ",y.jsx(Cq,{mx:"2px"})]}):y.jsx(fn,{overflowY:"scroll",wordBreak:"break-all",children:t.toString()})]})]}),OEe=(e,t)=>e.image.uuid===t.image.uuid,MP=w.memo(({image:e,styleClass:t})=>{var V,K;const n=Me();Je("esc",()=>{n(VU(!1))});const r=((V=e==null?void 0:e.metadata)==null?void 0:V.image)||{},i=e==null?void 0:e.dreamPrompt,{cfg_scale:o,fit:a,height:s,hires_fix:l,init_image_path:u,mask_image_path:d,orig_path:h,perlin:m,postprocessing:v,prompt:b,sampler:S,seamless:k,seed:E,steps:_,strength:T,denoise_str:A,threshold:I,type:R,variations:D,width:j}=r,z=JSON.stringify(e.metadata,null,2);return y.jsx("div",{className:`image-metadata-viewer ${t}`,children:y.jsxs(Ge,{gap:1,direction:"column",width:"100%",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(fn,{fontWeight:"semibold",children:"File:"}),y.jsxs(Nh,{href:e.url,isExternal:!0,maxW:"calc(100% - 3rem)",children:[e.url.length>64?e.url.substring(0,64).concat("..."):e.url,y.jsx(Cq,{mx:"2px"})]})]}),Object.keys(r).length>0?y.jsxs(y.Fragment,{children:[R&&y.jsx(Qn,{label:"Generation type",value:R}),((K=e.metadata)==null?void 0:K.model_weights)&&y.jsx(Qn,{label:"Model",value:e.metadata.model_weights}),["esrgan","gfpgan"].includes(R)&&y.jsx(Qn,{label:"Original image",value:h}),b&&y.jsx(Qn,{label:"Prompt",labelPosition:"top",value:i2(b),onClick:()=>n(Nx(b))}),E!==void 0&&y.jsx(Qn,{label:"Seed",value:E,onClick:()=>n(Ny(E))}),I!==void 0&&y.jsx(Qn,{label:"Noise Threshold",value:I,onClick:()=>n(vU(I))}),m!==void 0&&y.jsx(Qn,{label:"Perlin Noise",value:m,onClick:()=>n(dU(m))}),S&&y.jsx(Qn,{label:"Sampler",value:S,onClick:()=>n(fU(S))}),_&&y.jsx(Qn,{label:"Steps",value:_,onClick:()=>n(mU(_))}),o!==void 0&&y.jsx(Qn,{label:"CFG scale",value:o,onClick:()=>n(sU(o))}),D&&D.length>0&&y.jsx(Qn,{label:"Seed-weight pairs",value:Y5(D),onClick:()=>n(pU(Y5(D)))}),k&&y.jsx(Qn,{label:"Seamless",value:k,onClick:()=>n(hU(k))}),l&&y.jsx(Qn,{label:"High Resolution Optimization",value:l,onClick:()=>n(lP(l))}),j&&y.jsx(Qn,{label:"Width",value:j,onClick:()=>n(yU(j))}),s&&y.jsx(Qn,{label:"Height",value:s,onClick:()=>n(lU(s))}),u&&y.jsx(Qn,{label:"Initial image",value:u,isLink:!0,onClick:()=>n(k0(u))}),d&&y.jsx(Qn,{label:"Mask image",value:d,isLink:!0,onClick:()=>n(cU(d))}),R==="img2img"&&T&&y.jsx(Qn,{label:"Image to image strength",value:T,onClick:()=>n(l8(T))}),a&&y.jsx(Qn,{label:"Image to image fit",value:a,onClick:()=>n(gU(a))}),v&&v.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Dh,{size:"sm",children:"Postprocessing"}),v.map((te,q)=>{if(te.type==="esrgan"){const{scale:$,strength:U,denoise_str:X}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Upscale (ESRGAN)`}),y.jsx(Qn,{label:"Scale",value:$,onClick:()=>n(wU($))}),y.jsx(Qn,{label:"Strength",value:U,onClick:()=>n(d8(U))}),X!==void 0&&y.jsx(Qn,{label:"Denoising strength",value:X,onClick:()=>n(c8(X))})]},q)}else if(te.type==="gfpgan"){const{strength:$}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (GFPGAN)`}),y.jsx(Qn,{label:"Strength",value:$,onClick:()=>{n(u8($)),n(I4("gfpgan"))}})]},q)}else if(te.type==="codeformer"){const{strength:$,fidelity:U}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (Codeformer)`}),y.jsx(Qn,{label:"Strength",value:$,onClick:()=>{n(u8($)),n(I4("codeformer"))}}),U&&y.jsx(Qn,{label:"Fidelity",value:U,onClick:()=>{n(xU(U)),n(I4("codeformer"))}})]},q)}})]}),i&&y.jsx(Qn,{withCopy:!0,label:"Dream Prompt",value:i}),y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(uo,{label:"Copy metadata JSON",children:y.jsx(ss,{"aria-label":"Copy metadata JSON",icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(z)})}),y.jsx(fn,{fontWeight:"semibold",children:"Metadata JSON:"})]}),y.jsx("div",{className:"image-json-viewer",children:y.jsx("pre",{children:z})})]})]}):y.jsx(uF,{width:"100%",pt:10,children:y.jsx(fn,{fontSize:"lg",fontWeight:"semibold",children:"No metadata available"})})]})})},OEe);MP.displayName="ImageMetadataViewer";const _q=at([yp,mp],(e,t)=>{const{currentCategory:n,currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t,a=e.categories[r?r.category:"result"].images,s=a.findIndex(u=>{var d;return u.uuid===((d=e==null?void 0:e.currentImage)==null?void 0:d.uuid)}),l=a.length;return{imageToDisplay:i||r,isIntermediate:Boolean(i),viewerImageToDisplay:r,currentCategory:n,isOnFirstImage:s===0,isOnLastImage:!isNaN(s)&&s===l-1,shouldShowImageDetails:o,shouldShowPrevImageButton:s===0,shouldShowNextImageButton:!isNaN(s)&&s===l-1}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function MEe(){const e=Me(),{isOnFirstImage:t,isOnLastImage:n,shouldShowImageDetails:r,imageToDisplay:i,isIntermediate:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return y.jsxs("div",{className:"current-image-preview",children:[i&&y.jsx(KS,{src:i.url,width:i.width,height:i.height,style:{imageRendering:o?"pixelated":"initial"}}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!t&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!n&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),r&&i&&y.jsx(MP,{image:i,styleClass:"current-image-metadata"})]})}var IEe=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof a>"u"?void 0:Number(a)}},FEe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],xD="__resizable_base__",kq=function(e){NEe(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(xD):o.className+=xD,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||jEe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,a=this.resizable.style.position;a!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=a}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&n.propsSize[s].toString().endsWith("%")){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var l=n.getParentSize(),u=Number(n.state[s].toString().replace("px","")),d=u/l[s]*100;return d+"%"}return RC(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?RC(r.width):i("width"),a=r&&typeof r.height<"u"&&!this.state.isResizing?RC(r.height):i("height");return{width:o,height:a}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,a=i&&Ng("left",o),s=i&&Ng("top",o),l,u;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=a?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(n=n&&n"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,v=typeof i.height>"u"||i.height<0?r:i.height,b=l||0,S=u||0;if(s){var k=(m-b)*this.ratio+S,E=(v-b)*this.ratio+S,_=(d-S)/this.ratio+b,T=(h-S)/this.ratio+b,A=Math.max(d,k),I=Math.min(h,E),R=Math.max(m,_),D=Math.min(v,T);n=Wb(n,A,I),r=Wb(r,R,D)}else n=Wb(n,d,h),r=Wb(r,m,v);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),a=o.left,s=o.top,l=o.right,u=o.bottom;this.resizableLeft=a,this.resizableRight=l,this.resizableTop=s,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&BEe(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ub(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var a=this.props.onResizeStart(n,r,this.resizable);if(a===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var u=this.parentNode;if(u){var d=this.window.getComputedStyle(u).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ub(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,a=i.maxHeight,s=i.minWidth,l=i.minHeight,u=Ub(n)?n.touches[0].clientX:n.clientX,d=Ub(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,v=h.original,b=h.width,S=h.height,k=this.getParentSize(),E=$Ee(k,this.window.innerWidth,this.window.innerHeight,o,a,s,l);o=E.maxWidth,a=E.maxHeight,s=E.minWidth,l=E.minHeight;var _=this.calculateNewSizeFromDirection(u,d),T=_.newHeight,A=_.newWidth,I=this.calculateNewMaxFromBoundary(o,a);this.props.snap&&this.props.snap.x&&(A=SD(A,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(T=SD(T,this.props.snap.y,this.props.snapGap));var R=this.calculateNewSizeFromAspectRatio(A,T,{width:I.maxWidth,height:I.maxHeight},{width:s,height:l});if(A=R.newWidth,T=R.newHeight,this.props.grid){var D=bD(A,this.props.grid[0]),j=bD(T,this.props.grid[1]),z=this.props.snapGap||0;A=z===0||Math.abs(D-A)<=z?D:A,T=z===0||Math.abs(j-T)<=z?j:T}var V={width:A-v.width,height:T-v.height};if(b&&typeof b=="string"){if(b.endsWith("%")){var K=A/k.width*100;A=K+"%"}else if(b.endsWith("vw")){var te=A/this.window.innerWidth*100;A=te+"vw"}else if(b.endsWith("vh")){var q=A/this.window.innerHeight*100;A=q+"vh"}}if(S&&typeof S=="string"){if(S.endsWith("%")){var K=T/k.height*100;T=K+"%"}else if(S.endsWith("vw")){var te=T/this.window.innerWidth*100;T=te+"vw"}else if(S.endsWith("vh")){var q=T/this.window.innerHeight*100;T=q+"vh"}}var $={width:this.createSizeForCssProperty(A,"width"),height:this.createSizeForCssProperty(T,"height")};this.flexDir==="row"?$.flexBasis=$.width:this.flexDir==="column"&&($.flexBasis=$.height),Qs.flushSync(function(){r.setState($)}),this.props.onResize&&this.props.onResize(n,m,this.resizable,V)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,a=r.original;if(!(!i||!this.resizable)){var s={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,a=r.handleClasses,s=r.handleWrapperStyle,l=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?w.createElement(DEe,{key:h,direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:a&&a[h]},u&&u[h]?u[h]:null):null});return w.createElement("div",{className:l,style:s},d)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(a,s){return FEe.indexOf(s)!==-1||(a[s]=n.props[s]),a},{}),i=Nl(Nl(Nl({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return w.createElement(o,Nl({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&w.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(w.PureComponent);const er=e=>{const{label:t,styleClass:n,...r}=e;return y.jsx(Q$,{className:`invokeai__checkbox ${n}`,...r,children:t})};function Eq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z"}}]})(e)}function Pq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146zm.122 2.112v-.002.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.507 4.507 0 0 0-.288-.076 4.922 4.922 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.924 4.924 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343a1.779 1.779 0 0 0 .062.46z"}}]})(e)}function zEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"}}]})(e)}function HEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}}]})(e)}function VEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function WEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function Tq(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function UEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function GEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function qEe(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function YEe(e,t){e.classList?e.classList.add(t):qEe(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function KEe(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wD(e.className,t):e.setAttribute("class",wD(e.className&&e.className.baseVal||"",t))}const CD={disabled:!1},Lq=N.createContext(null);var Aq=function(t){return t.scrollTop},Mv="unmounted",ph="exited",gh="entering",zg="entered",N8="exiting",gc=function(e){yE(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ph,o.appearStatus=gh):l=zg:r.unmountOnExit||r.mountOnEnter?l=Mv:l=ph,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Mv?{status:ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==gh&&a!==zg&&(o=gh):(a===gh||a===zg)&&(o=N8)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===gh){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this);a&&Aq(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ph&&this.setState({status:Mv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[vb.findDOMNode(this),s],u=l[0],d=l[1],h=this.getTimeouts(),m=s?h.appear:h.enter;if(!i&&!a||CD.disabled){this.safeSetState({status:zg},function(){o.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:gh},function(){o.props.onEntering(u,d),o.onTransitionEnd(m,function(){o.safeSetState({status:zg},function(){o.props.onEntered(u,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:vb.findDOMNode(this);if(!o||CD.disabled){this.safeSetState({status:ph},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:N8},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ph},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Mv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=gE(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(Lq.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);gc.contextType=Lq;gc.propTypes={};function jg(){}gc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jg,onEntering:jg,onEntered:jg,onExit:jg,onExiting:jg,onExited:jg};gc.UNMOUNTED=Mv;gc.EXITED=ph;gc.ENTERING=gh;gc.ENTERED=zg;gc.EXITING=N8;const XEe=gc;var ZEe=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return YEe(t,r)})},DC=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return KEe(t,r)})},IP=function(e){yE(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;ab,Object.values(b));return w.createElement(S.Provider,{value:k},v)}function d(h,m){const v=(m==null?void 0:m[e][l])||s,b=w.useContext(v);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const i=()=>{const o=n.map(a=>w.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,QEe(i,...t)]}function QEe(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const h=l(o)[`__scope${u}`];return{...s,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function JEe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Mq(...e){return t=>e.forEach(n=>JEe(n,t))}function fs(...e){return w.useCallback(Mq(...e),e)}const oy=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(tPe);if(o){const a=o.props.children,s=i.map(l=>l===o?w.Children.count(a)>1?w.Children.only(null):w.isValidElement(a)?a.props.children:null:l);return w.createElement(j8,bn({},r,{ref:t}),w.isValidElement(a)?w.cloneElement(a,void 0,s):null)}return w.createElement(j8,bn({},r,{ref:t}),n)});oy.displayName="Slot";const j8=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...nPe(r,n.props),ref:Mq(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});j8.displayName="SlotClone";const ePe=({children:e})=>w.createElement(w.Fragment,null,e);function tPe(e){return w.isValidElement(e)&&e.type===ePe}function nPe(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{o(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const rPe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ac=rPe.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:o,...a}=r,s=o?oy:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,bn({},a,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Iq(e,t){e&&Qs.flushSync(()=>e.dispatchEvent(t))}function Rq(e){const t=e+"CollectionProvider",[n,r]=Hy(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:b,children:S}=v,k=N.useRef(null),E=N.useRef(new Map).current;return N.createElement(i,{scope:b,itemMap:E,collectionRef:k},S)},s=e+"CollectionSlot",l=N.forwardRef((v,b)=>{const{scope:S,children:k}=v,E=o(s,S),_=fs(b,E.collectionRef);return N.createElement(oy,{ref:_},k)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",h=N.forwardRef((v,b)=>{const{scope:S,children:k,...E}=v,_=N.useRef(null),T=fs(b,_),A=o(u,S);return N.useEffect(()=>(A.itemMap.set(_,{ref:_,...E}),()=>void A.itemMap.delete(_))),N.createElement(oy,{[d]:"",ref:T},k)});function m(v){const b=o(e+"CollectionConsumer",v);return N.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const E=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,I)=>E.indexOf(A.ref.current)-E.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},m,r]}const iPe=w.createContext(void 0);function Dq(e){const t=w.useContext(iPe);return e||t||"ltr"}function uu(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function oPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const B8="dismissableLayer.update",aPe="dismissableLayer.pointerDownOutside",sPe="dismissableLayer.focusOutside";let _D;const lPe=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uPe=w.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=w.useContext(lPe),[h,m]=w.useState(null),v=(n=h==null?void 0:h.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,b]=w.useState({}),S=fs(t,j=>m(j)),k=Array.from(d.layers),[E]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=k.indexOf(E),T=h?k.indexOf(h):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,I=T>=_,R=cPe(j=>{const z=j.target,V=[...d.branches].some(K=>K.contains(z));!I||V||(o==null||o(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),D=dPe(j=>{const z=j.target;[...d.branches].some(K=>K.contains(z))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return oPe(j=>{T===d.layers.size-1&&(i==null||i(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),w.useEffect(()=>{if(h)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(_D=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),kD(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=_D)}},[h,v,r,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),kD())},[h,d]),w.useEffect(()=>{const j=()=>b({});return document.addEventListener(B8,j),()=>document.removeEventListener(B8,j)},[]),w.createElement(ac.div,bn({},u,{ref:S,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:rr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:rr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:rr(e.onPointerDownCapture,R.onPointerDownCapture)}))});function cPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let u=function(){Nq(aPe,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function dPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Nq(sPe,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kD(){const e=new CustomEvent(B8);document.dispatchEvent(e)}function Nq(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Iq(i,o):i.dispatchEvent(o)}let NC=0;function fPe(){w.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ED()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ED()),NC++,()=>{NC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),NC--}},[])}function ED(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const jC="focusScope.autoFocusOnMount",BC="focusScope.autoFocusOnUnmount",PD={bubbles:!1,cancelable:!0},hPe=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=w.useState(null),u=uu(i),d=uu(o),h=w.useRef(null),m=fs(t,S=>l(S)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let S=function(E){if(v.paused||!s)return;const _=E.target;s.contains(_)?h.current=_:mh(h.current,{select:!0})},k=function(E){v.paused||!s||s.contains(E.relatedTarget)||mh(h.current,{select:!0})};return document.addEventListener("focusin",S),document.addEventListener("focusout",k),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k)}}},[r,s,v.paused]),w.useEffect(()=>{if(s){LD.add(v);const S=document.activeElement;if(!s.contains(S)){const E=new CustomEvent(jC,PD);s.addEventListener(jC,u),s.dispatchEvent(E),E.defaultPrevented||(pPe(bPe(jq(s)),{select:!0}),document.activeElement===S&&mh(s))}return()=>{s.removeEventListener(jC,u),setTimeout(()=>{const E=new CustomEvent(BC,PD);s.addEventListener(BC,d),s.dispatchEvent(E),E.defaultPrevented||mh(S??document.body,{select:!0}),s.removeEventListener(BC,d),LD.remove(v)},0)}}},[s,u,d,v]);const b=w.useCallback(S=>{if(!n&&!r||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,E=document.activeElement;if(k&&E){const _=S.currentTarget,[T,A]=gPe(_);T&&A?!S.shiftKey&&E===A?(S.preventDefault(),n&&mh(T,{select:!0})):S.shiftKey&&E===T&&(S.preventDefault(),n&&mh(A,{select:!0})):E===_&&S.preventDefault()}},[n,r,v.paused]);return w.createElement(ac.div,bn({tabIndex:-1},a,{ref:m,onKeyDown:b}))});function pPe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mh(r,{select:t}),document.activeElement!==n)return}function gPe(e){const t=jq(e),n=TD(t,e),r=TD(t.reverse(),e);return[n,r]}function jq(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function TD(e,t){for(const n of e)if(!mPe(n,{upTo:t}))return n}function mPe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vPe(e){return e instanceof HTMLInputElement&&"select"in e}function mh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&vPe(e)&&t&&e.select()}}const LD=yPe();function yPe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=AD(e,t),e.unshift(t)},remove(t){var n;e=AD(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function AD(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function bPe(e){return e.filter(t=>t.tagName!=="A")}const a0=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:()=>{},SPe=XC["useId".toString()]||(()=>{});let xPe=0;function wPe(e){const[t,n]=w.useState(SPe());return a0(()=>{e||n(r=>r??String(xPe++))},[e]),e||(t?`radix-${t}`:"")}function A0(e){return e.split("-")[0]}function Qx(e){return e.split("-")[1]}function O0(e){return["top","bottom"].includes(A0(e))?"x":"y"}function RP(e){return e==="y"?"height":"width"}function OD(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=O0(t),l=RP(s),u=r[l]/2-i[l]/2,d=s==="x";let h;switch(A0(t)){case"top":h={x:o,y:r.y-i.height};break;case"bottom":h={x:o,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(Qx(t)){case"start":h[s]-=u*(n&&d?-1:1);break;case"end":h[s]+=u*(n&&d?-1:1)}return h}const CPe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=OD(l,r,s),h=r,m={},v=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=Bq(r),d={x:i,y:o},h=O0(a),m=Qx(a),v=RP(h),b=await l.getDimensions(n),S=h==="y"?"top":"left",k=h==="y"?"bottom":"right",E=s.reference[v]+s.reference[h]-d[h]-s.floating[v],_=d[h]-s.reference[h],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let A=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0;A===0&&(A=s.floating[v]);const I=E/2-_/2,R=u[S],D=A-b[v]-u[k],j=A/2-b[v]/2+I,z=$8(R,j,D),V=(m==="start"?u[S]:u[k])>0&&j!==z&&s.reference[v]<=s.floating[v];return{[h]:d[h]-(V?jEPe[t])}function PPe(e,t,n){n===void 0&&(n=!1);const r=Qx(e),i=O0(e),o=RP(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=rS(a)),{main:a,cross:rS(a)}}const TPe={start:"end",end:"start"};function ID(e){return e.replace(/start|end/g,t=>TPe[t])}const $q=["top","right","bottom","left"];$q.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const LPe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...b}=e,S=A0(r),k=h||(S===a||!v?[rS(a)]:function(j){const z=rS(j);return[ID(j),z,ID(z)]}(a)),E=[a,...k],_=await nS(t,b),T=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&T.push(_[S]),d){const{main:j,cross:z}=PPe(r,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));T.push(_[j],_[z])}if(A=[...A,{placement:r,overflows:T}],!T.every(j=>j<=0)){var I,R;const j=((I=(R=i.flip)==null?void 0:R.index)!=null?I:0)+1,z=E[j];if(z)return{data:{index:j,overflows:A},reset:{placement:z}};let V="bottom";switch(m){case"bestFit":{var D;const K=(D=A.map(te=>[te,te.overflows.filter(q=>q>0).reduce((q,$)=>q+$,0)]).sort((te,q)=>te[1]-q[1])[0])==null?void 0:D[0].placement;K&&(V=K);break}case"initialPlacement":V=a}if(r!==V)return{reset:{placement:V}}}return{}}}};function RD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function DD(e){return $q.some(t=>e[t]>=0)}const APe=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=RD(await nS(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:DD(o)}}}case"escaped":{const o=RD(await nS(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:o,escaped:DD(o)}}}default:return{}}}}},OPe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:s,platform:l,elements:u}=o,d=await(l.isRTL==null?void 0:l.isRTL(u.floating)),h=A0(s),m=Qx(s),v=O0(s)==="x",b=["left","top"].includes(h)?-1:1,S=d&&v?-1:1,k=typeof a=="function"?a(o):a;let{mainAxis:E,crossAxis:_,alignmentAxis:T}=typeof k=="number"?{mainAxis:k,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...k};return m&&typeof T=="number"&&(_=m==="end"?-1*T:T),v?{x:_*S,y:E*b}:{x:E*b,y:_*S}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Fq(e){return e==="x"?"y":"x"}const MPe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:k=>{let{x:E,y:_}=k;return{x:E,y:_}}},...l}=e,u={x:n,y:r},d=await nS(t,l),h=O0(A0(i)),m=Fq(h);let v=u[h],b=u[m];if(o){const k=h==="y"?"bottom":"right";v=$8(v+d[h==="y"?"top":"left"],v,v-d[k])}if(a){const k=m==="y"?"bottom":"right";b=$8(b+d[m==="y"?"top":"left"],b,b-d[k])}const S=s.fn({...t,[h]:v,[m]:b});return{...S,data:{x:S.x-n,y:S.y-r}}}}},IPe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,d={x:n,y:r},h=O0(i),m=Fq(h);let v=d[h],b=d[m];const S=typeof s=="function"?s({...o,placement:i}):s,k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(l){const I=h==="y"?"height":"width",R=o.reference[h]-o.floating[I]+k.mainAxis,D=o.reference[h]+o.reference[I]-k.mainAxis;vD&&(v=D)}if(u){var E,_,T,A;const I=h==="y"?"width":"height",R=["top","left"].includes(A0(i)),D=o.reference[m]-o.floating[I]+(R&&(E=(_=a.offset)==null?void 0:_[m])!=null?E:0)+(R?0:k.crossAxis),j=o.reference[m]+o.reference[I]+(R?0:(T=(A=a.offset)==null?void 0:A[m])!=null?T:0)-(R?k.crossAxis:0);bj&&(b=j)}return{[h]:v,[m]:b}}}};function zq(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function mc(e){if(e==null)return window;if(!zq(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vy(e){return mc(e).getComputedStyle(e)}function Xu(e){return zq(e)?"":e?(e.nodeName||"").toLowerCase():""}function Hq(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function cu(e){return e instanceof mc(e).HTMLElement}function Jd(e){return e instanceof mc(e).Element}function DP(e){return typeof ShadowRoot>"u"?!1:e instanceof mc(e).ShadowRoot||e instanceof ShadowRoot}function Jx(e){const{overflow:t,overflowX:n,overflowY:r}=Vy(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function RPe(e){return["table","td","th"].includes(Xu(e))}function ND(e){const t=/firefox/i.test(Hq()),n=Vy(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Vq(){return!/^((?!chrome|android).)*safari/i.test(Hq())}const jD=Math.min,c2=Math.max,iS=Math.round;function Zu(e,t,n){var r,i,o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&cu(e)&&(l=e.offsetWidth>0&&iS(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&iS(s.height)/e.offsetHeight||1);const d=Jd(e)?mc(e):window,h=!Vq()&&n,m=(s.left+(h&&(r=(i=d.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,v=(s.top+(h&&(o=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/u,b=s.width/l,S=s.height/u;return{width:b,height:S,top:v,right:m+b,bottom:v+S,left:m,x:m,y:v}}function zd(e){return(t=e,(t instanceof mc(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ew(e){return Jd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wq(e){return Zu(zd(e)).left+ew(e).scrollLeft}function DPe(e,t,n){const r=cu(t),i=zd(t),o=Zu(e,r&&function(l){const u=Zu(l);return iS(u.width)!==l.offsetWidth||iS(u.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Xu(t)!=="body"||Jx(i))&&(a=ew(t)),cu(t)){const l=Zu(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Wq(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Uq(e){return Xu(e)==="html"?e:e.assignedSlot||e.parentNode||(DP(e)?e.host:null)||zd(e)}function BD(e){return cu(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function F8(e){const t=mc(e);let n=BD(e);for(;n&&RPe(n)&&getComputedStyle(n).position==="static";)n=BD(n);return n&&(Xu(n)==="html"||Xu(n)==="body"&&getComputedStyle(n).position==="static"&&!ND(n))?t:n||function(r){let i=Uq(r);for(DP(i)&&(i=i.host);cu(i)&&!["html","body"].includes(Xu(i));){if(ND(i))return i;i=i.parentNode}return null}(e)||t}function $D(e){if(cu(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Zu(e);return{width:t.width,height:t.height}}function Gq(e){const t=Uq(e);return["html","body","#document"].includes(Xu(t))?e.ownerDocument.body:cu(t)&&Jx(t)?t:Gq(t)}function oS(e,t){var n;t===void 0&&(t=[]);const r=Gq(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=mc(r),a=i?[o].concat(o.visualViewport||[],Jx(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(oS(a))}function FD(e,t,n){return t==="viewport"?tS(function(r,i){const o=mc(r),a=zd(r),s=o.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,h=0;if(s){l=s.width,u=s.height;const m=Vq();(m||!m&&i==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:l,height:u,x:d,y:h}}(e,n)):Jd(t)?function(r,i){const o=Zu(r,!1,i==="fixed"),a=o.top+r.clientTop,s=o.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):tS(function(r){var i;const o=zd(r),a=ew(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=c2(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=c2(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-a.scrollLeft+Wq(r);const h=-a.scrollTop;return Vy(s||o).direction==="rtl"&&(d+=c2(o.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:h}}(zd(e)))}function NPe(e){const t=oS(e),n=["absolute","fixed"].includes(Vy(e).position)&&cu(e)?F8(e):e;return Jd(n)?t.filter(r=>Jd(r)&&function(i,o){const a=o.getRootNode==null?void 0:o.getRootNode();if(i.contains(o))return!0;if(a&&DP(a)){let s=o;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Xu(r)!=="body"):[]}const jPe={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?NPe(t):[].concat(n),r],a=o[0],s=o.reduce((l,u)=>{const d=FD(t,u,i);return l.top=c2(d.top,l.top),l.right=jD(d.right,l.right),l.bottom=jD(d.bottom,l.bottom),l.left=c2(d.left,l.left),l},FD(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=cu(n),o=zd(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Xu(n)!=="body"||Jx(o))&&(a=ew(n)),cu(n))){const l=Zu(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Jd,getDimensions:$D,getOffsetParent:F8,getDocumentElement:zd,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:DPe(t,F8(n),r),floating:{...$D(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vy(e).direction==="rtl"};function BPe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,d=l||u?[...Jd(e)?oS(e):[],...oS(t)]:[];d.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;if(a){let b=!0;m=new ResizeObserver(()=>{b||n(),b=!1}),Jd(e)&&!s&&m.observe(e),m.observe(t)}let v=s?Zu(e):null;return s&&function b(){const S=Zu(e);!v||S.x===v.x&&S.y===v.y&&S.width===v.width&&S.height===v.height||n(),v=S,h=requestAnimationFrame(b)}(),n(),()=>{var b;d.forEach(S=>{l&&S.removeEventListener("scroll",n),u&&S.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const $Pe=(e,t,n)=>CPe(e,t,{platform:jPe,...n});var z8=typeof document<"u"?w.useLayoutEffect:w.useEffect;function H8(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!H8(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!H8(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function FPe(e){const t=w.useRef(e);return z8(()=>{t.current=e}),t}function zPe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=w.useRef(null),a=w.useRef(null),s=FPe(i),l=w.useRef(null),[u,d]=w.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[h,m]=w.useState(t);H8(h==null?void 0:h.map(T=>{let{options:A}=T;return A}),t==null?void 0:t.map(T=>{let{options:A}=T;return A}))||m(t);const v=w.useCallback(()=>{!o.current||!a.current||$Pe(o.current,a.current,{middleware:h,placement:n,strategy:r}).then(T=>{b.current&&Qs.flushSync(()=>{d(T)})})},[h,n,r]);z8(()=>{b.current&&v()},[v]);const b=w.useRef(!1);z8(()=>(b.current=!0,()=>{b.current=!1}),[]);const S=w.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&a.current)if(s.current){const T=s.current(o.current,a.current,v);l.current=T}else v()},[v,s]),k=w.useCallback(T=>{o.current=T,S()},[S]),E=w.useCallback(T=>{a.current=T,S()},[S]),_=w.useMemo(()=>({reference:o,floating:a}),[]);return w.useMemo(()=>({...u,update:v,refs:_,reference:k,floating:E}),[u,v,_,k,E])}const HPe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?MD({element:t.current,padding:n}).fn(i):{}:t?MD({element:t,padding:n}).fn(i):{}}}};function VPe(e){const[t,n]=w.useState(void 0);return a0(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const qq="Popper",[NP,Yq]=Hy(qq),[WPe,Kq]=NP(qq),UPe=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return w.createElement(WPe,{scope:t,anchor:r,onAnchorChange:i},n)},GPe="PopperAnchor",qPe=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Kq(GPe,n),a=w.useRef(null),s=fs(t,a);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:w.createElement(ac.div,bn({},i,{ref:s}))}),aS="PopperContent",[YPe,Cze]=NP(aS),[KPe,XPe]=NP(aS,{hasParent:!1,positionUpdateFns:new Set}),ZPe=w.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;const{__scopePopper:d,side:h="bottom",sideOffset:m=0,align:v="center",alignOffset:b=0,arrowPadding:S=0,collisionBoundary:k=[],collisionPadding:E=0,sticky:_="partial",hideWhenDetached:T=!1,avoidCollisions:A=!0,...I}=e,R=Kq(aS,d),[D,j]=w.useState(null),z=fs(t,ae=>j(ae)),[V,K]=w.useState(null),te=VPe(V),q=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,$=(r=te==null?void 0:te.height)!==null&&r!==void 0?r:0,U=h+(v!=="center"?"-"+v:""),X=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Z=Array.isArray(k)?k:[k],W=Z.length>0,Q={padding:X,boundary:Z.filter(JPe),altBoundary:W},{reference:ie,floating:fe,strategy:Se,x:Pe,y:ye,placement:We,middlewareData:De,update:ot}=zPe({strategy:"fixed",placement:U,whileElementsMounted:BPe,middleware:[OPe({mainAxis:m+$,alignmentAxis:b}),A?MPe({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?IPe():void 0,...Q}):void 0,V?HPe({element:V,padding:S}):void 0,A?LPe({...Q}):void 0,eTe({arrowWidth:q,arrowHeight:$}),T?APe({strategy:"referenceHidden"}):void 0].filter(QPe)});a0(()=>{ie(R.anchor)},[ie,R.anchor]);const He=Pe!==null&&ye!==null,[Be,wt]=Xq(We),st=(i=De.arrow)===null||i===void 0?void 0:i.x,mt=(o=De.arrow)===null||o===void 0?void 0:o.y,St=((a=De.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Le,lt]=w.useState();a0(()=>{D&<(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Mt,positionUpdateFns:ut}=XPe(aS,d),_t=!Mt;w.useLayoutEffect(()=>{if(!_t)return ut.add(ot),()=>{ut.delete(ot)}},[_t,ut,ot]),w.useLayoutEffect(()=>{_t&&He&&Array.from(ut).reverse().forEach(ae=>requestAnimationFrame(ae))},[_t,He,ut]);const ln={"data-side":Be,"data-align":wt,...I,ref:z,style:{...I.style,animation:He?void 0:"none",opacity:(s=De.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return w.createElement("div",{ref:fe,"data-radix-popper-content-wrapper":"",style:{position:Se,left:0,top:0,transform:He?`translate3d(${Math.round(Pe)}px, ${Math.round(ye)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Le,["--radix-popper-transform-origin"]:[(l=De.transformOrigin)===null||l===void 0?void 0:l.x,(u=De.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},w.createElement(YPe,{scope:d,placedSide:Be,onArrowChange:K,arrowX:st,arrowY:mt,shouldHideArrow:St},_t?w.createElement(KPe,{scope:d,hasParent:!0,positionUpdateFns:ut},w.createElement(ac.div,ln)):w.createElement(ac.div,ln)))});function QPe(e){return e!==void 0}function JPe(e){return e!==null}const eTe=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;const{placement:s,rects:l,middlewareData:u}=t,h=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=h?0:e.arrowWidth,v=h?0:e.arrowHeight,[b,S]=Xq(s),k={start:"0%",center:"50%",end:"100%"}[S],E=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+m/2,_=((o=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&o!==void 0?o:0)+v/2;let T="",A="";return b==="bottom"?(T=h?k:`${E}px`,A=`${-v}px`):b==="top"?(T=h?k:`${E}px`,A=`${l.floating.height+v}px`):b==="right"?(T=`${-v}px`,A=h?k:`${_}px`):b==="left"&&(T=`${l.floating.width+v}px`,A=h?k:`${_}px`),{data:{x:T,y:A}}}});function Xq(e){const[t,n="center"]=e.split("-");return[t,n]}const tTe=UPe,nTe=qPe,rTe=ZPe;function iTe(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const Zq=e=>{const{present:t,children:n}=e,r=oTe(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=fs(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Zq.displayName="Presence";function oTe(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),a=e?"mounted":"unmounted",[s,l]=iTe(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=qb(r.current);o.current=s==="mounted"?u:"none"},[s]),a0(()=>{const u=r.current,d=i.current;if(d!==e){const m=o.current,v=qb(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),a0(()=>{if(t){const u=h=>{const v=qb(r.current).includes(h.animationName);h.target===t&&v&&Qs.flushSync(()=>l("ANIMATION_END"))},d=h=>{h.target===t&&(o.current=qb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qb(e){return(e==null?void 0:e.animationName)||"none"}function aTe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=sTe({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,s=uu(n),l=w.useCallback(u=>{if(o){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else i(u)},[o,e,i,s]);return[a,l]}function sTe({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=uu(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}const $C="rovingFocusGroup.onEntryFocus",lTe={bubbles:!1,cancelable:!0},jP="RovingFocusGroup",[V8,Qq,uTe]=Rq(jP),[cTe,Jq]=Hy(jP,[uTe]),[dTe,fTe]=cTe(jP),hTe=w.forwardRef((e,t)=>w.createElement(V8.Provider,{scope:e.__scopeRovingFocusGroup},w.createElement(V8.Slot,{scope:e.__scopeRovingFocusGroup},w.createElement(pTe,bn({},e,{ref:t}))))),pTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...d}=e,h=w.useRef(null),m=fs(t,h),v=Dq(o),[b=null,S]=aTe({prop:a,defaultProp:s,onChange:l}),[k,E]=w.useState(!1),_=uu(u),T=Qq(n),A=w.useRef(!1),[I,R]=w.useState(0);return w.useEffect(()=>{const D=h.current;if(D)return D.addEventListener($C,_),()=>D.removeEventListener($C,_)},[_]),w.createElement(dTe,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:b,onItemFocus:w.useCallback(D=>S(D),[S]),onItemShiftTab:w.useCallback(()=>E(!0),[]),onFocusableItemAdd:w.useCallback(()=>R(D=>D+1),[]),onFocusableItemRemove:w.useCallback(()=>R(D=>D-1),[])},w.createElement(ac.div,bn({tabIndex:k||I===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{A.current=!0}),onFocus:rr(e.onFocus,D=>{const j=!A.current;if(D.target===D.currentTarget&&j&&!k){const z=new CustomEvent($C,lTe);if(D.currentTarget.dispatchEvent(z),!z.defaultPrevented){const V=T().filter(U=>U.focusable),K=V.find(U=>U.active),te=V.find(U=>U.id===b),$=[K,te,...V].filter(Boolean).map(U=>U.ref.current);eY($)}}A.current=!1}),onBlur:rr(e.onBlur,()=>E(!1))})))}),gTe="RovingFocusGroupItem",mTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=wPe(),s=fTe(gTe,n),l=s.currentTabStopId===a,u=Qq(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=s;return w.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),w.createElement(V8.ItemSlot,{scope:n,id:a,focusable:r,active:i},w.createElement(ac.span,bn({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:rr(e.onMouseDown,m=>{r?s.onItemFocus(a):m.preventDefault()}),onFocus:rr(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:rr(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){s.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const v=bTe(m,s.orientation,s.dir);if(v!==void 0){m.preventDefault();let S=u().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const k=S.indexOf(m.currentTarget);S=s.loop?STe(S,k+1):S.slice(k+1)}setTimeout(()=>eY(S))}})})))}),vTe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yTe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function bTe(e,t,n){const r=yTe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return vTe[r]}function eY(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function STe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const xTe=hTe,wTe=mTe,CTe=["Enter"," "],_Te=["ArrowDown","PageUp","Home"],tY=["ArrowUp","PageDown","End"],kTe=[..._Te,...tY],tw="Menu",[W8,ETe,PTe]=Rq(tw),[bp,nY]=Hy(tw,[PTe,Yq,Jq]),BP=Yq(),rY=Jq(),[TTe,nw]=bp(tw),[LTe,$P]=bp(tw),ATe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=BP(t),[l,u]=w.useState(null),d=w.useRef(!1),h=uu(o),m=Dq(i);return w.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.createElement(tTe,s,w.createElement(TTe,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:u},w.createElement(LTe,{scope:t,onClose:w.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:m,modal:a},r)))},OTe=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=BP(n);return w.createElement(nTe,bn({},i,r,{ref:t}))}),MTe="MenuPortal",[_ze,ITe]=bp(MTe,{forceMount:void 0}),Hd="MenuContent",[RTe,iY]=bp(Hd),DTe=w.forwardRef((e,t)=>{const n=ITe(Hd,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=nw(Hd,e.__scopeMenu),a=$P(Hd,e.__scopeMenu);return w.createElement(W8.Provider,{scope:e.__scopeMenu},w.createElement(Zq,{present:r||o.open},w.createElement(W8.Slot,{scope:e.__scopeMenu},a.modal?w.createElement(NTe,bn({},i,{ref:t})):w.createElement(jTe,bn({},i,{ref:t})))))}),NTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu),r=w.useRef(null),i=fs(t,r);return w.useEffect(()=>{const o=r.current;if(o)return zH(o)},[]),w.createElement(oY,bn({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),jTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu);return w.createElement(oY,bn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),oY=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...b}=e,S=nw(Hd,n),k=$P(Hd,n),E=BP(n),_=rY(n),T=ETe(n),[A,I]=w.useState(null),R=w.useRef(null),D=fs(t,R,S.onContentChange),j=w.useRef(0),z=w.useRef(""),V=w.useRef(0),K=w.useRef(null),te=w.useRef("right"),q=w.useRef(0),$=v?PV:w.Fragment,U=v?{as:oy,allowPinchZoom:!0}:void 0,X=W=>{var Q,ie;const fe=z.current+W,Se=T().filter(He=>!He.disabled),Pe=document.activeElement,ye=(Q=Se.find(He=>He.ref.current===Pe))===null||Q===void 0?void 0:Q.textValue,We=Se.map(He=>He.textValue),De=GTe(We,fe,ye),ot=(ie=Se.find(He=>He.textValue===De))===null||ie===void 0?void 0:ie.ref.current;(function He(Be){z.current=Be,window.clearTimeout(j.current),Be!==""&&(j.current=window.setTimeout(()=>He(""),1e3))})(fe),ot&&setTimeout(()=>ot.focus())};w.useEffect(()=>()=>window.clearTimeout(j.current),[]),fPe();const Z=w.useCallback(W=>{var Q,ie;return te.current===((Q=K.current)===null||Q===void 0?void 0:Q.side)&&YTe(W,(ie=K.current)===null||ie===void 0?void 0:ie.area)},[]);return w.createElement(RTe,{scope:n,searchRef:z,onItemEnter:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),onItemLeave:w.useCallback(W=>{var Q;Z(W)||((Q=R.current)===null||Q===void 0||Q.focus(),I(null))},[Z]),onTriggerLeave:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:w.useCallback(W=>{K.current=W},[])},w.createElement($,U,w.createElement(hPe,{asChild:!0,trapped:i,onMountAutoFocus:rr(o,W=>{var Q;W.preventDefault(),(Q=R.current)===null||Q===void 0||Q.focus()}),onUnmountAutoFocus:a},w.createElement(uPe,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m},w.createElement(xTe,bn({asChild:!0},_,{dir:k.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:W=>{k.isUsingKeyboardRef.current||W.preventDefault()}}),w.createElement(rTe,bn({role:"menu","aria-orientation":"vertical","data-state":VTe(S.open),"data-radix-menu-content":"",dir:k.dir},E,b,{ref:D,style:{outline:"none",...b.style},onKeyDown:rr(b.onKeyDown,W=>{const ie=W.target.closest("[data-radix-menu-content]")===W.currentTarget,fe=W.ctrlKey||W.altKey||W.metaKey,Se=W.key.length===1;ie&&(W.key==="Tab"&&W.preventDefault(),!fe&&Se&&X(W.key));const Pe=R.current;if(W.target!==Pe||!kTe.includes(W.key))return;W.preventDefault();const We=T().filter(De=>!De.disabled).map(De=>De.ref.current);tY.includes(W.key)&&We.reverse(),WTe(We)}),onBlur:rr(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(j.current),z.current="")}),onPointerMove:rr(e.onPointerMove,G8(W=>{const Q=W.target,ie=q.current!==W.clientX;if(W.currentTarget.contains(Q)&&ie){const fe=W.clientX>q.current?"right":"left";te.current=fe,q.current=W.clientX}}))})))))))}),U8="MenuItem",zD="menu.itemSelect",BTe=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=w.useRef(null),a=$P(U8,e.__scopeMenu),s=iY(U8,e.__scopeMenu),l=fs(t,o),u=w.useRef(!1),d=()=>{const h=o.current;if(!n&&h){const m=new CustomEvent(zD,{bubbles:!0,cancelable:!0});h.addEventListener(zD,v=>r==null?void 0:r(v),{once:!0}),Iq(h,m),m.defaultPrevented?u.current=!1:a.onClose()}};return w.createElement($Te,bn({},i,{ref:l,disabled:n,onClick:rr(e.onClick,d),onPointerDown:h=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,h),u.current=!0},onPointerUp:rr(e.onPointerUp,h=>{var m;u.current||(m=h.currentTarget)===null||m===void 0||m.click()}),onKeyDown:rr(e.onKeyDown,h=>{const m=s.searchRef.current!=="";n||m&&h.key===" "||CTe.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}))}),$Te=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=iY(U8,n),s=rY(n),l=w.useRef(null),u=fs(t,l),[d,h]=w.useState(!1),[m,v]=w.useState("");return w.useEffect(()=>{const b=l.current;if(b){var S;v(((S=b.textContent)!==null&&S!==void 0?S:"").trim())}},[o.children]),w.createElement(W8.ItemSlot,{scope:n,disabled:r,textValue:i??m},w.createElement(wTe,bn({asChild:!0},s,{focusable:!r}),w.createElement(ac.div,bn({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:rr(e.onPointerMove,G8(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:rr(e.onPointerLeave,G8(b=>a.onItemLeave(b))),onFocus:rr(e.onFocus,()=>h(!0)),onBlur:rr(e.onBlur,()=>h(!1))}))))}),FTe="MenuRadioGroup";bp(FTe,{value:void 0,onValueChange:()=>{}});const zTe="MenuItemIndicator";bp(zTe,{checked:!1});const HTe="MenuSub";bp(HTe);function VTe(e){return e?"open":"closed"}function WTe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function UTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function GTe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=UTe(e,Math.max(o,0));i.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function qTe(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=d>r&&n<(u-s)*(r-l)/(d-l)+s&&(i=!i)}return i}function YTe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return qTe(n,t)}function G8(e){return t=>t.pointerType==="mouse"?e(t):void 0}const KTe=ATe,XTe=OTe,ZTe=DTe,QTe=BTe,aY="ContextMenu",[JTe,kze]=Hy(aY,[nY]),rw=nY(),[eLe,sY]=JTe(aY),tLe=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:o=!0}=e,[a,s]=w.useState(!1),l=rw(t),u=uu(r),d=w.useCallback(h=>{s(h),u(h)},[u]);return w.createElement(eLe,{scope:t,open:a,onOpenChange:d,modal:o},w.createElement(KTe,bn({},l,{dir:i,open:a,onOpenChange:d,modal:o}),n))},nLe="ContextMenuTrigger",rLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(nLe,n),o=rw(n),a=w.useRef({x:0,y:0}),s=w.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...a.current})}),l=w.useRef(0),u=w.useCallback(()=>window.clearTimeout(l.current),[]),d=h=>{a.current={x:h.clientX,y:h.clientY},i.onOpenChange(!0)};return w.useEffect(()=>u,[u]),w.createElement(w.Fragment,null,w.createElement(XTe,bn({},o,{virtualRef:s})),w.createElement(ac.span,bn({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:rr(e.onContextMenu,h=>{u(),d(h),h.preventDefault()}),onPointerDown:rr(e.onPointerDown,Yb(h=>{u(),l.current=window.setTimeout(()=>d(h),700)})),onPointerMove:rr(e.onPointerMove,Yb(u)),onPointerCancel:rr(e.onPointerCancel,Yb(u)),onPointerUp:rr(e.onPointerUp,Yb(u))})))}),iLe="ContextMenuContent",oLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(iLe,n),o=rw(n),a=w.useRef(!1);return w.createElement(ZTe,bn({},o,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&a.current&&s.preventDefault(),a.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(a.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),aLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=rw(n);return w.createElement(QTe,bn({},i,r,{ref:t}))});function Yb(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const sLe=tLe,lLe=rLe,uLe=oLe,ud=aLe,cLe=(e,t)=>e.image.uuid===t.image.uuid&&e.isSelected===t.isSelected,lY=w.memo(e=>{var te,q,$,U,X,Z,W,Q;const t=Me(),{activeTabName:n,galleryImageObjectFit:r,galleryImageMinimumWidth:i,mayDeleteImage:o,shouldUseSingleGalleryColumn:a}=he(kEe),{image:s,isSelected:l}=e,{url:u,thumbnail:d,uuid:h,metadata:m}=s,[v,b]=w.useState(!1),S=Ry(),{t:k}=Ve(),E=()=>b(!0),_=()=>b(!1),T=()=>{var ie,fe;if(s.metadata){const[Se,Pe]=aP((fe=(ie=s.metadata)==null?void 0:ie.image)==null?void 0:fe.prompt);Se&&t(Nx(Se)),t(Q2(Pe||""))}S({title:k("toast:promptSet"),status:"success",duration:2500,isClosable:!0})},A=()=>{s.metadata&&t(Ny(s.metadata.image.seed)),S({title:k("toast:seedSet"),status:"success",duration:2500,isClosable:!0})},I=()=>{t(k0(s)),n!=="img2img"&&t(qo("img2img")),S({title:k("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})},R=()=>{t(Dx(s)),t(Rx()),n!=="unifiedCanvas"&&t(qo("unifiedCanvas")),S({title:k("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0})},D=()=>{m&&t(aU(m)),S({title:k("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})},j=async()=>{var ie;if((ie=m==null?void 0:m.image)!=null&&ie.init_image_path&&(await fetch(m.image.init_image_path)).ok){t(qo("img2img")),t(Zxe(m)),S({title:k("toast:initialImageSet"),status:"success",duration:2500,isClosable:!0});return}S({title:k("toast:initialImageNotSet"),description:k("toast:initialImageNotSetDesc"),status:"error",duration:2500,isClosable:!0})},z=()=>t(jI(s)),V=ie=>{ie.dataTransfer.setData("invokeai/imageUuid",h),ie.dataTransfer.effectAllowed="move"},K=()=>{t(jI(s))};return y.jsxs(sLe,{onOpenChange:ie=>{t(tU(ie))},children:[y.jsx(lLe,{children:y.jsxs(ko,{position:"relative",className:"hoverable-image",onMouseOver:E,onMouseOut:_,userSelect:"none",draggable:!0,onDragStart:V,children:[y.jsx(KS,{className:"hoverable-image-image",objectFit:a?"contain":r,rounded:"md",src:d||u,loading:"lazy"}),y.jsx("div",{className:"hoverable-image-content",onClick:z,children:l&&y.jsx(Da,{width:"50%",height:"50%",as:PP,className:"hoverable-image-check"})}),v&&i>=64&&y.jsx("div",{className:"hoverable-image-delete-button",children:y.jsx(eS,{image:s,children:y.jsx(ss,{"aria-label":k("parameters:deleteImage"),icon:y.jsx(xEe,{}),size:"xs",variant:"imageHoverIconButton",fontSize:14,isDisabled:!o})})})]},h)}),y.jsxs(uLe,{className:"hoverable-image-context-menu",sticky:"always",onInteractOutside:ie=>{ie.detail.originalEvent.preventDefault()},children:[y.jsx(ud,{onClickCapture:K,children:k("parameters:openInViewer")}),y.jsx(ud,{onClickCapture:T,disabled:((q=(te=s==null?void 0:s.metadata)==null?void 0:te.image)==null?void 0:q.prompt)===void 0,children:k("parameters:usePrompt")}),y.jsx(ud,{onClickCapture:A,disabled:((U=($=s==null?void 0:s.metadata)==null?void 0:$.image)==null?void 0:U.seed)===void 0,children:k("parameters:useSeed")}),y.jsx(ud,{onClickCapture:D,disabled:!["txt2img","img2img"].includes((Z=(X=s==null?void 0:s.metadata)==null?void 0:X.image)==null?void 0:Z.type),children:k("parameters:useAll")}),y.jsx(ud,{onClickCapture:j,disabled:((Q=(W=s==null?void 0:s.metadata)==null?void 0:W.image)==null?void 0:Q.type)!=="img2img",children:k("parameters:useInitImg")}),y.jsx(ud,{onClickCapture:I,children:k("parameters:sendToImg2Img")}),y.jsx(ud,{onClickCapture:R,children:k("parameters:sendToUnifiedCanvas")}),y.jsx(ud,{"data-warning":!0,children:y.jsx(eS,{image:s,children:y.jsx("p",{children:k("parameters:deleteImage")})})})]})]})},cLe);lY.displayName="HoverableImage";const Kb=320,HD=40,dLe={txt2img:{galleryMinWidth:200,galleryMaxWidth:500},img2img:{galleryMinWidth:200,galleryMaxWidth:500},unifiedCanvas:{galleryMinWidth:200,galleryMaxWidth:200},nodes:{galleryMinWidth:200,galleryMaxWidth:500},postprocess:{galleryMinWidth:200,galleryMaxWidth:500},training:{galleryMinWidth:200,galleryMaxWidth:500}},VD=400;function uY(){const e=Me(),{t}=Ve(),{images:n,currentCategory:r,currentImageUuid:i,shouldPinGallery:o,shouldShowGallery:a,galleryScrollPosition:s,galleryImageMinimumWidth:l,galleryGridTemplateColumns:u,activeTabName:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,areMoreImagesAvailable:b,galleryWidth:S,isLightboxOpen:k,isStaging:E,shouldEnableResize:_,shouldUseSingleGalleryColumn:T}=he(_Ee),{galleryMinWidth:A,galleryMaxWidth:I}=k?{galleryMinWidth:VD,galleryMaxWidth:VD}:dLe[d],[R,D]=w.useState(S>=Kb),[j,z]=w.useState(!1),[V,K]=w.useState(0),te=w.useRef(null),q=w.useRef(null),$=w.useRef(null);w.useEffect(()=>{S>=Kb&&D(!1)},[S]);const U=()=>{e(Bxe(!o)),e(vi(!0))},X=()=>{a?W():Z()},Z=()=>{e(Bd(!0)),o&&e(vi(!0))},W=w.useCallback(()=>{e(Bd(!1)),e(tU(!1)),e($xe(q.current?q.current.scrollTop:0)),setTimeout(()=>o&&e(vi(!0)),400)},[e,o]),Q=()=>{e(R8(r))},ie=ye=>{e(rv(ye))},fe=()=>{m||($.current=window.setTimeout(()=>W(),500))},Se=()=>{$.current&&window.clearTimeout($.current)};Je("g",()=>{X()},[a,o]),Je("left",()=>{e(oP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("right",()=>{e(iP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("shift+g",()=>{U()},[o]),Je("esc",()=>{e(Bd(!1))},{enabled:()=>!o,preventDefault:!0},[o]);const Pe=32;return Je("shift+up",()=>{if(l<256){const ye=ke.clamp(l+Pe,32,256);e(rv(ye))}},[l]),Je("shift+down",()=>{if(l>32){const ye=ke.clamp(l-Pe,32,256);e(rv(ye))}},[l]),w.useEffect(()=>{q.current&&(q.current.scrollTop=s)},[s,a]),w.useEffect(()=>{function ye(We){!o&&te.current&&!te.current.contains(We.target)&&W()}return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[W,o]),y.jsx(Oq,{nodeRef:te,in:a||m,unmountOnExit:!0,timeout:200,classNames:"image-gallery-wrapper",children:y.jsxs("div",{className:"image-gallery-wrapper",style:{zIndex:o?1:100},"data-pinned":o,ref:te,onMouseLeave:o?void 0:fe,onMouseEnter:o?void 0:Se,onMouseOver:o?void 0:Se,children:[y.jsxs(kq,{minWidth:A,maxWidth:o?I:window.innerWidth,className:"image-gallery-popup",handleStyles:{left:{width:"15px"}},enable:{left:_},size:{width:S,height:o?"100%":"100vh"},onResizeStart:(ye,We,De)=>{K(De.clientHeight),De.style.height=`${De.clientHeight}px`,o&&(De.style.position="fixed",De.style.right="1rem",z(!0))},onResizeStop:(ye,We,De,ot)=>{const He=o?ke.clamp(Number(S)+ot.width,A,Number(I)):Number(S)+ot.width;e(Hxe(He)),De.removeAttribute("data-resize-alert"),o&&(De.style.position="relative",De.style.removeProperty("right"),De.style.setProperty("height",o?"100%":"100vh"),z(!1),e(vi(!0)))},onResize:(ye,We,De,ot)=>{const He=ke.clamp(Number(S)+ot.width,A,Number(o?I:.95*window.innerWidth));He>=Kb&&!R?D(!0):HeHe-HD&&e(rv(He-HD)),o&&(He>=I?De.setAttribute("data-resize-alert","true"):De.removeAttribute("data-resize-alert")),De.style.height=`${V}px`},children:[y.jsxs("div",{className:"image-gallery-header",children:[y.jsx(oo,{size:"sm",isAttached:!0,variant:"solid",className:"image-gallery-category-btn-group",children:R?y.jsxs(y.Fragment,{children:[y.jsx(cr,{size:"sm","data-selected":r==="result",onClick:()=>e(kb("result")),children:t("gallery:generations")}),y.jsx(cr,{size:"sm","data-selected":r==="user",onClick:()=>e(kb("user")),children:t("gallery:uploads")})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("gallery:showGenerations"),tooltip:t("gallery:showGenerations"),"data-selected":r==="result",icon:y.jsx(uEe,{}),onClick:()=>e(kb("result"))}),y.jsx(Qe,{"aria-label":t("gallery:showUploads"),tooltip:t("gallery:showUploads"),"data-selected":r==="user",icon:y.jsx(CEe,{}),onClick:()=>e(kb("user"))})]})}),y.jsxs("div",{className:"image-gallery-header-right-icons",children:[y.jsx(Zs,{isLazy:!0,trigger:"hover",placement:"left",triggerComponent:y.jsx(Qe,{size:"sm","aria-label":t("gallery:gallerySettings"),icon:y.jsx(OP,{}),className:"image-gallery-icon-btn",cursor:"pointer"}),children:y.jsxs("div",{className:"image-gallery-settings-popover",children:[y.jsxs("div",{children:[y.jsx(so,{value:l,onChange:ie,min:32,max:256,hideTooltip:!0,label:t("gallery:galleryImageSize")}),y.jsx(Qe,{size:"sm","aria-label":t("gallery:galleryImageResetSize"),tooltip:t("gallery:galleryImageResetSize"),onClick:()=>e(rv(64)),icon:y.jsx(Wx,{}),"data-selected":o,styleClass:"image-gallery-icon-btn"})]}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:maintainAspectRatio"),isChecked:h==="contain",onChange:()=>e(Fxe(h==="contain"?"cover":"contain"))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:autoSwitchNewImages"),isChecked:v,onChange:ye=>e(zxe(ye.target.checked))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:singleColumnLayout"),isChecked:T,onChange:ye=>e(Vxe(ye.target.checked))})})]})}),y.jsx(Qe,{size:"sm",className:"image-gallery-icon-btn","aria-label":t("gallery:pinGallery"),tooltip:`${t("gallery:pinGallery")} (Shift+G)`,onClick:U,icon:o?y.jsx(Eq,{}):y.jsx(Pq,{})})]})]}),y.jsx("div",{className:"image-gallery-container",ref:q,children:n.length||b?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"image-gallery",style:{gridTemplateColumns:u},children:n.map(ye=>{const{uuid:We}=ye,De=i===We;return y.jsx(lY,{image:ye,isSelected:De},We)})}),y.jsx(as,{onClick:Q,isDisabled:!b,className:"image-gallery-load-more-btn",children:t(b?"gallery:loadMore":"gallery:allImagesLoaded")})]}):y.jsxs("div",{className:"image-gallery-container-placeholder",children:[y.jsx(Tq,{}),y.jsx("p",{children:t("gallery:noImagesInGallery")})]})})]}),j&&y.jsx("div",{style:{width:`${S}px`,height:"100%"}})]})})}/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var q8=function(e,t){return q8=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},q8(e,t)};function fLe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");q8(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ru=function(){return ru=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=n?(r(o),e.animation=null):e.animation&&(r(u),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function pf(e,t,n,r){var i=TLe(t);if(!(!e.mounted||!i)){var o=e.setTransformState,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=t.scale-s,h=t.positionX-l,m=t.positionY-u;n===0?o(t.scale,t.positionX,t.positionY):fY(e,r,n,function(v){var b=s+d*v,S=l+h*v,k=u+m*v;o(b,S,k)})}}function TLe(e){var t=e.scale,n=e.positionX,r=e.positionY;return!(isNaN(t)||isNaN(n)||isNaN(r))}function LLe(e,t,n){var r=e.offsetWidth,i=e.offsetHeight,o=t.offsetWidth,a=t.offsetHeight,s=o*n,l=a*n,u=r-s,d=i-l;return{wrapperWidth:r,wrapperHeight:i,newContentWidth:s,newDiffWidth:u,newContentHeight:l,newDiffHeight:d}}var ALe=function(e,t,n,r,i,o,a){var s=e>t?n*(a?1:.5):0,l=r>i?o*(a?1:.5):0,u=e-t-s,d=s,h=r-i-l,m=l;return{minPositionX:u,maxPositionX:d,minPositionY:h,maxPositionY:m}},FP=function(e,t){var n=e.wrapperComponent,r=e.contentComponent,i=e.setup.centerZoomedOut;if(!n||!r)throw new Error("Components are not mounted");var o=LLe(n,r,t),a=o.wrapperWidth,s=o.wrapperHeight,l=o.newContentWidth,u=o.newDiffWidth,d=o.newContentHeight,h=o.newDiffHeight,m=ALe(a,l,u,s,d,h,Boolean(i));return m},s0=function(e,t){var n=FP(e,t);return e.bounds=n,n};function iw(e,t,n,r,i,o,a){var s=n.minPositionX,l=n.minPositionY,u=n.maxPositionX,d=n.maxPositionY,h=0,m=0;a&&(h=i,m=o);var v=Y8(e,s-h,u+h,r),b=Y8(t,l-m,d+m,r);return{x:v,y:b}}var Y8=function(e,t,n,r){return r?en?rs(n,2):rs(e,2):rs(e,2)};function ow(e,t,n,r,i,o){var a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=r-s;if(typeof t!="number"||typeof n!="number")return console.error("Mouse X and Y position were not provided!"),{x:l,y:u};var h=l-t*d,m=u-n*d,v=iw(h,m,i,o,0,0,null);return v}function Wy(e,t,n,r,i){var o=i?r:0,a=t-o;return!isNaN(n)&&e>=n?n:!isNaN(t)&&e<=a?a:e}var UD=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,i=e.wrapperComponent,o=t.target,a=i==null?void 0:i.contains(o),s=r&&o&&a;if(!s)return!1;var l=aw(o,n);return!l},GD=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup,i=r.panning.disabled,o=t&&n&&!i;return!!o},OLe=function(e,t){var n=e.transformState,r=n.positionX,i=n.positionY;e.isPanning=!0;var o=t.clientX,a=t.clientY;e.startCoords={x:o-r,y:a-i}},MLe=function(e,t){var n=t.touches,r=e.transformState,i=r.positionX,o=r.positionY;e.isPanning=!0;var a=n.length===1;if(a){var s=n[0].clientX,l=n[0].clientY;e.startCoords={x:s-i,y:l-o}}};function ILe(e){var t=e.transformState,n=t.positionX,r=t.positionY,i=t.scale,o=e.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,u=e.wrapperComponent;if(!(a||!u||!e.bounds)){var d=e.bounds,h=d.maxPositionX,m=d.minPositionX,v=d.maxPositionY,b=d.minPositionY,S=n>h||nv||rh?u.offsetWidth:e.setup.minPositionX||0,_=r>v?u.offsetHeight:e.setup.minPositionY||0,T=ow(e,E,_,i,e.bounds,s||l),A=T.x,I=T.y;return{scale:i,positionX:S?A:n,positionY:k?I:r}}}function RLe(e,t,n,r,i){var o=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,l=e.transformState,u=l.scale,d=l.positionX,h=l.positionY,m=t!==d,v=n!==h,b=!m||!v;if(!(!a||b||!s)){var S=iw(t,n,s,o,r,i,a),k=S.x,E=S.y;e.setTransformState(u,k,E)}}var DLe=function(e,t,n){var r=e.startCoords,i=e.transformState,o=e.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=i.positionX,u=i.positionY;if(!r)return{x:l,y:u};var d=t-r.x,h=n-r.y,m=a?l:d,v=s?u:h;return{x:m,y:v}},sS=function(e,t){var n=e.setup,r=e.transformState,i=r.scale,o=n.minScale;return t>0&&i>=o?t:0},NLe=function(e){var t=e.mounted,n=e.setup,r=n.disabled,i=n.velocityAnimation,o=e.transformState.scale,a=i.disabled,s=!a||o>1||!r||t;return!!s},jLe=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,i=e.setup,o=i.disabled,a=i.velocityAnimation,s=e.transformState.scale,l=a.disabled,u=!l||s>1||!o||t;return!(!u||!n||!r)};function BLe(e,t){var n=e.setup.velocityAnimation,r=n.equalToMove,i=n.animationTime,o=n.sensitivity;return r?i*t*o:i}function qD(e,t,n,r,i,o,a,s,l,u){if(i){if(t>a&&n>a){var d=a+(e-a)*u;return d>l?l:do?o:d}}return r?t:Y8(e,o,a,i)}function $Le(e,t){var n=1;return t?Math.min(n,e.offsetWidth/window.innerWidth):n}function FLe(e,t){var n=NLe(e);if(n){var r=e.lastMousePosition,i=e.velocityTime,o=e.setup,a=e.wrapperComponent,s=o.velocityAnimation.equalToMove,l=Date.now();if(r&&i&&a){var u=$Le(a,s),d=t.x-r.x,h=t.y-r.y,m=d/u,v=h/u,b=l-i,S=d*d+h*h,k=Math.sqrt(S)/b;e.velocity={velocityX:m,velocityY:v,total:k}}e.lastMousePosition=t,e.velocityTime=l}}function zLe(e){var t=e.velocity,n=e.bounds,r=e.setup,i=e.wrapperComponent,o=jLe(e);if(!(!o||!t||!n||!i)){var a=t.velocityX,s=t.velocityY,l=t.total,u=n.maxPositionX,d=n.minPositionX,h=n.maxPositionY,m=n.minPositionY,v=r.limitToBounds,b=r.alignmentAnimation,S=r.zoomAnimation,k=r.panning,E=k.lockAxisY,_=k.lockAxisX,T=S.animationType,A=b.sizeX,I=b.sizeY,R=b.velocityAlignmentTime,D=R,j=BLe(e,l),z=Math.max(j,D),V=sS(e,A),K=sS(e,I),te=V*i.offsetWidth/100,q=K*i.offsetHeight/100,$=u+te,U=d-te,X=h+q,Z=m-q,W=e.transformState,Q=new Date().getTime();fY(e,T,z,function(ie){var fe=e.transformState,Se=fe.scale,Pe=fe.positionX,ye=fe.positionY,We=new Date().getTime()-Q,De=We/D,ot=cY[b.animationType],He=1-ot(Math.min(1,De)),Be=1-ie,wt=Pe+a*Be,st=ye+s*Be,mt=qD(wt,W.positionX,Pe,_,v,d,u,U,$,He),St=qD(st,W.positionY,ye,E,v,m,h,Z,X,He);(Pe!==wt||ye!==st)&&e.setTransformState(Se,mt,St)})}}function YD(e,t){var n=e.transformState.scale;Vl(e),s0(e,n),t.touches?MLe(e,t):OLe(e,t)}function KD(e,t,n){var r=e.startCoords,i=e.setup,o=i.alignmentAnimation,a=o.sizeX,s=o.sizeY;if(r){var l=DLe(e,t,n),u=l.x,d=l.y,h=sS(e,a),m=sS(e,s);FLe(e,{x:u,y:d}),RLe(e,u,d,h,m)}}function HLe(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,i=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var o=r==null?void 0:r.getBoundingClientRect(),a=i==null?void 0:i.getBoundingClientRect(),s=(o==null?void 0:o.width)||0,l=(o==null?void 0:o.height)||0,u=(a==null?void 0:a.width)||0,d=(a==null?void 0:a.height)||0,h=s.1&&h;m?zLe(e):hY(e)}}function hY(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,i=n.alignmentAnimation,o=i.disabled,a=i.sizeX,s=i.sizeY,l=i.animationTime,u=i.animationType,d=o||t=a;if((r>=1||s)&&hY(e),!(m||!i||!e.mounted)){var v=t||i.offsetWidth/2,b=n||i.offsetHeight/2,S=zP(e,a,v,b);S&&pf(e,S,d,h)}}function zP(e,t,n,r){var i=e.setup,o=i.minScale,a=i.maxScale,s=i.limitToBounds,l=Wy(rs(t,2),o,a,0,!1),u=s0(e,l),d=ow(e,n,r,l,u,s),h=d.x,m=d.y;return{scale:l,positionX:h,positionY:m}}var dm={previousScale:1,scale:1,positionX:0,positionY:0},VLe=ru(ru({},dm),{setComponents:function(){},contextInstance:null}),fv={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},gY=function(e){var t,n,r,i;return{previousScale:(t=e.initialScale)!==null&&t!==void 0?t:dm.scale,scale:(n=e.initialScale)!==null&&n!==void 0?n:dm.scale,positionX:(r=e.initialPositionX)!==null&&r!==void 0?r:dm.positionX,positionY:(i=e.initialPositionY)!==null&&i!==void 0?i:dm.positionY}},XD=function(e){var t=ru({},fv);return Object.keys(e).forEach(function(n){var r=typeof e[n]<"u",i=typeof fv[n]<"u";if(i&&r){var o=Object.prototype.toString.call(fv[n]),a=o==="[object Object]",s=o==="[object Array]";a?t[n]=ru(ru({},fv[n]),e[n]):s?t[n]=WD(WD([],fv[n]),e[n]):t[n]=e[n]}}),t},mY=function(e,t,n){var r=e.transformState.scale,i=e.wrapperComponent,o=e.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation,u=l.size;if(!i)throw new Error("Wrapper is not mounted");var d=r*Math.exp(t*n),h=Wy(rs(d,3),s,a,u,!1);return h};function vY(e,t,n,r,i){var o=e.wrapperComponent,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=o.offsetWidth,h=o.offsetHeight,m=(d/2-l)/s,v=(h/2-u)/s,b=mY(e,t,n),S=zP(e,b,m,v);if(!S)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,S,r,i)}function yY(e,t,n){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,a=gY(e.props),s=e.transformState,l=s.scale,u=s.positionX,d=s.positionY;if(i){var h=FP(e,a.scale),m=iw(a.positionX,a.positionY,h,o,0,0,i),v={scale:a.scale,positionX:m.x,positionY:m.y};l===a.scale&&u===a.positionX&&d===a.positionY||pf(e,v,t,n)}}function WLe(e,t,n){var r=e.wrapperComponent,i=e.setup,o=i.limitToBounds,a=i.minScale,s=i.maxScale;if(!r)return dm;var l=r.getBoundingClientRect(),u=ULe(t),d=u.x,h=u.y,m=t.offsetWidth,v=t.offsetHeight,b=r.offsetWidth/m,S=r.offsetHeight/v,k=Wy(n||Math.min(b,S),a,s,0,!1),E=(l.width-m*k)/2,_=(l.height-v*k)/2,T=(l.left-d)*k+E,A=(l.top-h)*k+_,I=FP(e,k),R=iw(T,A,I,o,0,0,r),D=R.x,j=R.y;return{positionX:D,positionY:j,scale:k}}function ULe(e){for(var t=e,n=0,r=0;t;)n+=t.offsetLeft,r+=t.offsetTop,t=t.offsetParent;return{x:n,y:r}}function GLe(e){if(e){if((e==null?void 0:e.offsetWidth)===void 0||(e==null?void 0:e.offsetHeight)===void 0)return console.error("Zoom node is not valid - it must contain offsetWidth and offsetHeight"),!1}else return console.error("Zoom node not found"),!1;return!0}var qLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,1,t,n,r)}},YLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,-1,t,n,r)}},KLe=function(e){return function(t,n,r,i,o){i===void 0&&(i=300),o===void 0&&(o="easeOut");var a=e.transformState,s=a.positionX,l=a.positionY,u=a.scale,d=e.wrapperComponent,h=e.contentComponent,m=e.setup.disabled;if(!(m||!d||!h)){var v={positionX:isNaN(t)?s:t,positionY:isNaN(n)?l:n,scale:isNaN(r)?u:r};pf(e,v,i,o)}}},XLe=function(e){return function(t,n){t===void 0&&(t=200),n===void 0&&(n="easeOut"),yY(e,t,n)}},ZLe=function(e){return function(t,n,r){n===void 0&&(n=200),r===void 0&&(r="easeOut");var i=e.transformState,o=e.wrapperComponent,a=e.contentComponent;if(o&&a){var s=bY(t||i.scale,o,a);pf(e,s,n,r)}}},QLe=function(e){return function(t,n,r,i){r===void 0&&(r=600),i===void 0&&(i="easeOut"),Vl(e);var o=e.wrapperComponent,a=typeof t=="string"?document.getElementById(t):t;if(o&&GLe(a)&&a&&o.contains(a)){var s=WLe(e,a,n);pf(e,s,r,i)}}},ri=function(e){return{instance:e,state:e.transformState,zoomIn:qLe(e),zoomOut:YLe(e),setTransform:KLe(e),resetTransform:XLe(e),centerView:ZLe(e),zoomToElement:QLe(e)}},FC=!1;function zC(){try{var e={get passive(){return FC=!0,!1}};return e}catch{return FC=!1,FC}}var aw=function(e,t){var n=e.tagName.toUpperCase(),r=t.find(function(o){return o.toUpperCase()===n});if(r)return!0;var i=t.find(function(o){return e.classList.contains(o)});return!!i},ZD=function(e){e&&clearTimeout(e)},JLe=function(e,t,n){return"translate3d("+e+"px, "+t+"px, 0) scale("+n+")"},bY=function(e,t,n){var r=n.offsetWidth*e,i=n.offsetHeight*e,o=(t.offsetWidth-r)/2,a=(t.offsetHeight-i)/2;return{scale:e,positionX:o,positionY:a}},eAe=function(e,t){var n=e.setup.wheel,r=n.disabled,i=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,l=e.isPanning,u=t.target,d=s&&!l&&!r&&u;if(!d||i&&!t.ctrlKey||o&&t.ctrlKey)return!1;var h=aw(u,a);return!h};function tAe(e,t){var n=e?e.deltaY<0?1:-1:0,r=hLe(t,n);return r}function SY(e,t,n){var r=t.getBoundingClientRect(),i=0,o=0;if("clientX"in e)i=(e.clientX-r.left)/n,o=(e.clientY-r.top)/n;else{var a=e.touches[0];i=(a.clientX-r.left)/n,o=(a.clientY-r.top)/n}return(isNaN(i)||isNaN(o))&&console.error("No mouse or touch offset found"),{x:i,y:o}}var nAe=function(e,t,n,r,i){var o=e.transformState.scale,a=e.wrapperComponent,s=e.setup,l=s.maxScale,u=s.minScale,d=s.zoomAnimation,h=d.size,m=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var v=o+t*(o-o*n)*n;if(i)return v;var b=r?!1:!m,S=Wy(rs(v,3),u,l,h,b);return S},rAe=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,i=e.setup,o=i.maxScale,a=i.minScale;return n?ra||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaYt.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY):!1},iAe=function(e,t){var n=e.setup.pinch,r=n.disabled,i=n.excluded,o=e.isInitialized,a=t.target,s=o&&!r&&a;if(!s)return!1;var l=aw(a,i);return!l},oAe=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance,i=n&&!t&&r;return!!i},aAe=function(e,t,n){var r=n.getBoundingClientRect(),i=e.touches,o=rs(i[0].clientX-r.left,5),a=rs(i[0].clientY-r.top,5),s=rs(i[1].clientX-r.left,5),l=rs(i[1].clientY-r.top,5);return{x:(o+s)/2/t,y:(a+l)/2/t}},xY=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},sAe=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,i=e.setup,o=i.maxScale,a=i.minScale,s=i.zoomAnimation,l=s.size,u=s.disabled;if(!n||r===null||!t)throw new Error("Pinch touches distance was not provided");if(t<0)return e.transformState.scale;var d=t/r,h=d*n;return Wy(rs(h,2),a,o,l,!u)},lAe=160,uAe=100,cAe=function(e,t){var n=e.props,r=n.onWheelStart,i=n.onZoomStart;e.wheelStopEventTimer||(Vl(e),Pi(ri(e),t,r),Pi(ri(e),t,i))},dAe=function(e,t){var n=e.props,r=n.onWheel,i=n.onZoom,o=e.contentComponent,a=e.setup,s=e.transformState,l=s.scale,u=a.limitToBounds,d=a.centerZoomedOut,h=a.zoomAnimation,m=a.wheel,v=h.size,b=h.disabled,S=m.step;if(!o)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var k=tAe(t,null),E=nAe(e,k,S,!t.ctrlKey);if(l!==E){var _=s0(e,E),T=SY(t,o,l),A=b||v===0||d,I=u&&A,R=ow(e,T.x,T.y,E,_,I),D=R.x,j=R.y;e.previousWheelEvent=t,e.setTransformState(E,D,j),Pi(ri(e),t,r),Pi(ri(e),t,i)}},fAe=function(e,t){var n=e.props,r=n.onWheelStop,i=n.onZoomStop;ZD(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(pY(e,t.x,t.y),e.wheelAnimationTimer=null)},uAe);var o=rAe(e,t);o&&(ZD(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,Pi(ri(e),t,r),Pi(ri(e),t,i))},lAe))},hAe=function(e,t){var n=xY(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,Vl(e)},pAe=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,i=e.transformState.scale,o=e.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,u=l.disabled,d=l.size;if(!(r===null||!n)){var h=aAe(t,i,n);if(!(!isFinite(h.x)||!isFinite(h.y))){var m=xY(t),v=sAe(e,m);if(v!==i){var b=s0(e,v),S=u||d===0||s,k=a&&S,E=ow(e,h.x,h.y,v,b,k),_=E.x,T=E.y;e.pinchMidpoint=h,e.lastDistance=m,e.setTransformState(v,_,T)}}}},gAe=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,pY(e,t==null?void 0:t.x,t==null?void 0:t.y)};function mAe(e,t){var n=e.setup.doubleClick,r=n.disabled,i=n.mode,o=n.step,a=n.animationTime,s=n.animationType;if(!r){if(i==="reset")return yY(e,a,s);var l=e.transformState.scale,u=e.contentComponent;if(!u)return console.error("No ContentComponent found");var d=i==="zoomOut"?-1:1,h=mY(e,d,o),m=SY(t,u,l),v=zP(e,h,m.x,m.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,v,a,s)}}var vAe=function(e,t){var n=e.isInitialized,r=e.setup,i=e.wrapperComponent,o=r.doubleClick,a=o.disabled,s=o.excluded,l=t.target,u=i==null?void 0:i.contains(l),d=n&&l&&u&&!a;if(!d)return!1;var h=aw(l,s);return!(h||!d)},wY=N.createContext(VLe),yAe=function(e){fLe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mounted=!0,n.transformState=gY(n.props),n.setup=XD(n.props),n.wrapperComponent=null,n.contentComponent=null,n.isInitialized=!1,n.bounds=null,n.previousWheelEvent=null,n.wheelStopEventTimer=null,n.wheelAnimationTimer=null,n.isPanning=!1,n.startCoords=null,n.lastTouch=null,n.distance=null,n.lastDistance=null,n.pinchStartDistance=null,n.pinchStartScale=null,n.pinchMidpoint=null,n.velocity=null,n.velocityTime=null,n.lastMousePosition=null,n.animate=!1,n.animation=null,n.maxBounds=null,n.pressedKeys={},n.handleInitializeWrapperEvents=function(r){var i=zC();r.addEventListener("wheel",n.onWheelZoom,i),r.addEventListener("dblclick",n.onDoubleClick,i),r.addEventListener("touchstart",n.onTouchPanningStart,i),r.addEventListener("touchmove",n.onTouchPanning,i),r.addEventListener("touchend",n.onTouchPanningStop,i)},n.handleInitialize=function(){var r=n.setup.centerOnInit;n.applyTransformation(),n.forceUpdate(),r&&(setTimeout(function(){n.mounted&&n.setCenter()},50),setTimeout(function(){n.mounted&&n.setCenter()},100),setTimeout(function(){n.mounted&&n.setCenter()},200))},n.onWheelZoom=function(r){var i=n.setup.disabled;if(!i){var o=eAe(n,r);if(o){var a=n.isPressingKeys(n.setup.wheel.activationKeys);a&&(cAe(n,r),dAe(n,r),fAe(n,r))}}},n.onPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),Vl(n),YD(n,r),Pi(ri(n),r,o))}}},n.onPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(!i){var a=GD(n);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),KD(n,r.clientX,r.clientY),Pi(ri(n),r,o))}}},n.onPanningStop=function(r){var i=n.props.onPanningStop;n.isPanning&&(HLe(n),Pi(ri(n),r,i))},n.onPinchStart=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinchingStart,s=o.onZoomStart;if(!i){var l=iAe(n,r);l&&(hAe(n,r),Vl(n),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinch=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinching,s=o.onZoom;if(!i){var l=oAe(n);l&&(r.preventDefault(),r.stopPropagation(),pAe(n,r),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinchStop=function(r){var i=n.props,o=i.onPinchingStop,a=i.onZoomStop;n.pinchStartScale&&(gAe(n),Pi(ri(n),r,o),Pi(ri(n),r,a))},n.onTouchPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.lastTouch&&+new Date-n.lastTouch<200;if(s&&r.touches.length===1)n.onDoubleClick(r);else{n.lastTouch=+new Date,Vl(n);var l=r.touches,u=l.length===1,d=l.length===2;u&&(Vl(n),YD(n,r),Pi(ri(n),r,o)),d&&n.onPinchStart(r)}}}},n.onTouchPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(n.isPanning&&r.touches.length===1){if(i)return;var a=GD(n);if(!a)return;r.preventDefault(),r.stopPropagation();var s=r.touches[0];KD(n,s.clientX,s.clientY),Pi(ri(n),r,o)}else r.touches.length>1&&n.onPinch(r)},n.onTouchPanningStop=function(r){n.onPanningStop(r),n.onPinchStop(r)},n.onDoubleClick=function(r){var i=n.setup.disabled;if(!i){var o=vAe(n,r);o&&mAe(n,r)}},n.clearPanning=function(r){n.isPanning&&n.onPanningStop(r)},n.setKeyPressed=function(r){n.pressedKeys[r.key]=!0},n.setKeyUnPressed=function(r){n.pressedKeys[r.key]=!1},n.isPressingKeys=function(r){return r.length?Boolean(r.find(function(i){return n.pressedKeys[i]})):!0},n.setComponents=function(r,i){n.wrapperComponent=r,n.contentComponent=i,s0(n,n.transformState.scale),n.handleInitializeWrapperEvents(r),n.handleInitialize(),n.handleRef(),n.isInitialized=!0,Pi(ri(n),void 0,n.props.onInit)},n.setTransformState=function(r,i,o){!isNaN(r)&&!isNaN(i)&&!isNaN(o)?(r!==n.transformState.scale&&(n.transformState.previousScale=n.transformState.scale,n.transformState.scale=r),n.transformState.positionX=i,n.transformState.positionY=o,n.applyTransformation()):console.error("Detected NaN set state values")},n.setCenter=function(){if(n.wrapperComponent&&n.contentComponent){var r=bY(n.transformState.scale,n.wrapperComponent,n.contentComponent);n.setTransformState(r.scale,r.positionX,r.positionY)}},n.applyTransformation=function(){if(!(!n.mounted||!n.contentComponent)){var r=n.transformState,i=r.scale,o=r.positionX,a=r.positionY,s=JLe(o,a,i);n.contentComponent.style.transform=s,n.handleRef()}},n.handleRef=function(){n.props.setRef(ri(n))},n}return t.prototype.componentDidMount=function(){var n=zC();window.addEventListener("mousedown",this.onPanningStart,n),window.addEventListener("mousemove",this.onPanning,n),window.addEventListener("mouseup",this.onPanningStop,n),document.addEventListener("mouseleave",this.clearPanning,n),window.addEventListener("keyup",this.setKeyUnPressed,n),window.addEventListener("keydown",this.setKeyPressed,n),this.handleRef()},t.prototype.componentWillUnmount=function(){var n=zC();window.removeEventListener("mousedown",this.onPanningStart,n),window.removeEventListener("mousemove",this.onPanning,n),window.removeEventListener("mouseup",this.onPanningStop,n),window.removeEventListener("keyup",this.setKeyUnPressed,n),window.removeEventListener("keydown",this.setKeyPressed,n),Vl(this)},t.prototype.componentDidUpdate=function(n){n!==this.props&&(s0(this,this.transformState.scale),this.setup=XD(this.props))},t.prototype.render=function(){var n=ri(this),r=this.props.children,i=typeof r=="function"?r(n):r;return N.createElement(wY.Provider,{value:ru(ru({},this.transformState),{setComponents:this.setComponents,contextInstance:this})},i)},t}(w.Component),bAe=N.forwardRef(function(e,t){var n=w.useState(null),r=n[0],i=n[1];return w.useImperativeHandle(t,function(){return r},[r]),N.createElement(yAe,ru({},e,{setRef:i}))});function SAe(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var xAe=`.transform-component-module_wrapper__1_Fgj { - position: relative; - width: -moz-fit-content; - width: fit-content; - height: -moz-fit-content; - height: fit-content; - overflow: hidden; - -webkit-touch-callout: none; /* iOS Safari */ - -webkit-user-select: none; /* Safari */ - -khtml-user-select: none; /* Konqueror HTML */ - -moz-user-select: none; /* Firefox */ - -ms-user-select: none; /* Internet Explorer/Edge */ - user-select: none; - margin: 0; - padding: 0; -} -.transform-component-module_content__2jYgh { - 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%; -} -.transform-component-module_content__2jYgh img { - pointer-events: none; -} -`,QD={wrapper:"transform-component-module_wrapper__1_Fgj",content:"transform-component-module_content__2jYgh"};SAe(xAe);var wAe=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,i=e.contentClass,o=i===void 0?"":i,a=e.wrapperStyle,s=e.contentStyle,l=w.useContext(wY).setComponents,u=w.useRef(null),d=w.useRef(null);return w.useEffect(function(){var h=u.current,m=d.current;h!==null&&m!==null&&l&&l(h,m)},[]),N.createElement("div",{ref:u,className:"react-transform-wrapper "+QD.wrapper+" "+r,style:a},N.createElement("div",{ref:d,className:"react-transform-component "+QD.content+" "+o,style:s},t))};function CAe({image:e,alt:t,ref:n,styleClass:r}){const[i,o]=w.useState(0),[a,s]=w.useState(!1),l=()=>{o(i===-3?0:i-1)},u=()=>{o(i===3?0:i+1)},d=()=>{s(!a)};return y.jsx(bAe,{centerOnInit:!0,minScale:.1,initialPositionX:50,initialPositionY:50,children:({zoomIn:h,zoomOut:m,resetTransform:v,centerView:b})=>y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"lightbox-image-options",children:[y.jsx(Qe,{icon:y.jsx(h_e,{}),"aria-label":"Zoom In",tooltip:"Zoom In",onClick:()=>h(),fontSize:20}),y.jsx(Qe,{icon:y.jsx(p_e,{}),"aria-label":"Zoom Out",tooltip:"Zoom Out",onClick:()=>m(),fontSize:20}),y.jsx(Qe,{icon:y.jsx(d_e,{}),"aria-label":"Rotate Left",tooltip:"Rotate Left",onClick:l,fontSize:20}),y.jsx(Qe,{icon:y.jsx(f_e,{}),"aria-label":"Rotate Right",tooltip:"Rotate Right",onClick:u,fontSize:20}),y.jsx(Qe,{icon:y.jsx(WEe,{}),"aria-label":"Flip Image",tooltip:"Flip Image",onClick:d,fontSize:20}),y.jsx(Qe,{icon:y.jsx(Wx,{}),"aria-label":"Reset",tooltip:"Reset",onClick:()=>{v(),o(0),s(!1)},fontSize:20})]}),y.jsx(wAe,{wrapperStyle:{width:"100%",height:"100%"},children:y.jsx("img",{style:{transform:`rotate(${i*90}deg) scaleX(${a?-1:1})`,width:"100%"},src:e,alt:t,ref:n,className:r||"",onLoad:()=>b(1,0,"easeOut")})})]})})}function _Ae(){const e=Me(),t=he(m=>m.lightbox.isLightboxOpen),{viewerImageToDisplay:n,shouldShowImageDetails:r,isOnFirstImage:i,isOnLastImage:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return Je("Esc",()=>{t&&e(Bm(!1))},[t]),y.jsxs("div",{className:"lightbox-container",children:[y.jsx(Qe,{icon:y.jsx(c_e,{}),"aria-label":"Exit Viewer",className:"lightbox-close-btn",onClick:()=>{e(Bm(!1))},fontSize:20}),y.jsxs("div",{className:"lightbox-display-container",children:[y.jsxs("div",{className:"lightbox-preview-wrapper",children:[y.jsx(wq,{}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!i&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!o&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),n&&y.jsxs(y.Fragment,{children:[y.jsx(CAe,{image:n.url,styleClass:"lightbox-image"}),r&&y.jsx(MP,{image:n})]})]}),y.jsx(uY,{})]})]})}function kAe(e){return gt({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zM8 13H3V2h5v11zm6 0H9V2h5v11z"}}]})(e)}const EAe=at(yp,e=>({resultImages:e.categories.result.images,userImages:e.categories.user.images})),PAe=()=>{const{resultImages:e,userImages:t}=he(EAe);return n=>{const r=e.find(o=>o.uuid===n);if(r)return r;const i=t.find(o=>o.uuid===n);if(i)return i}},TAe=at([mp,Vx,Or],(e,t,n)=>{const{shouldShowDualDisplay:r,shouldPinParametersPanel:i}=e,{isLightboxOpen:o}=t;return{shouldShowDualDisplay:r,shouldPinParametersPanel:i,isLightboxOpen:o,shouldShowDualDisplayButton:["inpainting"].includes(n),activeTabName:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),HP=e=>{const t=Me(),{optionsPanel:n,children:r,styleClass:i}=e,{activeTabName:o,shouldShowDualDisplay:a,isLightboxOpen:s,shouldShowDualDisplayButton:l}=he(TAe),u=PAe(),d=()=>{t(cCe(!a)),t(vi(!0))},h=m=>{const v=m.dataTransfer.getData("invokeai/imageUuid"),b=u(v);b&&(o==="img2img"?t(k0(b)):o==="unifiedCanvas"&&t(Dx(b)))};return y.jsx("div",{className:i?`workarea-wrapper ${i}`:"workarea-wrapper",children:y.jsxs("div",{className:"workarea-main",children:[n,y.jsxs("div",{className:"workarea-children-wrapper",onDrop:h,children:[r,l&&y.jsx(uo,{label:"Toggle Split View",children:y.jsx("div",{className:"workarea-split-button","data-selected":a,onClick:d,children:y.jsx(kAe,{})})})]}),!s&&y.jsx(uY,{})]})})},LAe=e=>{const{styleClass:t}=e,n=w.useContext(SP),r=()=>{n&&n()};return y.jsx("div",{className:`image-uploader-button-outer ${t}`,onClick:r,children:y.jsxs("div",{className:"image-upload-button",children:[y.jsx(Zx,{}),y.jsx(Dh,{size:"lg",children:"Click or Drag and Drop"})]})})},AAe=at([yp,mp,Or],(e,t,n)=>{const{currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t;return{activeTabName:n,shouldShowImageDetails:o,hasAnImageToDisplay:r||i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CY=()=>{const{hasAnImageToDisplay:e,activeTabName:t}=he(AAe);return y.jsx("div",{className:"current-image-area","data-tab-name":t,children:e?y.jsxs(y.Fragment,{children:[y.jsx(wq,{}),y.jsx(MEe,{})]}):y.jsx("div",{className:"current-image-display-placeholder",children:y.jsx(UEe,{})})})},OAe=()=>{const e=w.useContext(SP);return y.jsx(Qe,{"aria-label":"Upload Image",tooltip:"Upload Image",icon:y.jsx(Zx,{}),onClick:e||void 0})};function MAe(){const e=he(o=>o.generation.initialImage),{t}=Ve(),n=Me(),r=Ry(),i=()=>{r({title:t("toast:parametersFailed"),description:t("toast:parametersFailedDesc"),status:"error",isClosable:!0}),n(oU())};return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"init-image-preview-header",children:[y.jsx("h2",{children:t("parameters:initialImage")}),y.jsx(OAe,{})]}),e&&y.jsx("div",{className:"init-image-preview",children:y.jsx(KS,{fit:"contain",maxWidth:"100%",maxHeight:"100%",src:typeof e=="string"?e:e.url,onError:i})})]})}const IAe=()=>{const e=he(r=>r.generation.initialImage),{currentImage:t}=he(r=>r.gallery),n=e?y.jsx("div",{className:"image-to-image-area",children:y.jsx(MAe,{})}):y.jsx(LAe,{});return y.jsxs("div",{className:"workarea-split-view",children:[y.jsx("div",{className:"workarea-split-view-left",children:n}),t&&y.jsx("div",{className:"workarea-split-view-right",children:y.jsx(CY,{})})]})};var ao=(e=>(e[e.PROMPT=0]="PROMPT",e[e.GALLERY=1]="GALLERY",e[e.OTHER=2]="OTHER",e[e.SEED=3]="SEED",e[e.VARIATIONS=4]="VARIATIONS",e[e.UPSCALE=5]="UPSCALE",e[e.FACE_CORRECTION=6]="FACE_CORRECTION",e[e.IMAGE_TO_IMAGE=7]="IMAGE_TO_IMAGE",e[e.BOUNDING_BOX=8]="BOUNDING_BOX",e[e.SEAM_CORRECTION=9]="SEAM_CORRECTION",e[e.INFILL_AND_SCALING=10]="INFILL_AND_SCALING",e))(ao||{});const RAe=()=>{const{t:e}=Ve();return w.useMemo(()=>({[0]:{text:e("tooltip:feature.prompt"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[1]:{text:e("tooltip:feature.gallery"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[2]:{text:e("tooltip:feature.other"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[3]:{text:e("tooltip:feature.seed"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[4]:{text:e("tooltip:feature.variations"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[5]:{text:e("tooltip:feature.upscale"),href:"link/to/docs/feature1.html",guideImage:"asset/path.gif"},[6]:{text:e("tooltip:feature.faceCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[7]:{text:e("tooltip:feature.imageToImage"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[8]:{text:e("tooltip:feature.boundingBox"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[9]:{text:e("tooltip:feature.seamCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[10]:{text:e("tooltip:feature.infillAndScaling"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"}}),[e])},DAe=e=>RAe()[e],Vs=e=>{const{label:t,isDisabled:n=!1,width:r="auto",formControlProps:i,formLabelProps:o,styleClass:a,...s}=e;return y.jsxs(dn,{isDisabled:n,width:r,className:`invokeai__switch-form-control ${a}`,display:"flex",columnGap:"1rem",alignItems:"center",justifyContent:"space-between",...i,children:[y.jsx(kn,{className:"invokeai__switch-form-label",whiteSpace:"nowrap",marginRight:0,marginTop:.5,marginBottom:.5,fontSize:"sm",fontWeight:"bold",width:"auto",...o,children:t}),y.jsx(BE,{className:"invokeai__switch-root",...s})]})};function _Y(){const e=he(i=>i.system.isGFPGANAvailable),t=he(i=>i.postprocessing.shouldRunFacetool),n=Me(),r=i=>n(awe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function NAe(){const e=Me(),t=he(i=>i.generation.shouldFitToWidthHeight),n=i=>e(gU(i.target.checked)),{t:r}=Ve();return y.jsx(Vs,{label:r("parameters:imageFit"),isChecked:t,onChange:n})}function kY(e){const{t}=Ve(),{label:n=`${t("parameters:strength")}`,styleClass:r}=e,i=he(l=>l.generation.img2imgStrength),o=Me(),a=l=>o(l8(l)),s=()=>{o(l8(.75))};return y.jsx(so,{label:n,step:.01,min:.01,max:1,onChange:a,value:i,isInteger:!1,styleClass:r,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:s})}const EY=()=>{const e=Me(),t=he(i=>i.generation.seamless),n=i=>e(hU(i.target.checked)),{t:r}=Ve();return y.jsx(Ge,{gap:2,direction:"column",children:y.jsx(Vs,{label:r("parameters:seamlessTiling"),fontSize:"md",isChecked:t,onChange:n})})},jAe=()=>y.jsx(Ge,{gap:2,direction:"column",children:y.jsx(EY,{})});function BAe(){const e=Me(),t=he(i=>i.generation.perlin),{t:n}=Ve(),r=i=>e(dU(i));return y.jsx(ra,{label:n("parameters:perlinNoise"),min:0,max:1,step:.05,onChange:r,value:t,isInteger:!1})}function $Ae(){const e=Me(),{t}=Ve(),n=he(i=>i.generation.shouldRandomizeSeed),r=i=>e(ewe(i.target.checked));return y.jsx(Vs,{label:t("parameters:randomizeSeed"),isChecked:n,onChange:r})}function FAe(){const e=he(a=>a.generation.seed),t=he(a=>a.generation.shouldRandomizeSeed),n=he(a=>a.generation.shouldGenerateVariations),{t:r}=Ve(),i=Me(),o=a=>i(Ny(a));return y.jsx(ra,{label:r("parameters:seed"),step:1,precision:0,flexGrow:1,min:hP,max:pP,isDisabled:t,isInvalid:e<0&&n,onChange:o,value:e,width:"auto"})}function zAe(){const e=Me(),t=he(i=>i.generation.shouldRandomizeSeed),{t:n}=Ve(),r=()=>e(Ny(HG(hP,pP)));return y.jsx(as,{size:"sm",isDisabled:t,onClick:r,padding:"0 1.5rem",children:y.jsx("p",{children:n("parameters:shuffle")})})}function HAe(){const e=Me(),t=he(i=>i.generation.threshold),{t:n}=Ve(),r=i=>e(vU(i));return y.jsx(ra,{label:n("parameters:noiseThreshold"),min:0,max:1e3,step:.1,onChange:r,value:t,isInteger:!1})}const VP=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx($Ae,{}),y.jsxs(Ge,{gap:2,children:[y.jsx(FAe,{}),y.jsx(zAe,{})]}),y.jsx(Ge,{gap:2,children:y.jsx(HAe,{})}),y.jsx(Ge,{gap:2,children:y.jsx(BAe,{})})]});function PY(){const e=he(i=>i.system.isESRGANAvailable),t=he(i=>i.postprocessing.shouldRunESRGAN),n=Me(),r=i=>n(owe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function WP(){const e=he(r=>r.generation.shouldGenerateVariations),t=Me(),n=r=>t(Jxe(r.target.checked));return y.jsx(Vs,{isChecked:e,width:"auto",onChange:n})}function kr(e){const{label:t="",styleClass:n,isDisabled:r=!1,fontSize:i="sm",width:o,size:a="sm",isInvalid:s,...l}=e;return y.jsxs(dn,{className:`input ${n}`,isInvalid:s,isDisabled:r,children:[t!==""&&y.jsx(kn,{fontSize:i,fontWeight:"bold",alignItems:"center",whiteSpace:"nowrap",marginBottom:0,marginRight:0,className:"input-label",children:t}),y.jsx(hk,{...l,className:"input-entry",size:a,width:o})]})}function VAe(){const e=he(o=>o.generation.seedWeights),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Me(),i=o=>r(pU(o.target.value));return y.jsx(kr,{label:n("parameters:seedWeights"),value:e,isInvalid:t&&!(sP(e)||e===""),isDisabled:!t,onChange:i})}function WAe(){const e=he(o=>o.generation.variationAmount),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Me(),i=o=>r(twe(o));return y.jsx(ra,{label:n("parameters:variationAmount"),value:e,step:.01,min:0,max:1,isDisabled:!t,onChange:i,isInteger:!1})}const UP=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(WAe,{}),y.jsx(VAe,{})]});function UAe(){const e=Me(),t=he(i=>i.generation.cfgScale),{t:n}=Ve(),r=i=>e(sU(i));return y.jsx(ra,{label:n("parameters:cfgScale"),step:.5,min:1.01,max:200,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center",isInteger:!1})}function GAe(){const e=he(o=>o.generation.height),t=he(Or),n=Me(),{t:r}=Ve(),i=o=>n(lU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:r("parameters:height"),value:e,flexGrow:1,onChange:i,validValues:i7e,styleClass:"main-settings-block"})}const qAe=at([e=>e.generation],e=>{const{iterations:t}=e;return{iterations:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function YAe(){const e=Me(),{iterations:t}=he(qAe),{t:n}=Ve(),r=i=>e(Qxe(i));return y.jsx(ra,{label:n("parameters:images"),step:1,min:1,max:9999,onChange:r,value:t,width:"auto",labelFontSize:.5,styleClass:"main-settings-block",textAlign:"center"})}function KAe(){const e=he(o=>o.generation.sampler),t=he(qG),n=Me(),{t:r}=Ve(),i=o=>n(fU(o.target.value));return y.jsx(tl,{label:r("parameters:sampler"),value:e,onChange:i,validValues:t.format==="diffusers"?n7e:t7e,styleClass:"main-settings-block"})}function XAe(){const e=Me(),t=he(i=>i.generation.steps),{t:n}=Ve(),r=i=>e(mU(i));return y.jsx(ra,{label:n("parameters:steps"),min:1,max:9999,step:1,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center"})}function ZAe(){const e=he(o=>o.generation.width),t=he(Or),{t:n}=Ve(),r=Me(),i=o=>r(yU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:n("parameters:width"),value:e,flexGrow:1,onChange:i,validValues:r7e,styleClass:"main-settings-block"})}function GP(){return y.jsx("div",{className:"main-settings",children:y.jsxs("div",{className:"main-settings-list",children:[y.jsxs("div",{className:"main-settings-row",children:[y.jsx(YAe,{}),y.jsx(XAe,{}),y.jsx(UAe,{})]}),y.jsxs("div",{className:"main-settings-row",children:[y.jsx(ZAe,{}),y.jsx(GAe,{}),y.jsx(KAe,{})]})]})})}const QAe=at(ir,e=>e.shouldDisplayGuides),JAe=({children:e,feature:t})=>{const n=he(QAe),{text:r}=DAe(t);return n?y.jsxs(ME,{trigger:"hover",children:[y.jsx(DE,{children:y.jsx(ko,{children:e})}),y.jsxs(RE,{className:"guide-popover-content",maxWidth:"400px",onClick:i=>i.preventDefault(),cursor:"initial",children:[y.jsx(IE,{className:"guide-popover-arrow"}),y.jsx("div",{className:"guide-popover-guide-content",children:r})]})]}):null},eOe=Ae(({feature:e,icon:t=HEe},n)=>y.jsx(JAe,{feature:e,children:y.jsx(ko,{ref:n,children:y.jsx(Da,{marginBottom:"-.15rem",as:t})})}));function tOe(e){const{header:t,feature:n,content:r,additionalHeaderComponents:i}=e;return y.jsxs(Gg,{className:"advanced-parameters-item",children:[y.jsx(Wg,{className:"advanced-parameters-header",children:y.jsxs(Ge,{width:"100%",gap:"0.5rem",align:"center",children:[y.jsx(ko,{flexGrow:1,textAlign:"left",children:t}),i,n&&y.jsx(eOe,{feature:n}),y.jsx(Ug,{})]})}),y.jsx(qg,{className:"advanced-parameters-panel",children:r})]})}const qP=e=>{const{accordionInfo:t}=e,n=he(a=>a.system.openAccordions),r=Me(),i=a=>r(G6e(a)),o=()=>{const a=[];return t&&Object.keys(t).forEach(s=>{const{header:l,feature:u,content:d,additionalHeaderComponents:h}=t[s];a.push(y.jsx(tOe,{header:l,feature:u,content:d,additionalHeaderComponents:h},s))}),a};return y.jsx(ok,{defaultIndex:n,allowMultiple:!0,reduceMotion:!0,onChange:i,className:"advanced-parameters",children:o()})},nOe=at(ir,e=>({isProcessing:e.isProcessing,isConnected:e.isConnected,isCancelable:e.isCancelable}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function YP(e){const{...t}=e,n=Me(),{isProcessing:r,isConnected:i,isCancelable:o}=he(nOe),a=()=>n(j8e()),{t:s}=Ve();return Je("shift+x",()=>{(i||r)&&o&&a()},[i,r,o]),y.jsx(Qe,{icon:y.jsx(GEe,{}),tooltip:s("parameters:cancel"),"aria-label":s("parameters:cancel"),isDisabled:!i||!r||!o,onClick:a,styleClass:"cancel-btn",...t})}const KP=e=>e.generation;at(KP,({shouldRandomizeSeed:e,shouldGenerateVariations:t})=>e||t,{memoizeOptions:{resultEqualityCheck:ke.isEqual}});const TY=at([KP,ir,xq,Or],(e,t,n,r)=>{const{prompt:i,shouldGenerateVariations:o,seedWeights:a,initialImage:s,seed:l}=e,{isProcessing:u,isConnected:d}=t;let h=!0;const m=[];return(!i||Boolean(i.match(/^[\s\r\n]+$/)))&&(h=!1,m.push("Missing prompt")),r==="img2img"&&!s&&(h=!1,m.push("No initial image selected")),u&&(h=!1,m.push("System Busy")),d||(h=!1,m.push("System Disconnected")),o&&(!(sP(a)||a==="")||l===-1)&&(h=!1,m.push("Seed-Weights badly formatted.")),{isReady:h,reasonsWhyNotReady:m}},{memoizeOptions:{equalityCheck:ke.isEqual,resultEqualityCheck:ke.isEqual}});function XP(e){const{iconButton:t=!1,...n}=e,r=Me(),{isReady:i}=he(TY),o=he(Or),a=()=>{r(I8(o))},{t:s}=Ve();return Je(["ctrl+enter","meta+enter"],()=>{r(I8(o))},{enabled:()=>i,preventDefault:!0,enableOnFormTags:["input","textarea","select"]},[i,o]),y.jsx("div",{style:{flexGrow:4},children:t?y.jsx(Qe,{"aria-label":s("parameters:invoke"),type:"submit",icon:y.jsx(gEe,{}),isDisabled:!i,onClick:a,className:"invoke-btn",tooltip:s("parameters:invoke"),tooltipProps:{placement:"bottom"},...n}):y.jsx(cr,{"aria-label":s("parameters:invoke"),type:"submit",isDisabled:!i,onClick:a,className:"invoke-btn",...n,children:"Invoke"})})}const rOe=at(Fy,({shouldLoopback:e})=>e),iOe=()=>{const e=Me(),t=he(rOe),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("parameters:toggleLoopback"),tooltip:n("parameters:toggleLoopback"),styleClass:"loopback-btn",asCheckbox:!0,isChecked:t,icon:y.jsx(vEe,{}),onClick:()=>{e(iwe(!t))}})},ZP=()=>{const e=he(Or);return y.jsxs("div",{className:"process-buttons",children:[y.jsx(XP,{}),e==="img2img"&&y.jsx(iOe,{}),y.jsx(YP,{})]})},QP=()=>{const e=he(r=>r.generation.negativePrompt),t=Me(),{t:n}=Ve();return y.jsx(dn,{children:y.jsx($E,{id:"negativePrompt",name:"negativePrompt",value:e,onChange:r=>t(Q2(r.target.value)),background:"var(--prompt-bg-color)",placeholder:n("parameters:negativePrompts"),_placeholder:{fontSize:"0.8rem"},borderColor:"var(--border-color)",_hover:{borderColor:"var(--border-color-light)"},_focusVisible:{borderColor:"var(--border-color-invalid)",boxShadow:"0 0 10px var(--box-shadow-color-invalid)"},fontSize:"0.9rem",color:"var(--text-color-secondary)"})})},oOe=at([e=>e.generation,Or],(e,t)=>({prompt:e.prompt,activeTabName:t}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),JP=()=>{const e=Me(),{prompt:t,activeTabName:n}=he(oOe),{isReady:r}=he(TY),i=w.useRef(null),{t:o}=Ve(),a=l=>{e(Nx(l.target.value))};Je("alt+a",()=>{var l;(l=i.current)==null||l.focus()},[]);const s=l=>{l.key==="Enter"&&l.shiftKey===!1&&r&&(l.preventDefault(),e(I8(n)))};return y.jsx("div",{className:"prompt-bar",children:y.jsx(dn,{isInvalid:t.length===0||Boolean(t.match(/^[\s\r\n]+$/)),children:y.jsx($E,{id:"prompt",name:"prompt",placeholder:o("parameters:promptPlaceholder"),size:"lg",value:t,onChange:a,onKeyDown:s,resize:"vertical",height:30,ref:i,_placeholder:{color:"var(--text-color-secondary)"}})})})},LY=""+new URL("logo-13003d72.png",import.meta.url).href,aOe=at(mp,e=>{const{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}=e;return{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eT=e=>{const t=Me(),{shouldShowParametersPanel:n,shouldHoldParametersPanelOpen:r,shouldPinParametersPanel:i}=he(aOe),o=w.useRef(null),a=w.useRef(null),s=w.useRef(null),{children:l}=e;Je("o",()=>{t(Ku(!n)),i&&setTimeout(()=>t(vi(!0)),400)},[n,i]),Je("esc",()=>{t(Ku(!1))},{enabled:()=>!i,preventDefault:!0},[i]),Je("shift+o",()=>{m(),t(vi(!0))},[i]);const u=w.useCallback(()=>{i||(t(sCe(a.current?a.current.scrollTop:0)),t(Ku(!1)),t(lCe(!1)))},[t,i]),d=()=>{s.current=window.setTimeout(()=>u(),500)},h=()=>{s.current&&window.clearTimeout(s.current)},m=()=>{t(uCe(!i)),t(vi(!0))};return w.useEffect(()=>{function v(b){o.current&&!o.current.contains(b.target)&&u()}return document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[u]),y.jsx(Oq,{nodeRef:o,in:n||r&&!i,unmountOnExit:!0,timeout:200,classNames:"parameters-panel-wrapper",children:y.jsx("div",{className:"parameters-panel-wrapper","data-pinned":i,tabIndex:1,ref:o,onMouseEnter:i?void 0:h,onMouseOver:i?void 0:h,style:{borderRight:i?"":"0.3rem solid var(--tab-list-text-inactive)"},children:y.jsx("div",{className:"parameters-panel-margin",children:y.jsxs("div",{className:"parameters-panel",ref:a,onMouseLeave:v=>{v.target!==a.current?h():!i&&d()},children:[y.jsx(uo,{label:"Pin Options Panel",children:y.jsx("div",{className:"parameters-panel-pin-button","data-selected":i,onClick:m,children:i?y.jsx(Eq,{}):y.jsx(Pq,{})})}),!i&&y.jsxs("div",{className:"invoke-ai-logo-wrapper",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs("h1",{children:["invoke ",y.jsx("strong",{children:"ai"})]})]}),l]})})})})};function sOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(_Y,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(PY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(jAe,{})}},n=Me(),r=he(Or);return w.useEffect(()=>{r==="img2img"&&n(lP(!1))},[r,n]),y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(NAe,{}),y.jsx(qP,{accordionInfo:t})]})}function lOe(){return y.jsx(HP,{optionsPanel:y.jsx(sOe,{}),children:y.jsx(IAe,{})})}const uOe=()=>y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"text-to-image-area",children:y.jsx(CY,{})})}),cOe=at([Fy],({hiresFix:e,hiresStrength:t})=>({hiresFix:e,hiresStrength:t}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dOe=()=>{const{hiresFix:e,hiresStrength:t}=he(cOe),n=Me(),{t:r}=Ve(),i=a=>{n(VI(a))},o=()=>{n(VI(.75))};return y.jsx(so,{label:r("parameters:hiresStrength"),step:.01,min:.01,max:.99,onChange:i,value:t,isInteger:!1,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:o,isSliderDisabled:!e,isInputDisabled:!e,isResetDisabled:!e})},fOe=()=>{const e=Me(),t=he(i=>i.postprocessing.hiresFix),{t:n}=Ve(),r=i=>e(lP(i.target.checked));return y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(Vs,{label:n("parameters:hiresOptim"),fontSize:"md",isChecked:t,onChange:r}),y.jsx(dOe,{})]})},hOe=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(EY,{}),y.jsx(fOe,{})]});function pOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(_Y,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(PY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(hOe,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(qP,{accordionInfo:t})]})}function gOe(){return y.jsx(HP,{optionsPanel:y.jsx(pOe,{}),children:y.jsx(uOe,{})})}var K8={},mOe={get exports(){return K8},set exports(e){K8=e}};/** - * @license React - * react-reconciler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var vOe=function(t){var n={},r=w,i=Bh,o=Object.assign;function a(f){for(var p="https://reactjs.org/docs/error-decoder.html?invariant="+f,x=1;xle||L[G]!==M[le]){var pe=` -`+L[G].replace(" at new "," at ");return f.displayName&&pe.includes("")&&(pe=pe.replace("",f.displayName)),pe}while(1<=G&&0<=le);break}}}finally{al=!1,Error.prepareStackTrace=x}return(f=f?f.displayName||f.name:"")?yu(f):""}var Tp=Object.prototype.hasOwnProperty,xc=[],sl=-1;function oa(f){return{current:f}}function Dn(f){0>sl||(f.current=xc[sl],xc[sl]=null,sl--)}function Pn(f,p){sl++,xc[sl]=f.current,f.current=p}var aa={},Hr=oa(aa),li=oa(!1),sa=aa;function ll(f,p){var x=f.type.contextTypes;if(!x)return aa;var P=f.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===p)return P.__reactInternalMemoizedMaskedChildContext;var L={},M;for(M in x)L[M]=p[M];return P&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=p,f.__reactInternalMemoizedMaskedChildContext=L),L}function ui(f){return f=f.childContextTypes,f!=null}function vs(){Dn(li),Dn(Hr)}function bf(f,p,x){if(Hr.current!==aa)throw Error(a(168));Pn(Hr,p),Pn(li,x)}function Su(f,p,x){var P=f.stateNode;if(p=p.childContextTypes,typeof P.getChildContext!="function")return x;P=P.getChildContext();for(var L in P)if(!(L in p))throw Error(a(108,j(f)||"Unknown",L));return o({},x,P)}function ys(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||aa,sa=Hr.current,Pn(Hr,f),Pn(li,li.current),!0}function Sf(f,p,x){var P=f.stateNode;if(!P)throw Error(a(169));x?(f=Su(f,p,sa),P.__reactInternalMemoizedMergedChildContext=f,Dn(li),Dn(Hr),Pn(Hr,f)):Dn(li),Pn(li,x)}var Mi=Math.clz32?Math.clz32:xf,Lp=Math.log,Ap=Math.LN2;function xf(f){return f>>>=0,f===0?32:31-(Lp(f)/Ap|0)|0}var ul=64,Io=4194304;function cl(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function xu(f,p){var x=f.pendingLanes;if(x===0)return 0;var P=0,L=f.suspendedLanes,M=f.pingedLanes,G=x&268435455;if(G!==0){var le=G&~L;le!==0?P=cl(le):(M&=G,M!==0&&(P=cl(M)))}else G=x&~L,G!==0?P=cl(G):M!==0&&(P=cl(M));if(P===0)return 0;if(p!==0&&p!==P&&!(p&L)&&(L=P&-P,M=p&-p,L>=M||L===16&&(M&4194240)!==0))return p;if(P&4&&(P|=x&16),p=f.entangledLanes,p!==0)for(f=f.entanglements,p&=P;0x;x++)p.push(f);return p}function $a(f,p,x){f.pendingLanes|=p,p!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,p=31-Mi(p),f[p]=x}function Cf(f,p){var x=f.pendingLanes&~p;f.pendingLanes=p,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=p,f.mutableReadLanes&=p,f.entangledLanes&=p,p=f.entanglements;var P=f.eventTimes;for(f=f.expirationTimes;0>=G,L-=G,co=1<<32-Mi(p)+L|x<Gt?(ti=Rt,Rt=null):ti=Rt.sibling;var Jt=rt(me,Rt,be[Gt],et);if(Jt===null){Rt===null&&(Rt=ti);break}f&&Rt&&Jt.alternate===null&&p(me,Rt),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt,Rt=ti}if(Gt===be.length)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;GtGt?(ti=Rt,Rt=null):ti=Rt.sibling;var Ps=rt(me,Rt,Jt.value,et);if(Ps===null){Rt===null&&(Rt=ti);break}f&&Rt&&Ps.alternate===null&&p(me,Rt),ue=M(Ps,ue,Gt),Bt===null?Oe=Ps:Bt.sibling=Ps,Bt=Ps,Rt=ti}if(Jt.done)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;!Jt.done;Gt++,Jt=be.next())Jt=jt(me,Jt.value,et),Jt!==null&&(ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return Vn&&dl(me,Gt),Oe}for(Rt=P(me,Rt);!Jt.done;Gt++,Jt=be.next())Jt=Un(Rt,me,Gt,Jt.value,et),Jt!==null&&(f&&Jt.alternate!==null&&Rt.delete(Jt.key===null?Gt:Jt.key),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return f&&Rt.forEach(function(ki){return p(me,ki)}),Vn&&dl(me,Gt),Oe}function ya(me,ue,be,et){if(typeof be=="object"&&be!==null&&be.type===d&&be.key===null&&(be=be.props.children),typeof be=="object"&&be!==null){switch(be.$$typeof){case l:e:{for(var Oe=be.key,Bt=ue;Bt!==null;){if(Bt.key===Oe){if(Oe=be.type,Oe===d){if(Bt.tag===7){x(me,Bt.sibling),ue=L(Bt,be.props.children),ue.return=me,me=ue;break e}}else if(Bt.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===T&&t1(Oe)===Bt.type){x(me,Bt.sibling),ue=L(Bt,be.props),ue.ref=Ha(me,Bt,be),ue.return=me,me=ue;break e}x(me,Bt);break}else p(me,Bt);Bt=Bt.sibling}be.type===d?(ue=kl(be.props.children,me.mode,et,be.key),ue.return=me,me=ue):(et=Zf(be.type,be.key,be.props,null,me.mode,et),et.ref=Ha(me,ue,be),et.return=me,me=et)}return G(me);case u:e:{for(Bt=be.key;ue!==null;){if(ue.key===Bt)if(ue.tag===4&&ue.stateNode.containerInfo===be.containerInfo&&ue.stateNode.implementation===be.implementation){x(me,ue.sibling),ue=L(ue,be.children||[]),ue.return=me,me=ue;break e}else{x(me,ue);break}else p(me,ue);ue=ue.sibling}ue=El(be,me.mode,et),ue.return=me,me=ue}return G(me);case T:return Bt=be._init,ya(me,ue,Bt(be._payload),et)}if(U(be))return Nn(me,ue,be,et);if(R(be))return mr(me,ue,be,et);Xi(me,be)}return typeof be=="string"&&be!==""||typeof be=="number"?(be=""+be,ue!==null&&ue.tag===6?(x(me,ue.sibling),ue=L(ue,be),ue.return=me,me=ue):(x(me,ue),ue=vg(be,me.mode,et),ue.return=me,me=ue),G(me)):x(me,ue)}return ya}var Mc=r3(!0),i3=r3(!1),Rf={},jo=oa(Rf),Va=oa(Rf),oe=oa(Rf);function we(f){if(f===Rf)throw Error(a(174));return f}function ve(f,p){Pn(oe,p),Pn(Va,f),Pn(jo,Rf),f=Z(p),Dn(jo),Pn(jo,f)}function nt(){Dn(jo),Dn(Va),Dn(oe)}function It(f){var p=we(oe.current),x=we(jo.current);p=W(x,f.type,p),x!==p&&(Pn(Va,f),Pn(jo,p))}function rn(f){Va.current===f&&(Dn(jo),Dn(Va))}var $t=oa(0);function mn(f){for(var p=f;p!==null;){if(p.tag===13){var x=p.memoizedState;if(x!==null&&(x=x.dehydrated,x===null||bc(x)||yf(x)))return p}else if(p.tag===19&&p.memoizedProps.revealOrder!==void 0){if(p.flags&128)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var Df=[];function n1(){for(var f=0;fx?x:4,f(!0);var P=Ic.transition;Ic.transition={};try{f(!1),p()}finally{Yt=x,Ic.transition=P}}function Fc(){return Di().memoizedState}function c1(f,p,x){var P=qr(f);if(x={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null},Hc(f))Vc(p,x);else if(x=Oc(f,p,x,P),x!==null){var L=_i();Fo(x,f,P,L),zf(x,p,P)}}function zc(f,p,x){var P=qr(f),L={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null};if(Hc(f))Vc(p,L);else{var M=f.alternate;if(f.lanes===0&&(M===null||M.lanes===0)&&(M=p.lastRenderedReducer,M!==null))try{var G=p.lastRenderedState,le=M(G,x);if(L.hasEagerState=!0,L.eagerState=le,Y(le,G)){var pe=p.interleaved;pe===null?(L.next=L,Mf(p)):(L.next=pe.next,pe.next=L),p.interleaved=L;return}}catch{}finally{}x=Oc(f,p,L,P),x!==null&&(L=_i(),Fo(x,f,P,L),zf(x,p,P))}}function Hc(f){var p=f.alternate;return f===Tn||p!==null&&p===Tn}function Vc(f,p){Nf=un=!0;var x=f.pending;x===null?p.next=p:(p.next=x.next,x.next=p),f.pending=p}function zf(f,p,x){if(x&4194240){var P=p.lanes;P&=f.pendingLanes,x|=P,p.lanes=x,wu(f,x)}}var xs={readContext:fo,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},gw={readContext:fo,useCallback:function(f,p){return di().memoizedState=[f,p===void 0?null:p],f},useContext:fo,useEffect:s3,useImperativeHandle:function(f,p,x){return x=x!=null?x.concat([f]):null,Eu(4194308,4,Rr.bind(null,p,f),x)},useLayoutEffect:function(f,p){return Eu(4194308,4,f,p)},useInsertionEffect:function(f,p){return Eu(4,2,f,p)},useMemo:function(f,p){var x=di();return p=p===void 0?null:p,f=f(),x.memoizedState=[f,p],f},useReducer:function(f,p,x){var P=di();return p=x!==void 0?x(p):p,P.memoizedState=P.baseState=p,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:p},P.queue=f,f=f.dispatch=c1.bind(null,Tn,f),[P.memoizedState,f]},useRef:function(f){var p=di();return f={current:f},p.memoizedState=f},useState:a3,useDebugValue:s1,useDeferredValue:function(f){return di().memoizedState=f},useTransition:function(){var f=a3(!1),p=f[0];return f=u1.bind(null,f[1]),di().memoizedState=f,[p,f]},useMutableSource:function(){},useSyncExternalStore:function(f,p,x){var P=Tn,L=di();if(Vn){if(x===void 0)throw Error(a(407));x=x()}else{if(x=p(),ei===null)throw Error(a(349));ku&30||a1(P,p,x)}L.memoizedState=x;var M={value:x,getSnapshot:p};return L.queue=M,s3(pl.bind(null,P,M,f),[f]),P.flags|=2048,$f(9,Bc.bind(null,P,M,x,p),void 0,null),x},useId:function(){var f=di(),p=ei.identifierPrefix;if(Vn){var x=Fa,P=co;x=(P&~(1<<32-Mi(P)-1)).toString(32)+x,p=":"+p+"R"+x,x=Rc++,0sg&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304)}else{if(!P)if(f=mn(M),f!==null){if(p.flags|=128,P=!0,f=f.updateQueue,f!==null&&(p.updateQueue=f,p.flags|=4),Gc(L,!0),L.tail===null&&L.tailMode==="hidden"&&!M.alternate&&!Vn)return xi(p),null}else 2*Kn()-L.renderingStartTime>sg&&x!==1073741824&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304);L.isBackwards?(M.sibling=p.child,p.child=M):(f=L.last,f!==null?f.sibling=M:p.child=M,L.last=M)}return L.tail!==null?(p=L.tail,L.rendering=p,L.tail=p.sibling,L.renderingStartTime=Kn(),p.sibling=null,f=$t.current,Pn($t,P?f&1|2:f&1),p):(xi(p),null);case 22:case 23:return td(),x=p.memoizedState!==null,f!==null&&f.memoizedState!==null!==x&&(p.flags|=8192),x&&p.mode&1?po&1073741824&&(xi(p),st&&p.subtreeFlags&6&&(p.flags|=8192)):xi(p),null;case 24:return null;case 25:return null}throw Error(a(156,p.tag))}function y1(f,p){switch(Z0(p),p.tag){case 1:return ui(p.type)&&vs(),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return nt(),Dn(li),Dn(Hr),n1(),f=p.flags,f&65536&&!(f&128)?(p.flags=f&-65537|128,p):null;case 5:return rn(p),null;case 13:if(Dn($t),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(a(340));Tc()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Dn($t),null;case 4:return nt(),null;case 10:return Af(p.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var ml=!1,Wr=!1,xw=typeof WeakSet=="function"?WeakSet:Set,ct=null;function qc(f,p){var x=f.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(P){Zn(f,p,P)}else x.current=null}function pa(f,p,x){try{x()}catch(P){Zn(f,p,P)}}var Yp=!1;function Tu(f,p){for(Q(f.containerInfo),ct=p;ct!==null;)if(f=ct,p=f.child,(f.subtreeFlags&1028)!==0&&p!==null)p.return=f,ct=p;else for(;ct!==null;){f=ct;try{var x=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var P=x.memoizedProps,L=x.memoizedState,M=f.stateNode,G=M.getSnapshotBeforeUpdate(f.elementType===f.type?P:ua(f.type,P),L);M.__reactInternalSnapshotBeforeUpdate=G}break;case 3:st&&rl(f.stateNode.containerInfo);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(le){Zn(f,f.return,le)}if(p=f.sibling,p!==null){p.return=f.return,ct=p;break}ct=f.return}return x=Yp,Yp=!1,x}function wi(f,p,x){var P=p.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var L=P=P.next;do{if((L.tag&f)===f){var M=L.destroy;L.destroy=void 0,M!==void 0&&pa(p,x,M)}L=L.next}while(L!==P)}}function Kp(f,p){if(p=p.updateQueue,p=p!==null?p.lastEffect:null,p!==null){var x=p=p.next;do{if((x.tag&f)===f){var P=x.create;x.destroy=P()}x=x.next}while(x!==p)}}function Xp(f){var p=f.ref;if(p!==null){var x=f.stateNode;switch(f.tag){case 5:f=X(x);break;default:f=x}typeof p=="function"?p(f):p.current=f}}function b1(f){var p=f.alternate;p!==null&&(f.alternate=null,b1(p)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(p=f.stateNode,p!==null&&ut(p)),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function Yc(f){return f.tag===5||f.tag===3||f.tag===4}function Cs(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||Yc(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Zp(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Xe(x,f,p):At(x,f);else if(P!==4&&(f=f.child,f!==null))for(Zp(f,p,x),f=f.sibling;f!==null;)Zp(f,p,x),f=f.sibling}function S1(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Rn(x,f,p):Te(x,f);else if(P!==4&&(f=f.child,f!==null))for(S1(f,p,x),f=f.sibling;f!==null;)S1(f,p,x),f=f.sibling}var Nr=null,ga=!1;function ma(f,p,x){for(x=x.child;x!==null;)Ur(f,p,x),x=x.sibling}function Ur(f,p,x){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(gn,x)}catch{}switch(x.tag){case 5:Wr||qc(x,p);case 6:if(st){var P=Nr,L=ga;Nr=null,ma(f,p,x),Nr=P,ga=L,Nr!==null&&(ga?ft(Nr,x.stateNode):xt(Nr,x.stateNode))}else ma(f,p,x);break;case 18:st&&Nr!==null&&(ga?G0(Nr,x.stateNode):U0(Nr,x.stateNode));break;case 4:st?(P=Nr,L=ga,Nr=x.stateNode.containerInfo,ga=!0,ma(f,p,x),Nr=P,ga=L):(mt&&(P=x.stateNode.containerInfo,L=Ba(P),yc(P,L)),ma(f,p,x));break;case 0:case 11:case 14:case 15:if(!Wr&&(P=x.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){L=P=P.next;do{var M=L,G=M.destroy;M=M.tag,G!==void 0&&(M&2||M&4)&&pa(x,p,G),L=L.next}while(L!==P)}ma(f,p,x);break;case 1:if(!Wr&&(qc(x,p),P=x.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=x.memoizedProps,P.state=x.memoizedState,P.componentWillUnmount()}catch(le){Zn(x,p,le)}ma(f,p,x);break;case 21:ma(f,p,x);break;case 22:x.mode&1?(Wr=(P=Wr)||x.memoizedState!==null,ma(f,p,x),Wr=P):ma(f,p,x);break;default:ma(f,p,x)}}function Qp(f){var p=f.updateQueue;if(p!==null){f.updateQueue=null;var x=f.stateNode;x===null&&(x=f.stateNode=new xw),p.forEach(function(P){var L=k3.bind(null,f,P);x.has(P)||(x.add(P),P.then(L,L))})}}function Bo(f,p){var x=p.deletions;if(x!==null)for(var P=0;P";case ng:return":has("+(C1(f)||"")+")";case rg:return'[role="'+f.value+'"]';case ig:return'"'+f.value+'"';case Kc:return'[data-testname="'+f.value+'"]';default:throw Error(a(365))}}function Xc(f,p){var x=[];f=[f,0];for(var P=0;PL&&(L=G),P&=~M}if(P=L,P=Kn()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*ww(P/1960))-P,10f?16:f,Ot===null)var P=!1;else{if(f=Ot,Ot=null,lg=0,Ut&6)throw Error(a(331));var L=Ut;for(Ut|=4,ct=f.current;ct!==null;){var M=ct,G=M.child;if(ct.flags&16){var le=M.deletions;if(le!==null){for(var pe=0;peKn()-E1?wl(f,0):k1|=x),hi(f,p)}function O1(f,p){p===0&&(f.mode&1?(p=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):p=1);var x=_i();f=ca(f,p),f!==null&&($a(f,p,x),hi(f,x))}function _w(f){var p=f.memoizedState,x=0;p!==null&&(x=p.retryLane),O1(f,x)}function k3(f,p){var x=0;switch(f.tag){case 13:var P=f.stateNode,L=f.memoizedState;L!==null&&(x=L.retryLane);break;case 19:P=f.stateNode;break;default:throw Error(a(314))}P!==null&&P.delete(p),O1(f,x)}var M1;M1=function(f,p,x){if(f!==null)if(f.memoizedProps!==p.pendingProps||li.current)Zi=!0;else{if(!(f.lanes&x)&&!(p.flags&128))return Zi=!1,bw(f,p,x);Zi=!!(f.flags&131072)}else Zi=!1,Vn&&p.flags&1048576&&X0(p,Ir,p.index);switch(p.lanes=0,p.tag){case 2:var P=p.type;Wa(f,p),f=p.pendingProps;var L=ll(p,Hr.current);Ac(p,x),L=i1(null,p,P,f,L,x);var M=Dc();return p.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(p.tag=1,p.memoizedState=null,p.updateQueue=null,ui(P)?(M=!0,ys(p)):M=!1,p.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,J0(p),L.updater=da,p.stateNode=L,L._reactInternals=p,e1(p,P,f,x),p=fa(null,p,P,!0,M,x)):(p.tag=0,Vn&&M&&Ii(p),Ni(null,p,L,x),p=p.child),p;case 16:P=p.elementType;e:{switch(Wa(f,p),f=p.pendingProps,L=P._init,P=L(P._payload),p.type=P,L=p.tag=gg(P),f=ua(P,f),L){case 0:p=h1(null,p,P,f,x);break e;case 1:p=m3(null,p,P,f,x);break e;case 11:p=f3(null,p,P,f,x);break e;case 14:p=gl(null,p,P,ua(P.type,f),x);break e}throw Error(a(306,P,""))}return p;case 0:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),h1(f,p,P,L,x);case 1:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),m3(f,p,P,L,x);case 3:e:{if(v3(p),f===null)throw Error(a(387));P=p.pendingProps,M=p.memoizedState,L=M.element,Jy(f,p),$p(p,P,null,x);var G=p.memoizedState;if(P=G.element,St&&M.isDehydrated)if(M={element:P,isDehydrated:!1,cache:G.cache,pendingSuspenseBoundaries:G.pendingSuspenseBoundaries,transitions:G.transitions},p.updateQueue.baseState=M,p.memoizedState=M,p.flags&256){L=Wc(Error(a(423)),p),p=y3(f,p,P,x,L);break e}else if(P!==L){L=Wc(Error(a(424)),p),p=y3(f,p,P,x,L);break e}else for(St&&(Do=B0(p.stateNode.containerInfo),Xn=p,Vn=!0,Ki=null,No=!1),x=i3(p,null,P,x),p.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(Tc(),P===L){p=ws(f,p,x);break e}Ni(f,p,P,x)}p=p.child}return p;case 5:return It(p),f===null&&Ef(p),P=p.type,L=p.pendingProps,M=f!==null?f.memoizedProps:null,G=L.children,We(P,L)?G=null:M!==null&&We(P,M)&&(p.flags|=32),g3(f,p),Ni(f,p,G,x),p.child;case 6:return f===null&&Ef(p),null;case 13:return b3(f,p,x);case 4:return ve(p,p.stateNode.containerInfo),P=p.pendingProps,f===null?p.child=Mc(p,null,P,x):Ni(f,p,P,x),p.child;case 11:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),f3(f,p,P,L,x);case 7:return Ni(f,p,p.pendingProps,x),p.child;case 8:return Ni(f,p,p.pendingProps.children,x),p.child;case 12:return Ni(f,p,p.pendingProps.children,x),p.child;case 10:e:{if(P=p.type._context,L=p.pendingProps,M=p.memoizedProps,G=L.value,Qy(p,P,G),M!==null)if(Y(M.value,G)){if(M.children===L.children&&!li.current){p=ws(f,p,x);break e}}else for(M=p.child,M!==null&&(M.return=p);M!==null;){var le=M.dependencies;if(le!==null){G=M.child;for(var pe=le.firstContext;pe!==null;){if(pe.context===P){if(M.tag===1){pe=Ss(-1,x&-x),pe.tag=2;var ze=M.updateQueue;if(ze!==null){ze=ze.shared;var dt=ze.pending;dt===null?pe.next=pe:(pe.next=dt.next,dt.next=pe),ze.pending=pe}}M.lanes|=x,pe=M.alternate,pe!==null&&(pe.lanes|=x),Of(M.return,x,p),le.lanes|=x;break}pe=pe.next}}else if(M.tag===10)G=M.type===p.type?null:M.child;else if(M.tag===18){if(G=M.return,G===null)throw Error(a(341));G.lanes|=x,le=G.alternate,le!==null&&(le.lanes|=x),Of(G,x,p),G=M.sibling}else G=M.child;if(G!==null)G.return=M;else for(G=M;G!==null;){if(G===p){G=null;break}if(M=G.sibling,M!==null){M.return=G.return,G=M;break}G=G.return}M=G}Ni(f,p,L.children,x),p=p.child}return p;case 9:return L=p.type,P=p.pendingProps.children,Ac(p,x),L=fo(L),P=P(L),p.flags|=1,Ni(f,p,P,x),p.child;case 14:return P=p.type,L=ua(P,p.pendingProps),L=ua(P.type,L),gl(f,p,P,L,x);case 15:return h3(f,p,p.type,p.pendingProps,x);case 17:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),Wa(f,p),p.tag=1,ui(P)?(f=!0,ys(p)):f=!1,Ac(p,x),t3(p,P,L),e1(p,P,L,x),fa(null,p,P,!0,f,x);case 19:return x3(f,p,x);case 22:return p3(f,p,x)}throw Error(a(156,p.tag))};function $i(f,p){return kc(f,p)}function Ua(f,p,x,P){this.tag=f,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(f,p,x,P){return new Ua(f,p,x,P)}function I1(f){return f=f.prototype,!(!f||!f.isReactComponent)}function gg(f){if(typeof f=="function")return I1(f)?1:0;if(f!=null){if(f=f.$$typeof,f===S)return 11;if(f===_)return 14}return 2}function mo(f,p){var x=f.alternate;return x===null?(x=zo(f.tag,p,f.key,f.mode),x.elementType=f.elementType,x.type=f.type,x.stateNode=f.stateNode,x.alternate=f,f.alternate=x):(x.pendingProps=p,x.type=f.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=f.flags&14680064,x.childLanes=f.childLanes,x.lanes=f.lanes,x.child=f.child,x.memoizedProps=f.memoizedProps,x.memoizedState=f.memoizedState,x.updateQueue=f.updateQueue,p=f.dependencies,x.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},x.sibling=f.sibling,x.index=f.index,x.ref=f.ref,x}function Zf(f,p,x,P,L,M){var G=2;if(P=f,typeof f=="function")I1(f)&&(G=1);else if(typeof f=="string")G=5;else e:switch(f){case d:return kl(x.children,L,M,p);case h:G=8,L|=8;break;case m:return f=zo(12,x,p,L|2),f.elementType=m,f.lanes=M,f;case k:return f=zo(13,x,p,L),f.elementType=k,f.lanes=M,f;case E:return f=zo(19,x,p,L),f.elementType=E,f.lanes=M,f;case A:return mg(x,L,M,p);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case v:G=10;break e;case b:G=9;break e;case S:G=11;break e;case _:G=14;break e;case T:G=16,P=null;break e}throw Error(a(130,f==null?f:typeof f,""))}return p=zo(G,x,p,L),p.elementType=f,p.type=P,p.lanes=M,p}function kl(f,p,x,P){return f=zo(7,f,P,p),f.lanes=x,f}function mg(f,p,x,P){return f=zo(22,f,P,p),f.elementType=A,f.lanes=x,f.stateNode={isHidden:!1},f}function vg(f,p,x){return f=zo(6,f,null,p),f.lanes=x,f}function El(f,p,x){return p=zo(4,f.children!==null?f.children:[],f.key,p),p.lanes=x,p.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},p}function Qf(f,p,x,P,L){this.tag=p,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Be,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=P,this.onRecoverableError=L,St&&(this.mutableSourceEagerHydrationData=null)}function E3(f,p,x,P,L,M,G,le,pe){return f=new Qf(f,p,x,le,pe),p===1?(p=1,M===!0&&(p|=8)):p=0,M=zo(3,null,null,p),f.current=M,M.stateNode=f,M.memoizedState={element:P,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},J0(M),f}function R1(f){if(!f)return aa;f=f._reactInternals;e:{if(z(f)!==f||f.tag!==1)throw Error(a(170));var p=f;do{switch(p.tag){case 3:p=p.stateNode.context;break e;case 1:if(ui(p.type)){p=p.stateNode.__reactInternalMemoizedMergedChildContext;break e}}p=p.return}while(p!==null);throw Error(a(171))}if(f.tag===1){var x=f.type;if(ui(x))return Su(f,x,p)}return p}function D1(f){var p=f._reactInternals;if(p===void 0)throw typeof f.render=="function"?Error(a(188)):(f=Object.keys(f).join(","),Error(a(268,f)));return f=te(p),f===null?null:f.stateNode}function Jf(f,p){if(f=f.memoizedState,f!==null&&f.dehydrated!==null){var x=f.retryLane;f.retryLane=x!==0&&x=ze&&M>=jt&&L<=dt&&G<=rt){f.splice(p,1);break}else if(P!==ze||x.width!==pe.width||rtG){if(!(M!==jt||x.height!==pe.height||dtL)){ze>P&&(pe.width+=ze-P,pe.x=P),dtM&&(pe.height+=jt-M,pe.y=M),rtx&&(x=G)),G ")+` - -No matching component was found for: - `)+f.join(" > ")}return null},n.getPublicRootInstance=function(f){if(f=f.current,!f.child)return null;switch(f.child.tag){case 5:return X(f.child.stateNode);default:return f.child.stateNode}},n.injectIntoDevTools=function(f){if(f={bundleType:f.bundleType,version:f.version,rendererPackageName:f.rendererPackageName,rendererConfig:f.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:yg,findFiberByHostInstance:f.findFiberByHostInstance||N1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0"},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")f=!1;else{var p=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(p.isDisabled||!p.supportsFiber)f=!0;else{try{gn=p.inject(f),Kt=p}catch{}f=!!p.checkDCE}}return f},n.isAlreadyRendering=function(){return!1},n.observeVisibleRects=function(f,p,x,P){if(!ae)throw Error(a(363));f=_1(f,p);var L=Dt(f,x,P).disconnect;return{disconnect:function(){L()}}},n.registerMutableSourceForHydration=function(f,p){var x=p._getVersion;x=x(p._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[p,x]:f.mutableSourceEagerHydrationData.push(p,x)},n.runWithPriority=function(f,p){var x=Yt;try{return Yt=f,p()}finally{Yt=x}},n.shouldError=function(){return null},n.shouldSuspend=function(){return!1},n.updateContainer=function(f,p,x,P){var L=p.current,M=_i(),G=qr(L);return x=R1(x),p.context===null?p.context=x:p.pendingContext=x,p=Ss(M,G),p.payload={element:f},P=P===void 0?null:P,P!==null&&(p.callback=P),f=hl(L,p,G),f!==null&&(Fo(f,L,G,M),Bp(f,L,G)),G},n};(function(e){e.exports=vOe})(mOe);const yOe=d_(K8);var lS={},bOe={get exports(){return lS},set exports(e){lS=e}},Sp={};/** - * @license React - * react-reconciler-constants.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */Sp.ConcurrentRoot=1;Sp.ContinuousEventPriority=4;Sp.DefaultEventPriority=16;Sp.DiscreteEventPriority=1;Sp.IdleEventPriority=536870912;Sp.LegacyRoot=0;(function(e){e.exports=Sp})(bOe);const JD={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let eN=!1,tN=!1;const tT=".react-konva-event",SOe=`ReactKonva: You have a Konva node with draggable = true and position defined but no onDragMove or onDragEnd events are handled. -Position of a node will be changed during drag&drop, so you should update state of the react app as well. -Consider to add onDragMove or onDragEnd events. -For more info see: https://github.com/konvajs/react-konva/issues/256 -`,xOe=`ReactKonva: You are using "zIndex" attribute for a Konva node. -react-konva may get confused with ordering. Just define correct order of elements in your render function of a component. -For more info see: https://github.com/konvajs/react-konva/issues/194 -`,wOe={};function sw(e,t,n=wOe){if(!eN&&"zIndex"in t&&(console.warn(xOe),eN=!0),!tN&&t.draggable){var r=t.x!==void 0||t.y!==void 0,i=t.onDragEnd||t.onDragMove;r&&!i&&(console.warn(SOe),tN=!0)}for(var o in n)if(!JD[o]){var a=o.slice(0,2)==="on",s=n[o]!==t[o];if(a&&s){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),e.off(l,n[o])}var u=!t.hasOwnProperty(o);u&&e.setAttr(o,void 0)}var d=t._useStrictMode,h={},m=!1;const v={};for(var o in t)if(!JD[o]){var a=o.slice(0,2)==="on",b=n[o]!==t[o];if(a&&b){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),t[o]&&(v[l]=t[o])}!a&&(t[o]!==n[o]||d&&t[o]!==e.getAttr(o))&&(m=!0,h[o]=t[o])}m&&(e.setAttrs(h),gf(e));for(var l in v)e.on(l+tT,v[l])}function gf(e){if(!pt.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const AY={},COe={};ep.Node.prototype._applyProps=sw;function _Oe(e,t){if(typeof t=="string"){console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`);return}e.add(t),gf(e)}function kOe(e,t,n){let r=ep[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=ep.Group);const i={},o={};for(var a in t){var s=a.slice(0,2)==="on";s?o[a]=t[a]:i[a]=t[a]}const l=new r(i);return sw(l,o),l}function EOe(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function POe(e,t,n){return!1}function TOe(e){return e}function LOe(){return null}function AOe(){return null}function OOe(e,t,n,r){return COe}function MOe(){}function IOe(e){}function ROe(e,t){return!1}function DOe(){return AY}function NOe(){return AY}const jOe=setTimeout,BOe=clearTimeout,$Oe=-1;function FOe(e,t){return!1}const zOe=!1,HOe=!0,VOe=!0;function WOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function UOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function OY(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),gf(e)}function GOe(e,t,n){OY(e,t,n)}function qOe(e,t){t.destroy(),t.off(tT),gf(e)}function YOe(e,t){t.destroy(),t.off(tT),gf(e)}function KOe(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function XOe(e,t,n){}function ZOe(e,t,n,r,i){sw(e,i,r)}function QOe(e){e.hide(),gf(e)}function JOe(e){}function eMe(e,t){(t.visible==null||t.visible)&&e.show()}function tMe(e,t){}function nMe(e){}function rMe(){}const iMe=()=>lS.DefaultEventPriority,oMe=Object.freeze(Object.defineProperty({__proto__:null,appendChild:WOe,appendChildToContainer:UOe,appendInitialChild:_Oe,cancelTimeout:BOe,clearContainer:nMe,commitMount:XOe,commitTextUpdate:KOe,commitUpdate:ZOe,createInstance:kOe,createTextInstance:EOe,detachDeletedInstance:rMe,finalizeInitialChildren:POe,getChildHostContext:NOe,getCurrentEventPriority:iMe,getPublicInstance:TOe,getRootHostContext:DOe,hideInstance:QOe,hideTextInstance:JOe,idlePriority:Bh.unstable_IdlePriority,insertBefore:OY,insertInContainerBefore:GOe,isPrimaryRenderer:zOe,noTimeout:$Oe,now:Bh.unstable_now,prepareForCommit:LOe,preparePortalMount:AOe,prepareUpdate:OOe,removeChild:qOe,removeChildFromContainer:YOe,resetAfterCommit:MOe,resetTextContent:IOe,run:Bh.unstable_runWithPriority,scheduleTimeout:jOe,shouldDeprioritizeSubtree:ROe,shouldSetTextContent:FOe,supportsMutation:VOe,unhideInstance:eMe,unhideTextInstance:tMe,warnsIfNotActing:HOe},Symbol.toStringTag,{value:"Module"}));var aMe=Object.defineProperty,sMe=Object.defineProperties,lMe=Object.getOwnPropertyDescriptors,nN=Object.getOwnPropertySymbols,uMe=Object.prototype.hasOwnProperty,cMe=Object.prototype.propertyIsEnumerable,rN=(e,t,n)=>t in e?aMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iN=(e,t)=>{for(var n in t||(t={}))uMe.call(t,n)&&rN(e,n,t[n]);if(nN)for(var n of nN(t))cMe.call(t,n)&&rN(e,n,t[n]);return e},dMe=(e,t)=>sMe(e,lMe(t));function nT(e,t,n){if(!e)return;if(n(e)===!0)return e;let r=t?e.return:e.child;for(;r;){const i=nT(r,t,n);if(i)return i;r=t?null:r.sibling}}function MY(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch{return e}}const rT=MY(w.createContext(null));class IY extends w.Component{render(){return w.createElement(rT.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:fMe,ReactCurrentDispatcher:hMe}=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function pMe(){const e=w.useContext(rT);if(!e)throw new Error("its-fine: useFiber must be called within a !");const t=w.useId();return w.useMemo(()=>{var r;return(r=fMe.current)!=null?r:nT(e,!1,i=>{let o=i.memoizedState;for(;o;){if(o.memoizedState===t)return!0;o=o.next}})},[e,t])}const hv=[],oN=new WeakMap;function gMe(){var e;const t=pMe();hv.splice(0,hv.length),nT(t,!0,n=>{var r;const i=(r=n.type)==null?void 0:r._context;i&&i!==rT&&hv.push(MY(i))});for(const n of hv){const r=(e=hMe.current)==null?void 0:e.readContext(n);oN.set(n,r)}return w.useMemo(()=>hv.reduce((n,r)=>i=>w.createElement(n,null,w.createElement(r.Provider,dMe(iN({},i),{value:oN.get(r)}))),n=>w.createElement(IY,iN({},n))),[])}function mMe(e){const t=N.useRef();return N.useLayoutEffect(()=>{t.current=e}),t.current}const vMe=e=>{const t=N.useRef(),n=N.useRef(),r=N.useRef(),i=mMe(e),o=gMe(),a=s=>{const{forwardedRef:l}=e;l&&(typeof l=="function"?l(s):l.current=s)};return N.useLayoutEffect(()=>(n.current=new ep.Stage({width:e.width,height:e.height,container:t.current}),a(n.current),r.current=Iv.createContainer(n.current,lS.LegacyRoot,!1,null),Iv.updateContainer(N.createElement(o,{},e.children),r.current),()=>{ep.isBrowser&&(a(null),Iv.updateContainer(null,r.current,null),n.current.destroy())}),[]),N.useLayoutEffect(()=>{a(n.current),sw(n.current,e,i),Iv.updateContainer(N.createElement(o,{},e.children),r.current,null)}),N.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},pv="Layer",sc="Group",lc="Rect",sh="Circle",uS="Line",RY="Image",yMe="Transformer",Iv=yOe(oMe);Iv.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:N.version,rendererPackageName:"react-konva"});const bMe=N.forwardRef((e,t)=>N.createElement(IY,{},N.createElement(vMe,{...e,forwardedRef:t}))),SMe=at([sn,Mr],(e,t)=>{const{tool:n,isMovingBoundingBox:r}=e;return{tool:n,isStaging:t,isMovingBoundingBox:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),xMe=()=>{const e=Me(),{tool:t,isStaging:n,isMovingBoundingBox:r}=he(SMe);return{handleDragStart:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!0))},[e,r,n,t]),handleDragMove:w.useCallback(i=>{if(!((t==="move"||n)&&!r))return;const o={x:i.target.x(),y:i.target.y()};e(ZW(o))},[e,r,n,t]),handleDragEnd:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!1))},[e,r,n,t])}},wMe=at([sn,Or,Mr],(e,t,n)=>{const{cursorPosition:r,shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isMaskEnabled:s,shouldSnapToGrid:l}=e;return{activeTabName:t,isCursorOnCanvas:Boolean(r),shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isStaging:n,isMaskEnabled:s,shouldSnapToGrid:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CMe=()=>{const e=Me(),{activeTabName:t,shouldShowBoundingBox:n,tool:r,isStaging:i,isMaskEnabled:o,shouldSnapToGrid:a}=he(wMe),s=w.useRef(null),l=zG(),u=()=>e(nP());Je(["shift+c"],()=>{u()},{enabled:()=>!i,preventDefault:!0},[]);const d=()=>e(Dy(!o));Je(["h"],()=>{d()},{enabled:()=>!i,preventDefault:!0},[o]),Je(["n"],()=>{e(q5(!a))},{enabled:!0,preventDefault:!0},[a]),Je("esc",()=>{e(Cxe())},{enabled:()=>!0,preventDefault:!0}),Je("shift+h",()=>{e(Axe(!n))},{enabled:()=>!i,preventDefault:!0},[t,n]),Je(["space"],h=>{h.repeat||(l==null||l.container().focus(),r!=="move"&&(s.current=r,e(tu("move"))),r==="move"&&s.current&&s.current!=="move"&&(e(tu(s.current)),s.current="move"))},{keyup:!0,keydown:!0,preventDefault:!0},[r,s])},iT=e=>{const t=e.getPointerPosition(),n=e.getAbsoluteTransform().copy();if(!t||!n)return;const r=n.invert().point(t);return{x:r.x,y:r.y}},DY=()=>{const e=Me(),t=el(),n=zG();return{updateColorUnderCursor:()=>{if(!n||!t)return;const r=n.getPointerPosition();if(!r)return;const i=Fg.pixelRatio,[o,a,s,l]=t.getContext().getImageData(r.x*i,r.y*i,1,1).data;e(Pxe({r:o,g:a,b:s,a:l}))},commitColorUnderCursor:()=>{e(mxe())}}},_Me=at([Or,sn,Mr],(e,t,n)=>{const{tool:r}=t;return{tool:r,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kMe=e=>{const t=Me(),{tool:n,isStaging:r}=he(_Me),{commitColorUnderCursor:i}=DY();return w.useCallback(o=>{if(!e.current)return;if(e.current.container().focus(),n==="move"||r){t(U5(!0));return}if(n==="colorPicker"){i();return}const a=iT(e.current);a&&(o.evt.preventDefault(),t(HW(!0)),t(gxe([a.x,a.y])))},[e,n,r,t,i])},EMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PMe=(e,t,n)=>{const r=Me(),{isDrawing:i,tool:o,isStaging:a}=he(EMe),{updateColorUnderCursor:s}=DY();return w.useCallback(()=>{if(!e.current)return;const l=iT(e.current);if(l){if(r(Txe(l)),n.current=l,o==="colorPicker"){s();return}!i||o==="move"||a||(t.current=!0,r($W([l.x,l.y])))}},[t,r,i,a,n,e,o,s])},TMe=()=>{const e=Me();return w.useCallback(()=>{e(bxe())},[e])},LMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),AMe=(e,t)=>{const n=Me(),{tool:r,isDrawing:i,isStaging:o}=he(LMe);return w.useCallback(()=>{if(r==="move"||o){n(U5(!1));return}if(!t.current&&i&&e.current){const a=iT(e.current);if(!a)return;n($W([a.x,a.y]))}else t.current=!1;n(HW(!1))},[t,n,i,o,e,r])},OMe=at([sn],e=>{const{isMoveStageKeyHeld:t,stageScale:n}=e;return{isMoveStageKeyHeld:t,stageScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),MMe=e=>{const t=Me(),{isMoveStageKeyHeld:n,stageScale:r}=he(OMe);return w.useCallback(i=>{if(!e.current||n)return;i.evt.preventDefault();const o=e.current.getPointerPosition();if(!o)return;const a={x:(o.x-e.current.x())/r,y:(o.y-e.current.y())/r};let s=i.evt.deltaY;i.evt.ctrlKey&&(s=-s);const l=ke.clamp(r*ixe**s,oxe,axe),u={x:o.x-a.x*l,y:o.y-a.y*l};t(Mxe(l)),t(ZW(u))},[e,n,r,t])},IMe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageDimensions:r,stageScale:i,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a,stageDimensions:r,stageScale:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RMe=()=>{const{boundingBoxCoordinates:e,boundingBoxDimensions:t,shouldDarkenOutsideBoundingBox:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(IMe);return y.jsxs(sc,{children:[y.jsx(lc,{offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fill:"rgba(0,0,0,0.4)",listening:!1,visible:n}),y.jsx(lc,{x:e.x,y:e.y,width:t.width,height:t.height,fill:"rgb(255,255,255)",listening:!1,visible:n,globalCompositeOperation:"destination-out"})]})},DMe=at([sn],e=>{const{stageScale:t,stageCoordinates:n,stageDimensions:r}=e;return{stageScale:t,stageCoordinates:n,stageDimensions:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NMe={dark:"rgba(255, 255, 255, 0.2)",green:"rgba(255, 255, 255, 0.2)",light:"rgba(0, 0, 0, 0.2)"},jMe=()=>{const{colorMode:e}=dy(),{stageScale:t,stageCoordinates:n,stageDimensions:r}=he(DMe),[i,o]=w.useState([]),a=w.useCallback(s=>s/t,[t]);return w.useLayoutEffect(()=>{const s=NMe[e],{width:l,height:u}=r,{x:d,y:h}=n,m={x1:0,y1:0,x2:l,y2:u,offset:{x:a(d),y:a(h)}},v={x:Math.ceil(a(d)/64)*64,y:Math.ceil(a(h)/64)*64},b={x1:-v.x,y1:-v.y,x2:a(l)-v.x+64,y2:a(u)-v.y+64},k={x1:Math.min(m.x1,b.x1),y1:Math.min(m.y1,b.y1),x2:Math.max(m.x2,b.x2),y2:Math.max(m.y2,b.y2)},E=k.x2-k.x1,_=k.y2-k.y1,T=Math.round(E/64)+1,A=Math.round(_/64)+1,I=ke.range(0,T).map(D=>y.jsx(uS,{x:k.x1+D*64,y:k.y1,points:[0,0,0,_],stroke:s,strokeWidth:1},`x_${D}`)),R=ke.range(0,A).map(D=>y.jsx(uS,{x:k.x1,y:k.y1+D*64,points:[0,0,E,0],stroke:s,strokeWidth:1},`y_${D}`));o(I.concat(R))},[t,n,r,e,a]),y.jsx(sc,{children:i})},BMe=at([e=>e.gallery],e=>e.intermediateImage?e.intermediateImage:null,{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),$Me=e=>{const{...t}=e,n=he(BMe),[r,i]=w.useState(null);if(w.useEffect(()=>{if(!n)return;const u=new Image;u.onload=()=>{i(u)},u.src=n.url},[n]),!(n!=null&&n.boundingBox))return null;const{boundingBox:{x:o,y:a,width:s,height:l}}=n;return r?y.jsx(RY,{x:o,y:a,width:s,height:l,image:r,listening:!1,...t}):null},Hh=e=>{const{r:t,g:n,b:r,a:i}=e;return`rgba(${t}, ${n}, ${r}, ${i})`},FMe=at(sn,e=>{const{maskColor:t,stageCoordinates:n,stageDimensions:r,stageScale:i}=e;return{stageCoordinates:n,stageDimensions:r,stageScale:i,maskColorString:Hh(t)}}),aN=e=>`data:image/svg+xml;utf8, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -`.replaceAll("black",e),zMe=e=>{const{...t}=e,{maskColorString:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(FMe),[a,s]=w.useState(null),[l,u]=w.useState(0),d=w.useRef(null),h=w.useCallback(()=>{u(l+1),setTimeout(h,500)},[l]);return w.useEffect(()=>{if(a)return;const m=new Image;m.onload=()=>{s(m)},m.src=aN(n)},[a,n]),w.useEffect(()=>{a&&(a.src=aN(n))},[a,n]),w.useEffect(()=>{const m=setInterval(()=>u(v=>(v+1)%5),50);return()=>clearInterval(m)},[]),!a||!ke.isNumber(r.x)||!ke.isNumber(r.y)||!ke.isNumber(o)||!ke.isNumber(i.width)||!ke.isNumber(i.height)?null:y.jsx(lc,{ref:d,offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fillPatternImage:a,fillPatternOffsetY:ke.isNumber(l)?l:0,fillPatternRepeat:"repeat",fillPatternScale:{x:1/o,y:1/o},listening:!0,globalCompositeOperation:"source-in",...t})},HMe=at([sn],e=>({objects:e.layerState.objects}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),VMe=e=>{const{...t}=e,{objects:n}=he(HMe);return y.jsx(sc,{listening:!1,...t,children:n.filter(tP).map((r,i)=>y.jsx(uS,{points:r.points,stroke:"rgb(0,0,0)",strokeWidth:r.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:r.tool==="brush"?"source-over":"destination-out"},i))})};var lh=w,WMe=function(t,n,r){const i=lh.useRef("loading"),o=lh.useRef(),[a,s]=lh.useState(0),l=lh.useRef(),u=lh.useRef(),d=lh.useRef();return(l.current!==t||u.current!==n||d.current!==r)&&(i.current="loading",o.current=void 0,l.current=t,u.current=n,d.current=r),lh.useLayoutEffect(function(){if(!t)return;var h=document.createElement("img");function m(){i.current="loaded",o.current=h,s(Math.random())}function v(){i.current="failed",o.current=void 0,s(Math.random())}return h.addEventListener("load",m),h.addEventListener("error",v),n&&(h.crossOrigin=n),r&&(h.referrerpolicy=r),h.src=t,function(){h.removeEventListener("load",m),h.removeEventListener("error",v)}},[t,n,r]),[o.current,i.current]};const NY=e=>{const{url:t,x:n,y:r}=e,[i]=WMe(t);return y.jsx(RY,{x:n,y:r,image:i,listening:!1})},UMe=at([sn],e=>{const{layerState:{objects:t}}=e;return{objects:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),GMe=()=>{const{objects:e}=he(UMe);return e?y.jsx(sc,{name:"outpainting-objects",listening:!1,children:e.map((t,n)=>{if(W5(t))return y.jsx(NY,{x:t.x,y:t.y,url:t.image.url},n);if(uxe(t)){const r=y.jsx(uS,{points:t.points,stroke:t.color?Hh(t.color):"rgb(0,0,0)",strokeWidth:t.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:t.tool==="brush"?"source-over":"destination-out"},n);return t.clip?y.jsx(sc,{clipX:t.clip.x,clipY:t.clip.y,clipWidth:t.clip.width,clipHeight:t.clip.height,children:r},n):r}else{if(cxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:Hh(t.color)},n);if(dxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:"rgb(255, 255, 255)",globalCompositeOperation:"destination-out"},n)}})}):null},qMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingImage:r,shouldShowStagingOutline:i,boundingBoxCoordinates:{x:o,y:a},boundingBoxDimensions:{width:s,height:l}}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),YMe=e=>{const{...t}=e,{currentStagingAreaImage:n,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}=he(qMe);return y.jsxs(sc,{...t,children:[r&&n&&y.jsx(NY,{url:n.image.url,x:o,y:a}),i&&y.jsxs(sc,{children:[y.jsx(lc,{x:o,y:a,width:s,height:l,strokeWidth:1,stroke:"white",strokeScaleEnabled:!1}),y.jsx(lc,{x:o,y:a,width:s,height:l,dash:[4,4],strokeWidth:1,stroke:"black",strokeScaleEnabled:!1})]})]})},KMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingOutline:r,shouldShowStagingImage:i}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:i,shouldShowStagingOutline:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XMe=()=>{const e=Me(),{isOnFirstImage:t,isOnLastImage:n,currentStagingAreaImage:r,shouldShowStagingImage:i}=he(KMe),{t:o}=Ve(),a=w.useCallback(()=>{e(NI(!0))},[e]),s=w.useCallback(()=>{e(NI(!1))},[e]);Je(["left"],()=>{l()},{enabled:()=>!0,preventDefault:!0}),Je(["right"],()=>{u()},{enabled:()=>!0,preventDefault:!0}),Je(["enter"],()=>{d()},{enabled:()=>!0,preventDefault:!0});const l=()=>e(xxe()),u=()=>e(Sxe()),d=()=>e(vxe());return r?y.jsx(Ge,{pos:"absolute",bottom:"1rem",w:"100%",align:"center",justify:"center",filter:"drop-shadow(0 0.5rem 1rem rgba(0,0,0))",onMouseOver:a,onMouseOut:s,children:y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{tooltip:`${o("unifiedcanvas:previous")} (Left)`,"aria-label":`${o("unifiedcanvas:previous")} (Left)`,icon:y.jsx(Jke,{}),onClick:l,"data-selected":!0,isDisabled:t}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:next")} (Right)`,"aria-label":`${o("unifiedcanvas:next")} (Right)`,icon:y.jsx(eEe,{}),onClick:u,"data-selected":!0,isDisabled:n}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:accept")} (Enter)`,"aria-label":`${o("unifiedcanvas:accept")} (Enter)`,icon:y.jsx(PP,{}),onClick:d,"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:showHide"),"aria-label":o("unifiedcanvas:showHide"),"data-alert":!i,icon:i?y.jsx(sEe,{}):y.jsx(aEe,{}),onClick:()=>e(Oxe(!i)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:saveToGallery"),"aria-label":o("unifiedcanvas:saveToGallery"),icon:y.jsx(LP,{}),onClick:()=>e(F8e(r.image.url)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:discardAll"),"aria-label":o("unifiedcanvas:discardAll"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),onClick:()=>e(yxe()),"data-selected":!0,style:{backgroundColor:"var(--btn-delete-image)"},fontSize:20})]})}):null},fm=e=>Math.round(e*100)/100,ZMe=at([sn],e=>{const{cursorPosition:t}=e,{cursorX:n,cursorY:r}=t?{cursorX:t.x,cursorY:t.y}:{cursorX:-1,cursorY:-1};return{cursorCoordinatesString:`(${fm(n)}, ${fm(r)})`}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function QMe(){const{cursorCoordinatesString:e}=he(ZMe),{t}=Ve();return y.jsx("div",{children:`${t("unifiedcanvas:cursorPosition")}: ${e}`})}const JMe=at([sn],e=>{const{stageDimensions:{width:t,height:n},stageCoordinates:{x:r,y:i},boundingBoxDimensions:{width:o,height:a},scaledBoundingBoxDimensions:{width:s,height:l},boundingBoxCoordinates:{x:u,y:d},stageScale:h,shouldShowCanvasDebugInfo:m,layer:v,boundingBoxScaleMethod:b,shouldPreserveMaskedArea:S}=e;let k="inherit";return(b==="none"&&(o<512||a<512)||b==="manual"&&s*l<512*512)&&(k="var(--status-working-color)"),{activeLayerColor:v==="mask"?"var(--status-working-color)":"inherit",activeLayerString:v.charAt(0).toUpperCase()+v.slice(1),boundingBoxColor:k,boundingBoxCoordinatesString:`(${fm(u)}, ${fm(d)})`,boundingBoxDimensionsString:`${o}×${a}`,scaledBoundingBoxDimensionsString:`${s}×${l}`,canvasCoordinatesString:`${fm(r)}×${fm(i)}`,canvasDimensionsString:`${t}×${n}`,canvasScaleString:Math.round(h*100),shouldShowCanvasDebugInfo:m,shouldShowBoundingBox:b!=="auto",shouldShowScaledBoundingBox:b!=="none",shouldPreserveMaskedArea:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eIe=()=>{const{activeLayerColor:e,activeLayerString:t,boundingBoxColor:n,boundingBoxCoordinatesString:r,boundingBoxDimensionsString:i,scaledBoundingBoxDimensionsString:o,shouldShowScaledBoundingBox:a,canvasCoordinatesString:s,canvasDimensionsString:l,canvasScaleString:u,shouldShowCanvasDebugInfo:d,shouldShowBoundingBox:h,shouldPreserveMaskedArea:m}=he(JMe),{t:v}=Ve();return y.jsxs("div",{className:"canvas-status-text",children:[y.jsx("div",{style:{color:e},children:`${v("unifiedcanvas:activeLayer")}: ${t}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasScale")}: ${u}%`}),m&&y.jsx("div",{style:{color:"var(--status-working-color)"},children:"Preserve Masked Area: On"}),h&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:boundingBox")}: ${i}`}),a&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:scaledBoundingBox")}: ${o}`}),d&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:`${v("unifiedcanvas:boundingBoxPosition")}: ${r}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasDimensions")}: ${l}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasPosition")}: ${s}`}),y.jsx(QMe,{})]})]})},tIe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageScale:r,isDrawing:i,isTransformingBoundingBox:o,isMovingBoundingBox:a,tool:s,shouldSnapToGrid:l}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,isDrawing:i,isMovingBoundingBox:a,isTransformingBoundingBox:o,stageScale:r,shouldSnapToGrid:l,tool:s,hitStrokeWidth:20/r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),nIe=e=>{const{...t}=e,n=Me(),{boundingBoxCoordinates:r,boundingBoxDimensions:i,isDrawing:o,isMovingBoundingBox:a,isTransformingBoundingBox:s,stageScale:l,shouldSnapToGrid:u,tool:d,hitStrokeWidth:h}=he(tIe),m=w.useRef(null),v=w.useRef(null),[b,S]=w.useState(!1);w.useEffect(()=>{var te;!m.current||!v.current||(m.current.nodes([v.current]),(te=m.current.getLayer())==null||te.batchDraw())},[]);const k=64*l,E=w.useCallback(te=>{if(!u){n(vC({x:Math.floor(te.target.x()),y:Math.floor(te.target.y())}));return}const q=te.target.x(),$=te.target.y(),U=Gl(q,64),X=Gl($,64);te.target.x(U),te.target.y(X),n(vC({x:U,y:X}))},[n,u]),_=w.useCallback(()=>{if(!v.current)return;const te=v.current,q=te.scaleX(),$=te.scaleY(),U=Math.round(te.width()*q),X=Math.round(te.height()*$),Z=Math.round(te.x()),W=Math.round(te.y());n(Ev({width:U,height:X})),n(vC({x:u?Ed(Z,64):Z,y:u?Ed(W,64):W})),te.scaleX(1),te.scaleY(1)},[n,u]),T=w.useCallback((te,q,$)=>{const U=te.x%k,X=te.y%k;return{x:Ed(q.x,k)+U,y:Ed(q.y,k)+X}},[k]),A=()=>{n(bC(!0))},I=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},R=()=>{n(yC(!0))},D=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},j=()=>{S(!0)},z=()=>{!s&&!a&&S(!1)},V=()=>{n(Cb(!0))},K=()=>{n(Cb(!1))};return y.jsxs(sc,{...t,children:[y.jsx(lc,{height:i.height,width:i.width,x:r.x,y:r.y,onMouseEnter:V,onMouseOver:V,onMouseLeave:K,onMouseOut:K}),y.jsx(lc,{draggable:!0,fillEnabled:!1,height:i.height,hitStrokeWidth:h,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onDragMove:E,onMouseDown:R,onMouseOut:z,onMouseOver:j,onMouseEnter:j,onMouseUp:D,onTransform:_,onTransformEnd:I,ref:v,stroke:b?"rgba(255,255,255,0.7)":"white",strokeWidth:(b?8:1)/l,width:i.width,x:r.x,y:r.y}),y.jsx(yMe,{anchorCornerRadius:3,anchorDragBoundFunc:T,anchorFill:"rgba(212,216,234,1)",anchorSize:15,anchorStroke:"rgb(42,42,42)",borderDash:[4,4],borderEnabled:!0,borderStroke:"black",draggable:!1,enabledAnchors:d==="move"?void 0:[],flipEnabled:!1,ignoreStroke:!0,keepRatio:!1,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onMouseDown:A,onMouseUp:I,onTransformEnd:I,ref:m,rotateEnabled:!1})]})},rIe=at(sn,e=>{const{cursorPosition:t,brushSize:n,colorPickerColor:r,maskColor:i,brushColor:o,tool:a,layer:s,shouldShowBrush:l,isMovingBoundingBox:u,isTransformingBoundingBox:d,stageScale:h,stageDimensions:m,boundingBoxCoordinates:v,boundingBoxDimensions:b,shouldRestrictStrokesToBox:S}=e,k=S?{clipX:v.x,clipY:v.y,clipWidth:b.width,clipHeight:b.height}:{};return{cursorPosition:t,brushX:t?t.x:m.width/2,brushY:t?t.y:m.height/2,radius:n/2,colorPickerOuterRadius:RI/h,colorPickerInnerRadius:(RI-s8+1)/h,maskColorString:Hh({...i,a:.5}),brushColorString:Hh(o),colorPickerColorString:Hh(r),tool:a,layer:s,shouldShowBrush:l,shouldDrawBrushPreview:!(u||d||!t)&&l,strokeWidth:1.5/h,dotRadius:1.5/h,clip:k}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),iIe=e=>{const{...t}=e,{brushX:n,brushY:r,radius:i,maskColorString:o,tool:a,layer:s,shouldDrawBrushPreview:l,dotRadius:u,strokeWidth:d,brushColorString:h,colorPickerColorString:m,colorPickerInnerRadius:v,colorPickerOuterRadius:b,clip:S}=he(rIe);return l?y.jsxs(sc,{listening:!1,...S,...t,children:[a==="colorPicker"?y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:b,stroke:h,strokeWidth:s8,strokeScaleEnabled:!1}),y.jsx(sh,{x:n,y:r,radius:v,stroke:m,strokeWidth:s8,strokeScaleEnabled:!1})]}):y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:i,fill:s==="mask"?o:h,globalCompositeOperation:a==="eraser"?"destination-out":"source-out"}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(255,255,255,0.4)",strokeWidth:d*2,strokeEnabled:!0,listening:!1}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(0,0,0,1)",strokeWidth:d,strokeEnabled:!0,listening:!1})]}),y.jsx(sh,{x:n,y:r,radius:u*2,fill:"rgba(255,255,255,0.4)",listening:!1}),y.jsx(sh,{x:n,y:r,radius:u,fill:"rgba(0,0,0,1)",listening:!1})]}):null},oIe=at([sn,Mr],(e,t)=>{const{isMaskEnabled:n,stageScale:r,shouldShowBoundingBox:i,isTransformingBoundingBox:o,isMouseOverBoundingBox:a,isMovingBoundingBox:s,stageDimensions:l,stageCoordinates:u,tool:d,isMovingStage:h,shouldShowIntermediates:m,shouldShowGrid:v,shouldRestrictStrokesToBox:b}=e;let S="none";return d==="move"||t?h?S="grabbing":S="grab":o?S=void 0:b&&!a&&(S="default"),{isMaskEnabled:n,isModifyingBoundingBox:o||s,shouldShowBoundingBox:i,shouldShowGrid:v,stageCoordinates:u,stageCursor:S,stageDimensions:l,stageScale:r,tool:d,isStaging:t,shouldShowIntermediates:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),jY=()=>{const{isMaskEnabled:e,isModifyingBoundingBox:t,shouldShowBoundingBox:n,shouldShowGrid:r,stageCoordinates:i,stageCursor:o,stageDimensions:a,stageScale:s,tool:l,isStaging:u,shouldShowIntermediates:d}=he(oIe);CMe();const h=w.useRef(null),m=w.useRef(null),v=w.useCallback(z=>{S8e(z),h.current=z},[]),b=w.useCallback(z=>{b8e(z),m.current=z},[]),S=w.useRef({x:0,y:0}),k=w.useRef(!1),E=MMe(h),_=kMe(h),T=AMe(h,k),A=PMe(h,k,S),I=TMe(),{handleDragStart:R,handleDragMove:D,handleDragEnd:j}=xMe();return y.jsx("div",{className:"inpainting-canvas-container",children:y.jsxs("div",{className:"inpainting-canvas-wrapper",children:[y.jsxs(bMe,{tabIndex:-1,ref:v,className:"inpainting-canvas-stage",style:{...o?{cursor:o}:{}},x:i.x,y:i.y,width:a.width,height:a.height,scale:{x:s,y:s},onTouchStart:_,onTouchMove:A,onTouchEnd:T,onMouseDown:_,onMouseLeave:I,onMouseMove:A,onMouseUp:T,onDragStart:R,onDragMove:D,onDragEnd:j,onContextMenu:z=>z.evt.preventDefault(),onWheel:E,draggable:(l==="move"||u)&&!t,children:[y.jsx(pv,{id:"grid",visible:r,children:y.jsx(jMe,{})}),y.jsx(pv,{id:"base",ref:b,listening:!1,imageSmoothingEnabled:!1,children:y.jsx(GMe,{})}),y.jsxs(pv,{id:"mask",visible:e,listening:!1,children:[y.jsx(VMe,{visible:!0,listening:!1}),y.jsx(zMe,{listening:!1})]}),y.jsx(pv,{children:y.jsx(RMe,{})}),y.jsxs(pv,{id:"preview",imageSmoothingEnabled:!1,children:[!u&&y.jsx(iIe,{visible:l!=="move",listening:!1}),y.jsx(YMe,{visible:u}),d&&y.jsx($Me,{}),y.jsx(nIe,{visible:n&&!u})]})]}),y.jsx(eIe,{}),y.jsx(XMe,{})]})})},aIe=at(sn,xq,Or,(e,t,n)=>{const{doesCanvasNeedScaling:r,isCanvasInitialized:i}=e;return{doesCanvasNeedScaling:r,activeTabName:n,initialCanvasImage:t,isCanvasInitialized:i}}),BY=()=>{const e=Me(),{doesCanvasNeedScaling:t,activeTabName:n,initialCanvasImage:r,isCanvasInitialized:i}=he(aIe),o=w.useRef(null);return w.useLayoutEffect(()=>{window.setTimeout(()=>{if(!o.current)return;const{clientWidth:a,clientHeight:s}=o.current;e(Exe({width:a,height:s})),e(i?_xe():Rx()),e(vi(!1))},0)},[e,r,t,n,i]),y.jsx("div",{ref:o,className:"inpainting-canvas-area",children:y.jsx(xy,{thickness:"2px",speed:"1s",size:"xl"})})},sIe=at([sn,Or,ir],(e,t,n)=>{const{futureLayerStates:r}=e;return{canRedo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function $Y(){const e=Me(),{canRedo:t,activeTabName:n}=he(sIe),{t:r}=Ve(),i=()=>{e(wxe())};return Je(["meta+shift+z","ctrl+shift+z","control+y","meta+y"],()=>{i()},{enabled:()=>t,preventDefault:!0},[n,t]),y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,tooltip:`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,icon:y.jsx(yEe,{}),onClick:i,isDisabled:!t})}const lIe=at([sn,Or,ir],(e,t,n)=>{const{pastLayerStates:r}=e;return{canUndo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function FY(){const e=Me(),{t}=Ve(),{canUndo:n,activeTabName:r}=he(lIe),i=()=>{e(Ixe())};return Je(["meta+z","ctrl+z"],()=>{i()},{enabled:()=>n,preventDefault:!0},[r,n]),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:undo")} (Ctrl+Z)`,tooltip:`${t("unifiedcanvas:undo")} (Ctrl+Z)`,icon:y.jsx(wEe,{}),onClick:i,isDisabled:!n})}const uIe=(e,t,n)=>{const r=document.createElement("img");r.addEventListener("load",()=>{const i=document.createElement("canvas");i.width=t,i.height=n;const o=i.getContext("2d");o&&(o.drawImage(r,0,0),i.toBlob(a=>{a&&navigator.clipboard.write([new ClipboardItem({[a.type]:a})])}),i.remove(),r.remove())}),r.src=e},cIe=e=>{const t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t),t.remove()},dIe=(e,t,n,r)=>{const i=e.scale(),o=e.getClientRect({relativeTo:e.getParent()});e.scale({x:1/t,y:1/t});const{x:a,y:s,width:l,height:u}=e.getClientRect(),d=r?{x:r.x+n.x,y:r.y+n.y,width:r.width,height:r.height}:{x:a,y:s,width:l,height:u},h=e.toDataURL(d);return e.scale(i),{dataURL:h,boundingBox:{x:o.x,y:o.y,width:l,height:u}}},fIe={cropVisible:!1,cropToBoundingBox:!1,shouldSaveToGallery:!1,shouldDownload:!1,shouldCopy:!1,shouldSetAsInitialImage:!0},Td=(e=fIe)=>async(t,n)=>{const{cropVisible:r,cropToBoundingBox:i,shouldSaveToGallery:o,shouldDownload:a,shouldCopy:s,shouldSetAsInitialImage:l}=e;t(nCe("Exporting Image")),t(lm(!1));const u=n(),{stageScale:d,boundingBoxCoordinates:h,boundingBoxDimensions:m,stageCoordinates:v}=u.canvas,b=el();if(!b){t(Hs(!1)),t(lm(!0));return}const{dataURL:S,boundingBox:k}=dIe(b,d,v,i?{...h,...m}:void 0);if(!S){t(Hs(!1)),t(lm(!0));return}const E=new FormData;E.append("data",JSON.stringify({dataURL:S,filename:"merged_canvas.png",kind:o?"result":"temp",cropVisible:r}));const T=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:E})).json(),{url:A,width:I,height:R}=T,D={uuid:cm(),category:o?"result":"user",...T};a&&(cIe(A),t(Th({title:zt.t("toast:downloadImageStarted"),status:"success",duration:2500,isClosable:!0}))),s&&(uIe(A,I,R),t(Th({title:zt.t("toast:imageCopied"),status:"success",duration:2500,isClosable:!0}))),o&&(t(sm({image:D,category:"result"})),t(Th({title:zt.t("toast:imageSavedToGallery"),status:"success",duration:2500,isClosable:!0}))),l&&(t(Lxe({kind:"image",layer:"base",...k,image:D})),t(Th({title:zt.t("toast:canvasMerged"),status:"success",duration:2500,isClosable:!0}))),t(Hs(!1)),t(R4(zt.t("common:statusConnected"))),t(lm(!0))};function hIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["meta+c","ctrl+c"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldCopy:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:a,isDisabled:e})}function pIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(s=>s.system.isProcessing),o=he(s=>s.canvas.shouldCropToBoundingBoxOnSave);Je(["shift+d"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n,i]);const a=()=>{e(Td({cropVisible:!o,cropToBoundingBox:o,shouldDownload:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:a,isDisabled:r})}function gIe(){const e=he(Mr),{openUploader:t}=xP(),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("common:upload"),tooltip:n("common:upload"),icon:y.jsx(Zx,{}),onClick:t,isDisabled:e})}const mIe=at([sn,Mr],(e,t)=>{const{layer:n,isMaskEnabled:r}=e;return{layer:n,isMaskEnabled:r,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function vIe(){const e=Me(),{t}=Ve(),{layer:n,isMaskEnabled:r,isStaging:i}=he(mIe),o=()=>{e(G5(n==="mask"?"base":"mask"))};Je(["q"],()=>{o()},{enabled:()=>!i,preventDefault:!0},[n]);const a=s=>{const l=s.target.value;e(G5(l)),l==="mask"&&!r&&e(Dy(!0))};return y.jsx(tl,{tooltip:`${t("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:n,validValues:DW,onChange:a,isDisabled:i})}function yIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(a=>a.system.isProcessing);Je(["shift+m"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n,i]);const o=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:o,isDisabled:r})}function bIe(){const e=he(o=>o.canvas.tool),t=he(Mr),n=Me(),{t:r}=Ve();Je(["v"],()=>{i()},{enabled:()=>!t,preventDefault:!0},[]);const i=()=>n(tu("move"));return y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:move")} (V)`,tooltip:`${r("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":e==="move"||t,onClick:i})}function SIe(){const e=he(i=>i.ui.shouldPinParametersPanel),t=Me(),{t:n}=Ve(),r=()=>{t(Ku(!0)),e&&setTimeout(()=>t(vi(!0)),400)};return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsx(Qe,{tooltip:`${n("parameters:showOptionsPanel")} (O)`,tooltipProps:{placement:"top"},"aria-label":n("parameters:showOptionsPanel"),onClick:r,children:y.jsx(AP,{})}),y.jsx(Ge,{children:y.jsx(XP,{iconButton:!0})}),y.jsx(Ge,{children:y.jsx(YP,{width:"100%",height:"40px"})})]})}function xIe(){const e=Me(),{t}=Ve(),n=he(Mr),r=()=>{e(rP()),e(Rx())};return y.jsx(Qe,{"aria-label":t("unifiedcanvas:clearCanvas"),tooltip:t("unifiedcanvas:clearCanvas"),icon:y.jsx(vp,{}),onClick:r,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})}function zY(e,t,n=250){const[r,i]=w.useState(0);return w.useEffect(()=>{const o=setTimeout(()=>{r===1&&e(),i(0)},n);return r===2&&t(),()=>clearTimeout(o)},[r,e,t,n]),()=>i(o=>o+1)}function wIe(){const e=el(),t=Me(),{t:n}=Ve();Je(["r"],()=>{i()},{enabled:()=>!0,preventDefault:!0},[e]);const r=zY(()=>i(!1),()=>i(!0)),i=(o=!1)=>{const a=el();if(!a)return;const s=a.getClientRect({skipTransform:!0});t(zW({contentRect:s,shouldScaleTo1:o}))};return y.jsx(Qe,{"aria-label":`${n("unifiedcanvas:resetView")} (R)`,tooltip:`${n("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:r})}function CIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["shift+s"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldSaveToGallery:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:a,isDisabled:e})}const _Ie=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i}=e;return{tool:i,isStaging:t,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kIe=()=>{const e=Me(),{t}=Ve(),{tool:n,isStaging:r}=he(_Ie);Je(["b"],()=>{i()},{enabled:()=>!r,preventDefault:!0},[]),Je(["e"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["c"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["shift+f"],()=>{s()},{enabled:()=>!r,preventDefault:!0}),Je(["delete","backspace"],()=>{l()},{enabled:()=>!r,preventDefault:!0});const i=()=>e(tu("brush")),o=()=>e(tu("eraser")),a=()=>e(tu("colorPicker")),s=()=>e(BW()),l=()=>e(jW());return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:brush")} (B)`,tooltip:`${t("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":n==="brush"&&!r,onClick:i,isDisabled:r}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraser")} (E)`,tooltip:`${t("unifiedcanvas:eraser")} (B)`,icon:y.jsx(mq,{}),"data-selected":n==="eraser"&&!r,isDisabled:r,onClick:o})]}),y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:r,onClick:s}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:r,onClick:l})]}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:colorPicker")} (C)`,tooltip:`${t("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":n==="colorPicker"&&!r,isDisabled:r,onClick:a,width:"max-content"})]})},oT=Ae((e,t)=>{const{acceptButtonText:n="Accept",acceptCallback:r,cancelButtonText:i="Cancel",cancelCallback:o,children:a,title:s,triggerComponent:l}=e,{isOpen:u,onOpen:d,onClose:h}=Wh(),m=w.useRef(null),v=()=>{r(),h()},b=()=>{o&&o(),h()};return y.jsxs(y.Fragment,{children:[w.cloneElement(l,{onClick:d,ref:t}),y.jsx(AV,{isOpen:u,leastDestructiveRef:m,onClose:h,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:s}),y.jsx(n0,{children:a}),y.jsxs(yx,{children:[y.jsx(as,{ref:m,onClick:b,className:"modal-close-btn",children:i}),y.jsx(as,{colorScheme:"red",onClick:v,ml:3,children:n})]})]})})})]})}),HY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve(),r=()=>{t(z8e()),t(rP()),t(FW())};return y.jsxs(oT,{title:n("unifiedcanvas:emptyTempImageFolder"),acceptCallback:r,acceptButtonText:n("unifiedcanvas:emptyFolder"),triggerComponent:y.jsx(cr,{leftIcon:y.jsx(vp,{}),size:"sm",isDisabled:e,children:n("unifiedcanvas:emptyTempImageFolder")}),children:[y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderConfirm")})]})},VY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve();return y.jsxs(oT,{title:n("unifiedcanvas:clearCanvasHistory"),acceptCallback:()=>t(FW()),acceptButtonText:n("unifiedcanvas:clearHistory"),triggerComponent:y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),isDisabled:e,children:n("unifiedcanvas:clearCanvasHistory")}),children:[y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryConfirm")})]})},EIe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PIe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldShowCanvasDebugInfo:i,shouldShowIntermediates:o}=he(EIe);return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),tooltipProps:{placement:"bottom"},"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:o,onChange:a=>e(XW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:a=>e(WW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:a=>e(UW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:i,onChange:a=>e(YW(a.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},TIe=()=>{const e=he(t=>t.ui.shouldShowParametersPanel);return y.jsxs(Ge,{flexDirection:"column",rowGap:"0.5rem",width:"6rem",children:[y.jsx(vIe,{}),y.jsx(kIe,{}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(bIe,{}),y.jsx(wIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(yIe,{}),y.jsx(CIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(hIe,{}),y.jsx(pIe,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(gIe,{}),y.jsx(xIe,{})]}),y.jsx(PIe,{}),!e&&y.jsx(SIe,{})]})};function LIe(){const e=Me(),t=he(i=>i.canvas.brushSize),{t:n}=Ve(),r=he(Mr);return Je(["BracketLeft"],()=>{e(jm(Math.max(t-5,5)))},{enabled:()=>!r,preventDefault:!0},[t]),Je(["BracketRight"],()=>{e(jm(Math.min(t+5,500)))},{enabled:()=>!r,preventDefault:!0},[t]),y.jsx(so,{label:n("unifiedcanvas:brushSize"),value:t,withInput:!0,onChange:i=>e(jm(i)),sliderNumberInputProps:{max:500},inputReadOnly:!1,width:"100px",isCompact:!0})}function lw(){return(lw=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function X8(e){var t=w.useRef(e),n=w.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var l0=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:k.buttons>0)&&i.current?o(sN(i.current,k,s.current)):S(!1)},b=function(){return S(!1)};function S(k){var E=l.current,_=Z8(i.current),T=k?_.addEventListener:_.removeEventListener;T(E?"touchmove":"mousemove",v),T(E?"touchend":"mouseup",b)}return[function(k){var E=k.nativeEvent,_=i.current;if(_&&(lN(E),!function(A,I){return I&&!d2(A)}(E,l.current)&&_)){if(d2(E)){l.current=!0;var T=E.changedTouches||[];T.length&&(s.current=T[0].identifier)}_.focus(),o(sN(_,E,s.current)),S(!0)}},function(k){var E=k.which||k.keyCode;E<37||E>40||(k.preventDefault(),a({left:E===39?.05:E===37?-.05:0,top:E===40?.05:E===38?-.05:0}))},S]},[a,o]),d=u[0],h=u[1],m=u[2];return w.useEffect(function(){return m},[m]),N.createElement("div",lw({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))}),uw=function(e){return e.filter(Boolean).join(" ")},sT=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,o=uw(["react-colorful__pointer",e.className]);return N.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},N.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Eo=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},UY=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:Eo(e.h),s:Eo(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:Eo(i/2),a:Eo(r,2)}},Q8=function(e){var t=UY(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},HC=function(e){var t=UY(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},AIe=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),u=o%6;return{r:Eo(255*[r,s,a,a,l,r][u]),g:Eo(255*[l,r,r,s,a,a][u]),b:Eo(255*[a,a,l,r,r,s][u]),a:Eo(i,2)}},OIe=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:Eo(60*(s<0?s+6:s)),s:Eo(o?a/o*100:0),v:Eo(o/255*100),a:i}},MIe=N.memo(function(e){var t=e.hue,n=e.onChange,r=uw(["react-colorful__hue",e.className]);return N.createElement("div",{className:r},N.createElement(aT,{onMove:function(i){n({h:360*i.left})},onKey:function(i){n({h:l0(t+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":Eo(t),"aria-valuemax":"360","aria-valuemin":"0"},N.createElement(sT,{className:"react-colorful__hue-pointer",left:t/360,color:Q8({h:t,s:100,v:100,a:1})})))}),IIe=N.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q8({h:t.h,s:100,v:100,a:1})};return N.createElement("div",{className:"react-colorful__saturation",style:r},N.createElement(aT,{onMove:function(i){n({s:100*i.left,v:100-100*i.top})},onKey:function(i){n({s:l0(t.s+100*i.left,0,100),v:l0(t.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Eo(t.s)+"%, Brightness "+Eo(t.v)+"%"},N.createElement(sT,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q8(t)})))}),GY=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function RIe(e,t,n){var r=X8(n),i=w.useState(function(){return e.toHsva(t)}),o=i[0],a=i[1],s=w.useRef({color:t,hsva:o});w.useEffect(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},a(u)}},[t,e]),w.useEffect(function(){var u;GY(o,s.current.hsva)||e.equal(u=e.fromHsva(o),s.current.color)||(s.current={hsva:o,color:u},r(u))},[o,e,r]);var l=w.useCallback(function(u){a(function(d){return Object.assign({},d,u)})},[]);return[o,l]}var DIe=typeof window<"u"?w.useLayoutEffect:w.useEffect,NIe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},uN=new Map,jIe=function(e){DIe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!uN.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,uN.set(t,n);var r=NIe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},BIe=function(e){var t=e.className,n=e.hsva,r=e.onChange,i={backgroundImage:"linear-gradient(90deg, "+HC(Object.assign({},n,{a:0}))+", "+HC(Object.assign({},n,{a:1}))+")"},o=uw(["react-colorful__alpha",t]),a=Eo(100*n.a);return N.createElement("div",{className:o},N.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),N.createElement(aT,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:l0(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},N.createElement(sT,{className:"react-colorful__alpha-pointer",left:n.a,color:HC(n)})))},$Ie=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,o=e.onChange,a=WY(e,["className","colorModel","color","onChange"]),s=w.useRef(null);jIe(s);var l=RIe(n,i,o),u=l[0],d=l[1],h=uw(["react-colorful",t]);return N.createElement("div",lw({},a,{ref:s,className:h}),N.createElement(IIe,{hsva:u,onChange:d}),N.createElement(MIe,{hue:u.h,onChange:d}),N.createElement(BIe,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},FIe={defaultColor:{r:0,g:0,b:0,a:1},toHsva:OIe,fromHsva:AIe,equal:GY},zIe=function(e){return N.createElement($Ie,lw({},e,{colorModel:FIe}))};const cS=e=>{const{styleClass:t,...n}=e;return y.jsx(zIe,{className:`invokeai__color-picker ${t}`,...n})},HIe=at([sn,Mr],(e,t)=>{const{brushColor:n,maskColor:r,layer:i}=e;return{brushColor:n,maskColor:r,layer:i,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function VIe(){const e=Me(),{brushColor:t,maskColor:n,layer:r,isStaging:i}=he(HIe),o=()=>{if(r==="base")return`rgba(${t.r},${t.g},${t.b},${t.a})`;if(r==="mask")return`rgba(${n.r},${n.g},${n.b},${n.a})`};return Je(["shift+BracketLeft"],()=>{e(Nm({...t,a:ke.clamp(t.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+BracketRight"],()=>{e(Nm({...t,a:ke.clamp(t.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(ko,{style:{width:"30px",height:"30px",minWidth:"30px",minHeight:"30px",borderRadius:"99999999px",backgroundColor:o(),cursor:"pointer"}}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[r==="base"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:t,onChange:a=>e(Nm(a))}),r==="mask"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:a=>e(VW(a))})]})})}function qY(){return y.jsxs(Ge,{columnGap:"1rem",alignItems:"center",children:[y.jsx(LIe,{}),y.jsx(VIe,{})]})}function WIe(){const e=Me(),t=he(r=>r.canvas.shouldRestrictStrokesToBox),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaLimitToBox"),isChecked:t,onChange:r=>e(QW(r.target.checked))})}function UIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(WIe,{})]})}function GIe(){const e=Me(),{t}=Ve(),n=()=>e(nP());return y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:n,tooltip:`${t("unifiedcanvas:clearMask")} (Shift+C)`,children:t("unifiedcanvas:betaClear")})}function qIe(){const e=he(i=>i.canvas.isMaskEnabled),t=Me(),{t:n}=Ve(),r=()=>t(Dy(!e));return y.jsx(er,{label:`${n("unifiedcanvas:enableMask")} (H)`,isChecked:e,onChange:r})}function YIe(){const e=Me(),{t}=Ve(),n=he(r=>r.canvas.shouldPreserveMaskedArea);return y.jsx(er,{label:t("unifiedcanvas:betaPreserveMasked"),isChecked:n,onChange:r=>e(qW(r.target.checked))})}function KIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(qIe,{}),y.jsx(YIe,{}),y.jsx(GIe,{})]})}function XIe(){const e=he(r=>r.canvas.shouldDarkenOutsideBoundingBox),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaDarkenOutside"),isChecked:e,onChange:r=>t(GW(r.target.checked))})}function ZIe(){const e=he(r=>r.canvas.shouldShowGrid),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:showGrid"),isChecked:e,onChange:r=>t(KW(r.target.checked))})}function QIe(){const e=he(i=>i.canvas.shouldSnapToGrid),t=Me(),{t:n}=Ve(),r=i=>t(q5(i.target.checked));return y.jsx(er,{label:`${n("unifiedcanvas:snapToGrid")} (N)`,isChecked:e,onChange:r})}function JIe(){return y.jsxs(Ge,{alignItems:"center",gap:"1rem",children:[y.jsx(ZIe,{}),y.jsx(QIe,{}),y.jsx(XIe,{})]})}const eRe=at([sn],e=>{const{tool:t,layer:n}=e;return{tool:t,layer:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function tRe(){const{tool:e,layer:t}=he(eRe);return y.jsxs(Ge,{height:"2rem",minHeight:"2rem",maxHeight:"2rem",alignItems:"center",children:[t=="base"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(UIe,{}),t=="mask"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(KIe,{}),e=="move"&&y.jsx(JIe,{})]})}const nRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),rRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(nRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsxs(Ge,{flexDirection:"row",width:"100%",height:"100%",columnGap:"1rem",padding:"1rem",children:[y.jsx(TIe,{}),y.jsxs(Ge,{width:"100%",height:"100%",flexDirection:"column",rowGap:"1rem",children:[y.jsx(tRe,{}),t?y.jsx(BY,{}):y.jsx(jY,{})]})]})})},iRe=at([sn,Mr],(e,t)=>{const{maskColor:n,layer:r,isMaskEnabled:i,shouldPreserveMaskedArea:o}=e;return{layer:r,maskColor:n,maskColorString:Hh(n),isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),oRe=()=>{const e=Me(),{t}=Ve(),{layer:n,maskColor:r,isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:a}=he(iRe);Je(["q"],()=>{s()},{enabled:()=>!a,preventDefault:!0},[n]),Je(["shift+c"],()=>{l()},{enabled:()=>!a,preventDefault:!0},[]),Je(["h"],()=>{u()},{enabled:()=>!a,preventDefault:!0},[i]);const s=()=>{e(G5(n==="mask"?"base":"mask"))},l=()=>e(nP()),u=()=>e(Dy(!i));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(oo,{children:y.jsx(Qe,{"aria-label":t("unifiedcanvas:maskingOptions"),tooltip:t("unifiedcanvas:maskingOptions"),icon:y.jsx(fEe,{}),style:n==="mask"?{backgroundColor:"var(--accent-color)"}:{backgroundColor:"var(--btn-base-color)"},isDisabled:a})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:`${t("unifiedcanvas:enableMask")} (H)`,isChecked:i,onChange:u}),y.jsx(er,{label:t("unifiedcanvas:preserveMaskedArea"),isChecked:o,onChange:d=>e(qW(d.target.checked))}),y.jsx(cS,{style:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:r,onChange:d=>e(VW(d))}),y.jsxs(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:l,children:[t("unifiedcanvas:clearMask")," (Shift+C)"]})]})})},aRe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),sRe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldDarkenOutsideBoundingBox:i,shouldShowCanvasDebugInfo:o,shouldShowGrid:a,shouldShowIntermediates:s,shouldSnapToGrid:l,shouldRestrictStrokesToBox:u}=he(aRe);Je(["n"],()=>{e(q5(!l))},{enabled:!0,preventDefault:!0},[l]);const d=h=>e(q5(h.target.checked));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:s,onChange:h=>e(XW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showGrid"),isChecked:a,onChange:h=>e(KW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:snapToGrid"),isChecked:l,onChange:d}),y.jsx(er,{label:t("unifiedcanvas:darkenOutsideSelection"),isChecked:i,onChange:h=>e(GW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:h=>e(WW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:h=>e(UW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:limitStrokesToBox"),isChecked:u,onChange:h=>e(QW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:o,onChange:h=>e(YW(h.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},lRe=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i,brushColor:o,brushSize:a}=e;return{tool:i,isStaging:t,isProcessing:r,brushColor:o,brushSize:a}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),uRe=()=>{const e=Me(),{tool:t,brushColor:n,brushSize:r,isStaging:i}=he(lRe),{t:o}=Ve();Je(["b"],()=>{a()},{enabled:()=>!i,preventDefault:!0},[]),Je(["e"],()=>{s()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["c"],()=>{l()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+f"],()=>{u()},{enabled:()=>!i,preventDefault:!0}),Je(["delete","backspace"],()=>{d()},{enabled:()=>!i,preventDefault:!0}),Je(["BracketLeft"],()=>{e(jm(Math.max(r-5,5)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["BracketRight"],()=>{e(jm(Math.min(r+5,500)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["shift+BracketLeft"],()=>{e(Nm({...n,a:ke.clamp(n.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]),Je(["shift+BracketRight"],()=>{e(Nm({...n,a:ke.clamp(n.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]);const a=()=>e(tu("brush")),s=()=>e(tu("eraser")),l=()=>e(tu("colorPicker")),u=()=>e(BW()),d=()=>e(jW());return y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:brush")} (B)`,tooltip:`${o("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":t==="brush"&&!i,onClick:a,isDisabled:i}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraser")} (E)`,tooltip:`${o("unifiedcanvas:eraser")} (E)`,icon:y.jsx(mq,{}),"data-selected":t==="eraser"&&!i,isDisabled:i,onClick:s}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:i,onClick:u}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:i,onClick:d}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:colorPicker")} (C)`,tooltip:`${o("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":t==="colorPicker"&&!i,isDisabled:i,onClick:l}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":o("unifiedcanvas:brushOptions"),tooltip:o("unifiedcanvas:brushOptions"),icon:y.jsx(AP,{})}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[y.jsx(Ge,{gap:"1rem",justifyContent:"space-between",children:y.jsx(so,{label:o("unifiedcanvas:brushSize"),value:r,withInput:!0,onChange:h=>e(jm(h)),sliderNumberInputProps:{max:500},inputReadOnly:!1})}),y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:h=>e(Nm(h))})]})})]})},cRe=at([ir,sn,Mr],(e,t,n)=>{const{isProcessing:r}=e,{tool:i,shouldCropToBoundingBoxOnSave:o,layer:a,isMaskEnabled:s}=t;return{isProcessing:r,isStaging:n,isMaskEnabled:s,tool:i,layer:a,shouldCropToBoundingBoxOnSave:o}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dRe=()=>{const e=Me(),{isProcessing:t,isStaging:n,isMaskEnabled:r,layer:i,tool:o,shouldCropToBoundingBoxOnSave:a}=he(cRe),s=el(),{t:l}=Ve(),{openUploader:u}=xP();Je(["v"],()=>{d()},{enabled:()=>!n,preventDefault:!0},[]),Je(["r"],()=>{m()},{enabled:()=>!0,preventDefault:!0},[s]),Je(["shift+m"],()=>{b()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+s"],()=>{S()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["meta+c","ctrl+c"],()=>{k()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+d"],()=>{E()},{enabled:()=>!n,preventDefault:!0},[s,t]);const d=()=>e(tu("move")),h=zY(()=>m(!1),()=>m(!0)),m=(T=!1)=>{const A=el();if(!A)return;const I=A.getClientRect({skipTransform:!0});e(zW({contentRect:I,shouldScaleTo1:T}))},v=()=>{e(rP()),e(Rx())},b=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))},S=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldSaveToGallery:!0}))},k=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldCopy:!0}))},E=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldDownload:!0}))},_=T=>{const A=T.target.value;e(G5(A)),A==="mask"&&!r&&e(Dy(!0))};return y.jsxs("div",{className:"inpainting-settings",children:[y.jsx(tl,{tooltip:`${l("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:i,validValues:DW,onChange:_,isDisabled:n}),y.jsx(oRe,{}),y.jsx(uRe,{}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:move")} (V)`,tooltip:`${l("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":o==="move"||n,onClick:d}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:resetView")} (R)`,tooltip:`${l("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:h})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:b,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:S,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:k,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:E,isDisabled:n})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("common:upload")}`,tooltip:`${l("common:upload")}`,icon:y.jsx(Zx,{}),onClick:u,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:clearCanvas")}`,tooltip:`${l("unifiedcanvas:clearCanvas")}`,icon:y.jsx(vp,{}),onClick:v,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(sRe,{})})]})},fRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),hRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(fRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"workarea-split-view-left",children:y.jsxs("div",{className:"inpainting-main-area",children:[y.jsx(dRe,{}),y.jsx("div",{className:"inpainting-canvas-area",children:t?y.jsx(BY,{}):y.jsx(jY,{})})]})})})},pRe=at(sn,e=>{const{boundingBoxDimensions:t,boundingBoxScaleMethod:n}=e;return{boundingBoxDimensions:t,boundingBoxScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),gRe=()=>{const e=Me(),{boundingBoxDimensions:t}=he(pRe),{t:n}=Ve(),r=s=>{e(Ev({...t,width:Math.floor(s)}))},i=s=>{e(Ev({...t,height:Math.floor(s)}))},o=()=>{e(Ev({...t,width:Math.floor(512)}))},a=()=>{e(Ev({...t,height:Math.floor(512)}))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(so,{label:n("parameters:width"),min:64,max:1024,step:64,value:t.width,onChange:r,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:o}),y.jsx(so,{label:n("parameters:height"),min:64,max:1024,step:64,value:t.height,onChange:i,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:a})]})},mRe=at([KP,ir,sn],(e,t,n)=>{const{tileSize:r,infillMethod:i}=e,{infill_methods:o}=t,{boundingBoxScaleMethod:a,scaledBoundingBoxDimensions:s}=n;return{boundingBoxScale:a,scaledBoundingBoxDimensions:s,tileSize:r,infillMethod:i,availableInfillMethods:o,isManual:a==="manual"}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),vRe=()=>{const e=Me(),{tileSize:t,infillMethod:n,availableInfillMethods:r,boundingBoxScale:i,isManual:o,scaledBoundingBoxDimensions:a}=he(mRe),{t:s}=Ve(),l=v=>{e(_b({...a,width:Math.floor(v)}))},u=v=>{e(_b({...a,height:Math.floor(v)}))},d=()=>{e(_b({...a,width:Math.floor(512)}))},h=()=>{e(_b({...a,height:Math.floor(512)}))},m=v=>{e(kxe(v.target.value))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(tl,{label:s("parameters:scaleBeforeProcessing"),validValues:lxe,value:i,onChange:m}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledWidth"),min:64,max:1024,step:64,value:a.width,onChange:l,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:d}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledHeight"),min:64,max:1024,step:64,value:a.height,onChange:u,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:h}),y.jsx(tl,{label:s("parameters:infillMethod"),value:n,validValues:r,onChange:v=>e(uU(v.target.value))}),y.jsx(so,{isInputDisabled:n!=="tile",isResetDisabled:n!=="tile",isSliderDisabled:n!=="tile",sliderMarkRightOffset:-4,label:s("parameters:tileSize"),min:16,max:64,sliderNumberInputProps:{max:256},value:t,onChange:v=>{e(HI(v))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(HI(32))}})]})};function yRe(){const e=Me(),t=he(r=>r.generation.seamBlur),{t:n}=Ve();return y.jsx(so,{sliderMarkRightOffset:-4,label:n("parameters:seamBlur"),min:0,max:64,sliderNumberInputProps:{max:512},value:t,onChange:r=>{e(BI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(BI(16))}})}function bRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamSize);return y.jsx(so,{sliderMarkRightOffset:-6,label:t("parameters:seamSize"),min:1,max:256,sliderNumberInputProps:{max:512},value:n,onChange:r=>{e($I(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>e($I(96))})}function SRe(){const{t:e}=Ve(),t=he(r=>r.generation.seamSteps),n=Me();return y.jsx(so,{sliderMarkRightOffset:-4,label:e("parameters:seamSteps"),min:1,max:100,sliderNumberInputProps:{max:999},value:t,onChange:r=>{n(FI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{n(FI(30))}})}function xRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamStrength);return y.jsx(so,{sliderMarkRightOffset:-7,label:t("parameters:seamStrength"),min:.01,max:.99,step:.01,value:n,onChange:r=>{e(zI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(zI(.7))}})}const wRe=()=>y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(bRe,{}),y.jsx(yRe,{}),y.jsx(xRe,{}),y.jsx(SRe,{})]});function CRe(){const{t:e}=Ve(),t={boundingBox:{header:`${e("parameters:boundingBoxHeader")}`,feature:ao.BOUNDING_BOX,content:y.jsx(gRe,{})},seamCorrection:{header:`${e("parameters:seamCorrectionHeader")}`,feature:ao.SEAM_CORRECTION,content:y.jsx(wRe,{})},infillAndScaling:{header:`${e("parameters:infillScalingHeader")}`,feature:ao.INFILL_AND_SCALING,content:y.jsx(vRe,{})},seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(qP,{accordionInfo:t})]})}function _Re(){const e=he(t=>t.ui.shouldUseCanvasBetaLayout);return y.jsx(HP,{optionsPanel:y.jsx(CRe,{}),styleClass:"inpainting-workarea-overrides",children:e?y.jsx(rRe,{}):y.jsx(hRe,{})})}const es={txt2img:{title:y.jsx(r_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(gOe,{}),tooltip:"Text To Image"},img2img:{title:y.jsx(e_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(lOe,{}),tooltip:"Image To Image"},unifiedCanvas:{title:y.jsx(o_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(_Re,{}),tooltip:"Unified Canvas"},nodes:{title:y.jsx(t_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(X8e,{}),tooltip:"Nodes"},postprocess:{title:y.jsx(n_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Z8e,{}),tooltip:"Post Processing"},training:{title:y.jsx(i_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Q8e,{}),tooltip:"Training"}};function kRe(){es.txt2img.tooltip=zt.t("common:text2img"),es.img2img.tooltip=zt.t("common:img2img"),es.unifiedCanvas.tooltip=zt.t("common:unifiedCanvas"),es.nodes.tooltip=zt.t("common:nodes"),es.postprocess.tooltip=zt.t("common:postProcessing"),es.training.tooltip=zt.t("common:training")}function ERe(){const e=he(K8e),t=he(o=>o.lightbox.isLightboxOpen);J8e(kRe);const n=Me();Je("1",()=>{n(qo(0))}),Je("2",()=>{n(qo(1))}),Je("3",()=>{n(qo(2))}),Je("4",()=>{n(qo(3))}),Je("5",()=>{n(qo(4))}),Je("6",()=>{n(qo(5))}),Je("z",()=>{n(Bm(!t))},[t]);const r=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(uo,{hasArrow:!0,label:es[a].tooltip,placement:"right",children:y.jsx(oW,{children:es[a].title})},a))}),o},i=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(rW,{className:"app-tabs-panel",children:es[a].workarea},a))}),o};return y.jsxs(nW,{isLazy:!0,className:"app-tabs",variant:"unstyled",defaultIndex:e,index:e,onChange:o=>{n(qo(o))},children:[y.jsx("div",{className:"app-tabs-list",children:r()}),y.jsx(iW,{className:"app-tabs-panels",children:t?y.jsx(_Ae,{}):i()})]})}var PRe=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Uy(e,t){var n=TRe(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function TRe(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),i=PRe.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var LRe=[".DS_Store","Thumbs.db"];function ARe(e){return m0(this,void 0,void 0,function(){return v0(this,function(t){return dS(e)&&ORe(e.dataTransfer)?[2,DRe(e.dataTransfer,e.type)]:MRe(e)?[2,IRe(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,RRe(e)]:[2,[]]})})}function ORe(e){return dS(e)}function MRe(e){return dS(e)&&dS(e.target)}function dS(e){return typeof e=="object"&&e!==null}function IRe(e){return J8(e.target.files).map(function(t){return Uy(t)})}function RRe(e){return m0(this,void 0,void 0,function(){var t;return v0(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return Uy(r)})]}})})}function DRe(e,t){return m0(this,void 0,void 0,function(){var n,r;return v0(this,function(i){switch(i.label){case 0:return e.items?(n=J8(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(NRe))]):[3,2];case 1:return r=i.sent(),[2,cN(YY(r))];case 2:return[2,cN(J8(e.files).map(function(o){return Uy(o)}))]}})})}function cN(e){return e.filter(function(t){return LRe.indexOf(t.name)===-1})}function J8(e){if(e===null)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,gN(n)];if(e.sizen)return[!1,gN(n)]}return[!0,null]}function Sh(e){return e!=null}function QRe(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(l){var u=QY(l,n),d=ay(u,1),h=d[0],m=JY(l,r,i),v=ay(m,1),b=v[0],S=s?s(l):null;return h&&b&&!S})}function fS(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Xb(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function vN(e){e.preventDefault()}function JRe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function eDe(e){return e.indexOf("Edge/")!==-1}function tDe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return JRe(e)||eDe(e)}function Il(){for(var e=arguments.length,t=new Array(e),n=0;n1?i-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yDe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var lT=w.forwardRef(function(e,t){var n=e.children,r=hS(e,sDe),i=iK(r),o=i.open,a=hS(i,lDe);return w.useImperativeHandle(t,function(){return{open:o}},[o]),N.createElement(w.Fragment,null,n(Cr(Cr({},a),{},{open:o})))});lT.displayName="Dropzone";var rK={disabled:!1,getFilesFromEvent:ARe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};lT.defaultProps=rK;lT.propTypes={children:jn.func,accept:jn.objectOf(jn.arrayOf(jn.string)),multiple:jn.bool,preventDropOnDocument:jn.bool,noClick:jn.bool,noKeyboard:jn.bool,noDrag:jn.bool,noDragEventsBubbling:jn.bool,minSize:jn.number,maxSize:jn.number,maxFiles:jn.number,disabled:jn.bool,getFilesFromEvent:jn.func,onFileDialogCancel:jn.func,onFileDialogOpen:jn.func,useFsAccessApi:jn.bool,autoFocus:jn.bool,onDragEnter:jn.func,onDragLeave:jn.func,onDragOver:jn.func,onDrop:jn.func,onDropAccepted:jn.func,onDropRejected:jn.func,onError:jn.func,validator:jn.func};var r_={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function iK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Cr(Cr({},rK),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,m=t.onDrop,v=t.onDropAccepted,b=t.onDropRejected,S=t.onFileDialogCancel,k=t.onFileDialogOpen,E=t.useFsAccessApi,_=t.autoFocus,T=t.preventDropOnDocument,A=t.noClick,I=t.noKeyboard,R=t.noDrag,D=t.noDragEventsBubbling,j=t.onError,z=t.validator,V=w.useMemo(function(){return iDe(n)},[n]),K=w.useMemo(function(){return rDe(n)},[n]),te=w.useMemo(function(){return typeof k=="function"?k:bN},[k]),q=w.useMemo(function(){return typeof S=="function"?S:bN},[S]),$=w.useRef(null),U=w.useRef(null),X=w.useReducer(bDe,r_),Z=VC(X,2),W=Z[0],Q=Z[1],ie=W.isFocused,fe=W.isFileDialogActive,Se=w.useRef(typeof window<"u"&&window.isSecureContext&&E&&nDe()),Pe=function(){!Se.current&&fe&&setTimeout(function(){if(U.current){var Ne=U.current.files;Ne.length||(Q({type:"closeDialog"}),q())}},300)};w.useEffect(function(){return window.addEventListener("focus",Pe,!1),function(){window.removeEventListener("focus",Pe,!1)}},[U,fe,q,Se]);var ye=w.useRef([]),We=function(Ne){$.current&&$.current.contains(Ne.target)||(Ne.preventDefault(),ye.current=[])};w.useEffect(function(){return T&&(document.addEventListener("dragover",vN,!1),document.addEventListener("drop",We,!1)),function(){T&&(document.removeEventListener("dragover",vN),document.removeEventListener("drop",We))}},[$,T]),w.useEffect(function(){return!r&&_&&$.current&&$.current.focus(),function(){}},[$,_,r]);var De=w.useCallback(function(xe){j?j(xe):console.error(xe)},[j]),ot=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[].concat(dDe(ye.current),[xe.target]),Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){if(!(fS(xe)&&!D)){var Ct=Ne.length,Dt=Ct>0&&QRe({files:Ne,accept:V,minSize:a,maxSize:o,multiple:s,maxFiles:l,validator:z}),Te=Ct>0&&!Dt;Q({isDragAccept:Dt,isDragReject:Te,isDragActive:!0,type:"setDraggedFiles"}),u&&u(xe)}}).catch(function(Ne){return De(Ne)})},[i,u,De,D,V,a,o,s,l,z]),He=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=Xb(xe);if(Ne&&xe.dataTransfer)try{xe.dataTransfer.dropEffect="copy"}catch{}return Ne&&h&&h(xe),!1},[h,D]),Be=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=ye.current.filter(function(Dt){return $.current&&$.current.contains(Dt)}),Ct=Ne.indexOf(xe.target);Ct!==-1&&Ne.splice(Ct,1),ye.current=Ne,!(Ne.length>0)&&(Q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Xb(xe)&&d&&d(xe))},[$,d,D]),wt=w.useCallback(function(xe,Ne){var Ct=[],Dt=[];xe.forEach(function(Te){var At=QY(Te,V),$e=VC(At,2),vt=$e[0],tn=$e[1],Rn=JY(Te,a,o),Xe=VC(Rn,2),xt=Xe[0],ft=Xe[1],Ht=z?z(Te):null;if(vt&&xt&&!Ht)Ct.push(Te);else{var nn=[tn,ft];Ht&&(nn=nn.concat(Ht)),Dt.push({file:Te,errors:nn.filter(function(pr){return pr})})}}),(!s&&Ct.length>1||s&&l>=1&&Ct.length>l)&&(Ct.forEach(function(Te){Dt.push({file:Te,errors:[ZRe]})}),Ct.splice(0)),Q({acceptedFiles:Ct,fileRejections:Dt,type:"setFiles"}),m&&m(Ct,Dt,Ne),Dt.length>0&&b&&b(Dt,Ne),Ct.length>0&&v&&v(Ct,Ne)},[Q,s,V,a,o,l,m,v,b,z]),st=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[],Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){fS(xe)&&!D||wt(Ne,xe)}).catch(function(Ne){return De(Ne)}),Q({type:"reset"})},[i,wt,De,D]),mt=w.useCallback(function(){if(Se.current){Q({type:"openDialog"}),te();var xe={multiple:s,types:K};window.showOpenFilePicker(xe).then(function(Ne){return i(Ne)}).then(function(Ne){wt(Ne,null),Q({type:"closeDialog"})}).catch(function(Ne){oDe(Ne)?(q(Ne),Q({type:"closeDialog"})):aDe(Ne)?(Se.current=!1,U.current?(U.current.value=null,U.current.click()):De(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):De(Ne)});return}U.current&&(Q({type:"openDialog"}),te(),U.current.value=null,U.current.click())},[Q,te,q,E,wt,De,K,s]),St=w.useCallback(function(xe){!$.current||!$.current.isEqualNode(xe.target)||(xe.key===" "||xe.key==="Enter"||xe.keyCode===32||xe.keyCode===13)&&(xe.preventDefault(),mt())},[$,mt]),Le=w.useCallback(function(){Q({type:"focus"})},[]),lt=w.useCallback(function(){Q({type:"blur"})},[]),Mt=w.useCallback(function(){A||(tDe()?setTimeout(mt,0):mt())},[A,mt]),ut=function(Ne){return r?null:Ne},_t=function(Ne){return I?null:ut(Ne)},ln=function(Ne){return R?null:ut(Ne)},ae=function(Ne){D&&Ne.stopPropagation()},Re=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.role,Te=xe.onKeyDown,At=xe.onFocus,$e=xe.onBlur,vt=xe.onClick,tn=xe.onDragEnter,Rn=xe.onDragOver,Xe=xe.onDragLeave,xt=xe.onDrop,ft=hS(xe,uDe);return Cr(Cr(n_({onKeyDown:_t(Il(Te,St)),onFocus:_t(Il(At,Le)),onBlur:_t(Il($e,lt)),onClick:ut(Il(vt,Mt)),onDragEnter:ln(Il(tn,ot)),onDragOver:ln(Il(Rn,He)),onDragLeave:ln(Il(Xe,Be)),onDrop:ln(Il(xt,st)),role:typeof Dt=="string"&&Dt!==""?Dt:"presentation"},Ct,$),!r&&!I?{tabIndex:0}:{}),ft)}},[$,St,Le,lt,Mt,ot,He,Be,st,I,R,r]),Ye=w.useCallback(function(xe){xe.stopPropagation()},[]),Ke=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.onChange,Te=xe.onClick,At=hS(xe,cDe),$e=n_({accept:V,multiple:s,type:"file",style:{display:"none"},onChange:ut(Il(Dt,st)),onClick:ut(Il(Te,Ye)),tabIndex:-1},Ct,U);return Cr(Cr({},$e),At)}},[U,n,s,st,r]);return Cr(Cr({},W),{},{isFocused:ie&&!r,getRootProps:Re,getInputProps:Ke,rootRef:$,inputRef:U,open:ut(mt)})}function bDe(e,t){switch(t.type){case"focus":return Cr(Cr({},e),{},{isFocused:!0});case"blur":return Cr(Cr({},e),{},{isFocused:!1});case"openDialog":return Cr(Cr({},r_),{},{isFileDialogActive:!0});case"closeDialog":return Cr(Cr({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Cr(Cr({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Cr(Cr({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Cr({},r_);default:return e}}function bN(){}const SDe=e=>{const{isDragAccept:t,isDragReject:n,overlaySecondaryText:r,setIsHandlingUpload:i}=e;return Je("esc",()=>{i(!1)}),y.jsxs("div",{className:"dropzone-container",children:[t&&y.jsx("div",{className:"dropzone-overlay is-drag-accept",children:y.jsxs(Dh,{size:"lg",children:["Upload Image",r]})}),n&&y.jsxs("div",{className:"dropzone-overlay is-drag-reject",children:[y.jsx(Dh,{size:"lg",children:"Invalid Upload"}),y.jsx(Dh,{size:"md",children:"Must be single JPEG or PNG image"})]})]})},xDe=e=>{const{children:t}=e,n=Me(),r=he(Or),i=Ry({}),{t:o}=Ve(),[a,s]=w.useState(!1),{setOpenUploader:l}=xP(),u=w.useCallback(T=>{s(!0);const A=T.errors.reduce((I,R)=>`${I} -${R.message}`,"");i({title:o("toast:uploadFailed"),description:A,status:"error",isClosable:!0})},[o,i]),d=w.useCallback(async T=>{n(fD({imageFile:T}))},[n]),h=w.useCallback((T,A)=>{A.forEach(I=>{u(I)}),T.forEach(I=>{d(I)})},[d,u]),{getRootProps:m,getInputProps:v,isDragAccept:b,isDragReject:S,isDragActive:k,open:E}=iK({accept:{"image/png":[".png"],"image/jpeg":[".jpg",".jpeg",".png"]},noClick:!0,onDrop:h,onDragOver:()=>s(!0),maxFiles:1});l(E),w.useEffect(()=>{const T=A=>{var j;const I=(j=A.clipboardData)==null?void 0:j.items;if(!I)return;const R=[];for(const z of I)z.kind==="file"&&["image/png","image/jpg"].includes(z.type)&&R.push(z);if(!R.length)return;if(A.stopImmediatePropagation(),R.length>1){i({description:o("toast:uploadFailedMultipleImagesDesc"),status:"error",isClosable:!0});return}const D=R[0].getAsFile();if(!D){i({description:o("toast:uploadFailedUnableToLoadDesc"),status:"error",isClosable:!0});return}n(fD({imageFile:D}))};return document.addEventListener("paste",T),()=>{document.removeEventListener("paste",T)}},[o,n,i,r]);const _=["img2img","unifiedCanvas"].includes(r)?` to ${es[r].tooltip}`:"";return y.jsx(SP.Provider,{value:E,children:y.jsxs("div",{...m({style:{}}),onKeyDown:T=>{T.key},children:[y.jsx("input",{...v()}),t,k&&a&&y.jsx(SDe,{isDragAccept:b,isDragReject:S,overlaySecondaryText:_,setIsHandlingUpload:s})]})})},wDe=at(ir,e=>e.log,{memoizeOptions:{resultEqualityCheck:(e,t)=>e.length===t.length}}),CDe=at(ir,e=>({shouldShowLogViewer:e.shouldShowLogViewer,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),_De=()=>{const e=Me(),t=he(wDe),{shouldShowLogViewer:n,hasError:r,wasErrorSeen:i}=he(CDe),[o,a]=w.useState(!0),s=w.useRef(null);w.useLayoutEffect(()=>{s.current!==null&&o&&(s.current.scrollTop=s.current.scrollHeight)},[o,t,n]);const l=()=>{e($U()),e(CC(!n))};Je("`",()=>{e(CC(!n))},[n]),Je("esc",()=>{e(CC(!1))});const u=()=>{s.current&&o&&s.current.scrollTop{const{timestamp:m,message:v,level:b}=d;return y.jsxs("div",{className:`console-entry console-${b}-color`,children:[y.jsxs("p",{className:"console-timestamp",children:[m,":"]}),y.jsx("p",{className:"console-message",children:v})]},h)})})}),n&&y.jsx(uo,{hasArrow:!0,label:o?"Autoscroll On":"Autoscroll Off",children:y.jsx(ss,{className:"console-autoscroll-icon-button","data-autoscroll-enabled":o,size:"sm","aria-label":"Toggle autoscroll",variant:"solid",icon:y.jsx(Qke,{}),onClick:()=>a(!o)})}),y.jsx(uo,{hasArrow:!0,label:n?"Hide Console":"Show Console",children:y.jsx(ss,{className:"console-toggle-icon-button","data-error-seen":r||!i,size:"sm",position:"fixed",variant:"solid","aria-label":"Toggle Log Viewer",icon:n?y.jsx(hEe,{}):y.jsx(pq,{}),onClick:l})})]})},kDe=at(ir,e=>({isProcessing:e.isProcessing,currentStep:e.currentStep,totalSteps:e.totalSteps,currentStatusHasSteps:e.currentStatusHasSteps}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EDe=()=>{const{isProcessing:e,currentStep:t,totalSteps:n,currentStatusHasSteps:r}=he(kDe),i=t?Math.round(t*100/n):0;return y.jsx(BV,{value:i,isIndeterminate:e&&!r,className:"progress-bar"})};function PDe(e){const{title:t,hotkey:n,description:r}=e;return y.jsxs("div",{className:"hotkey-modal-item",children:[y.jsxs("div",{className:"hotkey-info",children:[y.jsx("p",{className:"hotkey-title",children:t}),r&&y.jsx("p",{className:"hotkey-description",children:r})]}),y.jsx("div",{className:"hotkey-key",children:n})]})}function TDe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),{t:i}=Ve(),o=[{title:i("hotkeys:invoke.title"),desc:i("hotkeys:invoke.desc"),hotkey:"Ctrl+Enter"},{title:i("hotkeys:cancel.title"),desc:i("hotkeys:cancel.desc"),hotkey:"Shift+X"},{title:i("hotkeys:focusPrompt.title"),desc:i("hotkeys:focusPrompt.desc"),hotkey:"Alt+A"},{title:i("hotkeys:toggleOptions.title"),desc:i("hotkeys:toggleOptions.desc"),hotkey:"O"},{title:i("hotkeys:pinOptions.title"),desc:i("hotkeys:pinOptions.desc"),hotkey:"Shift+O"},{title:i("hotkeys:toggleViewer.title"),desc:i("hotkeys:toggleViewer.desc"),hotkey:"Z"},{title:i("hotkeys:toggleGallery.title"),desc:i("hotkeys:toggleGallery.desc"),hotkey:"G"},{title:i("hotkeys:maximizeWorkSpace.title"),desc:i("hotkeys:maximizeWorkSpace.desc"),hotkey:"F"},{title:i("hotkeys:changeTabs.title"),desc:i("hotkeys:changeTabs.desc"),hotkey:"1-5"},{title:i("hotkeys:consoleToggle.title"),desc:i("hotkeys:consoleToggle.desc"),hotkey:"`"}],a=[{title:i("hotkeys:setPrompt.title"),desc:i("hotkeys:setPrompt.desc"),hotkey:"P"},{title:i("hotkeys:setSeed.title"),desc:i("hotkeys:setSeed.desc"),hotkey:"S"},{title:i("hotkeys:setParameters.title"),desc:i("hotkeys:setParameters.desc"),hotkey:"A"},{title:i("hotkeys:restoreFaces.title"),desc:i("hotkeys:restoreFaces.desc"),hotkey:"Shift+R"},{title:i("hotkeys:upscale.title"),desc:i("hotkeys:upscale.desc"),hotkey:"Shift+U"},{title:i("hotkeys:showInfo.title"),desc:i("hotkeys:showInfo.desc"),hotkey:"I"},{title:i("hotkeys:sendToImageToImage.title"),desc:i("hotkeys:sendToImageToImage.desc"),hotkey:"Shift+I"},{title:i("hotkeys:deleteImage.title"),desc:i("hotkeys:deleteImage.desc"),hotkey:"Del"},{title:i("hotkeys:closePanels.title"),desc:i("hotkeys:closePanels.desc"),hotkey:"Esc"}],s=[{title:i("hotkeys:previousImage.title"),desc:i("hotkeys:previousImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextImage.title"),desc:i("hotkeys:nextImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:toggleGalleryPin.title"),desc:i("hotkeys:toggleGalleryPin.desc"),hotkey:"Shift+G"},{title:i("hotkeys:increaseGalleryThumbSize.title"),desc:i("hotkeys:increaseGalleryThumbSize.desc"),hotkey:"Shift+Up"},{title:i("hotkeys:decreaseGalleryThumbSize.title"),desc:i("hotkeys:decreaseGalleryThumbSize.desc"),hotkey:"Shift+Down"}],l=[{title:i("hotkeys:selectBrush.title"),desc:i("hotkeys:selectBrush.desc"),hotkey:"B"},{title:i("hotkeys:selectEraser.title"),desc:i("hotkeys:selectEraser.desc"),hotkey:"E"},{title:i("hotkeys:decreaseBrushSize.title"),desc:i("hotkeys:decreaseBrushSize.desc"),hotkey:"["},{title:i("hotkeys:increaseBrushSize.title"),desc:i("hotkeys:increaseBrushSize.desc"),hotkey:"]"},{title:i("hotkeys:decreaseBrushOpacity.title"),desc:i("hotkeys:decreaseBrushOpacity.desc"),hotkey:"Shift + ["},{title:i("hotkeys:increaseBrushOpacity.title"),desc:i("hotkeys:increaseBrushOpacity.desc"),hotkey:"Shift + ]"},{title:i("hotkeys:moveTool.title"),desc:i("hotkeys:moveTool.desc"),hotkey:"V"},{title:i("hotkeys:fillBoundingBox.title"),desc:i("hotkeys:fillBoundingBox.desc"),hotkey:"Shift + F"},{title:i("hotkeys:eraseBoundingBox.title"),desc:i("hotkeys:eraseBoundingBox.desc"),hotkey:"Delete / Backspace"},{title:i("hotkeys:colorPicker.title"),desc:i("hotkeys:colorPicker.desc"),hotkey:"C"},{title:i("hotkeys:toggleSnap.title"),desc:i("hotkeys:toggleSnap.desc"),hotkey:"N"},{title:i("hotkeys:quickToggleMove.title"),desc:i("hotkeys:quickToggleMove.desc"),hotkey:"Hold Space"},{title:i("hotkeys:toggleLayer.title"),desc:i("hotkeys:toggleLayer.desc"),hotkey:"Q"},{title:i("hotkeys:clearMask.title"),desc:i("hotkeys:clearMask.desc"),hotkey:"Shift+C"},{title:i("hotkeys:hideMask.title"),desc:i("hotkeys:hideMask.desc"),hotkey:"H"},{title:i("hotkeys:showHideBoundingBox.title"),desc:i("hotkeys:showHideBoundingBox.desc"),hotkey:"Shift+H"},{title:i("hotkeys:mergeVisible.title"),desc:i("hotkeys:mergeVisible.desc"),hotkey:"Shift+M"},{title:i("hotkeys:saveToGallery.title"),desc:i("hotkeys:saveToGallery.desc"),hotkey:"Shift+S"},{title:i("hotkeys:copyToClipboard.title"),desc:i("hotkeys:copyToClipboard.desc"),hotkey:"Ctrl+C"},{title:i("hotkeys:downloadImage.title"),desc:i("hotkeys:downloadImage.desc"),hotkey:"Shift+D"},{title:i("hotkeys:undoStroke.title"),desc:i("hotkeys:undoStroke.desc"),hotkey:"Ctrl+Z"},{title:i("hotkeys:redoStroke.title"),desc:i("hotkeys:redoStroke.desc"),hotkey:"Ctrl+Shift+Z, Ctrl+Y"},{title:i("hotkeys:resetView.title"),desc:i("hotkeys:resetView.desc"),hotkey:"R"},{title:i("hotkeys:previousStagingImage.title"),desc:i("hotkeys:previousStagingImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextStagingImage.title"),desc:i("hotkeys:nextStagingImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:acceptStagingImage.title"),desc:i("hotkeys:acceptStagingImage.desc"),hotkey:"Enter"}],u=d=>{const h=[];return d.forEach((m,v)=>{h.push(y.jsx(PDe,{title:m.title,description:m.desc,hotkey:m.hotkey},v))}),y.jsx("div",{className:"hotkey-modal-category",children:h})};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:" modal hotkeys-modal",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx("h1",{children:"Keyboard Shorcuts"}),y.jsx("div",{className:"hotkeys-modal-items",children:y.jsxs(ok,{allowMultiple:!0,children:[y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:appHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(o)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:generalHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(a)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:galleryHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(s)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:unifiedCanvasHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(l)})]})]})})]})]})]})}var SN=Array.isArray,xN=Object.keys,LDe=Object.prototype.hasOwnProperty,ADe=typeof Element<"u";function i_(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=SN(e),r=SN(t),i,o,a;if(n&&r){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!i_(e[i],t[i]))return!1;return!0}if(n!=r)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var h=xN(e);if(o=h.length,o!==xN(t).length)return!1;for(i=o;i--!==0;)if(!LDe.call(t,h[i]))return!1;if(ADe&&e instanceof Element&&t instanceof Element)return e===t;for(i=o;i--!==0;)if(a=h[i],!(a==="_owner"&&e.$$typeof)&&!i_(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var md=function(t,n){try{return i_(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}},ODe=function(t){return MDe(t)&&!IDe(t)};function MDe(e){return!!e&&typeof e=="object"}function IDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||NDe(e)}var RDe=typeof Symbol=="function"&&Symbol.for,DDe=RDe?Symbol.for("react.element"):60103;function NDe(e){return e.$$typeof===DDe}function jDe(e){return Array.isArray(e)?[]:{}}function pS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?sy(jDe(e),e,t):e}function BDe(e,t,n){return e.concat(t).map(function(r){return pS(r,n)})}function $De(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(i){r[i]=pS(e[i],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=pS(t[i],n):r[i]=sy(e[i],t[i],n)}),r}function sy(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||BDe,n.isMergeableObject=n.isMergeableObject||ODe;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):$De(e,t,n):pS(t,n)}sy.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return sy(r,i,n)},{})};var o_=sy,FDe=typeof global=="object"&&global&&global.Object===Object&&global;const oK=FDe;var zDe=typeof self=="object"&&self&&self.Object===Object&&self,HDe=oK||zDe||Function("return this")();const mu=HDe;var VDe=mu.Symbol;const ef=VDe;var aK=Object.prototype,WDe=aK.hasOwnProperty,UDe=aK.toString,gv=ef?ef.toStringTag:void 0;function GDe(e){var t=WDe.call(e,gv),n=e[gv];try{e[gv]=void 0;var r=!0}catch{}var i=UDe.call(e);return r&&(t?e[gv]=n:delete e[gv]),i}var qDe=Object.prototype,YDe=qDe.toString;function KDe(e){return YDe.call(e)}var XDe="[object Null]",ZDe="[object Undefined]",wN=ef?ef.toStringTag:void 0;function xp(e){return e==null?e===void 0?ZDe:XDe:wN&&wN in Object(e)?GDe(e):KDe(e)}function sK(e,t){return function(n){return e(t(n))}}var QDe=sK(Object.getPrototypeOf,Object);const uT=QDe;function wp(e){return e!=null&&typeof e=="object"}var JDe="[object Object]",eNe=Function.prototype,tNe=Object.prototype,lK=eNe.toString,nNe=tNe.hasOwnProperty,rNe=lK.call(Object);function CN(e){if(!wp(e)||xp(e)!=JDe)return!1;var t=uT(e);if(t===null)return!0;var n=nNe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&lK.call(n)==rNe}function iNe(){this.__data__=[],this.size=0}function uK(e,t){return e===t||e!==e&&t!==t}function cw(e,t){for(var n=e.length;n--;)if(uK(e[n][0],t))return n;return-1}var oNe=Array.prototype,aNe=oNe.splice;function sNe(e){var t=this.__data__,n=cw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():aNe.call(t,n,1),--this.size,!0}function lNe(e){var t=this.__data__,n=cw(t,e);return n<0?void 0:t[n][1]}function uNe(e){return cw(this.__data__,e)>-1}function cNe(e,t){var n=this.__data__,r=cw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=vje}var yje="[object Arguments]",bje="[object Array]",Sje="[object Boolean]",xje="[object Date]",wje="[object Error]",Cje="[object Function]",_je="[object Map]",kje="[object Number]",Eje="[object Object]",Pje="[object RegExp]",Tje="[object Set]",Lje="[object String]",Aje="[object WeakMap]",Oje="[object ArrayBuffer]",Mje="[object DataView]",Ije="[object Float32Array]",Rje="[object Float64Array]",Dje="[object Int8Array]",Nje="[object Int16Array]",jje="[object Int32Array]",Bje="[object Uint8Array]",$je="[object Uint8ClampedArray]",Fje="[object Uint16Array]",zje="[object Uint32Array]",sr={};sr[Ije]=sr[Rje]=sr[Dje]=sr[Nje]=sr[jje]=sr[Bje]=sr[$je]=sr[Fje]=sr[zje]=!0;sr[yje]=sr[bje]=sr[Oje]=sr[Sje]=sr[Mje]=sr[xje]=sr[wje]=sr[Cje]=sr[_je]=sr[kje]=sr[Eje]=sr[Pje]=sr[Tje]=sr[Lje]=sr[Aje]=!1;function Hje(e){return wp(e)&&mK(e.length)&&!!sr[xp(e)]}function cT(e){return function(t){return e(t)}}var vK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f2=vK&&typeof module=="object"&&module&&!module.nodeType&&module,Vje=f2&&f2.exports===vK,UC=Vje&&oK.process,Wje=function(){try{var e=f2&&f2.require&&f2.require("util").types;return e||UC&&UC.binding&&UC.binding("util")}catch{}}();const u0=Wje;var LN=u0&&u0.isTypedArray,Uje=LN?cT(LN):Hje;const Gje=Uje;var qje=Object.prototype,Yje=qje.hasOwnProperty;function yK(e,t){var n=qy(e),r=!n&&lje(e),i=!n&&!r&&gK(e),o=!n&&!r&&!i&&Gje(e),a=n||r||i||o,s=a?rje(e.length,String):[],l=s.length;for(var u in e)(t||Yje.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mje(u,l)))&&s.push(u);return s}var Kje=Object.prototype;function dT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Kje;return e===n}var Xje=sK(Object.keys,Object);const Zje=Xje;var Qje=Object.prototype,Jje=Qje.hasOwnProperty;function eBe(e){if(!dT(e))return Zje(e);var t=[];for(var n in Object(e))Jje.call(e,n)&&n!="constructor"&&t.push(n);return t}function bK(e){return e!=null&&mK(e.length)&&!cK(e)}function fT(e){return bK(e)?yK(e):eBe(e)}function tBe(e,t){return e&&fw(t,fT(t),e)}function nBe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var rBe=Object.prototype,iBe=rBe.hasOwnProperty;function oBe(e){if(!Gy(e))return nBe(e);var t=dT(e),n=[];for(var r in e)r=="constructor"&&(t||!iBe.call(e,r))||n.push(r);return n}function hT(e){return bK(e)?yK(e,!0):oBe(e)}function aBe(e,t){return e&&fw(t,hT(t),e)}var SK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,AN=SK&&typeof module=="object"&&module&&!module.nodeType&&module,sBe=AN&&AN.exports===SK,ON=sBe?mu.Buffer:void 0,MN=ON?ON.allocUnsafe:void 0;function lBe(e,t){if(t)return e.slice();var n=e.length,r=MN?MN(n):new e.constructor(n);return e.copy(r),r}function xK(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[i]=e[i]);return n}function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var KN=function(t){return Array.isArray(t)&&t.length===0},Go=function(t){return typeof t=="function"},hw=function(t){return t!==null&&typeof t=="object"},aFe=function(t){return String(Math.floor(Number(t)))===t},GC=function(t){return Object.prototype.toString.call(t)==="[object String]"},MK=function(t){return w.Children.count(t)===0},qC=function(t){return hw(t)&&Go(t.then)};function Vi(e,t,n,r){r===void 0&&(r=0);for(var i=OK(t);e&&r=0?[]:{}}}return(o===0?e:i)[a[o]]===n?e:(n===void 0?delete i[a[o]]:i[a[o]]=n,o===0&&n===void 0&&delete r[a[o]],r)}function IK(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(e);i0?Re.map(function(Ke){return j(Ke,Vi(ae,Ke))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ye).then(function(Ke){return Ke.reduce(function(xe,Ne,Ct){return Ne==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ne&&(xe=iu(xe,Re[Ct],Ne)),xe},{})})},[j]),V=w.useCallback(function(ae){return Promise.all([z(ae),m.validationSchema?D(ae):{},m.validate?R(ae):{}]).then(function(Re){var Ye=Re[0],Ke=Re[1],xe=Re[2],Ne=o_.all([Ye,Ke,xe],{arrayMerge:fFe});return Ne})},[m.validate,m.validationSchema,z,R,D]),K=Ka(function(ae){return ae===void 0&&(ae=A.values),I({type:"SET_ISVALIDATING",payload:!0}),V(ae).then(function(Re){return E.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:Re})),Re})});w.useEffect(function(){a&&E.current===!0&&md(v.current,m.initialValues)&&K(v.current)},[a,K]);var te=w.useCallback(function(ae){var Re=ae&&ae.values?ae.values:v.current,Ye=ae&&ae.errors?ae.errors:b.current?b.current:m.initialErrors||{},Ke=ae&&ae.touched?ae.touched:S.current?S.current:m.initialTouched||{},xe=ae&&ae.status?ae.status:k.current?k.current:m.initialStatus;v.current=Re,b.current=Ye,S.current=Ke,k.current=xe;var Ne=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!ae&&!!ae.isSubmitting,errors:Ye,touched:Ke,status:xe,values:Re,isValidating:!!ae&&!!ae.isValidating,submitCount:ae&&ae.submitCount&&typeof ae.submitCount=="number"?ae.submitCount:0}})};if(m.onReset){var Ct=m.onReset(A.values,st);qC(Ct)?Ct.then(Ne):Ne()}else Ne()},[m.initialErrors,m.initialStatus,m.initialTouched]);w.useEffect(function(){E.current===!0&&!md(v.current,m.initialValues)&&(u&&(v.current=m.initialValues,te()),a&&K(v.current))},[u,m.initialValues,te,a,K]),w.useEffect(function(){u&&E.current===!0&&!md(b.current,m.initialErrors)&&(b.current=m.initialErrors||uh,I({type:"SET_ERRORS",payload:m.initialErrors||uh}))},[u,m.initialErrors]),w.useEffect(function(){u&&E.current===!0&&!md(S.current,m.initialTouched)&&(S.current=m.initialTouched||Zb,I({type:"SET_TOUCHED",payload:m.initialTouched||Zb}))},[u,m.initialTouched]),w.useEffect(function(){u&&E.current===!0&&!md(k.current,m.initialStatus)&&(k.current=m.initialStatus,I({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]);var q=Ka(function(ae){if(_.current[ae]&&Go(_.current[ae].validate)){var Re=Vi(A.values,ae),Ye=_.current[ae].validate(Re);return qC(Ye)?(I({type:"SET_ISVALIDATING",payload:!0}),Ye.then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ye}}),Promise.resolve(Ye))}else if(m.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),D(A.values,ae).then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke[ae]}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),$=w.useCallback(function(ae,Re){var Ye=Re.validate;_.current[ae]={validate:Ye}},[]),U=w.useCallback(function(ae){delete _.current[ae]},[]),X=Ka(function(ae,Re){I({type:"SET_TOUCHED",payload:ae});var Ye=Re===void 0?i:Re;return Ye?K(A.values):Promise.resolve()}),Z=w.useCallback(function(ae){I({type:"SET_ERRORS",payload:ae})},[]),W=Ka(function(ae,Re){var Ye=Go(ae)?ae(A.values):ae;I({type:"SET_VALUES",payload:Ye});var Ke=Re===void 0?n:Re;return Ke?K(Ye):Promise.resolve()}),Q=w.useCallback(function(ae,Re){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Re}})},[]),ie=Ka(function(ae,Re,Ye){I({type:"SET_FIELD_VALUE",payload:{field:ae,value:Re}});var Ke=Ye===void 0?n:Ye;return Ke?K(iu(A.values,ae,Re)):Promise.resolve()}),fe=w.useCallback(function(ae,Re){var Ye=Re,Ke=ae,xe;if(!GC(ae)){ae.persist&&ae.persist();var Ne=ae.target?ae.target:ae.currentTarget,Ct=Ne.type,Dt=Ne.name,Te=Ne.id,At=Ne.value,$e=Ne.checked,vt=Ne.outerHTML,tn=Ne.options,Rn=Ne.multiple;Ye=Re||Dt||Te,Ke=/number|range/.test(Ct)?(xe=parseFloat(At),isNaN(xe)?"":xe):/checkbox/.test(Ct)?pFe(Vi(A.values,Ye),$e,At):tn&&Rn?hFe(tn):At}Ye&&ie(Ye,Ke)},[ie,A.values]),Se=Ka(function(ae){if(GC(ae))return function(Re){return fe(Re,ae)};fe(ae)}),Pe=Ka(function(ae,Re,Ye){Re===void 0&&(Re=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:ae,value:Re}});var Ke=Ye===void 0?i:Ye;return Ke?K(A.values):Promise.resolve()}),ye=w.useCallback(function(ae,Re){ae.persist&&ae.persist();var Ye=ae.target,Ke=Ye.name,xe=Ye.id,Ne=Ye.outerHTML,Ct=Re||Ke||xe;Pe(Ct,!0)},[Pe]),We=Ka(function(ae){if(GC(ae))return function(Re){return ye(Re,ae)};ye(ae)}),De=w.useCallback(function(ae){Go(ae)?I({type:"SET_FORMIK_STATE",payload:ae}):I({type:"SET_FORMIK_STATE",payload:function(){return ae}})},[]),ot=w.useCallback(function(ae){I({type:"SET_STATUS",payload:ae})},[]),He=w.useCallback(function(ae){I({type:"SET_ISSUBMITTING",payload:ae})},[]),Be=Ka(function(){return I({type:"SUBMIT_ATTEMPT"}),K().then(function(ae){var Re=ae instanceof Error,Ye=!Re&&Object.keys(ae).length===0;if(Ye){var Ke;try{if(Ke=mt(),Ke===void 0)return}catch(xe){throw xe}return Promise.resolve(Ke).then(function(xe){return E.current&&I({type:"SUBMIT_SUCCESS"}),xe}).catch(function(xe){if(E.current)throw I({type:"SUBMIT_FAILURE"}),xe})}else if(E.current&&(I({type:"SUBMIT_FAILURE"}),Re))throw ae})}),wt=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),Be().catch(function(Re){console.warn("Warning: An unhandled error was caught from submitForm()",Re)})}),st={resetForm:te,validateForm:K,validateField:q,setErrors:Z,setFieldError:Q,setFieldTouched:Pe,setFieldValue:ie,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,setFormikState:De,submitForm:Be},mt=Ka(function(){return d(A.values,st)}),St=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),te()}),Le=w.useCallback(function(ae){return{value:Vi(A.values,ae),error:Vi(A.errors,ae),touched:!!Vi(A.touched,ae),initialValue:Vi(v.current,ae),initialTouched:!!Vi(S.current,ae),initialError:Vi(b.current,ae)}},[A.errors,A.touched,A.values]),lt=w.useCallback(function(ae){return{setValue:function(Ye,Ke){return ie(ae,Ye,Ke)},setTouched:function(Ye,Ke){return Pe(ae,Ye,Ke)},setError:function(Ye){return Q(ae,Ye)}}},[ie,Pe,Q]),Mt=w.useCallback(function(ae){var Re=hw(ae),Ye=Re?ae.name:ae,Ke=Vi(A.values,Ye),xe={name:Ye,value:Ke,onChange:Se,onBlur:We};if(Re){var Ne=ae.type,Ct=ae.value,Dt=ae.as,Te=ae.multiple;Ne==="checkbox"?Ct===void 0?xe.checked=!!Ke:(xe.checked=!!(Array.isArray(Ke)&&~Ke.indexOf(Ct)),xe.value=Ct):Ne==="radio"?(xe.checked=Ke===Ct,xe.value=Ct):Dt==="select"&&Te&&(xe.value=xe.value||[],xe.multiple=!0)}return xe},[We,Se,A.values]),ut=w.useMemo(function(){return!md(v.current,A.values)},[v.current,A.values]),_t=w.useMemo(function(){return typeof s<"u"?ut?A.errors&&Object.keys(A.errors).length===0:s!==!1&&Go(s)?s(m):s:A.errors&&Object.keys(A.errors).length===0},[s,ut,A.errors,m]),ln=Gn({},A,{initialValues:v.current,initialErrors:b.current,initialTouched:S.current,initialStatus:k.current,handleBlur:We,handleChange:Se,handleReset:St,handleSubmit:wt,resetForm:te,setErrors:Z,setFormikState:De,setFieldTouched:Pe,setFieldValue:ie,setFieldError:Q,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,submitForm:Be,validateForm:K,validateField:q,isValid:_t,dirty:ut,unregisterField:U,registerField:$,getFieldProps:Mt,getFieldMeta:Le,getFieldHelpers:lt,validateOnBlur:i,validateOnChange:n,validateOnMount:a});return ln}function Yy(e){var t=uFe(e),n=e.component,r=e.children,i=e.render,o=e.innerRef;return w.useImperativeHandle(o,function(){return t}),w.createElement(sFe,{value:t},n?w.createElement(n,t):i?i(t):r?Go(r)?r(t):MK(r)?null:w.Children.only(r):null)}function cFe(e){var t={};if(e.inner){if(e.inner.length===0)return iu(t,e.path,e.message);for(var i=e.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;Vi(t,a.path)||(t=iu(t,a.path,a.message))}}return t}function dFe(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=c_(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}function c_(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(i){return Array.isArray(i)===!0||CN(i)?c_(i):i!==""?i:void 0}):CN(e[r])?t[r]=c_(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function fFe(e,t,n){var r=e.slice();return t.forEach(function(o,a){if(typeof r[a]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(o);r[a]=l?o_(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[a]=o_(e[a],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function hFe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function pFe(e,t,n){if(typeof e=="boolean")return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var gFe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?w.useLayoutEffect:w.useEffect;function Ka(e){var t=w.useRef(e);return gFe(function(){t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;ir?i:r},0);return Array.from(Gn({},t,{length:n+1}))}else return[]},SFe=function(e){oFe(t,e);function t(r){var i;return i=e.call(this,r)||this,i.updateArrayField=function(o,a,s){var l=i.props,u=l.name,d=l.formik.setFormikState;d(function(h){var m=typeof s=="function"?s:o,v=typeof a=="function"?a:o,b=iu(h.values,u,o(Vi(h.values,u))),S=s?m(Vi(h.errors,u)):void 0,k=a?v(Vi(h.touched,u)):void 0;return KN(S)&&(S=void 0),KN(k)&&(k=void 0),Gn({},h,{values:b,errors:s?iu(h.errors,u,S):h.errors,touched:a?iu(h.touched,u,k):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(c0(a),[iFe(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(s){return yFe(s,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(s){return vFe(s,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(s){return YC(s,o,a)},function(s){return YC(s,o,null)},function(s){return YC(s,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(s){return bFe(s,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(s){var l=s?[o].concat(s):[o];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(YN(i)),i.pop=i.pop.bind(YN(i)),i}var n=t.prototype;return n.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!md(Vi(i.formik.values,i.name),Vi(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(i){var o;return this.updateArrayField(function(a){var s=a?c0(a):[];return o||(o=s[i]),Go(s.splice)&&s.splice(i,1),s},!0,!0),o},n.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},n.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},o=this.props,a=o.component,s=o.render,l=o.children,u=o.name,d=o.formik,h=Lh(d,["validate","validationSchema"]),m=Gn({},i,{form:h,name:u});return a?w.createElement(a,m):s?s(m):l?typeof l=="function"?l(m):MK(l)?null:w.Children.only(l):null},t}(w.Component);SFe.defaultProps={validateOnChange:!0};const xFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XN=64,ZN=2048;function wFe(){const{openModel:e,model_list:t}=he(xFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,default:!1,format:"ckpt"});w.useEffect(()=>{var l,u,d,h,m,v,b;if(e){const S=ke.pickBy(t,(k,E)=>ke.isEqual(E,e));a({name:e,description:(l=S[e])==null?void 0:l.description,config:(u=S[e])==null?void 0:u.config,weights:(d=S[e])==null?void 0:d.weights,vae:(h=S[e])==null?void 0:h.vae,width:(m=S[e])==null?void 0:m.width,height:(v=S[e])==null?void 0:v.height,default:(b=S[e])==null?void 0:b.default,format:"ckpt"})}},[t,e]);const s=l=>{r($y({...l,width:Number(l.width),height:Number(l.height)}))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.config&&d.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"lg"}),u.config&&d.config?y.jsx(ur,{children:u.config}):y.jsx(lr,{margin:0,children:i("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.weights&&d.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"lg"}),u.weights&&d.weights?y.jsx(ur,{children:u.weights}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.vae&&d.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"lg"}),u.vae&&d.vae?y.jsx(ur,{children:u.vae}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!u.width&&d.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:i("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:h,form:m})=>y.jsx(ra,{id:"width",name:"width",min:XN,max:ZN,step:64,value:m.values.width,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.width&&d.width?y.jsx(ur,{children:u.width}):y.jsx(lr,{margin:0,children:i("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.height&&d.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:i("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:h,form:m})=>y.jsx(ra,{id:"height",name:"height",min:XN,max:ZN,step:64,value:m.values.height,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.height&&d.height?y.jsx(ur,{children:u.height}):y.jsx(lr,{margin:0,children:i("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const CFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function _Fe(){const{openModel:e,model_list:t}=he(CFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",repo_id:"",path:"",vae:{repo_id:"",path:""},default:!1,format:"diffusers"});w.useEffect(()=>{var l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D;if(e){const j=ke.pickBy(t,(z,V)=>ke.isEqual(V,e));a({name:e,description:(l=j[e])==null?void 0:l.description,path:(u=j[e])!=null&&u.path&&((d=j[e])==null?void 0:d.path)!=="None"?(h=j[e])==null?void 0:h.path:"",repo_id:(m=j[e])!=null&&m.repo_id&&((v=j[e])==null?void 0:v.repo_id)!=="None"?(b=j[e])==null?void 0:b.repo_id:"",vae:{repo_id:(k=(S=j[e])==null?void 0:S.vae)!=null&&k.repo_id?(_=(E=j[e])==null?void 0:E.vae)==null?void 0:_.repo_id:"",path:(A=(T=j[e])==null?void 0:T.vae)!=null&&A.path?(R=(I=j[e])==null?void 0:I.vae)==null?void 0:R.path:""},default:(D=j[e])==null?void 0:D.default,format:"diffusers"})}},[t,e]);const s=l=>{const u=l;l.path===""&&delete u.path,l.repo_id===""&&delete u.repo_id,l.vae.path===""&&delete u.vae.path,l.vae.repo_id===""&&delete u.vae.repo_id,r($y(l))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>{var h,m,v,b,S,k,E,_,T,A;return y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.path&&d.path,isRequired:!0,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"lg"}),u.path&&d.path?y.jsx(ur,{children:u.path}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.repo_id&&d.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:i("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"lg"}),u.repo_id&&d.repo_id?y.jsx(ur,{children:u.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:repoIDValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((h=u.vae)!=null&&h.path)&&((m=d.vae)==null?void 0:m.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"lg"}),(v=u.vae)!=null&&v.path&&((b=d.vae)!=null&&b.path)?y.jsx(ur,{children:(S=u.vae)==null?void 0:S.path}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((k=u.vae)!=null&&k.repo_id)&&((E=d.vae)==null?void 0:E.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:i("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"lg"}),(_=u.vae)!=null&&_.repo_id&&((T=d.vae)!=null&&T.repo_id)?y.jsx(ur,{children:(A=u.vae)==null?void 0:A.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeRepoIDValidationMsg")})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})}})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const DK=at([ir],e=>{const{model_list:t}=e,n=[];return ke.forEach(t,r=>{n.push(r.weights)}),n});function kFe(){const{t:e}=Ve();return y.jsx(ko,{position:"absolute",zIndex:2,right:4,top:4,fontSize:"0.7rem",fontWeight:"bold",backgroundColor:"var(--accent-color)",padding:"0.2rem 0.5rem",borderRadius:"0.2rem",alignItems:"center",children:e("modelmanager:modelExists")})}function QN({model:e,modelsToAdd:t,setModelsToAdd:n}){const r=he(DK),i=o=>{t.includes(o.target.value)?n(ke.remove(t,a=>a!==o.target.value)):n([...t,o.target.value])};return y.jsxs(ko,{position:"relative",children:[r.includes(e.location)?y.jsx(kFe,{}):null,y.jsx(er,{value:e.name,label:y.jsx(y.Fragment,{children:y.jsxs(yn,{alignItems:"start",children:[y.jsx("p",{style:{fontWeight:"bold"},children:e.name}),y.jsx("p",{style:{fontStyle:"italic"},children:e.location})]})}),isChecked:t.includes(e.name),isDisabled:r.includes(e.location),onChange:i,padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",_checked:{backgroundColor:"var(--accent-color)",color:"var(--text-color)"},_disabled:{backgroundColor:"var(--background-color-secondary)"}})]})}function EFe(){const e=Me(),{t}=Ve(),n=he(S=>S.system.searchFolder),r=he(S=>S.system.foundModels),i=he(DK),o=he(S=>S.ui.shouldShowExistingModelsInSearch),a=he(S=>S.system.isProcessing),[s,l]=N.useState([]),u=()=>{e(FU(null)),e(zU(null)),l([])},d=S=>{e(cD(S.checkpointFolder))},h=()=>{l([]),r&&r.forEach(S=>{i.includes(S.location)||l(k=>[...k,S.name])})},m=()=>{l([])},v=()=>{const S=r==null?void 0:r.filter(k=>s.includes(k.name));S==null||S.forEach(k=>{const E={name:k.name,description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:k.location,vae:"",width:512,height:512,default:!1,format:"ckpt"};e($y(E))}),l([])},b=()=>{const S=[],k=[];return r&&r.forEach((E,_)=>{i.includes(E.location)?k.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_)):S.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_))}),y.jsxs(y.Fragment,{children:[S,o&&k]})};return y.jsxs(y.Fragment,{children:[n?y.jsxs(Ge,{flexDirection:"column",padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",rowGap:"0.5rem",position:"relative",children:[y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",backgroundColor:"var(--background-color-secondary)",padding:"0.2rem 1rem",width:"max-content",borderRadius:"0.2rem"},children:t("modelmanager:checkpointFolder")}),y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",maxWidth:"80%"},children:n}),y.jsx(Qe,{"aria-label":t("modelmanager:scanAgain"),tooltip:t("modelmanager:scanAgain"),icon:y.jsx(Wx,{}),position:"absolute",right:16,fontSize:18,disabled:a,onClick:()=>e(cD(n))}),y.jsx(Qe,{"aria-label":t("modelmanager:clearCheckpointFolder"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),position:"absolute",right:5,onClick:u})]}):y.jsx(Yy,{initialValues:{checkpointFolder:""},onSubmit:S=>{d(S)},children:({handleSubmit:S})=>y.jsx("form",{onSubmit:S,children:y.jsxs(wy,{columnGap:"0.5rem",children:[y.jsx(dn,{isRequired:!0,width:"max-content",children:y.jsx(dr,{as:kr,id:"checkpointFolder",name:"checkpointFolder",type:"text",width:"lg",size:"md",label:t("modelmanager:checkpointFolder")})}),y.jsx(Qe,{icon:y.jsx(zEe,{}),"aria-label":t("modelmanager:findModels"),tooltip:t("modelmanager:findModels"),type:"submit",disabled:a})]})})}),r&&y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",children:[y.jsxs(Ge,{justifyContent:"space-between",alignItems:"center",children:[y.jsxs("p",{children:[t("modelmanager:modelsFound"),": ",r.length]}),y.jsxs("p",{children:[t("modelmanager:selected"),": ",s.length]})]}),y.jsxs(Ge,{columnGap:"0.5rem",justifyContent:"space-between",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(cr,{isDisabled:s.length===r.length,onClick:h,children:t("modelmanager:selectAll")}),y.jsx(cr,{isDisabled:s.length===0,onClick:m,children:t("modelmanager:deselectAll")}),y.jsx(er,{label:t("modelmanager:showExisting"),isChecked:o,onChange:()=>e(fCe(!o))})]}),y.jsx(cr,{isDisabled:s.length===0,onClick:v,backgroundColor:s.length>0?"var(--accent-color) !important":"",children:t("modelmanager:addSelected")})]}),y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",maxHeight:"18rem",overflowY:"scroll",paddingRight:"1rem",paddingLeft:"0.2rem",borderRadius:"0.2rem",children:[r.length>0?s.length===0&&y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",margin:"0 0.5rem 0 1rem",textAlign:"center",backgroundColor:"var(--notice-color)",boxShadow:"0 0 200px 6px var(--notice-color)",marginTop:"1rem",width:"max-content",children:t("modelmanager:selectAndAdd")}):y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",textAlign:"center",backgroundColor:"var(--status-bad-color)",children:t("modelmanager:noModelsFound")}),b()]})]})]})}const JN=64,ej=2048;function PFe(){const e=Me(),{t}=Ve(),n=he(u=>u.system.isProcessing);function r(u){return/\s/.test(u)}function i(u){let d;return r(u)&&(d=t("modelmanager:cannotUseSpaces")),d}const o={name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,format:"ckpt",default:!1},a=u=>{e($y(u)),e(zh(null))},[s,l]=N.useState(!1);return y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(EFe,{}),y.jsx(er,{label:t("modelmanager:addManually"),isChecked:s,onChange:()=>l(!s)}),s&&y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:u,errors:d,touched:h})=>y.jsx("form",{onSubmit:u,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(fn,{fontSize:20,fontWeight:"bold",alignSelf:"start",children:t("modelmanager:manual")}),y.jsxs(dn,{isInvalid:!!d.name&&h.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl"}),d.name&&h.name?y.jsx(ur,{children:d.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.description&&h.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl"}),d.description&&h.description?y.jsx(ur,{children:d.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.config&&h.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"2xl"}),d.config&&h.config?y.jsx(ur,{children:d.config}):y.jsx(lr,{margin:0,children:t("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.weights&&h.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"2xl"}),d.weights&&h.weights?y.jsx(ur,{children:d.weights}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.vae&&h.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"2xl"}),d.vae&&h.vae?y.jsx(ur,{children:d.vae}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!d.width&&h.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:t("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:m,form:v})=>y.jsx(ra,{id:"width",name:"width",min:JN,max:ej,step:64,width:"90%",value:v.values.width,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.width&&h.width?y.jsx(ur,{children:d.width}):y.jsx(lr,{margin:0,children:t("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.height&&h.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:t("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:m,form:v})=>y.jsx(ra,{id:"height",name:"height",min:JN,max:ej,width:"90%",step:64,value:v.values.height,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.height&&h.height?y.jsx(ur,{children:d.height}):y.jsx(lr,{margin:0,children:t("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})})]})}function Qb({children:e}){return y.jsx(Ge,{flexDirection:"column",backgroundColor:"var(--background-color)",padding:"1rem 1rem",borderRadius:"0.5rem",rowGap:"1rem",width:"100%",children:e})}function TFe(){const e=Me(),{t}=Ve(),n=he(s=>s.system.isProcessing);function r(s){return/\s/.test(s)}function i(s){let l;return r(s)&&(l=t("modelmanager:cannotUseSpaces")),l}const o={name:"",description:"",repo_id:"",path:"",format:"diffusers",default:!1,vae:{repo_id:"",path:""}},a=s=>{const l=s;s.path===""&&delete l.path,s.repo_id===""&&delete l.repo_id,s.vae.path===""&&delete l.vae.path,s.vae.repo_id===""&&delete l.vae.repo_id,e($y(l)),e(zh(null))};return y.jsxs(Ge,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:s,errors:l,touched:u})=>{var d,h,m,v,b,S,k,E,_,T;return y.jsx("form",{onSubmit:s,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.name&&u.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl",isRequired:!0}),l.name&&u.name?y.jsx(ur,{children:l.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]})}),y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.description&&u.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl",isRequired:!0}),l.description&&u.description?y.jsx(ur,{children:l.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]})}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",fontSize:"sm",children:t("modelmanager:formMessageDiffusersModelLocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersModelLocationDesc")}),y.jsxs(dn,{isInvalid:!!l.path&&u.path,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"2xl"}),l.path&&u.path?y.jsx(ur,{children:l.path}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!l.repo_id&&u.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:t("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"2xl"}),l.repo_id&&u.repo_id?y.jsx(ur,{children:l.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:repoIDValidationMsg")})]})]})]}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",children:t("modelmanager:formMessageDiffusersVAELocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersVAELocationDesc")}),y.jsxs(dn,{isInvalid:!!((d=l.vae)!=null&&d.path)&&((h=u.vae)==null?void 0:h.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"2xl"}),(m=l.vae)!=null&&m.path&&((v=u.vae)!=null&&v.path)?y.jsx(ur,{children:(b=l.vae)==null?void 0:b.path}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((S=l.vae)!=null&&S.repo_id)&&((k=u.vae)==null?void 0:k.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:t("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"2xl"}),(E=l.vae)!=null&&E.repo_id&&((_=u.vae)!=null&&_.repo_id)?y.jsx(ur,{children:(T=l.vae)==null?void 0:T.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeRepoIDValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})}})]})}function tj({text:e,onClick:t}){return y.jsx(Ge,{position:"relative",width:"50%",height:"200px",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",justifyContent:"center",alignItems:"center",_hover:{cursor:"pointer",backgroundColor:"var(--accent-color)"},onClick:t,children:y.jsx(fn,{fontWeight:"bold",children:e})})}function LFe(){const{isOpen:e,onOpen:t,onClose:n}=Wh(),r=he(s=>s.ui.addNewModelUIOption),i=Me(),{t:o}=Ve(),a=()=>{n(),i(zh(null))};return y.jsxs(y.Fragment,{children:[y.jsx(cr,{"aria-label":o("modelmanager:addNewModel"),tooltip:o("modelmanager:addNewModel"),onClick:t,className:"modal-close-btn",size:"sm",children:y.jsxs(Ge,{columnGap:"0.5rem",alignItems:"center",children:[y.jsx(zy,{}),o("modelmanager:addNew")]})}),y.jsxs(Yd,{isOpen:e,onClose:a,size:"3xl",closeOnOverlayClick:!1,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal add-model-modal",fontFamily:"Inter",children:[y.jsx(w0,{children:o("modelmanager:addNewModel")}),y.jsx(Ly,{marginTop:"0.3rem"}),y.jsxs(n0,{className:"add-model-modal-body",children:[r==null&&y.jsxs(Ge,{columnGap:"1rem",children:[y.jsx(tj,{text:o("modelmanager:addCheckpointModel"),onClick:()=>i(zh("ckpt"))}),y.jsx(tj,{text:o("modelmanager:addDiffuserModel"),onClick:()=>i(zh("diffusers"))})]}),r=="ckpt"&&y.jsx(PFe,{}),r=="diffusers"&&y.jsx(TFe,{})]})]})]})]})}function Jb(e){const{isProcessing:t,isConnected:n}=he(v=>v.system),r=he(v=>v.system.openModel),{t:i}=Ve(),o=Me(),{name:a,status:s,description:l}=e,u=()=>{o(VG(a))},d=()=>{o(LR(a))},h=()=>{o($8e(a)),o(LR(null))},m=()=>{switch(s){case"active":return"var(--status-good-color)";case"cached":return"var(--status-working-color)";case"not loaded":return"var(--text-color-secondary)"}};return y.jsxs(Ge,{alignItems:"center",padding:"0.5rem 0.5rem",borderRadius:"0.2rem",backgroundColor:a===r?"var(--accent-color)":"",_hover:{backgroundColor:a===r?"var(--accent-color)":"var(--background-color)"},children:[y.jsx(ko,{onClick:d,cursor:"pointer",children:y.jsx(uo,{label:l,hasArrow:!0,placement:"bottom",children:y.jsx(fn,{fontWeight:"bold",children:a})})}),y.jsx(fF,{onClick:d,cursor:"pointer"}),y.jsxs(Ge,{gap:2,alignItems:"center",children:[y.jsx(fn,{color:m(),children:s}),y.jsx(as,{size:"sm",onClick:u,isDisabled:s==="active"||t||!n,className:"modal-close-btn",children:i("modelmanager:load")}),y.jsx(Qe,{icon:y.jsx(LEe,{}),size:"sm",onClick:d,"aria-label":"Modify Config",isDisabled:s==="active"||t||!n,className:" modal-close-btn"}),y.jsx(oT,{title:i("modelmanager:deleteModel"),acceptCallback:h,acceptButtonText:i("modelmanager:delete"),triggerComponent:y.jsx(Qe,{icon:y.jsx(TEe,{}),size:"sm","aria-label":i("modelmanager:deleteConfig"),isDisabled:s==="active"||t||!n,className:" modal-close-btn",style:{backgroundColor:"var(--btn-delete-image)"}}),children:y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",children:[y.jsx("p",{style:{fontWeight:"bold"},children:i("modelmanager:deleteMsg1")}),y.jsx("p",{style:{color:"var(--text-color-secondary"},children:i("modelmanager:deleteMsg2")})]})})]})]})}const AFe=at(ir,e=>ke.map(e.model_list,(n,r)=>({name:r,...n})),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function KC({label:e,isActive:t,onClick:n}){return y.jsx(cr,{onClick:n,isActive:t,_active:{backgroundColor:"var(--accent-color)",_hover:{backgroundColor:"var(--accent-color)"}},size:"sm",children:e})}const OFe=()=>{const e=he(AFe),[t,n]=w.useState(""),[r,i]=w.useState("all"),[o,a]=w.useTransition(),{t:s}=Ve(),l=d=>{a(()=>{n(d.target.value)})},u=w.useMemo(()=>{const d=[],h=[],m=[],v=[];return e.forEach((b,S)=>{b.name.toLowerCase().includes(t.toLowerCase())&&(m.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)),b.format===r&&v.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))),b.format!=="diffusers"?d.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)):h.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))}),t!==""?r==="all"?y.jsx(ko,{marginTop:"1rem",children:m}):y.jsx(ko,{marginTop:"1rem",children:v}):y.jsxs(Ge,{flexDirection:"column",rowGap:"1.5rem",children:[r==="all"&&y.jsxs(y.Fragment,{children:[y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",margin:"1rem 0",width:"max-content",fontSize:"14",children:s("modelmanager:checkpointModels")}),d]}),y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",marginBottom:"0.5rem",width:"max-content",fontSize:"14",children:s("modelmanager:diffusersModels")}),h]})]}),r==="ckpt"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:d}),r==="diffusers"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:h})]})},[e,t,s,r]);return y.jsxs(Ge,{flexDirection:"column",rowGap:"2rem",width:"50%",minWidth:"50%",children:[y.jsxs(Ge,{justifyContent:"space-between",children:[y.jsx(fn,{fontSize:"1.4rem",fontWeight:"bold",children:s("modelmanager:availableModels")}),y.jsx(LFe,{})]}),y.jsx(kr,{onChange:l,label:s("modelmanager:search")}),y.jsxs(Ge,{flexDirection:"column",gap:1,maxHeight:window.innerHeight-360,overflow:"scroll",paddingRight:"1rem",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(KC,{label:s("modelmanager:allModels"),onClick:()=>i("all"),isActive:r==="all"}),y.jsx(KC,{label:s("modelmanager:checkpointModels"),onClick:()=>i("ckpt"),isActive:r==="ckpt"}),y.jsx(KC,{label:s("modelmanager:diffusersModels"),onClick:()=>i("diffusers"),isActive:r==="diffusers"})]}),u]})]})};function MFe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),i=he(s=>s.system.model_list),o=he(s=>s.system.openModel),{t:a}=Ve();return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,size:"6xl",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal",fontFamily:"Inter",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx(w0,{fontWeight:"bold",children:a("modelmanager:modelManager")}),y.jsxs(Ge,{padding:"0 1.5rem 1.5rem 1.5rem",width:"100%",columnGap:"2rem",children:[y.jsx(OFe,{}),o&&i[o].format==="diffusers"?y.jsx(_Fe,{}):y.jsx(wFe,{})]})]})]})]})}const IFe=at([ir],e=>{const{isProcessing:t,model_list:n}=e;return{models:ke.map(n,(i,o)=>o),isProcessing:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RFe=()=>{const e=Me(),{models:t,isProcessing:n}=he(IFe),r=he(qG),i=o=>{e(VG(o.target.value))};return y.jsx(Ge,{style:{paddingLeft:"0.3rem"},children:y.jsx(tl,{style:{fontSize:"0.8rem"},tooltip:r.description,isDisabled:n,value:r.name,validValues:t,onChange:i})})},DFe=at([ir,mp],(e,t)=>{const{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,model_list:o,saveIntermediatesInterval:a,enableImageDebugging:s}=e,{shouldUseCanvasBetaLayout:l}=t;return{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,models:ke.map(o,(u,d)=>d),saveIntermediatesInterval:a,enableImageDebugging:s,shouldUseCanvasBetaLayout:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NFe=({children:e})=>{const t=Me(),{t:n}=Ve(),r=he(_=>_.generation.steps),{isOpen:i,onOpen:o,onClose:a}=Wh(),{isOpen:s,onOpen:l,onClose:u}=Wh(),{shouldDisplayInProgressType:d,shouldConfirmOnDelete:h,shouldDisplayGuides:m,saveIntermediatesInterval:v,enableImageDebugging:b,shouldUseCanvasBetaLayout:S}=he(DFe),k=()=>{GG.purge().then(()=>{a(),l()})},E=_=>{_>r&&(_=r),_<1&&(_=1),t(Q6e(_))};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:o}),y.jsxs(Yd,{isOpen:i,onClose:a,size:"lg",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal settings-modal",children:[y.jsx(w0,{className:"settings-modal-header",children:n("common:settingsLabel")}),y.jsx(Ly,{className:"modal-close-btn"}),y.jsxs(n0,{className:"settings-modal-content",children:[y.jsxs("div",{className:"settings-modal-items",children:[y.jsxs("div",{className:"settings-modal-item",style:{gridAutoFlow:"row",rowGap:"0.5rem"},children:[y.jsx(tl,{label:n("settings:displayInProgress"),validValues:s7e,value:d,onChange:_=>t(U6e(_.target.value))}),d==="full-res"&&y.jsx(ra,{label:n("settings:saveSteps"),min:1,max:r,step:1,onChange:E,value:v,width:"auto",textAlign:"center"})]}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:confirmOnDelete"),isChecked:h,onChange:_=>t(BU(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:displayHelpIcons"),isChecked:m,onChange:_=>t(K6e(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:useCanvasBeta"),isChecked:S,onChange:_=>t(dCe(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-items",children:[y.jsx("h2",{style:{fontWeight:"bold"},children:"Developer"}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:enableImageDebugging"),isChecked:b,onChange:_=>t(J6e(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-reset",children:[y.jsx(Dh,{size:"md",children:n("settings:resetWebUI")}),y.jsx(as,{colorScheme:"red",onClick:k,children:n("settings:resetWebUI")}),y.jsx(fn,{children:n("settings:resetWebUIDesc1")}),y.jsx(fn,{children:n("settings:resetWebUIDesc2")})]})]}),y.jsx(yx,{children:y.jsx(as,{onClick:a,className:"modal-close-btn",children:n("common:close")})})]})]}),y.jsxs(Yd,{closeOnOverlayClick:!1,isOpen:s,onClose:u,isCentered:!0,children:[y.jsx(Kd,{bg:"blackAlpha.300",backdropFilter:"blur(40px)"}),y.jsx(Zh,{children:y.jsx(n0,{pb:6,pt:6,children:y.jsx(Ge,{justifyContent:"center",children:y.jsx(fn,{fontSize:"lg",children:y.jsx(fn,{children:n("settings:resetComplete")})})})})})]})]})},jFe=at(ir,e=>({isConnected:e.isConnected,isProcessing:e.isProcessing,currentIteration:e.currentIteration,totalIterations:e.totalIterations,currentStatus:e.currentStatus,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),BFe=()=>{const{isConnected:e,isProcessing:t,currentIteration:n,totalIterations:r,currentStatus:i,hasError:o,wasErrorSeen:a}=he(jFe),s=Me(),{t:l}=Ve();let u;e&&!o?u="status-good":u="status-bad";let d=i;[l("common:statusGenerating"),l("common:statusPreparing"),l("common:statusSavingImage"),l("common:statusRestoringFaces"),l("common:statusUpscaling")].includes(d)&&(u="status-working"),d&&t&&r>1&&(d=`${l(d)} (${n}/${r})`);const m=o&&!a?"Click to clear, check logs for details":void 0,v=o&&!a?"pointer":"initial",b=()=>{(o||!a)&&s($U())};return y.jsx(uo,{label:m,children:y.jsx(fn,{cursor:v,onClick:b,className:`status ${u}`,children:l(d)})})};function $Fe(){const{t:e}=Ve(),{setColorMode:t,colorMode:n}=dy(),r=Me(),i=he(l=>l.ui.currentTheme),o={dark:e("common:darkTheme"),light:e("common:lightTheme"),green:e("common:greenTheme")};w.useEffect(()=>{n!==i&&t(i)},[t,n,i]);const a=l=>{r(aCe(l))},s=()=>{const l=[];return Object.keys(o).forEach(u=>{l.push(y.jsx(cr,{style:{width:"6rem"},leftIcon:i===u?y.jsx(PP,{}):void 0,size:"sm",onClick:()=>a(u),children:o[u]},u))}),l};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:themeLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(pEe,{})}),children:y.jsx(yn,{align:"stretch",children:s()})})}function FFe(){const{t:e,i18n:t}=Ve(),n={en:e("common:langEnglish"),nl:e("common:langDutch"),fr:e("common:langFrench"),de:e("common:langGerman"),it:e("common:langItalian"),ja:e("common:langJapanese"),pl:e("common:langPolish"),pt_br:e("common:langBrPortuguese"),ru:e("common:langRussian"),zh_cn:e("common:langSimplifiedChinese"),es:e("common:langSpanish"),ua:e("common:langUkranian")},r=()=>{const i=[];return Object.keys(n).forEach(o=>{i.push(y.jsx(cr,{"data-selected":localStorage.getItem("i18nextLng")===o,onClick:()=>t.changeLanguage(o),className:"modal-close-btn lang-select-btn","aria-label":n[o],tooltip:n[o],size:"sm",minWidth:"200px",children:n[o]},o))}),i};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:languagePickerLabel"),tooltip:e("common:languagePickerLabel"),icon:y.jsx(dEe,{}),size:"sm",variant:"link","data-variant":"link",fontSize:26}),children:y.jsx(yn,{children:r()})})}const zFe=()=>{const{t:e}=Ve(),t=he(n=>n.system.app_version);return y.jsxs("div",{className:"site-header",children:[y.jsxs("div",{className:"site-header-left-side",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs(Ge,{alignItems:"center",columnGap:"0.6rem",children:[y.jsxs(fn,{fontSize:"1.4rem",children:["invoke ",y.jsx("strong",{children:"ai"})]}),y.jsx(fn,{fontWeight:"bold",color:"var(--text-color-secondary)",marginTop:"0.2rem",children:t})]})]}),y.jsxs("div",{className:"site-header-right-side",children:[y.jsx(BFe,{}),y.jsx(RFe,{}),y.jsx(MFe,{children:y.jsx(Qe,{"aria-label":e("modelmanager:modelManager"),tooltip:e("modelmanager:modelManager"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(rEe,{})})}),y.jsx(TDe,{children:y.jsx(Qe,{"aria-label":e("common:hotkeysLabel"),tooltip:e("common:hotkeysLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(cEe,{})})}),y.jsx($Fe,{}),y.jsx(FFe,{}),y.jsx(Qe,{"aria-label":e("common:reportBugLabel"),tooltip:e("common:reportBugLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI/issues",children:y.jsx(nEe,{})})}),y.jsx(Qe,{"aria-label":e("common:githubLabel"),tooltip:e("common:githubLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI",children:y.jsx(Zke,{})})}),y.jsx(Qe,{"aria-label":e("common:discordLabel"),tooltip:e("common:discordLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"https://discord.gg/ZmtBAhwWhy",children:y.jsx(Xke,{})})}),y.jsx(NFe,{children:y.jsx(Qe,{"aria-label":e("common:settingsLabel"),tooltip:e("common:settingsLabel"),variant:"link","data-variant":"link",fontSize:22,size:"sm",icon:y.jsx(VEe,{})})})]})]})};function HFe(){async function e(n=""){return await fetch(n,{method:"GET",cache:"no-cache"})}const t=()=>{const n=document.location;e(n+"/flaskwebgui-keep-server-alive").then(i=>i)};(!{}.NODE_ENV||{}.NODE_ENV==="production")&&document.addEventListener("DOMContentLoaded",()=>{t(),setInterval(t,3e3)})}const VFe=()=>{const e=Me(),t=he(a_e),n=Ry();w.useEffect(()=>{t.forEach(r=>{n(r)}),t.length>0&&e(tCe())},[e,n,t])},NK=at([yp,mp,Or],(e,t,n)=>{const{shouldPinParametersPanel:r,shouldShowParametersPanel:i,shouldHoldParametersPanelOpen:o,shouldUseCanvasBetaLayout:a}=t,{shouldShowGallery:s,shouldPinGallery:l,shouldHoldGalleryOpen:u}=e,d=a&&n==="unifiedCanvas",h=!d&&!(i||o&&!r)&&["txt2img","img2img","unifiedCanvas"].includes(n),m=!(s||u&&!l)&&["txt2img","img2img","unifiedCanvas"].includes(n);return{shouldPinParametersPanel:r,shouldShowProcessButtons:!d&&(!r||!i),shouldShowParametersPanelButton:h,shouldShowParametersPanel:i,shouldShowGallery:s,shouldPinGallery:l,shouldShowGalleryButton:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),WFe=()=>{const e=Me(),{shouldShowParametersPanel:t,shouldShowParametersPanelButton:n,shouldShowProcessButtons:r,shouldPinParametersPanel:i,shouldShowGallery:o,shouldPinGallery:a}=he(NK),s=()=>{e(Ku(!0)),i&&setTimeout(()=>e(vi(!0)),400)};return Je("f",()=>{o||t?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(a||i)&&setTimeout(()=>e(vi(!0)),400)},[o,t]),n?y.jsxs("div",{className:"show-hide-button-options",children:[y.jsx(Qe,{tooltip:"Show Options Panel (O)",tooltipProps:{placement:"top"},"aria-label":"Show Options Panel",onClick:s,children:y.jsx(AP,{})}),r&&y.jsxs(y.Fragment,{children:[y.jsx(XP,{iconButton:!0}),y.jsx(YP,{})]})]}):null},UFe=()=>{const e=Me(),{shouldShowGallery:t,shouldShowGalleryButton:n,shouldPinGallery:r,shouldShowParametersPanel:i,shouldPinParametersPanel:o}=he(NK),a=()=>{e(Bd(!0)),r&&e(vi(!0))};return Je("f",()=>{t||i?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(r||o)&&setTimeout(()=>e(vi(!0)),400)},[t,i]),n?y.jsx(Qe,{tooltip:"Show Gallery (G)",tooltipProps:{placement:"top"},"aria-label":"Show Gallery",styleClass:"floating-show-hide-button right show-hide-button-gallery",onClick:a,children:y.jsx(Tq,{})}):null};HFe();const GFe=()=>(VFe(),y.jsxs("div",{className:"App",children:[y.jsxs(xDe,{children:[y.jsx(EDe,{}),y.jsxs("div",{className:"app-content",children:[y.jsx(zFe,{}),y.jsx(ERe,{})]}),y.jsx("div",{className:"app-console",children:y.jsx(_De,{})})]}),y.jsx(WFe,{}),y.jsx(UFe,{})]})),nj=()=>y.jsx(Ge,{width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center",children:y.jsx(xy,{thickness:"2px",speed:"1s",emptyColor:"gray.200",color:"gray.400",size:"xl"})});const qFe=Aj({key:"invokeai-style-cache",prepend:!0});X9.createRoot(document.getElementById("root")).render(y.jsx(N.StrictMode,{children:y.jsx(T5e,{store:UG,children:y.jsx(mW,{loading:y.jsx(nj,{}),persistor:GG,children:y.jsx(qne,{value:qFe,children:y.jsx(q4e,{children:y.jsx(N.Suspense,{fallback:y.jsx(nj,{}),children:y.jsx(GFe,{})})})})})})})); diff --git a/invokeai/frontend/dist/assets/index-fecb6dd4.css b/invokeai/frontend/dist/assets/index-fecb6dd4.css deleted file mode 100644 index 11433ce132..0000000000 --- a/invokeai/frontend/dist/assets/index-fecb6dd4.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Inter;src:url(./Inter-b9a8e5e2.ttf);font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:Inter;src:url(./Inter-Bold-790c108b.ttf);font-display:swap;font-weight:600;font-style:normal}@keyframes slideOut{0%{transform:translate(10rem)}to{transform:translate(0)}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}*{scrollbar-width:thick;scrollbar-color:var(--scrollbar-color) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-radius:8px;border:2px solid var(--scrollbar-color)}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-color-hover);border:2px solid var(--scrollbar-color-hover)}::-webkit-scrollbar-button{background:transparent}[data-theme=dark]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(57, 25, 153);--accent-color: rgb(80, 40, 200);--accent-color-bright: rgb(104, 60, 230);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 10);--background-color: rgb(26, 26, 32);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(16, 16, 22);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 162, 188);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(48, 48, 64);--border-color: rgb(30, 30, 46);--border-color-light: rgb(60, 60, 76);--svg-color: rgb(255, 255, 255);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(30, 32, 42);--tab-hover-color: rgb(46, 48, 58);--tab-panel-bg: rgb(36, 38, 48);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 216);--tab-list-text-inactive: rgb(92, 94, 114);--btn-base-color: rgb(30, 32, 42);--btn-base-color-hover: rgb(46, 48, 68);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 10);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-color: rgb(151, 113, 255);--slider-mark-color: rgb(151, 113, 255);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}[data-theme=light]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(186, 146, 0);--accent-color: rgb(235, 185, 5);--accent-color-bright: rgb(255, 200, 0);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(255, 255, 255);--background-color: rgb(220, 222, 224);--background-color-light: rgb(250, 252, 254);--background-color-secondary: rgb(208, 210, 212);--text-color: rgb(0, 0, 0);--text-color-secondary: rgb(40, 40, 40);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(142, 144, 146);--border-color: rgb(200, 200, 200);--border-color-light: rgb(147, 147, 147);--svg-color: rgb(50, 50, 50);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(237, 51, 51);--destructive-color-hover: rgb(255, 55, 55);--warning-color: rgb(224, 142, 42);--warning-color-hover: rgb(255, 167, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: none;--tab-color: rgb(202, 204, 206);--tab-hover-color: rgb(196, 198, 200);--tab-panel-bg: rgb(206, 208, 210);--tab-list-bg: rgb(235, 185, 5);--tab-list-text: rgb(0, 0, 0);--tab-list-text-inactive: rgb(106, 108, 110);--btn-base-color: rgb(184, 186, 188);--btn-base-color-hover: rgb(230, 232, 234);--btn-load-more: rgb(202, 204, 206);--btn-load-more-hover: rgb(178, 180, 182);--btn-svg-color: rgb(0, 0, 0);--btn-delete-image: rgb(213, 49, 49);--btn-checkbox-border-hover: rgb(176, 178, 182);--progress-bar-color: rgb(235, 185, 5);--prompt-bg-color: rgb(225, 227, 229);--switch-bg-color: rgb(178, 180, 182);--switch-bg-active-color: rgb(235, 185, 5);--slider-color: var(--accent-color);--slider-mark-color: rgb(0, 0, 0);--resizeable-handle-border-color: rgb(160, 162, 164);--metadata-bg-color: rgba(230, 230, 230, .9);--metadata-json-bg-color: rgba(0, 0, 0, .1);--status-good-color: rgb(21, 126, 0);--status-good-glow: var(--background-color);--status-working-color: rgb(235, 141, 0);--status-working-glow: var(--background-color);--status-bad-color: rgb(202, 0, 0);--status-bad-glow: var(--background-color);--notice-color: rgb(255, 71, 90);--settings-modal-bg: rgb(202, 204, 206);--input-checkbox-bg: rgb(167, 167, 171);--input-checkbox-checked-bg: rgb(235, 185, 5);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: rgb(0, 0, 0);--input-box-shadow-color: none;--error-level-info: rgb(42, 42, 42);--error-level-warning: rgb(173, 121, 0);--error-level-error: rgb(145, 14, 0);--console-bg-color: rgb(220, 224, 230);--console-icon-button-bg-color: var(--switch-bg-color);--console-icon-button-bg-color-hover: var(--resizeable-handle-border-color);--img2img-img-bg-color: rgb(180, 182, 184);--context-menu-bg-color: var(--background-color);--context-menu-box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, .35), 0px 10px 20px -15px rgba(22, 23, 24, .2);--context-menu-bg-color-hover: var(--background-color-secondary);--floating-button-drop-shadow-color: rgba(0, 0, 0, .7);--inpainting-alerts-bg: rgba(220, 222, 224, .75);--inpainting-alerts-icon-color: rgb(0, 0, 0);--inpainting-alerts-bg-active: rgb(255, 200, 0);--inpainting-alerts-icon-active: rgb(0, 0, 0);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(0, 0, 0);--checkboard-dots-color: rgb(160, 160, 172);--scrollbar-color: rgb(180, 180, 184);--scrollbar-color-hover: rgb(150, 150, 154)}[data-theme=green]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(10, 60, 40);--accent-color: rgb(20, 110, 70);--accent-color-bright: rgb(30, 180, 100);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 14);--background-color: rgb(30, 32, 37);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(22, 24, 28);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 164, 168);--subtext-color: rgb(24, 24, 28);--subtext-color-bright: rgb(68, 72, 76);--border-color: rgb(40, 44, 48);--border-color-light: rgb(60, 60, 64);--svg-color: rgb(220, 224, 228);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(40, 44, 48);--tab-hover-color: rgb(48, 52, 56);--tab-panel-bg: rgb(36, 40, 44);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 206);--tab-list-text-inactive: rgb(92, 94, 96);--btn-base-color: rgb(40, 44, 48);--btn-base-color-hover: rgb(56, 60, 64);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 14);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-mark-color: var(--accent-color-bright);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}@media (max-width: 600px){#root .app-content{padding:5px}#root .app-content .site-header{position:fixed;display:flex;height:100px;z-index:1}#root .app-content .site-header .site-header-left-side{position:absolute;display:flex;min-width:145px;float:left;padding-left:0}#root .app-content .site-header .site-header-right-side{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-rows:25px 25px 25px;grid-template-areas:"logoSpace logoSpace logoSpace sampler sampler sampler" "status status status status status status" "btn1 btn2 btn3 btn4 btn5 btn6";row-gap:15px}#root .app-content .site-header .site-header-right-side .chakra-popover__popper{grid-area:logoSpace}#root .app-content .site-header .site-header-right-side>:nth-child(1).chakra-text{grid-area:status;width:100%;display:flex;justify-content:center}#root .app-content .site-header .site-header-right-side>:nth-child(2){grid-area:sampler;display:flex;justify-content:center;align-items:center}#root .app-content .site-header .site-header-right-side>:nth-child(2) select{width:185px;margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper{right:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper svg{margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(3){grid-area:btn1}#root .app-content .site-header .site-header-right-side>:nth-child(4){grid-area:btn2}#root .app-content .site-header .site-header-right-side>:nth-child(6){grid-area:btn3}#root .app-content .site-header .site-header-right-side>:nth-child(7){grid-area:btn4}#root .app-content .site-header .site-header-right-side>:nth-child(8){grid-area:btn5}#root .app-content .site-header .site-header-right-side>:nth-child(9){grid-area:btn6}#root .app-content .app-tabs{position:fixed;display:flex;flex-direction:column;row-gap:15px;max-width:100%;overflow:hidden;margin-top:120px}#root .app-content .app-tabs .app-tabs-list{display:flex;justify-content:space-between}#root .app-content .app-tabs .app-tabs-panels{overflow:hidden;overflow-y:scroll}#root .app-content .app-tabs .app-tabs-panels .workarea-main{display:grid;grid-template-areas:"workarea" "options" "gallery";row-gap:15px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper{grid-area:options;width:100%;max-width:100%;height:inherit;overflow:inherit;padding:0 10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .main-settings-row,#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .advanced-parameters-item{max-width:100%}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper{grid-area:workarea}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .workarea-split-view{display:flex;flex-direction:column}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-options{column-gap:3px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .text-to-image-area{padding:0}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-preview{height:430px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button{row-gap:10px;padding:5px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button svg{width:2rem;height:2rem;margin-top:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-settings{display:flex;flex-wrap:wrap;row-gap:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-canvas-area .konvajs-content{height:400px!important}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper{grid-area:gallery;min-height:400px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper .image-gallery-popup{width:100%!important;max-width:100%!important}}svg{fill:var(--svg-color)}.App{display:grid;width:100vw;height:100vh;background-color:var(--background-color)}.app-content{display:grid;row-gap:1rem;padding:1rem;grid-auto-rows:min-content auto;width:calc(100vw + -0px);height:calc(100vh - .3rem)}.site-header{display:grid;grid-template-columns:auto max-content}.site-header-left-side{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem}.site-header-left-side img{width:32px;height:32px}.site-header-right-side{display:flex;align-items:center;column-gap:.5rem}.site-header-right-side .lang-select-btn[data-selected=true],.site-header-right-side .lang-select-btn[data-selected=true]:hover{background-color:var(--accent-color)}.status{font-size:.8rem;font-weight:700}.status-good{color:var(--status-good-color);text-shadow:0 0 10px var(--status-good-glow)}.status-bad{color:var(--status-bad-color);text-shadow:0 0 10px var(--status-bad-glow)}.status-working{color:var(--status-working-color);text-shadow:0 0 10px var(--status-working-glow)}.settings-modal{max-height:36rem;font-family:Inter}.settings-modal .settings-modal-content{display:grid;row-gap:2rem;overflow-y:scroll}.settings-modal .settings-modal-header{font-weight:700}.settings-modal .settings-modal-items{display:grid;row-gap:.5rem}.settings-modal .settings-modal-items .settings-modal-item{display:grid;grid-auto-flow:column;background-color:var(--background-color);padding:.4rem 1rem;border-radius:.5rem;align-items:center;width:100%}.settings-modal .settings-modal-reset{display:grid;row-gap:1rem}.settings-modal .settings-modal-reset button{min-width:100%;min-height:100%;background-color:var(--destructive-color)!important}.settings-modal .settings-modal-reset button:hover{background-color:var(--destructive-color-hover)}.settings-modal .settings-modal-reset button:disabled{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button:disabled:hover{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button svg{width:20px;height:20px;color:var(--btn-svg-color)}.add-model-modal{display:flex}.add-model-modal-body{display:flex;flex-direction:column;row-gap:1rem;padding-bottom:2rem}.add-model-form{display:flex;flex-direction:column;row-gap:.5rem}.hotkeys-modal{width:36rem;max-width:36rem;display:grid;padding:1rem;row-gap:1rem;font-family:Inter}.hotkeys-modal h1{font-size:1.2rem;font-weight:700}.hotkeys-modal h2{font-weight:700}.hotkeys-modal-button{display:flex;align-items:center;justify-content:space-between}.hotkeys-modal-items{max-height:36rem;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.hotkeys-modal-items::-webkit-scrollbar{display:none}.hotkeys-modal-items .chakra-accordion{display:grid;row-gap:.5rem}.hotkeys-modal-items .chakra-accordion__item{border:none;border-radius:.3rem;background-color:var(--tab-hover-color)}.hotkeys-modal-items button{border-radius:.3rem}.hotkeys-modal-items button[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.3rem}.hotkey-modal-category{display:grid;row-gap:.5rem}.hotkey-modal-item{display:grid;grid-template-columns:auto max-content;justify-content:space-between;align-items:center;background-color:var(--background-color);padding:.5rem 1rem;border-radius:.3rem}.hotkey-modal-item .hotkey-info{display:grid}.hotkey-modal-item .hotkey-info .hotkey-title{font-weight:700}.hotkey-modal-item .hotkey-info .hotkey-description{font-size:.9rem;color:var(--text-color-secondary)}.hotkey-modal-item .hotkey-key{font-size:.8rem;font-weight:700;background-color:var(--background-color-light);padding:.2rem .5rem;border-radius:.3rem}.console{width:100vw;display:flex;flex-direction:column;background:var(--console-bg-color);overflow:auto;direction:column;font-family:monospace;padding:0 1rem 1rem 3rem;border-top-width:.3rem;border-color:var(--resizeable-handle-border-color)}.console .console-info-color{color:var(--error-level-info)}.console .console-warning-color{color:var(--error-level-warning)}.console .console-error-color{color:var(--status-bad-color)}.console .console-entry{display:flex;column-gap:.5rem}.console .console-entry .console-timestamp{font-weight:semibold}.console .console-entry .console-message{word-break:break-all}.console-toggle-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:.5rem;z-index:10000}.console-toggle-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-toggle-icon-button[data-error-seen=true],.console-toggle-icon-button[data-error-seen=true]:hover{background:var(--status-bad-color)}.console-autoscroll-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:3rem;z-index:10000}.console-autoscroll-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]{background:var(--accent-color)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]:hover{background:var(--accent-color-hover)}.progress-bar{background-color:var(--root-bg-color);height:.3rem;z-index:99}.progress-bar div{background-color:var(--progress-bar-color)}.progress-bar div[data-indeterminate]{background-color:unset;background-image:linear-gradient(to right,transparent 0%,var(--progress-bar-color) 50%,transparent 100%)}.prompt-bar{display:grid;row-gap:1rem}.prompt-bar input,.prompt-bar textarea{background-color:var(--prompt-bg-color);font-size:1rem;border:2px solid var(--border-color)}.prompt-bar input:hover,.prompt-bar textarea:hover{border:2px solid var(--border-color-light)}.prompt-bar input:focus-visible,.prompt-bar textarea:focus-visible{border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.prompt-bar input[aria-invalid=true],.prompt-bar textarea[aria-invalid=true]{border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.prompt-bar input:disabled,.prompt-bar textarea:disabled{border:2px solid var(--border-color);box-shadow:none}.prompt-bar textarea{min-height:10rem}.process-buttons{display:flex;column-gap:.5rem}.invoke-btn{flex-grow:1;width:100%;min-width:100%;min-height:100%;background-color:var(--accent-color)!important}.invoke-btn:hover{background-color:var(--accent-color-hover)}.invoke-btn:disabled{background-color:var(--btn-base-color)}.invoke-btn:disabled:hover{background-color:var(--btn-base-color)}.invoke-btn svg{width:16px;height:16px;color:var(--btn-svg-color)}.cancel-btn{min-width:3rem;min-height:100%;background-color:var(--destructive-color)!important}.cancel-btn:hover{background-color:var(--destructive-color-hover)}.cancel-btn:disabled{background-color:var(--btn-base-color)}.cancel-btn:disabled:hover{background-color:var(--btn-base-color)}.cancel-btn svg{width:20px;height:20px;color:var(--btn-svg-color)}.loopback-btn[data-as-checkbox=true]{background-color:var(--btn-btn-base-color);border:3px solid var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true]:hover{background-color:var(--btn-btn-base-color);border-color:var(--btn-checkbox-border-hover)}.loopback-btn[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--text-color)}.main-settings,.main-settings-list{display:grid;row-gap:1rem}.main-settings-row{display:grid;grid-template-columns:repeat(3,auto);column-gap:.5rem;max-width:22.5rem}.main-settings-block{border-radius:.5rem;display:grid!important;grid-template-columns:auto!important;row-gap:.5rem}.main-settings-block .invokeai__number-input-form-label,.main-settings-block .invokeai__select-label{font-weight:700;font-size:.9rem!important}.main-settings-block .invokeai__select-label{margin:0}.advanced-parameters{padding-top:.5rem;display:grid;row-gap:.5rem}.advanced-parameters-item{display:grid;max-width:22.5rem;border:none;border-top:0px;border-radius:.4rem;background-color:var(--tab-panel-bg)}.advanced-parameters-item[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:0 0 .4rem .4rem}.advanced-parameters-panel{background-color:var(--tab-panel-bg);border-radius:0 0 .4rem .4rem;padding:1rem}.advanced-parameters-panel button{background-color:var(--btn-base-color)}.advanced-parameters-panel button:hover{background-color:var(--btn-base-color-hover)}.advanced-parameters-panel button:disabled:hover{background-color:var(--btn-base-color)}.advanced-parameters-header{border-radius:.4rem;font-weight:700}.advanced-parameters-header[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.4rem .4rem 0 0}.advanced-parameters-header:hover{background-color:var(--tab-hover-color)}.inpainting-bounding-box-settings{display:flex;flex-direction:column;border-radius:.4rem;border:2px solid var(--tab-color)}.inpainting-bounding-box-header{background-color:var(--tab-color);display:flex;flex-direction:row;justify-content:space-between;padding:.5rem 1rem;border-radius:.3rem .3rem 0 0;align-items:center}.inpainting-bounding-box-header button{width:.5rem;height:1.2rem;background:none}.inpainting-bounding-box-header button:hover{background:none}.inpainting-bounding-box-settings-items{padding:1rem;display:flex;flex-direction:column;row-gap:1rem}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn{background-color:var(--btn-base-color)}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn:hover{background-color:var(--btn-base-color-hover)}.inpainting-bounding-box-dimensions-slider-numberinput{display:grid;grid-template-columns:repeat(3,auto);column-gap:1rem}.inpainting-bounding-box-darken{width:max-content}.current-image-area{display:flex;flex-direction:column;height:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem}.current-image-preview{position:relative;justify-content:center;align-items:center;display:flex;width:100%;height:100%}.current-image-preview img{border-radius:.5rem;object-fit:contain;max-width:100%;max-height:100%;height:auto;position:absolute}.current-image-metadata{grid-area:current-image-preview}.current-image-next-prev-buttons{grid-area:current-image-content;display:flex;justify-content:space-between;z-index:1;height:100%;width:100%;pointer-events:none}.next-prev-button-trigger-area{width:7rem;height:100%;width:15%;display:grid;align-items:center;pointer-events:auto}.next-prev-button-trigger-area.prev-button-trigger-area{justify-content:flex-start}.next-prev-button-trigger-area.next-button-trigger-area{justify-content:flex-end}.next-prev-button{font-size:4rem;fill:var(--white);filter:drop-shadow(0 0 1rem var(--text-color-secondary));opacity:70%}.current-image-display-placeholder{background-color:var(--background-color-secondary);display:grid;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:.5rem}.current-image-display-placeholder svg{width:10rem;height:10rem;color:var(--svg-color)}.current-image-options{width:100%;display:flex;justify-content:center;align-items:center;column-gap:.5em}.current-image-options .current-image-send-to-popover,.current-image-options .current-image-postprocessing-popover{display:flex;flex-direction:column;row-gap:.5rem;max-width:25rem}.current-image-options .current-image-send-to-popover .invokeai__button{place-content:start}.current-image-options .chakra-popover__popper{z-index:11}.current-image-options .delete-image-btn{background-color:var(--btn-base-color)}.current-image-options .delete-image-btn svg{fill:var(--btn-delete-image)}.image-gallery-wrapper-enter{transform:translate(150%)}.image-gallery-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.image-gallery-wrapper-exit{transform:translate(0)}.image-gallery-wrapper-exit-active{transform:translate(150%);transition:all .12s ease-out}.image-gallery-wrapper[data-pinned=false]{position:fixed;height:100vh;top:0;right:0}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup{border-radius:0;box-shadow:0 0 1rem var(--text-color-a3)}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup .image-gallery-container{max-height:calc(100vh + 4.7rem)}.image-gallery-wrapper .image-gallery-popup{background-color:var(--background-color-secondary);padding:1rem;display:flex;flex-direction:column;row-gap:1rem;border-radius:.5rem;border-left-width:.3rem;border-color:var(--tab-list-text-inactive)}.image-gallery-wrapper .image-gallery-popup[data-resize-alert=true]{border-color:var(--status-bad-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header{display:flex;align-items:center;column-gap:.5rem;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-header-right-icons{display:flex;flex-direction:row;column-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover{display:flex;flex-direction:column;row-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover div{display:flex;column-gap:.5rem;align-items:center;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header h1{font-weight:700}.image-gallery-wrapper .image-gallery-popup .image-gallery-container{display:flex;flex-direction:column;max-height:calc(100vh - (70px + 7rem));overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container::-webkit-scrollbar{display:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder{display:flex;flex-direction:column;row-gap:.5rem;background-color:var(--background-color);border-radius:.5rem;place-items:center;padding:2rem;text-align:center}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder p{color:var(--subtext-color-bright);font-family:Inter}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder svg{width:4rem;height:4rem;color:var(--svg-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn{background-color:var(--btn-load-more);font-size:.85rem;padding:.5rem;margin-top:1rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:disabled:hover{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-category-btn-group{width:max-content;column-gap:0;justify-content:stretch}.image-gallery-category-btn-group button{background-color:var(--btn-base-color);flex-grow:1}.image-gallery-category-btn-group button:hover{background-color:var(--btn-base-color-hover)}.image-gallery-category-btn-group button[data-selected=true]{background-color:var(--accent-color)}.image-gallery-category-btn-group button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.image-gallery{display:grid;grid-gap:.5rem}.image-gallery .hoverable-image{padding:.5rem;position:relative}.image-gallery .hoverable-image:before{content:"";display:block;padding-bottom:100%}.image-gallery .hoverable-image .hoverable-image-image{position:absolute;max-width:100%;top:50%;left:50%;transform:translate(-50%,-50%)}.hoverable-image{display:flex;justify-content:center;transition:transform .2s ease-out}.hoverable-image:hover{cursor:pointer;border-radius:.5rem;z-index:2}.hoverable-image .hoverable-image-image{width:100%;height:100%;max-width:100%;max-height:100%}.hoverable-image .hoverable-image-delete-button{position:absolute;top:.25rem;right:.25rem}.hoverable-image .hoverable-image-content{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;align-items:center;justify-content:center}.hoverable-image .hoverable-image-content .hoverable-image-check{fill:var(--status-good-color)}.hoverable-image .hoverable-image-icons{position:absolute;bottom:-2rem;display:grid;width:min-content;grid-template-columns:repeat(2,max-content);border-radius:.4rem;background-color:var(--background-color-secondary);padding:.2rem;gap:.2rem;grid-auto-rows:max-content}.hoverable-image .hoverable-image-icons button{width:12px;height:12px;border-radius:.2rem;padding:10px 0;flex-shrink:2}.hoverable-image .hoverable-image-icons button svg{width:12px;height:12px}.hoverable-image-context-menu{z-index:15;padding:.4rem;border-radius:.25rem;background-color:var(--context-menu-bg-color);box-shadow:var(--context-menu-box-shadow)}.hoverable-image-context-menu [role=menuitem]{font-size:.8rem;line-height:1rem;border-radius:3px;display:flex;align-items:center;height:1.75rem;padding:0 .5rem;position:relative;user-select:none;cursor:pointer;outline:none}.hoverable-image-context-menu [role=menuitem][data-disabled]{color:gray;pointer-events:none;cursor:not-allowed}.hoverable-image-context-menu [role=menuitem][data-warning]{color:var(--status-bad-color)}.hoverable-image-context-menu [role=menuitem][data-highlighted]{background-color:var(--context-menu-bg-color-hover)}.image-metadata-viewer{position:absolute;top:0;width:100%;border-radius:.5rem;padding:1rem;background-color:var(--metadata-bg-color);overflow:scroll;max-height:calc(100vh - (70px + 5.4rem));height:100%;z-index:10}.image-json-viewer{border-radius:.5rem;margin:0 .5rem 1rem;padding:1rem;overflow-x:scroll;word-break:break-all;background-color:var(--metadata-json-bg-color)}.lightbox-container{width:100%;height:100%;color:var(--text-color);overflow:hidden;position:absolute;left:0;top:0;background-color:var(--background-color-secondary);z-index:30;animation:popIn .3s ease-in}.lightbox-container .image-gallery-wrapper{max-height:100%!important}.lightbox-container .image-gallery-wrapper .image-gallery-container{max-height:calc(100vh - 5rem)}.lightbox-container .current-image-options{z-index:2;position:absolute;top:1rem}.lightbox-container .image-metadata-viewer{left:0;max-height:100%}.lightbox-close-btn{z-index:3;position:absolute;left:1rem;top:1rem;background-color:var(--btn-base-color)}.lightbox-close-btn:hover{background-color:var(--btn-base-color-hover)}.lightbox-close-btn:disabled:hover{background-color:var(--btn-base-color)}.lightbox-display-container{display:flex;flex-direction:row}.lightbox-preview-wrapper{overflow:hidden;background-color:var(--background-color-secondary);display:grid;grid-template-columns:auto max-content;place-items:center;width:100vw;height:100vh}.lightbox-preview-wrapper .current-image-next-prev-buttons{position:absolute}.lightbox-preview-wrapper .lightbox-image{grid-area:lightbox-content;border-radius:.5rem}.lightbox-preview-wrapper .lightbox-image-options{position:absolute;z-index:2;left:1rem;top:4.5rem;user-select:none;border-radius:.5rem;display:flex;flex-direction:column;row-gap:.5rem}@keyframes popIn{0%{opacity:0;filter:blur(100)}to{opacity:1;filter:blur(0)}}.app-tabs{display:grid;grid-template-columns:min-content auto;column-gap:1rem;height:calc(100vh - (70px + 1rem))}.app-tabs-list{display:grid;row-gap:.3rem;grid-auto-rows:min-content;color:var(--tab-list-text-inactive)}.app-tabs-list button{font-size:.85rem;padding:.5rem}.app-tabs-list button:hover{background-color:var(--tab-hover-color);border-radius:.3rem}.app-tabs-list button svg{width:24px;height:24px}.app-tabs-list button[aria-selected=true]{background-color:var(--tab-list-bg);color:var(--tab-list-text);font-weight:700;border-radius:.3rem;border:none}.app-tabs-panels .app-tabs-panel{padding:0;height:100%}.workarea-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main{display:flex;column-gap:1rem;height:100%}.workarea-wrapper .workarea-main .workarea-children-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main .workarea-split-view{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-left{padding-right:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-right{padding-left:.5rem}.workarea-wrapper .workarea-main .workarea-single-view{width:100%;height:100%;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view-left,.workarea-wrapper .workarea-main .workarea-split-view-right{display:flex;flex-direction:column;height:100%;width:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem;padding:1rem}.workarea-split-button{position:absolute;cursor:pointer;padding:.5rem;top:0;right:0}.workarea-split-button[data-selected=true]{top:0;right:0}.workarea-split-button[data-selected=true] svg{opacity:1}.workarea-split-button svg{opacity:.5}.parameters-panel-wrapper-enter{transform:translate(-150%)}.parameters-panel-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.parameters-panel-wrapper-exit{transform:translate(0)}.parameters-panel-wrapper-exit-active{transform:translate(-150%);transition:all .12s ease-out}.parameters-panel-wrapper{background-color:var(--background-color);height:calc(100vh - (70px + 1rem));width:22.5rem;max-width:22.5rem;flex-shrink:0;position:relative;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.parameters-panel-wrapper::-webkit-scrollbar{display:none}.parameters-panel-wrapper .parameters-panel{display:flex;flex-direction:column;row-gap:1rem;height:100%;-ms-overflow-style:none;scrollbar-width:none;background-color:var(--background-color)}.parameters-panel-wrapper .parameters-panel::-webkit-scrollbar{display:none}.parameters-panel-wrapper[data-pinned=false]{z-index:20;position:fixed;top:0;left:0;filter:var(--floating-panel-drop-shadow);width:24.5rem;max-width:24.5rem;height:100%}.parameters-panel-wrapper[data-pinned=false] .parameters-panel-margin{margin:1rem}.parameters-panel-wrapper .parameters-panel-pin-button{position:absolute;cursor:pointer;padding:.5rem;top:1rem;right:1rem;z-index:20}.parameters-panel-wrapper .parameters-panel-pin-button[data-selected=true]{top:0;right:0}.parameters-panel-wrapper .parameters-panel-pin-button svg{opacity:.5}.invoke-ai-logo-wrapper{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem;padding-top:.3rem}.invoke-ai-logo-wrapper img{width:32px;height:32px}.invoke-ai-logo-wrapper h1{font-size:1.4rem}.text-to-image-area{padding:1rem;height:100%}.image-to-image-area{display:flex;flex-direction:column;row-gap:1rem;width:100%;height:100%}.image-to-image-strength-main-option{display:flex;row-gap:.5rem!important}.image-to-image-strength-main-option .invokeai__slider-component-label{color:var(--text-color-secondary);font-size:.9rem!important}.init-image-preview-header{display:flex;align-items:center;justify-content:space-between;width:100%}.init-image-preview-header h2{font-weight:700;font-size:.9rem}.init-image-preview{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}.init-image-preview img{border-radius:.5rem;object-fit:contain;position:absolute}.image-to-image-current-image-display{position:relative}.floating-show-hide-button{position:absolute;top:50%;transform:translateY(-50%);z-index:20;padding:0;background-color:red!important;min-width:2rem;min-height:12rem;background-color:var(--btn-btn-base-color)!important}.floating-show-hide-button.left{left:0;border-radius:0 .5rem .5rem 0}.floating-show-hide-button.right{right:0;border-radius:.5rem 0 0 .5rem}.floating-show-hide-button:hover{background-color:var(--btn-btn-base-color-hover)}.floating-show-hide-button:disabled{background-color:var(--btn-base-color)}.floating-show-hide-button:disabled:hover{background-color:var(--btn-base-color)}.floating-show-hide-button svg{width:20px;height:20px;color:var(--btn-svg-color)}.show-hide-button-options{position:absolute;transform:translateY(-50%);z-index:20;min-width:2rem;top:50%;left:calc(42px + 2rem);border-radius:0 .5rem .5rem 0;display:flex;flex-direction:column;row-gap:.5rem}.show-hide-button-options button{border-radius:0 .3rem .3rem 0}.show-hide-button-gallery{padding-left:.75rem;padding-right:.75rem;background-color:var(--background-color)!important}.inpainting-main-area{display:flex;flex-direction:column;align-items:center;row-gap:1rem;width:100%;height:100%}.inpainting-main-area .inpainting-settings{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings svg{transform:scale(.9)}.inpainting-main-area .inpainting-settings .inpainting-buttons-group{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-button-dropdown{display:flex;flex-direction:column;row-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-color-picker{margin-left:1rem}.inpainting-main-area .inpainting-settings .inpainting-brush-options{display:flex;align-items:center;column-gap:1rem}.inpainting-canvas-area{display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:1rem;width:100%;height:100%}.inpainting-canvas-spiner{display:flex;align-items:center;width:100%;height:100%}.inpainting-canvas-container{display:flex;position:relative;height:100%;width:100%;border-radius:.5rem}.inpainting-canvas-wrapper{position:relative}.inpainting-canvas-stage{outline:none;border-radius:.5rem;box-shadow:0 0 0 1px var(--border-color-light);overflow:hidden}.inpainting-canvas-stage canvas{outline:none;border-radius:.5rem}.inpainting-options-btn{min-height:2rem}.canvas-status-text{position:absolute;top:0;left:0;background-color:var(--background-color);opacity:.65;display:flex;flex-direction:column;font-size:.8rem;padding:.25rem;min-width:12rem;border-radius:.25rem;margin:.25rem;pointer-events:none}.invokeai__number-input-form-control{display:flex;align-items:center;column-gap:1rem}.invokeai__number-input-form-control .invokeai__number-input-form-label{color:var(--text-color-secondary)}.invokeai__number-input-form-control .invokeai__number-input-form-label[data-focus]+.invokeai__number-input-root{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__number-input-form-control .invokeai__number-input-form-label[aria-invalid=true]+.invokeai__number-input-root{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__number-input-form-control .invokeai__number-input-root{height:2rem;display:grid;grid-template-columns:auto max-content;column-gap:.5rem;align-items:center;background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.3rem}.invokeai__number-input-form-control .invokeai__number-input-field{border:none;font-weight:700;width:100%;height:auto;font-size:.9rem;padding:0 .5rem}.invokeai__number-input-form-control .invokeai__number-input-field:focus{outline:none;box-shadow:none}.invokeai__number-input-form-control .invokeai__number-input-field:disabled{opacity:.2}.invokeai__number-input-form-control .invokeai__number-input-stepper{display:grid;padding-right:.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button{border:none;padding:0 .5rem;margin:0 -.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button svg{width:10px;height:10px}.input{display:grid;grid-template-columns:max-content auto;column-gap:1rem;align-items:center}.input .input-label{color:var(--text-color-secondary)}.input .input-entry{background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.2rem;font-weight:700}.input .input-entry:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.input .input-entry:disabled{opacity:.2}.input .input-entry[aria-invalid=true]{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__icon-button{background:var(--btn-base-color);cursor:pointer}.invokeai__icon-button:hover{background-color:var(--btn-base-color-hover)}.invokeai__icon-button[data-selected=true]{background-color:var(--accent-color)}.invokeai__icon-button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.invokeai__icon-button[disabled]{cursor:not-allowed}.invokeai__icon-button[data-variant=link],.invokeai__icon-button[data-variant=link]:hover{background:none}.invokeai__icon-button[data-as-checkbox=true]{background-color:var(--btn-base-color);border:3px solid var(--btn-base-color)}.invokeai__icon-button[data-as-checkbox=true] svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true]:hover{background-color:var(--btn-base-color);border-color:var(--btn-checkbox-border-hover)}.invokeai__icon-button[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true] svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-alert=true]{animation-name:pulseColor;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.invokeai__icon-button[data-alert=true]:hover{animation:none;background-color:var(--accent-color-hover)}@keyframes pulseColor{0%{background-color:var(--accent-color)}50%{background-color:var(--accent-color-dim)}to{background-color:var(--accent-color)}}.invokeai__button{background-color:var(--btn-base-color);place-content:center}.invokeai__button:hover{background-color:var(--btn-base-color-hover)}.invokeai__switch-form-control .invokeai__switch-form-label{color:var(--text-color-secondary)}.invokeai__switch-form-control .invokeai__switch-root span{background-color:var(--switch-bg-color)}.invokeai__switch-form-control .invokeai__switch-root span span{background-color:var(--white)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span{background:var(--switch-bg-active-color)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span span{background-color:var(--white)}.invokeai__select{display:flex;column-gap:1rem;align-items:center}.invokeai__select .invokeai__select-label{color:var(--text-color-secondary)}.invokeai__select .invokeai__select-picker{border:2px solid var(--border-color);background-color:var(--background-color-secondary);font-weight:700;font-size:.9rem;height:2rem;border-radius:.2rem}.invokeai__select .invokeai__select-picker:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__select .invokeai__select-option{background-color:var(--background-color-secondary);color:var(--text-color-secondary)}.invokeai__slider-component{padding-bottom:.5rem;border-radius:.5rem}.invokeai__slider-component .invokeai__slider-component-label{min-width:max-content;margin:0;font-weight:700;font-size:.9rem;color:var(--text-color-secondary)}.invokeai__slider-component .invokeai__slider_track{background-color:var(--tab-color)}.invokeai__slider-component .invokeai__slider_track-filled{background-color:var(--slider-color)}.invokeai__slider-component .invokeai__slider-thumb{width:4px}.invokeai__slider-component .invokeai__slider-mark{font-size:.75rem;font-weight:700;color:var(--slider-mark-color);margin-top:.3rem}.invokeai__slider-component .invokeai__slider-number-input{border:none;font-size:.9rem;font-weight:700;height:2rem;background-color:var(--background-color-secondary);border:2px solid var(--border-color)}.invokeai__slider-component .invokeai__slider-number-input:focus{outline:none;box-shadow:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__slider-component .invokeai__slider-number-input:disabled{opacity:.2}.invokeai__slider-component .invokeai__slider-number-stepper{border:none}.invokeai__slider-component[data-markers=true] .invokeai__slider_container{margin-top:-1rem}.invokeai__checkbox .chakra-checkbox__label{margin-top:1px;color:var(--text-color-secondary);font-size:.9rem}.invokeai__checkbox .chakra-checkbox__control{width:1rem;height:1rem;border:none;border-radius:.2rem;background-color:var(--input-checkbox-bg)}.invokeai__checkbox .chakra-checkbox__control svg{width:.6rem;height:.6rem;stroke-width:3px}.invokeai__checkbox .chakra-checkbox__control[data-checked]{color:var(--text-color);background-color:var(--input-checkbox-checked-bg)}.invokeai__popover-content{min-width:unset;width:unset;padding:1rem;border-radius:.5rem;background-color:var(--background-color);border:2px solid var(--border-color)}.invokeai__popover-content .invokeai__popover-arrow{background-color:var(--background-color)!important}.invokeai__color-picker .react-colorful__hue-pointer,.invokeai__color-picker .react-colorful__saturation-pointer{width:1.5rem;height:1.5rem;border-color:var(--white)}.dropzone-container{position:absolute;top:0;left:0;width:100vw;height:100vh;z-index:999;backdrop-filter:blur(20px)}.dropzone-container .dropzone-overlay{opacity:.5;width:100%;height:100%;display:flex;flex-direction:column;row-gap:1rem;align-items:center;justify-content:center;background-color:var(--background-color)}.dropzone-container .dropzone-overlay.is-drag-accept{box-shadow:inset 0 0 20rem 1rem var(--accent-color)}.dropzone-container .dropzone-overlay.is-drag-reject{box-shadow:inset 0 0 20rem 1rem var(--status-bad-color)}.dropzone-container .dropzone-overlay.is-handling-upload{box-shadow:inset 0 0 20rem 1rem var(--status-working-color)}.image-uploader-button-outer{width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:.5rem;color:var(--tab-list-text-inactive);background-color:var(--background-color)}.image-uploader-button-outer:hover{background-color:var(--background-color-light)}.image-upload-button-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.image-upload-button{display:flex;flex-direction:column;row-gap:2rem;align-items:center;justify-content:center;text-align:center}.image-upload-button svg{width:4rem;height:4rem}.image-upload-button h2{font-size:1.2rem}.work-in-progress{display:grid;width:100%;height:calc(100vh - (70px + 1rem));grid-auto-rows:max-content;background-color:var(--background-color-secondary);border-radius:.4rem;place-content:center;place-items:center;row-gap:1rem}.work-in-progress h1{font-size:2rem;font-weight:700}.work-in-progress p{text-align:center;max-width:50rem;color:var(--subtext-color-bright)}.guide-popover-arrow{background-color:var(--tab-panel-bg);box-shadow:none}.guide-popover-content{background-color:var(--background-color-secondary);border:none}.guide-popover-guide-content{background:var(--tab-panel-bg);border:2px solid var(--tab-hover-color);border-radius:.4rem;padding:.75rem 1rem;display:grid;grid-template-rows:repeat(auto-fill,1fr);grid-row-gap:.5rem;justify-content:space-between}.modal{background-color:var(--background-color-secondary);color:var(--text-color);font-family:Inter}.modal-close-btn{background-color:var(--btn-base-color)}.modal-close-btn:hover{background-color:var(--btn-base-color-hover)}.modal-close-btn:disabled:hover{background-color:var(--btn-base-color)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{-ms-overflow-style:none;scrollbar-width:none;background-color:var(--root-bg-color);overflow:hidden}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}#root{background-color:var(--root-bg-color);color:var(--text-color);font-family:Inter,Arial,Helvetica,sans-serif} diff --git a/invokeai/frontend/dist/assets/logo-13003d72.png b/invokeai/frontend/dist/assets/logo-13003d72.png deleted file mode 100644 index 54f8ed8a8fd834ca0968ef00770d2e288eb59780..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 44115 zcmbTc1z4QHvL=i>!QEX4m%&|v2X}Xu!QCym1$Phb1lQmYJOp=1aJQYDbMD!@yLaXP zdElYvo9fcHtGcVdXcZ+HR3t(q2nYz&kFt`g5D<{_fBz8Rz)$?%u4=&l5S?Xp+#n#3 zvHt!+LS*IOLqNce*{ExSv=tTj&72%qOw653Em*u9oWax(5P~9J&L(Dd79es{3o9E( zASjK6W_;$9BEsZ?Ui@GN4i+F2axVva zM>l>iAkSSv@^H zSv)yeoLsF~+4=bRSlKvOIXD1d3V@rpBgn)H;OIv69~>kt+{|2UoIy5Dj^uwinwUDd zgM=u-s{Ydk2j_pYb#(iepTHht^)hj0WoKdgYtugn&CUKz=j`rk{}18jW~>(W77iAU zAU7~A`@dyTpdin2HQB8SXr<-J6cha|J#lH5>EC`u3*7n?KuCTg`y(= zM@Ki1iKCgtM@b<{u+1zsHs<`iT$YwRCcJzA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u)5RFBoMHT0Fg*@4$CQ zDL*N;S~?K`Eo1zsX>J4h zgr?JewGsDWh{$!UimCa&fTCQWgfhHc#d2R$nj%0he_#*031U#_B2UQ_i8 z4)^T1^a57VJ3wqZDeM|=S3U`B`mlLGO_Rc=?-c-M8t~tk7*_gUYAjG7kyNAuqX}CW dk(7PGKf - - - - - InvokeAI - A Stable Diffusion Toolkit - - - - - - -
    - - - diff --git a/invokeai/frontend/dist/locales/common/de.json b/invokeai/frontend/dist/locales/common/de.json deleted file mode 100644 index a1b1a12739..0000000000 --- a/invokeai/frontend/dist/locales/common/de.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "hotkeysLabel": "Hotkeys", - "themeLabel": "Thema", - "languagePickerLabel": "Sprachauswahl", - "reportBugLabel": "Fehler melden", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Einstellungen", - "darkTheme": "Dunkel", - "lightTheme": "Hell", - "greenTheme": "Grün", - "langEnglish": "Englisch", - "langRussian": "Russisch", - "langItalian": "Italienisch", - "langPortuguese": "Portugiesisch", - "langFrench": "Französich", - "langGerman": "Deutsch", - "langSpanish": "Spanisch", - "text2img": "Text zu Bild", - "img2img": "Bild zu Bild", - "unifiedCanvas": "Unified Canvas", - "nodes": "Knoten", - "nodesDesc": "Ein knotenbasiertes System, für die Erzeugung von Bildern, ist derzeit in der Entwicklung. Bleiben Sie gespannt auf Updates zu dieser fantastischen Funktion.", - "postProcessing": "Nachbearbeitung", - "postProcessDesc1": "InvokeAI bietet eine breite Palette von Nachbearbeitungsfunktionen. Bildhochskalierung und Gesichtsrekonstruktion sind bereits in der WebUI verfügbar. Sie können sie über das Menü Erweiterte Optionen der Reiter Text in Bild und Bild in Bild aufrufen. Sie können Bilder auch direkt bearbeiten, indem Sie die Schaltflächen für Bildaktionen oberhalb der aktuellen Bildanzeige oder im Viewer verwenden.", - "postProcessDesc2": "Eine spezielle Benutzeroberfläche wird in Kürze veröffentlicht, um erweiterte Nachbearbeitungs-Workflows zu erleichtern.", - "postProcessDesc3": "Die InvokeAI Kommandozeilen-Schnittstelle bietet verschiedene andere Funktionen, darunter Embiggen.", - "training": "Training", - "trainingDesc1": "Ein spezieller Arbeitsablauf zum Trainieren Ihrer eigenen Embeddings und Checkpoints mit Textual Inversion und Dreambooth über die Weboberfläche.", - "trainingDesc2": "InvokeAI unterstützt bereits das Training von benutzerdefinierten Embeddings mit Textual Inversion unter Verwendung des Hauptskripts.", - "upload": "Upload", - "close": "Schließen", - "load": "Laden", - "statusConnected": "Verbunden", - "statusDisconnected": "Getrennt", - "statusError": "Fehler", - "statusPreparing": "Vorbereiten", - "statusProcessingCanceled": "Verarbeitung abgebrochen", - "statusProcessingComplete": "Verarbeitung komplett", - "statusGenerating": "Generieren", - "statusGeneratingTextToImage": "Erzeugen von Text zu Bild", - "statusGeneratingImageToImage": "Erzeugen von Bild zu Bild", - "statusGeneratingInpainting": "Erzeuge Inpainting", - "statusGeneratingOutpainting": "Erzeuge Outpainting", - "statusGenerationComplete": "Generierung abgeschlossen", - "statusIterationComplete": "Iteration abgeschlossen", - "statusSavingImage": "Speichere Bild", - "statusRestoringFaces": "Gesichter restaurieren", - "statusRestoringFacesGFPGAN": "Gesichter restaurieren (GFPGAN)", - "statusRestoringFacesCodeFormer": "Gesichter restaurieren (CodeFormer)", - "statusUpscaling": "Hochskalierung", - "statusUpscalingESRGAN": "Hochskalierung (ESRGAN)", - "statusLoadingModel": "Laden des Modells", - "statusModelChanged": "Modell Geändert" -} diff --git a/invokeai/frontend/dist/locales/common/en-US.json b/invokeai/frontend/dist/locales/common/en-US.json deleted file mode 100644 index 7d38074520..0000000000 --- a/invokeai/frontend/dist/locales/common/en-US.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "hotkeysLabel": "Hotkeys", - "themeLabel": "Theme", - "languagePickerLabel": "Language Picker", - "reportBugLabel": "Report Bug", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Settings", - "darkTheme": "Dark", - "lightTheme": "Light", - "greenTheme": "Green", - "langEnglish": "English", - "langRussian": "Russian", - "langItalian": "Italian", - "langBrPortuguese": "Portuguese (Brazilian)", - "langGerman": "German", - "langPortuguese": "Portuguese", - "langFrench": "French", - "langPolish": "Polish", - "langSimplifiedChinese": "Simplified Chinese", - "langSpanish": "Spanish", - "langJapanese": "Japanese", - "langDutch": "Dutch", - "langUkranian": "Ukranian", - "text2img": "Text To Image", - "img2img": "Image To Image", - "unifiedCanvas": "Unified Canvas", - "nodes": "Nodes", - "nodesDesc": "A node based system for the generation of images is under development currently. Stay tuned for updates about this amazing feature.", - "postProcessing": "Post Processing", - "postProcessDesc1": "Invoke AI offers a wide variety of post processing features. Image Upscaling and Face Restoration are already available in the WebUI. You can access them from the Advanced Options menu of the Text To Image and Image To Image tabs. You can also process images directly, using the image action buttons above the current image display or in the viewer.", - "postProcessDesc2": "A dedicated UI will be released soon to facilitate more advanced post processing workflows.", - "postProcessDesc3": "The Invoke AI Command Line Interface offers various other features including Embiggen.", - "training": "Training", - "trainingDesc1": "A dedicated workflow for training your own embeddings and checkpoints using Textual Inversion and Dreambooth from the web interface.", - "trainingDesc2": "InvokeAI already supports training custom embeddings using Textual Inversion using the main script.", - "upload": "Upload", - "close": "Close", - "load": "Load", - "back": "Back", - "statusConnected": "Connected", - "statusDisconnected": "Disconnected", - "statusError": "Error", - "statusPreparing": "Preparing", - "statusProcessingCanceled": "Processing Canceled", - "statusProcessingComplete": "Processing Complete", - "statusGenerating": "Generating", - "statusGeneratingTextToImage": "Generating Text To Image", - "statusGeneratingImageToImage": "Generating Image To Image", - "statusGeneratingInpainting": "Generating Inpainting", - "statusGeneratingOutpainting": "Generating Outpainting", - "statusGenerationComplete": "Generation Complete", - "statusIterationComplete": "Iteration Complete", - "statusSavingImage": "Saving Image", - "statusRestoringFaces": "Restoring Faces", - "statusRestoringFacesGFPGAN": "Restoring Faces (GFPGAN)", - "statusRestoringFacesCodeFormer": "Restoring Faces (CodeFormer)", - "statusUpscaling": "Upscaling", - "statusUpscalingESRGAN": "Upscaling (ESRGAN)", - "statusLoadingModel": "Loading Model", - "statusModelChanged": "Model Changed" -} diff --git a/invokeai/frontend/dist/locales/common/en.json b/invokeai/frontend/dist/locales/common/en.json deleted file mode 100644 index 7d38074520..0000000000 --- a/invokeai/frontend/dist/locales/common/en.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "hotkeysLabel": "Hotkeys", - "themeLabel": "Theme", - "languagePickerLabel": "Language Picker", - "reportBugLabel": "Report Bug", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Settings", - "darkTheme": "Dark", - "lightTheme": "Light", - "greenTheme": "Green", - "langEnglish": "English", - "langRussian": "Russian", - "langItalian": "Italian", - "langBrPortuguese": "Portuguese (Brazilian)", - "langGerman": "German", - "langPortuguese": "Portuguese", - "langFrench": "French", - "langPolish": "Polish", - "langSimplifiedChinese": "Simplified Chinese", - "langSpanish": "Spanish", - "langJapanese": "Japanese", - "langDutch": "Dutch", - "langUkranian": "Ukranian", - "text2img": "Text To Image", - "img2img": "Image To Image", - "unifiedCanvas": "Unified Canvas", - "nodes": "Nodes", - "nodesDesc": "A node based system for the generation of images is under development currently. Stay tuned for updates about this amazing feature.", - "postProcessing": "Post Processing", - "postProcessDesc1": "Invoke AI offers a wide variety of post processing features. Image Upscaling and Face Restoration are already available in the WebUI. You can access them from the Advanced Options menu of the Text To Image and Image To Image tabs. You can also process images directly, using the image action buttons above the current image display or in the viewer.", - "postProcessDesc2": "A dedicated UI will be released soon to facilitate more advanced post processing workflows.", - "postProcessDesc3": "The Invoke AI Command Line Interface offers various other features including Embiggen.", - "training": "Training", - "trainingDesc1": "A dedicated workflow for training your own embeddings and checkpoints using Textual Inversion and Dreambooth from the web interface.", - "trainingDesc2": "InvokeAI already supports training custom embeddings using Textual Inversion using the main script.", - "upload": "Upload", - "close": "Close", - "load": "Load", - "back": "Back", - "statusConnected": "Connected", - "statusDisconnected": "Disconnected", - "statusError": "Error", - "statusPreparing": "Preparing", - "statusProcessingCanceled": "Processing Canceled", - "statusProcessingComplete": "Processing Complete", - "statusGenerating": "Generating", - "statusGeneratingTextToImage": "Generating Text To Image", - "statusGeneratingImageToImage": "Generating Image To Image", - "statusGeneratingInpainting": "Generating Inpainting", - "statusGeneratingOutpainting": "Generating Outpainting", - "statusGenerationComplete": "Generation Complete", - "statusIterationComplete": "Iteration Complete", - "statusSavingImage": "Saving Image", - "statusRestoringFaces": "Restoring Faces", - "statusRestoringFacesGFPGAN": "Restoring Faces (GFPGAN)", - "statusRestoringFacesCodeFormer": "Restoring Faces (CodeFormer)", - "statusUpscaling": "Upscaling", - "statusUpscalingESRGAN": "Upscaling (ESRGAN)", - "statusLoadingModel": "Loading Model", - "statusModelChanged": "Model Changed" -} diff --git a/invokeai/frontend/dist/locales/common/es.json b/invokeai/frontend/dist/locales/common/es.json deleted file mode 100644 index f4259cdaf2..0000000000 --- a/invokeai/frontend/dist/locales/common/es.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "hotkeysLabel": "Atajos de teclado", - "themeLabel": "Tema", - "languagePickerLabel": "Selector de idioma", - "reportBugLabel": "Reportar errores", - "githubLabel": "GitHub", - "discordLabel": "Discord", - "settingsLabel": "Ajustes", - "darkTheme": "Oscuro", - "lightTheme": "Claro", - "greenTheme": "Verde", - "langEnglish": "Inglés", - "langRussian": "Ruso", - "langItalian": "Italiano", - "langBrPortuguese": "Portugués (Brasil)", - "langGerman": "Alemán", - "langPortuguese": "Portugués", - "langFrench": "French", - "langPolish": "Polish", - "langSpanish": "Español", - "text2img": "Texto a Imagen", - "img2img": "Imagen a Imagen", - "unifiedCanvas": "Lienzo Unificado", - "nodes": "Nodos", - "nodesDesc": "Un sistema de generación de imágenes basado en nodos, actualmente se encuentra en desarrollo. Mantente pendiente a nuestras actualizaciones acerca de esta fabulosa funcionalidad.", - "postProcessing": "Post-procesamiento", - "postProcessDesc1": "Invoke AI ofrece una gran variedad de funciones de post-procesamiento, El aumento de tamaño y Restauración de Rostros ya se encuentran disponibles en la interfaz web, puedes acceder desde el menú de Opciones Avanzadas en las pestañas de Texto a Imagen y de Imagen a Imagen. También puedes acceder a estas funciones directamente mediante el botón de acciones en el menú superior de la imagen actual o en el visualizador", - "postProcessDesc2": "Una interfaz de usuario dedicada se lanzará pronto para facilitar flujos de trabajo de postprocesamiento más avanzado.", - "postProcessDesc3": "La Interfaz de Línea de Comandos de Invoke AI ofrece muchas otras características, incluyendo -Embiggen-.", - "training": "Entrenamiento", - "trainingDesc1": "Un flujo de trabajo dedicado para el entrenamiento de sus propios -embeddings- y puntos de control utilizando Inversión Textual y Dreambooth desde la interfaz web.", - "trainingDesc2": "InvokeAI already supports training custom embeddings using Textual Inversion using the main script.", - "trainingDesc2": "InvokeAI ya soporta el entrenamiento de -embeddings- personalizados utilizando la Inversión Textual mediante el script principal.", - "upload": "Subir imagen", - "close": "Cerrar", - "load": "Cargar", - "statusConnected": "Conectado", - "statusDisconnected": "Desconectado", - "statusError": "Error", - "statusPreparing": "Preparando", - "statusProcessingCanceled": "Procesamiento Cancelado", - "statusProcessingComplete": "Procesamiento Completo", - "statusGenerating": "Generando", - "statusGeneratingTextToImage": "Generando Texto a Imagen", - "statusGeneratingImageToImage": "Generando Imagen a Imagen", - "statusGeneratingInpainting": "Generando pintura interior", - "statusGeneratingOutpainting": "Generando pintura exterior", - "statusGenerationComplete": "Generación Completa", - "statusIterationComplete": "Iteración Completa", - "statusSavingImage": "Guardando Imagen", - "statusRestoringFaces": "Restaurando Rostros", - "statusRestoringFacesGFPGAN": "Restaurando Rostros (GFPGAN)", - "statusRestoringFacesCodeFormer": "Restaurando Rostros (CodeFormer)", - "statusUpscaling": "Aumentando Tamaño", - "statusUpscalingESRGAN": "Restaurando Rostros(ESRGAN)", - "statusLoadingModel": "Cargando Modelo", - "statusModelChanged": "Modelo cambiado" -} diff --git a/invokeai/frontend/dist/locales/common/fr.json b/invokeai/frontend/dist/locales/common/fr.json deleted file mode 100644 index f276a91644..0000000000 --- a/invokeai/frontend/dist/locales/common/fr.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "hotkeysLabel": "Raccourcis clavier", - "themeLabel": "Thème", - "languagePickerLabel": "Sélecteur de langue", - "reportBugLabel": "Signaler un bug", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Paramètres", - "darkTheme": "Sombre", - "lightTheme": "Clair", - "greenTheme": "Vert", - "langEnglish": "Anglais", - "langRussian": "Russe", - "langItalian": "Italien", - "langBrPortuguese": "Portugais (Brésilien)", - "langGerman": "Allemand", - "langPortuguese": "Portugais", - "langFrench": "Français", - "langPolish": "Polonais", - "langSimplifiedChinese": "Chinois simplifié", - "langSpanish": "Espagnol", - "langJapanese": "Japonais", - "langDutch": "Néerlandais", - "text2img": "Texte en image", - "img2img": "Image en image", - "unifiedCanvas": "Canvas unifié", - "nodes": "Nœuds", - "nodesDesc": "Un système basé sur les nœuds pour la génération d'images est actuellement en développement. Restez à l'écoute pour des mises à jour à ce sujet.", - "postProcessing": "Post-traitement", - "postProcessDesc1": "Invoke AI offre une grande variété de fonctionnalités de post-traitement. Le redimensionnement d'images et la restauration de visages sont déjà disponibles dans la WebUI. Vous pouvez y accéder à partir du menu Options avancées des onglets Texte en image et Image en image. Vous pouvez également traiter les images directement en utilisant les boutons d'action d'image ci-dessus l'affichage d'image actuel ou dans le visualiseur.", - "postProcessDesc2": "Une interface utilisateur dédiée sera bientôt disponible pour faciliter les workflows de post-traitement plus avancés.", - "postProcessDesc3": "L'interface en ligne de commande d'Invoke AI offre diverses autres fonctionnalités, notamment Embiggen.", - "training": "Formation", - "trainingDesc1": "Un workflow dédié pour former vos propres embeddings et checkpoints en utilisant Textual Inversion et Dreambooth depuis l'interface web.", - "trainingDesc2": "InvokeAI prend déjà en charge la formation d'embeddings personnalisés en utilisant Textual Inversion en utilisant le script principal.", - "upload": "Télécharger", - "close": "Fermer", - "load": "Charger", - "back": "Retour", - "statusConnected": "Connecté", - "statusDisconnected": "Déconnecté", - "statusError": "Erreur", - "statusPreparing": "Préparation", - "statusProcessingCanceled": "Traitement Annulé", - "statusProcessingComplete": "Traitement Terminé", - "statusGenerating": "Génération", - "statusGeneratingTextToImage": "Génération Texte vers Image", - "statusGeneratingImageToImage": "Génération Image vers Image", - "statusGeneratingInpainting": "Génération de Réparation", - "statusGeneratingOutpainting": "Génération de Completion", - "statusGenerationComplete": "Génération Terminée", - "statusIterationComplete": "Itération Terminée", - "statusSavingImage": "Sauvegarde de l'Image", - "statusRestoringFaces": "Restauration des Visages", - "statusRestoringFacesGFPGAN": "Restauration des Visages (GFPGAN)", - "statusRestoringFacesCodeFormer": "Restauration des Visages (CodeFormer)", - "statusUpscaling": "Mise à Échelle", - "statusUpscalingESRGAN": "Mise à Échelle (ESRGAN)", - "statusLoadingModel": "Chargement du Modèle", - "statusModelChanged": "Modèle Changé" - -} diff --git a/invokeai/frontend/dist/locales/common/it.json b/invokeai/frontend/dist/locales/common/it.json deleted file mode 100644 index d96f5cc32c..0000000000 --- a/invokeai/frontend/dist/locales/common/it.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "hotkeysLabel": "Tasti di scelta rapida", - "themeLabel": "Tema", - "languagePickerLabel": "Seleziona lingua", - "reportBugLabel": "Segnala un errore", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Impostazioni", - "darkTheme": "Scuro", - "lightTheme": "Chiaro", - "greenTheme": "Verde", - "langEnglish": "Inglese", - "langRussian": "Russo", - "langItalian": "Italiano", - "langBrPortuguese": "Portoghese (Brasiliano)", - "langGerman": "Tedesco", - "langPortuguese": "Portoghese", - "langFrench": "Francese", - "langPolish": "Polacco", - "langSimplifiedChinese": "Cinese semplificato", - "langSpanish": "Spagnolo", - "langJapanese": "Giapponese", - "langDutch": "Olandese", - "text2img": "Testo a Immagine", - "img2img": "Immagine a Immagine", - "unifiedCanvas": "Tela unificata", - "nodes": "Nodi", - "nodesDesc": "Attualmente è in fase di sviluppo un sistema basato su nodi per la generazione di immagini. Resta sintonizzato per gli aggiornamenti su questa fantastica funzionalità.", - "postProcessing": "Post-elaborazione", - "postProcessDesc1": "Invoke AI offre un'ampia varietà di funzionalità di post-elaborazione. Ampiamento Immagine e Restaura i Volti sono già disponibili nell'interfaccia Web. È possibile accedervi dal menu 'Opzioni avanzate' delle schede 'Testo a Immagine' e 'Immagine a Immagine'. È inoltre possibile elaborare le immagini direttamente, utilizzando i pulsanti di azione dell'immagine sopra la visualizzazione dell'immagine corrente o nel visualizzatore.", - "postProcessDesc2": "Presto verrà rilasciata un'interfaccia utente dedicata per facilitare flussi di lavoro di post-elaborazione più avanzati.", - "postProcessDesc3": "L'interfaccia da riga di comando di 'Invoke AI' offre varie altre funzionalità tra cui Embiggen.", - "training": "Addestramento", - "trainingDesc1": "Un flusso di lavoro dedicato per addestrare i tuoi incorporamenti e checkpoint utilizzando Inversione Testuale e Dreambooth dall'interfaccia web.", - "trainingDesc2": "InvokeAI supporta già l'addestramento di incorporamenti personalizzati utilizzando l'inversione testuale utilizzando lo script principale.", - "upload": "Caricamento", - "close": "Chiudi", - "load": "Carica", - "back": "Indietro", - "statusConnected": "Collegato", - "statusDisconnected": "Disconnesso", - "statusError": "Errore", - "statusPreparing": "Preparazione", - "statusProcessingCanceled": "Elaborazione annullata", - "statusProcessingComplete": "Elaborazione completata", - "statusGenerating": "Generazione in corso", - "statusGeneratingTextToImage": "Generazione da Testo a Immagine", - "statusGeneratingImageToImage": "Generazione da Immagine a Immagine", - "statusGeneratingInpainting": "Generazione Inpainting", - "statusGeneratingOutpainting": "Generazione Outpainting", - "statusGenerationComplete": "Generazione completata", - "statusIterationComplete": "Iterazione completata", - "statusSavingImage": "Salvataggio dell'immagine", - "statusRestoringFaces": "Restaura i volti", - "statusRestoringFacesGFPGAN": "Restaura volti (GFPGAN)", - "statusRestoringFacesCodeFormer": "Restaura volti (CodeFormer)", - "statusUpscaling": "Ampliamento", - "statusUpscalingESRGAN": "Ampliamento (ESRGAN)", - "statusLoadingModel": "Caricamento del modello", - "statusModelChanged": "Modello cambiato" -} diff --git a/invokeai/frontend/dist/locales/common/ja.json b/invokeai/frontend/dist/locales/common/ja.json deleted file mode 100644 index 94653b28d4..0000000000 --- a/invokeai/frontend/dist/locales/common/ja.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "hotkeysLabel": "Hotkeys", - "themeLabel": "テーマ", - "languagePickerLabel": "言語選択", - "reportBugLabel": "バグ報告", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "設定", - "darkTheme": "ダーク", - "lightTheme": "ライト", - "greenTheme": "緑", - "langEnglish": "English", - "langRussian": "Russian", - "langItalian": "Italian", - "langBrPortuguese": "Portuguese (Brazilian)", - "langGerman": "German", - "langPortuguese": "Portuguese", - "langFrench": "French", - "langPolish": "Polish", - "langSimplifiedChinese": "Simplified Chinese", - "langSpanish": "Spanish", - "text2img": "Text To Image", - "img2img": "Image To Image", - "unifiedCanvas": "Unified Canvas", - "nodes": "Nodes", - "nodesDesc": "現在、画像生成のためのノードベースシステムを開発中です。機能についてのアップデートにご期待ください。", - "postProcessing": "後処理", - "postProcessDesc1": "Invoke AIは、多彩な後処理の機能を備えています。アップスケーリングと顔修復は、すでにWebUI上で利用可能です。これらは、[Text To Image]および[Image To Image]タブの[詳細オプション]メニューからアクセスできます。また、現在の画像表示の上やビューア内の画像アクションボタンを使って、画像を直接処理することもできます。", - "postProcessDesc2": "より高度な後処理の機能を実現するための専用UIを近日中にリリース予定です。", - "postProcessDesc3": "Invoke AI CLIでは、この他にもEmbiggenをはじめとする様々な機能を利用することができます。", - "training": "追加学習", - "trainingDesc1": "Textual InversionとDreamboothを使って、WebUIから独自のEmbeddingとチェックポイントを追加学習するための専用ワークフローです。", - "trainingDesc2": "InvokeAIは、すでにメインスクリプトを使ったTextual Inversionによるカスタム埋め込み追加学習にも対応しています。", - "upload": "アップロード", - "close": "閉じる", - "load": "ロード", - "back": "戻る", - "statusConnected": "接続済", - "statusDisconnected": "切断済", - "statusError": "エラー", - "statusPreparing": "準備中", - "statusProcessingCanceled": "処理をキャンセル", - "statusProcessingComplete": "処理完了", - "statusGenerating": "生成中", - "statusGeneratingTextToImage": "Text To Imageで生成中", - "statusGeneratingImageToImage": "Image To Imageで生成中", - "statusGeneratingInpainting": "Generating Inpainting", - "statusGeneratingOutpainting": "Generating Outpainting", - "statusGenerationComplete": "生成完了", - "statusIterationComplete": "Iteration Complete", - "statusSavingImage": "画像を保存", - "statusRestoringFaces": "顔の修復", - "statusRestoringFacesGFPGAN": "顔の修復 (GFPGAN)", - "statusRestoringFacesCodeFormer": "顔の修復 (CodeFormer)", - "statusUpscaling": "アップスケーリング", - "statusUpscalingESRGAN": "アップスケーリング (ESRGAN)", - "statusLoadingModel": "モデルを読み込む", - "statusModelChanged": "モデルを変更" - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/common/nl.json b/invokeai/frontend/dist/locales/common/nl.json deleted file mode 100644 index c61d97b9a7..0000000000 --- a/invokeai/frontend/dist/locales/common/nl.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "hotkeysLabel": "Sneltoetsen", - "themeLabel": "Thema", - "languagePickerLabel": "Taalkeuze", - "reportBugLabel": "Meld bug", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Instellingen", - "darkTheme": "Donker", - "lightTheme": "Licht", - "greenTheme": "Groen", - "langEnglish": "Engels", - "langRussian": "Russisch", - "langItalian": "Italiaans", - "langBrPortuguese": "Portugees (Braziliaans)", - "langGerman": "Duits", - "langPortuguese": "Portugees", - "langFrench": "Frans", - "langPolish": "Pools", - "langSimplifiedChinese": "Vereenvoudigd Chinees", - "langSpanish": "Spaans", - "langDutch": "Nederlands", - "text2img": "Tekst naar afbeelding", - "img2img": "Afbeelding naar afbeelding", - "unifiedCanvas": "Centraal canvas", - "nodes": "Knooppunten", - "nodesDesc": "Een op knooppunten gebaseerd systeem voor het genereren van afbeeldingen is momenteel in ontwikkeling. Blijf op de hoogte voor nieuws over deze verbluffende functie.", - "postProcessing": "Naverwerking", - "postProcessDesc1": "Invoke AI biedt een breed scala aan naverwerkingsfuncties. Afbeeldingsopschaling en Gezichtsherstel zijn al beschikbaar in de web-UI. Je kunt ze openen via het menu Uitgebreide opties in de tabbladen Tekst naar afbeelding en Afbeelding naar afbeelding. Je kunt een afbeelding ook direct verwerken via de afbeeldingsactieknoppen boven de weergave van de huidigde afbeelding of in de Viewer.", - "postProcessDesc2": "Een individuele gebruikersinterface voor uitgebreidere naverwerkingsworkflows.", - "postProcessDesc3": "De opdrachtregelinterface van InvokeAI biedt diverse andere functies, waaronder Embiggen.", - "training": "Training", - "trainingDesc1": "Een individuele workflow in de webinterface voor het trainen van je eigen embeddings en checkpoints via Textual Inversion en Dreambooth.", - "trainingDesc2": "InvokeAI ondersteunt al het trainen van eigen embeddings via Textual Inversion via het hoofdscript.", - "upload": "Upload", - "close": "Sluit", - "load": "Laad", - "statusConnected": "Verbonden", - "statusDisconnected": "Niet verbonden", - "statusError": "Fout", - "statusPreparing": "Voorbereiden", - "statusProcessingCanceled": "Verwerking geannuleerd", - "statusProcessingComplete": "Verwerking voltooid", - "statusGenerating": "Genereren", - "statusGeneratingTextToImage": "Genereren van tekst naar afbeelding", - "statusGeneratingImageToImage": "Genereren van afbeelding naar afbeelding", - "statusGeneratingInpainting": "Genereren van Inpainting", - "statusGeneratingOutpainting": "Genereren van Outpainting", - "statusGenerationComplete": "Genereren voltooid", - "statusIterationComplete": "Iteratie voltooid", - "statusSavingImage": "Afbeelding bewaren", - "statusRestoringFaces": "Gezichten herstellen", - "statusRestoringFacesGFPGAN": "Gezichten herstellen (GFPGAN)", - "statusRestoringFacesCodeFormer": "Gezichten herstellen (CodeFormer)", - "statusUpscaling": "Opschaling", - "statusUpscalingESRGAN": "Opschaling (ESRGAN)", - "statusLoadingModel": "Laden van model", - "statusModelChanged": "Model gewijzigd" -} diff --git a/invokeai/frontend/dist/locales/common/pl.json b/invokeai/frontend/dist/locales/common/pl.json deleted file mode 100644 index 2b9f3b5903..0000000000 --- a/invokeai/frontend/dist/locales/common/pl.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "hotkeysLabel": "Skróty klawiszowe", - "themeLabel": "Motyw", - "languagePickerLabel": "Wybór języka", - "reportBugLabel": "Zgłoś błąd", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Ustawienia", - "darkTheme": "Ciemny", - "lightTheme": "Jasny", - "greenTheme": "Zielony", - "langEnglish": "Angielski", - "langRussian": "Rosyjski", - "langItalian": "Włoski", - "langPortuguese": "Portugalski", - "langFrench": "Francuski", - "langPolish": "Polski", - "langSpanish": "Hiszpański", - "text2img": "Tekst na obraz", - "img2img": "Obraz na obraz", - "unifiedCanvas": "Tryb uniwersalny", - "nodes": "Węzły", - "nodesDesc": "W tym miejscu powstanie graficzny system generowania obrazów oparty na węzłach. Jest na co czekać!", - "postProcessing": "Przetwarzanie końcowe", - "postProcessDesc1": "Invoke AI oferuje wiele opcji przetwarzania końcowego. Z poziomu przeglądarki dostępne jest już zwiększanie rozdzielczości oraz poprawianie twarzy. Znajdziesz je wśród ustawień w trybach \"Tekst na obraz\" oraz \"Obraz na obraz\". Są również obecne w pasku menu wyświetlanym nad podglądem wygenerowanego obrazu.", - "postProcessDesc2": "Niedługo zostanie udostępniony specjalny interfejs, który będzie oferował jeszcze więcej możliwości.", - "postProcessDesc3": "Z poziomu linii poleceń już teraz dostępne są inne opcje, takie jak skalowanie obrazu metodą Embiggen.", - "training": "Trenowanie", - "trainingDesc1": "W tym miejscu dostępny będzie system przeznaczony do tworzenia własnych zanurzeń (ang. embeddings) i punktów kontrolnych przy użyciu metod w rodzaju inwersji tekstowej lub Dreambooth.", - "trainingDesc2": "Obecnie jest możliwe tworzenie własnych zanurzeń przy użyciu skryptów wywoływanych z linii poleceń.", - "upload": "Prześlij", - "close": "Zamknij", - "load": "Załaduj", - "statusConnected": "Połączono z serwerem", - "statusDisconnected": "Odłączono od serwera", - "statusError": "Błąd", - "statusPreparing": "Przygotowywanie", - "statusProcessingCanceled": "Anulowano przetwarzanie", - "statusProcessingComplete": "Zakończono przetwarzanie", - "statusGenerating": "Przetwarzanie", - "statusGeneratingTextToImage": "Przetwarzanie tekstu na obraz", - "statusGeneratingImageToImage": "Przetwarzanie obrazu na obraz", - "statusGeneratingInpainting": "Przemalowywanie", - "statusGeneratingOutpainting": "Domalowywanie", - "statusGenerationComplete": "Zakończono generowanie", - "statusIterationComplete": "Zakończono iterację", - "statusSavingImage": "Zapisywanie obrazu", - "statusRestoringFaces": "Poprawianie twarzy", - "statusRestoringFacesGFPGAN": "Poprawianie twarzy (GFPGAN)", - "statusRestoringFacesCodeFormer": "Poprawianie twarzy (CodeFormer)", - "statusUpscaling": "Powiększanie obrazu", - "statusUpscalingESRGAN": "Powiększanie (ESRGAN)", - "statusLoadingModel": "Wczytywanie modelu", - "statusModelChanged": "Zmieniono model" -} diff --git a/invokeai/frontend/dist/locales/common/pt.json b/invokeai/frontend/dist/locales/common/pt.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/common/pt.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/common/pt_br.json b/invokeai/frontend/dist/locales/common/pt_br.json deleted file mode 100644 index 295bcf8184..0000000000 --- a/invokeai/frontend/dist/locales/common/pt_br.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "hotkeysLabel": "Teclas de atalho", - "themeLabel": "Tema", - "languagePickerLabel": "Seletor de Idioma", - "reportBugLabel": "Relatar Bug", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Configurações", - "darkTheme": "Noite", - "lightTheme": "Dia", - "greenTheme": "Verde", - "langEnglish": "English", - "langRussian": "Russian", - "langItalian": "Italian", - "langBrPortuguese": "Português do Brasil", - "langPortuguese": "Portuguese", - "langFrench": "French", - "langSpanish": "Spanish", - "text2img": "Texto Para Imagem", - "img2img": "Imagem Para Imagem", - "unifiedCanvas": "Tela Unificada", - "nodes": "Nódulos", - "nodesDesc": "Um sistema baseado em nódulos para geração de imagens está em contrução. Fique ligado para atualizações sobre essa funcionalidade incrível.", - "postProcessing": "Pós-processamento", - "postProcessDesc1": "Invoke AI oferece uma variedade e funcionalidades de pós-processamento. Redimensionador de Imagem e Restauração Facial já estão disponíveis na interface. Você pode acessar elas no menu de Opções Avançadas na aba de Texto para Imagem e Imagem para Imagem. Você também pode processar imagens diretamente, usando os botões de ação de imagem acima da atual tela de imagens ou visualizador.", - "postProcessDesc2": "Uma interface dedicada será lançada em breve para facilitar fluxos de trabalho com opções mais avançadas de pós-processamento.", - "postProcessDesc3": "A interface do comando de linha da Invoke oferece várias funcionalidades incluindo Ampliação.", - "training": "Treinando", - "trainingDesc1": "Um fluxo de trabalho dedicado para treinar suas próprias incorporações e chockpoints usando Inversão Textual e Dreambooth na interface web.", - "trainingDesc2": "InvokeAI já suporta treinar incorporações personalizadas usando Inversão Textual com o script principal.", - "upload": "Enviar", - "close": "Fechar", - "load": "Carregar", - "statusConnected": "Conectado", - "statusDisconnected": "Disconectado", - "statusError": "Erro", - "statusPreparing": "Preparando", - "statusProcessingCanceled": "Processamento Canceledo", - "statusProcessingComplete": "Processamento Completo", - "statusGenerating": "Gerando", - "statusGeneratingTextToImage": "Gerando Texto Para Imagem", - "statusGeneratingImageToImage": "Gerando Imagem Para Imagem", - "statusGeneratingInpainting": "Gerando Inpainting", - "statusGeneratingOutpainting": "Gerando Outpainting", - "statusGenerationComplete": "Geração Completa", - "statusIterationComplete": "Iteração Completa", - "statusSavingImage": "Salvando Imagem", - "statusRestoringFaces": "Restaurando Rostos", - "statusRestoringFacesGFPGAN": "Restaurando Rostos (GFPGAN)", - "statusRestoringFacesCodeFormer": "Restaurando Rostos (CodeFormer)", - "statusUpscaling": "Redimensinando", - "statusUpscalingESRGAN": "Redimensinando (ESRGAN)", - "statusLoadingModel": "Carregando Modelo", - "statusModelChanged": "Modelo Alterado" -} diff --git a/invokeai/frontend/dist/locales/common/ru.json b/invokeai/frontend/dist/locales/common/ru.json deleted file mode 100644 index efa54fcd47..0000000000 --- a/invokeai/frontend/dist/locales/common/ru.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "hotkeysLabel": "Горячие клавиши", - "themeLabel": "Тема", - "languagePickerLabel": "Язык", - "reportBugLabel": "Сообщить об ошибке", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Настройка", - "darkTheme": "Темная", - "lightTheme": "Светлая", - "greenTheme": "Зеленая", - "langEnglish": "English", - "langRussian": "Русский", - "langItalian": "Italian", - "langPortuguese": "Portuguese", - "langFrench": "French", - "langSpanish": "Spanish", - "text2img": "Изображение из текста (text2img)", - "img2img": "Изображение в изображение (img2img)", - "unifiedCanvas": "Универсальный холст", - "nodes": "Ноды", - "nodesDesc": "Cистема генерации изображений на основе нодов (узлов) уже разрабатывается. Следите за новостями об этой замечательной функции.", - "postProcessing": "Постобработка", - "postProcessDesc1": "Invoke AI предлагает широкий спектр функций постобработки. Увеличение изображения (upscale) и восстановление лиц уже доступны в интерфейсе. Получите доступ к ним из меню 'Дополнительные параметры' на вкладках 'Текст в изображение' и 'Изображение в изображение'. Обрабатывайте изображения напрямую, используя кнопки действий с изображениями над текущим изображением или в режиме просмотра.", - "postProcessDesc2": "В ближайшее время будет выпущен специальный интерфейс для более продвинутых процессов постобработки.", - "postProcessDesc3": "Интерфейс командной строки Invoke AI предлагает различные другие функции, включая увеличение Embiggen", - "training": "Обучение", - "trainingDesc1": "Специальный интерфейс для обучения собственных моделей с использованием Textual Inversion и Dreambooth", - "trainingDesc2": "InvokeAI уже поддерживает обучение моделей с помощью TI, через интерфейс командной строки.", - "upload": "Загрузить", - "close": "Закрыть", - "load": "Загрузить", - "statusConnected": "Подключен", - "statusDisconnected": "Отключен", - "statusError": "Ошибка", - "statusPreparing": "Подготовка", - "statusProcessingCanceled": "Обработка прервана", - "statusProcessingComplete": "Обработка завершена", - "statusGenerating": "Генерация", - "statusGeneratingTextToImage": "Создаем изображение из текста", - "statusGeneratingImageToImage": "Создаем изображение из изображения", - "statusGeneratingInpainting": "Дополняем внутри", - "statusGeneratingOutpainting": "Дорисовываем снаружи", - "statusGenerationComplete": "Генерация завершена", - "statusIterationComplete": "Итерация завершена", - "statusSavingImage": "Сохранение изображения", - "statusRestoringFaces": "Восстановление лиц", - "statusRestoringFacesGFPGAN": "Восстановление лиц (GFPGAN)", - "statusRestoringFacesCodeFormer": "Восстановление лиц (CodeFormer)", - "statusUpscaling": "Увеличение", - "statusUpscalingESRGAN": "Увеличение (ESRGAN)", - "statusLoadingModel": "Загрузка модели", - "statusModelChanged": "Модель изменена" -} diff --git a/invokeai/frontend/dist/locales/common/ua.json b/invokeai/frontend/dist/locales/common/ua.json deleted file mode 100644 index 69c1e7bc09..0000000000 --- a/invokeai/frontend/dist/locales/common/ua.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "hotkeysLabel": "Гарячi клавіші", - "themeLabel": "Тема", - "languagePickerLabel": "Мова", - "reportBugLabel": "Повідомити про помилку", - "githubLabel": "Github", - "discordLabel": "Discord", - "settingsLabel": "Налаштування", - "darkTheme": "Темна", - "lightTheme": "Світла", - "greenTheme": "Зелена", - "langEnglish": "Англійська", - "langRussian": "Російська", - "langItalian": "Iталійська", - "langPortuguese": "Португальська", - "langFrench": "Французька", - "text2img": "Зображення із тексту (text2img)", - "img2img": "Зображення із зображення (img2img)", - "unifiedCanvas": "Універсальне полотно", - "nodes": "Вузли", - "nodesDesc": "Система генерації зображень на основі нодів (вузлів) вже розробляється. Слідкуйте за новинами про цю чудову функцію.", - "postProcessing": "Постобробка", - "postProcessDesc1": "Invoke AI пропонує широкий спектр функцій постобробки. Збільшення зображення (upscale) та відновлення облич вже доступні в інтерфейсі. Отримайте доступ до них з меню 'Додаткові параметри' на вкладках 'Зображення із тексту' та 'Зображення із зображення'. Обробляйте зображення безпосередньо, використовуючи кнопки дій із зображеннями над поточним зображенням або в режимі перегляду.", - "postProcessDesc2": "Найближчим часом буде випущено спеціальний інтерфейс для більш сучасних процесів постобробки.", - "postProcessDesc3": "Інтерфейс командного рядка Invoke AI пропонує різні інші функції, включаючи збільшення Embiggen", - "training": "Навчання", - "trainingDesc1": "Спеціальний інтерфейс для навчання власних моделей з використанням Textual Inversion та Dreambooth", - "trainingDesc2": "InvokeAI вже підтримує навчання моделей за допомогою TI, через інтерфейс командного рядка.", - "upload": "Завантажити", - "close": "Закрити", - "load": "Завантажити", - "statusConnected": "Підключено", - "statusDisconnected": "Відключено", - "statusError": "Помилка", - "statusPreparing": "Підготування", - "statusProcessingCanceled": "Обробка перервана", - "statusProcessingComplete": "Обробка завершена", - "statusGenerating": "Генерація", - "statusGeneratingTextToImage": "Генерація зображення із тексту", - "statusGeneratingImageToImage": "Генерація зображення із зображення", - "statusGeneratingInpainting": "Домальовка всередині", - "statusGeneratingOutpainting": "Домальовка зовні", - "statusGenerationComplete": "Генерація завершена", - "statusIterationComplete": "Iтерація завершена", - "statusSavingImage": "Збереження зображення", - "statusRestoringFaces": "Відновлення облич", - "statusRestoringFacesGFPGAN": "Відновлення облич (GFPGAN)", - "statusRestoringFacesCodeFormer": "Відновлення облич (CodeFormer)", - "statusUpscaling": "Збільшення", - "statusUpscalingESRGAN": "Збільшення (ESRGAN)", - "statusLoadingModel": "Завантаження моделі", - "statusModelChanged": "Модель змінено" -} diff --git a/invokeai/frontend/dist/locales/common/zh_cn.json b/invokeai/frontend/dist/locales/common/zh_cn.json deleted file mode 100644 index a787f13b76..0000000000 --- a/invokeai/frontend/dist/locales/common/zh_cn.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "hotkeysLabel": "快捷键", - "themeLabel": "主题", - "languagePickerLabel": "语言", - "reportBugLabel": "提交错误报告", - "githubLabel": "GitHub", - "discordLabel": "Discord", - "settingsLabel": "设置", - "darkTheme": "暗色", - "lightTheme": "亮色", - "greenTheme": "绿色", - "langEnglish": "英语", - "langRussian": "俄语", - "langItalian": "意大利语", - "langPortuguese": "葡萄牙语", - "langFrench": "法语", - "langChineseSimplified": "简体中文", - "text2img": "文字到图像", - "img2img": "图像到图像", - "unifiedCanvas": "统一画布", - "nodes": "节点", - "nodesDesc": "一个基于节点的图像生成系统目前正在开发中。请持续关注关于这一功能的更新。", - "postProcessing": "后期处理", - "postProcessDesc1": "Invoke AI 提供各种各样的后期处理功能。图像放大和面部修复在网页界面中已经可用。你可以从文本到图像和图像到图像页面的高级选项菜单中访问它们。你也可以直接使用图像显示上方或查看器中的图像操作按钮处理图像。", - "postProcessDesc2": "一个专门的界面将很快发布,新的界面能够处理更复杂的后期处理流程。", - "postProcessDesc3": "Invoke AI 命令行界面提供例如Embiggen的各种其他功能。", - "training": "训练", - "trainingDesc1": "一个专门用于从网络UI使用Textual Inversion和Dreambooth训练自己的嵌入模型和检查点的工作流程。", - "trainingDesc2": "InvokeAI已经支持使用主脚本中的Textual Inversion来训练自定义的嵌入模型。", - "upload": "上传", - "close": "关闭", - "load": "加载", - "statusConnected": "已连接", - "statusDisconnected": "未连接", - "statusError": "错误", - "statusPreparing": "准备中", - "statusProcessingCanceled": "处理取消", - "statusProcessingComplete": "处理完成", - "statusGenerating": "生成中", - "statusGeneratingTextToImage": "文字到图像生成中", - "statusGeneratingImageToImage": "图像到图像生成中", - "statusGeneratingInpainting": "生成内画中", - "statusGeneratingOutpainting": "生成外画中", - "statusGenerationComplete": "生成完成", - "statusIterationComplete": "迭代完成", - "statusSavingImage": "图像保存中", - "statusRestoringFaces": "脸部修复中", - "statusRestoringFacesGFPGAN": "脸部修复中 (GFPGAN)", - "statusRestoringFacesCodeFormer": "脸部修复中 (CodeFormer)", - "statusUpscaling": "放大中", - "statusUpscalingESRGAN": "放大中 (ESRGAN)", - "statusLoadingModel": "模型加载中", - "statusModelChanged": "模型已切换" -} diff --git a/invokeai/frontend/dist/locales/gallery/de.json b/invokeai/frontend/dist/locales/gallery/de.json deleted file mode 100644 index 7f42a103a5..0000000000 --- a/invokeai/frontend/dist/locales/gallery/de.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Erzeugungen", - "showGenerations": "Zeige Erzeugnisse", - "uploads": "Uploads", - "showUploads": "Zeige Uploads", - "galleryImageSize": "Bildgröße", - "galleryImageResetSize": "Größe zurücksetzen", - "gallerySettings": "Galerie-Einstellungen", - "maintainAspectRatio": "Seitenverhältnis beibehalten", - "autoSwitchNewImages": "Automatisch zu neuen Bildern wechseln", - "singleColumnLayout": "Einspaltiges Layout", - "pinGallery": "Galerie anpinnen", - "allImagesLoaded": "Alle Bilder geladen", - "loadMore": "Mehr laden", - "noImagesInGallery": "Keine Bilder in der Galerie" -} diff --git a/invokeai/frontend/dist/locales/gallery/en-US.json b/invokeai/frontend/dist/locales/gallery/en-US.json deleted file mode 100644 index 68e4223aa4..0000000000 --- a/invokeai/frontend/dist/locales/gallery/en-US.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Generations", - "showGenerations": "Show Generations", - "uploads": "Uploads", - "showUploads": "Show Uploads", - "galleryImageSize": "Image Size", - "galleryImageResetSize": "Reset Size", - "gallerySettings": "Gallery Settings", - "maintainAspectRatio": "Maintain Aspect Ratio", - "autoSwitchNewImages": "Auto-Switch to New Images", - "singleColumnLayout": "Single Column Layout", - "pinGallery": "Pin Gallery", - "allImagesLoaded": "All Images Loaded", - "loadMore": "Load More", - "noImagesInGallery": "No Images In Gallery" -} diff --git a/invokeai/frontend/dist/locales/gallery/en.json b/invokeai/frontend/dist/locales/gallery/en.json deleted file mode 100644 index 68e4223aa4..0000000000 --- a/invokeai/frontend/dist/locales/gallery/en.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Generations", - "showGenerations": "Show Generations", - "uploads": "Uploads", - "showUploads": "Show Uploads", - "galleryImageSize": "Image Size", - "galleryImageResetSize": "Reset Size", - "gallerySettings": "Gallery Settings", - "maintainAspectRatio": "Maintain Aspect Ratio", - "autoSwitchNewImages": "Auto-Switch to New Images", - "singleColumnLayout": "Single Column Layout", - "pinGallery": "Pin Gallery", - "allImagesLoaded": "All Images Loaded", - "loadMore": "Load More", - "noImagesInGallery": "No Images In Gallery" -} diff --git a/invokeai/frontend/dist/locales/gallery/es.json b/invokeai/frontend/dist/locales/gallery/es.json deleted file mode 100644 index a87ac65c70..0000000000 --- a/invokeai/frontend/dist/locales/gallery/es.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Generaciones", - "showGenerations": "Mostrar Generaciones", - "uploads": "Subidas de archivos", - "showUploads": "Mostar Subidas", - "galleryImageSize": "Tamaño de la imagen", - "galleryImageResetSize": "Restablecer tamaño de la imagen", - "gallerySettings": "Ajustes de la galería", - "maintainAspectRatio": "Mantener relación de aspecto", - "autoSwitchNewImages": "Auto seleccionar Imágenes nuevas", - "singleColumnLayout": "Diseño de una columna", - "pinGallery": "Fijar galería", - "allImagesLoaded": "Todas las imágenes cargadas", - "loadMore": "Cargar más", - "noImagesInGallery": "Sin imágenes en la galería" -} diff --git a/invokeai/frontend/dist/locales/gallery/fr.json b/invokeai/frontend/dist/locales/gallery/fr.json deleted file mode 100644 index fec4f2079f..0000000000 --- a/invokeai/frontend/dist/locales/gallery/fr.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Générations", - "showGenerations": "Afficher les générations", - "uploads": "Téléchargements", - "showUploads": "Afficher les téléchargements", - "galleryImageSize": "Taille de l'image", - "galleryImageResetSize": "Réinitialiser la taille", - "gallerySettings": "Paramètres de la galerie", - "maintainAspectRatio": "Maintenir le rapport d'aspect", - "autoSwitchNewImages": "Basculer automatiquement vers de nouvelles images", - "singleColumnLayout": "Mise en page en colonne unique", - "pinGallery": "Épingler la galerie", - "allImagesLoaded": "Toutes les images chargées", - "loadMore": "Charger plus", - "noImagesInGallery": "Aucune image dans la galerie" -} diff --git a/invokeai/frontend/dist/locales/gallery/it.json b/invokeai/frontend/dist/locales/gallery/it.json deleted file mode 100644 index 26127f683d..0000000000 --- a/invokeai/frontend/dist/locales/gallery/it.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Generazioni", - "showGenerations": "Mostra Generazioni", - "uploads": "Caricamenti", - "showUploads": "Mostra caricamenti", - "galleryImageSize": "Dimensione dell'immagine", - "galleryImageResetSize": "Ripristina dimensioni", - "gallerySettings": "Impostazioni della galleria", - "maintainAspectRatio": "Mantenere le proporzioni", - "autoSwitchNewImages": "Passaggio automatico a nuove immagini", - "singleColumnLayout": "Layout a colonna singola", - "pinGallery": "Blocca la galleria", - "allImagesLoaded": "Tutte le immagini caricate", - "loadMore": "Carica di più", - "noImagesInGallery": "Nessuna immagine nella galleria" -} diff --git a/invokeai/frontend/dist/locales/gallery/ja.json b/invokeai/frontend/dist/locales/gallery/ja.json deleted file mode 100644 index 81c2510bfb..0000000000 --- a/invokeai/frontend/dist/locales/gallery/ja.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "generations": "Generations", - "showGenerations": "Show Generations", - "uploads": "アップロード", - "showUploads": "アップロードした画像を見る", - "galleryImageSize": "画像のサイズ", - "galleryImageResetSize": "サイズをリセット", - "gallerySettings": "ギャラリーの設定", - "maintainAspectRatio": "アスペクト比を維持", - "autoSwitchNewImages": "Auto-Switch to New Images", - "singleColumnLayout": "シングルカラムレイアウト", - "pinGallery": "ギャラリーにピン留め", - "allImagesLoaded": "すべての画像を読み込む", - "loadMore": "さらに読み込む", - "noImagesInGallery": "ギャラリーに画像がありません" - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/gallery/nl.json b/invokeai/frontend/dist/locales/gallery/nl.json deleted file mode 100644 index 95688eade4..0000000000 --- a/invokeai/frontend/dist/locales/gallery/nl.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Gegenereerde afbeeldingen", - "showGenerations": "Toon gegenereerde afbeeldingen", - "uploads": "Uploads", - "showUploads": "Toon uploads", - "galleryImageSize": "Afbeeldingsgrootte", - "galleryImageResetSize": "Herstel grootte", - "gallerySettings": "Instellingen galerij", - "maintainAspectRatio": "Behoud beeldverhoiding", - "autoSwitchNewImages": "Wissel autom. naar nieuwe afbeeldingen", - "singleColumnLayout": "Eenkolomsindeling", - "pinGallery": "Zet galerij vast", - "allImagesLoaded": "Alle afbeeldingen geladen", - "loadMore": "Laad meer", - "noImagesInGallery": "Geen afbeeldingen in galerij" -} diff --git a/invokeai/frontend/dist/locales/gallery/pl.json b/invokeai/frontend/dist/locales/gallery/pl.json deleted file mode 100644 index 6523121827..0000000000 --- a/invokeai/frontend/dist/locales/gallery/pl.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Wygenerowane", - "showGenerations": "Pokaż wygenerowane obrazy", - "uploads": "Przesłane", - "showUploads": "Pokaż przesłane obrazy", - "galleryImageSize": "Rozmiar obrazów", - "galleryImageResetSize": "Resetuj rozmiar", - "gallerySettings": "Ustawienia galerii", - "maintainAspectRatio": "Zachowaj proporcje", - "autoSwitchNewImages": "Przełączaj na nowe obrazy", - "singleColumnLayout": "Układ jednokolumnowy", - "pinGallery": "Przypnij galerię", - "allImagesLoaded": "Koniec listy", - "loadMore": "Wczytaj więcej", - "noImagesInGallery": "Brak obrazów w galerii" -} diff --git a/invokeai/frontend/dist/locales/gallery/pt.json b/invokeai/frontend/dist/locales/gallery/pt.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/gallery/pt.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/gallery/pt_br.json b/invokeai/frontend/dist/locales/gallery/pt_br.json deleted file mode 100644 index 20318883a2..0000000000 --- a/invokeai/frontend/dist/locales/gallery/pt_br.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Gerações", - "showGenerations": "Mostrar Gerações", - "uploads": "Enviados", - "showUploads": "Mostrar Enviados", - "galleryImageSize": "Tamanho da Imagem", - "galleryImageResetSize": "Resetar Imagem", - "gallerySettings": "Configurações de Galeria", - "maintainAspectRatio": "Mater Proporções", - "autoSwitchNewImages": "Trocar para Novas Imagens Automaticamente", - "singleColumnLayout": "Disposição em Coluna Única", - "pinGallery": "Fixar Galeria", - "allImagesLoaded": "Todas as Imagens Carregadas", - "loadMore": "Carregar Mais", - "noImagesInGallery": "Sem Imagens na Galeria" -} diff --git a/invokeai/frontend/dist/locales/gallery/ru.json b/invokeai/frontend/dist/locales/gallery/ru.json deleted file mode 100644 index 4af45fc9ec..0000000000 --- a/invokeai/frontend/dist/locales/gallery/ru.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Генерации", - "showGenerations": "Показывать генерации", - "uploads": "Загрузки", - "showUploads": "Показывать загрузки", - "galleryImageSize": "Размер изображений", - "galleryImageResetSize": "Размер по умолчанию", - "gallerySettings": "Настройка галереи", - "maintainAspectRatio": "Сохранять пропорции", - "autoSwitchNewImages": "Автоматически выбирать новые", - "singleColumnLayout": "Одна колонка", - "pinGallery": "Закрепить галерею", - "allImagesLoaded": "Все изображения загружены", - "loadMore": "Показать больше", - "noImagesInGallery": "Изображений нет" -} diff --git a/invokeai/frontend/dist/locales/gallery/ua.json b/invokeai/frontend/dist/locales/gallery/ua.json deleted file mode 100644 index 39f83116ce..0000000000 --- a/invokeai/frontend/dist/locales/gallery/ua.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "Генерації", - "showGenerations": "Показувати генерації", - "uploads": "Завантаження", - "showUploads": "Показувати завантаження", - "galleryImageSize": "Розмір зображень", - "galleryImageResetSize": "Аатоматичний розмір", - "gallerySettings": "Налаштування галереї", - "maintainAspectRatio": "Зберігати пропорції", - "autoSwitchNewImages": "Автоматично вибирати нові", - "singleColumnLayout": "Одна колонка", - "pinGallery": "Закріпити галерею", - "allImagesLoaded": "Всі зображення завантажені", - "loadMore": "Завантажити більше", - "noImagesInGallery": "Зображень немає" -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/gallery/zh_cn.json b/invokeai/frontend/dist/locales/gallery/zh_cn.json deleted file mode 100644 index 1e76515a6c..0000000000 --- a/invokeai/frontend/dist/locales/gallery/zh_cn.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "generations": "生成的图像", - "showGenerations": "显示生成的图像", - "uploads": "上传的图像", - "showUploads": "显示上传的图像", - "galleryImageSize": "预览大小", - "galleryImageResetSize": "重置预览大小", - "gallerySettings": "预览设置", - "maintainAspectRatio": "保持比例", - "autoSwitchNewImages": "自动切换到新图像", - "singleColumnLayout": "单列布局", - "pinGallery": "保持图库常开", - "allImagesLoaded": "所有图像加载完成", - "loadMore": "加载更多", - "noImagesInGallery": "图库中无图像" -} diff --git a/invokeai/frontend/dist/locales/hotkeys/de.json b/invokeai/frontend/dist/locales/hotkeys/de.json deleted file mode 100644 index 1794e6c200..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/de.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Tastenkürzel", - "appHotkeys": "App-Tastenkombinationen", - "generalHotkeys": "Allgemeine Tastenkürzel", - "galleryHotkeys": "Galerie Tastenkürzel", - "unifiedCanvasHotkeys": "Unified Canvas Tastenkürzel", - "invoke": { - "title": "Invoke", - "desc": "Ein Bild erzeugen" - }, - "cancel": { - "title": "Abbrechen", - "desc": "Bilderzeugung abbrechen" - }, - "focusPrompt": { - "title": "Fokussiere Prompt", - "desc": "Fokussieren des Eingabefeldes für den Prompt" - }, - "toggleOptions": { - "title": "Optionen umschalten", - "desc": "Öffnen und Schließen des Optionsfeldes" - }, - "pinOptions": { - "title": "Optionen anheften", - "desc": "Anheften des Optionsfeldes" - }, - "toggleViewer": { - "title": "Bildbetrachter umschalten", - "desc": "Bildbetrachter öffnen und schließen" - }, - "toggleGallery": { - "title": "Galerie umschalten", - "desc": "Öffnen und Schließen des Galerie-Schubfachs" - }, - "maximizeWorkSpace": { - "title": "Arbeitsbereich maximieren", - "desc": "Schließen Sie die Panels und maximieren Sie den Arbeitsbereich" - }, - "changeTabs": { - "title": "Tabs wechseln", - "desc": "Zu einem anderen Arbeitsbereich wechseln" - }, - "consoleToggle": { - "title": "Konsole Umschalten", - "desc": "Konsole öffnen und schließen" - }, - "setPrompt": { - "title": "Prompt setzen", - "desc": "Verwende den Prompt des aktuellen Bildes" - }, - "setSeed": { - "title": "Seed setzen", - "desc": "Verwende den Seed des aktuellen Bildes" - }, - "setParameters": { - "title": "Parameter setzen", - "desc": "Alle Parameter des aktuellen Bildes verwenden" - }, - "restoreFaces": { - "title": "Gesicht restaurieren", - "desc": "Das aktuelle Bild restaurieren" - }, - "upscale": { - "title": "Hochskalieren", - "desc": "Das aktuelle Bild hochskalieren" - }, - "showInfo": { - "title": "Info anzeigen", - "desc": "Metadaten des aktuellen Bildes anzeigen" - }, - "sendToImageToImage": { - "title": "An Bild zu Bild senden", - "desc": "Aktuelles Bild an Bild zu Bild senden" - }, - "deleteImage": { - "title": "Bild löschen", - "desc": "Aktuelles Bild löschen" - }, - "closePanels": { - "title": "Panels schließen", - "desc": "Schließt offene Panels" - }, - "previousImage": { - "title": "Vorheriges Bild", - "desc": "Vorheriges Bild in der Galerie anzeigen" - }, - "nextImage": { - "title": "Nächstes Bild", - "desc": "Nächstes Bild in Galerie anzeigen" - }, - "toggleGalleryPin": { - "title": "Galerie anheften umschalten", - "desc": "Heftet die Galerie an die Benutzeroberfläche bzw. löst die sie." - }, - "increaseGalleryThumbSize": { - "title": "Größe der Galeriebilder erhöhen", - "desc": "Vergrößert die Galerie-Miniaturansichten" - }, - "decreaseGalleryThumbSize": { - "title": "Größe der Galeriebilder verringern", - "desc": "Verringert die Größe der Galerie-Miniaturansichten" - }, - "selectBrush": { - "title": "Pinsel auswählen", - "desc": "Wählt den Leinwandpinsel aus" - }, - "selectEraser": { - "title": "Radiergummi auswählen", - "desc": "Wählt den Radiergummi für die Leinwand aus" - }, - "decreaseBrushSize": { - "title": "Pinselgröße verkleinern", - "desc": "Verringert die Größe des Pinsels/Radiergummis" - }, - "increaseBrushSize": { - "title": "Pinselgröße erhöhen", - "desc": "Erhöht die Größe des Pinsels/Radiergummis" - }, - "decreaseBrushOpacity": { - "title": "Deckkraft des Pinsels vermindern", - "desc": "Verringert die Deckkraft des Pinsels" - }, - "increaseBrushOpacity": { - "title": "Deckkraft des Pinsels erhöhen", - "desc": "Erhöht die Deckkraft des Pinsels" - }, - "moveTool": { - "title": "Verschieben Werkzeug", - "desc": "Ermöglicht die Navigation auf der Leinwand" - }, - "fillBoundingBox": { - "title": "Begrenzungsrahmen füllen", - "desc": "Füllt den Begrenzungsrahmen mit Pinselfarbe" - }, - "eraseBoundingBox": { - "title": "Begrenzungsrahmen löschen", - "desc": "Löscht den Bereich des Begrenzungsrahmens" - }, - "colorPicker": { - "title": "Farbpipette", - "desc": "Farben aus dem Bild aufnehmen" - }, - "toggleSnap": { - "title": "Einrasten umschalten", - "desc": "Schaltet Einrasten am Raster ein und aus" - }, - "quickToggleMove": { - "title": "Schnell Verschiebemodus", - "desc": "Schaltet vorübergehend den Verschiebemodus um" - }, - "toggleLayer": { - "title": "Ebene umschalten", - "desc": "Schaltet die Auswahl von Maske/Basisebene um" - }, - "clearMask": { - "title": "Lösche Maske", - "desc": "Die gesamte Maske löschen" - }, - "hideMask": { - "title": "Maske ausblenden", - "desc": "Maske aus- und einblenden" - }, - "showHideBoundingBox": { - "title": "Begrenzungsrahmen ein-/ausblenden", - "desc": "Sichtbarkeit des Begrenzungsrahmens ein- und ausschalten" - }, - "mergeVisible": { - "title": "Sichtbares Zusammenführen", - "desc": "Alle sichtbaren Ebenen der Leinwand zusammenführen" - }, - "saveToGallery": { - "title": "In Galerie speichern", - "desc": "Aktuelle Leinwand in Galerie speichern" - }, - "copyToClipboard": { - "title": "In die Zwischenablage kopieren", - "desc": "Aktuelle Leinwand in die Zwischenablage kopieren" - }, - "downloadImage": { - "title": "Bild herunterladen", - "desc": "Aktuelle Leinwand herunterladen" - }, - "undoStroke": { - "title": "Pinselstrich rückgängig machen", - "desc": "Einen Pinselstrich rückgängig machen" - }, - "redoStroke": { - "title": "Pinselstrich wiederherstellen", - "desc": "Einen Pinselstrich wiederherstellen" - }, - "resetView": { - "title": "Ansicht zurücksetzen", - "desc": "Leinwandansicht zurücksetzen" - }, - "previousStagingImage": { - "title": "Vorheriges Staging-Bild", - "desc": "Bild des vorherigen Staging-Bereichs" - }, - "nextStagingImage": { - "title": "Nächstes Staging-Bild", - "desc": "Bild des nächsten Staging-Bereichs" - }, - "acceptStagingImage": { - "title": "Staging-Bild akzeptieren", - "desc": "Akzeptieren Sie das aktuelle Bild des Staging-Bereichs" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/en-US.json b/invokeai/frontend/dist/locales/hotkeys/en-US.json deleted file mode 100644 index b0cc3a0a21..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/en-US.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Keyboard Shorcuts", - "appHotkeys": "App Hotkeys", - "generalHotkeys": "General Hotkeys", - "galleryHotkeys": "Gallery Hotkeys", - "unifiedCanvasHotkeys": "Unified Canvas Hotkeys", - "invoke": { - "title": "Invoke", - "desc": "Generate an image" - }, - "cancel": { - "title": "Cancel", - "desc": "Cancel image generation" - }, - "focusPrompt": { - "title": "Focus Prompt", - "desc": "Focus the prompt input area" - }, - "toggleOptions": { - "title": "Toggle Options", - "desc": "Open and close the options panel" - }, - "pinOptions": { - "title": "Pin Options", - "desc": "Pin the options panel" - }, - "toggleViewer": { - "title": "Toggle Viewer", - "desc": "Open and close Image Viewer" - }, - "toggleGallery": { - "title": "Toggle Gallery", - "desc": "Open and close the gallery drawer" - }, - "maximizeWorkSpace": { - "title": "Maximize Workspace", - "desc": "Close panels and maximize work area" - }, - "changeTabs": { - "title": "Change Tabs", - "desc": "Switch to another workspace" - }, - "consoleToggle": { - "title": "Console Toggle", - "desc": "Open and close console" - }, - "setPrompt": { - "title": "Set Prompt", - "desc": "Use the prompt of the current image" - }, - "setSeed": { - "title": "Set Seed", - "desc": "Use the seed of the current image" - }, - "setParameters": { - "title": "Set Parameters", - "desc": "Use all parameters of the current image" - }, - "restoreFaces": { - "title": "Restore Faces", - "desc": "Restore the current image" - }, - "upscale": { - "title": "Upscale", - "desc": "Upscale the current image" - }, - "showInfo": { - "title": "Show Info", - "desc": "Show metadata info of the current image" - }, - "sendToImageToImage": { - "title": "Send To Image To Image", - "desc": "Send current image to Image to Image" - }, - "deleteImage": { - "title": "Delete Image", - "desc": "Delete the current image" - }, - "closePanels": { - "title": "Close Panels", - "desc": "Closes open panels" - }, - "previousImage": { - "title": "Previous Image", - "desc": "Display the previous image in gallery" - }, - "nextImage": { - "title": "Next Image", - "desc": "Display the next image in gallery" - }, - "toggleGalleryPin": { - "title": "Toggle Gallery Pin", - "desc": "Pins and unpins the gallery to the UI" - }, - "increaseGalleryThumbSize": { - "title": "Increase Gallery Image Size", - "desc": "Increases gallery thumbnails size" - }, - "decreaseGalleryThumbSize": { - "title": "Decrease Gallery Image Size", - "desc": "Decreases gallery thumbnails size" - }, - "selectBrush": { - "title": "Select Brush", - "desc": "Selects the canvas brush" - }, - "selectEraser": { - "title": "Select Eraser", - "desc": "Selects the canvas eraser" - }, - "decreaseBrushSize": { - "title": "Decrease Brush Size", - "desc": "Decreases the size of the canvas brush/eraser" - }, - "increaseBrushSize": { - "title": "Increase Brush Size", - "desc": "Increases the size of the canvas brush/eraser" - }, - "decreaseBrushOpacity": { - "title": "Decrease Brush Opacity", - "desc": "Decreases the opacity of the canvas brush" - }, - "increaseBrushOpacity": { - "title": "Increase Brush Opacity", - "desc": "Increases the opacity of the canvas brush" - }, - "moveTool": { - "title": "Move Tool", - "desc": "Allows canvas navigation" - }, - "fillBoundingBox": { - "title": "Fill Bounding Box", - "desc": "Fills the bounding box with brush color" - }, - "eraseBoundingBox": { - "title": "Erase Bounding Box", - "desc": "Erases the bounding box area" - }, - "colorPicker": { - "title": "Select Color Picker", - "desc": "Selects the canvas color picker" - }, - "toggleSnap": { - "title": "Toggle Snap", - "desc": "Toggles Snap to Grid" - }, - "quickToggleMove": { - "title": "Quick Toggle Move", - "desc": "Temporarily toggles Move mode" - }, - "toggleLayer": { - "title": "Toggle Layer", - "desc": "Toggles mask/base layer selection" - }, - "clearMask": { - "title": "Clear Mask", - "desc": "Clear the entire mask" - }, - "hideMask": { - "title": "Hide Mask", - "desc": "Hide and unhide mask" - }, - "showHideBoundingBox": { - "title": "Show/Hide Bounding Box", - "desc": "Toggle visibility of bounding box" - }, - "mergeVisible": { - "title": "Merge Visible", - "desc": "Merge all visible layers of canvas" - }, - "saveToGallery": { - "title": "Save To Gallery", - "desc": "Save current canvas to gallery" - }, - "copyToClipboard": { - "title": "Copy to Clipboard", - "desc": "Copy current canvas to clipboard" - }, - "downloadImage": { - "title": "Download Image", - "desc": "Download current canvas" - }, - "undoStroke": { - "title": "Undo Stroke", - "desc": "Undo a brush stroke" - }, - "redoStroke": { - "title": "Redo Stroke", - "desc": "Redo a brush stroke" - }, - "resetView": { - "title": "Reset View", - "desc": "Reset Canvas View" - }, - "previousStagingImage": { - "title": "Previous Staging Image", - "desc": "Previous Staging Area Image" - }, - "nextStagingImage": { - "title": "Next Staging Image", - "desc": "Next Staging Area Image" - }, - "acceptStagingImage": { - "title": "Accept Staging Image", - "desc": "Accept Current Staging Area Image" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/en.json b/invokeai/frontend/dist/locales/hotkeys/en.json deleted file mode 100644 index b0cc3a0a21..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/en.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Keyboard Shorcuts", - "appHotkeys": "App Hotkeys", - "generalHotkeys": "General Hotkeys", - "galleryHotkeys": "Gallery Hotkeys", - "unifiedCanvasHotkeys": "Unified Canvas Hotkeys", - "invoke": { - "title": "Invoke", - "desc": "Generate an image" - }, - "cancel": { - "title": "Cancel", - "desc": "Cancel image generation" - }, - "focusPrompt": { - "title": "Focus Prompt", - "desc": "Focus the prompt input area" - }, - "toggleOptions": { - "title": "Toggle Options", - "desc": "Open and close the options panel" - }, - "pinOptions": { - "title": "Pin Options", - "desc": "Pin the options panel" - }, - "toggleViewer": { - "title": "Toggle Viewer", - "desc": "Open and close Image Viewer" - }, - "toggleGallery": { - "title": "Toggle Gallery", - "desc": "Open and close the gallery drawer" - }, - "maximizeWorkSpace": { - "title": "Maximize Workspace", - "desc": "Close panels and maximize work area" - }, - "changeTabs": { - "title": "Change Tabs", - "desc": "Switch to another workspace" - }, - "consoleToggle": { - "title": "Console Toggle", - "desc": "Open and close console" - }, - "setPrompt": { - "title": "Set Prompt", - "desc": "Use the prompt of the current image" - }, - "setSeed": { - "title": "Set Seed", - "desc": "Use the seed of the current image" - }, - "setParameters": { - "title": "Set Parameters", - "desc": "Use all parameters of the current image" - }, - "restoreFaces": { - "title": "Restore Faces", - "desc": "Restore the current image" - }, - "upscale": { - "title": "Upscale", - "desc": "Upscale the current image" - }, - "showInfo": { - "title": "Show Info", - "desc": "Show metadata info of the current image" - }, - "sendToImageToImage": { - "title": "Send To Image To Image", - "desc": "Send current image to Image to Image" - }, - "deleteImage": { - "title": "Delete Image", - "desc": "Delete the current image" - }, - "closePanels": { - "title": "Close Panels", - "desc": "Closes open panels" - }, - "previousImage": { - "title": "Previous Image", - "desc": "Display the previous image in gallery" - }, - "nextImage": { - "title": "Next Image", - "desc": "Display the next image in gallery" - }, - "toggleGalleryPin": { - "title": "Toggle Gallery Pin", - "desc": "Pins and unpins the gallery to the UI" - }, - "increaseGalleryThumbSize": { - "title": "Increase Gallery Image Size", - "desc": "Increases gallery thumbnails size" - }, - "decreaseGalleryThumbSize": { - "title": "Decrease Gallery Image Size", - "desc": "Decreases gallery thumbnails size" - }, - "selectBrush": { - "title": "Select Brush", - "desc": "Selects the canvas brush" - }, - "selectEraser": { - "title": "Select Eraser", - "desc": "Selects the canvas eraser" - }, - "decreaseBrushSize": { - "title": "Decrease Brush Size", - "desc": "Decreases the size of the canvas brush/eraser" - }, - "increaseBrushSize": { - "title": "Increase Brush Size", - "desc": "Increases the size of the canvas brush/eraser" - }, - "decreaseBrushOpacity": { - "title": "Decrease Brush Opacity", - "desc": "Decreases the opacity of the canvas brush" - }, - "increaseBrushOpacity": { - "title": "Increase Brush Opacity", - "desc": "Increases the opacity of the canvas brush" - }, - "moveTool": { - "title": "Move Tool", - "desc": "Allows canvas navigation" - }, - "fillBoundingBox": { - "title": "Fill Bounding Box", - "desc": "Fills the bounding box with brush color" - }, - "eraseBoundingBox": { - "title": "Erase Bounding Box", - "desc": "Erases the bounding box area" - }, - "colorPicker": { - "title": "Select Color Picker", - "desc": "Selects the canvas color picker" - }, - "toggleSnap": { - "title": "Toggle Snap", - "desc": "Toggles Snap to Grid" - }, - "quickToggleMove": { - "title": "Quick Toggle Move", - "desc": "Temporarily toggles Move mode" - }, - "toggleLayer": { - "title": "Toggle Layer", - "desc": "Toggles mask/base layer selection" - }, - "clearMask": { - "title": "Clear Mask", - "desc": "Clear the entire mask" - }, - "hideMask": { - "title": "Hide Mask", - "desc": "Hide and unhide mask" - }, - "showHideBoundingBox": { - "title": "Show/Hide Bounding Box", - "desc": "Toggle visibility of bounding box" - }, - "mergeVisible": { - "title": "Merge Visible", - "desc": "Merge all visible layers of canvas" - }, - "saveToGallery": { - "title": "Save To Gallery", - "desc": "Save current canvas to gallery" - }, - "copyToClipboard": { - "title": "Copy to Clipboard", - "desc": "Copy current canvas to clipboard" - }, - "downloadImage": { - "title": "Download Image", - "desc": "Download current canvas" - }, - "undoStroke": { - "title": "Undo Stroke", - "desc": "Undo a brush stroke" - }, - "redoStroke": { - "title": "Redo Stroke", - "desc": "Redo a brush stroke" - }, - "resetView": { - "title": "Reset View", - "desc": "Reset Canvas View" - }, - "previousStagingImage": { - "title": "Previous Staging Image", - "desc": "Previous Staging Area Image" - }, - "nextStagingImage": { - "title": "Next Staging Image", - "desc": "Next Staging Area Image" - }, - "acceptStagingImage": { - "title": "Accept Staging Image", - "desc": "Accept Current Staging Area Image" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/es.json b/invokeai/frontend/dist/locales/hotkeys/es.json deleted file mode 100644 index 2651a7c19f..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/es.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Atajos de teclado", - "appHotkeys": "Atajos de applicación", - "generalHotkeys": "Atajos generales", - "galleryHotkeys": "Atajos de galería", - "unifiedCanvasHotkeys": "Atajos de lienzo unificado", - "invoke": { - "title": "Invocar", - "desc": "Generar una imagen" - }, - "cancel": { - "title": "Cancelar", - "desc": "Cancelar el proceso de generación de imagen" - }, - "focusPrompt": { - "title": "Mover foco a Entrada de texto", - "desc": "Mover foco hacia el campo de texto de la Entrada" - }, - "toggleOptions": { - "title": "Alternar opciones", - "desc": "Mostar y ocultar el panel de opciones" - }, - "pinOptions": { - "title": "Fijar opciones", - "desc": "Fijar el panel de opciones" - }, - "toggleViewer": { - "title": "Alternar visor", - "desc": "Mostar y ocultar el visor de imágenes" - }, - "toggleGallery": { - "title": "Alternar galería", - "desc": "Mostar y ocultar la galería de imágenes" - }, - "maximizeWorkSpace": { - "title": "Maximizar espacio de trabajo", - "desc": "Cerrar otros páneles y maximizar el espacio de trabajo" - }, - "changeTabs": { - "title": "Cambiar", - "desc": "Cambiar entre áreas de trabajo" - }, - "consoleToggle": { - "title": "Alternar consola", - "desc": "Mostar y ocultar la consola" - }, - "setPrompt": { - "title": "Establecer Entrada", - "desc": "Usar el texto de entrada de la imagen actual" - }, - "setSeed": { - "title": "Establecer semilla", - "desc": "Usar la semilla de la imagen actual" - }, - "setParameters": { - "title": "Establecer parámetros", - "desc": "Usar todos los parámetros de la imagen actual" - }, - "restoreFaces": { - "title": "Restaurar rostros", - "desc": "Restaurar rostros en la imagen actual" - }, - "upscale": { - "title": "Aumentar resolución", - "desc": "Aumentar la resolución de la imagen actual" - }, - "showInfo": { - "title": "Mostrar información", - "desc": "Mostar metadatos de la imagen actual" - }, - "sendToImageToImage": { - "title": "Enviar hacia Imagen a Imagen", - "desc": "Enviar imagen actual hacia Imagen a Imagen" - }, - "deleteImage": { - "title": "Eliminar imagen", - "desc": "Eliminar imagen actual" - }, - "closePanels": { - "title": "Cerrar páneles", - "desc": "Cerrar los páneles abiertos" - }, - "previousImage": { - "title": "Imagen anterior", - "desc": "Muetra la imagen anterior en la galería" - }, - "nextImage": { - "title": "Imagen siguiente", - "desc": "Muetra la imagen siguiente en la galería" - }, - "toggleGalleryPin": { - "title": "Alternar fijado de galería", - "desc": "Fijar o desfijar la galería en la interfaz" - }, - "increaseGalleryThumbSize": { - "title": "Aumentar imagen en galería", - "desc": "Aumenta el tamaño de las miniaturas de la galería" - }, - "decreaseGalleryThumbSize": { - "title": "Reducir imagen en galería", - "desc": "Reduce el tamaño de las miniaturas de la galería" - }, - "selectBrush": { - "title": "Seleccionar pincel", - "desc": "Selecciona el pincel en el lienzo" - }, - "selectEraser": { - "title": "Seleccionar borrador", - "desc": "Selecciona el borrador en el lienzo" - }, - "decreaseBrushSize": { - "title": "Disminuir tamaño de herramienta", - "desc": "Disminuye el tamaño del pincel/borrador en el lienzo" - }, - "increaseBrushSize": { - "title": "Aumentar tamaño del pincel", - "desc": "Aumenta el tamaño del pincel en el lienzo" - }, - "decreaseBrushOpacity": { - "title": "Disminuir opacidad del pincel", - "desc": "Disminuye la opacidad del pincel en el lienzo" - }, - "increaseBrushOpacity": { - "title": "Aumentar opacidad del pincel", - "desc": "Aumenta la opacidad del pincel en el lienzo" - }, - "moveTool": { - "title": "Herramienta de movimiento", - "desc": "Permite navegar por el lienzo" - }, - "fillBoundingBox": { - "title": "Rellenar Caja contenedora", - "desc": "Rellena la caja contenedora con el color seleccionado" - }, - "eraseBoundingBox": { - "title": "Borrar Caja contenedora", - "desc": "Borra el contenido dentro de la caja contenedora" - }, - "colorPicker": { - "title": "Selector de color", - "desc": "Selecciona un color del lienzo" - }, - "toggleSnap": { - "title": "Alternar ajuste de cuadrícula", - "desc": "Activa o desactiva el ajuste automático a la cuadrícula" - }, - "quickToggleMove": { - "title": "Alternar movimiento rápido", - "desc": "Activa momentáneamente la herramienta de movimiento" - }, - "toggleLayer": { - "title": "Alternar capa", - "desc": "Alterna entre las capas de máscara y base" - }, - "clearMask": { - "title": "Limpiar máscara", - "desc": "Limpia toda la máscara actual" - }, - "hideMask": { - "title": "Ocultar máscara", - "desc": "Oculta o muetre la máscara actual" - }, - "showHideBoundingBox": { - "title": "Alternar caja contenedora", - "desc": "Muestra u oculta la caja contenedora" - }, - "mergeVisible": { - "title": "Consolida capas visibles", - "desc": "Consolida todas las capas visibles en una sola" - }, - "saveToGallery": { - "title": "Guardar en galería", - "desc": "Guardar la imagen actual del lienzo en la galería" - }, - "copyToClipboard": { - "title": "Copiar al portapapeles", - "desc": "Copiar el lienzo actual al portapapeles" - }, - "downloadImage": { - "title": "Descargar imagen", - "desc": "Descargar la imagen actual del lienzo" - }, - "undoStroke": { - "title": "Deshar trazo", - "desc": "Desahacer el último trazo del pincel" - }, - "redoStroke": { - "title": "Rehacer trazo", - "desc": "Rehacer el último trazo del pincel" - }, - "resetView": { - "title": "Restablecer vista", - "desc": "Restablecer la vista del lienzo" - }, - "previousStagingImage": { - "title": "Imagen anterior", - "desc": "Imagen anterior en el área de preparación" - }, - "nextStagingImage": { - "title": "Imagen siguiente", - "desc": "Siguiente imagen en el área de preparación" - }, - "acceptStagingImage": { - "title": "Aceptar imagen", - "desc": "Aceptar la imagen actual en el área de preparación" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/fr.json b/invokeai/frontend/dist/locales/hotkeys/fr.json deleted file mode 100644 index ceabe0dcfc..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/fr.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Raccourcis clavier", - "appHotkeys": "Raccourcis de l'application", - "GeneralHotkeys": "Raccourcis généraux", - "galleryHotkeys": "Raccourcis de la galerie", - "unifiedCanvasHotkeys": "Raccourcis du Canvas unifié", - "invoke": { - "title": "Invoquer", - "desc": "Générer une image" - }, - "cancel": { - "title": "Annuler", - "desc": "Annuler la génération d'image" - }, - "focusPrompt": { - "title": "Prompt de Focus", - "desc": "Mettre en focus la zone de saisie de la commande" - }, - "toggleOptions": { - "title": "Basculer Options", - "desc": "Ouvrir et fermer le panneau d'options" - }, - "pinOptions": { - "title": "Epingler Options", - "desc": "Epingler le panneau d'options" - }, - "toggleViewer": { - "title": "Basculer Visionneuse", - "desc": "Ouvrir et fermer la visionneuse d'image" - }, - "toggleGallery": { - "title": "Basculer Galerie", - "desc": "Ouvrir et fermer le tiroir de galerie" - }, - "maximizeWorkSpace": { - "title": "Maximiser Espace de travail", - "desc": "Fermer les panneaux et maximiser la zone de travail" - }, - "changeTabs": { - "title": "Changer d'onglets", - "desc": "Passer à un autre espace de travail" - }, - "consoleToggle": { - "title": "Bascule de la console", - "desc": "Ouvrir et fermer la console" - }, - "setPrompt": { - "title": "Définir le prompt", - "desc": "Utiliser le prompt de l'image actuelle" - }, - "setSeed": { - "title": "Définir la graine", - "desc": "Utiliser la graine de l'image actuelle" - }, - "setParameters": { - "title": "Définir les paramètres", - "desc": "Utiliser tous les paramètres de l'image actuelle" - }, - "restoreFaces": { - "title": "Restaurer les faces", - "desc": "Restaurer l'image actuelle" - }, - "upscale": { - "title": "Agrandir", - "desc": "Agrandir l'image actuelle" - }, - "showInfo": { - "title": "Afficher les informations", - "desc": "Afficher les informations de métadonnées de l'image actuelle" - }, - "sendToImageToImage": { - "title": "Envoyer à l'image à l'image", - "desc": "Envoyer l'image actuelle à l'image à l'image" - }, - "deleteImage": { - "title": "Supprimer l'image", - "desc": "Supprimer l'image actuelle" - }, - "closePanels": { - "title": "Fermer les panneaux", - "desc": "Fermer les panneaux ouverts" - }, - "previousImage": { - "title": "Image précédente", - "desc": "Afficher l'image précédente dans la galerie" - }, - "nextImage": { - "title": "Image suivante", - "desc": "Afficher l'image suivante dans la galerie" - }, - "toggleGalleryPin": { - "title": "Activer/désactiver l'épinglage de la galerie", - "desc": "Épingle ou dépingle la galerie à l'interface utilisateur" - }, - "increaseGalleryThumbSize": { - "title": "Augmenter la taille des miniatures de la galerie", - "desc": "Augmente la taille des miniatures de la galerie" - }, - "decreaseGalleryThumbSize": { - "title": "Diminuer la taille des miniatures de la galerie", - "desc": "Diminue la taille des miniatures de la galerie" - }, - "selectBrush": { - "title": "Sélectionner un pinceau", - "desc": "Sélectionne le pinceau de la toile" - }, - "selectEraser": { - "title": "Sélectionner un gomme", - "desc": "Sélectionne la gomme de la toile" - }, - "decreaseBrushSize": { - "title": "Diminuer la taille du pinceau", - "desc": "Diminue la taille du pinceau/gomme de la toile" - }, - "increaseBrushSize": { - "title": "Augmenter la taille du pinceau", - "desc": "Augmente la taille du pinceau/gomme de la toile" - }, - "decreaseBrushOpacity": { - "title": "Diminuer l'opacité du pinceau", - "desc": "Diminue l'opacité du pinceau de la toile" - }, - "increaseBrushOpacity": { - "title": "Augmenter l'opacité du pinceau", - "desc": "Augmente l'opacité du pinceau de la toile" - }, - "moveTool": { - "title": "Outil de déplacement", - "desc": "Permet la navigation sur la toile" - }, - "fillBoundingBox": { - "title": "Remplir la boîte englobante", - "desc": "Remplit la boîte englobante avec la couleur du pinceau" - }, - "eraseBoundingBox": { - "title": "Effacer la boîte englobante", - "desc": "Efface la zone de la boîte englobante" - }, - "colorPicker": { - "title": "Sélectionnez le sélecteur de couleur", - "desc": "Sélectionne le sélecteur de couleur de la toile" - }, - "toggleSnap": { - "title": "Basculer Snap", - "desc": "Basculer Snap à la grille" - }, - "quickToggleMove": { - "title": "Basculer rapidement déplacer", - "desc": "Basculer temporairement le mode Déplacer" - }, - "toggleLayer": { - "title": "Basculer la couche", - "desc": "Basculer la sélection de la couche masque/base" - }, - "clearMask": { - "title": "Effacer le masque", - "desc": "Effacer entièrement le masque" - }, - "hideMask": { - "title": "Masquer le masque", - "desc": "Masquer et démasquer le masque" - }, - "showHideBoundingBox": { - "title": "Afficher/Masquer la boîte englobante", - "desc": "Basculer la visibilité de la boîte englobante" - }, - "mergeVisible": { - "title": "Fusionner visible", - "desc": "Fusionner toutes les couches visibles de la toile" - }, - "saveToGallery": { - "title": "Enregistrer dans la galerie", - "desc": "Enregistrer la toile actuelle dans la galerie" - }, - "copyToClipboard": { - "title": "Copier dans le presse-papiers", - "desc": "Copier la toile actuelle dans le presse-papiers" - }, - "downloadImage": { - "title": "Télécharger l'image", - "desc": "Télécharger la toile actuelle" - }, - "undoStroke": { - "title": "Annuler le trait", - "desc": "Annuler un coup de pinceau" - }, - "redoStroke": { - "title": "Rétablir le trait", - "desc": "Rétablir un coup de pinceau" - }, - "resetView": { - "title": "Réinitialiser la vue", - "desc": "Réinitialiser la vue de la toile" - }, - "previousStagingImage": { - "title": "Image de mise en scène précédente", - "desc": "Image précédente de la zone de mise en scène" - }, - "nextStagingImage": { - "title": "Image de mise en scène suivante", - "desc": "Image suivante de la zone de mise en scène" - }, - "acceptStagingImage": { - "title": "Accepter l'image de mise en scène", - "desc": "Accepter l'image actuelle de la zone de mise en scène" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/it.json b/invokeai/frontend/dist/locales/hotkeys/it.json deleted file mode 100644 index 232e4cb826..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/it.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Tasti rapidi", - "appHotkeys": "Tasti di scelta rapida dell'applicazione", - "generalHotkeys": "Tasti di scelta rapida generali", - "galleryHotkeys": "Tasti di scelta rapida della galleria", - "unifiedCanvasHotkeys": "Tasti di scelta rapida Tela Unificata", - "invoke": { - "title": "Invoca", - "desc": "Genera un'immagine" - }, - "cancel": { - "title": "Annulla", - "desc": "Annulla la generazione dell'immagine" - }, - "focusPrompt": { - "title": "Metti a fuoco il Prompt", - "desc": "Mette a fuoco l'area di immissione del prompt" - }, - "toggleOptions": { - "title": "Attiva/disattiva le opzioni", - "desc": "Apre e chiude il pannello delle opzioni" - }, - "pinOptions": { - "title": "Appunta le opzioni", - "desc": "Blocca il pannello delle opzioni" - }, - "toggleViewer": { - "title": "Attiva/disattiva visualizzatore", - "desc": "Apre e chiude il visualizzatore immagini" - }, - "toggleGallery": { - "title": "Attiva/disattiva Galleria", - "desc": "Apre e chiude il pannello della galleria" - }, - "maximizeWorkSpace": { - "title": "Massimizza lo spazio di lavoro", - "desc": "Chiude i pannelli e massimizza l'area di lavoro" - }, - "changeTabs": { - "title": "Cambia scheda", - "desc": "Passa a un'altra area di lavoro" - }, - "consoleToggle": { - "title": "Attiva/disattiva console", - "desc": "Apre e chiude la console" - }, - "setPrompt": { - "title": "Imposta Prompt", - "desc": "Usa il prompt dell'immagine corrente" - }, - "setSeed": { - "title": "Imposta seme", - "desc": "Usa il seme dell'immagine corrente" - }, - "setParameters": { - "title": "Imposta parametri", - "desc": "Utilizza tutti i parametri dell'immagine corrente" - }, - "restoreFaces": { - "title": "Restaura volti", - "desc": "Restaura l'immagine corrente" - }, - "upscale": { - "title": "Amplia", - "desc": "Amplia l'immagine corrente" - }, - "showInfo": { - "title": "Mostra informazioni", - "desc": "Mostra le informazioni sui metadati dell'immagine corrente" - }, - "sendToImageToImage": { - "title": "Invia a da Immagine a Immagine", - "desc": "Invia l'immagine corrente a da Immagine a Immagine" - }, - "deleteImage": { - "title": "Elimina immagine", - "desc": "Elimina l'immagine corrente" - }, - "closePanels": { - "title": "Chiudi pannelli", - "desc": "Chiude i pannelli aperti" - }, - "previousImage": { - "title": "Immagine precedente", - "desc": "Visualizza l'immagine precedente nella galleria" - }, - "nextImage": { - "title": "Immagine successiva", - "desc": "Visualizza l'immagine successiva nella galleria" - }, - "toggleGalleryPin": { - "title": "Attiva/disattiva il blocco della galleria", - "desc": "Blocca/sblocca la galleria dall'interfaccia utente" - }, - "increaseGalleryThumbSize": { - "title": "Aumenta dimensione immagini nella galleria", - "desc": "Aumenta la dimensione delle miniature della galleria" - }, - "decreaseGalleryThumbSize": { - "title": "Riduci dimensione immagini nella galleria", - "desc": "Riduce le dimensioni delle miniature della galleria" - }, - "selectBrush": { - "title": "Seleziona Pennello", - "desc": "Seleziona il pennello della tela" - }, - "selectEraser": { - "title": "Seleziona Cancellino", - "desc": "Seleziona il cancellino della tela" - }, - "decreaseBrushSize": { - "title": "Riduci la dimensione del pennello", - "desc": "Riduce la dimensione del pennello/cancellino della tela" - }, - "increaseBrushSize": { - "title": "Aumenta la dimensione del pennello", - "desc": "Aumenta la dimensione del pennello/cancellino della tela" - }, - "decreaseBrushOpacity": { - "title": "Riduci l'opacità del pennello", - "desc": "Diminuisce l'opacità del pennello della tela" - }, - "increaseBrushOpacity": { - "title": "Aumenta l'opacità del pennello", - "desc": "Aumenta l'opacità del pennello della tela" - }, - "moveTool": { - "title": "Strumento Sposta", - "desc": "Consente la navigazione nella tela" - }, - "fillBoundingBox": { - "title": "Riempi riquadro di selezione", - "desc": "Riempie il riquadro di selezione con il colore del pennello" - }, - "eraseBoundingBox": { - "title": "Cancella riquadro di selezione", - "desc": "Cancella l'area del riquadro di selezione" - }, - "colorPicker": { - "title": "Seleziona Selettore colore", - "desc": "Seleziona il selettore colore della tela" - }, - "toggleSnap": { - "title": "Attiva/disattiva Aggancia", - "desc": "Attiva/disattiva Aggancia alla griglia" - }, - "quickToggleMove": { - "title": "Attiva/disattiva Sposta rapido", - "desc": "Attiva/disattiva temporaneamente la modalità Sposta" - }, - "toggleLayer": { - "title": "Attiva/disattiva livello", - "desc": "Attiva/disattiva la selezione del livello base/maschera" - }, - "clearMask": { - "title": "Cancella maschera", - "desc": "Cancella l'intera maschera" - }, - "hideMask": { - "title": "Nascondi maschera", - "desc": "Nasconde e mostra la maschera" - }, - "showHideBoundingBox": { - "title": "Mostra/Nascondi riquadro di selezione", - "desc": "Attiva/disattiva la visibilità del riquadro di selezione" - }, - "mergeVisible": { - "title": "Fondi il visibile", - "desc": "Fonde tutti gli strati visibili della tela" - }, - "saveToGallery": { - "title": "Salva nella galleria", - "desc": "Salva la tela corrente nella galleria" - }, - "copyToClipboard": { - "title": "Copia negli appunti", - "desc": "Copia la tela corrente negli appunti" - }, - "downloadImage": { - "title": "Scarica l'immagine", - "desc": "Scarica la tela corrente" - }, - "undoStroke": { - "title": "Annulla tratto", - "desc": "Annulla una pennellata" - }, - "redoStroke": { - "title": "Ripeti tratto", - "desc": "Ripeti una pennellata" - }, - "resetView": { - "title": "Reimposta vista", - "desc": "Ripristina la visualizzazione della tela" - }, - "previousStagingImage": { - "title": "Immagine della sessione precedente", - "desc": "Immagine dell'area della sessione precedente" - }, - "nextStagingImage": { - "title": "Immagine della sessione successivo", - "desc": "Immagine dell'area della sessione successiva" - }, - "acceptStagingImage": { - "title": "Accetta l'immagine della sessione", - "desc": "Accetta l'immagine dell'area della sessione corrente" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/ja.json b/invokeai/frontend/dist/locales/hotkeys/ja.json deleted file mode 100644 index d5e448246f..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/ja.json +++ /dev/null @@ -1,208 +0,0 @@ -{ - "keyboardShortcuts": "キーボードショートカット", - "appHotkeys": "アプリのホットキー", - "generalHotkeys": "Generalのホットキー", - "galleryHotkeys": "ギャラリーのホットキー", - "unifiedCanvasHotkeys": "Unified Canvasのホットキー", - "invoke": { - "title": "Invoke", - "desc": "画像を生成" - }, - "cancel": { - "title": "キャンセル", - "desc": "画像の生成をキャンセル" - }, - "focusPrompt": { - "title": "Focus Prompt", - "desc": "プロンプトテキストボックスにフォーカス" - }, - "toggleOptions": { - "title": "オプションパネルのトグル", - "desc": "オプションパネルの開閉" - }, - "pinOptions": { - "title": "ピン", - "desc": "オプションパネルを固定" - }, - "toggleViewer": { - "title": "ビュワーのトグル", - "desc": "ビュワーを開閉" - }, - "toggleGallery": { - "title": "ギャラリーのトグル", - "desc": "ギャラリードロワーの開閉" - }, - "maximizeWorkSpace": { - "title": "作業領域の最大化", - "desc": "パネルを閉じて、作業領域を最大に" - }, - "changeTabs": { - "title": "タブの切替", - "desc": "他の作業領域と切替" - }, - "consoleToggle": { - "title": "コンソールのトグル", - "desc": "コンソールの開閉" - }, - "setPrompt": { - "title": "プロンプトをセット", - "desc": "現在の画像のプロンプトを使用" - }, - "setSeed": { - "title": "シード値をセット", - "desc": "現在の画像のシード値を使用" - }, - "setParameters": { - "title": "パラメータをセット", - "desc": "現在の画像のすべてのパラメータを使用" - }, - "restoreFaces": { - "title": "顔の修復", - "desc": "現在の画像を修復" - }, - "upscale": { - "title": "アップスケール", - "desc": "現在の画像をアップスケール" - }, - "showInfo": { - "title": "情報を見る", - "desc": "現在の画像のメタデータ情報を表示" - }, - "sendToImageToImage": { - "title": "Image To Imageに転送", - "desc": "現在の画像をImage to Imageに転送" - }, - "deleteImage": { - "title": "画像を削除", - "desc": "現在の画像を削除" - }, - "closePanels": { - "title": "パネルを閉じる", - "desc": "開いているパネルを閉じる" - }, - "previousImage": { - "title": "前の画像", - "desc": "ギャラリー内の1つ前の画像を表示" - }, - "nextImage": { - "title": "次の画像", - "desc": "ギャラリー内の1つ後の画像を表示" - }, - "toggleGalleryPin": { - "title": "ギャラリードロワーの固定", - "desc": "ギャラリーをUIにピン留め/解除" - }, - "increaseGalleryThumbSize": { - "title": "ギャラリーの画像を拡大", - "desc": "ギャラリーのサムネイル画像を拡大" - }, - "decreaseGalleryThumbSize": { - "title": "ギャラリーの画像サイズを縮小", - "desc": "ギャラリーのサムネイル画像を縮小" - }, - "selectBrush": { - "title": "ブラシを選択", - "desc": "ブラシを選択" - }, - "selectEraser": { - "title": "消しゴムを選択", - "desc": "消しゴムを選択" - }, - "decreaseBrushSize": { - "title": "ブラシサイズを縮小", - "desc": "ブラシ/消しゴムのサイズを縮小" - }, - "increaseBrushSize": { - "title": "ブラシサイズを拡大", - "desc": "ブラシ/消しゴムのサイズを拡大" - }, - "decreaseBrushOpacity": { - "title": "ブラシの不透明度を下げる", - "desc": "キャンバスブラシの不透明度を下げる" - }, - "increaseBrushOpacity": { - "title": "ブラシの不透明度を上げる", - "desc": "キャンバスブラシの不透明度を上げる" - }, - "moveTool": { - "title": "Move Tool", - "desc": "Allows canvas navigation" - }, - "fillBoundingBox": { - "title": "バウンディングボックスを塗りつぶす", - "desc": "ブラシの色でバウンディングボックス領域を塗りつぶす" - }, - "eraseBoundingBox": { - "title": "バウンディングボックスを消す", - "desc": "バウンディングボックス領域を消す" - }, - "colorPicker": { - "title": "カラーピッカーを選択", - "desc": "カラーピッカーを選択" - }, - "toggleSnap": { - "title": "Toggle Snap", - "desc": "Toggles Snap to Grid" - }, - "quickToggleMove": { - "title": "Quick Toggle Move", - "desc": "Temporarily toggles Move mode" - }, - "toggleLayer": { - "title": "レイヤーを切替", - "desc": "マスク/ベースレイヤの選択を切替" - }, - "clearMask": { - "title": "マスクを消す", - "desc": "マスク全体を消す" - }, - "hideMask": { - "title": "マスクを非表示", - "desc": "マスクを表示/非表示" - }, - "showHideBoundingBox": { - "title": "バウンディングボックスを表示/非表示", - "desc": "バウンディングボックスの表示/非表示を切替" - }, - "mergeVisible": { - "title": "Merge Visible", - "desc": "Merge all visible layers of canvas" - }, - "saveToGallery": { - "title": "ギャラリーに保存", - "desc": "現在のキャンバスをギャラリーに保存" - }, - "copyToClipboard": { - "title": "クリップボードにコピー", - "desc": "現在のキャンバスをクリップボードにコピー" - }, - "downloadImage": { - "title": "画像をダウンロード", - "desc": "現在の画像をダウンロード" - }, - "undoStroke": { - "title": "Undo Stroke", - "desc": "Undo a brush stroke" - }, - "redoStroke": { - "title": "Redo Stroke", - "desc": "Redo a brush stroke" - }, - "resetView": { - "title": "キャンバスをリセット", - "desc": "キャンバスをリセット" - }, - "previousStagingImage": { - "title": "Previous Staging Image", - "desc": "Previous Staging Area Image" - }, - "nextStagingImage": { - "title": "Next Staging Image", - "desc": "Next Staging Area Image" - }, - "acceptStagingImage": { - "title": "Accept Staging Image", - "desc": "Accept Current Staging Area Image" - } - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/hotkeys/nl.json b/invokeai/frontend/dist/locales/hotkeys/nl.json deleted file mode 100644 index a092c84016..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/nl.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Sneltoetsen", - "appHotkeys": "Appsneltoetsen", - "generalHotkeys": "Algemene sneltoetsen", - "galleryHotkeys": "Sneltoetsen galerij", - "unifiedCanvasHotkeys": "Sneltoetsen centraal canvas", - "invoke": { - "title": "Genereer", - "desc": "Genereert een afbeelding" - }, - "cancel": { - "title": "Annuleer", - "desc": "Annuleert het genereren van een afbeelding" - }, - "focusPrompt": { - "title": "Focus op invoer", - "desc": "Legt de focus op het invoertekstvak" - }, - "toggleOptions": { - "title": "Open/sluit Opties", - "desc": "Opent of sluit het deelscherm Opties" - }, - "pinOptions": { - "title": "Zet Opties vast", - "desc": "Zet het deelscherm Opties vast" - }, - "toggleViewer": { - "title": "Zet Viewer vast", - "desc": "Opent of sluit Afbeeldingsviewer" - }, - "toggleGallery": { - "title": "Zet Galerij vast", - "desc": "Opent of sluit het deelscherm Galerij" - }, - "maximizeWorkSpace": { - "title": "Maximaliseer werkgebied", - "desc": "Sluit deelschermen en maximaliseer het werkgebied" - }, - "changeTabs": { - "title": "Wissel van tabblad", - "desc": "Wissel naar een ander werkgebied" - }, - "consoleToggle": { - "title": "Open/sluit console", - "desc": "Opent of sluit de console" - }, - "setPrompt": { - "title": "Stel invoertekst in", - "desc": "Gebruikt de invoertekst van de huidige afbeelding" - }, - "setSeed": { - "title": "Stel seed in", - "desc": "Gebruikt de seed van de huidige afbeelding" - }, - "setParameters": { - "title": "Stel parameters in", - "desc": "Gebruikt alle parameters van de huidige afbeelding" - }, - "restoreFaces": { - "title": "Herstel gezichten", - "desc": "Herstelt de huidige afbeelding" - }, - "upscale": { - "title": "Schaal op", - "desc": "Schaalt de huidige afbeelding op" - }, - "showInfo": { - "title": "Toon info", - "desc": "Toont de metagegevens van de huidige afbeelding" - }, - "sendToImageToImage": { - "title": "Stuur naar Afbeelding naar afbeelding", - "desc": "Stuurt de huidige afbeelding naar Afbeelding naar afbeelding" - }, - "deleteImage": { - "title": "Verwijder afbeelding", - "desc": "Verwijdert de huidige afbeelding" - }, - "closePanels": { - "title": "Sluit deelschermen", - "desc": "Sluit geopende deelschermen" - }, - "previousImage": { - "title": "Vorige afbeelding", - "desc": "Toont de vorige afbeelding in de galerij" - }, - "nextImage": { - "title": "Volgende afbeelding", - "desc": "Toont de volgende afbeelding in de galerij" - }, - "toggleGalleryPin": { - "title": "Zet galerij vast/los", - "desc": "Zet de galerij vast of los aan de gebruikersinterface" - }, - "increaseGalleryThumbSize": { - "title": "Vergroot afbeeldingsgrootte galerij", - "desc": "Vergroot de grootte van de galerijminiaturen" - }, - "decreaseGalleryThumbSize": { - "title": "Verklein afbeeldingsgrootte galerij", - "desc": "Verkleint de grootte van de galerijminiaturen" - }, - "selectBrush": { - "title": "Kies penseel", - "desc": "Kiest de penseel op het canvas" - }, - "selectEraser": { - "title": "Kies gum", - "desc": "Kiest de gum op het canvas" - }, - "decreaseBrushSize": { - "title": "Verklein penseelgrootte", - "desc": "Verkleint de grootte van het penseel/gum op het canvas" - }, - "increaseBrushSize": { - "title": "Vergroot penseelgrootte", - "desc": "Vergroot de grootte van het penseel/gum op het canvas" - }, - "decreaseBrushOpacity": { - "title": "Verlaag ondoorzichtigheid penseel", - "desc": "Verlaagt de ondoorzichtigheid van de penseel op het canvas" - }, - "increaseBrushOpacity": { - "title": "Verhoog ondoorzichtigheid penseel", - "desc": "Verhoogt de ondoorzichtigheid van de penseel op het canvas" - }, - "moveTool": { - "title": "Verplaats canvas", - "desc": "Maakt canvasnavigatie mogelijk" - }, - "fillBoundingBox": { - "title": "Vul tekenvak", - "desc": "Vult het tekenvak met de penseelkleur" - }, - "eraseBoundingBox": { - "title": "Wis tekenvak", - "desc": "Wist het gebied van het tekenvak" - }, - "colorPicker": { - "title": "Kleurkiezer", - "desc": "Opent de kleurkiezer op het canvas" - }, - "toggleSnap": { - "title": "Zet uitlijnen aan/uit", - "desc": "Zet uitlijnen op raster aan/uit" - }, - "quickToggleMove": { - "title": "Verplaats canvas even", - "desc": "Verplaats kortstondig het canvas" - }, - "toggleLayer": { - "title": "Zet laag aan/uit", - "desc": "Wisselt tussen de masker- en basislaag" - }, - "clearMask": { - "title": "Wis masker", - "desc": "Wist het volledig masker" - }, - "hideMask": { - "title": "Toon/verberg masker", - "desc": "Toont of verbegt het masker" - }, - "showHideBoundingBox": { - "title": "Toon/verberg tekenvak", - "desc": "Wisselt de zichtbaarheid van het tekenvak" - }, - "mergeVisible": { - "title": "Voeg lagen samen", - "desc": "Voegt alle zichtbare lagen op het canvas samen" - }, - "saveToGallery": { - "title": "Bewaar in galerij", - "desc": "Bewaart het huidige canvas in de galerij" - }, - "copyToClipboard": { - "title": "Kopieer naar klembord", - "desc": "Kopieert het huidige canvas op het klembord" - }, - "downloadImage": { - "title": "Download afbeelding", - "desc": "Downloadt het huidige canvas" - }, - "undoStroke": { - "title": "Maak streek ongedaan", - "desc": "Maakt een penseelstreek ongedaan" - }, - "redoStroke": { - "title": "Herhaal streek", - "desc": "Voert een ongedaan gemaakte penseelstreek opnieuw uit" - }, - "resetView": { - "title": "Herstel weergave", - "desc": "Herstelt de canvasweergave" - }, - "previousStagingImage": { - "title": "Vorige sessie-afbeelding", - "desc": "Bladert terug naar de vorige afbeelding in het sessiegebied" - }, - "nextStagingImage": { - "title": "Volgende sessie-afbeelding", - "desc": "Bladert vooruit naar de volgende afbeelding in het sessiegebied" - }, - "acceptStagingImage": { - "title": "Accepteer sessie-afbeelding", - "desc": "Accepteert de huidige sessie-afbeelding" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/pl.json b/invokeai/frontend/dist/locales/hotkeys/pl.json deleted file mode 100644 index 8294d19708..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/pl.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Skróty klawiszowe", - "appHotkeys": "Podstawowe", - "generalHotkeys": "Pomocnicze", - "galleryHotkeys": "Galeria", - "unifiedCanvasHotkeys": "Tryb uniwersalny", - "invoke": { - "title": "Wywołaj", - "desc": "Generuje nowy obraz" - }, - "cancel": { - "title": "Anuluj", - "desc": "Zatrzymuje generowanie obrazu" - }, - "focusPrompt": { - "title": "Aktywuj pole tekstowe", - "desc": "Aktywuje pole wprowadzania sugestii" - }, - "toggleOptions": { - "title": "Przełącz panel opcji", - "desc": "Wysuwa lub chowa panel opcji" - }, - "pinOptions": { - "title": "Przypnij opcje", - "desc": "Przypina panel opcji" - }, - "toggleViewer": { - "title": "Przełącz podgląd", - "desc": "Otwiera lub zamyka widok podglądu" - }, - "toggleGallery": { - "title": "Przełącz galerię", - "desc": "Wysuwa lub chowa galerię" - }, - "maximizeWorkSpace": { - "title": "Powiększ obraz roboczy", - "desc": "Chowa wszystkie panele, zostawia tylko podgląd obrazu" - }, - "changeTabs": { - "title": "Przełącznie trybu", - "desc": "Przełącza na n-ty tryb pracy" - }, - "consoleToggle": { - "title": "Przełącz konsolę", - "desc": "Otwiera lub chowa widok konsoli" - }, - "setPrompt": { - "title": "Skopiuj sugestie", - "desc": "Kopiuje sugestie z aktywnego obrazu" - }, - "setSeed": { - "title": "Skopiuj inicjator", - "desc": "Kopiuje inicjator z aktywnego obrazu" - }, - "setParameters": { - "title": "Skopiuj wszystko", - "desc": "Kopiuje wszystkie parametry z aktualnie aktywnego obrazu" - }, - "restoreFaces": { - "title": "Popraw twarze", - "desc": "Uruchamia proces poprawiania twarzy dla aktywnego obrazu" - }, - "upscale": { - "title": "Powiększ", - "desc": "Uruchamia proces powiększania aktywnego obrazu" - }, - "showInfo": { - "title": "Pokaż informacje", - "desc": "Pokazuje metadane zapisane w aktywnym obrazie" - }, - "sendToImageToImage": { - "title": "Użyj w trybie \"Obraz na obraz\"", - "desc": "Ustawia aktywny obraz jako źródło w trybie \"Obraz na obraz\"" - }, - "deleteImage": { - "title": "Usuń obraz", - "desc": "Usuwa aktywny obraz" - }, - "closePanels": { - "title": "Zamknij panele", - "desc": "Zamyka wszystkie otwarte panele" - }, - "previousImage": { - "title": "Poprzedni obraz", - "desc": "Aktywuje poprzedni obraz z galerii" - }, - "nextImage": { - "title": "Następny obraz", - "desc": "Aktywuje następny obraz z galerii" - }, - "toggleGalleryPin": { - "title": "Przypnij galerię", - "desc": "Przypina lub odpina widok galerii" - }, - "increaseGalleryThumbSize": { - "title": "Powiększ obrazy", - "desc": "Powiększa rozmiar obrazów w galerii" - }, - "decreaseGalleryThumbSize": { - "title": "Pomniejsz obrazy", - "desc": "Pomniejsza rozmiar obrazów w galerii" - }, - "selectBrush": { - "title": "Aktywuj pędzel", - "desc": "Aktywuje narzędzie malowania" - }, - "selectEraser": { - "title": "Aktywuj gumkę", - "desc": "Aktywuje narzędzie usuwania" - }, - "decreaseBrushSize": { - "title": "Zmniejsz rozmiar narzędzia", - "desc": "Zmniejsza rozmiar aktywnego narzędzia" - }, - "increaseBrushSize": { - "title": "Zwiększ rozmiar narzędzia", - "desc": "Zwiększa rozmiar aktywnego narzędzia" - }, - "decreaseBrushOpacity": { - "title": "Zmniejsz krycie", - "desc": "Zmniejsza poziom krycia pędzla" - }, - "increaseBrushOpacity": { - "title": "Zwiększ", - "desc": "Zwiększa poziom krycia pędzla" - }, - "moveTool": { - "title": "Aktywuj przesunięcie", - "desc": "Włącza narzędzie przesuwania" - }, - "fillBoundingBox": { - "title": "Wypełnij zaznaczenie", - "desc": "Wypełnia zaznaczony obszar aktualnym kolorem pędzla" - }, - "eraseBoundingBox": { - "title": "Wyczyść zaznaczenia", - "desc": "Usuwa całą zawartość zaznaczonego obszaru" - }, - "colorPicker": { - "title": "Aktywuj pipetę", - "desc": "Włącza narzędzie kopiowania koloru" - }, - "toggleSnap": { - "title": "Przyciąganie do siatki", - "desc": "Włącza lub wyłącza opcje przyciągania do siatki" - }, - "quickToggleMove": { - "title": "Szybkie przesunięcie", - "desc": "Tymczasowo włącza tryb przesuwania obszaru roboczego" - }, - "toggleLayer": { - "title": "Przełącz wartwę", - "desc": "Przełącza pomiędzy warstwą bazową i maskowania" - }, - "clearMask": { - "title": "Wyczyść maskę", - "desc": "Usuwa całą zawartość warstwy maskowania" - }, - "hideMask": { - "title": "Przełącz maskę", - "desc": "Pokazuje lub ukrywa podgląd maski" - }, - "showHideBoundingBox": { - "title": "Przełącz zaznaczenie", - "desc": "Pokazuje lub ukrywa podgląd zaznaczenia" - }, - "mergeVisible": { - "title": "Połącz widoczne", - "desc": "Łączy wszystkie widoczne maski w jeden obraz" - }, - "saveToGallery": { - "title": "Zapisz w galerii", - "desc": "Zapisuje całą zawartość płótna w galerii" - }, - "copyToClipboard": { - "title": "Skopiuj do schowka", - "desc": "Zapisuje zawartość płótna w schowku systemowym" - }, - "downloadImage": { - "title": "Pobierz obraz", - "desc": "Zapisuje zawartość płótna do pliku obrazu" - }, - "undoStroke": { - "title": "Cofnij", - "desc": "Cofa ostatnie pociągnięcie pędzlem" - }, - "redoStroke": { - "title": "Ponawia", - "desc": "Ponawia cofnięte pociągnięcie pędzlem" - }, - "resetView": { - "title": "Resetuj widok", - "desc": "Centruje widok płótna" - }, - "previousStagingImage": { - "title": "Poprzedni obraz tymczasowy", - "desc": "Pokazuje poprzedni obraz tymczasowy" - }, - "nextStagingImage": { - "title": "Następny obraz tymczasowy", - "desc": "Pokazuje następny obraz tymczasowy" - }, - "acceptStagingImage": { - "title": "Akceptuj obraz tymczasowy", - "desc": "Akceptuje aktualnie wybrany obraz tymczasowy" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/pt.json b/invokeai/frontend/dist/locales/hotkeys/pt.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/pt.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/hotkeys/pt_br.json b/invokeai/frontend/dist/locales/hotkeys/pt_br.json deleted file mode 100644 index be7dbdf7cf..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/pt_br.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Atalhos de Teclado", - "appHotkeys": "Atalhos do app", - "generalHotkeys": "Atalhos Gerais", - "galleryHotkeys": "Atalhos da Galeria", - "unifiedCanvasHotkeys": "Atalhos da Tela Unificada", - "invoke": { - "title": "Invoke", - "desc": "Gerar uma imagem" - }, - "cancel": { - "title": "Cancelar", - "desc": "Cancelar geração de imagem" - }, - "focusPrompt": { - "title": "Foco do Prompt", - "desc": "Foco da área de texto do prompt" - }, - "toggleOptions": { - "title": "Ativar Opções", - "desc": "Abrir e fechar o painel de opções" - }, - "pinOptions": { - "title": "Fixar Opções", - "desc": "Fixar o painel de opções" - }, - "toggleViewer": { - "title": "Ativar Visualizador", - "desc": "Abrir e fechar o Visualizador de Imagens" - }, - "toggleGallery": { - "title": "Ativar Galeria", - "desc": "Abrir e fechar a gaveta da galeria" - }, - "maximizeWorkSpace": { - "title": "Maximizar a Área de Trabalho", - "desc": "Fechar painéis e maximixar área de trabalho" - }, - "changeTabs": { - "title": "Mudar Abas", - "desc": "Trocar para outra área de trabalho" - }, - "consoleToggle": { - "title": "Ativar Console", - "desc": "Abrir e fechar console" - }, - "setPrompt": { - "title": "Definir Prompt", - "desc": "Usar o prompt da imagem atual" - }, - "setSeed": { - "title": "Definir Seed", - "desc": "Usar seed da imagem atual" - }, - "setParameters": { - "title": "Definir Parâmetros", - "desc": "Usar todos os parâmetros da imagem atual" - }, - "restoreFaces": { - "title": "Restaurar Rostos", - "desc": "Restaurar a imagem atual" - }, - "upscale": { - "title": "Redimensionar", - "desc": "Redimensionar a imagem atual" - }, - "showInfo": { - "title": "Mostrar Informações", - "desc": "Mostrar metadados de informações da imagem atual" - }, - "sendToImageToImage": { - "title": "Mandar para Imagem Para Imagem", - "desc": "Manda a imagem atual para Imagem Para Imagem" - }, - "deleteImage": { - "title": "Apagar Imagem", - "desc": "Apaga a imagem atual" - }, - "closePanels": { - "title": "Fechar Painéis", - "desc": "Fecha os painéis abertos" - }, - "previousImage": { - "title": "Imagem Anterior", - "desc": "Mostra a imagem anterior na galeria" - }, - "nextImage": { - "title": "Próxima Imagem", - "desc": "Mostra a próxima imagem na galeria" - }, - "toggleGalleryPin": { - "title": "Ativar Fixar Galeria", - "desc": "Fixa e desafixa a galeria na interface" - }, - "increaseGalleryThumbSize": { - "title": "Aumentar Tamanho da Galeria de Imagem", - "desc": "Aumenta o tamanho das thumbs na galeria" - }, - "decreaseGalleryThumbSize": { - "title": "Diminuir Tamanho da Galeria de Imagem", - "desc": "Diminui o tamanho das thumbs na galeria" - }, - "selectBrush": { - "title": "Selecionar Pincel", - "desc": "Seleciona o pincel" - }, - "selectEraser": { - "title": "Selecionar Apagador", - "desc": "Seleciona o apagador" - }, - "decreaseBrushSize": { - "title": "Diminuir Tamanho do Pincel", - "desc": "Diminui o tamanho do pincel/apagador" - }, - "increaseBrushSize": { - "title": "Aumentar Tamanho do Pincel", - "desc": "Aumenta o tamanho do pincel/apagador" - }, - "decreaseBrushOpacity": { - "title": "Diminuir Opacidade do Pincel", - "desc": "Diminui a opacidade do pincel" - }, - "increaseBrushOpacity": { - "title": "Aumentar Opacidade do Pincel", - "desc": "Aumenta a opacidade do pincel" - }, - "moveTool": { - "title": "Ferramenta Mover", - "desc": "Permite navegar pela tela" - }, - "fillBoundingBox": { - "title": "Preencher Caixa Delimitadora", - "desc": "Preenche a caixa delimitadora com a cor do pincel" - }, - "eraseBoundingBox": { - "title": "Apagar Caixa Delimitadora", - "desc": "Apaga a área da caixa delimitadora" - }, - "colorPicker": { - "title": "Selecionar Seletor de Cor", - "desc": "Seleciona o seletor de cores" - }, - "toggleSnap": { - "title": "Ativar Encaixe", - "desc": "Ativa Encaixar na Grade" - }, - "quickToggleMove": { - "title": "Ativar Mover Rapidamente", - "desc": "Temporariamente ativa o modo Mover" - }, - "toggleLayer": { - "title": "Ativar Camada", - "desc": "Ativa a seleção de camada de máscara/base" - }, - "clearMask": { - "title": "Limpar Máscara", - "desc": "Limpa toda a máscara" - }, - "hideMask": { - "title": "Esconder Máscara", - "desc": "Esconde e Revela a máscara" - }, - "showHideBoundingBox": { - "title": "Mostrar/Esconder Caixa Delimitadora", - "desc": "Ativa a visibilidade da caixa delimitadora" - }, - "mergeVisible": { - "title": "Fundir Visível", - "desc": "Fundir todas as camadas visíveis em tela" - }, - "saveToGallery": { - "title": "Salvara Na Galeria", - "desc": "Salva a tela atual na galeria" - }, - "copyToClipboard": { - "title": "Copiar Para a Área de Transferência ", - "desc": "Copia a tela atual para a área de transferência" - }, - "downloadImage": { - "title": "Baixar Imagem", - "desc": "Baixa a tela atual" - }, - "undoStroke": { - "title": "Desfazer Traço", - "desc": "Desfaz um traço de pincel" - }, - "redoStroke": { - "title": "Refazer Traço", - "desc": "Refaz o traço de pincel" - }, - "resetView": { - "title": "Resetar Visualização", - "desc": "Reseta Visualização da Tela" - }, - "previousStagingImage": { - "title": "Imagem de Preparação Anterior", - "desc": "Área de Imagem de Preparação Anterior" - }, - "nextStagingImage": { - "title": "Próxima Imagem de Preparação Anterior", - "desc": "Próxima Área de Imagem de Preparação Anterior" - }, - "acceptStagingImage": { - "title": "Aceitar Imagem de Preparação Anterior", - "desc": "Aceitar Área de Imagem de Preparação Anterior" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/ru.json b/invokeai/frontend/dist/locales/hotkeys/ru.json deleted file mode 100644 index 9341df5af5..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/ru.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Клавиатурные сокращения", - "appHotkeys": "Горячие клавиши приложения", - "generalHotkeys": "Общие горячие клавиши", - "galleryHotkeys": "Горячие клавиши галереи", - "unifiedCanvasHotkeys": "Горячие клавиши универсального холста", - "invoke": { - "title": "Invoke", - "desc": "Сгенерировать изображение" - }, - "cancel": { - "title": "Отменить", - "desc": "Отменить генерацию изображения" - }, - "focusPrompt": { - "title": "Переключиться на ввод запроса", - "desc": "Переключение на область ввода запроса" - }, - "toggleOptions": { - "title": "Показать/скрыть параметры", - "desc": "Открывать и закрывать панель параметров" - }, - "pinOptions": { - "title": "Закрепить параметры", - "desc": "Закрепить панель параметров" - }, - "toggleViewer": { - "title": "Показать просмотр", - "desc": "Открывать и закрывать просмотрщик изображений" - }, - "toggleGallery": { - "title": "Показать галерею", - "desc": "Открывать и закрывать ящик галереи" - }, - "maximizeWorkSpace": { - "title": "Максимизировать рабочее пространство", - "desc": "Скрыть панели и максимизировать рабочую область" - }, - "changeTabs": { - "title": "Переключить вкладку", - "desc": "Переключиться на другую рабочую область" - }, - "consoleToggle": { - "title": "Показать консоль", - "desc": "Открывать и закрывать консоль" - }, - "setPrompt": { - "title": "Использовать запрос", - "desc": "Использовать запрос из текущего изображения" - }, - "setSeed": { - "title": "Использовать сид", - "desc": "Использовать сид текущего изображения" - }, - "setParameters": { - "title": "Использовать все параметры", - "desc": "Использовать все параметры текущего изображения" - }, - "restoreFaces": { - "title": "Восстановить лица", - "desc": "Восстановить лица на текущем изображении" - }, - "upscale": { - "title": "Увеличение", - "desc": "Увеличить текущеее изображение" - }, - "showInfo": { - "title": "Показать метаданные", - "desc": "Показать метаданные из текущего изображения" - }, - "sendToImageToImage": { - "title": "Отправить в img2img", - "desc": "Отправить текущее изображение в Image To Image" - }, - "deleteImage": { - "title": "Удалить изображение", - "desc": "Удалить текущее изображение" - }, - "closePanels": { - "title": "Закрыть панели", - "desc": "Закрывает открытые панели" - }, - "previousImage": { - "title": "Предыдущее изображение", - "desc": "Отображать предыдущее изображение в галерее" - }, - "nextImage": { - "title": "Следующее изображение", - "desc": "Отображение следующего изображения в галерее" - }, - "toggleGalleryPin": { - "title": "Закрепить галерею", - "desc": "Закрепляет и открепляет галерею" - }, - "increaseGalleryThumbSize": { - "title": "Увеличить размер миниатюр галереи", - "desc": "Увеличивает размер миниатюр галереи" - }, - "reduceGalleryThumbSize": { - "title": "Уменьшает размер миниатюр галереи", - "desc": "Уменьшает размер миниатюр галереи" - }, - "selectBrush": { - "title": "Выбрать кисть", - "desc": "Выбирает кисть для холста" - }, - "selectEraser": { - "title": "Выбрать ластик", - "desc": "Выбирает ластик для холста" - }, - "reduceBrushSize": { - "title": "Уменьшить размер кисти", - "desc": "Уменьшает размер кисти/ластика холста" - }, - "increaseBrushSize": { - "title": "Увеличить размер кисти", - "desc": "Увеличивает размер кисти/ластика холста" - }, - "reduceBrushOpacity": { - "title": "Уменьшить непрозрачность кисти", - "desc": "Уменьшает непрозрачность кисти холста" - }, - "increaseBrushOpacity": { - "title": "Увеличить непрозрачность кисти", - "desc": "Увеличивает непрозрачность кисти холста" - }, - "moveTool": { - "title": "Инструмент перемещения", - "desc": "Позволяет перемещаться по холсту" - }, - "fillBoundingBox": { - "title": "Заполнить ограничивающую рамку", - "desc": "Заполняет ограничивающую рамку цветом кисти" - }, - "eraseBoundingBox": { - "title": "Стереть ограничивающую рамку", - "desc": "Стирает область ограничивающей рамки" - }, - "colorPicker": { - "title": "Выбрать цвет", - "desc": "Выбирает средство выбора цвета холста" - }, - "toggleSnap": { - "title": "Включить привязку", - "desc": "Включает/выключает привязку к сетке" - }, - "quickToggleMove": { - "title": "Быстрое переключение перемещения", - "desc": "Временно переключает режим перемещения" - }, - "toggleLayer": { - "title": "Переключить слой", - "desc": "Переключение маски/базового слоя" - }, - "clearMask": { - "title": "Очистить маску", - "desc": "Очистить всю маску" - }, - "hideMask": { - "title": "Скрыть маску", - "desc": "Скрывает/показывает маску" - }, - "showHideBoundingBox": { - "title": "Показать/скрыть ограничивающую рамку", - "desc": "Переключить видимость ограничивающей рамки" - }, - "mergeVisible": { - "title": "Объединить видимые", - "desc": "Объединить все видимые слои холста" - }, - "saveToGallery": { - "title": "Сохранить в галерею", - "desc": "Сохранить текущий холст в галерею" - }, - "copyToClipboard": { - "title": "Копировать в буфер обмена", - "desc": "Копировать текущий холст в буфер обмена" - }, - "downloadImage": { - "title": "Скачать изображение", - "desc": "Скачать содержимое холста" - }, - "undoStroke": { - "title": "Отменить кисть", - "desc": "Отменить мазок кисти" - }, - "redoStroke": { - "title": "Повторить кисть", - "desc": "Повторить мазок кисти" - }, - "resetView": { - "title": "Вид по умолчанию", - "desc": "Сбросить вид холста" - }, - "previousStagingImage": { - "title": "Previous Staging Image", - "desc": "Предыдущее изображение" - }, - "nextStagingImage": { - "title": "Next Staging Image", - "desc": "Следующее изображение" - }, - "acceptStagingImage": { - "title": "Принять изображение", - "desc": "Принять текущее изображение" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/ua.json b/invokeai/frontend/dist/locales/hotkeys/ua.json deleted file mode 100644 index 839cc74f46..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/ua.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "Клавіатурні скорочення", - "appHotkeys": "Гарячі клавіші програми", - "generalHotkeys": "Загальні гарячі клавіші", - "galleryHotkeys": "Гарячі клавіші галереї", - "unifiedCanvasHotkeys": "Гарячі клавіші універсального полотна", - "invoke": { - "title": "Invoke", - "desc": "Згенерувати зображення" - }, - "cancel": { - "title": "Скасувати", - "desc": "Скасувати генерацію зображення" - }, - "focusPrompt": { - "title": "Переключитися на введення запиту", - "desc": "Перемикання на область введення запиту" - }, - "toggleOptions": { - "title": "Показати/приховати параметри", - "desc": "Відкривати і закривати панель параметрів" - }, - "pinOptions": { - "title": "Закріпити параметри", - "desc": "Закріпити панель параметрів" - }, - "toggleViewer": { - "title": "Показати перегляд", - "desc": "Відкривати і закривати переглядач зображень" - }, - "toggleGallery": { - "title": "Показати галерею", - "desc": "Відкривати і закривати скриньку галереї" - }, - "maximizeWorkSpace": { - "title": "Максимізувати робочий простір", - "desc": "Приховати панелі і максимізувати робочу область" - }, - "changeTabs": { - "title": "Переключити вкладку", - "desc": "Переключитися на іншу робочу область" - }, - "consoleToggle": { - "title": "Показати консоль", - "desc": "Відкривати і закривати консоль" - }, - "setPrompt": { - "title": "Використовувати запит", - "desc": "Використати запит із поточного зображення" - }, - "setSeed": { - "title": "Використовувати сід", - "desc": "Використовувати сід поточного зображення" - }, - "setParameters": { - "title": "Використовувати всі параметри", - "desc": "Використовувати всі параметри поточного зображення" - }, - "restoreFaces": { - "title": "Відновити обличчя", - "desc": "Відновити обличчя на поточному зображенні" - }, - "upscale": { - "title": "Збільшення", - "desc": "Збільшити поточне зображення" - }, - "showInfo": { - "title": "Показати метадані", - "desc": "Показати метадані з поточного зображення" - }, - "sendToImageToImage": { - "title": "Відправити в img2img", - "desc": "Надіслати поточне зображення в Image To Image" - }, - "deleteImage": { - "title": "Видалити зображення", - "desc": "Видалити поточне зображення" - }, - "closePanels": { - "title": "Закрити панелі", - "desc": "Закриває відкриті панелі" - }, - "previousImage": { - "title": "Попереднє зображення", - "desc": "Відображати попереднє зображення в галереї" - }, - "nextImage": { - "title": "Наступне зображення", - "desc": "Відображення наступного зображення в галереї" - }, - "toggleGalleryPin": { - "title": "Закріпити галерею", - "desc": "Закріплює і відкріплює галерею" - }, - "increaseGalleryThumbSize": { - "title": "Збільшити розмір мініатюр галереї", - "desc": "Збільшує розмір мініатюр галереї" - }, - "reduceGalleryThumbSize": { - "title": "Зменшує розмір мініатюр галереї", - "desc": "Зменшує розмір мініатюр галереї" - }, - "selectBrush": { - "title": "Вибрати пензель", - "desc": "Вибирає пензель для полотна" - }, - "selectEraser": { - "title": "Вибрати ластик", - "desc": "Вибирає ластик для полотна" - }, - "reduceBrushSize": { - "title": "Зменшити розмір пензля", - "desc": "Зменшує розмір пензля/ластика полотна" - }, - "increaseBrushSize": { - "title": "Збільшити розмір пензля", - "desc": "Збільшує розмір пензля/ластика полотна" - }, - "reduceBrushOpacity": { - "title": "Зменшити непрозорість пензля", - "desc": "Зменшує непрозорість пензля полотна" - }, - "increaseBrushOpacity": { - "title": "Збільшити непрозорість пензля", - "desc": "Збільшує непрозорість пензля полотна" - }, - "moveTool": { - "title": "Інструмент переміщення", - "desc": "Дозволяє переміщатися по полотну" - }, - "fillBoundingBox": { - "title": "Заповнити обмежувальну рамку", - "desc": "Заповнює обмежувальну рамку кольором пензля" - }, - "eraseBoundingBox": { - "title": "Стерти обмежувальну рамку", - "desc": "Стирає область обмежувальної рамки" - }, - "colorPicker": { - "title": "Вибрати колір", - "desc": "Вибирає засіб вибору кольору полотна" - }, - "toggleSnap": { - "title": "Увімкнути прив'язку", - "desc": "Вмикає/вимикає прив'язку до сітки" - }, - "quickToggleMove": { - "title": "Швидке перемикання переміщення", - "desc": "Тимчасово перемикає режим переміщення" - }, - "toggleLayer": { - "title": "Переключити шар", - "desc": "Перемикання маски/базового шару" - }, - "clearMask": { - "title": "Очистити маску", - "desc": "Очистити всю маску" - }, - "hideMask": { - "title": "Приховати маску", - "desc": "Приховує/показує маску" - }, - "showHideBoundingBox": { - "title": "Показати/приховати обмежувальну рамку", - "desc": "Переключити видимість обмежувальної рамки" - }, - "mergeVisible": { - "title": "Об'єднати видимі", - "desc": "Об'єднати всі видимі шари полотна" - }, - "saveToGallery": { - "title": "Зберегти в галерею", - "desc": "Зберегти поточне полотно в галерею" - }, - "copyToClipboard": { - "title": "Копіювати в буфер обміну", - "desc": "Копіювати поточне полотно в буфер обміну" - }, - "downloadImage": { - "title": "Завантажити зображення", - "desc": "Завантажити вміст полотна" - }, - "undoStroke": { - "title": "Скасувати пензель", - "desc": "Скасувати мазок пензля" - }, - "redoStroke": { - "title": "Повторити мазок пензля", - "desc": "Повторити мазок пензля" - }, - "resetView": { - "title": "Вид за замовчуванням", - "desc": "Скинути вид полотна" - }, - "previousStagingImage": { - "title": "Попереднє зображення", - "desc": "Попереднє зображення" - }, - "nextStagingImage": { - "title": "Наступне зображення", - "desc": "Наступне зображення" - }, - "acceptStagingImage": { - "title": "Прийняти зображення", - "desc": "Прийняти поточне зображення" - } -} diff --git a/invokeai/frontend/dist/locales/hotkeys/zh_cn.json b/invokeai/frontend/dist/locales/hotkeys/zh_cn.json deleted file mode 100644 index 4eecea0b4c..0000000000 --- a/invokeai/frontend/dist/locales/hotkeys/zh_cn.json +++ /dev/null @@ -1,207 +0,0 @@ -{ - "keyboardShortcuts": "快捷方式", - "appHotkeys": "应用快捷方式", - "generalHotkeys": "一般快捷方式", - "galleryHotkeys": "图库快捷方式", - "unifiedCanvasHotkeys": "统一画布快捷方式", - "invoke": { - "title": "Invoke", - "desc": "生成图像" - }, - "cancel": { - "title": "取消", - "desc": "取消图像生成" - }, - "focusPrompt": { - "title": "打开提示框", - "desc": "打开提示文本框" - }, - "toggleOptions": { - "title": "切换选项卡", - "desc": "打开或关闭选项卡" - }, - "pinOptions": { - "title": "常开选项卡", - "desc": "保持选项卡常开" - }, - "toggleViewer": { - "title": "切换图像视图", - "desc": "打开或关闭图像视图" - }, - "toggleGallery": { - "title": "切换图库", - "desc": "打开或关闭图库" - }, - "maximizeWorkSpace": { - "title": "工作台最大化", - "desc": "关闭所有浮窗,将工作区域最大化" - }, - "changeTabs": { - "title": "切换卡片", - "desc": "切换到另一个工作区" - }, - "consoleToggle": { - "title": "切换命令行", - "desc": "打开或关闭命令行" - }, - "setPrompt": { - "title": "使用提示", - "desc": "使用当前图像的提示词" - }, - "setSeed": { - "title": "使用种子", - "desc": "使用当前图像的种子" - }, - "setParameters": { - "title": "使用所有参数", - "desc": "使用当前图像的所有参数" - }, - "restoreFaces": { - "title": "脸部修复", - "desc": "对当前图像进行脸部修复" - }, - "upscale": { - "title": "放大", - "desc": "对当前图像进行放大" - }, - "showInfo": { - "title": "显示信息", - "desc": "显示当前图像的元数据" - }, - "sendToImageToImage": { - "title": "送往图像到图像", - "desc": "将当前图像送往图像到图像" - }, - "deleteImage": { - "title": "删除图像", - "desc": "删除当前图像" - }, - "closePanels": { - "title": "关闭浮窗", - "desc": "关闭目前打开的浮窗" - }, - "previousImage": { - "title": "上一张图像", - "desc": "显示相册中的上一张图像" - }, - "nextImage": { - "title": "下一张图像", - "desc": "显示相册中的下一张图像" - }, - "toggleGalleryPin": { - "title": "切换图库常开", - "desc": "开关图库在界面中的常开模式" - }, - "increaseGalleryThumbSize": { - "title": "增大预览大小", - "desc": "增大图库中预览的大小" - }, - "decreaseGalleryThumbSize": { - "title": "减小预览大小", - "desc": "减小图库中预览的大小" - }, - "selectBrush": { - "title": "选择刷子", - "desc": "选择统一画布上的刷子" - }, - "selectEraser": { - "title": "选择橡皮擦", - "desc": "选择统一画布上的橡皮擦" - }, - "decreaseBrushSize": { - "title": "减小刷子大小", - "desc": "减小统一画布上的刷子或橡皮擦的大小" - }, - "increaseBrushSize": { - "title": "增大刷子大小", - "desc": "增大统一画布上的刷子或橡皮擦的大小" - }, - "decreaseBrushOpacity": { - "title": "减小刷子不透明度", - "desc": "减小统一画布上的刷子的不透明度" - }, - "increaseBrushOpacity": { - "title": "增大刷子不透明度", - "desc": "增大统一画布上的刷子的不透明度" - }, - "moveTool": { - "title": "移动工具", - "desc": "在画布上移动" - }, - "fillBoundingBox": { - "title": "填充选择区域", - "desc": "在选择区域中填充刷子颜色" - }, - "eraseBoundingBox": { - "title": "取消选择区域", - "desc": "将选择区域抹除" - }, - "colorPicker": { - "title": "颜色提取工具", - "desc": "选择颜色提取工具" - }, - "toggleSnap": { - "title": "切换网格对齐", - "desc": "打开或关闭网格对齐" - }, - "quickToggleMove": { - "title": "快速切换移动模式", - "desc": "临时性地切换移动模式" - }, - "toggleLayer": { - "title": "切换图层", - "desc": "切换遮罩/基础层的选择" - }, - "clearMask": { - "title": "清除遮罩", - "desc": "清除整个遮罩层" - }, - "hideMask": { - "title": "隐藏遮罩", - "desc": "隐藏或显示遮罩" - }, - "showHideBoundingBox": { - "title": "显示/隐藏框选区", - "desc": "切换框选区的的显示状态" - }, - "mergeVisible": { - "title": "合并可见层", - "desc": "将画板上可见层合并" - }, - "saveToGallery": { - "title": "保存至图库", - "desc": "将画板当前内容保存至图库" - }, - "copyToClipboard": { - "title": "复制到剪贴板", - "desc": "将画板当前内容复制到剪贴板" - }, - "downloadImage": { - "title": "下载图像", - "desc": "下载画板当前内容" - }, - "undoStroke": { - "title": "撤销画笔", - "desc": "撤销上一笔刷子的动作" - }, - "redoStroke": { - "title": "重做画笔", - "desc": "重做上一笔刷子的动作" - }, - "resetView": { - "title": "重置视图", - "desc": "重置画板视图" - }, - "previousStagingImage": { - "title": "上一张暂存图像", - "desc": "上一张暂存区中的图像" - }, - "nextStagingImage": { - "title": "下一张暂存图像", - "desc": "下一张暂存区中的图像" - }, - "acceptStagingImage": { - "title": "接受暂存图像", - "desc": "接受当前暂存区中的图像" - } -} diff --git a/invokeai/frontend/dist/locales/modelmanager/de.json b/invokeai/frontend/dist/locales/modelmanager/de.json deleted file mode 100644 index 63da31026a..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/de.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "modelManager": "Model Manager", - "model": "Model", - "modelAdded": "Model hinzugefügt", - "modelUpdated": "Model aktualisiert", - "modelEntryDeleted": "Modelleintrag gelöscht", - "cannotUseSpaces": "Leerzeichen können nicht verwendet werden", - "addNew": "Neue hinzufügen", - "addNewModel": "Neues Model hinzufügen", - "addManually": "Manuell hinzufügen", - "manual": "Manual", - "name": "Name", - "nameValidationMsg": "Geben Sie einen Namen für Ihr Model ein", - "description": "Beschreibung", - "descriptionValidationMsg": "Fügen Sie eine Beschreibung für Ihr Model hinzu", - "config": "Konfiguration", - "configValidationMsg": "Pfad zur Konfigurationsdatei Ihres Models.", - "modelLocation": "Ort des Models", - "modelLocationValidationMsg": "Pfad zum Speicherort Ihres Models.", - "vaeLocation": "VAE Ort", - "vaeLocationValidationMsg": "Pfad zum Speicherort Ihres VAE.", - "width": "Breite", - "widthValidationMsg": "Standardbreite Ihres Models.", - "height": "Höhe", - "heightValidationMsg": "Standardbhöhe Ihres Models.", - "addModel": "Model hinzufügen", - "updateModel": "Model aktualisieren", - "availableModels": "Verfügbare Models", - "search": "Suche", - "load": "Laden", - "active": "Aktiv", - "notLoaded": "nicht geladen", - "cached": "zwischengespeichert", - "checkpointFolder": "Checkpoint-Ordner", - "clearCheckpointFolder": "Checkpoint-Ordner löschen", - "findModels": "Models finden", - "scanAgain": "Erneut scannen", - "modelsFound": "Models gefunden", - "selectFolder": "Ordner auswählen", - "selected": "Ausgewählt", - "selectAll": "Alles auswählen", - "deselectAll": "Alle abwählen", - "showExisting": "Vorhandene anzeigen", - "addSelected": "Auswahl hinzufügen", - "modelExists": "Model existiert", - "selectAndAdd": "Unten aufgeführte Models auswählen und hinzufügen", - "noModelsFound": "Keine Models gefunden", - "delete": "Löschen", - "deleteModel": "Model löschen", - "deleteConfig": "Konfiguration löschen", - "deleteMsg1": "Möchten Sie diesen Model-Eintrag wirklich aus InvokeAI löschen?", - "deleteMsg2": "Dadurch wird die Modellprüfpunktdatei nicht von Ihrer Festplatte gelöscht. Sie können sie bei Bedarf erneut hinzufügen." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/en-US.json b/invokeai/frontend/dist/locales/modelmanager/en-US.json deleted file mode 100644 index c5c5eda054..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/en-US.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "modelManager": "Model Manager", - "model": "Model", - "allModels": "All Models", - "checkpointModels": "Checkpoints", - "diffusersModels": "Diffusers", - "safetensorModels": "SafeTensors", - "modelAdded": "Model Added", - "modelUpdated": "Model Updated", - "modelEntryDeleted": "Model Entry Deleted", - "cannotUseSpaces": "Cannot Use Spaces", - "addNew": "Add New", - "addNewModel": "Add New Model", - "addCheckpointModel": "Add Checkpoint / Safetensor Model", - "addDiffuserModel": "Add Diffusers", - "addManually": "Add Manually", - "manual": "Manual", - "name": "Name", - "nameValidationMsg": "Enter a name for your model", - "description": "Description", - "descriptionValidationMsg": "Add a description for your model", - "config": "Config", - "configValidationMsg": "Path to the config file of your model.", - "modelLocation": "Model Location", - "modelLocationValidationMsg": "Path to where your model is located.", - "repo_id": "Repo ID", - "repoIDValidationMsg": "Online repository of your model", - "vaeLocation": "VAE Location", - "vaeLocationValidationMsg": "Path to where your VAE is located.", - "vaeRepoID": "VAE Repo ID", - "vaeRepoIDValidationMsg": "Online repository of your VAE", - "width": "Width", - "widthValidationMsg": "Default width of your model.", - "height": "Height", - "heightValidationMsg": "Default height of your model.", - "addModel": "Add Model", - "updateModel": "Update Model", - "availableModels": "Available Models", - "search": "Search", - "load": "Load", - "active": "active", - "notLoaded": "not loaded", - "cached": "cached", - "checkpointFolder": "Checkpoint Folder", - "clearCheckpointFolder": "Clear Checkpoint Folder", - "findModels": "Find Models", - "scanAgain": "Scan Again", - "modelsFound": "Models Found", - "selectFolder": "Select Folder", - "selected": "Selected", - "selectAll": "Select All", - "deselectAll": "Deselect All", - "showExisting": "Show Existing", - "addSelected": "Add Selected", - "modelExists": "Model Exists", - "selectAndAdd": "Select and Add Models Listed Below", - "noModelsFound": "No Models Found", - "delete": "Delete", - "deleteModel": "Delete Model", - "deleteConfig": "Delete Config", - "deleteMsg1": "Are you sure you want to delete this model entry from InvokeAI?", - "deleteMsg2": "This will not delete the model checkpoint file from your disk. You can readd them if you wish to.", - "formMessageDiffusersModelLocation": "Diffusers Model Location", - "formMessageDiffusersModelLocationDesc": "Please enter at least one.", - "formMessageDiffusersVAELocation": "VAE Location", - "formMessageDiffusersVAELocationDesc": "If not provided, InvokeAI will look for the VAE file inside the model location given above." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/en.json b/invokeai/frontend/dist/locales/modelmanager/en.json deleted file mode 100644 index ad320d0969..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/en.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "modelManager": "Model Manager", - "model": "Model", - "allModels": "All Models", - "checkpointModels": "Checkpoints", - "diffusersModels": "Diffusers", - "safetensorModels": "SafeTensors", - "modelAdded": "Model Added", - "modelUpdated": "Model Updated", - "modelEntryDeleted": "Model Entry Deleted", - "cannotUseSpaces": "Cannot Use Spaces", - "addNew": "Add New", - "addNewModel": "Add New Model", - "addCheckpointModel": "Add Checkpoint / Safetensor Model", - "addDiffuserModel": "Add Diffusers", - "addManually": "Add Manually", - "manual": "Manual", - "name": "Name", - "nameValidationMsg": "Enter a name for your model", - "description": "Description", - "descriptionValidationMsg": "Add a description for your model", - "config": "Config", - "configValidationMsg": "Path to the config file of your model.", - "modelLocation": "Model Location", - "modelLocationValidationMsg": "Path to where your model is located locally.", - "repo_id": "Repo ID", - "repoIDValidationMsg": "Online repository of your model", - "vaeLocation": "VAE Location", - "vaeLocationValidationMsg": "Path to where your VAE is located.", - "vaeRepoID": "VAE Repo ID", - "vaeRepoIDValidationMsg": "Online repository of your VAE", - "width": "Width", - "widthValidationMsg": "Default width of your model.", - "height": "Height", - "heightValidationMsg": "Default height of your model.", - "addModel": "Add Model", - "updateModel": "Update Model", - "availableModels": "Available Models", - "search": "Search", - "load": "Load", - "active": "active", - "notLoaded": "not loaded", - "cached": "cached", - "checkpointFolder": "Checkpoint Folder", - "clearCheckpointFolder": "Clear Checkpoint Folder", - "findModels": "Find Models", - "scanAgain": "Scan Again", - "modelsFound": "Models Found", - "selectFolder": "Select Folder", - "selected": "Selected", - "selectAll": "Select All", - "deselectAll": "Deselect All", - "showExisting": "Show Existing", - "addSelected": "Add Selected", - "modelExists": "Model Exists", - "selectAndAdd": "Select and Add Models Listed Below", - "noModelsFound": "No Models Found", - "delete": "Delete", - "deleteModel": "Delete Model", - "deleteConfig": "Delete Config", - "deleteMsg1": "Are you sure you want to delete this model entry from InvokeAI?", - "deleteMsg2": "This will not delete the model checkpoint file from your disk. You can readd them if you wish to.", - "formMessageDiffusersModelLocation": "Diffusers Model Location", - "formMessageDiffusersModelLocationDesc": "Please enter at least one.", - "formMessageDiffusersVAELocation": "VAE Location", - "formMessageDiffusersVAELocationDesc": "If not provided, InvokeAI will look for the VAE file inside the model location given above." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/es.json b/invokeai/frontend/dist/locales/modelmanager/es.json deleted file mode 100644 index 963acf5b13..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/es.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "modelManager": "Gestor de Modelos", - "model": "Modelo", - "modelAdded": "Modelo añadido", - "modelUpdated": "Modelo actualizado", - "modelEntryDeleted": "Endrada de Modelo eliminada", - "cannotUseSpaces": "No se pueden usar Spaces", - "addNew": "Añadir nuevo", - "addNewModel": "Añadir nuevo modelo", - "addManually": "Añadir manualmente", - "manual": "Manual", - "name": "Nombre", - "nameValidationMsg": "Introduce un nombre para tu modelo", - "description": "Descripción", - "descriptionValidationMsg": "Introduce una descripción para tu modelo", - "config": "Config", - "configValidationMsg": "Ruta del archivo de configuración del modelo", - "modelLocation": "Ubicación del Modelo", - "modelLocationValidationMsg": "Ruta del archivo de modelo", - "vaeLocation": "Ubicación VAE", - "vaeLocationValidationMsg": "Ruta del archivo VAE", - "width": "Ancho", - "widthValidationMsg": "Ancho predeterminado de tu modelo", - "height": "Alto", - "heightValidationMsg": "Alto predeterminado de tu modelo", - "addModel": "Añadir Modelo", - "updateModel": "Actualizar Modelo", - "availableModels": "Modelos disponibles", - "search": "Búsqueda", - "load": "Cargar", - "active": "activo", - "notLoaded": "no cargado", - "cached": "en caché", - "checkpointFolder": "Directorio de Checkpoint", - "clearCheckpointFolder": "Limpiar directorio de checkpoint", - "findModels": "Buscar modelos", - "scanAgain": "Escanear de nuevo", - "modelsFound": "Modelos encontrados", - "selectFolder": "Selecciona un directorio", - "selected": "Seleccionado", - "selectAll": "Seleccionar todo", - "deselectAll": "Deseleccionar todo", - "showExisting": "Mostrar existentes", - "addSelected": "Añadir seleccionados", - "modelExists": "Modelo existente", - "selectAndAdd": "Selecciona de la lista un modelo para añadir", - "noModelsFound": "No se encontró ningún modelo", - "delete": "Eliminar", - "deleteModel": "Eliminar Modelo", - "deleteConfig": "Eliminar Configuración", - "deleteMsg1": "¿Estás seguro de querer eliminar esta entrada de modelo de InvokeAI?", - "deleteMsg2": "El checkpoint del modelo no se eliminará de tu disco. Puedes volver a añadirlo si lo deseas." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/fr.json b/invokeai/frontend/dist/locales/modelmanager/fr.json deleted file mode 100644 index 5884893037..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/fr.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "modelManager": "Gestionnaire de modèle", - "model": "Modèle", - "allModels": "Tous les modèles", - "checkpointModels": "Points de contrôle", - "diffusersModels": "Diffuseurs", - "safetensorModels": "SafeTensors", - "modelAdded": "Modèle ajouté", - "modelUpdated": "Modèle mis à jour", - "modelEntryDeleted": "Entrée de modèle supprimée", - "cannotUseSpaces": "Ne peut pas utiliser d'espaces", - "addNew": "Ajouter un nouveau", - "addNewModel": "Ajouter un nouveau modèle", - "addCheckpointModel": "Ajouter un modèle de point de contrôle / SafeTensor", - "addDiffuserModel": "Ajouter des diffuseurs", - "addManually": "Ajouter manuellement", - "manual": "Manuel", - "name": "Nom", - "nameValidationMsg": "Entrez un nom pour votre modèle", - "description": "Description", - "descriptionValidationMsg": "Ajoutez une description pour votre modèle", - "config": "Config", - "configValidationMsg": "Chemin vers le fichier de configuration de votre modèle.", - "modelLocation": "Emplacement du modèle", - "modelLocationValidationMsg": "Chemin vers où votre modèle est situé localement.", - "repo_id": "ID de dépôt", - "repoIDValidationMsg": "Dépôt en ligne de votre modèle", - "vaeLocation": "Emplacement VAE", - "vaeLocationValidationMsg": "Chemin vers où votre VAE est situé.", - "vaeRepoID": "ID de dépôt VAE", - "vaeRepoIDValidationMsg": "Dépôt en ligne de votre VAE", - "width": "Largeur", - "widthValidationMsg": "Largeur par défaut de votre modèle.", - "height": "Hauteur", - "heightValidationMsg": "Hauteur par défaut de votre modèle.", - "addModel": "Ajouter un modèle", - "updateModel": "Mettre à jour le modèle", - "availableModels": "Modèles disponibles", - "search": "Rechercher", - "load": "Charger", - "active": "actif", - "notLoaded": "non chargé", - "cached": "en cache", - "checkpointFolder": "Dossier de point de contrôle", - "clearCheckpointFolder": "Effacer le dossier de point de contrôle", - "findModels": "Trouver des modèles", - "scanAgain": "Scanner à nouveau", - "modelsFound": "Modèles trouvés", - "selectFolder": "Sélectionner un dossier", - "selected": "Sélectionné", - "selectAll": "Tout sélectionner", - "deselectAll": "Tout désélectionner", - "showExisting": "Afficher existant", - "addSelected": "Ajouter sélectionné", - "modelExists": "Modèle existant", - "selectAndAdd": "Sélectionner et ajouter les modèles listés ci-dessous", - "noModelsFound": "Aucun modèle trouvé", - "delete": "Supprimer", - "deleteModel": "Supprimer le modèle", - "deleteConfig": "Supprimer la configuration", - "deleteMsg1": "Êtes-vous sûr de vouloir supprimer cette entrée de modèle dans InvokeAI?", - "deleteMsg2": "Cela n'effacera pas le fichier de point de contrôle du modèle de votre disque. Vous pouvez les réajouter si vous le souhaitez.", - "formMessageDiffusersModelLocation": "Emplacement du modèle de diffuseurs", - "formMessageDiffusersModelLocationDesc": "Veuillez en entrer au moins un.", - "formMessageDiffusersVAELocation": "Emplacement VAE", - "formMessageDiffusersVAELocationDesc": "Si non fourni, InvokeAI recherchera le fichier VAE à l'emplacement du modèle donné ci-dessus." - -} diff --git a/invokeai/frontend/dist/locales/modelmanager/it.json b/invokeai/frontend/dist/locales/modelmanager/it.json deleted file mode 100644 index 267b1d20fd..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/it.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "modelManager": "Gestione Modelli", - "model": "Modello", - "allModels": "Tutti i Modelli", - "checkpointModels": "Checkpoint", - "diffusersModels": "Diffusori", - "safetensorModels": "SafeTensor", - "modelAdded": "Modello Aggiunto", - "modelUpdated": "Modello Aggiornato", - "modelEntryDeleted": "Modello Rimosso", - "cannotUseSpaces": "Impossibile utilizzare gli spazi", - "addNew": "Aggiungi nuovo", - "addNewModel": "Aggiungi nuovo Modello", - "addCheckpointModel": "Aggiungi modello Checkpoint / Safetensor", - "addDiffuserModel": "Aggiungi Diffusori", - "addManually": "Aggiungi manualmente", - "manual": "Manuale", - "name": "Nome", - "nameValidationMsg": "Inserisci un nome per il modello", - "description": "Descrizione", - "descriptionValidationMsg": "Aggiungi una descrizione per il modello", - "config": "Configurazione", - "configValidationMsg": "Percorso del file di configurazione del modello.", - "modelLocation": "Posizione del modello", - "modelLocationValidationMsg": "Percorso dove si trova il modello.", - "repo_id": "Repo ID", - "repoIDValidationMsg": "Repository online del modello", - "vaeLocation": "Posizione file VAE", - "vaeLocationValidationMsg": "Percorso dove si trova il file VAE.", - "vaeRepoID": "VAE Repo ID", - "vaeRepoIDValidationMsg": "Repository online del file VAE", - "width": "Larghezza", - "widthValidationMsg": "Larghezza predefinita del modello.", - "height": "Altezza", - "heightValidationMsg": "Altezza predefinita del modello.", - "addModel": "Aggiungi modello", - "updateModel": "Aggiorna modello", - "availableModels": "Modelli disponibili", - "search": "Ricerca", - "load": "Carica", - "active": "attivo", - "notLoaded": "non caricato", - "cached": "memorizzato nella cache", - "checkpointFolder": "Cartella Checkpoint", - "clearCheckpointFolder": "Svuota cartella checkpoint", - "findModels": "Trova modelli", - "scanAgain": "Scansiona nuovamente", - "modelsFound": "Modelli trovati", - "selectFolder": "Seleziona cartella", - "selected": "Selezionato", - "selectAll": "Seleziona tutto", - "deselectAll": "Deseleziona tutto", - "showExisting": "Mostra esistenti", - "addSelected": "Aggiungi selezionato", - "modelExists": "Il modello esiste", - "selectAndAdd": "Seleziona e aggiungi i modelli elencati", - "noModelsFound": "Nessun modello trovato", - "delete": "Elimina", - "deleteModel": "Elimina modello", - "deleteConfig": "Elimina configurazione", - "deleteMsg1": "Sei sicuro di voler eliminare questo modello da InvokeAI?", - "deleteMsg2": "Questo non eliminerà il file Checkpoint del modello dal tuo disco. Puoi aggiungerlo nuovamente se lo desideri.", - "formMessageDiffusersModelLocation": "Ubicazione modelli diffusori", - "formMessageDiffusersModelLocationDesc": "Inseriscine almeno uno.", - "formMessageDiffusersVAELocation": "Ubicazione file VAE", - "formMessageDiffusersVAELocationDesc": "Se non fornito, InvokeAI cercherà il file VAE all'interno dell'ubicazione del modello sopra indicata." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/ja.json b/invokeai/frontend/dist/locales/modelmanager/ja.json deleted file mode 100644 index 886922116a..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/ja.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "modelManager": "モデルマネージャ", - "model": "モデル", - "allModels": "すべてのモデル", - "checkpointModels": "Checkpoints", - "diffusersModels": "Diffusers", - "safetensorModels": "SafeTensors", - "modelAdded": "モデルを追加", - "modelUpdated": "モデルをアップデート", - "modelEntryDeleted": "Model Entry Deleted", - "cannotUseSpaces": "Cannot Use Spaces", - "addNew": "新規に追加", - "addNewModel": "新規モデル追加", - "addCheckpointModel": "Checkpointを追加 / Safetensorモデル", - "addDiffuserModel": "Diffusersを追加", - "addManually": "手動で追加", - "manual": "手動", - "name": "名前", - "nameValidationMsg": "モデルの名前を入力", - "description": "概要", - "descriptionValidationMsg": "モデルの概要を入力", - "config": "Config", - "configValidationMsg": "モデルの設定ファイルへのパス", - "modelLocation": "モデルの場所", - "modelLocationValidationMsg": "モデルが配置されている場所へのパス。", - "repo_id": "Repo ID", - "repoIDValidationMsg": "モデルのリモートリポジトリ", - "vaeLocation": "VAEの場所", - "vaeLocationValidationMsg": "Vaeが配置されている場所へのパス", - "vaeRepoID": "VAE Repo ID", - "vaeRepoIDValidationMsg": "Vaeのリモートリポジトリ", - "width": "幅", - "widthValidationMsg": "モデルのデフォルトの幅", - "height": "高さ", - "heightValidationMsg": "モデルのデフォルトの高さ", - "addModel": "モデルを追加", - "updateModel": "モデルをアップデート", - "availableModels": "モデルを有効化", - "search": "検索", - "load": "Load", - "active": "active", - "notLoaded": "読み込まれていません", - "cached": "キャッシュ済", - "checkpointFolder": "Checkpointフォルダ", - "clearCheckpointFolder": "Checkpointフォルダ内を削除", - "findModels": "モデルを見つける", - "scanAgain": "再度スキャン", - "modelsFound": "モデルを発見", - "selectFolder": "フォルダを選択", - "selected": "選択済", - "selectAll": "すべて選択", - "deselectAll": "すべて選択解除", - "showExisting": "既存を表示", - "addSelected": "選択済を追加", - "modelExists": "モデルの有無", - "selectAndAdd": "以下のモデルを選択し、追加できます。", - "noModelsFound": "モデルが見つかりません。", - "delete": "削除", - "deleteModel": "モデルを削除", - "deleteConfig": "設定を削除", - "deleteMsg1": "InvokeAIからこのモデルエントリーを削除してよろしいですか?", - "deleteMsg2": "これは、ドライブからモデルのCheckpointファイルを削除するものではありません。必要であればそれらを読み込むことができます。", - "formMessageDiffusersModelLocation": "Diffusersモデルの場所", - "formMessageDiffusersModelLocationDesc": "最低でも1つは入力してください。", - "formMessageDiffusersVAELocation": "VAEの場所s", - "formMessageDiffusersVAELocationDesc": "指定しない場合、InvokeAIは上記のモデルの場所にあるVAEファイルを探します。" - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/modelmanager/nl.json b/invokeai/frontend/dist/locales/modelmanager/nl.json deleted file mode 100644 index 294156fdf3..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/nl.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "modelManager": "Modelonderhoud", - "model": "Model", - "modelAdded": "Model toegevoegd", - "modelUpdated": "Model bijgewerkt", - "modelEntryDeleted": "Modelregel verwijderd", - "cannotUseSpaces": "Spaties zijn niet toegestaan", - "addNew": "Voeg nieuwe toe", - "addNewModel": "Voeg nieuw model toe", - "addManually": "Voeg handmatig toe", - "manual": "Handmatig", - "name": "Naam", - "nameValidationMsg": "Geef een naam voor je model", - "description": "Beschrijving", - "descriptionValidationMsg": "Voeg een beschrijving toe voor je model.", - "config": "Configuratie", - "configValidationMsg": "Pad naar het configuratiebestand van je model.", - "modelLocation": "Locatie model", - "modelLocationValidationMsg": "Pad naar waar je model zich bevindt.", - "vaeLocation": "Locatie VAE", - "vaeLocationValidationMsg": "Pad naar waar je VAE zich bevindt.", - "width": "Breedte", - "widthValidationMsg": "Standaardbreedte van je model.", - "height": "Hoogte", - "heightValidationMsg": "Standaardhoogte van je model.", - "addModel": "Voeg model toe", - "updateModel": "Werk model bij", - "availableModels": "Beschikbare modellen", - "search": "Zoek", - "load": "Laad", - "active": "actief", - "notLoaded": "niet geladen", - "cached": "gecachet", - "checkpointFolder": "Checkpointmap", - "clearCheckpointFolder": "Wis checkpointmap", - "findModels": "Zoek modellen", - "scanAgain": "Kijk opnieuw", - "modelsFound": "Gevonden modellen", - "selectFolder": "Kies map", - "selected": "Gekozen", - "selectAll": "Kies alles", - "deselectAll": "Kies niets", - "showExisting": "Toon bestaande", - "addSelected": "Voeg gekozen toe", - "modelExists": "Model bestaat", - "selectAndAdd": "Kies en voeg de hieronder opgesomde modellen toe", - "noModelsFound": "Geen modellen gevonden", - "delete": "Verwijder", - "deleteModel": "Verwijder model", - "deleteConfig": "Verwijder configuratie", - "deleteMsg1": "Weet je zeker dat je deze modelregel wilt verwijderen uit InvokeAI?", - "deleteMsg2": "Hiermee wordt het checkpointbestand niet van je schijf verwijderd. Je kunt deze opnieuw toevoegen als je dat wilt." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/pl.json b/invokeai/frontend/dist/locales/modelmanager/pl.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/pl.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/modelmanager/pt_br.json b/invokeai/frontend/dist/locales/modelmanager/pt_br.json deleted file mode 100644 index 81ee072db5..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/pt_br.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "modelManager": "Gerente de Modelo", - "model": "Modelo", - "modelAdded": "Modelo Adicionado", - "modelUpdated": "Modelo Atualizado", - "modelEntryDeleted": "Entrada de modelo excluída", - "cannotUseSpaces": "Não pode usar espaços", - "addNew": "Adicionar Novo", - "addNewModel": "Adicionar Novo modelo", - "addManually": "Adicionar Manualmente", - "manual": "Manual", - "name": "Nome", - "nameValidationMsg": "Insira um nome para o seu modelo", - "description": "Descrição", - "descriptionValidationMsg": "Adicione uma descrição para o seu modelo", - "config": "Config", - "configValidationMsg": "Caminho para o arquivo de configuração do seu modelo.", - "modelLocation": "Localização do modelo", - "modelLocationValidationMsg": "Caminho para onde seu modelo está localizado.", - "vaeLocation": "Localização VAE", - "vaeLocationValidationMsg": "Caminho para onde seu VAE está localizado.", - "width": "Largura", - "widthValidationMsg": "Largura padrão do seu modelo.", - "height": "Altura", - "heightValidationMsg": "Altura padrão do seu modelo.", - "addModel": "Adicionar Modelo", - "updateModel": "Atualizar Modelo", - "availableModels": "Modelos Disponíveis", - "search": "Procurar", - "load": "Carregar", - "active": "Ativado", - "notLoaded": "Não carregado", - "cached": "Em cache", - "checkpointFolder": "Pasta de Checkpoint", - "clearCheckpointFolder": "Apagar Pasta de Checkpoint", - "findModels": "Encontrar Modelos", - "modelsFound": "Modelos Encontrados", - "selectFolder": "Selecione a Pasta", - "selected": "Selecionada", - "selectAll": "Selecionar Tudo", - "deselectAll": "Deselecionar Tudo", - "showExisting": "Mostrar Existente", - "addSelected": "Adicione Selecionado", - "modelExists": "Modelo Existe", - "delete": "Excluir", - "deleteModel": "Excluir modelo", - "deleteConfig": "Excluir Config", - "deleteMsg1": "Tem certeza de que deseja excluir esta entrada do modelo de InvokeAI?", - "deleteMsg2": "Isso não vai excluir o arquivo de modelo checkpoint do seu disco. Você pode lê-los, se desejar." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/ru.json b/invokeai/frontend/dist/locales/modelmanager/ru.json deleted file mode 100644 index 37cef8a774..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/ru.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "modelManager": "Менеджер моделей", - "model": "Модель", - "modelAdded": "Модель добавлена", - "modelUpdated": "Модель обновлена", - "modelEntryDeleted": "Запись о модели удалена", - "cannotUseSpaces": "Нельзя использовать пробелы", - "addNew": "Добавить новую", - "addNewModel": "Добавить новую модель", - "addManually": "Добавить вручную", - "manual": "Ручное", - "name": "Название", - "nameValidationMsg": "Введите название модели", - "description": "Описание", - "descriptionValidationMsg": "Введите описание модели", - "config": "Файл конфигурации", - "configValidationMsg": "Путь до файла конфигурации", - "modelLocation": "Расположение модели", - "modelLocationValidationMsg": "Путь до файла с моделью", - "vaeLocation": "Расположение VAE", - "vaeLocationValidationMsg": "Путь до VAE", - "width": "Ширина", - "widthValidationMsg": "Исходная ширина изображений", - "height": "Высота", - "heightValidationMsg": "Исходная высота изображений", - "addModel": "Добавить модель", - "updateModel": "Обновить модель", - "availableModels": "Доступные модели", - "search": "Искать", - "load": "Загрузить", - "active": "активна", - "notLoaded": "не загружена", - "cached": "кэширована", - "checkpointFolder": "Папка с моделями", - "clearCheckpointFolder": "Очистить папку с моделями", - "findModels": "Найти модели", - "scanAgain": "Сканировать снова", - "modelsFound": "Найденные модели", - "selectFolder": "Выбрать папку", - "selected": "Выбраны", - "selectAll": "Выбрать все", - "deselectAll": "Снять выделение", - "showExisting": "Показывать добавленные", - "addSelected": "Добавить выбранные", - "modelExists": "Модель уже добавлена", - "selectAndAdd": "Выберите и добавьте модели из списка", - "noModelsFound": "Модели не найдены", - "delete": "Удалить", - "deleteModel": "Удалить модель", - "deleteConfig": "Удалить конфигурацию", - "deleteMsg1": "Вы точно хотите удалить модель из InvokeAI?", - "deleteMsg2": "Это не удалит файл модели с диска. Позже вы можете добавить его снова." -} diff --git a/invokeai/frontend/dist/locales/modelmanager/ua.json b/invokeai/frontend/dist/locales/modelmanager/ua.json deleted file mode 100644 index ac473f1009..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/ua.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "modelManager": "Менеджер моделей", - "model": "Модель", - "modelAdded": "Модель додана", - "modelUpdated": "Модель оновлена", - "modelEntryDeleted": "Запис про модель видалено", - "cannotUseSpaces": "Не можна використовувати пробіли", - "addNew": "Додати нову", - "addNewModel": "Додати нову модель", - "addManually": "Додати вручну", - "manual": "Ручне", - "name": "Назва", - "nameValidationMsg": "Введіть назву моделі", - "description": "Опис", - "descriptionValidationMsg": "Введіть опис моделі", - "config": "Файл конфігурації", - "configValidationMsg": "Шлях до файлу конфігурації", - "modelLocation": "Розташування моделі", - "modelLocationValidationMsg": "Шлях до файлу з моделлю", - "vaeLocation": "Розтышування VAE", - "vaeLocationValidationMsg": "Шлях до VAE", - "width": "Ширина", - "widthValidationMsg": "Початкова ширина зображень", - "height": "Висота", - "heightValidationMsg": "Початкова висота зображень", - "addModel": "Додати модель", - "updateModel": "Оновити модель", - "availableModels": "Доступні моделі", - "search": "Шукати", - "load": "Завантажити", - "active": "активна", - "notLoaded": "не завантажена", - "cached": "кешована", - "checkpointFolder": "Папка з моделями", - "clearCheckpointFolder": "Очистити папку з моделями", - "findModels": "Знайти моделі", - "scanAgain": "Сканувати знову", - "modelsFound": "Знайдені моделі", - "selectFolder": "Обрати папку", - "selected": "Обрані", - "selectAll": "Обрати всі", - "deselectAll": "Зняти выділення", - "showExisting": "Показувати додані", - "addSelected": "Додати обрані", - "modelExists": "Модель вже додана", - "selectAndAdd": "Оберіть і додайте моделі із списку", - "noModelsFound": "Моделі не знайдені", - "delete": "Видалити", - "deleteModel": "Видалити модель", - "deleteConfig": "Видалити конфігурацію", - "deleteMsg1": "Ви точно хочете видалити модель із InvokeAI?", - "deleteMsg2": "Це не призведе до видалення файлу моделі з диску. Позніше ви можете додати його знову." -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/modelmanager/zh_cn.json b/invokeai/frontend/dist/locales/modelmanager/zh_cn.json deleted file mode 100644 index c4c296703f..0000000000 --- a/invokeai/frontend/dist/locales/modelmanager/zh_cn.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "modelManager": "模型管理器", - "model": "模型", - "modelAdded": "模型已添加", - "modelUpdated": "模型已更新", - "modelEntryDeleted": "模型已删除", - "cannotUseSpaces": "不能使用空格", - "addNew": "添加", - "addNewModel": "添加新模型", - "addManually": "手动添加", - "manual": "手动", - "name": "名称", - "nameValidationMsg": "输入模型的名称", - "description": "描述", - "descriptionValidationMsg": "添加模型的描述", - "config": "配置", - "configValidationMsg": "模型配置文件的路径", - "modelLocation": "模型位置", - "modelLocationValidationMsg": "模型文件的路径", - "vaeLocation": "VAE 位置", - "vaeLocationValidationMsg": "VAE 文件的路径", - "width": "宽度", - "widthValidationMsg": "模型的默认宽度", - "height": "高度", - "heightValidationMsg": "模型的默认高度", - "addModel": "添加模型", - "updateModel": "更新模型", - "availableModels": "可用模型", - "search": "搜索", - "load": "加载", - "active": "活跃", - "notLoaded": "未加载", - "cached": "缓存", - "checkpointFolder": "模型检查点文件夹", - "clearCheckpointFolder": "清除模型检查点文件夹", - "findModels": "寻找模型", - "modelsFound": "找到的模型", - "selectFolder": "选择文件夹", - "selected": "已选择", - "selectAll": "选择所有", - "deselectAll": "取消选择所有", - "showExisting": "显示已存在", - "addSelected": "添加选择", - "modelExists": "模型已存在", - "delete": "删除", - "deleteModel": "删除模型", - "deleteConfig": "删除配置", - "deleteMsg1": "您确定要将这个模型从 InvokeAI 删除吗?", - "deleteMsg2": "这不会从磁盘中删除模型检查点文件。如果您愿意,可以重新添加它们。" -} diff --git a/invokeai/frontend/dist/locales/parameters/de.json b/invokeai/frontend/dist/locales/parameters/de.json deleted file mode 100644 index 112926c609..0000000000 --- a/invokeai/frontend/dist/locales/parameters/de.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "Bilder", - "steps": "Schritte", - "cfgScale": "CFG-Skala", - "width": "Breite", - "height": "Höhe", - "sampler": "Sampler", - "seed": "Seed", - "randomizeSeed": "Zufälliger Seed", - "shuffle": "Mischen", - "noiseThreshold": "Rausch-Schwellenwert", - "perlinNoise": "Perlin-Rauschen", - "variations": "Variationen", - "variationAmount": "Höhe der Abweichung", - "seedWeights": "Seed-Gewichte", - "faceRestoration": "Gesichtsrestaurierung", - "restoreFaces": "Gesichter wiederherstellen", - "type": "Art", - "strength": "Stärke", - "upscaling": "Hochskalierung", - "upscale": "Hochskalieren", - "upscaleImage": "Bild hochskalieren", - "scale": "Maßstab", - "otherOptions": "Andere Optionen", - "seamlessTiling": "Nahtlose Kacheln", - "hiresOptim": "High-Res-Optimierung", - "imageFit": "Ausgangsbild an Ausgabegröße anpassen", - "codeformerFidelity": "Glaubwürdigkeit", - "seamSize": "Nahtgröße", - "seamBlur": "Nahtunschärfe", - "seamStrength": "Stärke der Naht", - "seamSteps": "Nahtstufen", - "scaleBeforeProcessing": "Skalieren vor der Verarbeitung", - "scaledWidth": "Skaliert W", - "scaledHeight": "Skaliert H", - "infillMethod": "Infill-Methode", - "tileSize": "Kachelgröße", - "boundingBoxHeader": "Begrenzungsrahmen", - "seamCorrectionHeader": "Nahtkorrektur", - "infillScalingHeader": "Infill und Skalierung", - "img2imgStrength": "Bild-zu-Bild-Stärke", - "toggleLoopback": "Toggle Loopback", - "invoke": "Invoke", - "cancel": "Abbrechen", - "promptPlaceholder": "Prompt hier eingeben. [negative Token], (mehr Gewicht)++, (geringeres Gewicht)--, Tausch und Überblendung sind verfügbar (siehe Dokumente)", - "sendTo": "Senden an", - "sendToImg2Img": "Senden an Bild zu Bild", - "sendToUnifiedCanvas": "Senden an Unified Canvas", - "copyImageToLink": "Bild-Link kopieren", - "downloadImage": "Bild herunterladen", - "openInViewer": "Im Viewer öffnen", - "closeViewer": "Viewer schließen", - "usePrompt": "Prompt verwenden", - "useSeed": "Seed verwenden", - "useAll": "Alle verwenden", - "useInitImg": "Ausgangsbild verwenden", - "info": "Info", - "deleteImage": "Bild löschen", - "initialImage": "Ursprüngliches Bild", - "showOptionsPanel": "Optionsleiste zeigen" -} diff --git a/invokeai/frontend/dist/locales/parameters/en-US.json b/invokeai/frontend/dist/locales/parameters/en-US.json deleted file mode 100644 index f8d65c859c..0000000000 --- a/invokeai/frontend/dist/locales/parameters/en-US.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "images": "Images", - "steps": "Steps", - "cfgScale": "CFG Scale", - "width": "Width", - "height": "Height", - "sampler": "Sampler", - "seed": "Seed", - "randomizeSeed": "Randomize Seed", - "shuffle": "Shuffle", - "noiseThreshold": "Noise Threshold", - "perlinNoise": "Perlin Noise", - "variations": "Variations", - "variationAmount": "Variation Amount", - "seedWeights": "Seed Weights", - "faceRestoration": "Face Restoration", - "restoreFaces": "Restore Faces", - "type": "Type", - "strength": "Strength", - "upscaling": "Upscaling", - "upscale": "Upscale", - "upscaleImage": "Upscale Image", - "scale": "Scale", - "otherOptions": "Other Options", - "seamlessTiling": "Seamless Tiling", - "hiresOptim": "High Res Optimization", - "hiresStrength": "High Res Strength", - "imageFit": "Fit Initial Image To Output Size", - "codeformerFidelity": "Fidelity", - "seamSize": "Seam Size", - "seamBlur": "Seam Blur", - "seamStrength": "Seam Strength", - "seamSteps": "Seam Steps", - "scaleBeforeProcessing": "Scale Before Processing", - "scaledWidth": "Scaled W", - "scaledHeight": "Scaled H", - "infillMethod": "Infill Method", - "tileSize": "Tile Size", - "boundingBoxHeader": "Bounding Box", - "seamCorrectionHeader": "Seam Correction", - "infillScalingHeader": "Infill and Scaling", - "img2imgStrength": "Image To Image Strength", - "toggleLoopback": "Toggle Loopback", - "invoke": "Invoke", - "cancel": "Cancel", - "promptPlaceholder": "Type prompt here. [negative tokens], (upweight)++, (downweight)--, swap and blend are available (see docs)", - "sendTo": "Send to", - "sendToImg2Img": "Send to Image to Image", - "sendToUnifiedCanvas": "Send To Unified Canvas", - "copyImageToLink": "Copy Image To Link", - "downloadImage": "Download Image", - "openInViewer": "Open In Viewer", - "closeViewer": "Close Viewer", - "usePrompt": "Use Prompt", - "useSeed": "Use Seed", - "useAll": "Use All", - "useInitImg": "Use Initial Image", - "info": "Info", - "deleteImage": "Delete Image", - "initialImage": "Inital Image", - "showOptionsPanel": "Show Options Panel" -} diff --git a/invokeai/frontend/dist/locales/parameters/en.json b/invokeai/frontend/dist/locales/parameters/en.json deleted file mode 100644 index fef06c92fa..0000000000 --- a/invokeai/frontend/dist/locales/parameters/en.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "images": "Images", - "steps": "Steps", - "cfgScale": "CFG Scale", - "width": "Width", - "height": "Height", - "sampler": "Sampler", - "seed": "Seed", - "randomizeSeed": "Randomize Seed", - "shuffle": "Shuffle", - "noiseThreshold": "Noise Threshold", - "perlinNoise": "Perlin Noise", - "variations": "Variations", - "variationAmount": "Variation Amount", - "seedWeights": "Seed Weights", - "faceRestoration": "Face Restoration", - "restoreFaces": "Restore Faces", - "type": "Type", - "strength": "Strength", - "upscaling": "Upscaling", - "upscale": "Upscale", - "upscaleImage": "Upscale Image", - "denoisingStrength": "Denoising Strength", - "scale": "Scale", - "otherOptions": "Other Options", - "seamlessTiling": "Seamless Tiling", - "hiresOptim": "High Res Optimization", - "hiresStrength": "High Res Strength", - "imageFit": "Fit Initial Image To Output Size", - "codeformerFidelity": "Fidelity", - "seamSize": "Seam Size", - "seamBlur": "Seam Blur", - "seamStrength": "Seam Strength", - "seamSteps": "Seam Steps", - "scaleBeforeProcessing": "Scale Before Processing", - "scaledWidth": "Scaled W", - "scaledHeight": "Scaled H", - "infillMethod": "Infill Method", - "tileSize": "Tile Size", - "boundingBoxHeader": "Bounding Box", - "seamCorrectionHeader": "Seam Correction", - "infillScalingHeader": "Infill and Scaling", - "img2imgStrength": "Image To Image Strength", - "toggleLoopback": "Toggle Loopback", - "invoke": "Invoke", - "cancel": "Cancel", - "promptPlaceholder": "Type prompt here. [negative tokens], (upweight)++, (downweight)--, swap and blend are available (see docs)", - "negativePrompts": "Negative Prompts", - "sendTo": "Send to", - "sendToImg2Img": "Send to Image to Image", - "sendToUnifiedCanvas": "Send To Unified Canvas", - "copyImage": "Copy Image", - "copyImageToLink": "Copy Image To Link", - "downloadImage": "Download Image", - "openInViewer": "Open In Viewer", - "closeViewer": "Close Viewer", - "usePrompt": "Use Prompt", - "useSeed": "Use Seed", - "useAll": "Use All", - "useInitImg": "Use Initial Image", - "info": "Info", - "deleteImage": "Delete Image", - "initialImage": "Inital Image", - "showOptionsPanel": "Show Options Panel" -} diff --git a/invokeai/frontend/dist/locales/parameters/es.json b/invokeai/frontend/dist/locales/parameters/es.json deleted file mode 100644 index 41eaf7d214..0000000000 --- a/invokeai/frontend/dist/locales/parameters/es.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "Imágenes", - "steps": "Pasos", - "cfgScale": "Escala CFG", - "width": "Ancho", - "height": "Alto", - "sampler": "Muestreo", - "seed": "Semilla", - "randomizeSeed": "Semilla aleatoria", - "shuffle": "Aleatorizar", - "noiseThreshold": "Umbral de Ruido", - "perlinNoise": "Ruido Perlin", - "variations": "Variaciones", - "variationAmount": "Cantidad de Variación", - "seedWeights": "Peso de las semillas", - "faceRestoration": "Restauración de Rostros", - "restoreFaces": "Restaurar rostros", - "type": "Tipo", - "strength": "Fuerza", - "upscaling": "Aumento de resolución", - "upscale": "Aumentar resolución", - "upscaleImage": "Aumentar la resolución de la imagen", - "scale": "Escala", - "otherOptions": "Otras opciones", - "seamlessTiling": "Mosaicos sin parches", - "hiresOptim": "Optimización de Alta Resolución", - "imageFit": "Ajuste tamaño de imagen inicial al tamaño objetivo", - "codeformerFidelity": "Fidelidad", - "seamSize": "Tamaño del parche", - "seamBlur": "Desenfoque del parche", - "seamStrength": "Fuerza del parche", - "seamSteps": "Pasos del parche", - "scaleBeforeProcessing": "Redimensionar antes de procesar", - "scaledWidth": "Ancho escalado", - "scaledHeight": "Alto escalado", - "infillMethod": "Método de relleno", - "tileSize": "Tamaño del mosaico", - "boundingBoxHeader": "Caja contenedora", - "seamCorrectionHeader": "Corrección de parches", - "infillScalingHeader": "Remplazo y escalado", - "img2imgStrength": "Peso de Imagen a Imagen", - "toggleLoopback": "Alternar Retroalimentación", - "invoke": "Invocar", - "cancel": "Cancelar", - "promptPlaceholder": "Ingrese la entrada aquí. [símbolos negativos], (subir peso)++, (bajar peso)--, también disponible alternado y mezclado (ver documentación)", - "sendTo": "Enviar a", - "sendToImg2Img": "Enviar a Imagen a Imagen", - "sendToUnifiedCanvas": "Enviar a Lienzo Unificado", - "copyImageToLink": "Copiar imagen a enlace", - "downloadImage": "Descargar imagen", - "openInViewer": "Abrir en Visor", - "closeViewer": "Cerrar Visor", - "usePrompt": "Usar Entrada", - "useSeed": "Usar Semilla", - "useAll": "Usar Todo", - "useInitImg": "Usar Imagen Inicial", - "info": "Información", - "deleteImage": "Eliminar Imagen", - "initialImage": "Imagen Inicial", - "showOptionsPanel": "Mostrar panel de opciones" -} diff --git a/invokeai/frontend/dist/locales/parameters/fr.json b/invokeai/frontend/dist/locales/parameters/fr.json deleted file mode 100644 index fda35b2ac6..0000000000 --- a/invokeai/frontend/dist/locales/parameters/fr.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "images": "Images", - "steps": "Etapes", - "cfgScale": "CFG Echelle", - "width": "Largeur", - "height": "Hauteur", - "sampler": "Echantillonneur", - "seed": "Graine", - "randomizeSeed": "Graine Aléatoire", - "shuffle": "Mélanger", - "noiseThreshold": "Seuil de Bruit", - "perlinNoise": "Bruit de Perlin", - "variations": "Variations", - "variationAmount": "Montant de Variation", - "seedWeights": "Poids des Graines", - "faceRestoration": "Restauration de Visage", - "restoreFaces": "Restaurer les Visages", - "type": "Type", - "strength": "Force", - "upscaling": "Agrandissement", - "upscale": "Agrandir", - "upscaleImage": "Image en Agrandissement", - "scale": "Echelle", - "otherOptions": "Autres Options", - "seamlessTiling": "Carreau Sans Joint", - "hiresOptim": "Optimisation Haute Résolution", - "imageFit": "Ajuster Image Initiale à la Taille de Sortie", - "codeformerFidelity": "Fidélité", - "seamSize": "Taille des Joints", - "seamBlur": "Flou des Joints", - "seamStrength": "Force des Joints", - "seamSteps": "Etapes des Joints", - "scaleBeforeProcessing": "Echelle Avant Traitement", - "scaledWidth": "Larg. Échelle", - "scaledHeight": "Haut. Échelle", - "infillMethod": "Méthode de Remplissage", - "tileSize": "Taille des Tuiles", - "boundingBoxHeader": "Boîte Englobante", - "seamCorrectionHeader": "Correction des Joints", - "infillScalingHeader": "Remplissage et Mise à l'Échelle", - "img2imgStrength": "Force de l'Image à l'Image", - "toggleLoopback": "Activer/Désactiver la Boucle", - "invoke": "Invoker", - "cancel": "Annuler", - "promptPlaceholder": "Tapez le prompt ici. [tokens négatifs], (poids positif)++, (poids négatif)--, swap et blend sont disponibles (voir les docs)", - "sendTo": "Envoyer à", - "sendToImg2Img": "Envoyer à Image à Image", - "sendToUnifiedCanvas": "Envoyer au Canvas Unifié", - "copyImage": "Copier Image", - "copyImageToLink": "Copier l'Image en Lien", - "downloadImage": "Télécharger Image", - "openInViewer": "Ouvrir dans le visualiseur", - "closeViewer": "Fermer le visualiseur", - "usePrompt": "Utiliser la suggestion", - "useSeed": "Utiliser la graine", - "useAll": "Tout utiliser", - "useInitImg": "Utiliser l'image initiale", - "info": "Info", - "deleteImage": "Supprimer l'image", - "initialImage": "Image initiale", - "showOptionsPanel": "Afficher le panneau d'options" -} diff --git a/invokeai/frontend/dist/locales/parameters/it.json b/invokeai/frontend/dist/locales/parameters/it.json deleted file mode 100644 index 1d65431f4d..0000000000 --- a/invokeai/frontend/dist/locales/parameters/it.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "Immagini", - "steps": "Passi", - "cfgScale": "Scala CFG", - "width": "Larghezza", - "height": "Altezza", - "sampler": "Campionatore", - "seed": "Seme", - "randomizeSeed": "Seme randomizzato", - "shuffle": "Casuale", - "noiseThreshold": "Soglia del rumore", - "perlinNoise": "Rumore Perlin", - "variations": "Variazioni", - "variationAmount": "Quantità di variazione", - "seedWeights": "Pesi dei semi", - "faceRestoration": "Restaura volti", - "restoreFaces": "Restaura volti", - "type": "Tipo", - "strength": "Forza", - "upscaling": "Ampliamento", - "upscale": "Amplia", - "upscaleImage": "Amplia Immagine", - "scale": "Scala", - "otherOptions": "Altre opzioni", - "seamlessTiling": "Piastrella senza cuciture", - "hiresOptim": "Ottimizzazione alta risoluzione", - "imageFit": "Adatta l'immagine iniziale alle dimensioni di output", - "codeformerFidelity": "Fedeltà", - "seamSize": "Dimensione della cucitura", - "seamBlur": "Sfocatura cucitura", - "seamStrength": "Forza della cucitura", - "seamSteps": "Passaggi di cucitura", - "scaleBeforeProcessing": "Scala prima dell'elaborazione", - "scaledWidth": "Larghezza ridimensionata", - "scaledHeight": "Altezza ridimensionata", - "infillMethod": "Metodo di riempimento", - "tileSize": "Dimensione piastrella", - "boundingBoxHeader": "Rettangolo di selezione", - "seamCorrectionHeader": "Correzione della cucitura", - "infillScalingHeader": "Riempimento e ridimensionamento", - "img2imgStrength": "Forza da Immagine a Immagine", - "toggleLoopback": "Attiva/disattiva elaborazione ricorsiva", - "invoke": "Invoke", - "cancel": "Annulla", - "promptPlaceholder": "Digita qui il prompt usando termini in lingua inglese. [token negativi], (aumenta il peso)++, (diminuisci il peso)--, scambia e fondi sono disponibili (consulta la documentazione)", - "sendTo": "Invia a", - "sendToImg2Img": "Invia a da Immagine a Immagine", - "sendToUnifiedCanvas": "Invia a Tela Unificata", - "copyImageToLink": "Copia l'immagine nel collegamento", - "downloadImage": "Scarica l'immagine", - "openInViewer": "Apri nel visualizzatore", - "closeViewer": "Chiudi visualizzatore", - "usePrompt": "Usa Prompt", - "useSeed": "Usa Seme", - "useAll": "Usa Tutto", - "useInitImg": "Usa l'immagine iniziale", - "info": "Informazioni", - "deleteImage": "Elimina immagine", - "initialImage": "Immagine iniziale", - "showOptionsPanel": "Mostra pannello opzioni" -} diff --git a/invokeai/frontend/dist/locales/parameters/ja.json b/invokeai/frontend/dist/locales/parameters/ja.json deleted file mode 100644 index f77e0a0bc4..0000000000 --- a/invokeai/frontend/dist/locales/parameters/ja.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "images": "画像", - "steps": "ステップ数", - "cfgScale": "CFG Scale", - "width": "幅", - "height": "高さ", - "sampler": "Sampler", - "seed": "シード値", - "randomizeSeed": "ランダムなシード値", - "shuffle": "シャッフル", - "noiseThreshold": "Noise Threshold", - "perlinNoise": "Perlin Noise", - "variations": "Variations", - "variationAmount": "Variation Amount", - "seedWeights": "シード値の重み", - "faceRestoration": "顔の修復", - "restoreFaces": "顔の修復", - "type": "Type", - "strength": "強度", - "upscaling": "アップスケーリング", - "upscale": "アップスケール", - "upscaleImage": "画像をアップスケール", - "scale": "Scale", - "otherOptions": "その他のオプション", - "seamlessTiling": "Seamless Tiling", - "hiresOptim": "High Res Optimization", - "imageFit": "Fit Initial Image To Output Size", - "codeformerFidelity": "Fidelity", - "seamSize": "Seam Size", - "seamBlur": "Seam Blur", - "seamStrength": "Seam Strength", - "seamSteps": "Seam Steps", - "scaleBeforeProcessing": "処理前のスケール", - "scaledWidth": "幅のスケール", - "scaledHeight": "高さのスケール", - "infillMethod": "Infill Method", - "tileSize": "Tile Size", - "boundingBoxHeader": "バウンディングボックス", - "seamCorrectionHeader": "Seam Correction", - "infillScalingHeader": "Infill and Scaling", - "img2imgStrength": "Image To Imageの強度", - "toggleLoopback": "Toggle Loopback", - "invoke": "Invoke", - "cancel": "キャンセル", - "promptPlaceholder": "Type prompt here. [negative tokens], (upweight)++, (downweight)--, swap and blend are available (see docs)", - "sendTo": "転送", - "sendToImg2Img": "Image to Imageに転送", - "sendToUnifiedCanvas": "Unified Canvasに転送", - "copyImageToLink": "Copy Image To Link", - "downloadImage": "画像をダウンロード", - "openInViewer": "ビュワーを開く", - "closeViewer": "ビュワーを閉じる", - "usePrompt": "プロンプトを使用", - "useSeed": "シード値を使用", - "useAll": "すべてを使用", - "useInitImg": "Use Initial Image", - "info": "情報", - "deleteImage": "画像を削除", - "initialImage": "Inital Image", - "showOptionsPanel": "オプションパネルを表示" - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/parameters/nl.json b/invokeai/frontend/dist/locales/parameters/nl.json deleted file mode 100644 index 53f587c9b5..0000000000 --- a/invokeai/frontend/dist/locales/parameters/nl.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "Afbeeldingen", - "steps": "Stappen", - "cfgScale": "CFG-schaal", - "width": "Breedte", - "height": "Hoogte", - "sampler": "Sampler", - "seed": "Seed", - "randomizeSeed": "Willekeurige seed", - "shuffle": "Meng", - "noiseThreshold": "Drempelwaarde ruis", - "perlinNoise": "Perlinruis", - "variations": "Variaties", - "variationAmount": "Hoeveelheid variatie", - "seedWeights": "Gewicht seed", - "faceRestoration": "Gezichtsherstel", - "restoreFaces": "Herstel gezichten", - "type": "Soort", - "strength": "Sterkte", - "upscaling": "Opschalen", - "upscale": "Schaal op", - "upscaleImage": "Schaal afbeelding op", - "scale": "Schaal", - "otherOptions": "Andere opties", - "seamlessTiling": "Naadloze tegels", - "hiresOptim": "Hogeresolutie-optimalisatie", - "imageFit": "Pas initiële afbeelding in uitvoergrootte", - "codeformerFidelity": "Getrouwheid", - "seamSize": "Grootte naad", - "seamBlur": "Vervaging naad", - "seamStrength": "Sterkte naad", - "seamSteps": "Stappen naad", - "scaleBeforeProcessing": "Schalen voor verwerking", - "scaledWidth": "Geschaalde B", - "scaledHeight": "Geschaalde H", - "infillMethod": "Infill-methode", - "tileSize": "Grootte tegel", - "boundingBoxHeader": "Tekenvak", - "seamCorrectionHeader": "Correctie naad", - "infillScalingHeader": "Infill en schaling", - "img2imgStrength": "Sterkte Afbeelding naar afbeelding", - "toggleLoopback": "Zet recursieve verwerking aan/uit", - "invoke": "Genereer", - "cancel": "Annuleer", - "promptPlaceholder": "Voer invoertekst hier in. [negatieve trefwoorden], (verhoogdgewicht)++, (verlaagdgewicht)--, swap (wisselen) en blend (mengen) zijn beschikbaar (zie documentatie)", - "sendTo": "Stuur naar", - "sendToImg2Img": "Stuur naar Afbeelding naar afbeelding", - "sendToUnifiedCanvas": "Stuur naar Centraal canvas", - "copyImageToLink": "Stuur afbeelding naar koppeling", - "downloadImage": "Download afbeelding", - "openInViewer": "Open in Viewer", - "closeViewer": "Sluit Viewer", - "usePrompt": "Hergebruik invoertekst", - "useSeed": "Hergebruik seed", - "useAll": "Hergebruik alles", - "useInitImg": "Gebruik initiële afbeelding", - "info": "Info", - "deleteImage": "Verwijder afbeelding", - "initialImage": "Initiële afbeelding", - "showOptionsPanel": "Toon deelscherm Opties" -} diff --git a/invokeai/frontend/dist/locales/parameters/pl.json b/invokeai/frontend/dist/locales/parameters/pl.json deleted file mode 100644 index 289a013a0f..0000000000 --- a/invokeai/frontend/dist/locales/parameters/pl.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "L. obrazów", - "steps": "L. kroków", - "cfgScale": "Skala CFG", - "width": "Szerokość", - "height": "Wysokość", - "sampler": "Próbkowanie", - "seed": "Inicjator", - "randomizeSeed": "Losowy inicjator", - "shuffle": "Losuj", - "noiseThreshold": "Poziom szumu", - "perlinNoise": "Szum Perlina", - "variations": "Wariacje", - "variationAmount": "Poziom zróżnicowania", - "seedWeights": "Wariacje inicjatora", - "faceRestoration": "Poprawianie twarzy", - "restoreFaces": "Popraw twarze", - "type": "Metoda", - "strength": "Siła", - "upscaling": "Powiększanie", - "upscale": "Powiększ", - "upscaleImage": "Powiększ obraz", - "scale": "Skala", - "otherOptions": "Pozostałe opcje", - "seamlessTiling": "Płynne scalanie", - "hiresOptim": "Optymalizacja wys. rozdzielczości", - "imageFit": "Przeskaluj oryginalny obraz", - "codeformerFidelity": "Dokładność", - "seamSize": "Rozmiar", - "seamBlur": "Rozmycie", - "seamStrength": "Siła", - "seamSteps": "Kroki", - "scaleBeforeProcessing": "Tryb skalowania", - "scaledWidth": "Sk. do szer.", - "scaledHeight": "Sk. do wys.", - "infillMethod": "Metoda wypełniania", - "tileSize": "Rozmiar kafelka", - "boundingBoxHeader": "Zaznaczony obszar", - "seamCorrectionHeader": "Scalanie", - "infillScalingHeader": "Wypełnienie i skalowanie", - "img2imgStrength": "Wpływ sugestii na obraz", - "toggleLoopback": "Wł/wył sprzężenie zwrotne", - "invoke": "Wywołaj", - "cancel": "Anuluj", - "promptPlaceholder": "W tym miejscu wprowadź swoje sugestie. [negatywne sugestie], (wzmocnienie), (osłabienie)--, po więcej opcji (np. swap lub blend) zajrzyj do dokumentacji", - "sendTo": "Wyślij do", - "sendToImg2Img": "Użyj w trybie \"Obraz na obraz\"", - "sendToUnifiedCanvas": "Użyj w trybie uniwersalnym", - "copyImageToLink": "Skopiuj adres obrazu", - "downloadImage": "Pobierz obraz", - "openInViewer": "Otwórz podgląd", - "closeViewer": "Zamknij podgląd", - "usePrompt": "Skopiuj sugestie", - "useSeed": "Skopiuj inicjator", - "useAll": "Skopiuj wszystko", - "useInitImg": "Użyj oryginalnego obrazu", - "info": "Informacje", - "deleteImage": "Usuń obraz", - "initialImage": "Oryginalny obraz", - "showOptionsPanel": "Pokaż panel ustawień" -} diff --git a/invokeai/frontend/dist/locales/parameters/pt.json b/invokeai/frontend/dist/locales/parameters/pt.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/parameters/pt.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/parameters/pt_br.json b/invokeai/frontend/dist/locales/parameters/pt_br.json deleted file mode 100644 index 3cc0fbe4cd..0000000000 --- a/invokeai/frontend/dist/locales/parameters/pt_br.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "Imagems", - "steps": "Passos", - "cfgScale": "Escala CFG", - "width": "Largura", - "height": "Altura", - "sampler": "Amostrador", - "seed": "Seed", - "randomizeSeed": "Seed Aleatório", - "shuffle": "Embaralhar", - "noiseThreshold": "Limite de Ruído", - "perlinNoise": "Ruído de Perlin", - "variations": "Variatções", - "variationAmount": "Quntidade de Variatções", - "seedWeights": "Pesos da Seed", - "faceRestoration": "Restauração de Rosto", - "restoreFaces": "Restaurar Rostos", - "type": "Tipo", - "strength": "Força", - "upscaling": "Redimensionando", - "upscale": "Redimensionar", - "upscaleImage": "Redimensionar Imagem", - "scale": "Escala", - "otherOptions": "Outras Opções", - "seamlessTiling": "Ladrilho Sem Fronteira", - "hiresOptim": "Otimização de Alta Res", - "imageFit": "Caber Imagem Inicial No Tamanho de Saída", - "codeformerFidelity": "Fidelidade", - "seamSize": "Tamanho da Fronteira", - "seamBlur": "Desfoque da Fronteira", - "seamStrength": "Força da Fronteira", - "seamSteps": "Passos da Fronteira", - "scaleBeforeProcessing": "Escala Antes do Processamento", - "scaledWidth": "L Escalada", - "scaledHeight": "A Escalada", - "infillMethod": "Método de Preenchimento", - "tileSize": "Tamanho do Ladrilho", - "boundingBoxHeader": "Caixa Delimitadora", - "seamCorrectionHeader": "Correção de Fronteira", - "infillScalingHeader": "Preencimento e Escala", - "img2imgStrength": "Força de Imagem Para Imagem", - "toggleLoopback": "Ativar Loopback", - "invoke": "Invoke", - "cancel": "Cancelar", - "promptPlaceholder": "Digite o prompt aqui. [tokens negativos], (upweight)++, (downweight)--, trocar e misturar estão disponíveis (veja docs)", - "sendTo": "Mandar para", - "sendToImg2Img": "Mandar para Imagem Para Imagem", - "sendToUnifiedCanvas": "Mandar para Tela Unificada", - "copyImageToLink": "Copiar Imagem Para Link", - "downloadImage": "Baixar Imagem", - "openInViewer": "Abrir No Visualizador", - "closeViewer": "Fechar Visualizador", - "usePrompt": "Usar Prompt", - "useSeed": "Usar Seed", - "useAll": "Usar Todos", - "useInitImg": "Usar Imagem Inicial", - "info": "Informações", - "deleteImage": "Apagar Imagem", - "initialImage": "Imagem inicial", - "showOptionsPanel": "Mostrar Painel de Opções" -} diff --git a/invokeai/frontend/dist/locales/parameters/ru.json b/invokeai/frontend/dist/locales/parameters/ru.json deleted file mode 100644 index dd85a7ac6d..0000000000 --- a/invokeai/frontend/dist/locales/parameters/ru.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "Изображения", - "steps": "Шаги", - "cfgScale": "Уровень CFG", - "width": "Ширина", - "height": "Высота", - "sampler": "Семплер", - "seed": "Сид", - "randomizeSeed": "Случайный сид", - "shuffle": "Обновить", - "noiseThreshold": "Порог шума", - "perlinNoise": "Шум Перлина", - "variations": "Вариации", - "variationAmount": "Кол-во вариаций", - "seedWeights": "Вес сида", - "faceRestoration": "Восстановление лиц", - "restoreFaces": "Восстановить лица", - "type": "Тип", - "strength": "Сила", - "upscaling": "Увеличение", - "upscale": "Увеличить", - "upscaleImage": "Увеличить изображение", - "scale": "Масштаб", - "otherOptions": "Другие параметры", - "seamlessTiling": "Бесшовный узор", - "hiresOptim": "Высокое разрешение", - "imageFit": "Уместить изображение", - "codeformerFidelity": "Точность", - "seamSize": "Размер шва", - "seamBlur": "Размытие шва", - "seamStrength": "Сила шва", - "seamSteps": "Шаги шва", - "scaleBeforeProcessing": "Масштабировать", - "scaledWidth": "Масштаб Ш", - "scaledHeight": "Масштаб В", - "infillMethod": "Способ заполнения", - "tileSize": "Размер области", - "boundingBoxHeader": "Ограничивающая рамка", - "seamCorrectionHeader": "Настройка шва", - "infillScalingHeader": "Заполнение и масштабирование", - "img2imgStrength": "Сила обработки img2img", - "toggleLoopback": "Зациклить обработку", - "invoke": "Вызвать", - "cancel": "Отменить", - "promptPlaceholder": "Введите запрос здесь (на английском). [исключенные токены], (более значимые)++, (менее значимые)--, swap и blend тоже доступны (смотрите Github)", - "sendTo": "Отправить", - "sendToImg2Img": "Отправить в img2img", - "sendToUnifiedCanvas": "Отправить на холст", - "copyImageToLink": "Скопировать ссылку", - "downloadImage": "Скачать", - "openInViewer": "Открыть в просмотрщике", - "closeViewer": "Закрыть просмотрщик", - "usePrompt": "Использовать запрос", - "useSeed": "Использовать сид", - "useAll": "Использовать все", - "useInitImg": "Использовать как исходное", - "info": "Метаданные", - "deleteImage": "Удалить изображение", - "initialImage": "Исходное изображение", - "showOptionsPanel": "Показать панель настроек" -} diff --git a/invokeai/frontend/dist/locales/parameters/ua.json b/invokeai/frontend/dist/locales/parameters/ua.json deleted file mode 100644 index bd7ce1d1a2..0000000000 --- a/invokeai/frontend/dist/locales/parameters/ua.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "images": "Зображення", - "steps": "Кроки", - "cfgScale": "Рівень CFG", - "width": "Ширина", - "height": "Висота", - "sampler": "Семплер", - "seed": "Сід", - "randomizeSeed": "Випадковий сид", - "shuffle": "Оновити", - "noiseThreshold": "Поріг шуму", - "perlinNoise": "Шум Перліна", - "variations": "Варіації", - "variationAmount": "Кількість варіацій", - "seedWeights": "Вага сіду", - "faceRestoration": "Відновлення облич", - "restoreFaces": "Відновити обличчя", - "type": "Тип", - "strength": "Сила", - "upscaling": "Збільшення", - "upscale": "Збільшити", - "upscaleImage": "Збільшити зображення", - "scale": "Масштаб", - "otherOptions": "інші параметри", - "seamlessTiling": "Безшовний узор", - "hiresOptim": "Висока роздільна здатність", - "imageFit": "Вмістити зображення", - "codeformerFidelity": "Точність", - "seamSize": "Размір шву", - "seamBlur": "Розмиття шву", - "seamStrength": "Сила шву", - "seamSteps": "Кроки шву", - "inpaintReplace": "Inpaint-заміна", - "scaleBeforeProcessing": "Масштабувати", - "scaledWidth": "Масштаб Ш", - "scaledHeight": "Масштаб В", - "infillMethod": "Засіб заповнення", - "tileSize": "Розмір області", - "boundingBoxHeader": "Обмежуюча рамка", - "seamCorrectionHeader": "Налаштування шву", - "infillScalingHeader": "Заповнення і масштабування", - "img2imgStrength": "Сила обробки img2img", - "toggleLoopback": "Зациклити обробку", - "invoke": "Викликати", - "cancel": "Скасувати", - "promptPlaceholder": "Введіть запит тут (англійською). [видалені токени], (більш вагомі)++, (менш вагомі)--, swap и blend також доступні (дивіться Github)", - "sendTo": "Надіслати", - "sendToImg2Img": "Надіслати у img2img", - "sendToUnifiedCanvas": "Надіслати на полотно", - "copyImageToLink": "Скопіювати посилання", - "downloadImage": "Завантажити", - "openInViewer": "Відкрити у переглядачі", - "closeViewer": "Закрити переглядач", - "usePrompt": "Використати запит", - "useSeed": "Використати сід", - "useAll": "Використати все", - "useInitImg": "Використати як початкове", - "info": "Метадані", - "deleteImage": "Видалити зображення", - "initialImage": "Початкове зображення", - "showOptionsPanel": "Показати панель налаштувань" -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/parameters/zh_cn.json b/invokeai/frontend/dist/locales/parameters/zh_cn.json deleted file mode 100644 index cf6cf6e1c7..0000000000 --- a/invokeai/frontend/dist/locales/parameters/zh_cn.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images": "图像", - "steps": "步数", - "cfgScale": "CFG 等级", - "width": "宽度", - "height": "高度", - "sampler": "采样算法", - "seed": "种子", - "randomizeSeed": "随机化种子", - "shuffle": "随机化", - "noiseThreshold": "噪声阈值", - "perlinNoise": "Perlin 噪声", - "variations": "变种", - "variationAmount": "变种数量", - "seedWeights": "种子权重", - "faceRestoration": "脸部修复", - "restoreFaces": "修复脸部", - "type": "种类", - "strength": "强度", - "upscaling": "放大", - "upscale": "放大", - "upscaleImage": "放大图像", - "scale": "等级", - "otherOptions": "其他选项", - "seamlessTiling": "无缝拼贴", - "hiresOptim": "高清优化", - "imageFit": "使生成图像长宽适配原图像", - "codeformerFidelity": "保真", - "seamSize": "接缝尺寸", - "seamBlur": "接缝模糊", - "seamStrength": "接缝强度", - "seamSteps": "接缝步数", - "scaleBeforeProcessing": "处理前缩放", - "scaledWidth": "缩放宽度", - "scaledHeight": "缩放长度", - "infillMethod": "填充法", - "tileSize": "方格尺寸", - "boundingBoxHeader": "选择区域", - "seamCorrectionHeader": "接缝修正", - "infillScalingHeader": "内填充和缩放", - "img2imgStrength": "图像到图像强度", - "toggleLoopback": "切换环回", - "invoke": "Invoke", - "cancel": "取消", - "promptPlaceholder": "在这里输入提示。可以使用[反提示]、(加权)++、(减权)--、交换和混合(见文档)", - "sendTo": "发送到", - "sendToImg2Img": "发送到图像到图像", - "sendToUnifiedCanvas": "发送到统一画布", - "copyImageToLink": "复制图像链接", - "downloadImage": "下载图像", - "openInViewer": "在视图中打开", - "closeViewer": "关闭视图", - "usePrompt": "使用提示", - "useSeed": "使用种子", - "useAll": "使用所有参数", - "useInitImg": "使用原图像", - "info": "信息", - "deleteImage": "删除图像", - "initialImage": "原图像", - "showOptionsPanel": "显示选项浮窗" -} diff --git a/invokeai/frontend/dist/locales/settings/de.json b/invokeai/frontend/dist/locales/settings/de.json deleted file mode 100644 index 5ffbd45681..0000000000 --- a/invokeai/frontend/dist/locales/settings/de.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Models", - "displayInProgress": "Bilder in Bearbeitung anzeigen", - "saveSteps": "Speichern der Bilder alle n Schritte", - "confirmOnDelete": "Bestätigen beim Löschen", - "displayHelpIcons": "Hilfesymbole anzeigen", - "useCanvasBeta": "Canvas Beta Layout verwenden", - "enableImageDebugging": "Bild-Debugging aktivieren", - "resetWebUI": "Web-Oberfläche zurücksetzen", - "resetWebUIDesc1": "Das Zurücksetzen der Web-Oberfläche setzt nur den lokalen Cache des Browsers mit Ihren Bildern und gespeicherten Einstellungen zurück. Es werden keine Bilder von der Festplatte gelöscht.", - "resetWebUIDesc2": "Wenn die Bilder nicht in der Galerie angezeigt werden oder etwas anderes nicht funktioniert, versuchen Sie bitte, die Einstellungen zurückzusetzen, bevor Sie einen Fehler auf GitHub melden.", - "resetComplete": "Die Web-Oberfläche wurde zurückgesetzt. Aktualisieren Sie die Seite, um sie neu zu laden." -} diff --git a/invokeai/frontend/dist/locales/settings/en-US.json b/invokeai/frontend/dist/locales/settings/en-US.json deleted file mode 100644 index e66cf09bf5..0000000000 --- a/invokeai/frontend/dist/locales/settings/en-US.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Models", - "displayInProgress": "Display In-Progress Images", - "saveSteps": "Save images every n steps", - "confirmOnDelete": "Confirm On Delete", - "displayHelpIcons": "Display Help Icons", - "useCanvasBeta": "Use Canvas Beta Layout", - "enableImageDebugging": "Enable Image Debugging", - "resetWebUI": "Reset Web UI", - "resetWebUIDesc1": "Resetting the web UI only resets the browser's local cache of your images and remembered settings. It does not delete any images from disk.", - "resetWebUIDesc2": "If images aren't showing up in the gallery or something else isn't working, please try resetting before submitting an issue on GitHub.", - "resetComplete": "Web UI has been reset. Refresh the page to reload." -} diff --git a/invokeai/frontend/dist/locales/settings/en.json b/invokeai/frontend/dist/locales/settings/en.json deleted file mode 100644 index e66cf09bf5..0000000000 --- a/invokeai/frontend/dist/locales/settings/en.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Models", - "displayInProgress": "Display In-Progress Images", - "saveSteps": "Save images every n steps", - "confirmOnDelete": "Confirm On Delete", - "displayHelpIcons": "Display Help Icons", - "useCanvasBeta": "Use Canvas Beta Layout", - "enableImageDebugging": "Enable Image Debugging", - "resetWebUI": "Reset Web UI", - "resetWebUIDesc1": "Resetting the web UI only resets the browser's local cache of your images and remembered settings. It does not delete any images from disk.", - "resetWebUIDesc2": "If images aren't showing up in the gallery or something else isn't working, please try resetting before submitting an issue on GitHub.", - "resetComplete": "Web UI has been reset. Refresh the page to reload." -} diff --git a/invokeai/frontend/dist/locales/settings/es.json b/invokeai/frontend/dist/locales/settings/es.json deleted file mode 100644 index 4fadf79977..0000000000 --- a/invokeai/frontend/dist/locales/settings/es.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Modelos", - "displayInProgress": "Mostrar imágenes en progreso", - "saveSteps": "Guardar imágenes cada n pasos", - "confirmOnDelete": "Confirmar antes de eliminar", - "displayHelpIcons": "Mostrar iconos de ayuda", - "useCanvasBeta": "Usar versión beta del Lienzo", - "enableImageDebugging": "Habilitar depuración de imágenes", - "resetWebUI": "Restablecer interfaz web", - "resetWebUIDesc1": "Al restablecer la interfaz web, solo se restablece la caché local del navegador de sus imágenes y la configuración guardada. No se elimina ninguna imagen de su disco duro.", - "resetWebUIDesc2": "Si las imágenes no se muestran en la galería o algo más no funciona, intente restablecer antes de reportar un incidente en GitHub.", - "resetComplete": "La interfaz web se ha restablecido. Actualice la página para recargarla." -} diff --git a/invokeai/frontend/dist/locales/settings/fr.json b/invokeai/frontend/dist/locales/settings/fr.json deleted file mode 100644 index 62e5708a25..0000000000 --- a/invokeai/frontend/dist/locales/settings/fr.json +++ /dev/null @@ -1,13 +0,0 @@ -{ -"models": "Modèles", -"displayInProgress": "Afficher les images en cours", -"saveSteps": "Enregistrer les images tous les n étapes", -"confirmOnDelete": "Confirmer la suppression", -"displayHelpIcons": "Afficher les icônes d'aide", -"useCanvasBeta": "Utiliser la mise en page bêta de Canvas", -"enableImageDebugging": "Activer le débogage d'image", -"resetWebUI": "Réinitialiser l'interface Web", -"resetWebUIDesc1": "Réinitialiser l'interface Web ne réinitialise que le cache local du navigateur de vos images et de vos paramètres enregistrés. Cela n'efface pas les images du disque.", -"resetWebUIDesc2": "Si les images ne s'affichent pas dans la galerie ou si quelque chose d'autre ne fonctionne pas, veuillez essayer de réinitialiser avant de soumettre une demande sur GitHub.", -"resetComplete": "L'interface Web a été réinitialisée. Rafraîchissez la page pour recharger." -} diff --git a/invokeai/frontend/dist/locales/settings/it.json b/invokeai/frontend/dist/locales/settings/it.json deleted file mode 100644 index 38345e2a6d..0000000000 --- a/invokeai/frontend/dist/locales/settings/it.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Modelli", - "displayInProgress": "Visualizza immagini in corso", - "saveSteps": "Salva le immagini ogni n passaggi", - "confirmOnDelete": "Conferma l'eliminazione", - "displayHelpIcons": "Visualizza le icone della Guida", - "useCanvasBeta": "Utilizza il layout beta di Canvas", - "enableImageDebugging": "Abilita il debug dell'immagine", - "resetWebUI": "Reimposta l'interfaccia utente Web", - "resetWebUIDesc1": "Il ripristino dell'interfaccia utente Web reimposta solo la cache locale del browser delle immagini e le impostazioni memorizzate. Non cancella alcuna immagine dal disco.", - "resetWebUIDesc2": "Se le immagini non vengono visualizzate nella galleria o qualcos'altro non funziona, prova a reimpostare prima di segnalare un problema su GitHub.", - "resetComplete": "L'interfaccia utente Web è stata reimpostata. Aggiorna la pagina per ricaricarla." -} diff --git a/invokeai/frontend/dist/locales/settings/ja.json b/invokeai/frontend/dist/locales/settings/ja.json deleted file mode 100644 index 51ff8e991c..0000000000 --- a/invokeai/frontend/dist/locales/settings/ja.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "models": "モデル", - "displayInProgress": "生成中の画像を表示する", - "saveSteps": "nステップごとに画像を保存", - "confirmOnDelete": "削除時に確認", - "displayHelpIcons": "ヘルプアイコンを表示", - "useCanvasBeta": "キャンバスレイアウト(Beta)を使用する", - "enableImageDebugging": "画像のデバッグを有効化", - "resetWebUI": "WebUIをリセット", - "resetWebUIDesc1": "WebUIのリセットは、画像と保存された設定のキャッシュをリセットするだけです。画像を削除するわけではありません。", - "resetWebUIDesc2": "もしギャラリーに画像が表示されないなど、何か問題が発生した場合はGitHubにissueを提出する前にリセットを試してください。", - "resetComplete": "WebUIはリセットされました。F5を押して再読み込みしてください。" - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/settings/nl.json b/invokeai/frontend/dist/locales/settings/nl.json deleted file mode 100644 index fa21efbc7b..0000000000 --- a/invokeai/frontend/dist/locales/settings/nl.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Modellen", - "displayInProgress": "Toon afbeeldingen gedurende verwerking", - "saveSteps": "Bewaar afbeeldingen elke n stappen", - "confirmOnDelete": "Bevestig bij verwijderen", - "displayHelpIcons": "Toon hulppictogrammen", - "useCanvasBeta": "Gebruik bètavormgeving van canvas", - "enableImageDebugging": "Schakel foutopsporing afbeelding in", - "resetWebUI": "Herstel web-UI", - "resetWebUIDesc1": "Herstel web-UI herstelt alleen de lokale afbeeldingscache en de onthouden instellingen van je browser. Het verwijdert geen afbeeldingen van schijf.", - "resetWebUIDesc2": "Als afbeeldingen niet getoond worden in de galerij of iets anders werkt niet, probeer dan eerst deze herstelfunctie voordat je een fout aanmeldt op GitHub.", - "resetComplete": "Webgebruikersinterface is hersteld. Vernieuw de pasgina om opnieuw te laden." -} diff --git a/invokeai/frontend/dist/locales/settings/pl.json b/invokeai/frontend/dist/locales/settings/pl.json deleted file mode 100644 index 1fb901c30c..0000000000 --- a/invokeai/frontend/dist/locales/settings/pl.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Modele", - "displayInProgress": "Podgląd generowanego obrazu", - "saveSteps": "Zapisuj obrazy co X kroków", - "confirmOnDelete": "Potwierdzaj usuwanie", - "displayHelpIcons": "Wyświetlaj ikony pomocy", - "useCanvasBeta": "Nowy układ trybu uniwersalnego", - "enableImageDebugging": "Włącz debugowanie obrazu", - "resetWebUI": "Zresetuj interfejs", - "resetWebUIDesc1": "Resetowanie interfejsu wyczyści jedynie dane i ustawienia zapisane w pamięci przeglądarki. Nie usunie żadnych obrazów z dysku.", - "resetWebUIDesc2": "Jeśli obrazy nie są poprawnie wyświetlane w galerii lub doświadczasz innych problemów, przed zgłoszeniem błędu spróbuj zresetować interfejs.", - "resetComplete": "Interfejs został zresetowany. Odśwież stronę, aby załadować ponownie." -} diff --git a/invokeai/frontend/dist/locales/settings/pt.json b/invokeai/frontend/dist/locales/settings/pt.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/settings/pt.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/settings/pt_br.json b/invokeai/frontend/dist/locales/settings/pt_br.json deleted file mode 100644 index fddc9616fb..0000000000 --- a/invokeai/frontend/dist/locales/settings/pt_br.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Modelos", - "displayInProgress": "Mostrar Progresso de Imagens Em Andamento", - "saveSteps": "Salvar imagens a cada n passos", - "confirmOnDelete": "Confirmar Antes de Apagar", - "displayHelpIcons": "Mostrar Ícones de Ajuda", - "useCanvasBeta": "Usar Layout de Telas Beta", - "enableImageDebugging": "Ativar Depuração de Imagem", - "resetWebUI": "Reiniciar Interface", - "resetWebUIDesc1": "Reiniciar a interface apenas reinicia o cache local do broswer para imagens e configurações lembradas. Não apaga nenhuma imagem do disco.", - "resetWebUIDesc2": "Se as imagens não estão aparecendo na galeria ou algo mais não está funcionando, favor tentar reiniciar antes de postar um problema no GitHub.", - "resetComplete": "A interface foi reiniciada. Atualize a página para carregar." -} diff --git a/invokeai/frontend/dist/locales/settings/ru.json b/invokeai/frontend/dist/locales/settings/ru.json deleted file mode 100644 index bd9710988a..0000000000 --- a/invokeai/frontend/dist/locales/settings/ru.json +++ /dev/null @@ -1,13 +0,0 @@ -+{ - "models": "Модели", - "displayInProgress": "Показывать процесс генерации", - "saveSteps": "Сохранять каждые n щагов", - "confirmOnDelete": "Подтверждать удаление", - "displayHelpIcons": "Показывать значки подсказок", - "useCanvasBeta": "Показывать инструменты слева (Beta UI)", - "enableImageDebugging": "Включить отладку", - "resetWebUI": "Вернуть умолчания", - "resetWebUIDesc1": "Сброс настроек веб-интерфейса удаляет только локальный кэш браузера с вашими изображениями и настройками. Он не удаляет изображения с диска.", - "resetWebUIDesc2": "Если изображения не отображаются в галерее или не работает что-то еще, пожалуйста, попробуйте сбросить настройки, прежде чем сообщать о проблеме на GitHub.", - "resetComplete": "Интерфейс сброшен. Обновите эту страницу." -} diff --git a/invokeai/frontend/dist/locales/settings/ua.json b/invokeai/frontend/dist/locales/settings/ua.json deleted file mode 100644 index ca8996f28c..0000000000 --- a/invokeai/frontend/dist/locales/settings/ua.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "Моделі", - "displayInProgress": "Показувати процес генерації", - "saveSteps": "Зберігати кожні n кроків", - "confirmOnDelete": "Підтверджувати видалення", - "displayHelpIcons": "Показувати значки підказок", - "useCanvasBeta": "Показувати інструменты зліва (Beta UI)", - "enableImageDebugging": "Увімкнути налагодження", - "resetWebUI": "Повернути початкові", - "resetWebUIDesc1": "Скидання настройок веб-інтерфейсу видаляє лише локальний кеш браузера з вашими зображеннями та налаштуваннями. Це не призводить до видалення зображень з диску.", - "resetWebUIDesc2": "Якщо зображення не відображаються в галереї або не працює ще щось, спробуйте скинути налаштування, перш ніж повідомляти про проблему на GitHub.", - "resetComplete": "Інтерфейс скинуто. Оновіть цю сторінку." -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/settings/zh_cn.json b/invokeai/frontend/dist/locales/settings/zh_cn.json deleted file mode 100644 index 07da0b7289..0000000000 --- a/invokeai/frontend/dist/locales/settings/zh_cn.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "models": "模型", - "displayInProgress": "显示进行中的图像", - "saveSteps": "每n步保存图像", - "confirmOnDelete": "删除时确认", - "displayHelpIcons": "显示帮助按钮", - "useCanvasBeta": "使用测试版画布视图", - "enableImageDebugging": "开启图像调试", - "resetWebUI": "重置网页界面", - "resetWebUIDesc1": "重置网页只会重置浏览器中缓存的图像和设置,不会删除任何图像。", - "resetWebUIDesc2": "如果图像没有显示在图库中,或者其他东西不工作,请在GitHub上提交问题之前尝试重置。", - "resetComplete": "网页界面已重置。刷新页面以重新加载。" -} diff --git a/invokeai/frontend/dist/locales/toast/de.json b/invokeai/frontend/dist/locales/toast/de.json deleted file mode 100644 index 685dc50090..0000000000 --- a/invokeai/frontend/dist/locales/toast/de.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Temp-Ordner geleert", - "uploadFailed": "Hochladen fehlgeschlagen", - "uploadFailedMultipleImagesDesc": "Mehrere Bilder eingefügt, es kann nur ein Bild auf einmal hochgeladen werden", - "uploadFailedUnableToLoadDesc": "Datei kann nicht geladen werden", - "downloadImageStarted": "Bild wird heruntergeladen", - "imageCopied": "Bild kopiert", - "imageLinkCopied": "Bildlink kopiert", - "imageNotLoaded": "Kein Bild geladen", - "imageNotLoadedDesc": "Kein Bild gefunden, das an das Bild zu Bild-Modul gesendet werden kann", - "imageSavedToGallery": "Bild in die Galerie gespeichert", - "canvasMerged": "Leinwand zusammengeführt", - "sentToImageToImage": "Gesendet an Bild zu Bild", - "sentToUnifiedCanvas": "Gesendet an Unified Canvas", - "parametersSet": "Parameter festlegen", - "parametersNotSet": "Parameter nicht festgelegt", - "parametersNotSetDesc": "Keine Metadaten für dieses Bild gefunden.", - "parametersFailed": "Problem beim Laden der Parameter", - "parametersFailedDesc": "Ausgangsbild kann nicht geladen werden.", - "seedSet": "Seed festlegen", - "seedNotSet": "Saatgut nicht festgelegt", - "seedNotSetDesc": "Für dieses Bild wurde kein Seed gefunden.", - "promptSet": "Prompt festgelegt", - "promptNotSet": "Prompt nicht festgelegt", - "promptNotSetDesc": "Für dieses Bild wurde kein Prompt gefunden.", - "upscalingFailed": "Hochskalierung fehlgeschlagen", - "faceRestoreFailed": "Gesichtswiederherstellung fehlgeschlagen", - "metadataLoadFailed": "Metadaten konnten nicht geladen werden", - "initialImageSet": "Ausgangsbild festgelegt", - "initialImageNotSet": "Ausgangsbild nicht festgelegt", - "initialImageNotSetDesc": "Ausgangsbild konnte nicht geladen werden" -} diff --git a/invokeai/frontend/dist/locales/toast/en-US.json b/invokeai/frontend/dist/locales/toast/en-US.json deleted file mode 100644 index 2b22a1bbec..0000000000 --- a/invokeai/frontend/dist/locales/toast/en-US.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Temp Folder Emptied", - "uploadFailed": "Upload failed", - "uploadFailedMultipleImagesDesc": "Multiple images pasted, may only upload one image at a time", - "uploadFailedUnableToLoadDesc": "Unable to load file", - "downloadImageStarted": "Image Download Started", - "imageCopied": "Image Copied", - "imageLinkCopied": "Image Link Copied", - "imageNotLoaded": "No Image Loaded", - "imageNotLoadedDesc": "No image found to send to image to image module", - "imageSavedToGallery": "Image Saved to Gallery", - "canvasMerged": "Canvas Merged", - "sentToImageToImage": "Sent To Image To Image", - "sentToUnifiedCanvas": "Sent to Unified Canvas", - "parametersSet": "Parameters Set", - "parametersNotSet": "Parameters Not Set", - "parametersNotSetDesc": "No metadata found for this image.", - "parametersFailed": "Problem loading parameters", - "parametersFailedDesc": "Unable to load init image.", - "seedSet": "Seed Set", - "seedNotSet": "Seed Not Set", - "seedNotSetDesc": "Could not find seed for this image.", - "promptSet": "Prompt Set", - "promptNotSet": "Prompt Not Set", - "promptNotSetDesc": "Could not find prompt for this image.", - "upscalingFailed": "Upscaling Failed", - "faceRestoreFailed": "Face Restoration Failed", - "metadataLoadFailed": "Failed to load metadata", - "initialImageSet": "Initial Image Set", - "initialImageNotSet": "Initial Image Not Set", - "initialImageNotSetDesc": "Could not load initial image" -} diff --git a/invokeai/frontend/dist/locales/toast/en.json b/invokeai/frontend/dist/locales/toast/en.json deleted file mode 100644 index 2b22a1bbec..0000000000 --- a/invokeai/frontend/dist/locales/toast/en.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Temp Folder Emptied", - "uploadFailed": "Upload failed", - "uploadFailedMultipleImagesDesc": "Multiple images pasted, may only upload one image at a time", - "uploadFailedUnableToLoadDesc": "Unable to load file", - "downloadImageStarted": "Image Download Started", - "imageCopied": "Image Copied", - "imageLinkCopied": "Image Link Copied", - "imageNotLoaded": "No Image Loaded", - "imageNotLoadedDesc": "No image found to send to image to image module", - "imageSavedToGallery": "Image Saved to Gallery", - "canvasMerged": "Canvas Merged", - "sentToImageToImage": "Sent To Image To Image", - "sentToUnifiedCanvas": "Sent to Unified Canvas", - "parametersSet": "Parameters Set", - "parametersNotSet": "Parameters Not Set", - "parametersNotSetDesc": "No metadata found for this image.", - "parametersFailed": "Problem loading parameters", - "parametersFailedDesc": "Unable to load init image.", - "seedSet": "Seed Set", - "seedNotSet": "Seed Not Set", - "seedNotSetDesc": "Could not find seed for this image.", - "promptSet": "Prompt Set", - "promptNotSet": "Prompt Not Set", - "promptNotSetDesc": "Could not find prompt for this image.", - "upscalingFailed": "Upscaling Failed", - "faceRestoreFailed": "Face Restoration Failed", - "metadataLoadFailed": "Failed to load metadata", - "initialImageSet": "Initial Image Set", - "initialImageNotSet": "Initial Image Not Set", - "initialImageNotSetDesc": "Could not load initial image" -} diff --git a/invokeai/frontend/dist/locales/toast/es.json b/invokeai/frontend/dist/locales/toast/es.json deleted file mode 100644 index fe544d4f50..0000000000 --- a/invokeai/frontend/dist/locales/toast/es.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Directorio temporal vaciado", - "uploadFailed": "Error al subir archivo", - "uploadFailedMultipleImagesDesc": "Únicamente se puede subir una imágen a la vez", - "uploadFailedUnableToLoadDesc": "No se pudo cargar la imágen", - "downloadImageStarted": "Descargando imágen", - "imageCopied": "Imágen copiada", - "imageLinkCopied": "Enlace de imágen copiado", - "imageNotLoaded": "No se cargó la imágen", - "imageNotLoadedDesc": "No se encontró imagen para enviar al módulo Imagen a Imagen", - "imageSavedToGallery": "Imágen guardada en la galería", - "canvasMerged": "Lienzo consolidado", - "sentToImageToImage": "Enviar hacia Imagen a Imagen", - "sentToUnifiedCanvas": "Enviar hacia Lienzo Consolidado", - "parametersSet": "Parámetros establecidos", - "parametersNotSet": "Parámetros no establecidos", - "parametersNotSetDesc": "No se encontraron metadatos para esta imágen.", - "parametersFailed": "Error cargando parámetros", - "parametersFailedDesc": "No fue posible cargar la imagen inicial.", - "seedSet": "Semilla establecida", - "seedNotSet": "Semilla no establecida", - "seedNotSetDesc": "No se encontró una semilla para esta imágen.", - "promptSet": "Entrada establecida", - "promptNotSet": "Entrada no establecida", - "promptNotSetDesc": "No se encontró una entrada para esta imágen.", - "upscalingFailed": "Error al aumentar tamaño de imagn", - "faceRestoreFailed": "Restauración de rostro fallida", - "metadataLoadFailed": "Error al cargar metadatos", - "initialImageSet": "Imágen inicial establecida", - "initialImageNotSet": "Imagen inicial no establecida", - "initialImageNotSetDesc": "Error al establecer la imágen inicial" -} diff --git a/invokeai/frontend/dist/locales/toast/fr.json b/invokeai/frontend/dist/locales/toast/fr.json deleted file mode 100644 index d519f38bb4..0000000000 --- a/invokeai/frontend/dist/locales/toast/fr.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Dossiers temporaires vidés", - "uploadFailed": "Téléchargement échoué", - "uploadFailedMultipleImagesDesc": "Plusieurs images collées, peut uniquement télécharger une image à la fois", - "uploadFailedUnableToLoadDesc": "Impossible de charger le fichier", - "downloadImageStarted": "Téléchargement de l'image démarré", - "imageCopied": "Image copiée", - "imageLinkCopied": "Lien d'image copié", - "imageNotLoaded": "Aucune image chargée", - "imageNotLoadedDesc": "Aucune image trouvée pour envoyer à module d'image", - "imageSavedToGallery": "Image enregistrée dans la galerie", - "canvasMerged": "Canvas fusionné", - "sentToImageToImage": "Envoyé à Image à Image", - "sentToUnifiedCanvas": "Envoyé à Canvas unifié", - "parametersSet": "Paramètres définis", - "parametersNotSet": "Paramètres non définis", - "parametersNotSetDesc": "Aucune métadonnée trouvée pour cette image.", - "parametersFailed": "Problème de chargement des paramètres", - "parametersFailedDesc": "Impossible de charger l'image d'initiation.", - "seedSet": "Graine définie", - "seedNotSet": "Graine non définie", - "seedNotSetDesc": "Impossible de trouver la graine pour cette image.", - "promptSet": "Invite définie", - "promptNotSet": "Invite non définie", - "promptNotSetDesc": "Impossible de trouver l'invite pour cette image.", - "upscalingFailed": "Échec de la mise à l'échelle", - "faceRestoreFailed": "Échec de la restauration du visage", - "metadataLoadFailed": "Échec du chargement des métadonnées", - "initialImageSet": "Image initiale définie", - "initialImageNotSet": "Image initiale non définie", - "initialImageNotSetDesc": "Impossible de charger l'image initiale" -} diff --git a/invokeai/frontend/dist/locales/toast/it.json b/invokeai/frontend/dist/locales/toast/it.json deleted file mode 100644 index 6de400f16c..0000000000 --- a/invokeai/frontend/dist/locales/toast/it.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Cartella temporanea svuotata", - "uploadFailed": "Caricamento fallito", - "uploadFailedMultipleImagesDesc": "Più immagini incollate, si può caricare solo un'immagine alla volta", - "uploadFailedUnableToLoadDesc": "Impossibile caricare il file", - "downloadImageStarted": "Download dell'immagine avviato", - "imageCopied": "Immagine copiata", - "imageLinkCopied": "Collegamento immagine copiato", - "imageNotLoaded": "Nessuna immagine caricata", - "imageNotLoadedDesc": "Nessuna immagine trovata da inviare al modulo da Immagine a Immagine", - "imageSavedToGallery": "Immagine salvata nella Galleria", - "canvasMerged": "Tela unita", - "sentToImageToImage": "Inviato a da Immagine a Immagine", - "sentToUnifiedCanvas": "Inviato a Tela Unificata", - "parametersSet": "Parametri impostati", - "parametersNotSet": "Parametri non impostati", - "parametersNotSetDesc": "Nessun metadato trovato per questa immagine.", - "parametersFailed": "Problema durante il caricamento dei parametri", - "parametersFailedDesc": "Impossibile caricare l'immagine iniziale.", - "seedSet": "Seme impostato", - "seedNotSet": "Seme non impostato", - "seedNotSetDesc": "Impossibile trovare il seme per questa immagine.", - "promptSet": "Prompt impostato", - "promptNotSet": "Prompt non impostato", - "promptNotSetDesc": "Impossibile trovare il prompt per questa immagine.", - "upscalingFailed": "Ampliamento non riuscito", - "faceRestoreFailed": "Restauro facciale non riuscito", - "metadataLoadFailed": "Impossibile caricare i metadati", - "initialImageSet": "Immagine iniziale impostata", - "initialImageNotSet": "Immagine iniziale non impostata", - "initialImageNotSetDesc": "Impossibile caricare l'immagine iniziale" -} diff --git a/invokeai/frontend/dist/locales/toast/ja.json b/invokeai/frontend/dist/locales/toast/ja.json deleted file mode 100644 index e43a03a2b5..0000000000 --- a/invokeai/frontend/dist/locales/toast/ja.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Temp Folder Emptied", - "uploadFailed": "アップロード失敗", - "uploadFailedMultipleImagesDesc": "一度にアップロードできる画像は1枚のみです。", - "uploadFailedUnableToLoadDesc": "ファイルを読み込むことができません。", - "downloadImageStarted": "画像ダウンロード開始", - "imageCopied": "画像をコピー", - "imageLinkCopied": "画像のURLをコピー", - "imageNotLoaded": "画像を読み込めません。", - "imageNotLoadedDesc": "Image To Imageに転送する画像が見つかりません。", - "imageSavedToGallery": "画像をギャラリーに保存する", - "canvasMerged": "Canvas Merged", - "sentToImageToImage": "Image To Imageに転送", - "sentToUnifiedCanvas": "Unified Canvasに転送", - "parametersSet": "Parameters Set", - "parametersNotSet": "Parameters Not Set", - "parametersNotSetDesc": "この画像にはメタデータがありません。", - "parametersFailed": "パラメータ読み込みの不具合", - "parametersFailedDesc": "initイメージを読み込めません。", - "seedSet": "Seed Set", - "seedNotSet": "Seed Not Set", - "seedNotSetDesc": "この画像のシード値が見つかりません。", - "promptSet": "Prompt Set", - "promptNotSet": "Prompt Not Set", - "promptNotSetDesc": "この画像のプロンプトが見つかりませんでした。", - "upscalingFailed": "アップスケーリング失敗", - "faceRestoreFailed": "顔の修復に失敗", - "metadataLoadFailed": "メタデータの読み込みに失敗。", - "initialImageSet": "Initial Image Set", - "initialImageNotSet": "Initial Image Not Set", - "initialImageNotSetDesc": "Could not load initial image" - } \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/toast/nl.json b/invokeai/frontend/dist/locales/toast/nl.json deleted file mode 100644 index 36a7b5d198..0000000000 --- a/invokeai/frontend/dist/locales/toast/nl.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Tijdelijke map geleegd", - "uploadFailed": "Upload mislukt", - "uploadFailedMultipleImagesDesc": "Meerdere afbeeldingen geplakt, slechts een afbeelding per keer toegestaan", - "uploadFailedUnableToLoadDesc": "Kan bestand niet laden", - "downloadImageStarted": "Afbeeldingsdownload gestart", - "imageCopied": "Afbeelding gekopieerd", - "imageLinkCopied": "Afbeeldingskoppeling gekopieerd", - "imageNotLoaded": "Geen afbeelding geladen", - "imageNotLoadedDesc": "Geen afbeelding gevonden om te sturen naar de module Afbeelding naar afbeelding", - "imageSavedToGallery": "Afbeelding opgeslagen naar galerij", - "canvasMerged": "Canvas samengevoegd", - "sentToImageToImage": "Gestuurd naar Afbeelding naar afbeelding", - "sentToUnifiedCanvas": "Gestuurd naar Centraal canvas", - "parametersSet": "Parameters ingesteld", - "parametersNotSet": "Parameters niet ingesteld", - "parametersNotSetDesc": "Geen metagegevens gevonden voor deze afbeelding.", - "parametersFailed": "Fout bij laden van parameters", - "parametersFailedDesc": "Kan initiële afbeelding niet laden.", - "seedSet": "Seed ingesteld", - "seedNotSet": "Seed niet ingesteld", - "seedNotSetDesc": "Kan seed niet vinden voor deze afbeelding.", - "promptSet": "Invoertekst ingesteld", - "promptNotSet": "Invoertekst niet ingesteld", - "promptNotSetDesc": "Kan invoertekst niet vinden voor deze afbeelding.", - "upscalingFailed": "Opschalen mislukt", - "faceRestoreFailed": "Gezichtsherstel mislukt", - "metadataLoadFailed": "Fout bij laden metagegevens", - "initialImageSet": "Initiële afbeelding ingesteld", - "initialImageNotSet": "Initiële afbeelding niet ingesteld", - "initialImageNotSetDesc": "Kan initiële afbeelding niet laden" -} diff --git a/invokeai/frontend/dist/locales/toast/pl.json b/invokeai/frontend/dist/locales/toast/pl.json deleted file mode 100644 index 9d66731e09..0000000000 --- a/invokeai/frontend/dist/locales/toast/pl.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Wyczyszczono folder tymczasowy", - "uploadFailed": "Błąd przesyłania obrazu", - "uploadFailedMultipleImagesDesc": "Możliwe jest przesłanie tylko jednego obrazu na raz", - "uploadFailedUnableToLoadDesc": "Błąd wczytywania obrazu", - "downloadImageStarted": "Rozpoczęto pobieranie", - "imageCopied": "Skopiowano obraz", - "imageLinkCopied": "Skopiowano link do obrazu", - "imageNotLoaded": "Nie wczytano obrazu", - "imageNotLoadedDesc": "Nie znaleziono obrazu, który można użyć w Obraz na obraz", - "imageSavedToGallery": "Zapisano obraz w galerii", - "canvasMerged": "Scalono widoczne warstwy", - "sentToImageToImage": "Wysłano do Obraz na obraz", - "sentToUnifiedCanvas": "Wysłano do trybu uniwersalnego", - "parametersSet": "Ustawiono parametry", - "parametersNotSet": "Nie ustawiono parametrów", - "parametersNotSetDesc": "Nie znaleziono metadanych dla wybranego obrazu", - "parametersFailed": "Problem z wczytaniem parametrów", - "parametersFailedDesc": "Problem z wczytaniem oryginalnego obrazu", - "seedSet": "Ustawiono inicjator", - "seedNotSet": "Nie ustawiono inicjatora", - "seedNotSetDesc": "Nie znaleziono inicjatora dla wybranego obrazu", - "promptSet": "Ustawiono sugestie", - "promptNotSet": "Nie ustawiono sugestii", - "promptNotSetDesc": "Nie znaleziono zapytania dla wybranego obrazu", - "upscalingFailed": "Błąd powiększania obrazu", - "faceRestoreFailed": "Błąd poprawiania twarzy", - "metadataLoadFailed": "Błąd wczytywania metadanych", - "initialImageSet": "Ustawiono oryginalny obraz", - "initialImageNotSet": "Nie ustawiono oryginalnego obrazu", - "initialImageNotSetDesc": "Błąd wczytywania oryginalnego obrazu" -} diff --git a/invokeai/frontend/dist/locales/toast/pt.json b/invokeai/frontend/dist/locales/toast/pt.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/toast/pt.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/toast/pt_br.json b/invokeai/frontend/dist/locales/toast/pt_br.json deleted file mode 100644 index 47750de1bd..0000000000 --- a/invokeai/frontend/dist/locales/toast/pt_br.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Pasta de Arquivos Temporários Esvaziada", - "uploadFailed": "Envio Falhou", - "uploadFailedMultipleImagesDesc": "Várias imagens copiadas, só é permitido uma imagem de cada vez", - "uploadFailedUnableToLoadDesc": "Não foj possível carregar o arquivo", - "downloadImageStarted": "Download de Imagem Começou", - "imageCopied": "Imagem Copiada", - "imageLinkCopied": "Link de Imagem Copiada", - "imageNotLoaded": "Nenhuma Imagem Carregada", - "imageNotLoadedDesc": "Nenhuma imagem encontrar para mandar para o módulo de imagem para imagem", - "imageSavedToGallery": "Imagem Salva na Galeria", - "canvasMerged": "Tela Fundida", - "sentToImageToImage": "Mandar Para Imagem Para Imagem", - "sentToUnifiedCanvas": "Enviada para a Tela Unificada", - "parametersSet": "Parâmetros Definidos", - "parametersNotSet": "Parâmetros Não Definidos", - "parametersNotSetDesc": "Nenhum metadado foi encontrado para essa imagem.", - "parametersFailed": "Problema ao carregar parâmetros", - "parametersFailedDesc": "Não foi possível carregar imagem incial.", - "seedSet": "Seed Definida", - "seedNotSet": "Seed Não Definida", - "seedNotSetDesc": "Não foi possível achar a seed para a imagem.", - "promptSet": "Prompt Definido", - "promptNotSet": "Prompt Não Definido", - "promptNotSetDesc": "Não foi possível achar prompt para essa imagem.", - "upscalingFailed": "Redimensionamento Falhou", - "faceRestoreFailed": "Restauração de Rosto Falhou", - "metadataLoadFailed": "Falha ao tentar carregar metadados", - "initialImageSet": "Imagem Inicial Definida", - "initialImageNotSet": "Imagem Inicial Não Definida", - "initialImageNotSetDesc": "Não foi possível carregar imagem incial" -} diff --git a/invokeai/frontend/dist/locales/toast/ru.json b/invokeai/frontend/dist/locales/toast/ru.json deleted file mode 100644 index 22cddd82c5..0000000000 --- a/invokeai/frontend/dist/locales/toast/ru.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Временная папка очищена", - "uploadFailed": "Загрузка не удалась", - "uploadFailedMultipleImagesDesc": "Можно вставить только одно изображение (вы попробовали вставить несколько)", - "uploadFailedUnableToLoadDesc": "Невозможно загрузить файл", - "downloadImageStarted": "Скачивание изображения началось", - "imageCopied": "Изображение скопировано", - "imageLinkCopied": "Ссылка на изображение скопирована", - "imageNotLoaded": "Изображение не загружено", - "imageNotLoadedDesc": "Не найдены изображения для отправки в img2img", - "imageSavedToGallery": "Изображение сохранено в галерею", - "canvasMerged": "Холст объединен", - "sentToImageToImage": "Отправить в img2img", - "sentToUnifiedCanvas": "Отправить на холст", - "parametersSet": "Параметры заданы", - "parametersNotSet": "Параметры не заданы", - "parametersNotSetDesc": "Не найдены метаданные этого изображения", - "parametersFailed": "Проблема с загрузкой параметров", - "parametersFailedDesc": "Невозможно загрузить исходное изображение", - "seedSet": "Сид задан", - "seedNotSet": "Сид не задан", - "seedNotSetDesc": "Не удалось найти сид для изображения", - "promptSet": "Запрос задан", - "promptNotSet": "Запрос не задан", - "promptNotSetDesc": "Не удалось найти запрос для изображения", - "upscalingFailed": "Увеличение не удалось", - "faceRestoreFailed": "Восстановление лиц не удалось", - "metadataLoadFailed": "Не удалось загрузить метаданные", - "initialImageSet": "Исходное изображение задано", - "initialImageNotSet": "Исходное изображение не задано", - "initialImageNotSetDesc": "Не получилось загрузить исходное изображение" -} diff --git a/invokeai/frontend/dist/locales/toast/ua.json b/invokeai/frontend/dist/locales/toast/ua.json deleted file mode 100644 index 2592ba83da..0000000000 --- a/invokeai/frontend/dist/locales/toast/ua.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "Тимчасова папка очищена", - "uploadFailed": "Не вдалося завантажити", - "uploadFailedMultipleImagesDesc": "Можна вставити лише одне зображення (ви спробували вставити декілька)", - "uploadFailedUnableToLoadDesc": "Неможливо завантажити файл", - "downloadImageStarted": "Завантаження зображення почалося", - "imageCopied": "Зображення скопійоване", - "imageLinkCopied": "Посилання на зображення скопійовано", - "imageNotLoaded": "Зображення не завантажено", - "imageNotLoadedDesc": "Не знайдено зображення для надсилання до img2img", - "imageSavedToGallery": "Зображення збережено в галерею", - "canvasMerged": "Полотно об'єднане", - "sentToImageToImage": "Надіслати до img2img", - "sentToUnifiedCanvas": "Надіслати на полотно", - "parametersSet": "Параметри задані", - "parametersNotSet": "Параметри не задані", - "parametersNotSetDesc": "Не знайдені метадані цього зображення", - "parametersFailed": "Проблема із завантаженням параметрів", - "parametersFailedDesc": "Неможливо завантажити початкове зображення", - "seedSet": "Сід заданий", - "seedNotSet": "Сід не заданий", - "seedNotSetDesc": "Не вдалося знайти сід для зображення", - "promptSet": "Запит заданий", - "promptNotSet": "Запит не заданий", - "promptNotSetDesc": "Не вдалося знайти запит для зображення", - "upscalingFailed": "Збільшення не вдалося", - "faceRestoreFailed": "Відновлення облич не вдалося", - "metadataLoadFailed": "Не вдалося завантажити метадані", - "initialImageSet": "Початкове зображення задане", - "initialImageNotSet": "Початкове зображення не задане", - "initialImageNotSetDesc": "Не вдалося завантажити початкове зображення" -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/toast/zh_cn.json b/invokeai/frontend/dist/locales/toast/zh_cn.json deleted file mode 100644 index 17d9079d2f..0000000000 --- a/invokeai/frontend/dist/locales/toast/zh_cn.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "tempFoldersEmptied": "临时文件夹已清空", - "uploadFailed": "上传失败", - "uploadFailedMultipleImagesDesc": "多张图像被粘贴,同时只能上传一张图像", - "uploadFailedUnableToLoadDesc": "无法加载文件", - "downloadImageStarted": "图像下载已开始", - "imageCopied": "图像已复制", - "imageLinkCopied": "图像链接已复制", - "imageNotLoaded": "没有加载图像", - "imageNotLoadedDesc": "没有图像可供送往图像到图像界面", - "imageSavedToGallery": "图像已保存到图库", - "canvasMerged": "画布已合并", - "sentToImageToImage": "已送往图像到图像", - "sentToUnifiedCanvas": "已送往统一画布", - "parametersSet": "参数已设定", - "parametersNotSet": "参数未设定", - "parametersNotSetDesc": "此图像不存在元数据", - "parametersFailed": "加载参数失败", - "parametersFailedDesc": "加载初始图像失败", - "seedSet": "种子已设定", - "seedNotSet": "种子未设定", - "seedNotSetDesc": "无法找到该图像的种子", - "promptSet": "提示已设定", - "promptNotSet": "提示未设定", - "promptNotSetDesc": "无法找到该图像的提示", - "upscalingFailed": "放大失败", - "faceRestoreFailed": "脸部修复失败", - "metadataLoadFailed": "加载元数据失败", - "initialImageSet": "初始图像已设定", - "initialImageNotSet": "初始图像未设定", - "initialImageNotSetDesc": "无法加载初始图像" -} diff --git a/invokeai/frontend/dist/locales/tooltip/de.json b/invokeai/frontend/dist/locales/tooltip/de.json deleted file mode 100644 index f88cecb146..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/de.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "Dies ist das Prompt-Feld. Ein Prompt enthält Generierungsobjekte und stilistische Begriffe. Sie können auch Gewichtungen (Token-Bedeutung) dem Prompt hinzufügen, aber CLI-Befehle und Parameter funktionieren nicht.", - "gallery": "Die Galerie zeigt erzeugte Bilder aus dem Ausgabeordner an, sobald sie erstellt wurden. Die Einstellungen werden in den Dateien gespeichert und können über das Kontextmenü aufgerufen werden.", - "other": "Mit diesen Optionen werden alternative Verarbeitungsmodi für InvokeAI aktiviert. 'Nahtlose Kachelung' erzeugt sich wiederholende Muster in der Ausgabe. 'Hohe Auflösungen' werden in zwei Schritten mit img2img erzeugt: Verwenden Sie diese Einstellung, wenn Sie ein größeres und kohärenteres Bild ohne Artefakte wünschen. Es dauert länger als das normale txt2img.", - "seed": "Der Seed-Wert beeinflusst das Ausgangsrauschen, aus dem das Bild erstellt wird. Sie können die bereits vorhandenen Seeds von früheren Bildern verwenden. 'Der Rauschschwellenwert' wird verwendet, um Artefakte bei hohen CFG-Werten abzuschwächen (versuchen Sie es im Bereich 0-10), und Perlin, um während der Erzeugung Perlin-Rauschen hinzuzufügen: Beide dienen dazu, Ihre Ergebnisse zu variieren.", - "variations": "Versuchen Sie eine Variation mit einem Wert zwischen 0,1 und 1,0, um das Ergebnis für ein bestimmtes Seed zu ändern. Interessante Variationen des Seeds liegen zwischen 0,1 und 0,3.", - "upscale": "Verwenden Sie ESRGAN, um das Bild unmittelbar nach der Erzeugung zu vergrößern.", - "faceCorrection": "Gesichtskorrektur mit GFPGAN oder Codeformer: Der Algorithmus erkennt Gesichter im Bild und korrigiert alle Fehler. Ein hoher Wert verändert das Bild stärker, was zu attraktiveren Gesichtern führt. Codeformer mit einer höheren Genauigkeit bewahrt das Originalbild auf Kosten einer stärkeren Gesichtskorrektur.", - "imageToImage": "Bild zu Bild lädt ein beliebiges Bild als Ausgangsbild, aus dem dann zusammen mit dem Prompt ein neues Bild erzeugt wird. Je höher der Wert ist, desto stärker wird das Ergebnisbild verändert. Werte von 0,0 bis 1,0 sind möglich, der empfohlene Bereich ist .25-.75", - "boundingBox": "Der Begrenzungsrahmen ist derselbe wie die Einstellungen für Breite und Höhe bei Text zu Bild oder Bild zu Bild. Es wird nur der Bereich innerhalb des Rahmens verarbeitet.", - "seamCorrection": "Steuert die Behandlung von sichtbaren Übergängen, die zwischen den erzeugten Bildern auf der Leinwand auftreten.", - "infillAndScaling": "Verwalten Sie Infill-Methoden (für maskierte oder gelöschte Bereiche der Leinwand) und Skalierung (nützlich für kleine Begrenzungsrahmengrößen)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/en-US.json b/invokeai/frontend/dist/locales/tooltip/en-US.json deleted file mode 100644 index 572594fe65..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/en-US.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "This is the prompt field. Prompt includes generation objects and stylistic terms. You can add weight (token importance) in the prompt as well, but CLI commands and parameters will not work.", - "gallery": "Gallery displays generations from the outputs folder as they're created. Settings are stored within files and accesed by context menu.", - "other": "These options will enable alternative processing modes for Invoke. 'Seamless tiling' will create repeating patterns in the output. 'High resolution' is generation in two steps with img2img: use this setting when you want a larger and more coherent image without artifacts. It will take longer that usual txt2img.", - "seed": "Seed value affects the initial noise from which the image is formed. You can use the already existing seeds from previous images. 'Noise Threshold' is used to mitigate artifacts at high CFG values (try the 0-10 range), and Perlin to add Perlin noise during generation: both serve to add variation to your outputs.", - "variations": "Try a variation with a value between 0.1 and 1.0 to change the result for a given seed. Interesting variations of the seed are between 0.1 and 0.3.", - "upscale": "Use ESRGAN to enlarge the image immediately after generation.", - "faceCorrection": "Face correction with GFPGAN or Codeformer: the algorithm detects faces in the image and corrects any defects. High value will change the image more, resulting in more attractive faces. Codeformer with a higher fidelity preserves the original image at the expense of stronger face correction.", - "imageToImage": "Image to Image loads any image as initial, which is then used to generate a new one along with the prompt. The higher the value, the more the result image will change. Values from 0.0 to 1.0 are possible, the recommended range is .25-.75", - "boundingBox": "The bounding box is the same as the Width and Height settings for Text to Image or Image to Image. Only the area in the box will be processed.", - "seamCorrection": "Controls the handling of visible seams that occur between generated images on the canvas.", - "infillAndScaling": "Manage infill methods (used on masked or erased areas of the canvas) and scaling (useful for small bounding box sizes)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/en.json b/invokeai/frontend/dist/locales/tooltip/en.json deleted file mode 100644 index 572594fe65..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/en.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "This is the prompt field. Prompt includes generation objects and stylistic terms. You can add weight (token importance) in the prompt as well, but CLI commands and parameters will not work.", - "gallery": "Gallery displays generations from the outputs folder as they're created. Settings are stored within files and accesed by context menu.", - "other": "These options will enable alternative processing modes for Invoke. 'Seamless tiling' will create repeating patterns in the output. 'High resolution' is generation in two steps with img2img: use this setting when you want a larger and more coherent image without artifacts. It will take longer that usual txt2img.", - "seed": "Seed value affects the initial noise from which the image is formed. You can use the already existing seeds from previous images. 'Noise Threshold' is used to mitigate artifacts at high CFG values (try the 0-10 range), and Perlin to add Perlin noise during generation: both serve to add variation to your outputs.", - "variations": "Try a variation with a value between 0.1 and 1.0 to change the result for a given seed. Interesting variations of the seed are between 0.1 and 0.3.", - "upscale": "Use ESRGAN to enlarge the image immediately after generation.", - "faceCorrection": "Face correction with GFPGAN or Codeformer: the algorithm detects faces in the image and corrects any defects. High value will change the image more, resulting in more attractive faces. Codeformer with a higher fidelity preserves the original image at the expense of stronger face correction.", - "imageToImage": "Image to Image loads any image as initial, which is then used to generate a new one along with the prompt. The higher the value, the more the result image will change. Values from 0.0 to 1.0 are possible, the recommended range is .25-.75", - "boundingBox": "The bounding box is the same as the Width and Height settings for Text to Image or Image to Image. Only the area in the box will be processed.", - "seamCorrection": "Controls the handling of visible seams that occur between generated images on the canvas.", - "infillAndScaling": "Manage infill methods (used on masked or erased areas of the canvas) and scaling (useful for small bounding box sizes)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/es.json b/invokeai/frontend/dist/locales/tooltip/es.json deleted file mode 100644 index 543aad6a8c..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/es.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "Este campo tomará todo el texto de entrada, incluidos tanto los términos de contenido como los estilísticos. Si bien se pueden incluir pesos en la solicitud, los comandos/parámetros estándar de línea de comandos no funcionarán.", - "gallery": "Conforme se generan nuevas invocaciones, los archivos del directorio de salida se mostrarán aquí. Las generaciones tienen opciones adicionales para configurar nuevas generaciones.", - "other": "Estas opciones habilitarán modos de procesamiento alternativos para Invoke. El modo sin costuras funciona para generar patrones repetitivos en la salida. La optimización de alta resolución realiza un ciclo de generación de dos pasos y debe usarse en resoluciones más altas cuando desee una imagen/composición más coherente.", - "seed": "Los valores de semilla proporcionan un conjunto inicial de ruido que guían el proceso de eliminación de ruido y se pueden aleatorizar o rellenar con una semilla de una invocación anterior. La función Umbral se puede usar para mitigar resultados indeseables a valores CFG más altos (intente entre 0-10), y Perlin se puede usar para agregar ruido Perlin al proceso de eliminación de ruido. Ambos sirven para agregar variación a sus salidas.", - "variations": "Pruebe una variación con una cantidad entre 0 y 1 para cambiar la imagen de salida para la semilla establecida. Se encuentran variaciones interesantes en la semilla entre 0.1 y 0.3.", - "upscale": "Usando ESRGAN, puede aumentar la resolución de salida sin requerir un ancho/alto más alto en la generación inicial.", - "faceCorrection": "Usando GFPGAN o Codeformer, la corrección de rostros intentará identificar rostros en las salidas y corregir cualquier defecto/anormalidad. Los valores de fuerza más altos aplicarán una presión correctiva más fuerte en las salidas, lo que resultará en rostros más atractivos. Con Codeformer, una mayor fidelidad intentará preservar la imagen original, a expensas de la fuerza de corrección de rostros.", - "imageToImage": "Imagen a Imagen permite cargar una imagen inicial, que InvokeAI usará para guiar el proceso de generación, junto con una solicitud. Un valor más bajo para esta configuración se parecerá más a la imagen original. Se aceptan valores entre 0-1, y se recomienda un rango de .25-.75.", - "boundingBox": "La caja delimitadora es análoga a las configuraciones de Ancho y Alto para Texto a Imagen o Imagen a Imagen. Solo se procesará el área en la caja.", - "seamCorrection": "Controla el manejo de parches visibles que pueden ocurrir cuando se pega una imagen generada de nuevo en el lienzo.", - "infillAndScaling": "Administra los métodos de relleno (utilizados en áreas enmascaradas o borradas del lienzo) y la escala (útil para tamaños de caja delimitadora pequeños)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/fr.json b/invokeai/frontend/dist/locales/tooltip/fr.json deleted file mode 100644 index 38b0f9d61c..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/fr.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "Ceci est le champ prompt. Le prompt inclut des objets de génération et des termes stylistiques. Vous pouvez également ajouter un poids (importance du jeton) dans le prompt, mais les commandes CLI et les paramètres ne fonctionneront pas.", - "gallery": "La galerie affiche les générations à partir du dossier de sortie à mesure qu'elles sont créées. Les paramètres sont stockés dans des fichiers et accessibles via le menu contextuel.", - "other": "Ces options activent des modes de traitement alternatifs pour Invoke. 'Tuilage seamless' créera des motifs répétitifs dans la sortie. 'Haute résolution' est la génération en deux étapes avec img2img: utilisez ce paramètre lorsque vous souhaitez une image plus grande et plus cohérente sans artefacts. Cela prendra plus de temps que d'habitude txt2img.", - "seed": "La valeur de grain affecte le bruit initial à partir duquel l'image est formée. Vous pouvez utiliser les graines déjà existantes provenant d'images précédentes. 'Seuil de bruit' est utilisé pour atténuer les artefacts à des valeurs CFG élevées (essayez la plage de 0 à 10), et Perlin pour ajouter du bruit Perlin pendant la génération: les deux servent à ajouter de la variété à vos sorties.", - "variations": "Essayez une variation avec une valeur comprise entre 0,1 et 1,0 pour changer le résultat pour une graine donnée. Des variations intéressantes de la graine sont entre 0,1 et 0,3.", - "upscale": "Utilisez ESRGAN pour agrandir l'image immédiatement après la génération.", - "faceCorrection": "Correction de visage avec GFPGAN ou Codeformer: l'algorithme détecte les visages dans l'image et corrige tout défaut. La valeur élevée changera plus l'image, ce qui donnera des visages plus attirants. Codeformer avec une fidélité plus élevée préserve l'image originale au prix d'une correction de visage plus forte.", - "imageToImage": "Image to Image charge n'importe quelle image en tant qu'initiale, qui est ensuite utilisée pour générer une nouvelle avec le prompt. Plus la valeur est élevée, plus l'image de résultat changera. Des valeurs de 0,0 à 1,0 sont possibles, la plage recommandée est de 0,25 à 0,75", - "boundingBox": "La boîte englobante est la même que les paramètres Largeur et Hauteur pour Texte à Image ou Image à Image. Seulement la zone dans la boîte sera traitée.", - "seamCorrection": "Contrôle la gestion des coutures visibles qui se produisent entre les images générées sur la toile.", - "infillAndScaling": "Gérer les méthodes de remplissage (utilisées sur les zones masquées ou effacées de la toile) et le redimensionnement (utile pour les petites tailles de boîte englobante)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/it.json b/invokeai/frontend/dist/locales/tooltip/it.json deleted file mode 100644 index cf1993c8cc..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/it.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "Questo è il campo del prompt. Il prompt include oggetti di generazione e termini stilistici. Puoi anche aggiungere il peso (importanza del token) nel prompt, ma i comandi e i parametri dell'interfaccia a linea di comando non funzioneranno.", - "gallery": "Galleria visualizza le generazioni dalla cartella degli output man mano che vengono create. Le impostazioni sono memorizzate all'interno di file e accessibili dal menu contestuale.", - "other": "Queste opzioni abiliteranno modalità di elaborazione alternative per Invoke. 'Piastrella senza cuciture' creerà modelli ripetuti nell'output. 'Ottimizzzazione Alta risoluzione' è la generazione in due passaggi con 'Immagine a Immagine': usa questa impostazione quando vuoi un'immagine più grande e più coerente senza artefatti. Ci vorrà più tempo del solito 'Testo a Immagine'.", - "seed": "Il valore del Seme influenza il rumore iniziale da cui è formata l'immagine. Puoi usare i semi già esistenti dalle immagini precedenti. 'Soglia del rumore' viene utilizzato per mitigare gli artefatti a valori CFG elevati (provare l'intervallo 0-10) e Perlin per aggiungere il rumore Perlin durante la generazione: entrambi servono per aggiungere variazioni ai risultati.", - "variations": "Prova una variazione con un valore compreso tra 0.1 e 1.0 per modificare il risultato per un dato seme. Variazioni interessanti del seme sono comprese tra 0.1 e 0.3.", - "upscale": "Utilizza ESRGAN per ingrandire l'immagine subito dopo la generazione.", - "faceCorrection": "Correzione del volto con GFPGAN o Codeformer: l'algoritmo rileva i volti nell'immagine e corregge eventuali difetti. Un valore alto cambierà maggiormente l'immagine, dando luogo a volti più attraenti. Codeformer con una maggiore fedeltà preserva l'immagine originale a scapito di una correzione facciale più forte.", - "imageToImage": "Da Immagine a Immagine carica qualsiasi immagine come iniziale, che viene quindi utilizzata per generarne una nuova in base al prompt. Più alto è il valore, più cambierà l'immagine risultante. Sono possibili valori da 0.0 a 1.0, l'intervallo consigliato è 0.25-0.75", - "boundingBox": "Il riquadro di selezione è lo stesso delle impostazioni Larghezza e Altezza per da Testo a Immagine o da Immagine a Immagine. Verrà elaborata solo l'area nella casella.", - "seamCorrection": "Controlla la gestione delle giunzioni visibili che si verificano tra le immagini generate sulla tela.", - "infillAndScaling": "Gestisce i metodi di riempimento (utilizzati su aree mascherate o cancellate dell'area di disegno) e il ridimensionamento (utile per i riquadri di selezione di piccole dimensioni)." - } -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/tooltip/ja.json b/invokeai/frontend/dist/locales/tooltip/ja.json deleted file mode 100644 index d16954e380..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/ja.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "feature": { - "prompt": "これはプロンプトフィールドです。プロンプトには生成オブジェクトや文法用語が含まれます。プロンプトにも重み(Tokenの重要度)を付けることができますが、CLIコマンドやパラメータは機能しません。", - "gallery": "ギャラリーは、出力先フォルダから生成物を表示します。設定はファイル内に保存され、コンテキストメニューからアクセスできます。.", - "other": "These options will enable alternative processing modes for Invoke. 'Seamless tiling' will create repeating patterns in the output. 'High resolution' is generation in two steps with img2img: use this setting when you want a larger and more coherent image without artifacts. It will take longer that usual txt2img.", - "seed": "シード値は、画像が形成される際の初期ノイズに影響します。以前の画像から既に存在するシードを使用することができます。ノイズしきい値は高いCFG値でのアーティファクトを軽減するために使用され、Perlinは生成中にPerlinノイズを追加します(0-10の範囲を試してみてください): どちらも出力にバリエーションを追加するのに役立ちます。", - "variations": "0.1から1.0の間の値で試し、付与されたシードに対する結果を変えてみてください。面白いバリュエーションは0.1〜0.3の間です。", - "upscale": "生成直後の画像をアップスケールするには、ESRGANを使用します。", - "faceCorrection": "GFPGANまたはCodeformerによる顔の修復: 画像内の顔を検出し不具合を修正するアルゴリズムです。高い値を設定すると画像がより変化し、より魅力的な顔になります。Codeformerは顔の修復を犠牲にして、元の画像をできる限り保持します。", - "imageToImage": "Image To Imageは任意の画像を初期値として読み込み、プロンプトとともに新しい画像を生成するために使用されます。値が高いほど結果画像はより変化します。0.0から1.0までの値が可能で、推奨範囲は0.25から0.75です。", - "boundingBox": "バウンディングボックスは、Text To ImageまたはImage To Imageの幅/高さの設定と同じです。ボックス内の領域のみが処理されます。", - "seamCorrection": "キャンバス上の生成された画像間に発生する可視可能な境界の処理を制御します。", - "infillAndScaling": "Manage infill methods (used on masked or erased areas of the canvas) and scaling (useful for small bounding box sizes)." - } - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/tooltip/nl.json b/invokeai/frontend/dist/locales/tooltip/nl.json deleted file mode 100644 index 5b374de07b..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/nl.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "Dit is het invoertekstvak. De invoertekst bevat de te genereren voorwerpen en stylistische termen. Je kunt hiernaast in de invoertekst ook het gewicht (het belang van een trefwoord) toekennen. Opdrachten en parameters voor op de opdrachtregelinterface werken hier niet.", - "gallery": "De galerij toont gegenereerde afbeeldingen uit de uitvoermap nadat ze gegenereerd zijn. Instellingen worden opgeslagen binnen de bestanden zelf en zijn toegankelijk via het contextmenu.", - "other": "Deze opties maken alternative werkingsstanden voor Invoke mogelijk. De optie 'Naadloze tegels' maakt herhalende patronen in de uitvoer. 'Hoge resolutie' genereert in twee stappen via Afbeelding naar afbeelding: gebruik dit als je een grotere en coherentere afbeelding wilt zonder artifacten. Dit zal meer tijd in beslag nemen t.o.v. Tekst naar afbeelding.", - "seed": "Seedwaarden hebben invloed op de initiële ruis op basis waarvan de afbeelding wordt gevormd. Je kunt de al bestaande seeds van eerdere afbeeldingen gebruiken. De waarde 'Drempelwaarde ruis' wordt gebruikt om de hoeveelheid artifacten te verkleinen bij hoge CFG-waarden (beperk je tot 0 - 10). De Perlinruiswaarde wordt gebruikt om Perlinruis toe te voegen bij het genereren: beide dienen als variatie op de uitvoer.", - "variations": "Probeer een variatie met een waarden tussen 0,1 en 1,0 om het resultaat voor een bepaalde seed te beïnvloeden. Interessante seedvariaties ontstaan bij waarden tussen 0,1 en 0,3.", - "upscale": "Gebruik ESRGAN om de afbeelding direct na het genereren te vergroten.", - "faceCorrection": "Gezichtsherstel via GFPGAN of Codeformer: het algoritme herkent gezichten die voorkomen in de afbeelding en herstelt onvolkomenheden. Een hogere waarde heeft meer invloed op de afbeelding, wat leidt tot aantrekkelijkere gezichten. Codeformer met een hogere getrouwheid behoudt de oorspronkelijke afbeelding ten koste van een sterkere gezichtsherstel.", - "imageToImage": "Afbeelding naar afbeelding laadt een afbeelding als initiële afbeelding, welke vervolgens gebruikt wordt om een nieuwe afbeelding mee te maken i.c.m. de invoertekst. Hoe hoger de waarde, des te meer invloed dit heeft op de uiteindelijke afbeelding. Waarden tussen 0,1 en 1,0 zijn mogelijk. Aanbevolen waarden zijn 0,25 - 0,75", - "boundingBox": "Het tekenvak is gelijk aan de instellingen Breedte en Hoogte voor de functies Tekst naar afbeelding en Afbeelding naar afbeelding. Alleen het gebied in het tekenvak wordt verwerkt.", - "seamCorrection": "Heeft invloed op hoe wordt omgegaan met zichtbare naden die voorkomen tussen gegenereerde afbeeldingen op het canvas.", - "infillAndScaling": "Onderhoud van infillmethodes (gebruikt op gemaskeerde of gewiste gebieden op het canvas) en opschaling (nuttig bij kleine tekenvakken)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/pl.json b/invokeai/frontend/dist/locales/tooltip/pl.json deleted file mode 100644 index be473bfb84..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/pl.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "To pole musi zawierać cały tekst sugestii, w tym zarówno opis oczekiwanej zawartości, jak i terminy stylistyczne. Chociaż wagi mogą być zawarte w sugestiach, inne parametry znane z linii poleceń nie będą działać.", - "gallery": "W miarę generowania nowych wywołań w tym miejscu będą wyświetlane pliki z katalogu wyjściowego. Obrazy mają dodatkowo opcje konfiguracji nowych wywołań.", - "other": "Opcje umożliwią alternatywne tryby przetwarzania. Płynne scalanie będzie pomocne przy generowaniu powtarzających się wzorów. Optymalizacja wysokiej rozdzielczości wykonuje dwuetapowy cykl generowania i powinna być używana przy wyższych rozdzielczościach, gdy potrzebny jest bardziej spójny obraz/kompozycja.", - "seed": "Inicjator określa początkowy zestaw szumów, który kieruje procesem odszumiania i może być losowy lub pobrany z poprzedniego wywołania. Funkcja \"Poziom szumu\" może być użyta do złagodzenia saturacji przy wyższych wartościach CFG (spróbuj między 0-10), a Perlin może być użyty w celu dodania wariacji do twoich wyników.", - "variations": "Poziom zróżnicowania przyjmuje wartości od 0 do 1 i pozwala zmienić obraz wyjściowy dla ustawionego inicjatora. Interesujące wyniki uzyskuje się zwykle między 0,1 a 0,3.", - "upscale": "Korzystając z ESRGAN, możesz zwiększyć rozdzielczość obrazu wyjściowego bez konieczności zwiększania szerokości/wysokości w ustawieniach początkowych.", - "faceCorrection": "Poprawianie twarzy próbuje identyfikować twarze na obrazie wyjściowym i korygować wszelkie defekty/nieprawidłowości. W GFPGAN im większa siła, tym mocniejszy efekt. W metodzie Codeformer wyższa wartość oznacza bardziej wierne odtworzenie oryginalnej twarzy, nawet kosztem siły korekcji.", - "imageToImage": "Tryb \"Obraz na obraz\" pozwala na załadowanie obrazu wzorca, który obok wprowadzonych sugestii zostanie użyty porzez InvokeAI do wygenerowania nowego obrazu. Niższa wartość tego ustawienia będzie bardziej przypominać oryginalny obraz. Akceptowane są wartości od 0 do 1, a zalecany jest zakres od 0,25 do 0,75.", - "boundingBox": "Zaznaczony obszar odpowiada ustawieniom wysokości i szerokości w trybach Tekst na obraz i Obraz na obraz. Jedynie piksele znajdujące się w obszarze zaznaczenia zostaną uwzględnione podczas wywoływania nowego obrazu.", - "seamCorrection": "Opcje wpływające na poziom widoczności szwów, które mogą wystąpić, gdy wygenerowany obraz jest ponownie wklejany na płótno.", - "infillAndScaling": "Zarządzaj metodami wypełniania (używanymi na zamaskowanych lub wymazanych obszarach płótna) i skalowaniem (przydatne w przypadku zaznaczonego obszaru o b. małych rozmiarach)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/pt_br.json b/invokeai/frontend/dist/locales/tooltip/pt_br.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/pt_br.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/tooltip/ru.json b/invokeai/frontend/dist/locales/tooltip/ru.json deleted file mode 100644 index ad4793dca8..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/ru.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "Это поле для текста запроса, включая объекты генерации и стилистические термины. В запрос можно включить и коэффициенты веса (значимости токена), но консольные команды и параметры не будут работать.", - "gallery": "Здесь отображаются генерации из папки outputs по мере их появления.", - "other": "Эти опции включают альтернативные режимы обработки для Invoke. 'Бесшовный узор' создаст повторяющиеся узоры на выходе. 'Высокое разрешение' это генерация в два этапа с помощью img2img: используйте эту настройку, когда хотите получить цельное изображение большего размера без артефактов.", - "seed": "Значение сида влияет на начальный шум, из которого сформируется изображение. Можно использовать уже имеющийся сид из предыдущих изображений. 'Порог шума' используется для смягчения артефактов при высоких значениях CFG (попробуйте в диапазоне 0-10), а Перлин для добавления шума Перлина в процессе генерации: оба параметра служат для большей вариативности результатов.", - "variations": "Попробуйте вариацию со значением от 0.1 до 1.0, чтобы изменить результат для заданного сида. Интересные вариации сида находятся между 0.1 и 0.3.", - "upscale": "Используйте ESRGAN, чтобы увеличить изображение сразу после генерации.", - "faceCorrection": "Коррекция лиц с помощью GFPGAN или Codeformer: алгоритм определяет лица в готовом изображении и исправляет любые дефекты. Высокие значение силы меняет изображение сильнее, в результате лица будут выглядеть привлекательнее. У Codeformer более высокая точность сохранит исходное изображение в ущерб коррекции лица.", - "imageToImage": "'Изображение в изображение' загружает любое изображение, которое затем используется для генерации вместе с запросом. Чем больше значение, тем сильнее изменится изображение в результате. Возможны значения от 0 до 1, рекомендуется диапазон .25-.75", - "boundingBox": "'Ограничительная рамка' аналогична настройкам Ширина и Высота для 'Избражения из текста' или 'Изображения в изображение'. Будет обработана только область в рамке.", - "seamCorrection": "Управление обработкой видимых швов, возникающих между изображениями на холсте.", - "infillAndScaling": "Управление методами заполнения (используется для масок или стертых областей холста) и масштабирования (полезно для малых размеров ограничивающей рамки)." - } -} diff --git a/invokeai/frontend/dist/locales/tooltip/ua.json b/invokeai/frontend/dist/locales/tooltip/ua.json deleted file mode 100644 index 99d6c30557..0000000000 --- a/invokeai/frontend/dist/locales/tooltip/ua.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "feature": { - "prompt": "Це поле для тексту запиту, включаючи об'єкти генерації та стилістичні терміни. У запит можна включити і коефіцієнти ваги (значущості токена), але консольні команди та параметри не працюватимуть.", - "gallery": "Тут відображаються генерації з папки outputs у міру їх появи.", - "other": "Ці опції включають альтернативні режими обробки для Invoke. 'Безшовний узор' створить на виході узори, що повторюються. 'Висока роздільна здатність' - це генерація у два етапи за допомогою img2img: використовуйте це налаштування, коли хочете отримати цільне зображення більшого розміру без артефактів.", - "seed": "Значення сіду впливає на початковий шум, з якого сформується зображення. Можна використовувати вже наявний сід із попередніх зображень. 'Поріг шуму' використовується для пом'якшення артефактів при високих значеннях CFG (спробуйте в діапазоні 0-10), а 'Перлін' - для додавання шуму Перліна в процесі генерації: обидва параметри служать для більшої варіативності результатів.", - "variations": "Спробуйте варіацію зі значенням від 0.1 до 1.0, щоб змінити результат для заданого сиду. Цікаві варіації сиду знаходяться між 0.1 і 0.3.", - "upscale": "Використовуйте ESRGAN, щоб збільшити зображення відразу після генерації.", - "faceCorrection": "Корекція облич за допомогою GFPGAN або Codeformer: алгоритм визначає обличчя у готовому зображенні та виправляє будь-які дефекти. Високі значення сили змінюють зображення сильніше, в результаті обличчя будуть виглядати привабливіше. У Codeformer більш висока точність збереже вихідне зображення на шкоду корекції обличчя.", - "imageToImage": "'Зображення до зображення' завантажує будь-яке зображення, яке потім використовується для генерації разом із запитом. Чим більше значення, тим сильніше зміниться зображення в результаті. Можливі значення від 0 до 1, рекомендується діапазон 0.25-0.75", - "boundingBox": "'Обмежуюча рамка' аналогічна налаштуванням 'Ширина' і 'Висота' для 'Зображення з тексту' або 'Зображення до зображення'. Буде оброблена тільки область у рамці.", - "seamCorrection": "Керування обробкою видимих швів, що виникають між зображеннями на полотні.", - "infillAndScaling": "Керування методами заповнення (використовується для масок або стертих частин полотна) та масштабування (корисно для малих розмірів обмежуючої рамки)." - } -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/de.json b/invokeai/frontend/dist/locales/unifiedcanvas/de.json deleted file mode 100644 index 38f5efc56f..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/de.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Ebene", - "base": "Basis", - "mask": "Maske", - "maskingOptions": "Maskierungsoptionen", - "enableMask": "Maske aktivieren", - "preserveMaskedArea": "Maskierten Bereich bewahren", - "clearMask": "Maske löschen", - "brush": "Pinsel", - "eraser": "Radierer", - "fillBoundingBox": "Begrenzungsrahmen füllen", - "eraseBoundingBox": "Begrenzungsrahmen löschen", - "colorPicker": "Farbpipette", - "brushOptions": "Pinseloptionen", - "brushSize": "Größe", - "move": "Bewegen", - "resetView": "Ansicht zurücksetzen", - "mergeVisible": "Sichtbare Zusammenführen", - "saveToGallery": "In Galerie speichern", - "copyToClipboard": "In Zwischenablage kopieren", - "downloadAsImage": "Als Bild herunterladen", - "undo": "Rückgängig", - "redo": "Wiederherstellen", - "clearCanvas": "Leinwand löschen", - "canvasSettings": "Leinwand-Einstellungen", - "showIntermediates": "Zwischenprodukte anzeigen", - "showGrid": "Gitternetz anzeigen", - "snapToGrid": "Am Gitternetz einrasten", - "darkenOutsideSelection": "Außerhalb der Auswahl verdunkeln", - "autoSaveToGallery": "Automatisch in Galerie speichern", - "saveBoxRegionOnly": "Nur Auswahlbox speichern", - "limitStrokesToBox": "Striche auf Box beschränken", - "showCanvasDebugInfo": "Leinwand-Debug-Infos anzeigen", - "clearCanvasHistory": "Leinwand-Verlauf löschen", - "clearHistory": "Verlauf löschen", - "clearCanvasHistoryMessage": "Wenn Sie den Verlauf der Leinwand löschen, bleibt die aktuelle Leinwand intakt, aber der Verlauf der Rückgängig- und Wiederherstellung wird unwiderruflich gelöscht.", - "clearCanvasHistoryConfirm": "Sind Sie sicher, dass Sie den Verlauf der Leinwand löschen möchten?", - "emptyTempImageFolder": "Temp-Image Ordner leeren", - "emptyFolder": "Leerer Ordner", - "emptyTempImagesFolderMessage": "Wenn Sie den Ordner für temporäre Bilder leeren, wird auch der Unified Canvas vollständig zurückgesetzt. Dies umfasst den gesamten Verlauf der Rückgängig-/Wiederherstellungsvorgänge, die Bilder im Bereitstellungsbereich und die Leinwand-Basisebene.", - "emptyTempImagesFolderConfirm": "Sind Sie sicher, dass Sie den temporären Ordner leeren wollen?", - "activeLayer": "Aktive Ebene", - "canvasScale": "Leinwand Maßstab", - "boundingBox": "Begrenzungsrahmen", - "scaledBoundingBox": "Skalierter Begrenzungsrahmen", - "boundingBoxPosition": "Begrenzungsrahmen Position", - "canvasDimensions": "Maße der Leinwand", - "canvasPosition": "Leinwandposition", - "cursorPosition": "Position des Cursors", - "previous": "Vorherige", - "next": "Nächste", - "accept": "Akzeptieren", - "showHide": "Einblenden/Ausblenden", - "discardAll": "Alles verwerfen", - "betaClear": "Löschen", - "betaDarkenOutside": "Außen abdunkeln", - "betaLimitToBox": "Begrenzung auf das Feld", - "betaPreserveMasked": "Maskiertes bewahren" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/en-US.json b/invokeai/frontend/dist/locales/unifiedcanvas/en-US.json deleted file mode 100644 index 9c55fce311..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/en-US.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Layer", - "base": "Base", - "mask": "Mask", - "maskingOptions": "Masking Options", - "enableMask": "Enable Mask", - "preserveMaskedArea": "Preserve Masked Area", - "clearMask": "Clear Mask", - "brush": "Brush", - "eraser": "Eraser", - "fillBoundingBox": "Fill Bounding Box", - "eraseBoundingBox": "Erase Bounding Box", - "colorPicker": "Color Picker", - "brushOptions": "Brush Options", - "brushSize": "Size", - "move": "Move", - "resetView": "Reset View", - "mergeVisible": "Merge Visible", - "saveToGallery": "Save To Gallery", - "copyToClipboard": "Copy to Clipboard", - "downloadAsImage": "Download As Image", - "undo": "Undo", - "redo": "Redo", - "clearCanvas": "Clear Canvas", - "canvasSettings": "Canvas Settings", - "showIntermediates": "Show Intermediates", - "showGrid": "Show Grid", - "snapToGrid": "Snap to Grid", - "darkenOutsideSelection": "Darken Outside Selection", - "autoSaveToGallery": "Auto Save to Gallery", - "saveBoxRegionOnly": "Save Box Region Only", - "limitStrokesToBox": "Limit Strokes to Box", - "showCanvasDebugInfo": "Show Canvas Debug Info", - "clearCanvasHistory": "Clear Canvas History", - "clearHistory": "Clear History", - "clearCanvasHistoryMessage": "Clearing the canvas history leaves your current canvas intact, but irreversibly clears the undo and redo history.", - "clearCanvasHistoryConfirm": "Are you sure you want to clear the canvas history?", - "emptyTempImageFolder": "Empty Temp Image Folder", - "emptyFolder": "Empty Folder", - "emptyTempImagesFolderMessage": "Emptying the temp image folder also fully resets the Unified Canvas. This includes all undo/redo history, images in the staging area, and the canvas base layer.", - "emptyTempImagesFolderConfirm": "Are you sure you want to empty the temp folder?", - "activeLayer": "Active Layer", - "canvasScale": "Canvas Scale", - "boundingBox": "Bounding Box", - "scaledBoundingBox": "Scaled Bounding Box", - "boundingBoxPosition": "Bounding Box Position", - "canvasDimensions": "Canvas Dimensions", - "canvasPosition": "Canvas Position", - "cursorPosition": "Cursor Position", - "previous": "Previous", - "next": "Next", - "accept": "Accept", - "showHide": "Show/Hide", - "discardAll": "Discard All", - "betaClear": "Clear", - "betaDarkenOutside": "Darken Outside", - "betaLimitToBox": "Limit To Box", - "betaPreserveMasked": "Preserve Masked" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/en.json b/invokeai/frontend/dist/locales/unifiedcanvas/en.json deleted file mode 100644 index 9c55fce311..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/en.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Layer", - "base": "Base", - "mask": "Mask", - "maskingOptions": "Masking Options", - "enableMask": "Enable Mask", - "preserveMaskedArea": "Preserve Masked Area", - "clearMask": "Clear Mask", - "brush": "Brush", - "eraser": "Eraser", - "fillBoundingBox": "Fill Bounding Box", - "eraseBoundingBox": "Erase Bounding Box", - "colorPicker": "Color Picker", - "brushOptions": "Brush Options", - "brushSize": "Size", - "move": "Move", - "resetView": "Reset View", - "mergeVisible": "Merge Visible", - "saveToGallery": "Save To Gallery", - "copyToClipboard": "Copy to Clipboard", - "downloadAsImage": "Download As Image", - "undo": "Undo", - "redo": "Redo", - "clearCanvas": "Clear Canvas", - "canvasSettings": "Canvas Settings", - "showIntermediates": "Show Intermediates", - "showGrid": "Show Grid", - "snapToGrid": "Snap to Grid", - "darkenOutsideSelection": "Darken Outside Selection", - "autoSaveToGallery": "Auto Save to Gallery", - "saveBoxRegionOnly": "Save Box Region Only", - "limitStrokesToBox": "Limit Strokes to Box", - "showCanvasDebugInfo": "Show Canvas Debug Info", - "clearCanvasHistory": "Clear Canvas History", - "clearHistory": "Clear History", - "clearCanvasHistoryMessage": "Clearing the canvas history leaves your current canvas intact, but irreversibly clears the undo and redo history.", - "clearCanvasHistoryConfirm": "Are you sure you want to clear the canvas history?", - "emptyTempImageFolder": "Empty Temp Image Folder", - "emptyFolder": "Empty Folder", - "emptyTempImagesFolderMessage": "Emptying the temp image folder also fully resets the Unified Canvas. This includes all undo/redo history, images in the staging area, and the canvas base layer.", - "emptyTempImagesFolderConfirm": "Are you sure you want to empty the temp folder?", - "activeLayer": "Active Layer", - "canvasScale": "Canvas Scale", - "boundingBox": "Bounding Box", - "scaledBoundingBox": "Scaled Bounding Box", - "boundingBoxPosition": "Bounding Box Position", - "canvasDimensions": "Canvas Dimensions", - "canvasPosition": "Canvas Position", - "cursorPosition": "Cursor Position", - "previous": "Previous", - "next": "Next", - "accept": "Accept", - "showHide": "Show/Hide", - "discardAll": "Discard All", - "betaClear": "Clear", - "betaDarkenOutside": "Darken Outside", - "betaLimitToBox": "Limit To Box", - "betaPreserveMasked": "Preserve Masked" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/es.json b/invokeai/frontend/dist/locales/unifiedcanvas/es.json deleted file mode 100644 index 0cef74984e..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/es.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Capa", - "base": "Base", - "mask": "Máscara", - "maskingOptions": "Opciones de máscara", - "enableMask": "Habilitar Máscara", - "preserveMaskedArea": "Preservar área enmascarada", - "clearMask": "Limpiar máscara", - "brush": "Pincel", - "eraser": "Borrador", - "fillBoundingBox": "Rellenar Caja Contenedora", - "eraseBoundingBox": "Eliminar Caja Contenedora", - "colorPicker": "Selector de color", - "brushOptions": "Opciones de pincel", - "brushSize": "Tamaño", - "move": "Mover", - "resetView": "Restablecer vista", - "mergeVisible": "Consolidar vista", - "saveToGallery": "Guardar en galería", - "copyToClipboard": "Copiar al portapapeles", - "downloadAsImage": "Descargar como imagen", - "undo": "Deshacer", - "redo": "Rehacer", - "clearCanvas": "Limpiar lienzo", - "canvasSettings": "Ajustes de lienzo", - "showIntermediates": "Mostrar intermedios", - "showGrid": "Mostrar cuadrícula", - "snapToGrid": "Ajustar a cuadrícula", - "darkenOutsideSelection": "Oscurecer fuera de la selección", - "autoSaveToGallery": "Guardar automáticamente en galería", - "saveBoxRegionOnly": "Guardar solo región dentro de la caja", - "limitStrokesToBox": "Limitar trazos a la caja", - "showCanvasDebugInfo": "Mostrar información de depuración de lienzo", - "clearCanvasHistory": "Limpiar historial de lienzo", - "clearHistory": "Limpiar historial", - "clearCanvasHistoryMessage": "Limpiar el historial de lienzo también restablece completamente el lienzo unificado. Esto incluye todo el historial de deshacer/rehacer, las imágenes en el área de preparación y la capa base del lienzo.", - "clearCanvasHistoryConfirm": "¿Está seguro de que desea limpiar el historial del lienzo?", - "emptyTempImageFolder": "Vaciar directorio de imágenes temporales", - "emptyFolder": "Vaciar directorio", - "emptyTempImagesFolderMessage": "Vaciar el directorio de imágenes temporales también restablece completamente el lienzo unificado. Esto incluye todo el historial de deshacer/rehacer, las imágenes en el área de preparación y la capa base del lienzo.", - "emptyTempImagesFolderConfirm": "¿Está seguro de que desea vaciar el directorio temporal?", - "activeLayer": "Capa activa", - "canvasScale": "Escala de lienzo", - "boundingBox": "Caja contenedora", - "scaledBoundingBox": "Caja contenedora escalada", - "boundingBoxPosition": "Posición de caja contenedora", - "canvasDimensions": "Dimensiones de lienzo", - "canvasPosition": "Posición de lienzo", - "cursorPosition": "Posición del cursor", - "previous": "Anterior", - "next": "Siguiente", - "accept": "Aceptar", - "showHide": "Mostrar/Ocultar", - "discardAll": "Descartar todo", - "betaClear": "Limpiar", - "betaDarkenOutside": "Oscurecer fuera", - "betaLimitToBox": "Limitar a caja", - "betaPreserveMasked": "Preservar área enmascarada" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/fr.json b/invokeai/frontend/dist/locales/unifiedcanvas/fr.json deleted file mode 100644 index b0ee7acfc2..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/fr.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Couche", - "base": "Base", - "mask": "Masque", - "maskingOptions": "Options de masquage", - "enableMask": "Activer le masque", - "preserveMaskedArea": "Préserver la zone masquée", - "clearMask": "Effacer le masque", - "brush": "Pinceau", - "eraser": "Gomme", - "fillBoundingBox": "Remplir la boîte englobante", - "eraseBoundingBox": "Effacer la boîte englobante", - "colorPicker": "Sélecteur de couleur", - "brushOptions": "Options de pinceau", - "brushSize": "Taille", - "move": "Déplacer", - "resetView": "Réinitialiser la vue", - "mergeVisible": "Fusionner les visibles", - "saveToGallery": "Enregistrer dans la galerie", - "copyToClipboard": "Copier dans le presse-papiers", - "downloadAsImage": "Télécharger en tant qu'image", - "undo": "Annuler", - "redo": "Refaire", - "clearCanvas": "Effacer le canvas", - "canvasSettings": "Paramètres du canvas", - "showIntermediates": "Afficher les intermédiaires", - "showGrid": "Afficher la grille", - "snapToGrid": "Aligner sur la grille", - "darkenOutsideSelection": "Assombrir à l'extérieur de la sélection", - "autoSaveToGallery": "Enregistrement automatique dans la galerie", - "saveBoxRegionOnly": "Enregistrer uniquement la région de la boîte", - "limitStrokesToBox": "Limiter les traits à la boîte", - "showCanvasDebugInfo": "Afficher les informations de débogage du canvas", - "clearCanvasHistory": "Effacer l'historique du canvas", - "clearHistory": "Effacer l'historique", - "clearCanvasHistoryMessage": "Effacer l'historique du canvas laisse votre canvas actuel intact, mais efface de manière irréversible l'historique annuler et refaire.", - "clearCanvasHistoryConfirm": "Êtes-vous sûr de vouloir effacer l'historique du canvas?", - "emptyTempImageFolder": "Vider le dossier d'images temporaires", - "emptyFolder": "Vider le dossier", - "emptyTempImagesFolderMessage": "Vider le dossier d'images temporaires réinitialise également complètement le canvas unifié. Cela inclut tout l'historique annuler/refaire, les images dans la zone de mise en attente et la couche de base du canvas.", - "emptyTempImagesFolderConfirm": "Êtes-vous sûr de vouloir vider le dossier temporaire?", - "activeLayer": "Calque actif", - "canvasScale": "Échelle du canevas", - "boundingBox": "Boîte englobante", - "scaledBoundingBox": "Boîte englobante mise à l'échelle", - "boundingBoxPosition": "Position de la boîte englobante", - "canvasDimensions": "Dimensions du canevas", - "canvasPosition": "Position du canevas", - "cursorPosition": "Position du curseur", - "previous": "Précédent", - "next": "Suivant", - "accept": "Accepter", - "showHide": "Afficher/Masquer", - "discardAll": "Tout abandonner", - "betaClear": "Effacer", - "betaDarkenOutside": "Assombrir à l'extérieur", - "betaLimitToBox": "Limiter à la boîte", - "betaPreserveMasked": "Conserver masqué" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/it.json b/invokeai/frontend/dist/locales/unifiedcanvas/it.json deleted file mode 100644 index 2f6d53febc..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/it.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Livello", - "base": "Base", - "mask": "Maschera", - "maskingOptions": "Opzioni di mascheramento", - "enableMask": "Abilita maschera", - "preserveMaskedArea": "Mantieni area mascherata", - "clearMask": "Elimina la maschera", - "brush": "Pennello", - "eraser": "Cancellino", - "fillBoundingBox": "Riempi rettangolo di selezione", - "eraseBoundingBox": "Cancella rettangolo di selezione", - "colorPicker": "Selettore Colore", - "brushOptions": "Opzioni pennello", - "brushSize": "Dimensioni", - "move": "Sposta", - "resetView": "Reimposta vista", - "mergeVisible": "Fondi il visibile", - "saveToGallery": "Salva nella galleria", - "copyToClipboard": "Copia negli appunti", - "downloadAsImage": "Scarica come immagine", - "undo": "Annulla", - "redo": "Ripeti", - "clearCanvas": "Cancella la Tela", - "canvasSettings": "Impostazioni Tela", - "showIntermediates": "Mostra intermedi", - "showGrid": "Mostra griglia", - "snapToGrid": "Aggancia alla griglia", - "darkenOutsideSelection": "Scurisci l'esterno della selezione", - "autoSaveToGallery": "Salvataggio automatico nella Galleria", - "saveBoxRegionOnly": "Salva solo l'area di selezione", - "limitStrokesToBox": "Limita i tratti all'area di selezione", - "showCanvasDebugInfo": "Mostra informazioni di debug della Tela", - "clearCanvasHistory": "Cancella cronologia Tela", - "clearHistory": "Cancella la cronologia", - "clearCanvasHistoryMessage": "La cancellazione della cronologia della tela lascia intatta la tela corrente, ma cancella in modo irreversibile la cronologia degli annullamenti e dei ripristini.", - "clearCanvasHistoryConfirm": "Sei sicuro di voler cancellare la cronologia della Tela?", - "emptyTempImageFolder": "Svuota la cartella delle immagini temporanee", - "emptyFolder": "Svuota la cartella", - "emptyTempImagesFolderMessage": "Lo svuotamento della cartella delle immagini temporanee ripristina completamente anche la Tela Unificata. Ciò include tutta la cronologia di annullamento/ripristino, le immagini nell'area di staging e il livello di base della tela.", - "emptyTempImagesFolderConfirm": "Sei sicuro di voler svuotare la cartella temporanea?", - "activeLayer": "Livello attivo", - "canvasScale": "Scala della Tela", - "boundingBox": "Rettangolo di selezione", - "scaledBoundingBox": "Rettangolo di selezione scalato", - "boundingBoxPosition": "Posizione del Rettangolo di selezione", - "canvasDimensions": "Dimensioni della Tela", - "canvasPosition": "Posizione Tela", - "cursorPosition": "Posizione del cursore", - "previous": "Precedente", - "next": "Successivo", - "accept": "Accetta", - "showHide": "Mostra/nascondi", - "discardAll": "Scarta tutto", - "betaClear": "Svuota", - "betaDarkenOutside": "Oscura all'esterno", - "betaLimitToBox": "Limita al rettangolo", - "betaPreserveMasked": "Conserva quanto mascheato" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/ja.json b/invokeai/frontend/dist/locales/unifiedcanvas/ja.json deleted file mode 100644 index 2a221519ff..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/ja.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "layer": "Layer", - "base": "Base", - "mask": "マスク", - "maskingOptions": "マスクのオプション", - "enableMask": "マスクを有効化", - "preserveMaskedArea": "マスク領域の保存", - "clearMask": "マスクを解除", - "brush": "ブラシ", - "eraser": "消しゴム", - "fillBoundingBox": "バウンディングボックスの塗りつぶし", - "eraseBoundingBox": "バウンディングボックスの消去", - "colorPicker": "カラーピッカー", - "brushOptions": "ブラシオプション", - "brushSize": "サイズ", - "move": "Move", - "resetView": "Reset View", - "mergeVisible": "Merge Visible", - "saveToGallery": "ギャラリーに保存", - "copyToClipboard": "クリップボードにコピー", - "downloadAsImage": "画像としてダウンロード", - "undo": "取り消し", - "redo": "やり直し", - "clearCanvas": "キャンバスを片付ける", - "canvasSettings": "キャンバスの設定", - "showIntermediates": "Show Intermediates", - "showGrid": "グリッドを表示", - "snapToGrid": "Snap to Grid", - "darkenOutsideSelection": "外周を暗くする", - "autoSaveToGallery": "ギャラリーに自動保存", - "saveBoxRegionOnly": "ボックス領域のみ保存", - "limitStrokesToBox": "Limit Strokes to Box", - "showCanvasDebugInfo": "キャンバスのデバッグ情報を表示", - "clearCanvasHistory": "キャンバスの履歴を削除", - "clearHistory": "履歴を削除", - "clearCanvasHistoryMessage": "履歴を消去すると現在のキャンバスは残りますが、取り消しややり直しの履歴は不可逆的に消去されます。", - "clearCanvasHistoryConfirm": "履歴を削除しますか?", - "emptyTempImageFolder": "Empty Temp Image Folde", - "emptyFolder": "空のフォルダ", - "emptyTempImagesFolderMessage": "一時フォルダを空にすると、Unified Canvasも完全にリセットされます。これには、すべての取り消し/やり直しの履歴、ステージング領域の画像、およびキャンバスのベースレイヤーが含まれます。", - "emptyTempImagesFolderConfirm": "一時フォルダを削除しますか?", - "activeLayer": "Active Layer", - "canvasScale": "Canvas Scale", - "boundingBox": "バウンディングボックス", - "scaledBoundingBox": "Scaled Bounding Box", - "boundingBoxPosition": "バウンディングボックスの位置", - "canvasDimensions": "キャンバスの大きさ", - "canvasPosition": "キャンバスの位置", - "cursorPosition": "カーソルの位置", - "previous": "前", - "next": "次", - "accept": "同意", - "showHide": "表示/非表示", - "discardAll": "すべて破棄", - "betaClear": "Clear", - "betaDarkenOutside": "Darken Outside", - "betaLimitToBox": "Limit To Box", - "betaPreserveMasked": "Preserve Masked" - } - \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/nl.json b/invokeai/frontend/dist/locales/unifiedcanvas/nl.json deleted file mode 100644 index 14f7028634..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/nl.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Laag", - "base": "Basis", - "mask": "Masker", - "maskingOptions": "Maskeropties", - "enableMask": "Schakel masker in", - "preserveMaskedArea": "Behoud gemaskeerd gebied", - "clearMask": "Wis masker", - "brush": "Penseel", - "eraser": "Gum", - "fillBoundingBox": "Vul tekenvak", - "eraseBoundingBox": "Wis tekenvak", - "colorPicker": "Kleurenkiezer", - "brushOptions": "Penseelopties", - "brushSize": "Grootte", - "move": "Verplaats", - "resetView": "Herstel weergave", - "mergeVisible": "Voeg lagen samen", - "saveToGallery": "Bewaar in galerij", - "copyToClipboard": "Kopieer naar klembord", - "downloadAsImage": "Download als afbeelding", - "undo": "Maak ongedaan", - "redo": "Herhaal", - "clearCanvas": "Wis canvas", - "canvasSettings": "Canvasinstellingen", - "showIntermediates": "Toon tussenafbeeldingen", - "showGrid": "Toon raster", - "snapToGrid": "Lijn uit op raster", - "darkenOutsideSelection": "Verduister buiten selectie", - "autoSaveToGallery": "Bewaar automatisch naar galerij", - "saveBoxRegionOnly": "Bewaar alleen tekengebied", - "limitStrokesToBox": "Beperk streken tot tekenvak", - "showCanvasDebugInfo": "Toon foutopsporingsgegevens canvas", - "clearCanvasHistory": "Wis canvasgeschiedenis", - "clearHistory": "Wis geschiedenis", - "clearCanvasHistoryMessage": "Het wissen van de canvasgeschiedenis laat het huidige canvas ongemoeid, maar wist onherstelbaar de geschiedenis voor het ongedaan maken en herhalen.", - "clearCanvasHistoryConfirm": "Weet je zeker dat je de canvasgeschiedenis wilt wissen?", - "emptyTempImageFolder": "Leeg tijdelijke afbeeldingenmap", - "emptyFolder": "Leeg map", - "emptyTempImagesFolderMessage": "Het legen van de tijdelijke afbeeldingenmap herstelt ook volledig het Centraal canvas. Hieronder valt de geschiedenis voor het ongedaan maken en herhalen, de afbeeldingen in het sessiegebied en de basislaag van het canvas.", - "emptyTempImagesFolderConfirm": "Weet je zeker dat je de tijdelijke afbeeldingenmap wilt legen?", - "activeLayer": "Actieve laag", - "canvasScale": "Schaal canvas", - "boundingBox": "Tekenvak", - "scaledBoundingBox": "Geschaalde tekenvak", - "boundingBoxPosition": "Positie tekenvak", - "canvasDimensions": "Afmetingen canvas", - "canvasPosition": "Positie canvas", - "cursorPosition": "Positie cursor", - "previous": "Vorige", - "next": "Volgende", - "accept": "Accepteer", - "showHide": "Toon/verberg", - "discardAll": "Gooi alles weg", - "betaClear": "Wis", - "betaDarkenOutside": "Verduister buiten tekenvak", - "betaLimitToBox": "Beperk tot tekenvak", - "betaPreserveMasked": "Behoud masker" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/pl.json b/invokeai/frontend/dist/locales/unifiedcanvas/pl.json deleted file mode 100644 index 7ee8b12bf6..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/pl.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Warstwa", - "base": "Główna", - "mask": "Maska", - "maskingOptions": "Opcje maski", - "enableMask": "Włącz maskę", - "preserveMaskedArea": "Zachowaj obszar", - "clearMask": "Wyczyść maskę", - "brush": "Pędzel", - "eraser": "Gumka", - "fillBoundingBox": "Wypełnij zaznaczenie", - "eraseBoundingBox": "Wyczyść zaznaczenie", - "colorPicker": "Pipeta", - "brushOptions": "Ustawienia pędzla", - "brushSize": "Rozmiar", - "move": "Przesunięcie", - "resetView": "Resetuj widok", - "mergeVisible": "Scal warstwy", - "saveToGallery": "Zapisz w galerii", - "copyToClipboard": "Skopiuj do schowka", - "downloadAsImage": "Zapisz do pliku", - "undo": "Cofnij", - "redo": "Ponów", - "clearCanvas": "Wyczyść obraz", - "canvasSettings": "Ustawienia obrazu", - "showIntermediates": "Pokazuj stany pośrednie", - "showGrid": "Pokazuj siatkę", - "snapToGrid": "Przyciągaj do siatki", - "darkenOutsideSelection": "Przyciemnij poza zaznaczeniem", - "autoSaveToGallery": "Zapisuj automatycznie do galerii", - "saveBoxRegionOnly": "Zapisuj tylko zaznaczony obszar", - "limitStrokesToBox": "Rysuj tylko wewnątrz zaznaczenia", - "showCanvasDebugInfo": "Informacje dla developera", - "clearCanvasHistory": "Wyczyść historię operacji", - "clearHistory": "Wyczyść historię", - "clearCanvasHistoryMessage": "Wyczyszczenie historii nie będzie miało wpływu na sam obraz, ale niemożliwe będzie cofnięcie i otworzenie wszystkich wykonanych do tej pory operacji.", - "clearCanvasHistoryConfirm": "Czy na pewno chcesz wyczyścić historię operacji?", - "emptyTempImageFolder": "Wyczyść folder tymczasowy", - "emptyFolder": "Wyczyść", - "emptyTempImagesFolderMessage": "Wyczyszczenie folderu tymczasowego spowoduje usunięcie obrazu i maski w trybie uniwersalnym, historii operacji, oraz wszystkich wygenerowanych ale niezapisanych obrazów.", - "emptyTempImagesFolderConfirm": "Czy na pewno chcesz wyczyścić folder tymczasowy?", - "activeLayer": "Warstwa aktywna", - "canvasScale": "Poziom powiększenia", - "boundingBox": "Rozmiar zaznaczenia", - "scaledBoundingBox": "Rozmiar po skalowaniu", - "boundingBoxPosition": "Pozycja zaznaczenia", - "canvasDimensions": "Rozmiar płótna", - "canvasPosition": "Pozycja płótna", - "cursorPosition": "Pozycja kursora", - "previous": "Poprzedni", - "next": "Następny", - "accept": "Zaakceptuj", - "showHide": "Pokaż/Ukryj", - "discardAll": "Odrzuć wszystkie", - "betaClear": "Wyczyść", - "betaDarkenOutside": "Przyciemnienie", - "betaLimitToBox": "Ogranicz do zaznaczenia", - "betaPreserveMasked": "Zachowaj obszar" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/pt.json b/invokeai/frontend/dist/locales/unifiedcanvas/pt.json deleted file mode 100644 index 0967ef424b..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/pt.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json b/invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json deleted file mode 100644 index 0144caadb2..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Camada", - "base": "Base", - "mask": "Máscara", - "maskingOptions": "Opções de Mascaramento", - "enableMask": "Ativar Máscara", - "preserveMaskedArea": "Preservar Área da Máscara", - "clearMask": "Limpar Máscara", - "brush": "Pincel", - "eraser": "Apagador", - "fillBoundingBox": "Preencher Caixa Delimitadora", - "eraseBoundingBox": "Apagar Caixa Delimitadora", - "colorPicker": "Seletor de Cor", - "brushOptions": "Opções de Pincel", - "brushSize": "Tamanho", - "move": "Mover", - "resetView": "Resetar Visualização", - "mergeVisible": "Fundir Visível", - "saveToGallery": "Save To Gallery", - "copyToClipboard": "Copiar para a Área de Transferência", - "downloadAsImage": "Baixar Como Imagem", - "undo": "Desfazer", - "redo": "Refazer", - "clearCanvas": "Limpar Tela", - "canvasSettings": "Configurações de Tela", - "showIntermediates": "Show Intermediates", - "showGrid": "Mostrar Grade", - "snapToGrid": "Encaixar na Grade", - "darkenOutsideSelection": "Escurecer Seleção Externa", - "autoSaveToGallery": "Salvar Automaticamente na Galeria", - "saveBoxRegionOnly": "Salvar Apenas a Região da Caixa", - "limitStrokesToBox": "Limitar Traços para a Caixa", - "showCanvasDebugInfo": "Mostrar Informações de Depuração daTela", - "clearCanvasHistory": "Limpar o Histórico da Tela", - "clearHistory": "Limpar Históprico", - "clearCanvasHistoryMessage": "Limpar o histórico de tela deixa sua tela atual intacta, mas limpa de forma irreversível o histórico de desfazer e refazer.", - "clearCanvasHistoryConfirm": "Tem certeza que quer limpar o histórico de tela?", - "emptyTempImageFolder": "Esvaziar a Pasta de Arquivos de Imagem Temporários", - "emptyFolder": "Esvaziar Pasta", - "emptyTempImagesFolderMessage": "Esvaziar a pasta de arquivos de imagem temporários também reseta completamente a Tela Unificada. Isso inclui todo o histórico de desfazer/refazer, imagens na área de preparação e a camada base da tela.", - "emptyTempImagesFolderConfirm": "Tem certeza que quer esvaziar a pasta de arquivos de imagem temporários?", - "activeLayer": "Camada Ativa", - "canvasScale": "Escala da Tela", - "boundingBox": "Caixa Delimitadora", - "scaledBoundingBox": "Caixa Delimitadora Escalada", - "boundingBoxPosition": "Posição da Caixa Delimitadora", - "canvasDimensions": "Dimensões da Tela", - "canvasPosition": "Posição da Tela", - "cursorPosition": "Posição do cursor", - "previous": "Anterior", - "next": "Próximo", - "accept": "Aceitar", - "showHide": "Mostrar/Esconder", - "discardAll": "Descartar Todos", - "betaClear": "Limpar", - "betaDarkenOutside": "Escurecer Externamente", - "betaLimitToBox": "Limitar Para a Caixa", - "betaPreserveMasked": "Preservar Máscarado" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/ru.json b/invokeai/frontend/dist/locales/unifiedcanvas/ru.json deleted file mode 100644 index 3e3090be80..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/ru.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Слой", - "base": "Базовый", - "mask": "Маска", - "maskingOptions": "Параметры маски", - "enableMask": "Включить маску", - "preserveMaskedArea": "Сохранять маскируемую область", - "clearMask": "Очистить маску", - "brush": "Кисть", - "eraser": "Ластик", - "fillBoundingBox": "Заполнить ограничивающую рамку", - "eraseBoundingBox": "Стереть ограничивающую рамку", - "colorPicker": "Пипетка", - "brushOptions": "Параметры кисти", - "brushSize": "Размер", - "move": "Переместить", - "resetView": "Сбросить вид", - "mergeVisible": "Объединить видимые", - "saveToGallery": "Сохранить в галерею", - "copyToClipboard": "Копировать в буфер обмена", - "downloadAsImage": "Скачать как изображение", - "undo": "Отменить", - "redo": "Повторить", - "clearCanvas": "Очистить холст", - "canvasSettings": "Настройки холста", - "showIntermediates": "Показывать процесс", - "showGrid": "Показать сетку", - "snapToGrid": "Привязать к сетке", - "darkenOutsideSelection": "Затемнить холст снаружи", - "autoSaveToGallery": "Автосохранение в галерее", - "saveBoxRegionOnly": "Сохранять только выделение", - "limitStrokesToBox": "Ограничить штрихи выделением", - "showCanvasDebugInfo": "Показать отладку холста", - "clearCanvasHistory": "Очистить историю холста", - "clearHistory": "Очистить историю", - "clearCanvasHistoryMessage": "Очистка истории холста оставляет текущий холст нетронутым, но удаляет историю отмены и повтора", - "clearCanvasHistoryConfirm": "Вы уверены, что хотите очистить историю холста?", - "emptyTempImageFolder": "Очистить временную папку", - "emptyFolder": "Очистить папку", - "emptyTempImagesFolderMessage": "Очищение папки временных изображений также полностью сбрасывает холст, включая всю историю отмены/повтора, размещаемые изображения и базовый слой холста.", - "emptyTempImagesFolderConfirm": "Вы уверены, что хотите очистить временную папку?", - "activeLayer": "Активный слой", - "canvasScale": "Масштаб холста", - "boundingBox": "Ограничивающая рамка", - "scaledBoundingBox": "Масштабирование рамки", - "boundingBoxPosition": "Позиция ограничивающей рамки", - "canvasDimensions": "Размеры холста", - "canvasPosition": "Положение холста", - "cursorPosition": "Положение курсора", - "previous": "Предыдущее", - "next": "Следующее", - "принять": "Принять", - "showHide": "Показать/Скрыть", - "discardAll": "Отменить все", - "betaClear": "Очистить", - "betaDarkenOutside": "Затемнить снаружи", - "betaLimitToBox": "Ограничить выделением", - "betaPreserveMasked": "Сохранять маскируемую область" -} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/ua.json b/invokeai/frontend/dist/locales/unifiedcanvas/ua.json deleted file mode 100644 index 612a6b1ed2..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/ua.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "Шар", - "base": "Базовий", - "mask": "Маска", - "maskingOptions": "Параметри маски", - "enableMask": "Увiмкнути маску", - "preserveMaskedArea": "Зберiгати замасковану область", - "clearMask": "Очистити маску", - "brush": "Пензель", - "eraser": "Гумка", - "fillBoundingBox": "Заповнити обмежуючу рамку", - "eraseBoundingBox": "Стерти обмежуючу рамку", - "colorPicker": "Пiпетка", - "brushOptions": "Параметри пензля", - "brushSize": "Розмiр", - "move": "Перемiстити", - "resetView": "Скинути вигляд", - "mergeVisible": "Об'єднати видимi", - "saveToGallery": "Зберегти до галереї", - "copyToClipboard": "Копiювати до буферу обмiну", - "downloadAsImage": "Завантажити як зображення", - "undo": "Вiдмiнити", - "redo": "Повторити", - "clearCanvas": "Очистити полотно", - "canvasSettings": "Налаштування полотна", - "showIntermediates": "Показувати процес", - "showGrid": "Показувати сiтку", - "snapToGrid": "Прив'язати до сітки", - "darkenOutsideSelection": "Затемнити полотно зовні", - "autoSaveToGallery": "Автозбереження до галереї", - "saveBoxRegionOnly": "Зберiгати тiльки видiлення", - "limitStrokesToBox": "Обмежити штрихи виділенням", - "showCanvasDebugInfo": "Показати налаштування полотна", - "clearCanvasHistory": "Очистити iсторiю полотна", - "clearHistory": "Очистити iсторiю", - "clearCanvasHistoryMessage": "Очищення історії полотна залишає поточне полотно незайманим, але видаляє історію скасування та повтору", - "clearCanvasHistoryConfirm": "Ви впевнені, що хочете очистити історію полотна?", - "emptyTempImageFolder": "Очистити тимчасову папку", - "emptyFolder": "Очистити папку", - "emptyTempImagesFolderMessage": "Очищення папки тимчасових зображень також повністю скидає полотно, включаючи всю історію скасування/повтору, зображення та базовий шар полотна, що розміщуються.", - "emptyTempImagesFolderConfirm": "Ви впевнені, що хочете очистити тимчасову папку?", - "activeLayer": "Активний шар", - "canvasScale": "Масштаб полотна", - "boundingBox": "Обмежуюча рамка", - "scaledBoundingBox": "Масштабування рамки", - "boundingBoxPosition": "Позиція обмежуючої рамки", - "canvasDimensions": "Разміри полотна", - "canvasPosition": "Розташування полотна", - "cursorPosition": "Розташування курсора", - "previous": "Попереднє", - "next": "Наступне", - "принять": "Приняти", - "showHide": "Показати/Сховати", - "discardAll": "Відмінити все", - "betaClear": "Очистити", - "betaDarkenOutside": "Затемнити зовні", - "betaLimitToBox": "Обмежити виділенням", - "betaPreserveMasked": "Зберiгати замасковану область" -} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json b/invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json deleted file mode 100644 index 544077627f..0000000000 --- a/invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "layer": "图层", - "base": "基础层", - "mask": "遮罩层层", - "maskingOptions": "遮罩层选项", - "enableMask": "启用遮罩层", - "preserveMaskedArea": "保留遮罩层区域", - "clearMask": "清除遮罩层", - "brush": "刷子", - "eraser": "橡皮擦", - "fillBoundingBox": "填充选择区域", - "eraseBoundingBox": "取消选择区域", - "colorPicker": "颜色提取", - "brushOptions": "刷子选项", - "brushSize": "大小", - "move": "移动", - "resetView": "重置视图", - "mergeVisible": "合并可见层", - "saveToGallery": "保存至图库", - "copyToClipboard": "复制到剪贴板", - "downloadAsImage": "下载图像", - "undo": "撤销", - "redo": "重做", - "clearCanvas": "清除画布", - "canvasSettings": "画布设置", - "showIntermediates": "显示中间产物", - "showGrid": "显示网格", - "snapToGrid": "切换网格对齐", - "darkenOutsideSelection": "暗化外部区域", - "autoSaveToGallery": "自动保存至图库", - "saveBoxRegionOnly": "只保存框内区域", - "limitStrokesToBox": "限制画笔在框内", - "showCanvasDebugInfo": "显示画布调试信息", - "clearCanvasHistory": "清除画布历史", - "clearHistory": "清除历史", - "clearCanvasHistoryMessage": "清除画布历史不会影响当前画布,但会不可撤销地清除所有撤销/重做历史!", - "clearCanvasHistoryConfirm": "确认清除所有画布历史?", - "emptyTempImageFolder": "清除临时文件夹", - "emptyFolder": "清除文件夹", - "emptyTempImagesFolderMessage": "清空临时图像文件夹会完全重置统一画布。这包括所有的撤销/重做历史、暂存区的图像和画布基础层。", - "emptyTempImagesFolderConfirm": "确认清除临时文件夹?", - "activeLayer": "活跃图层", - "canvasScale": "画布缩放", - "boundingBox": "选择区域", - "scaledBoundingBox": "缩放选择区域", - "boundingBoxPosition": "选择区域位置", - "canvasDimensions": "画布长宽", - "canvasPosition": "画布位置", - "cursorPosition": "光标位置", - "previous": "上一张", - "next": "下一张", - "accept": "接受", - "showHide": "显示 / 隐藏", - "discardAll": "放弃所有", - "betaClear": "清除", - "betaDarkenOutside": "暗化外部区域", - "betaLimitToBox": "限制在框内", - "betaPreserveMasked": "保留遮罩层" -} From 02247ffc7959d31d2474641cb0d76ce7013a12ac Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:12:21 +1300 Subject: [PATCH 20/20] resolved build (denoise_str) --- .../dist/assets/Inter-Bold-790c108b.ttf | Bin 0 -> 316100 bytes .../frontend/dist/assets/Inter-b9a8e5e2.ttf | Bin 0 -> 803384 bytes .../frontend/dist/assets/favicon-0d253ced.ico | Bin 0 -> 118734 bytes .../frontend/dist/assets/index-ad762ffd.js | 638 ++++++++++++++++++ .../frontend/dist/assets/index-fecb6dd4.css | 1 + .../frontend/dist/assets/logo-13003d72.png | Bin 0 -> 44115 bytes invokeai/frontend/dist/index.html | 16 + invokeai/frontend/dist/locales/common/de.json | 55 ++ .../frontend/dist/locales/common/en-US.json | 62 ++ invokeai/frontend/dist/locales/common/en.json | 62 ++ invokeai/frontend/dist/locales/common/es.json | 58 ++ invokeai/frontend/dist/locales/common/fr.json | 62 ++ invokeai/frontend/dist/locales/common/it.json | 61 ++ invokeai/frontend/dist/locales/common/ja.json | 60 ++ invokeai/frontend/dist/locales/common/nl.json | 59 ++ invokeai/frontend/dist/locales/common/pl.json | 55 ++ invokeai/frontend/dist/locales/common/pt.json | 1 + .../frontend/dist/locales/common/pt_br.json | 55 ++ invokeai/frontend/dist/locales/common/ru.json | 54 ++ invokeai/frontend/dist/locales/common/ua.json | 53 ++ .../frontend/dist/locales/common/zh_cn.json | 54 ++ .../frontend/dist/locales/gallery/de.json | 16 + .../frontend/dist/locales/gallery/en-US.json | 16 + .../frontend/dist/locales/gallery/en.json | 16 + .../frontend/dist/locales/gallery/es.json | 16 + .../frontend/dist/locales/gallery/fr.json | 16 + .../frontend/dist/locales/gallery/it.json | 16 + .../frontend/dist/locales/gallery/ja.json | 17 + .../frontend/dist/locales/gallery/nl.json | 16 + .../frontend/dist/locales/gallery/pl.json | 16 + .../frontend/dist/locales/gallery/pt.json | 1 + .../frontend/dist/locales/gallery/pt_br.json | 16 + .../frontend/dist/locales/gallery/ru.json | 16 + .../frontend/dist/locales/gallery/ua.json | 16 + .../frontend/dist/locales/gallery/zh_cn.json | 16 + .../frontend/dist/locales/hotkeys/de.json | 207 ++++++ .../frontend/dist/locales/hotkeys/en-US.json | 207 ++++++ .../frontend/dist/locales/hotkeys/en.json | 207 ++++++ .../frontend/dist/locales/hotkeys/es.json | 207 ++++++ .../frontend/dist/locales/hotkeys/fr.json | 207 ++++++ .../frontend/dist/locales/hotkeys/it.json | 207 ++++++ .../frontend/dist/locales/hotkeys/ja.json | 208 ++++++ .../frontend/dist/locales/hotkeys/nl.json | 207 ++++++ .../frontend/dist/locales/hotkeys/pl.json | 207 ++++++ .../frontend/dist/locales/hotkeys/pt.json | 1 + .../frontend/dist/locales/hotkeys/pt_br.json | 207 ++++++ .../frontend/dist/locales/hotkeys/ru.json | 207 ++++++ .../frontend/dist/locales/hotkeys/ua.json | 207 ++++++ .../frontend/dist/locales/hotkeys/zh_cn.json | 207 ++++++ .../dist/locales/modelmanager/de.json | 53 ++ .../dist/locales/modelmanager/en-US.json | 67 ++ .../dist/locales/modelmanager/en.json | 67 ++ .../dist/locales/modelmanager/es.json | 53 ++ .../dist/locales/modelmanager/fr.json | 68 ++ .../dist/locales/modelmanager/it.json | 67 ++ .../dist/locales/modelmanager/ja.json | 68 ++ .../dist/locales/modelmanager/nl.json | 53 ++ .../dist/locales/modelmanager/pl.json | 1 + .../dist/locales/modelmanager/pt_br.json | 50 ++ .../dist/locales/modelmanager/ru.json | 53 ++ .../dist/locales/modelmanager/ua.json | 53 ++ .../dist/locales/modelmanager/zh_cn.json | 50 ++ .../frontend/dist/locales/parameters/de.json | 61 ++ .../dist/locales/parameters/en-US.json | 62 ++ .../frontend/dist/locales/parameters/en.json | 65 ++ .../frontend/dist/locales/parameters/es.json | 61 ++ .../frontend/dist/locales/parameters/fr.json | 62 ++ .../frontend/dist/locales/parameters/it.json | 61 ++ .../frontend/dist/locales/parameters/ja.json | 62 ++ .../frontend/dist/locales/parameters/nl.json | 61 ++ .../frontend/dist/locales/parameters/pl.json | 61 ++ .../frontend/dist/locales/parameters/pt.json | 1 + .../dist/locales/parameters/pt_br.json | 61 ++ .../frontend/dist/locales/parameters/ru.json | 61 ++ .../frontend/dist/locales/parameters/ua.json | 62 ++ .../dist/locales/parameters/zh_cn.json | 61 ++ .../frontend/dist/locales/settings/de.json | 13 + .../frontend/dist/locales/settings/en-US.json | 13 + .../frontend/dist/locales/settings/en.json | 13 + .../frontend/dist/locales/settings/es.json | 13 + .../frontend/dist/locales/settings/fr.json | 13 + .../frontend/dist/locales/settings/it.json | 13 + .../frontend/dist/locales/settings/ja.json | 14 + .../frontend/dist/locales/settings/nl.json | 13 + .../frontend/dist/locales/settings/pl.json | 13 + .../frontend/dist/locales/settings/pt.json | 1 + .../frontend/dist/locales/settings/pt_br.json | 13 + .../frontend/dist/locales/settings/ru.json | 13 + .../frontend/dist/locales/settings/ua.json | 13 + .../frontend/dist/locales/settings/zh_cn.json | 13 + invokeai/frontend/dist/locales/toast/de.json | 32 + .../frontend/dist/locales/toast/en-US.json | 32 + invokeai/frontend/dist/locales/toast/en.json | 32 + invokeai/frontend/dist/locales/toast/es.json | 32 + invokeai/frontend/dist/locales/toast/fr.json | 32 + invokeai/frontend/dist/locales/toast/it.json | 32 + invokeai/frontend/dist/locales/toast/ja.json | 32 + invokeai/frontend/dist/locales/toast/nl.json | 32 + invokeai/frontend/dist/locales/toast/pl.json | 32 + invokeai/frontend/dist/locales/toast/pt.json | 1 + .../frontend/dist/locales/toast/pt_br.json | 32 + invokeai/frontend/dist/locales/toast/ru.json | 32 + invokeai/frontend/dist/locales/toast/ua.json | 32 + .../frontend/dist/locales/toast/zh_cn.json | 32 + .../frontend/dist/locales/tooltip/de.json | 15 + .../frontend/dist/locales/tooltip/en-US.json | 15 + .../frontend/dist/locales/tooltip/en.json | 15 + .../frontend/dist/locales/tooltip/es.json | 15 + .../frontend/dist/locales/tooltip/fr.json | 15 + .../frontend/dist/locales/tooltip/it.json | 15 + .../frontend/dist/locales/tooltip/ja.json | 16 + .../frontend/dist/locales/tooltip/nl.json | 15 + .../frontend/dist/locales/tooltip/pl.json | 15 + .../frontend/dist/locales/tooltip/pt_br.json | 1 + .../frontend/dist/locales/tooltip/ru.json | 15 + .../frontend/dist/locales/tooltip/ua.json | 15 + .../dist/locales/unifiedcanvas/de.json | 59 ++ .../dist/locales/unifiedcanvas/en-US.json | 59 ++ .../dist/locales/unifiedcanvas/en.json | 59 ++ .../dist/locales/unifiedcanvas/es.json | 59 ++ .../dist/locales/unifiedcanvas/fr.json | 59 ++ .../dist/locales/unifiedcanvas/it.json | 59 ++ .../dist/locales/unifiedcanvas/ja.json | 60 ++ .../dist/locales/unifiedcanvas/nl.json | 59 ++ .../dist/locales/unifiedcanvas/pl.json | 59 ++ .../dist/locales/unifiedcanvas/pt.json | 1 + .../dist/locales/unifiedcanvas/pt_br.json | 59 ++ .../dist/locales/unifiedcanvas/ru.json | 59 ++ .../dist/locales/unifiedcanvas/ua.json | 59 ++ .../dist/locales/unifiedcanvas/zh_cn.json | 59 ++ invokeai/frontend/stats.html | 2 +- 131 files changed, 7339 insertions(+), 1 deletion(-) create mode 100644 invokeai/frontend/dist/assets/Inter-Bold-790c108b.ttf create mode 100644 invokeai/frontend/dist/assets/Inter-b9a8e5e2.ttf create mode 100644 invokeai/frontend/dist/assets/favicon-0d253ced.ico create mode 100644 invokeai/frontend/dist/assets/index-ad762ffd.js create mode 100644 invokeai/frontend/dist/assets/index-fecb6dd4.css create mode 100644 invokeai/frontend/dist/assets/logo-13003d72.png create mode 100644 invokeai/frontend/dist/index.html create mode 100644 invokeai/frontend/dist/locales/common/de.json create mode 100644 invokeai/frontend/dist/locales/common/en-US.json create mode 100644 invokeai/frontend/dist/locales/common/en.json create mode 100644 invokeai/frontend/dist/locales/common/es.json create mode 100644 invokeai/frontend/dist/locales/common/fr.json create mode 100644 invokeai/frontend/dist/locales/common/it.json create mode 100644 invokeai/frontend/dist/locales/common/ja.json create mode 100644 invokeai/frontend/dist/locales/common/nl.json create mode 100644 invokeai/frontend/dist/locales/common/pl.json create mode 100644 invokeai/frontend/dist/locales/common/pt.json create mode 100644 invokeai/frontend/dist/locales/common/pt_br.json create mode 100644 invokeai/frontend/dist/locales/common/ru.json create mode 100644 invokeai/frontend/dist/locales/common/ua.json create mode 100644 invokeai/frontend/dist/locales/common/zh_cn.json create mode 100644 invokeai/frontend/dist/locales/gallery/de.json create mode 100644 invokeai/frontend/dist/locales/gallery/en-US.json create mode 100644 invokeai/frontend/dist/locales/gallery/en.json create mode 100644 invokeai/frontend/dist/locales/gallery/es.json create mode 100644 invokeai/frontend/dist/locales/gallery/fr.json create mode 100644 invokeai/frontend/dist/locales/gallery/it.json create mode 100644 invokeai/frontend/dist/locales/gallery/ja.json create mode 100644 invokeai/frontend/dist/locales/gallery/nl.json create mode 100644 invokeai/frontend/dist/locales/gallery/pl.json create mode 100644 invokeai/frontend/dist/locales/gallery/pt.json create mode 100644 invokeai/frontend/dist/locales/gallery/pt_br.json create mode 100644 invokeai/frontend/dist/locales/gallery/ru.json create mode 100644 invokeai/frontend/dist/locales/gallery/ua.json create mode 100644 invokeai/frontend/dist/locales/gallery/zh_cn.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/de.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/en-US.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/en.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/es.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/fr.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/it.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/ja.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/nl.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/pl.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/pt.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/pt_br.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/ru.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/ua.json create mode 100644 invokeai/frontend/dist/locales/hotkeys/zh_cn.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/de.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/en-US.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/en.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/es.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/fr.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/it.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/ja.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/nl.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/pl.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/pt_br.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/ru.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/ua.json create mode 100644 invokeai/frontend/dist/locales/modelmanager/zh_cn.json create mode 100644 invokeai/frontend/dist/locales/parameters/de.json create mode 100644 invokeai/frontend/dist/locales/parameters/en-US.json create mode 100644 invokeai/frontend/dist/locales/parameters/en.json create mode 100644 invokeai/frontend/dist/locales/parameters/es.json create mode 100644 invokeai/frontend/dist/locales/parameters/fr.json create mode 100644 invokeai/frontend/dist/locales/parameters/it.json create mode 100644 invokeai/frontend/dist/locales/parameters/ja.json create mode 100644 invokeai/frontend/dist/locales/parameters/nl.json create mode 100644 invokeai/frontend/dist/locales/parameters/pl.json create mode 100644 invokeai/frontend/dist/locales/parameters/pt.json create mode 100644 invokeai/frontend/dist/locales/parameters/pt_br.json create mode 100644 invokeai/frontend/dist/locales/parameters/ru.json create mode 100644 invokeai/frontend/dist/locales/parameters/ua.json create mode 100644 invokeai/frontend/dist/locales/parameters/zh_cn.json create mode 100644 invokeai/frontend/dist/locales/settings/de.json create mode 100644 invokeai/frontend/dist/locales/settings/en-US.json create mode 100644 invokeai/frontend/dist/locales/settings/en.json create mode 100644 invokeai/frontend/dist/locales/settings/es.json create mode 100644 invokeai/frontend/dist/locales/settings/fr.json create mode 100644 invokeai/frontend/dist/locales/settings/it.json create mode 100644 invokeai/frontend/dist/locales/settings/ja.json create mode 100644 invokeai/frontend/dist/locales/settings/nl.json create mode 100644 invokeai/frontend/dist/locales/settings/pl.json create mode 100644 invokeai/frontend/dist/locales/settings/pt.json create mode 100644 invokeai/frontend/dist/locales/settings/pt_br.json create mode 100644 invokeai/frontend/dist/locales/settings/ru.json create mode 100644 invokeai/frontend/dist/locales/settings/ua.json create mode 100644 invokeai/frontend/dist/locales/settings/zh_cn.json create mode 100644 invokeai/frontend/dist/locales/toast/de.json create mode 100644 invokeai/frontend/dist/locales/toast/en-US.json create mode 100644 invokeai/frontend/dist/locales/toast/en.json create mode 100644 invokeai/frontend/dist/locales/toast/es.json create mode 100644 invokeai/frontend/dist/locales/toast/fr.json create mode 100644 invokeai/frontend/dist/locales/toast/it.json create mode 100644 invokeai/frontend/dist/locales/toast/ja.json create mode 100644 invokeai/frontend/dist/locales/toast/nl.json create mode 100644 invokeai/frontend/dist/locales/toast/pl.json create mode 100644 invokeai/frontend/dist/locales/toast/pt.json create mode 100644 invokeai/frontend/dist/locales/toast/pt_br.json create mode 100644 invokeai/frontend/dist/locales/toast/ru.json create mode 100644 invokeai/frontend/dist/locales/toast/ua.json create mode 100644 invokeai/frontend/dist/locales/toast/zh_cn.json create mode 100644 invokeai/frontend/dist/locales/tooltip/de.json create mode 100644 invokeai/frontend/dist/locales/tooltip/en-US.json create mode 100644 invokeai/frontend/dist/locales/tooltip/en.json create mode 100644 invokeai/frontend/dist/locales/tooltip/es.json create mode 100644 invokeai/frontend/dist/locales/tooltip/fr.json create mode 100644 invokeai/frontend/dist/locales/tooltip/it.json create mode 100644 invokeai/frontend/dist/locales/tooltip/ja.json create mode 100644 invokeai/frontend/dist/locales/tooltip/nl.json create mode 100644 invokeai/frontend/dist/locales/tooltip/pl.json create mode 100644 invokeai/frontend/dist/locales/tooltip/pt_br.json create mode 100644 invokeai/frontend/dist/locales/tooltip/ru.json create mode 100644 invokeai/frontend/dist/locales/tooltip/ua.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/de.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/en-US.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/en.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/es.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/fr.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/it.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/ja.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/nl.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/pl.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/pt.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/ru.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/ua.json create mode 100644 invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json diff --git a/invokeai/frontend/dist/assets/Inter-Bold-790c108b.ttf b/invokeai/frontend/dist/assets/Inter-Bold-790c108b.ttf new file mode 100644 index 0000000000000000000000000000000000000000..8e82c70d1081e2857ada1b73395d4f42c2e8adc9 GIT binary patch literal 316100 zcmcG133wDm^ZxYA?(8O&ccOcwEAO{dgNC-DVB9}lQBBz{k zsepojhzNol9;k@lr{IZ-h!-NCpmHQTz5lnmXLctc2tLpM_n?rx(^FktU0q#WUEQNF zMNul^FNdOZdaOgoCLcDbu4wU>0R(sI)w9ppj~h-?w4RE>8tI+-B(|F~w=i3A%y278 z;*_3!9%>qKBD0;MP8|j+!}|1%>-)cNzU-tpKFP!Hk0oae&w8lQuj}#rsG_7U963BE z3wTA)zleX`Bgalnt2wd$gCJg3QR}rDl{!47;oHMIDr)bRcpftfK+V6azJ>Q&ubJ{UVLd3eD50}B-Ofl>JVKN-WPWCfOGI)3kr^0hLDXQW>Cl#Nr= z@A@i=ekE&M&V(1YMUPk1pB__`lnq(qQ?o|ti{|2aHj#VfZ{(>8SKMvsZ}lkseM9^$e^ykbJ*v14!4YL;csQd!5iC3? zTn*uk)e~wX^*C>AcqNpU&JMXtnG=qGi>T$l@(yqBYbsYMUO_G$y)vWQ4AVRthV% zacWfFzCMc*6BqTt-z|IeXxXx74_o`T?0KTkg5JFs^ugaRb!!pRjdhEO>25Wq?4uTQ z?uBYUHH&cLxVuW=e}JRg(D+HtBwOPZtGu4UR9hpf`0z|NN#aDu?Jr-Pj$bG_BorS% zzVhz!u7&=3%lh#k*JeK+=fa?^lbPycD&51zVhF)v8ux=UuJ<1 z|DKIe1AO&c{T!u>epX7<4>`gT`Q_wZX4291kqdp&^GREG_vm=js?(1KY`%)J{A*!5 zG>emf0^=G{_SO@)ug3yb@F$?D4sV#m#jpxes+Sm6(IMfXObacqx}suYT11yRmiW$1 ztUf=ui?tckVN$yXnSUHP2G?SHtMhpF$?U|%V`|N4IJ@(7uy~~eE31rO1S_Wr4@eZO zL?{i5v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-}+r?M&* zl%N5=MMgOOGOOQz;%b>F_(z6XgB)N8y1DjZybU$fnLBD(0Ov@dbhM}tcHoNOEAxiY z)oB?c^9W_XUM!tUve`b&Q?_g&s&3n~NlD{>Oa|!#-R|mta)Zv${%T%+#1!;@R4vnB z1BE<9H@?6E#jOU+KNijH)+idJs=@ZwHWu2pATO0Z4o4p&sI(P1DAq+7Q#$OB>s`86 z2Go&k+3cvS-^*;0Eiohw;oSUHooR2q(Z;2@{IvrRdCGNuNAM zpGbYKh(5WRJ}D#?xZApMqtBO>HqT&;; z?nEwJF4i9$hxMRF)&laSHnTVoD3mx9wYHX3C#fJmo*0Hv5TNh)+aN=Vzj84=VyM3AL-tf1bY{4m^ z$ul?{L`SR+@)aGOq<)+{=YUDUz}{+Y^{cI|;U>dq(m}`}VAe-_yO7>4qPP3g+r2iV z@)$t?v2ovIaJa2ZwQY1*hH2dZ6p>&IwXTlN+v_P1rFhsQcU$;!|r4+J9Eh%Agq{Q(jt)?bz7047lDckK{ zvc#RufB&96{syGFH?(BYnhs+WQE}eseBVCzj-)tM;SLn8d%B}fIV+DiU5js;mohWv9JNm zvEN-F7WmYi6#<<1{#=Xne~7Y!Xqy?OMNqr`*vh1ij_XKGJ~ZT%B|kO04E$IRO+)TYdx{D zEGis5CYs=19QF7&M@d)^M{$7p>%606=FE4$E2OOURJz4Tr9cVrLe`COD_!!dqE{&O dOnHTJefZ`IWl=bJoOzARPmbiMuz8fC{5NLxuU-HE literal 0 HcmV?d00001 diff --git a/invokeai/frontend/dist/assets/favicon-0d253ced.ico b/invokeai/frontend/dist/assets/favicon-0d253ced.ico new file mode 100644 index 0000000000000000000000000000000000000000..413340efb28b6a92b207d5180b836a7cc97f3694 GIT binary patch literal 118734 zcmb5Vbx<5n6z{wE;u2hgy95dDuEE{iCAd2zxCVDma0o7oTX0za&H1);9qI_^zrVi;hB!0<9Wd zUQSB=zpMX!f&Vpa__Y$+rUJdZl(?qP>RFz*59#7>P_XwnzNa1SgR^5CV+&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W~$+l{CD$kVTR6ifuEj%^-E$ddQyl1=Ql5+Z#@3p3{>_;{o)6Z=AXLkO})bhvI0eaUz z3yfU<@aaphf4g;HMyP+yQ4UgVyo_#tco}3``^%>a7w*}4+#3d@+Ly|48G4R*sjgD=zX#!*Ai4j| zUg7(}QF&+^811>EeRj0Rj`r0Rlwkye5QQNG1yiIGF3Am>KJ!>Qs z0q*w!K3i^j!76nh&1!gm^;=KpbkA}lx98vs!u3;*1J^WX@Y#0B<<$2Y`?z4uc54oF zPW1@I!`o>T2S*2v#P5Adm)1a2A8WzXXl@<5!ak=pS_`I*=bljcXWU LhQiW2^zQ!yaVtbM literal 0 HcmV?d00001 diff --git a/invokeai/frontend/dist/assets/index-ad762ffd.js b/invokeai/frontend/dist/assets/index-ad762ffd.js new file mode 100644 index 0000000000..dee1d5d7e4 --- /dev/null +++ b/invokeai/frontend/dist/assets/index-ad762ffd.js @@ -0,0 +1,638 @@ +var cee=Object.defineProperty;var dee=(e,t,n)=>t in e?cee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var an=(e,t,n)=>(dee(e,typeof t!="symbol"?t+"":t,n),n);function rj(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function d_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y={},fee={get exports(){return y},set exports(e){y=e}},gS={},w={},hee={get exports(){return w},set exports(e){w=e}},en={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cy=Symbol.for("react.element"),pee=Symbol.for("react.portal"),gee=Symbol.for("react.fragment"),mee=Symbol.for("react.strict_mode"),vee=Symbol.for("react.profiler"),yee=Symbol.for("react.provider"),bee=Symbol.for("react.context"),See=Symbol.for("react.forward_ref"),xee=Symbol.for("react.suspense"),wee=Symbol.for("react.memo"),Cee=Symbol.for("react.lazy"),cL=Symbol.iterator;function _ee(e){return e===null||typeof e!="object"?null:(e=cL&&e[cL]||e["@@iterator"],typeof e=="function"?e:null)}var ij={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oj=Object.assign,aj={};function d0(e,t,n){this.props=e,this.context=t,this.refs=aj,this.updater=n||ij}d0.prototype.isReactComponent={};d0.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};d0.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sj(){}sj.prototype=d0.prototype;function f_(e,t,n){this.props=e,this.context=t,this.refs=aj,this.updater=n||ij}var h_=f_.prototype=new sj;h_.constructor=f_;oj(h_,d0.prototype);h_.isPureReactComponent=!0;var dL=Array.isArray,lj=Object.prototype.hasOwnProperty,p_={current:null},uj={key:!0,ref:!0,__self:!0,__source:!0};function cj(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)lj.call(t,r)&&!uj.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?j3.dark:j3.light),document.body.classList.remove(r?j3.light:j3.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){return n.query().matches??r==="dark"?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var Nee="chakra-ui-color-mode";function jee(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var Bee=jee(Nee),hL=()=>{};function pL(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function fj(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=Bee}=e,s=i==="dark"?"dark":"light",[l,u]=w.useState(()=>pL(a,s)),[d,h]=w.useState(()=>pL(a)),{getSystemTheme:m,setClassName:v,setDataset:b,addListener:S}=w.useMemo(()=>Dee({preventTransition:o}),[o]),k=i==="system"&&!l?d:l,E=w.useCallback(A=>{const I=A==="system"?m():A;u(I),v(I==="dark"),b(I),a.set(I)},[a,m,v,b]);Ws(()=>{i==="system"&&h(m())},[]),w.useEffect(()=>{const A=a.get();if(A){E(A);return}if(i==="system"){E("system");return}E(s)},[a,s,i,E]);const _=w.useCallback(()=>{E(k==="dark"?"light":"dark")},[k,E]);w.useEffect(()=>{if(r)return S(E)},[r,S,E]);const T=w.useMemo(()=>({colorMode:t??k,toggleColorMode:t?hL:_,setColorMode:t?hL:E,forced:t!==void 0}),[k,_,E,t]);return N.createElement(m_.Provider,{value:T},n)}fj.displayName="ColorModeProvider";var z4={},$ee={get exports(){return z4},set exports(e){z4=e}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Function]",b="[object GeneratorFunction]",S="[object Map]",k="[object Number]",E="[object Null]",_="[object Object]",T="[object Proxy]",A="[object RegExp]",I="[object Set]",R="[object String]",D="[object Undefined]",j="[object WeakMap]",z="[object ArrayBuffer]",V="[object DataView]",K="[object Float32Array]",te="[object Float64Array]",q="[object Int8Array]",$="[object Int16Array]",U="[object Int32Array]",X="[object Uint8Array]",Z="[object Uint8ClampedArray]",W="[object Uint16Array]",Q="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,fe=/^\[object .+?Constructor\]$/,Se=/^(?:0|[1-9]\d*)$/,Pe={};Pe[K]=Pe[te]=Pe[q]=Pe[$]=Pe[U]=Pe[X]=Pe[Z]=Pe[W]=Pe[Q]=!0,Pe[s]=Pe[l]=Pe[z]=Pe[d]=Pe[V]=Pe[h]=Pe[m]=Pe[v]=Pe[S]=Pe[k]=Pe[_]=Pe[A]=Pe[I]=Pe[R]=Pe[j]=!1;var ye=typeof Co=="object"&&Co&&Co.Object===Object&&Co,We=typeof self=="object"&&self&&self.Object===Object&&self,De=ye||We||Function("return this")(),ot=t&&!t.nodeType&&t,He=ot&&!0&&e&&!e.nodeType&&e,Be=He&&He.exports===ot,wt=Be&&ye.process,st=function(){try{var Y=He&&He.require&&He.require("util").types;return Y||wt&&wt.binding&&wt.binding("util")}catch{}}(),mt=st&&st.isTypedArray;function St(Y,re,ge){switch(ge.length){case 0:return Y.call(re);case 1:return Y.call(re,ge[0]);case 2:return Y.call(re,ge[0],ge[1]);case 3:return Y.call(re,ge[0],ge[1],ge[2])}return Y.apply(re,ge)}function Le(Y,re){for(var ge=-1,it=Array(Y);++ge-1}function N0(Y,re){var ge=this.__data__,it=ms(ge,Y);return it<0?(++this.size,ge.push([Y,re])):ge[it][1]=re,this}ia.prototype.clear=vf,ia.prototype.delete=D0,ia.prototype.get=bc,ia.prototype.has=yf,ia.prototype.set=N0;function il(Y){var re=-1,ge=Y==null?0:Y.length;for(this.clear();++re1?ge[Wt-1]:void 0,kt=Wt>2?ge[2]:void 0;for(Sn=Y.length>3&&typeof Sn=="function"?(Wt--,Sn):void 0,kt&&Ap(ge[0],ge[1],kt)&&(Sn=Wt<3?void 0:Sn,Wt=1),re=Object(re);++it-1&&Y%1==0&&Y0){if(++re>=i)return arguments[0]}else re=0;return Y.apply(void 0,arguments)}}function _c(Y){if(Y!=null){try{return Ye.call(Y)}catch{}try{return Y+""}catch{}}return""}function $a(Y,re){return Y===re||Y!==Y&&re!==re}var Cf=bu(function(){return arguments}())?bu:function(Y){return Kn(Y)&&Ke.call(Y,"callee")&&!Xe.call(Y,"callee")},wu=Array.isArray;function Yt(Y){return Y!=null&&Mp(Y.length)&&!Ec(Y)}function Op(Y){return Kn(Y)&&Yt(Y)}var kc=nn||K0;function Ec(Y){if(!la(Y))return!1;var re=al(Y);return re==v||re==b||re==u||re==T}function Mp(Y){return typeof Y=="number"&&Y>-1&&Y%1==0&&Y<=a}function la(Y){var re=typeof Y;return Y!=null&&(re=="object"||re=="function")}function Kn(Y){return Y!=null&&typeof Y=="object"}function _f(Y){if(!Kn(Y)||al(Y)!=_)return!1;var re=tn(Y);if(re===null)return!0;var ge=Ke.call(re,"constructor")&&re.constructor;return typeof ge=="function"&&ge instanceof ge&&Ye.call(ge)==Ct}var Ip=mt?lt(mt):xc;function kf(Y){return ui(Y,Rp(Y))}function Rp(Y){return Yt(Y)?G0(Y,!0):sl(Y)}var gn=vs(function(Y,re,ge,it){oa(Y,re,ge,it)});function Kt(Y){return function(){return Y}}function Dp(Y){return Y}function K0(){return!1}e.exports=gn})($ee,z4);const Wl=z4;function Us(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function xh(e,...t){return Fee(e)?e(...t):e}var Fee=e=>typeof e=="function",zee=e=>/!(important)?$/.test(e),gL=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,ZC=(e,t)=>n=>{const r=String(t),i=zee(r),o=gL(r),a=e?`${e}.${o}`:o;let s=Us(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=gL(s),i?`${s} !important`:s};function p2(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const s=ZC(t,o)(a);let l=(n==null?void 0:n(s,a))??s;return r&&(l=r(l,a)),l}}var B3=(...e)=>t=>e.reduce((n,r)=>r(n),t);function As(e,t){return n=>{const r={property:n,scale:e};return r.transform=p2({scale:e,transform:t}),r}}var Hee=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function Vee(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:Hee(t),transform:n?p2({scale:n,compose:r}):r}}var hj=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Wee(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...hj].join(" ")}function Uee(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...hj].join(" ")}var Gee={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},qee={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Yee(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Kee={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},pj="& > :not(style) ~ :not(style)",Xee={[pj]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},Zee={[pj]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},QC={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Qee=new Set(Object.values(QC)),gj=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Jee=e=>e.trim();function ete(e,t){var n;if(e==null||gj.has(e))return e;const r=/(?^[a-z-A-Z]+)\((?(.*))\)/g,{type:i,values:o}=((n=r.exec(e))==null?void 0:n.groups)??{};if(!i||!o)return e;const a=i.includes("-gradient")?i:`${i}-gradient`,[s,...l]=o.split(",").map(Jee).filter(Boolean);if((l==null?void 0:l.length)===0)return e;const u=s in QC?QC[s]:s;l.unshift(u);const d=l.map(h=>{if(Qee.has(h))return h;const m=h.indexOf(" "),[v,b]=m!==-1?[h.substr(0,m),h.substr(m+1)]:[h],S=mj(b)?b:b&&b.split(" "),k=`colors.${v}`,E=k in t.__cssMap?t.__cssMap[k].varRef:v;return S?[E,...Array.isArray(S)?S:[S]].join(" "):E});return`${a}(${d.join(", ")})`}var mj=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),tte=(e,t)=>ete(e,t??{});function nte(e){return/^var\(--.+\)$/.test(e)}var rte=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Tl=e=>t=>`${e}(${t})`,hn={filter(e){return e!=="auto"?e:Gee},backdropFilter(e){return e!=="auto"?e:qee},ring(e){return Yee(hn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?Wee():e==="auto-gpu"?Uee():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=rte(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(nte(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:tte,blur:Tl("blur"),opacity:Tl("opacity"),brightness:Tl("brightness"),contrast:Tl("contrast"),dropShadow:Tl("drop-shadow"),grayscale:Tl("grayscale"),hueRotate:Tl("hue-rotate"),invert:Tl("invert"),saturate:Tl("saturate"),sepia:Tl("sepia"),bgImage(e){return e==null||mj(e)||gj.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=Kee[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},se={borderWidths:As("borderWidths"),borderStyles:As("borderStyles"),colors:As("colors"),borders:As("borders"),radii:As("radii",hn.px),space:As("space",B3(hn.vh,hn.px)),spaceT:As("space",B3(hn.vh,hn.px)),degreeT(e){return{property:e,transform:hn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:p2({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:As("sizes",B3(hn.vh,hn.px)),sizesT:As("sizes",B3(hn.vh,hn.fraction)),shadows:As("shadows"),logical:Vee,blur:As("blur",hn.blur)},n4={background:se.colors("background"),backgroundColor:se.colors("backgroundColor"),backgroundImage:se.propT("backgroundImage",hn.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:hn.bgClip},bgSize:se.prop("backgroundSize"),bgPosition:se.prop("backgroundPosition"),bg:se.colors("background"),bgColor:se.colors("backgroundColor"),bgPos:se.prop("backgroundPosition"),bgRepeat:se.prop("backgroundRepeat"),bgAttachment:se.prop("backgroundAttachment"),bgGradient:se.propT("backgroundImage",hn.gradient),bgClip:{transform:hn.bgClip}};Object.assign(n4,{bgImage:n4.backgroundImage,bgImg:n4.backgroundImage});var wn={border:se.borders("border"),borderWidth:se.borderWidths("borderWidth"),borderStyle:se.borderStyles("borderStyle"),borderColor:se.colors("borderColor"),borderRadius:se.radii("borderRadius"),borderTop:se.borders("borderTop"),borderBlockStart:se.borders("borderBlockStart"),borderTopLeftRadius:se.radii("borderTopLeftRadius"),borderStartStartRadius:se.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:se.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:se.radii("borderTopRightRadius"),borderStartEndRadius:se.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:se.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:se.borders("borderRight"),borderInlineEnd:se.borders("borderInlineEnd"),borderBottom:se.borders("borderBottom"),borderBlockEnd:se.borders("borderBlockEnd"),borderBottomLeftRadius:se.radii("borderBottomLeftRadius"),borderBottomRightRadius:se.radii("borderBottomRightRadius"),borderLeft:se.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:se.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:se.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:se.borders(["borderLeft","borderRight"]),borderInline:se.borders("borderInline"),borderY:se.borders(["borderTop","borderBottom"]),borderBlock:se.borders("borderBlock"),borderTopWidth:se.borderWidths("borderTopWidth"),borderBlockStartWidth:se.borderWidths("borderBlockStartWidth"),borderTopColor:se.colors("borderTopColor"),borderBlockStartColor:se.colors("borderBlockStartColor"),borderTopStyle:se.borderStyles("borderTopStyle"),borderBlockStartStyle:se.borderStyles("borderBlockStartStyle"),borderBottomWidth:se.borderWidths("borderBottomWidth"),borderBlockEndWidth:se.borderWidths("borderBlockEndWidth"),borderBottomColor:se.colors("borderBottomColor"),borderBlockEndColor:se.colors("borderBlockEndColor"),borderBottomStyle:se.borderStyles("borderBottomStyle"),borderBlockEndStyle:se.borderStyles("borderBlockEndStyle"),borderLeftWidth:se.borderWidths("borderLeftWidth"),borderInlineStartWidth:se.borderWidths("borderInlineStartWidth"),borderLeftColor:se.colors("borderLeftColor"),borderInlineStartColor:se.colors("borderInlineStartColor"),borderLeftStyle:se.borderStyles("borderLeftStyle"),borderInlineStartStyle:se.borderStyles("borderInlineStartStyle"),borderRightWidth:se.borderWidths("borderRightWidth"),borderInlineEndWidth:se.borderWidths("borderInlineEndWidth"),borderRightColor:se.colors("borderRightColor"),borderInlineEndColor:se.colors("borderInlineEndColor"),borderRightStyle:se.borderStyles("borderRightStyle"),borderInlineEndStyle:se.borderStyles("borderInlineEndStyle"),borderTopRadius:se.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:se.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:se.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:se.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(wn,{rounded:wn.borderRadius,roundedTop:wn.borderTopRadius,roundedTopLeft:wn.borderTopLeftRadius,roundedTopRight:wn.borderTopRightRadius,roundedTopStart:wn.borderStartStartRadius,roundedTopEnd:wn.borderStartEndRadius,roundedBottom:wn.borderBottomRadius,roundedBottomLeft:wn.borderBottomLeftRadius,roundedBottomRight:wn.borderBottomRightRadius,roundedBottomStart:wn.borderEndStartRadius,roundedBottomEnd:wn.borderEndEndRadius,roundedLeft:wn.borderLeftRadius,roundedRight:wn.borderRightRadius,roundedStart:wn.borderInlineStartRadius,roundedEnd:wn.borderInlineEndRadius,borderStart:wn.borderInlineStart,borderEnd:wn.borderInlineEnd,borderTopStartRadius:wn.borderStartStartRadius,borderTopEndRadius:wn.borderStartEndRadius,borderBottomStartRadius:wn.borderEndStartRadius,borderBottomEndRadius:wn.borderEndEndRadius,borderStartRadius:wn.borderInlineStartRadius,borderEndRadius:wn.borderInlineEndRadius,borderStartWidth:wn.borderInlineStartWidth,borderEndWidth:wn.borderInlineEndWidth,borderStartColor:wn.borderInlineStartColor,borderEndColor:wn.borderInlineEndColor,borderStartStyle:wn.borderInlineStartStyle,borderEndStyle:wn.borderInlineEndStyle});var ite={color:se.colors("color"),textColor:se.colors("color"),fill:se.colors("fill"),stroke:se.colors("stroke")},JC={boxShadow:se.shadows("boxShadow"),mixBlendMode:!0,blendMode:se.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:se.prop("backgroundBlendMode"),opacity:!0};Object.assign(JC,{shadow:JC.boxShadow});var ote={filter:{transform:hn.filter},blur:se.blur("--chakra-blur"),brightness:se.propT("--chakra-brightness",hn.brightness),contrast:se.propT("--chakra-contrast",hn.contrast),hueRotate:se.degreeT("--chakra-hue-rotate"),invert:se.propT("--chakra-invert",hn.invert),saturate:se.propT("--chakra-saturate",hn.saturate),dropShadow:se.propT("--chakra-drop-shadow",hn.dropShadow),backdropFilter:{transform:hn.backdropFilter},backdropBlur:se.blur("--chakra-backdrop-blur"),backdropBrightness:se.propT("--chakra-backdrop-brightness",hn.brightness),backdropContrast:se.propT("--chakra-backdrop-contrast",hn.contrast),backdropHueRotate:se.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:se.propT("--chakra-backdrop-invert",hn.invert),backdropSaturate:se.propT("--chakra-backdrop-saturate",hn.saturate)},H4={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:hn.flexDirection},experimental_spaceX:{static:Xee,transform:p2({scale:"space",transform:e=>e!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:Zee,transform:p2({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:se.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:se.space("gap"),rowGap:se.space("rowGap"),columnGap:se.space("columnGap")};Object.assign(H4,{flexDir:H4.flexDirection});var vj={gridGap:se.space("gridGap"),gridColumnGap:se.space("gridColumnGap"),gridRowGap:se.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},ate={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:hn.outline},outlineOffset:!0,outlineColor:se.colors("outlineColor")},Xa={width:se.sizesT("width"),inlineSize:se.sizesT("inlineSize"),height:se.sizes("height"),blockSize:se.sizes("blockSize"),boxSize:se.sizes(["width","height"]),minWidth:se.sizes("minWidth"),minInlineSize:se.sizes("minInlineSize"),minHeight:se.sizes("minHeight"),minBlockSize:se.sizes("minBlockSize"),maxWidth:se.sizes("maxWidth"),maxInlineSize:se.sizes("maxInlineSize"),maxHeight:se.sizes("maxHeight"),maxBlockSize:se.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:se.propT("float",hn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Xa,{w:Xa.width,h:Xa.height,minW:Xa.minWidth,maxW:Xa.maxWidth,minH:Xa.minHeight,maxH:Xa.maxHeight,overscroll:Xa.overscrollBehavior,overscrollX:Xa.overscrollBehaviorX,overscrollY:Xa.overscrollBehaviorY});var ste={listStyleType:!0,listStylePosition:!0,listStylePos:se.prop("listStylePosition"),listStyleImage:!0,listStyleImg:se.prop("listStyleImage")};function lte(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},cte=ute(lte),dte={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},fte={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Uw=(e,t,n)=>{const r={},i=cte(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},hte={srOnly:{transform(e){return e===!0?dte:e==="focusable"?fte:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Uw(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Uw(t,e,n)}},Rv={position:!0,pos:se.prop("position"),zIndex:se.prop("zIndex","zIndices"),inset:se.spaceT("inset"),insetX:se.spaceT(["left","right"]),insetInline:se.spaceT("insetInline"),insetY:se.spaceT(["top","bottom"]),insetBlock:se.spaceT("insetBlock"),top:se.spaceT("top"),insetBlockStart:se.spaceT("insetBlockStart"),bottom:se.spaceT("bottom"),insetBlockEnd:se.spaceT("insetBlockEnd"),left:se.spaceT("left"),insetInlineStart:se.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:se.spaceT("right"),insetInlineEnd:se.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Rv,{insetStart:Rv.insetInlineStart,insetEnd:Rv.insetInlineEnd});var pte={ring:{transform:hn.ring},ringColor:se.colors("--chakra-ring-color"),ringOffset:se.prop("--chakra-ring-offset-width"),ringOffsetColor:se.colors("--chakra-ring-offset-color"),ringInset:se.prop("--chakra-ring-inset")},ar={margin:se.spaceT("margin"),marginTop:se.spaceT("marginTop"),marginBlockStart:se.spaceT("marginBlockStart"),marginRight:se.spaceT("marginRight"),marginInlineEnd:se.spaceT("marginInlineEnd"),marginBottom:se.spaceT("marginBottom"),marginBlockEnd:se.spaceT("marginBlockEnd"),marginLeft:se.spaceT("marginLeft"),marginInlineStart:se.spaceT("marginInlineStart"),marginX:se.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:se.spaceT("marginInline"),marginY:se.spaceT(["marginTop","marginBottom"]),marginBlock:se.spaceT("marginBlock"),padding:se.space("padding"),paddingTop:se.space("paddingTop"),paddingBlockStart:se.space("paddingBlockStart"),paddingRight:se.space("paddingRight"),paddingBottom:se.space("paddingBottom"),paddingBlockEnd:se.space("paddingBlockEnd"),paddingLeft:se.space("paddingLeft"),paddingInlineStart:se.space("paddingInlineStart"),paddingInlineEnd:se.space("paddingInlineEnd"),paddingX:se.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:se.space("paddingInline"),paddingY:se.space(["paddingTop","paddingBottom"]),paddingBlock:se.space("paddingBlock")};Object.assign(ar,{m:ar.margin,mt:ar.marginTop,mr:ar.marginRight,me:ar.marginInlineEnd,marginEnd:ar.marginInlineEnd,mb:ar.marginBottom,ml:ar.marginLeft,ms:ar.marginInlineStart,marginStart:ar.marginInlineStart,mx:ar.marginX,my:ar.marginY,p:ar.padding,pt:ar.paddingTop,py:ar.paddingY,px:ar.paddingX,pb:ar.paddingBottom,pl:ar.paddingLeft,ps:ar.paddingInlineStart,paddingStart:ar.paddingInlineStart,pr:ar.paddingRight,pe:ar.paddingInlineEnd,paddingEnd:ar.paddingInlineEnd});var gte={textDecorationColor:se.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:se.shadows("textShadow")},mte={clipPath:!0,transform:se.propT("transform",hn.transform),transformOrigin:!0,translateX:se.spaceT("--chakra-translate-x"),translateY:se.spaceT("--chakra-translate-y"),skewX:se.degreeT("--chakra-skew-x"),skewY:se.degreeT("--chakra-skew-y"),scaleX:se.prop("--chakra-scale-x"),scaleY:se.prop("--chakra-scale-y"),scale:se.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:se.degreeT("--chakra-rotate")},vte={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:se.prop("transitionDuration","transition.duration"),transitionProperty:se.prop("transitionProperty","transition.property"),transitionTimingFunction:se.prop("transitionTimingFunction","transition.easing")},yte={fontFamily:se.prop("fontFamily","fonts"),fontSize:se.prop("fontSize","fontSizes",hn.px),fontWeight:se.prop("fontWeight","fontWeights"),lineHeight:se.prop("lineHeight","lineHeights"),letterSpacing:se.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},bte={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:se.spaceT("scrollMargin"),scrollMarginTop:se.spaceT("scrollMarginTop"),scrollMarginBottom:se.spaceT("scrollMarginBottom"),scrollMarginLeft:se.spaceT("scrollMarginLeft"),scrollMarginRight:se.spaceT("scrollMarginRight"),scrollMarginX:se.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:se.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:se.spaceT("scrollPadding"),scrollPaddingTop:se.spaceT("scrollPaddingTop"),scrollPaddingBottom:se.spaceT("scrollPaddingBottom"),scrollPaddingLeft:se.spaceT("scrollPaddingLeft"),scrollPaddingRight:se.spaceT("scrollPaddingRight"),scrollPaddingX:se.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:se.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function yj(e){return Us(e)&&e.reference?e.reference:String(e)}var mS=(e,...t)=>t.map(yj).join(` ${e} `).replace(/calc/g,""),mL=(...e)=>`calc(${mS("+",...e)})`,vL=(...e)=>`calc(${mS("-",...e)})`,e7=(...e)=>`calc(${mS("*",...e)})`,yL=(...e)=>`calc(${mS("/",...e)})`,bL=e=>{const t=yj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:e7(t,-1)},yh=Object.assign(e=>({add:(...t)=>yh(mL(e,...t)),subtract:(...t)=>yh(vL(e,...t)),multiply:(...t)=>yh(e7(e,...t)),divide:(...t)=>yh(yL(e,...t)),negate:()=>yh(bL(e)),toString:()=>e.toString()}),{add:mL,subtract:vL,multiply:e7,divide:yL,negate:bL});function Ste(e,t="-"){return e.replace(/\s+/g,t)}function xte(e){const t=Ste(e.toString());return Cte(wte(t))}function wte(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Cte(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function _te(e,t=""){return[t,e].filter(Boolean).join("-")}function kte(e,t){return`var(${e}${t?`, ${t}`:""})`}function Ete(e,t=""){return xte(`--${_te(e,t)}`)}function Hn(e,t,n){const r=Ete(e,n);return{variable:r,reference:kte(r,t)}}function Pte(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function Tte(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function t7(e){if(e==null)return e;const{unitless:t}=Tte(e);return t||typeof e=="number"?`${e}px`:e}var bj=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,v_=e=>Object.fromEntries(Object.entries(e).sort(bj));function SL(e){const t=v_(e);return Object.assign(Object.values(t),t)}function Lte(e){const t=Object.keys(v_(e));return new Set(t)}function xL(e){if(!e)return e;e=t7(e)??e;const t=e.endsWith("px")?-1:-.0625;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function mv(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${t7(e)})`),t&&n.push("and",`(max-width: ${t7(t)})`),n.join(" ")}function Ate(e){if(!e)return null;e.base=e.base??"0px";const t=SL(e),n=Object.entries(e).sort(bj).map(([o,a],s,l)=>{let[,u]=l[s+1]??[];return u=parseFloat(u)>0?xL(u):void 0,{_minW:xL(a),breakpoint:o,minW:a,maxW:u,maxWQuery:mv(null,u),minWQuery:mv(a),minMaxQuery:mv(a,u)}}),r=Lte(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(s=>r.has(s))},asObject:v_(e),asArray:SL(e),details:n,media:[null,...t.map(o=>mv(o)).slice(1)],toArrayValue(o){if(!Us(o))throw new Error("toArrayValue: value must be an object");const a=i.map(s=>o[s]??null);for(;Pte(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,s,l)=>{const u=i[l];return u!=null&&s!=null&&(a[u]=s),a},{})}}}var Fi={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},id=e=>Sj(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Nu=e=>Sj(t=>e(t,"~ &"),"[data-peer]",".peer"),Sj=(e,...t)=>t.map(e).join(", "),vS={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:id(Fi.hover),_peerHover:Nu(Fi.hover),_groupFocus:id(Fi.focus),_peerFocus:Nu(Fi.focus),_groupFocusVisible:id(Fi.focusVisible),_peerFocusVisible:Nu(Fi.focusVisible),_groupActive:id(Fi.active),_peerActive:Nu(Fi.active),_groupDisabled:id(Fi.disabled),_peerDisabled:Nu(Fi.disabled),_groupInvalid:id(Fi.invalid),_peerInvalid:Nu(Fi.invalid),_groupChecked:id(Fi.checked),_peerChecked:Nu(Fi.checked),_groupFocusWithin:id(Fi.focusWithin),_peerFocusWithin:Nu(Fi.focusWithin),_peerPlaceholderShown:Nu(Fi.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Ote=Object.keys(vS);function wL(e,t){return Hn(String(e).replace(/\./g,"-"),void 0,t)}function Mte(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:u}=wL(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const m=i.split("."),[v,...b]=m,S=`${v}.-${b.join(".")}`,k=yh.negate(s),E=yh.negate(u);r[S]={value:k,var:l,varRef:E}}n[l]=s,r[i]={value:s,var:l,varRef:u};continue}const d=m=>{const b=[String(i).split(".")[0],m].join(".");if(!e[b])return m;const{reference:k}=wL(b,t==null?void 0:t.cssVarPrefix);return k},h=Us(s)?s:{default:s};n=Wl(n,Object.entries(h).reduce((m,[v,b])=>{var S;const k=d(b);if(v==="default")return m[l]=k,m;const E=((S=vS)==null?void 0:S[v])??v;return m[E]={[l]:k},m},{})),r[i]={value:u,var:l,varRef:u}}return{cssVars:n,cssMap:r}}function Ite(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Rte(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var Dte=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Nte(e){return Rte(e,Dte)}function jte(e){return e.semanticTokens}function Bte(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function $te({tokens:e,semanticTokens:t}){const n=Object.entries(n7(e)??{}).map(([i,o])=>[i,{isSemantic:!1,value:o}]),r=Object.entries(n7(t,1)??{}).map(([i,o])=>[i,{isSemantic:!0,value:o}]);return Object.fromEntries([...n,...r])}function n7(e,t=1/0){return!Us(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(Us(i)||Array.isArray(i)?Object.entries(n7(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function Fte(e){var t;const n=Bte(e),r=Nte(n),i=jte(n),o=$te({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=Mte(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...l},__cssMap:s,__breakpoints:Ate(n.breakpoints)}),n}var y_=Wl({},n4,wn,ite,H4,Xa,ote,pte,ate,vj,hte,Rv,JC,ar,bte,yte,gte,mte,ste,vte),zte=Object.assign({},ar,Xa,H4,vj,Rv),Hte=Object.keys(zte),Vte=[...Object.keys(y_),...Ote],Wte={...y_,...vS},Ute=e=>e in Wte,Gte=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=xh(e[a],t);if(s==null)continue;if(s=Us(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let u=0;ue.startsWith("--")&&typeof t=="string"&&!Yte(t),Xte=(e,t)=>{if(t==null)return t;const n=a=>{var s,l;return(l=(s=e.__cssMap)==null?void 0:s[a])==null?void 0:l.varRef},r=a=>n(a)??a,[i,o]=qte(t);return t=n(i)??r(o)??r(t),t};function Zte(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var s;const l=xh(o,r),u=Gte(l)(r);let d={};for(let h in u){const m=u[h];let v=xh(m,r);h in n&&(h=n[h]),Kte(h,v)&&(v=Xte(r,v));let b=t[h];if(b===!0&&(b={property:h}),Us(v)){d[h]=d[h]??{},d[h]=Wl({},d[h],i(v,!0));continue}let S=((s=b==null?void 0:b.transform)==null?void 0:s.call(b,v,r,l))??v;S=b!=null&&b.processResult?i(S,!0):S;const k=xh(b==null?void 0:b.property,r);if(!a&&(b!=null&&b.static)){const E=xh(b.static,r);d=Wl({},d,E)}if(k&&Array.isArray(k)){for(const E of k)d[E]=S;continue}if(k){k==="&"&&Us(S)?d=Wl({},d,S):d[k]=S;continue}if(Us(S)){d=Wl({},d,S);continue}d[h]=S}return d};return i}var xj=e=>t=>Zte({theme:t,pseudos:vS,configs:y_})(e);function hr(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function Qte(e,t){if(Array.isArray(e))return e;if(Us(e))return t(e);if(e!=null)return[e]}function Jte(e,t){for(let n=t+1;n{Wl(u,{[T]:m?_[T]:{[E]:_[T]}})});continue}if(!v){m?Wl(u,_):u[E]=_;continue}u[E]=_}}return u}}function tne(e){return t=>{const{variant:n,size:r,theme:i}=t,o=ene(i);return Wl({},xh(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function nne(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function En(e){return Ite(e,["styleConfig","size","variant","colorScheme"])}function rne(e){if(e.sheet)return e.sheet;for(var t=0;t0?Wi(f0,--na):0,zm--,ii===10&&(zm=1,bS--),ii}function Pa(){return ii=na2||m2(ii)>3?"":" "}function gne(e,t){for(;--t&&Pa()&&!(ii<48||ii>102||ii>57&&ii<65||ii>70&&ii<97););return fy(e,r4()+(t<6&&Yl()==32&&Pa()==32))}function i7(e){for(;Pa();)switch(ii){case e:return na;case 34:case 39:e!==34&&e!==39&&i7(ii);break;case 40:e===41&&i7(e);break;case 92:Pa();break}return na}function mne(e,t){for(;Pa()&&e+ii!==47+10;)if(e+ii===42+42&&Yl()===47)break;return"/*"+fy(t,na-1)+"*"+yS(e===47?e:Pa())}function vne(e){for(;!m2(Yl());)Pa();return fy(e,na)}function yne(e){return Pj(o4("",null,null,null,[""],e=Ej(e),0,[0],e))}function o4(e,t,n,r,i,o,a,s,l){for(var u=0,d=0,h=a,m=0,v=0,b=0,S=1,k=1,E=1,_=0,T="",A=i,I=o,R=r,D=T;k;)switch(b=_,_=Pa()){case 40:if(b!=108&&Wi(D,h-1)==58){r7(D+=An(i4(_),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:D+=i4(_);break;case 9:case 10:case 13:case 32:D+=pne(b);break;case 92:D+=gne(r4()-1,7);continue;case 47:switch(Yl()){case 42:case 47:$3(bne(mne(Pa(),r4()),t,n),l);break;default:D+="/"}break;case 123*S:s[u++]=Bl(D)*E;case 125*S:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+d:v>0&&Bl(D)-h&&$3(v>32?_L(D+";",r,n,h-1):_L(An(D," ","")+";",r,n,h-2),l);break;case 59:D+=";";default:if($3(R=CL(D,t,n,u,d,i,s,T,A=[],I=[],h),o),_===123)if(d===0)o4(D,t,R,R,A,o,h,s,I);else switch(m===99&&Wi(D,3)===110?100:m){case 100:case 109:case 115:o4(e,R,R,r&&$3(CL(e,R,R,0,0,i,s,T,i,A=[],h),I),i,I,h,s,r?A:I);break;default:o4(D,R,R,R,[""],I,0,s,I)}}u=d=v=0,S=E=1,T=D="",h=a;break;case 58:h=1+Bl(D),v=b;default:if(S<1){if(_==123)--S;else if(_==125&&S++==0&&hne()==125)continue}switch(D+=yS(_),_*S){case 38:E=d>0?1:(D+="\f",-1);break;case 44:s[u++]=(Bl(D)-1)*E,E=1;break;case 64:Yl()===45&&(D+=i4(Pa())),m=Yl(),d=h=Bl(T=D+=vne(r4())),_++;break;case 45:b===45&&Bl(D)==2&&(S=0)}}return o}function CL(e,t,n,r,i,o,a,s,l,u,d){for(var h=i-1,m=i===0?o:[""],v=x_(m),b=0,S=0,k=0;b0?m[E]+" "+_:An(_,/&\f/g,m[E])))&&(l[k++]=T);return SS(e,t,n,i===0?b_:s,l,u,d)}function bne(e,t,n){return SS(e,t,n,wj,yS(fne()),g2(e,2,-2),0)}function _L(e,t,n,r){return SS(e,t,n,S_,g2(e,0,r),g2(e,r+1,-1),r)}function hm(e,t){for(var n="",r=x_(e),i=0;i6)switch(Wi(e,t+1)){case 109:if(Wi(e,t+4)!==45)break;case 102:return An(e,/(.+:)(.+)-([^]+)/,"$1"+Cn+"$2-$3$1"+V4+(Wi(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r7(e,"stretch")?Lj(An(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wi(e,t+1)!==115)break;case 6444:switch(Wi(e,Bl(e)-3-(~r7(e,"!important")&&10))){case 107:return An(e,":",":"+Cn)+e;case 101:return An(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Cn+(Wi(e,14)===45?"inline-":"")+"box$3$1"+Cn+"$2$3$1"+eo+"$2box$3")+e}break;case 5936:switch(Wi(e,t+11)){case 114:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Cn+e+eo+An(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Cn+e+eo+e+e}return e}var Tne=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case S_:t.return=Lj(t.value,t.length);break;case Cj:return hm([F1(t,{value:An(t.value,"@","@"+Cn)})],i);case b_:if(t.length)return dne(t.props,function(o){switch(cne(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hm([F1(t,{props:[An(o,/:(read-\w+)/,":"+V4+"$1")]})],i);case"::placeholder":return hm([F1(t,{props:[An(o,/:(plac\w+)/,":"+Cn+"input-$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,":"+V4+"$1")]}),F1(t,{props:[An(o,/:(plac\w+)/,eo+"input-$1")]})],i)}return""})}},Lne=[Tne],Aj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var k=S.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var i=t.stylisPlugins||Lne,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var k=S.getAttribute("data-emotion").split(" "),E=1;E=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zne={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hne=/[A-Z]|^ms/g,Vne=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nj=function(t){return t.charCodeAt(1)===45},PL=function(t){return t!=null&&typeof t!="boolean"},Gw=Tj(function(e){return Nj(e)?e:e.replace(Hne,"-$&").toLowerCase()}),TL=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vne,function(r,i,o){return $l={name:i,styles:o,next:$l},i})}return zne[t]!==1&&!Nj(t)&&typeof n=="number"&&n!==0?n+"px":n};function v2(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return $l={name:n.name,styles:n.styles,next:$l},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)$l={name:r.name,styles:r.styles,next:$l},r=r.next;var i=n.styles+";";return i}return Wne(e,t,n)}case"function":{if(e!==void 0){var o=$l,a=n(e);return $l=o,v2(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Wne(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i{t.includes(r)||(n[r]=e[r])}),n}function sre(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(i))return s.get(i);const l=e(r,i,o,a);return s.set(i,l),l}},Vj=lre(sre);function Wj(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var Uj=e=>Wj(e,t=>t!=null);function ure(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var cre=ure();function Gj(e,...t){return ore(e)?e(...t):e}function dre(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function fre(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=w.createContext(void 0);i.displayName=r;function o(){var a;const s=w.useContext(i);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,o),l}return s}return[i.Provider,o,i]}var hre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pre=Tj(function(e){return hre.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gre=pre,mre=function(t){return t!=="theme"},ML=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gre:mre},IL=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},vre=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Rj(n,r,i),Gne(function(){return Dj(n,r,i)}),null},yre=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=IL(t,n,r),l=s||ML(i),u=!l("as");return function(){var d=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,v=1;v[h,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([h,m])=>[h,m.className]))}function l(d){const v=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:v,selector:`.${v}`,toString:()=>d}}return{parts:i,toPart:l,extend:o,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}var Sre=On("accordion").parts("root","container","button","panel").extend("icon"),xre=On("alert").parts("title","description","container").extend("icon","spinner"),wre=On("avatar").parts("label","badge","container").extend("excessLabel","group"),Cre=On("breadcrumb").parts("link","item","container").extend("separator");On("button").parts();var _re=On("checkbox").parts("control","icon","container").extend("label");On("progress").parts("track","filledTrack").extend("label");var kre=On("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ere=On("editable").parts("preview","input","textarea"),Pre=On("form").parts("container","requiredIndicator","helperText"),Tre=On("formError").parts("text","icon"),Lre=On("input").parts("addon","field","element"),Are=On("list").parts("container","item","icon"),Ore=On("menu").parts("button","list","item").extend("groupTitle","command","divider"),Mre=On("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ire=On("numberinput").parts("root","field","stepperGroup","stepper");On("pininput").parts("field");var Rre=On("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Dre=On("progress").parts("label","filledTrack","track"),Nre=On("radio").parts("container","control","label"),jre=On("select").parts("field","icon"),Bre=On("slider").parts("container","track","thumb","filledTrack","mark"),$re=On("stat").parts("container","label","helpText","number","icon"),Fre=On("switch").parts("container","track","thumb"),zre=On("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Hre=On("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Vre=On("tag").parts("container","label","closeButton"),Wre=On("card").parts("container","header","body","footer");function Ui(e,t){Ure(e)&&(e="100%");var n=Gre(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function F3(e){return Math.min(1,Math.max(0,e))}function Ure(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Gre(e){return typeof e=="string"&&e.indexOf("%")!==-1}function qj(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function z3(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wh(e){return e.length===1?"0"+e:String(e)}function qre(e,t,n){return{r:Ui(e,255)*255,g:Ui(t,255)*255,b:Ui(n,255)*255}}function RL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Yre(e,t,n){var r,i,o;if(e=Ui(e,360),t=Ui(t,100),n=Ui(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=qw(s,a,e+1/3),i=qw(s,a,e),o=qw(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function DL(e,t,n){e=Ui(e,255),t=Ui(t,255),n=Ui(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,l=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var u7={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Jre(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=nie(e)),typeof e=="object"&&(ju(e.r)&&ju(e.g)&&ju(e.b)?(t=qre(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ju(e.h)&&ju(e.s)&&ju(e.v)?(r=z3(e.s),i=z3(e.v),t=Kre(e.h,r,i),a=!0,s="hsv"):ju(e.h)&&ju(e.s)&&ju(e.l)&&(r=z3(e.s),o=z3(e.l),t=Yre(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=qj(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var eie="[-\\+]?\\d+%?",tie="[-\\+]?\\d*\\.\\d+%?",xd="(?:".concat(tie,")|(?:").concat(eie,")"),Yw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Kw="[\\s|\\(]+(".concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")[,|\\s]+(").concat(xd,")\\s*\\)?"),Ds={CSS_UNIT:new RegExp(xd),rgb:new RegExp("rgb"+Yw),rgba:new RegExp("rgba"+Kw),hsl:new RegExp("hsl"+Yw),hsla:new RegExp("hsla"+Kw),hsv:new RegExp("hsv"+Yw),hsva:new RegExp("hsva"+Kw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nie(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(u7[e])e=u7[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ds.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ds.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ds.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ds.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ds.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ds.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ds.hex8.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),a:jL(n[4]),format:t?"name":"hex8"}:(n=Ds.hex6.exec(e),n?{r:Ca(n[1]),g:Ca(n[2]),b:Ca(n[3]),format:t?"name":"hex"}:(n=Ds.hex4.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),a:jL(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ds.hex3.exec(e),n?{r:Ca(n[1]+n[1]),g:Ca(n[2]+n[2]),b:Ca(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ju(e){return Boolean(Ds.CSS_UNIT.exec(String(e)))}var hy=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Qre(t)),this.originalInput=t;var i=Jre(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=qj(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=DL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=DL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=RL(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=RL(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NL(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Xre(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ui(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ui(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NL(this.r,this.g,this.b,!1),n=0,r=Object.entries(u7);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=F3(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=F3(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=F3(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=F3(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;an.length;)e.count=null,e.seed&&(e.seed+=1),n.push(Yj(e));return e.count=t,n}var r=rie(e.hue,e.seed),i=iie(r,e),o=oie(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new hy(a)}function rie(e,t){var n=sie(e),r=W4(n,t);return r<0&&(r=360+r),r}function iie(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return W4([0,100],t.seed);var n=Kj(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return W4([r,i],t.seed)}function oie(e,t,n){var r=aie(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return W4([r,i],n.seed)}function aie(e,t){for(var n=Kj(e).lowerBounds,r=0;r=i&&t<=a){var l=(s-o)/(a-i),u=o-l*i;return l*t+u}}return 0}function sie(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Zj.find(function(a){return a.name===e});if(n){var r=Xj(n);if(r.hueRange)return r.hueRange}var i=new hy(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Kj(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Zj;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function W4(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function Xj(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Zj=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];function lie(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;rObject.keys(e).length===0,_o=(e,t,n)=>{const r=lie(e,`colors.${t}`,t),{isValid:i}=new hy(r);return i?r:n},cie=e=>t=>{const n=_o(t,e);return new hy(n).isDark()?"dark":"light"},die=e=>t=>cie(e)(t)==="dark",Hm=(e,t)=>n=>{const r=_o(n,e);return new hy(r).setAlpha(t).toRgbString()};function BL(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( + 45deg, + ${t} 25%, + transparent 25%, + transparent 50%, + ${t} 50%, + ${t} 75%, + transparent 75%, + transparent + )`,backgroundSize:`${e} ${e}`}}function fie(e){const t=Yj().toHexString();return!e||uie(e)?t:e.string&&e.colors?pie(e.string,e.colors):e.string&&!e.colors?hie(e.string):e.colors&&!e.string?gie(e.colors):t}function hie(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r>r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function pie(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;rn.colorMode==="dark"?t:e}function P_(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function mie(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Qj(e){return mie(e)&&e.reference?e.reference:String(e)}var IS=(e,...t)=>t.map(Qj).join(` ${e} `).replace(/calc/g,""),$L=(...e)=>`calc(${IS("+",...e)})`,FL=(...e)=>`calc(${IS("-",...e)})`,c7=(...e)=>`calc(${IS("*",...e)})`,zL=(...e)=>`calc(${IS("/",...e)})`,HL=e=>{const t=Qj(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:c7(t,-1)},Vu=Object.assign(e=>({add:(...t)=>Vu($L(e,...t)),subtract:(...t)=>Vu(FL(e,...t)),multiply:(...t)=>Vu(c7(e,...t)),divide:(...t)=>Vu(zL(e,...t)),negate:()=>Vu(HL(e)),toString:()=>e.toString()}),{add:$L,subtract:FL,multiply:c7,divide:zL,negate:HL});function vie(e){return!Number.isInteger(parseFloat(e.toString()))}function yie(e,t="-"){return e.replace(/\s+/g,t)}function Jj(e){const t=yie(e.toString());return t.includes("\\.")?e:vie(e)?t.replace(".","\\."):e}function bie(e,t=""){return[t,Jj(e)].filter(Boolean).join("-")}function Sie(e,t){return`var(${Jj(e)}${t?`, ${t}`:""})`}function xie(e,t=""){return`--${bie(e,t)}`}function yi(e,t){const n=xie(e,t==null?void 0:t.prefix);return{variable:n,reference:Sie(n,wie(t==null?void 0:t.fallback))}}function wie(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{definePartsStyle:Cie,defineMultiStyleConfig:_ie}=hr(Sre.keys),kie={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},Eie={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},Pie={pt:"2",px:"4",pb:"5"},Tie={fontSize:"1.25em"},Lie=Cie({container:kie,button:Eie,panel:Pie,icon:Tie}),Aie=_ie({baseStyle:Lie}),{definePartsStyle:py,defineMultiStyleConfig:Oie}=hr(xre.keys),Ta=Hn("alert-fg"),Qu=Hn("alert-bg"),Mie=py({container:{bg:Qu.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ta.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function T_(e){const{theme:t,colorScheme:n}=e,r=Hm(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}var Iie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark}}}}),Rie=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ta.reference}}}),Die=py(e=>{const{colorScheme:t}=e,n=T_(e);return{container:{[Ta.variable]:`colors.${t}.500`,[Qu.variable]:n.light,_dark:{[Ta.variable]:`colors.${t}.200`,[Qu.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ta.reference}}}),Nie=py(e=>{const{colorScheme:t}=e;return{container:{[Ta.variable]:"colors.white",[Qu.variable]:`colors.${t}.500`,_dark:{[Ta.variable]:"colors.gray.900",[Qu.variable]:`colors.${t}.200`},color:Ta.reference}}}),jie={subtle:Iie,"left-accent":Rie,"top-accent":Die,solid:Nie},Bie=Oie({baseStyle:Mie,variants:jie,defaultProps:{variant:"subtle",colorScheme:"blue"}}),eB={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},$ie={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},Fie={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},zie={...eB,...$ie,container:Fie},tB=zie,Hie=e=>typeof e=="function";function Po(e,...t){return Hie(e)?e(...t):e}var{definePartsStyle:nB,defineMultiStyleConfig:Vie}=hr(wre.keys),pm=Hn("avatar-border-color"),Xw=Hn("avatar-bg"),Wie={borderRadius:"full",border:"0.2em solid",[pm.variable]:"white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference},Uie={[Xw.variable]:"colors.gray.200",_dark:{[Xw.variable]:"colors.whiteAlpha.400"},bgColor:Xw.reference},VL=Hn("avatar-background"),Gie=e=>{const{name:t,theme:n}=e,r=t?fie({string:t}):"colors.gray.400",i=die(r)(n);let o="white";return i||(o="gray.800"),{bg:VL.reference,"&:not([data-loaded])":{[VL.variable]:r},color:o,[pm.variable]:"colors.white",_dark:{[pm.variable]:"colors.gray.800"},borderColor:pm.reference,verticalAlign:"top"}},qie=nB(e=>({badge:Po(Wie,e),excessLabel:Po(Uie,e),container:Po(Gie,e)}));function od(e){const t=e!=="100%"?tB[e]:void 0;return nB({container:{width:e,height:e,fontSize:`calc(${t??e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${t??e} / 2.5)`,lineHeight:e!=="100%"?t??e:void 0}})}var Yie={"2xs":od(4),xs:od(6),sm:od(8),md:od(12),lg:od(16),xl:od(24),"2xl":od(32),full:od("100%")},Kie=Vie({baseStyle:qie,sizes:Yie,defaultProps:{size:"md"}}),Xie={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},gm=Hn("badge-bg"),Ul=Hn("badge-color"),Zie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.500`,.6)(n);return{[gm.variable]:`colors.${t}.500`,[Ul.variable]:"colors.white",_dark:{[gm.variable]:r,[Ul.variable]:"colors.whiteAlpha.800"},bg:gm.reference,color:Ul.reference}},Qie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.16)(n);return{[gm.variable]:`colors.${t}.100`,[Ul.variable]:`colors.${t}.800`,_dark:{[gm.variable]:r,[Ul.variable]:`colors.${t}.200`},bg:gm.reference,color:Ul.reference}},Jie=e=>{const{colorScheme:t,theme:n}=e,r=Hm(`${t}.200`,.8)(n);return{[Ul.variable]:`colors.${t}.500`,_dark:{[Ul.variable]:r},color:Ul.reference,boxShadow:`inset 0 0 0px 1px ${Ul.reference}`}},eoe={solid:Zie,subtle:Qie,outline:Jie},Nv={baseStyle:Xie,variants:eoe,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:toe,definePartsStyle:noe}=hr(Cre.keys),roe={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},ioe=noe({link:roe}),ooe=toe({baseStyle:ioe}),aoe={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},rB=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:Et("inherit","whiteAlpha.900")(e),_hover:{bg:Et("gray.100","whiteAlpha.200")(e)},_active:{bg:Et("gray.200","whiteAlpha.300")(e)}};const r=Hm(`${t}.200`,.12)(n),i=Hm(`${t}.200`,.24)(n);return{color:Et(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Et(`${t}.50`,r)(e)},_active:{bg:Et(`${t}.100`,i)(e)}}},soe=e=>{const{colorScheme:t}=e,n=Et("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached] > &:not(:last-of-type)":{marginEnd:"-1px"},...Po(rB,e)}},loe={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},uoe=e=>{const{colorScheme:t}=e;if(t==="gray"){const s=Et("gray.100","whiteAlpha.200")(e);return{bg:s,_hover:{bg:Et("gray.200","whiteAlpha.300")(e),_disabled:{bg:s}},_active:{bg:Et("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:i=`${t}.600`,activeBg:o=`${t}.700`}=loe[t]??{},a=Et(n,`${t}.200`)(e);return{bg:a,color:Et(r,"gray.800")(e),_hover:{bg:Et(i,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Et(o,`${t}.400`)(e)}}},coe=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Et(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Et(`${t}.700`,`${t}.500`)(e)}}},doe={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},foe={ghost:rB,outline:soe,solid:uoe,link:coe,unstyled:doe},hoe={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},poe={baseStyle:aoe,variants:foe,sizes:hoe,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Ah,defineMultiStyleConfig:goe}=hr(Wre.keys),U4=Hn("card-bg"),mm=Hn("card-padding"),moe=Ah({container:{[U4.variable]:"chakra-body-bg",backgroundColor:U4.reference,color:"chakra-body-text"},body:{padding:mm.reference,flex:"1 1 0%"},header:{padding:mm.reference},footer:{padding:mm.reference}}),voe={sm:Ah({container:{borderRadius:"base",[mm.variable]:"space.3"}}),md:Ah({container:{borderRadius:"md",[mm.variable]:"space.5"}}),lg:Ah({container:{borderRadius:"xl",[mm.variable]:"space.7"}})},yoe={elevated:Ah({container:{boxShadow:"base",_dark:{[U4.variable]:"colors.gray.700"}}}),outline:Ah({container:{borderWidth:"1px",borderColor:"chakra-border-color"}}),filled:Ah({container:{[U4.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{padding:0},header:{padding:0},footer:{padding:0}}},boe=goe({baseStyle:moe,variants:yoe,sizes:voe,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:a4,defineMultiStyleConfig:Soe}=hr(_re.keys),jv=Hn("checkbox-size"),xoe=e=>{const{colorScheme:t}=e;return{w:jv.reference,h:jv.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e),_hover:{bg:Et(`${t}.600`,`${t}.300`)(e),borderColor:Et(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Et("gray.200","transparent")(e),bg:Et("gray.200","whiteAlpha.300")(e),color:Et("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Et(`${t}.500`,`${t}.200`)(e),borderColor:Et(`${t}.500`,`${t}.200`)(e),color:Et("white","gray.900")(e)},_disabled:{bg:Et("gray.100","whiteAlpha.100")(e),borderColor:Et("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Et("red.500","red.300")(e)}}},woe={_disabled:{cursor:"not-allowed"}},Coe={userSelect:"none",_disabled:{opacity:.4}},_oe={transitionProperty:"transform",transitionDuration:"normal"},koe=a4(e=>({icon:_oe,container:woe,control:Po(xoe,e),label:Coe})),Eoe={sm:a4({control:{[jv.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:a4({control:{[jv.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:a4({control:{[jv.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},G4=Soe({baseStyle:koe,sizes:Eoe,defaultProps:{size:"md",colorScheme:"blue"}}),Bv=yi("close-button-size"),z1=yi("close-button-bg"),Poe={w:[Bv.reference],h:[Bv.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[z1.variable]:"colors.blackAlpha.100",_dark:{[z1.variable]:"colors.whiteAlpha.100"}},_active:{[z1.variable]:"colors.blackAlpha.200",_dark:{[z1.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:z1.reference},Toe={lg:{[Bv.variable]:"sizes.10",fontSize:"md"},md:{[Bv.variable]:"sizes.8",fontSize:"xs"},sm:{[Bv.variable]:"sizes.6",fontSize:"2xs"}},Loe={baseStyle:Poe,sizes:Toe,defaultProps:{size:"md"}},{variants:Aoe,defaultProps:Ooe}=Nv,Moe={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},Ioe={baseStyle:Moe,variants:Aoe,defaultProps:Ooe},Roe={w:"100%",mx:"auto",maxW:"prose",px:"4"},Doe={baseStyle:Roe},Noe={opacity:.6,borderColor:"inherit"},joe={borderStyle:"solid"},Boe={borderStyle:"dashed"},$oe={solid:joe,dashed:Boe},Foe={baseStyle:Noe,variants:$oe,defaultProps:{variant:"solid"}},{definePartsStyle:d7,defineMultiStyleConfig:zoe}=hr(kre.keys),Zw=Hn("drawer-bg"),Qw=Hn("drawer-box-shadow");function xg(e){return d7(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var Hoe={bg:"blackAlpha.600",zIndex:"overlay"},Voe={display:"flex",zIndex:"modal",justifyContent:"center"},Woe=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Zw.variable]:"colors.white",[Qw.variable]:"shadows.lg",_dark:{[Zw.variable]:"colors.gray.700",[Qw.variable]:"shadows.dark-lg"},bg:Zw.reference,boxShadow:Qw.reference}},Uoe={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Goe={position:"absolute",top:"2",insetEnd:"3"},qoe={px:"6",py:"2",flex:"1",overflow:"auto"},Yoe={px:"6",py:"4"},Koe=d7(e=>({overlay:Hoe,dialogContainer:Voe,dialog:Po(Woe,e),header:Uoe,closeButton:Goe,body:qoe,footer:Yoe})),Xoe={xs:xg("xs"),sm:xg("md"),md:xg("lg"),lg:xg("2xl"),xl:xg("4xl"),full:xg("full")},Zoe=zoe({baseStyle:Koe,sizes:Xoe,defaultProps:{size:"xs"}}),{definePartsStyle:Qoe,defineMultiStyleConfig:Joe}=hr(Ere.keys),eae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},tae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},nae={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},rae=Qoe({preview:eae,input:tae,textarea:nae}),iae=Joe({baseStyle:rae}),{definePartsStyle:oae,defineMultiStyleConfig:aae}=hr(Pre.keys),vm=Hn("form-control-color"),sae={marginStart:"1",[vm.variable]:"colors.red.500",_dark:{[vm.variable]:"colors.red.300"},color:vm.reference},lae={mt:"2",[vm.variable]:"colors.gray.600",_dark:{[vm.variable]:"colors.whiteAlpha.600"},color:vm.reference,lineHeight:"normal",fontSize:"sm"},uae=oae({container:{width:"100%",position:"relative"},requiredIndicator:sae,helperText:lae}),cae=aae({baseStyle:uae}),{definePartsStyle:dae,defineMultiStyleConfig:fae}=hr(Tre.keys),ym=Hn("form-error-color"),hae={[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},pae={marginEnd:"0.5em",[ym.variable]:"colors.red.500",_dark:{[ym.variable]:"colors.red.300"},color:ym.reference},gae=dae({text:hae,icon:pae}),mae=fae({baseStyle:gae}),vae={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},yae={baseStyle:vae},bae={fontFamily:"heading",fontWeight:"bold"},Sae={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},xae={baseStyle:bae,sizes:Sae,defaultProps:{size:"xl"}},{definePartsStyle:Wu,defineMultiStyleConfig:wae}=hr(Lre.keys),Cae=Wu({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),ad={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}},_ae={lg:Wu({field:ad.lg,addon:ad.lg}),md:Wu({field:ad.md,addon:ad.md}),sm:Wu({field:ad.sm,addon:ad.sm}),xs:Wu({field:ad.xs,addon:ad.xs})};function L_(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Et("blue.500","blue.300")(e),errorBorderColor:n||Et("red.500","red.300")(e)}}var kae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Et("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r),boxShadow:`0 0 0 1px ${_o(t,r)}`},_focusVisible:{zIndex:1,borderColor:_o(t,n),boxShadow:`0 0 0 1px ${_o(t,n)}`}},addon:{border:"1px solid",borderColor:Et("inherit","whiteAlpha.50")(e),bg:Et("gray.100","whiteAlpha.300")(e)}}}),Eae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e),_hover:{bg:Et("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r)},_focusVisible:{bg:"transparent",borderColor:_o(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Et("gray.100","whiteAlpha.50")(e)}}}),Pae=Wu(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=L_(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:_o(t,r),boxShadow:`0px 1px 0px 0px ${_o(t,r)}`},_focusVisible:{borderColor:_o(t,n),boxShadow:`0px 1px 0px 0px ${_o(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Tae=Wu({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),Lae={outline:kae,filled:Eae,flushed:Pae,unstyled:Tae},_n=wae({baseStyle:Cae,sizes:_ae,variants:Lae,defaultProps:{size:"md",variant:"outline"}}),Jw=Hn("kbd-bg"),Aae={[Jw.variable]:"colors.gray.100",_dark:{[Jw.variable]:"colors.whiteAlpha.100"},bg:Jw.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},Oae={baseStyle:Aae},Mae={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},Iae={baseStyle:Mae},{defineMultiStyleConfig:Rae,definePartsStyle:Dae}=hr(Are.keys),Nae={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},jae=Dae({icon:Nae}),Bae=Rae({baseStyle:jae}),{defineMultiStyleConfig:$ae,definePartsStyle:Fae}=hr(Ore.keys),jl=Hn("menu-bg"),e6=Hn("menu-shadow"),zae={[jl.variable]:"#fff",[e6.variable]:"shadows.sm",_dark:{[jl.variable]:"colors.gray.700",[e6.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:jl.reference,boxShadow:e6.reference},Hae={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_active:{[jl.variable]:"colors.gray.200",_dark:{[jl.variable]:"colors.whiteAlpha.200"}},_expanded:{[jl.variable]:"colors.gray.100",_dark:{[jl.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:jl.reference},Vae={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},Wae={opacity:.6},Uae={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},Gae={transitionProperty:"common",transitionDuration:"normal"},qae=Fae({button:Gae,list:zae,item:Hae,groupTitle:Vae,command:Wae,divider:Uae}),Yae=$ae({baseStyle:qae}),{defineMultiStyleConfig:Kae,definePartsStyle:f7}=hr(Mre.keys),Xae={bg:"blackAlpha.600",zIndex:"modal"},Zae=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},Qae=e=>{const{scrollBehavior:t}=e;return{borderRadius:"md",bg:Et("white","gray.700")(e),color:"inherit",my:"16",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:Et("lg","dark-lg")(e)}},Jae={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},ese={position:"absolute",top:"2",insetEnd:"3"},tse=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},nse={px:"6",py:"4"},rse=f7(e=>({overlay:Xae,dialogContainer:Po(Zae,e),dialog:Po(Qae,e),header:Jae,closeButton:ese,body:Po(tse,e),footer:nse}));function Os(e){return f7(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var ise={xs:Os("xs"),sm:Os("sm"),md:Os("md"),lg:Os("lg"),xl:Os("xl"),"2xl":Os("2xl"),"3xl":Os("3xl"),"4xl":Os("4xl"),"5xl":Os("5xl"),"6xl":Os("6xl"),full:Os("full")},ose=Kae({baseStyle:rse,sizes:ise,defaultProps:{size:"md"}}),ase={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},iB=ase,{defineMultiStyleConfig:sse,definePartsStyle:oB}=hr(Ire.keys),A_=yi("number-input-stepper-width"),aB=yi("number-input-input-padding"),lse=Vu(A_).add("0.5rem").toString(),t6=yi("number-input-bg"),n6=yi("number-input-color"),r6=yi("number-input-border-color"),use={[A_.variable]:"sizes.6",[aB.variable]:lse},cse=e=>{var t;return((t=Po(_n.baseStyle,e))==null?void 0:t.field)??{}},dse={width:A_.reference},fse={borderStart:"1px solid",borderStartColor:r6.reference,color:n6.reference,bg:t6.reference,[n6.variable]:"colors.chakra-body-text",[r6.variable]:"colors.chakra-border-color",_dark:{[n6.variable]:"colors.whiteAlpha.800",[r6.variable]:"colors.whiteAlpha.300"},_active:{[t6.variable]:"colors.gray.200",_dark:{[t6.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},hse=oB(e=>({root:use,field:Po(cse,e)??{},stepperGroup:dse,stepper:fse}));function H3(e){var t,n;const r=(t=_n.sizes)==null?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=((n=r.field)==null?void 0:n.fontSize)??"md",a=iB.fontSizes[o];return oB({field:{...r.field,paddingInlineEnd:aB.reference,verticalAlign:"top"},stepper:{fontSize:Vu(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var pse={xs:H3("xs"),sm:H3("sm"),md:H3("md"),lg:H3("lg")},gse=sse({baseStyle:hse,sizes:pse,variants:_n.variants,defaultProps:_n.defaultProps}),WL,mse={...(WL=_n.baseStyle)==null?void 0:WL.field,textAlign:"center"},vse={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},UL,yse={outline:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=Po((t=_n.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((UL=_n.variants)==null?void 0:UL.unstyled.field)??{}},bse={baseStyle:mse,sizes:vse,variants:yse,defaultProps:_n.defaultProps},{defineMultiStyleConfig:Sse,definePartsStyle:xse}=hr(Rre.keys),V3=yi("popper-bg"),wse=yi("popper-arrow-bg"),GL=yi("popper-arrow-shadow-color"),Cse={zIndex:10},_se={[V3.variable]:"colors.white",bg:V3.reference,[wse.variable]:V3.reference,[GL.variable]:"colors.gray.200",_dark:{[V3.variable]:"colors.gray.700",[GL.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},kse={px:3,py:2,borderBottomWidth:"1px"},Ese={px:3,py:2},Pse={px:3,py:2,borderTopWidth:"1px"},Tse={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Lse=xse({popper:Cse,content:_se,header:kse,body:Ese,footer:Pse,closeButton:Tse}),Ase=Sse({baseStyle:Lse}),{defineMultiStyleConfig:Ose,definePartsStyle:vv}=hr(Dre.keys),Mse=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=Et(BL(),BL("1rem","rgba(0,0,0,0.1)"))(e),a=Et(`${t}.500`,`${t}.200`)(e),s=`linear-gradient( + to right, + transparent 0%, + ${_o(n,a)} 50%, + transparent 100% + )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},Ise={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Rse=e=>({bg:Et("gray.100","whiteAlpha.300")(e)}),Dse=e=>({transitionProperty:"common",transitionDuration:"slow",...Mse(e)}),Nse=vv(e=>({label:Ise,filledTrack:Dse(e),track:Rse(e)})),jse={xs:vv({track:{h:"1"}}),sm:vv({track:{h:"2"}}),md:vv({track:{h:"3"}}),lg:vv({track:{h:"4"}})},Bse=Ose({sizes:jse,baseStyle:Nse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:$se,definePartsStyle:s4}=hr(Nre.keys),Fse=e=>{var t;const n=(t=Po(G4.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},zse=s4(e=>{var t,n,r,i;return{label:(n=(t=G4).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=G4).baseStyle)==null?void 0:i.call(r,e).container,control:Fse(e)}}),Hse={md:s4({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:s4({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:s4({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Vse=$se({baseStyle:zse,sizes:Hse,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Wse,definePartsStyle:Use}=hr(jre.keys),W3=Hn("select-bg"),qL,Gse={...(qL=_n.baseStyle)==null?void 0:qL.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:W3.reference,[W3.variable]:"colors.white",_dark:{[W3.variable]:"colors.gray.700"},"> option, > optgroup":{bg:W3.reference}},qse={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},Yse=Use({field:Gse,icon:qse}),U3={paddingInlineEnd:"8"},YL,KL,XL,ZL,QL,JL,eA,tA,Kse={lg:{...(YL=_n.sizes)==null?void 0:YL.lg,field:{...(KL=_n.sizes)==null?void 0:KL.lg.field,...U3}},md:{...(XL=_n.sizes)==null?void 0:XL.md,field:{...(ZL=_n.sizes)==null?void 0:ZL.md.field,...U3}},sm:{...(QL=_n.sizes)==null?void 0:QL.sm,field:{...(JL=_n.sizes)==null?void 0:JL.sm.field,...U3}},xs:{...(eA=_n.sizes)==null?void 0:eA.xs,field:{...(tA=_n.sizes)==null?void 0:tA.xs.field,...U3},icon:{insetEnd:"1"}}},Xse=Wse({baseStyle:Yse,sizes:Kse,variants:_n.variants,defaultProps:_n.defaultProps}),i6=Hn("skeleton-start-color"),o6=Hn("skeleton-end-color"),Zse={[i6.variable]:"colors.gray.100",[o6.variable]:"colors.gray.400",_dark:{[i6.variable]:"colors.gray.800",[o6.variable]:"colors.gray.600"},background:i6.reference,borderColor:o6.reference,opacity:.7,borderRadius:"sm"},Qse={baseStyle:Zse},a6=Hn("skip-link-bg"),Jse={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[a6.variable]:"colors.white",_dark:{[a6.variable]:"colors.gray.700"},bg:a6.reference}},ele={baseStyle:Jse},{defineMultiStyleConfig:tle,definePartsStyle:RS}=hr(Bre.keys),S2=Hn("slider-thumb-size"),x2=Hn("slider-track-size"),vd=Hn("slider-bg"),nle=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...P_({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},rle=e=>({...P_({orientation:e.orientation,horizontal:{h:x2.reference},vertical:{w:x2.reference}}),overflow:"hidden",borderRadius:"sm",[vd.variable]:"colors.gray.200",_dark:{[vd.variable]:"colors.whiteAlpha.200"},_disabled:{[vd.variable]:"colors.gray.300",_dark:{[vd.variable]:"colors.whiteAlpha.300"}},bg:vd.reference}),ile=e=>{const{orientation:t}=e;return{...P_({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:S2.reference,h:S2.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},ole=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[vd.variable]:`colors.${t}.500`,_dark:{[vd.variable]:`colors.${t}.200`},bg:vd.reference}},ale=RS(e=>({container:nle(e),track:rle(e),thumb:ile(e),filledTrack:ole(e)})),sle=RS({container:{[S2.variable]:"sizes.4",[x2.variable]:"sizes.1"}}),lle=RS({container:{[S2.variable]:"sizes.3.5",[x2.variable]:"sizes.1"}}),ule=RS({container:{[S2.variable]:"sizes.2.5",[x2.variable]:"sizes.0.5"}}),cle={lg:sle,md:lle,sm:ule},dle=tle({baseStyle:ale,sizes:cle,defaultProps:{size:"md",colorScheme:"blue"}}),bh=yi("spinner-size"),fle={width:[bh.reference],height:[bh.reference]},hle={xs:{[bh.variable]:"sizes.3"},sm:{[bh.variable]:"sizes.4"},md:{[bh.variable]:"sizes.6"},lg:{[bh.variable]:"sizes.8"},xl:{[bh.variable]:"sizes.12"}},ple={baseStyle:fle,sizes:hle,defaultProps:{size:"md"}},{defineMultiStyleConfig:gle,definePartsStyle:sB}=hr($re.keys),mle={fontWeight:"medium"},vle={opacity:.8,marginBottom:"2"},yle={verticalAlign:"baseline",fontWeight:"semibold"},ble={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},Sle=sB({container:{},label:mle,helpText:vle,number:yle,icon:ble}),xle={md:sB({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},wle=gle({baseStyle:Sle,sizes:xle,defaultProps:{size:"md"}}),{defineMultiStyleConfig:Cle,definePartsStyle:l4}=hr(Fre.keys),$v=yi("switch-track-width"),Oh=yi("switch-track-height"),s6=yi("switch-track-diff"),_le=Vu.subtract($v,Oh),h7=yi("switch-thumb-x"),H1=yi("switch-bg"),kle=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[$v.reference],height:[Oh.reference],transitionProperty:"common",transitionDuration:"fast",[H1.variable]:"colors.gray.300",_dark:{[H1.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[H1.variable]:`colors.${t}.500`,_dark:{[H1.variable]:`colors.${t}.200`}},bg:H1.reference}},Ele={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oh.reference],height:[Oh.reference],_checked:{transform:`translateX(${h7.reference})`}},Ple=l4(e=>({container:{[s6.variable]:_le,[h7.variable]:s6.reference,_rtl:{[h7.variable]:Vu(s6).negate().toString()}},track:kle(e),thumb:Ele})),Tle={sm:l4({container:{[$v.variable]:"1.375rem",[Oh.variable]:"sizes.3"}}),md:l4({container:{[$v.variable]:"1.875rem",[Oh.variable]:"sizes.4"}}),lg:l4({container:{[$v.variable]:"2.875rem",[Oh.variable]:"sizes.6"}})},Lle=Cle({baseStyle:Ple,sizes:Tle,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ale,definePartsStyle:bm}=hr(zre.keys),Ole=bm({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),q4={"&[data-is-numeric=true]":{textAlign:"end"}},Mle=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Ile=bm(e=>{const{colorScheme:t}=e;return{th:{color:Et("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},td:{borderBottom:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e),...q4},caption:{color:Et("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Et(`${t}.100`,`${t}.700`)(e)},td:{background:Et(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Rle={simple:Mle,striped:Ile,unstyled:{}},Dle={sm:bm({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:bm({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:bm({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},Nle=Ale({baseStyle:Ole,variants:Rle,sizes:Dle,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Ko=Hn("tabs-color"),Fs=Hn("tabs-bg"),G3=Hn("tabs-border-color"),{defineMultiStyleConfig:jle,definePartsStyle:Kl}=hr(Hre.keys),Ble=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},$le=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Fle=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},zle={p:4},Hle=Kl(e=>({root:Ble(e),tab:$le(e),tablist:Fle(e),tabpanel:zle})),Vle={sm:Kl({tab:{py:1,px:4,fontSize:"sm"}}),md:Kl({tab:{fontSize:"md",py:2,px:4}}),lg:Kl({tab:{fontSize:"lg",py:3,px:4}})},Wle=Kl(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[Ko.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Fs.variable]:"colors.gray.200",_dark:{[Fs.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ko.reference,bg:Fs.reference}}}),Ule=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[G3.reference]:"transparent",_selected:{[Ko.variable]:`colors.${t}.600`,[G3.variable]:"colors.white",_dark:{[Ko.variable]:`colors.${t}.300`,[G3.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:G3.reference},color:Ko.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Gle=Kl(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Fs.variable]:"colors.gray.50",_dark:{[Fs.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Fs.variable]:"colors.white",[Ko.variable]:`colors.${t}.600`,_dark:{[Fs.variable]:"colors.gray.800",[Ko.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ko.reference,bg:Fs.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),qle=Kl(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:_o(n,`${t}.700`),bg:_o(n,`${t}.100`)}}}}),Yle=Kl(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ko.variable]:"colors.gray.600",_dark:{[Ko.variable]:"inherit"},_selected:{[Ko.variable]:"colors.white",[Fs.variable]:`colors.${t}.600`,_dark:{[Ko.variable]:"colors.gray.800",[Fs.variable]:`colors.${t}.300`}},color:Ko.reference,bg:Fs.reference}}}),Kle=Kl({}),Xle={line:Wle,enclosed:Ule,"enclosed-colored":Gle,"soft-rounded":qle,"solid-rounded":Yle,unstyled:Kle},Zle=jle({baseStyle:Hle,sizes:Vle,variants:Xle,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Qle,definePartsStyle:Mh}=hr(Vre.keys),Jle={fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},eue={lineHeight:1.2,overflow:"visible"},tue={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},nue=Mh({container:Jle,label:eue,closeButton:tue}),rue={sm:Mh({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Mh({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Mh({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},iue={subtle:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.subtle(e)}}),solid:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.solid(e)}}),outline:Mh(e=>{var t;return{container:(t=Nv.variants)==null?void 0:t.outline(e)}})},oue=Qle({variants:iue,baseStyle:nue,sizes:rue,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),nA,aue={...(nA=_n.baseStyle)==null?void 0:nA.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},rA,sue={outline:e=>{var t;return((t=_n.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=_n.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=_n.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((rA=_n.variants)==null?void 0:rA.unstyled.field)??{}},iA,oA,aA,sA,lue={xs:((iA=_n.sizes)==null?void 0:iA.xs.field)??{},sm:((oA=_n.sizes)==null?void 0:oA.sm.field)??{},md:((aA=_n.sizes)==null?void 0:aA.md.field)??{},lg:((sA=_n.sizes)==null?void 0:sA.lg.field)??{}},uue={baseStyle:aue,sizes:lue,variants:sue,defaultProps:{size:"md",variant:"outline"}},q3=yi("tooltip-bg"),l6=yi("tooltip-fg"),cue=yi("popper-arrow-bg"),due={bg:q3.reference,color:l6.reference,[q3.variable]:"colors.gray.700",[l6.variable]:"colors.whiteAlpha.900",_dark:{[q3.variable]:"colors.gray.300",[l6.variable]:"colors.gray.900"},[cue.variable]:q3.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},fue={baseStyle:due},hue={Accordion:Aie,Alert:Bie,Avatar:Kie,Badge:Nv,Breadcrumb:ooe,Button:poe,Checkbox:G4,CloseButton:Loe,Code:Ioe,Container:Doe,Divider:Foe,Drawer:Zoe,Editable:iae,Form:cae,FormError:mae,FormLabel:yae,Heading:xae,Input:_n,Kbd:Oae,Link:Iae,List:Bae,Menu:Yae,Modal:ose,NumberInput:gse,PinInput:bse,Popover:Ase,Progress:Bse,Radio:Vse,Select:Xse,Skeleton:Qse,SkipLink:ele,Slider:dle,Spinner:ple,Stat:wle,Switch:Lle,Table:Nle,Tabs:Zle,Tag:oue,Textarea:uue,Tooltip:fue,Card:boe},pue={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},gue=pue,mue={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},vue=mue,yue={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},bue=yue,Sue={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},xue=Sue,wue={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Cue=wue,_ue={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},kue={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Eue={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},Pue={property:_ue,easing:kue,duration:Eue},Tue=Pue,Lue={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},Aue=Lue,Oue={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Mue=Oue,Iue={breakpoints:vue,zIndices:Aue,radii:xue,blur:Mue,colors:bue,...iB,sizes:tB,shadows:Cue,space:eB,borders:gue,transition:Tue},Rue={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Due={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},Nue="ltr",jue={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Bue={semanticTokens:Rue,direction:Nue,...Iue,components:hue,styles:Due,config:jue},$ue=typeof Element<"u",Fue=typeof Map=="function",zue=typeof Set=="function",Hue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function u4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!u4(e[r],t[r]))return!1;return!0}var o;if(Fue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!u4(r.value[1],t.get(r.value[0])))return!1;return!0}if(zue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Hue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if($ue&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!u4(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var Vue=function(t,n){try{return u4(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function h0(){const e=w.useContext(y2);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function lB(){const e=dy(),t=h0();return{...e,theme:t}}function Wue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__breakpoints)==null?void 0:o.asArray)==null?void 0:a[i]};return r(t)??r(n)??n}function Uue(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function Gue(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),s=r.map((l,u)=>{if(e==="breakpoints")return Wue(o,l,a[u]??l);const d=`${e}.${l}`;return Uue(o,d,a[u]??l)});return Array.isArray(t)?s:s[0]}}function que(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=w.useMemo(()=>Fte(n),[n]);return N.createElement(Xne,{theme:i},N.createElement(Yue,{root:t}),r)}function Yue({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return N.createElement(OS,{styles:n=>({[t]:n.__cssVars})})}fre({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function Kue(){const{colorMode:e}=dy();return N.createElement(OS,{styles:t=>{const n=Vj(t,"styles.global"),r=Gj(n,{theme:t,colorMode:e});return r?xj(r)(t):void 0}})}var Xue=new Set([...Vte,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Zue=new Set(["htmlWidth","htmlHeight","htmlSize"]);function Que(e){return Zue.has(e)||!Xue.has(e)}var Jue=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=Wj(a,(h,m)=>Ute(m)),l=Gj(e,t),u=Object.assign({},i,l,Uj(s),o),d=xj(u)(t.theme);return r?[d,r]:d};function u6(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Que);const i=Jue({baseStyle:n}),o=l7(e,r)(i);return N.forwardRef(function(l,u){const{colorMode:d,forced:h}=dy();return N.createElement(o,{ref:u,"data-theme":h?d:void 0,...l})})}function Ae(e){return w.forwardRef(e)}function uB(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=lB(),a=e?Vj(i,`components.${e}`):void 0,s=n||a,l=Wl({theme:i,colorMode:o},(s==null?void 0:s.defaultProps)??{},Uj(are(r,["children"]))),u=w.useRef({});if(s){const h=tne(s)(l);Vue(u.current,h)||(u.current=h)}return u.current}function Ao(e,t={}){return uB(e,t)}function Yi(e,t={}){return uB(e,t)}function ece(){const e=new Map;return new Proxy(u6,{apply(t,n,r){return u6(...r)},get(t,n){return e.has(n)||e.set(n,u6(n)),e.get(n)}})}var Ce=ece();function tce(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Mn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o}=e,a=w.createContext(void 0);a.displayName=t;function s(){var l;const u=w.useContext(a);if(!u&&n){const d=new Error(o??tce(r,i));throw d.name="ContextError",(l=Error.captureStackTrace)==null||l.call(Error,d,s),d}return u}return[a.Provider,s,a]}function nce(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function qn(...e){return t=>{e.forEach(n=>{nce(n,t)})}}function rce(...e){return w.useMemo(()=>qn(...e),e)}function lA(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var ice=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function uA(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function cA(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var p7=typeof window<"u"?w.useLayoutEffect:w.useEffect,Y4=e=>e,oce=class{constructor(){an(this,"descendants",new Map);an(this,"register",e=>{if(e!=null)return ice(e)?this.registerNode(e):t=>{this.registerNode(t,e)}});an(this,"unregister",e=>{this.descendants.delete(e);const t=lA(Array.from(this.descendants.keys()));this.assignIndex(t)});an(this,"destroy",()=>{this.descendants.clear()});an(this,"assignIndex",e=>{this.descendants.forEach(t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()})});an(this,"count",()=>this.descendants.size);an(this,"enabledCount",()=>this.enabledValues().length);an(this,"values",()=>Array.from(this.descendants.values()).sort((t,n)=>t.index-n.index));an(this,"enabledValues",()=>this.values().filter(e=>!e.disabled));an(this,"item",e=>{if(this.count()!==0)return this.values()[e]});an(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]});an(this,"first",()=>this.item(0));an(this,"firstEnabled",()=>this.enabledItem(0));an(this,"last",()=>this.item(this.descendants.size-1));an(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)});an(this,"indexOf",e=>{var t;return e?((t=this.descendants.get(e))==null?void 0:t.index)??-1:-1});an(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e)));an(this,"next",(e,t=!0)=>{const n=uA(e,this.count(),t);return this.item(n)});an(this,"nextEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=uA(r,this.enabledCount(),t);return this.enabledItem(i)});an(this,"prev",(e,t=!0)=>{const n=cA(e,this.count()-1,t);return this.item(n)});an(this,"prevEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=cA(r,this.enabledCount()-1,t);return this.enabledItem(i)});an(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const n=Array.from(this.descendants.keys()).concat(e),r=lA(n);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(r)})}};function ace(){const e=w.useRef(new oce);return p7(()=>()=>e.current.destroy()),e.current}var[sce,cB]=Mn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function lce(e){const t=cB(),[n,r]=w.useState(-1),i=w.useRef(null);p7(()=>()=>{i.current&&t.unregister(i.current)},[]),p7(()=>{if(!i.current)return;const a=Number(i.current.dataset.index);n!=a&&!Number.isNaN(a)&&r(a)});const o=Y4(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:qn(o,i)}}function dB(){return[Y4(sce),()=>Y4(cB()),()=>ace(),i=>lce(i)]}var Qr=(...e)=>e.filter(Boolean).join(" "),dA={path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Da=Ae((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:s,__css:l,...u}=e,d=Qr("chakra-icon",s),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l},m={ref:t,focusable:o,className:d,__css:h},v=r??dA.viewBox;if(n&&typeof n!="string")return N.createElement(Ce.svg,{as:n,...m,...u});const b=a??dA.path;return N.createElement(Ce.svg,{verticalAlign:"middle",viewBox:v,...m,...u},b)});Da.displayName="Icon";function yt(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=w.Children.toArray(e.path),a=Ae((s,l)=>N.createElement(Da,{ref:l,viewBox:t,...i,...s},o.length?o:N.createElement("path",{fill:"currentColor",d:n})));return a.displayName=r,a}function Er(e,t=[]){const n=w.useRef(e);return w.useEffect(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function DS(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(m,v)=>m!==v}=e,o=Er(r),a=Er(i),[s,l]=w.useState(n),u=t!==void 0,d=u?t:s,h=Er(m=>{const b=typeof m=="function"?m(d):m;a(d,b)&&(u||l(b),o(b))},[u,o,d,a]);return[d,h]}const O_=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),NS=w.createContext({});function uce(){return w.useContext(NS).visualElement}const p0=w.createContext(null),np=typeof document<"u",K4=np?w.useLayoutEffect:w.useEffect,fB=w.createContext({strict:!1});function cce(e,t,n,r){const i=uce(),o=w.useContext(fB),a=w.useContext(p0),s=w.useContext(O_).reducedMotion,l=w.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;return K4(()=>{u&&u.render()}),w.useEffect(()=>{u&&u.animationState&&u.animationState.animateChanges()}),K4(()=>()=>u&&u.notify("Unmount"),[]),u}function Hg(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dce(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Hg(n)&&(n.current=r))},[t])}function w2(e){return typeof e=="string"||Array.isArray(e)}function jS(e){return typeof e=="object"&&typeof e.start=="function"}const fce=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function BS(e){return jS(e.animate)||fce.some(t=>w2(e[t]))}function hB(e){return Boolean(BS(e)||e.variants)}function hce(e,t){if(BS(e)){const{initial:n,animate:r}=e;return{initial:n===!1||w2(n)?n:void 0,animate:w2(r)?r:void 0}}return e.inherit!==!1?t:{}}function pce(e){const{initial:t,animate:n}=hce(e,w.useContext(NS));return w.useMemo(()=>({initial:t,animate:n}),[fA(t),fA(n)])}function fA(e){return Array.isArray(e)?e.join(" "):e}const Bu=e=>({isEnabled:t=>e.some(n=>!!t[n])}),C2={measureLayout:Bu(["layout","layoutId","drag"]),animation:Bu(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Bu(["exit"]),drag:Bu(["drag","dragControls"]),focus:Bu(["whileFocus"]),hover:Bu(["whileHover","onHoverStart","onHoverEnd"]),tap:Bu(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Bu(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Bu(["whileInView","onViewportEnter","onViewportLeave"])};function gce(e){for(const t in e)t==="projectionNodeConstructor"?C2.projectionNodeConstructor=e[t]:C2[t].Component=e[t]}function $S(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let mce=1;function vce(){return $S(()=>{if(Fv.hasEverUpdated)return mce++})}const M_=w.createContext({});class yce extends N.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const pB=w.createContext({}),bce=Symbol.for("motionComponentSymbol");function Sce({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&gce(e);function a(l,u){const d={...w.useContext(O_),...l,layoutId:xce(l)},{isStatic:h}=d;let m=null;const v=pce(l),b=h?void 0:vce(),S=i(l,h);if(!h&&np){v.visualElement=cce(o,S,d,t);const k=w.useContext(fB).strict,E=w.useContext(pB);v.visualElement&&(m=v.visualElement.loadFeatures(d,k,e,b,n||C2.projectionNodeConstructor,E))}return w.createElement(yce,{visualElement:v.visualElement,props:d},m,w.createElement(NS.Provider,{value:v},r(o,l,b,dce(S,v.visualElement,u),S,h,v.visualElement)))}const s=w.forwardRef(a);return s[bce]=o,s}function xce({layoutId:e}){const t=w.useContext(M_).id;return t&&e!==void 0?t+"-"+e:e}function wce(e){function t(r,i={}){return Sce(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Cce=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function I_(e){return typeof e!="string"||e.includes("-")?!1:!!(Cce.indexOf(e)>-1||/[A-Z]/.test(e))}const X4={};function _ce(e){Object.assign(X4,e)}const Z4=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g0=new Set(Z4);function gB(e,{layout:t,layoutId:n}){return g0.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!X4[e]||e==="opacity")}const ou=e=>!!(e!=null&&e.getVelocity),kce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ece=(e,t)=>Z4.indexOf(e)-Z4.indexOf(t);function Pce({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(Ece);for(const s of t)a+=`${kce[s]||s}(${e[s]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function mB(e){return e.startsWith("--")}const Tce=(e,t)=>t&&typeof e=="number"?t.transform(e):e,vB=(e,t)=>n=>Math.max(Math.min(n,t),e),zv=e=>e%1?Number(e.toFixed(5)):e,_2=/(-)?([\d]*\.?[\d])+/g,g7=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Lce=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function gy(e){return typeof e=="string"}const rp={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Hv=Object.assign(Object.assign({},rp),{transform:vB(0,1)}),Y3=Object.assign(Object.assign({},rp),{default:1}),my=e=>({test:t=>gy(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),cd=my("deg"),Xl=my("%"),Lt=my("px"),Ace=my("vh"),Oce=my("vw"),hA=Object.assign(Object.assign({},Xl),{parse:e=>Xl.parse(e)/100,transform:e=>Xl.transform(e*100)}),R_=(e,t)=>n=>Boolean(gy(n)&&Lce.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yB=(e,t,n)=>r=>{if(!gy(r))return r;const[i,o,a,s]=r.match(_2);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Ch={test:R_("hsl","hue"),parse:yB("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xl.transform(zv(t))+", "+Xl.transform(zv(n))+", "+zv(Hv.transform(r))+")"},Mce=vB(0,255),c6=Object.assign(Object.assign({},rp),{transform:e=>Math.round(Mce(e))}),wd={test:R_("rgb","red"),parse:yB("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+c6.transform(e)+", "+c6.transform(t)+", "+c6.transform(n)+", "+zv(Hv.transform(r))+")"};function Ice(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const m7={test:R_("#"),parse:Ice,transform:wd.transform},xo={test:e=>wd.test(e)||m7.test(e)||Ch.test(e),parse:e=>wd.test(e)?wd.parse(e):Ch.test(e)?Ch.parse(e):m7.parse(e),transform:e=>gy(e)?e:e.hasOwnProperty("red")?wd.transform(e):Ch.transform(e)},bB="${c}",SB="${n}";function Rce(e){var t,n,r,i;return isNaN(e)&&gy(e)&&((n=(t=e.match(_2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(g7))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function xB(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(g7);r&&(n=r.length,e=e.replace(g7,bB),t.push(...r.map(xo.parse)));const i=e.match(_2);return i&&(e=e.replace(_2,SB),t.push(...i.map(rp.parse))),{values:t,numColors:n,tokenised:e}}function wB(e){return xB(e).values}function CB(e){const{values:t,numColors:n,tokenised:r}=xB(e),i=t.length;return o=>{let a=r;for(let s=0;stypeof e=="number"?0:e;function Nce(e){const t=wB(e);return CB(e)(t.map(Dce))}const Ju={test:Rce,parse:wB,createTransformer:CB,getAnimatableNone:Nce},jce=new Set(["brightness","contrast","saturate","opacity"]);function Bce(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(_2)||[];if(!r)return e;const i=n.replace(r,"");let o=jce.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const $ce=/([a-z-]*)\(.*?\)/g,v7=Object.assign(Object.assign({},Ju),{getAnimatableNone:e=>{const t=e.match($ce);return t?t.map(Bce).join(" "):e}}),pA={...rp,transform:Math.round},_B={borderWidth:Lt,borderTopWidth:Lt,borderRightWidth:Lt,borderBottomWidth:Lt,borderLeftWidth:Lt,borderRadius:Lt,radius:Lt,borderTopLeftRadius:Lt,borderTopRightRadius:Lt,borderBottomRightRadius:Lt,borderBottomLeftRadius:Lt,width:Lt,maxWidth:Lt,height:Lt,maxHeight:Lt,size:Lt,top:Lt,right:Lt,bottom:Lt,left:Lt,padding:Lt,paddingTop:Lt,paddingRight:Lt,paddingBottom:Lt,paddingLeft:Lt,margin:Lt,marginTop:Lt,marginRight:Lt,marginBottom:Lt,marginLeft:Lt,rotate:cd,rotateX:cd,rotateY:cd,rotateZ:cd,scale:Y3,scaleX:Y3,scaleY:Y3,scaleZ:Y3,skew:cd,skewX:cd,skewY:cd,distance:Lt,translateX:Lt,translateY:Lt,translateZ:Lt,x:Lt,y:Lt,z:Lt,perspective:Lt,transformPerspective:Lt,opacity:Hv,originX:hA,originY:hA,originZ:Lt,zIndex:pA,fillOpacity:Hv,strokeOpacity:Hv,numOctaves:pA};function D_(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:l}=e;s.length=0;let u=!1,d=!1,h=!0;for(const m in t){const v=t[m];if(mB(m)){o[m]=v;continue}const b=_B[m],S=Tce(v,b);if(g0.has(m)){if(u=!0,a[m]=S,s.push(m),!h)continue;v!==(b.default||0)&&(h=!1)}else m.startsWith("origin")?(d=!0,l[m]=S):i[m]=S}if(t.transform||(u||r?i.transform=Pce(e,n,h,r):i.transform&&(i.transform="none")),d){const{originX:m="50%",originY:v="50%",originZ:b=0}=l;i.transformOrigin=`${m} ${v} ${b}`}}const N_=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function kB(e,t,n){for(const r in t)!ou(t[r])&&!gB(r,n)&&(e[r]=t[r])}function Fce({transformTemplate:e},t,n){return w.useMemo(()=>{const r=N_();return D_(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function zce(e,t,n){const r=e.style||{},i={};return kB(i,r,e),Object.assign(i,Fce(e,t,n)),e.transformValues?e.transformValues(i):i}function Hce(e,t,n){const r={},i=zce(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const Vce=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],Wce=["whileTap","onTap","onTapStart","onTapCancel"],Uce=["onPan","onPanStart","onPanSessionStart","onPanEnd"],Gce=["whileInView","onViewportEnter","onViewportLeave","viewport"],qce=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...Gce,...Wce,...Vce,...Uce]);function Q4(e){return qce.has(e)}let EB=e=>!Q4(e);function Yce(e){e&&(EB=t=>t.startsWith("on")?!Q4(t):e(t))}try{Yce(require("@emotion/is-prop-valid").default)}catch{}function Kce(e,t,n){const r={};for(const i in e)(EB(i)||n===!0&&Q4(i)||!t&&!Q4(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function gA(e,t,n){return typeof e=="string"?e:Lt.transform(t+n*e)}function Xce(e,t,n){const r=gA(t,e.x,e.width),i=gA(n,e.y,e.height);return`${r} ${i}`}const Zce={offset:"stroke-dashoffset",array:"stroke-dasharray"},Qce={offset:"strokeDashoffset",array:"strokeDasharray"};function Jce(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Zce:Qce;e[o.offset]=Lt.transform(-r);const a=Lt.transform(t),s=Lt.transform(n);e[o.array]=`${a} ${s}`}function j_(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,d){D_(e,l,u,d),e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:v}=e;h.transform&&(v&&(m.transform=h.transform),delete h.transform),v&&(r!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=Xce(v,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),o!==void 0&&Jce(h,o,a,s,!1)}const PB=()=>({...N_(),attrs:{}});function ede(e,t){const n=w.useMemo(()=>{const r=PB();return j_(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};kB(r,e.style,e),n.style={...r,...n.style}}return n}function tde(e=!1){return(n,r,i,o,{latestValues:a},s)=>{const u=(I_(n)?ede:Hce)(r,a,s),h={...Kce(r,typeof n=="string",e),...u,ref:o};return i&&(h["data-projection-id"]=i),w.createElement(n,h)}}const TB=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function LB(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const AB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function OB(e,t,n,r){LB(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(AB.has(i)?i:TB(i),t.attrs[i])}function B_(e){const{style:t}=e,n={};for(const r in t)(ou(t[r])||gB(r,e))&&(n[r]=t[r]);return n}function MB(e){const t=B_(e);for(const n in e)if(ou(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function $_(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const k2=e=>Array.isArray(e),nde=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),IB=e=>k2(e)?e[e.length-1]||0:e;function c4(e){const t=ou(e)?e.get():e;return nde(t)?t.toValue():t}function rde({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:ide(r,i,o,e),renderState:t()};return n&&(a.mount=s=>n(r,s,a)),a}const RB=e=>(t,n)=>{const r=w.useContext(NS),i=w.useContext(p0),o=()=>rde(e,t,r,i);return n?o():$S(o)};function ide(e,t,n,r){const i={},o=r(e);for(const m in o)i[m]=c4(o[m]);let{initial:a,animate:s}=e;const l=BS(e),u=hB(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const h=d?s:a;return h&&typeof h!="boolean"&&!jS(h)&&(Array.isArray(h)?h:[h]).forEach(v=>{const b=$_(e,v);if(!b)return;const{transitionEnd:S,transition:k,...E}=b;for(const _ in E){let T=E[_];if(Array.isArray(T)){const A=d?T.length-1:0;T=T[A]}T!==null&&(i[_]=T)}for(const _ in S)i[_]=S[_]}),i}const ode={useVisualState:RB({scrapeMotionValuesFromProps:MB,createRenderState:PB,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}j_(n,r,{enableHardwareAcceleration:!1},e.transformTemplate),OB(t,n)}})},ade={useVisualState:RB({scrapeMotionValuesFromProps:B_,createRenderState:N_})};function sde(e,{forwardMotionProps:t=!1},n,r,i){return{...I_(e)?ode:ade,preloadedFeatures:n,useRender:tde(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var tr;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(tr||(tr={}));function FS(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function y7(e,t,n,r){w.useEffect(()=>{const i=e.current;if(n&&i)return FS(i,t,n,r)},[e,t,n,r])}function lde({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(tr.Focus,!0)},i=()=>{n&&n.setActive(tr.Focus,!1)};y7(t,"focus",e?r:void 0),y7(t,"blur",e?i:void 0)}function DB(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function NB(e){return!!e.touches}function ude(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const cde={pageX:0,pageY:0};function dde(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||cde;return{x:r[t+"X"],y:r[t+"Y"]}}function fde(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function F_(e,t="page"){return{point:NB(e)?dde(e,t):fde(e,t)}}const jB=(e,t=!1)=>{const n=r=>e(r,F_(r));return t?ude(n):n},hde=()=>np&&window.onpointerdown===null,pde=()=>np&&window.ontouchstart===null,gde=()=>np&&window.onmousedown===null,mde={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},vde={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function BB(e){return hde()?e:pde()?vde[e]:gde()?mde[e]:e}function Sm(e,t,n,r){return FS(e,BB(t),jB(n,t==="pointerdown"),r)}function J4(e,t,n,r){return y7(e,BB(t),n&&jB(n,t==="pointerdown"),r)}function $B(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const mA=$B("dragHorizontal"),vA=$B("dragVertical");function FB(e){let t=!1;if(e==="y")t=vA();else if(e==="x")t=mA();else{const n=mA(),r=vA();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function zB(){const e=FB(!0);return e?(e(),!1):!0}function yA(e,t,n){return(r,i)=>{!DB(r)||zB()||(e.animationState&&e.animationState.setActive(tr.Hover,t),n&&n(r,i))}}function yde({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){J4(r,"pointerenter",e||n?yA(r,!0,e):void 0,{passive:!e}),J4(r,"pointerleave",t||n?yA(r,!1,t):void 0,{passive:!t})}const HB=(e,t)=>t?e===t?!0:HB(e,t.parentElement):!1;function z_(e){return w.useEffect(()=>()=>e(),[])}function VB(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),d6=.001,Sde=.01,bA=10,xde=.05,wde=1;function Cde({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;bde(e<=bA*1e3);let a=1-t;a=t5(xde,wde,a),e=t5(Sde,bA,e/1e3),a<1?(i=u=>{const d=u*a,h=d*e,m=d-n,v=b7(u,a),b=Math.exp(-h);return d6-m/v*b},o=u=>{const h=u*a*e,m=h*n+n,v=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-h),S=b7(Math.pow(u,2),a);return(-i(u)+d6>0?-1:1)*((m-v)*b)/S}):(i=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-d6+d*h},o=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const s=5/e,l=kde(i,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const _de=12;function kde(e,t,n){let r=n;for(let i=1;i<_de;i++)r=r-e(r)/t(r);return r}function b7(e,t){return e*Math.sqrt(1-t*t)}const Ede=["duration","bounce"],Pde=["stiffness","damping","mass"];function SA(e,t){return t.some(n=>e[n]!==void 0)}function Tde(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!SA(e,Pde)&&SA(e,Ede)){const n=Cde(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function H_(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=VB(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=Tde(o),v=xA,b=xA;function S(){const k=d?-(d/1e3):0,E=n-t,_=l/(2*Math.sqrt(s*u)),T=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const A=b7(T,_);v=I=>{const R=Math.exp(-_*T*I);return n-R*((k+_*T*E)/A*Math.sin(A*I)+E*Math.cos(A*I))},b=I=>{const R=Math.exp(-_*T*I);return _*T*R*(Math.sin(A*I)*(k+_*T*E)/A+E*Math.cos(A*I))-R*(Math.cos(A*I)*(k+_*T*E)-A*E*Math.sin(A*I))}}else if(_===1)v=A=>n-Math.exp(-T*A)*(E+(k+T*E)*A);else{const A=T*Math.sqrt(_*_-1);v=I=>{const R=Math.exp(-_*T*I),D=Math.min(A*I,300);return n-R*((k+_*T*E)*Math.sinh(D)+A*E*Math.cosh(D))/A}}}return S(),{next:k=>{const E=v(k);if(m)a.done=k>=h;else{const _=b(k)*1e3,T=Math.abs(_)<=r,A=Math.abs(n-E)<=i;a.done=T&&A}return a.value=a.done?n:E,a},flipTarget:()=>{d=-d,[t,n]=[n,t],S()}}}H_.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const xA=e=>0,E2=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Fr=(e,t,n)=>-n*e+n*t+e;function f6(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=f6(l,s,e+1/3),o=f6(l,s,e),a=f6(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const Lde=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Ade=[m7,wd,Ch],CA=e=>Ade.find(t=>t.test(e)),WB=(e,t)=>{let n=CA(e),r=CA(t),i=n.parse(e),o=r.parse(t);n===Ch&&(i=wA(i),n=wd),r===Ch&&(o=wA(o),r=wd);const a=Object.assign({},i);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Lde(i[l],o[l],s));return a.alpha=Fr(i.alpha,o.alpha,s),n.transform(a)}},S7=e=>typeof e=="number",Ode=(e,t)=>n=>t(e(n)),zS=(...e)=>e.reduce(Ode);function UB(e,t){return S7(e)?n=>Fr(e,t,n):xo.test(e)?WB(e,t):qB(e,t)}const GB=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>UB(o,t[a]));return o=>{for(let a=0;a{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=UB(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function _A(e){const t=Ju.parse(e),n=t.length;let r=0,i=0,o=0;for(let a=0;a{const n=Ju.createTransformer(t),r=_A(e),i=_A(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?zS(GB(r.parsed,i.parsed),n):a=>`${a>0?t:e}`},Ide=(e,t)=>n=>Fr(e,t,n);function Rde(e){if(typeof e=="number")return Ide;if(typeof e=="string")return xo.test(e)?WB:qB;if(Array.isArray(e))return GB;if(typeof e=="object")return Mde}function Dde(e,t,n){const r=[],i=n||Rde(e[0]),o=e.length-1;for(let a=0;an(E2(e,t,r))}function jde(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let l=1;for(;li||l===r);l++);o=l-1}const s=E2(e[o],e[o+1],i);return t[o](s)}}function YB(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;e5(o===t.length),e5(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Dde(t,r,i),s=o===2?Nde(e,a):jde(e,a);return n?l=>s(t5(e[0],e[o-1],l)):s}const HS=e=>t=>1-e(1-t),V_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bde=e=>t=>Math.pow(t,e),KB=e=>t=>t*t*((e+1)*t-e),$de=e=>{const t=KB(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},XB=1.525,Fde=4/11,zde=8/11,Hde=9/10,W_=e=>e,U_=Bde(2),Vde=HS(U_),ZB=V_(U_),QB=e=>1-Math.sin(Math.acos(e)),G_=HS(QB),Wde=V_(G_),q_=KB(XB),Ude=HS(q_),Gde=V_(q_),qde=$de(XB),Yde=4356/361,Kde=35442/1805,Xde=16061/1805,n5=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-n5(1-e*2)):.5*n5(e*2-1)+.5;function Jde(e,t){return e.map(()=>t||ZB).splice(0,e.length-1)}function efe(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function tfe(e,t){return e.map(n=>n*t)}function d4({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=tfe(r&&r.length===a.length?r:efe(a),i);function l(){return YB(s,a,{ease:Array.isArray(n)?n:Jde(a,n)})}let u=l();return{next:d=>(o.value=u(d),o.done=d>=i,o),flipTarget:()=>{a.reverse(),u=l()}}}function nfe({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:d=>{const h=-s*Math.exp(-d/r);return a.done=!(h>i||h<-i),a.value=a.done?u:u+h,a},flipTarget:()=>{}}}const kA={keyframes:d4,spring:H_,decay:nfe};function rfe(e){if(Array.isArray(e.to))return d4;if(kA[e.type])return kA[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?d4:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?H_:d4}const JB=1/60*1e3,ife=typeof performance<"u"?()=>performance.now():()=>Date.now(),e$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ife()),JB);function ofe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=ofe(()=>P2=!0),e),{}),sfe=vy.reduce((e,t)=>{const n=VS[t];return e[t]=(r,i=!1,o=!1)=>(P2||cfe(),n.schedule(r,i,o)),e},{}),lfe=vy.reduce((e,t)=>(e[t]=VS[t].cancel,e),{});vy.reduce((e,t)=>(e[t]=()=>VS[t].process(xm),e),{});const ufe=e=>VS[e].process(xm),t$=e=>{P2=!1,xm.delta=x7?JB:Math.max(Math.min(e-xm.timestamp,afe),1),xm.timestamp=e,w7=!0,vy.forEach(ufe),w7=!1,P2&&(x7=!1,e$(t$))},cfe=()=>{P2=!0,x7=!0,w7||e$(t$)},dfe=()=>xm;function n$(e,t,n=0){return e-t-n}function ffe(e,t,n=0,r=!0){return r?n$(t+-e,t,n):t-(e-t)+n}function hfe(e,t,n,r){return r?e>=t+n:e<=-n}const pfe=e=>{const t=({delta:n})=>e(n);return{start:()=>sfe.update(t,!0),stop:()=>lfe.update(t)}};function r$(e){var t,n,{from:r,autoplay:i=!0,driver:o=pfe,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:d,onStop:h,onComplete:m,onRepeat:v,onUpdate:b}=e,S=VB(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:k}=S,E,_=0,T=S.duration,A,I=!1,R=!0,D;const j=rfe(S);!((n=(t=j).needsInterpolation)===null||n===void 0)&&n.call(t,r,k)&&(D=YB([0,100],[r,k],{clamp:!1}),r=0,k=100);const z=j(Object.assign(Object.assign({},S),{from:r,to:k}));function V(){_++,l==="reverse"?(R=_%2===0,a=ffe(a,T,u,R)):(a=n$(a,T,u),l==="mirror"&&z.flipTarget()),I=!1,v&&v()}function K(){E.stop(),m&&m()}function te($){if(R||($=-$),a+=$,!I){const U=z.next(Math.max(0,a));A=U.value,D&&(A=D(A)),I=R?U.done:a<=0}b==null||b(A),I&&(_===0&&(T??(T=a)),_{h==null||h(),E.stop()}}}function i$(e,t){return t?e*(1e3/t):0}function gfe({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:h,onComplete:m,onStop:v}){let b;function S(T){return n!==void 0&&Tr}function k(T){return n===void 0?r:r===void 0||Math.abs(n-T){var I;h==null||h(A),(I=T.onUpdate)===null||I===void 0||I.call(T,A)},onComplete:m,onStop:v}))}function _(T){E(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},T))}if(S(e))_({from:e,velocity:t,to:k(e)});else{let T=i*t+e;typeof u<"u"&&(T=u(T));const A=k(T),I=A===n?-1:1;let R,D;const j=z=>{R=D,D=z,t=i$(z-R,dfe().delta),(I===1&&z>A||I===-1&&zb==null?void 0:b.stop()}}const C7=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),EA=e=>C7(e)&&e.hasOwnProperty("z"),K3=(e,t)=>Math.abs(e-t);function Y_(e,t){if(S7(e)&&S7(t))return K3(e,t);if(C7(e)&&C7(t)){const n=K3(e.x,t.x),r=K3(e.y,t.y),i=EA(e)&&EA(t)?K3(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const o$=(e,t)=>1-3*t+3*e,a$=(e,t)=>3*t-6*e,s$=e=>3*e,r5=(e,t,n)=>((o$(t,n)*e+a$(t,n))*e+s$(t))*e,l$=(e,t,n)=>3*o$(t,n)*e*e+2*a$(t,n)*e+s$(t),mfe=1e-7,vfe=10;function yfe(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=r5(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>mfe&&++s=Sfe?xfe(a,h,e,n):m===0?h:yfe(a,s,s+X3,e,n)}return a=>a===0||a===1?a:r5(o(a),t,r)}function Cfe({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(!1),s=w.useRef(null),l={passive:!(t||e||n||v)};function u(){s.current&&s.current(),s.current=null}function d(){return u(),a.current=!1,i.animationState&&i.animationState.setActive(tr.Tap,!1),!zB()}function h(b,S){d()&&(HB(i.current,b.target)?e&&e(b,S):n&&n(b,S))}function m(b,S){d()&&n&&n(b,S)}function v(b,S){u(),!a.current&&(a.current=!0,s.current=zS(Sm(window,"pointerup",h,l),Sm(window,"pointercancel",m,l)),i.animationState&&i.animationState.setActive(tr.Tap,!0),t&&t(b,S))}J4(i,"pointerdown",o?v:void 0,l),z_(u)}const _fe="production",u$=typeof process>"u"||process.env===void 0?_fe:"production",PA=new Set;function c$(e,t,n){e||PA.has(t)||(console.warn(t),n&&console.warn(n),PA.add(t))}const _7=new WeakMap,h6=new WeakMap,kfe=e=>{const t=_7.get(e.target);t&&t(e)},Efe=e=>{e.forEach(kfe)};function Pfe({root:e,...t}){const n=e||document;h6.has(n)||h6.set(n,{});const r=h6.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Efe,{root:e,...t})),r[i]}function Tfe(e,t,n){const r=Pfe(t);return _7.set(e,n),r.observe(e),()=>{_7.delete(e),r.unobserve(e)}}function Lfe({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=w.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?Mfe:Ofe)(a,o.current,e,i)}const Afe={some:0,all:1};function Ofe(e,t,n,{root:r,margin:i,amount:o="some",once:a}){w.useEffect(()=>{if(!e||!n.current)return;const s={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:Afe[o]},l=u=>{const{isIntersecting:d}=u;if(t.isInView===d||(t.isInView=d,a&&!d&&t.hasEnteredView))return;d&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(tr.InView,d);const h=n.getProps(),m=d?h.onViewportEnter:h.onViewportLeave;m&&m(u)};return Tfe(n.current,s,l)},[e,r,i,o])}function Mfe(e,t,n,{fallback:r=!0}){w.useEffect(()=>{!e||!r||(u$!=="production"&&c$(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(tr.InView,!0)}))},[e])}const Cd=e=>t=>(e(t),null),Ife={inView:Cd(Lfe),tap:Cd(Cfe),focus:Cd(lde),hover:Cd(yde)};function K_(){const e=w.useContext(p0);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Rfe(){return Dfe(w.useContext(p0))}function Dfe(e){return e===null?!0:e.isPresent}function d$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;re*1e3,Nfe={linear:W_,easeIn:U_,easeInOut:ZB,easeOut:Vde,circIn:QB,circInOut:Wde,circOut:G_,backIn:q_,backInOut:Gde,backOut:Ude,anticipate:qde,bounceIn:Zde,bounceInOut:Qde,bounceOut:n5},TA=e=>{if(Array.isArray(e)){e5(e.length===4);const[t,n,r,i]=e;return wfe(t,n,r,i)}else if(typeof e=="string")return Nfe[e];return e},jfe=e=>Array.isArray(e)&&typeof e[0]!="number",LA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ju.test(t)&&!t.startsWith("url(")),rh=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Z3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),p6=()=>({type:"keyframes",ease:"linear",duration:.3}),Bfe=e=>({type:"keyframes",duration:.8,values:e}),AA={x:rh,y:rh,z:rh,rotate:rh,rotateX:rh,rotateY:rh,rotateZ:rh,scaleX:Z3,scaleY:Z3,scale:Z3,opacity:p6,backgroundColor:p6,color:p6,default:Z3},$fe=(e,t)=>{let n;return k2(t)?n=Bfe:n=AA[e]||AA.default,{to:t,...n(t)}},Ffe={..._B,color:xo,backgroundColor:xo,outlineColor:xo,fill:xo,stroke:xo,borderColor:xo,borderTopColor:xo,borderRightColor:xo,borderBottomColor:xo,borderLeftColor:xo,filter:v7,WebkitFilter:v7},X_=e=>Ffe[e];function Z_(e,t){var n;let r=X_(e);return r!==v7&&(r=Ju),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const zfe={current:!1},f$=1/60*1e3,Hfe=typeof performance<"u"?()=>performance.now():()=>Date.now(),h$=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Hfe()),f$);function Vfe(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(l,u=!1,d=!1)=>{const h=d&&i,m=h?t:n;return u&&a.add(l),m.indexOf(l)===-1&&(m.push(l),h&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=Vfe(()=>T2=!0),e),{}),Gs=yy.reduce((e,t)=>{const n=WS[t];return e[t]=(r,i=!1,o=!1)=>(T2||Gfe(),n.schedule(r,i,o)),e},{}),Vh=yy.reduce((e,t)=>(e[t]=WS[t].cancel,e),{}),g6=yy.reduce((e,t)=>(e[t]=()=>WS[t].process(wm),e),{}),Ufe=e=>WS[e].process(wm),p$=e=>{T2=!1,wm.delta=k7?f$:Math.max(Math.min(e-wm.timestamp,Wfe),1),wm.timestamp=e,E7=!0,yy.forEach(Ufe),E7=!1,T2&&(k7=!1,h$(p$))},Gfe=()=>{T2=!0,k7=!0,E7||h$(p$)},P7=()=>wm;function g$(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Vh.read(r),e(o-t))};return Gs.read(r,!0),()=>Vh.read(r)}function qfe({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,...u}){return!!Object.keys(u).length}function Yfe({ease:e,times:t,yoyo:n,flip:r,loop:i,...o}){const a={...o};return t&&(a.offset=t),o.duration&&(a.duration=i5(o.duration)),o.repeatDelay&&(a.repeatDelay=i5(o.repeatDelay)),e&&(a.ease=jfe(e)?e.map(TA):TA(e)),o.type==="tween"&&(a.type="keyframes"),(n||i||r)&&(n?a.repeatType="reverse":i?a.repeatType="loop":r&&(a.repeatType="mirror"),a.repeat=i||n||r||o.repeat),o.type!=="spring"&&(a.type="keyframes"),a}function Kfe(e,t){var n,r;return(r=(n=(Q_(e,t)||{}).delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function Xfe(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Zfe(e,t,n){return Array.isArray(t.to)&&e.duration===void 0&&(e.duration=.8),Xfe(t),qfe(e)||(e={...e,...$fe(n,t.to)}),{...t,...Yfe(e)}}function Qfe(e,t,n,r,i){const o=Q_(r,e)||{};let a=o.from!==void 0?o.from:t.get();const s=LA(e,n);a==="none"&&s&&typeof n=="string"?a=Z_(e,n):OA(a)&&typeof n=="string"?a=MA(n):!Array.isArray(n)&&OA(n)&&typeof a=="string"&&(n=MA(a));const l=LA(e,a);function u(){const h={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:m=>t.set(m)};return o.type==="inertia"||o.type==="decay"?gfe({...h,...o}):r$({...Zfe(o,h,e),onUpdate:m=>{h.onUpdate(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{h.onComplete(),o.onComplete&&o.onComplete()}})}function d(){const h=IB(n);return t.set(h),i(),o.onUpdate&&o.onUpdate(h),o.onComplete&&o.onComplete(),{stop:()=>{}}}return!l||!s||o.type===!1?d:u}function OA(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function MA(e){return typeof e=="number"?0:Z_("",e)}function Q_(e,t){return e[t]||e.default||e}function J_(e,t,n,r={}){return zfe.current&&(r={type:!1}),t.start(i=>{let o;const a=Qfe(e,t,n,r,i),s=Kfe(r,e),l=()=>o=a();let u;return s?u=g$(l,i5(s)):l(),()=>{u&&u(),o&&o.stop()}})}const Jfe=e=>/^\-?\d*\.?\d+$/.test(e),ehe=e=>/^0[^.\s]+$/.test(e);function ek(e,t){e.indexOf(t)===-1&&e.push(t)}function tk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vv{constructor(){this.subscriptions=[]}add(t){return ek(this.subscriptions,t),()=>tk(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class nhe{constructor(t){this.version="7.6.9",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Vv,this.velocityUpdateSubscribers=new Vv,this.renderSubscribers=new Vv,this.canTrackVelocity=!1,this.updateAndNotify=(n,r=!0)=>{this.prev=this.current,this.current=n;const{delta:i,timestamp:o}=P7();this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,Gs.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),r&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Gs.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=the(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?i$(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Vm(e){return new nhe(e)}const m$=e=>t=>t.test(e),rhe={test:e=>e==="auto",parse:e=>e},v$=[rp,Lt,Xl,cd,Oce,Ace,rhe],V1=e=>v$.find(m$(e)),ihe=[...v$,xo,Ju],ohe=e=>ihe.find(m$(e));function ahe(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function she(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function US(e,t,n){const r=e.getProps();return $_(r,t,n!==void 0?n:r.custom,ahe(e),she(e))}function lhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vm(n))}function uhe(e,t){const n=US(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const s=IB(o[a]);lhe(e,a,s)}}function che(e,t,n){var r,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;sT7(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=T7(e,t,n);else{const i=typeof t=="function"?US(e,t,n.custom):t;r=y$(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function T7(e,t,n={}){var r;const i=US(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>y$(e,i,n):()=>Promise.resolve(),s=!((r=e.variantChildren)===null||r===void 0)&&r.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:m}=o;return phe(e,t,d+u,h,m,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,d]=l==="beforeChildren"?[a,s]:[s,a];return u().then(d)}else return Promise.all([a(),s(n.delay)])}function y$(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(a=r);const d=[],h=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const m in l){const v=e.getValue(m),b=l[m];if(!v||b===void 0||h&&mhe(h,m))continue;let S={delay:n,...a};e.shouldReduceMotion&&g0.has(m)&&(S={...S,type:!1,delay:0});let k=J_(m,v,b,S);o5(u)&&(u.add(m),k=k.then(()=>u.remove(m))),d.push(k)}return Promise.all(d).then(()=>{s&&uhe(e,s)})}function phe(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(ghe).forEach((u,d)=>{a.push(T7(u,t,{...o,delay:n+l(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function ghe(e,t){return e.sortNodePosition(t)}function mhe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const nk=[tr.Animate,tr.InView,tr.Focus,tr.Hover,tr.Tap,tr.Drag,tr.Exit],vhe=[...nk].reverse(),yhe=nk.length;function bhe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hhe(e,n,r)))}function She(e){let t=bhe(e);const n=whe();let r=!0;const i=(l,u)=>{const d=US(e,u);if(d){const{transition:h,transitionEnd:m,...v}=d;l={...l,...v,...m}}return l};function o(l){t=l(e)}function a(l,u){var d;const h=e.getProps(),m=e.getVariantContext(!0)||{},v=[],b=new Set;let S={},k=1/0;for(let _=0;_k&&R;const K=Array.isArray(I)?I:[I];let te=K.reduce(i,{});D===!1&&(te={});const{prevResolvedValues:q={}}=A,$={...q,...te},U=X=>{V=!0,b.delete(X),A.needsAnimating[X]=!0};for(const X in $){const Z=te[X],W=q[X];S.hasOwnProperty(X)||(Z!==W?k2(Z)&&k2(W)?!d$(Z,W)||z?U(X):A.protectedKeys[X]=!0:Z!==void 0?U(X):b.add(X):Z!==void 0&&b.has(X)?U(X):A.protectedKeys[X]=!0)}A.prevProp=I,A.prevResolvedValues=te,A.isActive&&(S={...S,...te}),r&&e.blockInitialAnimation&&(V=!1),V&&!j&&v.push(...K.map(X=>({animation:X,options:{type:T,...l}})))}if(b.size){const _={};b.forEach(T=>{const A=e.getBaseTarget(T);A!==void 0&&(_[T]=A)}),v.push({animation:_})}let E=Boolean(v.length);return r&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(v):Promise.resolve()}function s(l,u,d){var h;if(n[l].isActive===u)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(l,u)}),n[l].isActive=u;const m=a(d,l);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>n}}function xhe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!d$(t,e):!1}function ih(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function whe(){return{[tr.Animate]:ih(!0),[tr.InView]:ih(),[tr.Hover]:ih(),[tr.Tap]:ih(),[tr.Drag]:ih(),[tr.Focus]:ih(),[tr.Exit]:ih()}}const Che={animation:Cd(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=She(e)),jS(t)&&w.useEffect(()=>t.subscribe(e),[t])}),exit:Cd(e=>{const{custom:t,visualElement:n}=e,[r,i]=K_(),o=w.useContext(p0);w.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(tr.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})};class b${constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=v6(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,h=Y_(u.offset,{x:0,y:0})>=3;if(!d&&!h)return;const{point:m}=u,{timestamp:v}=P7();this.history.push({...m,timestamp:v});const{onStart:b,onMove:S}=this.handlers;d||(b&&b(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,u)},this.handlePointerMove=(u,d)=>{if(this.lastMoveEvent=u,this.lastMoveEventInfo=m6(d,this.transformPagePoint),DB(u)&&u.buttons===0){this.handlePointerUp(u,d);return}Gs.update(this.updatePoint,!0)},this.handlePointerUp=(u,d)=>{this.end();const{onEnd:h,onSessionEnd:m}=this.handlers,v=v6(m6(d,this.transformPagePoint),this.history);this.startEvent&&h&&h(u,v),m&&m(u,v)},NB(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=F_(t),o=m6(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=P7();this.history=[{...a,timestamp:s}];const{onSessionStart:l}=n;l&&l(t,v6(o,this.history)),this.removeListeners=zS(Sm(window,"pointermove",this.handlePointerMove),Sm(window,"pointerup",this.handlePointerUp),Sm(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vh.update(this.updatePoint)}}function m6(e,t){return t?{point:t(e.point)}:e}function IA(e,t){return{x:e.x-t.x,y:e.y-t.y}}function v6({point:e},t){return{point:e,delta:IA(e,S$(t)),offset:IA(e,_he(t)),velocity:khe(t,.1)}}function _he(e){return e[0]}function S$(e){return e[e.length-1]}function khe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=S$(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>i5(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Oa(e){return e.max-e.min}function RA(e,t=0,n=.01){return Y_(e,t)n&&(e=r?Fr(n,e,r.max):Math.min(e,n)),e}function BA(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function The(e,{top:t,left:n,bottom:r,right:i}){return{x:BA(e.x,n,i),y:BA(e.y,t,r)}}function $A(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=E2(t.min,t.max-r,e.min):r>i&&(n=E2(e.min,e.max-i,t.min)),t5(0,1,n)}function Ohe(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const L7=.35;function Mhe(e=L7){return e===!1?e=0:e===!0&&(e=L7),{x:FA(e,"left","right"),y:FA(e,"top","bottom")}}function FA(e,t,n){return{min:zA(e,t),max:zA(e,n)}}function zA(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}const HA=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gv=()=>({x:HA(),y:HA()}),VA=()=>({min:0,max:0}),pi=()=>({x:VA(),y:VA()});function Rl(e){return[e("x"),e("y")]}function x$({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ihe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rhe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function y6(e){return e===void 0||e===1}function A7({scale:e,scaleX:t,scaleY:n}){return!y6(e)||!y6(t)||!y6(n)}function ch(e){return A7(e)||w$(e)||e.z||e.rotate||e.rotateX||e.rotateY}function w$(e){return WA(e.x)||WA(e.y)}function WA(e){return e&&e!=="0%"}function a5(e,t,n){const r=e-n,i=t*r;return n+i}function UA(e,t,n,r,i){return i!==void 0&&(e=a5(e,i,r)),a5(e,n,r)+t}function O7(e,t=0,n=1,r,i){e.min=UA(e.min,t,n,r,i),e.max=UA(e.max,t,n,r,i)}function C$(e,{x:t,y:n}){O7(e.x,t.translate,t.scale,t.originPoint),O7(e.y,n.translate,n.scale,n.originPoint)}function Dhe(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let s,l;for(let u=0;u{this.stopAnimation(),n&&this.snapToCursor(F_(s,"page").point)},i=(s,l)=>{var u;const{drag:d,dragPropagation:h,onDragStart:m}=this.getProps();d&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=FB(d),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rl(v=>{var b,S;let k=this.getAxisMotionValue(v).get()||0;if(Xl.test(k)){const E=(S=(b=this.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.layoutBox[v];E&&(k=Oa(E)*(parseFloat(k)/100))}this.originPoint[v]=k}),m==null||m(s,l),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(tr.Drag,!0))},o=(s,l)=>{const{dragPropagation:u,dragDirectionLock:d,onDirectionLock:h,onDrag:m}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:v}=l;if(d&&this.currentDirection===null){this.currentDirection=zhe(v),this.currentDirection!==null&&(h==null||h(this.currentDirection));return}this.updateAxis("x",l.point,v),this.updateAxis("y",l.point,v),this.visualElement.render(),m==null||m(s,l)},a=(s,l)=>this.stop(s,l);this.panSession=new b$(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(tr.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Q3(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Phe(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Hg(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=The(r.layoutBox,t):this.constraints=!1,this.elastic=Mhe(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Rl(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Ohe(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Hg(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Bhe(r,i.root,this.visualElement.getTransformPagePoint());let a=Lhe(i.layout.layoutBox,o);if(n){const s=n(Ihe(a));this.hasMutatedConstraints=!!s,s&&(a=x$(s))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=Rl(d=>{var h;if(!Q3(d,n,this.currentDirection))return;let m=(h=l==null?void 0:l[d])!==null&&h!==void 0?h:{};a&&(m={min:0,max:0});const v=i?200:1e6,b=i?40:1e7,S={type:"inertia",velocity:r?t[d]:0,bounceStiffness:v,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(d,S)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return J_(t,r,0,n)}stopAnimation(){Rl(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n,r;const i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)}snapToCursor(t){Rl(n=>{const{drag:r}=this.getProps();if(!Q3(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[n];o.set(t[n]-Fr(a,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Hg(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rl(s=>{const l=this.getAxisMotionValue(s);if(l){const u=l.get();o[s]=Ahe({min:u,max:u},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Rl(s=>{if(!Q3(s,n,null))return;const l=this.getAxisMotionValue(s),{min:u,max:d}=this.constraints[s];l.set(Fr(u,d,o[s]))})}addListeners(){var t;if(!this.visualElement.current)return;$he.set(this.visualElement,this);const n=this.visualElement.current,r=Sm(n,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),i=()=>{const{dragConstraints:u}=this.getProps();Hg(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const s=FS(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Rl(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=u[h].translate,m.set(m.get()+u[h].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),l==null||l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=L7,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function Q3(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zhe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function Hhe(e){const{dragControls:t,visualElement:n}=e,r=$S(()=>new Fhe(n));w.useEffect(()=>t&&t.subscribe(r),[r,t]),w.useEffect(()=>r.addListeners(),[r])}function Vhe({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=w.useRef(null),{transformPagePoint:s}=w.useContext(O_),l={onSessionStart:r,onStart:t,onMove:e,onEnd:(d,h)=>{a.current=null,n&&n(d,h)}};w.useEffect(()=>{a.current!==null&&a.current.updateHandlers(l)});function u(d){a.current=new b$(d,l,{transformPagePoint:s})}J4(i,"pointerdown",o&&u),z_(()=>a.current&&a.current.end())}const Whe={pan:Cd(Vhe),drag:Cd(Hhe)};function M7(e){return typeof e=="string"&&e.startsWith("var(--")}const k$=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Uhe(e){const t=k$.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function I7(e,t,n=1){const[r,i]=Uhe(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():M7(i)?I7(i,t,n+1):i}function Ghe(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!M7(o))return;const a=I7(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!M7(o))continue;const a=I7(o,r);a&&(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const qhe=new Set(["width","height","top","left","right","bottom","x","y"]),E$=e=>qhe.has(e),Yhe=e=>Object.keys(e).some(E$),P$=(e,t)=>{e.set(t,!1),e.set(t)},qA=e=>e===rp||e===Lt;var YA;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(YA||(YA={}));const KA=(e,t)=>parseFloat(e.split(", ")[t]),XA=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return KA(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?KA(o[1],e):0}},Khe=new Set(["x","y","z"]),Xhe=Z4.filter(e=>!Khe.has(e));function Zhe(e){const t=[];return Xhe.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZA={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:XA(4,13),y:XA(5,14)},Qhe=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=ZA[u](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const d=t.getValue(u);P$(d,s[u]),e[u]=ZA[u](l,o)}),e},Jhe=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(E$);let o=[],a=!1;const s=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],h=V1(d);const m=t[l];let v;if(k2(m)){const b=m.length,S=m[0]===null?1:0;d=m[S],h=V1(d);for(let k=S;k=0?window.pageYOffset:null,u=Qhe(t,e,s);return o.length&&o.forEach(([d,h])=>{e.getValue(d).set(h)}),e.render(),np&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function epe(e,t,n,r){return Yhe(t)?Jhe(e,t,n,r):{target:t,transitionEnd:r}}const tpe=(e,t,n,r)=>{const i=Ghe(e,t,r);return t=i.target,r=i.transitionEnd,epe(e,t,n,r)},R7={current:null},T$={current:!1};function npe(){if(T$.current=!0,!!np)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>R7.current=e.matches;e.addListener(t),t()}else R7.current=!1}function rpe(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ou(o))e.addValue(i,o),o5(r)&&r.add(i);else if(ou(a))e.addValue(i,Vm(o)),o5(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,Vm(s!==void 0?s:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const L$=Object.keys(C2),ipe=L$.length,QA=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ope{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Gs.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=BS(n),this.isVariantNode=hB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(n);for(const d in u){const h=u[d];a[d]!==void 0&&ou(h)&&(h.set(a[d],!1),o5(l)&&l.add(d))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),T$.current||npe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:R7.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Vh.update(this.notifyUpdate),Vh.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=g0.has(t),i=n.onChange(a=>{this.latestValues[t]=a,this.props.onUpdate&&Gs.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isProjectionDirty=!0)}),o=n.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const s=[];for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:m})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):pi()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;nr.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vm(n),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=$_(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ou(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Vv),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const A$=["initial",...nk],ape=A$.length;class O$ extends ope{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=fhe(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){che(this,r,a);const s=tpe(this,r,a,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function spe(e){return window.getComputedStyle(e)}class lpe extends O${readValueFromInstance(t,n){if(g0.has(n)){const r=X_(n);return r&&r.default||0}else{const r=spe(t),i=(mB(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return _$(t,n)}build(t,n,r,i){D_(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return B_(t)}renderInstance(t,n,r,i){LB(t,n,r,i)}}class upe extends O${getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return g0.has(n)?((r=X_(n))===null||r===void 0?void 0:r.default)||0:(n=AB.has(n)?n:TB(n),t.getAttribute(n))}measureInstanceViewportBox(){return pi()}scrapeMotionValuesFromProps(t){return MB(t)}build(t,n,r,i){j_(t,n,r,i.transformTemplate)}renderInstance(t,n,r,i){OB(t,n,r,i)}}const cpe=(e,t)=>I_(e)?new upe(t,{enableHardwareAcceleration:!1}):new lpe(t,{enableHardwareAcceleration:!0});function JA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const W1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Lt.test(e))e=parseFloat(e);else return e;const n=JA(e,t.target.x),r=JA(e,t.target.y);return`${n}% ${r}%`}},eO="_$css",dpe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(k$,v=>(o.push(v),eO)));const a=Ju.parse(e);if(a.length>5)return r;const s=Ju.createTransformer(e),l=typeof a[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=d;const h=Fr(u,d,.5);typeof a[2+l]=="number"&&(a[2+l]/=h),typeof a[3+l]=="number"&&(a[3+l]/=h);let m=s(a);if(i){let v=0;m=m.replace(eO,()=>{const b=o[v];return v++,b})}return m}};class fpe extends N.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;_ce(ppe),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Fv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||Gs.postRender(()=>{var s;!((s=a.getStack())===null||s===void 0)&&s.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function hpe(e){const[t,n]=K_(),r=w.useContext(M_);return N.createElement(fpe,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(pB),isPresent:t,safeToRemove:n})}const ppe={borderRadius:{...W1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:W1,borderTopRightRadius:W1,borderBottomLeftRadius:W1,borderBottomRightRadius:W1,boxShadow:dpe},gpe={measureLayout:hpe};function mpe(e,t,n={}){const r=ou(e)?e:Vm(e);return J_("",r,t,n),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const M$=["TopLeft","TopRight","BottomLeft","BottomRight"],vpe=M$.length,tO=e=>typeof e=="string"?parseFloat(e):e,nO=e=>typeof e=="number"||Lt.test(e);function ype(e,t,n,r,i,o){var a,s,l,u;i?(e.opacity=Fr(0,(a=n.opacity)!==null&&a!==void 0?a:1,bpe(r)),e.opacityExit=Fr((s=t.opacity)!==null&&s!==void 0?s:1,0,Spe(r))):o&&(e.opacity=Fr((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(let d=0;drt?1:n(E2(e,t,r))}function iO(e,t){e.min=t.min,e.max=t.max}function Ms(e,t){iO(e.x,t.x),iO(e.y,t.y)}function oO(e,t,n,r,i){return e-=t,e=a5(e,1/n,r),i!==void 0&&(e=a5(e,1/i,r)),e}function xpe(e,t=0,n=1,r=.5,i,o=e,a=e){if(Xl.test(t)&&(t=parseFloat(t),t=Fr(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=Fr(o.min,o.max,r);e===o&&(s-=t),e.min=oO(e.min,t,n,s,i),e.max=oO(e.max,t,n,s,i)}function aO(e,t,[n,r,i],o,a){xpe(e,t[n],t[r],t[i],t.scale,o,a)}const wpe=["x","scaleX","originX"],Cpe=["y","scaleY","originY"];function sO(e,t,n,r){aO(e.x,t,wpe,n==null?void 0:n.x,r==null?void 0:r.x),aO(e.y,t,Cpe,n==null?void 0:n.y,r==null?void 0:r.y)}function lO(e){return e.translate===0&&e.scale===1}function R$(e){return lO(e.x)&&lO(e.y)}function D$(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function uO(e){return Oa(e.x)/Oa(e.y)}function _pe(e,t,n=.1){return Y_(e,t)<=n}class kpe{constructor(){this.members=[]}add(t){ek(this.members,t),t.scheduleRender()}remove(t){if(tk(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cO(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),d&&(r+=`rotateY(${d}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(r+=`scale(${a}, ${s})`),r||"none"}const Epe=(e,t)=>e.depth-t.depth;class Ppe{constructor(){this.children=[],this.isDirty=!1}add(t){ek(this.children,t),this.isDirty=!0}remove(t){tk(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Epe),this.isDirty=!1,this.children.forEach(t)}}const dO=["","X","Y","Z"],fO=1e3;let Tpe=0;function N$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,s={},l=t==null?void 0:t()){this.id=Tpe++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Ipe),this.nodes.forEach(Rpe)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let u=0;uthis.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=g$(v,250),Fv.hasAnimatedSinceResize&&(Fv.hasAnimatedSinceResize=!1,this.nodes.forEach(pO))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeTargetChanged:b,layout:S})=>{var k,E,_,T,A;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const I=(E=(k=this.options.transition)!==null&&k!==void 0?k:h.getDefaultTransition())!==null&&E!==void 0?E:$pe,{onLayoutAnimationStart:R,onLayoutAnimationComplete:D}=h.getProps(),j=!this.targetLayout||!D$(this.targetLayout,S)||b,z=!v&&b;if(!((_=this.resumeFrom)===null||_===void 0)&&_.instance||z||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,z);const V={...Q_(I,"layout"),onPlay:R,onComplete:D};h.shouldReduceMotion&&(V.delay=0,V.type=!1),this.startAnimation(V)}else!v&&this.animationProgress===0&&pO(this),this.isLead()&&((A=(T=this.options).onExitComplete)===null||A===void 0||A.call(T));this.targetLayout=S})}unmount(){var a,s;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(s=this.parent)===null||s===void 0||s.children.delete(this),this.instance=void 0,Vh.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(Dpe),this.animationId++)}willUpdate(a=!0){var s,l,u;if(this.root.isUpdateBlocked()){(l=(s=this.options).onExitComplete)===null||l===void 0||l.call(s);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{var T;const A=_/1e3;gO(v.x,a.x,A),gO(v.y,a.y,A),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((T=this.relativeParent)===null||T===void 0)&&T.layout)&&(Uv(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jpe(this.relativeTarget,this.relativeTargetOrigin,b,A)),S&&(this.animationValues=m,ype(m,h,this.latestValues,A,E,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(0)}startAnimation(a){var s,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((l=this.resumingFrom.currentAnimation)===null||l===void 0||l.stop()),this.pendingAnimation&&(Vh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gs.update(()=>{Fv.hasAnimatedSinceResize=!0,this.currentAnimation=mpe(0,fO,{...a,onUpdate:u=>{var d;this.mixTargetDelta(u),(d=a.onUpdate)===null||d===void 0||d.call(a,u)},onComplete:()=>{var u;(u=a.onComplete)===null||u===void 0||u.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,fO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:d}=a;if(!(!s||!l||!u)){if(this!==a&&this.layout&&u&&j$(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||pi();const h=Oa(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const m=Oa(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m}Ms(s,l),Vg(s,d),Wv(this.projectionDeltaWithTransform,this.layoutCorrected,s,d)}}registerSharedNode(a,s){var l,u,d;this.sharedNodes.has(a)||this.sharedNodes.set(a,new kpe),this.sharedNodes.get(a).add(s),s.promote({transition:(l=s.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(d=(u=s.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(u,s)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let d=0;d{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(hO),this.root.sharedNodes.clear()}}}function Lpe(e){e.updateLayout()}function Ape(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(b);b.min=o[v].min,b.max=b.min+S}):j$(s,i.layoutBox,o)&&Rl(v=>{const b=l?i.measuredBox[v]:i.layoutBox[v],S=Oa(o[v]);b.max=b.min+S});const u=Gv();Wv(u,o,i.layoutBox);const d=Gv();l?Wv(d,e.applyTransform(a,!0),i.measuredBox):Wv(d,o,i.layoutBox);const h=!R$(u);let m=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const k=pi();Uv(k,i.layoutBox,b.layoutBox);const E=pi();Uv(E,o,S.layoutBox),D$(k,E)||(m=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:d,layoutDelta:u,hasLayoutChanged:h,hasRelativeTargetChanged:m})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function Ope(e){e.clearSnapshot()}function hO(e){e.clearMeasurements()}function Mpe(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pO(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Ipe(e){e.resolveTargetDelta()}function Rpe(e){e.calcProjection()}function Dpe(e){e.resetRotation()}function Npe(e){e.removeLeadSnapshot()}function gO(e,t,n){e.translate=Fr(t.translate,0,n),e.scale=Fr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mO(e,t,n,r){e.min=Fr(t.min,n.min,r),e.max=Fr(t.max,n.max,r)}function jpe(e,t,n,r){mO(e.x,t.x,n.x,r),mO(e.y,t.y,n.y,r)}function Bpe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $pe={duration:.45,ease:[.4,0,.1,1]};function Fpe(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function vO(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function zpe(e){vO(e.x),vO(e.y)}function j$(e,t,n){return e==="position"||e==="preserve-aspect"&&!_pe(uO(t),uO(n),.2)}const Hpe=N$({attachResizeListener:(e,t)=>FS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),b6={current:void 0},Vpe=N$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!b6.current){const e=new Hpe(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),b6.current=e}return b6.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),Wpe={...Che,...Ife,...Whe,...gpe},du=wce((e,t)=>sde(e,t,Wpe,cpe,Vpe));function B$(){const e=w.useRef(!1);return K4(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Upe(){const e=B$(),[t,n]=w.useState(0),r=w.useCallback(()=>{e.current&&n(t+1)},[t]);return[w.useCallback(()=>Gs.postRender(r),[r]),t]}class Gpe extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function qpe({children:e,isPresent:t}){const n=w.useId(),r=w.useRef(null),i=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:l}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` + [data-motion-pop-id="${n}"] { + position: absolute !important; + width: ${o}px !important; + height: ${a}px !important; + top: ${s}px !important; + left: ${l}px !important; + } + `),()=>{document.head.removeChild(u)}},[t]),w.createElement(Gpe,{isPresent:t,childRef:r,sizeRef:i},w.cloneElement(e,{ref:r}))}const S6=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=$S(Ype),l=w.useId(),u=w.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:d=>{s.set(d,!0);for(const h of s.values())if(!h)return;r&&r()},register:d=>(s.set(d,!1),()=>s.delete(d))}),o?void 0:[n]);return w.useMemo(()=>{s.forEach((d,h)=>s.set(h,!1))},[n]),w.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=w.createElement(qpe,{isPresent:n},e)),w.createElement(p0.Provider,{value:u},e)};function Ype(){return new Map}const Bg=e=>e.key||"";function Kpe(e,t){e.forEach(n=>{const r=Bg(n);t.set(r,n)})}function Xpe(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const nf=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",c$(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=Upe();const l=w.useContext(M_).forceRender;l&&(s=l);const u=B$(),d=Xpe(e);let h=d;const m=new Set,v=w.useRef(h),b=w.useRef(new Map).current,S=w.useRef(!0);if(K4(()=>{S.current=!1,Kpe(d,b),v.current=h}),z_(()=>{S.current=!0,b.clear(),m.clear()}),S.current)return w.createElement(w.Fragment,null,h.map(T=>w.createElement(S6,{key:Bg(T),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},T)));h=[...h];const k=v.current.map(Bg),E=d.map(Bg),_=k.length;for(let T=0;T<_;T++){const A=k[T];E.indexOf(A)===-1&&m.add(A)}return a==="wait"&&m.size&&(h=[]),m.forEach(T=>{if(E.indexOf(T)!==-1)return;const A=b.get(T);if(!A)return;const I=k.indexOf(T),R=()=>{b.delete(T),m.delete(T);const D=v.current.findIndex(j=>j.key===T);if(v.current.splice(D,1),!m.size){if(v.current=d,u.current===!1)return;s(),r&&r()}};h.splice(I,0,w.createElement(S6,{key:Bg(A),isPresent:!1,onExitComplete:R,custom:t,presenceAffectsLayout:o,mode:a},A))}),h=h.map(T=>{const A=T.key;return m.has(A)?T:w.createElement(S6,{key:Bg(T),isPresent:!0,presenceAffectsLayout:o,mode:a},T)}),u$!=="production"&&a==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),w.createElement(w.Fragment,null,m.size?h:h.map(T=>w.cloneElement(T)))};var Fl=function(){return Fl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function D7(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;re.filter(Boolean).join(" ");function Zpe(){return!1}var Qpe=e=>{const{condition:t,message:n}=e;t&&Zpe()&&console.warn(n)},_h={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},U1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function N7(e){switch((e==null?void 0:e.direction)??"right"){case"right":return U1.slideRight;case"left":return U1.slideLeft;case"bottom":return U1.slideDown;case"top":return U1.slideUp;default:return U1.slideRight}}var Ih={enter:{duration:.2,ease:_h.easeOut},exit:{duration:.1,ease:_h.easeIn}},qs={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Jpe=e=>e!=null&&parseInt(e.toString(),10)>0,bO={exit:{height:{duration:.2,ease:_h.ease},opacity:{duration:.3,ease:_h.ease}},enter:{height:{duration:.3,ease:_h.ease},opacity:{duration:.4,ease:_h.ease}}},ege={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:Jpe(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??qs.exit(bO.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??qs.enter(bO.enter,i)})},F$=w.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:s,className:l,transition:u,transitionEnd:d,...h}=e,[m,v]=w.useState(!1);w.useEffect(()=>{const _=setTimeout(()=>{v(!0)});return()=>clearTimeout(_)},[]),Qpe({condition:Boolean(o>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const b=parseFloat(o.toString())>0,S={startingHeight:o,endingHeight:a,animateOpacity:i,transition:m?u:{enter:{duration:0}},transitionEnd:{enter:d==null?void 0:d.enter,exit:r?d==null?void 0:d.exit:{...d==null?void 0:d.exit,display:b?"block":"none"}}},k=r?n:!0,E=n||r?"enter":"exit";return N.createElement(nf,{initial:!1,custom:S},k&&N.createElement(du.div,{ref:t,...h,className:by("chakra-collapse",l),style:{overflow:"hidden",display:"block",...s},custom:S,variants:ege,initial:r?"exit":!1,animate:E,exit:"exit"}))});F$.displayName="Collapse";var tge={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??qs.exit(Ih.exit,n),transitionEnd:t==null?void 0:t.exit})},z$={initial:"exit",animate:"enter",exit:"exit",variants:tge},nge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:s,delay:l,...u}=t,d=i||r?"enter":"exit",h=r?i&&r:!0,m={transition:a,transitionEnd:s,delay:l};return N.createElement(nf,{custom:m},h&&N.createElement(du.div,{ref:n,className:by("chakra-fade",o),custom:m,...z$,animate:d,...u}))});nge.displayName="Fade";var rge={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??qs.enter(Ih.enter,n),transitionEnd:e==null?void 0:e.enter})},H$={initial:"exit",animate:"enter",exit:"exit",variants:rge},ige=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:u,delay:d,...h}=t,m=r?i&&r:!0,v=i||r?"enter":"exit",b={initialScale:a,reverse:o,transition:l,transitionEnd:u,delay:d};return N.createElement(nf,{custom:b},m&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",s),...H$,animate:v,custom:b,...h}))});ige.displayName="ScaleFade";var SO={exit:{duration:.15,ease:_h.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},oge={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=N7({direction:e});return{...i,transition:(t==null?void 0:t.exit)??qs.exit(SO.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=N7({direction:e});return{...i,transition:(n==null?void 0:n.enter)??qs.enter(SO.enter,r),transitionEnd:t==null?void 0:t.enter}}},V$=w.forwardRef(function(t,n){const{direction:r="right",style:i,unmountOnExit:o,in:a,className:s,transition:l,transitionEnd:u,delay:d,motionProps:h,...m}=t,v=N7({direction:r}),b=Object.assign({position:"fixed"},v.position,i),S=o?a&&o:!0,k=a||o?"enter":"exit",E={transitionEnd:u,transition:l,direction:r,delay:d};return N.createElement(nf,{custom:E},S&&N.createElement(du.div,{...m,ref:n,initial:"exit",className:by("chakra-slide",s),animate:k,exit:"exit",custom:E,variants:oge,style:b,...h}))});V$.displayName="Slide";var age={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,i),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??qs.enter(Ih.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??qs.exit(Ih.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}},j7={initial:"initial",animate:"enter",exit:"exit",variants:age},sge=w.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:d,delay:h,...m}=t,v=r?i&&r:!0,b=i||r?"enter":"exit",S={offsetX:s,offsetY:l,reverse:o,transition:u,transitionEnd:d,delay:h};return N.createElement(nf,{custom:S},v&&N.createElement(du.div,{ref:n,className:by("chakra-offset-slide",a),custom:S,...j7,animate:b,...m}))});sge.displayName="SlideFade";var Sy=(...e)=>e.filter(Boolean).join(" ");function lge(){return!1}var GS=e=>{const{condition:t,message:n}=e;t&&lge()&&console.warn(n)};function x6(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[uge,qS]=Mn({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[cge,rk]=Mn({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[dge,XFe,fge,hge]=dB(),Wg=Ae(function(t,n){const{getButtonProps:r}=rk(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...qS().button};return N.createElement(Ce.button,{...i,className:Sy("chakra-accordion__button",t.className),__css:a})});Wg.displayName="AccordionButton";function pge(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;vge(e),yge(e);const s=fge(),[l,u]=w.useState(-1);w.useEffect(()=>()=>{u(-1)},[]);const[d,h]=DS({value:r,defaultValue(){return i?n??[]:n??-1},onChange:t});return{index:d,setIndex:h,htmlProps:a,getAccordionItemProps:v=>{let b=!1;return v!==null&&(b=Array.isArray(d)?d.includes(v):d===v),{isOpen:b,onChange:k=>{if(v!==null)if(i&&Array.isArray(d)){const E=k?d.concat(v):d.filter(_=>_!==v);h(E)}else k?h(v):o&&h(-1)}}},focusedIndex:l,setFocusedIndex:u,descendants:s}}var[gge,ik]=Mn({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function mge(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=ik(),s=w.useRef(null),l=w.useId(),u=r??l,d=`accordion-button-${u}`,h=`accordion-panel-${u}`;bge(e);const{register:m,index:v,descendants:b}=hge({disabled:t&&!n}),{isOpen:S,onChange:k}=o(v===-1?null:v);Sge({isOpen:S,isDisabled:t});const E=()=>{k==null||k(!0)},_=()=>{k==null||k(!1)},T=w.useCallback(()=>{k==null||k(!S),a(v)},[v,a,S,k]),A=w.useCallback(j=>{const V={ArrowDown:()=>{const K=b.nextEnabled(v);K==null||K.node.focus()},ArrowUp:()=>{const K=b.prevEnabled(v);K==null||K.node.focus()},Home:()=>{const K=b.firstEnabled();K==null||K.node.focus()},End:()=>{const K=b.lastEnabled();K==null||K.node.focus()}}[j.key];V&&(j.preventDefault(),V(j))},[b,v]),I=w.useCallback(()=>{a(v)},[a,v]),R=w.useCallback(function(z={},V=null){return{...z,type:"button",ref:qn(m,s,V),id:d,disabled:!!t,"aria-expanded":!!S,"aria-controls":h,onClick:x6(z.onClick,T),onFocus:x6(z.onFocus,I),onKeyDown:x6(z.onKeyDown,A)}},[d,t,S,T,I,A,h,m]),D=w.useCallback(function(z={},V=null){return{...z,ref:V,role:"region",id:h,"aria-labelledby":d,hidden:!S}},[d,S,h]);return{isOpen:S,isDisabled:t,isFocusable:n,onOpen:E,onClose:_,getButtonProps:R,getPanelProps:D,htmlProps:i}}function vge(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;GS({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function yge(e){GS({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function bge(e){GS({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. + `})}function Sge(e){GS({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Ug(e){const{isOpen:t,isDisabled:n}=rk(),{reduceMotion:r}=ik(),i=Sy("chakra-accordion__icon",e.className),o=qS(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return N.createElement(Da,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}Ug.displayName="AccordionIcon";var Gg=Ae(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=mge(t),l={...qS().container,overflowAnchor:"none"},u=w.useMemo(()=>a,[a]);return N.createElement(cge,{value:u},N.createElement(Ce.div,{ref:n,...o,className:Sy("chakra-accordion__item",i),__css:l},typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r))});Gg.displayName="AccordionItem";var qg=Ae(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=ik(),{getPanelProps:s,isOpen:l}=rk(),u=s(o,n),d=Sy("chakra-accordion__panel",r),h=qS();a||delete u.hidden;const m=N.createElement(Ce.div,{...u,__css:h.panel,className:d});return a?m:N.createElement(F$,{in:l,...i},m)});qg.displayName="AccordionPanel";var ok=Ae(function({children:t,reduceMotion:n,...r},i){const o=Yi("Accordion",r),a=En(r),{htmlProps:s,descendants:l,...u}=pge(a),d=w.useMemo(()=>({...u,reduceMotion:!!n}),[u,n]);return N.createElement(dge,{value:l},N.createElement(gge,{value:d},N.createElement(uge,{value:o},N.createElement(Ce.div,{ref:i,...s,className:Sy("chakra-accordion",r.className),__css:o.root},t))))});ok.displayName="Accordion";var xge=(...e)=>e.filter(Boolean).join(" "),wge=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),xy=Ae((e,t)=>{const n=Ao("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:s,...l}=En(e),u=xge("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${wge} ${o} linear infinite`,...n};return N.createElement(Ce.div,{ref:t,__css:d,className:u,...l},r&&N.createElement(Ce.span,{srOnly:!0},r))});xy.displayName="Spinner";var YS=(...e)=>e.filter(Boolean).join(" ");function Cge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))}function _ge(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))}function xO(e){return N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[kge,Ege]=Mn({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Pge,ak]=Mn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),W$={info:{icon:_ge,colorScheme:"blue"},warning:{icon:xO,colorScheme:"orange"},success:{icon:Cge,colorScheme:"green"},error:{icon:xO,colorScheme:"red"},loading:{icon:xy,colorScheme:"blue"}};function Tge(e){return W$[e].colorScheme}function Lge(e){return W$[e].icon}var U$=Ae(function(t,n){const{status:r="info",addRole:i=!0,...o}=En(t),a=t.colorScheme??Tge(r),s=Yi("Alert",{...t,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return N.createElement(kge,{value:{status:r}},N.createElement(Pge,{value:s},N.createElement(Ce.div,{role:i?"alert":void 0,ref:n,...o,className:YS("chakra-alert",t.className),__css:l})))});U$.displayName="Alert";var G$=Ae(function(t,n){const i={display:"inline",...ak().description};return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__desc",t.className),__css:i})});G$.displayName="AlertDescription";function q$(e){const{status:t}=Ege(),n=Lge(t),r=ak(),i=t==="loading"?r.spinner:r.icon;return N.createElement(Ce.span,{display:"inherit",...e,className:YS("chakra-alert__icon",e.className),__css:i},e.children||N.createElement(n,{h:"100%",w:"100%"}))}q$.displayName="AlertIcon";var Y$=Ae(function(t,n){const r=ak();return N.createElement(Ce.div,{ref:n,...t,className:YS("chakra-alert__title",t.className),__css:r.title})});Y$.displayName="AlertTitle";function Age(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Oge(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:s,ignoreFallback:l}=e,[u,d]=w.useState("pending");w.useEffect(()=>{d(n?"loading":"pending")},[n]);const h=w.useRef(),m=w.useCallback(()=>{if(!n)return;v();const b=new Image;b.src=n,a&&(b.crossOrigin=a),r&&(b.srcset=r),s&&(b.sizes=s),t&&(b.loading=t),b.onload=S=>{v(),d("loaded"),i==null||i(S)},b.onerror=S=>{v(),d("failed"),o==null||o(S)},h.current=b},[n,a,r,s,i,o,t]),v=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return Ws(()=>{if(!l)return u==="loading"&&m(),()=>{v()}},[u,m,l]),l?"loaded":u}var Mge=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError",s5=Ae(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return N.createElement("img",{width:r,height:i,ref:n,alt:o,...a})});s5.displayName="NativeImage";var KS=Ae(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:s,fit:l,loading:u,ignoreFallback:d,crossOrigin:h,fallbackStrategy:m="beforeLoadOrError",referrerPolicy:v,...b}=t,S=r!==void 0||i!==void 0,k=u!=null||d||!S,E=Oge({...t,ignoreFallback:k}),_=Mge(E,m),T={ref:n,objectFit:l,objectPosition:s,...k?b:Age(b,["onError","onLoad"])};return _?i||N.createElement(Ce.img,{as:s5,className:"chakra-image__placeholder",src:r,...T}):N.createElement(Ce.img,{as:s5,src:o,srcSet:a,crossOrigin:h,loading:u,referrerPolicy:v,className:"chakra-image",...T})});KS.displayName="Image";Ae((e,t)=>N.createElement(Ce.img,{ref:t,as:s5,className:"chakra-image",...e}));function XS(e){return w.Children.toArray(e).filter(t=>w.isValidElement(t))}var ZS=(...e)=>e.filter(Boolean).join(" "),wO=e=>e?"":void 0,[Ige,Rge]=Mn({strict:!1,name:"ButtonGroupContext"});function B7(e){const{children:t,className:n,...r}=e,i=w.isValidElement(t)?w.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=ZS("chakra-button__icon",n);return N.createElement(Ce.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o},i)}B7.displayName="ButtonIcon";function $7(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=N.createElement(xy,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...s}=e,l=ZS("chakra-button__spinner",o),u=n==="start"?"marginEnd":"marginStart",d=w.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,u,r]);return N.createElement(Ce.div,{className:l,...s,__css:d},i)}$7.displayName="ButtonSpinner";function Dge(e){const[t,n]=w.useState(!e);return{ref:w.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}var as=Ae((e,t)=>{const n=Rge(),r=Ao("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:s,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:b="start",className:S,as:k,...E}=En(e),_=w.useMemo(()=>{const R={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:R}}},[r,n]),{ref:T,type:A}=Dge(k),I={rightIcon:u,leftIcon:l,iconSpacing:h,children:s};return N.createElement(Ce.button,{disabled:i||o,ref:rce(t,T),as:k,type:m??A,"data-active":wO(a),"data-loading":wO(o),__css:_,className:ZS("chakra-button",S),...E},o&&b==="start"&&N.createElement($7,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:h},v),o?d||N.createElement(Ce.span,{opacity:0},N.createElement(CO,{...I})):N.createElement(CO,{...I}),o&&b==="end"&&N.createElement($7,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:h},v))});as.displayName="Button";function CO(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return N.createElement(N.Fragment,null,t&&N.createElement(B7,{marginEnd:i},t),r,n&&N.createElement(B7,{marginStart:i},n))}var oo=Ae(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:s="0.5rem",isAttached:l,isDisabled:u,...d}=t,h=ZS("chakra-button__group",a),m=w.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:u}),[r,i,o,u]);let v={display:"inline-flex"};return l?v={...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:v={...v,"& > *:not(style) ~ *:not(style)":{marginStart:s}},N.createElement(Ige,{value:m},N.createElement(Ce.div,{ref:n,role:"group",__css:v,className:h,"data-attached":l?"":void 0,...d}))});oo.displayName="ButtonGroup";var ss=Ae((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,s=n||r,l=w.isValidElement(s)?w.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return N.createElement(as,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a},l)});ss.displayName="IconButton";var y0=(...e)=>e.filter(Boolean).join(" "),J3=e=>e?"":void 0,w6=e=>e?!0:void 0;function _O(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[Nge,K$]=Mn({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[jge,b0]=Mn({strict:!1,name:"FormControlContext"});function Bge(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,s=w.useId(),l=t||`field-${s}`,u=`${l}-label`,d=`${l}-feedback`,h=`${l}-helptext`,[m,v]=w.useState(!1),[b,S]=w.useState(!1),[k,E]=w.useState(!1),_=w.useCallback((D={},j=null)=>({id:h,...D,ref:qn(j,z=>{z&&S(!0)})}),[h]),T=w.useCallback((D={},j=null)=>({...D,ref:j,"data-focus":J3(k),"data-disabled":J3(i),"data-invalid":J3(r),"data-readonly":J3(o),id:D.id??u,htmlFor:D.htmlFor??l}),[l,i,k,r,o,u]),A=w.useCallback((D={},j=null)=>({id:d,...D,ref:qn(j,z=>{z&&v(!0)}),"aria-live":"polite"}),[d]),I=w.useCallback((D={},j=null)=>({...D,...a,ref:j,role:"group"}),[a]),R=w.useCallback((D={},j=null)=>({...D,ref:j,role:"presentation","aria-hidden":!0,children:D.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!k,onFocus:()=>E(!0),onBlur:()=>E(!1),hasFeedbackText:m,setHasFeedbackText:v,hasHelpText:b,setHasHelpText:S,id:l,labelId:u,feedbackId:d,helpTextId:h,htmlProps:a,getHelpTextProps:_,getErrorMessageProps:A,getRootProps:I,getLabelProps:T,getRequiredIndicatorProps:R}}var dn=Ae(function(t,n){const r=Yi("Form",t),i=En(t),{getRootProps:o,htmlProps:a,...s}=Bge(i),l=y0("chakra-form-control",t.className);return N.createElement(jge,{value:s},N.createElement(Nge,{value:r},N.createElement(Ce.div,{...o({},n),className:l,__css:r.container})))});dn.displayName="FormControl";var lr=Ae(function(t,n){const r=b0(),i=K$(),o=y0("chakra-form__helper-text",t.className);return N.createElement(Ce.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});lr.displayName="FormHelperText";function sk(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=lk(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":w6(n),"aria-required":w6(i),"aria-readonly":w6(r)}}function lk(e){const t=b0(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:s,isReadOnly:l,isDisabled:u,onFocus:d,onBlur:h,...m}=e,v=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&v.push(t.feedbackId),t!=null&&t.hasHelpText&&v.push(t.helpTextId),{...m,"aria-describedby":v.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??u??(t==null?void 0:t.isDisabled),isReadOnly:i??l??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:s??(t==null?void 0:t.isInvalid),onFocus:_O(t==null?void 0:t.onFocus,d),onBlur:_O(t==null?void 0:t.onBlur,h)}}var[$ge,Fge]=Mn({name:"FormErrorStylesContext",errorMessage:`useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),ur=Ae((e,t)=>{const n=Yi("FormError",e),r=En(e),i=b0();return i!=null&&i.isInvalid?N.createElement($ge,{value:n},N.createElement(Ce.div,{...i==null?void 0:i.getErrorMessageProps(r,t),className:y0("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})):null});ur.displayName="FormErrorMessage";var zge=Ae((e,t)=>{const n=Fge(),r=b0();if(!(r!=null&&r.isInvalid))return null;const i=y0("chakra-form__error-icon",e.className);return N.createElement(Da,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:i},N.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))});zge.displayName="FormErrorIcon";var kn=Ae(function(t,n){const r=Ao("FormLabel",t),i=En(t),{className:o,children:a,requiredIndicator:s=N.createElement(X$,null),optionalIndicator:l=null,...u}=i,d=b0(),h=(d==null?void 0:d.getLabelProps(u,n))??{ref:n,...u};return N.createElement(Ce.label,{...h,className:y0("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r}},a,d!=null&&d.isRequired?s:l)});kn.displayName="FormLabel";var X$=Ae(function(t,n){const r=b0(),i=K$();if(!(r!=null&&r.isRequired))return null;const o=y0("chakra-form__required-indicator",t.className);return N.createElement(Ce.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});X$.displayName="RequiredIndicator";function Vd(e,t){const n=w.useRef(!1),r=w.useRef(!1);w.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),w.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}var uk={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Hge=Ce("span",{baseStyle:uk});Hge.displayName="VisuallyHidden";var Vge=Ce("input",{baseStyle:uk});Vge.displayName="VisuallyHiddenInput";var kO=!1,QS=null,Wm=!1,F7=new Set,Wge=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function Uge(e){return!(e.metaKey||!Wge&&e.altKey||e.ctrlKey)}function ck(e,t){F7.forEach(n=>n(e,t))}function EO(e){Wm=!0,Uge(e)&&(QS="keyboard",ck("keyboard",e))}function wg(e){QS="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wm=!0,ck("pointer",e))}function Gge(e){e.target===window||e.target===document||(Wm||(QS="keyboard",ck("keyboard",e)),Wm=!1)}function qge(){Wm=!1}function PO(){return QS!=="pointer"}function Yge(){if(typeof window>"u"||kO)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){Wm=!0,e.apply(this,n)},document.addEventListener("keydown",EO,!0),document.addEventListener("keyup",EO,!0),window.addEventListener("focus",Gge,!0),window.addEventListener("blur",qge,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",wg,!0),document.addEventListener("pointermove",wg,!0),document.addEventListener("pointerup",wg,!0)):(document.addEventListener("mousedown",wg,!0),document.addEventListener("mousemove",wg,!0),document.addEventListener("mouseup",wg,!0)),kO=!0}function Kge(e){Yge(),e(PO());const t=()=>e(PO());return F7.add(t),()=>{F7.delete(t)}}var[ZFe,Xge]=Mn({name:"CheckboxGroupContext",strict:!1}),Zge=(...e)=>e.filter(Boolean).join(" "),bo=e=>e?"":void 0;function Ya(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function Qge(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}function Jge(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e},N.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function eme(e){return N.createElement(Ce.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e},N.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function tme(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?eme:Jge;return n||t?N.createElement(Ce.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},N.createElement(i,{...r})):null}function nme(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function Z$(e={}){const t=lk(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:s,onFocus:l,"aria-describedby":u}=t,{defaultChecked:d,isChecked:h,isFocusable:m,onChange:v,isIndeterminate:b,name:S,value:k,tabIndex:E=void 0,"aria-label":_,"aria-labelledby":T,"aria-invalid":A,...I}=e,R=nme(I,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),D=Er(v),j=Er(s),z=Er(l),[V,K]=w.useState(!1),[te,q]=w.useState(!1),[$,U]=w.useState(!1),[X,Z]=w.useState(!1);w.useEffect(()=>Kge(K),[]);const W=w.useRef(null),[Q,ie]=w.useState(!0),[fe,Se]=w.useState(!!d),Pe=h!==void 0,ye=Pe?h:fe,We=w.useCallback(Le=>{if(r||n){Le.preventDefault();return}Pe||Se(ye?Le.target.checked:b?!0:Le.target.checked),D==null||D(Le)},[r,n,ye,Pe,b,D]);Ws(()=>{W.current&&(W.current.indeterminate=Boolean(b))},[b]),Vd(()=>{n&&q(!1)},[n,q]),Ws(()=>{const Le=W.current;Le!=null&&Le.form&&(Le.form.onreset=()=>{Se(!!d)})},[]);const De=n&&!m,ot=w.useCallback(Le=>{Le.key===" "&&Z(!0)},[Z]),He=w.useCallback(Le=>{Le.key===" "&&Z(!1)},[Z]);Ws(()=>{if(!W.current)return;W.current.checked!==ye&&Se(W.current.checked)},[W.current]);const Be=w.useCallback((Le={},lt=null)=>{const Mt=ut=>{te&&ut.preventDefault(),Z(!0)};return{...Le,ref:lt,"data-active":bo(X),"data-hover":bo($),"data-checked":bo(ye),"data-focus":bo(te),"data-focus-visible":bo(te&&V),"data-indeterminate":bo(b),"data-disabled":bo(n),"data-invalid":bo(o),"data-readonly":bo(r),"aria-hidden":!0,onMouseDown:Ya(Le.onMouseDown,Mt),onMouseUp:Ya(Le.onMouseUp,()=>Z(!1)),onMouseEnter:Ya(Le.onMouseEnter,()=>U(!0)),onMouseLeave:Ya(Le.onMouseLeave,()=>U(!1))}},[X,ye,n,te,V,$,b,o,r]),wt=w.useCallback((Le={},lt=null)=>({...R,...Le,ref:qn(lt,Mt=>{Mt&&ie(Mt.tagName==="LABEL")}),onClick:Ya(Le.onClick,()=>{var Mt;Q||((Mt=W.current)==null||Mt.click(),requestAnimationFrame(()=>{var ut;(ut=W.current)==null||ut.focus()}))}),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[R,n,ye,o,Q]),st=w.useCallback((Le={},lt=null)=>({...Le,ref:qn(W,lt),type:"checkbox",name:S,value:k,id:a,tabIndex:E,onChange:Ya(Le.onChange,We),onBlur:Ya(Le.onBlur,j,()=>q(!1)),onFocus:Ya(Le.onFocus,z,()=>q(!0)),onKeyDown:Ya(Le.onKeyDown,ot),onKeyUp:Ya(Le.onKeyUp,He),required:i,checked:ye,disabled:De,readOnly:r,"aria-label":_,"aria-labelledby":T,"aria-invalid":A?Boolean(A):o,"aria-describedby":u,"aria-disabled":n,style:uk}),[S,k,a,We,j,z,ot,He,i,ye,De,r,_,T,A,o,u,n,E]),mt=w.useCallback((Le={},lt=null)=>({...Le,ref:lt,onMouseDown:Ya(Le.onMouseDown,TO),onTouchStart:Ya(Le.onTouchStart,TO),"data-disabled":bo(n),"data-checked":bo(ye),"data-invalid":bo(o)}),[ye,n,o]);return{state:{isInvalid:o,isFocused:te,isChecked:ye,isActive:X,isHovered:$,isIndeterminate:b,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:wt,getCheckboxProps:Be,getInputProps:st,getLabelProps:mt,htmlProps:R}}function TO(e){e.preventDefault(),e.stopPropagation()}var rme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},ime={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ome=tf({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),ame=tf({from:{opacity:0},to:{opacity:1}}),sme=tf({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),Q$=Ae(function(t,n){const r=Xge(),i={...r,...t},o=Yi("Checkbox",i),a=En(t),{spacing:s="0.5rem",className:l,children:u,iconColor:d,iconSize:h,icon:m=N.createElement(tme,null),isChecked:v,isDisabled:b=r==null?void 0:r.isDisabled,onChange:S,inputProps:k,...E}=a;let _=v;r!=null&&r.value&&a.value&&(_=r.value.includes(a.value));let T=S;r!=null&&r.onChange&&a.value&&(T=Qge(r.onChange,S));const{state:A,getInputProps:I,getCheckboxProps:R,getLabelProps:D,getRootProps:j}=Z$({...E,isDisabled:b,isChecked:_,onChange:T}),z=w.useMemo(()=>({animation:A.isIndeterminate?`${ame} 20ms linear, ${sme} 200ms linear`:`${ome} 200ms linear`,fontSize:h,color:d,...o.icon}),[d,h,,A.isIndeterminate,o.icon]),V=w.cloneElement(m,{__css:z,isIndeterminate:A.isIndeterminate,isChecked:A.isChecked});return N.createElement(Ce.label,{__css:{...ime,...o.container},className:Zge("chakra-checkbox",l),...j()},N.createElement("input",{className:"chakra-checkbox__input",...I(k,n)}),N.createElement(Ce.span,{__css:{...rme,...o.control},className:"chakra-checkbox__control",...R()},V),u&&N.createElement(Ce.span,{className:"chakra-checkbox__label",...D(),__css:{marginStart:s,...o.label}},u))});Q$.displayName="Checkbox";function lme(e){return N.createElement(Da,{focusable:"false","aria-hidden":!0,...e},N.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}var JS=Ae(function(t,n){const r=Ao("CloseButton",t),{children:i,isDisabled:o,__css:a,...s}=En(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return N.createElement(Ce.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...l,...r,...a},...s},i||N.createElement(lme,{width:"1em",height:"1em"}))});JS.displayName="CloseButton";function ume(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function dk(e,t){let n=ume(e);const r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function z7(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function l5(e,t,n){return(e-t)*100/(n-t)}function J$(e,t,n){return(n-t)*e+t}function H7(e,t,n){const r=Math.round((e-t)/n)*n+t,i=z7(n);return dk(r,i)}function Cm(e,t,n){return e==null?e:(nr==null?"":C6(r,o,n)??""),m=typeof i<"u",v=m?i:d,b=eF(dd(v),o),S=n??b,k=w.useCallback(V=>{V!==v&&(m||h(V.toString()),u==null||u(V.toString(),dd(V)))},[u,m,v]),E=w.useCallback(V=>{let K=V;return l&&(K=Cm(K,a,s)),dk(K,S)},[S,l,s,a]),_=w.useCallback((V=o)=>{let K;v===""?K=dd(V):K=dd(v)+V,K=E(K),k(K)},[E,o,k,v]),T=w.useCallback((V=o)=>{let K;v===""?K=dd(-V):K=dd(v)-V,K=E(K),k(K)},[E,o,k,v]),A=w.useCallback(()=>{let V;r==null?V="":V=C6(r,o,n)??a,k(V)},[r,n,o,k,a]),I=w.useCallback(V=>{const K=C6(V,o,S)??a;k(K)},[S,o,k,a]),R=dd(v);return{isOutOfRange:R>s||RN.createElement(OS,{styles:tF}),fme=()=>N.createElement(OS,{styles:` + html { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + font-family: system-ui, sans-serif; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + -moz-osx-font-smoothing: grayscale; + touch-action: manipulation; + } + + body { + position: relative; + min-height: 100%; + font-feature-settings: 'kern'; + } + + *, + *::before, + *::after { + border-width: 0; + border-style: solid; + box-sizing: border-box; + } + + main { + display: block; + } + + hr { + border-top-width: 1px; + box-sizing: content-box; + height: 0; + overflow: visible; + } + + pre, + code, + kbd, + samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 1em; + } + + a { + background-color: transparent; + color: inherit; + text-decoration: inherit; + } + + abbr[title] { + border-bottom: none; + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + } + + b, + strong { + font-weight: bold; + } + + small { + font-size: 80%; + } + + sub, + sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + + sub { + bottom: -0.25em; + } + + sup { + top: -0.5em; + } + + img { + border-style: none; + } + + button, + input, + optgroup, + select, + textarea { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; + } + + button, + input { + overflow: visible; + } + + button, + select { + text-transform: none; + } + + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; + } + + fieldset { + padding: 0.35em 0.75em 0.625em; + } + + legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal; + } + + progress { + vertical-align: baseline; + } + + textarea { + overflow: auto; + } + + [type="checkbox"], + [type="radio"] { + box-sizing: border-box; + padding: 0; + } + + [type="number"]::-webkit-inner-spin-button, + [type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none !important; + } + + input[type="number"] { + -moz-appearance: textfield; + } + + [type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; + } + + [type="search"]::-webkit-search-decoration { + -webkit-appearance: none !important; + } + + ::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; + } + + details { + display: block; + } + + summary { + display: list-item; + } + + template { + display: none; + } + + [hidden] { + display: none !important; + } + + body, + blockquote, + dl, + dd, + h1, + h2, + h3, + h4, + h5, + h6, + hr, + figure, + p, + pre { + margin: 0; + } + + button { + background: transparent; + padding: 0; + } + + fieldset { + margin: 0; + padding: 0; + } + + ol, + ul { + margin: 0; + padding: 0; + } + + textarea { + resize: vertical; + } + + button, + [role="button"] { + cursor: pointer; + } + + button::-moz-focus-inner { + border: 0 !important; + } + + table { + border-collapse: collapse; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + font-size: inherit; + font-weight: inherit; + } + + button, + input, + optgroup, + select, + textarea { + padding: 0; + line-height: inherit; + color: inherit; + } + + img, + svg, + video, + canvas, + audio, + iframe, + embed, + object { + display: block; + } + + img, + video { + max-width: 100%; + height: auto; + } + + [data-js-focus-visible] :focus:not([data-focus-visible-added]):not([data-focus-visible-disabled]) { + outline: none; + box-shadow: none; + } + + select::-ms-expand { + display: none; + } + + ${tF} + `});function Rh(e,t,n,r){const i=Er(n);return w.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function hme(e){return"current"in e}var nF=()=>typeof window<"u";function pme(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var gme=e=>nF()&&e.test(navigator.vendor),mme=e=>nF()&&e.test(pme()),vme=()=>mme(/mac|iphone|ipad|ipod/i),yme=()=>vme()&&gme(/apple/i);function bme(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o;return((o=t.current)==null?void 0:o.ownerDocument)??document};Rh(i,"pointerdown",o=>{if(!yme()||!r)return;const a=o.target,l=(n??[t]).some(u=>{const d=hme(u)?u.current:u;return(d==null?void 0:d.contains(a))||d===a});i().activeElement!==a&&l&&(o.preventDefault(),a.focus())})}var Sme=cre?w.useLayoutEffect:w.useEffect;function LO(e,t=[]){const n=w.useRef(e);return Sme(()=>{n.current=e}),w.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function xme(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function wme(e,t){const n=w.useId();return w.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Wh(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=LO(n),a=LO(t),[s,l]=w.useState(e.defaultIsOpen||!1),[u,d]=xme(r,s),h=wme(i,"disclosure"),m=w.useCallback(()=>{u||l(!1),a==null||a()},[u,a]),v=w.useCallback(()=>{u||l(!0),o==null||o()},[u,o]),b=w.useCallback(()=>{(d?m:v)()},[d,v,m]);return{isOpen:!!d,onOpen:v,onClose:m,onToggle:b,isControlled:u,getButtonProps:(S={})=>({...S,"aria-expanded":d,"aria-controls":h,onClick:dre(S.onClick,b)}),getDisclosureProps:(S={})=>({...S,hidden:!d,id:h})}}function fk(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var hk=Ae(function(t,n){const{htmlSize:r,...i}=t,o=Yi("Input",i),a=En(i),s=sk(a),l=Qr("chakra-input",t.className);return N.createElement(Ce.input,{size:r,...s,__css:o.field,ref:n,className:l})});hk.displayName="Input";hk.id="Input";var[Cme,rF]=Mn({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),_me=Ae(function(t,n){const r=Yi("Input",t),{children:i,className:o,...a}=En(t),s=Qr("chakra-input__group",o),l={},u=XS(i),d=r.field;u.forEach(m=>{r&&(d&&m.type.id==="InputLeftElement"&&(l.paddingStart=d.height??d.h),d&&m.type.id==="InputRightElement"&&(l.paddingEnd=d.height??d.h),m.type.id==="InputRightAddon"&&(l.borderEndRadius=0),m.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const h=u.map(m=>{var v,b;const S=fk({size:((v=m.props)==null?void 0:v.size)||t.size,variant:((b=m.props)==null?void 0:b.variant)||t.variant});return m.type.id!=="Input"?w.cloneElement(m,S):w.cloneElement(m,Object.assign(S,l,m.props))});return N.createElement(Ce.div,{className:s,ref:n,__css:{width:"100%",display:"flex",position:"relative"},...a},N.createElement(Cme,{value:r},h))});_me.displayName="InputGroup";var kme={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},Eme=Ce("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),pk=Ae(function(t,n){const{placement:r="left",...i}=t,o=kme[r]??{},a=rF();return N.createElement(Eme,{ref:n,...i,__css:{...a.addon,...o}})});pk.displayName="InputAddon";var iF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"left",...t,className:Qr("chakra-input__left-addon",t.className)})});iF.displayName="InputLeftAddon";iF.id="InputLeftAddon";var oF=Ae(function(t,n){return N.createElement(pk,{ref:n,placement:"right",...t,className:Qr("chakra-input__right-addon",t.className)})});oF.displayName="InputRightAddon";oF.id="InputRightAddon";var Pme=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),ex=Ae(function(t,n){const{placement:r="left",...i}=t,o=rF(),a=o.field,l={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...o.element};return N.createElement(Pme,{ref:n,__css:l,...i})});ex.id="InputElement";ex.displayName="InputElement";var aF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__left-element",r);return N.createElement(ex,{ref:n,placement:"left",className:o,...i})});aF.id="InputLeftElement";aF.displayName="InputLeftElement";var sF=Ae(function(t,n){const{className:r,...i}=t,o=Qr("chakra-input__right-element",r);return N.createElement(ex,{ref:n,placement:"right",className:o,...i})});sF.id="InputRightElement";sF.displayName="InputRightElement";function Tme(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Wd(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):Tme(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}var Lme=Ae(function(e,t){const{ratio:n=4/3,children:r,className:i,...o}=e,a=w.Children.only(r),s=Qr("chakra-aspect-ratio",i);return N.createElement(Ce.div,{ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:Wd(n,l=>`${1/l*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o},a)});Lme.displayName="AspectRatio";var Ame=Ae(function(t,n){const r=Ao("Badge",t),{className:i,...o}=En(t);return N.createElement(Ce.span,{ref:n,className:Qr("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});Ame.displayName="Badge";var ko=Ce("div");ko.displayName="Box";var lF=Ae(function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return N.createElement(ko,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})});lF.displayName="Square";var Ome=Ae(function(t,n){const{size:r,...i}=t;return N.createElement(lF,{size:r,ref:n,borderRadius:"9999px",...i})});Ome.displayName="Circle";var uF=Ce("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});uF.displayName="Center";var Mme={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};Ae(function(t,n){const{axis:r="both",...i}=t;return N.createElement(Ce.div,{ref:n,__css:Mme[r],...i,position:"absolute"})});var Ime=Ae(function(t,n){const r=Ao("Code",t),{className:i,...o}=En(t);return N.createElement(Ce.code,{ref:n,className:Qr("chakra-code",t.className),...o,__css:{display:"inline-block",...r}})});Ime.displayName="Code";var Rme=Ae(function(t,n){const{className:r,centerContent:i,...o}=En(t),a=Ao("Container",t);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});Rme.displayName="Container";var Dme=Ae(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:u,...d}=Ao("Divider",t),{className:h,orientation:m="horizontal",__css:v,...b}=En(t),S={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return N.createElement(Ce.hr,{ref:n,"aria-orientation":m,...b,__css:{...d,border:"0",borderColor:u,borderStyle:l,...S[m],...v},className:Qr("chakra-divider",h)})});Dme.displayName="Divider";var Ge=Ae(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:s,grow:l,shrink:u,...d}=t,h={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:s,flexGrow:l,flexShrink:u};return N.createElement(Ce.div,{ref:n,__css:h,...d})});Ge.displayName="Flex";var cF=Ae(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:s,row:l,autoFlow:u,autoRows:d,templateRows:h,autoColumns:m,templateColumns:v,...b}=t,S={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:m,gridColumn:s,gridRow:l,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:h,gridTemplateColumns:v};return N.createElement(Ce.div,{ref:n,__css:S,...b})});cF.displayName="Grid";function AO(e){return Wd(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}var Nme=Ae(function(t,n){const{area:r,colSpan:i,colStart:o,colEnd:a,rowEnd:s,rowSpan:l,rowStart:u,...d}=t,h=fk({gridArea:r,gridColumn:AO(i),gridRow:AO(l),gridColumnStart:o,gridColumnEnd:a,gridRowStart:u,gridRowEnd:s});return N.createElement(Ce.div,{ref:n,__css:h,...d})});Nme.displayName="GridItem";var Dh=Ae(function(t,n){const r=Ao("Heading",t),{className:i,...o}=En(t);return N.createElement(Ce.h2,{ref:n,className:Qr("chakra-heading",t.className),...o,__css:r})});Dh.displayName="Heading";Ae(function(t,n){const r=Ao("Mark",t),i=En(t);return N.createElement(ko,{ref:n,...i,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...r}})});var jme=Ae(function(t,n){const r=Ao("Kbd",t),{className:i,...o}=En(t);return N.createElement(Ce.kbd,{ref:n,className:Qr("chakra-kbd",i),...o,__css:{fontFamily:"mono",...r}})});jme.displayName="Kbd";var Nh=Ae(function(t,n){const r=Ao("Link",t),{className:i,isExternal:o,...a}=En(t);return N.createElement(Ce.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Qr("chakra-link",i),...a,__css:r})});Nh.displayName="Link";Ae(function(t,n){const{isExternal:r,target:i,rel:o,className:a,...s}=t;return N.createElement(Ce.a,{...s,ref:n,className:Qr("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":o,target:r?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})});Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.div,{ref:n,position:"relative",...i,className:Qr("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})});var[Bme,dF]=Mn({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),gk=Ae(function(t,n){const r=Yi("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:s,...l}=En(t),u=XS(i),h=s?{["& > *:not(style) ~ *:not(style)"]:{mt:s}}:{};return N.createElement(Bme,{value:r},N.createElement(Ce.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...h},...l},u))});gk.displayName="List";var $me=Ae((e,t)=>{const{as:n,...r}=e;return N.createElement(gk,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});$me.displayName="OrderedList";var Fme=Ae(function(t,n){const{as:r,...i}=t;return N.createElement(gk,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});Fme.displayName="UnorderedList";var zme=Ae(function(t,n){const r=dF();return N.createElement(Ce.li,{ref:n,...t,__css:r.item})});zme.displayName="ListItem";var Hme=Ae(function(t,n){const r=dF();return N.createElement(Da,{ref:n,role:"presentation",...t,__css:r.icon})});Hme.displayName="ListIcon";var Vme=Ae(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:s,...l}=t,u=h0(),d=s?Ume(s,u):Gme(r);return N.createElement(cF,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:d,...l})});Vme.displayName="SimpleGrid";function Wme(e){return typeof e=="number"?`${e}px`:e}function Ume(e,t){return Wd(e,n=>{const r=Gue("sizes",n,Wme(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function Gme(e){return Wd(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var fF=Ce("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});fF.displayName="Spacer";var V7="& > *:not(style) ~ *:not(style)";function qme(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[V7]:Wd(n,i=>r[i])}}function Yme(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Wd(n,i=>r[i])}}var hF=e=>N.createElement(Ce.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});hF.displayName="StackItem";var mk=Ae((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:s,children:l,divider:u,className:d,shouldWrapChildren:h,...m}=e,v=n?"row":r??"column",b=w.useMemo(()=>qme({direction:v,spacing:a}),[v,a]),S=w.useMemo(()=>Yme({spacing:a,direction:v}),[a,v]),k=!!u,E=!h&&!k,_=w.useMemo(()=>{const A=XS(l);return E?A:A.map((I,R)=>{const D=typeof I.key<"u"?I.key:R,j=R+1===A.length,V=h?N.createElement(hF,{key:D},I):I;if(!k)return V;const K=w.cloneElement(u,{__css:S}),te=j?null:K;return N.createElement(w.Fragment,{key:D},V,te)})},[u,S,k,E,h,l]),T=Qr("chakra-stack",d);return N.createElement(Ce.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:b.flexDirection,flexWrap:s,className:T,__css:k?{}:{[V7]:b[V7]},...m},_)});mk.displayName="Stack";var wy=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"row",ref:t}));wy.displayName="HStack";var yn=Ae((e,t)=>N.createElement(mk,{align:"center",...e,direction:"column",ref:t}));yn.displayName="VStack";var fn=Ae(function(t,n){const r=Ao("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=En(t),u=fk({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return N.createElement(Ce.p,{ref:n,className:Qr("chakra-text",t.className),...u,...l,__css:r})});fn.displayName="Text";function OO(e){return typeof e=="number"?`${e}px`:e}var Kme=Ae(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:s,direction:l,align:u,className:d,shouldWrapChildren:h,...m}=t,v=w.useMemo(()=>{const{spacingX:S=r,spacingY:k=r}={spacingX:i,spacingY:o};return{"--chakra-wrap-x-spacing":E=>Wd(S,_=>OO(ZC("space",_)(E))),"--chakra-wrap-y-spacing":E=>Wd(k,_=>OO(ZC("space",_)(E))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:u,flexDirection:l,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[r,i,o,s,u,l]),b=w.useMemo(()=>h?w.Children.map(a,(S,k)=>N.createElement(pF,{key:k},S)):a,[a,h]);return N.createElement(Ce.div,{ref:n,className:Qr("chakra-wrap",d),overflow:"hidden",...m},N.createElement(Ce.ul,{className:"chakra-wrap__list",__css:v},b))});Kme.displayName="Wrap";var pF=Ae(function(t,n){const{className:r,...i}=t;return N.createElement(Ce.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:Qr("chakra-wrap__listitem",r),...i})});pF.displayName="WrapItem";var Xme={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},gF=Xme,Cg=()=>{},Zme={document:gF,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Cg,removeEventListener:Cg,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:Cg,removeListener:Cg}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)},setTimeout:()=>0,clearTimeout:Cg,setInterval:()=>0,clearInterval:Cg},Qme=Zme,Jme={window:Qme,document:gF},mF=typeof window<"u"?{window,document}:Jme,vF=w.createContext(mF);vF.displayName="EnvironmentContext";function yF(e){const{children:t,environment:n}=e,[r,i]=w.useState(null),[o,a]=w.useState(!1);w.useEffect(()=>a(!0),[]);const s=w.useMemo(()=>{if(n)return n;const l=r==null?void 0:r.ownerDocument,u=r==null?void 0:r.ownerDocument.defaultView;return l?{document:l,window:u}:mF},[r,n]);return N.createElement(vF.Provider,{value:s},t,!n&&o&&N.createElement("span",{id:"__chakra_env",hidden:!0,ref:l=>{w.startTransition(()=>{l&&i(l)})}}))}yF.displayName="EnvironmentProvider";var e0e=e=>e?"":void 0;function t0e(){const e=w.useRef(new Map),t=e.current,n=w.useCallback((i,o,a,s)=>{e.current.set(a,{type:o,el:i,options:s}),i.addEventListener(o,a,s)},[]),r=w.useCallback((i,o,a,s)=>{i.removeEventListener(o,a,s),e.current.delete(a)},[]);return w.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function _6(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function n0e(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:s,onClick:l,onKeyDown:u,onKeyUp:d,tabIndex:h,onMouseOver:m,onMouseLeave:v,...b}=e,[S,k]=w.useState(!0),[E,_]=w.useState(!1),T=t0e(),A=Z=>{Z&&Z.tagName!=="BUTTON"&&k(!1)},I=S?h:h||0,R=n&&!r,D=w.useCallback(Z=>{if(n){Z.stopPropagation(),Z.preventDefault();return}Z.currentTarget.focus(),l==null||l(Z)},[n,l]),j=w.useCallback(Z=>{E&&_6(Z)&&(Z.preventDefault(),Z.stopPropagation(),_(!1),T.remove(document,"keyup",j,!1))},[E,T]),z=w.useCallback(Z=>{if(u==null||u(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;const W=i&&Z.key==="Enter";o&&Z.key===" "&&(Z.preventDefault(),_(!0)),W&&(Z.preventDefault(),Z.currentTarget.click()),T.add(document,"keyup",j,!1)},[n,S,u,i,o,T,j]),V=w.useCallback(Z=>{if(d==null||d(Z),n||Z.defaultPrevented||Z.metaKey||!_6(Z.nativeEvent)||S)return;o&&Z.key===" "&&(Z.preventDefault(),_(!1),Z.currentTarget.click())},[o,S,n,d]),K=w.useCallback(Z=>{Z.button===0&&(_(!1),T.remove(document,"mouseup",K,!1))},[T]),te=w.useCallback(Z=>{if(Z.button!==0)return;if(n){Z.stopPropagation(),Z.preventDefault();return}S||_(!0),Z.currentTarget.focus({preventScroll:!0}),T.add(document,"mouseup",K,!1),a==null||a(Z)},[n,S,a,T,K]),q=w.useCallback(Z=>{Z.button===0&&(S||_(!1),s==null||s(Z))},[s,S]),$=w.useCallback(Z=>{if(n){Z.preventDefault();return}m==null||m(Z)},[n,m]),U=w.useCallback(Z=>{E&&(Z.preventDefault(),_(!1)),v==null||v(Z)},[E,v]),X=qn(t,A);return S?{...b,ref:X,type:"button","aria-disabled":R?void 0:n,disabled:R,onClick:D,onMouseDown:a,onMouseUp:s,onKeyUp:d,onKeyDown:u,onMouseOver:m,onMouseLeave:v}:{...b,ref:X,role:"button","data-active":e0e(E),"aria-disabled":n?"true":void 0,tabIndex:R?void 0:I,onClick:D,onMouseDown:te,onMouseUp:q,onKeyUp:V,onKeyDown:z,onMouseOver:$,onMouseLeave:U}}function bF(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function SF(e){if(!bF(e))return!1;const t=e.ownerDocument.defaultView??window;return e instanceof t.HTMLElement}function r0e(e){var t;return((t=xF(e))==null?void 0:t.defaultView)??window}function xF(e){return bF(e)?e.ownerDocument:document}function i0e(e){return xF(e).activeElement}var wF=e=>e.hasAttribute("tabindex"),o0e=e=>wF(e)&&e.tabIndex===-1;function a0e(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function CF(e){return e.parentElement&&CF(e.parentElement)?!0:e.hidden}function s0e(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function _F(e){if(!SF(e)||CF(e)||a0e(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():s0e(e)?!0:wF(e)}function l0e(e){return e?SF(e)&&_F(e)&&!o0e(e):!1}var u0e=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],c0e=u0e.join(),d0e=e=>e.offsetWidth>0&&e.offsetHeight>0;function kF(e){const t=Array.from(e.querySelectorAll(c0e));return t.unshift(e),t.filter(n=>_F(n)&&d0e(n))}function f0e(e){const t=e.current;if(!t)return!1;const n=i0e(t);return!n||t.contains(n)?!1:!!l0e(n)}function h0e(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;Vd(()=>{if(!o||f0e(e))return;const a=(i==null?void 0:i.current)||e.current;a&&requestAnimationFrame(()=>{a.focus()})},[o,e,i])}var p0e={preventScroll:!0,shouldFocus:!1};function g0e(e,t=p0e){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:o}=t,a=m0e(e)?e.current:e,s=i&&o,l=w.useRef(s),u=w.useRef(o);Ws(()=>{!u.current&&o&&(l.current=s),u.current=o},[o,s]);const d=w.useCallback(()=>{if(!(!o||!a||!l.current)&&(l.current=!1,!a.contains(document.activeElement)))if(n!=null&&n.current)requestAnimationFrame(()=>{var h;(h=n.current)==null||h.focus({preventScroll:r})});else{const h=kF(a);h.length>0&&requestAnimationFrame(()=>{h[0].focus({preventScroll:r})})}},[o,r,a,n]);Vd(()=>{d()},[d]),Rh(a,"transitionend",d)}function m0e(e){return"current"in e}var Zo="top",ls="bottom",us="right",Qo="left",vk="auto",Cy=[Zo,ls,us,Qo],Um="start",L2="end",v0e="clippingParents",EF="viewport",G1="popper",y0e="reference",MO=Cy.reduce(function(e,t){return e.concat([t+"-"+Um,t+"-"+L2])},[]),PF=[].concat(Cy,[vk]).reduce(function(e,t){return e.concat([t,t+"-"+Um,t+"-"+L2])},[]),b0e="beforeRead",S0e="read",x0e="afterRead",w0e="beforeMain",C0e="main",_0e="afterMain",k0e="beforeWrite",E0e="write",P0e="afterWrite",T0e=[b0e,S0e,x0e,w0e,C0e,_0e,k0e,E0e,P0e];function au(e){return e?(e.nodeName||"").toLowerCase():null}function hs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uh(e){var t=hs(e).Element;return e instanceof t||e instanceof Element}function is(e){var t=hs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yk(e){if(typeof ShadowRoot>"u")return!1;var t=hs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L0e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!is(o)||!au(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function A0e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!is(i)||!au(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const O0e={name:"applyStyles",enabled:!0,phase:"write",fn:L0e,effect:A0e,requires:["computeStyles"]};function Zl(e){return e.split("-")[0]}var jh=Math.max,u5=Math.min,Gm=Math.round;function W7(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function TF(){return!/^((?!chrome|android).)*safari/i.test(W7())}function qm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&is(e)&&(i=e.offsetWidth>0&&Gm(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Gm(r.height)/e.offsetHeight||1);var a=Uh(e)?hs(e):window,s=a.visualViewport,l=!TF()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,h=r.width/i,m=r.height/o;return{width:h,height:m,top:d,right:u+h,bottom:d+m,left:u,x:u,y:d}}function bk(e){var t=qm(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function LF(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ec(e){return hs(e).getComputedStyle(e)}function M0e(e){return["table","td","th"].indexOf(au(e))>=0}function rf(e){return((Uh(e)?e.ownerDocument:e.document)||window.document).documentElement}function tx(e){return au(e)==="html"?e:e.assignedSlot||e.parentNode||(yk(e)?e.host:null)||rf(e)}function IO(e){return!is(e)||ec(e).position==="fixed"?null:e.offsetParent}function I0e(e){var t=/firefox/i.test(W7()),n=/Trident/i.test(W7());if(n&&is(e)){var r=ec(e);if(r.position==="fixed")return null}var i=tx(e);for(yk(i)&&(i=i.host);is(i)&&["html","body"].indexOf(au(i))<0;){var o=ec(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function _y(e){for(var t=hs(e),n=IO(e);n&&M0e(n)&&ec(n).position==="static";)n=IO(n);return n&&(au(n)==="html"||au(n)==="body"&&ec(n).position==="static")?t:n||I0e(e)||t}function Sk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qv(e,t,n){return jh(e,u5(t,n))}function R0e(e,t,n){var r=qv(e,t,n);return r>n?n:r}function AF(){return{top:0,right:0,bottom:0,left:0}}function OF(e){return Object.assign({},AF(),e)}function MF(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var D0e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,OF(typeof t!="number"?t:MF(t,Cy))};function N0e(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Zl(n.placement),l=Sk(s),u=[Qo,us].indexOf(s)>=0,d=u?"height":"width";if(!(!o||!a)){var h=D0e(i.padding,n),m=bk(o),v=l==="y"?Zo:Qo,b=l==="y"?ls:us,S=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],k=a[l]-n.rects.reference[l],E=_y(o),_=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,T=S/2-k/2,A=h[v],I=_-m[d]-h[b],R=_/2-m[d]/2+T,D=qv(A,R,I),j=l;n.modifiersData[r]=(t={},t[j]=D,t.centerOffset=D-R,t)}}function j0e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||LF(t.elements.popper,i)&&(t.elements.arrow=i))}const B0e={name:"arrow",enabled:!0,phase:"main",fn:N0e,effect:j0e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ym(e){return e.split("-")[1]}var $0e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F0e(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Gm(t*i)/i||0,y:Gm(n*i)/i||0}}function RO(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,S=b===void 0?0:b,k=typeof d=="function"?d({x:v,y:S}):{x:v,y:S};v=k.x,S=k.y;var E=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),T=Qo,A=Zo,I=window;if(u){var R=_y(n),D="clientHeight",j="clientWidth";if(R===hs(n)&&(R=rf(n),ec(R).position!=="static"&&s==="absolute"&&(D="scrollHeight",j="scrollWidth")),R=R,i===Zo||(i===Qo||i===us)&&o===L2){A=ls;var z=h&&R===I&&I.visualViewport?I.visualViewport.height:R[D];S-=z-r.height,S*=l?1:-1}if(i===Qo||(i===Zo||i===ls)&&o===L2){T=us;var V=h&&R===I&&I.visualViewport?I.visualViewport.width:R[j];v-=V-r.width,v*=l?1:-1}}var K=Object.assign({position:s},u&&$0e),te=d===!0?F0e({x:v,y:S}):{x:v,y:S};if(v=te.x,S=te.y,l){var q;return Object.assign({},K,(q={},q[A]=_?"0":"",q[T]=E?"0":"",q.transform=(I.devicePixelRatio||1)<=1?"translate("+v+"px, "+S+"px)":"translate3d("+v+"px, "+S+"px, 0)",q))}return Object.assign({},K,(t={},t[A]=_?S+"px":"",t[T]=E?v+"px":"",t.transform="",t))}function z0e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Zl(t.placement),variation:Ym(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,RO(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,RO(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const H0e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:z0e,data:{}};var eb={passive:!0};function V0e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=hs(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,eb)}),s&&l.addEventListener("resize",n.update,eb),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,eb)}),s&&l.removeEventListener("resize",n.update,eb)}}const W0e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:V0e,data:{}};var U0e={left:"right",right:"left",bottom:"top",top:"bottom"};function h4(e){return e.replace(/left|right|bottom|top/g,function(t){return U0e[t]})}var G0e={start:"end",end:"start"};function DO(e){return e.replace(/start|end/g,function(t){return G0e[t]})}function xk(e){var t=hs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wk(e){return qm(rf(e)).left+xk(e).scrollLeft}function q0e(e,t){var n=hs(e),r=rf(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=TF();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+wk(e),y:l}}function Y0e(e){var t,n=rf(e),r=xk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=jh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=jh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+wk(e),l=-r.scrollTop;return ec(i||n).direction==="rtl"&&(s+=jh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ck(e){var t=ec(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function IF(e){return["html","body","#document"].indexOf(au(e))>=0?e.ownerDocument.body:is(e)&&Ck(e)?e:IF(tx(e))}function Yv(e,t){var n;t===void 0&&(t=[]);var r=IF(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=hs(r),a=i?[o].concat(o.visualViewport||[],Ck(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Yv(tx(a)))}function U7(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function K0e(e,t){var n=qm(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function NO(e,t,n){return t===EF?U7(q0e(e,n)):Uh(t)?K0e(t,n):U7(Y0e(rf(e)))}function X0e(e){var t=Yv(tx(e)),n=["absolute","fixed"].indexOf(ec(e).position)>=0,r=n&&is(e)?_y(e):e;return Uh(r)?t.filter(function(i){return Uh(i)&&LF(i,r)&&au(i)!=="body"}):[]}function Z0e(e,t,n,r){var i=t==="clippingParents"?X0e(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var d=NO(e,u,r);return l.top=jh(d.top,l.top),l.right=u5(d.right,l.right),l.bottom=u5(d.bottom,l.bottom),l.left=jh(d.left,l.left),l},NO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function RF(e){var t=e.reference,n=e.element,r=e.placement,i=r?Zl(r):null,o=r?Ym(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Zo:l={x:a,y:t.y-n.height};break;case ls:l={x:a,y:t.y+t.height};break;case us:l={x:t.x+t.width,y:s};break;case Qo:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?Sk(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case Um:l[u]=l[u]-(t[d]/2-n[d]/2);break;case L2:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function A2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?v0e:s,u=n.rootBoundary,d=u===void 0?EF:u,h=n.elementContext,m=h===void 0?G1:h,v=n.altBoundary,b=v===void 0?!1:v,S=n.padding,k=S===void 0?0:S,E=OF(typeof k!="number"?k:MF(k,Cy)),_=m===G1?y0e:G1,T=e.rects.popper,A=e.elements[b?_:m],I=Z0e(Uh(A)?A:A.contextElement||rf(e.elements.popper),l,d,a),R=qm(e.elements.reference),D=RF({reference:R,element:T,strategy:"absolute",placement:i}),j=U7(Object.assign({},T,D)),z=m===G1?j:R,V={top:I.top-z.top+E.top,bottom:z.bottom-I.bottom+E.bottom,left:I.left-z.left+E.left,right:z.right-I.right+E.right},K=e.modifiersData.offset;if(m===G1&&K){var te=K[i];Object.keys(V).forEach(function(q){var $=[us,ls].indexOf(q)>=0?1:-1,U=[Zo,ls].indexOf(q)>=0?"y":"x";V[q]+=te[U]*$})}return V}function Q0e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?PF:l,d=Ym(r),h=d?s?MO:MO.filter(function(b){return Ym(b)===d}):Cy,m=h.filter(function(b){return u.indexOf(b)>=0});m.length===0&&(m=h);var v=m.reduce(function(b,S){return b[S]=A2(e,{placement:S,boundary:i,rootBoundary:o,padding:a})[Zl(S)],b},{});return Object.keys(v).sort(function(b,S){return v[b]-v[S]})}function J0e(e){if(Zl(e)===vk)return[];var t=h4(e);return[DO(e),t,DO(t)]}function e1e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,S=n.allowedAutoPlacements,k=t.options.placement,E=Zl(k),_=E===k,T=l||(_||!b?[h4(k)]:J0e(k)),A=[k].concat(T).reduce(function(ye,We){return ye.concat(Zl(We)===vk?Q0e(t,{placement:We,boundary:d,rootBoundary:h,padding:u,flipVariations:b,allowedAutoPlacements:S}):We)},[]),I=t.rects.reference,R=t.rects.popper,D=new Map,j=!0,z=A[0],V=0;V=0,U=$?"width":"height",X=A2(t,{placement:K,boundary:d,rootBoundary:h,altBoundary:m,padding:u}),Z=$?q?us:Qo:q?ls:Zo;I[U]>R[U]&&(Z=h4(Z));var W=h4(Z),Q=[];if(o&&Q.push(X[te]<=0),s&&Q.push(X[Z]<=0,X[W]<=0),Q.every(function(ye){return ye})){z=K,j=!1;break}D.set(K,Q)}if(j)for(var ie=b?3:1,fe=function(We){var De=A.find(function(ot){var He=D.get(ot);if(He)return He.slice(0,We).every(function(Be){return Be})});if(De)return z=De,"break"},Se=ie;Se>0;Se--){var Pe=fe(Se);if(Pe==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const t1e={name:"flip",enabled:!0,phase:"main",fn:e1e,requiresIfExists:["offset"],data:{_skip:!1}};function jO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function BO(e){return[Zo,us,ls,Qo].some(function(t){return e[t]>=0})}function n1e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=A2(t,{elementContext:"reference"}),s=A2(t,{altBoundary:!0}),l=jO(a,r),u=jO(s,i,o),d=BO(l),h=BO(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const r1e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:n1e};function i1e(e,t,n){var r=Zl(e),i=[Qo,Zo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Qo,us].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function o1e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=PF.reduce(function(d,h){return d[h]=i1e(h,t.rects,o),d},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const a1e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o1e};function s1e(e){var t=e.state,n=e.name;t.modifiersData[n]=RF({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const l1e={name:"popperOffsets",enabled:!0,phase:"read",fn:s1e,data:{}};function u1e(e){return e==="x"?"y":"x"}function c1e(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,S=b===void 0?0:b,k=A2(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:d}),E=Zl(t.placement),_=Ym(t.placement),T=!_,A=Sk(E),I=u1e(A),R=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,z=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,V=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,te={x:0,y:0};if(R){if(o){var q,$=A==="y"?Zo:Qo,U=A==="y"?ls:us,X=A==="y"?"height":"width",Z=R[A],W=Z+k[$],Q=Z-k[U],ie=v?-j[X]/2:0,fe=_===Um?D[X]:j[X],Se=_===Um?-j[X]:-D[X],Pe=t.elements.arrow,ye=v&&Pe?bk(Pe):{width:0,height:0},We=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:AF(),De=We[$],ot=We[U],He=qv(0,D[X],ye[X]),Be=T?D[X]/2-ie-He-De-V.mainAxis:fe-He-De-V.mainAxis,wt=T?-D[X]/2+ie+He+ot+V.mainAxis:Se+He+ot+V.mainAxis,st=t.elements.arrow&&_y(t.elements.arrow),mt=st?A==="y"?st.clientTop||0:st.clientLeft||0:0,St=(q=K==null?void 0:K[A])!=null?q:0,Le=Z+Be-St-mt,lt=Z+wt-St,Mt=qv(v?u5(W,Le):W,Z,v?jh(Q,lt):Q);R[A]=Mt,te[A]=Mt-Z}if(s){var ut,_t=A==="x"?Zo:Qo,ln=A==="x"?ls:us,ae=R[I],Re=I==="y"?"height":"width",Ye=ae+k[_t],Ke=ae-k[ln],xe=[Zo,Qo].indexOf(E)!==-1,Ne=(ut=K==null?void 0:K[I])!=null?ut:0,Ct=xe?Ye:ae-D[Re]-j[Re]-Ne+V.altAxis,Dt=xe?ae+D[Re]+j[Re]-Ne-V.altAxis:Ke,Te=v&&xe?R0e(Ct,ae,Dt):qv(v?Ct:Ye,ae,v?Dt:Ke);R[I]=Te,te[I]=Te-ae}t.modifiersData[r]=te}}const d1e={name:"preventOverflow",enabled:!0,phase:"main",fn:c1e,requiresIfExists:["offset"]};function f1e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function h1e(e){return e===hs(e)||!is(e)?xk(e):f1e(e)}function p1e(e){var t=e.getBoundingClientRect(),n=Gm(t.width)/e.offsetWidth||1,r=Gm(t.height)/e.offsetHeight||1;return n!==1||r!==1}function g1e(e,t,n){n===void 0&&(n=!1);var r=is(t),i=is(t)&&p1e(t),o=rf(t),a=qm(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((au(t)!=="body"||Ck(o))&&(s=h1e(t)),is(t)?(l=qm(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=wk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function m1e(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function v1e(e){var t=m1e(e);return T0e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function y1e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function b1e(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var $O={placement:"bottom",modifiers:[],strategy:"absolute"};function FO(){for(var e=arguments.length,t=new Array(e),n=0;n({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),oi={arrowShadowColor:_g("--popper-arrow-shadow-color"),arrowSize:_g("--popper-arrow-size","8px"),arrowSizeHalf:_g("--popper-arrow-size-half"),arrowBg:_g("--popper-arrow-bg"),transformOrigin:_g("--popper-transform-origin"),arrowOffset:_g("--popper-arrow-offset")};function C1e(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var _1e={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},k1e=e=>_1e[e],zO={scroll:!0,resize:!0};function E1e(e){let t;return typeof e=="object"?t={enabled:!0,options:{...zO,...e}}:t={enabled:e,options:zO},t}var P1e={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},T1e={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{HO(e)},effect:({state:e})=>()=>{HO(e)}},HO=e=>{e.elements.popper.style.setProperty(oi.transformOrigin.var,k1e(e.placement))},L1e={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A1e(e)}},A1e=e=>{var t;if(!e.placement)return;const n=O1e(e.placement);if((t=e.elements)!=null&&t.arrow&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:oi.arrowSize.varRef,height:oi.arrowSize.varRef,zIndex:-1});const r={[oi.arrowSizeHalf.var]:`calc(${oi.arrowSize.varRef} / 2)`,[oi.arrowOffset.var]:`calc(${oi.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},O1e=e=>{if(e.startsWith("top"))return{property:"bottom",value:oi.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:oi.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:oi.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:oi.arrowOffset.varRef}},M1e={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{VO(e)},effect:({state:e})=>()=>{VO(e)}},VO=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");t&&Object.assign(t.style,{transform:"rotate(45deg)",background:oi.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:C1e(e.placement)})},I1e={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},R1e={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function D1e(e,t="ltr"){var n;const r=((n=I1e[e])==null?void 0:n[t])||e;return t==="ltr"?r:R1e[e]??r}function DF(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:h=!0,matchWidth:m,direction:v="ltr"}=e,b=w.useRef(null),S=w.useRef(null),k=w.useRef(null),E=D1e(r,v),_=w.useRef(()=>{}),T=w.useCallback(()=>{var V;!t||!b.current||!S.current||((V=_.current)==null||V.call(_),k.current=w1e(b.current,S.current,{placement:E,modifiers:[M1e,L1e,T1e,{...P1e,enabled:!!m},{name:"eventListeners",...E1e(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:d}},...n??[]],strategy:i}),k.current.forceUpdate(),_.current=k.current.destroy)},[E,t,n,m,a,o,s,l,u,h,d,i]);w.useEffect(()=>()=>{var V;!b.current&&!S.current&&((V=k.current)==null||V.destroy(),k.current=null)},[]);const A=w.useCallback(V=>{b.current=V,T()},[T]),I=w.useCallback((V={},K=null)=>({...V,ref:qn(A,K)}),[A]),R=w.useCallback(V=>{S.current=V,T()},[T]),D=w.useCallback((V={},K=null)=>({...V,ref:qn(R,K),style:{...V.style,position:i,minWidth:m?void 0:"max-content",inset:"0 auto auto 0"}}),[i,R,m]),j=w.useCallback((V={},K=null)=>{const{size:te,shadowColor:q,bg:$,style:U,...X}=V;return{...X,ref:K,"data-popper-arrow":"",style:N1e(V)}},[]),z=w.useCallback((V={},K=null)=>({...V,ref:K,"data-popper-arrow-inner":""}),[]);return{update(){var V;(V=k.current)==null||V.update()},forceUpdate(){var V;(V=k.current)==null||V.forceUpdate()},transformOrigin:oi.transformOrigin.varRef,referenceRef:A,popperRef:R,getPopperProps:D,getArrowProps:j,getArrowInnerProps:z,getReferenceProps:I}}function N1e(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function NF(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=Er(n),a=Er(t),[s,l]=w.useState(e.defaultIsOpen||!1),u=r!==void 0?r:s,d=r!==void 0,h=w.useId(),m=i??`disclosure-${h}`,v=w.useCallback(()=>{d||l(!1),a==null||a()},[d,a]),b=w.useCallback(()=>{d||l(!0),o==null||o()},[d,o]),S=w.useCallback(()=>{u?v():b()},[u,b,v]);function k(_={}){return{..._,"aria-expanded":u,"aria-controls":m,onClick(T){var A;(A=_.onClick)==null||A.call(_,T),S()}}}function E(_={}){return{..._,hidden:!u,id:m}}return{isOpen:u,onOpen:b,onClose:v,onToggle:S,isControlled:d,getButtonProps:k,getDisclosureProps:E}}function j1e(e){const{isOpen:t,ref:n}=e,[r,i]=w.useState(t),[o,a]=w.useState(!1);return w.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),Rh(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var l;const u=r0e(n.current),d=new u.CustomEvent("animationend",{bubbles:!0});(l=n.current)==null||l.dispatchEvent(d)}}}function jF(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}var Qs={},B1e={get exports(){return Qs},set exports(e){Qs=e}},Na={},Bh={},$1e={get exports(){return Bh},set exports(e){Bh=e}},BF={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function t(W,Q){var ie=W.length;W.push(Q);e:for(;0>>1,Se=W[fe];if(0>>1;fei(We,ie))Dei(ot,We)?(W[fe]=ot,W[De]=ie,fe=De):(W[fe]=We,W[ye]=ie,fe=ye);else if(Dei(ot,ie))W[fe]=ot,W[De]=ie,fe=De;else break e}}return Q}function i(W,Q){var ie=W.sortIndex-Q.sortIndex;return ie!==0?ie:W.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],d=1,h=null,m=3,v=!1,b=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(W){for(var Q=n(u);Q!==null;){if(Q.callback===null)r(u);else if(Q.startTime<=W)r(u),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(u)}}function A(W){if(S=!1,T(W),!b)if(n(l)!==null)b=!0,X(I);else{var Q=n(u);Q!==null&&Z(A,Q.startTime-W)}}function I(W,Q){b=!1,S&&(S=!1,E(j),j=-1),v=!0;var ie=m;try{for(T(Q),h=n(l);h!==null&&(!(h.expirationTime>Q)||W&&!K());){var fe=h.callback;if(typeof fe=="function"){h.callback=null,m=h.priorityLevel;var Se=fe(h.expirationTime<=Q);Q=e.unstable_now(),typeof Se=="function"?h.callback=Se:h===n(l)&&r(l),T(Q)}else r(l);h=n(l)}if(h!==null)var Pe=!0;else{var ye=n(u);ye!==null&&Z(A,ye.startTime-Q),Pe=!1}return Pe}finally{h=null,m=ie,v=!1}}var R=!1,D=null,j=-1,z=5,V=-1;function K(){return!(e.unstable_now()-VW||125fe?(W.sortIndex=ie,t(u,W),n(l)===null&&W===n(u)&&(S?(E(j),j=-1):S=!0,Z(A,ie-fe))):(W.sortIndex=Se,t(l,W),b||v||(b=!0,X(I))),W},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(W){var Q=m;return function(){var ie=m;m=Q;try{return W.apply(this,arguments)}finally{m=ie}}}})(BF);(function(e){e.exports=BF})($1e);/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var $F=w,Ma=Bh;function Fe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),G7=Object.prototype.hasOwnProperty,F1e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,WO={},UO={};function z1e(e){return G7.call(UO,e)?!0:G7.call(WO,e)?!1:F1e.test(e)?UO[e]=!0:(WO[e]=!0,!1)}function H1e(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function V1e(e,t,n,r){if(t===null||typeof t>"u"||H1e(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oo(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var qi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qi[e]=new Oo(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qi[t]=new Oo(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qi[e]=new Oo(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qi[e]=new Oo(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){qi[e]=new Oo(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qi[e]=new Oo(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qi[e]=new Oo(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qi[e]=new Oo(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qi[e]=new Oo(e,5,!1,e.toLowerCase(),null,!1,!1)});var _k=/[\-:]([a-z])/g;function kk(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_k,kk);qi[t]=new Oo(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!1,!1)});qi.xlinkHref=new Oo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qi[e]=new Oo(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ek(e,t,n,r){var i=qi.hasOwnProperty(t)?qi[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` +`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{E6=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yv(e):""}function W1e(e){switch(e.tag){case 5:return yv(e.type);case 16:return yv("Lazy");case 13:return yv("Suspense");case 19:return yv("SuspenseList");case 0:case 2:case 15:return e=P6(e.type,!1),e;case 11:return e=P6(e.type.render,!1),e;case 1:return e=P6(e.type,!0),e;default:return""}}function X7(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kg:return"Fragment";case Yg:return"Portal";case q7:return"Profiler";case Pk:return"StrictMode";case Y7:return"Suspense";case K7:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case HF:return(e.displayName||"Context")+".Consumer";case zF:return(e._context.displayName||"Context")+".Provider";case Tk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lk:return t=e.displayName||null,t!==null?t:X7(e.type)||"Memo";case pd:t=e._payload,e=e._init;try{return X7(e(t))}catch{}}return null}function U1e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X7(t);case 8:return t===Pk?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ud(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function WF(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function G1e(e){var t=WF(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nb(e){e._valueTracker||(e._valueTracker=G1e(e))}function UF(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=WF(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function c5(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Z7(e,t){var n=t.checked;return Tr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qO(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ud(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function GF(e,t){t=t.checked,t!=null&&Ek(e,"checked",t,!1)}function Q7(e,t){GF(e,t);var n=Ud(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?J7(e,t.type,n):t.hasOwnProperty("defaultValue")&&J7(e,t.type,Ud(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YO(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function J7(e,t,n){(t!=="number"||c5(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bv=Array.isArray;function _m(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=rb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function M2(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Kv={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q1e=["Webkit","ms","Moz","O"];Object.keys(Kv).forEach(function(e){q1e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kv[t]=Kv[e]})});function XF(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Kv.hasOwnProperty(e)&&Kv[e]?(""+t).trim():t+"px"}function ZF(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=XF(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Y1e=Tr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function n9(e,t){if(t){if(Y1e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Fe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Fe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Fe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Fe(62))}}function r9(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var i9=null;function Ak(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var o9=null,km=null,Em=null;function ZO(e){if(e=Py(e)){if(typeof o9!="function")throw Error(Fe(280));var t=e.stateNode;t&&(t=ax(t),o9(e.stateNode,e.type,t))}}function QF(e){km?Em?Em.push(e):Em=[e]:km=e}function JF(){if(km){var e=km,t=Em;if(Em=km=null,ZO(e),t)for(e=0;e>>=0,e===0?32:31-(ove(e)/ave|0)|0}var ib=64,ob=4194304;function Sv(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function p5(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Sv(s):(o&=a,o!==0&&(r=Sv(o)))}else a=n&~i,a!==0?r=Sv(a):o!==0&&(r=Sv(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ky(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ys(t),e[t]=n}function cve(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zv),aM=String.fromCharCode(32),sM=!1;function bz(e,t){switch(e){case"keyup":return Bve.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sz(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xg=!1;function Fve(e,t){switch(e){case"compositionend":return Sz(t);case"keypress":return t.which!==32?null:(sM=!0,aM);case"textInput":return e=t.data,e===aM&&sM?null:e;default:return null}}function zve(e,t){if(Xg)return e==="compositionend"||!Bk&&bz(e,t)?(e=vz(),g4=Dk=_d=null,Xg=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dM(n)}}function _z(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_z(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kz(){for(var e=window,t=c5();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=c5(e.document)}return t}function $k(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Xve(e){var t=kz(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_z(n.ownerDocument.documentElement,n)){if(r!==null&&$k(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=fM(n,o);var a=fM(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zg=null,d9=null,Jv=null,f9=!1;function hM(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;f9||Zg==null||Zg!==c5(r)||(r=Zg,"selectionStart"in r&&$k(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jv&&B2(Jv,r)||(Jv=r,r=v5(d9,"onSelect"),0em||(e.current=y9[em],y9[em]=null,em--)}function nr(e,t){em++,y9[em]=e.current,e.current=t}var Gd={},lo=af(Gd),Jo=af(!1),Gh=Gd;function Xm(e,t){var n=e.type.contextTypes;if(!n)return Gd;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function b5(){fr(Jo),fr(lo)}function SM(e,t,n){if(lo.current!==Gd)throw Error(Fe(168));nr(lo,t),nr(Jo,n)}function Rz(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Fe(108,U1e(e)||"Unknown",i));return Tr({},n,r)}function S5(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gd,Gh=lo.current,nr(lo,e),nr(Jo,Jo.current),!0}function xM(e,t,n){var r=e.stateNode;if(!r)throw Error(Fe(169));n?(e=Rz(e,t,Gh),r.__reactInternalMemoizedMergedChildContext=e,fr(Jo),fr(lo),nr(lo,e)):fr(Jo),nr(Jo,n)}var Hu=null,sx=!1,z6=!1;function Dz(e){Hu===null?Hu=[e]:Hu.push(e)}function l2e(e){sx=!0,Dz(e)}function sf(){if(!z6&&Hu!==null){z6=!0;var e=0,t=Bn;try{var n=Hu;for(Bn=1;e>=a,i-=a,Uu=1<<32-Ys(t)+i|n<j?(z=D,D=null):z=D.sibling;var V=m(E,D,T[j],A);if(V===null){D===null&&(D=z);break}e&&D&&V.alternate===null&&t(E,D),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V,D=z}if(j===T.length)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;jj?(z=D,D=null):z=D.sibling;var K=m(E,D,V.value,A);if(K===null){D===null&&(D=z);break}e&&D&&K.alternate===null&&t(E,D),_=o(K,_,j),R===null?I=K:R.sibling=K,R=K,D=z}if(V.done)return n(E,D),yr&&dh(E,j),I;if(D===null){for(;!V.done;j++,V=T.next())V=h(E,V.value,A),V!==null&&(_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return yr&&dh(E,j),I}for(D=r(E,D);!V.done;j++,V=T.next())V=v(D,E,j,V.value,A),V!==null&&(e&&V.alternate!==null&&D.delete(V.key===null?j:V.key),_=o(V,_,j),R===null?I=V:R.sibling=V,R=V);return e&&D.forEach(function(te){return t(E,te)}),yr&&dh(E,j),I}function k(E,_,T,A){if(typeof T=="object"&&T!==null&&T.type===Kg&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case tb:e:{for(var I=T.key,R=_;R!==null;){if(R.key===I){if(I=T.type,I===Kg){if(R.tag===7){n(E,R.sibling),_=i(R,T.props.children),_.return=E,E=_;break e}}else if(R.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===pd&&TM(I)===R.type){n(E,R.sibling),_=i(R,T.props),_.ref=Q1(E,R,T),_.return=E,E=_;break e}n(E,R);break}else t(E,R);R=R.sibling}T.type===Kg?(_=Fh(T.props.children,E.mode,A,T.key),_.return=E,E=_):(A=C4(T.type,T.key,T.props,null,E.mode,A),A.ref=Q1(E,_,T),A.return=E,E=A)}return a(E);case Yg:e:{for(R=T.key;_!==null;){if(_.key===R)if(_.tag===4&&_.stateNode.containerInfo===T.containerInfo&&_.stateNode.implementation===T.implementation){n(E,_.sibling),_=i(_,T.children||[]),_.return=E,E=_;break e}else{n(E,_);break}else t(E,_);_=_.sibling}_=K6(T,E.mode,A),_.return=E,E=_}return a(E);case pd:return R=T._init,k(E,_,R(T._payload),A)}if(bv(T))return b(E,_,T,A);if(q1(T))return S(E,_,T,A);fb(E,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,_!==null&&_.tag===6?(n(E,_.sibling),_=i(_,T),_.return=E,E=_):(n(E,_),_=Y6(T,E.mode,A),_.return=E,E=_),a(E)):n(E,_)}return k}var Qm=Vz(!0),Wz=Vz(!1),Ty={},Jl=af(Ty),H2=af(Ty),V2=af(Ty);function Ph(e){if(e===Ty)throw Error(Fe(174));return e}function Yk(e,t){switch(nr(V2,t),nr(H2,e),nr(Jl,Ty),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:t9(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=t9(t,e)}fr(Jl),nr(Jl,t)}function Jm(){fr(Jl),fr(H2),fr(V2)}function Uz(e){Ph(V2.current);var t=Ph(Jl.current),n=t9(t,e.type);t!==n&&(nr(H2,e),nr(Jl,n))}function Kk(e){H2.current===e&&(fr(Jl),fr(H2))}var _r=af(0);function E5(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var H6=[];function Xk(){for(var e=0;en?n:4,e(!0);var r=V6.transition;V6.transition={};try{e(!1),t()}finally{Bn=n,V6.transition=r}}function sH(){return ds().memoizedState}function f2e(e,t,n){var r=Dd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lH(e))uH(t,n);else if(n=$z(e,t,n,r),n!==null){var i=To();Ks(n,e,r,i),cH(n,t,r)}}function h2e(e,t,n){var r=Dd(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lH(e))uH(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Js(s,a)){var l=t.interleaved;l===null?(i.next=i,Gk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=$z(e,t,i,r),n!==null&&(i=To(),Ks(n,e,r,i),cH(n,t,r))}}function lH(e){var t=e.alternate;return e===Pr||t!==null&&t===Pr}function uH(e,t){e2=P5=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cH(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mk(e,n)}}var T5={readContext:cs,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useInsertionEffect:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useDeferredValue:Qi,useTransition:Qi,useMutableSource:Qi,useSyncExternalStore:Qi,useId:Qi,unstable_isNewReconciler:!1},p2e={readContext:cs,useCallback:function(e,t){return Dl().memoizedState=[e,t===void 0?null:t],e},useContext:cs,useEffect:AM,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,b4(4194308,4,nH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return b4(4194308,4,e,t)},useInsertionEffect:function(e,t){return b4(4,2,e,t)},useMemo:function(e,t){var n=Dl();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dl();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=f2e.bind(null,Pr,e),[r.memoizedState,e]},useRef:function(e){var t=Dl();return e={current:e},t.memoizedState=e},useState:LM,useDebugValue:tE,useDeferredValue:function(e){return Dl().memoizedState=e},useTransition:function(){var e=LM(!1),t=e[0];return e=d2e.bind(null,e[1]),Dl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pr,i=Dl();if(yr){if(n===void 0)throw Error(Fe(407));n=n()}else{if(n=t(),Li===null)throw Error(Fe(349));Yh&30||Yz(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,AM(Xz.bind(null,r,o,e),[e]),r.flags|=2048,G2(9,Kz.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dl(),t=Li.identifierPrefix;if(yr){var n=Gu,r=Uu;n=(r&~(1<<32-Ys(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=W2++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[zl]=t,e[z2]=r,bH(e,t,!1,!1),t.stateNode=e;e:{switch(a=r9(n,r),n){case"dialog":or("cancel",e),or("close",e),i=r;break;case"iframe":case"object":case"embed":or("load",e),i=r;break;case"video":case"audio":for(i=0;it0&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304)}else{if(!r)if(e=E5(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),J1(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!yr)return Ji(t),null}else 2*Zr()-o.renderingStartTime>t0&&n!==1073741824&&(t.flags|=128,r=!0,J1(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Zr(),t.sibling=null,n=_r.current,nr(_r,r?n&1|2:n&1),t):(Ji(t),null);case 22:case 23:return sE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_a&1073741824&&(Ji(t),t.subtreeFlags&6&&(t.flags|=8192)):Ji(t),null;case 24:return null;case 25:return null}throw Error(Fe(156,t.tag))}function w2e(e,t){switch(zk(t),t.tag){case 1:return ea(t.type)&&b5(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jm(),fr(Jo),fr(lo),Xk(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kk(t),null;case 13:if(fr(_r),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Fe(340));Zm()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fr(_r),null;case 4:return Jm(),null;case 10:return Uk(t.type._context),null;case 22:case 23:return sE(),null;case 24:return null;default:return null}}var pb=!1,io=!1,C2e=typeof WeakSet=="function"?WeakSet:Set,ht=null;function im(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$r(e,t,r)}else n.current=null}function A9(e,t,n){try{n()}catch(r){$r(e,t,r)}}var $M=!1;function _2e(e,t){if(h9=g5,e=kz(),$k(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,d=0,h=e,m=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(s=a+i),h!==o||r!==0&&h.nodeType!==3||(l=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(v=h.firstChild)!==null;)m=h,h=v;for(;;){if(h===e)break t;if(m===n&&++u===i&&(s=a),m===o&&++d===r&&(l=a),(v=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(p9={focusedElem:e,selectionRange:n},g5=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){t=ht;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var S=b.memoizedProps,k=b.memoizedState,E=t.stateNode,_=E.getSnapshotBeforeUpdate(t.elementType===t.type?S:Ns(t.type,S),k);E.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Fe(163))}}catch(A){$r(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}return b=$M,$M=!1,b}function t2(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&A9(t,n,o)}i=i.next}while(i!==r)}}function cx(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function O9(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wH(e){var t=e.alternate;t!==null&&(e.alternate=null,wH(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zl],delete t[z2],delete t[v9],delete t[a2e],delete t[s2e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function CH(e){return e.tag===5||e.tag===3||e.tag===4}function FM(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||CH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function M9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=y5));else if(r!==4&&(e=e.child,e!==null))for(M9(e,t,n),e=e.sibling;e!==null;)M9(e,t,n),e=e.sibling}function I9(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(I9(e,t,n),e=e.sibling;e!==null;)I9(e,t,n),e=e.sibling}var Hi=null,js=!1;function sd(e,t,n){for(n=n.child;n!==null;)_H(e,t,n),n=n.sibling}function _H(e,t,n){if(Ql&&typeof Ql.onCommitFiberUnmount=="function")try{Ql.onCommitFiberUnmount(nx,n)}catch{}switch(n.tag){case 5:io||im(n,t);case 6:var r=Hi,i=js;Hi=null,sd(e,t,n),Hi=r,js=i,Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Hi.removeChild(n.stateNode));break;case 18:Hi!==null&&(js?(e=Hi,n=n.stateNode,e.nodeType===8?F6(e.parentNode,n):e.nodeType===1&&F6(e,n),N2(e)):F6(Hi,n.stateNode));break;case 4:r=Hi,i=js,Hi=n.stateNode.containerInfo,js=!0,sd(e,t,n),Hi=r,js=i;break;case 0:case 11:case 14:case 15:if(!io&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&A9(n,t,a),i=i.next}while(i!==r)}sd(e,t,n);break;case 1:if(!io&&(im(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){$r(n,t,s)}sd(e,t,n);break;case 21:sd(e,t,n);break;case 22:n.mode&1?(io=(r=io)||n.memoizedState!==null,sd(e,t,n),io=r):sd(e,t,n);break;default:sd(e,t,n)}}function zM(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new C2e),t.forEach(function(r){var i=I2e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Is(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Zr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*E2e(r/1960))-r,10e?16:e,kd===null)var r=!1;else{if(e=kd,kd=null,O5=0,pn&6)throw Error(Fe(331));var i=pn;for(pn|=4,ht=e.current;ht!==null;){var o=ht,a=o.child;if(ht.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lZr()-oE?$h(e,0):iE|=n),ta(e,t)}function MH(e,t){t===0&&(e.mode&1?(t=ob,ob<<=1,!(ob&130023424)&&(ob=4194304)):t=1);var n=To();e=rc(e,t),e!==null&&(ky(e,t,n),ta(e,n))}function M2e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),MH(e,n)}function I2e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Fe(314))}r!==null&&r.delete(t),MH(e,n)}var IH;IH=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Jo.current)Xo=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xo=!1,S2e(e,t,n);Xo=!!(e.flags&131072)}else Xo=!1,yr&&t.flags&1048576&&Nz(t,w5,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;S4(e,t),e=t.pendingProps;var i=Xm(t,lo.current);Tm(t,n),i=Qk(null,t,r,e,i,n);var o=Jk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(r)?(o=!0,S5(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qk(t),i.updater=lx,t.stateNode=i,i._reactInternals=t,C9(t,r,e,n),t=E9(null,t,r,!0,o,n)):(t.tag=0,yr&&o&&Fk(t),wo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(S4(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=D2e(r),e=Ns(r,e),i){case 0:t=k9(null,t,r,e,n);break e;case 1:t=NM(null,t,r,e,n);break e;case 11:t=RM(null,t,r,e,n);break e;case 14:t=DM(null,t,r,Ns(r.type,e),n);break e}throw Error(Fe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),k9(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),NM(e,t,r,i,n);case 3:e:{if(mH(t),e===null)throw Error(Fe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Fz(e,t),k5(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=e0(Error(Fe(423)),t),t=jM(e,t,r,n,i);break e}else if(r!==i){i=e0(Error(Fe(424)),t),t=jM(e,t,r,n,i);break e}else for(Ea=Md(t.stateNode.containerInfo.firstChild),La=t,yr=!0,$s=null,n=Wz(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zm(),r===i){t=ic(e,t,n);break e}wo(e,t,r,n)}t=t.child}return t;case 5:return Uz(t),e===null&&S9(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,g9(r,i)?a=null:o!==null&&g9(r,o)&&(t.flags|=32),gH(e,t),wo(e,t,a,n),t.child;case 6:return e===null&&S9(t),null;case 13:return vH(e,t,n);case 4:return Yk(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qm(t,null,r,n):wo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),RM(e,t,r,i,n);case 7:return wo(e,t,t.pendingProps,n),t.child;case 8:return wo(e,t,t.pendingProps.children,n),t.child;case 12:return wo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,nr(C5,r._currentValue),r._currentValue=a,o!==null)if(Js(o.value,a)){if(o.children===i.children&&!Jo.current){t=ic(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qu(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),x9(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Fe(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),x9(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}wo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Tm(t,n),i=cs(i),r=r(i),t.flags|=1,wo(e,t,r,n),t.child;case 14:return r=t.type,i=Ns(r,t.pendingProps),i=Ns(r.type,i),DM(e,t,r,i,n);case 15:return hH(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ns(r,i),S4(e,t),t.tag=1,ea(r)?(e=!0,S5(t)):e=!1,Tm(t,n),Hz(t,r,i),C9(t,r,i,n),E9(null,t,r,!0,e,n);case 19:return yH(e,t,n);case 22:return pH(e,t,n)}throw Error(Fe(156,t.tag))};function RH(e,t){return az(e,t)}function R2e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ns(e,t,n,r){return new R2e(e,t,n,r)}function uE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function D2e(e){if(typeof e=="function")return uE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tk)return 11;if(e===Lk)return 14}return 2}function Nd(e,t){var n=e.alternate;return n===null?(n=ns(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function C4(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")uE(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kg:return Fh(n.children,i,o,t);case Pk:a=8,i|=8;break;case q7:return e=ns(12,n,t,i|2),e.elementType=q7,e.lanes=o,e;case Y7:return e=ns(13,n,t,i),e.elementType=Y7,e.lanes=o,e;case K7:return e=ns(19,n,t,i),e.elementType=K7,e.lanes=o,e;case VF:return fx(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zF:a=10;break e;case HF:a=9;break e;case Tk:a=11;break e;case Lk:a=14;break e;case pd:a=16,r=null;break e}throw Error(Fe(130,e==null?e:typeof e,""))}return t=ns(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Fh(e,t,n,r){return e=ns(7,e,r,t),e.lanes=n,e}function fx(e,t,n,r){return e=ns(22,e,r,t),e.elementType=VF,e.lanes=n,e.stateNode={isHidden:!1},e}function Y6(e,t,n){return e=ns(6,e,null,t),e.lanes=n,e}function K6(e,t,n){return t=ns(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function N2e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=L6(0),this.expirationTimes=L6(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=L6(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cE(e,t,n,r,i,o,a,s,l){return e=new N2e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ns(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qk(o),e}function j2e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Na})(B1e);const vb=d_(Qs);var[H2e,V2e]=Mn({strict:!1,name:"PortalManagerContext"});function BH(e){const{children:t,zIndex:n}=e;return N.createElement(H2e,{value:{zIndex:n}},t)}BH.displayName="PortalManager";var[$H,W2e]=Mn({strict:!1,name:"PortalContext"}),pE="chakra-portal",U2e=".chakra-portal",G2e=e=>N.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),q2e=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=w.useState(null),o=w.useRef(null),[,a]=w.useState({});w.useEffect(()=>a({}),[]);const s=W2e(),l=V2e();Ws(()=>{if(!r)return;const d=r.ownerDocument,h=t?s??d.body:d.body;if(!h)return;o.current=d.createElement("div"),o.current.className=pE,h.appendChild(o.current),a({});const m=o.current;return()=>{h.contains(m)&&h.removeChild(m)}},[r]);const u=l!=null&&l.zIndex?N.createElement(G2e,{zIndex:l==null?void 0:l.zIndex},n):n;return o.current?Qs.createPortal(N.createElement($H,{value:o.current},u),o.current):N.createElement("span",{ref:d=>{d&&i(d)}})},Y2e=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=w.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=pE),l},[i]),[,s]=w.useState({});return Ws(()=>s({}),[]),Ws(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Qs.createPortal(N.createElement($H,{value:r?a:null},t),a):null};function ap(e){const{containerRef:t,...n}=e;return t?N.createElement(Y2e,{containerRef:t,...n}):N.createElement(q2e,{...n})}ap.defaultProps={appendToParentPortal:!0};ap.className=pE;ap.selector=U2e;ap.displayName="Portal";var K2e=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eg=new WeakMap,yb=new WeakMap,bb={},X6=0,FH=function(e){return e&&(e.host||FH(e.parentNode))},X2e=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=FH(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return Boolean(n)})},Z2e=function(e,t,n,r){var i=X2e(t,Array.isArray(e)?e:[e]);bb[n]||(bb[n]=new WeakMap);var o=bb[n],a=[],s=new Set,l=new Set(i),u=function(h){!h||s.has(h)||(s.add(h),u(h.parentNode))};i.forEach(u);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))d(m);else{var v=m.getAttribute(r),b=v!==null&&v!=="false",S=(Eg.get(m)||0)+1,k=(o.get(m)||0)+1;Eg.set(m,S),o.set(m,k),a.push(m),S===1&&b&&yb.set(m,!0),k===1&&m.setAttribute(n,"true"),b||m.setAttribute(r,"true")}})};return d(t),s.clear(),X6++,function(){a.forEach(function(h){var m=Eg.get(h)-1,v=o.get(h)-1;Eg.set(h,m),o.set(h,v),m||(yb.has(h)||h.removeAttribute(r),yb.delete(h)),v||h.removeAttribute(n)}),X6--,X6||(Eg=new WeakMap,Eg=new WeakMap,yb=new WeakMap,bb={})}},zH=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||K2e(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),Z2e(r,i,n,"aria-hidden")):function(){return null}};function gE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var jn={},Q2e={get exports(){return jn},set exports(e){jn=e}},J2e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eye=J2e,tye=eye;function HH(){}function VH(){}VH.resetWarningCache=HH;var nye=function(){function e(r,i,o,a,s,l){if(l!==tye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:VH,resetWarningCache:HH};return n.PropTypes=n,n};Q2e.exports=nye();var B9="data-focus-lock",WH="data-focus-lock-disabled",rye="data-no-focus-lock",iye="data-autofocus-inside",oye="data-no-autofocus";function aye(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sye(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function UH(e,t){return sye(t||null,function(n){return e.forEach(function(r){return aye(r,n)})})}var Z6={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function GH(e){return e}function qH(e,t){t===void 0&&(t=GH);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return i}function mE(e,t){return t===void 0&&(t=GH),qH(e,t)}function YH(e){e===void 0&&(e={});var t=qH(null);return t.options=Fl({async:!0,ssr:!1},e),t}var KH=function(e){var t=e.sideCar,n=$$(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,Fl({},n))};KH.isSideCarExport=!0;function lye(e,t){return e.useMedium(t),KH}var XH=mE({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),ZH=mE(),uye=mE(),cye=YH({async:!0}),dye=[],vE=w.forwardRef(function(t,n){var r,i=w.useState(),o=i[0],a=i[1],s=w.useRef(),l=w.useRef(!1),u=w.useRef(null),d=t.children,h=t.disabled,m=t.noFocusGuards,v=t.persistentFocus,b=t.crossFrame,S=t.autoFocus;t.allowTextSelection;var k=t.group,E=t.className,_=t.whiteList,T=t.hasPositiveIndices,A=t.shards,I=A===void 0?dye:A,R=t.as,D=R===void 0?"div":R,j=t.lockProps,z=j===void 0?{}:j,V=t.sideCar,K=t.returnFocus,te=t.focusOptions,q=t.onActivation,$=t.onDeactivation,U=w.useState({}),X=U[0],Z=w.useCallback(function(){u.current=u.current||document&&document.activeElement,s.current&&q&&q(s.current),l.current=!0},[q]),W=w.useCallback(function(){l.current=!1,$&&$(s.current)},[$]);w.useEffect(function(){h||(u.current=null)},[]);var Q=w.useCallback(function(ot){var He=u.current;if(He&&He.focus){var Be=typeof K=="function"?K(He):K;if(Be){var wt=typeof Be=="object"?Be:void 0;u.current=null,ot?Promise.resolve().then(function(){return He.focus(wt)}):He.focus(wt)}}},[K]),ie=w.useCallback(function(ot){l.current&&XH.useMedium(ot)},[]),fe=ZH.useMedium,Se=w.useCallback(function(ot){s.current!==ot&&(s.current=ot,a(ot))},[]),Pe=bn((r={},r[WH]=h&&"disabled",r[B9]=k,r),z),ye=m!==!0,We=ye&&m!=="tail",De=UH([n,Se]);return w.createElement(w.Fragment,null,ye&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}),T?w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:Z6}):null],!h&&w.createElement(V,{id:X,sideCar:cye,observed:o,disabled:h,persistentFocus:v,crossFrame:b,autoFocus:S,whiteList:_,shards:I,onActivation:Z,onDeactivation:W,returnFocus:Q,focusOptions:te}),w.createElement(D,bn({ref:De},Pe,{className:E,onBlur:fe,onFocus:ie}),d),We&&w.createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:Z6}))});vE.propTypes={};vE.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const QH=vE;function $9(e,t){return $9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$9(e,t)}function yE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$9(e,t)}function JH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fye(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function s(){a=e(o.map(function(u){return u.props})),t(a)}var l=function(u){yE(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return a};var h=d.prototype;return h.componentDidMount=function(){o.push(this),s()},h.componentDidUpdate=function(){s()},h.componentWillUnmount=function(){var v=o.indexOf(this);o.splice(v,1),s()},h.render=function(){return N.createElement(i,this.props)},d}(w.PureComponent);return JH(l,"displayName","SideEffect("+n(i)+")"),l}}var fu=function(e){for(var t=Array(e.length),n=0;n=0}).sort(Sye)},xye=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],SE=xye.join(","),wye="".concat(SE,", [data-focus-guard]"),lV=function(e,t){var n;return fu(((n=e.shadowRoot)===null||n===void 0?void 0:n.children)||e.children).reduce(function(r,i){return r.concat(i.matches(t?wye:SE)?[i]:[],lV(i))},[])},xE=function(e,t){return e.reduce(function(n,r){return n.concat(lV(r,t),r.parentNode?fu(r.parentNode.querySelectorAll(SE)).filter(function(i){return i===r}):[])},[])},Cye=function(e){var t=e.querySelectorAll("[".concat(iye,"]"));return fu(t).map(function(n){return xE([n])}).reduce(function(n,r){return n.concat(r)},[])},wE=function(e,t){return fu(e).filter(function(n){return nV(t,n)}).filter(function(n){return vye(n)})},KM=function(e,t){return t===void 0&&(t=new Map),fu(e).filter(function(n){return rV(t,n)})},z9=function(e,t,n){return sV(wE(xE(e,n),t),!0,n)},XM=function(e,t){return sV(wE(xE(e),t),!1)},_ye=function(e,t){return wE(Cye(e),t)},Y2=function(e,t){return e.shadowRoot?Y2(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:fu(e.children).some(function(n){return Y2(n,t)})},kye=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,s){return!t.has(s)})},uV=function(e){return e.parentNode?uV(e.parentNode):e},CE=function(e){var t=F9(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(B9);return n.push.apply(n,i?kye(fu(uV(r).querySelectorAll("[".concat(B9,'="').concat(i,'"]:not([').concat(WH,'="disabled"])')))):[r]),n},[])},cV=function(e){return e.activeElement?e.activeElement.shadowRoot?cV(e.activeElement.shadowRoot):e.activeElement:void 0},_E=function(){return document.activeElement?document.activeElement.shadowRoot?cV(document.activeElement.shadowRoot):document.activeElement:void 0},Eye=function(e){return e===document.activeElement},Pye=function(e){return Boolean(fu(e.querySelectorAll("iframe")).some(function(t){return Eye(t)}))},dV=function(e){var t=document&&_E();return!t||t.dataset&&t.dataset.focusGuard?!1:CE(e).some(function(n){return Y2(n,t)||Pye(n)})},Tye=function(){var e=document&&_E();return e?fu(document.querySelectorAll("[".concat(rye,"]"))).some(function(t){return Y2(t,e)}):!1},Lye=function(e,t){return t.filter(aV).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},kE=function(e,t){return aV(e)&&e.name?Lye(e,t):e},Aye=function(e){var t=new Set;return e.forEach(function(n){return t.add(kE(n,e))}),e.filter(function(n){return t.has(n)})},ZM=function(e){return e[0]&&e.length>1?kE(e[0],e):e[0]},QM=function(e,t){return e.length>1?e.indexOf(kE(e[t],e)):t},fV="NEW_FOCUS",Oye=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=bE(n);if(!(n&&e.indexOf(n)>=0)){var l=n!==void 0?t.indexOf(n):-1,u=r?t.indexOf(r):l,d=r?e.indexOf(r):-1,h=l-u,m=t.indexOf(o),v=t.indexOf(a),b=Aye(t),S=n!==void 0?b.indexOf(n):-1,k=S-(r?b.indexOf(r):l),E=QM(e,0),_=QM(e,i-1);if(l===-1||d===-1)return fV;if(!h&&d>=0)return d;if(l<=m&&s&&Math.abs(h)>1)return _;if(l>=v&&s&&Math.abs(h)>1)return E;if(h&&Math.abs(k)>1)return d;if(l<=m)return _;if(l>v)return E;if(h)return Math.abs(h)>1?d:(i+d+h)%i}},Mye=function(e){return function(t){var n,r=(n=iV(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Iye=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=KM(r.filter(Mye(n)));return i&&i.length?ZM(i):ZM(KM(t))},H9=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&H9(e.parentNode.host||e.parentNode,t),t},Q6=function(e,t){for(var n=H9(e),r=H9(t),i=0;i=0)return o}return!1},hV=function(e,t,n){var r=F9(e),i=F9(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(s){a=Q6(a||s,s)||a,n.filter(Boolean).forEach(function(l){var u=Q6(o,l);u&&(!a||Y2(u,a)?a=u:a=Q6(u,a))})}),a},Rye=function(e,t){return e.reduce(function(n,r){return n.concat(_ye(r,t))},[])},Dye=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(bye)},Nye=function(e,t){var n=document&&_E(),r=CE(e).filter(R5),i=hV(n||e,e,r),o=new Map,a=XM(r,o),s=z9(r,o).filter(function(m){var v=m.node;return R5(v)});if(!(!s[0]&&(s=a,!s[0]))){var l=XM([i],o).map(function(m){var v=m.node;return v}),u=Dye(l,s),d=u.map(function(m){var v=m.node;return v}),h=Oye(d,l,n,t);return h===fV?{node:Iye(a,d,Rye(r,o))}:h===void 0?h:u[h]}},jye=function(e){var t=CE(e).filter(R5),n=hV(e,e,t),r=new Map,i=z9([n],r,!0),o=z9(t,r).filter(function(a){var s=a.node;return R5(s)}).map(function(a){var s=a.node;return s});return i.map(function(a){var s=a.node,l=a.index;return{node:s,index:l,lockItem:o.indexOf(s)>=0,guard:bE(s)}})},Bye=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},J6=0,eC=!1,$ye=function(e,t,n){n===void 0&&(n={});var r=Nye(e,t);if(!eC&&r){if(J6>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eC=!0,setTimeout(function(){eC=!1},1);return}J6++,Bye(r.node,n.focusOptions),J6--}};const pV=$ye;function gV(e){var t=window,n=t.setImmediate;typeof n<"u"?n(e):setTimeout(e,1)}var Fye=function(){return document&&document.activeElement===document.body},zye=function(){return Fye()||Tye()},Am=null,am=null,Om=null,K2=!1,Hye=function(){return!0},Vye=function(t){return(Am.whiteList||Hye)(t)},Wye=function(t,n){Om={observerNode:t,portaledElement:n}},Uye=function(t){return Om&&Om.portaledElement===t};function JM(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var Gye=function(t){return t&&"current"in t?t.current:t},qye=function(t){return t?Boolean(K2):K2==="meanwhile"},Yye=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Kye=function(t,n){return n.some(function(r){return Yye(t,r,r)})},D5=function(){var t=!1;if(Am){var n=Am,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||Om&&Om.portaledElement,d=document&&document.activeElement;if(u){var h=[u].concat(a.map(Gye).filter(Boolean));if((!d||Vye(d))&&(i||qye(s)||!zye()||!am&&o)&&(u&&!(dV(h)||d&&Kye(d,h)||Uye(d))&&(document&&!am&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(t=pV(h,am,{focusOptions:l}),Om={})),K2=!1,am=document&&document.activeElement),document){var m=document&&document.activeElement,v=jye(h),b=v.map(function(S){var k=S.node;return k}).indexOf(m);b>-1&&(v.filter(function(S){var k=S.guard,E=S.node;return k&&E.dataset.focusAutoGuard}).forEach(function(S){var k=S.node;return k.removeAttribute("tabIndex")}),JM(b,v.length,1,v),JM(b,-1,-1,v))}}}return t},mV=function(t){D5()&&t&&(t.stopPropagation(),t.preventDefault())},EE=function(){return gV(D5)},Xye=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Wye(r,n)},Zye=function(){return null},vV=function(){K2="just",setTimeout(function(){K2="meanwhile"},0)},Qye=function(){document.addEventListener("focusin",mV),document.addEventListener("focusout",EE),window.addEventListener("blur",vV)},Jye=function(){document.removeEventListener("focusin",mV),document.removeEventListener("focusout",EE),window.removeEventListener("blur",vV)};function e3e(e){return e.filter(function(t){var n=t.disabled;return!n})}function t3e(e){var t=e.slice(-1)[0];t&&!Am&&Qye();var n=Am,r=n&&t&&t.id===n.id;Am=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(am=null,(!r||n.observed!==t.observed)&&t.onActivation(),D5(),gV(D5)):(Jye(),am=null)}XH.assignSyncMedium(Xye);ZH.assignMedium(EE);uye.assignMedium(function(e){return e({moveFocusInside:pV,focusInside:dV})});const n3e=fye(e3e,t3e)(Zye);var yV=w.forwardRef(function(t,n){return w.createElement(QH,bn({sideCar:n3e,ref:n},t))}),bV=QH.propTypes||{};bV.sideCar;gE(bV,["sideCar"]);yV.propTypes={};const r3e=yV;var SV=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=w.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&kF(r.current).length===0&&requestAnimationFrame(()=>{var b;(b=r.current)==null||b.focus()})},[t,r]),h=w.useCallback(()=>{var v;(v=n==null?void 0:n.current)==null||v.focus()},[n]),m=i&&!n;return N.createElement(r3e,{crossFrame:u,persistentFocus:l,autoFocus:s,disabled:a,onActivation:d,onDeactivation:h,returnFocus:m},o)};SV.displayName="FocusLock";var _4="right-scroll-bar-position",k4="width-before-scroll-bar",i3e="with-scroll-bars-hidden",o3e="--removed-body-scroll-bar-size",xV=YH(),tC=function(){},vx=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:tC,onWheelCapture:tC,onTouchMoveCapture:tC}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,m=e.sideCar,v=e.noIsolation,b=e.inert,S=e.allowPinchZoom,k=e.as,E=k===void 0?"div":k,_=$$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),T=m,A=UH([n,t]),I=Fl(Fl({},_),i);return w.createElement(w.Fragment,null,d&&w.createElement(T,{sideCar:xV,removeScrollBar:u,shards:h,noIsolation:v,inert:b,setCallbacks:o,allowPinchZoom:!!S,lockRef:n}),a?w.cloneElement(w.Children.only(s),Fl(Fl({},I),{ref:A})):w.createElement(E,Fl({},I,{className:l,ref:A}),s))});vx.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};vx.classNames={fullWidth:k4,zeroRight:_4};var a3e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s3e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a3e();return t&&e.setAttribute("nonce",t),e}function l3e(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u3e(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c3e=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s3e())&&(l3e(t,n),u3e(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d3e=function(){var e=c3e();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wV=function(){var e=d3e(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},f3e={left:0,top:0,right:0,gap:0},nC=function(e){return parseInt(e||"",10)||0},h3e=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[nC(n),nC(r),nC(i)]},p3e=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f3e;var t=h3e(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},g3e=wV(),m3e=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` + .`.concat(i3e,` { + overflow: hidden `).concat(r,`; + padding-right: `).concat(s,"px ").concat(r,`; + } + body { + overflow: hidden `).concat(r,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` + padding-left: `.concat(i,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(a,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(s,"px ").concat(r,`; + `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),` + } + + .`).concat(_4,` { + right: `).concat(s,"px ").concat(r,`; + } + + .`).concat(k4,` { + margin-right: `).concat(s,"px ").concat(r,`; + } + + .`).concat(_4," .").concat(_4,` { + right: 0 `).concat(r,`; + } + + .`).concat(k4," .").concat(k4,` { + margin-right: 0 `).concat(r,`; + } + + body { + `).concat(o3e,": ").concat(s,`px; + } +`)},v3e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=w.useMemo(function(){return p3e(i)},[i]);return w.createElement(g3e,{styles:m3e(o,!t,i,n?"":"!important")})},V9=!1;if(typeof window<"u")try{var Sb=Object.defineProperty({},"passive",{get:function(){return V9=!0,!0}});window.addEventListener("test",Sb,Sb),window.removeEventListener("test",Sb,Sb)}catch{V9=!1}var Pg=V9?{passive:!1}:!1,y3e=function(e){return e.tagName==="TEXTAREA"},CV=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!y3e(e)&&n[t]==="visible")},b3e=function(e){return CV(e,"overflowY")},S3e=function(e){return CV(e,"overflowX")},eI=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=_V(e,n);if(r){var i=kV(e,n),o=i[1],a=i[2];if(o>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},x3e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},w3e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},_V=function(e,t){return e==="v"?b3e(t):S3e(t)},kV=function(e,t){return e==="v"?x3e(t):w3e(t)},C3e=function(e,t){return e==="h"&&t==="rtl"?-1:1},_3e=function(e,t,n,r,i){var o=C3e(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,d=a>0,h=0,m=0;do{var v=kV(e,s),b=v[0],S=v[1],k=v[2],E=S-k-o*b;(b||E)&&_V(e,s)&&(h+=E,m+=b),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&(i&&h===0||!i&&a>h)||!d&&(i&&m===0||!i&&-a>m))&&(u=!0),u},xb=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tI=function(e){return[e.deltaX,e.deltaY]},nI=function(e){return e&&"current"in e?e.current:e},k3e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},E3e=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},P3e=0,Tg=[];function T3e(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),i=w.useState(P3e++)[0],o=w.useState(function(){return wV()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var S=D7([e.lockRef.current],(e.shards||[]).map(nI),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=w.useCallback(function(S,k){if("touches"in S&&S.touches.length===2)return!a.current.allowPinchZoom;var E=xb(S),_=n.current,T="deltaX"in S?S.deltaX:_[0]-E[0],A="deltaY"in S?S.deltaY:_[1]-E[1],I,R=S.target,D=Math.abs(T)>Math.abs(A)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var j=eI(D,R);if(!j)return!0;if(j?I=D:(I=D==="v"?"h":"v",j=eI(D,R)),!j)return!1;if(!r.current&&"changedTouches"in S&&(T||A)&&(r.current=I),!I)return!0;var z=r.current||I;return _3e(z,k,S,z==="h"?T:A,!0)},[]),l=w.useCallback(function(S){var k=S;if(!(!Tg.length||Tg[Tg.length-1]!==o)){var E="deltaY"in k?tI(k):xb(k),_=t.current.filter(function(I){return I.name===k.type&&I.target===k.target&&k3e(I.delta,E)})[0];if(_&&_.should){k.cancelable&&k.preventDefault();return}if(!_){var T=(a.current.shards||[]).map(nI).filter(Boolean).filter(function(I){return I.contains(k.target)}),A=T.length>0?s(k,T[0]):!a.current.noIsolation;A&&k.cancelable&&k.preventDefault()}}},[]),u=w.useCallback(function(S,k,E,_){var T={name:S,delta:k,target:E,should:_};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(A){return A!==T})},1)},[]),d=w.useCallback(function(S){n.current=xb(S),r.current=void 0},[]),h=w.useCallback(function(S){u(S.type,tI(S),S.target,s(S,e.lockRef.current))},[]),m=w.useCallback(function(S){u(S.type,xb(S),S.target,s(S,e.lockRef.current))},[]);w.useEffect(function(){return Tg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Pg),document.addEventListener("touchmove",l,Pg),document.addEventListener("touchstart",d,Pg),function(){Tg=Tg.filter(function(S){return S!==o}),document.removeEventListener("wheel",l,Pg),document.removeEventListener("touchmove",l,Pg),document.removeEventListener("touchstart",d,Pg)}},[]);var v=e.removeScrollBar,b=e.inert;return w.createElement(w.Fragment,null,b?w.createElement(o,{styles:E3e(i)}):null,v?w.createElement(v3e,{gapMode:"margin"}):null)}const L3e=lye(xV,T3e);var EV=w.forwardRef(function(e,t){return w.createElement(vx,Fl({},e,{ref:t,sideCar:L3e}))});EV.classNames=vx.classNames;const PV=EV;var sp=(...e)=>e.filter(Boolean).join(" ");function wv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var A3e=class{constructor(){an(this,"modals");this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},W9=new A3e;function O3e(e,t){w.useEffect(()=>(t&&W9.add(e),()=>{W9.remove(e)}),[t,e])}function M3e(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:s,onEsc:l}=e,u=w.useRef(null),d=w.useRef(null),[h,m,v]=R3e(r,"chakra-modal","chakra-modal--header","chakra-modal--body");I3e(u,t&&a),O3e(u,t);const b=w.useRef(null),S=w.useCallback(j=>{b.current=j.target},[]),k=w.useCallback(j=>{j.key==="Escape"&&(j.stopPropagation(),o&&(n==null||n()),l==null||l())},[o,n,l]),[E,_]=w.useState(!1),[T,A]=w.useState(!1),I=w.useCallback((j={},z=null)=>({role:"dialog",...j,ref:qn(z,u),id:h,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?m:void 0,"aria-describedby":T?v:void 0,onClick:wv(j.onClick,V=>V.stopPropagation())}),[v,T,h,m,E]),R=w.useCallback(j=>{j.stopPropagation(),b.current===j.target&&W9.isTopModal(u)&&(i&&(n==null||n()),s==null||s())},[n,i,s]),D=w.useCallback((j={},z=null)=>({...j,ref:qn(z,d),onClick:wv(j.onClick,R),onKeyDown:wv(j.onKeyDown,k),onMouseDown:wv(j.onMouseDown,S)}),[k,S,R]);return{isOpen:t,onClose:n,headerId:m,bodyId:v,setBodyMounted:A,setHeaderMounted:_,dialogRef:u,overlayRef:d,getDialogProps:I,getDialogContainerProps:D}}function I3e(e,t){const n=e.current;w.useEffect(()=>{if(!(!e.current||!t))return zH(e.current)},[t,e,n])}function R3e(e,...t){const n=w.useId(),r=e||n;return w.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}var[D3e,lp]=Mn({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[N3e,qd]=Mn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Yd=e=>{const{portalProps:t,children:n,autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m,onCloseComplete:v}=e,b=Yi("Modal",e),k={...M3e(e),autoFocus:r,trapFocus:i,initialFocusRef:o,finalFocusRef:a,returnFocusOnClose:s,blockScrollOnMount:l,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:m};return N.createElement(N3e,{value:k},N.createElement(D3e,{value:b},N.createElement(nf,{onExitComplete:v},k.isOpen&&N.createElement(ap,{...t},n))))};Yd.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};Yd.displayName="Modal";var n0=Ae((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__body",n),s=lp();return N.createElement(Ce.div,{ref:t,className:a,id:i,...r,__css:s.body})});n0.displayName="ModalBody";var Ly=Ae((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=qd(),a=sp("chakra-modal__close-btn",r),s=lp();return N.createElement(JS,{ref:t,__css:s.closeButton,className:a,onClick:wv(n,l=>{l.stopPropagation(),o()}),...i})});Ly.displayName="ModalCloseButton";function TV(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:s,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d}=qd(),[h,m]=K_();return w.useEffect(()=>{!h&&m&&setTimeout(m)},[h,m]),N.createElement(SV,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:s,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:d},N.createElement(PV,{removeScrollBar:!u,allowPinchZoom:a,enabled:o,forwardProps:!0},e.children))}var j3e={slideInBottom:{...j7,custom:{offsetY:16,reverse:!0}},slideInRight:{...j7,custom:{offsetX:16,reverse:!0}},scale:{...H$,custom:{initialScale:.95,reverse:!0}},none:{}},B3e=Ce(du.section),$3e=e=>j3e[e||"none"],LV=w.forwardRef((e,t)=>{const{preset:n,motionProps:r=$3e(n),...i}=e;return N.createElement(B3e,{ref:t,...r,...i})});LV.displayName="ModalTransition";var Zh=Ae((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l}=qd(),u=s(a,t),d=l(i),h=sp("chakra-modal__content",n),m=lp(),v={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...m.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...m.dialogContainer},{motionPreset:S}=qd();return N.createElement(TV,null,N.createElement(Ce.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:b},N.createElement(LV,{preset:S,motionProps:o,className:h,...u,__css:v},r)))});Zh.displayName="ModalContent";var yx=Ae((e,t)=>{const{className:n,...r}=e,i=sp("chakra-modal__footer",n),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...lp().footer};return N.createElement(Ce.footer,{ref:t,...r,__css:a,className:i})});yx.displayName="ModalFooter";var w0=Ae((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=qd();w.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=sp("chakra-modal__header",n),l={flex:0,...lp().header};return N.createElement(Ce.header,{ref:t,className:a,id:i,...r,__css:l})});w0.displayName="ModalHeader";var F3e=Ce(du.div),Kd=Ae((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=sp("chakra-modal__overlay",n),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...lp().overlay},{motionPreset:u}=qd(),h=i||(u==="none"?{}:z$);return N.createElement(F3e,{...h,__css:l,ref:t,className:a,...o})});Kd.displayName="ModalOverlay";function AV(e){const{leastDestructiveRef:t,...n}=e;return N.createElement(Yd,{...n,initialFocusRef:t})}var OV=Ae((e,t)=>N.createElement(Zh,{ref:t,role:"alertdialog",...e})),[QFe,z3e]=Mn(),H3e=Ce(V$),V3e=Ae((e,t)=>{const{className:n,children:r,motionProps:i,containerProps:o,...a}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=qd(),d=s(a,t),h=l(o),m=sp("chakra-modal__content",n),v=lp(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...v.dialog},S={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...v.dialogContainer},{placement:k}=z3e();return N.createElement(TV,null,N.createElement(Ce.div,{...h,className:"chakra-modal__content-container",__css:S},N.createElement(H3e,{motionProps:i,direction:k,in:u,className:m,...d,__css:b},r)))});V3e.displayName="DrawerContent";function W3e(e,t){const n=Er(e);w.useEffect(()=>{let r=null;const i=()=>n();return t!==null&&(r=window.setInterval(i,t)),()=>{r&&window.clearInterval(r)}},[t,n])}var MV=(...e)=>e.filter(Boolean).join(" "),rC=e=>e?!0:void 0;function Al(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var U3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})),G3e=e=>N.createElement(Da,{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"}));function rI(e,t,n,r){w.useEffect(()=>{if(!e.current||!r)return;const i=e.current.ownerDocument.defaultView??window,o=Array.isArray(t)?t:[t],a=new i.MutationObserver(s=>{for(const l of s)l.type==="attributes"&&l.attributeName&&o.includes(l.attributeName)&&n(l)});return a.observe(e.current,{attributes:!0,attributeFilter:o}),()=>a.disconnect()})}var q3e=50,iI=300;function Y3e(e,t){const[n,r]=w.useState(!1),[i,o]=w.useState(null),[a,s]=w.useState(!0),l=w.useRef(null),u=()=>clearTimeout(l.current);W3e(()=>{i==="increment"&&e(),i==="decrement"&&t()},n?q3e:null);const d=w.useCallback(()=>{a&&e(),l.current=setTimeout(()=>{s(!1),r(!0),o("increment")},iI)},[e,a]),h=w.useCallback(()=>{a&&t(),l.current=setTimeout(()=>{s(!1),r(!0),o("decrement")},iI)},[t,a]),m=w.useCallback(()=>{s(!0),r(!1),u()},[]);return w.useEffect(()=>()=>u(),[]),{up:d,down:h,stop:m,isSpinning:n}}var K3e=/^[Ee0-9+\-.]$/;function X3e(e){return K3e.test(e)}function Z3e(e,t){if(e.key==null)return!0;const n=e.ctrlKey||e.altKey||e.metaKey;return!(e.key.length===1)||n?!0:t(e.key)}function Q3e(e={}){const{focusInputOnChange:t=!0,clampValueOnBlur:n=!0,keepWithinRange:r=!0,min:i=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:a=1,isReadOnly:s,isDisabled:l,isRequired:u,isInvalid:d,pattern:h="[0-9]*(.[0-9]+)?",inputMode:m="decimal",allowMouseWheel:v,id:b,onChange:S,precision:k,name:E,"aria-describedby":_,"aria-label":T,"aria-labelledby":A,onFocus:I,onBlur:R,onInvalid:D,getAriaValueText:j,isValidCharacter:z,format:V,parse:K,...te}=e,q=Er(I),$=Er(R),U=Er(D),X=Er(z??X3e),Z=Er(j),W=cme(e),{update:Q,increment:ie,decrement:fe}=W,[Se,Pe]=w.useState(!1),ye=!(s||l),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useRef(null),Be=w.useCallback(Te=>Te.split("").filter(X).join(""),[X]),wt=w.useCallback(Te=>(K==null?void 0:K(Te))??Te,[K]),st=w.useCallback(Te=>((V==null?void 0:V(Te))??Te).toString(),[V]);Vd(()=>{(W.valueAsNumber>o||W.valueAsNumber{if(!We.current)return;if(We.current.value!=W.value){const At=wt(We.current.value);W.setValue(Be(At))}},[wt,Be]);const mt=w.useCallback((Te=a)=>{ye&&ie(Te)},[ie,ye,a]),St=w.useCallback((Te=a)=>{ye&&fe(Te)},[fe,ye,a]),Le=Y3e(mt,St);rI(ot,"disabled",Le.stop,Le.isSpinning),rI(He,"disabled",Le.stop,Le.isSpinning);const lt=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;const $e=wt(Te.currentTarget.value);Q(Be($e)),De.current={start:Te.currentTarget.selectionStart,end:Te.currentTarget.selectionEnd}},[Q,Be,wt]),Mt=w.useCallback(Te=>{var At;q==null||q(Te),De.current&&(Te.target.selectionStart=De.current.start??((At=Te.currentTarget.value)==null?void 0:At.length),Te.currentTarget.selectionEnd=De.current.end??Te.currentTarget.selectionStart)},[q]),ut=w.useCallback(Te=>{if(Te.nativeEvent.isComposing)return;Z3e(Te,X)||Te.preventDefault();const At=_t(Te)*a,$e=Te.key,tn={ArrowUp:()=>mt(At),ArrowDown:()=>St(At),Home:()=>Q(i),End:()=>Q(o)}[$e];tn&&(Te.preventDefault(),tn(Te))},[X,a,mt,St,Q,i,o]),_t=Te=>{let At=1;return(Te.metaKey||Te.ctrlKey)&&(At=.1),Te.shiftKey&&(At=10),At},ln=w.useMemo(()=>{const Te=Z==null?void 0:Z(W.value);if(Te!=null)return Te;const At=W.value.toString();return At||void 0},[W.value,Z]),ae=w.useCallback(()=>{let Te=W.value;if(W.value==="")return;/^[eE]/.test(W.value.toString())?W.setValue(""):(W.valueAsNumbero&&(Te=o),W.cast(Te))},[W,o,i]),Re=w.useCallback(()=>{Pe(!1),n&&ae()},[n,Pe,ae]),Ye=w.useCallback(()=>{t&&requestAnimationFrame(()=>{var Te;(Te=We.current)==null||Te.focus()})},[t]),Ke=w.useCallback(Te=>{Te.preventDefault(),Le.up(),Ye()},[Ye,Le]),xe=w.useCallback(Te=>{Te.preventDefault(),Le.down(),Ye()},[Ye,Le]);Rh(()=>We.current,"wheel",Te=>{var At;const vt=(((At=We.current)==null?void 0:At.ownerDocument)??document).activeElement===We.current;if(!v||!vt)return;Te.preventDefault();const tn=_t(Te)*a,Rn=Math.sign(Te.deltaY);Rn===-1?mt(tn):Rn===1&&St(tn)},{passive:!1});const Ne=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMax;return{...Te,ref:qn(At,ot),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||Ke(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[W.isAtMax,r,Ke,Le.stop,l]),Ct=w.useCallback((Te={},At=null)=>{const $e=l||r&&W.isAtMin;return{...Te,ref:qn(At,He),role:"button",tabIndex:-1,onPointerDown:Al(Te.onPointerDown,vt=>{vt.button!==0||$e||xe(vt)}),onPointerLeave:Al(Te.onPointerLeave,Le.stop),onPointerUp:Al(Te.onPointerUp,Le.stop),disabled:$e,"aria-disabled":rC($e)}},[W.isAtMin,r,xe,Le.stop,l]),Dt=w.useCallback((Te={},At=null)=>({name:E,inputMode:m,type:"text",pattern:h,"aria-labelledby":A,"aria-label":T,"aria-describedby":_,id:b,disabled:l,...Te,readOnly:Te.readOnly??s,"aria-readonly":Te.readOnly??s,"aria-required":Te.required??u,required:Te.required??u,ref:qn(We,At),value:st(W.value),role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Number.isNaN(W.valueAsNumber)?void 0:W.valueAsNumber,"aria-invalid":rC(d??W.isOutOfRange),"aria-valuetext":ln,autoComplete:"off",autoCorrect:"off",onChange:Al(Te.onChange,lt),onKeyDown:Al(Te.onKeyDown,ut),onFocus:Al(Te.onFocus,Mt,()=>Pe(!0)),onBlur:Al(Te.onBlur,$,Re)}),[E,m,h,A,T,st,_,b,l,u,s,d,W.value,W.valueAsNumber,W.isOutOfRange,i,o,ln,lt,ut,Mt,$,Re]);return{value:st(W.value),valueAsNumber:W.valueAsNumber,isFocused:Se,isDisabled:l,isReadOnly:s,getIncrementButtonProps:Ne,getDecrementButtonProps:Ct,getInputProps:Dt,htmlProps:te}}var[J3e,bx]=Mn({name:"NumberInputStylesContext",errorMessage:`useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[ebe,PE]=Mn({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),TE=Ae(function(t,n){const r=Yi("NumberInput",t),i=En(t),o=lk(i),{htmlProps:a,...s}=Q3e(o),l=w.useMemo(()=>s,[s]);return N.createElement(ebe,{value:l},N.createElement(J3e,{value:r},N.createElement(Ce.div,{...a,ref:n,className:MV("chakra-numberinput",t.className),__css:{position:"relative",zIndex:0,...r.root}})))});TE.displayName="NumberInput";var IV=Ae(function(t,n){const r=bx();return N.createElement(Ce.div,{"aria-hidden":!0,ref:n,...t,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})});IV.displayName="NumberInputStepper";var LE=Ae(function(t,n){const{getInputProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(Ce.input,{...i,className:MV("chakra-numberinput__field",t.className),__css:{width:"100%",...o.field}})});LE.displayName="NumberInputField";var RV=Ce("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),AE=Ae(function(t,n){const r=bx(),{getDecrementButtonProps:i}=PE(),o=i(t,n);return N.createElement(RV,{...o,__css:r.stepper},t.children??N.createElement(U3e,null))});AE.displayName="NumberDecrementStepper";var OE=Ae(function(t,n){const{getIncrementButtonProps:r}=PE(),i=r(t,n),o=bx();return N.createElement(RV,{...i,__css:o.stepper},t.children??N.createElement(G3e,null))});OE.displayName="NumberIncrementStepper";var Ay=(...e)=>e.filter(Boolean).join(" ");function tbe(e,...t){return nbe(e)?e(...t):e}var nbe=e=>typeof e=="function";function Ol(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function rbe(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var[ibe,up]=Mn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[obe,Oy]=Mn({name:"PopoverStylesContext",errorMessage:`usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Lg={click:"click",hover:"hover"};function abe(e={}){const{closeOnBlur:t=!0,closeOnEsc:n=!0,initialFocusRef:r,id:i,returnFocusOnClose:o=!0,autoFocus:a=!0,arrowSize:s,arrowShadowColor:l,trigger:u=Lg.click,openDelay:d=200,closeDelay:h=200,isLazy:m,lazyBehavior:v="unmount",computePositionOnMount:b,...S}=e,{isOpen:k,onClose:E,onOpen:_,onToggle:T}=NF(e),A=w.useRef(null),I=w.useRef(null),R=w.useRef(null),D=w.useRef(!1),j=w.useRef(!1);k&&(j.current=!0);const[z,V]=w.useState(!1),[K,te]=w.useState(!1),q=w.useId(),$=i??q,[U,X,Z,W]=["popover-trigger","popover-content","popover-header","popover-body"].map(lt=>`${lt}-${$}`),{referenceRef:Q,getArrowProps:ie,getPopperProps:fe,getArrowInnerProps:Se,forceUpdate:Pe}=DF({...S,enabled:k||!!b}),ye=j1e({isOpen:k,ref:R});bme({enabled:k,ref:I}),h0e(R,{focusRef:I,visible:k,shouldFocus:o&&u===Lg.click}),g0e(R,{focusRef:r,visible:k,shouldFocus:a&&u===Lg.click});const We=jF({wasSelected:j.current,enabled:m,mode:v,isSelected:ye.present}),De=w.useCallback((lt={},Mt=null)=>{const ut={...lt,style:{...lt.style,transformOrigin:oi.transformOrigin.varRef,[oi.arrowSize.var]:s?`${s}px`:void 0,[oi.arrowShadowColor.var]:l},ref:qn(R,Mt),children:We?lt.children:null,id:X,tabIndex:-1,role:"dialog",onKeyDown:Ol(lt.onKeyDown,_t=>{n&&_t.key==="Escape"&&E()}),onBlur:Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=iC(R.current,ln),Re=iC(I.current,ln);k&&t&&(!ae&&!Re)&&E()}),"aria-labelledby":z?Z:void 0,"aria-describedby":K?W:void 0};return u===Lg.hover&&(ut.role="tooltip",ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0}),ut.onMouseLeave=Ol(lt.onMouseLeave,_t=>{_t.nativeEvent.relatedTarget!==null&&(D.current=!1,setTimeout(()=>E(),h))})),ut},[We,X,z,Z,K,W,u,n,E,k,t,h,l,s]),ot=w.useCallback((lt={},Mt=null)=>fe({...lt,style:{visibility:k?"visible":"hidden",...lt.style}},Mt),[k,fe]),He=w.useCallback((lt,Mt=null)=>({...lt,ref:qn(Mt,A,Q)}),[A,Q]),Be=w.useRef(),wt=w.useRef(),st=w.useCallback(lt=>{A.current==null&&Q(lt)},[Q]),mt=w.useCallback((lt={},Mt=null)=>{const ut={...lt,ref:qn(I,Mt,st),id:U,"aria-haspopup":"dialog","aria-expanded":k,"aria-controls":X};return u===Lg.click&&(ut.onClick=Ol(lt.onClick,T)),u===Lg.hover&&(ut.onFocus=Ol(lt.onFocus,()=>{Be.current===void 0&&_()}),ut.onBlur=Ol(lt.onBlur,_t=>{const ln=oI(_t),ae=!iC(R.current,ln);k&&t&&ae&&E()}),ut.onKeyDown=Ol(lt.onKeyDown,_t=>{_t.key==="Escape"&&E()}),ut.onMouseEnter=Ol(lt.onMouseEnter,()=>{D.current=!0,Be.current=window.setTimeout(()=>_(),d)}),ut.onMouseLeave=Ol(lt.onMouseLeave,()=>{D.current=!1,Be.current&&(clearTimeout(Be.current),Be.current=void 0),wt.current=window.setTimeout(()=>{D.current===!1&&E()},h)})),ut},[U,k,X,u,st,T,_,t,E,d,h]);w.useEffect(()=>()=>{Be.current&&clearTimeout(Be.current),wt.current&&clearTimeout(wt.current)},[]);const St=w.useCallback((lt={},Mt=null)=>({...lt,id:Z,ref:qn(Mt,ut=>{V(!!ut)})}),[Z]),Le=w.useCallback((lt={},Mt=null)=>({...lt,id:W,ref:qn(Mt,ut=>{te(!!ut)})}),[W]);return{forceUpdate:Pe,isOpen:k,onAnimationComplete:ye.onComplete,onClose:E,getAnchorProps:He,getArrowProps:ie,getArrowInnerProps:Se,getPopoverPositionerProps:ot,getPopoverProps:De,getTriggerProps:mt,getHeaderProps:St,getBodyProps:Le}}function iC(e,t){return e===t||(e==null?void 0:e.contains(t))}function oI(e){const t=e.currentTarget.ownerDocument.activeElement;return e.relatedTarget??t}function ME(e){const t=Yi("Popover",e),{children:n,...r}=En(e),i=h0(),o=abe({...r,direction:i.direction});return N.createElement(ibe,{value:o},N.createElement(obe,{value:t},tbe(n,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})))}ME.displayName="Popover";function IE(e){const{bg:t,bgColor:n,backgroundColor:r}=e,{getArrowProps:i,getArrowInnerProps:o}=up(),a=Oy(),s=t??n??r;return N.createElement(Ce.div,{...i(),className:"chakra-popover__arrow-positioner"},N.createElement(Ce.div,{className:Ay("chakra-popover__arrow",e.className),...o(e),__css:{...a.arrow,"--popper-arrow-bg":s?`colors.${s}, ${s}`:void 0}}))}IE.displayName="PopoverArrow";var sbe=Ae(function(t,n){const{getBodyProps:r}=up(),i=Oy();return N.createElement(Ce.div,{...r(t,n),className:Ay("chakra-popover__body",t.className),__css:i.body})});sbe.displayName="PopoverBody";var lbe=Ae(function(t,n){const{onClose:r}=up(),i=Oy();return N.createElement(JS,{size:"sm",onClick:r,className:Ay("chakra-popover__close-btn",t.className),__css:i.closeButton,ref:n,...t})});lbe.displayName="PopoverCloseButton";function ube(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}var cbe={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},dbe=Ce(du.section),DV=Ae(function(t,n){const{variants:r=cbe,...i}=t,{isOpen:o}=up();return N.createElement(dbe,{ref:n,variants:ube(r),initial:!1,animate:o?"enter":"exit",...i})});DV.displayName="PopoverTransition";var RE=Ae(function(t,n){const{rootProps:r,motionProps:i,...o}=t,{getPopoverProps:a,getPopoverPositionerProps:s,onAnimationComplete:l}=up(),u=Oy(),d={position:"relative",display:"flex",flexDirection:"column",...u.content};return N.createElement(Ce.div,{...s(r),__css:u.popper,className:"chakra-popover__popper"},N.createElement(DV,{...i,...a(o,n),onAnimationComplete:rbe(l,o.onAnimationComplete),className:Ay("chakra-popover__content",t.className),__css:d}))});RE.displayName="PopoverContent";var fbe=Ae(function(t,n){const{getHeaderProps:r}=up(),i=Oy();return N.createElement(Ce.header,{...r(t,n),className:Ay("chakra-popover__header",t.className),__css:i.header})});fbe.displayName="PopoverHeader";function DE(e){const t=w.Children.only(e.children),{getTriggerProps:n}=up();return w.cloneElement(t,n(t.props,t.ref))}DE.displayName="PopoverTrigger";function hbe(e,t,n){return(e-t)*100/(n-t)}var pbe=tf({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),gbe=tf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),mbe=tf({"0%":{left:"-40%"},"100%":{left:"100%"}}),vbe=tf({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function NV(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=hbe(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof o=="function"?o(t,l):i})(),role:s},percent:l,value:t}}var jV=e=>{const{size:t,isIndeterminate:n,...r}=e;return N.createElement(Ce.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:n?`${gbe} 2s linear infinite`:void 0},...r})};jV.displayName="Shape";var U9=e=>N.createElement(Ce.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});U9.displayName="Circle";var ybe=Ae((e,t)=>{const{size:n="48px",max:r=100,min:i=0,valueText:o,getValueText:a,value:s,capIsRound:l,children:u,thickness:d="10px",color:h="#0078d4",trackColor:m="#edebe9",isIndeterminate:v,...b}=e,S=NV({min:i,max:r,value:s,valueText:o,getValueText:a,isIndeterminate:v}),k=v?void 0:(S.percent??0)*2.64,E=k==null?void 0:`${k} ${264-k}`,_=v?{css:{animation:`${pbe} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:E,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},T={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return N.createElement(Ce.div,{ref:t,className:"chakra-progress",...S.bind,...b,__css:T},N.createElement(jV,{size:n,isIndeterminate:v},N.createElement(U9,{stroke:m,strokeWidth:d,className:"chakra-progress__track"}),N.createElement(U9,{stroke:h,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:l?"round":void 0,opacity:S.value===0&&!v?0:void 0,..._})),u)});ybe.displayName="CircularProgress";var[bbe,Sbe]=Mn({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),xbe=Ae((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...s}=e,l=NV({value:i,min:n,max:r,isIndeterminate:o,role:a}),d={height:"100%",...Sbe().filledTrack};return N.createElement(Ce.div,{ref:t,style:{width:`${l.percent}%`,...s.style},...l.bind,...s,__css:d})}),BV=Ae((e,t)=>{var n;const{value:r,min:i=0,max:o=100,hasStripe:a,isAnimated:s,children:l,borderRadius:u,isIndeterminate:d,"aria-label":h,"aria-labelledby":m,title:v,role:b,...S}=En(e),k=Yi("Progress",e),E=u??((n=k.track)==null?void 0:n.borderRadius),_={animation:`${vbe} 1s linear infinite`},I={...!d&&a&&s&&_,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${mbe} 1s ease infinite normal none running`}},R={overflow:"hidden",position:"relative",...k.track};return N.createElement(Ce.div,{ref:t,borderRadius:E,__css:R,...S},N.createElement(bbe,{value:k},N.createElement(xbe,{"aria-label":h,"aria-labelledby":m,min:i,max:o,value:r,isIndeterminate:d,css:I,borderRadius:E,title:v,role:b}),l))});BV.displayName="Progress";var wbe=Ce("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});wbe.displayName="CircularProgressLabel";var Cbe=(...e)=>e.filter(Boolean).join(" "),_be=e=>e?"":void 0;function kbe(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}var $V=Ae(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return N.createElement(Ce.select,{...a,ref:n,className:Cbe("chakra-select",o)},i&&N.createElement("option",{value:""},i),r)});$V.displayName="SelectField";var FV=Ae((e,t)=>{var n;const r=Yi("Select",e),{rootProps:i,placeholder:o,icon:a,color:s,height:l,h:u,minH:d,minHeight:h,iconColor:m,iconSize:v,...b}=En(e),[S,k]=kbe(b,Hte),E=sk(k),_={width:"100%",height:"fit-content",position:"relative",color:s},T={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return N.createElement(Ce.div,{className:"chakra-select__wrapper",__css:_,...S,...i},N.createElement($V,{ref:t,height:u??l,minH:d??h,placeholder:o,...E,__css:T},e.children),N.createElement(zV,{"data-disabled":_be(E.disabled),...(m||s)&&{color:m||s},__css:r.icon,...v&&{fontSize:v}},a))});FV.displayName="Select";var Ebe=e=>N.createElement("svg",{viewBox:"0 0 24 24",...e},N.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pbe=Ce("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),zV=e=>{const{children:t=N.createElement(Ebe,null),...n}=e,r=w.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return N.createElement(Pbe,{...n,className:"chakra-select__icon-wrapper"},w.isValidElement(t)?r:null)};zV.displayName="SelectIcon";function Tbe(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Lbe(e){const t=Obe(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function HV(e){return!!e.touches}function Abe(e){return HV(e)&&e.touches.length>1}function Obe(e){return e.view??window}function Mbe(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Ibe(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function VV(e,t="page"){return HV(e)?Mbe(e,t):Ibe(e,t)}function Rbe(e){return t=>{const n=Lbe(t);(!n||n&&t.button===0)&&e(t)}}function Dbe(e,t=!1){function n(i){e(i,{point:VV(i)})}return t?Rbe(n):n}function E4(e,t,n,r){return Tbe(e,t,Dbe(n,t==="pointerdown"),r)}function WV(e){const t=w.useRef(null);return t.current=e,t}var Nbe=class{constructor(e,t,n){an(this,"history",[]);an(this,"startEvent",null);an(this,"lastEvent",null);an(this,"lastEventInfo",null);an(this,"handlers",{});an(this,"removeListeners",()=>{});an(this,"threshold",3);an(this,"win");an(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const e=oC(this.lastEventInfo,this.history),t=this.startEvent!==null,n=Fbe(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!n)return;const{timestamp:r}=OL();this.history.push({...e.point,timestamp:r});const{onStart:i,onMove:o}=this.handlers;t||(i==null||i(this.lastEvent,e),this.startEvent=this.lastEvent),o==null||o(this.lastEvent,e)});an(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,tre.update(this.updatePoint,!0)});an(this,"onPointerUp",(e,t)=>{const n=oC(t,this.history),{onEnd:r,onSessionEnd:i}=this.handlers;i==null||i(e,n),this.end(),!(!r||!this.startEvent)&&(r==null||r(e,n))});if(this.win=e.view??window,Abe(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:VV(e)},{timestamp:i}=OL();this.history=[{...r.point,timestamp:i}];const{onSessionStart:o}=t;o==null||o(e,oC(r,this.history)),this.removeListeners=$be(E4(this.win,"pointermove",this.onPointerMove),E4(this.win,"pointerup",this.onPointerUp),E4(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),nre.update(this.updatePoint)}};function aI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oC(e,t){return{point:e.point,delta:aI(e.point,t[t.length-1]),offset:aI(e.point,t[0]),velocity:Bbe(t,.1)}}var jbe=e=>e*1e3;function Bbe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=e[e.length-1];for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>jbe(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function $be(...e){return t=>e.reduce((n,r)=>r(n),t)}function aC(e,t){return Math.abs(e-t)}function sI(e){return"x"in e&&"y"in e}function Fbe(e,t){if(typeof e=="number"&&typeof t=="number")return aC(e,t);if(sI(e)&&sI(t)){const n=aC(e.x,t.x),r=aC(e.y,t.y);return Math.sqrt(n**2+r**2)}return 0}function UV(e,t){const{onPan:n,onPanStart:r,onPanEnd:i,onPanSessionStart:o,onPanSessionEnd:a,threshold:s}=t,l=Boolean(n||r||i||o||a),u=w.useRef(null),d=WV({onSessionStart:o,onSessionEnd:a,onStart:r,onMove:n,onEnd(h,m){u.current=null,i==null||i(h,m)}});w.useEffect(()=>{var h;(h=u.current)==null||h.updateHandlers(d.current)}),w.useEffect(()=>{const h=e.current;if(!h||!l)return;function m(v){u.current=new Nbe(v,d.current,s)}return E4(h,"pointerdown",m)},[e,l,d,s]),w.useEffect(()=>()=>{var h;(h=u.current)==null||h.end(),u.current=null},[])}function zbe(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,r=new n.ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const[o]=i;let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;t({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}var Hbe=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:w.useEffect;function Vbe(e,t){var n;if(!e||!e.parentElement)return;const r=((n=e.ownerDocument)==null?void 0:n.defaultView)??window,i=new r.MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}function GV({getNodes:e,observeMutation:t=!0}){const[n,r]=w.useState([]),[i,o]=w.useState(0);return Hbe(()=>{const a=e(),s=a.map((l,u)=>zbe(l,d=>{r(h=>[...h.slice(0,u),d,...h.slice(u+1)])}));if(t){const l=a[0];s.push(Vbe(l,()=>{o(u=>u+1)}))}return()=>{s.forEach(l=>{l==null||l()})}},[i]),n}function Wbe(e){return typeof e=="object"&&e!==null&&"current"in e}function Ube(e){const[t]=GV({observeMutation:!1,getNodes(){return[Wbe(e)?e.current:e]}});return t}var Gbe=Object.getOwnPropertyNames,qbe=(e,t)=>function(){return e&&(t=(0,e[Gbe(e)[0]])(e=0)),t},lf=qbe({"../../../react-shim.js"(){}});lf();lf();lf();var Ja=e=>e?"":void 0,Mm=e=>e?!0:void 0,uf=(...e)=>e.filter(Boolean).join(" ");lf();function Im(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}lf();lf();function Ybe(e){return{root:`slider-root-${e}`,getThumb:t=>`slider-thumb-${e}-${t}`,getInput:t=>`slider-input-${e}-${t}`,track:`slider-track-${e}`,innerTrack:`slider-filled-track-${e}`,getMarker:t=>`slider-marker-${e}-${t}`,output:`slider-output-${e}`}}function Cv(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}var P4={width:0,height:0},wb=e=>e||P4;function qV(e){const{orientation:t,thumbPercents:n,thumbRects:r,isReversed:i}=e,o=S=>{const k=r[S]??P4;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...Cv({orientation:t,vertical:{bottom:`calc(${n[S]}% - ${k.height/2}px)`},horizontal:{left:`calc(${n[S]}% - ${k.width/2}px)`}})}},a=t==="vertical"?r.reduce((S,k)=>wb(S).height>wb(k).height?S:k,P4):r.reduce((S,k)=>wb(S).width>wb(k).width?S:k,P4),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...Cv({orientation:t,vertical:a?{paddingLeft:a.width/2,paddingRight:a.width/2}:{},horizontal:a?{paddingTop:a.height/2,paddingBottom:a.height/2}:{}})},l={position:"absolute",...Cv({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},u=n.length===1,d=[0,i?100-n[0]:n[0]],h=u?d:n;let m=h[0];!u&&i&&(m=100-m);const v=Math.abs(h[h.length-1]-h[0]),b={...l,...Cv({orientation:t,vertical:i?{height:`${v}%`,top:`${m}%`}:{height:`${v}%`,bottom:`${m}%`},horizontal:i?{width:`${v}%`,right:`${m}%`}:{width:`${v}%`,left:`${m}%`}})};return{trackStyle:l,innerTrackStyle:b,rootStyle:s,getThumbStyle:o}}function YV(e){const{isReversed:t,direction:n,orientation:r}=e;return n==="ltr"||r==="vertical"?t:!t}function Kbe(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,minStepsBetweenThumbs:I=0,...R}=e,D=Er(m),j=Er(v),z=Er(S),V=YV({isReversed:a,direction:s,orientation:l}),[K,te]=DS({value:i,defaultValue:o??[25,75],onChange:r});if(!Array.isArray(K))throw new TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof K}\``);const[q,$]=w.useState(!1),[U,X]=w.useState(!1),[Z,W]=w.useState(-1),Q=!(d||h),ie=w.useRef(K),fe=K.map(Xe=>Cm(Xe,t,n)),Se=I*b,Pe=Xbe(fe,t,n,Se),ye=w.useRef({eventSource:null,value:[],valueBounds:[]});ye.current.value=fe,ye.current.valueBounds=Pe;const We=fe.map(Xe=>n-Xe+t),ot=(V?We:fe).map(Xe=>l5(Xe,t,n)),He=l==="vertical",Be=w.useRef(null),wt=w.useRef(null),st=GV({getNodes(){const Xe=wt.current,xt=Xe==null?void 0:Xe.querySelectorAll("[role=slider]");return xt?Array.from(xt):[]}}),mt=w.useId(),Le=Ybe(u??mt),lt=w.useCallback(Xe=>{var xt;if(!Be.current)return;ye.current.eventSource="pointer";const ft=Be.current.getBoundingClientRect(),{clientX:Ht,clientY:nn}=((xt=Xe.touches)==null?void 0:xt[0])??Xe,pr=He?ft.bottom-nn:Ht-ft.left,Mo=He?ft.height:ft.width;let Oi=pr/Mo;return V&&(Oi=1-Oi),J$(Oi,t,n)},[He,V,n,t]),Mt=(n-t)/10,ut=b||(n-t)/100,_t=w.useMemo(()=>({setValueAtIndex(Xe,xt){if(!Q)return;const ft=ye.current.valueBounds[Xe];xt=parseFloat(H7(xt,ft.min,ut)),xt=Cm(xt,ft.min,ft.max);const Ht=[...ye.current.value];Ht[Xe]=xt,te(Ht)},setActiveIndex:W,stepUp(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft-xt:ft+xt;_t.setValueAtIndex(Xe,Ht)},stepDown(Xe,xt=ut){const ft=ye.current.value[Xe],Ht=V?ft+xt:ft-xt;_t.setValueAtIndex(Xe,Ht)},reset(){te(ie.current)}}),[ut,V,te,Q]),ln=w.useCallback(Xe=>{const xt=Xe.key,Ht={ArrowRight:()=>_t.stepUp(Z),ArrowUp:()=>_t.stepUp(Z),ArrowLeft:()=>_t.stepDown(Z),ArrowDown:()=>_t.stepDown(Z),PageUp:()=>_t.stepUp(Z,Mt),PageDown:()=>_t.stepDown(Z,Mt),Home:()=>{const{min:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)},End:()=>{const{max:nn}=Pe[Z];_t.setValueAtIndex(Z,nn)}}[xt];Ht&&(Xe.preventDefault(),Xe.stopPropagation(),Ht(Xe),ye.current.eventSource="keyboard")},[_t,Z,Mt,Pe]),{getThumbStyle:ae,rootStyle:Re,trackStyle:Ye,innerTrackStyle:Ke}=w.useMemo(()=>qV({isReversed:V,orientation:l,thumbRects:st,thumbPercents:ot}),[V,l,ot,st]),xe=w.useCallback(Xe=>{var xt;const ft=Xe??Z;if(ft!==-1&&A){const Ht=Le.getThumb(ft),nn=(xt=wt.current)==null?void 0:xt.ownerDocument.getElementById(Ht);nn&&setTimeout(()=>nn.focus())}},[A,Z,Le]);Vd(()=>{ye.current.eventSource==="keyboard"&&(j==null||j(ye.current.value))},[fe,j]);const Ne=Xe=>{const xt=lt(Xe)||0,ft=ye.current.value.map(Oi=>Math.abs(Oi-xt)),Ht=Math.min(...ft);let nn=ft.indexOf(Ht);const pr=ft.filter(Oi=>Oi===Ht);pr.length>1&&xt>ye.current.value[nn]&&(nn=nn+pr.length-1),W(nn),_t.setValueAtIndex(nn,xt),xe(nn)},Ct=Xe=>{if(Z==-1)return;const xt=lt(Xe)||0;W(Z),_t.setValueAtIndex(Z,xt),xe(Z)};UV(wt,{onPanSessionStart(Xe){Q&&($(!0),Ne(Xe),D==null||D(ye.current.value))},onPanSessionEnd(){Q&&($(!1),j==null||j(ye.current.value))},onPan(Xe){Q&&Ct(Xe)}});const Dt=w.useCallback((Xe={},xt=null)=>({...Xe,...R,id:Le.root,ref:qn(xt,wt),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja(U),style:{...Xe.style,...Re}}),[R,d,U,Re,Le]),Te=w.useCallback((Xe={},xt=null)=>({...Xe,ref:qn(xt,Be),id:Le.track,"data-disabled":Ja(d),style:{...Xe.style,...Ye}}),[d,Ye,Le]),At=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.innerTrack,style:{...Xe.style,...Ke}}),[Ke,Le]),$e=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe,nn=fe[ft];if(nn==null)throw new TypeError(`[range-slider > thumb] Cannot find value at index \`${ft}\`. The \`value\` or \`defaultValue\` length is : ${fe.length}`);const pr=Pe[ft];return{...Ht,ref:xt,role:"slider",tabIndex:Q?0:void 0,id:Le.getThumb(ft),"data-active":Ja(q&&Z===ft),"aria-valuetext":(z==null?void 0:z(nn))??(k==null?void 0:k[ft]),"aria-valuemin":pr.min,"aria-valuemax":pr.max,"aria-valuenow":nn,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E==null?void 0:E[ft],"aria-labelledby":E!=null&&E[ft]||_==null?void 0:_[ft],style:{...Xe.style,...ae(ft)},onKeyDown:Im(Xe.onKeyDown,ln),onFocus:Im(Xe.onFocus,()=>{X(!0),W(ft)}),onBlur:Im(Xe.onBlur,()=>{X(!1),W(-1)})}},[Le,fe,Pe,Q,q,Z,z,k,l,d,h,E,_,ae,ln,X]),vt=w.useCallback((Xe={},xt=null)=>({...Xe,ref:xt,id:Le.output,htmlFor:fe.map((ft,Ht)=>Le.getThumb(Ht)).join(" "),"aria-live":"off"}),[Le,fe]),tn=w.useCallback((Xe,xt=null)=>{const{value:ft,...Ht}=Xe,nn=!(ftn),pr=ft>=fe[0]&&ft<=fe[fe.length-1];let Mo=l5(ft,t,n);Mo=V?100-Mo:Mo;const Oi={position:"absolute",pointerEvents:"none",...Cv({orientation:l,vertical:{bottom:`${Mo}%`},horizontal:{left:`${Mo}%`}})};return{...Ht,ref:xt,id:Le.getMarker(Xe.value),role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!nn),"data-highlighted":Ja(pr),style:{...Xe.style,...Oi}}},[d,V,n,t,l,fe,Le]),Rn=w.useCallback((Xe,xt=null)=>{const{index:ft,...Ht}=Xe;return{...Ht,ref:xt,id:Le.getInput(ft),type:"hidden",value:fe[ft],name:Array.isArray(T)?T[ft]:`${T}-${ft}`}},[T,fe,Le]);return{state:{value:fe,isFocused:U,isDragging:q,getThumbPercent:Xe=>ot[Xe],getThumbMinValue:Xe=>Pe[Xe].min,getThumbMaxValue:Xe=>Pe[Xe].max},actions:_t,getRootProps:Dt,getTrackProps:Te,getInnerTrackProps:At,getThumbProps:$e,getMarkerProps:tn,getInputProps:Rn,getOutputProps:vt}}function Xbe(e,t,n,r){return e.map((i,o)=>{const a=o===0?t:e[o-1]+r,s=o===e.length-1?n:e[o+1]-r;return{min:a,max:s}})}var[Zbe,Sx]=Mn({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[Qbe,NE]=Mn({name:"RangeSliderStylesContext",errorMessage:`useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),KV=Ae(function(t,n){const r=Yi("Slider",t),i=En(t),{direction:o}=h0();i.direction=o;const{getRootProps:a,...s}=Kbe(i),l=w.useMemo(()=>({...s,name:t.name}),[s,t.name]);return N.createElement(Zbe,{value:l},N.createElement(Qbe,{value:r},N.createElement(Ce.div,{...a({},n),className:"chakra-slider",__css:r.container},t.children)))});KV.defaultProps={orientation:"horizontal"};KV.displayName="RangeSlider";var Jbe=Ae(function(t,n){const{getThumbProps:r,getInputProps:i,name:o}=Sx(),a=NE(),s=r(t,n);return N.createElement(Ce.div,{...s,className:uf("chakra-slider__thumb",t.className),__css:a.thumb},s.children,o&&N.createElement("input",{...i({index:t.index})}))});Jbe.displayName="RangeSliderThumb";var e4e=Ae(function(t,n){const{getTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:uf("chakra-slider__track",t.className),__css:i.track,"data-testid":"chakra-range-slider-track"})});e4e.displayName="RangeSliderTrack";var t4e=Ae(function(t,n){const{getInnerTrackProps:r}=Sx(),i=NE(),o=r(t,n);return N.createElement(Ce.div,{...o,className:"chakra-slider__filled-track",__css:i.filledTrack})});t4e.displayName="RangeSliderFilledTrack";var n4e=Ae(function(t,n){const{getMarkerProps:r}=Sx(),i=r(t,n);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",t.className)})});n4e.displayName="RangeSliderMark";lf();lf();function r4e(e){const{min:t=0,max:n=100,onChange:r,value:i,defaultValue:o,isReversed:a,direction:s="ltr",orientation:l="horizontal",id:u,isDisabled:d,isReadOnly:h,onChangeStart:m,onChangeEnd:v,step:b=1,getAriaValueText:S,"aria-valuetext":k,"aria-label":E,"aria-labelledby":_,name:T,focusThumbOnChange:A=!0,...I}=e,R=Er(m),D=Er(v),j=Er(S),z=YV({isReversed:a,direction:s,orientation:l}),[V,K]=DS({value:i,defaultValue:o??o4e(t,n),onChange:r}),[te,q]=w.useState(!1),[$,U]=w.useState(!1),X=!(d||h),Z=(n-t)/10,W=b||(n-t)/100,Q=Cm(V,t,n),ie=n-Q+t,Se=l5(z?ie:Q,t,n),Pe=l==="vertical",ye=WV({min:t,max:n,step:b,isDisabled:d,value:Q,isInteractive:X,isReversed:z,isVertical:Pe,eventSource:null,focusThumbOnChange:A,orientation:l}),We=w.useRef(null),De=w.useRef(null),ot=w.useRef(null),He=w.useId(),Be=u??He,[wt,st]=[`slider-thumb-${Be}`,`slider-track-${Be}`],mt=w.useCallback($e=>{var vt;if(!We.current)return;const tn=ye.current;tn.eventSource="pointer";const Rn=We.current.getBoundingClientRect(),{clientX:Xe,clientY:xt}=((vt=$e.touches)==null?void 0:vt[0])??$e,ft=Pe?Rn.bottom-xt:Xe-Rn.left,Ht=Pe?Rn.height:Rn.width;let nn=ft/Ht;z&&(nn=1-nn);let pr=J$(nn,tn.min,tn.max);return tn.step&&(pr=parseFloat(H7(pr,tn.min,tn.step))),pr=Cm(pr,tn.min,tn.max),pr},[Pe,z,ye]),St=w.useCallback($e=>{const vt=ye.current;vt.isInteractive&&($e=parseFloat(H7($e,vt.min,W)),$e=Cm($e,vt.min,vt.max),K($e))},[W,K,ye]),Le=w.useMemo(()=>({stepUp($e=W){const vt=z?Q-$e:Q+$e;St(vt)},stepDown($e=W){const vt=z?Q+$e:Q-$e;St(vt)},reset(){St(o||0)},stepTo($e){St($e)}}),[St,z,Q,W,o]),lt=w.useCallback($e=>{const vt=ye.current,Rn={ArrowRight:()=>Le.stepUp(),ArrowUp:()=>Le.stepUp(),ArrowLeft:()=>Le.stepDown(),ArrowDown:()=>Le.stepDown(),PageUp:()=>Le.stepUp(Z),PageDown:()=>Le.stepDown(Z),Home:()=>St(vt.min),End:()=>St(vt.max)}[$e.key];Rn&&($e.preventDefault(),$e.stopPropagation(),Rn($e),vt.eventSource="keyboard")},[Le,St,Z,ye]),Mt=(j==null?void 0:j(Q))??k,ut=Ube(De),{getThumbStyle:_t,rootStyle:ln,trackStyle:ae,innerTrackStyle:Re}=w.useMemo(()=>{const $e=ye.current,vt=ut??{width:0,height:0};return qV({isReversed:z,orientation:$e.orientation,thumbRects:[vt],thumbPercents:[Se]})},[z,ut,Se,ye]),Ye=w.useCallback(()=>{ye.current.focusThumbOnChange&&setTimeout(()=>{var vt;return(vt=De.current)==null?void 0:vt.focus()})},[ye]);Vd(()=>{const $e=ye.current;Ye(),$e.eventSource==="keyboard"&&(D==null||D($e.value))},[Q,D]);function Ke($e){const vt=mt($e);vt!=null&&vt!==ye.current.value&&K(vt)}UV(ot,{onPanSessionStart($e){const vt=ye.current;vt.isInteractive&&(q(!0),Ye(),Ke($e),R==null||R(vt.value))},onPanSessionEnd(){const $e=ye.current;$e.isInteractive&&(q(!1),D==null||D($e.value))},onPan($e){ye.current.isInteractive&&Ke($e)}});const xe=w.useCallback(($e={},vt=null)=>({...$e,...I,ref:qn(vt,ot),tabIndex:-1,"aria-disabled":Mm(d),"data-focused":Ja($),style:{...$e.style,...ln}}),[I,d,$,ln]),Ne=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,We),id:st,"data-disabled":Ja(d),style:{...$e.style,...ae}}),[d,st,ae]),Ct=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,style:{...$e.style,...Re}}),[Re]),Dt=w.useCallback(($e={},vt=null)=>({...$e,ref:qn(vt,De),role:"slider",tabIndex:X?0:void 0,id:wt,"data-active":Ja(te),"aria-valuetext":Mt,"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":Q,"aria-orientation":l,"aria-disabled":Mm(d),"aria-readonly":Mm(h),"aria-label":E,"aria-labelledby":E?void 0:_,style:{...$e.style,..._t(0)},onKeyDown:Im($e.onKeyDown,lt),onFocus:Im($e.onFocus,()=>U(!0)),onBlur:Im($e.onBlur,()=>U(!1))}),[X,wt,te,Mt,t,n,Q,l,d,h,E,_,_t,lt]),Te=w.useCallback(($e,vt=null)=>{const tn=!($e.valuen),Rn=Q>=$e.value,Xe=l5($e.value,t,n),xt={position:"absolute",pointerEvents:"none",...i4e({orientation:l,vertical:{bottom:z?`${100-Xe}%`:`${Xe}%`},horizontal:{left:z?`${100-Xe}%`:`${Xe}%`}})};return{...$e,ref:vt,role:"presentation","aria-hidden":!0,"data-disabled":Ja(d),"data-invalid":Ja(!tn),"data-highlighted":Ja(Rn),style:{...$e.style,...xt}}},[d,z,n,t,l,Q]),At=w.useCallback(($e={},vt=null)=>({...$e,ref:vt,type:"hidden",value:Q,name:T}),[T,Q]);return{state:{value:Q,isFocused:$,isDragging:te},actions:Le,getRootProps:xe,getTrackProps:Ne,getInnerTrackProps:Ct,getThumbProps:Dt,getMarkerProps:Te,getInputProps:At}}function i4e(e){const{orientation:t,vertical:n,horizontal:r}=e;return t==="vertical"?n:r}function o4e(e,t){return t"}),[s4e,wx]=Mn({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),jE=Ae((e,t)=>{const n=Yi("Slider",e),r=En(e),{direction:i}=h0();r.direction=i;const{getInputProps:o,getRootProps:a,...s}=r4e(r),l=a(),u=o({},t);return N.createElement(a4e,{value:s},N.createElement(s4e,{value:n},N.createElement(Ce.div,{...l,className:uf("chakra-slider",e.className),__css:n.container},e.children,N.createElement("input",{...u}))))});jE.defaultProps={orientation:"horizontal"};jE.displayName="Slider";var XV=Ae((e,t)=>{const{getThumbProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__thumb",e.className),__css:r.thumb})});XV.displayName="SliderThumb";var ZV=Ae((e,t)=>{const{getTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__track",e.className),__css:r.track})});ZV.displayName="SliderTrack";var QV=Ae((e,t)=>{const{getInnerTrackProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__filled-track",e.className),__css:r.filledTrack})});QV.displayName="SliderFilledTrack";var G9=Ae((e,t)=>{const{getMarkerProps:n}=xx(),r=wx(),i=n(e,t);return N.createElement(Ce.div,{...i,className:uf("chakra-slider__marker",e.className),__css:r.mark})});G9.displayName="SliderMark";var l4e=(...e)=>e.filter(Boolean).join(" "),lI=e=>e?"":void 0,BE=Ae(function(t,n){const r=Yi("Switch",t),{spacing:i="0.5rem",children:o,...a}=En(t),{state:s,getInputProps:l,getCheckboxProps:u,getRootProps:d,getLabelProps:h}=Z$(a),m=w.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),v=w.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),b=w.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return N.createElement(Ce.label,{...d(),className:l4e("chakra-switch",t.className),__css:m},N.createElement("input",{className:"chakra-switch__input",...l({},n)}),N.createElement(Ce.span,{...u(),className:"chakra-switch__track",__css:v},N.createElement(Ce.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":lI(s.isChecked),"data-hover":lI(s.isHovered)})),o&&N.createElement(Ce.span,{className:"chakra-switch__label",...h(),__css:b},o))});BE.displayName="Switch";var C0=(...e)=>e.filter(Boolean).join(" ");function q9(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var[u4e,JV,c4e,d4e]=dB();function f4e(e){const{defaultIndex:t,onChange:n,index:r,isManual:i,isLazy:o,lazyBehavior:a="unmount",orientation:s="horizontal",direction:l="ltr",...u}=e,[d,h]=w.useState(t??0),[m,v]=DS({defaultValue:t??0,value:r,onChange:n});w.useEffect(()=>{r!=null&&h(r)},[r]);const b=c4e(),S=w.useId();return{id:`tabs-${e.id??S}`,selectedIndex:m,focusedIndex:d,setSelectedIndex:v,setFocusedIndex:h,isManual:i,isLazy:o,lazyBehavior:a,orientation:s,descendants:b,direction:l,htmlProps:u}}var[h4e,My]=Mn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function p4e(e){const{focusedIndex:t,orientation:n,direction:r}=My(),i=JV(),o=w.useCallback(a=>{const s=()=>{var _;const T=i.nextEnabled(t);T&&((_=T.node)==null||_.focus())},l=()=>{var _;const T=i.prevEnabled(t);T&&((_=T.node)==null||_.focus())},u=()=>{var _;const T=i.firstEnabled();T&&((_=T.node)==null||_.focus())},d=()=>{var _;const T=i.lastEnabled();T&&((_=T.node)==null||_.focus())},h=n==="horizontal",m=n==="vertical",v=a.key,b=r==="ltr"?"ArrowLeft":"ArrowRight",S=r==="ltr"?"ArrowRight":"ArrowLeft",E={[b]:()=>h&&l(),[S]:()=>h&&s(),ArrowDown:()=>m&&s(),ArrowUp:()=>m&&l(),Home:u,End:d}[v];E&&(a.preventDefault(),E(a))},[i,t,n,r]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:q9(e.onKeyDown,o)}}function g4e(e){const{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:i,isManual:o,id:a,setFocusedIndex:s,selectedIndex:l}=My(),{index:u,register:d}=d4e({disabled:t&&!n}),h=u===l,m=()=>{i(u)},v=()=>{s(u),!o&&!(t&&n)&&i(u)},b=n0e({...r,ref:qn(d,e.ref),isDisabled:t,isFocusable:n,onClick:q9(e.onClick,m)}),S="button";return{...b,id:eW(a,u),role:"tab",tabIndex:h?0:-1,type:S,"aria-selected":h,"aria-controls":tW(a,u),onFocus:t?void 0:q9(e.onFocus,v)}}var[m4e,v4e]=Mn({});function y4e(e){const t=My(),{id:n,selectedIndex:r}=t,o=XS(e.children).map((a,s)=>w.createElement(m4e,{key:s,value:{isSelected:s===r,id:tW(n,s),tabId:eW(n,s),selectedIndex:r}},a));return{...e,children:o}}function b4e(e){const{children:t,...n}=e,{isLazy:r,lazyBehavior:i}=My(),{isSelected:o,id:a,tabId:s}=v4e(),l=w.useRef(!1);o&&(l.current=!0);const u=jF({wasSelected:l.current,isSelected:o,enabled:r,mode:i});return{tabIndex:0,...n,children:u?t:null,role:"tabpanel","aria-labelledby":s,hidden:!o,id:a}}function S4e(){const e=My(),t=JV(),{selectedIndex:n,orientation:r}=e,i=r==="horizontal",o=r==="vertical",[a,s]=w.useState(()=>{if(i)return{left:0,width:0};if(o)return{top:0,height:0}}),[l,u]=w.useState(!1);return Ws(()=>{if(n==null)return;const d=t.item(n);if(d==null)return;i&&s({left:d.node.offsetLeft,width:d.node.offsetWidth}),o&&s({top:d.node.offsetTop,height:d.node.offsetHeight});const h=requestAnimationFrame(()=>{u(!0)});return()=>{h&&cancelAnimationFrame(h)}},[n,i,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...a}}function eW(e,t){return`${e}--tab-${t}`}function tW(e,t){return`${e}--tabpanel-${t}`}var[x4e,Iy]=Mn({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),nW=Ae(function(t,n){const r=Yi("Tabs",t),{children:i,className:o,...a}=En(t),{htmlProps:s,descendants:l,...u}=f4e(a),d=w.useMemo(()=>u,[u]),{isFitted:h,...m}=s;return N.createElement(u4e,{value:l},N.createElement(h4e,{value:d},N.createElement(x4e,{value:r},N.createElement(Ce.div,{className:C0("chakra-tabs",o),ref:n,...m,__css:r.root},i))))});nW.displayName="Tabs";var w4e=Ae(function(t,n){const r=S4e(),i={...t.style,...r},o=Iy();return N.createElement(Ce.div,{ref:n,...t,className:C0("chakra-tabs__tab-indicator",t.className),style:i,__css:o.indicator})});w4e.displayName="TabIndicator";var C4e=Ae(function(t,n){const r=p4e({...t,ref:n}),o={display:"flex",...Iy().tablist};return N.createElement(Ce.div,{...r,className:C0("chakra-tabs__tablist",t.className),__css:o})});C4e.displayName="TabList";var rW=Ae(function(t,n){const r=b4e({...t,ref:n}),i=Iy();return N.createElement(Ce.div,{outline:"0",...r,className:C0("chakra-tabs__tab-panel",t.className),__css:i.tabpanel})});rW.displayName="TabPanel";var iW=Ae(function(t,n){const r=y4e(t),i=Iy();return N.createElement(Ce.div,{...r,width:"100%",ref:n,className:C0("chakra-tabs__tab-panels",t.className),__css:i.tabpanels})});iW.displayName="TabPanels";var oW=Ae(function(t,n){const r=Iy(),i=g4e({...t,ref:n}),o={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return N.createElement(Ce.button,{...i,className:C0("chakra-tabs__tab",t.className),__css:o})});oW.displayName="Tab";var _4e=(...e)=>e.filter(Boolean).join(" ");function k4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var E4e=["h","minH","height","minHeight"],$E=Ae((e,t)=>{const n=Ao("Textarea",e),{className:r,rows:i,...o}=En(e),a=sk(o),s=i?k4e(n,E4e):n;return N.createElement(Ce.textarea,{ref:t,rows:i,...a,className:_4e("chakra-textarea",r),__css:s})});$E.displayName="Textarea";function P4e(e,t){const n=Er(e);w.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function Y9(e,...t){return T4e(e)?e(...t):e}var T4e=e=>typeof e=="function";function L4e(e,t){const n=e??"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(i==null?void 0:i[t])??n}var A4e=(e,t)=>e.find(n=>n.id===t);function uI(e,t){const n=aW(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function aW(e,t){for(const[n,r]of Object.entries(e))if(A4e(r,t))return n}function O4e(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function M4e(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}var I4e={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Hl=R4e(I4e);function R4e(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(s=>s.id!=i)}))},notify:(i,o)=>{const a=D4e(i,o),{position:s,id:l}=a;return r(u=>{const h=s.includes("top")?[a,...u[s]??[]]:[...u[s]??[],a];return{...u,[s]:h}}),l},update:(i,o)=>{i&&r(a=>{const s={...a},{position:l,index:u}=uI(s,i);return l&&u!==-1&&(s[l][u]={...s[l][u],...o,message:sW(o)}),s})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=o[u].map(d=>({...d,requestClose:!0})),l),{...o}))},close:i=>{r(o=>{const a=aW(o,i);return a?{...o,[a]:o[a].map(s=>s.id==i?{...s,requestClose:!0}:s)}:o})},isActive:i=>Boolean(uI(Hl.getState(),i).position)}}var cI=0;function D4e(e,t={}){cI+=1;const n=t.id??cI,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Hl.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var N4e=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:s,icon:l}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return N.createElement(U$,{addRole:!1,status:t,variant:n,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},N.createElement(q$,null,l),N.createElement(Ce.div,{flex:"1",maxWidth:"100%"},i&&N.createElement(Y$,{id:u==null?void 0:u.title},i),s&&N.createElement(G$,{id:u==null?void 0:u.description,display:"block"},s)),o&&N.createElement(JS,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1}))};function sW(e={}){const{render:t,toastComponent:n=N4e}=e;return i=>typeof t=="function"?t({...i,...e}):N.createElement(n,{...i,...e})}function j4e(e,t){const n=i=>({...t,...i,position:L4e((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=sW(o);return Hl.notify(a,o)};return r.update=(i,o)=>{Hl.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(s=>r.update(a,{status:"success",duration:5e3,...Y9(o.success,s)})).catch(s=>r.update(a,{status:"error",duration:5e3,...Y9(o.error,s)}))},r.closeAll=Hl.closeAll,r.close=Hl.close,r.isActive=Hl.isActive,r}function Ry(e){const{theme:t}=lB();return w.useMemo(()=>j4e(t.direction,e),[e,t.direction])}var B4e={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},lW=w.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=B4e,toastSpacing:d="0.5rem"}=e,[h,m]=w.useState(s),v=Rfe();Vd(()=>{v||r==null||r()},[v]),Vd(()=>{m(s)},[s]);const b=()=>m(null),S=()=>m(s),k=()=>{v&&i()};w.useEffect(()=>{v&&o&&i()},[v,o,i]),P4e(k,h);const E=w.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),_=w.useMemo(()=>O4e(a),[a]);return N.createElement(du.li,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:S,custom:{position:a},style:_},N.createElement(Ce.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:E},Y9(n,{id:t,onClose:k})))});lW.displayName="ToastComponent";var $4e=e=>{const t=w.useSyncExternalStore(Hl.subscribe,Hl.getState,Hl.getState),{children:n,motionVariants:r,component:i=lW,portalProps:o}=e,s=Object.keys(t).map(l=>{const u=t[l];return N.createElement("ul",{role:"region","aria-live":"polite",key:l,id:`chakra-toast-manager-${l}`,style:M4e(l)},N.createElement(nf,{initial:!1},u.map(d=>N.createElement(i,{key:d.id,motionVariants:r,...d}))))});return N.createElement(N.Fragment,null,n,N.createElement(ap,{...o},s))};function F4e(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function z4e(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var H4e={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function tv(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}var N5=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},K9=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function V4e(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:s=!0,onOpen:l,onClose:u,placement:d,id:h,isOpen:m,defaultIsOpen:v,arrowSize:b=10,arrowShadowColor:S,arrowPadding:k,modifiers:E,isDisabled:_,gutter:T,offset:A,direction:I,...R}=e,{isOpen:D,onOpen:j,onClose:z}=NF({isOpen:m,defaultIsOpen:v,onOpen:l,onClose:u}),{referenceRef:V,getPopperProps:K,getArrowInnerProps:te,getArrowProps:q}=DF({enabled:D,placement:d,arrowPadding:k,modifiers:E,gutter:T,offset:A,direction:I}),$=w.useId(),X=`tooltip-${h??$}`,Z=w.useRef(null),W=w.useRef(),Q=w.useCallback(()=>{W.current&&(clearTimeout(W.current),W.current=void 0)},[]),ie=w.useRef(),fe=w.useCallback(()=>{ie.current&&(clearTimeout(ie.current),ie.current=void 0)},[]),Se=w.useCallback(()=>{fe(),z()},[z,fe]),Pe=W4e(Z,Se),ye=w.useCallback(()=>{if(!_&&!W.current){Pe();const mt=K9(Z);W.current=mt.setTimeout(j,t)}},[Pe,_,j,t]),We=w.useCallback(()=>{Q();const mt=K9(Z);ie.current=mt.setTimeout(Se,n)},[n,Se,Q]),De=w.useCallback(()=>{D&&r&&We()},[r,We,D]),ot=w.useCallback(()=>{D&&a&&We()},[a,We,D]),He=w.useCallback(mt=>{D&&mt.key==="Escape"&&We()},[D,We]);Rh(()=>N5(Z),"keydown",s?He:void 0),Rh(()=>N5(Z),"scroll",()=>{D&&o&&Se()}),w.useEffect(()=>{_&&(Q(),D&&z())},[_,D,z,Q]),w.useEffect(()=>()=>{Q(),fe()},[Q,fe]),Rh(()=>Z.current,"pointerleave",We);const Be=w.useCallback((mt={},St=null)=>({...mt,ref:qn(Z,St,V),onPointerEnter:tv(mt.onPointerEnter,lt=>{lt.pointerType!=="touch"&&ye()}),onClick:tv(mt.onClick,De),onPointerDown:tv(mt.onPointerDown,ot),onFocus:tv(mt.onFocus,ye),onBlur:tv(mt.onBlur,We),"aria-describedby":D?X:void 0}),[ye,We,ot,D,X,De,V]),wt=w.useCallback((mt={},St=null)=>K({...mt,style:{...mt.style,[oi.arrowSize.var]:b?`${b}px`:void 0,[oi.arrowShadowColor.var]:S}},St),[K,b,S]),st=w.useCallback((mt={},St=null)=>{const Le={...mt.style,position:"relative",transformOrigin:oi.transformOrigin.varRef};return{ref:St,...R,...mt,id:X,role:"tooltip",style:Le}},[R,X]);return{isOpen:D,show:ye,hide:We,getTriggerProps:Be,getTooltipProps:st,getTooltipPositionerProps:wt,getArrowProps:q,getArrowInnerProps:te}}var sC="chakra-ui:close-tooltip";function W4e(e,t){return w.useEffect(()=>{const n=N5(e);return n.addEventListener(sC,t),()=>n.removeEventListener(sC,t)},[t,e]),()=>{const n=N5(e),r=K9(e);n.dispatchEvent(new r.CustomEvent(sC))}}var U4e=Ce(du.div),uo=Ae((e,t)=>{const n=Ao("Tooltip",e),r=En(e),i=h0(),{children:o,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:u,bg:d,portalProps:h,background:m,backgroundColor:v,bgColor:b,motionProps:S,...k}=r,E=m??v??d??b;if(E){n.bg=E;const z=nne(i,"colors",E);n[oi.arrowBg.var]=z}const _=V4e({...k,direction:i.direction}),T=typeof o=="string"||s;let A;if(T)A=N.createElement(Ce.span,{display:"inline-block",tabIndex:0,..._.getTriggerProps()},o);else{const z=w.Children.only(o);A=w.cloneElement(z,_.getTriggerProps(z.props,z.ref))}const I=!!l,R=_.getTooltipProps({},t),D=I?F4e(R,["role","id"]):R,j=z4e(R,["role","id"]);return a?N.createElement(N.Fragment,null,A,N.createElement(nf,null,_.isOpen&&N.createElement(ap,{...h},N.createElement(Ce.div,{..._.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"}},N.createElement(U4e,{variants:H4e,initial:"exit",animate:"enter",exit:"exit",...S,...D,__css:n},a,I&&N.createElement(Ce.span,{srOnly:!0,...j},l),u&&N.createElement(Ce.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},N.createElement(Ce.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}}))))))):N.createElement(N.Fragment,null,o)});uo.displayName="Tooltip";var G4e=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetCSS:i=!0,theme:o={},environment:a,cssVarsRoot:s}=e,l=N.createElement(yF,{environment:a},t);return N.createElement(que,{theme:o,cssVarsRoot:s},N.createElement(fj,{colorModeManager:n,options:o.config},i?N.createElement(fme,null):N.createElement(dme,null),N.createElement(Kue,null),r?N.createElement(BH,{zIndex:r},l):l))};function q4e({children:e,theme:t=Bue,toastOptions:n,...r}){return N.createElement(G4e,{theme:t,...r},e,N.createElement($4e,{...n}))}var X9={},dI=Qs;X9.createRoot=dI.createRoot,X9.hydrateRoot=dI.hydrateRoot;var Z9={},Y4e={get exports(){return Z9},set exports(e){Z9=e}},uW={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r0=w;function K4e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var X4e=typeof Object.is=="function"?Object.is:K4e,Z4e=r0.useState,Q4e=r0.useEffect,J4e=r0.useLayoutEffect,e5e=r0.useDebugValue;function t5e(e,t){var n=t(),r=Z4e({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return J4e(function(){i.value=n,i.getSnapshot=t,lC(i)&&o({inst:i})},[e,n,t]),Q4e(function(){return lC(i)&&o({inst:i}),e(function(){lC(i)&&o({inst:i})})},[e]),e5e(n),n}function lC(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!X4e(e,n)}catch{return!0}}function n5e(e,t){return t()}var r5e=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n5e:t5e;uW.useSyncExternalStore=r0.useSyncExternalStore!==void 0?r0.useSyncExternalStore:r5e;(function(e){e.exports=uW})(Y4e);var Q9={},i5e={get exports(){return Q9},set exports(e){Q9=e}},cW={};/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Cx=w,o5e=Z9;function a5e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var s5e=typeof Object.is=="function"?Object.is:a5e,l5e=o5e.useSyncExternalStore,u5e=Cx.useRef,c5e=Cx.useEffect,d5e=Cx.useMemo,f5e=Cx.useDebugValue;cW.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=u5e(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=d5e(function(){function l(v){if(!u){if(u=!0,d=v,v=r(v),i!==void 0&&a.hasValue){var b=a.value;if(i(b,v))return h=b}return h=v}if(b=h,s5e(d,v))return b;var S=r(v);return i!==void 0&&i(b,S)?b:(d=v,h=S)}var u=!1,d,h,m=n===void 0?null:n;return[function(){return l(t())},m===null?void 0:function(){return l(m())}]},[t,n,r,i]);var s=l5e(e,o[0],o[1]);return c5e(function(){a.hasValue=!0,a.value=s},[s]),f5e(s),s};(function(e){e.exports=cW})(i5e);function h5e(e){e()}let dW=h5e;const p5e=e=>dW=e,g5e=()=>dW,Xd=w.createContext(null);function fW(){return w.useContext(Xd)}const m5e=()=>{throw new Error("uSES not initialized!")};let hW=m5e;const v5e=e=>{hW=e},y5e=(e,t)=>e===t;function b5e(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(r,i=y5e){const{store:o,subscription:a,getServerState:s}=t(),l=hW(a.addNestedSub,o.getState,s||o.getState,r,i);return w.useDebugValue(l),l}}const S5e=b5e();var fI={},x5e={get exports(){return fI},set exports(e){fI=e}},Fn={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var FE=Symbol.for("react.element"),zE=Symbol.for("react.portal"),_x=Symbol.for("react.fragment"),kx=Symbol.for("react.strict_mode"),Ex=Symbol.for("react.profiler"),Px=Symbol.for("react.provider"),Tx=Symbol.for("react.context"),w5e=Symbol.for("react.server_context"),Lx=Symbol.for("react.forward_ref"),Ax=Symbol.for("react.suspense"),Ox=Symbol.for("react.suspense_list"),Mx=Symbol.for("react.memo"),Ix=Symbol.for("react.lazy"),C5e=Symbol.for("react.offscreen"),pW;pW=Symbol.for("react.module.reference");function ps(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case FE:switch(e=e.type,e){case _x:case Ex:case kx:case Ax:case Ox:return e;default:switch(e=e&&e.$$typeof,e){case w5e:case Tx:case Lx:case Ix:case Mx:case Px:return e;default:return t}}case zE:return t}}}Fn.ContextConsumer=Tx;Fn.ContextProvider=Px;Fn.Element=FE;Fn.ForwardRef=Lx;Fn.Fragment=_x;Fn.Lazy=Ix;Fn.Memo=Mx;Fn.Portal=zE;Fn.Profiler=Ex;Fn.StrictMode=kx;Fn.Suspense=Ax;Fn.SuspenseList=Ox;Fn.isAsyncMode=function(){return!1};Fn.isConcurrentMode=function(){return!1};Fn.isContextConsumer=function(e){return ps(e)===Tx};Fn.isContextProvider=function(e){return ps(e)===Px};Fn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===FE};Fn.isForwardRef=function(e){return ps(e)===Lx};Fn.isFragment=function(e){return ps(e)===_x};Fn.isLazy=function(e){return ps(e)===Ix};Fn.isMemo=function(e){return ps(e)===Mx};Fn.isPortal=function(e){return ps(e)===zE};Fn.isProfiler=function(e){return ps(e)===Ex};Fn.isStrictMode=function(e){return ps(e)===kx};Fn.isSuspense=function(e){return ps(e)===Ax};Fn.isSuspenseList=function(e){return ps(e)===Ox};Fn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_x||e===Ex||e===kx||e===Ax||e===Ox||e===C5e||typeof e=="object"&&e!==null&&(e.$$typeof===Ix||e.$$typeof===Mx||e.$$typeof===Px||e.$$typeof===Tx||e.$$typeof===Lx||e.$$typeof===pW||e.getModuleId!==void 0)};Fn.typeOf=ps;(function(e){e.exports=Fn})(x5e);function _5e(){const e=g5e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const hI={notify(){},get:()=>[]};function k5e(e,t){let n,r=hI;function i(h){return l(),r.subscribe(h)}function o(){r.notify()}function a(){d.onStateChange&&d.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=_5e())}function u(){n&&(n(),n=void 0,r.clear(),r=hI)}const d={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return d}const E5e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P5e=E5e?w.useLayoutEffect:w.useEffect;function T5e({store:e,context:t,children:n,serverState:r}){const i=w.useMemo(()=>{const s=k5e(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=w.useMemo(()=>e.getState(),[e]);P5e(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||Xd;return N.createElement(a.Provider,{value:i},n)}function gW(e=Xd){const t=e===Xd?fW:()=>w.useContext(e);return function(){const{store:r}=t();return r}}const L5e=gW();function A5e(e=Xd){const t=e===Xd?L5e:gW(e);return function(){return t().dispatch}}const O5e=A5e();v5e(Q9.useSyncExternalStoreWithSelector);p5e(Qs.unstable_batchedUpdates);function T4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T4=function(n){return typeof n}:T4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T4(e)}function M5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pI(e,t){for(var n=0;n1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:HE(e)?2:VE(e)?3:0}function Rm(e,t){return _0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function N5e(e,t){return _0(e)===2?e.get(t):e[t]}function vW(e,t,n){var r=_0(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function yW(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function HE(e){return H5e&&e instanceof Map}function VE(e){return V5e&&e instanceof Set}function hh(e){return e.o||e.t}function WE(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=SW(e);delete t[vr];for(var n=Dm(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=j5e),Object.freeze(e),t&&Qh(e,function(n,r){return UE(r,!0)},!0)),e}function j5e(){zs(2)}function GE(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function eu(e){var t=i8[e];return t||zs(18,e),t}function B5e(e,t){i8[e]||(i8[e]=t)}function t8(){return X2}function uC(e,t){t&&(eu("Patches"),e.u=[],e.s=[],e.v=t)}function j5(e){n8(e),e.p.forEach($5e),e.p=null}function n8(e){e===X2&&(X2=e.l)}function gI(e){return X2={p:[],l:X2,h:e,m:!0,_:0}}function $5e(e){var t=e[vr];t.i===0||t.i===1?t.j():t.O=!0}function cC(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||eu("ES5").S(t,e,r),r?(n[vr].P&&(j5(t),zs(4)),oc(e)&&(e=B5(t,e),t.l||$5(t,e)),t.u&&eu("Patches").M(n[vr].t,e,t.u,t.s)):e=B5(t,n,[]),j5(t),t.u&&t.v(t.u,t.s),e!==bW?e:void 0}function B5(e,t,n){if(GE(t))return t;var r=t[vr];if(!r)return Qh(t,function(o,a){return mI(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return $5(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=WE(r.k):r.o;Qh(r.i===3?new Set(i):i,function(o,a){return mI(e,r,i,o,a,n)}),$5(e,i,!1),n&&e.u&&eu("Patches").R(r,n,e.u,e.s)}return r.o}function mI(e,t,n,r,i,o){if(Zd(i)){var a=B5(e,i,o&&t&&t.i!==3&&!Rm(t.D,r)?o.concat(r):void 0);if(vW(n,r,a),!Zd(a))return;e.m=!1}if(oc(i)&&!GE(i)){if(!e.h.F&&e._<1)return;B5(e,i),t&&t.A.l||$5(e,i)}}function $5(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&UE(t,n)}function dC(e,t){var n=e[vr];return(n?hh(n):e)[t]}function vI(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Sd(e){e.P||(e.P=!0,e.l&&Sd(e.l))}function fC(e){e.o||(e.o=WE(e.t))}function r8(e,t,n){var r=HE(t)?eu("MapSet").N(t,n):VE(t)?eu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:t8(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},l=s,u=Z2;a&&(l=[s],u=_v);var d=Proxy.revocable(l,u),h=d.revoke,m=d.proxy;return s.k=m,s.j=h,m}(t,n):eu("ES5").J(t,n);return(n?n.A:t8()).p.push(r),r}function F5e(e){return Zd(e)||zs(22,e),function t(n){if(!oc(n))return n;var r,i=n[vr],o=_0(n);if(i){if(!i.P&&(i.i<4||!eu("ES5").K(i)))return i.t;i.I=!0,r=yI(n,o),i.I=!1}else r=yI(n,o);return Qh(r,function(a,s){i&&N5e(i.t,a)===s||vW(r,a,t(s))}),o===3?new Set(r):r}(e)}function yI(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return WE(e)}function z5e(){function e(o,a){var s=i[o];return s?s.enumerable=a:i[o]=s={configurable:!0,enumerable:a,get:function(){var l=this[vr];return Z2.get(l,o)},set:function(l){var u=this[vr];Z2.set(u,o,l)}},s}function t(o){for(var a=o.length-1;a>=0;a--){var s=o[a][vr];if(!s.P)switch(s.i){case 5:r(s)&&Sd(s);break;case 4:n(s)&&Sd(s)}}}function n(o){for(var a=o.t,s=o.k,l=Dm(s),u=l.length-1;u>=0;u--){var d=l[u];if(d!==vr){var h=a[d];if(h===void 0&&!Rm(a,d))return!0;var m=s[d],v=m&&m[vr];if(v?v.t!==h:!yW(m,h))return!0}}var b=!!a[vr];return l.length!==Dm(a).length+(b?0:1)}function r(o){var a=o.k;if(a.length!==o.t.length)return!0;var s=Object.getOwnPropertyDescriptor(a,a.length-1);if(s&&!s.get)return!0;for(var l=0;l1?E-1:0),T=1;T1?d-1:0),m=1;m=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=eu("Patches").$;return Zd(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Ia=new U5e,xW=Ia.produce;Ia.produceWithPatches.bind(Ia);Ia.setAutoFreeze.bind(Ia);Ia.setUseProxies.bind(Ia);Ia.applyPatches.bind(Ia);Ia.createDraft.bind(Ia);Ia.finishDraft.bind(Ia);function wI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CI(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ro(1));return n(YE)(e,t)}if(typeof e!="function")throw new Error(ro(2));var i=e,o=t,a=[],s=a,l=!1;function u(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ro(3));return o}function h(S){if(typeof S!="function")throw new Error(ro(4));if(l)throw new Error(ro(5));var k=!0;return u(),s.push(S),function(){if(k){if(l)throw new Error(ro(6));k=!1,u();var _=s.indexOf(S);s.splice(_,1),a=null}}}function m(S){if(!G5e(S))throw new Error(ro(7));if(typeof S.type>"u")throw new Error(ro(8));if(l)throw new Error(ro(9));try{l=!0,o=i(o,S)}finally{l=!1}for(var k=a=s,E=0;E"u")throw new Error(ro(12));if(typeof n(void 0,{type:F5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ro(13))})}function wW(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(ro(14));h[v]=k,d=d||k!==S}return d=d||o.length!==Object.keys(l).length,d?h:l}}function z5(){for(var e=arguments.length,t=new Array(e),n=0;n-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return H5}function i(s,l){r(s)===H5&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var Z5e=function(t,n){return t===n};function Q5e(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?t-1:0),r=1;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]{Object.keys(R).forEach(function(D){T(D)&&d[D]!==R[D]&&m.indexOf(D)===-1&&m.push(D)}),Object.keys(d).forEach(function(D){R[D]===void 0&&T(D)&&m.indexOf(D)===-1&&d[D]!==void 0&&m.push(D)}),v===null&&(v=setInterval(E,i)),d=R},o)}function E(){if(m.length===0){v&&clearInterval(v),v=null;return}var R=m.shift(),D=r.reduce(function(j,z){return z.in(j,R,d)},d[R]);if(D!==void 0)try{h[R]=l(D)}catch(j){console.error("redux-persist/createPersistoid: error serializing state",j)}else delete h[R];m.length===0&&_()}function _(){Object.keys(h).forEach(function(R){d[R]===void 0&&delete h[R]}),b=s.setItem(a,l(h)).catch(A)}function T(R){return!(n&&n.indexOf(R)===-1&&R!=="_persist"||t&&t.indexOf(R)!==-1)}function A(R){u&&u(R)}var I=function(){for(;m.length!==0;)E();return b||Promise.resolve()};return{update:k,flush:I}}function MSe(e){return JSON.stringify(e)}function ISe(e){var t=e.transforms||[],n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key),r=e.storage;e.debug;var i;return e.deserialize===!1?i=function(a){return a}:typeof e.deserialize=="function"?i=e.deserialize:i=RSe,r.getItem(n).then(function(o){if(o)try{var a={},s=i(o);return Object.keys(s).forEach(function(l){a[l]=t.reduceRight(function(u,d){return d.out(u,l,s)},i(s[l]))}),a}catch(l){throw l}else return})}function RSe(e){return JSON.parse(e)}function DSe(e){var t=e.storage,n="".concat(e.keyPrefix!==void 0?e.keyPrefix:XE).concat(e.key);return t.removeItem(n,NSe)}function NSe(e){}function OI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $u(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $Se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var FSe=5e3;function zSe(e,t){var n=e.version!==void 0?e.version:PSe;e.debug;var r=e.stateReconciler===void 0?ASe:e.stateReconciler,i=e.getStoredState||ISe,o=e.timeout!==void 0?e.timeout:FSe,a=null,s=!1,l=!0,u=function(h){return h._persist.rehydrated&&a&&!l&&a.update(h),h};return function(d,h){var m=d||{},v=m._persist,b=BSe(m,["_persist"]),S=b;if(h.type===TW){var k=!1,E=function(j,z){k||(h.rehydrate(e.key,j,z),k=!0)};if(o&&setTimeout(function(){!k&&E(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},o),l=!1,a||(a=OSe(e)),v)return $u({},t(S,h),{_persist:v});if(typeof h.rehydrate!="function"||typeof h.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return h.register(e.key),i(e).then(function(D){var j=e.migrate||function(z,V){return Promise.resolve(z)};j(D,n).then(function(z){E(z)},function(z){E(void 0,z)})},function(D){E(void 0,D)}),$u({},t(S,h),{_persist:{version:n,rehydrated:!1}})}else{if(h.type===LW)return s=!0,h.result(DSe(e)),$u({},t(S,h),{_persist:v});if(h.type===EW)return h.result(a&&a.flush()),$u({},t(S,h),{_persist:v});if(h.type===PW)l=!0;else if(h.type===ZE){if(s)return $u({},S,{_persist:$u({},v,{rehydrated:!0})});if(h.key===e.key){var _=t(S,h),T=h.payload,A=r!==!1&&T!==void 0?r(T,d,_,e):_,I=$u({},A,{_persist:$u({},v,{rehydrated:!0})});return u(I)}}}if(!v)return t(d,h);var R=t(S,h);return R===S?d:u($u({},R,{_persist:v}))}}function MI(e){return WSe(e)||VSe(e)||HSe()}function HSe(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function VSe(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function WSe(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:OW,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case AW:return a8({},t,{registry:[].concat(MI(t.registry),[n.key])});case ZE:var r=t.registry.indexOf(n.key),i=MI(t.registry);return i.splice(r,1),a8({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function qSe(e,t,n){var r=n||!1,i=YE(GSe,OW,t&&t.enhancer?t.enhancer:void 0),o=function(u){i.dispatch({type:AW,key:u})},a=function(u,d,h){var m={type:ZE,payload:d,err:h,key:u};e.dispatch(m),i.dispatch(m),r&&s.getState().bootstrapped&&(r(),r=!1)},s=a8({},i,{purge:function(){var u=[];return e.dispatch({type:LW,result:function(h){u.push(h)}}),Promise.all(u)},flush:function(){var u=[];return e.dispatch({type:EW,result:function(h){u.push(h)}}),Promise.all(u)},pause:function(){e.dispatch({type:PW})},persist:function(){e.dispatch({type:TW,register:o,rehydrate:a})}});return t&&t.manualPersist||s.persist(),s}var QE={},JE={};JE.__esModule=!0;JE.default=XSe;function M4(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M4=function(n){return typeof n}:M4=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M4(e)}function mC(){}var YSe={getItem:mC,setItem:mC,removeItem:mC};function KSe(e){if((typeof self>"u"?"undefined":M4(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function XSe(e){var t="".concat(e,"Storage");return KSe(t)?self[t]:YSe}QE.__esModule=!0;QE.default=JSe;var ZSe=QSe(JE);function QSe(e){return e&&e.__esModule?e:{default:e}}function JSe(e){var t=(0,ZSe.default)(e);return{getItem:function(r){return new Promise(function(i,o){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(o,a){o(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,o){i(t.removeItem(r))})}}}var MW=void 0,exe=txe(QE);function txe(e){return e&&e.__esModule?e:{default:e}}var nxe=(0,exe.default)("local");MW=nxe;var IW={},RW={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});Jh.PLACEHOLDER_UNDEFINED=Jh.PACKAGE_NAME=void 0;Jh.PACKAGE_NAME="redux-deep-persist";Jh.PLACEHOLDER_UNDEFINED="@@placeholder/undefined";var eP={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigType=void 0,function(t){t[t.WHITELIST=0]="WHITELIST",t[t.BLACKLIST=1]="BLACKLIST"}(e.ConfigType||(e.ConfigType={}))})(eP);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRootKeysGroup=e.throwError=e.configValidator=e.transformsValidator=e.singleTransformValidator=e.findDuplicatesAndSubsets=e.unique=e.preserveUndefined=e.mergeDeep=e.dissocPath=e.assocPath=e.path=e.difference=e.cloneDeep=e._cloneDeep=e.getCircularPath=e.isEmpty=e.isDate=e.isString=e.isIntegerString=e.isPlainObject=e.isArray=e.isLength=e.isObjectLike=void 0;const t=Jh,n=eP,r=function(q){return typeof q=="object"&&q!==null};e.isObjectLike=r;const i=function(q){return typeof q=="number"&&q>-1&&q%1==0&&q<=Number.MAX_SAFE_INTEGER};e.isLength=i,e.isArray=Array.isArray||function(q){return(0,e.isLength)(q&&q.length)&&Object.prototype.toString.call(q)==="[object Array]"};const o=function(q){return!!q&&typeof q=="object"&&!(0,e.isArray)(q)};e.isPlainObject=o;const a=function(q){return String(~~q)===q&&Number(q)>=0};e.isIntegerString=a;const s=function(q){return Object.prototype.toString.call(q)==="[object String]"};e.isString=s;const l=function(q){return Object.prototype.toString.call(q)==="[object Date]"};e.isDate=l;const u=function(q){return Object.keys(q).length===0};e.isEmpty=u;const d=Object.prototype.hasOwnProperty,h=function(q,$,U){U||(U=new Set([q])),$||($="");for(const X in q){const Z=$?`${$}.${X}`:X,W=q[X];if((0,e.isObjectLike)(W))return U.has(W)?`${$}.${X}:`:(U.add(W),(0,e.getCircularPath)(W,Z,U))}return null};e.getCircularPath=h;const m=function(q){if(!(0,e.isObjectLike)(q))return q;if((0,e.isDate)(q))return new Date(+q);const $=(0,e.isArray)(q)?[]:{};for(const U in q){const X=q[U];$[U]=(0,e._cloneDeep)(X)}return $};e._cloneDeep=m;const v=function(q){const $=(0,e.getCircularPath)(q);if($)throw new Error(`${t.PACKAGE_NAME}: circular dependency detected under the path '${$}' of object you're trying to persist: ${q}`);return(0,e._cloneDeep)(q)};e.cloneDeep=v;const b=function(q,$){if(q===$)return{};if(!(0,e.isObjectLike)(q)||!(0,e.isObjectLike)($))return $;const U=(0,e.cloneDeep)(q),X=(0,e.cloneDeep)($),Z=Object.keys(U).reduce((Q,ie)=>(d.call(X,ie)||(Q[ie]=void 0),Q),{});if((0,e.isDate)(U)||(0,e.isDate)(X))return U.valueOf()===X.valueOf()?{}:X;const W=Object.keys(X).reduce((Q,ie)=>{if(!d.call(U,ie))return Q[ie]=X[ie],Q;const fe=(0,e.difference)(U[ie],X[ie]);return(0,e.isObjectLike)(fe)&&(0,e.isEmpty)(fe)&&!(0,e.isDate)(fe)?(0,e.isArray)(U)&&!(0,e.isArray)(X)||!(0,e.isArray)(U)&&(0,e.isArray)(X)?X:Q:(Q[ie]=fe,Q)},Z);return delete W._persist,W};e.difference=b;const S=function(q,$){return $.reduce((U,X)=>{if(U){const Z=parseInt(X,10),W=(0,e.isIntegerString)(X)&&Z<0?U.length+Z:X;return(0,e.isString)(U)?U.charAt(W):U[W]}},q)};e.path=S;const k=function(q,$){return[...q].reverse().reduce((Z,W,Q)=>{const ie=(0,e.isIntegerString)(W)?[]:{};return ie[W]=Q===0?$:Z,ie},{})};e.assocPath=k;const E=function(q,$){const U=(0,e.cloneDeep)(q);return $.reduce((X,Z,W)=>(W===$.length-1&&X&&(0,e.isObjectLike)(X)&&delete X[Z],X&&X[Z]),U),U};e.dissocPath=E;const _=function(q,$,...U){if(!U||!U.length)return $;const X=U.shift(),{preservePlaceholder:Z,preserveUndefined:W}=q;if((0,e.isObjectLike)($)&&(0,e.isObjectLike)(X))for(const Q in X)if((0,e.isObjectLike)(X[Q])&&(0,e.isObjectLike)($[Q]))$[Q]||($[Q]={}),_(q,$[Q],X[Q]);else if((0,e.isArray)($)){let ie=X[Q];const fe=Z?t.PLACEHOLDER_UNDEFINED:void 0;W||(ie=typeof ie<"u"?ie:$[parseInt(Q,10)]),ie=ie!==t.PLACEHOLDER_UNDEFINED?ie:fe,$[parseInt(Q,10)]=ie}else{const ie=X[Q]!==t.PLACEHOLDER_UNDEFINED?X[Q]:void 0;$[Q]=ie}return _(q,$,...U)},T=function(q,$,U){return _({preservePlaceholder:U==null?void 0:U.preservePlaceholder,preserveUndefined:U==null?void 0:U.preserveUndefined},(0,e.cloneDeep)(q),(0,e.cloneDeep)($))};e.mergeDeep=T;const A=function(q,$=[],U,X,Z){if(!(0,e.isObjectLike)(q))return q;for(const W in q){const Q=q[W],ie=(0,e.isArray)(q),fe=X?X+"."+W:W;Q===null&&(U===n.ConfigType.WHITELIST&&$.indexOf(fe)===-1||U===n.ConfigType.BLACKLIST&&$.indexOf(fe)!==-1)&&ie&&(q[parseInt(W,10)]=void 0),Q===void 0&&Z&&U===n.ConfigType.BLACKLIST&&$.indexOf(fe)===-1&&ie&&(q[parseInt(W,10)]=t.PLACEHOLDER_UNDEFINED),A(Q,$,U,fe,Z)}},I=function(q,$,U,X){const Z=(0,e.cloneDeep)(q);return A(Z,$,U,"",X),Z};e.preserveUndefined=I;const R=function(q,$,U){return U.indexOf(q)===$};e.unique=R;const D=function(q){return q.reduce(($,U)=>{const X=q.filter(Se=>Se===U),Z=q.filter(Se=>(U+".").indexOf(Se+".")===0),{duplicates:W,subsets:Q}=$,ie=X.length>1&&W.indexOf(U)===-1,fe=Z.length>1;return{duplicates:[...W,...ie?X:[]],subsets:[...Q,...fe?Z:[]].filter(e.unique).sort()}},{duplicates:[],subsets:[]})};e.findDuplicatesAndSubsets=D;const j=function(q,$,U){const X=U===n.ConfigType.WHITELIST?"whitelist":"blacklist",Z=`${t.PACKAGE_NAME}: incorrect ${X} configuration.`,W=`Check your create${U===n.ConfigType.WHITELIST?"White":"Black"}list arguments. + +`;if(!(0,e.isString)($)||$.length<1)throw new Error(`${Z} Name (key) of reducer is required. ${W}`);if(!q||!q.length)return;const{duplicates:Q,subsets:ie}=(0,e.findDuplicatesAndSubsets)(q);if(Q.length>1)throw new Error(`${Z} Duplicated paths. + + ${JSON.stringify(Q)} + + ${W}`);if(ie.length>1)throw new Error(`${Z} You are trying to persist an entire property and also some of its subset. + +${JSON.stringify(ie)} + + ${W}`)};e.singleTransformValidator=j;const z=function(q){if(!(0,e.isArray)(q))return;const $=(q==null?void 0:q.map(U=>U.deepPersistKey).filter(U=>U))||[];if($.length){const U=$.filter((X,Z)=>$.indexOf(X)!==Z);if(U.length)throw new Error(`${t.PACKAGE_NAME}: found duplicated keys in transforms creators. You can createWhitelist or createBlacklist for a specific root reducer key only once. Duplicated keys among createWhitelist and createBlacklist transforms are not allowed. + + Duplicates: ${JSON.stringify(U)}`)}};e.transformsValidator=z;const V=function({whitelist:q,blacklist:$}){if(q&&q.length&&$&&$.length)throw new Error(`${t.PACKAGE_NAME}: you should not define a whitelist and blacklist in parallel. It is allowed to use only one of these lists per config.`);if(q){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)(q);(0,e.throwError)({duplicates:U,subsets:X},"whitelist")}if($){const{duplicates:U,subsets:X}=(0,e.findDuplicatesAndSubsets)($);(0,e.throwError)({duplicates:U,subsets:X},"blacklist")}};e.configValidator=V;const K=function({duplicates:q,subsets:$},U){if(q.length)throw new Error(`${t.PACKAGE_NAME}: duplicates of paths found in your ${U}. + + ${JSON.stringify(q)}`);if($.length)throw new Error(`${t.PACKAGE_NAME}: subsets of some parent keys found in your ${U}. You must decide if you want to persist an entire path or its specific subset. + + ${JSON.stringify($)}`)};e.throwError=K;const te=function(q){return(0,e.isArray)(q)?q.filter(e.unique).reduce(($,U)=>{const X=U.split("."),Z=X[0],W=X.slice(1).join(".")||void 0,Q=$.filter(fe=>Object.keys(fe)[0]===Z)[0],ie=Q?Object.values(Q)[0]:void 0;return Q||$.push({[Z]:W?[W]:void 0}),Q&&!ie&&W&&(Q[Z]=[W]),Q&&ie&&W&&ie.push(W),$},[]):[]};e.getRootKeysGroup=te})(RW);(function(e){var t=Co&&Co.__rest||function(h,m){var v={};for(var b in h)Object.prototype.hasOwnProperty.call(h,b)&&m.indexOf(b)<0&&(v[b]=h[b]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(h);S!k(_)&&h?h(E,_,T):E,out:(E,_,T)=>!k(_)&&m?m(E,_,T):E,deepPersistKey:b&&b[0]}},a=(h,m,v,{debug:b,whitelist:S,blacklist:k,transforms:E})=>{if(S||k)throw new Error("State reconciler autoMergeDeep uses custom transforms instead of old whitelist or blacklist config properties. Please use createWhitelist or createBlacklist transforms.");(0,n.transformsValidator)(E);const _=(0,n.cloneDeep)(v);let T=h;if(T&&(0,n.isObjectLike)(T)){const A=(0,n.difference)(m,v);(0,n.isEmpty)(A)||(T=(0,n.mergeDeep)(h,A,{preserveUndefined:!0}),b&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: sub state of your state was modified by reducer during rehydration. Values from reducer will be kept: ${JSON.stringify(A)}`)),Object.keys(T).forEach(I=>{if(I!=="_persist"){if((0,n.isObjectLike)(_[I])){_[I]=(0,n.mergeDeep)(_[I],T[I]);return}_[I]=T[I]}})}return b&&T&&(0,n.isObjectLike)(T)&&console.log(`${r.PACKAGE_NAME}/autoMergeDeep: rehydrated keys ${JSON.stringify(T)}`),_};e.autoMergeDeep=a;const s=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.WHITELIST),o(v=>{if(!m||!m.length)return v;let b=null,S;return m.forEach(k=>{const E=k.split(".");S=(0,n.path)(v,E),typeof S>"u"&&(0,n.isIntegerString)(E[E.length-1])&&(S=r.PLACEHOLDER_UNDEFINED);const _=(0,n.assocPath)(E,S),T=(0,n.isArray)(_)?[]:{};b=(0,n.mergeDeep)(b||T,_,{preservePlaceholder:!0})}),b||v},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.WHITELIST),{whitelist:[h]}));e.createWhitelist=s;const l=(h,m)=>((0,n.singleTransformValidator)(m,h,i.ConfigType.BLACKLIST),o(v=>{if(!m||!m.length)return;const b=(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST,!0);return m.map(k=>k.split(".")).reduce((k,E)=>(0,n.dissocPath)(k,E),b)},v=>(0,n.preserveUndefined)(v,m,i.ConfigType.BLACKLIST),{whitelist:[h]}));e.createBlacklist=l;const u=function(h,m){return m.map(v=>{const b=Object.keys(v)[0],S=v[b];return h===i.ConfigType.WHITELIST?(0,e.createWhitelist)(b,S):(0,e.createBlacklist)(b,S)})};e.getTransforms=u;const d=h=>{var{key:m,whitelist:v,blacklist:b,storage:S,transforms:k,rootReducer:E}=h,_=t(h,["key","whitelist","blacklist","storage","transforms","rootReducer"]);(0,n.configValidator)({whitelist:v,blacklist:b});const T=(0,n.getRootKeysGroup)(v),A=(0,n.getRootKeysGroup)(b),I=Object.keys(E(void 0,{type:""})),R=T.map(te=>Object.keys(te)[0]),D=A.map(te=>Object.keys(te)[0]),j=I.filter(te=>R.indexOf(te)===-1&&D.indexOf(te)===-1),z=(0,e.getTransforms)(i.ConfigType.WHITELIST,T),V=(0,e.getTransforms)(i.ConfigType.BLACKLIST,A),K=(0,n.isArray)(v)?j.map(te=>(0,e.createBlacklist)(te)):[];return Object.assign(Object.assign({},_),{key:m,storage:S,transforms:[...z,...V,...K,...k||[]],stateReconciler:e.autoMergeDeep})};e.getPersistConfig=d})(IW);const Ed=(e,t)=>Math.floor(e/t)*t,Gl=(e,t)=>Math.round(e/t)*t;var ke={},rxe={get exports(){return ke},set exports(e){ke=e}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,m=2,v=4,b=1,S=2,k=1,E=2,_=4,T=8,A=16,I=32,R=64,D=128,j=256,z=512,V=30,K="...",te=800,q=16,$=1,U=2,X=3,Z=1/0,W=9007199254740991,Q=17976931348623157e292,ie=0/0,fe=4294967295,Se=fe-1,Pe=fe>>>1,ye=[["ary",D],["bind",k],["bindKey",E],["curry",T],["curryRight",A],["flip",z],["partial",I],["partialRight",R],["rearg",j]],We="[object Arguments]",De="[object Array]",ot="[object AsyncFunction]",He="[object Boolean]",Be="[object Date]",wt="[object DOMException]",st="[object Error]",mt="[object Function]",St="[object GeneratorFunction]",Le="[object Map]",lt="[object Number]",Mt="[object Null]",ut="[object Object]",_t="[object Promise]",ln="[object Proxy]",ae="[object RegExp]",Re="[object Set]",Ye="[object String]",Ke="[object Symbol]",xe="[object Undefined]",Ne="[object WeakMap]",Ct="[object WeakSet]",Dt="[object ArrayBuffer]",Te="[object DataView]",At="[object Float32Array]",$e="[object Float64Array]",vt="[object Int8Array]",tn="[object Int16Array]",Rn="[object Int32Array]",Xe="[object Uint8Array]",xt="[object Uint8ClampedArray]",ft="[object Uint16Array]",Ht="[object Uint32Array]",nn=/\b__p \+= '';/g,pr=/\b(__p \+=) '' \+/g,Mo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oi=/&(?:amp|lt|gt|quot|#39);/g,rl=/[&<>"']/g,I0=RegExp(Oi.source),Ba=RegExp(rl.source),kp=/<%-([\s\S]+?)%>/g,R0=/<%([\s\S]+?)%>/g,yc=/<%=([\s\S]+?)%>/g,Ep=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pp=/^\w*$/,ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vf=/[\\^$.*+?()[\]{}|]/g,D0=RegExp(vf.source),bc=/^\s+/,yf=/\s/,N0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,il=/\{\n\/\* \[wrapped with (.+)\] \*/,Sc=/,? & /,j0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,B0=/[()=,{}\[\]\/\s]/,$0=/\\(\\)?/g,F0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gs=/\w*$/,z0=/^[-+]0x[0-9a-f]+$/i,H0=/^0b[01]+$/i,V0=/^\[object .+?Constructor\]$/,W0=/^0o[0-7]+$/i,U0=/^(?:0|[1-9]\d*)$/,G0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,q0=/['\n\r\u2028\u2029\\]/g,ms="\\ud800-\\udfff",vu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",bu=vu+yu+al,Tp="\\u2700-\\u27bf",xc="a-z\\xdf-\\xf6\\xf8-\\xff",sl="\\xac\\xb1\\xd7\\xf7",oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dn="\\u2000-\\u206f",Pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",Hr="\\ufe0e\\ufe0f",li=sl+oa+Dn+Pn,sa="['’]",ll="["+ms+"]",ui="["+li+"]",vs="["+bu+"]",bf="\\d+",Su="["+Tp+"]",ys="["+xc+"]",Sf="[^"+ms+li+bf+Tp+xc+aa+"]",Mi="\\ud83c[\\udffb-\\udfff]",Lp="(?:"+vs+"|"+Mi+")",Ap="[^"+ms+"]",xf="(?:\\ud83c[\\udde6-\\uddff]){2}",ul="[\\ud800-\\udbff][\\udc00-\\udfff]",Io="["+aa+"]",cl="\\u200d",xu="(?:"+ys+"|"+Sf+")",Y0="(?:"+Io+"|"+Sf+")",wc="(?:"+sa+"(?:d|ll|m|re|s|t|ve))?",Cc="(?:"+sa+"(?:D|LL|M|RE|S|T|VE))?",wf=Lp+"?",_c="["+Hr+"]?",$a="(?:"+cl+"(?:"+[Ap,xf,ul].join("|")+")"+_c+wf+")*",Cf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yt=_c+wf+$a,Op="(?:"+[Su,xf,ul].join("|")+")"+Yt,kc="(?:"+[Ap+vs+"?",vs,xf,ul,ll].join("|")+")",Ec=RegExp(sa,"g"),Mp=RegExp(vs,"g"),la=RegExp(Mi+"(?="+Mi+")|"+kc+Yt,"g"),Kn=RegExp([Io+"?"+ys+"+"+wc+"(?="+[ui,Io,"$"].join("|")+")",Y0+"+"+Cc+"(?="+[ui,Io+xu,"$"].join("|")+")",Io+"?"+xu+"+"+wc,Io+"+"+Cc,wu,Cf,bf,Op].join("|"),"g"),_f=RegExp("["+cl+ms+bu+Hr+"]"),Ip=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,gn={};gn[At]=gn[$e]=gn[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:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},K0={"&":"&","<":"<",">":">",'"':""","'":"'"},Y={"&":"&","<":"<",">":">",""":'"',"'":"'"},re={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ge=parseFloat,it=parseInt,Wt=typeof Co=="object"&&Co&&Co.Object===Object&&Co,Sn=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wt||Sn||Function("return this")(),Nt=t&&!t.nodeType&&t,Xt=Nt&&!0&&e&&!e.nodeType&&e,Jr=Xt&&Xt.exports===Nt,Ir=Jr&&Wt.process,xn=function(){try{var oe=Xt&&Xt.require&&Xt.require("util").types;return oe||Ir&&Ir.binding&&Ir.binding("util")}catch{}}(),ci=xn&&xn.isArrayBuffer,Ro=xn&&xn.isDate,co=xn&&xn.isMap,Fa=xn&&xn.isRegExp,dl=xn&&xn.isSet,X0=xn&&xn.isTypedArray;function Ii(oe,we,ve){switch(ve.length){case 0:return oe.call(we);case 1:return oe.call(we,ve[0]);case 2:return oe.call(we,ve[0],ve[1]);case 3:return oe.call(we,ve[0],ve[1],ve[2])}return oe.apply(we,ve)}function Z0(oe,we,ve,nt){for(var It=-1,rn=oe==null?0:oe.length;++It-1}function Np(oe,we,ve){for(var nt=-1,It=oe==null?0:oe.length;++nt-1;);return ve}function bs(oe,we){for(var ve=oe.length;ve--&&Lc(we,oe[ve],0)>-1;);return ve}function J0(oe,we){for(var ve=oe.length,nt=0;ve--;)oe[ve]===we&&++nt;return nt}var Jy=Lf(Dp),Ss=Lf(K0);function hl(oe){return"\\"+re[oe]}function Bp(oe,we){return oe==null?n:oe[we]}function _u(oe){return _f.test(oe)}function $p(oe){return Ip.test(oe)}function e3(oe){for(var we,ve=[];!(we=oe.next()).done;)ve.push(we.value);return ve}function Fp(oe){var we=-1,ve=Array(oe.size);return oe.forEach(function(nt,It){ve[++we]=[It,nt]}),ve}function zp(oe,we){return function(ve){return oe(we(ve))}}function da(oe,we){for(var ve=-1,nt=oe.length,It=0,rn=[];++ve-1}function b3(c,g){var C=this.__data__,O=Wr(C,c);return O<0?(++this.size,C.push([c,g])):C[O][1]=g,this}fa.prototype.clear=v3,fa.prototype.delete=y3,fa.prototype.get=p1,fa.prototype.has=g1,fa.prototype.set=b3;function ha(c){var g=-1,C=c==null?0:c.length;for(this.clear();++g=g?c:g)),c}function wi(c,g,C,O,B,H){var J,ne=g&h,ce=g&m,_e=g&v;if(C&&(J=B?C(c,O,B,H):C(c)),J!==n)return J;if(!wr(c))return c;var Ee=Ft(c);if(Ee){if(J=$K(c),!ne)return $i(c,J)}else{var Ie=ki(c),tt=Ie==mt||Ie==St;if(rd(c))return _l(c,ne);if(Ie==ut||Ie==We||tt&&!B){if(J=ce||tt?{}:ST(c),!ne)return ce?I1(c,qc(J,c)):zo(c,ct(J,c))}else{if(!Kt[Ie])return B?c:{};J=FK(c,Ie,ne)}}H||(H=new Dr);var bt=H.get(c);if(bt)return bt;H.set(c,J),KT(c)?c.forEach(function(Tt){J.add(wi(Tt,g,C,Tt,c,H))}):qT(c)&&c.forEach(function(Tt,Qt){J.set(Qt,wi(Tt,g,C,Qt,c,H))});var Pt=_e?ce?me:ya:ce?Vo:Ei,qt=Ee?n:Pt(c);return Xn(qt||c,function(Tt,Qt){qt&&(Qt=Tt,Tt=c[Qt]),ml(J,Qt,wi(Tt,g,C,Qt,c,H))}),J}function Kp(c){var g=Ei(c);return function(C){return Xp(C,c,g)}}function Xp(c,g,C){var O=C.length;if(c==null)return!O;for(c=mn(c);O--;){var B=C[O],H=g[B],J=c[B];if(J===n&&!(B in c)||!H(J))return!1}return!0}function b1(c,g,C){if(typeof c!="function")throw new Ri(a);return B1(function(){c.apply(n,C)},g)}function Yc(c,g,C,O){var B=-1,H=Ki,J=!0,ne=c.length,ce=[],_e=g.length;if(!ne)return ce;C&&(g=Wn(g,Vr(C))),O?(H=Np,J=!1):g.length>=i&&(H=Oc,J=!1,g=new Wa(g));e:for(;++BB?0:B+C),O=O===n||O>B?B:Vt(O),O<0&&(O+=B),O=C>O?0:ZT(O);C0&&C(ne)?g>1?Ur(ne,g-1,C,O,B):za(B,ne):O||(B[B.length]=ne)}return B}var Qp=kl(),Bo=kl(!0);function va(c,g){return c&&Qp(c,g,Ei)}function $o(c,g){return c&&Bo(c,g,Ei)}function Jp(c,g){return No(g,function(C){return Iu(c[C])})}function vl(c,g){g=Cl(g,c);for(var C=0,O=g.length;c!=null&&Cg}function tg(c,g){return c!=null&&un.call(c,g)}function ng(c,g){return c!=null&&g in mn(c)}function rg(c,g,C){return c>=fi(g,C)&&c=120&&Ee.length>=120)?new Wa(J&&Ee):n}Ee=c[0];var Ie=-1,tt=ne[0];e:for(;++Ie-1;)ne!==c&&jf.call(ne,ce,1),jf.call(c,ce,1);return c}function Gf(c,g){for(var C=c?g.length:0,O=C-1;C--;){var B=g[C];if(C==O||B!==H){var H=B;Mu(B)?jf.call(c,B,1):hg(c,B)}}return c}function qf(c,g){return c+Eu(l1()*(g-c+1))}function xl(c,g,C,O){for(var B=-1,H=Rr(Ff((g-c)/(C||1)),0),J=ve(H);H--;)J[O?H:++B]=c,c+=C;return J}function ed(c,g){var C="";if(!c||g<1||g>W)return C;do g%2&&(C+=c),g=Eu(g/2),g&&(c+=c);while(g);return C}function Ot(c,g){return Tw(CT(c,g,Wo),c+"")}function lg(c){return Gc(Sg(c))}function Yf(c,g){var C=Sg(c);return P3(C,Tu(g,0,C.length))}function Au(c,g,C,O){if(!wr(c))return c;g=Cl(g,c);for(var B=-1,H=g.length,J=H-1,ne=c;ne!=null&&++BB?0:B+g),C=C>B?B:C,C<0&&(C+=B),B=g>C?0:C-g>>>0,g>>>=0;for(var H=ve(B);++O>>1,J=c[H];J!==null&&!ba(J)&&(C?J<=g:J=i){var _e=g?null:G(c);if(_e)return If(_e);J=!1,B=Oc,ce=new Wa}else ce=g?[]:ne;e:for(;++O=O?c:qr(c,g,C)}var L1=o3||function(c){return kt.clearTimeout(c)};function _l(c,g){if(g)return c.slice();var C=c.length,O=Nc?Nc(C):new c.constructor(C);return c.copy(O),O}function A1(c){var g=new c.constructor(c.byteLength);return new Di(g).set(new Di(c)),g}function Ou(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.byteLength)}function C3(c){var g=new c.constructor(c.source,gs.exec(c));return g.lastIndex=c.lastIndex,g}function Zn(c){return Hf?mn(Hf.call(c)):{}}function _3(c,g){var C=g?A1(c.buffer):c.buffer;return new c.constructor(C,c.byteOffset,c.length)}function O1(c,g){if(c!==g){var C=c!==n,O=c===null,B=c===c,H=ba(c),J=g!==n,ne=g===null,ce=g===g,_e=ba(g);if(!ne&&!_e&&!H&&c>g||H&&J&&ce&&!ne&&!_e||O&&J&&ce||!C&&ce||!B)return 1;if(!O&&!H&&!_e&&c=ne)return ce;var _e=C[O];return ce*(_e=="desc"?-1:1)}}return c.index-g.index}function k3(c,g,C,O){for(var B=-1,H=c.length,J=C.length,ne=-1,ce=g.length,_e=Rr(H-J,0),Ee=ve(ce+_e),Ie=!O;++ne1?C[B-1]:n,J=B>2?C[2]:n;for(H=c.length>3&&typeof H=="function"?(B--,H):n,J&&vo(C[0],C[1],J)&&(H=B<3?n:H,B=1),g=mn(g);++O-1?B[H?g[J]:J]:n}}function D1(c){return mr(function(g){var C=g.length,O=C,B=ho.prototype.thru;for(c&&g.reverse();O--;){var H=g[O];if(typeof H!="function")throw new Ri(a);if(B&&!J&&be(H)=="wrapper")var J=new ho([],!0)}for(O=J?O:C;++O1&&on.reverse(),Ee&&cene))return!1;var _e=H.get(c),Ee=H.get(g);if(_e&&Ee)return _e==g&&Ee==c;var Ie=-1,tt=!0,bt=C&S?new Wa:n;for(H.set(c,g),H.set(g,c);++Ie1?"& ":"")+g[O],g=g.join(C>2?", ":" "),c.replace(N0,`{ +/* [wrapped with `+g+`] */ +`)}function HK(c){return Ft(c)||nh(c)||!!(a1&&c&&c[a1])}function Mu(c,g){var C=typeof c;return g=g??W,!!g&&(C=="number"||C!="symbol"&&U0.test(c))&&c>-1&&c%1==0&&c0){if(++g>=te)return arguments[0]}else g=0;return c.apply(n,arguments)}}function P3(c,g){var C=-1,O=c.length,B=O-1;for(g=g===n?O:g;++C1?c[g-1]:n;return C=typeof C=="function"?(c.pop(),C):n,DT(c,C)});function NT(c){var g=F(c);return g.__chain__=!0,g}function JX(c,g){return g(c),c}function T3(c,g){return g(c)}var eZ=mr(function(c){var g=c.length,C=g?c[0]:0,O=this.__wrapped__,B=function(H){return Yp(H,c)};return g>1||this.__actions__.length||!(O instanceof Zt)||!Mu(C)?this.thru(B):(O=O.slice(C,+C+(g?1:0)),O.__actions__.push({func:T3,args:[B],thisArg:n}),new ho(O,this.__chain__).thru(function(H){return g&&!H.length&&H.push(n),H}))});function tZ(){return NT(this)}function nZ(){return new ho(this.value(),this.__chain__)}function rZ(){this.__values__===n&&(this.__values__=XT(this.value()));var c=this.__index__>=this.__values__.length,g=c?n:this.__values__[this.__index__++];return{done:c,value:g}}function iZ(){return this}function oZ(c){for(var g,C=this;C instanceof Vf;){var O=LT(C);O.__index__=0,O.__values__=n,g?B.__wrapped__=O:g=O;var B=O;C=C.__wrapped__}return B.__wrapped__=c,g}function aZ(){var c=this.__wrapped__;if(c instanceof Zt){var g=c;return this.__actions__.length&&(g=new Zt(this)),g=g.reverse(),g.__actions__.push({func:T3,args:[Lw],thisArg:n}),new ho(g,this.__chain__)}return this.thru(Lw)}function sZ(){return wl(this.__wrapped__,this.__actions__)}var lZ=gg(function(c,g,C){un.call(c,C)?++c[C]:pa(c,C,1)});function uZ(c,g,C){var O=Ft(c)?Vn:S1;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}function cZ(c,g){var C=Ft(c)?No:ma;return C(c,Oe(g,3))}var dZ=R1(AT),fZ=R1(OT);function hZ(c,g){return Ur(L3(c,g),1)}function pZ(c,g){return Ur(L3(c,g),Z)}function gZ(c,g,C){return C=C===n?1:Vt(C),Ur(L3(c,g),C)}function jT(c,g){var C=Ft(c)?Xn:Cs;return C(c,Oe(g,3))}function BT(c,g){var C=Ft(c)?Do:Zp;return C(c,Oe(g,3))}var mZ=gg(function(c,g,C){un.call(c,C)?c[C].push(g):pa(c,C,[g])});function vZ(c,g,C,O){c=Ho(c)?c:Sg(c),C=C&&!O?Vt(C):0;var B=c.length;return C<0&&(C=Rr(B+C,0)),R3(c)?C<=B&&c.indexOf(g,C)>-1:!!B&&Lc(c,g,C)>-1}var yZ=Ot(function(c,g,C){var O=-1,B=typeof g=="function",H=Ho(c)?ve(c.length):[];return Cs(c,function(J){H[++O]=B?Ii(g,J,C):_s(J,g,C)}),H}),bZ=gg(function(c,g,C){pa(c,C,g)});function L3(c,g){var C=Ft(c)?Wn:jr;return C(c,Oe(g,3))}function SZ(c,g,C,O){return c==null?[]:(Ft(g)||(g=g==null?[]:[g]),C=O?n:C,Ft(C)||(C=C==null?[]:[C]),ji(c,g,C))}var xZ=gg(function(c,g,C){c[C?0:1].push(g)},function(){return[[],[]]});function wZ(c,g,C){var O=Ft(c)?Ef:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Cs)}function CZ(c,g,C){var O=Ft(c)?Ky:jp,B=arguments.length<3;return O(c,Oe(g,4),C,B,Zp)}function _Z(c,g){var C=Ft(c)?No:ma;return C(c,M3(Oe(g,3)))}function kZ(c){var g=Ft(c)?Gc:lg;return g(c)}function EZ(c,g,C){(C?vo(c,g,C):g===n)?g=1:g=Vt(g);var O=Ft(c)?xi:Yf;return O(c,g)}function PZ(c){var g=Ft(c)?Sw:_i;return g(c)}function TZ(c){if(c==null)return 0;if(Ho(c))return R3(c)?Ha(c):c.length;var g=ki(c);return g==Le||g==Re?c.size:Gr(c).length}function LZ(c,g,C){var O=Ft(c)?Pc:Fo;return C&&vo(c,g,C)&&(g=n),O(c,Oe(g,3))}var AZ=Ot(function(c,g){if(c==null)return[];var C=g.length;return C>1&&vo(c,g[0],g[1])?g=[]:C>2&&vo(g[0],g[1],g[2])&&(g=[g[0]]),ji(c,Ur(g,1),[])}),A3=a3||function(){return kt.Date.now()};function OZ(c,g){if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){if(--c<1)return g.apply(this,arguments)}}function $T(c,g,C){return g=C?n:g,g=c&&g==null?c.length:g,pe(c,D,n,n,n,n,g)}function FT(c,g){var C;if(typeof g!="function")throw new Ri(a);return c=Vt(c),function(){return--c>0&&(C=g.apply(this,arguments)),c<=1&&(g=n),C}}var Ow=Ot(function(c,g,C){var O=k;if(C.length){var B=da(C,et(Ow));O|=I}return pe(c,O,g,C,B)}),zT=Ot(function(c,g,C){var O=k|E;if(C.length){var B=da(C,et(zT));O|=I}return pe(g,O,c,C,B)});function HT(c,g,C){g=C?n:g;var O=pe(c,T,n,n,n,n,n,g);return O.placeholder=HT.placeholder,O}function VT(c,g,C){g=C?n:g;var O=pe(c,A,n,n,n,n,n,g);return O.placeholder=VT.placeholder,O}function WT(c,g,C){var O,B,H,J,ne,ce,_e=0,Ee=!1,Ie=!1,tt=!0;if(typeof c!="function")throw new Ri(a);g=qa(g)||0,wr(C)&&(Ee=!!C.leading,Ie="maxWait"in C,H=Ie?Rr(qa(C.maxWait)||0,g):H,tt="trailing"in C?!!C.trailing:tt);function bt(Kr){var Ls=O,Du=B;return O=B=n,_e=Kr,J=c.apply(Du,Ls),J}function Pt(Kr){return _e=Kr,ne=B1(Qt,g),Ee?bt(Kr):J}function qt(Kr){var Ls=Kr-ce,Du=Kr-_e,uL=g-Ls;return Ie?fi(uL,H-Du):uL}function Tt(Kr){var Ls=Kr-ce,Du=Kr-_e;return ce===n||Ls>=g||Ls<0||Ie&&Du>=H}function Qt(){var Kr=A3();if(Tt(Kr))return on(Kr);ne=B1(Qt,qt(Kr))}function on(Kr){return ne=n,tt&&O?bt(Kr):(O=B=n,J)}function Sa(){ne!==n&&L1(ne),_e=0,O=ce=B=ne=n}function yo(){return ne===n?J:on(A3())}function xa(){var Kr=A3(),Ls=Tt(Kr);if(O=arguments,B=this,ce=Kr,Ls){if(ne===n)return Pt(ce);if(Ie)return L1(ne),ne=B1(Qt,g),bt(ce)}return ne===n&&(ne=B1(Qt,g)),J}return xa.cancel=Sa,xa.flush=yo,xa}var MZ=Ot(function(c,g){return b1(c,1,g)}),IZ=Ot(function(c,g,C){return b1(c,qa(g)||0,C)});function RZ(c){return pe(c,z)}function O3(c,g){if(typeof c!="function"||g!=null&&typeof g!="function")throw new Ri(a);var C=function(){var O=arguments,B=g?g.apply(this,O):O[0],H=C.cache;if(H.has(B))return H.get(B);var J=c.apply(this,O);return C.cache=H.set(B,J)||H,J};return C.cache=new(O3.Cache||ha),C}O3.Cache=ha;function M3(c){if(typeof c!="function")throw new Ri(a);return function(){var g=arguments;switch(g.length){case 0:return!c.call(this);case 1:return!c.call(this,g[0]);case 2:return!c.call(this,g[0],g[1]);case 3:return!c.call(this,g[0],g[1],g[2])}return!c.apply(this,g)}}function DZ(c){return FT(2,c)}var NZ=Cw(function(c,g){g=g.length==1&&Ft(g[0])?Wn(g[0],Vr(Oe())):Wn(Ur(g,1),Vr(Oe()));var C=g.length;return Ot(function(O){for(var B=-1,H=fi(O.length,C);++B=g}),nh=og(function(){return arguments}())?og:function(c){return Br(c)&&un.call(c,"callee")&&!o1.call(c,"callee")},Ft=ve.isArray,ZZ=ci?Vr(ci):w1;function Ho(c){return c!=null&&I3(c.length)&&!Iu(c)}function Yr(c){return Br(c)&&Ho(c)}function QZ(c){return c===!0||c===!1||Br(c)&&Ci(c)==He}var rd=s3||Vw,JZ=Ro?Vr(Ro):C1;function eQ(c){return Br(c)&&c.nodeType===1&&!$1(c)}function tQ(c){if(c==null)return!0;if(Ho(c)&&(Ft(c)||typeof c=="string"||typeof c.splice=="function"||rd(c)||bg(c)||nh(c)))return!c.length;var g=ki(c);if(g==Le||g==Re)return!c.size;if(j1(c))return!Gr(c).length;for(var C in c)if(un.call(c,C))return!1;return!0}function nQ(c,g){return Xc(c,g)}function rQ(c,g,C){C=typeof C=="function"?C:n;var O=C?C(c,g):n;return O===n?Xc(c,g,n,C):!!O}function Iw(c){if(!Br(c))return!1;var g=Ci(c);return g==st||g==wt||typeof c.message=="string"&&typeof c.name=="string"&&!$1(c)}function iQ(c){return typeof c=="number"&&Wp(c)}function Iu(c){if(!wr(c))return!1;var g=Ci(c);return g==mt||g==St||g==ot||g==ln}function GT(c){return typeof c=="number"&&c==Vt(c)}function I3(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=W}function wr(c){var g=typeof c;return c!=null&&(g=="object"||g=="function")}function Br(c){return c!=null&&typeof c=="object"}var qT=co?Vr(co):ww;function oQ(c,g){return c===g||Zc(c,g,Rt(g))}function aQ(c,g,C){return C=typeof C=="function"?C:n,Zc(c,g,Rt(g),C)}function sQ(c){return YT(c)&&c!=+c}function lQ(c){if(UK(c))throw new It(o);return ag(c)}function uQ(c){return c===null}function cQ(c){return c==null}function YT(c){return typeof c=="number"||Br(c)&&Ci(c)==lt}function $1(c){if(!Br(c)||Ci(c)!=ut)return!1;var g=jc(c);if(g===null)return!0;var C=un.call(g,"constructor")&&g.constructor;return typeof C=="function"&&C instanceof C&&br.call(C)==Si}var Rw=Fa?Vr(Fa):Sr;function dQ(c){return GT(c)&&c>=-W&&c<=W}var KT=dl?Vr(dl):Ut;function R3(c){return typeof c=="string"||!Ft(c)&&Br(c)&&Ci(c)==Ye}function ba(c){return typeof c=="symbol"||Br(c)&&Ci(c)==Ke}var bg=X0?Vr(X0):ei;function fQ(c){return c===n}function hQ(c){return Br(c)&&ki(c)==Ne}function pQ(c){return Br(c)&&Ci(c)==Ct}var gQ=P(yl),mQ=P(function(c,g){return c<=g});function XT(c){if(!c)return[];if(Ho(c))return R3(c)?Xi(c):$i(c);if(Bc&&c[Bc])return e3(c[Bc]());var g=ki(c),C=g==Le?Fp:g==Re?If:Sg;return C(c)}function Ru(c){if(!c)return c===0?c:0;if(c=qa(c),c===Z||c===-Z){var g=c<0?-1:1;return g*Q}return c===c?c:0}function Vt(c){var g=Ru(c),C=g%1;return g===g?C?g-C:g:0}function ZT(c){return c?Tu(Vt(c),0,fe):0}function qa(c){if(typeof c=="number")return c;if(ba(c))return ie;if(wr(c)){var g=typeof c.valueOf=="function"?c.valueOf():c;c=wr(g)?g+"":g}if(typeof c!="string")return c===0?c:+c;c=fo(c);var C=H0.test(c);return C||W0.test(c)?it(c.slice(2),C?2:8):z0.test(c)?ie:+c}function QT(c){return Ua(c,Vo(c))}function vQ(c){return c?Tu(Vt(c),-W,W):c===0?c:0}function Ln(c){return c==null?"":go(c)}var yQ=mo(function(c,g){if(j1(g)||Ho(g)){Ua(g,Ei(g),c);return}for(var C in g)un.call(g,C)&&ml(c,C,g[C])}),JT=mo(function(c,g){Ua(g,Vo(g),c)}),D3=mo(function(c,g,C,O){Ua(g,Vo(g),c,O)}),bQ=mo(function(c,g,C,O){Ua(g,Ei(g),c,O)}),SQ=mr(Yp);function xQ(c,g){var C=Pu(c);return g==null?C:ct(C,g)}var wQ=Ot(function(c,g){c=mn(c);var C=-1,O=g.length,B=O>2?g[2]:n;for(B&&vo(g[0],g[1],B)&&(O=1);++C1),H}),Ua(c,me(c),C),O&&(C=wi(C,h|m|v,jt));for(var B=g.length;B--;)hg(C,g[B]);return C});function FQ(c,g){return tL(c,M3(Oe(g)))}var zQ=mr(function(c,g){return c==null?{}:E1(c,g)});function tL(c,g){if(c==null)return{};var C=Wn(me(c),function(O){return[O]});return g=Oe(g),sg(c,C,function(O,B){return g(O,B[0])})}function HQ(c,g,C){g=Cl(g,c);var O=-1,B=g.length;for(B||(B=1,c=n);++Og){var O=c;c=g,g=O}if(C||c%1||g%1){var B=l1();return fi(c+B*(g-c+ge("1e-"+((B+"").length-1))),g)}return qf(c,g)}var JQ=El(function(c,g,C){return g=g.toLowerCase(),c+(C?iL(g):g)});function iL(c){return jw(Ln(c).toLowerCase())}function oL(c){return c=Ln(c),c&&c.replace(G0,Jy).replace(Mp,"")}function eJ(c,g,C){c=Ln(c),g=go(g);var O=c.length;C=C===n?O:Tu(Vt(C),0,O);var B=C;return C-=g.length,C>=0&&c.slice(C,B)==g}function tJ(c){return c=Ln(c),c&&Ba.test(c)?c.replace(rl,Ss):c}function nJ(c){return c=Ln(c),c&&D0.test(c)?c.replace(vf,"\\$&"):c}var rJ=El(function(c,g,C){return c+(C?"-":"")+g.toLowerCase()}),iJ=El(function(c,g,C){return c+(C?" ":"")+g.toLowerCase()}),oJ=vg("toLowerCase");function aJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;if(!g||O>=g)return c;var B=(g-O)/2;return f(Eu(B),C)+c+f(Ff(B),C)}function sJ(c,g,C){c=Ln(c),g=Vt(g);var O=g?Ha(c):0;return g&&O>>0,C?(c=Ln(c),c&&(typeof g=="string"||g!=null&&!Rw(g))&&(g=go(g),!g&&_u(c))?Es(Xi(c),0,C):c.split(g,C)):[]}var pJ=El(function(c,g,C){return c+(C?" ":"")+jw(g)});function gJ(c,g,C){return c=Ln(c),C=C==null?0:Tu(Vt(C),0,c.length),g=go(g),c.slice(C,C+g.length)==g}function mJ(c,g,C){var O=F.templateSettings;C&&vo(c,g,C)&&(g=n),c=Ln(c),g=D3({},g,O,ze);var B=D3({},g.imports,O.imports,ze),H=Ei(B),J=Mf(B,H),ne,ce,_e=0,Ee=g.interpolate||ol,Ie="__p += '",tt=Df((g.escape||ol).source+"|"+Ee.source+"|"+(Ee===yc?F0:ol).source+"|"+(g.evaluate||ol).source+"|$","g"),bt="//# sourceURL="+(un.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` +`;c.replace(tt,function(Tt,Qt,on,Sa,yo,xa){return on||(on=Sa),Ie+=c.slice(_e,xa).replace(q0,hl),Qt&&(ne=!0,Ie+=`' + +__e(`+Qt+`) + +'`),yo&&(ce=!0,Ie+=`'; +`+yo+`; +__p += '`),on&&(Ie+=`' + +((__t = (`+on+`)) == null ? '' : __t) + +'`),_e=xa+Tt.length,Tt}),Ie+=`'; +`;var Pt=un.call(g,"variable")&&g.variable;if(!Pt)Ie=`with (obj) { +`+Ie+` +} +`;else if(B0.test(Pt))throw new It(s);Ie=(ce?Ie.replace(nn,""):Ie).replace(pr,"$1").replace(Mo,"$1;"),Ie="function("+(Pt||"obj")+`) { +`+(Pt?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(ce?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+Ie+`return __p +}`;var qt=sL(function(){return rn(H,bt+"return "+Ie).apply(n,J)});if(qt.source=Ie,Iw(qt))throw qt;return qt}function vJ(c){return Ln(c).toLowerCase()}function yJ(c){return Ln(c).toUpperCase()}function bJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return fo(c);if(!c||!(g=go(g)))return c;var O=Xi(c),B=Xi(g),H=ca(O,B),J=bs(O,B)+1;return Es(O,H,J).join("")}function SJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.slice(0,t1(c)+1);if(!c||!(g=go(g)))return c;var O=Xi(c),B=bs(O,Xi(g))+1;return Es(O,0,B).join("")}function xJ(c,g,C){if(c=Ln(c),c&&(C||g===n))return c.replace(bc,"");if(!c||!(g=go(g)))return c;var O=Xi(c),B=ca(O,Xi(g));return Es(O,B).join("")}function wJ(c,g){var C=V,O=K;if(wr(g)){var B="separator"in g?g.separator:B;C="length"in g?Vt(g.length):C,O="omission"in g?go(g.omission):O}c=Ln(c);var H=c.length;if(_u(c)){var J=Xi(c);H=J.length}if(C>=H)return c;var ne=C-Ha(O);if(ne<1)return O;var ce=J?Es(J,0,ne).join(""):c.slice(0,ne);if(B===n)return ce+O;if(J&&(ne+=ce.length-ne),Rw(B)){if(c.slice(ne).search(B)){var _e,Ee=ce;for(B.global||(B=Df(B.source,Ln(gs.exec(B))+"g")),B.lastIndex=0;_e=B.exec(Ee);)var Ie=_e.index;ce=ce.slice(0,Ie===n?ne:Ie)}}else if(c.indexOf(go(B),ne)!=ne){var tt=ce.lastIndexOf(B);tt>-1&&(ce=ce.slice(0,tt))}return ce+O}function CJ(c){return c=Ln(c),c&&I0.test(c)?c.replace(Oi,r3):c}var _J=El(function(c,g,C){return c+(C?" ":"")+g.toUpperCase()}),jw=vg("toUpperCase");function aL(c,g,C){return c=Ln(c),g=C?n:g,g===n?$p(c)?Rf(c):Q0(c):c.match(g)||[]}var sL=Ot(function(c,g){try{return Ii(c,n,g)}catch(C){return Iw(C)?C:new It(C)}}),kJ=mr(function(c,g){return Xn(g,function(C){C=Pl(C),pa(c,C,Ow(c[C],c))}),c});function EJ(c){var g=c==null?0:c.length,C=Oe();return c=g?Wn(c,function(O){if(typeof O[1]!="function")throw new Ri(a);return[C(O[0]),O[1]]}):[],Ot(function(O){for(var B=-1;++BW)return[];var C=fe,O=fi(c,fe);g=Oe(g),c-=fe;for(var B=Of(O,g);++C0||g<0)?new Zt(C):(c<0?C=C.takeRight(-c):c&&(C=C.drop(c)),g!==n&&(g=Vt(g),C=g<0?C.dropRight(-g):C.take(g-c)),C)},Zt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Zt.prototype.toArray=function(){return this.take(fe)},va(Zt.prototype,function(c,g){var C=/^(?:filter|find|map|reject)|While$/.test(g),O=/^(?:head|last)$/.test(g),B=F[O?"take"+(g=="last"?"Right":""):g],H=O||/^find/.test(g);B&&(F.prototype[g]=function(){var J=this.__wrapped__,ne=O?[1]:arguments,ce=J instanceof Zt,_e=ne[0],Ee=ce||Ft(J),Ie=function(Qt){var on=B.apply(F,za([Qt],ne));return O&&tt?on[0]:on};Ee&&C&&typeof _e=="function"&&_e.length!=1&&(ce=Ee=!1);var tt=this.__chain__,bt=!!this.__actions__.length,Pt=H&&!tt,qt=ce&&!bt;if(!H&&Ee){J=qt?J:new Zt(this);var Tt=c.apply(J,ne);return Tt.__actions__.push({func:T3,args:[Ie],thisArg:n}),new ho(Tt,tt)}return Pt&&qt?c.apply(this,ne):(Tt=this.thru(Ie),Pt?O?Tt.value()[0]:Tt.value():Tt)})}),Xn(["pop","push","shift","sort","splice","unshift"],function(c){var g=Ic[c],C=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);F.prototype[c]=function(){var B=arguments;if(O&&!this.__chain__){var H=this.value();return g.apply(Ft(H)?H:[],B)}return this[C](function(J){return g.apply(Ft(J)?J:[],B)})}}),va(Zt.prototype,function(c,g){var C=F[g];if(C){var O=C.name+"";un.call(xs,O)||(xs[O]=[]),xs[O].push({name:g,func:C})}}),xs[Jf(n,E).name]=[{name:"wrapper",func:n}],Zt.prototype.clone=Zi,Zt.prototype.reverse=Ni,Zt.prototype.value=f3,F.prototype.at=eZ,F.prototype.chain=tZ,F.prototype.commit=nZ,F.prototype.next=rZ,F.prototype.plant=oZ,F.prototype.reverse=aZ,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=sZ,F.prototype.first=F.prototype.head,Bc&&(F.prototype[Bc]=iZ),F},Va=jo();Xt?((Xt.exports=Va)._=Va,Nt._=Va):kt._=Va}).call(Co)})(rxe,ke);const Ag=(e,t,n,r,i,o,a)=>{const s=e/2-(n+i/2)*a,l=t/2-(r+o/2)*a;return{x:s,y:l}},Og=(e,t,n,r,i=.95)=>{const o=e*i/n,a=t*i/r;return Math.min(1,Math.min(o,a))},ixe=.999,oxe=.1,axe=20,nv=.95,RI=30,s8=10,DI=e=>({x:Math.floor(e.x),y:Math.floor(e.y)}),oh=e=>{const{width:t,height:n}=e,r={width:t,height:n},i=512*512,o=t/n;let a=t*n,s=448;for(;a1?(r.width=s,r.height=Gl(s/o,64)):o<1&&(r.height=s,r.width=Gl(s*o,64)),a=r.width*r.height;return r},sxe=e=>({width:Gl(e.width,64),height:Gl(e.height,64)}),DW=[{key:"Base",value:"base"},{key:"Mask",value:"mask"}],lxe=[{key:"Auto",value:"auto"},{key:"Manual",value:"manual"},{key:"None",value:"none"}],tP=e=>e.kind==="line"&&e.layer==="mask",uxe=e=>e.kind==="line"&&e.layer==="base",W5=e=>e.kind==="image"&&e.layer==="base",cxe=e=>e.kind==="fillRect"&&e.layer==="base",dxe=e=>e.kind==="eraseRect"&&e.layer==="base",fxe=e=>e.kind==="line",kv={objects:[],stagingArea:{images:[],selectedImageIndex:-1}},hxe={boundingBoxCoordinates:{x:0,y:0},boundingBoxDimensions:{width:512,height:512},boundingBoxPreviewFill:{r:0,g:0,b:0,a:.5},boundingBoxScaleMethod:"auto",brushColor:{r:90,g:90,b:255,a:1},brushSize:50,canvasContainerDimensions:{width:0,height:0},colorPickerColor:{r:90,g:90,b:255,a:1},cursorPosition:null,doesCanvasNeedScaling:!1,futureLayerStates:[],isCanvasInitialized:!1,isDrawing:!1,isMaskEnabled:!0,isMouseOverBoundingBox:!1,isMoveBoundingBoxKeyHeld:!1,isMoveStageKeyHeld:!1,isMovingBoundingBox:!1,isMovingStage:!1,isTransformingBoundingBox:!1,layer:"base",layerState:kv,maskColor:{r:255,g:90,b:90,a:1},maxHistory:128,minimumStageScale:1,pastLayerStates:[],scaledBoundingBoxDimensions:{width:512,height:512},shouldAutoSave:!1,shouldCropToBoundingBoxOnSave:!1,shouldDarkenOutsideBoundingBox:!1,shouldLockBoundingBox:!1,shouldPreserveMaskedArea:!1,shouldRestrictStrokesToBox:!0,shouldShowBoundingBox:!0,shouldShowBrush:!0,shouldShowBrushPreview:!1,shouldShowCanvasDebugInfo:!1,shouldShowCheckboardTransparency:!1,shouldShowGrid:!0,shouldShowIntermediates:!0,shouldShowStagingImage:!0,shouldShowStagingOutline:!0,shouldSnapToGrid:!0,stageCoordinates:{x:0,y:0},stageDimensions:{width:0,height:0},stageScale:1,tool:"brush"},NW=cp({name:"canvas",initialState:hxe,reducers:{setTool:(e,t)=>{const n=t.payload;e.tool=t.payload,n!=="move"&&(e.isTransformingBoundingBox=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1)},setLayer:(e,t)=>{e.layer=t.payload},toggleTool:e=>{const t=e.tool;t!=="move"&&(e.tool=t==="brush"?"eraser":"brush")},setMaskColor:(e,t)=>{e.maskColor=t.payload},setBrushColor:(e,t)=>{e.brushColor=t.payload},setBrushSize:(e,t)=>{e.brushSize=t.payload},clearMask:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState.objects=e.layerState.objects.filter(t=>!tP(t)),e.futureLayerStates=[],e.shouldPreserveMaskedArea=!1},toggleShouldInvertMask:e=>{e.shouldPreserveMaskedArea=!e.shouldPreserveMaskedArea},toggleShouldShowMask:e=>{e.isMaskEnabled=!e.isMaskEnabled},setShouldPreserveMaskedArea:(e,t)=>{e.shouldPreserveMaskedArea=t.payload},setIsMaskEnabled:(e,t)=>{e.isMaskEnabled=t.payload,e.layer=t.payload?"mask":"base"},setShouldShowCheckboardTransparency:(e,t)=>{e.shouldShowCheckboardTransparency=t.payload},setShouldShowBrushPreview:(e,t)=>{e.shouldShowBrushPreview=t.payload},setShouldShowBrush:(e,t)=>{e.shouldShowBrush=t.payload},setCursorPosition:(e,t)=>{e.cursorPosition=t.payload},setInitialCanvasImage:(e,t)=>{const n=t.payload,{stageDimensions:r}=e,i={width:Ed(ke.clamp(n.width,64,512),64),height:Ed(ke.clamp(n.height,64,512),64)},o={x:Gl(n.width/2-i.width/2,64),y:Gl(n.height/2-i.height/2,64)};if(e.boundingBoxScaleMethod==="auto"){const l=oh(i);e.scaledBoundingBoxDimensions=l}e.boundingBoxDimensions=i,e.boundingBoxCoordinates=o,e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState={...kv,objects:[{kind:"image",layer:"base",x:0,y:0,width:n.width,height:n.height,image:n}]},e.futureLayerStates=[],e.isCanvasInitialized=!1;const a=Og(r.width,r.height,n.width,n.height,nv),s=Ag(r.width,r.height,0,0,n.width,n.height,a);e.stageScale=a,e.stageCoordinates=s,e.doesCanvasNeedScaling=!0},setBoundingBoxDimensions:(e,t)=>{const n=sxe(t.payload);if(e.boundingBoxDimensions=n,e.boundingBoxScaleMethod==="auto"){const r=oh(n);e.scaledBoundingBoxDimensions=r}},setBoundingBoxCoordinates:(e,t)=>{e.boundingBoxCoordinates=DI(t.payload)},setStageCoordinates:(e,t)=>{e.stageCoordinates=t.payload},setBoundingBoxPreviewFill:(e,t)=>{e.boundingBoxPreviewFill=t.payload},setDoesCanvasNeedScaling:(e,t)=>{e.doesCanvasNeedScaling=t.payload},setStageScale:(e,t)=>{e.stageScale=t.payload},setShouldDarkenOutsideBoundingBox:(e,t)=>{e.shouldDarkenOutsideBoundingBox=t.payload},setIsDrawing:(e,t)=>{e.isDrawing=t.payload},clearCanvasHistory:e=>{e.pastLayerStates=[],e.futureLayerStates=[]},setShouldLockBoundingBox:(e,t)=>{e.shouldLockBoundingBox=t.payload},toggleShouldLockBoundingBox:e=>{e.shouldLockBoundingBox=!e.shouldLockBoundingBox},setShouldShowBoundingBox:(e,t)=>{e.shouldShowBoundingBox=t.payload},setIsTransformingBoundingBox:(e,t)=>{e.isTransformingBoundingBox=t.payload},setIsMovingBoundingBox:(e,t)=>{e.isMovingBoundingBox=t.payload},setIsMouseOverBoundingBox:(e,t)=>{e.isMouseOverBoundingBox=t.payload},setIsMoveBoundingBoxKeyHeld:(e,t)=>{e.isMoveBoundingBoxKeyHeld=t.payload},setIsMoveStageKeyHeld:(e,t)=>{e.isMoveStageKeyHeld=t.payload},addImageToStagingArea:(e,t)=>{const{boundingBox:n,image:r}=t.payload;!n||!r||(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea.images.push({kind:"image",layer:"base",...n,image:r}),e.layerState.stagingArea.selectedImageIndex=e.layerState.stagingArea.images.length-1,e.futureLayerStates=[])},discardStagedImages:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingOutline=!0},addFillRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,brushColor:r}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"fillRect",layer:"base",...t,...n,color:r}),e.futureLayerStates=[]},addEraseRect:e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n}=e;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({kind:"eraseRect",layer:"base",...t,...n}),e.futureLayerStates=[]},addLine:(e,t)=>{const{tool:n,layer:r,brushColor:i,brushSize:o,shouldRestrictStrokesToBox:a}=e;if(n==="move"||n==="colorPicker")return;const s=o/2,l=r==="base"&&n==="brush"?{color:i}:{};e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift();const u={kind:"line",layer:r,tool:n,strokeWidth:s,points:t.payload,...l};a&&(u.clip={...e.boundingBoxCoordinates,...e.boundingBoxDimensions}),e.layerState.objects.push(u),e.futureLayerStates=[]},addPointToCurrentLine:(e,t)=>{const n=e.layerState.objects.findLast(fxe);n&&n.points.push(...t.payload)},undo:e=>{const t=e.pastLayerStates.pop();t&&(e.futureLayerStates.unshift(ke.cloneDeep(e.layerState)),e.futureLayerStates.length>e.maxHistory&&e.futureLayerStates.pop(),e.layerState=t)},redo:e=>{const t=e.futureLayerStates.shift();t&&(e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState=t)},setShouldShowGrid:(e,t)=>{e.shouldShowGrid=t.payload},setIsMovingStage:(e,t)=>{e.isMovingStage=t.payload},setShouldSnapToGrid:(e,t)=>{e.shouldSnapToGrid=t.payload},setShouldAutoSave:(e,t)=>{e.shouldAutoSave=t.payload},setShouldShowIntermediates:(e,t)=>{e.shouldShowIntermediates=t.payload},resetCanvas:e=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.layerState=kv,e.futureLayerStates=[]},setCanvasContainerDimensions:(e,t)=>{e.canvasContainerDimensions=t.payload},resizeAndScaleCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r=e.layerState.objects.find(W5),i={width:Math.floor(t),height:Math.floor(n)};if(!r){const d=Og(i.width,i.height,512,512,nv),h=Ag(i.width,i.height,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.stageDimensions=i,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}return}const{width:o,height:a}=r,l=Og(t,n,o,a,.95),u=Ag(i.width,i.height,0,0,o,a,l);e.minimumStageScale=l,e.stageScale=l,e.stageCoordinates=DI(u),e.stageDimensions=i,e.isCanvasInitialized=!0},resizeCanvas:e=>{const{width:t,height:n}=e.canvasContainerDimensions,r={width:Math.floor(t),height:Math.floor(n)};if(e.stageDimensions=r,!e.layerState.objects.find(W5)){const i=Og(r.width,r.height,512,512,nv),o=Ag(r.width,r.height,0,0,512,512,i),a={width:512,height:512};if(e.stageScale=i,e.stageCoordinates=o,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=a,e.boundingBoxScaleMethod==="auto"){const s=oh(a);e.scaledBoundingBoxDimensions=s}}},resetCanvasView:(e,t)=>{const{contentRect:n,shouldScaleTo1:r}=t.payload,{stageDimensions:{width:i,height:o}}=e,{x:a,y:s,width:l,height:u}=n;if(l!==0&&u!==0){const d=r?1:Og(i,o,l,u,nv),h=Ag(i,o,a,s,l,u,d);e.stageScale=d,e.stageCoordinates=h}else{const d=Og(i,o,512,512,nv),h=Ag(i,o,0,0,512,512,d),m={width:512,height:512};if(e.stageScale=d,e.stageCoordinates=h,e.boundingBoxCoordinates={x:0,y:0},e.boundingBoxDimensions=m,e.boundingBoxScaleMethod==="auto"){const v=oh(m);e.scaledBoundingBoxDimensions=v}}},nextStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex,n=e.layerState.stagingArea.images.length;e.layerState.stagingArea.selectedImageIndex=Math.min(t+1,n-1)},prevStagingAreaImage:e=>{const t=e.layerState.stagingArea.selectedImageIndex;e.layerState.stagingArea.selectedImageIndex=Math.max(t-1,0)},commitStagingAreaImage:e=>{const{images:t,selectedImageIndex:n}=e.layerState.stagingArea;e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.pastLayerStates.length>e.maxHistory&&e.pastLayerStates.shift(),e.layerState.objects.push({...t[n]}),e.layerState.stagingArea={...kv.stagingArea},e.futureLayerStates=[],e.shouldShowStagingOutline=!0,e.shouldShowStagingImage=!0},fitBoundingBoxToStage:e=>{const{boundingBoxDimensions:t,boundingBoxCoordinates:n,stageDimensions:r,stageScale:i}=e,o=r.width/i,a=r.height/i;if(n.x<0||n.x+t.width>o||n.y<0||n.y+t.height>a){const s={width:Ed(ke.clamp(o,64,512),64),height:Ed(ke.clamp(a,64,512),64)},l={x:Gl(o/2-s.width/2,64),y:Gl(a/2-s.height/2,64)};if(e.boundingBoxDimensions=s,e.boundingBoxCoordinates=l,e.boundingBoxScaleMethod==="auto"){const u=oh(s);e.scaledBoundingBoxDimensions=u}}},setBoundingBoxScaleMethod:(e,t)=>{if(e.boundingBoxScaleMethod=t.payload,t.payload==="auto"){const n=oh(e.boundingBoxDimensions);e.scaledBoundingBoxDimensions=n}},setScaledBoundingBoxDimensions:(e,t)=>{e.scaledBoundingBoxDimensions=t.payload},setShouldShowStagingImage:(e,t)=>{e.shouldShowStagingImage=t.payload},setShouldShowStagingOutline:(e,t)=>{e.shouldShowStagingOutline=t.payload},setShouldShowCanvasDebugInfo:(e,t)=>{e.shouldShowCanvasDebugInfo=t.payload},setShouldRestrictStrokesToBox:(e,t)=>{e.shouldRestrictStrokesToBox=t.payload},setShouldCropToBoundingBoxOnSave:(e,t)=>{e.shouldCropToBoundingBoxOnSave=t.payload},setColorPickerColor:(e,t)=>{e.colorPickerColor=t.payload},commitColorPickerColor:e=>{e.brushColor={...e.colorPickerColor,a:e.brushColor.a},e.tool="brush"},setMergedCanvas:(e,t)=>{e.pastLayerStates.push(ke.cloneDeep(e.layerState)),e.futureLayerStates=[],e.layerState.objects=[t.payload]},resetCanvasInteractionState:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMoveBoundingBoxKeyHeld=!1,e.isMoveStageKeyHeld=!1,e.isMovingBoundingBox=!1,e.isMovingStage=!1,e.isTransformingBoundingBox=!1},mouseLeftCanvas:e=>{e.cursorPosition=null,e.isDrawing=!1,e.isMouseOverBoundingBox=!1,e.isMovingBoundingBox=!1,e.isTransformingBoundingBox=!1}}}),{addEraseRect:jW,addFillRect:BW,addImageToStagingArea:pxe,addLine:gxe,addPointToCurrentLine:$W,clearCanvasHistory:FW,clearMask:nP,commitColorPickerColor:mxe,commitStagingAreaImage:vxe,discardStagedImages:yxe,fitBoundingBoxToStage:JFe,mouseLeftCanvas:bxe,nextStagingAreaImage:Sxe,prevStagingAreaImage:xxe,redo:wxe,resetCanvas:rP,resetCanvasInteractionState:Cxe,resetCanvasView:zW,resizeAndScaleCanvas:Rx,resizeCanvas:_xe,setBoundingBoxCoordinates:vC,setBoundingBoxDimensions:Ev,setBoundingBoxPreviewFill:eze,setBoundingBoxScaleMethod:kxe,setBrushColor:Nm,setBrushSize:jm,setCanvasContainerDimensions:Exe,setColorPickerColor:Pxe,setCursorPosition:Txe,setDoesCanvasNeedScaling:vi,setInitialCanvasImage:Dx,setIsDrawing:HW,setIsMaskEnabled:Dy,setIsMouseOverBoundingBox:Cb,setIsMoveBoundingBoxKeyHeld:tze,setIsMoveStageKeyHeld:nze,setIsMovingBoundingBox:yC,setIsMovingStage:U5,setIsTransformingBoundingBox:bC,setLayer:G5,setMaskColor:VW,setMergedCanvas:Lxe,setShouldAutoSave:WW,setShouldCropToBoundingBoxOnSave:UW,setShouldDarkenOutsideBoundingBox:GW,setShouldLockBoundingBox:rze,setShouldPreserveMaskedArea:qW,setShouldShowBoundingBox:Axe,setShouldShowBrush:ize,setShouldShowBrushPreview:oze,setShouldShowCanvasDebugInfo:YW,setShouldShowCheckboardTransparency:aze,setShouldShowGrid:KW,setShouldShowIntermediates:XW,setShouldShowStagingImage:Oxe,setShouldShowStagingOutline:NI,setShouldSnapToGrid:q5,setStageCoordinates:ZW,setStageScale:Mxe,setTool:tu,toggleShouldLockBoundingBox:sze,toggleTool:lze,undo:Ixe,setScaledBoundingBoxDimensions:_b,setShouldRestrictStrokesToBox:QW}=NW.actions,Rxe=NW.reducer,Dxe={currentImageUuid:"",shouldPinGallery:!0,shouldShowGallery:!0,galleryScrollPosition:0,galleryImageMinimumWidth:64,galleryImageObjectFit:"cover",shouldHoldGalleryOpen:!1,shouldAutoSwitchToNewImages:!0,currentCategory:"result",categories:{user:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0},result:{images:[],latest_mtime:void 0,earliest_mtime:void 0,areMoreImagesAvailable:!0}},galleryWidth:300,shouldUseSingleGalleryColumn:!1},JW=cp({name:"gallery",initialState:Dxe,reducers:{setCurrentImage:(e,t)=>{e.currentImage=t.payload,e.currentImageUuid=t.payload.uuid},removeImage:(e,t)=>{const{uuid:n,category:r}=t.payload,i=e.categories[r].images,o=i.filter(a=>a.uuid!==n);if(n===e.currentImageUuid){const a=i.findIndex(l=>l.uuid===n),s=ke.clamp(a,0,o.length-1);e.currentImage=o.length?o[s]:void 0,e.currentImageUuid=o.length?o[s].uuid:""}e.categories[r].images=o},addImage:(e,t)=>{const{image:n,category:r}=t.payload,{uuid:i,url:o,mtime:a}=n,s=e.categories[r];s.images.find(l=>l.url===o&&l.mtime===a)||(s.images.unshift(n),e.shouldAutoSwitchToNewImages&&(e.currentImageUuid=i,e.currentImage=n,e.currentCategory=r),e.intermediateImage=void 0,s.latest_mtime=a)},setIntermediateImage:(e,t)=>{e.intermediateImage=t.payload},clearIntermediateImage:e=>{e.intermediateImage=void 0},selectNextImage:e=>{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r{const{currentImage:t}=e;if(!t)return;const n=e.categories[t.category].images;if(t){const r=n.findIndex(i=>i.uuid===t.uuid);if(r>0){const i=n[r-1];e.currentImage=i,e.currentImageUuid=i.uuid}}},addGalleryImages:(e,t)=>{const{images:n,areMoreImagesAvailable:r,category:i}=t.payload,o=e.categories[i].images;if(n.length>0){const a=n.filter(s=>!o.find(l=>l.url===s.url&&l.mtime===s.mtime));if(e.categories[i].images=o.concat(a).sort((s,l)=>l.mtime-s.mtime),!e.currentImage){const s=n[0];e.currentImage=s,e.currentImageUuid=s.uuid}e.categories[i].latest_mtime=n[0].mtime,e.categories[i].earliest_mtime=n[n.length-1].mtime}r!==void 0&&(e.categories[i].areMoreImagesAvailable=r)},setShouldPinGallery:(e,t)=>{e.shouldPinGallery=t.payload},setShouldShowGallery:(e,t)=>{e.shouldShowGallery=t.payload},setGalleryScrollPosition:(e,t)=>{e.galleryScrollPosition=t.payload},setGalleryImageMinimumWidth:(e,t)=>{e.galleryImageMinimumWidth=t.payload},setGalleryImageObjectFit:(e,t)=>{e.galleryImageObjectFit=t.payload},setShouldHoldGalleryOpen:(e,t)=>{e.shouldHoldGalleryOpen=t.payload},setShouldAutoSwitchToNewImages:(e,t)=>{e.shouldAutoSwitchToNewImages=t.payload},setCurrentCategory:(e,t)=>{e.currentCategory=t.payload},setGalleryWidth:(e,t)=>{e.galleryWidth=t.payload},setShouldUseSingleGalleryColumn:(e,t)=>{e.shouldUseSingleGalleryColumn=t.payload}}}),{addImage:sm,clearIntermediateImage:SC,removeImage:eU,setCurrentImage:jI,addGalleryImages:Nxe,setIntermediateImage:jxe,selectNextImage:iP,selectPrevImage:oP,setShouldPinGallery:Bxe,setShouldShowGallery:Bd,setGalleryScrollPosition:$xe,setGalleryImageMinimumWidth:rv,setGalleryImageObjectFit:Fxe,setShouldHoldGalleryOpen:tU,setShouldAutoSwitchToNewImages:zxe,setCurrentCategory:kb,setGalleryWidth:Hxe,setShouldUseSingleGalleryColumn:Vxe}=JW.actions,Wxe=JW.reducer,Uxe={isLightboxOpen:!1},Gxe=Uxe,nU=cp({name:"lightbox",initialState:Gxe,reducers:{setIsLightboxOpen:(e,t)=>{e.isLightboxOpen=t.payload}}}),{setIsLightboxOpen:Bm}=nU.actions,qxe=nU.reducer,i2=e=>e.length===1?e[0].prompt:e.map(t=>`${t.prompt}:${t.weight}`).join(" ");function aP(e){let t=i2(e),n=null;const r=new RegExp(/\[([^\][]*)]/,"gi"),i=[...t.matchAll(r)].map(o=>o[1]);return i.length&&(n=i.join(" "),i.forEach(o=>{t=t.replace(`[${o}]`,"").replaceAll("[]","").trim()})),[t,n]}const Yxe=e=>{const r=e.split(",").map(i=>i.split(":")).map(i=>({seed:Number(i[0]),weight:Number(i[1])}));return sP(r)?r:!1},sP=e=>Boolean(typeof e=="string"?Yxe(e):e.length&&!e.some(t=>{const{seed:n,weight:r}=t,i=!isNaN(parseInt(n.toString(),10)),o=!isNaN(parseInt(r.toString(),10))&&r>=0&&r<=1;return!(i&&o)})),Y5=e=>e.reduce((t,n,r,i)=>{const{seed:o,weight:a}=n;return t+=`${o}:${a}`,r!==i.length-1&&(t+=","),t},""),Kxe=e=>e.split(",").map(r=>r.split(":")).map(r=>[parseInt(r[0],10),parseFloat(r[1])]),rU={cfgScale:7.5,height:512,img2imgStrength:.75,infillMethod:"patchmatch",iterations:1,maskPath:"",perlin:0,prompt:"",negativePrompt:"",sampler:"k_lms",seamBlur:16,seamless:!1,seamSize:96,seamSteps:30,seamStrength:.7,seed:0,seedWeights:"",shouldFitToWidthHeight:!0,shouldGenerateVariations:!1,shouldRandomizeSeed:!0,steps:50,threshold:0,tileSize:32,variationAmount:.1,width:512},Xxe=rU,iU=cp({name:"generation",initialState:Xxe,reducers:{setPrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.prompt=n:e.prompt=i2(n)},setNegativePrompt:(e,t)=>{const n=t.payload;typeof n=="string"?e.negativePrompt=n:e.negativePrompt=i2(n)},setIterations:(e,t)=>{e.iterations=t.payload},setSteps:(e,t)=>{e.steps=t.payload},setCfgScale:(e,t)=>{e.cfgScale=t.payload},setThreshold:(e,t)=>{e.threshold=t.payload},setPerlin:(e,t)=>{e.perlin=t.payload},setHeight:(e,t)=>{e.height=t.payload},setWidth:(e,t)=>{e.width=t.payload},setSampler:(e,t)=>{e.sampler=t.payload},setSeed:(e,t)=>{e.seed=t.payload,e.shouldRandomizeSeed=!1},setImg2imgStrength:(e,t)=>{e.img2imgStrength=t.payload},setMaskPath:(e,t)=>{e.maskPath=t.payload},setSeamless:(e,t)=>{e.seamless=t.payload},setShouldFitToWidthHeight:(e,t)=>{e.shouldFitToWidthHeight=t.payload},resetSeed:e=>{e.seed=-1},setParameter:(e,t)=>{const{key:n,value:r}=t.payload,i={...e,[n]:r};return n==="seed"&&(i.shouldRandomizeSeed=!1),i},setShouldGenerateVariations:(e,t)=>{e.shouldGenerateVariations=t.payload},setVariationAmount:(e,t)=>{e.variationAmount=t.payload},setSeedWeights:(e,t)=>{e.seedWeights=t.payload,e.shouldGenerateVariations=!0,e.variationAmount=0},setAllTextToImageParameters:(e,t)=>{const{sampler:n,prompt:r,seed:i,variations:o,steps:a,cfg_scale:s,threshold:l,perlin:u,seamless:d,hires_fix:h,width:m,height:v}=t.payload.image;o&&o.length>0?(e.seedWeights=Y5(o),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,i&&(e.seed=i,e.shouldRandomizeSeed=!1),r&&(e.prompt=i2(r)),n&&(e.sampler=n),a&&(e.steps=a),s&&(e.cfgScale=s),typeof l>"u"?e.threshold=0:e.threshold=l,typeof u>"u"?e.perlin=0:e.perlin=u,typeof d=="boolean"&&(e.seamless=d),m&&(e.width=m),v&&(e.height=v)},setAllImageToImageParameters:(e,t)=>{const{type:n,strength:r,fit:i,init_image_path:o,mask_image_path:a}=t.payload.image;n==="img2img"&&(o&&(e.initialImage=o),a&&(e.maskPath=a),r&&(e.img2imgStrength=r),typeof i=="boolean"&&(e.shouldFitToWidthHeight=i))},setAllParameters:(e,t)=>{const{type:n,sampler:r,prompt:i,seed:o,variations:a,steps:s,cfg_scale:l,threshold:u,perlin:d,seamless:h,hires_fix:m,width:v,height:b,strength:S,fit:k,init_image_path:E,mask_image_path:_}=t.payload.image;if(n==="img2img"&&(E&&(e.initialImage=E),_&&(e.maskPath=_),S&&(e.img2imgStrength=S),typeof k=="boolean"&&(e.shouldFitToWidthHeight=k)),a&&a.length>0?(e.seedWeights=Y5(a),e.shouldGenerateVariations=!0,e.variationAmount=0):e.shouldGenerateVariations=!1,o&&(e.seed=o,e.shouldRandomizeSeed=!1),i){const[T,A]=aP(i);T&&(e.prompt=T),A?e.negativePrompt=A:e.negativePrompt=""}r&&(e.sampler=r),s&&(e.steps=s),l&&(e.cfgScale=l),typeof u>"u"?e.threshold=0:e.threshold=u,typeof d>"u"?e.perlin=0:e.perlin=d,typeof h=="boolean"&&(e.seamless=h),v&&(e.width=v),b&&(e.height=b)},resetParametersState:e=>({...e,...rU}),setShouldRandomizeSeed:(e,t)=>{e.shouldRandomizeSeed=t.payload},setInitialImage:(e,t)=>{e.initialImage=t.payload},clearInitialImage:e=>{e.initialImage=void 0},setSeamSize:(e,t)=>{e.seamSize=t.payload},setSeamBlur:(e,t)=>{e.seamBlur=t.payload},setSeamStrength:(e,t)=>{e.seamStrength=t.payload},setSeamSteps:(e,t)=>{e.seamSteps=t.payload},setTileSize:(e,t)=>{e.tileSize=t.payload},setInfillMethod:(e,t)=>{e.infillMethod=t.payload}}}),{clearInitialImage:oU,resetParametersState:uze,resetSeed:cze,setAllImageToImageParameters:Zxe,setAllParameters:aU,setAllTextToImageParameters:dze,setCfgScale:sU,setHeight:lU,setImg2imgStrength:l8,setInfillMethod:uU,setInitialImage:k0,setIterations:Qxe,setMaskPath:cU,setParameter:fze,setPerlin:dU,setPrompt:Nx,setNegativePrompt:Q2,setSampler:fU,setSeamBlur:BI,setSeamless:hU,setSeamSize:$I,setSeamSteps:FI,setSeamStrength:zI,setSeed:Ny,setSeedWeights:pU,setShouldFitToWidthHeight:gU,setShouldGenerateVariations:Jxe,setShouldRandomizeSeed:ewe,setSteps:mU,setThreshold:vU,setTileSize:HI,setVariationAmount:twe,setWidth:yU}=iU.actions,nwe=iU.reducer,bU={codeformerFidelity:.75,facetoolStrength:.8,facetoolType:"gfpgan",hiresFix:!1,hiresStrength:.75,shouldLoopback:!1,shouldRunESRGAN:!1,shouldRunFacetool:!1,upscalingLevel:4,upscalingDenoising:.75,upscalingStrength:.75},rwe=bU,SU=cp({name:"postprocessing",initialState:rwe,reducers:{setFacetoolStrength:(e,t)=>{e.facetoolStrength=t.payload},setCodeformerFidelity:(e,t)=>{e.codeformerFidelity=t.payload},setUpscalingLevel:(e,t)=>{e.upscalingLevel=t.payload},setUpscalingDenoising:(e,t)=>{e.upscalingDenoising=t.payload},setUpscalingStrength:(e,t)=>{e.upscalingStrength=t.payload},setHiresFix:(e,t)=>{e.hiresFix=t.payload},setHiresStrength:(e,t)=>{e.hiresStrength=t.payload},resetPostprocessingState:e=>({...e,...bU}),setShouldRunFacetool:(e,t)=>{e.shouldRunFacetool=t.payload},setFacetoolType:(e,t)=>{e.facetoolType=t.payload},setShouldRunESRGAN:(e,t)=>{e.shouldRunESRGAN=t.payload},setShouldLoopback:(e,t)=>{e.shouldLoopback=t.payload}}}),{resetPostprocessingState:hze,setCodeformerFidelity:xU,setFacetoolStrength:u8,setFacetoolType:I4,setHiresFix:lP,setHiresStrength:VI,setShouldLoopback:iwe,setShouldRunESRGAN:owe,setShouldRunFacetool:awe,setUpscalingLevel:wU,setUpscalingDenoising:c8,setUpscalingStrength:d8}=SU.actions,swe=SU.reducer;function Xs(e){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lwe(e,t){if(Xs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xs(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CU(e){var t=lwe(e,"string");return Xs(t)==="symbol"?t:String(t)}function WI(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.init(t,n)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||pwe,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i1?r-1:0),o=1;o-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function KI(e,t,n){var r=uP(e,t,Object),i=r.obj,o=r.k;i[o]=n}function vwe(e,t,n,r){var i=uP(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}function K5(e,t){var n=uP(e,t),r=n.obj,i=n.k;if(r)return r[i]}function XI(e,t,n){var r=K5(e,n);return r!==void 0?r:K5(t,n)}function _U(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):_U(e[r],t[r],n):e[r]=t[r]);return e}function Mg(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ywe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function bwe(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return ywe[t]}):e}var Bx=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Swe=[" ",",","?","!",";"];function xwe(e,t,n){t=t||"",n=n||"";var r=Swe.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}function ZI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Eb(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,s=r.slice(o,o+a).join(n),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(o+a).join(n);return u?kU(l,u,n):void 0}i=i[r[o]]}return i}}var _we=function(e){jx(n,e);var t=wwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pu(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,d=[i,o];a&&typeof a!="string"&&(d=d.concat(a)),a&&typeof a=="string"&&(d=d.concat(l?a.split(l):a)),i.indexOf(".")>-1&&(d=i.split("."));var h=K5(this.data,d);return h||!u||typeof a!="string"?h:kU(this.data&&this.data[i]&&this.data[i][o],a,l)}},{key:"addResource",value:function(i,o,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var d=[i,o];a&&(d=d.concat(u?a.split(u):a)),i.indexOf(".")>-1&&(d=i.split("."),s=o,o=d[1]),this.addNamespaces(o),KI(this.data,d,s),l.silent||this.emit("added",i,o,a,s)}},{key:"addResources",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(i,o,l,a[l],{silent:!0});s.silent||this.emit("added",i,o,a)}},{key:"addResourceBundle",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},d=[i,o];i.indexOf(".")>-1&&(d=i.split("."),s=a,a=o,o=d[1]),this.addNamespaces(o);var h=K5(this.data,d)||{};s?_U(h,a,l):h=Eb(Eb({},h),a),KI(this.data,d,h),u.silent||this.emit("added",i,o,a)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Eb(Eb({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(Qd),EU={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,i,o))}),n}};function QI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function So(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var JI={},eR=function(e){jx(n,e);var t=kwe(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hu(this,n),i=t.call(this),Bx&&Qd.call($d(i)),mwe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,$d(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=ql.create("translator"),i}return pu(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var a=this.resolve(i,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(i,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ns||this.options.defaultNS||[],u=a&&i.indexOf(a)>-1,d=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!xwe(i,a,s);if(u&&!d){var h=i.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:i,namespaces:l};var m=i.split(a);(a!==s||a===s&&this.options.ns.indexOf(m[0])>-1)&&(l=m.shift()),i=m.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,o,a){var s=this;if(Xs(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=this.extractFromKey(i[i.length-1],o),h=d.key,m=d.namespaces,v=m[m.length-1],b=o.lng||this.language,S=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(b&&b.toLowerCase()==="cimode"){if(S){var k=o.nsSeparator||this.options.nsSeparator;return l?(E.res="".concat(v).concat(k).concat(h),E):"".concat(v).concat(k).concat(h)}return l?(E.res=h,E):h}var E=this.resolve(i,o),_=E&&E.res,T=E&&E.usedKey||h,A=E&&E.exactUsedKey||h,I=Object.prototype.toString.apply(_),R=["[object Number]","[object Function]","[object RegExp]"],D=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=typeof _!="string"&&typeof _!="boolean"&&typeof _!="number";if(j&&_&&z&&R.indexOf(I)<0&&!(typeof D=="string"&&I==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var V=this.options.returnedObjectHandler?this.options.returnedObjectHandler(T,_,So(So({},o),{},{ns:m})):"key '".concat(h," (").concat(this.language,")' returned an object instead of string.");return l?(E.res=V,E):V}if(u){var K=I==="[object Array]",te=K?[]:{},q=K?A:T;for(var $ in _)if(Object.prototype.hasOwnProperty.call(_,$)){var U="".concat(q).concat(u).concat($);te[$]=this.translate(U,So(So({},o),{joinArrays:!1,ns:m})),te[$]===U&&(te[$]=_[$])}_=te}}else if(j&&typeof D=="string"&&I==="[object Array]")_=_.join(D),_&&(_=this.extendTranslation(_,i,o,a));else{var X=!1,Z=!1,W=o.count!==void 0&&typeof o.count!="string",Q=n.hasDefaultValue(o),ie=W?this.pluralResolver.getSuffix(b,o.count,o):"",fe=o["defaultValue".concat(ie)]||o.defaultValue;!this.isValidLookup(_)&&Q&&(X=!0,_=fe),this.isValidLookup(_)||(Z=!0,_=h);var Se=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Pe=Se&&Z?void 0:_,ye=Q&&fe!==_&&this.options.updateMissing;if(Z||X||ye){if(this.logger.log(ye?"updateKey":"missingKey",b,v,h,ye?fe:_),u){var We=this.resolve(h,So(So({},o),{},{keySeparator:!1}));We&&We.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var De=[],ot=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ot&&ot[0])for(var He=0;He1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,d,h;return typeof i=="string"&&(i=[i]),i.forEach(function(m){if(!o.isValidLookup(s)){var v=o.extractFromKey(m,a),b=v.key;l=b;var S=v.namespaces;o.options.fallbackNS&&(S=S.concat(o.options.fallbackNS));var k=a.count!==void 0&&typeof a.count!="string",E=k&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),_=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",T=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);S.forEach(function(A){o.isValidLookup(s)||(h=A,!JI["".concat(T[0],"-").concat(A)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(h)&&(JI["".concat(T[0],"-").concat(A)]=!0,o.logger.warn('key "'.concat(l,'" for languages "').concat(T.join(", "),`" won't get resolved as namespace "`).concat(h,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),T.forEach(function(I){if(!o.isValidLookup(s)){d=I;var R=[b];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(R,b,I,A,a);else{var D;k&&(D=o.pluralResolver.getSuffix(I,a.count,a));var j="".concat(o.options.pluralSeparator,"zero");if(k&&(R.push(b+D),E&&R.push(b+j)),_){var z="".concat(b).concat(o.options.contextSeparator).concat(a.context);R.push(z),k&&(R.push(z+D),E&&R.push(z+j))}}for(var V;V=R.pop();)o.isValidLookup(s)||(u=V,s=o.getResource(I,A,V,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:d,usedNS:h}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,a,s):this.resourceStore.getResource(i,o,a,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)&&o===a.substring(0,o.length)&&i[a]!==void 0)return!0;return!1}}]),n}(Qd);function xC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var tR=function(){function e(t){hu(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ql.create("languageUtils")}return pu(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=xC(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=xC(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var a=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(a))&&(i=a)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return i=a;i=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(i.isSupportedCode(u)?a.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(l){a.indexOf(l)<0&&s(i.formatLanguageCode(l))}),a}}]),e}(),Pwe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Twe={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Lwe=["v1","v2","v3"],nR={zero:0,one:1,two:2,few:3,many:4,other:5};function Awe(){var e={};return Pwe.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Twe[t.fc]}})}),e}var Owe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hu(this,e),this.languageUtils=t,this.options=n,this.logger=ql.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Awe()}return pu(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return nR[a]-nR[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):o.numbers.map(function(a){return r.getSuffix(n,a,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Lwe.includes(this.options.compatibilityJSON)}}]),e}();function rR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rs(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pu(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:bwe,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Mg(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Mg(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Mg(r.nestingPrefix):r.nestingPrefixEscaped||Mg("$t("),this.nestingSuffix=r.nestingSuffix?Mg(r.nestingSuffix):r.nestingSuffixEscaped||Mg(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var a=this,s,l,u,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function h(k){return k.replace(/\$/g,"$$$$")}var m=function(E){if(E.indexOf(a.formatSeparator)<0){var _=XI(r,d,E);return a.alwaysFormat?a.format(_,void 0,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:E})):_}var T=E.split(a.formatSeparator),A=T.shift().trim(),I=T.join(a.formatSeparator).trim();return a.format(XI(r,d,A),I,i,Rs(Rs(Rs({},o),r),{},{interpolationkey:A}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,b=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,S=[{regex:this.regexpUnescape,safeValue:function(E){return h(E)}},{regex:this.regexp,safeValue:function(E){return a.escapeValue?h(a.escape(E)):h(E)}}];return S.forEach(function(k){for(u=0;s=k.regex.exec(n);){var E=s[1].trim();if(l=m(E),l===void 0)if(typeof v=="function"){var _=v(n,s,o);l=typeof _=="string"?_:""}else if(o&&o.hasOwnProperty(E))l="";else if(b){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(E," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=YI(l));var T=k.safeValue(l);if(n=n.replace(s[0],T),b?(k.regex.lastIndex+=l.length,k.regex.lastIndex-=s[0].length):k.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,b){var S=this.nestingOptionsSeparator;if(v.indexOf(S)<0)return v;var k=v.split(new RegExp("".concat(S,"[ ]*{"))),E="{".concat(k[1]);v=k[0],E=this.interpolate(E,l);var _=E.match(/'/g),T=E.match(/"/g);(_&&_.length%2===0&&!T||T.length%2!==0)&&(E=E.replace(/'/g,'"'));try{l=JSON.parse(E),b&&(l=Rs(Rs({},b),l))}catch(A){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),A),"".concat(v).concat(S).concat(E)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var d=[];l=Rs({},o),l.applyPostProcessor=!1,delete l.defaultValue;var h=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var m=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=m.shift(),d=m,h=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=YI(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),h&&(s=d.reduce(function(v,b){return i.format(v,b,o.lng,Rs(Rs({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function iR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(a){if(a){var s=a.split(":"),l=hwe(s),u=l[0],d=l.slice(1),h=d.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=h),h==="false"&&(n[u.trim()]=!1),h==="true"&&(n[u.trim()]=!0),isNaN(h)||(n[u.trim()]=parseInt(h,10))}})}}return{formatName:t,formatOptions:n}}function Ig(e){var t={};return function(r,i,o){var a=i+JSON.stringify(o),s=t[a];return s||(s=e(i,o),t[a]=s),s(r)}}var Rwe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hu(this,e),this.logger=ql.create("formatter"),this.options=t,this.formats={number:Ig(function(n,r){var i=new Intl.NumberFormat(n,r);return function(o){return i.format(o)}}),currency:Ig(function(n,r){var i=new Intl.NumberFormat(n,ld(ld({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Ig(function(n,r){var i=new Intl.DateTimeFormat(n,ld({},r));return function(o){return i.format(o)}}),relativetime:Ig(function(n,r){var i=new Intl.RelativeTimeFormat(n,ld({},r));return function(o){return i.format(o,r.range||"day")}}),list:Ig(function(n,r){var i=new Intl.ListFormat(n,ld({},r));return function(o){return i.format(o)}})},this.init(t)}return pu(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Ig(r)}},{key:"format",value:function(n,r,i,o){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,d){var h=Iwe(d),m=h.formatName,v=h.formatOptions;if(a.formats[m]){var b=u;try{var S=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},k=S.locale||S.lng||o.locale||o.lng||i;b=a.formats[m](u,k,ld(ld(ld({},v),o),S))}catch(E){a.logger.warn(E)}return b}else a.logger.warn("there was no format function for ".concat(m));return u},n);return l}}]),e}();function oR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aR(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jwe(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Bwe=function(e){jx(n,e);var t=Dwe(n);function n(r,i,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hu(this,n),a=t.call(this),Bx&&Qd.call($d(a)),a.backend=r,a.store=i,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=ql.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return pu(n,[{key:"queueLoad",value:function(i,o,a,s){var l=this,u={},d={},h={},m={};return i.forEach(function(v){var b=!0;o.forEach(function(S){var k="".concat(v,"|").concat(S);!a.reload&&l.store.hasResourceBundle(v,S)?l.state[k]=2:l.state[k]<0||(l.state[k]===1?d[k]===void 0&&(d[k]=!0):(l.state[k]=1,b=!1,d[k]===void 0&&(d[k]=!0),u[k]===void 0&&(u[k]=!0),m[S]===void 0&&(m[S]=!0)))}),b||(h[v]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(m)}}},{key:"loaded",value:function(i,o,a){var s=i.split("|"),l=s[0],u=s[1];o&&this.emit("failedLoading",l,u,o),a&&this.store.addResourceBundle(l,u,a),this.state[i]=o?-1:2;var d={};this.queue.forEach(function(h){vwe(h.loaded,[l],u),jwe(h,i),o&&h.errors.push(o),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(function(m){d[m]||(d[m]={});var v=h.loaded[m];v.length&&v.forEach(function(b){d[m][b]===void 0&&(d[m][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",d),this.queue=this.queue.filter(function(h){return!h.done})}},{key:"read",value:function(i,o,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!i.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:a,tried:l,wait:u,callback:d});return}this.readingCalls++;var h=function(S,k){if(s.readingCalls--,s.waitingReads.length>0){var E=s.waitingReads.shift();s.read(E.lng,E.ns,E.fcName,E.tried,E.wait,E.callback)}if(S&&k&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(d){a.loadOne(d)})}},{key:"load",value:function(i,o,a){this.prepareLoading(i,o,{},a)}},{key:"reload",value:function(i,o,a){this.prepareLoading(i,o,{reload:!0},a)}},{key:"loadOne",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(d,h){d&&o.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),d),!d&&h&&o.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),h),o.loaded(i,d,h)})}},{key:"saveMissing",value:function(i,o,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var h=aR(aR({},u),{},{isUpdate:l}),m=this.backend.create.bind(this.backend);if(m.length<6)try{var v;m.length===5?v=m(i,o,a,s,h):v=m(i,o,a,s),v&&typeof v.then=="function"?v.then(function(b){return d(null,b)}).catch(d):d(null,v)}catch(b){d(b)}else m(i,o,a,s,d,h)}!i||!i[0]||this.store.addResource(i[0],o,a,s)}}}]),n}(Qd);function sR(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Xs(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Xs(t[2])==="object"||Xs(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function lR(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function uR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(){}function zwe(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var X5=function(e){jx(n,e);var t=$we(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(hu(this,n),r=t.call(this),Bx&&Qd.call($d(r)),r.options=lR(i),r.services={},r.logger=ql,r.modules={external:[]},zwe($d(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),jy(r,$d(r));setTimeout(function(){r.init(i,o)},0)}return r}return pu(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=sR();this.options=Ml(Ml(Ml({},s),this.options),lR(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Ml(Ml({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function l(E){return E?typeof E=="function"?new E:E:null}if(!this.options.isClone){this.modules.logger?ql.init(l(this.modules.logger),this.options):ql.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Rwe);var d=new tR(this.options);this.store=new _we(this.options.resources,this.options);var h=this.services;h.logger=ql,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Owe(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Mwe(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new Bwe(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new eR(this.services,this.options),this.translator.on("*",function(E){for(var _=arguments.length,T=new Array(_>1?_-1:0),A=1;A<_;A++)T[A-1]=arguments[A];i.emit.apply(i,[E].concat(T))}),this.modules.external.forEach(function(E){E.init&&E.init(i)})}if(this.format=this.options.interpolation.format,a||(a=Pb),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&m[0]!=="dev"&&(this.options.lng=m[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments)}});var b=["addResource","addResources","addResourceBundle","removeResourceBundle"];b.forEach(function(E){i[E]=function(){var _;return(_=i.store)[E].apply(_,arguments),i}});var S=iv(),k=function(){var _=function(A,I){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),S.resolve(I),a(A,I)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return _(null,i.t.bind(i));i.changeLanguage(i.options.lng,_)};return this.options.resources||!this.options.initImmediate?k():setTimeout(k,0),S}},{key:"loadResources",value:function(i){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=a,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],d=function(v){if(v){var b=o.services.languageUtils.toResolveHierarchy(v);b.forEach(function(S){u.indexOf(S)<0&&u.push(S)})}};if(l)d(l);else{var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.forEach(function(m){return d(m)})}this.options.preload&&this.options.preload.forEach(function(m){return d(m)}),this.services.backendConnector.load(u,this.options.ns,function(m){!m&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(m)})}else s(null)}},{key:"reloadResources",value:function(i,o,a){var s=iv();return i||(i=this.languages),o||(o=this.options.ns),a||(a=Pb),this.services.backendConnector.reload(i,o,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&EU.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(i,o){var a=this;this.isLanguageChangingTo=i;var s=iv();this.emit("languageChanging",i);var l=function(m){a.language=m,a.languages=a.services.languageUtils.toResolveHierarchy(m),a.resolvedLanguage=void 0,a.setResolvedLanguage(m)},u=function(m,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(m,function(){return a.t.apply(a,arguments)})},d=function(m){!i&&!m&&a.services.languageDetector&&(m=[]);var v=typeof m=="string"?m:a.services.languageUtils.getBestMatchFromCodes(m);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(b){u(b,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?d(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(d):this.services.languageDetector.detect(d):d(i),s}},{key:"getFixedT",value:function(i,o,a){var s=this,l=function u(d,h){var m;if(Xs(h)!=="object"){for(var v=arguments.length,b=new Array(v>2?v-2:0),S=2;S1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var d=function(v,b){var S=o.services.backendConnector.state["".concat(v,"|").concat(b)];return S===-1||S===2};if(a.precheck){var h=a.precheck(this,d);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(s,i)&&(!l||d(u,i)))}},{key:"loadNamespaces",value:function(i,o){var a=this,s=iv();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),o&&o(l)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var a=iv();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),o&&o(u)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tR(sR());return o.indexOf(a.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pb,s=Ml(Ml(Ml({},this.options),o),{isClone:!0}),l=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(l.logger=l.logger.clone(o));var u=["store","services","language"];return u.forEach(function(d){l[d]=i[d]}),l.services=Ml({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new eR(l.services,l.options),l.translator.on("*",function(d){for(var h=arguments.length,m=new Array(h>1?h-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new X5(e,t)});var zt=X5.createInstance();zt.createInstance=X5.createInstance;zt.createInstance;zt.dir;zt.init;zt.loadResources;zt.reloadResources;zt.use;zt.changeLanguage;zt.getFixedT;zt.t;zt.exists;zt.setDefaultNamespace;zt.hasLoadedNamespace;zt.loadNamespaces;zt.loadLanguages;function Hwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J2(e){return J2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J2(e)}function Vwe(e,t){if(J2(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(J2(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wwe(e){var t=Vwe(e,"string");return J2(t)==="symbol"?t:String(t)}function cR(e,t){for(var n=0;n0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!dR.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(i.domain)}if(i.path){if(!dR.test(i.path))throw new TypeError("option path is invalid");a+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(a+="; HttpOnly"),i.secure&&(a+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},fR={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=Kwe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),a=0;a0){var l=o[a].substring(0,s);l===t.lookupQuerystring&&(n=o[a].substring(s+1))}}}return n}},ov=null,hR=function(){if(ov!==null)return ov;try{ov=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ov=!1}return ov},Qwe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&hR()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&hR()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},av=null,pR=function(){if(av!==null)return av;try{av=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{av=!1}return av},Jwe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&pR()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&pR()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},e6e={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},t6e={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},n6e={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},r6e={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function i6e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var TU=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hwe(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Uwe(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Ywe(r,this.options||{},i6e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Xwe),this.addDetector(Zwe),this.addDetector(Qwe),this.addDetector(Jwe),this.addDetector(e6e),this.addDetector(t6e),this.addDetector(n6e),this.addDetector(r6e)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var a=r.detectors[o].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(i=i.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();TU.type="languageDetector";function h8(e){return h8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h8(e)}var LU=[],o6e=LU.forEach,a6e=LU.slice;function p8(e){return o6e.call(a6e.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function AU(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":h8(XMLHttpRequest))==="object"}function s6e(e){return!!e&&typeof e.then=="function"}function l6e(e){return s6e(e)?e:Promise.resolve(e)}function u6e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ey={},c6e={get exports(){return ey},set exports(e){ey=e}},o2={},d6e={get exports(){return o2},set exports(e){o2=e}},gR;function f6e(){return gR||(gR=1,function(e,t){var n=typeof self<"u"?self:Co,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l($){return $&&DataView.prototype.isPrototypeOf($)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function($){return $&&u.indexOf(Object.prototype.toString.call($))>-1};function h($){if(typeof $!="string"&&($=String($)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test($))throw new TypeError("Invalid character in header field name");return $.toLowerCase()}function m($){return typeof $!="string"&&($=String($)),$}function v($){var U={next:function(){var X=$.shift();return{done:X===void 0,value:X}}};return s.iterable&&(U[Symbol.iterator]=function(){return U}),U}function b($){this.map={},$ instanceof b?$.forEach(function(U,X){this.append(X,U)},this):Array.isArray($)?$.forEach(function(U){this.append(U[0],U[1])},this):$&&Object.getOwnPropertyNames($).forEach(function(U){this.append(U,$[U])},this)}b.prototype.append=function($,U){$=h($),U=m(U);var X=this.map[$];this.map[$]=X?X+", "+U:U},b.prototype.delete=function($){delete this.map[h($)]},b.prototype.get=function($){return $=h($),this.has($)?this.map[$]:null},b.prototype.has=function($){return this.map.hasOwnProperty(h($))},b.prototype.set=function($,U){this.map[h($)]=m(U)},b.prototype.forEach=function($,U){for(var X in this.map)this.map.hasOwnProperty(X)&&$.call(U,this.map[X],X,this)},b.prototype.keys=function(){var $=[];return this.forEach(function(U,X){$.push(X)}),v($)},b.prototype.values=function(){var $=[];return this.forEach(function(U){$.push(U)}),v($)},b.prototype.entries=function(){var $=[];return this.forEach(function(U,X){$.push([X,U])}),v($)},s.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S($){if($.bodyUsed)return Promise.reject(new TypeError("Already read"));$.bodyUsed=!0}function k($){return new Promise(function(U,X){$.onload=function(){U($.result)},$.onerror=function(){X($.error)}})}function E($){var U=new FileReader,X=k(U);return U.readAsArrayBuffer($),X}function _($){var U=new FileReader,X=k(U);return U.readAsText($),X}function T($){for(var U=new Uint8Array($),X=new Array(U.length),Z=0;Z-1?U:$}function j($,U){U=U||{};var X=U.body;if($ instanceof j){if($.bodyUsed)throw new TypeError("Already read");this.url=$.url,this.credentials=$.credentials,U.headers||(this.headers=new b($.headers)),this.method=$.method,this.mode=$.mode,this.signal=$.signal,!X&&$._bodyInit!=null&&(X=$._bodyInit,$.bodyUsed=!0)}else this.url=String($);if(this.credentials=U.credentials||this.credentials||"same-origin",(U.headers||!this.headers)&&(this.headers=new b(U.headers)),this.method=D(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&X)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(X)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function z($){var U=new FormData;return $.trim().split("&").forEach(function(X){if(X){var Z=X.split("="),W=Z.shift().replace(/\+/g," "),Q=Z.join("=").replace(/\+/g," ");U.append(decodeURIComponent(W),decodeURIComponent(Q))}}),U}function V($){var U=new b,X=$.replace(/\r?\n[\t ]+/g," ");return X.split(/\r?\n/).forEach(function(Z){var W=Z.split(":"),Q=W.shift().trim();if(Q){var ie=W.join(":").trim();U.append(Q,ie)}}),U}I.call(j.prototype);function K($,U){U||(U={}),this.type="default",this.status=U.status===void 0?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new b(U.headers),this.url=U.url||"",this._initBody($)}I.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},K.error=function(){var $=new K(null,{status:0,statusText:""});return $.type="error",$};var te=[301,302,303,307,308];K.redirect=function($,U){if(te.indexOf(U)===-1)throw new RangeError("Invalid status code");return new K(null,{status:U,headers:{location:$}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,X){this.message=U,this.name=X;var Z=Error(U);this.stack=Z.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function q($,U){return new Promise(function(X,Z){var W=new j($,U);if(W.signal&&W.signal.aborted)return Z(new a.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function ie(){Q.abort()}Q.onload=function(){var fe={status:Q.status,statusText:Q.statusText,headers:V(Q.getAllResponseHeaders()||"")};fe.url="responseURL"in Q?Q.responseURL:fe.headers.get("X-Request-URL");var Se="response"in Q?Q.response:Q.responseText;X(new K(Se,fe))},Q.onerror=function(){Z(new TypeError("Network request failed"))},Q.ontimeout=function(){Z(new TypeError("Network request failed"))},Q.onabort=function(){Z(new a.DOMException("Aborted","AbortError"))},Q.open(W.method,W.url,!0),W.credentials==="include"?Q.withCredentials=!0:W.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&s.blob&&(Q.responseType="blob"),W.headers.forEach(function(fe,Se){Q.setRequestHeader(Se,fe)}),W.signal&&(W.signal.addEventListener("abort",ie),Q.onreadystatechange=function(){Q.readyState===4&&W.signal.removeEventListener("abort",ie)}),Q.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=b,o.Request=j,o.Response=K),a.Headers=b,a.Request=j,a.Response=K,a.fetch=q,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(d6e,o2)),o2}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Co<"u"&&Co.fetch?n=Co.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof u6e<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||f6e();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(c6e,ey);const OU=ey,mR=rj({__proto__:null,default:OU},[ey]);function Z5(e){return Z5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z5(e)}var Yu;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Yu=global.fetch:typeof window<"u"&&window.fetch?Yu=window.fetch:Yu=fetch);var ty;AU()&&(typeof global<"u"&&global.XMLHttpRequest?ty=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ty=window.XMLHttpRequest));var Q5;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Q5=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Q5=window.ActiveXObject));!Yu&&mR&&!ty&&!Q5&&(Yu=OU||mR);typeof Yu!="function"&&(Yu=void 0);var g8=function(t,n){if(n&&Z5(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},vR=function(t,n,r){Yu(t,n).then(function(i){if(!i.ok)return r(i.statusText||"Error",{status:i.status});i.text().then(function(o){r(null,{status:i.status,data:o})}).catch(r)}).catch(r)},yR=!1,h6e=function(t,n,r,i){t.queryStringParams&&(n=g8(n,t.queryStringParams));var o=p8({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(o["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=p8({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},yR?{}:a);try{vR(n,s,i)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return i(l);try{Object.keys(a).forEach(function(u){delete s[u]}),vR(n,s,i),yR=!0}catch(u){i(u)}}},p6e=function(t,n,r,i){r&&Z5(r)==="object"&&(r=g8("",r).slice(1)),t.queryStringParams&&(n=g8(n,t.queryStringParams));try{var o;ty?o=new ty:o=new Q5("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(l){console&&console.log(l)}},g6e=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Yu&&n.indexOf("file:")!==0)return h6e(t,n,r,i);if(AU()||typeof ActiveXObject=="function")return p6e(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ny(e){return ny=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ny(e)}function m6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};m6e(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return v6e(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=p8(i,this.options||{},S6e()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,i)),l=l6e(l),l.then(function(u){if(!u)return a(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});s.loadUrl(d,a,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,d;try{typeof l.data=="string"?u=a.options.parse(l.data,i,o):u=l.data}catch{d="failed parsing "+n+" to json"}if(d)return r(d,!1);r(null,u)})}},{key:"create",value:function(n,r,i,o,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,i,o),u=0,d=[],h=[];n.forEach(function(m){var v=s.options.addPath;typeof s.options.addPath=="function"&&(v=s.options.addPath(m,r));var b=s.services.interpolator.interpolate(v,{lng:m,ns:r});s.options.request(s.options,b,l,function(S,k){u+=1,d.push(S),h.push(k),u===n.length&&a&&a(d,h)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,a=r.logger,s=i.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(h){var m=o.toResolveHierarchy(h);m.forEach(function(v){l.indexOf(v)<0&&l.push(v)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(h){i.read(d,h,"read",null,null,function(m,v){m&&a.warn("loading namespace ".concat(h," for language ").concat(d," failed"),m),!m&&v&&a.log("loaded namespace ".concat(h," for language ").concat(d),v),i.loaded("".concat(d,"|").concat(h),m,v)})})})}}}]),e}();IU.type="backend";function ry(e){return ry=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ry(e)}function x6e(e,t){if(ry(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ry(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RU(e){var t=x6e(e,"string");return ry(t)==="symbol"?t:String(t)}function DU(e,t,n){return t=RU(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w6e(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var d=t.services.backendConnector.state["".concat(l,"|").concat(u)];return d===-1||d===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}function _6e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return m8("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!a(o.isLanguageChangingTo,e))return!1}}):C6e(e,t,n)}var k6e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E6e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},P6e=function(t){return E6e[t]},T6e=function(t){return t.replace(k6e,P6e)};function wR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CR(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};v8=CR(CR({},v8),e)}function A6e(){return v8}var NU;function O6e(e){NU=e}function M6e(){return NU}function I6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(N6e)||{},i=r.i18n,o=r.defaultNS,a=n||i||M6e();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new j6e),!a){m8("You will need to pass in an i18next instance by using initReactI18next");var s=function(z){return Array.isArray(z)?z[z.length-1]:z},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&m8("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=wC(wC(wC({},A6e()),a.options.react),t),d=u.useSuspense,h=u.keyPrefix,m=e||o||a.options&&a.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(m);var v=(a.isInitialized||a.initializedStoreOnce)&&m.every(function(j){return _6e(j,a,u)});function b(){return a.getFixedT(null,u.nsMode==="fallback"?m:m[0],h)}var S=w.useState(b),k=H6e(S,2),E=k[0],_=k[1],T=m.join(),A=V6e(T),I=w.useRef(!0);w.useEffect(function(){var j=u.bindI18n,z=u.bindI18nStore;I.current=!0,!v&&!d&&xR(a,m,function(){I.current&&_(b)}),v&&A&&A!==T&&I.current&&_(b);function V(){I.current&&_(b)}return j&&a&&a.on(j,V),z&&a&&a.store.on(z,V),function(){I.current=!1,j&&a&&j.split(" ").forEach(function(K){return a.off(K,V)}),z&&a&&z.split(" ").forEach(function(K){return a.store.off(K,V)})}},[a,T]);var R=w.useRef(!0);w.useEffect(function(){I.current&&!R.current&&_(b),R.current=!1},[a,h]);var D=[E,a,v];if(D.t=E,D.i18n=a,D.ready=v,v||!v&&!d)return D;throw new Promise(function(j){xR(a,m,function(){j()})})}zt.use(IU).use(TU).use(D6e).init({fallbackLng:"en",debug:!1,ns:["common","gallery","hotkeys","parameters","settings","modelmanager","toast","tooltip","unifiedcanvas"],backend:{loadPath:"/locales/{{ns}}/{{lng}}.json"},interpolation:{escapeValue:!1},returnNull:!1});const W6e={isConnected:!1,isProcessing:!1,log:[],shouldShowLogViewer:!1,shouldDisplayInProgressType:"latents",shouldDisplayGuides:!0,isGFPGANAvailable:!0,isESRGANAvailable:!0,socketId:"",shouldConfirmOnDelete:!0,openAccordions:[],currentStep:0,totalSteps:0,currentIteration:0,totalIterations:0,currentStatus:zt.isInitialized?zt.t("common:statusDisconnected"):"Disconnected",currentStatusHasSteps:!1,model:"",model_id:"",model_hash:"",app_id:"",app_version:"",model_list:{},infill_methods:[],hasError:!1,wasErrorSeen:!0,isCancelable:!0,saveIntermediatesInterval:5,enableImageDebugging:!1,toastQueue:[],searchFolder:null,foundModels:null,openModel:null},jU=cp({name:"system",initialState:W6e,reducers:{setShouldDisplayInProgressType:(e,t)=>{e.shouldDisplayInProgressType=t.payload},setIsProcessing:(e,t)=>{e.isProcessing=t.payload},setCurrentStatus:(e,t)=>{e.currentStatus=t.payload},setSystemStatus:(e,t)=>({...e,...t.payload}),errorOccurred:e=>{e.hasError=!0,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusError"),e.wasErrorSeen=!1},errorSeen:e=>{e.hasError=!1,e.wasErrorSeen=!0,e.currentStatus=e.isConnected?zt.t("common:statusConnected"):zt.t("common:statusDisconnected")},addLogEntry:(e,t)=>{const{timestamp:n,message:r,level:i}=t.payload,a={timestamp:n,message:r,level:i||"info"};e.log.push(a)},setShouldShowLogViewer:(e,t)=>{e.shouldShowLogViewer=t.payload},setIsConnected:(e,t)=>{e.isConnected=t.payload,e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.hasError=!1},setSocketId:(e,t)=>{e.socketId=t.payload},setShouldConfirmOnDelete:(e,t)=>{e.shouldConfirmOnDelete=t.payload},setOpenAccordions:(e,t)=>{e.openAccordions=t.payload},setSystemConfig:(e,t)=>({...e,...t.payload}),setShouldDisplayGuides:(e,t)=>{e.shouldDisplayGuides=t.payload},processingCanceled:e=>{e.isProcessing=!1,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusProcessingCanceled")},generationRequested:e=>{e.isProcessing=!0,e.isCancelable=!0,e.currentStep=0,e.totalSteps=0,e.currentIteration=0,e.totalIterations=0,e.currentStatusHasSteps=!1,e.currentStatus=zt.t("common:statusPreparing")},setModelList:(e,t)=>{e.model_list=t.payload},setIsCancelable:(e,t)=>{e.isCancelable=t.payload},modelChangeRequested:e=>{e.currentStatus=zt.t("common:statusLoadingModel"),e.isCancelable=!1,e.isProcessing=!0,e.currentStatusHasSteps=!1},setSaveIntermediatesInterval:(e,t)=>{e.saveIntermediatesInterval=t.payload},setEnableImageDebugging:(e,t)=>{e.enableImageDebugging=t.payload},addToast:(e,t)=>{e.toastQueue.push(t.payload)},clearToastQueue:e=>{e.toastQueue=[]},setProcessingIndeterminateTask:(e,t)=>{e.isProcessing=!0,e.currentStatus=t.payload,e.currentStatusHasSteps=!1},setSearchFolder:(e,t)=>{e.searchFolder=t.payload},setFoundModels:(e,t)=>{e.foundModels=t.payload},setOpenModel:(e,t)=>{e.openModel=t.payload}}}),{setShouldDisplayInProgressType:U6e,setIsProcessing:Hs,addLogEntry:to,setShouldShowLogViewer:CC,setIsConnected:PR,setSocketId:pze,setShouldConfirmOnDelete:BU,setOpenAccordions:G6e,setSystemStatus:q6e,setCurrentStatus:R4,setSystemConfig:Y6e,setShouldDisplayGuides:K6e,processingCanceled:X6e,errorOccurred:TR,errorSeen:$U,setModelList:Tb,setIsCancelable:lm,modelChangeRequested:Z6e,setSaveIntermediatesInterval:Q6e,setEnableImageDebugging:J6e,generationRequested:eCe,addToast:Th,clearToastQueue:tCe,setProcessingIndeterminateTask:nCe,setSearchFolder:FU,setFoundModels:zU,setOpenModel:LR}=jU.actions,rCe=jU.reducer,cP=["txt2img","img2img","unifiedCanvas","nodes","postprocess","training"],iCe={activeTab:0,currentTheme:"dark",parametersPanelScrollPosition:0,shouldHoldParametersPanelOpen:!1,shouldPinParametersPanel:!0,shouldShowParametersPanel:!0,shouldShowDualDisplay:!0,shouldShowImageDetails:!1,shouldUseCanvasBetaLayout:!1,shouldShowExistingModelsInSearch:!1,addNewModelUIOption:null},oCe=iCe,HU=cp({name:"ui",initialState:oCe,reducers:{setActiveTab:(e,t)=>{typeof t.payload=="number"?e.activeTab=t.payload:e.activeTab=cP.indexOf(t.payload)},setCurrentTheme:(e,t)=>{e.currentTheme=t.payload},setParametersPanelScrollPosition:(e,t)=>{e.parametersPanelScrollPosition=t.payload},setShouldPinParametersPanel:(e,t)=>{e.shouldPinParametersPanel=t.payload},setShouldShowParametersPanel:(e,t)=>{e.shouldShowParametersPanel=t.payload},setShouldHoldParametersPanelOpen:(e,t)=>{e.shouldHoldParametersPanelOpen=t.payload},setShouldShowDualDisplay:(e,t)=>{e.shouldShowDualDisplay=t.payload},setShouldShowImageDetails:(e,t)=>{e.shouldShowImageDetails=t.payload},setShouldUseCanvasBetaLayout:(e,t)=>{e.shouldUseCanvasBetaLayout=t.payload},setShouldShowExistingModelsInSearch:(e,t)=>{e.shouldShowExistingModelsInSearch=t.payload},setAddNewModelUIOption:(e,t)=>{e.addNewModelUIOption=t.payload}}}),{setActiveTab:qo,setCurrentTheme:aCe,setParametersPanelScrollPosition:sCe,setShouldHoldParametersPanelOpen:lCe,setShouldPinParametersPanel:uCe,setShouldShowParametersPanel:Ku,setShouldShowDualDisplay:cCe,setShouldShowImageDetails:VU,setShouldUseCanvasBetaLayout:dCe,setShouldShowExistingModelsInSearch:fCe,setAddNewModelUIOption:zh}=HU.actions,hCe=HU.reducer,lu=Object.create(null);lu.open="0";lu.close="1";lu.ping="2";lu.pong="3";lu.message="4";lu.upgrade="5";lu.noop="6";const D4=Object.create(null);Object.keys(lu).forEach(e=>{D4[lu[e]]=e});const pCe={type:"error",data:"parser error"},gCe=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",mCe=typeof ArrayBuffer=="function",vCe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,WU=({type:e,data:t},n,r)=>gCe&&t instanceof Blob?n?r(t):AR(t,r):mCe&&(t instanceof ArrayBuffer||vCe(t))?n?r(t):AR(new Blob([t]),r):r(lu[e]+(t||"")),AR=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+r)},n.readAsDataURL(e)},OR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r>4,d[i++]=(a&15)<<4|s>>2,d[i++]=(s&3)<<6|l&63;return u},bCe=typeof ArrayBuffer=="function",UU=(e,t)=>{if(typeof e!="string")return{type:"message",data:GU(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:SCe(e.substring(1),t)}:D4[n]?e.length>1?{type:D4[n],data:e.substring(1)}:{type:D4[n]}:pCe},SCe=(e,t)=>{if(bCe){const n=yCe(e);return GU(n,t)}else return{base64:!0,data:e}},GU=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},qU=String.fromCharCode(30),xCe=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,a)=>{WU(o,!1,s=>{r[a]=s,++i===n&&t(r.join(qU))})})},wCe=(e,t)=>{const n=e.split(qU),r=[];for(let i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function KU(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const _Ce=setTimeout,kCe=clearTimeout;function $x(e,t){t.useNativeTimers?(e.setTimeoutFn=_Ce.bind(Pd),e.clearTimeoutFn=kCe.bind(Pd)):(e.setTimeoutFn=setTimeout.bind(Pd),e.clearTimeoutFn=clearTimeout.bind(Pd))}const ECe=1.33;function PCe(e){return typeof e=="string"?TCe(e):Math.ceil((e.byteLength||e.size)*ECe)}function TCe(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}class LCe extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class XU extends si{constructor(t){super(),this.writable=!1,$x(this,t),this.opts=t,this.query=t.query,this.readyState="",this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new LCe(t,n,r)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=UU(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}}const ZU="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),y8=64,ACe={};let MR=0,Lb=0,IR;function RR(e){let t="";do t=ZU[e%y8]+t,e=Math.floor(e/y8);while(e>0);return t}function QU(){const e=RR(+new Date);return e!==IR?(MR=0,IR=e):e+"."+RR(MR++)}for(;Lb{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};wCe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,xCe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=QU()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new nu(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class nu extends si{constructor(t,n){super(),$x(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=KU(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new tG(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=nu.requestsCount++,nu.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=ICe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete nu.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}nu.requestsCount=0;nu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",DR);else if(typeof addEventListener=="function"){const e="onpagehide"in Pd?"pagehide":"unload";addEventListener(e,DR,!1)}}function DR(){for(let e in nu.requests)nu.requests.hasOwnProperty(e)&&nu.requests[e].abort()}const nG=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ab=Pd.WebSocket||Pd.MozWebSocket,NR=!0,NCe="arraybuffer",jR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class jCe extends XU{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=jR?{}:KU(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=NR&&!jR?n?new Ab(t,n):new Ab(t):new Ab(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||NCe,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const a={};try{NR&&this.ws.send(o)}catch{}i&&nG(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=QU()),this.supportsBinary||(t.b64=1);const i=JU(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!Ab}}const BCe={websocket:jCe,polling:DCe},$Ce=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FCe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function b8(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=$Ce.exec(e||""),o={},a=14;for(;a--;)o[FCe[a]]=i[a]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=zCe(o,o.path),o.queryKey=HCe(o,o.query),o}function zCe(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function HCe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let rG=class $g extends si{constructor(t,n={}){super(),t&&typeof t=="object"&&(n=t,t=null),t?(t=b8(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=b8(n.host).host),$x(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=OCe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=YU,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new BCe[t](r)}open(){let t;if(this.opts.rememberUpgrade&&$g.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;$g.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;$g.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,d(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function s(){a("transport closed")}function l(){a("socket closed")}function u(h){n&&h.name!==n.name&&o()}const d=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",l),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",$g.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){$g.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,iG=Object.prototype.toString,GCe=typeof Blob=="function"||typeof Blob<"u"&&iG.call(Blob)==="[object BlobConstructor]",qCe=typeof File=="function"||typeof File<"u"&&iG.call(File)==="[object FileConstructor]";function dP(e){return WCe&&(e instanceof ArrayBuffer||UCe(e))||GCe&&e instanceof Blob||qCe&&e instanceof File}function N4(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case cn.ACK:case cn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class QCe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=KCe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const JCe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:fP,Encoder:ZCe,get PacketType(){return cn},protocol:XCe},Symbol.toStringTag,{value:"Module"}));function Bs(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const e7e=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class oG extends si{constructor(t,n,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Bs(t,"open",this.onopen.bind(this)),Bs(t,"packet",this.onpacket.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(e7e.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');n.unshift(t);const r={type:cn.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,s=n.pop();this._registerAckCallback(a,s),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){const r=this.flags.timeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(i),n.apply(this,[null,...o])}}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this.packet({type:cn.CONNECT,data:t})}):this.packet({type:cn.CONNECT,data:this.auth})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case cn.CONNECT:if(t.data&&t.data.sid){const i=t.data.sid;this.onconnect(i)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case cn.EVENT:case cn.BINARY_EVENT:this.onevent(t);break;case cn.ACK:case cn.BINARY_ACK:this.onack(t);break;case cn.DISCONNECT:this.ondisconnect();break;case cn.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t)}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:cn.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t){this.id=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:cn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}E0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};E0.prototype.reset=function(){this.attempts=0};E0.prototype.setMin=function(e){this.ms=e};E0.prototype.setMax=function(e){this.max=e};E0.prototype.setJitter=function(e){this.jitter=e};class w8 extends si{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$x(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new E0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||JCe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new rG(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Bs(n,"open",function(){r.onopen(),t&&t()}),o=Bs(n,"error",a=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",a),t?t(a):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const a=this._timeout;a===0&&i();const s=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},a);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Bs(t,"ping",this.onping.bind(this)),Bs(t,"data",this.ondata.bind(this)),Bs(t,"error",this.onerror.bind(this)),Bs(t,"close",this.onclose.bind(this)),Bs(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){nG(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r||(r=new oG(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const sv={};function j4(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=VCe(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=sv[i]&&o in sv[i].nsps,s=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return s?l=new w8(r,t):(sv[i]||(sv[i]=new w8(r,t)),l=sv[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(j4,{Manager:w8,Socket:oG,io:j4,connect:j4});const t7e=["ddim","plms","k_lms","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_dpmpp_2_a","k_euler","k_euler_a","k_heun"],n7e=["ddim","plms","k_lms","dpmpp_2","k_dpm_2","k_dpm_2_a","k_dpmpp_2","k_euler","k_euler_a","k_heun"],r7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],i7e=[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048],o7e=[{key:"2x",value:2},{key:"4x",value:4}],hP=0,pP=4294967295,a7e=["gfpgan","codeformer"],s7e=[{key:"None",value:"none"},{key:"Fast",value:"latents"},{key:"Accurate",value:"full-res"}];var l7e=Math.PI/180;function u7e(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const $m=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},pt={_global:$m,version:"8.3.14",isBrowser:u7e(),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle(e){return pt.angleDeg?e*l7e:e},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:typeof window<"u"&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return pt.DD.isDragging},isDragReady(){return!!pt.DD.node},releaseCanvasOnDestroy:!0,document:$m.document,_injectGlobal(e){$m.Konva=e}},Ar=e=>{pt[e.prototype.getClassName()]=e};pt._injectGlobal(pt);class ka{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new ka(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var n=this.m;return{x:n[0]*t.x+n[2]*t.y+n[4],y:n[1]*t.x+n[3]*t.y+n[5]}}translate(t,n){return this.m[4]+=this.m[0]*t+this.m[2]*n,this.m[5]+=this.m[1]*t+this.m[3]*n,this}scale(t,n){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=n,this.m[3]*=n,this}rotate(t){var n=Math.cos(t),r=Math.sin(t),i=this.m[0]*n+this.m[2]*r,o=this.m[1]*n+this.m[3]*r,a=this.m[0]*-r+this.m[2]*n,s=this.m[1]*-r+this.m[3]*n;return this.m[0]=i,this.m[1]=o,this.m[2]=a,this.m[3]=s,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,n){var r=this.m[0]+this.m[2]*n,i=this.m[1]+this.m[3]*n,o=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=i,this.m[2]=o,this.m[3]=a,this}multiply(t){var n=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],s=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),n=this.m[3]*t,r=-this.m[1]*t,i=-this.m[2]*t,o=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),s=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=o,this.m[4]=a,this.m[5]=s,this}getMatrix(){return this.m}decompose(){var t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=this.m[4],a=this.m[5],s=t*i-n*r;let l={x:o,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(t!=0||n!=0){var u=Math.sqrt(t*t+n*n);l.rotation=n>0?Math.acos(t/u):-Math.acos(t/u),l.scaleX=u,l.scaleY=s/u,l.skewX=(t*r+n*i)/s,l.skewY=0}else if(r!=0||i!=0){var d=Math.sqrt(r*r+i*i);l.rotation=Math.PI/2-(i>0?Math.acos(-r/d):-Math.acos(r/d)),l.scaleX=s/d,l.scaleY=d,l.skewX=0,l.skewY=(t*r+n*i)/s}return l.rotation=de._getRotation(l.rotation),l}}var c7e="[object Array]",d7e="[object Number]",f7e="[object String]",h7e="[object Boolean]",p7e=Math.PI/180,g7e=180/Math.PI,_C="#",m7e="",v7e="0",y7e="Konva warning: ",BR="Konva error: ",b7e="rgb(",kC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},S7e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Ob=[];const x7e=typeof requestAnimationFrame<"u"&&requestAnimationFrame||function(e){setTimeout(e,60)},de={_isElement(e){return!!(e&&e.nodeType==1)},_isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},_isPlainObject(e){return!!e&&e.constructor===Object},_isArray(e){return Object.prototype.toString.call(e)===c7e},_isNumber(e){return Object.prototype.toString.call(e)===d7e&&!isNaN(e)&&isFinite(e)},_isString(e){return Object.prototype.toString.call(e)===f7e},_isBoolean(e){return Object.prototype.toString.call(e)===h7e},isObject(e){return e instanceof Object},isValidSelector(e){if(typeof e!="string")return!1;var t=e[0];return t==="#"||t==="."||t===t.toUpperCase()},_sign(e){return e===0||e>0?1:-1},requestAnimFrame(e){Ob.push(e),Ob.length===1&&x7e(function(){const t=Ob;Ob=[],t.forEach(function(n){n()})})},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch{}return e},createImageElement(){return document.createElement("img")},_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=de.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex(e,t,n){return((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},_hexToRgb(e){e=e.replace(_C,m7e);var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}},getRandomColor(){for(var e=(Math.random()*16777215<<0).toString(16);e.length<6;)e=v7e+e;return _C+e},getRGB(e){var t;return e in kC?(t=kC[e],{r:t[0],g:t[1],b:t[2]}):e[0]===_C?this._hexToRgb(e.substring(1)):e.substr(0,4)===b7e?(t=S7e.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA(e){return e=e||"black",de._namedColorToRBA(e)||de._hex3ColorToRGBA(e)||de._hex6ColorToRGBA(e)||de._rgbColorToRGBA(e)||de._rgbaColorToRGBA(e)||de._hslColorToRGBA(e)},_namedColorToRBA(e){var t=kC[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(e.indexOf("rgb(")===0){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(e.indexOf("rgba(")===0){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map((n,r)=>n.slice(-1)==="%"?r===3?parseInt(n)/100:parseInt(n)/100*255:Number(n));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if(e[0]==="#"&&e.length===7)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if(e[0]==="#"&&e.length===4)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100;let a,s,l;if(i===0)return l=o*255,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};o<.5?a=o*(1+i):a=o+i-o*i;const u=2*o-a,d=[0,0,0];for(let h=0;h<3;h++)s=r+1/3*-(h-1),s<0&&s++,s>1&&s--,6*s<1?l=u+(a-u)*6*s:2*s<1?l=a:3*s<2?l=u+(a-u)*(2/3-s)*6:l=u,d[h]=l*255;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection(e,t){return!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.height1?(a=n,s=r,l=(n-i)*(n-i)+(r-o)*(r-o)):(a=e+d*(n-e),s=t+d*(r-t),l=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,l]},_getProjectionToLine(e,t,n){var r=de.cloneObject(e),i=Number.MAX_VALUE;return t.forEach(function(o,a){if(!(!n&&a===t.length-1)){var s=t[(a+1)%t.length],l=de._getProjectionToSegment(o.x,o.y,s.x,s.y,e.x,e.y),u=l[0],d=l[1],h=l[2];ht.length){var a=t;t=e,e=a}for(r=0;r{t.width=0,t.height=0})}};function df(e){return de._isString(e)?'"'+e+'"':Object.prototype.toString.call(e)==="[object Number]"||de._isBoolean(e)?e:Object.prototype.toString.call(e)}function aG(e){return e>255?255:e<0?0:Math.round(e)}function qe(){if(pt.isUnminified)return function(e,t){return de._isNumber(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function sG(e){if(pt.isUnminified)return function(t,n){let r=de._isNumber(t),i=de._isArray(t)&&t.length==e;return!r&&!i&&de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array('+e+")"),t}}function gP(){if(pt.isUnminified)return function(e,t){var n=de._isNumber(e),r=e==="auto";return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function P0(){if(pt.isUnminified)return function(e,t){return de._isString(e)||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function lG(){if(pt.isUnminified)return function(e,t){const n=de._isString(e),r=Object.prototype.toString.call(e)==="[object CanvasGradient]"||e&&e.addColorStop;return n||r||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function w7e(){if(pt.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(de._isArray(e)?e.forEach(function(r){de._isNumber(r)||de.warn('"'+t+'" attribute has non numeric element '+r+". Make sure that all elements are numbers.")}):de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function nl(){if(pt.isUnminified)return function(e,t){var n=e===!0||e===!1;return n||de.warn(df(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function C7e(e){if(pt.isUnminified)return function(t,n){return t==null||de.isObject(t)||de.warn(df(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}var lv="get",uv="set";const ee={addGetterSetter(e,t,n,r,i){ee.addGetter(e,t,n),ee.addSetter(e,t,r,i),ee.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=lv+de._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var i=this.attrs[t];return i===void 0?n:i}},addSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]||ee.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=uv+de._capitalize(t);e.prototype[i]=function(o){return n&&o!==void 0&&o!==null&&(o=n.call(this,o,t)),this._setAttr(t,o),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o=n.length,a=de._capitalize,s=lv+a(t),l=uv+a(t),u,d;e.prototype[s]=function(){var m={};for(u=0;u{this._setAttr(t+a(S),void 0)}),this._fireChangeEvent(t,v,m),i&&i.call(this),this},ee.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=de._capitalize(t),r=uv+n,i=lv+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[i]()}},addDeprecatedGetterSetter(e,t,n,r){de.error("Adding deprecated "+t);var i=lv+de._capitalize(t),o=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){de.error(o);var a=this.attrs[t];return a===void 0?n:a},ee.addSetter(e,t,r,function(){de.error(o)}),ee.addOverloadedGetterSetter(e,t)},backCompat(e,t){de.each(t,function(n,r){var i=e.prototype[r],o=lv+de._capitalize(n),a=uv+de._capitalize(n);function s(){i.apply(this,arguments),de.error('"'+n+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}e.prototype[n]=s,e.prototype[o]=s,e.prototype[a]=s})},afterSetFilter(){this._filterUpToDate=!1}};function _7e(e){var t=[],n=e.length,r=de,i,o;for(i=0;itypeof d=="number"?Math.floor(d):d)),o+=k7e+u.join($R)+E7e)):(o+=s.property,t||(o+=O7e+s.val)),o+=L7e;return o}clearTrace(){this.traceArr=[]}_trace(t){var n=this.traceArr,r;n.push(t),r=n.length,r>=I7e&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var n=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,n.getWidth()/n.pixelRatio,n.getHeight()/n.pixelRatio)}_applyLineCap(t){var n=t.getLineCap();n&&this.setAttr("lineCap",n)}_applyOpacity(t){var n=t.getAbsoluteOpacity();n!==1&&this.setAttr("globalAlpha",n)}_applyLineJoin(t){var n=t.attrs.lineJoin;n&&this.setAttr("lineJoin",n)}setAttr(t,n){this._context[t]=n}arc(t,n,r,i,o,a){this._context.arc(t,n,r,i,o,a)}arcTo(t,n,r,i,o){this._context.arcTo(t,n,r,i,o)}beginPath(){this._context.beginPath()}bezierCurveTo(t,n,r,i,o,a){this._context.bezierCurveTo(t,n,r,i,o,a)}clearRect(t,n,r,i){this._context.clearRect(t,n,r,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,n){var r=arguments;if(r.length===2)return this._context.createImageData(t,n);if(r.length===1)return this._context.createImageData(t)}createLinearGradient(t,n,r,i){return this._context.createLinearGradient(t,n,r,i)}createPattern(t,n){return this._context.createPattern(t,n)}createRadialGradient(t,n,r,i,o,a){return this._context.createRadialGradient(t,n,r,i,o,a)}drawImage(t,n,r,i,o,a,s,l,u){var d=arguments,h=this._context;d.length===3?h.drawImage(t,n,r):d.length===5?h.drawImage(t,n,r,i,o):d.length===9&&h.drawImage(t,n,r,i,o,a,s,l,u)}ellipse(t,n,r,i,o,a,s,l){this._context.ellipse(t,n,r,i,o,a,s,l)}isPointInPath(t,n){return this._context.isPointInPath(t,n)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,n,r,i){this._context.fillRect(t,n,r,i)}strokeRect(t,n,r,i){this._context.strokeRect(t,n,r,i)}fillText(t,n,r,i){i?this._context.fillText(t,n,r,i):this._context.fillText(t,n,r)}measureText(t){return this._context.measureText(t)}getImageData(t,n,r,i){return this._context.getImageData(t,n,r,i)}lineTo(t,n){this._context.lineTo(t,n)}moveTo(t,n){this._context.moveTo(t,n)}rect(t,n,r,i){this._context.rect(t,n,r,i)}putImageData(t,n,r){this._context.putImageData(t,n,r)}quadraticCurveTo(t,n,r,i){this._context.quadraticCurveTo(t,n,r,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,n){this._context.scale(t,n)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,n,r,i,o,a){this._context.setTransform(t,n,r,i,o,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,n,r,i){this._context.strokeText(t,n,r,i)}transform(t,n,r,i,o,a){this._context.transform(t,n,r,i,o,a)}translate(t,n){this._context.translate(t,n)}_enableTrace(){var t=this,n=FR.length,r=this.setAttr,i,o,a=function(s){var l=t[s],u;t[s]=function(){return o=_7e(Array.prototype.slice.call(arguments,0)),u=l.apply(t,arguments),t._trace({method:s,args:o}),u}};for(i=0;i{t.dragStatus==="dragging"&&(e=!0)}),e},justDragged:!1,get node(){var e;return vn._dragElements.forEach(t=>{e=t.node}),e},_dragElements:new Map,_drag(e){const t=[];vn._dragElements.forEach((n,r)=>{const{node:i}=n,o=i.getStage();o.setPointersPositions(e),n.pointerId===void 0&&(n.pointerId=de._getFirstPointerId(e));const a=o._changedPointerPositions.find(u=>u.id===n.pointerId);if(a){if(n.dragStatus!=="dragging"){var s=i.dragDistance(),l=Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y));if(l{n.fire("dragmove",{type:"dragmove",target:n,evt:e},!0)})},_endDragBefore(e){const t=[];vn._dragElements.forEach(n=>{const{node:r}=n,i=r.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find(s=>s.id===n.pointerId))return;(n.dragStatus==="dragging"||n.dragStatus==="stopped")&&(vn.justDragged=!0,pt._mouseListenClick=!1,pt._touchListenClick=!1,pt._pointerListenClick=!1,n.dragStatus="stopped");const a=n.node.getLayer()||n.node instanceof pt.Stage&&n.node;a&&t.indexOf(a)===-1&&t.push(a)}),t.forEach(n=>{n.draw()})},_endDragAfter(e){vn._dragElements.forEach((t,n)=>{t.dragStatus==="stopped"&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),t.dragStatus!=="dragging"&&vn._dragElements.delete(n)})}};pt.isBrowser&&(window.addEventListener("mouseup",vn._endDragBefore,!0),window.addEventListener("touchend",vn._endDragBefore,!0),window.addEventListener("mousemove",vn._drag),window.addEventListener("touchmove",vn._drag),window.addEventListener("mouseup",vn._endDragAfter,!1),window.addEventListener("touchend",vn._endDragAfter,!1));var B4="absoluteOpacity",Ib="allEventListeners",Fu="absoluteTransform",zR="absoluteScale",ah="canvas",j7e="Change",B7e="children",$7e="konva",C8="listening",HR="mouseenter",VR="mouseleave",WR="set",UR="Shape",$4=" ",GR="stage",fd="transform",F7e="Stage",_8="visible",z7e=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join($4);let H7e=1,Ze=class k8{constructor(t){this._id=H7e++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){(t===fd||t===Fu)&&this._cache.get(t)?this._cache.get(t).dirty=!0:t?this._cache.delete(t):this._cache.clear()}_getCache(t,n){var r=this._cache.get(t),i=t===fd||t===Fu,o=r===void 0||i&&r.dirty===!0;return o&&(r=n.call(this),this._cache.set(t,r)),r}_calculate(t,n,r){if(!this._attachedDepsListeners.get(t)){const i=n.map(o=>o+"Change.konva").join($4);this.on(i,()=>{this._clearCache(t)}),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)}_getCanvasCache(){return this._cache.get(ah)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===Fu&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(ah)){const{scene:t,filter:n,hit:r}=this._cache.get(ah);de.releaseCanvas(t,n,r),this._cache.delete(ah)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var n=t||{},r={};(n.x===void 0||n.y===void 0||n.width===void 0||n.height===void 0)&&(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(n.width||r.width),o=Math.ceil(n.height||r.height),a=n.pixelRatio,s=n.x===void 0?Math.floor(r.x):n.x,l=n.y===void 0?Math.floor(r.y):n.y,u=n.offset||0,d=n.drawBorder||!1,h=n.hitCanvasPixelRatio||1;if(!i||!o){de.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");return}i+=u*2+1,o+=u*2+1,s-=u,l-=u;var m=new Fm({pixelRatio:a,width:i,height:o}),v=new Fm({pixelRatio:a,width:0,height:0}),b=new mP({pixelRatio:h,width:i,height:o}),S=m.getContext(),k=b.getContext();return b.isCache=!0,m.isCache=!0,this._cache.delete(ah),this._filterUpToDate=!1,n.imageSmoothingEnabled===!1&&(m.getContext()._context.imageSmoothingEnabled=!1,v.getContext()._context.imageSmoothingEnabled=!1),S.save(),k.save(),S.translate(-s,-l),k.translate(-s,-l),this._isUnderCache=!0,this._clearSelfAndDescendantCache(B4),this._clearSelfAndDescendantCache(zR),this.drawScene(m,this),this.drawHit(b,this),this._isUnderCache=!1,S.restore(),k.restore(),d&&(S.save(),S.beginPath(),S.rect(0,0,i,o),S.closePath(),S.setAttr("strokeStyle","red"),S.setAttr("lineWidth",5),S.stroke(),S.restore()),this._cache.set(ah,{scene:m,filter:v,hit:b,x:s,y:l}),this._requestDraw(),this}isCached(){return this._cache.has(ah)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,n){var r=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],i,o,a,s,l=this.getAbsoluteTransform(n);return r.forEach(function(u){var d=l.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),{x:i,y:o,width:a-i,height:s-o}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const n=this._getCanvasCache();t.translate(n.x,n.y);var r=this._getCachedSceneCanvas(),i=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/i,r.height/i),t.restore()}_drawCachedHitCanvas(t){var n=this._getCanvasCache(),r=n.hit;t.save(),t.translate(n.x,n.y),t.drawImage(r._canvas,0,0,r.width/r.pixelRatio,r.height/r.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t=this.filters(),n=this._getCanvasCache(),r=n.scene,i=n.filter,o=i.getContext(),a,s,l,u;if(t){if(!this._filterUpToDate){var d=r.pixelRatio;i.setSize(r.width/r.pixelRatio,r.height/r.pixelRatio);try{for(a=t.length,o.clear(),o.drawImage(r._canvas,0,0,r.getWidth()/d,r.getHeight()/d),s=o.getImageData(0,0,i.getWidth(),i.getHeight()),l=0;l{var n,r;if(!t)return this;for(n in t)n!==B7e&&(r=WR+de._capitalize(n),de._isFunction(this[r])?this[r](t[n]):this._setAttr(n,t[n]))}),this}isListening(){return this._getCache(C8,this._isListening)}_isListening(t){if(!this.listening())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isListening(t):!0}isVisible(){return this._getCache(_8,this._isVisible)}_isVisible(t){if(!this.visible())return!1;const r=this.getParent();return r&&r!==t&&this!==t?r._isVisible(t):!0}shouldDrawHit(t,n=!1){if(t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),i=!1;vn._dragElements.forEach(a=>{a.dragStatus==="dragging"&&(a.node.nodeType==="Stage"||a.node.getLayer()===r)&&(i=!0)});var o=!n&&!pt.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t=this.getDepth(),n=this,r=0,i,o,a,s;function l(u){for(i=[],o=u.length,a=0;a0&&i[0].getDepth()<=t&&l(i)}return n.nodeType!==F7e&&l(n.getStage().getChildren()),r}getDepth(){for(var t=0,n=this.parent;n;)t++,n=n.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(fd),this._clearSelfAndDescendantCache(Fu)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges(()=>{this.x(t.x),this.y(t.y)}),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var n=this.getAbsoluteTransform().copy();return n.invert(),n.point(t)}getAbsolutePosition(t){let n=!1,r=this.parent;for(;r;){if(r.isCached()){n=!0;break}r=r.parent}n&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new ka,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()}setAbsolutePosition(t){var n=this._clearTransform();this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(fd);var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this._clearCache(fd),this._clearSelfAndDescendantCache(Fu),this}_setTransform(t){var n;for(n in t)this.attrs[n]=t[n]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var n=t.x,r=t.y,i=this.x(),o=this.y();return n!==void 0&&(i+=n),r!==void 0&&(o+=r),this.setPosition({x:i,y:o}),this}_eachAncestorReverse(t,n){var r=[],i=this.getParent(),o,a;if(!(n&&n._id===this._id)){for(r.unshift(this);i&&(!n||i._id!==n._id);)r.unshift(i),i=i.parent;for(o=r.length,a=0;a0?(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0):!1}moveToBottom(){if(!this.parent)return de.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0?(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0):!1}setZIndex(t){if(!this.parent)return de.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&de.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var n=this.index;return this.parent.children.splice(n,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(B4,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),n=this.getParent();return n&&!n._isUnderCache&&(t*=n.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t={},n=this.getAttrs(),r,i,o,a,s;t.attrs={};for(r in n)i=n[r],s=de.isObject(i)&&!de._isPlainObject(i)&&!de._isArray(i),!s&&(o=typeof this[r]=="function"&&this[r],delete n[r],a=o?o.call(this):null,n[r]=i,a!==i&&(t.attrs[r]=i));return t.className=this.getClassName(),de._prepareToStringify(t)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,n,r){var i=[];n&&this._isMatch(t)&&i.push(this);for(var o=this.parent;o;){if(o===r)return i;o._isMatch(t)&&i.push(o),o=o.parent}return i}isAncestorOf(t){return!1}findAncestor(t,n,r){return this.findAncestors(t,n,r)[0]}_isMatch(t){if(!t)return!1;if(typeof t=="function")return t(this);var n=t.replace(/ /g,"").split(","),r=n.length,i,o;for(i=0;i{try{const i=t==null?void 0:t.callback;i&&delete t.callback,de._urlToImage(this.toDataURL(t),function(o){n(o),i==null||i(o)})}catch(i){r(i)}})}toBlob(t){return new Promise((n,r)=>{try{const i=t==null?void 0:t.callback;i&&delete t.callback,this.toCanvas(t).toBlob(o=>{n(o),i==null||i(o)})}catch(i){r(i)}})}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return this.attrs.dragDistance!==void 0?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():pt.dragDistance}_off(t,n,r){var i=this.eventListeners[t],o,a,s;for(o=0;o=0;if(r&&!this.isDragging()){var i=!1;vn._dragElements.forEach(o=>{this.isAncestorOf(o.node)&&(i=!0)}),i||this._createDragElement(t)}})}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const n=vn._dragElements.get(this._id),r=n&&n.dragStatus==="dragging",i=n&&n.dragStatus==="ready";r?this.stopDrag():i&&vn._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const n=this.getStage();if(!n)return!1;const r={x:-t.x,y:-t.y,width:n.width()+2*t.x,height:n.height()+2*t.y};return de.haveIntersection(r,this.getClientRect())}static create(t,n){return de._isString(t)&&(t=JSON.parse(t)),this._createNode(t,n)}static _createNode(t,n){var r=k8.prototype.getClassName.call(t),i=t.children,o,a,s;n&&(t.attrs.container=n),pt[r]||(de.warn('Can not find a node with class name "'+r+'". Fallback to "Shape".'),r="Shape");const l=pt[r];if(o=new l(t.attrs),i)for(a=i.length,s=0;s0}removeChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.remove()}),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach(t=>{t.parent=null,t.index=0,t.destroy()}),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var n=0;n0?n[0]:void 0}_generalFind(t,n){var r=[];return this._descendants(i=>{const o=i._isMatch(t);return o&&r.push(i),!!(o&&n)}),r}_descendants(t){let n=!1;const r=this.getChildren();for(const i of r){if(n=t(i),n)return!0;if(i.hasChildren()&&(n=i._descendants(t),n))return!0}return!1}toObject(){var t=Ze.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach(n=>{t.children.push(n.toObject())}),t}isAncestorOf(t){for(var n=t.getParent();n;){if(n._id===this._id)return!0;n=n.getParent()}return!1}clone(t){var n=Ze.prototype.clone.call(this,t);return this.getChildren().forEach(function(r){n.add(r.clone())}),n}getAllIntersections(t){var n=[];return this.find("Shape").forEach(function(r){r.isVisible()&&r.intersects(t)&&n.push(r)}),n}_clearSelfAndDescendantCache(t){var n;super._clearSelfAndDescendantCache(t),!this.isCached()&&((n=this.children)===null||n===void 0||n.forEach(function(r){r._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;(t=this.children)===null||t===void 0||t.forEach(function(n,r){n.index=r}),this._requestDraw()}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas(),o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.scene,l=i&&i.isCache;if(!this.isVisible()&&!l)return this;if(s){o.save();var u=this.getAbsoluteTransform(n).getMatrix();o.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",i,n);return this}drawHit(t,n){if(!this.shouldDrawHit(n))return this;var r=this.getLayer(),i=t||r&&r.hitCanvas,o=i&&i.getContext(),a=this._getCanvasCache(),s=a&&a.hit;if(s){o.save();var l=this.getAbsoluteTransform(n).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",i,n);return this}_drawChildren(t,n,r){var i,o=n&&n.getContext(),a=this.clipWidth(),s=this.clipHeight(),l=this.clipFunc(),u=a&&s||l;const d=r===this;if(u){o.save();var h=this.getAbsoluteTransform(r),m=h.getMatrix();if(o.transform(m[0],m[1],m[2],m[3],m[4],m[5]),o.beginPath(),l)l.call(this,o,this);else{var v=this.clipX(),b=this.clipY();o.rect(v,b,a,s)}o.clip(),m=h.copy().invert().getMatrix(),o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}var S=!d&&this.globalCompositeOperation()!=="source-over"&&t==="drawScene";S&&(o.save(),o._applyGlobalCompositeOperation(this)),(i=this.children)===null||i===void 0||i.forEach(function(k){k[t](n,r)}),S&&o.restore(),u&&o.restore()}getClientRect(t){var n;t=t||{};var r=t.skipTransform,i=t.relativeTo,o,a,s,l,u={x:1/0,y:1/0,width:0,height:0},d=this;(n=this.children)===null||n===void 0||n.forEach(function(S){if(S.visible()){var k=S.getClientRect({relativeTo:d,skipShadow:t.skipShadow,skipStroke:t.skipStroke});k.width===0&&k.height===0||(o===void 0?(o=k.x,a=k.y,s=k.x+k.width,l=k.y+k.height):(o=Math.min(o,k.x),a=Math.min(a,k.y),s=Math.max(s,k.x+k.width),l=Math.max(l,k.y+k.height)))}});for(var h=this.find("Shape"),m=!1,v=0;ve.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",Rg=e=>{const t=Ov(e);if(t==="pointer")return pt.pointerEventsEnabled&&PC.pointer;if(t==="touch")return PC.touch;if(t==="mouse")return PC.mouse};function YR(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&de.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const K7e="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",F4=[];let Hx=class extends Aa{constructor(t){super(YR(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),F4.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",()=>{YR(this.attrs)}),this._checkVisibility()}_validateAdd(t){const n=t.getType()==="Layer",r=t.getType()==="FastLayer";n||r||de.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===W7e){if(t.charAt(0)==="."){var n=t.slice(1);t=document.getElementsByClassName(n)[0]}else{var r;t.charAt(0)!=="#"?r=t:r=t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t=this.children,n=t.length,r;for(r=0;r-1&&F4.splice(n,1),de.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(de.warn(K7e),null)}_getPointerById(t){return this._pointerPositions.find(n=>n.id===t)}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var n=new Fm({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),r=n.getContext()._context,i=this.children;return(t.x||t.y)&&r.translate(-1*t.x,-1*t.y),i.forEach(function(o){if(o.isVisible()){var a=o._toKonvaCanvas(t);r.drawImage(a._canvas,t.x,t.y,a.getWidth()/a.getPixelRatio(),a.getHeight()/a.getPixelRatio())}}),n}getIntersection(t){if(!t)return null;var n=this.children,r=n.length,i=r-1,o;for(o=i;o>=0;o--){const a=n[o].getIntersection(t);if(a)return a}return null}_resizeDOM(){var t=this.width(),n=this.height();this.content&&(this.content.style.width=t+qR,this.content.style.height=n+qR),this.bufferCanvas.setSize(t,n),this.bufferHitCanvas.setSize(t,n),this.children.forEach(r=>{r.setSize({width:t,height:n}),r.draw()})}add(t,...n){if(arguments.length>1){for(var r=0;rq7e&&de.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),pt.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}getLayers(){return this.children}_bindContentEvents(){pt.isBrowser&&Y7e.forEach(([t,n])=>{this.content.addEventListener(t,r=>{this[n](r)},{passive:!1})})}_pointerenter(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const n=Rg(t.type);this._fire(n.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let n=this[t+"targetShape"];return n&&!n.getStage()&&(n=null),n}_pointerleave(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=this._getTargetShape(r),o=!vn.isDragging||pt.hitOnDragEnabled;i&&o?(i._fireAndBubble(n.pointerout,{evt:t}),i._fireAndBubble(n.pointerleave,{evt:t}),this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this[r+"targetShape"]=null):o&&(this._fire(n.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(n.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const n=Rg(t.type),r=Ov(t.type);if(n){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach(o=>{var a=this.getIntersection(o);if(vn.justDragged=!1,pt["_"+r+"ListenClick"]=!0,!(a&&a.isListening()))return;pt.capturePointerEventsEnabled&&a.setPointerCapture(o.id),this[r+"ClickStartShape"]=a,a._fireAndBubble(n.pointerdown,{evt:t,pointerId:o.id}),i=!0;const l=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&l&&t.preventDefault()}),i||this._fire(n.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;vn.isDragging&&vn.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!vn.isDragging||pt.hitOnDragEnabled;if(!i)return;var o={};let a=!1;var s=this._getTargetShape(r);this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l),d=l.id,h={evt:t,pointerId:d};var m=s!==u;if(m&&s&&(s._fireAndBubble(n.pointerout,Object.assign({},h),u),s._fireAndBubble(n.pointerleave,Object.assign({},h),u)),u){if(o[u._id])return;o[u._id]=!0}u&&u.isListening()?(a=!0,m&&(u._fireAndBubble(n.pointerover,Object.assign({},h),s),u._fireAndBubble(n.pointerenter,Object.assign({},h),s),this[r+"targetShape"]=u),u._fireAndBubble(n.pointermove,Object.assign({},h))):s&&(this._fire(n.pointerover,{evt:t,target:this,currentTarget:this,pointerId:d}),this[r+"targetShape"]=null)}),a||this._fire(n.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const n=Rg(t.type),r=Ov(t.type);if(!n)return;this.setPointersPositions(t);const i=this[r+"ClickStartShape"],o=this[r+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach(l=>{const u=EC(l.id)||this.getIntersection(l);if(u){if(u.releaseCapture(l.id),a[u._id])return;a[u._id]=!0}const d=l.id,h={evt:t,pointerId:d};let m=!1;pt["_"+r+"InDblClickWindow"]?(m=!0,clearTimeout(this[r+"DblTimeout"])):vn.justDragged||(pt["_"+r+"InDblClickWindow"]=!0,clearTimeout(this[r+"DblTimeout"])),this[r+"DblTimeout"]=setTimeout(function(){pt["_"+r+"InDblClickWindow"]=!1},pt.dblClickWindow),u&&u.isListening()?(s=!0,this[r+"ClickEndShape"]=u,u._fireAndBubble(n.pointerup,Object.assign({},h)),pt["_"+r+"ListenClick"]&&i&&i===u&&(u._fireAndBubble(n.pointerclick,Object.assign({},h)),m&&o&&o===u&&u._fireAndBubble(n.pointerdblclick,Object.assign({},h)))):(this[r+"ClickEndShape"]=null,pt["_"+r+"ListenClick"]&&this._fire(n.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:d}),m&&this._fire(n.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:d}))}),s||this._fire(n.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),pt["_"+r+"ListenClick"]=!1,t.cancelable&&r!=="touch"&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(E8,{evt:t}):this._fire(E8,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var n=this.getIntersection(this.getPointerPosition());n&&n.isListening()?n._fireAndBubble(P8,{evt:t}):this._fire(P8,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const n=EC(t.pointerId)||this.getIntersection(this.getPointerPosition());n&&n._fireAndBubble(um,vP(t)),a2(t.pointerId)}_lostpointercapture(t){a2(t.pointerId)}setPointersPositions(t){var n=this._getContentPosition(),r=null,i=null;t=t||window.event,t.touches!==void 0?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,o=>{this._pointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})}),Array.prototype.forEach.call(t.changedTouches||t.touches,o=>{this._changedPointerPositions.push({id:o.identifier,x:(o.clientX-n.left)/n.scaleX,y:(o.clientY-n.top)/n.scaleY})})):(r=(t.clientX-n.left)/n.scaleX,i=(t.clientY-n.top)/n.scaleY,this.pointerPos={x:r,y:i},this._pointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}],this._changedPointerPositions=[{x:r,y:i,id:de._getFirstPointerId(t)}])}_setPointerPosition(t){de.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new Fm({width:this.width(),height:this.height()}),this.bufferHitCanvas=new mP({pixelRatio:1,width:this.width(),height:this.height()}),!!pt.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return de.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach(function(t){t.batchDraw()}),this}};Hx.prototype.nodeType=V7e;Ar(Hx);ee.addGetterSetter(Hx,"container");var wG="hasShadow",CG="shadowRGBA",_G="patternImage",kG="linearGradient",EG="radialGradient";let Bb;function TC(){return Bb||(Bb=de.createCanvasElement().getContext("2d"),Bb)}const s2={};function X7e(e){e.fill()}function Z7e(e){e.stroke()}function Q7e(e){e.fill()}function J7e(e){e.stroke()}function e9e(){this._clearCache(wG)}function t9e(){this._clearCache(CG)}function n9e(){this._clearCache(_G)}function r9e(){this._clearCache(kG)}function i9e(){this._clearCache(EG)}class je extends Ze{constructor(t){super(t);let n;for(;n=de.getRandomColor(),!(n&&!(n in s2)););this.colorKey=n,s2[n]=this}getContext(){return de.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return de.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(wG,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&this.shadowOpacity()!==0&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(_G,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=TC();const n=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(n&&n.setTransform){const r=new ka;r.translate(this.fillPatternX(),this.fillPatternY()),r.rotate(pt.getAngle(this.fillPatternRotation())),r.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),r.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const i=r.getMatrix(),o=typeof DOMMatrix>"u"?{a:i[0],b:i[1],c:i[2],d:i[3],e:i[4],f:i[5]}:new DOMMatrix(i);n.setTransform(o)}return n}}_getLinearGradient(){return this._getCache(kG,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var n=TC(),r=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),o=n.createLinearGradient(r.x,r.y,i.x,i.y),a=0;athis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops()))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],()=>this.strokeEnabled()&&this.strokeWidth()&&!!(this.stroke()||this.strokeLinearGradientColorStops()))}hasHitStroke(){const t=this.hitStrokeWidth();return t==="auto"?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var n=this.getStage(),r=n.bufferHitCanvas,i;return r.getContext().clear(),this.drawHit(r,null,!0),i=r.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,i[3]>0}destroy(){return Ze.prototype.destroy.call(this),delete s2[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var n;if(!this.getStage()||!((n=this.attrs.perfectDrawEnabled)!==null&&n!==void 0?n:!0))return!1;const i=t||this.hasFill(),o=this.hasStroke(),a=this.getAbsoluteOpacity()!==1;if(i&&o&&a)return!0;const s=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(i&&o&&s&&l)}setStrokeHitEnabled(t){de.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return this.hitStrokeWidth()!==0}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const n=t.skipTransform,r=t.relativeTo,i=this.getSelfRect(),a=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,s=i.width+a,l=i.height+a,u=!t.skipShadow&&this.hasShadow(),d=u?this.shadowOffsetX():0,h=u?this.shadowOffsetY():0,m=s+Math.abs(d),v=l+Math.abs(h),b=u&&this.shadowBlur()||0,S=m+b*2,k=v+b*2,E={width:S,height:k,x:-(a/2+b)+Math.min(d,0)+i.x,y:-(a/2+b)+Math.min(h,0)+i.y};return n?E:this._transformedRect(E,r)}drawScene(t,n){var r=this.getLayer(),i=t||r.getCanvas(),o=i.getContext(),a=this._getCanvasCache(),s=this.getSceneFunc(),l=this.hasShadow(),u,d,h,m=i.isCache,v=n===this;if(!this.isVisible()&&!v)return this;if(a){o.save();var b=this.getAbsoluteTransform(n).getMatrix();return o.transform(b[0],b[1],b[2],b[3],b[4],b[5]),this._drawCachedSceneCanvas(o),o.restore(),this}if(!s)return this;if(o.save(),this._useBufferCanvas()&&!m){u=this.getStage(),d=u.bufferCanvas,h=d.getContext(),h.clear(),h.save(),h._applyLineJoin(this);var S=this.getAbsoluteTransform(n).getMatrix();h.transform(S[0],S[1],S[2],S[3],S[4],S[5]),s.call(this,h,this),h.restore();var k=d.pixelRatio;l&&o._applyShadow(this),o._applyOpacity(this),o._applyGlobalCompositeOperation(this),o.drawImage(d._canvas,0,0,d.width/k,d.height/k)}else{if(o._applyLineJoin(this),!v){var S=this.getAbsoluteTransform(n).getMatrix();o.transform(S[0],S[1],S[2],S[3],S[4],S[5]),o._applyOpacity(this),o._applyGlobalCompositeOperation(this)}l&&o._applyShadow(this),s.call(this,o,this)}return o.restore(),this}drawHit(t,n,r=!1){if(!this.shouldDrawHit(n,r))return this;var i=this.getLayer(),o=t||i.hitCanvas,a=o&&o.getContext(),s=this.hitFunc()||this.sceneFunc(),l=this._getCanvasCache(),u=l&&l.hit;if(this.colorKey||de.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),u){a.save();var d=this.getAbsoluteTransform(n).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),a._applyLineJoin(this),!(this===n)){var m=this.getAbsoluteTransform(n).getMatrix();a.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return s.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var n=this._getCanvasCache(),r=this._getCachedSceneCanvas(),i=n.hit,o=i.getContext(),a=i.getWidth(),s=i.getHeight(),l,u,d,h,m,v;o.clear(),o.drawImage(r._canvas,0,0,a,s);try{for(l=o.getImageData(0,0,a,s),u=l.data,d=u.length,h=de._hexToRgb(this.colorKey),m=0;mt?(u[m]=h.r,u[m+1]=h.g,u[m+2]=h.b,u[m+3]=255):u[m+3]=0;o.putImageData(l,0,0)}catch(b){de.error("Unable to draw hit graph from cached scene canvas. "+b.message)}return this}hasPointerCapture(t){return cG(t,this)}setPointerCapture(t){dG(t,this)}releaseCapture(t){a2(t)}}je.prototype._fillFunc=X7e;je.prototype._strokeFunc=Z7e;je.prototype._fillFuncHit=Q7e;je.prototype._strokeFuncHit=J7e;je.prototype._centroid=!1;je.prototype.nodeType="Shape";Ar(je);je.prototype.eventListeners={};je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",e9e);je.prototype.on.call(je.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",t9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",n9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",r9e);je.prototype.on.call(je.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",i9e);ee.addGetterSetter(je,"stroke",void 0,lG());ee.addGetterSetter(je,"strokeWidth",2,qe());ee.addGetterSetter(je,"fillAfterStrokeEnabled",!1);ee.addGetterSetter(je,"hitStrokeWidth","auto",gP());ee.addGetterSetter(je,"strokeHitEnabled",!0,nl());ee.addGetterSetter(je,"perfectDrawEnabled",!0,nl());ee.addGetterSetter(je,"shadowForStrokeEnabled",!0,nl());ee.addGetterSetter(je,"lineJoin");ee.addGetterSetter(je,"lineCap");ee.addGetterSetter(je,"sceneFunc");ee.addGetterSetter(je,"hitFunc");ee.addGetterSetter(je,"dash");ee.addGetterSetter(je,"dashOffset",0,qe());ee.addGetterSetter(je,"shadowColor",void 0,P0());ee.addGetterSetter(je,"shadowBlur",0,qe());ee.addGetterSetter(je,"shadowOpacity",1,qe());ee.addComponentsGetterSetter(je,"shadowOffset",["x","y"]);ee.addGetterSetter(je,"shadowOffsetX",0,qe());ee.addGetterSetter(je,"shadowOffsetY",0,qe());ee.addGetterSetter(je,"fillPatternImage");ee.addGetterSetter(je,"fill",void 0,lG());ee.addGetterSetter(je,"fillPatternX",0,qe());ee.addGetterSetter(je,"fillPatternY",0,qe());ee.addGetterSetter(je,"fillLinearGradientColorStops");ee.addGetterSetter(je,"strokeLinearGradientColorStops");ee.addGetterSetter(je,"fillRadialGradientStartRadius",0);ee.addGetterSetter(je,"fillRadialGradientEndRadius",0);ee.addGetterSetter(je,"fillRadialGradientColorStops");ee.addGetterSetter(je,"fillPatternRepeat","repeat");ee.addGetterSetter(je,"fillEnabled",!0);ee.addGetterSetter(je,"strokeEnabled",!0);ee.addGetterSetter(je,"shadowEnabled",!0);ee.addGetterSetter(je,"dashEnabled",!0);ee.addGetterSetter(je,"strokeScaleEnabled",!0);ee.addGetterSetter(je,"fillPriority","color");ee.addComponentsGetterSetter(je,"fillPatternOffset",["x","y"]);ee.addGetterSetter(je,"fillPatternOffsetX",0,qe());ee.addGetterSetter(je,"fillPatternOffsetY",0,qe());ee.addComponentsGetterSetter(je,"fillPatternScale",["x","y"]);ee.addGetterSetter(je,"fillPatternScaleX",1,qe());ee.addGetterSetter(je,"fillPatternScaleY",1,qe());ee.addComponentsGetterSetter(je,"fillLinearGradientStartPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientStartPointX",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointX",0);ee.addGetterSetter(je,"fillLinearGradientStartPointY",0);ee.addGetterSetter(je,"strokeLinearGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillLinearGradientEndPoint",["x","y"]);ee.addComponentsGetterSetter(je,"strokeLinearGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillLinearGradientEndPointX",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointX",0);ee.addGetterSetter(je,"fillLinearGradientEndPointY",0);ee.addGetterSetter(je,"strokeLinearGradientEndPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientStartPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientStartPointX",0);ee.addGetterSetter(je,"fillRadialGradientStartPointY",0);ee.addComponentsGetterSetter(je,"fillRadialGradientEndPoint",["x","y"]);ee.addGetterSetter(je,"fillRadialGradientEndPointX",0);ee.addGetterSetter(je,"fillRadialGradientEndPointY",0);ee.addGetterSetter(je,"fillPatternRotation",0);ee.backCompat(je,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var o9e="#",a9e="beforeDraw",s9e="draw",PG=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],l9e=PG.length;let dp=class extends Aa{constructor(t){super(t),this.canvas=new Fm,this.hitCanvas=new mP({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var n=this.getStage();return n&&n.content&&(n.content.removeChild(this.getNativeCanvasElement()),t{this.draw(),this._waitingForDraw=!1})),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;for(var n=1,r=!1;;){for(let i=0;i0)return{antialiased:!0};return{}}drawScene(t,n){var r=this.getLayer(),i=t||r&&r.getCanvas();return this._fire(a9e,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Aa.prototype.drawScene.call(this,i,n),this._fire(s9e,{node:this}),this}drawHit(t,n){var r=this.getLayer(),i=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),Aa.prototype.drawHit.call(this,i,n),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return de.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(!(!this.parent||!this.parent.content)){var t=this.parent,n=!!this.hitCanvas._canvas.parentNode;n?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}destroy(){return de.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}};dp.prototype.nodeType="Layer";Ar(dp);ee.addGetterSetter(dp,"imageSmoothingEnabled",!0);ee.addGetterSetter(dp,"clearBeforeDraw",!0);ee.addGetterSetter(dp,"hitGraphEnabled",!0,nl());class yP extends dp{constructor(t){super(t),this.listening(!1),de.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}yP.prototype.nodeType="FastLayer";Ar(yP);let i0=class extends Aa{_validateAdd(t){var n=t.getType();n!=="Group"&&n!=="Shape"&&de.throw("You may only add groups and shapes to groups.")}};i0.prototype.nodeType="Group";Ar(i0);var LC=function(){return $m.performance&&$m.performance.now?function(){return $m.performance.now()}:function(){return new Date().getTime()}}();class ts{constructor(t,n){this.id=ts.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:LC(),frameRate:0},this.func=t,this.setLayers(n)}setLayers(t){var n=[];return t?t.length>0?n=t:n=[t]:n=[],this.layers=n,this}getLayers(){return this.layers}addLayer(t){var n=this.layers,r=n.length,i;for(i=0;ithis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return t===void 0&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=KR,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=XR,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===KR?this.setTime(t):this.state===XR&&this.setTime(this.duration-t)}pause(){this.state=c9e,this.fire("onPause")}getTimer(){return new Date().getTime()}}class Xr{constructor(t){var n=this,r=t.node,i=r._id,o,a=t.easing||l2.Linear,s=!!t.yoyo,l;typeof t.duration>"u"?o=.3:t.duration===0?o=.001:o=t.duration,this.node=r,this._id=d9e++;var u=r.getLayer()||(r instanceof pt.Stage?r.getLayers():null);u||de.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new ts(function(){n.tween.onEnterFrame()},u),this.tween=new f9e(l,function(d){n._tweenFunc(d)},a,0,1,o*1e3,s),this._addListeners(),Xr.attrs[i]||(Xr.attrs[i]={}),Xr.attrs[i][this._id]||(Xr.attrs[i][this._id]={}),Xr.tweens[i]||(Xr.tweens[i]={});for(l in t)u9e[l]===void 0&&this._addAttr(l,t[l]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,n){var r=this.node,i=r._id,o,a,s,l,u,d,h,m;if(s=Xr.tweens[i][t],s&&delete Xr.attrs[i][s][t],o=r.getAttr(t),de._isArray(n))if(a=[],u=Math.max(n.length,o.length),t==="points"&&n.length!==o.length&&(n.length>o.length?(h=o,o=de._prepareArrayForTween(o,n,r.closed())):(d=n,n=de._prepareArrayForTween(n,o,r.closed()))),t.indexOf("fill")===0)for(l=0;l{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueEnd&&t.setAttr("points",n.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,n=Xr.attrs[t._id][this._id];n.points&&n.points.trueStart&&t.points(n.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(t*1e3),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t=this.node._id,n=this._id,r=Xr.tweens[t],i;this.pause();for(i in r)delete Xr.tweens[t][i];delete Xr.attrs[t][n]}}Xr.attrs={};Xr.tweens={};Ze.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()};var n=new Xr(e);n.play()};const l2={BackEaseIn(e,t,n,r){var i=1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},BackEaseOut(e,t,n,r){var i=1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*(((i*=1.525)+1)*e-i))+t:n/2*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return e===0?t:(e/=r)===1?t+n:(o||(o=r*.3),!i||i0?t:n),d=a*n,h=s*(s>0?t:n),m=l*(l>0?n:t);return{x:u,y:r?-1*m:h,width:d-u,height:m-h}}}cc.prototype._centroid=!0;cc.prototype.className="Arc";cc.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(cc);ee.addGetterSetter(cc,"innerRadius",0,qe());ee.addGetterSetter(cc,"outerRadius",0,qe());ee.addGetterSetter(cc,"angle",0,qe());ee.addGetterSetter(cc,"clockwise",!1,nl());function T8(e,t,n,r,i,o,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(i-n,2)+Math.pow(o-r,2)),u=a*s/(s+l),d=a*l/(s+l),h=n-u*(i-e),m=r-u*(o-t),v=n+d*(i-e),b=r+d*(o-t);return[h,m,v,b]}function QR(e,t){var n=e.length,r=[],i,o;for(i=2;i4){for(s=this.getTensionPoints(),l=s.length,u=o?0:4,o||t.quadraticCurveTo(s[0],s[1],s[2],s[3]);ud?u:d,k=u>d?1:u/d,E=u>d?d/u:1;t.translate(s,l),t.rotate(v),t.scale(k,E),t.arc(0,0,S,h,h+m,1-b),t.scale(1/k,1/E),t.rotate(-v),t.translate(-s,-l);break;case"z":r=!0,t.closePath();break}}!r&&!this.hasFill()?t.strokeShape(this):t.fillStrokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach(function(u){if(u.command==="A"){var d=u.points[4],h=u.points[5],m=u.points[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;b-=v){const S=zn.getPointOnEllipticalArc(u.points[0],u.points[1],u.points[2],u.points[3],b,0);t.push(S.x,S.y)}else for(let b=d+v;bthis.dataArray[r].pathLength;)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return zn.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return zn.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return zn.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],l=a[1],u=a[2],d=a[3],h=a[4],m=a[5],v=a[6];return h+=m*t/o.pathLength,zn.getPointOnEllipticalArc(s,l,u,d,h,v)}return null}static getLineLength(t,n,r,i){return Math.sqrt((r-t)*(r-t)+(i-n)*(i-n))}static getPointOnLine(t,n,r,i,o,a,s){a===void 0&&(a=n),s===void 0&&(s=r);var l=(o-r)/(i-n+1e-8),u=Math.sqrt(t*t/(1+l*l));i0&&!isNaN(b[0]);){var _=null,T=[],A=l,I=u,R,D,j,z,V,K,te,q,$,U;switch(v){case"l":l+=b.shift(),u+=b.shift(),_="L",T.push(l,u);break;case"L":l=b.shift(),u=b.shift(),T.push(l,u);break;case"m":var X=b.shift(),Z=b.shift();if(l+=X,u+=Z,_="M",a.length>2&&a[a.length-1].command==="z"){for(var W=a.length-2;W>=0;W--)if(a[W].command==="M"){l=a[W].points[0]+X,u=a[W].points[1]+Z;break}}T.push(l,u),v="l";break;case"M":l=b.shift(),u=b.shift(),_="M",T.push(l,u),v="L";break;case"h":l+=b.shift(),_="L",T.push(l,u);break;case"H":l=b.shift(),_="L",T.push(l,u);break;case"v":u+=b.shift(),_="L",T.push(l,u);break;case"V":u=b.shift(),_="L",T.push(l,u);break;case"C":T.push(b.shift(),b.shift(),b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"c":T.push(l+b.shift(),u+b.shift(),l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"S":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,b.shift(),b.shift()),l=b.shift(),u=b.shift(),_="C",T.push(l,u);break;case"s":D=l,j=u,R=a[a.length-1],R.command==="C"&&(D=l+(l-R.points[2]),j=u+(u-R.points[3])),T.push(D,j,l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="C",T.push(l,u);break;case"Q":T.push(b.shift(),b.shift()),l=b.shift(),u=b.shift(),T.push(l,u);break;case"q":T.push(l+b.shift(),u+b.shift()),l+=b.shift(),u+=b.shift(),_="Q",T.push(l,u);break;case"T":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l=b.shift(),u=b.shift(),_="Q",T.push(D,j,l,u);break;case"t":D=l,j=u,R=a[a.length-1],R.command==="Q"&&(D=l+(l-R.points[0]),j=u+(u-R.points[1])),l+=b.shift(),u+=b.shift(),_="Q",T.push(D,j,l,u);break;case"A":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l=b.shift(),u=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break;case"a":z=b.shift(),V=b.shift(),K=b.shift(),te=b.shift(),q=b.shift(),$=l,U=u,l+=b.shift(),u+=b.shift(),_="A",T=this.convertEndpointToCenterParameterization($,U,l,u,te,q,z,V,K);break}a.push({command:_||v,points:T,start:{x:A,y:I},pathLength:this.calcLength(A,I,_||v,T)})}(v==="z"||v==="Z")&&a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(t,n,r,i){var o,a,s,l,u=zn;switch(r){case"L":return u.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=u.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),l=.01;l<=1;l+=.01)s=u.getPointOnCubicBezier(l,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=u.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),l=.01;l<=1;l+=.01)s=u.getPointOnQuadraticBezier(l,t,n,i[0],i[1],i[2],i[3]),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var d=i[4],h=i[5],m=i[4]+h,v=Math.PI/180;if(Math.abs(d-m)m;l-=v)s=u.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),o+=u.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(l=d+v;l1&&(s*=Math.sqrt(v),l*=Math.sqrt(v));var b=Math.sqrt((s*s*(l*l)-s*s*(m*m)-l*l*(h*h))/(s*s*(m*m)+l*l*(h*h)));o===a&&(b*=-1),isNaN(b)&&(b=0);var S=b*s*m/l,k=b*-l*h/s,E=(t+r)/2+Math.cos(d)*S-Math.sin(d)*k,_=(n+i)/2+Math.sin(d)*S+Math.cos(d)*k,T=function(V){return Math.sqrt(V[0]*V[0]+V[1]*V[1])},A=function(V,K){return(V[0]*K[0]+V[1]*K[1])/(T(V)*T(K))},I=function(V,K){return(V[0]*K[1]=1&&(z=0),a===0&&z>0&&(z=z-2*Math.PI),a===1&&z<0&&(z=z+2*Math.PI),[E,_,s,l,R,z,d,a]}}zn.prototype.className="Path";zn.prototype._attrsAffectingSize=["data"];Ar(zn);ee.addGetterSetter(zn,"data");class fp extends dc{_sceneFunc(t){super._sceneFunc(t);var n=Math.PI*2,r=this.points(),i=r,o=this.tension()!==0&&r.length>4;o&&(i=this.getTensionPoints());var a=this.pointerLength(),s=r.length,l,u;if(o){const m=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],r[s-2],r[s-1]],v=zn.calcLength(i[i.length-4],i[i.length-3],"C",m),b=zn.getPointOnQuadraticBezier(Math.min(1,1-a/v),m[0],m[1],m[2],m[3],m[4],m[5]);l=r[s-2]-b.x,u=r[s-1]-b.y}else l=r[s-2]-r[s-4],u=r[s-1]-r[s-3];var d=(Math.atan2(u,l)+n)%n,h=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(r[s-2],r[s-1]),t.rotate(d),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(r[0],r[1]),o?(l=(i[0]+i[2])/2-r[0],u=(i[1]+i[3])/2-r[1]):(l=r[2]-r[0],u=r[3]-r[1]),t.rotate((Math.atan2(-u,-l)+n)%n),t.moveTo(0,0),t.lineTo(-a,h/2),t.lineTo(-a,-h/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var n=this.dashEnabled();n&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),n&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),n=this.pointerWidth()/2;return{x:t.x-n,y:t.y-n,width:t.width+n*2,height:t.height+n*2}}}fp.prototype.className="Arrow";Ar(fp);ee.addGetterSetter(fp,"pointerLength",10,qe());ee.addGetterSetter(fp,"pointerWidth",10,qe());ee.addGetterSetter(fp,"pointerAtBeginning",!1);ee.addGetterSetter(fp,"pointerAtEnding",!0);let T0=class extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,Math.PI*2,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}};T0.prototype._centroid=!0;T0.prototype.className="Circle";T0.prototype._attrsAffectingSize=["radius"];Ar(T0);ee.addGetterSetter(T0,"radius",0,qe());class ff extends je{_sceneFunc(t){var n=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),n!==r&&t.scale(1,r/n),t.arc(0,0,n,0,Math.PI*2,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radiusX()*2}getHeight(){return this.radiusY()*2}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}ff.prototype.className="Ellipse";ff.prototype._centroid=!0;ff.prototype._attrsAffectingSize=["radiusX","radiusY"];Ar(ff);ee.addComponentsGetterSetter(ff,"radius",["x","y"]);ee.addGetterSetter(ff,"radiusX",0,qe());ee.addGetterSetter(ff,"radiusY",0,qe());let fc=class TG extends je{constructor(t){super(t),this.on("imageChange.konva",()=>{this._setImageLoad()}),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&t.readyState===4||t&&t.addEventListener&&t.addEventListener("load",()=>{this._requestDraw()})}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const n=this.getWidth(),r=this.getHeight(),i=this.attrs.image;let o;if(i){const a=this.attrs.cropWidth,s=this.attrs.cropHeight;a&&s?o=[i,this.cropX(),this.cropY(),a,s,0,0,n,r]:o=[i,0,0,n,r]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,o)}_hitFunc(t){var n=this.width(),r=this.height();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,n;return(t=this.attrs.width)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.width}getHeight(){var t,n;return(t=this.attrs.height)!==null&&t!==void 0?t:(n=this.image())===null||n===void 0?void 0:n.height}static fromURL(t,n,r=null){var i=de.createImageElement();i.onload=function(){var o=new TG({image:i});n(o)},i.onerror=r,i.crossOrigin="Anonymous",i.src=t}};fc.prototype.className="Image";Ar(fc);ee.addGetterSetter(fc,"image");ee.addComponentsGetterSetter(fc,"crop",["x","y","width","height"]);ee.addGetterSetter(fc,"cropX",0,qe());ee.addGetterSetter(fc,"cropY",0,qe());ee.addGetterSetter(fc,"cropWidth",0,qe());ee.addGetterSetter(fc,"cropHeight",0,qe());var LG=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],h9e="Change.konva",p9e="none",L8="up",A8="right",O8="down",M8="left",g9e=LG.length;class bP extends i0{constructor(t){super(t),this.on("add.konva",function(n){this._addListeners(n.child),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var n=this,r,i=function(){n._sync()};for(r=0;r{n=Math.min(n,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),{x:n,y:i,width:r-n,height:o-i}}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}pp.prototype.className="RegularPolygon";pp.prototype._centroid=!0;pp.prototype._attrsAffectingSize=["radius"];Ar(pp);ee.addGetterSetter(pp,"radius",0,qe());ee.addGetterSetter(pp,"sides",0,qe());var JR=Math.PI*2;class gp extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,JR,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),JR,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.outerRadius()*2}getHeight(){return this.outerRadius()*2}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}gp.prototype.className="Ring";gp.prototype._centroid=!0;gp.prototype._attrsAffectingSize=["innerRadius","outerRadius"];Ar(gp);ee.addGetterSetter(gp,"innerRadius",0,qe());ee.addGetterSetter(gp,"outerRadius",0,qe());class gu extends je{constructor(t){super(t),this._updated=!0,this.anim=new ts(()=>{var n=this._updated;return this._updated=!1,n}),this.on("animationChange.konva",function(){this.frameIndex(0)}),this.on("frameIndexChange.konva",function(){this._updated=!0}),this.on("frameRateChange.konva",function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})}_sceneFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+0],l=o[i+1],u=o[i+2],d=o[i+3],h=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,u,d),t.closePath(),t.fillStrokeShape(this)),h)if(a){var m=a[n],v=r*2;t.drawImage(h,s,l,u,d,m[v+0],m[v+1],u,d)}else t.drawImage(h,s,l,u,d,0,0,u,d)}_hitFunc(t){var n=this.animation(),r=this.frameIndex(),i=r*4,o=this.animations()[n],a=this.frameOffsets(),s=o[i+2],l=o[i+3];if(t.beginPath(),a){var u=a[n],d=r*2;t.rect(u[d+0],u[d+1],s,l)}else t.rect(0,0,s,l);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval(function(){t._updateIndex()},1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),n=this.animation(),r=this.animations(),i=r[n],o=i.length/4;t{t=t.trim();const n=t.indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return n&&!r&&(t=`"${t}"`),t}).join(", ")}var Fb;function OC(){return Fb||(Fb=de.createCanvasElement().getContext(y9e),Fb)}function L9e(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)}function A9e(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function O9e(e){return e=e||{},!e.fillLinearGradientColorStops&&!e.fillRadialGradientColorStops&&!e.fillPatternImage&&(e.fill=e.fill||"black"),e}class Lr extends je{constructor(t){super(O9e(t)),this._partialTextX=0,this._partialTextY=0;for(var n=0;n1&&(E+=a)}}}_hitFunc(t){var n=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,n,r),t.closePath(),t.fillStrokeShape(this)}setText(t){var n=de._isString(t)?t:t==null?"":t+"";return this._setAttr(b9e,n),this}getWidth(){var t=this.attrs.width===Dg||this.attrs.width===void 0;return t?this.getTextWidth()+this.padding()*2:this.attrs.width}getHeight(){var t=this.attrs.height===Dg||this.attrs.height===void 0;return t?this.fontSize()*this.textArr.length*this.lineHeight()+this.padding()*2:this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return de.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var n=OC(),r=this.fontSize(),i;return n.save(),n.font=this._getContextFont(),i=n.measureText(t),n.restore(),{width:i.width,height:r}}_getContextFont(){return this.fontStyle()+$b+this.fontVariant()+$b+(this.fontSize()+C9e)+T9e(this.fontFamily())}_addTextLine(t){this.align()===cv&&(t=t.trim());var n=this._getTextWidth(t);return this.textArr.push({text:t,width:n,lastInParagraph:!1})}_getTextWidth(t){var n=this.letterSpacing(),r=t.length;return OC().measureText(t).width+(r?n*(r-1):0)}_setTextData(){var t=this.text().split(` +`),n=+this.fontSize(),r=0,i=this.lineHeight()*n,o=this.attrs.width,a=this.attrs.height,s=o!==Dg&&o!==void 0,l=a!==Dg&&a!==void 0,u=this.padding(),d=o-u*2,h=a-u*2,m=0,v=this.wrap(),b=v!==nD,S=v!==E9e&&b,k=this.ellipsis();this.textArr=[],OC().font=this._getContextFont();for(var E=k?this._getTextWidth(AC):0,_=0,T=t.length;_d)for(;A.length>0;){for(var R=0,D=A.length,j="",z=0;R>>1,K=A.slice(0,V+1),te=this._getTextWidth(K)+E;te<=d?(R=V+1,j=K,z=te):D=V}if(j){if(S){var q,$=A[j.length],U=$===$b||$===eD;U&&z<=d?q=j.length:q=Math.max(j.lastIndexOf($b),j.lastIndexOf(eD))+1,q>0&&(R=q,j=j.slice(0,R),z=this._getTextWidth(j))}j=j.trimRight(),this._addTextLine(j),r=Math.max(r,z),m+=i;var X=this._shouldHandleEllipsis(m);if(X){this._tryToAddEllipsisToLastLine();break}if(A=A.slice(R),A=A.trimLeft(),A.length>0&&(I=this._getTextWidth(A),I<=d)){this._addTextLine(A),m+=i,r=Math.max(r,I);break}}else break}else this._addTextLine(A),m+=i,r=Math.max(r,I),this._shouldHandleEllipsis(m)&&_h)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=n,this.textWidth=r}_shouldHandleEllipsis(t){var n=+this.fontSize(),r=this.lineHeight()*n,i=this.attrs.height,o=i!==Dg&&i!==void 0,a=this.padding(),s=i-a*2,l=this.wrap(),u=l!==nD;return!u||o&&t+r>s}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,n=t!==Dg&&t!==void 0,r=this.padding(),i=t-r*2,o=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(!(!a||!o)){if(n){var s=this._getTextWidth(a.text+AC)=1){var r=n[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i0&&(s+=t.dataArray[l].pathLength);var u=0;i==="center"&&(u=Math.max(0,s/2-a/2)),i==="right"&&(u=Math.max(0,s-a));for(var d=AG(this.text()),h=this.text().split(" ").length-1,m,v,b,S=-1,k=0,E=function(){k=0;for(var te=t.dataArray,q=S+1;q0)return S=q,te[q];te[q].command==="M"&&(m={x:te[q].points[0],y:te[q].points[1]})}return{}},_=function(te){var q=t._getTextSize(te).width+r;te===" "&&i==="justify"&&(q+=(s-a)/h);var $=0,U=0;for(v=void 0;Math.abs(q-$)/q>.01&&U<20;){U++;for(var X=$;b===void 0;)b=E(),b&&X+b.pathLengthq?v=zn.getPointOnLine(q,m.x,m.y,b.points[0],b.points[1],m.x,m.y):b=void 0;break;case"A":var W=b.points[4],Q=b.points[5],ie=b.points[4]+Q;k===0?k=W+1e-8:q>$?k+=Math.PI/180*Q/Math.abs(Q):k-=Math.PI/360*Q/Math.abs(Q),(Q<0&&k=0&&k>ie)&&(k=ie,Z=!0),v=zn.getPointOnEllipticalArc(b.points[0],b.points[1],b.points[2],b.points[3],k,b.points[6]);break;case"C":k===0?q>b.pathLength?k=1e-8:k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength/2:k=Math.max(k-($-q)/b.pathLength/2,0),k>1&&(k=1,Z=!0),v=zn.getPointOnCubicBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3],b.points[4],b.points[5]);break;case"Q":k===0?k=q/b.pathLength:q>$?k+=(q-$)/b.pathLength:k-=($-q)/b.pathLength,k>1&&(k=1,Z=!0),v=zn.getPointOnQuadraticBezier(k,b.start.x,b.start.y,b.points[0],b.points[1],b.points[2],b.points[3]);break}v!==void 0&&($=zn.getLineLength(m.x,m.y,v.x,v.y)),Z&&(Z=!1,b=void 0)}},T="C",A=t._getTextSize(T).width+r,I=u/A-1,R=0;Re+`.${jG}`).join(" "),rD="nodesRect",R9e=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],D9e={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const N9e="ontouchstart"in pt._global;function j9e(e,t){if(e==="rotater")return"crosshair";t+=de.degToRad(D9e[e]||0);var n=(de.radToDeg(t)%360+360)%360;return de._inRange(n,315+22.5,360)||de._inRange(n,0,22.5)?"ns-resize":de._inRange(n,45-22.5,45+22.5)?"nesw-resize":de._inRange(n,90-22.5,90+22.5)?"ew-resize":de._inRange(n,135-22.5,135+22.5)?"nwse-resize":de._inRange(n,180-22.5,180+22.5)?"ns-resize":de._inRange(n,225-22.5,225+22.5)?"nesw-resize":de._inRange(n,270-22.5,270+22.5)?"ew-resize":de._inRange(n,315-22.5,315+22.5)?"nwse-resize":(de.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var J5=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],iD=1e8;function B9e(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}function BG(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),i=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:i})}function $9e(e,t){const n=B9e(e);return BG(e,t,n)}function F9e(e,t,n){let r=t;for(let i=0;i{const i=()=>{this.nodes().length===1&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),!this._transforming&&!this.isDragging()&&this.update()},o=r._attrsAffectingSize.map(a=>a+"Change."+this._getEventNamespace()).join(" ");r.on(o,i),r.on(R9e.map(a=>a+`.${this._getEventNamespace()}`).join(" "),i),r.on(`absoluteTransformChange.${this._getEventNamespace()}`,i),this._proxyDrag(r)}),this._resetTransformCache();var n=!!this.findOne(".top-left");return n&&this.update(),this}_proxyDrag(t){let n;t.on(`dragstart.${this._getEventNamespace()}`,r=>{n=t.getAbsolutePosition(),!this.isDragging()&&t!==this.findOne(".back")&&this.startDrag(r,!1)}),t.on(`dragmove.${this._getEventNamespace()}`,r=>{if(!n)return;const i=t.getAbsolutePosition(),o=i.x-n.x,a=i.y-n.y;this.nodes().forEach(s=>{if(s===t||s.isDragging())return;const l=s.getAbsolutePosition();s.setAbsolutePosition({x:l.x+o,y:l.y+a}),s.startDrag(r)}),n=null})}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach(t=>{t.off("."+this._getEventNamespace())}),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(rD),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(rD,this.__getNodeRect)}__getNodeShape(t,n=this.rotation(),r){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=t.getAbsoluteScale(r),a=t.getAbsolutePosition(r),s=i.x*o.x-t.offsetX()*o.x,l=i.y*o.y-t.offsetY()*o.y;const u=(pt.getAngle(t.getAbsoluteRotation())+Math.PI*2)%(Math.PI*2),d={x:a.x+s*Math.cos(u)+l*Math.sin(-u),y:a.y+l*Math.cos(u)+s*Math.sin(u),width:i.width*o.x,height:i.height*o.y,rotation:u};return BG(d,-pt.getAngle(n),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-iD,y:-iD,width:0,height:0,rotation:0};const n=[];this.nodes().map(u=>{const d=u.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var h=[{x:d.x,y:d.y},{x:d.x+d.width,y:d.y},{x:d.x+d.width,y:d.y+d.height},{x:d.x,y:d.y+d.height}],m=u.getAbsoluteTransform();h.forEach(function(v){var b=m.point(v);n.push(b)})});const r=new ka;r.rotate(-pt.getAngle(this.rotation()));var i,o,a,s;n.forEach(function(u){var d=r.point(u);i===void 0&&(i=a=d.x,o=s=d.y),i=Math.min(i,d.x),o=Math.min(o,d.y),a=Math.max(a,d.x),s=Math.max(s,d.y)}),r.invert();const l=r.point({x:i,y:o});return{x:l.x,y:l.y,width:a-i,height:s-o,rotation:pt.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),J5.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var n=new By({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:N9e?10:"auto"}),r=this;n.on("mousedown touchstart",function(i){r._handleMouseDown(i)}),n.on("dragstart",i=>{n.stopDrag(),i.cancelBubble=!0}),n.on("dragend",i=>{i.cancelBubble=!0}),n.on("mouseenter",()=>{var i=pt.getAngle(this.rotation()),o=j9e(t,i);n.getStage().content&&(n.getStage().content.style.cursor=o),this._cursorChange=!0}),n.on("mouseout",()=>{n.getStage().content&&(n.getStage().content.style.cursor=""),this._cursorChange=!1}),this.add(n)}_createBack(){var t=new je({name:"back",width:0,height:0,draggable:!0,sceneFunc(n){var r=this.getParent(),i=r.padding();n.beginPath(),n.rect(-i,-i,this.width()+i*2,this.height()+i*2),n.moveTo(this.width()/2,-i),r.rotateEnabled()&&n.lineTo(this.width()/2,-r.rotateAnchorOffset()*de._sign(this.height())-i),n.fillStrokeShape(this)},hitFunc:(n,r)=>{if(this.shouldOverdrawWholeArea()){var i=this.padding();n.beginPath(),n.rect(-i,-i,r.width()+i*2,r.height()+i*2),n.fillStrokeShape(r)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",n=>{n.cancelBubble=!0}),t.on("dragmove",n=>{n.cancelBubble=!0}),t.on("dragend",n=>{n.cancelBubble=!0}),this.on("dragmove",n=>{this.update()})}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var n=this._getNodeRect(),r=n.width,i=n.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(i,2));this.sin=Math.abs(i/o),this.cos=Math.abs(r/o),typeof window<"u"&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),s=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:s.x-a.x,y:s.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach(l=>{l._fire("transformstart",{evt:t.evt,target:l})})}_handleMouseMove(t){var n,r,i,o=this.findOne("."+this._movingAnchorName),a=o.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let l={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const u=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(u,l,t)),o.setAbsolutePosition(l);const d=o.getAbsolutePosition();if(!(u.x===d.x&&u.y===d.y)){if(this._movingAnchorName==="rotater"){var h=this._getNodeRect();n=o.x()-h.width/2,r=-o.y()+h.height/2;let te=Math.atan2(-r,n)+Math.PI/2;h.height<0&&(te-=Math.PI);var m=pt.getAngle(this.rotation());const q=m+te,$=pt.getAngle(this.rotationSnapTolerance()),X=F9e(this.rotationSnaps(),q,$)-h.rotation,Z=$9e(h,X);this._fitNodesInto(Z,t);return}var v=this.keepRatio()||t.shiftKey,_=this.centeredScaling()||t.altKey;if(this._movingAnchorName==="top-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-left").x()>b.x?-1:1,k=this.findOne(".top-left").y()>b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-left").x(b.x-n),this.findOne(".top-left").y(b.y-r)}}else if(this._movingAnchorName==="top-center")this.findOne(".top-left").y(o.y());else if(this._movingAnchorName==="top-right"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(o.x()-b.x,2)+Math.pow(b.y-o.y(),2));var S=this.findOne(".top-right").x()b.y?-1:1;n=i*this.cos*S,r=i*this.sin*k,this.findOne(".top-right").x(b.x+n),this.findOne(".top-right").y(b.y-r)}var E=o.position();this.findOne(".top-left").y(E.y),this.findOne(".bottom-right").x(E.x)}else if(this._movingAnchorName==="middle-left")this.findOne(".top-left").x(o.x());else if(this._movingAnchorName==="middle-right")this.findOne(".bottom-right").x(o.x());else if(this._movingAnchorName==="bottom-left"){if(v){var b=_?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(b.x-o.x(),2)+Math.pow(o.y()-b.y,2));var S=b.x{r._fire("transformend",{evt:t,target:r})}),this._movingAnchorName=null}}_fitNodesInto(t,n){var r=this._getNodeRect();const i=1;if(de._inRange(t.width,-this.padding()*2-i,i)){this.update();return}if(de._inRange(t.height,-this.padding()*2-i,i)){this.update();return}const o=this.flipEnabled();var a=new ka;if(a.rotate(pt.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const h=a.point({x:-this.padding()*2,y:0});if(t.x+=h.x,t.y+=h.y,t.width+=this.padding()*2,this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,!o){this.update();return}}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const h=a.point({x:this.padding()*2,y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=this.padding()*2,!o){this.update();return}}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const h=a.point({x:0,y:-this.padding()*2});if(t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const h=a.point({x:0,y:this.padding()*2});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=this.padding()*2,!o){this.update();return}}if(this.boundBoxFunc()){const h=this.boundBoxFunc()(r,t);h?t=h:de.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new ka;l.translate(r.x,r.y),l.rotate(r.rotation),l.scale(r.width/s,r.height/s);const u=new ka;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const d=u.multiply(l.invert());this._nodes.forEach(h=>{var m;const v=h.getParent().getAbsoluteTransform(),b=h.getTransform().copy();b.translate(h.offsetX(),h.offsetY());const S=new ka;S.multiply(v.copy().invert()).multiply(d).multiply(v).multiply(b);const k=S.decompose();h.setAttrs(k),this._fire("transform",{evt:n,target:h}),h._fire("transform",{evt:n,target:h}),(m=h.getLayer())===null||m===void 0||m.batchDraw()}),this.rotation(de._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,n){this.findOne(t).setAttrs(n)}update(){var t,n=this._getNodeRect();this.rotation(de._getRotation(n.rotation));var r=n.width,i=n.height,o=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),l=this.anchorSize();this.find("._anchor").forEach(u=>{u.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})}),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+s,offsetY:l/2+s,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:r/2,y:0,offsetY:l/2+s,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:r,y:0,offsetX:l/2-s,offsetY:l/2+s,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:l/2+s,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:r,y:i/2,offsetX:l/2-s,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:l/2+s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:r/2,y:i,offsetY:l/2-s,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:r,y:i,offsetX:l/2-s,offsetY:l/2-s,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:r/2,y:-this.rotateAnchorOffset()*de._sign(i)-s,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:r,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),(t=this.getLayer())===null||t===void 0||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),i0.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Ze.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}};function z9e(e){return e instanceof Array||de.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach(function(t){J5.indexOf(t)===-1&&de.warn("Unknown anchor name: "+t+". Available names are: "+J5.join(", "))}),e||[]}In.prototype.className="Transformer";Ar(In);ee.addGetterSetter(In,"enabledAnchors",J5,z9e);ee.addGetterSetter(In,"flipEnabled",!0,nl());ee.addGetterSetter(In,"resizeEnabled",!0);ee.addGetterSetter(In,"anchorSize",10,qe());ee.addGetterSetter(In,"rotateEnabled",!0);ee.addGetterSetter(In,"rotationSnaps",[]);ee.addGetterSetter(In,"rotateAnchorOffset",50,qe());ee.addGetterSetter(In,"rotationSnapTolerance",5,qe());ee.addGetterSetter(In,"borderEnabled",!0);ee.addGetterSetter(In,"anchorStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"anchorStrokeWidth",1,qe());ee.addGetterSetter(In,"anchorFill","white");ee.addGetterSetter(In,"anchorCornerRadius",0,qe());ee.addGetterSetter(In,"borderStroke","rgb(0, 161, 255)");ee.addGetterSetter(In,"borderStrokeWidth",1,qe());ee.addGetterSetter(In,"borderDash");ee.addGetterSetter(In,"keepRatio",!0);ee.addGetterSetter(In,"centeredScaling",!1);ee.addGetterSetter(In,"ignoreStroke",!1);ee.addGetterSetter(In,"padding",0,qe());ee.addGetterSetter(In,"node");ee.addGetterSetter(In,"nodes");ee.addGetterSetter(In,"boundBoxFunc");ee.addGetterSetter(In,"anchorDragBoundFunc");ee.addGetterSetter(In,"shouldOverdrawWholeArea",!1);ee.addGetterSetter(In,"useSingleNodeRotation",!0);ee.backCompat(In,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class hc extends je{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,pt.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return this.radius()*2}getHeight(){return this.radius()*2}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}hc.prototype.className="Wedge";hc.prototype._centroid=!0;hc.prototype._attrsAffectingSize=["radius"];Ar(hc);ee.addGetterSetter(hc,"radius",0,qe());ee.addGetterSetter(hc,"angle",0,qe());ee.addGetterSetter(hc,"clockwise",!1);ee.backCompat(hc,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});function oD(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var H9e=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],V9e=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function W9e(e,t){var n=e.data,r=e.width,i=e.height,o,a,s,l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D,j,z,V,K,te,q=t+t+1,$=r-1,U=i-1,X=t+1,Z=X*(X+1)/2,W=new oD,Q=null,ie=W,fe=null,Se=null,Pe=H9e[t],ye=V9e[t];for(s=1;s>ye,K!==0?(K=255/K,n[d]=(m*Pe>>ye)*K,n[d+1]=(v*Pe>>ye)*K,n[d+2]=(b*Pe>>ye)*K):n[d]=n[d+1]=n[d+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=h+((l=o+t+1)<$?l:$)<<2,A+=fe.r=n[l],I+=fe.g=n[l+1],R+=fe.b=n[l+2],D+=fe.a=n[l+3],m+=A,v+=I,b+=R,S+=D,fe=fe.next,k+=j=Se.r,E+=z=Se.g,_+=V=Se.b,T+=K=Se.a,A-=j,I-=z,R-=V,D-=K,Se=Se.next,d+=4;h+=r}for(o=0;o>ye,K>0?(K=255/K,n[l]=(m*Pe>>ye)*K,n[l+1]=(v*Pe>>ye)*K,n[l+2]=(b*Pe>>ye)*K):n[l]=n[l+1]=n[l+2]=0,m-=k,v-=E,b-=_,S-=T,k-=fe.r,E-=fe.g,_-=fe.b,T-=fe.a,l=o+((l=a+X)0&&W9e(t,n)};ee.addGetterSetter(Ze,"blurRadius",0,qe(),ee.afterSetFilter);const G9e=function(e){var t=this.brightness()*255,n=e.data,r=n.length,i;for(i=0;i255?255:i,o=o<0?0:o>255?255:o,a=a<0?0:a>255?255:a,n[s]=i,n[s+1]=o,n[s+2]=a};ee.addGetterSetter(Ze,"contrast",0,qe(),ee.afterSetFilter);const Y9e=function(e){var t=this.embossStrength()*10,n=this.embossWhiteLevel()*255,r=this.embossDirection(),i=this.embossBlend(),o=0,a=0,s=e.data,l=e.width,u=e.height,d=l*4,h=u;switch(r){case"top-left":o=-1,a=-1;break;case"top":o=-1,a=0;break;case"top-right":o=-1,a=1;break;case"right":o=0,a=1;break;case"bottom-right":o=1,a=1;break;case"bottom":o=1,a=0;break;case"bottom-left":o=1,a=-1;break;case"left":o=0,a=-1;break;default:de.error("Unknown emboss direction: "+r)}do{var m=(h-1)*d,v=o;h+v<1&&(v=0),h+v>u&&(v=0);var b=(h-1+v)*l*4,S=l;do{var k=m+(S-1)*4,E=a;S+E<1&&(E=0),S+E>l&&(E=0);var _=b+(S-1+E)*4,T=s[k]-s[_],A=s[k+1]-s[_+1],I=s[k+2]-s[_+2],R=T,D=R>0?R:-R,j=A>0?A:-A,z=I>0?I:-I;if(j>D&&(R=A),z>D&&(R=I),R*=t,i){var V=s[k]+R,K=s[k+1]+R,te=s[k+2]+R;s[k]=V>255?255:V<0?0:V,s[k+1]=K>255?255:K<0?0:K,s[k+2]=te>255?255:te<0?0:te}else{var q=n-R;q<0?q=0:q>255&&(q=255),s[k]=s[k+1]=s[k+2]=q}}while(--S)}while(--h)};ee.addGetterSetter(Ze,"embossStrength",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossWhiteLevel",.5,qe(),ee.afterSetFilter);ee.addGetterSetter(Ze,"embossDirection","top-left",null,ee.afterSetFilter);ee.addGetterSetter(Ze,"embossBlend",!1,null,ee.afterSetFilter);function MC(e,t,n,r,i){var o=n-t,a=i-r,s;return o===0?r+a/2:a===0?r:(s=(e-t)/o,s=a*s+r,s)}const K9e=function(e){var t=e.data,n=t.length,r=t[0],i=r,o,a=t[1],s=a,l,u=t[2],d=u,h,m,v=this.enhance();if(v!==0){for(m=0;mi&&(i=o),l=t[m+1],ls&&(s=l),h=t[m+2],hd&&(d=h);i===r&&(i=255,r=0),s===a&&(s=255,a=0),d===u&&(d=255,u=0);var b,S,k,E,_,T,A,I,R;for(v>0?(S=i+v*(255-i),k=r-v*(r-0),_=s+v*(255-s),T=a-v*(a-0),I=d+v*(255-d),R=u-v*(u-0)):(b=(i+r)*.5,S=i+v*(i-b),k=r+v*(r-b),E=(s+a)*.5,_=s+v*(s-E),T=a+v*(a-E),A=(d+u)*.5,I=d+v*(d-A),R=u+v*(u-A)),m=0;mE?k:E;var _=a,T=o,A,I,R=360/T*Math.PI/180,D,j;for(I=0;IT?_:T;var A=a,I=o,R,D,j=n.polarRotation||0,z,V;for(d=0;dt&&(A=T,I=0,R=-1),i=0;i=0&&v=0&&b=0&&v=0&&b=255*4?255:0}return a}function l8e(e,t,n){for(var r=[.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111,.1111111111111111],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&v=0&&b=n))for(o=S;o=r||(a=(n*o+i)*4,s+=A[a+0],l+=A[a+1],u+=A[a+2],d+=A[a+3],T+=1);for(s=s/T,l=l/T,u=u/T,d=d/T,i=v;i=n))for(o=S;o=r||(a=(n*o+i)*4,A[a+0]=s,A[a+1]=l,A[a+2]=u,A[a+3]=d)}};ee.addGetterSetter(Ze,"pixelSize",8,qe(),ee.afterSetFilter);const f8e=function(e){var t=Math.round(this.levels()*254)+1,n=e.data,r=n.length,i=255/t,o;for(o=0;o255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);const p8e=function(e){var t=e.data,n=t.length,r=this.red(),i=this.green(),o=this.blue(),a=this.alpha(),s,l;for(s=0;s255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"green",0,function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)});ee.addGetterSetter(Ze,"blue",0,aG,ee.afterSetFilter);ee.addGetterSetter(Ze,"alpha",1,function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e});const g8e=function(e){var t=e.data,n=t.length,r,i,o,a;for(r=0;r127&&(u=255-u),d>127&&(d=255-d),h>127&&(h=255-h),t[l]=u,t[l+1]=d,t[l+2]=h}while(--s)}while(--o)},v8e=function(e){var t=this.threshold()*255,n=e.data,r=n.length,i;for(i=0;i{const{width:n,height:r}=t,i=document.createElement("div"),o=new Fg.Stage({container:i,width:n,height:r}),a=new Fg.Layer,s=new Fg.Layer;a.add(new Fg.Rect({...t,fill:"white"})),e.forEach(u=>s.add(new Fg.Line({points:u.points,stroke:"black",strokeWidth:u.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,globalCompositeOperation:u.tool==="brush"?"source-over":"destination-out"}))),o.add(a),o.add(s);const l=o.toDataURL({...t});return i.remove(),l};let $G=null,FG=null;const b8e=e=>{$G=e},el=()=>$G,S8e=e=>{FG=e},zG=()=>FG,x8e=e=>{const t=window.open("");t&&e.forEach(n=>{const r=new Image;r.src=n.base64,t.document.write(n.caption),t.document.write("
      "),t.document.write(r.outerHTML),t.document.write("

      ")})},HG=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),w8e=e=>{const t=el(),{generationMode:n,generationState:r,postprocessingState:i,canvasState:o,systemState:a}=e,{codeformerFidelity:s,facetoolStrength:l,facetoolType:u,hiresFix:d,hiresStrength:h,shouldRunESRGAN:m,shouldRunFacetool:v,upscalingLevel:b,upscalingStrength:S,upscalingDenoising:k}=i,{cfgScale:E,height:_,img2imgStrength:T,infillMethod:A,initialImage:I,iterations:R,perlin:D,prompt:j,negativePrompt:z,sampler:V,seamBlur:K,seamless:te,seamSize:q,seamSteps:$,seamStrength:U,seed:X,seedWeights:Z,shouldFitToWidthHeight:W,shouldGenerateVariations:Q,shouldRandomizeSeed:ie,steps:fe,threshold:Se,tileSize:Pe,variationAmount:ye,width:We}=r,{shouldDisplayInProgressType:De,saveIntermediatesInterval:ot,enableImageDebugging:He}=a,Be={prompt:j,iterations:R,steps:fe,cfg_scale:E,threshold:Se,perlin:D,height:_,width:We,sampler_name:V,seed:X,progress_images:De==="full-res",progress_latents:De==="latents",save_intermediates:ot,generation_mode:n,init_mask:""};let wt=!1,st=!1;if(z!==""&&(Be.prompt=`${j} [${z}]`),Be.seed=ie?HG(hP,pP):X,["txt2img","img2img"].includes(n)&&(Be.seamless=te,Be.hires_fix=d,d&&(Be.strength=h),m&&(wt={level:b,denoise_str:k,strength:S}),v&&(st={type:u,strength:l},u==="codeformer"&&(st.codeformer_fidelity=s))),n==="img2img"&&I&&(Be.init_img=typeof I=="string"?I:I.url,Be.strength=T,Be.fit=W),n==="unifiedCanvas"&&t){const{layerState:{objects:mt},boundingBoxCoordinates:St,boundingBoxDimensions:Le,stageScale:lt,isMaskEnabled:Mt,shouldPreserveMaskedArea:ut,boundingBoxScaleMethod:_t,scaledBoundingBoxDimensions:ln}=o,ae={...St,...Le},Re=y8e(Mt?mt.filter(tP):[],ae);Be.init_mask=Re,Be.fit=!1,Be.strength=T,Be.invert_mask=ut,Be.bounding_box=ae;const Ye=t.scale();t.scale({x:1/lt,y:1/lt});const Ke=t.getAbsolutePosition(),xe=t.toDataURL({x:ae.x+Ke.x,y:ae.y+Ke.y,width:ae.width,height:ae.height});He&&x8e([{base64:Re,caption:"mask sent as init_mask"},{base64:xe,caption:"image sent as init_img"}]),t.scale(Ye),Be.init_img=xe,Be.progress_images=!1,_t!=="none"&&(Be.inpaint_width=ln.width,Be.inpaint_height=ln.height),Be.seam_size=q,Be.seam_blur=K,Be.seam_strength=U,Be.seam_steps=$,Be.tile_size=Pe,Be.infill_method=A,Be.force_outpaint=!1}return Q?(Be.variation_amount=ye,Z&&(Be.with_variations=Kxe(Z))):Be.variation_amount=0,He&&(Be.enable_image_debugging=He),{generationParameters:Be,esrganParameters:wt,facetoolParameters:st}};var C8e=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,_8e=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,k8e=/[^-+\dA-Z]/g;function no(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(aD[t]||t||aD.default);var i=t.slice(0,4);(i==="UTC:"||i==="GMT:")&&(t=t.slice(4),n=!0,i==="GMT:"&&(r=!0));var o=function(){return n?"getUTC":"get"},a=function(){return e[o()+"Date"]()},s=function(){return e[o()+"Day"]()},l=function(){return e[o()+"Month"]()},u=function(){return e[o()+"FullYear"]()},d=function(){return e[o()+"Hours"]()},h=function(){return e[o()+"Minutes"]()},m=function(){return e[o()+"Seconds"]()},v=function(){return e[o()+"Milliseconds"]()},b=function(){return n?0:e.getTimezoneOffset()},S=function(){return E8e(e)},k=function(){return P8e(e)},E={d:function(){return a()},dd:function(){return wa(a())},ddd:function(){return Uo.dayNames[s()]},DDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()],short:!0})},dddd:function(){return Uo.dayNames[s()+7]},DDDD:function(){return sD({y:u(),m:l(),d:a(),_:o(),dayName:Uo.dayNames[s()+7]})},m:function(){return l()+1},mm:function(){return wa(l()+1)},mmm:function(){return Uo.monthNames[l()]},mmmm:function(){return Uo.monthNames[l()+12]},yy:function(){return String(u()).slice(2)},yyyy:function(){return wa(u(),4)},h:function(){return d()%12||12},hh:function(){return wa(d()%12||12)},H:function(){return d()},HH:function(){return wa(d())},M:function(){return h()},MM:function(){return wa(h())},s:function(){return m()},ss:function(){return wa(m())},l:function(){return wa(v(),3)},L:function(){return wa(Math.floor(v()/10))},t:function(){return d()<12?Uo.timeNames[0]:Uo.timeNames[1]},tt:function(){return d()<12?Uo.timeNames[2]:Uo.timeNames[3]},T:function(){return d()<12?Uo.timeNames[4]:Uo.timeNames[5]},TT:function(){return d()<12?Uo.timeNames[6]:Uo.timeNames[7]},Z:function(){return r?"GMT":n?"UTC":T8e(e)},o:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60)*100+Math.abs(b())%60,4)},p:function(){return(b()>0?"-":"+")+wa(Math.floor(Math.abs(b())/60),2)+":"+wa(Math.floor(Math.abs(b())%60),2)},S:function(){return["th","st","nd","rd"][a()%10>3?0:(a()%100-a()%10!=10)*a()%10]},W:function(){return S()},WW:function(){return wa(S())},N:function(){return k()}};return t.replace(C8e,function(_){return _ in E?E[_]():_.slice(1,_.length-1)})}var aD={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Uo={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},wa=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return String(t).padStart(n,"0")},sD=function(t){var n=t.y,r=t.m,i=t.d,o=t._,a=t.dayName,s=t.short,l=s===void 0?!1:s,u=new Date,d=new Date;d.setDate(d[o+"Date"]()-1);var h=new Date;h.setDate(h[o+"Date"]()+1);var m=function(){return u[o+"Date"]()},v=function(){return u[o+"Month"]()},b=function(){return u[o+"FullYear"]()},S=function(){return d[o+"Date"]()},k=function(){return d[o+"Month"]()},E=function(){return d[o+"FullYear"]()},_=function(){return h[o+"Date"]()},T=function(){return h[o+"Month"]()},A=function(){return h[o+"FullYear"]()};return b()===n&&v()===r&&m()===i?l?"Tdy":"Today":E()===n&&k()===r&&S()===i?l?"Ysd":"Yesterday":A()===n&&T()===r&&_()===i?l?"Tmw":"Tomorrow":a},E8e=function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate());n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=new Date(n.getFullYear(),0,4);r.setDate(r.getDate()-(r.getDay()+6)%7+3);var i=n.getTimezoneOffset()-r.getTimezoneOffset();n.setHours(n.getHours()-i);var o=(n-r)/(864e5*7);return 1+Math.floor(o)},P8e=function(t){var n=t.getDay();return n===0&&(n=7),n},T8e=function(t){return(String(t).match(_8e)||[""]).pop().replace(k8e,"").replace(/GMT\+0000/g,"UTC")};const L8e=(e,t)=>{const{dispatch:n,getState:r}=e;return{emitGenerateImage:i=>{n(Hs(!0));const o=r(),{generation:a,postprocessing:s,system:l,canvas:u}=o,d={generationMode:i,generationState:a,postprocessingState:s,canvasState:u,systemState:l};n(eCe());const{generationParameters:h,esrganParameters:m,facetoolParameters:v}=w8e(d);t.emit("generateImage",h,m,v),h.init_mask&&(h.init_mask=h.init_mask.substr(0,64).concat("...")),h.init_img&&(h.init_img=h.init_img.substr(0,64).concat("...")),n(to({timestamp:no(new Date,"isoDateTime"),message:`Image generation requested: ${JSON.stringify({...h,...m,...v})}`}))},emitRunESRGAN:i=>{n(Hs(!0));const{postprocessing:{upscalingLevel:o,upscalingDenoising:a,upscalingStrength:s}}=r(),l={upscale:[o,a,s]};t.emit("runPostprocessing",i,{type:"esrgan",...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`ESRGAN upscale requested: ${JSON.stringify({file:i.url,...l})}`}))},emitRunFacetool:i=>{n(Hs(!0));const{postprocessing:{facetoolType:o,facetoolStrength:a,codeformerFidelity:s}}=r(),l={facetool_strength:a};o==="codeformer"&&(l.codeformer_fidelity=s),t.emit("runPostprocessing",i,{type:o,...l}),n(to({timestamp:no(new Date,"isoDateTime"),message:`Face restoration (${o}) requested: ${JSON.stringify({file:i.url,...l})}`}))},emitDeleteImage:i=>{const{url:o,uuid:a,category:s,thumbnail:l}=i;n(eU(i)),t.emit("deleteImage",o,l,a,s)},emitRequestImages:i=>{const o=r().gallery,{earliest_mtime:a}=o.categories[i];t.emit("requestImages",i,a)},emitRequestNewImages:i=>{const o=r().gallery,{latest_mtime:a}=o.categories[i];t.emit("requestLatestImages",i,a)},emitCancelProcessing:()=>{t.emit("cancel")},emitRequestSystemConfig:()=>{t.emit("requestSystemConfig")},emitSearchForModels:i=>{t.emit("searchForModels",i)},emitAddNewModel:i=>{t.emit("addNewModel",i)},emitDeleteModel:i=>{t.emit("deleteModel",i)},emitRequestModelChange:i=>{n(Z6e()),t.emit("requestModelChange",i)},emitSaveStagingAreaImageToGallery:i=>{t.emit("requestSaveStagingAreaImageToGallery",i)},emitRequestEmptyTempFolder:()=>{t.emit("requestEmptyTempFolder")}}};let Hb;const A8e=new Uint8Array(16);function O8e(){if(!Hb&&(Hb=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Hb))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Hb(A8e)}const zi=[];for(let e=0;e<256;++e)zi.push((e+256).toString(16).slice(1));function M8e(e,t=0){return(zi[e[t+0]]+zi[e[t+1]]+zi[e[t+2]]+zi[e[t+3]]+"-"+zi[e[t+4]]+zi[e[t+5]]+"-"+zi[e[t+6]]+zi[e[t+7]]+"-"+zi[e[t+8]]+zi[e[t+9]]+"-"+zi[e[t+10]]+zi[e[t+11]]+zi[e[t+12]]+zi[e[t+13]]+zi[e[t+14]]+zi[e[t+15]]).toLowerCase()}const I8e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lD={randomUUID:I8e};function cm(e,t,n){if(lD.randomUUID&&!t&&!e)return lD.randomUUID();e=e||{};const r=e.random||(e.rng||O8e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return M8e(r)}const I8=zr("socketio/generateImage"),R8e=zr("socketio/runESRGAN"),D8e=zr("socketio/runFacetool"),N8e=zr("socketio/deleteImage"),R8=zr("socketio/requestImages"),uD=zr("socketio/requestNewImages"),j8e=zr("socketio/cancelProcessing"),B8e=zr("socketio/requestSystemConfig"),cD=zr("socketio/searchForModels"),$y=zr("socketio/addNewModel"),$8e=zr("socketio/deleteModel"),VG=zr("socketio/requestModelChange"),F8e=zr("socketio/saveStagingAreaImageToGallery"),z8e=zr("socketio/requestEmptyTempFolder"),H8e=e=>{const{dispatch:t,getState:n}=e;return{onConnect:()=>{try{t(PR(!0)),t(R4(zt.t("common:statusConnected"))),t(B8e());const r=n().gallery;r.categories.result.latest_mtime?t(uD("result")):t(R8("result")),r.categories.user.latest_mtime?t(uD("user")):t(R8("user"))}catch(r){console.error(r)}},onDisconnect:()=>{try{t(PR(!1)),t(R4(zt.t("common:statusDisconnected"))),t(to({timestamp:no(new Date,"isoDateTime"),message:"Disconnected from server",level:"warning"}))}catch(r){console.error(r)}},onGenerationResult:r=>{try{const i=n(),{activeTab:o}=i.ui,{shouldLoopback:a}=i.postprocessing,{boundingBox:s,generationMode:l,...u}=r,d={uuid:cm(),...u};if(["txt2img","img2img"].includes(l)&&t(sm({category:"result",image:{...d,category:"result"}})),l==="unifiedCanvas"&&r.boundingBox){const{boundingBox:h}=r;t(pxe({image:{...d,category:"temp"},boundingBox:h})),i.canvas.shouldAutoSave&&t(sm({image:{...d,category:"result"},category:"result"}))}if(a)switch(cP[o]){case"img2img":{t(k0(d));break}}t(SC()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image generated: ${r.url}`}))}catch(i){console.error(i)}},onIntermediateResult:r=>{try{t(jxe({uuid:cm(),...r,category:"result"})),r.isBase64||t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image generated: ${r.url}`}))}catch(i){console.error(i)}},onPostprocessingResult:r=>{try{t(sm({category:"result",image:{uuid:cm(),...r,category:"result"}})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Postprocessed: ${r.url}`}))}catch(i){console.error(i)}},onProgressUpdate:r=>{try{t(Hs(!0)),t(q6e(r))}catch(i){console.error(i)}},onError:r=>{const{message:i,additionalData:o}=r;try{t(to({timestamp:no(new Date,"isoDateTime"),message:`Server error: ${i}`,level:"error"})),t(TR()),t(SC())}catch(a){console.error(a)}},onGalleryImages:r=>{const{images:i,areMoreImagesAvailable:o,category:a}=r,s=i.map(l=>({uuid:cm(),...l}));t(Nxe({images:s,areMoreImagesAvailable:o,category:a})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Loaded ${i.length} images`}))},onProcessingCanceled:()=>{t(X6e());const{intermediateImage:r}=n().gallery;r&&(r.isBase64||(t(sm({category:"result",image:r})),t(to({timestamp:no(new Date,"isoDateTime"),message:`Intermediate image saved: ${r.url}`}))),t(SC())),t(to({timestamp:no(new Date,"isoDateTime"),message:"Processing canceled",level:"warning"}))},onImageDeleted:r=>{const{url:i}=r;t(eU(r));const{generation:{initialImage:o,maskPath:a}}=n();(o===i||(o==null?void 0:o.url)===i)&&t(oU()),a===i&&t(cU("")),t(to({timestamp:no(new Date,"isoDateTime"),message:`Image deleted: ${i}`}))},onSystemConfig:r=>{t(Y6e(r)),r.infill_methods.includes("patchmatch")||t(uU(r.infill_methods[0]))},onFoundModels:r=>{const{search_folder:i,found_models:o}=r;t(FU(i)),t(zU(o))},onNewModelAdded:r=>{const{new_model_name:i,model_list:o,update:a}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model Added: ${i}`,level:"info"})),t(Th({title:a?`${zt.t("modelmanager:modelUpdated")}: ${i}`:`${zt.t("modelmanager:modelAdded")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelDeleted:r=>{const{deleted_model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(to({timestamp:no(new Date,"isoDateTime"),message:`${zt.t("modelmanager:modelAdded")}: ${i}`,level:"info"})),t(Th({title:`${zt.t("modelmanager:modelEntryDeleted")}: ${i}`,status:"success",duration:2500,isClosable:!0}))},onModelChanged:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(R4(zt.t("common:statusModelChanged"))),t(Hs(!1)),t(lm(!0)),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model changed: ${i}`,level:"info"}))},onModelChangeFailed:r=>{const{model_name:i,model_list:o}=r;t(Tb(o)),t(Hs(!1)),t(lm(!0)),t(TR()),t(to({timestamp:no(new Date,"isoDateTime"),message:`Model change failed: ${i}`,level:"error"}))},onTempFolderEmptied:()=>{t(Th({title:zt.t("toast:tempFoldersEmptied"),status:"success",duration:2500,isClosable:!0}))}}},V8e=()=>{const{origin:e}=new URL(window.location.href),t=j4(e,{timeout:6e4,path:`${window.location.pathname}socket.io`});let n=!1;return i=>o=>a=>{const{onConnect:s,onDisconnect:l,onError:u,onPostprocessingResult:d,onGenerationResult:h,onIntermediateResult:m,onProgressUpdate:v,onGalleryImages:b,onProcessingCanceled:S,onImageDeleted:k,onSystemConfig:E,onModelChanged:_,onFoundModels:T,onNewModelAdded:A,onModelDeleted:I,onModelChangeFailed:R,onTempFolderEmptied:D}=H8e(i),{emitGenerateImage:j,emitRunESRGAN:z,emitRunFacetool:V,emitDeleteImage:K,emitRequestImages:te,emitRequestNewImages:q,emitCancelProcessing:$,emitRequestSystemConfig:U,emitSearchForModels:X,emitAddNewModel:Z,emitDeleteModel:W,emitRequestModelChange:Q,emitSaveStagingAreaImageToGallery:ie,emitRequestEmptyTempFolder:fe}=L8e(i,t);switch(n||(t.on("connect",()=>s()),t.on("disconnect",()=>l()),t.on("error",Se=>u(Se)),t.on("generationResult",Se=>h(Se)),t.on("postprocessingResult",Se=>d(Se)),t.on("intermediateResult",Se=>m(Se)),t.on("progressUpdate",Se=>v(Se)),t.on("galleryImages",Se=>b(Se)),t.on("processingCanceled",()=>{S()}),t.on("imageDeleted",Se=>{k(Se)}),t.on("systemConfig",Se=>{E(Se)}),t.on("foundModels",Se=>{T(Se)}),t.on("newModelAdded",Se=>{A(Se)}),t.on("modelDeleted",Se=>{I(Se)}),t.on("modelChanged",Se=>{_(Se)}),t.on("modelChangeFailed",Se=>{R(Se)}),t.on("tempFolderEmptied",()=>{D()}),n=!0),a.type){case"socketio/generateImage":{j(a.payload);break}case"socketio/runESRGAN":{z(a.payload);break}case"socketio/runFacetool":{V(a.payload);break}case"socketio/deleteImage":{K(a.payload);break}case"socketio/requestImages":{te(a.payload);break}case"socketio/requestNewImages":{q(a.payload);break}case"socketio/cancelProcessing":{$();break}case"socketio/requestSystemConfig":{U();break}case"socketio/searchForModels":{X(a.payload);break}case"socketio/addNewModel":{Z(a.payload);break}case"socketio/deleteModel":{W(a.payload);break}case"socketio/requestModelChange":{Q(a.payload);break}case"socketio/saveStagingAreaImageToGallery":{ie(a.payload);break}case"socketio/requestEmptyTempFolder":{fe();break}}o(a)}},W8e=["cursorPosition","isCanvasInitialized","doesCanvasNeedScaling"].map(e=>`canvas.${e}`),U8e=["currentIteration","currentStatus","currentStep","isCancelable","isConnected","isESRGANAvailable","isGFPGANAvailable","isProcessing","socketId","totalIterations","totalSteps","openModel"].map(e=>`system.${e}`),G8e=["categories","currentCategory","currentImage","currentImageUuid","shouldAutoSwitchToNewImages","shouldHoldGalleryOpen","intermediateImage"].map(e=>`gallery.${e}`),WG=wW({generation:nwe,postprocessing:swe,gallery:Wxe,system:rCe,canvas:Rxe,ui:hCe,lightbox:qxe}),q8e=IW.getPersistConfig({key:"root",storage:MW,rootReducer:WG,blacklist:[...W8e,...U8e,...G8e],debounce:300}),Y8e=zSe(q8e,WG),UG=vSe({reducer:Y8e,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(V8e()),devTools:{actionsDenylist:["canvas/setCursorPosition","canvas/setStageCoordinates","canvas/setStageScale","canvas/setIsDrawing","canvas/setBoundingBoxCoordinates","canvas/setBoundingBoxDimensions","canvas/setIsDrawing","canvas/addPointToCurrentLine"]}}),GG=qSe(UG),SP=w.createContext(null),Me=O5e,he=S5e;let dD;const xP=()=>({setOpenUploader:e=>{e&&(dD=e)},openUploader:dD}),Or=at(e=>e.ui,e=>cP[e.activeTab],{memoizeOptions:{equalityCheck:ke.isEqual}}),K8e=at(e=>e.ui,e=>e.activeTab,{memoizeOptions:{equalityCheck:ke.isEqual}}),mp=at(e=>e.ui,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),fD=e=>async(t,n)=>{const{imageFile:r}=e,i=n(),o=Or(i),a=new FormData;a.append("file",r,r.name),a.append("data",JSON.stringify({kind:"init"}));const l=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:a})).json(),u={uuid:cm(),category:"user",...l};t(sm({image:u,category:"user"})),o==="unifiedCanvas"?t(Dx(u)):o==="img2img"&&t(k0(u))};function X8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:nodes")}),y.jsx("p",{children:e("common:nodesDesc")})]})}const Z8e=()=>{const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress post-processing-work-in-progress",children:[y.jsx("h1",{children:e("common:postProcessing")}),y.jsx("p",{children:e("common:postProcessDesc1")}),y.jsx("p",{children:e("common:postProcessDesc2")}),y.jsx("p",{children:e("common:postProcessDesc3")})]})};function Q8e(){const{t:e}=Ve();return y.jsxs("div",{className:"work-in-progress nodes-work-in-progress",children:[y.jsx("h1",{children:e("common:training")}),y.jsxs("p",{children:[e("common:trainingDesc1"),y.jsx("br",{}),y.jsx("br",{}),e("common:trainingDesc2")]})]})}function J8e(e){const{i18n:t}=Ve(),n=localStorage.getItem("i18nextLng");N.useEffect(()=>{e()},[e]),N.useEffect(()=>{t.on("languageChanged",()=>{e()})},[e,t,n])}const e_e=yt({displayName:"ImageToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{transform:"matrix(1.10943,0,0,1.10943,-206.981,-213.533)",children:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M688.533,2405.95L542.987,2405.95C349.532,2405.95 192.47,2248.89 192.47,2055.44L192.47,542.987C192.47,349.532 349.532,192.47 542.987,192.47L2527.88,192.47C2721.33,192.47 2878.4,349.532 2878.4,542.987L2878.4,1172.79L3023.94,1172.79C3217.4,1172.79 3374.46,1329.85 3374.46,1523.3C3374.46,1523.3 3374.46,3035.75 3374.46,3035.75C3374.46,3229.21 3217.4,3386.27 3023.94,3386.27L1039.05,3386.27C845.595,3386.27 688.533,3229.21 688.533,3035.75L688.533,2405.95ZM3286.96,2634.37L3286.96,1523.3C3286.96,1378.14 3169.11,1260.29 3023.94,1260.29C3023.94,1260.29 1039.05,1260.29 1039.05,1260.29C893.887,1260.29 776.033,1378.14 776.033,1523.3L776.033,2489.79L1440.94,1736.22L2385.83,2775.59L2880.71,2200.41L3286.96,2634.37ZM2622.05,1405.51C2778.5,1405.51 2905.51,1532.53 2905.51,1688.98C2905.51,1845.42 2778.5,1972.44 2622.05,1972.44C2465.6,1972.44 2338.58,1845.42 2338.58,1688.98C2338.58,1532.53 2465.6,1405.51 2622.05,1405.51ZM2790.9,1172.79L1323.86,1172.79L944.882,755.906L279.97,1509.47L279.97,542.987C279.97,397.824 397.824,279.97 542.987,279.97C542.987,279.97 2527.88,279.97 2527.88,279.97C2673.04,279.97 2790.9,397.824 2790.9,542.987L2790.9,1172.79ZM2125.98,425.197C2282.43,425.197 2409.45,552.213 2409.45,708.661C2409.45,865.11 2282.43,992.126 2125.98,992.126C1969.54,992.126 1842.52,865.11 1842.52,708.661C1842.52,552.213 1969.54,425.197 2125.98,425.197Z"})})}),t_e=yt({displayName:"NodesIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 0,515.578 0,770.787L0,2766.03C0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM3427.88,770.787L3427.88,2766.03C3427.88,2957.53 3272.4,3113.01 3080.9,3113.01C3080.9,3113.01 462.407,3113.01 462.407,3113.01C270.906,3113.01 115.431,2957.53 115.431,2766.03L115.431,770.787C115.431,579.286 270.906,423.812 462.407,423.812L3080.9,423.812C3272.4,423.812 3427.88,579.286 3427.88,770.787ZM1214.23,1130.69L1321.47,1130.69C1324.01,1130.69 1326.54,1130.53 1329.05,1130.2C1329.05,1130.2 1367.3,1125.33 1397.94,1149.8C1421.63,1168.72 1437.33,1204.3 1437.33,1265.48L1437.33,2078.74L1220.99,2078.74C1146.83,2078.74 1086.61,2138.95 1086.61,2213.12L1086.61,2762.46C1086.61,2836.63 1146.83,2896.84 1220.99,2896.84L1770.34,2896.84C1844.5,2896.84 1904.71,2836.63 1904.71,2762.46L1904.71,2213.12C1904.71,2138.95 1844.5,2078.74 1770.34,2078.74L1554,2078.74L1554,1604.84C1625.84,1658.19 1703.39,1658.1 1703.39,1658.1C1703.54,1658.1 1703.69,1658.11 1703.84,1658.11L2362.2,1658.11L2362.2,1874.44C2362.2,1948.61 2422.42,2008.82 2496.58,2008.82L3045.93,2008.82C3120.09,2008.82 3180.3,1948.61 3180.3,1874.44L3180.3,1325.1C3180.3,1250.93 3120.09,1190.72 3045.93,1190.72L2496.58,1190.72C2422.42,1190.72 2362.2,1250.93 2362.2,1325.1L2362.2,1558.97L2362.2,1541.44L1704.23,1541.44C1702.2,1541.37 1650.96,1539.37 1609.51,1499.26C1577.72,1468.49 1554,1416.47 1554,1331.69L1554,1265.48C1554,1153.86 1513.98,1093.17 1470.76,1058.64C1411.24,1011.1 1338.98,1012.58 1319.15,1014.03L1214.23,1014.03L1214.23,796.992C1214.23,722.828 1154.02,662.617 1079.85,662.617L530.507,662.617C456.343,662.617 396.131,722.828 396.131,796.992L396.131,1346.34C396.131,1420.5 456.343,1480.71 530.507,1480.71L1079.85,1480.71C1154.02,1480.71 1214.23,1420.5 1214.23,1346.34L1214.23,1130.69Z"})}),n_e=yt({displayName:"PostprocessingIcon",viewBox:"0 0 3543 3543",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M709.477,1596.53L992.591,1275.66L2239.09,2646.81L2891.95,1888.03L3427.88,2460.51L3427.88,994.78C3427.88,954.66 3421.05,916.122 3408.5,880.254L3521.9,855.419C3535.8,899.386 3543.31,946.214 3543.31,994.78L3543.31,2990.02C3543.31,3245.23 3336.11,3452.43 3080.9,3452.43C3080.9,3452.43 462.407,3452.43 462.407,3452.43C207.197,3452.43 -0,3245.23 -0,2990.02L-0,994.78C-0,739.571 207.197,532.373 462.407,532.373L505.419,532.373L504.644,532.546L807.104,600.085C820.223,601.729 832.422,607.722 841.77,617.116C850.131,625.517 855.784,636.21 858.055,647.804L462.407,647.804C270.906,647.804 115.431,803.279 115.431,994.78L115.431,2075.73L-0,2101.5L115.431,2127.28L115.431,2269.78L220.47,2150.73L482.345,2209.21C503.267,2211.83 522.722,2221.39 537.63,2236.37C552.538,2251.35 562.049,2270.9 564.657,2291.93L671.84,2776.17L779.022,2291.93C781.631,2270.9 791.141,2251.35 806.05,2236.37C820.958,2221.39 840.413,2211.83 861.334,2209.21L1353.15,2101.5L861.334,1993.8C840.413,1991.18 820.958,1981.62 806.05,1966.64C791.141,1951.66 781.631,1932.11 779.022,1911.08L709.477,1596.53ZM671.84,1573.09L725.556,2006.07C726.863,2016.61 731.63,2026.4 739.101,2033.91C746.573,2041.42 756.323,2046.21 766.808,2047.53L1197.68,2101.5L766.808,2155.48C756.323,2156.8 746.573,2161.59 739.101,2169.09C731.63,2176.6 726.863,2186.4 725.556,2196.94L671.84,2629.92L618.124,2196.94C616.817,2186.4 612.05,2176.6 604.579,2169.09C597.107,2161.59 587.357,2156.8 576.872,2155.48L146.001,2101.5L576.872,2047.53C587.357,2046.21 597.107,2041.42 604.579,2033.91C612.05,2026.4 616.817,2016.61 618.124,2006.07L671.84,1573.09ZM609.035,1710.36L564.657,1911.08C562.049,1932.11 552.538,1951.66 537.63,1966.64C522.722,1981.62 503.267,1991.18 482.345,1993.8L328.665,2028.11L609.035,1710.36ZM2297.12,938.615L2451.12,973.003C2480.59,976.695 2507.99,990.158 2528.99,1011.26C2549.99,1032.37 2563.39,1059.9 2567.07,1089.52L2672.73,1566.9C2634.5,1580.11 2593.44,1587.29 2550.72,1587.29C2344.33,1587.29 2176.77,1419.73 2176.77,1213.34C2176.77,1104.78 2223.13,1006.96 2297.12,938.615ZM2718.05,76.925L2793.72,686.847C2795.56,701.69 2802.27,715.491 2812.8,726.068C2823.32,736.644 2837.06,743.391 2851.83,745.242L3458.78,821.28L2851.83,897.318C2837.06,899.168 2823.32,905.916 2812.8,916.492C2802.27,927.068 2795.56,940.87 2793.72,955.712L2718.05,1565.63L2642.38,955.712C2640.54,940.87 2633.83,927.068 2623.3,916.492C2612.78,905.916 2599.04,899.168 2584.27,897.318L1977.32,821.28L2584.27,745.242C2599.04,743.391 2612.78,736.644 2623.3,726.068C2633.83,715.491 2640.54,701.69 2642.38,686.847L2718.05,76.925ZM2883.68,1043.06C2909.88,1094.13 2924.67,1152.02 2924.67,1213.34C2924.67,1335.4 2866.06,1443.88 2775.49,1512.14L2869.03,1089.52C2871.07,1073.15 2876.07,1057.42 2883.68,1043.06ZM925.928,201.2L959.611,472.704C960.431,479.311 963.42,485.455 968.105,490.163C972.79,494.871 978.904,497.875 985.479,498.698L1255.66,532.546L985.479,566.395C978.904,567.218 972.79,570.222 968.105,574.93C963.42,579.638 960.431,585.781 959.611,592.388L925.928,863.893L892.245,592.388C891.425,585.781 888.436,579.638 883.751,574.93C879.066,570.222 872.952,567.218 866.378,566.395L596.195,532.546L866.378,498.698C872.952,497.875 879.066,494.871 883.751,490.163C888.436,485.455 891.425,479.311 892.245,472.704L925.928,201.2ZM2864.47,532.373L3080.9,532.373C3258.7,532.373 3413.2,632.945 3490.58,780.281L3319.31,742.773C3257.14,683.925 3173.2,647.804 3080.9,647.804L2927.07,647.804C2919.95,642.994 2913.25,637.473 2907.11,631.298C2886.11,610.194 2872.71,582.655 2869.03,553.04L2864.47,532.373ZM1352.36,532.373L2571.64,532.373L2567.07,553.04C2563.39,582.655 2549.99,610.194 2528.99,631.298C2522.85,637.473 2516.16,642.994 2509.03,647.804L993.801,647.804C996.072,636.21 1001.73,625.517 1010.09,617.116C1019.43,607.722 1031.63,601.729 1044.75,600.085L1353.15,532.546L1352.36,532.373Z"})}),r_e=yt({displayName:"TextToImageIcon",viewBox:"0 0 3543 3543",path:y.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",transform:"matrix(1.11667,0,0,1.1066,-231.131,-213.062)",children:y.jsx("path",{d:"M2209.59,1137.35L2209.59,1098.17C2177.13,1108.99 2125.74,1121.91 2055.41,1136.94C2054.77,1137.08 2054.14,1137.21 2053.49,1137.35L1662.79,1137.35C1687.75,1101.98 1720.8,1074.35 1761.93,1054.44C1808.52,1031.9 1875.69,1012.22 1963.45,995.386C2081.86,973.146 2163.91,952.409 2209.59,933.174L2209.59,907.929C2209.59,859.241 2197.57,824.529 2173.53,803.792C2149.48,783.054 2104.1,772.686 2037.38,772.686C1992.3,772.686 1957.14,781.552 1931.89,799.284C1906.64,817.015 1886.21,848.121 1870.58,892.601L1640.67,851.127C1666.51,758.56 1710.99,690.037 1774.11,645.557C1837.22,601.077 1930.99,578.837 2055.41,578.837C2168.42,578.837 2252.57,592.211 2307.87,618.959C2363.17,645.707 2402.09,679.668 2424.63,720.842C2447.17,762.016 2458.44,837.602 2458.44,947.6L2456.7,1137.35L3021.34,1137.35C3214.79,1137.35 3371.86,1294.41 3371.86,1487.87C3371.86,1487.87 3371.86,3000.32 3371.86,3000.32C3371.86,3193.78 3214.79,3350.84 3021.34,3350.84C3021.34,3350.84 1036.45,3350.84 1036.45,3350.84C842.991,3350.84 685.93,3193.78 685.93,3000.32L685.93,1487.87C685.93,1400.21 718.174,1320.03 771.448,1258.54L772.123,1257.76L607.408,1257.76L498.311,1558L215.202,1558L730.028,236.22L1012.24,236.22L1373.06,1137.35L2209.59,1137.35ZM3284.36,2598.93L3284.36,1487.87C3284.36,1342.71 3166.5,1224.85 3021.34,1224.85C3021.34,1224.85 1036.45,1224.85 1036.45,1224.85C891.284,1224.85 773.43,1342.71 773.43,1487.87L773.43,2454.35L1438.34,1700.79L2383.22,2740.16L2878.11,2164.98L3284.36,2598.93ZM2619.44,1370.08C2775.89,1370.08 2902.91,1497.1 2902.91,1653.54C2902.91,1809.99 2775.89,1937.01 2619.44,1937.01C2462.99,1937.01 2335.98,1809.99 2335.98,1653.54C2335.98,1497.1 2462.99,1370.08 2619.44,1370.08ZM772.877,1256.89L772.849,1256.93L773.167,1256.57L772.877,1256.89ZM773.634,1256.04L773.563,1256.12L773.985,1255.64L773.634,1256.04ZM774.394,1255.18L774.276,1255.31L774.746,1254.78L774.394,1255.18ZM775.157,1254.32L774.988,1254.51L775.493,1253.95L775.157,1254.32ZM775.923,1253.47L775.698,1253.72L776.237,1253.12L775.923,1253.47ZM776.691,1252.62L776.403,1252.94L776.979,1252.3L776.691,1252.62ZM777.462,1251.77L777.098,1252.17L777.723,1251.49L777.462,1251.77ZM925.081,1155.44C868.026,1174.57 817.508,1207.99 777.775,1251.43C817.511,1207.99 868.031,1174.57 925.081,1155.44ZM925.646,1155.25L925.108,1155.43L926.103,1155.1L925.646,1155.25ZM935.286,1152.2C932.214,1153.12 929.159,1154.09 926.13,1155.09C929.165,1154.09 932.219,1153.12 935.286,1152.2ZM935.716,1152.07L935.384,1152.17L936.292,1151.89L935.716,1152.07ZM936.843,1151.73L936.451,1151.85L937.327,1151.59L936.843,1151.73ZM937.972,1151.4L937.514,1151.53L938.377,1151.28L937.972,1151.4ZM939.102,1151.07L938.57,1151.22L939.438,1150.97L939.102,1151.07ZM940.233,1150.74L939.613,1150.92L940.505,1150.67L940.233,1150.74ZM946.659,1148.98C944.639,1149.51 942.626,1150.07 940.626,1150.63C942.631,1150.06 944.642,1149.51 946.659,1148.98ZM947.056,1148.87L946.829,1148.93L947.659,1148.71L947.056,1148.87ZM948.198,1148.57L947.919,1148.65L948.705,1148.44L948.198,1148.57ZM949.342,1148.28L949.008,1148.37L949.771,1148.17L949.342,1148.28ZM950.488,1147.99L950.096,1148.09L950.848,1147.9L950.488,1147.99ZM951.635,1147.7L951.182,1147.81L951.932,1147.63L951.635,1147.7ZM952.783,1147.42L952.262,1147.55L953.022,1147.36L952.783,1147.42ZM953.933,1147.14L953.327,1147.28L954.115,1147.09L953.933,1147.14ZM958.213,1146.13C956.927,1146.42 955.644,1146.73 954.354,1147.04C955.637,1146.73 956.923,1146.43 958.213,1146.13ZM958.547,1146.06L958.409,1146.09L959.174,1145.91L958.547,1146.06ZM959.704,1145.79L959.517,1145.84L960.229,1145.68L959.704,1145.79ZM960.863,1145.54L960.626,1145.59L961.311,1145.44L960.863,1145.54ZM962.023,1145.28L961.736,1145.35L962.406,1145.2L962.023,1145.28ZM963.184,1145.03L962.846,1145.11L963.508,1144.97L963.184,1145.03ZM964.347,1144.79L963.956,1144.87L964.615,1144.73L964.347,1144.79ZM965.511,1144.55L965.066,1144.64L965.725,1144.5L965.511,1144.55ZM966.677,1144.31L966.172,1144.41L966.838,1144.28L966.677,1144.31ZM967.844,1144.08L967.269,1144.19L967.953,1144.05L967.844,1144.08ZM970.183,1143.62C969.793,1143.69 969.403,1143.77 969.013,1143.85L969.055,1143.84C969.413,1143.77 969.771,1143.7 970.129,1143.63L970.183,1143.62ZM971.354,1143.4L971.245,1143.42L971.882,1143.3L971.354,1143.4ZM972.526,1143.18L972.37,1143.21L972.987,1143.09L972.526,1143.18ZM973.7,1142.96L973.496,1143L974.103,1142.89L973.7,1142.96ZM974.876,1142.75L974.624,1142.8L975.225,1142.69L974.876,1142.75ZM976.052,1142.55L975.754,1142.6L976.349,1142.49L976.052,1142.55ZM977.23,1142.34L976.885,1142.4L977.476,1142.3L977.23,1142.34ZM978.41,1142.14L978.019,1142.21L978.605,1142.11L978.41,1142.14ZM979.59,1141.95L979.156,1142.02L979.736,1141.92L979.59,1141.95ZM980.772,1141.76L980.299,1141.83L980.868,1141.74L980.772,1141.76ZM981.955,1141.57L981.464,1141.65L982.002,1141.56L981.955,1141.57ZM983.14,1141.39L983.1,1141.39L983.605,1141.32L983.14,1141.39ZM984.326,1141.21L984.239,1141.22L984.778,1141.14L984.326,1141.21ZM985.513,1141.03L985.379,1141.05L985.928,1140.97L985.513,1141.03ZM986.702,1140.86L986.521,1140.89L987.073,1140.81L986.702,1140.86ZM987.891,1140.69L987.665,1140.73L988.218,1140.65L987.891,1140.69ZM989.082,1140.53L988.811,1140.57L989.363,1140.49L989.082,1140.53ZM990.275,1140.37L989.96,1140.41L990.508,1140.34L990.275,1140.37ZM991.468,1140.22L991.113,1140.26L991.654,1140.19L991.468,1140.22ZM992.663,1140.07L992.273,1140.12L992.8,1140.05L992.663,1140.07ZM993.859,1139.92L993.447,1139.97L993.948,1139.91L993.859,1139.92ZM995.056,1139.78L994.671,1139.82L995.097,1139.77L995.056,1139.78ZM996.255,1139.64L996.23,1139.64L996.578,1139.6L996.255,1139.64ZM997.454,1139.5L997.383,1139.51L997.852,1139.46L997.454,1139.5ZM998.655,1139.37L998.537,1139.38L999.041,1139.33L998.655,1139.37ZM999.857,1139.24L999.693,1139.26L1000.21,1139.21L999.857,1139.24ZM1001.06,1139.12L1000.85,1139.14L1001.38,1139.09L1001.06,1139.12ZM1002.26,1139L1002.01,1139.03L1002.54,1138.98L1002.26,1139ZM1003.47,1138.89L1003.18,1138.91L1003.7,1138.87L1003.47,1138.89ZM1004.68,1138.78L1004.34,1138.81L1004.86,1138.76L1004.68,1138.78ZM1005.89,1138.67L1005.52,1138.7L1006.02,1138.66L1005.89,1138.67ZM1007.1,1138.57L1006.71,1138.6L1007.18,1138.56L1007.1,1138.57ZM1008.31,1138.47L1007.96,1138.5L1008.35,1138.46L1008.31,1138.47ZM1009.52,1138.37L1009.5,1138.38L1009.72,1138.36L1009.52,1138.37ZM1010.73,1138.28L1010.67,1138.29L1011.1,1138.26L1010.73,1138.28ZM1011.94,1138.2L1011.84,1138.2L1012.32,1138.17L1011.94,1138.2ZM1013.16,1138.12L1013,1138.13L1013.51,1138.09L1013.16,1138.12ZM1014.37,1138.04L1014.17,1138.05L1014.69,1138.02L1014.37,1138.04ZM1015.59,1137.96L1015.35,1137.98L1015.86,1137.95L1015.59,1137.96ZM1016.81,1137.89L1016.52,1137.91L1017.04,1137.88L1016.81,1137.89ZM1018.03,1137.83L1017.7,1137.85L1018.21,1137.82L1018.03,1137.83ZM1019.25,1137.77L1018.89,1137.79L1019.39,1137.76L1019.25,1137.77ZM1020.47,1137.71L1020.1,1137.73L1020.56,1137.71L1020.47,1137.71ZM1021.69,1137.66L1021.36,1137.67L1021.74,1137.66L1021.69,1137.66ZM1022.92,1137.61L1022.91,1137.61L1023.02,1137.61L1022.92,1137.61ZM1024.14,1137.57L1024.09,1137.57L1024.49,1137.55L1024.14,1137.57ZM1025.37,1137.52L1025.27,1137.53L1025.74,1137.51L1025.37,1137.52ZM1026.6,1137.49L1026.45,1137.49L1026.94,1137.48L1026.6,1137.49ZM1027.82,1137.46L1027.63,1137.46L1028.14,1137.45L1027.82,1137.46ZM1029.05,1137.43L1028.81,1137.43L1029.33,1137.42L1029.05,1137.43ZM1030.28,1137.41L1030,1137.41L1030.52,1137.4L1030.28,1137.41ZM1031.51,1137.39L1031.19,1137.39L1031.7,1137.38L1031.51,1137.39ZM1032.75,1137.37L1032.39,1137.38L1032.89,1137.37L1032.75,1137.37ZM1033.98,1137.36L1033.61,1137.36L1034.07,1137.36L1033.98,1137.36ZM1035.21,1137.35L1034.87,1137.36L1035.26,1137.35L1035.21,1137.35ZM1050.1,1035.06L867.977,544.575L689.455,1035.06L1050.1,1035.06Z"})})}),i_e=yt({displayName:"TrainingIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0,768.593L0,2774.71C0,2930.6 78.519,3068.3 198.135,3150.37C273.059,3202.68 364.177,3233.38 462.407,3233.38C462.407,3233.38 3080.9,3233.38 3080.9,3233.38C3179.13,3233.38 3270.25,3202.68 3345.17,3150.37C3464.79,3068.3 3543.31,2930.6 3543.31,2774.71L3543.31,768.593C3543.31,517.323 3339.31,313.324 3088.04,313.324L455.269,313.324C203.999,313.324 0,517.323 0,768.593ZM3427.88,775.73L3427.88,2770.97C3427.88,2962.47 3272.4,3117.95 3080.9,3117.95L462.407,3117.95C270.906,3117.95 115.431,2962.47 115.431,2770.97C115.431,2770.97 115.431,775.73 115.431,775.73C115.431,584.229 270.906,428.755 462.407,428.755C462.407,428.755 3080.9,428.755 3080.9,428.755C3272.4,428.755 3427.88,584.229 3427.88,775.73ZM796.24,1322.76L796.24,1250.45C796.24,1199.03 836.16,1157.27 885.331,1157.27C885.331,1157.27 946.847,1157.27 946.847,1157.27C996.017,1157.27 1035.94,1199.03 1035.94,1250.45L1035.94,1644.81L2507.37,1644.81L2507.37,1250.45C2507.37,1199.03 2547.29,1157.27 2596.46,1157.27C2596.46,1157.27 2657.98,1157.27 2657.98,1157.27C2707.15,1157.27 2747.07,1199.03 2747.07,1250.45L2747.07,1322.76C2756.66,1319.22 2767.02,1317.29 2777.83,1317.29C2777.83,1317.29 2839.34,1317.29 2839.34,1317.29C2888.51,1317.29 2928.43,1357.21 2928.43,1406.38L2928.43,1527.32C2933.51,1526.26 2938.77,1525.71 2944.16,1525.71L2995.3,1525.71C3036.18,1525.71 3069.37,1557.59 3069.37,1596.86C3069.37,1596.86 3069.37,1946.44 3069.37,1946.44C3069.37,1985.72 3036.18,2017.6 2995.3,2017.6C2995.3,2017.6 2944.16,2017.6 2944.16,2017.6C2938.77,2017.6 2933.51,2017.04 2928.43,2015.99L2928.43,2136.92C2928.43,2186.09 2888.51,2226.01 2839.34,2226.01L2777.83,2226.01C2767.02,2226.01 2756.66,2224.08 2747.07,2220.55L2747.07,2292.85C2747.07,2344.28 2707.15,2386.03 2657.98,2386.03C2657.98,2386.03 2596.46,2386.03 2596.46,2386.03C2547.29,2386.03 2507.37,2344.28 2507.37,2292.85L2507.37,1898.5L1035.94,1898.5L1035.94,2292.85C1035.94,2344.28 996.017,2386.03 946.847,2386.03C946.847,2386.03 885.331,2386.03 885.331,2386.03C836.16,2386.03 796.24,2344.28 796.24,2292.85L796.24,2220.55C786.651,2224.08 776.29,2226.01 765.482,2226.01L703.967,2226.01C654.796,2226.01 614.876,2186.09 614.876,2136.92L614.876,2015.99C609.801,2017.04 604.539,2017.6 599.144,2017.6C599.144,2017.6 548.003,2017.6 548.003,2017.6C507.125,2017.6 473.937,1985.72 473.937,1946.44C473.937,1946.44 473.937,1596.86 473.937,1596.86C473.937,1557.59 507.125,1525.71 548.003,1525.71L599.144,1525.71C604.539,1525.71 609.801,1526.26 614.876,1527.32L614.876,1406.38C614.876,1357.21 654.796,1317.29 703.967,1317.29C703.967,1317.29 765.482,1317.29 765.482,1317.29C776.29,1317.29 786.651,1319.22 796.24,1322.76ZM977.604,1250.45C977.604,1232.7 963.822,1218.29 946.847,1218.29L885.331,1218.29C868.355,1218.29 854.573,1232.7 854.573,1250.45L854.573,2292.85C854.573,2310.61 868.355,2325.02 885.331,2325.02L946.847,2325.02C963.822,2325.02 977.604,2310.61 977.604,2292.85L977.604,1250.45ZM2565.7,1250.45C2565.7,1232.7 2579.49,1218.29 2596.46,1218.29L2657.98,1218.29C2674.95,1218.29 2688.73,1232.7 2688.73,1250.45L2688.73,2292.85C2688.73,2310.61 2674.95,2325.02 2657.98,2325.02L2596.46,2325.02C2579.49,2325.02 2565.7,2310.61 2565.7,2292.85L2565.7,1250.45ZM673.209,1406.38L673.209,2136.92C673.209,2153.9 686.991,2167.68 703.967,2167.68L765.482,2167.68C782.458,2167.68 796.24,2153.9 796.24,2136.92L796.24,1406.38C796.24,1389.41 782.458,1375.63 765.482,1375.63L703.967,1375.63C686.991,1375.63 673.209,1389.41 673.209,1406.38ZM2870.1,1406.38L2870.1,2136.92C2870.1,2153.9 2856.32,2167.68 2839.34,2167.68L2777.83,2167.68C2760.85,2167.68 2747.07,2153.9 2747.07,2136.92L2747.07,1406.38C2747.07,1389.41 2760.85,1375.63 2777.83,1375.63L2839.34,1375.63C2856.32,1375.63 2870.1,1389.41 2870.1,1406.38ZM614.876,1577.5C610.535,1574.24 605.074,1572.3 599.144,1572.3L548.003,1572.3C533.89,1572.3 522.433,1583.3 522.433,1596.86L522.433,1946.44C522.433,1960 533.89,1971.01 548.003,1971.01L599.144,1971.01C605.074,1971.01 610.535,1969.07 614.876,1965.81L614.876,1577.5ZM2928.43,1965.81L2928.43,1577.5C2932.77,1574.24 2938.23,1572.3 2944.16,1572.3L2995.3,1572.3C3009.42,1572.3 3020.87,1583.3 3020.87,1596.86L3020.87,1946.44C3020.87,1960 3009.42,1971.01 2995.3,1971.01L2944.16,1971.01C2938.23,1971.01 2932.77,1969.07 2928.43,1965.81ZM2507.37,1703.14L1035.94,1703.14L1035.94,1840.16L2507.37,1840.16L2507.37,1898.38L2507.37,1659.46L2507.37,1703.14Z"})}),o_e=yt({displayName:"UnifiedCanvasIcon",viewBox:"0 0 3544 3544",path:y.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3543.31,770.787C3543.31,515.578 3336.11,308.38 3080.9,308.38L462.407,308.38C207.197,308.38 -0,515.578 -0,770.787L-0,2766.03C-0,3021.24 207.197,3228.44 462.407,3228.44L3080.9,3228.44C3336.11,3228.44 3543.31,3021.24 3543.31,2766.03C3543.31,2766.03 3543.31,770.787 3543.31,770.787ZM922.933,3113.01L462.407,3113.01C437.741,3113.01 413.674,3110.43 390.453,3105.52L390.453,2899.11L922.933,2899.11L922.933,3113.01ZM947.933,2899.11L947.933,3113.01L1480.41,3113.01L1480.41,2899.11L947.933,2899.11ZM1505.41,2899.11L1505.41,3113.01L2037.89,3113.01L2037.89,2899.11L1505.41,2899.11ZM2062.89,2899.11L2062.89,3113.01L2595.37,3113.01L2595.37,2899.11L2062.89,2899.11ZM3152.85,3105.52C3129.63,3110.43 3105.57,3113.01 3080.9,3113.01L2620.37,3113.01L2620.37,2899.11L3152.85,2899.11L3152.85,3105.52ZM365.453,3099.26L365.408,3099.24C354.521,3096.07 343.79,3092.37 333.266,3088.14C315.377,3080.95 298.094,3072.26 281.651,3062.2C263.114,3050.85 245.648,3037.77 229.544,3023.17C213.34,3008.49 198.518,2992.28 185.34,2974.83C174.102,2959.94 164.06,2944.16 155.353,2927.66C150.517,2918.5 146.102,2909.13 142.102,2899.57L141.91,2899.11L365.453,2899.11L365.453,3099.26ZM3401.4,2899.11C3361.33,2995.39 3279.12,3069.8 3177.85,3099.26L3177.85,2899.11L3401.4,2899.11ZM132.624,2874.11C121.465,2840.08 115.431,2803.76 115.431,2766.03L115.431,2341.63L365.453,2341.63L365.453,2874.11L132.624,2874.11ZM922.933,918.103L922.933,669.193L390.453,669.193L390.453,1201.67L731.014,1201.67L731.014,1226.67L390.453,1226.67L390.453,1759.15L731.014,1759.15L731.014,1784.15L390.453,1784.15L390.453,2316.63L731.014,2316.63L731.014,2341.63L390.453,2341.63L390.453,2874.11L922.933,2874.11L922.933,2625.2C931.122,2627.1 939.463,2628.6 947.933,2629.66L947.933,2874.11L1480.41,2874.11L1480.41,2631.62L1505.41,2631.62L1505.41,2874.11L2037.89,2874.11L2037.89,2631.62L2062.89,2631.62L2062.89,2874.11L2595.37,2874.11L2595.37,2629.66C2603.85,2628.6 2612.18,2627.1 2620.37,2625.2L2620.37,2874.11L3152.85,2874.11L3152.85,2341.63L2812.29,2341.63L2812.29,2316.63L3152.85,2316.63L3152.85,1784.15L2812.29,1784.15L2812.29,1759.15L3152.85,1759.15L3152.85,1226.67L2812.29,1226.67L2812.29,1201.67L3152.85,1201.67L3152.85,669.193L2620.37,669.193L2620.37,918.103C2612.18,916.203 2603.84,914.708 2595.37,913.642L2595.37,669.193L2062.89,669.193L2062.89,911.688L2037.89,911.688L2037.89,669.193L1505.41,669.193L1505.41,911.688L1480.41,911.688L1480.41,669.193L947.933,669.193L947.933,913.642C939.462,914.708 931.123,916.203 922.933,918.103ZM3427.88,2341.63L3427.88,2766.03C3427.88,2803.76 3421.84,2840.08 3410.68,2874.11L3177.85,2874.11L3177.85,2341.63L3427.88,2341.63ZM2494.01,2603.04L2524.53,2603.04C2541.26,2603.04 2557.62,2601.44 2573.47,2598.39L2598.02,2593.66L2588.56,2544.56L2564.01,2549.29C2551.23,2551.75 2538.03,2553.04 2524.53,2553.04L2494.01,2553.04L2494.01,2603.04ZM1294.01,2603.04L1394.01,2603.04L1394.01,2553.04L1294.01,2553.04L1294.01,2603.04ZM1894.01,2603.04L1994.01,2603.04L1994.01,2553.04L1894.01,2553.04L1894.01,2603.04ZM2194.01,2603.04L2294.01,2603.04L2294.01,2553.04L2194.01,2553.04L2194.01,2603.04ZM1144.01,2603.04L1244.01,2603.04L1244.01,2553.04L1144.01,2553.04L1144.01,2603.04ZM1444.01,2603.04L1544.01,2603.04L1544.01,2553.04L1444.01,2553.04L1444.01,2603.04ZM1594.01,2603.04L1694.01,2603.04L1694.01,2553.04L1594.01,2553.04L1594.01,2603.04ZM2344.01,2603.04L2444.01,2603.04L2444.01,2553.04L2344.01,2553.04L2344.01,2603.04ZM2044.01,2603.04L2144.01,2603.04L2144.01,2553.04L2044.01,2553.04L2044.01,2603.04ZM994.01,2603.04L1094.01,2603.04L1094.01,2553.04L994.01,2553.04L994.01,2603.04ZM1744.01,2603.04L1844.01,2603.04L1844.01,2553.04L1744.01,2553.04L1744.01,2603.04ZM864.145,2551.46C878.835,2562.5 894.741,2572 911.624,2579.74L934.352,2590.15L955.18,2544.7L932.452,2534.28C918.844,2528.05 906.024,2520.39 894.185,2511.49L874.199,2496.47L844.16,2536.44L864.145,2551.46ZM2674.44,2554.92C2689.46,2544.16 2703.28,2531.82 2715.65,2518.14L2732.42,2499.61L2695.35,2466.06L2678.58,2484.6C2668.59,2495.63 2657.44,2505.59 2645.32,2514.28L2625,2528.84L2654.12,2569.48L2674.44,2554.92ZM865.632,1911.31L1339.59,1374.15L2030.89,2134.59L2392.97,1713.77L2677.68,2017.9L2677.68,2324.93C2677.68,2424.23 2597.06,2504.85 2497.76,2504.85C2497.76,2504.85 1045.55,2504.85 1045.55,2504.85C946.251,2504.85 865.632,2424.23 865.632,2324.93L865.632,1911.31ZM771.251,2417.22C776.455,2435.14 783.552,2452.26 792.313,2468.35L804.27,2490.3L848.18,2466.39L836.223,2444.43C829.171,2431.49 823.457,2417.7 819.268,2403.28L812.297,2379.27L764.28,2393.21L771.251,2417.22ZM2770.36,2422.83C2775.83,2405.47 2779.52,2387.33 2781.2,2368.61L2783.43,2343.71L2733.64,2339.24L2731.4,2364.14C2730.05,2379.21 2727.08,2393.82 2722.67,2407.79L2715.15,2431.63L2762.84,2446.67L2770.36,2422.83ZM761.068,2236.12L761.068,2336.12L811.068,2336.12L811.068,2236.12L761.068,2236.12ZM3177.85,1784.15L3177.85,2316.63L3427.88,2316.63L3427.88,1784.15L3177.85,1784.15ZM115.431,1784.15L115.431,2316.63L365.453,2316.63L365.453,1784.15L115.431,1784.15ZM2782.24,2291.41L2782.24,2191.41L2732.24,2191.41L2732.24,2291.41L2782.24,2291.41ZM761.068,2086.12L761.068,2186.12L811.068,2186.12L811.068,2086.12L761.068,2086.12ZM2782.24,2141.41L2782.24,2041.4L2732.24,2041.4L2732.24,2141.41L2782.24,2141.41ZM761.068,1936.12L761.068,2036.12L811.068,2036.12L811.068,1936.12L761.068,1936.12ZM2782.24,1991.4L2782.24,1891.4L2732.24,1891.4L2732.24,1991.4L2782.24,1991.4ZM761.068,1786.12L761.068,1886.12L811.068,1886.12L811.068,1786.12L761.068,1786.12ZM2782.24,1841.4L2782.24,1741.41L2732.24,1741.41L2732.24,1841.4L2782.24,1841.4ZM3177.85,1226.67L3177.85,1759.15L3427.88,1759.15L3427.88,1226.67L3177.85,1226.67ZM115.431,1226.67L115.431,1759.15L365.453,1759.15L365.453,1226.67L115.431,1226.67ZM761.068,1636.12L761.068,1736.12L811.068,1736.12L811.068,1636.12L761.068,1636.12ZM2782.24,1691.41L2782.24,1591.41L2732.24,1591.41L2732.24,1691.41L2782.24,1691.41ZM761.068,1486.12L761.068,1586.12L811.068,1586.12L811.068,1486.12L761.068,1486.12ZM2203.72,1132.2C2318.18,1132.2 2411.11,1225.13 2411.11,1339.59C2411.11,1454.05 2318.18,1546.98 2203.72,1546.98C2089.26,1546.98 1996.33,1454.05 1996.33,1339.59C1996.33,1225.13 2089.26,1132.2 2203.72,1132.2ZM2782.24,1541.41L2782.24,1441.41L2732.24,1441.41L2732.24,1541.41L2782.24,1541.41ZM761.068,1336.12L761.068,1436.12L811.068,1436.12L811.068,1336.12L761.068,1336.12ZM2782.24,1391.41L2782.24,1291.41L2732.24,1291.41L2732.24,1391.41L2782.24,1391.41ZM761.068,1186.12L761.068,1286.12L811.068,1286.12L811.068,1186.12L761.068,1186.12ZM2732.24,1197.98L2732.24,1241.41L2782.24,1241.41L2782.24,1172.98L2781.03,1172.98C2780.06,1162.82 2778.49,1152.83 2776.36,1143.04L2771.04,1118.62L2722.18,1129.24L2727.5,1153.67C2730.61,1167.95 2732.24,1182.78 2732.24,1197.98ZM3412.74,669.193L3412.89,669.694C3414.66,675.5 3416.28,681.348 3417.73,687.238C3420.46,698.265 3422.65,709.427 3424.28,720.67C3425.85,731.554 3426.91,742.513 3427.45,753.497C3427.74,759.256 3427.87,765.021 3427.88,770.787L3427.88,1201.67L3177.85,1201.67L3177.85,669.193L3412.74,669.193ZM115.431,1201.67L115.431,770.787C115.436,765.021 115.572,759.256 115.855,753.497C116.395,742.513 117.453,731.554 119.031,720.67C120.66,709.427 122.844,698.265 125.574,687.238C127.032,681.348 128.65,675.5 130.414,669.694L130.567,669.193L365.453,669.193L365.453,1201.67L115.431,1201.67ZM804.386,1055C794.186,1070.26 785.572,1086.67 778.777,1103.99L769.647,1127.26L816.194,1145.52L825.324,1122.25C830.797,1108.3 837.738,1095.08 845.955,1082.79L859.848,1062L818.279,1034.21L804.386,1055ZM2730.5,1043.14C2719.39,1028.39 2706.73,1014.86 2692.77,1002.81L2673.84,986.48L2641.17,1024.34L2660.1,1040.67C2671.37,1050.39 2681.59,1061.31 2690.56,1073.22L2705.6,1093.19L2745.54,1063.11L2730.5,1043.14ZM933.266,954.821C915.698,961.006 898.998,969.041 883.402,978.694L862.144,991.851L888.457,1034.37L909.715,1021.21C922.275,1013.44 935.723,1006.96 949.871,1001.98L973.452,993.681L956.848,946.518L933.266,954.821ZM2596.18,950.378C2578.71,945.327 2560.49,942.072 2541.72,940.832L2516.78,939.183L2513.48,989.074L2538.43,990.723C2553.54,991.722 2568.22,994.341 2582.28,998.409L2606.3,1005.36L2620.19,957.325L2596.18,950.378ZM2165.09,940.265L2065.09,940.265L2065.09,990.265L2165.09,990.265L2165.09,940.265ZM1865.08,940.265L1765.08,940.265L1765.08,990.265L1865.08,990.265L1865.08,940.265ZM1115.08,940.265L1015.08,940.265L1015.08,990.265L1115.08,990.265L1115.08,940.265ZM2015.09,940.265L1915.09,940.265L1915.09,990.265L2015.09,990.265L2015.09,940.265ZM2315.09,940.265L2215.09,940.265L2215.09,990.265L2315.09,990.265L2315.09,940.265ZM1265.08,940.265L1165.08,940.265L1165.08,990.265L1265.08,990.265L1265.08,940.265ZM1415.08,940.265L1315.08,940.265L1315.08,990.265L1415.08,990.265L1415.08,940.265ZM1565.08,940.265L1465.08,940.265L1465.08,990.265L1565.08,990.265L1565.08,940.265ZM1715.08,940.265L1615.08,940.265L1615.08,990.265L1715.08,990.265L1715.08,940.265ZM2465.09,940.265L2365.09,940.265L2365.09,990.265L2465.09,990.265L2465.09,940.265ZM365.453,437.562L365.453,644.193L139.286,644.193C178.303,544.782 261.917,467.677 365.453,437.562ZM922.933,423.812L922.933,644.193L390.453,644.193L390.453,431.295C413.674,426.391 437.741,423.812 462.407,423.812L922.933,423.812ZM947.933,423.812L947.933,644.193L1480.41,644.193L1480.41,423.812L947.933,423.812ZM1505.41,423.812L1505.41,644.193L2037.89,644.193L2037.89,423.812L1505.41,423.812ZM2062.89,423.812L2062.89,644.193L2595.37,644.193L2595.37,423.812L2062.89,423.812ZM2620.37,423.812L3080.9,423.812C3105.57,423.812 3129.63,426.391 3152.85,431.295L3152.85,644.193L2620.37,644.193L2620.37,423.812ZM3177.85,437.562C3281.38,467.669 3365,544.774 3404.02,644.193L3177.85,644.193L3177.85,437.562Z"})}),Qe=Ae((e,t)=>{const{tooltip:n="",styleClass:r,tooltipProps:i,asCheckbox:o,isChecked:a,...s}=e;return y.jsx(uo,{label:n,hasArrow:!0,...i,...i!=null&&i.placement?{placement:i.placement}:{placement:"top"},children:y.jsx(ss,{ref:t,className:r?`invokeai__icon-button ${r}`:"invokeai__icon-button","data-as-checkbox":o,"data-selected":a!==void 0?a:void 0,...s})})}),cr=Ae((e,t)=>{const{children:n,tooltip:r="",tooltipProps:i,styleClass:o,...a}=e;return y.jsx(uo,{label:r,...i,children:y.jsx(as,{ref:t,className:["invokeai__button",o].join(" "),...a,children:n})})}),Zs=e=>{const{triggerComponent:t,children:n,styleClass:r,hasArrow:i=!0,...o}=e;return y.jsxs(ME,{...o,children:[y.jsx(DE,{children:t}),y.jsxs(RE,{className:`invokeai__popover-content ${r}`,children:[i&&y.jsx(IE,{className:"invokeai__popover-arrow"}),n]})]})},Vx=at(e=>e.lightbox,e=>e,{memoizeOptions:{equalityCheck:ke.isEqual}}),hD=/^-?(0\.)?\.?$/,ra=e=>{const{label:t,labelFontSize:n="sm",styleClass:r,isDisabled:i=!1,showStepper:o=!0,width:a,textAlign:s,isInvalid:l,value:u,onChange:d,min:h,max:m,isInteger:v=!0,formControlProps:b,formLabelProps:S,numberInputFieldProps:k,numberInputStepperProps:E,tooltipProps:_,...T}=e,[A,I]=w.useState(String(u));w.useEffect(()=>{!A.match(hD)&&u!==Number(A)&&I(String(u))},[u,A]);const R=j=>{I(j),j.match(hD)||d(v?Math.floor(Number(j)):Number(j))},D=j=>{const z=ke.clamp(v?Math.floor(Number(j.target.value)):Number(j.target.value),h,m);I(String(z)),d(z)};return y.jsx(uo,{..._,children:y.jsxs(dn,{isDisabled:i,isInvalid:l,className:r?`invokeai__number-input-form-control ${r}`:"invokeai__number-input-form-control",...b,children:[t&&y.jsx(kn,{className:"invokeai__number-input-form-label",style:{display:t?"block":"none"},fontSize:n,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",...S,children:t}),y.jsxs(TE,{className:"invokeai__number-input-root",value:A,min:h,max:m,keepWithinRange:!0,clampValueOnBlur:!1,onChange:R,onBlur:D,width:a,...T,children:[y.jsx(LE,{className:"invokeai__number-input-field",textAlign:s,...k}),o&&y.jsxs("div",{className:"invokeai__number-input-stepper",children:[y.jsx(OE,{...E,className:"invokeai__number-input-stepper-button"}),y.jsx(AE,{...E,className:"invokeai__number-input-stepper-button"})]})]})]})})},tl=e=>{const{label:t,isDisabled:n,validValues:r,tooltip:i,tooltipProps:o,size:a="sm",fontSize:s="sm",styleClass:l,...u}=e;return y.jsxs(dn,{isDisabled:n,className:`invokeai__select ${l}`,onClick:d=>{d.stopPropagation(),d.nativeEvent.stopImmediatePropagation(),d.nativeEvent.stopPropagation(),d.nativeEvent.cancelBubble=!0},children:[t&&y.jsx(kn,{className:"invokeai__select-label",fontSize:s,fontWeight:"bold",marginRight:0,marginBottom:0,whiteSpace:"nowrap",children:t}),y.jsx(uo,{label:i,...o,children:y.jsx(FV,{className:"invokeai__select-picker",fontSize:s,size:a,...u,children:r.map(d=>typeof d=="string"||typeof d=="number"?y.jsx("option",{value:d,className:"invokeai__select-option",children:d},d):y.jsx("option",{value:d.value,className:"invokeai__select-option",children:d.key},d.value))})})]})},Fy=e=>e.postprocessing,ir=e=>e.system,a_e=e=>e.system.toastQueue,qG=at(ir,e=>{const{model_list:t}=e,n=ke.reduce(t,(r,i,o)=>(i.status==="active"&&(r=o),r),"");return{...t[n],name:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),s_e=at([Fy,ir],({facetoolStrength:e,facetoolType:t,codeformerFidelity:n},{isGFPGANAvailable:r})=>({facetoolStrength:e,facetoolType:t,codeformerFidelity:n,isGFPGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wP=()=>{const e=Me(),{facetoolStrength:t,facetoolType:n,codeformerFidelity:r,isGFPGANAvailable:i}=he(s_e),o=u=>e(u8(u)),a=u=>e(xU(u)),s=u=>e(I4(u.target.value)),{t:l}=Ve();return y.jsxs(Ge,{direction:"column",gap:2,children:[y.jsx(tl,{label:l("parameters:type"),validValues:a7e.concat(),value:n,onChange:s}),y.jsx(ra,{isDisabled:!i,label:l("parameters:strength"),step:.05,min:0,max:1,onChange:o,value:t,width:"90px",isInteger:!1}),n==="codeformer"&&y.jsx(ra,{isDisabled:!i,label:l("parameters:codeformerFidelity"),step:.05,min:0,max:1,onChange:a,value:r,width:"90px",isInteger:!1})]})};var YG={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},pD=N.createContext&&N.createContext(YG),Fd=globalThis&&globalThis.__assign||function(){return Fd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{Se(i)},[i]);const Pe=w.useMemo(()=>U!=null&&U.max?U.max:a,[a,U==null?void 0:U.max]),ye=He=>{l(He)},We=He=>{He.target.value===""&&(He.target.value=String(o));const Be=ke.clamp(S?Math.floor(Number(He.target.value)):Number(fe),o,Pe);l(Be)},De=He=>{Se(He)},ot=()=>{I&&I()};return y.jsxs(dn,{className:z?`invokeai__slider-component ${z}`:"invokeai__slider-component","data-markers":h,style:A?{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"1rem",margin:0,padding:0}:{},...V,children:[y.jsx(kn,{className:"invokeai__slider-component-label",...K,children:r}),y.jsxs(wy,{w:"100%",gap:2,alignItems:"center",children:[y.jsxs(jE,{"aria-label":r,value:i,min:o,max:a,step:s,onChange:ye,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),focusThumbOnChange:!1,isDisabled:D,width:u,...ie,children:[h&&y.jsxs(y.Fragment,{children:[y.jsx(G9,{value:o,className:"invokeai__slider-mark invokeai__slider-mark-start",ml:m,...te,children:o}),y.jsx(G9,{value:a,className:"invokeai__slider-mark invokeai__slider-mark-end",ml:v,...te,children:a})]}),y.jsx(ZV,{className:"invokeai__slider_track",...q,children:y.jsx(QV,{className:"invokeai__slider_track-filled"})}),y.jsx(uo,{hasArrow:!0,className:"invokeai__slider-component-tooltip",placement:"top",isOpen:t,label:`${i}${d}`,hidden:T,...W,children:y.jsx(XV,{className:"invokeai__slider-thumb",...$})})]}),b&&y.jsxs(TE,{min:o,max:Pe,step:s,value:fe,onChange:De,onBlur:We,className:"invokeai__slider-number-field",isDisabled:j,...U,children:[y.jsx(LE,{className:"invokeai__slider-number-input",width:k,readOnly:E,minWidth:k,...X}),y.jsxs(IV,{...Z,children:[y.jsx(OE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"}),y.jsx(AE,{onClick:()=>l(Number(fe)),className:"invokeai__slider-number-stepper"})]})]}),_&&y.jsx(Qe,{size:"sm","aria-label":"Reset",tooltip:"Reset",icon:y.jsx(Wx,{}),onClick:ot,isDisabled:R,...Q})]})]})}const g_e=at([Fy,ir],({upscalingLevel:e,upscalingStrength:t,upscalingDenoising:n},{isESRGANAvailable:r})=>({upscalingLevel:e,upscalingDenoising:n,upscalingStrength:t,isESRGANAvailable:r}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CP=()=>{const e=Me(),{upscalingLevel:t,upscalingStrength:n,upscalingDenoising:r,isESRGANAvailable:i}=he(g_e),{t:o}=Ve(),a=l=>e(wU(Number(l.target.value))),s=l=>e(d8(l));return y.jsxs(Ge,{flexDir:"column",rowGap:"1rem",minWidth:"20rem",children:[y.jsx(tl,{isDisabled:!i,label:o("parameters:scale"),value:t,onChange:a,validValues:o7e}),y.jsx(so,{label:o("parameters:denoisingStrength"),value:r,min:0,max:1,step:.01,onChange:l=>{e(c8(l))},handleReset:()=>e(c8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i}),y.jsx(so,{label:`${o("parameters:upscale")} ${o("parameters:strength")}`,value:n,min:0,max:1,step:.05,onChange:s,handleReset:()=>e(d8(.75)),withSliderMarks:!0,withInput:!0,withReset:!0,isSliderDisabled:!i,isInputDisabled:!i,isResetDisabled:!i})]})};var m_e=Object.create,ZG=Object.defineProperty,v_e=Object.getOwnPropertyDescriptor,y_e=Object.getOwnPropertyNames,b_e=Object.getPrototypeOf,S_e=Object.prototype.hasOwnProperty,Ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),x_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of y_e(t))!S_e.call(e,i)&&i!==n&&ZG(e,i,{get:()=>t[i],enumerable:!(r=v_e(t,i))||r.enumerable});return e},QG=(e,t,n)=>(n=e!=null?m_e(b_e(e)):{},x_e(t||!e||!e.__esModule?ZG(n,"default",{value:e,enumerable:!0}):n,e)),w_e=Ue((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n}),JG=Ue((e,t)=>{function n(r,i){return r===i||r!==r&&i!==i}t.exports=n}),Ux=Ue((e,t)=>{var n=JG();function r(i,o){for(var a=i.length;a--;)if(n(i[a][0],o))return a;return-1}t.exports=r}),C_e=Ue((e,t)=>{var n=Ux(),r=Array.prototype,i=r.splice;function o(a){var s=this.__data__,l=n(s,a);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=o}),__e=Ue((e,t)=>{var n=Ux();function r(i){var o=this.__data__,a=n(o,i);return a<0?void 0:o[a][1]}t.exports=r}),k_e=Ue((e,t)=>{var n=Ux();function r(i){return n(this.__data__,i)>-1}t.exports=r}),E_e=Ue((e,t)=>{var n=Ux();function r(i,o){var a=this.__data__,s=n(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=r}),Gx=Ue((e,t)=>{var n=w_e(),r=C_e(),i=__e(),o=k_e(),a=E_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx();function r(){this.__data__=new n,this.size=0}t.exports=r}),T_e=Ue((e,t)=>{function n(r){var i=this.__data__,o=i.delete(r);return this.size=i.size,o}t.exports=n}),L_e=Ue((e,t)=>{function n(r){return this.__data__.get(r)}t.exports=n}),A_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),eq=Ue((e,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),pc=Ue((e,t)=>{var n=eq(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();t.exports=i}),_P=Ue((e,t)=>{var n=pc(),r=n.Symbol;t.exports=r}),O_e=Ue((e,t)=>{var n=_P(),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;function s(l){var u=i.call(l,a),d=l[a];try{l[a]=void 0;var h=!0}catch{}var m=o.call(l);return h&&(u?l[a]=d:delete l[a]),m}t.exports=s}),M_e=Ue((e,t)=>{var n=Object.prototype,r=n.toString;function i(o){return r.call(o)}t.exports=i}),qx=Ue((e,t)=>{var n=_P(),r=O_e(),i=M_e(),o="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;function l(u){return u==null?u===void 0?a:o:s&&s in Object(u)?r(u):i(u)}t.exports=l}),tq=Ue((e,t)=>{function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}t.exports=n}),nq=Ue((e,t)=>{var n=qx(),r=tq(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!r(u))return!1;var d=n(u);return d==o||d==a||d==i||d==s}t.exports=l}),I_e=Ue((e,t)=>{var n=pc(),r=n["__core-js_shared__"];t.exports=r}),R_e=Ue((e,t)=>{var n=I_e(),r=function(){var o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!r&&r in o}t.exports=i}),rq=Ue((e,t)=>{var n=Function.prototype,r=n.toString;function i(o){if(o!=null){try{return r.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}),D_e=Ue((e,t)=>{var n=nq(),r=R_e(),i=tq(),o=rq(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,h=u.hasOwnProperty,m=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function v(b){if(!i(b)||r(b))return!1;var S=n(b)?m:s;return S.test(o(b))}t.exports=v}),N_e=Ue((e,t)=>{function n(r,i){return r==null?void 0:r[i]}t.exports=n}),L0=Ue((e,t)=>{var n=D_e(),r=N_e();function i(o,a){var s=r(o,a);return n(s)?s:void 0}t.exports=i}),kP=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Map");t.exports=i}),Yx=Ue((e,t)=>{var n=L0(),r=n(Object,"create");t.exports=r}),j_e=Ue((e,t)=>{var n=Yx();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}),B_e=Ue((e,t)=>{function n(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}t.exports=n}),$_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var l=this.__data__;if(n){var u=l[s];return u===r?void 0:u}return o.call(l,s)?l[s]:void 0}t.exports=a}),F_e=Ue((e,t)=>{var n=Yx(),r=Object.prototype,i=r.hasOwnProperty;function o(a){var s=this.__data__;return n?s[a]!==void 0:i.call(s,a)}t.exports=o}),z_e=Ue((e,t)=>{var n=Yx(),r="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=n&&a===void 0?r:a,this}t.exports=i}),H_e=Ue((e,t)=>{var n=j_e(),r=B_e(),i=$_e(),o=F_e(),a=z_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=H_e(),r=Gx(),i=kP();function o(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=o}),W_e=Ue((e,t)=>{function n(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}t.exports=n}),Kx=Ue((e,t)=>{var n=W_e();function r(i,o){var a=i.__data__;return n(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=r}),U_e=Ue((e,t)=>{var n=Kx();function r(i){var o=n(this,i).delete(i);return this.size-=o?1:0,o}t.exports=r}),G_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).get(i)}t.exports=r}),q_e=Ue((e,t)=>{var n=Kx();function r(i){return n(this,i).has(i)}t.exports=r}),Y_e=Ue((e,t)=>{var n=Kx();function r(i,o){var a=n(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=r}),iq=Ue((e,t)=>{var n=V_e(),r=U_e(),i=G_e(),o=q_e(),a=Y_e();function s(l){var u=-1,d=l==null?0:l.length;for(this.clear();++u{var n=Gx(),r=kP(),i=iq(),o=200;function a(s,l){var u=this.__data__;if(u instanceof n){var d=u.__data__;if(!r||d.length{var n=Gx(),r=P_e(),i=T_e(),o=L_e(),a=A_e(),s=K_e();function l(u){var d=this.__data__=new n(u);this.size=d.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l}),Z_e=Ue((e,t)=>{var n="__lodash_hash_undefined__";function r(i){return this.__data__.set(i,n),this}t.exports=r}),Q_e=Ue((e,t)=>{function n(r){return this.__data__.has(r)}t.exports=n}),J_e=Ue((e,t)=>{var n=iq(),r=Z_e(),i=Q_e();function o(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new n;++s{function n(r,i){for(var o=-1,a=r==null?0:r.length;++o{function n(r,i){return r.has(i)}t.exports=n}),oq=Ue((e,t)=>{var n=J_e(),r=eke(),i=tke(),o=1,a=2;function s(l,u,d,h,m,v){var b=d&o,S=l.length,k=u.length;if(S!=k&&!(b&&k>S))return!1;var E=v.get(l),_=v.get(u);if(E&&_)return E==u&&_==l;var T=-1,A=!0,I=d&a?new n:void 0;for(v.set(l,u),v.set(u,l);++T{var n=pc(),r=n.Uint8Array;t.exports=r}),rke=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=n}),ike=Ue((e,t)=>{function n(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=a}),o}t.exports=n}),oke=Ue((e,t)=>{var n=_P(),r=nke(),i=JG(),o=oq(),a=rke(),s=ike(),l=1,u=2,d="[object Boolean]",h="[object Date]",m="[object Error]",v="[object Map]",b="[object Number]",S="[object RegExp]",k="[object Set]",E="[object String]",_="[object Symbol]",T="[object ArrayBuffer]",A="[object DataView]",I=n?n.prototype:void 0,R=I?I.valueOf:void 0;function D(j,z,V,K,te,q,$){switch(V){case A:if(j.byteLength!=z.byteLength||j.byteOffset!=z.byteOffset)return!1;j=j.buffer,z=z.buffer;case T:return!(j.byteLength!=z.byteLength||!q(new r(j),new r(z)));case d:case h:case b:return i(+j,+z);case m:return j.name==z.name&&j.message==z.message;case S:case E:return j==z+"";case v:var U=a;case k:var X=K&l;if(U||(U=s),j.size!=z.size&&!X)return!1;var Z=$.get(j);if(Z)return Z==z;K|=u,$.set(j,z);var W=o(U(j),U(z),K,te,q,$);return $.delete(j),W;case _:if(R)return R.call(j)==R.call(z)}return!1}t.exports=D}),ake=Ue((e,t)=>{function n(r,i){for(var o=-1,a=i.length,s=r.length;++o{var n=Array.isArray;t.exports=n}),ske=Ue((e,t)=>{var n=ake(),r=EP();function i(o,a,s){var l=a(o);return r(o)?l:n(l,s(o))}t.exports=i}),lke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=r==null?0:r.length,s=0,l=[];++o{function n(){return[]}t.exports=n}),cke=Ue((e,t)=>{var n=lke(),r=uke(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(l){return l==null?[]:(l=Object(l),n(a(l),function(u){return o.call(l,u)}))}:r;t.exports=s}),dke=Ue((e,t)=>{function n(r,i){for(var o=-1,a=Array(r);++o{function n(r){return r!=null&&typeof r=="object"}t.exports=n}),fke=Ue((e,t)=>{var n=qx(),r=Xx(),i="[object Arguments]";function o(a){return r(a)&&n(a)==i}t.exports=o}),hke=Ue((e,t)=>{var n=fke(),r=Xx(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(l){return r(l)&&o.call(l,"callee")&&!a.call(l,"callee")};t.exports=s}),pke=Ue((e,t)=>{function n(){return!1}t.exports=n}),aq=Ue((e,t)=>{var n=pc(),r=pke(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?n.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||r;t.exports=u}),gke=Ue((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??n,!!a&&(s=="number"||s!="symbol"&&r.test(o))&&o>-1&&o%1==0&&o{var n=9007199254740991;function r(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}t.exports=r}),mke=Ue((e,t)=>{var n=qx(),r=sq(),i=Xx(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",S="[object Set]",k="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",T="[object DataView]",A="[object Float32Array]",I="[object Float64Array]",R="[object Int8Array]",D="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",V="[object Uint8ClampedArray]",K="[object Uint16Array]",te="[object Uint32Array]",q={};q[A]=q[I]=q[R]=q[D]=q[j]=q[z]=q[V]=q[K]=q[te]=!0,q[o]=q[a]=q[_]=q[s]=q[T]=q[l]=q[u]=q[d]=q[h]=q[m]=q[v]=q[b]=q[S]=q[k]=q[E]=!1;function $(U){return i(U)&&r(U.length)&&!!q[n(U)]}t.exports=$}),vke=Ue((e,t)=>{function n(r){return function(i){return r(i)}}t.exports=n}),yke=Ue((e,t)=>{var n=eq(),r=typeof e=="object"&&e&&!e.nodeType&&e,i=r&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s}),lq=Ue((e,t)=>{var n=mke(),r=vke(),i=yke(),o=i&&i.isTypedArray,a=o?r(o):n;t.exports=a}),bke=Ue((e,t)=>{var n=dke(),r=hke(),i=EP(),o=aq(),a=gke(),s=lq(),l=Object.prototype,u=l.hasOwnProperty;function d(h,m){var v=i(h),b=!v&&r(h),S=!v&&!b&&o(h),k=!v&&!b&&!S&&s(h),E=v||b||S||k,_=E?n(h.length,String):[],T=_.length;for(var A in h)(m||u.call(h,A))&&!(E&&(A=="length"||S&&(A=="offset"||A=="parent")||k&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,T)))&&_.push(A);return _}t.exports=d}),Ske=Ue((e,t)=>{var n=Object.prototype;function r(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||n;return i===a}t.exports=r}),xke=Ue((e,t)=>{function n(r,i){return function(o){return r(i(o))}}t.exports=n}),wke=Ue((e,t)=>{var n=xke(),r=n(Object.keys,Object);t.exports=r}),Cke=Ue((e,t)=>{var n=Ske(),r=wke(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!n(s))return r(s);var l=[];for(var u in Object(s))o.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=a}),_ke=Ue((e,t)=>{var n=nq(),r=sq();function i(o){return o!=null&&r(o.length)&&!n(o)}t.exports=i}),kke=Ue((e,t)=>{var n=bke(),r=Cke(),i=_ke();function o(a){return i(a)?n(a):r(a)}t.exports=o}),Eke=Ue((e,t)=>{var n=ske(),r=cke(),i=kke();function o(a){return n(a,i,r)}t.exports=o}),Pke=Ue((e,t)=>{var n=Eke(),r=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,l,u,d,h,m){var v=u&r,b=n(s),S=b.length,k=n(l),E=k.length;if(S!=E&&!v)return!1;for(var _=S;_--;){var T=b[_];if(!(v?T in l:o.call(l,T)))return!1}var A=m.get(s),I=m.get(l);if(A&&I)return A==l&&I==s;var R=!0;m.set(s,l),m.set(l,s);for(var D=v;++_{var n=L0(),r=pc(),i=n(r,"DataView");t.exports=i}),Lke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Promise");t.exports=i}),Ake=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"Set");t.exports=i}),Oke=Ue((e,t)=>{var n=L0(),r=pc(),i=n(r,"WeakMap");t.exports=i}),Mke=Ue((e,t)=>{var n=Tke(),r=kP(),i=Lke(),o=Ake(),a=Oke(),s=qx(),l=rq(),u="[object Map]",d="[object Object]",h="[object Promise]",m="[object Set]",v="[object WeakMap]",b="[object DataView]",S=l(n),k=l(r),E=l(i),_=l(o),T=l(a),A=s;(n&&A(new n(new ArrayBuffer(1)))!=b||r&&A(new r)!=u||i&&A(i.resolve())!=h||o&&A(new o)!=m||a&&A(new a)!=v)&&(A=function(I){var R=s(I),D=R==d?I.constructor:void 0,j=D?l(D):"";if(j)switch(j){case S:return b;case k:return u;case E:return h;case _:return m;case T:return v}return R}),t.exports=A}),Ike=Ue((e,t)=>{var n=X_e(),r=oq(),i=oke(),o=Pke(),a=Mke(),s=EP(),l=aq(),u=lq(),d=1,h="[object Arguments]",m="[object Array]",v="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function k(E,_,T,A,I,R){var D=s(E),j=s(_),z=D?m:a(E),V=j?m:a(_);z=z==h?v:z,V=V==h?v:V;var K=z==v,te=V==v,q=z==V;if(q&&l(E)){if(!l(_))return!1;D=!0,K=!1}if(q&&!K)return R||(R=new n),D||u(E)?r(E,_,T,A,I,R):i(E,_,z,T,A,I,R);if(!(T&d)){var $=K&&S.call(E,"__wrapped__"),U=te&&S.call(_,"__wrapped__");if($||U){var X=$?E.value():E,Z=U?_.value():_;return R||(R=new n),I(X,Z,T,A,R)}}return q?(R||(R=new n),o(E,_,T,A,I,R)):!1}t.exports=k}),Rke=Ue((e,t)=>{var n=Ike(),r=Xx();function i(o,a,s,l,u){return o===a?!0:o==null||a==null||!r(o)&&!r(a)?o!==o&&a!==a:n(o,a,s,l,i,u)}t.exports=i}),uq=Ue((e,t)=>{var n=Rke();function r(i,o){return n(i,o)}t.exports=r}),Dke=["ctrl","shift","alt","meta","mod"],Nke={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown"};function IC(e,t=","){return typeof e=="string"?e.split(t):e}function u2(e,t="+"){let n=e.toLocaleLowerCase().split(t).map(o=>o.trim()).map(o=>Nke[o]||o),r={alt:n.includes("alt"),ctrl:n.includes("ctrl"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},i=n.filter(o=>!Dke.includes(o));return{...r,keys:i}}function jke(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function Bke(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function $ke(e){return cq(e,["input","textarea","select"])}function cq({target:e},t=!1){let n=e&&e.tagName;return t instanceof Array?Boolean(n&&t&&t.some(r=>r.toLowerCase()===n.toLowerCase())):Boolean(n&&t&&t===!0)}function Fke(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a '),!0):t?e.some(n=>t.includes(n))||e.includes("*"):!0}var zke=(e,t,n)=>{let{alt:r,ctrl:i,meta:o,mod:a,shift:s,keys:l}=t,{altKey:u,ctrlKey:d,metaKey:h,shiftKey:m,key:v,code:b}=e,S=b.toLowerCase().replace("key",""),k=v.toLowerCase();if(u!==r&&k!=="alt"||m!==s&&k!=="shift")return!1;if(a){if(!h&&!d)return!1}else if(h!==o&&S!=="meta"||d!==i&&S!=="ctrl")return!1;return l&&l.length===1&&(l.includes(k)||l.includes(S))?!0:l?l.every(E=>n.has(E)):!l},Hke=w.createContext(void 0),Vke=()=>w.useContext(Hke),Wke=w.createContext({hotkeys:[],enabledScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),Uke=()=>w.useContext(Wke),Gke=QG(uq());function qke(e){let t=w.useRef(void 0);return(0,Gke.default)(t.current,e)||(t.current=e),t.current}var gD=e=>{e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()};function Je(e,t,n,r){let i=w.useRef(null),{current:o}=w.useRef(new Set),a=n instanceof Array?r instanceof Array?void 0:r:n,s=n instanceof Array?n:r instanceof Array?r:[],l=w.useCallback(t,[...s]),u=qke(a),{enabledScopes:d}=Uke(),h=Vke();return w.useLayoutEffect(()=>{if((u==null?void 0:u.enabled)===!1||!Fke(d,u==null?void 0:u.scopes))return;let m=S=>{var k;if(!($ke(S)&&!cq(S,u==null?void 0:u.enableOnFormTags))){if(i.current!==null&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){gD(S);return}(k=S.target)!=null&&k.isContentEditable&&!(u!=null&&u.enableOnContentEditable)||IC(e,u==null?void 0:u.splitKey).forEach(E=>{var T;let _=u2(E,u==null?void 0:u.combinationKey);if(zke(S,_,o)||(T=_.keys)!=null&&T.includes("*")){if(jke(S,_,u==null?void 0:u.preventDefault),!Bke(S,_,u==null?void 0:u.enabled)){gD(S);return}l(S,_)}})}},v=S=>{o.add(S.key.toLowerCase()),((u==null?void 0:u.keydown)===void 0&&(u==null?void 0:u.keyup)!==!0||u!=null&&u.keydown)&&m(S)},b=S=>{S.key.toLowerCase()!=="meta"?o.delete(S.key.toLowerCase()):o.clear(),u!=null&&u.keyup&&m(S)};return(i.current||document).addEventListener("keyup",b),(i.current||document).addEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.addHotkey(u2(S,u==null?void 0:u.combinationKey))),()=>{(i.current||document).removeEventListener("keyup",b),(i.current||document).removeEventListener("keydown",v),h&&IC(e,u==null?void 0:u.splitKey).forEach(S=>h.removeHotkey(u2(S,u==null?void 0:u.combinationKey)))}},[e,l,u,d]),i}QG(uq());var D8=new Set;function Yke(e){(Array.isArray(e)?e:[e]).forEach(t=>D8.add(u2(t)))}function Kke(e){(Array.isArray(e)?e:[e]).forEach(t=>{var r;let n=u2(t);for(let i of D8)(r=i.keys)!=null&&r.every(o=>{var a;return(a=n.keys)==null?void 0:a.includes(o)})&&D8.delete(i)})}window.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keydown",e=>{Yke(e.key)}),document.addEventListener("keyup",e=>{Kke(e.key)})});function Xke(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}}]})(e)}function Zke(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(e)}function Qke(e){return gt({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}]})(e)}function dq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}]})(e)}function fq(e){return gt({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}]})(e)}function Jke(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}]})(e)}function eEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}]})(e)}function hq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}]})(e)}function tEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}]})(e)}function nEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}]})(e)}function PP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function pq(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"}}]})(e)}function o0(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"}}]})(e)}function gq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z"}}]})(e)}function rEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}]})(e)}function TP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function mq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z"}}]})(e)}function iEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z"}}]})(e)}function oEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"}}]})(e)}function vq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M50.75 333.25c-12 12-18.75 28.28-18.75 45.26V424L0 480l32 32 56-32h45.49c16.97 0 33.25-6.74 45.25-18.74l126.64-126.62-128-128L50.75 333.25zM483.88 28.12c-37.47-37.5-98.28-37.5-135.75 0l-77.09 77.09-13.1-13.1c-9.44-9.44-24.65-9.31-33.94 0l-40.97 40.97c-9.37 9.37-9.37 24.57 0 33.94l161.94 161.94c9.44 9.44 24.65 9.31 33.94 0L419.88 288c9.37-9.37 9.37-24.57 0-33.94l-13.1-13.1 77.09-77.09c37.51-37.48 37.51-98.26.01-135.75z"}}]})(e)}function aEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"}}]})(e)}function sEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"}}]})(e)}function yq(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M512 320s-64 92.65-64 128c0 35.35 28.66 64 64 64s64-28.65 64-64-64-128-64-128zm-9.37-102.94L294.94 9.37C288.69 3.12 280.5 0 272.31 0s-16.38 3.12-22.62 9.37l-81.58 81.58L81.93 4.76c-6.25-6.25-16.38-6.25-22.62 0L36.69 27.38c-6.24 6.25-6.24 16.38 0 22.62l86.19 86.18-94.76 94.76c-37.49 37.48-37.49 98.26 0 135.75l117.19 117.19c18.74 18.74 43.31 28.12 67.87 28.12 24.57 0 49.13-9.37 67.87-28.12l221.57-221.57c12.5-12.5 12.5-32.75.01-45.25zm-116.22 70.97H65.93c1.36-3.84 3.57-7.98 7.43-11.83l13.15-13.15 81.61-81.61 58.6 58.6c12.49 12.49 32.75 12.49 45.24 0s12.49-32.75 0-45.24l-58.6-58.6 58.95-58.95 162.44 162.44-48.34 48.34z"}}]})(e)}function lEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.3.9 9 8.5 4.4 13.1z"}}]})(e)}function uEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"}}]})(e)}function cEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"}}]})(e)}function dEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z"}}]})(e)}function bq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"}}]})(e)}function fEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320.67 64c-442.6 0-357.57 384-158.46 384 39.9 0 77.47-20.69 101.42-55.86l25.73-37.79c15.66-22.99 46.97-22.99 62.63 0l25.73 37.79C401.66 427.31 439.23 448 479.13 448c189.86 0 290.63-384-158.46-384zM184 308.36c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05zm272 0c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05z"}}]})(e)}function hEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function Sq(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"}}]})(e)}function pEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(e)}function gEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}}]})(e)}function zy(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(e)}function mEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z"}}]})(e)}function vEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z"}}]})(e)}function yEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z"}}]})(e)}function LP(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"}}]})(e)}function bEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M64 96H0c0 123.7 100.3 224 224 224v144c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320C288 196.3 187.7 96 64 96zm384-64c-84.2 0-157.4 46.5-195.7 115.2 27.7 30.2 48.2 66.9 59 107.6C424 243.1 512 147.9 512 32h-64z"}}]})(e)}function SEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"}}]})(e)}function mD(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"}}]})(e)}function AP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z"}}]})(e)}function xEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"}}]})(e)}function vp(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"}}]})(e)}function wEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"}}]})(e)}function Zx(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"}}]})(e)}function CEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function OP(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}]})(e)}const sn=e=>e.canvas,Mr=at([sn,Or,ir],(e,t,n)=>e.layerState.stagingArea.images.length>0||t==="unifiedCanvas"&&n.isProcessing),xq=e=>e.canvas.layerState.objects.find(W5),yp=e=>e.gallery,_Ee=at([yp,Vx,Mr,Or],(e,t,n,r)=>{const{categories:i,currentCategory:o,currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,galleryWidth:b,shouldUseSingleGalleryColumn:S}=e,{isLightboxOpen:k}=t;return{currentImageUuid:a,shouldPinGallery:s,shouldShowGallery:l,galleryScrollPosition:u,galleryImageMinimumWidth:d,galleryImageObjectFit:h,galleryGridTemplateColumns:S?"auto":`repeat(auto-fill, minmax(${d}px, auto))`,activeTabName:r,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,images:i[o].images,areMoreImagesAvailable:i[o].areMoreImagesAvailable,currentCategory:o,galleryWidth:b,isLightboxOpen:k,isStaging:n,shouldEnableResize:!(k||r==="unifiedCanvas"&&s),shouldUseSingleGalleryColumn:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kEe=at([yp,ir,Vx,Or],(e,t,n,r)=>({mayDeleteImage:t.isConnected&&!t.isProcessing,galleryImageObjectFit:e.galleryImageObjectFit,galleryImageMinimumWidth:e.galleryImageMinimumWidth,shouldUseSingleGalleryColumn:e.shouldUseSingleGalleryColumn,activeTabName:r,isLightboxOpen:n.isLightboxOpen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EEe=at(ir,e=>{const{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}=e;return{shouldConfirmOnDelete:t,isConnected:n,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eS=w.forwardRef(({image:e,children:t},n)=>{const{isOpen:r,onOpen:i,onClose:o}=Wh(),a=Me(),{shouldConfirmOnDelete:s,isConnected:l,isProcessing:u}=he(EEe),d=w.useRef(null),h=b=>{b.stopPropagation(),s?i():m()},m=()=>{l&&!u&&e&&a(N8e(e)),o()};Je("delete",()=>{s?i():m()},[e,s,l,u]);const v=b=>a(BU(!b.target.checked));return y.jsxs(y.Fragment,{children:[w.cloneElement(t,{onClick:e?h:void 0,ref:n}),y.jsx(AV,{isOpen:r,leastDestructiveRef:d,onClose:o,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:"Delete image"}),y.jsx(n0,{children:y.jsxs(Ge,{direction:"column",gap:5,children:[y.jsx(fn,{children:"Are you sure? Deleted images will be sent to the Bin. You can restore from there if you wish to."}),y.jsx(dn,{children:y.jsxs(Ge,{alignItems:"center",children:[y.jsx(kn,{mb:0,children:"Don't ask me again"}),y.jsx(BE,{checked:!s,onChange:v})]})})]})}),y.jsxs(yx,{children:[y.jsx(as,{ref:d,onClick:o,className:"modal-close-btn",children:"Cancel"}),y.jsx(as,{colorScheme:"red",onClick:m,ml:3,children:"Delete"})]})]})})})]})});eS.displayName="DeleteImageModal";const PEe=at([ir,yp,Fy,mp,Vx,Or],(e,t,n,r,i,o)=>{const{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u}=e,{upscalingLevel:d,facetoolStrength:h}=n,{isLightboxOpen:m}=i,{shouldShowImageDetails:v}=r,{intermediateImage:b,currentImage:S}=t;return{isProcessing:a,isConnected:s,isGFPGANAvailable:l,isESRGANAvailable:u,upscalingLevel:d,facetoolStrength:h,shouldDisableToolbarButtons:Boolean(b)||!S,currentImage:S,shouldShowImageDetails:v,activeTabName:o,isLightboxOpen:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),wq=()=>{var z,V,K,te,q,$;const e=Me(),{isProcessing:t,isConnected:n,isGFPGANAvailable:r,isESRGANAvailable:i,upscalingLevel:o,facetoolStrength:a,shouldDisableToolbarButtons:s,shouldShowImageDetails:l,currentImage:u,isLightboxOpen:d,activeTabName:h}=he(PEe),m=Ry(),{t:v}=Ve(),b=()=>{u&&(d&&e(Bm(!1)),e(k0(u)),e(qo("img2img")))},S=async()=>{if(!u)return;const U=await fetch(u.url).then(Z=>Z.blob()),X=[new ClipboardItem({[U.type]:U})];await navigator.clipboard.write(X),m({title:v("toast:imageCopied"),status:"success",duration:2500,isClosable:!0})},k=()=>{navigator.clipboard.writeText(u?window.location.toString()+u.url:"").then(()=>{m({title:v("toast:imageLinkCopied"),status:"success",duration:2500,isClosable:!0})})};Je("shift+i",()=>{u?(b(),m({title:v("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:imageNotLoaded"),description:v("toast:imageNotLoadedDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const E=()=>{var U,X;u&&(u.metadata&&e(aU(u.metadata)),((U=u.metadata)==null?void 0:U.image.type)==="img2img"?e(qo("img2img")):((X=u.metadata)==null?void 0:X.image.type)==="txt2img"&&e(qo("txt2img")))};Je("a",()=>{var U,X;["txt2img","img2img"].includes((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)==null?void 0:X.type)?(E(),m({title:v("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:parametersNotSet"),description:v("toast:parametersNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const _=()=>{u!=null&&u.metadata&&e(Ny(u.metadata.image.seed))};Je("s",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.seed?(_(),m({title:v("toast:seedSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:seedNotSet"),description:v("toast:seedNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const T=()=>{var U,X,Z,W;if((X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt){const[Q,ie]=aP((W=(Z=u==null?void 0:u.metadata)==null?void 0:Z.image)==null?void 0:W.prompt);Q&&e(Nx(Q)),e(Q2(ie||""))}};Je("p",()=>{var U,X;(X=(U=u==null?void 0:u.metadata)==null?void 0:U.image)!=null&&X.prompt?(T(),m({title:v("toast:promptSet"),status:"success",duration:2500,isClosable:!0})):m({title:v("toast:promptNotSet"),description:v("toast:promptNotSetDesc"),status:"error",duration:2500,isClosable:!0})},[u]);const A=()=>{u&&e(R8e(u))};Je("Shift+U",()=>{i&&!s&&n&&!t&&o?A():m({title:v("toast:upscalingFailed"),status:"error",duration:2500,isClosable:!0})},[u,i,s,n,t,o]);const I=()=>{u&&e(D8e(u))};Je("Shift+R",()=>{r&&!s&&n&&!t&&a?I():m({title:v("toast:faceRestoreFailed"),status:"error",duration:2500,isClosable:!0})},[u,r,s,n,t,a]);const R=()=>e(VU(!l)),D=()=>{u&&(d&&e(Bm(!1)),e(Dx(u)),e(vi(!0)),h!=="unifiedCanvas"&&e(qo("unifiedCanvas")),m({title:v("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0}))};Je("i",()=>{u?R():m({title:v("toast:metadataLoadFailed"),status:"error",duration:2500,isClosable:!0})},[u,l]);const j=()=>{e(Bm(!d))};return y.jsxs("div",{className:"current-image-options",children:[y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":`${v("parameters:sendTo")}...`,icon:y.jsx(SEe,{})}),children:y.jsxs("div",{className:"current-image-send-to-popover",children:[y.jsx(cr,{size:"sm",onClick:b,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToImg2Img")}),y.jsx(cr,{size:"sm",onClick:D,leftIcon:y.jsx(mD,{}),children:v("parameters:sendToUnifiedCanvas")}),y.jsx(cr,{size:"sm",onClick:S,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImage")}),y.jsx(cr,{size:"sm",onClick:k,leftIcon:y.jsx(o0,{}),children:v("parameters:copyImageToLink")}),y.jsx(Nh,{download:!0,href:u==null?void 0:u.url,children:y.jsx(cr,{leftIcon:y.jsx(TP,{}),size:"sm",w:"100%",children:v("parameters:downloadImage")})})]})}),y.jsx(Qe,{icon:y.jsx(oEe,{}),tooltip:d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"aria-label":d?`${v("parameters:closeViewer")} (Z)`:`${v("parameters:openInViewer")} (Z)`,"data-selected":d,onClick:j})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{icon:y.jsx(mEe,{}),tooltip:`${v("parameters:usePrompt")} (P)`,"aria-label":`${v("parameters:usePrompt")} (P)`,isDisabled:!((V=(z=u==null?void 0:u.metadata)==null?void 0:z.image)!=null&&V.prompt),onClick:T}),y.jsx(Qe,{icon:y.jsx(bEe,{}),tooltip:`${v("parameters:useSeed")} (S)`,"aria-label":`${v("parameters:useSeed")} (S)`,isDisabled:!((te=(K=u==null?void 0:u.metadata)==null?void 0:K.image)!=null&&te.seed),onClick:_}),y.jsx(Qe,{icon:y.jsx(tEe,{}),tooltip:`${v("parameters:useAll")} (A)`,"aria-label":`${v("parameters:useAll")} (A)`,isDisabled:!["txt2img","img2img"].includes(($=(q=u==null?void 0:u.metadata)==null?void 0:q.image)==null?void 0:$.type),onClick:E})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(lEe,{}),"aria-label":v("parameters:restoreFaces")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(wP,{}),y.jsx(cr,{isDisabled:!r||!u||!(n&&!t)||!a,onClick:I,children:v("parameters:restoreFaces")})]})}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{icon:y.jsx(iEe,{}),"aria-label":v("parameters:upscale")}),children:y.jsxs("div",{className:"current-image-postprocessing-popover",children:[y.jsx(CP,{}),y.jsx(cr,{isDisabled:!i||!u||!(n&&!t)||!o,onClick:A,children:v("parameters:upscaleImage")})]})})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(Qe,{icon:y.jsx(pq,{}),tooltip:`${v("parameters:info")} (I)`,"aria-label":`${v("parameters:info")} (I)`,"data-selected":l,onClick:R})}),y.jsx(eS,{image:u,children:y.jsx(Qe,{icon:y.jsx(vp,{}),tooltip:`${v("parameters:deleteImage")} (Del)`,"aria-label":`${v("parameters:deleteImage")} (Del)`,isDisabled:!u||!n||t,style:{backgroundColor:"var(--btn-delete-image)"}})})]})};yt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"});yt({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"});yt({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"});yt({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"});yt({displayName:"SunIcon",path:N.createElement("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor"},N.createElement("circle",{cx:"12",cy:"12",r:"5"}),N.createElement("path",{d:"M12 1v2"}),N.createElement("path",{d:"M12 21v2"}),N.createElement("path",{d:"M4.22 4.22l1.42 1.42"}),N.createElement("path",{d:"M18.36 18.36l1.42 1.42"}),N.createElement("path",{d:"M1 12h2"}),N.createElement("path",{d:"M21 12h2"}),N.createElement("path",{d:"M4.22 19.78l1.42-1.42"}),N.createElement("path",{d:"M18.36 5.64l1.42-1.42"}))});yt({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"});yt({displayName:"SmallAddIcon",viewBox:"0 0 20 20",path:N.createElement("path",{fill:"currentColor",d:"M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z",fillRule:"evenodd"})});yt({viewBox:"0 0 14 14",d:"M14,7.77 L14,6.17 L12.06,5.53 L11.61,4.44 L12.49,2.6 L11.36,1.47 L9.55,2.38 L8.46,1.93 L7.77,0.01 L6.17,0.01 L5.54,1.95 L4.43,2.4 L2.59,1.52 L1.46,2.65 L2.37,4.46 L1.92,5.55 L0,6.23 L0,7.82 L1.94,8.46 L2.39,9.55 L1.51,11.39 L2.64,12.52 L4.45,11.61 L5.54,12.06 L6.23,13.98 L7.82,13.98 L8.45,12.04 L9.56,11.59 L11.4,12.47 L12.53,11.34 L11.61,9.53 L12.08,8.44 L14,7.75 L14,7.77 Z M7,10 C5.34,10 4,8.66 4,7 C4,5.34 5.34,4 7,4 C8.66,4 10,5.34 10,7 C10,8.66 8.66,10 7,10 Z",displayName:"SettingsIcon"});yt({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"});yt({d:"M19.5,9.5h-.75V6.75a6.75,6.75,0,0,0-13.5,0V9.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5ZM7.75,6.75a4.25,4.25,0,0,1,8.5,0V9a.5.5,0,0,1-.5.5H8.25a.5.5,0,0,1-.5-.5Z",displayName:"LockIcon"});yt({d:"M19.5,9.5h-.75V6.75A6.751,6.751,0,0,0,5.533,4.811a1.25,1.25,0,1,0,2.395.717A4.251,4.251,0,0,1,16.25,6.75V9a.5.5,0,0,1-.5.5H4.5a2,2,0,0,0-2,2V22a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V11.5A2,2,0,0,0,19.5,9.5Zm-9.5,6a2,2,0,1,1,3,1.723V19.5a1,1,0,0,1-2,0V17.223A1.994,1.994,0,0,1,10,15.5Z",displayName:"UnlockIcon"});yt({displayName:"ViewIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),N.createElement("circle",{cx:"12",cy:"12",r:"2"}))});yt({displayName:"ViewOffIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),N.createElement("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"}))});yt({d:"M11.2857,6.05714 L10.08571,4.85714 L7.85714,7.14786 L7.85714,1 L6.14286,1 L6.14286,7.14786 L3.91429,4.85714 L2.71429,6.05714 L7,10.42857 L11.2857,6.05714 Z M1,11.2857 L1,13 L13,13 L13,11.2857 L1,11.2857 Z",displayName:"DownloadIcon",viewBox:"0 0 14 14"});var TEe=yt({displayName:"DeleteIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"}))});yt({displayName:"RepeatIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.319,4.936a7.239,7.239,0,0,1,7.1,2.252,1.25,1.25,0,1,0,1.872-1.657A9.737,9.737,0,0,0,9.743,2.5,10.269,10.269,0,0,0,2.378,9.61a.249.249,0,0,1-.271.178l-1.033-.13A.491.491,0,0,0,.6,9.877a.5.5,0,0,0-.019.526l2.476,4.342a.5.5,0,0,0,.373.248.43.43,0,0,0,.062,0,.5.5,0,0,0,.359-.152l3.477-3.593a.5.5,0,0,0-.3-.844L5.15,10.172a.25.25,0,0,1-.2-.333A7.7,7.7,0,0,1,10.319,4.936Z"}),N.createElement("path",{d:"M23.406,14.1a.5.5,0,0,0,.015-.526l-2.5-4.329A.5.5,0,0,0,20.546,9a.489.489,0,0,0-.421.151l-3.456,3.614a.5.5,0,0,0,.3.842l1.848.221a.249.249,0,0,1,.183.117.253.253,0,0,1,.023.216,7.688,7.688,0,0,1-5.369,4.9,7.243,7.243,0,0,1-7.1-2.253,1.25,1.25,0,1,0-1.872,1.656,9.74,9.74,0,0,0,9.549,3.03,10.261,10.261,0,0,0,7.369-7.12.251.251,0,0,1,.27-.179l1.058.127a.422.422,0,0,0,.06,0A.5.5,0,0,0,23.406,14.1Z"}))});yt({displayName:"RepeatClockIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12.965,6a1,1,0,0,0-1,1v5.5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2h-3.75a.25.25,0,0,1-.25-.25V7A1,1,0,0,0,12.965,6Z"}),N.createElement("path",{d:"M12.567,1.258A10.822,10.822,0,0,0,2.818,8.4a.25.25,0,0,1-.271.163L.858,8.309a.514.514,0,0,0-.485.213.5.5,0,0,0-.021.53l2.679,4.7a.5.5,0,0,0,.786.107l3.77-3.746a.5.5,0,0,0-.279-.85L5.593,9.007a.25.25,0,0,1-.192-.35,8.259,8.259,0,1,1,7.866,11.59,1.25,1.25,0,0,0,.045,2.5h.047a10.751,10.751,0,1,0-.792-21.487Z"}))});var LEe=yt({displayName:"EditIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),N.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}))});yt({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"});yt({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"});yt({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"});yt({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"});yt({d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",displayName:"ArrowBackIcon"});yt({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"});yt({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"});yt({viewBox:"0 0 16 16",d:"M11.891 9.992a1 1 0 1 1 1.416 1.415l-4.3 4.3a1 1 0 0 1-1.414 0l-4.3-4.3A1 1 0 0 1 4.71 9.992l3.59 3.591 3.591-3.591zm0-3.984L8.3 2.417 4.709 6.008a1 1 0 0 1-1.416-1.415l4.3-4.3a1 1 0 0 1 1.414 0l4.3 4.3a1 1 0 1 1-1.416 1.415z",displayName:"ArrowUpDownIcon"});yt({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"});var Cq=yt({displayName:"ExternalLinkIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),N.createElement("path",{d:"M15 3h6v6"}),N.createElement("path",{d:"M10 14L21 3"}))});yt({displayName:"LinkIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z"}),N.createElement("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z"}))});yt({displayName:"PlusSquareIcon",path:N.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"},N.createElement("rect",{height:"18",width:"18",rx:"2",ry:"2",x:"3",y:"3"}),N.createElement("path",{d:"M12 8v8"}),N.createElement("path",{d:"M8 12h8"}))});yt({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"});yt({d:"M0.913134,0.920639 C1.49851,0.331726 2.29348,0 3.12342,0 L10.8766,0 C11.7065,0 12.5015,0.331725 13.0869,0.920639 C13.6721,1.50939 14,2.30689 14,3.13746 L14,8.12943 C13.9962,8.51443 13.9059,8.97125 13.7629,9.32852 C13.6128,9.683 13.3552,10.0709 13.0869,10.3462 C12.813,10.6163 12.4265,10.8761 12.0734,11.0274 C11.7172,11.1716 11.2607,11.263 10.8766,11.2669 L10.1234,11.2669 L10.1234,12.5676 L10.1209,12.5676 C10.1204,12.793 10.0633,13.0791 9.97807,13.262 C9.8627,13.466 9.61158,13.7198 9.40818,13.8382 L9.40824,13.8383 C9.4077,13.8386 9.40716,13.8388 9.40661,13.8391 C9.40621,13.8393 9.4058,13.8396 9.40539,13.8398 L9.40535,13.8397 C9.22958,13.9254 8.94505,13.9951 8.75059,14 L8.74789,14 C8.35724,13.9963 7.98473,13.8383 7.71035,13.5617 L5.39553,11.2669 L3.12342,11.2669 C2.29348,11.2669 1.49851,10.9352 0.913134,10.3462 C0.644826,10.0709 0.387187,9.683 0.23711,9.32852 C0.0941235,8.97125 0.00379528,8.51443 0,8.12943 L0,3.13746 C0,2.30689 0.327915,1.50939 0.913134,0.920639 Z M3.12342,1.59494 C2.71959,1.59494 2.33133,1.75628 2.04431,2.04503 C1.75713,2.33395 1.59494,2.72681 1.59494,3.13746 L1.59494,8.12943 C1.59114,8.35901 1.62114,8.51076 1.71193,8.72129 C1.79563,8.9346 1.88065,9.06264 2.04431,9.22185 C2.33133,9.5106 2.71959,9.67195 3.12342,9.67195 L5.72383,9.67195 C5.93413,9.67195 6.13592,9.75502 6.28527,9.90308 L8.52848,12.1269 L8.52848,10.4694 C8.52848,10.029 8.88552,9.67195 9.32595,9.67195 L10.8766,9.67195 C11.1034,9.67583 11.2517,9.64614 11.4599,9.55518 C11.6712,9.47132 11.7976,9.38635 11.9557,9.22185 C12.1193,9.06264 12.2044,8.9346 12.2881,8.72129 C12.3789,8.51076 12.4089,8.35901 12.4051,8.12943 L12.4051,3.13746 C12.4051,2.72681 12.2429,2.33394 11.9557,2.04503 C11.6687,1.75628 11.2804,1.59494 10.8766,1.59494 L3.12342,1.59494 Z",displayName:"ChatIcon",viewBox:"0 0 14 14"});yt({displayName:"TimeIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z"}),N.createElement("path",{d:"M17.134,15.81,12.5,11.561V6.5a1,1,0,0,0-2,0V12a1,1,0,0,0,.324.738l4.959,4.545a1.01,1.01,0,0,0,1.413-.061A1,1,0,0,0,17.134,15.81Z"}))});yt({displayName:"ArrowRightIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),N.createElement("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"}))});yt({displayName:"ArrowLeftIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),N.createElement("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"}))});yt({displayName:"AtSignIcon",d:"M12,.5A11.634,11.634,0,0,0,.262,12,11.634,11.634,0,0,0,12,23.5a11.836,11.836,0,0,0,6.624-2,1.25,1.25,0,1,0-1.393-2.076A9.34,9.34,0,0,1,12,21a9.132,9.132,0,0,1-9.238-9A9.132,9.132,0,0,1,12,3a9.132,9.132,0,0,1,9.238,9v.891a1.943,1.943,0,0,1-3.884,0V12A5.355,5.355,0,1,0,12,17.261a5.376,5.376,0,0,0,3.861-1.634,4.438,4.438,0,0,0,7.877-2.736V12A11.634,11.634,0,0,0,12,.5Zm0,14.261A2.763,2.763,0,1,1,14.854,12,2.812,2.812,0,0,1,12,14.761Z"});yt({displayName:"AttachmentIcon",d:"M21.843,3.455a6.961,6.961,0,0,0-9.846,0L1.619,13.832a5.128,5.128,0,0,0,7.252,7.252L17.3,12.653A3.293,3.293,0,1,0,12.646,8L7.457,13.184A1,1,0,1,0,8.871,14.6L14.06,9.409a1.294,1.294,0,0,1,1.829,1.83L7.457,19.67a3.128,3.128,0,0,1-4.424-4.424L13.411,4.869a4.962,4.962,0,1,1,7.018,7.018L12.646,19.67a1,1,0,1,0,1.414,1.414L21.843,13.3a6.96,6.96,0,0,0,0-9.846Z"});yt({displayName:"UpDownIcon",viewBox:"-1 -1 9 11",d:"M 3.5 0L 3.98809 -0.569442L 3.5 -0.987808L 3.01191 -0.569442L 3.5 0ZM 3.5 9L 3.01191 9.56944L 3.5 9.98781L 3.98809 9.56944L 3.5 9ZM 0.488094 3.56944L 3.98809 0.569442L 3.01191 -0.569442L -0.488094 2.43056L 0.488094 3.56944ZM 3.01191 0.569442L 6.51191 3.56944L 7.48809 2.43056L 3.98809 -0.569442L 3.01191 0.569442ZM -0.488094 6.56944L 3.01191 9.56944L 3.98809 8.43056L 0.488094 5.43056L -0.488094 6.56944ZM 3.98809 9.56944L 7.48809 6.56944L 6.51191 5.43056L 3.01191 8.43056L 3.98809 9.56944Z"});yt({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"});yt({displayName:"EmailIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),N.createElement("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"}))});yt({d:"M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031,6.28627 2.20731,9.17133 4.62766,11.0689 C6.77694,12.7534 10.9012,15.5223 13.3409,12.8503 C13.6507,12.5211 14.0186,12.037 13.9993,11.553 C13.9412,10.7397 13.186,10.1588 12.6051,9.71349 C12.1598,9.38432 11.2304,8.47427 10.6495,8.49363 C10.1267,8.51299 9.79754,9.05515 9.46837,9.38432 L8.88748,9.96521 C8.79067,10.062 7.55145,9.24878 7.41591,9.15197 C6.91248,8.8228 6.4284,8.45491 6.00242,8.04829 C5.57644,7.64167 5.18919,7.19632 4.86002,6.73161 C4.7632,6.59607 3.96933,5.41495 4.04678,5.31813 C4.04678,5.31813 4.72448,4.58234 4.91811,4.2919 C5.32473,3.67229 5.63453,3.18822 5.16982,2.45243 C4.99556,2.18135 4.78257,1.96836 4.55021,1.73601 C4.14359,1.34875 3.73698,0.942131 3.27227,0.612963 C3.02055,0.419335 2.59457,0.0708094 2.20731,0.0127209 Z",displayName:"PhoneIcon",viewBox:"0 0 14 14"});yt({viewBox:"0 0 10 10",d:"M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z",displayName:"DragHandleIcon"});yt({displayName:"SpinnerIcon",path:N.createElement(N.Fragment,null,N.createElement("defs",null,N.createElement("linearGradient",{x1:"28.154%",y1:"63.74%",x2:"74.629%",y2:"17.783%",id:"a"},N.createElement("stop",{stopColor:"currentColor",offset:"0%"}),N.createElement("stop",{stopColor:"#fff",stopOpacity:"0",offset:"100%"}))),N.createElement("g",{transform:"translate(2)",fill:"none"},N.createElement("circle",{stroke:"url(#a)",strokeWidth:"4",cx:"10",cy:"12",r:"10"}),N.createElement("path",{d:"M10 2C4.477 2 0 6.477 0 12",stroke:"currentColor",strokeWidth:"4"}),N.createElement("rect",{fill:"currentColor",x:"8",width:"4",height:"4",rx:"8"})))});yt({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});yt({displayName:"SmallCloseIcon",viewBox:"0 0 16 16",path:N.createElement("path",{d:"M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 0 0-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 0 0-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 0 0 1.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 0 0 .71-1.71L9.41 8z",fillRule:"evenodd",fill:"currentColor"})});yt({d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",displayName:"NotAllowedIcon"});yt({d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z",displayName:"TriangleDownIcon"});yt({d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z",displayName:"TriangleUpIcon"});yt({displayName:"InfoOutlineIcon",path:N.createElement("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},N.createElement("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),N.createElement("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),N.createElement("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"}))});yt({displayName:"BellIcon",d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"});yt({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"});yt({displayName:"QuestionOutlineIcon",path:N.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},N.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),N.createElement("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),N.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"}))});yt({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",displayName:"WarningIcon"});yt({displayName:"WarningTwoIcon",d:"M23.119,20,13.772,2.15h0a2,2,0,0,0-3.543,0L.881,20a2,2,0,0,0,1.772,2.928H21.347A2,2,0,0,0,23.119,20ZM11,8.423a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Zm1.05,11.51h-.028a1.528,1.528,0,0,1-1.522-1.47,1.476,1.476,0,0,1,1.448-1.53h.028A1.527,1.527,0,0,1,13.5,18.4,1.475,1.475,0,0,1,12.05,19.933Z"});yt({viewBox:"0 0 14 14",path:N.createElement("g",{fill:"currentColor"},N.createElement("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))});yt({displayName:"MinusIcon",path:N.createElement("g",{fill:"currentColor"},N.createElement("rect",{height:"4",width:"20",x:"2",y:"10"}))});yt({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"});function AEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M245.09 327.74v-37.32c57.07 0 84.51 13.47 108.58 38.68 5.4 5.65 15 1.32 14.29-6.43-5.45-61.45-34.14-117.09-122.87-117.09v-37.32a8.32 8.32 0 00-14.05-6L146.58 242a8.2 8.2 0 000 11.94L231 333.71a8.32 8.32 0 0014.09-5.97z"}},{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}}]})(e)}const Qn=({label:e,value:t,onClick:n,isLink:r,labelPosition:i,withCopy:o=!1})=>y.jsxs(Ge,{gap:2,children:[n&&y.jsx(uo,{label:`Recall ${e}`,children:y.jsx(ss,{"aria-label":"Use this parameter",icon:y.jsx(AEe,{}),size:"xs",variant:"ghost",fontSize:20,onClick:n})}),o&&y.jsx(uo,{label:`Copy ${e}`,children:y.jsx(ss,{"aria-label":`Copy ${e}`,icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(t.toString())})}),y.jsxs(Ge,{direction:i?"column":"row",children:[y.jsxs(fn,{fontWeight:"semibold",whiteSpace:"pre-wrap",pr:2,children:[e,":"]}),r?y.jsxs(Nh,{href:t.toString(),isExternal:!0,wordBreak:"break-all",children:[t.toString()," ",y.jsx(Cq,{mx:"2px"})]}):y.jsx(fn,{overflowY:"scroll",wordBreak:"break-all",children:t.toString()})]})]}),OEe=(e,t)=>e.image.uuid===t.image.uuid,MP=w.memo(({image:e,styleClass:t})=>{var V,K;const n=Me();Je("esc",()=>{n(VU(!1))});const r=((V=e==null?void 0:e.metadata)==null?void 0:V.image)||{},i=e==null?void 0:e.dreamPrompt,{cfg_scale:o,fit:a,height:s,hires_fix:l,init_image_path:u,mask_image_path:d,orig_path:h,perlin:m,postprocessing:v,prompt:b,sampler:S,seamless:k,seed:E,steps:_,strength:T,denoise_str:A,threshold:I,type:R,variations:D,width:j}=r,z=JSON.stringify(e.metadata,null,2);return y.jsx("div",{className:`image-metadata-viewer ${t}`,children:y.jsxs(Ge,{gap:1,direction:"column",width:"100%",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(fn,{fontWeight:"semibold",children:"File:"}),y.jsxs(Nh,{href:e.url,isExternal:!0,maxW:"calc(100% - 3rem)",children:[e.url.length>64?e.url.substring(0,64).concat("..."):e.url,y.jsx(Cq,{mx:"2px"})]})]}),Object.keys(r).length>0?y.jsxs(y.Fragment,{children:[R&&y.jsx(Qn,{label:"Generation type",value:R}),((K=e.metadata)==null?void 0:K.model_weights)&&y.jsx(Qn,{label:"Model",value:e.metadata.model_weights}),["esrgan","gfpgan"].includes(R)&&y.jsx(Qn,{label:"Original image",value:h}),b&&y.jsx(Qn,{label:"Prompt",labelPosition:"top",value:i2(b),onClick:()=>n(Nx(b))}),E!==void 0&&y.jsx(Qn,{label:"Seed",value:E,onClick:()=>n(Ny(E))}),I!==void 0&&y.jsx(Qn,{label:"Noise Threshold",value:I,onClick:()=>n(vU(I))}),m!==void 0&&y.jsx(Qn,{label:"Perlin Noise",value:m,onClick:()=>n(dU(m))}),S&&y.jsx(Qn,{label:"Sampler",value:S,onClick:()=>n(fU(S))}),_&&y.jsx(Qn,{label:"Steps",value:_,onClick:()=>n(mU(_))}),o!==void 0&&y.jsx(Qn,{label:"CFG scale",value:o,onClick:()=>n(sU(o))}),D&&D.length>0&&y.jsx(Qn,{label:"Seed-weight pairs",value:Y5(D),onClick:()=>n(pU(Y5(D)))}),k&&y.jsx(Qn,{label:"Seamless",value:k,onClick:()=>n(hU(k))}),l&&y.jsx(Qn,{label:"High Resolution Optimization",value:l,onClick:()=>n(lP(l))}),j&&y.jsx(Qn,{label:"Width",value:j,onClick:()=>n(yU(j))}),s&&y.jsx(Qn,{label:"Height",value:s,onClick:()=>n(lU(s))}),u&&y.jsx(Qn,{label:"Initial image",value:u,isLink:!0,onClick:()=>n(k0(u))}),d&&y.jsx(Qn,{label:"Mask image",value:d,isLink:!0,onClick:()=>n(cU(d))}),R==="img2img"&&T&&y.jsx(Qn,{label:"Image to image strength",value:T,onClick:()=>n(l8(T))}),a&&y.jsx(Qn,{label:"Image to image fit",value:a,onClick:()=>n(gU(a))}),v&&v.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Dh,{size:"sm",children:"Postprocessing"}),v.map((te,q)=>{if(te.type==="esrgan"){const{scale:$,strength:U,denoise_str:X}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Upscale (ESRGAN)`}),y.jsx(Qn,{label:"Scale",value:$,onClick:()=>n(wU($))}),y.jsx(Qn,{label:"Strength",value:U,onClick:()=>n(d8(U))}),X!==void 0&&y.jsx(Qn,{label:"Denoising strength",value:X,onClick:()=>n(c8(X))})]},q)}else if(te.type==="gfpgan"){const{strength:$}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (GFPGAN)`}),y.jsx(Qn,{label:"Strength",value:$,onClick:()=>{n(u8($)),n(I4("gfpgan"))}})]},q)}else if(te.type==="codeformer"){const{strength:$,fidelity:U}=te;return y.jsxs(Ge,{pl:"2rem",gap:1,direction:"column",children:[y.jsx(fn,{size:"md",children:`${q+1}: Face restoration (Codeformer)`}),y.jsx(Qn,{label:"Strength",value:$,onClick:()=>{n(u8($)),n(I4("codeformer"))}}),U&&y.jsx(Qn,{label:"Fidelity",value:U,onClick:()=>{n(xU(U)),n(I4("codeformer"))}})]},q)}})]}),i&&y.jsx(Qn,{withCopy:!0,label:"Dream Prompt",value:i}),y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsxs(Ge,{gap:2,children:[y.jsx(uo,{label:"Copy metadata JSON",children:y.jsx(ss,{"aria-label":"Copy metadata JSON",icon:y.jsx(o0,{}),size:"xs",variant:"ghost",fontSize:14,onClick:()=>navigator.clipboard.writeText(z)})}),y.jsx(fn,{fontWeight:"semibold",children:"Metadata JSON:"})]}),y.jsx("div",{className:"image-json-viewer",children:y.jsx("pre",{children:z})})]})]}):y.jsx(uF,{width:"100%",pt:10,children:y.jsx(fn,{fontSize:"lg",fontWeight:"semibold",children:"No metadata available"})})]})})},OEe);MP.displayName="ImageMetadataViewer";const _q=at([yp,mp],(e,t)=>{const{currentCategory:n,currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t,a=e.categories[r?r.category:"result"].images,s=a.findIndex(u=>{var d;return u.uuid===((d=e==null?void 0:e.currentImage)==null?void 0:d.uuid)}),l=a.length;return{imageToDisplay:i||r,isIntermediate:Boolean(i),viewerImageToDisplay:r,currentCategory:n,isOnFirstImage:s===0,isOnLastImage:!isNaN(s)&&s===l-1,shouldShowImageDetails:o,shouldShowPrevImageButton:s===0,shouldShowNextImageButton:!isNaN(s)&&s===l-1}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function MEe(){const e=Me(),{isOnFirstImage:t,isOnLastImage:n,shouldShowImageDetails:r,imageToDisplay:i,isIntermediate:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return y.jsxs("div",{className:"current-image-preview",children:[i&&y.jsx(KS,{src:i.url,width:i.width,height:i.height,style:{imageRendering:o?"pixelated":"initial"}}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!t&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!n&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),r&&i&&y.jsx(MP,{image:i,styleClass:"current-image-metadata"})]})}var IEe=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=globalThis&&globalThis.__assign||function(){return ni=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof a>"u"?void 0:Number(a)}},FEe=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],xD="__resizable_base__",kq=function(e){NEe(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(xD):o.className+=xD,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||jEe},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,a=this.resizable.style.position;a!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=a}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&n.propsSize[s].toString().endsWith("%")){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var l=n.getParentSize(),u=Number(n.state[s].toString().replace("px","")),d=u/l[s]*100;return d+"%"}return RC(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?RC(r.width):i("width"),a=r&&typeof r.height<"u"&&!this.state.isResizing?RC(r.height):i("height");return{width:o,height:a}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,a=i&&Ng("left",o),s=i&&Ng("top",o),l,u;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=a?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(n=n&&n"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,v=typeof i.height>"u"||i.height<0?r:i.height,b=l||0,S=u||0;if(s){var k=(m-b)*this.ratio+S,E=(v-b)*this.ratio+S,_=(d-S)/this.ratio+b,T=(h-S)/this.ratio+b,A=Math.max(d,k),I=Math.min(h,E),R=Math.max(m,_),D=Math.min(v,T);n=Wb(n,A,I),r=Wb(r,R,D)}else n=Wb(n,d,h),r=Wb(r,m,v);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),a=o.left,s=o.top,l=o.right,u=o.bottom;this.resizableLeft=a,this.resizableRight=l,this.resizableTop=s,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&BEe(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ub(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var a=this.props.onResizeStart(n,r,this.resizable);if(a===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var u=this.parentNode;if(u){var d=this.window.getComputedStyle(u).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ub(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,a=i.maxHeight,s=i.minWidth,l=i.minHeight,u=Ub(n)?n.touches[0].clientX:n.clientX,d=Ub(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,v=h.original,b=h.width,S=h.height,k=this.getParentSize(),E=$Ee(k,this.window.innerWidth,this.window.innerHeight,o,a,s,l);o=E.maxWidth,a=E.maxHeight,s=E.minWidth,l=E.minHeight;var _=this.calculateNewSizeFromDirection(u,d),T=_.newHeight,A=_.newWidth,I=this.calculateNewMaxFromBoundary(o,a);this.props.snap&&this.props.snap.x&&(A=SD(A,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(T=SD(T,this.props.snap.y,this.props.snapGap));var R=this.calculateNewSizeFromAspectRatio(A,T,{width:I.maxWidth,height:I.maxHeight},{width:s,height:l});if(A=R.newWidth,T=R.newHeight,this.props.grid){var D=bD(A,this.props.grid[0]),j=bD(T,this.props.grid[1]),z=this.props.snapGap||0;A=z===0||Math.abs(D-A)<=z?D:A,T=z===0||Math.abs(j-T)<=z?j:T}var V={width:A-v.width,height:T-v.height};if(b&&typeof b=="string"){if(b.endsWith("%")){var K=A/k.width*100;A=K+"%"}else if(b.endsWith("vw")){var te=A/this.window.innerWidth*100;A=te+"vw"}else if(b.endsWith("vh")){var q=A/this.window.innerHeight*100;A=q+"vh"}}if(S&&typeof S=="string"){if(S.endsWith("%")){var K=T/k.height*100;T=K+"%"}else if(S.endsWith("vw")){var te=T/this.window.innerWidth*100;T=te+"vw"}else if(S.endsWith("vh")){var q=T/this.window.innerHeight*100;T=q+"vh"}}var $={width:this.createSizeForCssProperty(A,"width"),height:this.createSizeForCssProperty(T,"height")};this.flexDir==="row"?$.flexBasis=$.width:this.flexDir==="column"&&($.flexBasis=$.height),Qs.flushSync(function(){r.setState($)}),this.props.onResize&&this.props.onResize(n,m,this.resizable,V)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,a=r.original;if(!(!i||!this.resizable)){var s={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Nl(Nl({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,a=r.handleClasses,s=r.handleWrapperStyle,l=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?w.createElement(DEe,{key:h,direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:a&&a[h]},u&&u[h]?u[h]:null):null});return w.createElement("div",{className:l,style:s},d)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(a,s){return FEe.indexOf(s)!==-1||(a[s]=n.props[s]),a},{}),i=Nl(Nl(Nl({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return w.createElement(o,Nl({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&w.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(w.PureComponent);const er=e=>{const{label:t,styleClass:n,...r}=e;return y.jsx(Q$,{className:`invokeai__checkbox ${n}`,...r,children:t})};function Eq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z"}}]})(e)}function Pq(e){return gt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146zm.122 2.112v-.002.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a4.507 4.507 0 0 0-.288-.076 4.922 4.922 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a4.924 4.924 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034.114 0 .23-.011.343-.04L9.927 2.028c-.029.113-.04.23-.04.343a1.779 1.779 0 0 0 .062.46z"}}]})(e)}function zEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"}}]})(e)}function HEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}}]})(e)}function VEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function WEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function Tq(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function UEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function GEe(e){return gt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function qEe(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function YEe(e,t){e.classList?e.classList.add(t):qEe(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function wD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function KEe(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=wD(e.className,t):e.setAttribute("class",wD(e.className&&e.className.baseVal||"",t))}const CD={disabled:!1},Lq=N.createContext(null);var Aq=function(t){return t.scrollTop},Mv="unmounted",ph="exited",gh="entering",zg="entered",N8="exiting",gc=function(e){yE(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ph,o.appearStatus=gh):l=zg:r.unmountOnExit||r.mountOnEnter?l=Mv:l=ph,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Mv?{status:ph}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==gh&&a!==zg&&(o=gh):(a===gh||a===zg)&&(o=N8)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===gh){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this);a&&Aq(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ph&&this.setState({status:Mv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[vb.findDOMNode(this),s],u=l[0],d=l[1],h=this.getTimeouts(),m=s?h.appear:h.enter;if(!i&&!a||CD.disabled){this.safeSetState({status:zg},function(){o.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:gh},function(){o.props.onEntering(u,d),o.onTransitionEnd(m,function(){o.safeSetState({status:zg},function(){o.props.onEntered(u,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:vb.findDOMNode(this);if(!o||CD.disabled){this.safeSetState({status:ph},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:N8},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ph},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:vb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Mv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=gE(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(Lq.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);gc.contextType=Lq;gc.propTypes={};function jg(){}gc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jg,onEntering:jg,onEntered:jg,onExit:jg,onExiting:jg,onExited:jg};gc.UNMOUNTED=Mv;gc.EXITED=ph;gc.ENTERING=gh;gc.ENTERED=zg;gc.EXITING=N8;const XEe=gc;var ZEe=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return YEe(t,r)})},DC=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return KEe(t,r)})},IP=function(e){yE(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),a=0;ab,Object.values(b));return w.createElement(S.Provider,{value:k},v)}function d(h,m){const v=(m==null?void 0:m[e][l])||s,b=w.useContext(v);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,d]}const i=()=>{const o=n.map(a=>w.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,QEe(i,...t)]}function QEe(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const h=l(o)[`__scope${u}`];return{...s,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function JEe(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Mq(...e){return t=>e.forEach(n=>JEe(n,t))}function fs(...e){return w.useCallback(Mq(...e),e)}const oy=w.forwardRef((e,t)=>{const{children:n,...r}=e,i=w.Children.toArray(n),o=i.find(tPe);if(o){const a=o.props.children,s=i.map(l=>l===o?w.Children.count(a)>1?w.Children.only(null):w.isValidElement(a)?a.props.children:null:l);return w.createElement(j8,bn({},r,{ref:t}),w.isValidElement(a)?w.cloneElement(a,void 0,s):null)}return w.createElement(j8,bn({},r,{ref:t}),n)});oy.displayName="Slot";const j8=w.forwardRef((e,t)=>{const{children:n,...r}=e;return w.isValidElement(n)?w.cloneElement(n,{...nPe(r,n.props),ref:Mq(t,n.ref)}):w.Children.count(n)>1?w.Children.only(null):null});j8.displayName="SlotClone";const ePe=({children:e})=>w.createElement(w.Fragment,null,e);function tPe(e){return w.isValidElement(e)&&e.type===ePe}function nPe(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{o(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const rPe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],ac=rPe.reduce((e,t)=>{const n=w.forwardRef((r,i)=>{const{asChild:o,...a}=r,s=o?oy:t;return w.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),w.createElement(s,bn({},a,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Iq(e,t){e&&Qs.flushSync(()=>e.dispatchEvent(t))}function Rq(e){const t=e+"CollectionProvider",[n,r]=Hy(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:b,children:S}=v,k=N.useRef(null),E=N.useRef(new Map).current;return N.createElement(i,{scope:b,itemMap:E,collectionRef:k},S)},s=e+"CollectionSlot",l=N.forwardRef((v,b)=>{const{scope:S,children:k}=v,E=o(s,S),_=fs(b,E.collectionRef);return N.createElement(oy,{ref:_},k)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",h=N.forwardRef((v,b)=>{const{scope:S,children:k,...E}=v,_=N.useRef(null),T=fs(b,_),A=o(u,S);return N.useEffect(()=>(A.itemMap.set(_,{ref:_,...E}),()=>void A.itemMap.delete(_))),N.createElement(oy,{[d]:"",ref:T},k)});function m(v){const b=o(e+"CollectionConsumer",v);return N.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const E=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,I)=>E.indexOf(A.ref.current)-E.indexOf(I.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},m,r]}const iPe=w.createContext(void 0);function Dq(e){const t=w.useContext(iPe);return e||t||"ltr"}function uu(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function oPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const B8="dismissableLayer.update",aPe="dismissableLayer.pointerDownOutside",sPe="dismissableLayer.focusOutside";let _D;const lPe=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uPe=w.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,d=w.useContext(lPe),[h,m]=w.useState(null),v=(n=h==null?void 0:h.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,b]=w.useState({}),S=fs(t,j=>m(j)),k=Array.from(d.layers),[E]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),_=k.indexOf(E),T=h?k.indexOf(h):-1,A=d.layersWithOutsidePointerEventsDisabled.size>0,I=T>=_,R=cPe(j=>{const z=j.target,V=[...d.branches].some(K=>K.contains(z));!I||V||(o==null||o(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),D=dPe(j=>{const z=j.target;[...d.branches].some(K=>K.contains(z))||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return oPe(j=>{T===d.layers.size-1&&(i==null||i(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),w.useEffect(()=>{if(h)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(_D=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),kD(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=_D)}},[h,v,r,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),kD())},[h,d]),w.useEffect(()=>{const j=()=>b({});return document.addEventListener(B8,j),()=>document.removeEventListener(B8,j)},[]),w.createElement(ac.div,bn({},u,{ref:S,style:{pointerEvents:A?I?"auto":"none":void 0,...e.style},onFocusCapture:rr(e.onFocusCapture,D.onFocusCapture),onBlurCapture:rr(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:rr(e.onPointerDownCapture,R.onPointerDownCapture)}))});function cPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let u=function(){Nq(aPe,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function dPe(e,t=globalThis==null?void 0:globalThis.document){const n=uu(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Nq(sPe,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kD(){const e=new CustomEvent(B8);document.dispatchEvent(e)}function Nq(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Iq(i,o):i.dispatchEvent(o)}let NC=0;function fPe(){w.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ED()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ED()),NC++,()=>{NC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),NC--}},[])}function ED(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const jC="focusScope.autoFocusOnMount",BC="focusScope.autoFocusOnUnmount",PD={bubbles:!1,cancelable:!0},hPe=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=w.useState(null),u=uu(i),d=uu(o),h=w.useRef(null),m=fs(t,S=>l(S)),v=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let S=function(E){if(v.paused||!s)return;const _=E.target;s.contains(_)?h.current=_:mh(h.current,{select:!0})},k=function(E){v.paused||!s||s.contains(E.relatedTarget)||mh(h.current,{select:!0})};return document.addEventListener("focusin",S),document.addEventListener("focusout",k),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k)}}},[r,s,v.paused]),w.useEffect(()=>{if(s){LD.add(v);const S=document.activeElement;if(!s.contains(S)){const E=new CustomEvent(jC,PD);s.addEventListener(jC,u),s.dispatchEvent(E),E.defaultPrevented||(pPe(bPe(jq(s)),{select:!0}),document.activeElement===S&&mh(s))}return()=>{s.removeEventListener(jC,u),setTimeout(()=>{const E=new CustomEvent(BC,PD);s.addEventListener(BC,d),s.dispatchEvent(E),E.defaultPrevented||mh(S??document.body,{select:!0}),s.removeEventListener(BC,d),LD.remove(v)},0)}}},[s,u,d,v]);const b=w.useCallback(S=>{if(!n&&!r||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,E=document.activeElement;if(k&&E){const _=S.currentTarget,[T,A]=gPe(_);T&&A?!S.shiftKey&&E===A?(S.preventDefault(),n&&mh(T,{select:!0})):S.shiftKey&&E===T&&(S.preventDefault(),n&&mh(A,{select:!0})):E===_&&S.preventDefault()}},[n,r,v.paused]);return w.createElement(ac.div,bn({tabIndex:-1},a,{ref:m,onKeyDown:b}))});function pPe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mh(r,{select:t}),document.activeElement!==n)return}function gPe(e){const t=jq(e),n=TD(t,e),r=TD(t.reverse(),e);return[n,r]}function jq(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function TD(e,t){for(const n of e)if(!mPe(n,{upTo:t}))return n}function mPe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vPe(e){return e instanceof HTMLInputElement&&"select"in e}function mh(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&vPe(e)&&t&&e.select()}}const LD=yPe();function yPe(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=AD(e,t),e.unshift(t)},remove(t){var n;e=AD(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function AD(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function bPe(e){return e.filter(t=>t.tagName!=="A")}const a0=Boolean(globalThis==null?void 0:globalThis.document)?w.useLayoutEffect:()=>{},SPe=XC["useId".toString()]||(()=>{});let xPe=0;function wPe(e){const[t,n]=w.useState(SPe());return a0(()=>{e||n(r=>r??String(xPe++))},[e]),e||(t?`radix-${t}`:"")}function A0(e){return e.split("-")[0]}function Qx(e){return e.split("-")[1]}function O0(e){return["top","bottom"].includes(A0(e))?"x":"y"}function RP(e){return e==="y"?"height":"width"}function OD(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,a=r.y+r.height/2-i.height/2,s=O0(t),l=RP(s),u=r[l]/2-i[l]/2,d=s==="x";let h;switch(A0(t)){case"top":h={x:o,y:r.y-i.height};break;case"bottom":h={x:o,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:a};break;case"left":h={x:r.x-i.width,y:a};break;default:h={x:r.x,y:r.y}}switch(Qx(t)){case"start":h[s]-=u*(n&&d?-1:1);break;case"end":h[s]+=u*(n&&d?-1:1)}return h}const CPe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=OD(l,r,s),h=r,m={},v=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=Bq(r),d={x:i,y:o},h=O0(a),m=Qx(a),v=RP(h),b=await l.getDimensions(n),S=h==="y"?"top":"left",k=h==="y"?"bottom":"right",E=s.reference[v]+s.reference[h]-d[h]-s.floating[v],_=d[h]-s.reference[h],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let A=T?h==="y"?T.clientHeight||0:T.clientWidth||0:0;A===0&&(A=s.floating[v]);const I=E/2-_/2,R=u[S],D=A-b[v]-u[k],j=A/2-b[v]/2+I,z=$8(R,j,D),V=(m==="start"?u[S]:u[k])>0&&j!==z&&s.reference[v]<=s.floating[v];return{[h]:d[h]-(V?jEPe[t])}function PPe(e,t,n){n===void 0&&(n=!1);const r=Qx(e),i=O0(e),o=RP(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=rS(a)),{main:a,cross:rS(a)}}const TPe={start:"end",end:"start"};function ID(e){return e.replace(/start|end/g,t=>TPe[t])}const $q=["top","right","bottom","left"];$q.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const LPe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...b}=e,S=A0(r),k=h||(S===a||!v?[rS(a)]:function(j){const z=rS(j);return[ID(j),z,ID(z)]}(a)),E=[a,...k],_=await nS(t,b),T=[];let A=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&T.push(_[S]),d){const{main:j,cross:z}=PPe(r,o,await(s.isRTL==null?void 0:s.isRTL(l.floating)));T.push(_[j],_[z])}if(A=[...A,{placement:r,overflows:T}],!T.every(j=>j<=0)){var I,R;const j=((I=(R=i.flip)==null?void 0:R.index)!=null?I:0)+1,z=E[j];if(z)return{data:{index:j,overflows:A},reset:{placement:z}};let V="bottom";switch(m){case"bestFit":{var D;const K=(D=A.map(te=>[te,te.overflows.filter(q=>q>0).reduce((q,$)=>q+$,0)]).sort((te,q)=>te[1]-q[1])[0])==null?void 0:D[0].placement;K&&(V=K);break}case"initialPlacement":V=a}if(r!==V)return{reset:{placement:V}}}return{}}}};function RD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function DD(e){return $q.some(t=>e[t]>=0)}const APe=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=RD(await nS(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:DD(o)}}}case"escaped":{const o=RD(await nS(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:o,escaped:DD(o)}}}default:return{}}}}},OPe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(o,a){const{placement:s,platform:l,elements:u}=o,d=await(l.isRTL==null?void 0:l.isRTL(u.floating)),h=A0(s),m=Qx(s),v=O0(s)==="x",b=["left","top"].includes(h)?-1:1,S=d&&v?-1:1,k=typeof a=="function"?a(o):a;let{mainAxis:E,crossAxis:_,alignmentAxis:T}=typeof k=="number"?{mainAxis:k,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...k};return m&&typeof T=="number"&&(_=m==="end"?-1*T:T),v?{x:_*S,y:E*b}:{x:E*b,y:_*S}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Fq(e){return e==="x"?"y":"x"}const MPe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:k=>{let{x:E,y:_}=k;return{x:E,y:_}}},...l}=e,u={x:n,y:r},d=await nS(t,l),h=O0(A0(i)),m=Fq(h);let v=u[h],b=u[m];if(o){const k=h==="y"?"bottom":"right";v=$8(v+d[h==="y"?"top":"left"],v,v-d[k])}if(a){const k=m==="y"?"bottom":"right";b=$8(b+d[m==="y"?"top":"left"],b,b-d[k])}const S=s.fn({...t,[h]:v,[m]:b});return{...S,data:{x:S.x-n,y:S.y-r}}}}},IPe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,d={x:n,y:r},h=O0(i),m=Fq(h);let v=d[h],b=d[m];const S=typeof s=="function"?s({...o,placement:i}):s,k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(l){const I=h==="y"?"height":"width",R=o.reference[h]-o.floating[I]+k.mainAxis,D=o.reference[h]+o.reference[I]-k.mainAxis;vD&&(v=D)}if(u){var E,_,T,A;const I=h==="y"?"width":"height",R=["top","left"].includes(A0(i)),D=o.reference[m]-o.floating[I]+(R&&(E=(_=a.offset)==null?void 0:_[m])!=null?E:0)+(R?0:k.crossAxis),j=o.reference[m]+o.reference[I]+(R?0:(T=(A=a.offset)==null?void 0:A[m])!=null?T:0)-(R?k.crossAxis:0);bj&&(b=j)}return{[h]:v,[m]:b}}}};function zq(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function mc(e){if(e==null)return window;if(!zq(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vy(e){return mc(e).getComputedStyle(e)}function Xu(e){return zq(e)?"":e?(e.nodeName||"").toLowerCase():""}function Hq(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function cu(e){return e instanceof mc(e).HTMLElement}function Jd(e){return e instanceof mc(e).Element}function DP(e){return typeof ShadowRoot>"u"?!1:e instanceof mc(e).ShadowRoot||e instanceof ShadowRoot}function Jx(e){const{overflow:t,overflowX:n,overflowY:r}=Vy(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function RPe(e){return["table","td","th"].includes(Xu(e))}function ND(e){const t=/firefox/i.test(Hq()),n=Vy(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Vq(){return!/^((?!chrome|android).)*safari/i.test(Hq())}const jD=Math.min,c2=Math.max,iS=Math.round;function Zu(e,t,n){var r,i,o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&cu(e)&&(l=e.offsetWidth>0&&iS(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&iS(s.height)/e.offsetHeight||1);const d=Jd(e)?mc(e):window,h=!Vq()&&n,m=(s.left+(h&&(r=(i=d.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,v=(s.top+(h&&(o=(a=d.visualViewport)==null?void 0:a.offsetTop)!=null?o:0))/u,b=s.width/l,S=s.height/u;return{width:b,height:S,top:v,right:m+b,bottom:v+S,left:m,x:m,y:v}}function zd(e){return(t=e,(t instanceof mc(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ew(e){return Jd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wq(e){return Zu(zd(e)).left+ew(e).scrollLeft}function DPe(e,t,n){const r=cu(t),i=zd(t),o=Zu(e,r&&function(l){const u=Zu(l);return iS(u.width)!==l.offsetWidth||iS(u.height)!==l.offsetHeight}(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Xu(t)!=="body"||Jx(i))&&(a=ew(t)),cu(t)){const l=Zu(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Wq(i));return{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Uq(e){return Xu(e)==="html"?e:e.assignedSlot||e.parentNode||(DP(e)?e.host:null)||zd(e)}function BD(e){return cu(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function F8(e){const t=mc(e);let n=BD(e);for(;n&&RPe(n)&&getComputedStyle(n).position==="static";)n=BD(n);return n&&(Xu(n)==="html"||Xu(n)==="body"&&getComputedStyle(n).position==="static"&&!ND(n))?t:n||function(r){let i=Uq(r);for(DP(i)&&(i=i.host);cu(i)&&!["html","body"].includes(Xu(i));){if(ND(i))return i;i=i.parentNode}return null}(e)||t}function $D(e){if(cu(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Zu(e);return{width:t.width,height:t.height}}function Gq(e){const t=Uq(e);return["html","body","#document"].includes(Xu(t))?e.ownerDocument.body:cu(t)&&Jx(t)?t:Gq(t)}function oS(e,t){var n;t===void 0&&(t=[]);const r=Gq(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=mc(r),a=i?[o].concat(o.visualViewport||[],Jx(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(oS(a))}function FD(e,t,n){return t==="viewport"?tS(function(r,i){const o=mc(r),a=zd(r),s=o.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,h=0;if(s){l=s.width,u=s.height;const m=Vq();(m||!m&&i==="fixed")&&(d=s.offsetLeft,h=s.offsetTop)}return{width:l,height:u,x:d,y:h}}(e,n)):Jd(t)?function(r,i){const o=Zu(r,!1,i==="fixed"),a=o.top+r.clientTop,s=o.left+r.clientLeft;return{top:a,left:s,x:s,y:a,right:s+r.clientWidth,bottom:a+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):tS(function(r){var i;const o=zd(r),a=ew(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=c2(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=c2(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-a.scrollLeft+Wq(r);const h=-a.scrollTop;return Vy(s||o).direction==="rtl"&&(d+=c2(o.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:h}}(zd(e)))}function NPe(e){const t=oS(e),n=["absolute","fixed"].includes(Vy(e).position)&&cu(e)?F8(e):e;return Jd(n)?t.filter(r=>Jd(r)&&function(i,o){const a=o.getRootNode==null?void 0:o.getRootNode();if(i.contains(o))return!0;if(a&&DP(a)){let s=o;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Xu(r)!=="body"):[]}const jPe={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?NPe(t):[].concat(n),r],a=o[0],s=o.reduce((l,u)=>{const d=FD(t,u,i);return l.top=c2(d.top,l.top),l.right=jD(d.right,l.right),l.bottom=jD(d.bottom,l.bottom),l.left=c2(d.left,l.left),l},FD(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=cu(n),o=zd(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Xu(n)!=="body"||Jx(o))&&(a=ew(n)),cu(n))){const l=Zu(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Jd,getDimensions:$D,getOffsetParent:F8,getDocumentElement:zd,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:DPe(t,F8(n),r),floating:{...$D(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vy(e).direction==="rtl"};function BPe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,u=o&&!s,d=l||u?[...Jd(e)?oS(e):[],...oS(t)]:[];d.forEach(b=>{l&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;if(a){let b=!0;m=new ResizeObserver(()=>{b||n(),b=!1}),Jd(e)&&!s&&m.observe(e),m.observe(t)}let v=s?Zu(e):null;return s&&function b(){const S=Zu(e);!v||S.x===v.x&&S.y===v.y&&S.width===v.width&&S.height===v.height||n(),v=S,h=requestAnimationFrame(b)}(),n(),()=>{var b;d.forEach(S=>{l&&S.removeEventListener("scroll",n),u&&S.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const $Pe=(e,t,n)=>CPe(e,t,{platform:jPe,...n});var z8=typeof document<"u"?w.useLayoutEffect:w.useEffect;function H8(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!H8(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!H8(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function FPe(e){const t=w.useRef(e);return z8(()=>{t.current=e}),t}function zPe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=w.useRef(null),a=w.useRef(null),s=FPe(i),l=w.useRef(null),[u,d]=w.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[h,m]=w.useState(t);H8(h==null?void 0:h.map(T=>{let{options:A}=T;return A}),t==null?void 0:t.map(T=>{let{options:A}=T;return A}))||m(t);const v=w.useCallback(()=>{!o.current||!a.current||$Pe(o.current,a.current,{middleware:h,placement:n,strategy:r}).then(T=>{b.current&&Qs.flushSync(()=>{d(T)})})},[h,n,r]);z8(()=>{b.current&&v()},[v]);const b=w.useRef(!1);z8(()=>(b.current=!0,()=>{b.current=!1}),[]);const S=w.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&a.current)if(s.current){const T=s.current(o.current,a.current,v);l.current=T}else v()},[v,s]),k=w.useCallback(T=>{o.current=T,S()},[S]),E=w.useCallback(T=>{a.current=T,S()},[S]),_=w.useMemo(()=>({reference:o,floating:a}),[]);return w.useMemo(()=>({...u,update:v,refs:_,reference:k,floating:E}),[u,v,_,k,E])}const HPe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?MD({element:t.current,padding:n}).fn(i):{}:t?MD({element:t,padding:n}).fn(i):{}}}};function VPe(e){const[t,n]=w.useState(void 0);return a0(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const qq="Popper",[NP,Yq]=Hy(qq),[WPe,Kq]=NP(qq),UPe=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return w.createElement(WPe,{scope:t,anchor:r,onAnchorChange:i},n)},GPe="PopperAnchor",qPe=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Kq(GPe,n),a=w.useRef(null),s=fs(t,a);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:w.createElement(ac.div,bn({},i,{ref:s}))}),aS="PopperContent",[YPe,Cze]=NP(aS),[KPe,XPe]=NP(aS,{hasParent:!1,positionUpdateFns:new Set}),ZPe=w.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;const{__scopePopper:d,side:h="bottom",sideOffset:m=0,align:v="center",alignOffset:b=0,arrowPadding:S=0,collisionBoundary:k=[],collisionPadding:E=0,sticky:_="partial",hideWhenDetached:T=!1,avoidCollisions:A=!0,...I}=e,R=Kq(aS,d),[D,j]=w.useState(null),z=fs(t,ae=>j(ae)),[V,K]=w.useState(null),te=VPe(V),q=(n=te==null?void 0:te.width)!==null&&n!==void 0?n:0,$=(r=te==null?void 0:te.height)!==null&&r!==void 0?r:0,U=h+(v!=="center"?"-"+v:""),X=typeof E=="number"?E:{top:0,right:0,bottom:0,left:0,...E},Z=Array.isArray(k)?k:[k],W=Z.length>0,Q={padding:X,boundary:Z.filter(JPe),altBoundary:W},{reference:ie,floating:fe,strategy:Se,x:Pe,y:ye,placement:We,middlewareData:De,update:ot}=zPe({strategy:"fixed",placement:U,whileElementsMounted:BPe,middleware:[OPe({mainAxis:m+$,alignmentAxis:b}),A?MPe({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?IPe():void 0,...Q}):void 0,V?HPe({element:V,padding:S}):void 0,A?LPe({...Q}):void 0,eTe({arrowWidth:q,arrowHeight:$}),T?APe({strategy:"referenceHidden"}):void 0].filter(QPe)});a0(()=>{ie(R.anchor)},[ie,R.anchor]);const He=Pe!==null&&ye!==null,[Be,wt]=Xq(We),st=(i=De.arrow)===null||i===void 0?void 0:i.x,mt=(o=De.arrow)===null||o===void 0?void 0:o.y,St=((a=De.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Le,lt]=w.useState();a0(()=>{D&<(window.getComputedStyle(D).zIndex)},[D]);const{hasParent:Mt,positionUpdateFns:ut}=XPe(aS,d),_t=!Mt;w.useLayoutEffect(()=>{if(!_t)return ut.add(ot),()=>{ut.delete(ot)}},[_t,ut,ot]),w.useLayoutEffect(()=>{_t&&He&&Array.from(ut).reverse().forEach(ae=>requestAnimationFrame(ae))},[_t,He,ut]);const ln={"data-side":Be,"data-align":wt,...I,ref:z,style:{...I.style,animation:He?void 0:"none",opacity:(s=De.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return w.createElement("div",{ref:fe,"data-radix-popper-content-wrapper":"",style:{position:Se,left:0,top:0,transform:He?`translate3d(${Math.round(Pe)}px, ${Math.round(ye)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Le,["--radix-popper-transform-origin"]:[(l=De.transformOrigin)===null||l===void 0?void 0:l.x,(u=De.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},w.createElement(YPe,{scope:d,placedSide:Be,onArrowChange:K,arrowX:st,arrowY:mt,shouldHideArrow:St},_t?w.createElement(KPe,{scope:d,hasParent:!0,positionUpdateFns:ut},w.createElement(ac.div,ln)):w.createElement(ac.div,ln)))});function QPe(e){return e!==void 0}function JPe(e){return e!==null}const eTe=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;const{placement:s,rects:l,middlewareData:u}=t,h=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=h?0:e.arrowWidth,v=h?0:e.arrowHeight,[b,S]=Xq(s),k={start:"0%",center:"50%",end:"100%"}[S],E=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+m/2,_=((o=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&o!==void 0?o:0)+v/2;let T="",A="";return b==="bottom"?(T=h?k:`${E}px`,A=`${-v}px`):b==="top"?(T=h?k:`${E}px`,A=`${l.floating.height+v}px`):b==="right"?(T=`${-v}px`,A=h?k:`${_}px`):b==="left"&&(T=`${l.floating.width+v}px`,A=h?k:`${_}px`),{data:{x:T,y:A}}}});function Xq(e){const[t,n="center"]=e.split("-");return[t,n]}const tTe=UPe,nTe=qPe,rTe=ZPe;function iTe(e,t){return w.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const Zq=e=>{const{present:t,children:n}=e,r=oTe(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=fs(r.ref,i.ref);return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};Zq.displayName="Presence";function oTe(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),o=w.useRef("none"),a=e?"mounted":"unmounted",[s,l]=iTe(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=qb(r.current);o.current=s==="mounted"?u:"none"},[s]),a0(()=>{const u=r.current,d=i.current;if(d!==e){const m=o.current,v=qb(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),a0(()=>{if(t){const u=h=>{const v=qb(r.current).includes(h.animationName);h.target===t&&v&&Qs.flushSync(()=>l("ANIMATION_END"))},d=h=>{h.target===t&&(o.current=qb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qb(e){return(e==null?void 0:e.animationName)||"none"}function aTe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=sTe({defaultProp:t,onChange:n}),o=e!==void 0,a=o?e:r,s=uu(n),l=w.useCallback(u=>{if(o){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else i(u)},[o,e,i,s]);return[a,l]}function sTe({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),o=uu(t);return w.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}const $C="rovingFocusGroup.onEntryFocus",lTe={bubbles:!1,cancelable:!0},jP="RovingFocusGroup",[V8,Qq,uTe]=Rq(jP),[cTe,Jq]=Hy(jP,[uTe]),[dTe,fTe]=cTe(jP),hTe=w.forwardRef((e,t)=>w.createElement(V8.Provider,{scope:e.__scopeRovingFocusGroup},w.createElement(V8.Slot,{scope:e.__scopeRovingFocusGroup},w.createElement(pTe,bn({},e,{ref:t}))))),pTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...d}=e,h=w.useRef(null),m=fs(t,h),v=Dq(o),[b=null,S]=aTe({prop:a,defaultProp:s,onChange:l}),[k,E]=w.useState(!1),_=uu(u),T=Qq(n),A=w.useRef(!1),[I,R]=w.useState(0);return w.useEffect(()=>{const D=h.current;if(D)return D.addEventListener($C,_),()=>D.removeEventListener($C,_)},[_]),w.createElement(dTe,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:b,onItemFocus:w.useCallback(D=>S(D),[S]),onItemShiftTab:w.useCallback(()=>E(!0),[]),onFocusableItemAdd:w.useCallback(()=>R(D=>D+1),[]),onFocusableItemRemove:w.useCallback(()=>R(D=>D-1),[])},w.createElement(ac.div,bn({tabIndex:k||I===0?-1:0,"data-orientation":r},d,{ref:m,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{A.current=!0}),onFocus:rr(e.onFocus,D=>{const j=!A.current;if(D.target===D.currentTarget&&j&&!k){const z=new CustomEvent($C,lTe);if(D.currentTarget.dispatchEvent(z),!z.defaultPrevented){const V=T().filter(U=>U.focusable),K=V.find(U=>U.active),te=V.find(U=>U.id===b),$=[K,te,...V].filter(Boolean).map(U=>U.ref.current);eY($)}}A.current=!1}),onBlur:rr(e.onBlur,()=>E(!1))})))}),gTe="RovingFocusGroupItem",mTe=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,a=wPe(),s=fTe(gTe,n),l=s.currentTabStopId===a,u=Qq(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=s;return w.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),w.createElement(V8.ItemSlot,{scope:n,id:a,focusable:r,active:i},w.createElement(ac.span,bn({tabIndex:l?0:-1,"data-orientation":s.orientation},o,{ref:t,onMouseDown:rr(e.onMouseDown,m=>{r?s.onItemFocus(a):m.preventDefault()}),onFocus:rr(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:rr(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){s.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const v=bTe(m,s.orientation,s.dir);if(v!==void 0){m.preventDefault();let S=u().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const k=S.indexOf(m.currentTarget);S=s.loop?STe(S,k+1):S.slice(k+1)}setTimeout(()=>eY(S))}})})))}),vTe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yTe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function bTe(e,t,n){const r=yTe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return vTe[r]}function eY(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function STe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const xTe=hTe,wTe=mTe,CTe=["Enter"," "],_Te=["ArrowDown","PageUp","Home"],tY=["ArrowUp","PageDown","End"],kTe=[..._Te,...tY],tw="Menu",[W8,ETe,PTe]=Rq(tw),[bp,nY]=Hy(tw,[PTe,Yq,Jq]),BP=Yq(),rY=Jq(),[TTe,nw]=bp(tw),[LTe,$P]=bp(tw),ATe=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=BP(t),[l,u]=w.useState(null),d=w.useRef(!1),h=uu(o),m=Dq(i);return w.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.createElement(tTe,s,w.createElement(TTe,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:u},w.createElement(LTe,{scope:t,onClose:w.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:m,modal:a},r)))},OTe=w.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=BP(n);return w.createElement(nTe,bn({},i,r,{ref:t}))}),MTe="MenuPortal",[_ze,ITe]=bp(MTe,{forceMount:void 0}),Hd="MenuContent",[RTe,iY]=bp(Hd),DTe=w.forwardRef((e,t)=>{const n=ITe(Hd,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=nw(Hd,e.__scopeMenu),a=$P(Hd,e.__scopeMenu);return w.createElement(W8.Provider,{scope:e.__scopeMenu},w.createElement(Zq,{present:r||o.open},w.createElement(W8.Slot,{scope:e.__scopeMenu},a.modal?w.createElement(NTe,bn({},i,{ref:t})):w.createElement(jTe,bn({},i,{ref:t})))))}),NTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu),r=w.useRef(null),i=fs(t,r);return w.useEffect(()=>{const o=r.current;if(o)return zH(o)},[]),w.createElement(oY,bn({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:rr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),jTe=w.forwardRef((e,t)=>{const n=nw(Hd,e.__scopeMenu);return w.createElement(oY,bn({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),oY=w.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...b}=e,S=nw(Hd,n),k=$P(Hd,n),E=BP(n),_=rY(n),T=ETe(n),[A,I]=w.useState(null),R=w.useRef(null),D=fs(t,R,S.onContentChange),j=w.useRef(0),z=w.useRef(""),V=w.useRef(0),K=w.useRef(null),te=w.useRef("right"),q=w.useRef(0),$=v?PV:w.Fragment,U=v?{as:oy,allowPinchZoom:!0}:void 0,X=W=>{var Q,ie;const fe=z.current+W,Se=T().filter(He=>!He.disabled),Pe=document.activeElement,ye=(Q=Se.find(He=>He.ref.current===Pe))===null||Q===void 0?void 0:Q.textValue,We=Se.map(He=>He.textValue),De=GTe(We,fe,ye),ot=(ie=Se.find(He=>He.textValue===De))===null||ie===void 0?void 0:ie.ref.current;(function He(Be){z.current=Be,window.clearTimeout(j.current),Be!==""&&(j.current=window.setTimeout(()=>He(""),1e3))})(fe),ot&&setTimeout(()=>ot.focus())};w.useEffect(()=>()=>window.clearTimeout(j.current),[]),fPe();const Z=w.useCallback(W=>{var Q,ie;return te.current===((Q=K.current)===null||Q===void 0?void 0:Q.side)&&YTe(W,(ie=K.current)===null||ie===void 0?void 0:ie.area)},[]);return w.createElement(RTe,{scope:n,searchRef:z,onItemEnter:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),onItemLeave:w.useCallback(W=>{var Q;Z(W)||((Q=R.current)===null||Q===void 0||Q.focus(),I(null))},[Z]),onTriggerLeave:w.useCallback(W=>{Z(W)&&W.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:w.useCallback(W=>{K.current=W},[])},w.createElement($,U,w.createElement(hPe,{asChild:!0,trapped:i,onMountAutoFocus:rr(o,W=>{var Q;W.preventDefault(),(Q=R.current)===null||Q===void 0||Q.focus()}),onUnmountAutoFocus:a},w.createElement(uPe,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:m},w.createElement(xTe,bn({asChild:!0},_,{dir:k.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:W=>{k.isUsingKeyboardRef.current||W.preventDefault()}}),w.createElement(rTe,bn({role:"menu","aria-orientation":"vertical","data-state":VTe(S.open),"data-radix-menu-content":"",dir:k.dir},E,b,{ref:D,style:{outline:"none",...b.style},onKeyDown:rr(b.onKeyDown,W=>{const ie=W.target.closest("[data-radix-menu-content]")===W.currentTarget,fe=W.ctrlKey||W.altKey||W.metaKey,Se=W.key.length===1;ie&&(W.key==="Tab"&&W.preventDefault(),!fe&&Se&&X(W.key));const Pe=R.current;if(W.target!==Pe||!kTe.includes(W.key))return;W.preventDefault();const We=T().filter(De=>!De.disabled).map(De=>De.ref.current);tY.includes(W.key)&&We.reverse(),WTe(We)}),onBlur:rr(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(j.current),z.current="")}),onPointerMove:rr(e.onPointerMove,G8(W=>{const Q=W.target,ie=q.current!==W.clientX;if(W.currentTarget.contains(Q)&&ie){const fe=W.clientX>q.current?"right":"left";te.current=fe,q.current=W.clientX}}))})))))))}),U8="MenuItem",zD="menu.itemSelect",BTe=w.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=w.useRef(null),a=$P(U8,e.__scopeMenu),s=iY(U8,e.__scopeMenu),l=fs(t,o),u=w.useRef(!1),d=()=>{const h=o.current;if(!n&&h){const m=new CustomEvent(zD,{bubbles:!0,cancelable:!0});h.addEventListener(zD,v=>r==null?void 0:r(v),{once:!0}),Iq(h,m),m.defaultPrevented?u.current=!1:a.onClose()}};return w.createElement($Te,bn({},i,{ref:l,disabled:n,onClick:rr(e.onClick,d),onPointerDown:h=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,h),u.current=!0},onPointerUp:rr(e.onPointerUp,h=>{var m;u.current||(m=h.currentTarget)===null||m===void 0||m.click()}),onKeyDown:rr(e.onKeyDown,h=>{const m=s.searchRef.current!=="";n||m&&h.key===" "||CTe.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}))}),$Te=w.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=iY(U8,n),s=rY(n),l=w.useRef(null),u=fs(t,l),[d,h]=w.useState(!1),[m,v]=w.useState("");return w.useEffect(()=>{const b=l.current;if(b){var S;v(((S=b.textContent)!==null&&S!==void 0?S:"").trim())}},[o.children]),w.createElement(W8.ItemSlot,{scope:n,disabled:r,textValue:i??m},w.createElement(wTe,bn({asChild:!0},s,{focusable:!r}),w.createElement(ac.div,bn({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o,{ref:u,onPointerMove:rr(e.onPointerMove,G8(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus())})),onPointerLeave:rr(e.onPointerLeave,G8(b=>a.onItemLeave(b))),onFocus:rr(e.onFocus,()=>h(!0)),onBlur:rr(e.onBlur,()=>h(!1))}))))}),FTe="MenuRadioGroup";bp(FTe,{value:void 0,onValueChange:()=>{}});const zTe="MenuItemIndicator";bp(zTe,{checked:!1});const HTe="MenuSub";bp(HTe);function VTe(e){return e?"open":"closed"}function WTe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function UTe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function GTe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=UTe(e,Math.max(o,0));i.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function qTe(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=d>r&&n<(u-s)*(r-l)/(d-l)+s&&(i=!i)}return i}function YTe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return qTe(n,t)}function G8(e){return t=>t.pointerType==="mouse"?e(t):void 0}const KTe=ATe,XTe=OTe,ZTe=DTe,QTe=BTe,aY="ContextMenu",[JTe,kze]=Hy(aY,[nY]),rw=nY(),[eLe,sY]=JTe(aY),tLe=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:o=!0}=e,[a,s]=w.useState(!1),l=rw(t),u=uu(r),d=w.useCallback(h=>{s(h),u(h)},[u]);return w.createElement(eLe,{scope:t,open:a,onOpenChange:d,modal:o},w.createElement(KTe,bn({},l,{dir:i,open:a,onOpenChange:d,modal:o}),n))},nLe="ContextMenuTrigger",rLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(nLe,n),o=rw(n),a=w.useRef({x:0,y:0}),s=w.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...a.current})}),l=w.useRef(0),u=w.useCallback(()=>window.clearTimeout(l.current),[]),d=h=>{a.current={x:h.clientX,y:h.clientY},i.onOpenChange(!0)};return w.useEffect(()=>u,[u]),w.createElement(w.Fragment,null,w.createElement(XTe,bn({},o,{virtualRef:s})),w.createElement(ac.span,bn({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:rr(e.onContextMenu,h=>{u(),d(h),h.preventDefault()}),onPointerDown:rr(e.onPointerDown,Yb(h=>{u(),l.current=window.setTimeout(()=>d(h),700)})),onPointerMove:rr(e.onPointerMove,Yb(u)),onPointerCancel:rr(e.onPointerCancel,Yb(u)),onPointerUp:rr(e.onPointerUp,Yb(u))})))}),iLe="ContextMenuContent",oLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=sY(iLe,n),o=rw(n),a=w.useRef(!1);return w.createElement(ZTe,bn({},o,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&a.current&&s.preventDefault(),a.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(a.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),aLe=w.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=rw(n);return w.createElement(QTe,bn({},i,r,{ref:t}))});function Yb(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const sLe=tLe,lLe=rLe,uLe=oLe,ud=aLe,cLe=(e,t)=>e.image.uuid===t.image.uuid&&e.isSelected===t.isSelected,lY=w.memo(e=>{var te,q,$,U,X,Z,W,Q;const t=Me(),{activeTabName:n,galleryImageObjectFit:r,galleryImageMinimumWidth:i,mayDeleteImage:o,shouldUseSingleGalleryColumn:a}=he(kEe),{image:s,isSelected:l}=e,{url:u,thumbnail:d,uuid:h,metadata:m}=s,[v,b]=w.useState(!1),S=Ry(),{t:k}=Ve(),E=()=>b(!0),_=()=>b(!1),T=()=>{var ie,fe;if(s.metadata){const[Se,Pe]=aP((fe=(ie=s.metadata)==null?void 0:ie.image)==null?void 0:fe.prompt);Se&&t(Nx(Se)),t(Q2(Pe||""))}S({title:k("toast:promptSet"),status:"success",duration:2500,isClosable:!0})},A=()=>{s.metadata&&t(Ny(s.metadata.image.seed)),S({title:k("toast:seedSet"),status:"success",duration:2500,isClosable:!0})},I=()=>{t(k0(s)),n!=="img2img"&&t(qo("img2img")),S({title:k("toast:sentToImageToImage"),status:"success",duration:2500,isClosable:!0})},R=()=>{t(Dx(s)),t(Rx()),n!=="unifiedCanvas"&&t(qo("unifiedCanvas")),S({title:k("toast:sentToUnifiedCanvas"),status:"success",duration:2500,isClosable:!0})},D=()=>{m&&t(aU(m)),S({title:k("toast:parametersSet"),status:"success",duration:2500,isClosable:!0})},j=async()=>{var ie;if((ie=m==null?void 0:m.image)!=null&&ie.init_image_path&&(await fetch(m.image.init_image_path)).ok){t(qo("img2img")),t(Zxe(m)),S({title:k("toast:initialImageSet"),status:"success",duration:2500,isClosable:!0});return}S({title:k("toast:initialImageNotSet"),description:k("toast:initialImageNotSetDesc"),status:"error",duration:2500,isClosable:!0})},z=()=>t(jI(s)),V=ie=>{ie.dataTransfer.setData("invokeai/imageUuid",h),ie.dataTransfer.effectAllowed="move"},K=()=>{t(jI(s))};return y.jsxs(sLe,{onOpenChange:ie=>{t(tU(ie))},children:[y.jsx(lLe,{children:y.jsxs(ko,{position:"relative",className:"hoverable-image",onMouseOver:E,onMouseOut:_,userSelect:"none",draggable:!0,onDragStart:V,children:[y.jsx(KS,{className:"hoverable-image-image",objectFit:a?"contain":r,rounded:"md",src:d||u,loading:"lazy"}),y.jsx("div",{className:"hoverable-image-content",onClick:z,children:l&&y.jsx(Da,{width:"50%",height:"50%",as:PP,className:"hoverable-image-check"})}),v&&i>=64&&y.jsx("div",{className:"hoverable-image-delete-button",children:y.jsx(eS,{image:s,children:y.jsx(ss,{"aria-label":k("parameters:deleteImage"),icon:y.jsx(xEe,{}),size:"xs",variant:"imageHoverIconButton",fontSize:14,isDisabled:!o})})})]},h)}),y.jsxs(uLe,{className:"hoverable-image-context-menu",sticky:"always",onInteractOutside:ie=>{ie.detail.originalEvent.preventDefault()},children:[y.jsx(ud,{onClickCapture:K,children:k("parameters:openInViewer")}),y.jsx(ud,{onClickCapture:T,disabled:((q=(te=s==null?void 0:s.metadata)==null?void 0:te.image)==null?void 0:q.prompt)===void 0,children:k("parameters:usePrompt")}),y.jsx(ud,{onClickCapture:A,disabled:((U=($=s==null?void 0:s.metadata)==null?void 0:$.image)==null?void 0:U.seed)===void 0,children:k("parameters:useSeed")}),y.jsx(ud,{onClickCapture:D,disabled:!["txt2img","img2img"].includes((Z=(X=s==null?void 0:s.metadata)==null?void 0:X.image)==null?void 0:Z.type),children:k("parameters:useAll")}),y.jsx(ud,{onClickCapture:j,disabled:((Q=(W=s==null?void 0:s.metadata)==null?void 0:W.image)==null?void 0:Q.type)!=="img2img",children:k("parameters:useInitImg")}),y.jsx(ud,{onClickCapture:I,children:k("parameters:sendToImg2Img")}),y.jsx(ud,{onClickCapture:R,children:k("parameters:sendToUnifiedCanvas")}),y.jsx(ud,{"data-warning":!0,children:y.jsx(eS,{image:s,children:y.jsx("p",{children:k("parameters:deleteImage")})})})]})]})},cLe);lY.displayName="HoverableImage";const Kb=320,HD=40,dLe={txt2img:{galleryMinWidth:200,galleryMaxWidth:500},img2img:{galleryMinWidth:200,galleryMaxWidth:500},unifiedCanvas:{galleryMinWidth:200,galleryMaxWidth:200},nodes:{galleryMinWidth:200,galleryMaxWidth:500},postprocess:{galleryMinWidth:200,galleryMaxWidth:500},training:{galleryMinWidth:200,galleryMaxWidth:500}},VD=400;function uY(){const e=Me(),{t}=Ve(),{images:n,currentCategory:r,currentImageUuid:i,shouldPinGallery:o,shouldShowGallery:a,galleryScrollPosition:s,galleryImageMinimumWidth:l,galleryGridTemplateColumns:u,activeTabName:d,galleryImageObjectFit:h,shouldHoldGalleryOpen:m,shouldAutoSwitchToNewImages:v,areMoreImagesAvailable:b,galleryWidth:S,isLightboxOpen:k,isStaging:E,shouldEnableResize:_,shouldUseSingleGalleryColumn:T}=he(_Ee),{galleryMinWidth:A,galleryMaxWidth:I}=k?{galleryMinWidth:VD,galleryMaxWidth:VD}:dLe[d],[R,D]=w.useState(S>=Kb),[j,z]=w.useState(!1),[V,K]=w.useState(0),te=w.useRef(null),q=w.useRef(null),$=w.useRef(null);w.useEffect(()=>{S>=Kb&&D(!1)},[S]);const U=()=>{e(Bxe(!o)),e(vi(!0))},X=()=>{a?W():Z()},Z=()=>{e(Bd(!0)),o&&e(vi(!0))},W=w.useCallback(()=>{e(Bd(!1)),e(tU(!1)),e($xe(q.current?q.current.scrollTop:0)),setTimeout(()=>o&&e(vi(!0)),400)},[e,o]),Q=()=>{e(R8(r))},ie=ye=>{e(rv(ye))},fe=()=>{m||($.current=window.setTimeout(()=>W(),500))},Se=()=>{$.current&&window.clearTimeout($.current)};Je("g",()=>{X()},[a,o]),Je("left",()=>{e(oP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("right",()=>{e(iP())},{enabled:!E||d!=="unifiedCanvas"},[E]),Je("shift+g",()=>{U()},[o]),Je("esc",()=>{e(Bd(!1))},{enabled:()=>!o,preventDefault:!0},[o]);const Pe=32;return Je("shift+up",()=>{if(l<256){const ye=ke.clamp(l+Pe,32,256);e(rv(ye))}},[l]),Je("shift+down",()=>{if(l>32){const ye=ke.clamp(l-Pe,32,256);e(rv(ye))}},[l]),w.useEffect(()=>{q.current&&(q.current.scrollTop=s)},[s,a]),w.useEffect(()=>{function ye(We){!o&&te.current&&!te.current.contains(We.target)&&W()}return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[W,o]),y.jsx(Oq,{nodeRef:te,in:a||m,unmountOnExit:!0,timeout:200,classNames:"image-gallery-wrapper",children:y.jsxs("div",{className:"image-gallery-wrapper",style:{zIndex:o?1:100},"data-pinned":o,ref:te,onMouseLeave:o?void 0:fe,onMouseEnter:o?void 0:Se,onMouseOver:o?void 0:Se,children:[y.jsxs(kq,{minWidth:A,maxWidth:o?I:window.innerWidth,className:"image-gallery-popup",handleStyles:{left:{width:"15px"}},enable:{left:_},size:{width:S,height:o?"100%":"100vh"},onResizeStart:(ye,We,De)=>{K(De.clientHeight),De.style.height=`${De.clientHeight}px`,o&&(De.style.position="fixed",De.style.right="1rem",z(!0))},onResizeStop:(ye,We,De,ot)=>{const He=o?ke.clamp(Number(S)+ot.width,A,Number(I)):Number(S)+ot.width;e(Hxe(He)),De.removeAttribute("data-resize-alert"),o&&(De.style.position="relative",De.style.removeProperty("right"),De.style.setProperty("height",o?"100%":"100vh"),z(!1),e(vi(!0)))},onResize:(ye,We,De,ot)=>{const He=ke.clamp(Number(S)+ot.width,A,Number(o?I:.95*window.innerWidth));He>=Kb&&!R?D(!0):HeHe-HD&&e(rv(He-HD)),o&&(He>=I?De.setAttribute("data-resize-alert","true"):De.removeAttribute("data-resize-alert")),De.style.height=`${V}px`},children:[y.jsxs("div",{className:"image-gallery-header",children:[y.jsx(oo,{size:"sm",isAttached:!0,variant:"solid",className:"image-gallery-category-btn-group",children:R?y.jsxs(y.Fragment,{children:[y.jsx(cr,{size:"sm","data-selected":r==="result",onClick:()=>e(kb("result")),children:t("gallery:generations")}),y.jsx(cr,{size:"sm","data-selected":r==="user",onClick:()=>e(kb("user")),children:t("gallery:uploads")})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("gallery:showGenerations"),tooltip:t("gallery:showGenerations"),"data-selected":r==="result",icon:y.jsx(uEe,{}),onClick:()=>e(kb("result"))}),y.jsx(Qe,{"aria-label":t("gallery:showUploads"),tooltip:t("gallery:showUploads"),"data-selected":r==="user",icon:y.jsx(CEe,{}),onClick:()=>e(kb("user"))})]})}),y.jsxs("div",{className:"image-gallery-header-right-icons",children:[y.jsx(Zs,{isLazy:!0,trigger:"hover",placement:"left",triggerComponent:y.jsx(Qe,{size:"sm","aria-label":t("gallery:gallerySettings"),icon:y.jsx(OP,{}),className:"image-gallery-icon-btn",cursor:"pointer"}),children:y.jsxs("div",{className:"image-gallery-settings-popover",children:[y.jsxs("div",{children:[y.jsx(so,{value:l,onChange:ie,min:32,max:256,hideTooltip:!0,label:t("gallery:galleryImageSize")}),y.jsx(Qe,{size:"sm","aria-label":t("gallery:galleryImageResetSize"),tooltip:t("gallery:galleryImageResetSize"),onClick:()=>e(rv(64)),icon:y.jsx(Wx,{}),"data-selected":o,styleClass:"image-gallery-icon-btn"})]}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:maintainAspectRatio"),isChecked:h==="contain",onChange:()=>e(Fxe(h==="contain"?"cover":"contain"))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:autoSwitchNewImages"),isChecked:v,onChange:ye=>e(zxe(ye.target.checked))})}),y.jsx("div",{children:y.jsx(er,{label:t("gallery:singleColumnLayout"),isChecked:T,onChange:ye=>e(Vxe(ye.target.checked))})})]})}),y.jsx(Qe,{size:"sm",className:"image-gallery-icon-btn","aria-label":t("gallery:pinGallery"),tooltip:`${t("gallery:pinGallery")} (Shift+G)`,onClick:U,icon:o?y.jsx(Eq,{}):y.jsx(Pq,{})})]})]}),y.jsx("div",{className:"image-gallery-container",ref:q,children:n.length||b?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"image-gallery",style:{gridTemplateColumns:u},children:n.map(ye=>{const{uuid:We}=ye,De=i===We;return y.jsx(lY,{image:ye,isSelected:De},We)})}),y.jsx(as,{onClick:Q,isDisabled:!b,className:"image-gallery-load-more-btn",children:t(b?"gallery:loadMore":"gallery:allImagesLoaded")})]}):y.jsxs("div",{className:"image-gallery-container-placeholder",children:[y.jsx(Tq,{}),y.jsx("p",{children:t("gallery:noImagesInGallery")})]})})]}),j&&y.jsx("div",{style:{width:`${S}px`,height:"100%"}})]})})}/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var q8=function(e,t){return q8=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},q8(e,t)};function fLe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");q8(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ru=function(){return ru=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=n?(r(o),e.animation=null):e.animation&&(r(u),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function pf(e,t,n,r){var i=TLe(t);if(!(!e.mounted||!i)){var o=e.setTransformState,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=t.scale-s,h=t.positionX-l,m=t.positionY-u;n===0?o(t.scale,t.positionX,t.positionY):fY(e,r,n,function(v){var b=s+d*v,S=l+h*v,k=u+m*v;o(b,S,k)})}}function TLe(e){var t=e.scale,n=e.positionX,r=e.positionY;return!(isNaN(t)||isNaN(n)||isNaN(r))}function LLe(e,t,n){var r=e.offsetWidth,i=e.offsetHeight,o=t.offsetWidth,a=t.offsetHeight,s=o*n,l=a*n,u=r-s,d=i-l;return{wrapperWidth:r,wrapperHeight:i,newContentWidth:s,newDiffWidth:u,newContentHeight:l,newDiffHeight:d}}var ALe=function(e,t,n,r,i,o,a){var s=e>t?n*(a?1:.5):0,l=r>i?o*(a?1:.5):0,u=e-t-s,d=s,h=r-i-l,m=l;return{minPositionX:u,maxPositionX:d,minPositionY:h,maxPositionY:m}},FP=function(e,t){var n=e.wrapperComponent,r=e.contentComponent,i=e.setup.centerZoomedOut;if(!n||!r)throw new Error("Components are not mounted");var o=LLe(n,r,t),a=o.wrapperWidth,s=o.wrapperHeight,l=o.newContentWidth,u=o.newDiffWidth,d=o.newContentHeight,h=o.newDiffHeight,m=ALe(a,l,u,s,d,h,Boolean(i));return m},s0=function(e,t){var n=FP(e,t);return e.bounds=n,n};function iw(e,t,n,r,i,o,a){var s=n.minPositionX,l=n.minPositionY,u=n.maxPositionX,d=n.maxPositionY,h=0,m=0;a&&(h=i,m=o);var v=Y8(e,s-h,u+h,r),b=Y8(t,l-m,d+m,r);return{x:v,y:b}}var Y8=function(e,t,n,r){return r?en?rs(n,2):rs(e,2):rs(e,2)};function ow(e,t,n,r,i,o){var a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY,d=r-s;if(typeof t!="number"||typeof n!="number")return console.error("Mouse X and Y position were not provided!"),{x:l,y:u};var h=l-t*d,m=u-n*d,v=iw(h,m,i,o,0,0,null);return v}function Wy(e,t,n,r,i){var o=i?r:0,a=t-o;return!isNaN(n)&&e>=n?n:!isNaN(t)&&e<=a?a:e}var UD=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,i=e.wrapperComponent,o=t.target,a=i==null?void 0:i.contains(o),s=r&&o&&a;if(!s)return!1;var l=aw(o,n);return!l},GD=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup,i=r.panning.disabled,o=t&&n&&!i;return!!o},OLe=function(e,t){var n=e.transformState,r=n.positionX,i=n.positionY;e.isPanning=!0;var o=t.clientX,a=t.clientY;e.startCoords={x:o-r,y:a-i}},MLe=function(e,t){var n=t.touches,r=e.transformState,i=r.positionX,o=r.positionY;e.isPanning=!0;var a=n.length===1;if(a){var s=n[0].clientX,l=n[0].clientY;e.startCoords={x:s-i,y:l-o}}};function ILe(e){var t=e.transformState,n=t.positionX,r=t.positionY,i=t.scale,o=e.setup,a=o.disabled,s=o.limitToBounds,l=o.centerZoomedOut,u=e.wrapperComponent;if(!(a||!u||!e.bounds)){var d=e.bounds,h=d.maxPositionX,m=d.minPositionX,v=d.maxPositionY,b=d.minPositionY,S=n>h||nv||rh?u.offsetWidth:e.setup.minPositionX||0,_=r>v?u.offsetHeight:e.setup.minPositionY||0,T=ow(e,E,_,i,e.bounds,s||l),A=T.x,I=T.y;return{scale:i,positionX:S?A:n,positionY:k?I:r}}}function RLe(e,t,n,r,i){var o=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,l=e.transformState,u=l.scale,d=l.positionX,h=l.positionY,m=t!==d,v=n!==h,b=!m||!v;if(!(!a||b||!s)){var S=iw(t,n,s,o,r,i,a),k=S.x,E=S.y;e.setTransformState(u,k,E)}}var DLe=function(e,t,n){var r=e.startCoords,i=e.transformState,o=e.setup.panning,a=o.lockAxisX,s=o.lockAxisY,l=i.positionX,u=i.positionY;if(!r)return{x:l,y:u};var d=t-r.x,h=n-r.y,m=a?l:d,v=s?u:h;return{x:m,y:v}},sS=function(e,t){var n=e.setup,r=e.transformState,i=r.scale,o=n.minScale;return t>0&&i>=o?t:0},NLe=function(e){var t=e.mounted,n=e.setup,r=n.disabled,i=n.velocityAnimation,o=e.transformState.scale,a=i.disabled,s=!a||o>1||!r||t;return!!s},jLe=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,i=e.setup,o=i.disabled,a=i.velocityAnimation,s=e.transformState.scale,l=a.disabled,u=!l||s>1||!o||t;return!(!u||!n||!r)};function BLe(e,t){var n=e.setup.velocityAnimation,r=n.equalToMove,i=n.animationTime,o=n.sensitivity;return r?i*t*o:i}function qD(e,t,n,r,i,o,a,s,l,u){if(i){if(t>a&&n>a){var d=a+(e-a)*u;return d>l?l:do?o:d}}return r?t:Y8(e,o,a,i)}function $Le(e,t){var n=1;return t?Math.min(n,e.offsetWidth/window.innerWidth):n}function FLe(e,t){var n=NLe(e);if(n){var r=e.lastMousePosition,i=e.velocityTime,o=e.setup,a=e.wrapperComponent,s=o.velocityAnimation.equalToMove,l=Date.now();if(r&&i&&a){var u=$Le(a,s),d=t.x-r.x,h=t.y-r.y,m=d/u,v=h/u,b=l-i,S=d*d+h*h,k=Math.sqrt(S)/b;e.velocity={velocityX:m,velocityY:v,total:k}}e.lastMousePosition=t,e.velocityTime=l}}function zLe(e){var t=e.velocity,n=e.bounds,r=e.setup,i=e.wrapperComponent,o=jLe(e);if(!(!o||!t||!n||!i)){var a=t.velocityX,s=t.velocityY,l=t.total,u=n.maxPositionX,d=n.minPositionX,h=n.maxPositionY,m=n.minPositionY,v=r.limitToBounds,b=r.alignmentAnimation,S=r.zoomAnimation,k=r.panning,E=k.lockAxisY,_=k.lockAxisX,T=S.animationType,A=b.sizeX,I=b.sizeY,R=b.velocityAlignmentTime,D=R,j=BLe(e,l),z=Math.max(j,D),V=sS(e,A),K=sS(e,I),te=V*i.offsetWidth/100,q=K*i.offsetHeight/100,$=u+te,U=d-te,X=h+q,Z=m-q,W=e.transformState,Q=new Date().getTime();fY(e,T,z,function(ie){var fe=e.transformState,Se=fe.scale,Pe=fe.positionX,ye=fe.positionY,We=new Date().getTime()-Q,De=We/D,ot=cY[b.animationType],He=1-ot(Math.min(1,De)),Be=1-ie,wt=Pe+a*Be,st=ye+s*Be,mt=qD(wt,W.positionX,Pe,_,v,d,u,U,$,He),St=qD(st,W.positionY,ye,E,v,m,h,Z,X,He);(Pe!==wt||ye!==st)&&e.setTransformState(Se,mt,St)})}}function YD(e,t){var n=e.transformState.scale;Vl(e),s0(e,n),t.touches?MLe(e,t):OLe(e,t)}function KD(e,t,n){var r=e.startCoords,i=e.setup,o=i.alignmentAnimation,a=o.sizeX,s=o.sizeY;if(r){var l=DLe(e,t,n),u=l.x,d=l.y,h=sS(e,a),m=sS(e,s);FLe(e,{x:u,y:d}),RLe(e,u,d,h,m)}}function HLe(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,i=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var o=r==null?void 0:r.getBoundingClientRect(),a=i==null?void 0:i.getBoundingClientRect(),s=(o==null?void 0:o.width)||0,l=(o==null?void 0:o.height)||0,u=(a==null?void 0:a.width)||0,d=(a==null?void 0:a.height)||0,h=s.1&&h;m?zLe(e):hY(e)}}function hY(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,i=n.alignmentAnimation,o=i.disabled,a=i.sizeX,s=i.sizeY,l=i.animationTime,u=i.animationType,d=o||t=a;if((r>=1||s)&&hY(e),!(m||!i||!e.mounted)){var v=t||i.offsetWidth/2,b=n||i.offsetHeight/2,S=zP(e,a,v,b);S&&pf(e,S,d,h)}}function zP(e,t,n,r){var i=e.setup,o=i.minScale,a=i.maxScale,s=i.limitToBounds,l=Wy(rs(t,2),o,a,0,!1),u=s0(e,l),d=ow(e,n,r,l,u,s),h=d.x,m=d.y;return{scale:l,positionX:h,positionY:m}}var dm={previousScale:1,scale:1,positionX:0,positionY:0},VLe=ru(ru({},dm),{setComponents:function(){},contextInstance:null}),fv={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},gY=function(e){var t,n,r,i;return{previousScale:(t=e.initialScale)!==null&&t!==void 0?t:dm.scale,scale:(n=e.initialScale)!==null&&n!==void 0?n:dm.scale,positionX:(r=e.initialPositionX)!==null&&r!==void 0?r:dm.positionX,positionY:(i=e.initialPositionY)!==null&&i!==void 0?i:dm.positionY}},XD=function(e){var t=ru({},fv);return Object.keys(e).forEach(function(n){var r=typeof e[n]<"u",i=typeof fv[n]<"u";if(i&&r){var o=Object.prototype.toString.call(fv[n]),a=o==="[object Object]",s=o==="[object Array]";a?t[n]=ru(ru({},fv[n]),e[n]):s?t[n]=WD(WD([],fv[n]),e[n]):t[n]=e[n]}}),t},mY=function(e,t,n){var r=e.transformState.scale,i=e.wrapperComponent,o=e.setup,a=o.maxScale,s=o.minScale,l=o.zoomAnimation,u=l.size;if(!i)throw new Error("Wrapper is not mounted");var d=r*Math.exp(t*n),h=Wy(rs(d,3),s,a,u,!1);return h};function vY(e,t,n,r,i){var o=e.wrapperComponent,a=e.transformState,s=a.scale,l=a.positionX,u=a.positionY;if(!o)return console.error("No WrapperComponent found");var d=o.offsetWidth,h=o.offsetHeight,m=(d/2-l)/s,v=(h/2-u)/s,b=mY(e,t,n),S=zP(e,b,m,v);if(!S)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,S,r,i)}function yY(e,t,n){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,a=gY(e.props),s=e.transformState,l=s.scale,u=s.positionX,d=s.positionY;if(i){var h=FP(e,a.scale),m=iw(a.positionX,a.positionY,h,o,0,0,i),v={scale:a.scale,positionX:m.x,positionY:m.y};l===a.scale&&u===a.positionX&&d===a.positionY||pf(e,v,t,n)}}function WLe(e,t,n){var r=e.wrapperComponent,i=e.setup,o=i.limitToBounds,a=i.minScale,s=i.maxScale;if(!r)return dm;var l=r.getBoundingClientRect(),u=ULe(t),d=u.x,h=u.y,m=t.offsetWidth,v=t.offsetHeight,b=r.offsetWidth/m,S=r.offsetHeight/v,k=Wy(n||Math.min(b,S),a,s,0,!1),E=(l.width-m*k)/2,_=(l.height-v*k)/2,T=(l.left-d)*k+E,A=(l.top-h)*k+_,I=FP(e,k),R=iw(T,A,I,o,0,0,r),D=R.x,j=R.y;return{positionX:D,positionY:j,scale:k}}function ULe(e){for(var t=e,n=0,r=0;t;)n+=t.offsetLeft,r+=t.offsetTop,t=t.offsetParent;return{x:n,y:r}}function GLe(e){if(e){if((e==null?void 0:e.offsetWidth)===void 0||(e==null?void 0:e.offsetHeight)===void 0)return console.error("Zoom node is not valid - it must contain offsetWidth and offsetHeight"),!1}else return console.error("Zoom node not found"),!1;return!0}var qLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,1,t,n,r)}},YLe=function(e){return function(t,n,r){t===void 0&&(t=.5),n===void 0&&(n=300),r===void 0&&(r="easeOut"),vY(e,-1,t,n,r)}},KLe=function(e){return function(t,n,r,i,o){i===void 0&&(i=300),o===void 0&&(o="easeOut");var a=e.transformState,s=a.positionX,l=a.positionY,u=a.scale,d=e.wrapperComponent,h=e.contentComponent,m=e.setup.disabled;if(!(m||!d||!h)){var v={positionX:isNaN(t)?s:t,positionY:isNaN(n)?l:n,scale:isNaN(r)?u:r};pf(e,v,i,o)}}},XLe=function(e){return function(t,n){t===void 0&&(t=200),n===void 0&&(n="easeOut"),yY(e,t,n)}},ZLe=function(e){return function(t,n,r){n===void 0&&(n=200),r===void 0&&(r="easeOut");var i=e.transformState,o=e.wrapperComponent,a=e.contentComponent;if(o&&a){var s=bY(t||i.scale,o,a);pf(e,s,n,r)}}},QLe=function(e){return function(t,n,r,i){r===void 0&&(r=600),i===void 0&&(i="easeOut"),Vl(e);var o=e.wrapperComponent,a=typeof t=="string"?document.getElementById(t):t;if(o&&GLe(a)&&a&&o.contains(a)){var s=WLe(e,a,n);pf(e,s,r,i)}}},ri=function(e){return{instance:e,state:e.transformState,zoomIn:qLe(e),zoomOut:YLe(e),setTransform:KLe(e),resetTransform:XLe(e),centerView:ZLe(e),zoomToElement:QLe(e)}},FC=!1;function zC(){try{var e={get passive(){return FC=!0,!1}};return e}catch{return FC=!1,FC}}var aw=function(e,t){var n=e.tagName.toUpperCase(),r=t.find(function(o){return o.toUpperCase()===n});if(r)return!0;var i=t.find(function(o){return e.classList.contains(o)});return!!i},ZD=function(e){e&&clearTimeout(e)},JLe=function(e,t,n){return"translate3d("+e+"px, "+t+"px, 0) scale("+n+")"},bY=function(e,t,n){var r=n.offsetWidth*e,i=n.offsetHeight*e,o=(t.offsetWidth-r)/2,a=(t.offsetHeight-i)/2;return{scale:e,positionX:o,positionY:a}},eAe=function(e,t){var n=e.setup.wheel,r=n.disabled,i=n.wheelDisabled,o=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,l=e.isPanning,u=t.target,d=s&&!l&&!r&&u;if(!d||i&&!t.ctrlKey||o&&t.ctrlKey)return!1;var h=aw(u,a);return!h};function tAe(e,t){var n=e?e.deltaY<0?1:-1:0,r=hLe(t,n);return r}function SY(e,t,n){var r=t.getBoundingClientRect(),i=0,o=0;if("clientX"in e)i=(e.clientX-r.left)/n,o=(e.clientY-r.top)/n;else{var a=e.touches[0];i=(a.clientX-r.left)/n,o=(a.clientY-r.top)/n}return(isNaN(i)||isNaN(o))&&console.error("No mouse or touch offset found"),{x:i,y:o}}var nAe=function(e,t,n,r,i){var o=e.transformState.scale,a=e.wrapperComponent,s=e.setup,l=s.maxScale,u=s.minScale,d=s.zoomAnimation,h=d.size,m=d.disabled;if(!a)throw new Error("Wrapper is not mounted");var v=o+t*(o-o*n)*n;if(i)return v;var b=r?!1:!m,S=Wy(rs(v,3),u,l,h,b);return S},rAe=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,i=e.setup,o=i.maxScale,a=i.minScale;return n?ra||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaYt.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY):!1},iAe=function(e,t){var n=e.setup.pinch,r=n.disabled,i=n.excluded,o=e.isInitialized,a=t.target,s=o&&!r&&a;if(!s)return!1;var l=aw(a,i);return!l},oAe=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance,i=n&&!t&&r;return!!i},aAe=function(e,t,n){var r=n.getBoundingClientRect(),i=e.touches,o=rs(i[0].clientX-r.left,5),a=rs(i[0].clientY-r.top,5),s=rs(i[1].clientX-r.left,5),l=rs(i[1].clientY-r.top,5);return{x:(o+s)/2/t,y:(a+l)/2/t}},xY=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},sAe=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,i=e.setup,o=i.maxScale,a=i.minScale,s=i.zoomAnimation,l=s.size,u=s.disabled;if(!n||r===null||!t)throw new Error("Pinch touches distance was not provided");if(t<0)return e.transformState.scale;var d=t/r,h=d*n;return Wy(rs(h,2),a,o,l,!u)},lAe=160,uAe=100,cAe=function(e,t){var n=e.props,r=n.onWheelStart,i=n.onZoomStart;e.wheelStopEventTimer||(Vl(e),Pi(ri(e),t,r),Pi(ri(e),t,i))},dAe=function(e,t){var n=e.props,r=n.onWheel,i=n.onZoom,o=e.contentComponent,a=e.setup,s=e.transformState,l=s.scale,u=a.limitToBounds,d=a.centerZoomedOut,h=a.zoomAnimation,m=a.wheel,v=h.size,b=h.disabled,S=m.step;if(!o)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var k=tAe(t,null),E=nAe(e,k,S,!t.ctrlKey);if(l!==E){var _=s0(e,E),T=SY(t,o,l),A=b||v===0||d,I=u&&A,R=ow(e,T.x,T.y,E,_,I),D=R.x,j=R.y;e.previousWheelEvent=t,e.setTransformState(E,D,j),Pi(ri(e),t,r),Pi(ri(e),t,i)}},fAe=function(e,t){var n=e.props,r=n.onWheelStop,i=n.onZoomStop;ZD(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout(function(){e.mounted&&(pY(e,t.x,t.y),e.wheelAnimationTimer=null)},uAe);var o=rAe(e,t);o&&(ZD(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout(function(){e.mounted&&(e.wheelStopEventTimer=null,Pi(ri(e),t,r),Pi(ri(e),t,i))},lAe))},hAe=function(e,t){var n=xY(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,Vl(e)},pAe=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,i=e.transformState.scale,o=e.setup,a=o.limitToBounds,s=o.centerZoomedOut,l=o.zoomAnimation,u=l.disabled,d=l.size;if(!(r===null||!n)){var h=aAe(t,i,n);if(!(!isFinite(h.x)||!isFinite(h.y))){var m=xY(t),v=sAe(e,m);if(v!==i){var b=s0(e,v),S=u||d===0||s,k=a&&S,E=ow(e,h.x,h.y,v,b,k),_=E.x,T=E.y;e.pinchMidpoint=h,e.lastDistance=m,e.setTransformState(v,_,T)}}}},gAe=function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,pY(e,t==null?void 0:t.x,t==null?void 0:t.y)};function mAe(e,t){var n=e.setup.doubleClick,r=n.disabled,i=n.mode,o=n.step,a=n.animationTime,s=n.animationType;if(!r){if(i==="reset")return yY(e,a,s);var l=e.transformState.scale,u=e.contentComponent;if(!u)return console.error("No ContentComponent found");var d=i==="zoomOut"?-1:1,h=mY(e,d,o),m=SY(t,u,l),v=zP(e,h,m.x,m.y);if(!v)return console.error("Error during zoom event. New transformation state was not calculated.");pf(e,v,a,s)}}var vAe=function(e,t){var n=e.isInitialized,r=e.setup,i=e.wrapperComponent,o=r.doubleClick,a=o.disabled,s=o.excluded,l=t.target,u=i==null?void 0:i.contains(l),d=n&&l&&u&&!a;if(!d)return!1;var h=aw(l,s);return!(h||!d)},wY=N.createContext(VLe),yAe=function(e){fLe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mounted=!0,n.transformState=gY(n.props),n.setup=XD(n.props),n.wrapperComponent=null,n.contentComponent=null,n.isInitialized=!1,n.bounds=null,n.previousWheelEvent=null,n.wheelStopEventTimer=null,n.wheelAnimationTimer=null,n.isPanning=!1,n.startCoords=null,n.lastTouch=null,n.distance=null,n.lastDistance=null,n.pinchStartDistance=null,n.pinchStartScale=null,n.pinchMidpoint=null,n.velocity=null,n.velocityTime=null,n.lastMousePosition=null,n.animate=!1,n.animation=null,n.maxBounds=null,n.pressedKeys={},n.handleInitializeWrapperEvents=function(r){var i=zC();r.addEventListener("wheel",n.onWheelZoom,i),r.addEventListener("dblclick",n.onDoubleClick,i),r.addEventListener("touchstart",n.onTouchPanningStart,i),r.addEventListener("touchmove",n.onTouchPanning,i),r.addEventListener("touchend",n.onTouchPanningStop,i)},n.handleInitialize=function(){var r=n.setup.centerOnInit;n.applyTransformation(),n.forceUpdate(),r&&(setTimeout(function(){n.mounted&&n.setCenter()},50),setTimeout(function(){n.mounted&&n.setCenter()},100),setTimeout(function(){n.mounted&&n.setCenter()},200))},n.onWheelZoom=function(r){var i=n.setup.disabled;if(!i){var o=eAe(n,r);if(o){var a=n.isPressingKeys(n.setup.wheel.activationKeys);a&&(cAe(n,r),dAe(n,r),fAe(n,r))}}},n.onPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),Vl(n),YD(n,r),Pi(ri(n),r,o))}}},n.onPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(!i){var a=GD(n);if(a){var s=n.isPressingKeys(n.setup.panning.activationKeys);s&&(r.preventDefault(),r.stopPropagation(),KD(n,r.clientX,r.clientY),Pi(ri(n),r,o))}}},n.onPanningStop=function(r){var i=n.props.onPanningStop;n.isPanning&&(HLe(n),Pi(ri(n),r,i))},n.onPinchStart=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinchingStart,s=o.onZoomStart;if(!i){var l=iAe(n,r);l&&(hAe(n,r),Vl(n),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinch=function(r){var i=n.setup.disabled,o=n.props,a=o.onPinching,s=o.onZoom;if(!i){var l=oAe(n);l&&(r.preventDefault(),r.stopPropagation(),pAe(n,r),Pi(ri(n),r,a),Pi(ri(n),r,s))}},n.onPinchStop=function(r){var i=n.props,o=i.onPinchingStop,a=i.onZoomStop;n.pinchStartScale&&(gAe(n),Pi(ri(n),r,o),Pi(ri(n),r,a))},n.onTouchPanningStart=function(r){var i=n.setup.disabled,o=n.props.onPanningStart;if(!i){var a=UD(n,r);if(a){var s=n.lastTouch&&+new Date-n.lastTouch<200;if(s&&r.touches.length===1)n.onDoubleClick(r);else{n.lastTouch=+new Date,Vl(n);var l=r.touches,u=l.length===1,d=l.length===2;u&&(Vl(n),YD(n,r),Pi(ri(n),r,o)),d&&n.onPinchStart(r)}}}},n.onTouchPanning=function(r){var i=n.setup.disabled,o=n.props.onPanning;if(n.isPanning&&r.touches.length===1){if(i)return;var a=GD(n);if(!a)return;r.preventDefault(),r.stopPropagation();var s=r.touches[0];KD(n,s.clientX,s.clientY),Pi(ri(n),r,o)}else r.touches.length>1&&n.onPinch(r)},n.onTouchPanningStop=function(r){n.onPanningStop(r),n.onPinchStop(r)},n.onDoubleClick=function(r){var i=n.setup.disabled;if(!i){var o=vAe(n,r);o&&mAe(n,r)}},n.clearPanning=function(r){n.isPanning&&n.onPanningStop(r)},n.setKeyPressed=function(r){n.pressedKeys[r.key]=!0},n.setKeyUnPressed=function(r){n.pressedKeys[r.key]=!1},n.isPressingKeys=function(r){return r.length?Boolean(r.find(function(i){return n.pressedKeys[i]})):!0},n.setComponents=function(r,i){n.wrapperComponent=r,n.contentComponent=i,s0(n,n.transformState.scale),n.handleInitializeWrapperEvents(r),n.handleInitialize(),n.handleRef(),n.isInitialized=!0,Pi(ri(n),void 0,n.props.onInit)},n.setTransformState=function(r,i,o){!isNaN(r)&&!isNaN(i)&&!isNaN(o)?(r!==n.transformState.scale&&(n.transformState.previousScale=n.transformState.scale,n.transformState.scale=r),n.transformState.positionX=i,n.transformState.positionY=o,n.applyTransformation()):console.error("Detected NaN set state values")},n.setCenter=function(){if(n.wrapperComponent&&n.contentComponent){var r=bY(n.transformState.scale,n.wrapperComponent,n.contentComponent);n.setTransformState(r.scale,r.positionX,r.positionY)}},n.applyTransformation=function(){if(!(!n.mounted||!n.contentComponent)){var r=n.transformState,i=r.scale,o=r.positionX,a=r.positionY,s=JLe(o,a,i);n.contentComponent.style.transform=s,n.handleRef()}},n.handleRef=function(){n.props.setRef(ri(n))},n}return t.prototype.componentDidMount=function(){var n=zC();window.addEventListener("mousedown",this.onPanningStart,n),window.addEventListener("mousemove",this.onPanning,n),window.addEventListener("mouseup",this.onPanningStop,n),document.addEventListener("mouseleave",this.clearPanning,n),window.addEventListener("keyup",this.setKeyUnPressed,n),window.addEventListener("keydown",this.setKeyPressed,n),this.handleRef()},t.prototype.componentWillUnmount=function(){var n=zC();window.removeEventListener("mousedown",this.onPanningStart,n),window.removeEventListener("mousemove",this.onPanning,n),window.removeEventListener("mouseup",this.onPanningStop,n),window.removeEventListener("keyup",this.setKeyUnPressed,n),window.removeEventListener("keydown",this.setKeyPressed,n),Vl(this)},t.prototype.componentDidUpdate=function(n){n!==this.props&&(s0(this,this.transformState.scale),this.setup=XD(this.props))},t.prototype.render=function(){var n=ri(this),r=this.props.children,i=typeof r=="function"?r(n):r;return N.createElement(wY.Provider,{value:ru(ru({},this.transformState),{setComponents:this.setComponents,contextInstance:this})},i)},t}(w.Component),bAe=N.forwardRef(function(e,t){var n=w.useState(null),r=n[0],i=n[1];return w.useImperativeHandle(t,function(){return r},[r]),N.createElement(yAe,ru({},e,{setRef:i}))});function SAe(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n==="top"&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var xAe=`.transform-component-module_wrapper__1_Fgj { + position: relative; + width: -moz-fit-content; + width: fit-content; + height: -moz-fit-content; + height: fit-content; + overflow: hidden; + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; + margin: 0; + padding: 0; +} +.transform-component-module_content__2jYgh { + 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%; +} +.transform-component-module_content__2jYgh img { + pointer-events: none; +} +`,QD={wrapper:"transform-component-module_wrapper__1_Fgj",content:"transform-component-module_content__2jYgh"};SAe(xAe);var wAe=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,i=e.contentClass,o=i===void 0?"":i,a=e.wrapperStyle,s=e.contentStyle,l=w.useContext(wY).setComponents,u=w.useRef(null),d=w.useRef(null);return w.useEffect(function(){var h=u.current,m=d.current;h!==null&&m!==null&&l&&l(h,m)},[]),N.createElement("div",{ref:u,className:"react-transform-wrapper "+QD.wrapper+" "+r,style:a},N.createElement("div",{ref:d,className:"react-transform-component "+QD.content+" "+o,style:s},t))};function CAe({image:e,alt:t,ref:n,styleClass:r}){const[i,o]=w.useState(0),[a,s]=w.useState(!1),l=()=>{o(i===-3?0:i-1)},u=()=>{o(i===3?0:i+1)},d=()=>{s(!a)};return y.jsx(bAe,{centerOnInit:!0,minScale:.1,initialPositionX:50,initialPositionY:50,children:({zoomIn:h,zoomOut:m,resetTransform:v,centerView:b})=>y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"lightbox-image-options",children:[y.jsx(Qe,{icon:y.jsx(h_e,{}),"aria-label":"Zoom In",tooltip:"Zoom In",onClick:()=>h(),fontSize:20}),y.jsx(Qe,{icon:y.jsx(p_e,{}),"aria-label":"Zoom Out",tooltip:"Zoom Out",onClick:()=>m(),fontSize:20}),y.jsx(Qe,{icon:y.jsx(d_e,{}),"aria-label":"Rotate Left",tooltip:"Rotate Left",onClick:l,fontSize:20}),y.jsx(Qe,{icon:y.jsx(f_e,{}),"aria-label":"Rotate Right",tooltip:"Rotate Right",onClick:u,fontSize:20}),y.jsx(Qe,{icon:y.jsx(WEe,{}),"aria-label":"Flip Image",tooltip:"Flip Image",onClick:d,fontSize:20}),y.jsx(Qe,{icon:y.jsx(Wx,{}),"aria-label":"Reset",tooltip:"Reset",onClick:()=>{v(),o(0),s(!1)},fontSize:20})]}),y.jsx(wAe,{wrapperStyle:{width:"100%",height:"100%"},children:y.jsx("img",{style:{transform:`rotate(${i*90}deg) scaleX(${a?-1:1})`,width:"100%"},src:e,alt:t,ref:n,className:r||"",onLoad:()=>b(1,0,"easeOut")})})]})})}function _Ae(){const e=Me(),t=he(m=>m.lightbox.isLightboxOpen),{viewerImageToDisplay:n,shouldShowImageDetails:r,isOnFirstImage:i,isOnLastImage:o}=he(_q),[a,s]=w.useState(!1),l=()=>{s(!0)},u=()=>{s(!1)},d=()=>{e(oP())},h=()=>{e(iP())};return Je("Esc",()=>{t&&e(Bm(!1))},[t]),y.jsxs("div",{className:"lightbox-container",children:[y.jsx(Qe,{icon:y.jsx(c_e,{}),"aria-label":"Exit Viewer",className:"lightbox-close-btn",onClick:()=>{e(Bm(!1))},fontSize:20}),y.jsxs("div",{className:"lightbox-display-container",children:[y.jsxs("div",{className:"lightbox-preview-wrapper",children:[y.jsx(wq,{}),!r&&y.jsxs("div",{className:"current-image-next-prev-buttons",children:[y.jsx("div",{className:"next-prev-button-trigger-area prev-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!i&&y.jsx(ss,{"aria-label":"Previous image",icon:y.jsx(dq,{className:"next-prev-button"}),variant:"unstyled",onClick:d})}),y.jsx("div",{className:"next-prev-button-trigger-area next-button-trigger-area",onMouseOver:l,onMouseOut:u,children:a&&!o&&y.jsx(ss,{"aria-label":"Next image",icon:y.jsx(fq,{className:"next-prev-button"}),variant:"unstyled",onClick:h})})]}),n&&y.jsxs(y.Fragment,{children:[y.jsx(CAe,{image:n.url,styleClass:"lightbox-image"}),r&&y.jsx(MP,{image:n})]})]}),y.jsx(uY,{})]})]})}function kAe(e){return gt({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M14 1H3L2 2v11l1 1h11l1-1V2l-1-1zM8 13H3V2h5v11zm6 0H9V2h5v11z"}}]})(e)}const EAe=at(yp,e=>({resultImages:e.categories.result.images,userImages:e.categories.user.images})),PAe=()=>{const{resultImages:e,userImages:t}=he(EAe);return n=>{const r=e.find(o=>o.uuid===n);if(r)return r;const i=t.find(o=>o.uuid===n);if(i)return i}},TAe=at([mp,Vx,Or],(e,t,n)=>{const{shouldShowDualDisplay:r,shouldPinParametersPanel:i}=e,{isLightboxOpen:o}=t;return{shouldShowDualDisplay:r,shouldPinParametersPanel:i,isLightboxOpen:o,shouldShowDualDisplayButton:["inpainting"].includes(n),activeTabName:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),HP=e=>{const t=Me(),{optionsPanel:n,children:r,styleClass:i}=e,{activeTabName:o,shouldShowDualDisplay:a,isLightboxOpen:s,shouldShowDualDisplayButton:l}=he(TAe),u=PAe(),d=()=>{t(cCe(!a)),t(vi(!0))},h=m=>{const v=m.dataTransfer.getData("invokeai/imageUuid"),b=u(v);b&&(o==="img2img"?t(k0(b)):o==="unifiedCanvas"&&t(Dx(b)))};return y.jsx("div",{className:i?`workarea-wrapper ${i}`:"workarea-wrapper",children:y.jsxs("div",{className:"workarea-main",children:[n,y.jsxs("div",{className:"workarea-children-wrapper",onDrop:h,children:[r,l&&y.jsx(uo,{label:"Toggle Split View",children:y.jsx("div",{className:"workarea-split-button","data-selected":a,onClick:d,children:y.jsx(kAe,{})})})]}),!s&&y.jsx(uY,{})]})})},LAe=e=>{const{styleClass:t}=e,n=w.useContext(SP),r=()=>{n&&n()};return y.jsx("div",{className:`image-uploader-button-outer ${t}`,onClick:r,children:y.jsxs("div",{className:"image-upload-button",children:[y.jsx(Zx,{}),y.jsx(Dh,{size:"lg",children:"Click or Drag and Drop"})]})})},AAe=at([yp,mp,Or],(e,t,n)=>{const{currentImage:r,intermediateImage:i}=e,{shouldShowImageDetails:o}=t;return{activeTabName:n,shouldShowImageDetails:o,hasAnImageToDisplay:r||i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CY=()=>{const{hasAnImageToDisplay:e,activeTabName:t}=he(AAe);return y.jsx("div",{className:"current-image-area","data-tab-name":t,children:e?y.jsxs(y.Fragment,{children:[y.jsx(wq,{}),y.jsx(MEe,{})]}):y.jsx("div",{className:"current-image-display-placeholder",children:y.jsx(UEe,{})})})},OAe=()=>{const e=w.useContext(SP);return y.jsx(Qe,{"aria-label":"Upload Image",tooltip:"Upload Image",icon:y.jsx(Zx,{}),onClick:e||void 0})};function MAe(){const e=he(o=>o.generation.initialImage),{t}=Ve(),n=Me(),r=Ry(),i=()=>{r({title:t("toast:parametersFailed"),description:t("toast:parametersFailedDesc"),status:"error",isClosable:!0}),n(oU())};return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"init-image-preview-header",children:[y.jsx("h2",{children:t("parameters:initialImage")}),y.jsx(OAe,{})]}),e&&y.jsx("div",{className:"init-image-preview",children:y.jsx(KS,{fit:"contain",maxWidth:"100%",maxHeight:"100%",src:typeof e=="string"?e:e.url,onError:i})})]})}const IAe=()=>{const e=he(r=>r.generation.initialImage),{currentImage:t}=he(r=>r.gallery),n=e?y.jsx("div",{className:"image-to-image-area",children:y.jsx(MAe,{})}):y.jsx(LAe,{});return y.jsxs("div",{className:"workarea-split-view",children:[y.jsx("div",{className:"workarea-split-view-left",children:n}),t&&y.jsx("div",{className:"workarea-split-view-right",children:y.jsx(CY,{})})]})};var ao=(e=>(e[e.PROMPT=0]="PROMPT",e[e.GALLERY=1]="GALLERY",e[e.OTHER=2]="OTHER",e[e.SEED=3]="SEED",e[e.VARIATIONS=4]="VARIATIONS",e[e.UPSCALE=5]="UPSCALE",e[e.FACE_CORRECTION=6]="FACE_CORRECTION",e[e.IMAGE_TO_IMAGE=7]="IMAGE_TO_IMAGE",e[e.BOUNDING_BOX=8]="BOUNDING_BOX",e[e.SEAM_CORRECTION=9]="SEAM_CORRECTION",e[e.INFILL_AND_SCALING=10]="INFILL_AND_SCALING",e))(ao||{});const RAe=()=>{const{t:e}=Ve();return w.useMemo(()=>({[0]:{text:e("tooltip:feature.prompt"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[1]:{text:e("tooltip:feature.gallery"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[2]:{text:e("tooltip:feature.other"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[3]:{text:e("tooltip:feature.seed"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[4]:{text:e("tooltip:feature.variations"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[5]:{text:e("tooltip:feature.upscale"),href:"link/to/docs/feature1.html",guideImage:"asset/path.gif"},[6]:{text:e("tooltip:feature.faceCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[7]:{text:e("tooltip:feature.imageToImage"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[8]:{text:e("tooltip:feature.boundingBox"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[9]:{text:e("tooltip:feature.seamCorrection"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[10]:{text:e("tooltip:feature.infillAndScaling"),href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"}}),[e])},DAe=e=>RAe()[e],Vs=e=>{const{label:t,isDisabled:n=!1,width:r="auto",formControlProps:i,formLabelProps:o,styleClass:a,...s}=e;return y.jsxs(dn,{isDisabled:n,width:r,className:`invokeai__switch-form-control ${a}`,display:"flex",columnGap:"1rem",alignItems:"center",justifyContent:"space-between",...i,children:[y.jsx(kn,{className:"invokeai__switch-form-label",whiteSpace:"nowrap",marginRight:0,marginTop:.5,marginBottom:.5,fontSize:"sm",fontWeight:"bold",width:"auto",...o,children:t}),y.jsx(BE,{className:"invokeai__switch-root",...s})]})};function _Y(){const e=he(i=>i.system.isGFPGANAvailable),t=he(i=>i.postprocessing.shouldRunFacetool),n=Me(),r=i=>n(awe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function NAe(){const e=Me(),t=he(i=>i.generation.shouldFitToWidthHeight),n=i=>e(gU(i.target.checked)),{t:r}=Ve();return y.jsx(Vs,{label:r("parameters:imageFit"),isChecked:t,onChange:n})}function kY(e){const{t}=Ve(),{label:n=`${t("parameters:strength")}`,styleClass:r}=e,i=he(l=>l.generation.img2imgStrength),o=Me(),a=l=>o(l8(l)),s=()=>{o(l8(.75))};return y.jsx(so,{label:n,step:.01,min:.01,max:1,onChange:a,value:i,isInteger:!1,styleClass:r,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:s})}const EY=()=>{const e=Me(),t=he(i=>i.generation.seamless),n=i=>e(hU(i.target.checked)),{t:r}=Ve();return y.jsx(Ge,{gap:2,direction:"column",children:y.jsx(Vs,{label:r("parameters:seamlessTiling"),fontSize:"md",isChecked:t,onChange:n})})},jAe=()=>y.jsx(Ge,{gap:2,direction:"column",children:y.jsx(EY,{})});function BAe(){const e=Me(),t=he(i=>i.generation.perlin),{t:n}=Ve(),r=i=>e(dU(i));return y.jsx(ra,{label:n("parameters:perlinNoise"),min:0,max:1,step:.05,onChange:r,value:t,isInteger:!1})}function $Ae(){const e=Me(),{t}=Ve(),n=he(i=>i.generation.shouldRandomizeSeed),r=i=>e(ewe(i.target.checked));return y.jsx(Vs,{label:t("parameters:randomizeSeed"),isChecked:n,onChange:r})}function FAe(){const e=he(a=>a.generation.seed),t=he(a=>a.generation.shouldRandomizeSeed),n=he(a=>a.generation.shouldGenerateVariations),{t:r}=Ve(),i=Me(),o=a=>i(Ny(a));return y.jsx(ra,{label:r("parameters:seed"),step:1,precision:0,flexGrow:1,min:hP,max:pP,isDisabled:t,isInvalid:e<0&&n,onChange:o,value:e,width:"auto"})}function zAe(){const e=Me(),t=he(i=>i.generation.shouldRandomizeSeed),{t:n}=Ve(),r=()=>e(Ny(HG(hP,pP)));return y.jsx(as,{size:"sm",isDisabled:t,onClick:r,padding:"0 1.5rem",children:y.jsx("p",{children:n("parameters:shuffle")})})}function HAe(){const e=Me(),t=he(i=>i.generation.threshold),{t:n}=Ve(),r=i=>e(vU(i));return y.jsx(ra,{label:n("parameters:noiseThreshold"),min:0,max:1e3,step:.1,onChange:r,value:t,isInteger:!1})}const VP=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx($Ae,{}),y.jsxs(Ge,{gap:2,children:[y.jsx(FAe,{}),y.jsx(zAe,{})]}),y.jsx(Ge,{gap:2,children:y.jsx(HAe,{})}),y.jsx(Ge,{gap:2,children:y.jsx(BAe,{})})]});function PY(){const e=he(i=>i.system.isESRGANAvailable),t=he(i=>i.postprocessing.shouldRunESRGAN),n=Me(),r=i=>n(owe(i.target.checked));return y.jsx(Vs,{isDisabled:!e,isChecked:t,onChange:r})}function WP(){const e=he(r=>r.generation.shouldGenerateVariations),t=Me(),n=r=>t(Jxe(r.target.checked));return y.jsx(Vs,{isChecked:e,width:"auto",onChange:n})}function kr(e){const{label:t="",styleClass:n,isDisabled:r=!1,fontSize:i="sm",width:o,size:a="sm",isInvalid:s,...l}=e;return y.jsxs(dn,{className:`input ${n}`,isInvalid:s,isDisabled:r,children:[t!==""&&y.jsx(kn,{fontSize:i,fontWeight:"bold",alignItems:"center",whiteSpace:"nowrap",marginBottom:0,marginRight:0,className:"input-label",children:t}),y.jsx(hk,{...l,className:"input-entry",size:a,width:o})]})}function VAe(){const e=he(o=>o.generation.seedWeights),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Me(),i=o=>r(pU(o.target.value));return y.jsx(kr,{label:n("parameters:seedWeights"),value:e,isInvalid:t&&!(sP(e)||e===""),isDisabled:!t,onChange:i})}function WAe(){const e=he(o=>o.generation.variationAmount),t=he(o=>o.generation.shouldGenerateVariations),{t:n}=Ve(),r=Me(),i=o=>r(twe(o));return y.jsx(ra,{label:n("parameters:variationAmount"),value:e,step:.01,min:0,max:1,isDisabled:!t,onChange:i,isInteger:!1})}const UP=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(WAe,{}),y.jsx(VAe,{})]});function UAe(){const e=Me(),t=he(i=>i.generation.cfgScale),{t:n}=Ve(),r=i=>e(sU(i));return y.jsx(ra,{label:n("parameters:cfgScale"),step:.5,min:1.01,max:200,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center",isInteger:!1})}function GAe(){const e=he(o=>o.generation.height),t=he(Or),n=Me(),{t:r}=Ve(),i=o=>n(lU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:r("parameters:height"),value:e,flexGrow:1,onChange:i,validValues:i7e,styleClass:"main-settings-block"})}const qAe=at([e=>e.generation],e=>{const{iterations:t}=e;return{iterations:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function YAe(){const e=Me(),{iterations:t}=he(qAe),{t:n}=Ve(),r=i=>e(Qxe(i));return y.jsx(ra,{label:n("parameters:images"),step:1,min:1,max:9999,onChange:r,value:t,width:"auto",labelFontSize:.5,styleClass:"main-settings-block",textAlign:"center"})}function KAe(){const e=he(o=>o.generation.sampler),t=he(qG),n=Me(),{t:r}=Ve(),i=o=>n(fU(o.target.value));return y.jsx(tl,{label:r("parameters:sampler"),value:e,onChange:i,validValues:t.format==="diffusers"?n7e:t7e,styleClass:"main-settings-block"})}function XAe(){const e=Me(),t=he(i=>i.generation.steps),{t:n}=Ve(),r=i=>e(mU(i));return y.jsx(ra,{label:n("parameters:steps"),min:1,max:9999,step:1,onChange:r,value:t,width:"auto",styleClass:"main-settings-block",textAlign:"center"})}function ZAe(){const e=he(o=>o.generation.width),t=he(Or),{t:n}=Ve(),r=Me(),i=o=>r(yU(Number(o.target.value)));return y.jsx(tl,{isDisabled:t==="unifiedCanvas",label:n("parameters:width"),value:e,flexGrow:1,onChange:i,validValues:r7e,styleClass:"main-settings-block"})}function GP(){return y.jsx("div",{className:"main-settings",children:y.jsxs("div",{className:"main-settings-list",children:[y.jsxs("div",{className:"main-settings-row",children:[y.jsx(YAe,{}),y.jsx(XAe,{}),y.jsx(UAe,{})]}),y.jsxs("div",{className:"main-settings-row",children:[y.jsx(ZAe,{}),y.jsx(GAe,{}),y.jsx(KAe,{})]})]})})}const QAe=at(ir,e=>e.shouldDisplayGuides),JAe=({children:e,feature:t})=>{const n=he(QAe),{text:r}=DAe(t);return n?y.jsxs(ME,{trigger:"hover",children:[y.jsx(DE,{children:y.jsx(ko,{children:e})}),y.jsxs(RE,{className:"guide-popover-content",maxWidth:"400px",onClick:i=>i.preventDefault(),cursor:"initial",children:[y.jsx(IE,{className:"guide-popover-arrow"}),y.jsx("div",{className:"guide-popover-guide-content",children:r})]})]}):null},eOe=Ae(({feature:e,icon:t=HEe},n)=>y.jsx(JAe,{feature:e,children:y.jsx(ko,{ref:n,children:y.jsx(Da,{marginBottom:"-.15rem",as:t})})}));function tOe(e){const{header:t,feature:n,content:r,additionalHeaderComponents:i}=e;return y.jsxs(Gg,{className:"advanced-parameters-item",children:[y.jsx(Wg,{className:"advanced-parameters-header",children:y.jsxs(Ge,{width:"100%",gap:"0.5rem",align:"center",children:[y.jsx(ko,{flexGrow:1,textAlign:"left",children:t}),i,n&&y.jsx(eOe,{feature:n}),y.jsx(Ug,{})]})}),y.jsx(qg,{className:"advanced-parameters-panel",children:r})]})}const qP=e=>{const{accordionInfo:t}=e,n=he(a=>a.system.openAccordions),r=Me(),i=a=>r(G6e(a)),o=()=>{const a=[];return t&&Object.keys(t).forEach(s=>{const{header:l,feature:u,content:d,additionalHeaderComponents:h}=t[s];a.push(y.jsx(tOe,{header:l,feature:u,content:d,additionalHeaderComponents:h},s))}),a};return y.jsx(ok,{defaultIndex:n,allowMultiple:!0,reduceMotion:!0,onChange:i,className:"advanced-parameters",children:o()})},nOe=at(ir,e=>({isProcessing:e.isProcessing,isConnected:e.isConnected,isCancelable:e.isCancelable}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function YP(e){const{...t}=e,n=Me(),{isProcessing:r,isConnected:i,isCancelable:o}=he(nOe),a=()=>n(j8e()),{t:s}=Ve();return Je("shift+x",()=>{(i||r)&&o&&a()},[i,r,o]),y.jsx(Qe,{icon:y.jsx(GEe,{}),tooltip:s("parameters:cancel"),"aria-label":s("parameters:cancel"),isDisabled:!i||!r||!o,onClick:a,styleClass:"cancel-btn",...t})}const KP=e=>e.generation;at(KP,({shouldRandomizeSeed:e,shouldGenerateVariations:t})=>e||t,{memoizeOptions:{resultEqualityCheck:ke.isEqual}});const TY=at([KP,ir,xq,Or],(e,t,n,r)=>{const{prompt:i,shouldGenerateVariations:o,seedWeights:a,initialImage:s,seed:l}=e,{isProcessing:u,isConnected:d}=t;let h=!0;const m=[];return(!i||Boolean(i.match(/^[\s\r\n]+$/)))&&(h=!1,m.push("Missing prompt")),r==="img2img"&&!s&&(h=!1,m.push("No initial image selected")),u&&(h=!1,m.push("System Busy")),d||(h=!1,m.push("System Disconnected")),o&&(!(sP(a)||a==="")||l===-1)&&(h=!1,m.push("Seed-Weights badly formatted.")),{isReady:h,reasonsWhyNotReady:m}},{memoizeOptions:{equalityCheck:ke.isEqual,resultEqualityCheck:ke.isEqual}});function XP(e){const{iconButton:t=!1,...n}=e,r=Me(),{isReady:i}=he(TY),o=he(Or),a=()=>{r(I8(o))},{t:s}=Ve();return Je(["ctrl+enter","meta+enter"],()=>{r(I8(o))},{enabled:()=>i,preventDefault:!0,enableOnFormTags:["input","textarea","select"]},[i,o]),y.jsx("div",{style:{flexGrow:4},children:t?y.jsx(Qe,{"aria-label":s("parameters:invoke"),type:"submit",icon:y.jsx(gEe,{}),isDisabled:!i,onClick:a,className:"invoke-btn",tooltip:s("parameters:invoke"),tooltipProps:{placement:"bottom"},...n}):y.jsx(cr,{"aria-label":s("parameters:invoke"),type:"submit",isDisabled:!i,onClick:a,className:"invoke-btn",...n,children:"Invoke"})})}const rOe=at(Fy,({shouldLoopback:e})=>e),iOe=()=>{const e=Me(),t=he(rOe),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("parameters:toggleLoopback"),tooltip:n("parameters:toggleLoopback"),styleClass:"loopback-btn",asCheckbox:!0,isChecked:t,icon:y.jsx(vEe,{}),onClick:()=>{e(iwe(!t))}})},ZP=()=>{const e=he(Or);return y.jsxs("div",{className:"process-buttons",children:[y.jsx(XP,{}),e==="img2img"&&y.jsx(iOe,{}),y.jsx(YP,{})]})},QP=()=>{const e=he(r=>r.generation.negativePrompt),t=Me(),{t:n}=Ve();return y.jsx(dn,{children:y.jsx($E,{id:"negativePrompt",name:"negativePrompt",value:e,onChange:r=>t(Q2(r.target.value)),background:"var(--prompt-bg-color)",placeholder:n("parameters:negativePrompts"),_placeholder:{fontSize:"0.8rem"},borderColor:"var(--border-color)",_hover:{borderColor:"var(--border-color-light)"},_focusVisible:{borderColor:"var(--border-color-invalid)",boxShadow:"0 0 10px var(--box-shadow-color-invalid)"},fontSize:"0.9rem",color:"var(--text-color-secondary)"})})},oOe=at([e=>e.generation,Or],(e,t)=>({prompt:e.prompt,activeTabName:t}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),JP=()=>{const e=Me(),{prompt:t,activeTabName:n}=he(oOe),{isReady:r}=he(TY),i=w.useRef(null),{t:o}=Ve(),a=l=>{e(Nx(l.target.value))};Je("alt+a",()=>{var l;(l=i.current)==null||l.focus()},[]);const s=l=>{l.key==="Enter"&&l.shiftKey===!1&&r&&(l.preventDefault(),e(I8(n)))};return y.jsx("div",{className:"prompt-bar",children:y.jsx(dn,{isInvalid:t.length===0||Boolean(t.match(/^[\s\r\n]+$/)),children:y.jsx($E,{id:"prompt",name:"prompt",placeholder:o("parameters:promptPlaceholder"),size:"lg",value:t,onChange:a,onKeyDown:s,resize:"vertical",height:30,ref:i,_placeholder:{color:"var(--text-color-secondary)"}})})})},LY=""+new URL("logo-13003d72.png",import.meta.url).href,aOe=at(mp,e=>{const{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}=e;return{shouldShowParametersPanel:t,shouldHoldParametersPanelOpen:n,shouldPinParametersPanel:r,parametersPanelScrollPosition:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eT=e=>{const t=Me(),{shouldShowParametersPanel:n,shouldHoldParametersPanelOpen:r,shouldPinParametersPanel:i}=he(aOe),o=w.useRef(null),a=w.useRef(null),s=w.useRef(null),{children:l}=e;Je("o",()=>{t(Ku(!n)),i&&setTimeout(()=>t(vi(!0)),400)},[n,i]),Je("esc",()=>{t(Ku(!1))},{enabled:()=>!i,preventDefault:!0},[i]),Je("shift+o",()=>{m(),t(vi(!0))},[i]);const u=w.useCallback(()=>{i||(t(sCe(a.current?a.current.scrollTop:0)),t(Ku(!1)),t(lCe(!1)))},[t,i]),d=()=>{s.current=window.setTimeout(()=>u(),500)},h=()=>{s.current&&window.clearTimeout(s.current)},m=()=>{t(uCe(!i)),t(vi(!0))};return w.useEffect(()=>{function v(b){o.current&&!o.current.contains(b.target)&&u()}return document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[u]),y.jsx(Oq,{nodeRef:o,in:n||r&&!i,unmountOnExit:!0,timeout:200,classNames:"parameters-panel-wrapper",children:y.jsx("div",{className:"parameters-panel-wrapper","data-pinned":i,tabIndex:1,ref:o,onMouseEnter:i?void 0:h,onMouseOver:i?void 0:h,style:{borderRight:i?"":"0.3rem solid var(--tab-list-text-inactive)"},children:y.jsx("div",{className:"parameters-panel-margin",children:y.jsxs("div",{className:"parameters-panel",ref:a,onMouseLeave:v=>{v.target!==a.current?h():!i&&d()},children:[y.jsx(uo,{label:"Pin Options Panel",children:y.jsx("div",{className:"parameters-panel-pin-button","data-selected":i,onClick:m,children:i?y.jsx(Eq,{}):y.jsx(Pq,{})})}),!i&&y.jsxs("div",{className:"invoke-ai-logo-wrapper",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs("h1",{children:["invoke ",y.jsx("strong",{children:"ai"})]})]}),l]})})})})};function sOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(_Y,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(PY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(jAe,{})}},n=Me(),r=he(Or);return w.useEffect(()=>{r==="img2img"&&n(lP(!1))},[r,n]),y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(NAe,{}),y.jsx(qP,{accordionInfo:t})]})}function lOe(){return y.jsx(HP,{optionsPanel:y.jsx(sOe,{}),children:y.jsx(IAe,{})})}const uOe=()=>y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"text-to-image-area",children:y.jsx(CY,{})})}),cOe=at([Fy],({hiresFix:e,hiresStrength:t})=>({hiresFix:e,hiresStrength:t}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dOe=()=>{const{hiresFix:e,hiresStrength:t}=he(cOe),n=Me(),{t:r}=Ve(),i=a=>{n(VI(a))},o=()=>{n(VI(.75))};return y.jsx(so,{label:r("parameters:hiresStrength"),step:.01,min:.01,max:.99,onChange:i,value:t,isInteger:!1,withInput:!0,withSliderMarks:!0,inputWidth:"5.5rem",withReset:!0,handleReset:o,isSliderDisabled:!e,isInputDisabled:!e,isResetDisabled:!e})},fOe=()=>{const e=Me(),t=he(i=>i.postprocessing.hiresFix),{t:n}=Ve(),r=i=>e(lP(i.target.checked));return y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(Vs,{label:n("parameters:hiresOptim"),fontSize:"md",isChecked:t,onChange:r}),y.jsx(dOe,{})]})},hOe=()=>y.jsxs(Ge,{gap:2,direction:"column",children:[y.jsx(EY,{}),y.jsx(fOe,{})]});function pOe(){const{t:e}=Ve(),t={seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})},face_restore:{header:`${e("parameters:faceRestoration")}`,feature:ao.FACE_CORRECTION,content:y.jsx(wP,{}),additionalHeaderComponents:y.jsx(_Y,{})},upscale:{header:`${e("parameters:upscaling")}`,feature:ao.UPSCALE,content:y.jsx(CP,{}),additionalHeaderComponents:y.jsx(PY,{})},other:{header:`${e("parameters:otherOptions")}`,feature:ao.OTHER,content:y.jsx(hOe,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(qP,{accordionInfo:t})]})}function gOe(){return y.jsx(HP,{optionsPanel:y.jsx(pOe,{}),children:y.jsx(uOe,{})})}var K8={},mOe={get exports(){return K8},set exports(e){K8=e}};/** + * @license React + * react-reconciler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var vOe=function(t){var n={},r=w,i=Bh,o=Object.assign;function a(f){for(var p="https://reactjs.org/docs/error-decoder.html?invariant="+f,x=1;xle||L[G]!==M[le]){var pe=` +`+L[G].replace(" at new "," at ");return f.displayName&&pe.includes("")&&(pe=pe.replace("",f.displayName)),pe}while(1<=G&&0<=le);break}}}finally{al=!1,Error.prepareStackTrace=x}return(f=f?f.displayName||f.name:"")?yu(f):""}var Tp=Object.prototype.hasOwnProperty,xc=[],sl=-1;function oa(f){return{current:f}}function Dn(f){0>sl||(f.current=xc[sl],xc[sl]=null,sl--)}function Pn(f,p){sl++,xc[sl]=f.current,f.current=p}var aa={},Hr=oa(aa),li=oa(!1),sa=aa;function ll(f,p){var x=f.type.contextTypes;if(!x)return aa;var P=f.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===p)return P.__reactInternalMemoizedMaskedChildContext;var L={},M;for(M in x)L[M]=p[M];return P&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=p,f.__reactInternalMemoizedMaskedChildContext=L),L}function ui(f){return f=f.childContextTypes,f!=null}function vs(){Dn(li),Dn(Hr)}function bf(f,p,x){if(Hr.current!==aa)throw Error(a(168));Pn(Hr,p),Pn(li,x)}function Su(f,p,x){var P=f.stateNode;if(p=p.childContextTypes,typeof P.getChildContext!="function")return x;P=P.getChildContext();for(var L in P)if(!(L in p))throw Error(a(108,j(f)||"Unknown",L));return o({},x,P)}function ys(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||aa,sa=Hr.current,Pn(Hr,f),Pn(li,li.current),!0}function Sf(f,p,x){var P=f.stateNode;if(!P)throw Error(a(169));x?(f=Su(f,p,sa),P.__reactInternalMemoizedMergedChildContext=f,Dn(li),Dn(Hr),Pn(Hr,f)):Dn(li),Pn(li,x)}var Mi=Math.clz32?Math.clz32:xf,Lp=Math.log,Ap=Math.LN2;function xf(f){return f>>>=0,f===0?32:31-(Lp(f)/Ap|0)|0}var ul=64,Io=4194304;function cl(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function xu(f,p){var x=f.pendingLanes;if(x===0)return 0;var P=0,L=f.suspendedLanes,M=f.pingedLanes,G=x&268435455;if(G!==0){var le=G&~L;le!==0?P=cl(le):(M&=G,M!==0&&(P=cl(M)))}else G=x&~L,G!==0?P=cl(G):M!==0&&(P=cl(M));if(P===0)return 0;if(p!==0&&p!==P&&!(p&L)&&(L=P&-P,M=p&-p,L>=M||L===16&&(M&4194240)!==0))return p;if(P&4&&(P|=x&16),p=f.entangledLanes,p!==0)for(f=f.entanglements,p&=P;0x;x++)p.push(f);return p}function $a(f,p,x){f.pendingLanes|=p,p!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,p=31-Mi(p),f[p]=x}function Cf(f,p){var x=f.pendingLanes&~p;f.pendingLanes=p,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=p,f.mutableReadLanes&=p,f.entangledLanes&=p,p=f.entanglements;var P=f.eventTimes;for(f=f.expirationTimes;0>=G,L-=G,co=1<<32-Mi(p)+L|x<Gt?(ti=Rt,Rt=null):ti=Rt.sibling;var Jt=rt(me,Rt,be[Gt],et);if(Jt===null){Rt===null&&(Rt=ti);break}f&&Rt&&Jt.alternate===null&&p(me,Rt),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt,Rt=ti}if(Gt===be.length)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;GtGt?(ti=Rt,Rt=null):ti=Rt.sibling;var Ps=rt(me,Rt,Jt.value,et);if(Ps===null){Rt===null&&(Rt=ti);break}f&&Rt&&Ps.alternate===null&&p(me,Rt),ue=M(Ps,ue,Gt),Bt===null?Oe=Ps:Bt.sibling=Ps,Bt=Ps,Rt=ti}if(Jt.done)return x(me,Rt),Vn&&dl(me,Gt),Oe;if(Rt===null){for(;!Jt.done;Gt++,Jt=be.next())Jt=jt(me,Jt.value,et),Jt!==null&&(ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return Vn&&dl(me,Gt),Oe}for(Rt=P(me,Rt);!Jt.done;Gt++,Jt=be.next())Jt=Un(Rt,me,Gt,Jt.value,et),Jt!==null&&(f&&Jt.alternate!==null&&Rt.delete(Jt.key===null?Gt:Jt.key),ue=M(Jt,ue,Gt),Bt===null?Oe=Jt:Bt.sibling=Jt,Bt=Jt);return f&&Rt.forEach(function(ki){return p(me,ki)}),Vn&&dl(me,Gt),Oe}function ya(me,ue,be,et){if(typeof be=="object"&&be!==null&&be.type===d&&be.key===null&&(be=be.props.children),typeof be=="object"&&be!==null){switch(be.$$typeof){case l:e:{for(var Oe=be.key,Bt=ue;Bt!==null;){if(Bt.key===Oe){if(Oe=be.type,Oe===d){if(Bt.tag===7){x(me,Bt.sibling),ue=L(Bt,be.props.children),ue.return=me,me=ue;break e}}else if(Bt.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===T&&t1(Oe)===Bt.type){x(me,Bt.sibling),ue=L(Bt,be.props),ue.ref=Ha(me,Bt,be),ue.return=me,me=ue;break e}x(me,Bt);break}else p(me,Bt);Bt=Bt.sibling}be.type===d?(ue=kl(be.props.children,me.mode,et,be.key),ue.return=me,me=ue):(et=Zf(be.type,be.key,be.props,null,me.mode,et),et.ref=Ha(me,ue,be),et.return=me,me=et)}return G(me);case u:e:{for(Bt=be.key;ue!==null;){if(ue.key===Bt)if(ue.tag===4&&ue.stateNode.containerInfo===be.containerInfo&&ue.stateNode.implementation===be.implementation){x(me,ue.sibling),ue=L(ue,be.children||[]),ue.return=me,me=ue;break e}else{x(me,ue);break}else p(me,ue);ue=ue.sibling}ue=El(be,me.mode,et),ue.return=me,me=ue}return G(me);case T:return Bt=be._init,ya(me,ue,Bt(be._payload),et)}if(U(be))return Nn(me,ue,be,et);if(R(be))return mr(me,ue,be,et);Xi(me,be)}return typeof be=="string"&&be!==""||typeof be=="number"?(be=""+be,ue!==null&&ue.tag===6?(x(me,ue.sibling),ue=L(ue,be),ue.return=me,me=ue):(x(me,ue),ue=vg(be,me.mode,et),ue.return=me,me=ue),G(me)):x(me,ue)}return ya}var Mc=r3(!0),i3=r3(!1),Rf={},jo=oa(Rf),Va=oa(Rf),oe=oa(Rf);function we(f){if(f===Rf)throw Error(a(174));return f}function ve(f,p){Pn(oe,p),Pn(Va,f),Pn(jo,Rf),f=Z(p),Dn(jo),Pn(jo,f)}function nt(){Dn(jo),Dn(Va),Dn(oe)}function It(f){var p=we(oe.current),x=we(jo.current);p=W(x,f.type,p),x!==p&&(Pn(Va,f),Pn(jo,p))}function rn(f){Va.current===f&&(Dn(jo),Dn(Va))}var $t=oa(0);function mn(f){for(var p=f;p!==null;){if(p.tag===13){var x=p.memoizedState;if(x!==null&&(x=x.dehydrated,x===null||bc(x)||yf(x)))return p}else if(p.tag===19&&p.memoizedProps.revealOrder!==void 0){if(p.flags&128)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var Df=[];function n1(){for(var f=0;fx?x:4,f(!0);var P=Ic.transition;Ic.transition={};try{f(!1),p()}finally{Yt=x,Ic.transition=P}}function Fc(){return Di().memoizedState}function c1(f,p,x){var P=qr(f);if(x={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null},Hc(f))Vc(p,x);else if(x=Oc(f,p,x,P),x!==null){var L=_i();Fo(x,f,P,L),zf(x,p,P)}}function zc(f,p,x){var P=qr(f),L={lane:P,action:x,hasEagerState:!1,eagerState:null,next:null};if(Hc(f))Vc(p,L);else{var M=f.alternate;if(f.lanes===0&&(M===null||M.lanes===0)&&(M=p.lastRenderedReducer,M!==null))try{var G=p.lastRenderedState,le=M(G,x);if(L.hasEagerState=!0,L.eagerState=le,Y(le,G)){var pe=p.interleaved;pe===null?(L.next=L,Mf(p)):(L.next=pe.next,pe.next=L),p.interleaved=L;return}}catch{}finally{}x=Oc(f,p,L,P),x!==null&&(L=_i(),Fo(x,f,P,L),zf(x,p,P))}}function Hc(f){var p=f.alternate;return f===Tn||p!==null&&p===Tn}function Vc(f,p){Nf=un=!0;var x=f.pending;x===null?p.next=p:(p.next=x.next,x.next=p),f.pending=p}function zf(f,p,x){if(x&4194240){var P=p.lanes;P&=f.pendingLanes,x|=P,p.lanes=x,wu(f,x)}}var xs={readContext:fo,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},gw={readContext:fo,useCallback:function(f,p){return di().memoizedState=[f,p===void 0?null:p],f},useContext:fo,useEffect:s3,useImperativeHandle:function(f,p,x){return x=x!=null?x.concat([f]):null,Eu(4194308,4,Rr.bind(null,p,f),x)},useLayoutEffect:function(f,p){return Eu(4194308,4,f,p)},useInsertionEffect:function(f,p){return Eu(4,2,f,p)},useMemo:function(f,p){var x=di();return p=p===void 0?null:p,f=f(),x.memoizedState=[f,p],f},useReducer:function(f,p,x){var P=di();return p=x!==void 0?x(p):p,P.memoizedState=P.baseState=p,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:p},P.queue=f,f=f.dispatch=c1.bind(null,Tn,f),[P.memoizedState,f]},useRef:function(f){var p=di();return f={current:f},p.memoizedState=f},useState:a3,useDebugValue:s1,useDeferredValue:function(f){return di().memoizedState=f},useTransition:function(){var f=a3(!1),p=f[0];return f=u1.bind(null,f[1]),di().memoizedState=f,[p,f]},useMutableSource:function(){},useSyncExternalStore:function(f,p,x){var P=Tn,L=di();if(Vn){if(x===void 0)throw Error(a(407));x=x()}else{if(x=p(),ei===null)throw Error(a(349));ku&30||a1(P,p,x)}L.memoizedState=x;var M={value:x,getSnapshot:p};return L.queue=M,s3(pl.bind(null,P,M,f),[f]),P.flags|=2048,$f(9,Bc.bind(null,P,M,x,p),void 0,null),x},useId:function(){var f=di(),p=ei.identifierPrefix;if(Vn){var x=Fa,P=co;x=(P&~(1<<32-Mi(P)-1)).toString(32)+x,p=":"+p+"R"+x,x=Rc++,0sg&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304)}else{if(!P)if(f=mn(M),f!==null){if(p.flags|=128,P=!0,f=f.updateQueue,f!==null&&(p.updateQueue=f,p.flags|=4),Gc(L,!0),L.tail===null&&L.tailMode==="hidden"&&!M.alternate&&!Vn)return xi(p),null}else 2*Kn()-L.renderingStartTime>sg&&x!==1073741824&&(p.flags|=128,P=!0,Gc(L,!1),p.lanes=4194304);L.isBackwards?(M.sibling=p.child,p.child=M):(f=L.last,f!==null?f.sibling=M:p.child=M,L.last=M)}return L.tail!==null?(p=L.tail,L.rendering=p,L.tail=p.sibling,L.renderingStartTime=Kn(),p.sibling=null,f=$t.current,Pn($t,P?f&1|2:f&1),p):(xi(p),null);case 22:case 23:return td(),x=p.memoizedState!==null,f!==null&&f.memoizedState!==null!==x&&(p.flags|=8192),x&&p.mode&1?po&1073741824&&(xi(p),st&&p.subtreeFlags&6&&(p.flags|=8192)):xi(p),null;case 24:return null;case 25:return null}throw Error(a(156,p.tag))}function y1(f,p){switch(Z0(p),p.tag){case 1:return ui(p.type)&&vs(),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return nt(),Dn(li),Dn(Hr),n1(),f=p.flags,f&65536&&!(f&128)?(p.flags=f&-65537|128,p):null;case 5:return rn(p),null;case 13:if(Dn($t),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(a(340));Tc()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Dn($t),null;case 4:return nt(),null;case 10:return Af(p.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var ml=!1,Wr=!1,xw=typeof WeakSet=="function"?WeakSet:Set,ct=null;function qc(f,p){var x=f.ref;if(x!==null)if(typeof x=="function")try{x(null)}catch(P){Zn(f,p,P)}else x.current=null}function pa(f,p,x){try{x()}catch(P){Zn(f,p,P)}}var Yp=!1;function Tu(f,p){for(Q(f.containerInfo),ct=p;ct!==null;)if(f=ct,p=f.child,(f.subtreeFlags&1028)!==0&&p!==null)p.return=f,ct=p;else for(;ct!==null;){f=ct;try{var x=f.alternate;if(f.flags&1024)switch(f.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var P=x.memoizedProps,L=x.memoizedState,M=f.stateNode,G=M.getSnapshotBeforeUpdate(f.elementType===f.type?P:ua(f.type,P),L);M.__reactInternalSnapshotBeforeUpdate=G}break;case 3:st&&rl(f.stateNode.containerInfo);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(le){Zn(f,f.return,le)}if(p=f.sibling,p!==null){p.return=f.return,ct=p;break}ct=f.return}return x=Yp,Yp=!1,x}function wi(f,p,x){var P=p.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var L=P=P.next;do{if((L.tag&f)===f){var M=L.destroy;L.destroy=void 0,M!==void 0&&pa(p,x,M)}L=L.next}while(L!==P)}}function Kp(f,p){if(p=p.updateQueue,p=p!==null?p.lastEffect:null,p!==null){var x=p=p.next;do{if((x.tag&f)===f){var P=x.create;x.destroy=P()}x=x.next}while(x!==p)}}function Xp(f){var p=f.ref;if(p!==null){var x=f.stateNode;switch(f.tag){case 5:f=X(x);break;default:f=x}typeof p=="function"?p(f):p.current=f}}function b1(f){var p=f.alternate;p!==null&&(f.alternate=null,b1(p)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(p=f.stateNode,p!==null&&ut(p)),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function Yc(f){return f.tag===5||f.tag===3||f.tag===4}function Cs(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||Yc(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Zp(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Xe(x,f,p):At(x,f);else if(P!==4&&(f=f.child,f!==null))for(Zp(f,p,x),f=f.sibling;f!==null;)Zp(f,p,x),f=f.sibling}function S1(f,p,x){var P=f.tag;if(P===5||P===6)f=f.stateNode,p?Rn(x,f,p):Te(x,f);else if(P!==4&&(f=f.child,f!==null))for(S1(f,p,x),f=f.sibling;f!==null;)S1(f,p,x),f=f.sibling}var Nr=null,ga=!1;function ma(f,p,x){for(x=x.child;x!==null;)Ur(f,p,x),x=x.sibling}function Ur(f,p,x){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(gn,x)}catch{}switch(x.tag){case 5:Wr||qc(x,p);case 6:if(st){var P=Nr,L=ga;Nr=null,ma(f,p,x),Nr=P,ga=L,Nr!==null&&(ga?ft(Nr,x.stateNode):xt(Nr,x.stateNode))}else ma(f,p,x);break;case 18:st&&Nr!==null&&(ga?G0(Nr,x.stateNode):U0(Nr,x.stateNode));break;case 4:st?(P=Nr,L=ga,Nr=x.stateNode.containerInfo,ga=!0,ma(f,p,x),Nr=P,ga=L):(mt&&(P=x.stateNode.containerInfo,L=Ba(P),yc(P,L)),ma(f,p,x));break;case 0:case 11:case 14:case 15:if(!Wr&&(P=x.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){L=P=P.next;do{var M=L,G=M.destroy;M=M.tag,G!==void 0&&(M&2||M&4)&&pa(x,p,G),L=L.next}while(L!==P)}ma(f,p,x);break;case 1:if(!Wr&&(qc(x,p),P=x.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=x.memoizedProps,P.state=x.memoizedState,P.componentWillUnmount()}catch(le){Zn(x,p,le)}ma(f,p,x);break;case 21:ma(f,p,x);break;case 22:x.mode&1?(Wr=(P=Wr)||x.memoizedState!==null,ma(f,p,x),Wr=P):ma(f,p,x);break;default:ma(f,p,x)}}function Qp(f){var p=f.updateQueue;if(p!==null){f.updateQueue=null;var x=f.stateNode;x===null&&(x=f.stateNode=new xw),p.forEach(function(P){var L=k3.bind(null,f,P);x.has(P)||(x.add(P),P.then(L,L))})}}function Bo(f,p){var x=p.deletions;if(x!==null)for(var P=0;P";case ng:return":has("+(C1(f)||"")+")";case rg:return'[role="'+f.value+'"]';case ig:return'"'+f.value+'"';case Kc:return'[data-testname="'+f.value+'"]';default:throw Error(a(365))}}function Xc(f,p){var x=[];f=[f,0];for(var P=0;PL&&(L=G),P&=~M}if(P=L,P=Kn()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*ww(P/1960))-P,10f?16:f,Ot===null)var P=!1;else{if(f=Ot,Ot=null,lg=0,Ut&6)throw Error(a(331));var L=Ut;for(Ut|=4,ct=f.current;ct!==null;){var M=ct,G=M.child;if(ct.flags&16){var le=M.deletions;if(le!==null){for(var pe=0;peKn()-E1?wl(f,0):k1|=x),hi(f,p)}function O1(f,p){p===0&&(f.mode&1?(p=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):p=1);var x=_i();f=ca(f,p),f!==null&&($a(f,p,x),hi(f,x))}function _w(f){var p=f.memoizedState,x=0;p!==null&&(x=p.retryLane),O1(f,x)}function k3(f,p){var x=0;switch(f.tag){case 13:var P=f.stateNode,L=f.memoizedState;L!==null&&(x=L.retryLane);break;case 19:P=f.stateNode;break;default:throw Error(a(314))}P!==null&&P.delete(p),O1(f,x)}var M1;M1=function(f,p,x){if(f!==null)if(f.memoizedProps!==p.pendingProps||li.current)Zi=!0;else{if(!(f.lanes&x)&&!(p.flags&128))return Zi=!1,bw(f,p,x);Zi=!!(f.flags&131072)}else Zi=!1,Vn&&p.flags&1048576&&X0(p,Ir,p.index);switch(p.lanes=0,p.tag){case 2:var P=p.type;Wa(f,p),f=p.pendingProps;var L=ll(p,Hr.current);Ac(p,x),L=i1(null,p,P,f,L,x);var M=Dc();return p.flags|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0?(p.tag=1,p.memoizedState=null,p.updateQueue=null,ui(P)?(M=!0,ys(p)):M=!1,p.memoizedState=L.state!==null&&L.state!==void 0?L.state:null,J0(p),L.updater=da,p.stateNode=L,L._reactInternals=p,e1(p,P,f,x),p=fa(null,p,P,!0,M,x)):(p.tag=0,Vn&&M&&Ii(p),Ni(null,p,L,x),p=p.child),p;case 16:P=p.elementType;e:{switch(Wa(f,p),f=p.pendingProps,L=P._init,P=L(P._payload),p.type=P,L=p.tag=gg(P),f=ua(P,f),L){case 0:p=h1(null,p,P,f,x);break e;case 1:p=m3(null,p,P,f,x);break e;case 11:p=f3(null,p,P,f,x);break e;case 14:p=gl(null,p,P,ua(P.type,f),x);break e}throw Error(a(306,P,""))}return p;case 0:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),h1(f,p,P,L,x);case 1:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),m3(f,p,P,L,x);case 3:e:{if(v3(p),f===null)throw Error(a(387));P=p.pendingProps,M=p.memoizedState,L=M.element,Jy(f,p),$p(p,P,null,x);var G=p.memoizedState;if(P=G.element,St&&M.isDehydrated)if(M={element:P,isDehydrated:!1,cache:G.cache,pendingSuspenseBoundaries:G.pendingSuspenseBoundaries,transitions:G.transitions},p.updateQueue.baseState=M,p.memoizedState=M,p.flags&256){L=Wc(Error(a(423)),p),p=y3(f,p,P,x,L);break e}else if(P!==L){L=Wc(Error(a(424)),p),p=y3(f,p,P,x,L);break e}else for(St&&(Do=B0(p.stateNode.containerInfo),Xn=p,Vn=!0,Ki=null,No=!1),x=i3(p,null,P,x),p.child=x;x;)x.flags=x.flags&-3|4096,x=x.sibling;else{if(Tc(),P===L){p=ws(f,p,x);break e}Ni(f,p,P,x)}p=p.child}return p;case 5:return It(p),f===null&&Ef(p),P=p.type,L=p.pendingProps,M=f!==null?f.memoizedProps:null,G=L.children,We(P,L)?G=null:M!==null&&We(P,M)&&(p.flags|=32),g3(f,p),Ni(f,p,G,x),p.child;case 6:return f===null&&Ef(p),null;case 13:return b3(f,p,x);case 4:return ve(p,p.stateNode.containerInfo),P=p.pendingProps,f===null?p.child=Mc(p,null,P,x):Ni(f,p,P,x),p.child;case 11:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),f3(f,p,P,L,x);case 7:return Ni(f,p,p.pendingProps,x),p.child;case 8:return Ni(f,p,p.pendingProps.children,x),p.child;case 12:return Ni(f,p,p.pendingProps.children,x),p.child;case 10:e:{if(P=p.type._context,L=p.pendingProps,M=p.memoizedProps,G=L.value,Qy(p,P,G),M!==null)if(Y(M.value,G)){if(M.children===L.children&&!li.current){p=ws(f,p,x);break e}}else for(M=p.child,M!==null&&(M.return=p);M!==null;){var le=M.dependencies;if(le!==null){G=M.child;for(var pe=le.firstContext;pe!==null;){if(pe.context===P){if(M.tag===1){pe=Ss(-1,x&-x),pe.tag=2;var ze=M.updateQueue;if(ze!==null){ze=ze.shared;var dt=ze.pending;dt===null?pe.next=pe:(pe.next=dt.next,dt.next=pe),ze.pending=pe}}M.lanes|=x,pe=M.alternate,pe!==null&&(pe.lanes|=x),Of(M.return,x,p),le.lanes|=x;break}pe=pe.next}}else if(M.tag===10)G=M.type===p.type?null:M.child;else if(M.tag===18){if(G=M.return,G===null)throw Error(a(341));G.lanes|=x,le=G.alternate,le!==null&&(le.lanes|=x),Of(G,x,p),G=M.sibling}else G=M.child;if(G!==null)G.return=M;else for(G=M;G!==null;){if(G===p){G=null;break}if(M=G.sibling,M!==null){M.return=G.return,G=M;break}G=G.return}M=G}Ni(f,p,L.children,x),p=p.child}return p;case 9:return L=p.type,P=p.pendingProps.children,Ac(p,x),L=fo(L),P=P(L),p.flags|=1,Ni(f,p,P,x),p.child;case 14:return P=p.type,L=ua(P,p.pendingProps),L=ua(P.type,L),gl(f,p,P,L,x);case 15:return h3(f,p,p.type,p.pendingProps,x);case 17:return P=p.type,L=p.pendingProps,L=p.elementType===P?L:ua(P,L),Wa(f,p),p.tag=1,ui(P)?(f=!0,ys(p)):f=!1,Ac(p,x),t3(p,P,L),e1(p,P,L,x),fa(null,p,P,!0,f,x);case 19:return x3(f,p,x);case 22:return p3(f,p,x)}throw Error(a(156,p.tag))};function $i(f,p){return kc(f,p)}function Ua(f,p,x,P){this.tag=f,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(f,p,x,P){return new Ua(f,p,x,P)}function I1(f){return f=f.prototype,!(!f||!f.isReactComponent)}function gg(f){if(typeof f=="function")return I1(f)?1:0;if(f!=null){if(f=f.$$typeof,f===S)return 11;if(f===_)return 14}return 2}function mo(f,p){var x=f.alternate;return x===null?(x=zo(f.tag,p,f.key,f.mode),x.elementType=f.elementType,x.type=f.type,x.stateNode=f.stateNode,x.alternate=f,f.alternate=x):(x.pendingProps=p,x.type=f.type,x.flags=0,x.subtreeFlags=0,x.deletions=null),x.flags=f.flags&14680064,x.childLanes=f.childLanes,x.lanes=f.lanes,x.child=f.child,x.memoizedProps=f.memoizedProps,x.memoizedState=f.memoizedState,x.updateQueue=f.updateQueue,p=f.dependencies,x.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},x.sibling=f.sibling,x.index=f.index,x.ref=f.ref,x}function Zf(f,p,x,P,L,M){var G=2;if(P=f,typeof f=="function")I1(f)&&(G=1);else if(typeof f=="string")G=5;else e:switch(f){case d:return kl(x.children,L,M,p);case h:G=8,L|=8;break;case m:return f=zo(12,x,p,L|2),f.elementType=m,f.lanes=M,f;case k:return f=zo(13,x,p,L),f.elementType=k,f.lanes=M,f;case E:return f=zo(19,x,p,L),f.elementType=E,f.lanes=M,f;case A:return mg(x,L,M,p);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case v:G=10;break e;case b:G=9;break e;case S:G=11;break e;case _:G=14;break e;case T:G=16,P=null;break e}throw Error(a(130,f==null?f:typeof f,""))}return p=zo(G,x,p,L),p.elementType=f,p.type=P,p.lanes=M,p}function kl(f,p,x,P){return f=zo(7,f,P,p),f.lanes=x,f}function mg(f,p,x,P){return f=zo(22,f,P,p),f.elementType=A,f.lanes=x,f.stateNode={isHidden:!1},f}function vg(f,p,x){return f=zo(6,f,null,p),f.lanes=x,f}function El(f,p,x){return p=zo(4,f.children!==null?f.children:[],f.key,p),p.lanes=x,p.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},p}function Qf(f,p,x,P,L){this.tag=p,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Be,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=P,this.onRecoverableError=L,St&&(this.mutableSourceEagerHydrationData=null)}function E3(f,p,x,P,L,M,G,le,pe){return f=new Qf(f,p,x,le,pe),p===1?(p=1,M===!0&&(p|=8)):p=0,M=zo(3,null,null,p),f.current=M,M.stateNode=f,M.memoizedState={element:P,isDehydrated:x,cache:null,transitions:null,pendingSuspenseBoundaries:null},J0(M),f}function R1(f){if(!f)return aa;f=f._reactInternals;e:{if(z(f)!==f||f.tag!==1)throw Error(a(170));var p=f;do{switch(p.tag){case 3:p=p.stateNode.context;break e;case 1:if(ui(p.type)){p=p.stateNode.__reactInternalMemoizedMergedChildContext;break e}}p=p.return}while(p!==null);throw Error(a(171))}if(f.tag===1){var x=f.type;if(ui(x))return Su(f,x,p)}return p}function D1(f){var p=f._reactInternals;if(p===void 0)throw typeof f.render=="function"?Error(a(188)):(f=Object.keys(f).join(","),Error(a(268,f)));return f=te(p),f===null?null:f.stateNode}function Jf(f,p){if(f=f.memoizedState,f!==null&&f.dehydrated!==null){var x=f.retryLane;f.retryLane=x!==0&&x=ze&&M>=jt&&L<=dt&&G<=rt){f.splice(p,1);break}else if(P!==ze||x.width!==pe.width||rtG){if(!(M!==jt||x.height!==pe.height||dtL)){ze>P&&(pe.width+=ze-P,pe.x=P),dtM&&(pe.height+=jt-M,pe.y=M),rtx&&(x=G)),G ")+` + +No matching component was found for: + `)+f.join(" > ")}return null},n.getPublicRootInstance=function(f){if(f=f.current,!f.child)return null;switch(f.child.tag){case 5:return X(f.child.stateNode);default:return f.child.stateNode}},n.injectIntoDevTools=function(f){if(f={bundleType:f.bundleType,version:f.version,rendererPackageName:f.rendererPackageName,rendererConfig:f.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:yg,findFiberByHostInstance:f.findFiberByHostInstance||N1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0"},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")f=!1;else{var p=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(p.isDisabled||!p.supportsFiber)f=!0;else{try{gn=p.inject(f),Kt=p}catch{}f=!!p.checkDCE}}return f},n.isAlreadyRendering=function(){return!1},n.observeVisibleRects=function(f,p,x,P){if(!ae)throw Error(a(363));f=_1(f,p);var L=Dt(f,x,P).disconnect;return{disconnect:function(){L()}}},n.registerMutableSourceForHydration=function(f,p){var x=p._getVersion;x=x(p._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[p,x]:f.mutableSourceEagerHydrationData.push(p,x)},n.runWithPriority=function(f,p){var x=Yt;try{return Yt=f,p()}finally{Yt=x}},n.shouldError=function(){return null},n.shouldSuspend=function(){return!1},n.updateContainer=function(f,p,x,P){var L=p.current,M=_i(),G=qr(L);return x=R1(x),p.context===null?p.context=x:p.pendingContext=x,p=Ss(M,G),p.payload={element:f},P=P===void 0?null:P,P!==null&&(p.callback=P),f=hl(L,p,G),f!==null&&(Fo(f,L,G,M),Bp(f,L,G)),G},n};(function(e){e.exports=vOe})(mOe);const yOe=d_(K8);var lS={},bOe={get exports(){return lS},set exports(e){lS=e}},Sp={};/** + * @license React + * react-reconciler-constants.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */Sp.ConcurrentRoot=1;Sp.ContinuousEventPriority=4;Sp.DefaultEventPriority=16;Sp.DiscreteEventPriority=1;Sp.IdleEventPriority=536870912;Sp.LegacyRoot=0;(function(e){e.exports=Sp})(bOe);const JD={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let eN=!1,tN=!1;const tT=".react-konva-event",SOe=`ReactKonva: You have a Konva node with draggable = true and position defined but no onDragMove or onDragEnd events are handled. +Position of a node will be changed during drag&drop, so you should update state of the react app as well. +Consider to add onDragMove or onDragEnd events. +For more info see: https://github.com/konvajs/react-konva/issues/256 +`,xOe=`ReactKonva: You are using "zIndex" attribute for a Konva node. +react-konva may get confused with ordering. Just define correct order of elements in your render function of a component. +For more info see: https://github.com/konvajs/react-konva/issues/194 +`,wOe={};function sw(e,t,n=wOe){if(!eN&&"zIndex"in t&&(console.warn(xOe),eN=!0),!tN&&t.draggable){var r=t.x!==void 0||t.y!==void 0,i=t.onDragEnd||t.onDragMove;r&&!i&&(console.warn(SOe),tN=!0)}for(var o in n)if(!JD[o]){var a=o.slice(0,2)==="on",s=n[o]!==t[o];if(a&&s){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),e.off(l,n[o])}var u=!t.hasOwnProperty(o);u&&e.setAttr(o,void 0)}var d=t._useStrictMode,h={},m=!1;const v={};for(var o in t)if(!JD[o]){var a=o.slice(0,2)==="on",b=n[o]!==t[o];if(a&&b){var l=o.substr(2).toLowerCase();l.substr(0,7)==="content"&&(l="content"+l.substr(7,1).toUpperCase()+l.substr(8)),t[o]&&(v[l]=t[o])}!a&&(t[o]!==n[o]||d&&t[o]!==e.getAttr(o))&&(m=!0,h[o]=t[o])}m&&(e.setAttrs(h),gf(e));for(var l in v)e.on(l+tT,v[l])}function gf(e){if(!pt.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const AY={},COe={};ep.Node.prototype._applyProps=sw;function _Oe(e,t){if(typeof t=="string"){console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`);return}e.add(t),gf(e)}function kOe(e,t,n){let r=ep[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=ep.Group);const i={},o={};for(var a in t){var s=a.slice(0,2)==="on";s?o[a]=t[a]:i[a]=t[a]}const l=new r(i);return sw(l,o),l}function EOe(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function POe(e,t,n){return!1}function TOe(e){return e}function LOe(){return null}function AOe(){return null}function OOe(e,t,n,r){return COe}function MOe(){}function IOe(e){}function ROe(e,t){return!1}function DOe(){return AY}function NOe(){return AY}const jOe=setTimeout,BOe=clearTimeout,$Oe=-1;function FOe(e,t){return!1}const zOe=!1,HOe=!0,VOe=!0;function WOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function UOe(e,t){t.parent===e?t.moveToTop():e.add(t),gf(e)}function OY(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),gf(e)}function GOe(e,t,n){OY(e,t,n)}function qOe(e,t){t.destroy(),t.off(tT),gf(e)}function YOe(e,t){t.destroy(),t.off(tT),gf(e)}function KOe(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function XOe(e,t,n){}function ZOe(e,t,n,r,i){sw(e,i,r)}function QOe(e){e.hide(),gf(e)}function JOe(e){}function eMe(e,t){(t.visible==null||t.visible)&&e.show()}function tMe(e,t){}function nMe(e){}function rMe(){}const iMe=()=>lS.DefaultEventPriority,oMe=Object.freeze(Object.defineProperty({__proto__:null,appendChild:WOe,appendChildToContainer:UOe,appendInitialChild:_Oe,cancelTimeout:BOe,clearContainer:nMe,commitMount:XOe,commitTextUpdate:KOe,commitUpdate:ZOe,createInstance:kOe,createTextInstance:EOe,detachDeletedInstance:rMe,finalizeInitialChildren:POe,getChildHostContext:NOe,getCurrentEventPriority:iMe,getPublicInstance:TOe,getRootHostContext:DOe,hideInstance:QOe,hideTextInstance:JOe,idlePriority:Bh.unstable_IdlePriority,insertBefore:OY,insertInContainerBefore:GOe,isPrimaryRenderer:zOe,noTimeout:$Oe,now:Bh.unstable_now,prepareForCommit:LOe,preparePortalMount:AOe,prepareUpdate:OOe,removeChild:qOe,removeChildFromContainer:YOe,resetAfterCommit:MOe,resetTextContent:IOe,run:Bh.unstable_runWithPriority,scheduleTimeout:jOe,shouldDeprioritizeSubtree:ROe,shouldSetTextContent:FOe,supportsMutation:VOe,unhideInstance:eMe,unhideTextInstance:tMe,warnsIfNotActing:HOe},Symbol.toStringTag,{value:"Module"}));var aMe=Object.defineProperty,sMe=Object.defineProperties,lMe=Object.getOwnPropertyDescriptors,nN=Object.getOwnPropertySymbols,uMe=Object.prototype.hasOwnProperty,cMe=Object.prototype.propertyIsEnumerable,rN=(e,t,n)=>t in e?aMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iN=(e,t)=>{for(var n in t||(t={}))uMe.call(t,n)&&rN(e,n,t[n]);if(nN)for(var n of nN(t))cMe.call(t,n)&&rN(e,n,t[n]);return e},dMe=(e,t)=>sMe(e,lMe(t));function nT(e,t,n){if(!e)return;if(n(e)===!0)return e;let r=t?e.return:e.child;for(;r;){const i=nT(r,t,n);if(i)return i;r=t?null:r.sibling}}function MY(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch{return e}}const rT=MY(w.createContext(null));class IY extends w.Component{render(){return w.createElement(rT.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:fMe,ReactCurrentDispatcher:hMe}=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function pMe(){const e=w.useContext(rT);if(!e)throw new Error("its-fine: useFiber must be called within a !");const t=w.useId();return w.useMemo(()=>{var r;return(r=fMe.current)!=null?r:nT(e,!1,i=>{let o=i.memoizedState;for(;o;){if(o.memoizedState===t)return!0;o=o.next}})},[e,t])}const hv=[],oN=new WeakMap;function gMe(){var e;const t=pMe();hv.splice(0,hv.length),nT(t,!0,n=>{var r;const i=(r=n.type)==null?void 0:r._context;i&&i!==rT&&hv.push(MY(i))});for(const n of hv){const r=(e=hMe.current)==null?void 0:e.readContext(n);oN.set(n,r)}return w.useMemo(()=>hv.reduce((n,r)=>i=>w.createElement(n,null,w.createElement(r.Provider,dMe(iN({},i),{value:oN.get(r)}))),n=>w.createElement(IY,iN({},n))),[])}function mMe(e){const t=N.useRef();return N.useLayoutEffect(()=>{t.current=e}),t.current}const vMe=e=>{const t=N.useRef(),n=N.useRef(),r=N.useRef(),i=mMe(e),o=gMe(),a=s=>{const{forwardedRef:l}=e;l&&(typeof l=="function"?l(s):l.current=s)};return N.useLayoutEffect(()=>(n.current=new ep.Stage({width:e.width,height:e.height,container:t.current}),a(n.current),r.current=Iv.createContainer(n.current,lS.LegacyRoot,!1,null),Iv.updateContainer(N.createElement(o,{},e.children),r.current),()=>{ep.isBrowser&&(a(null),Iv.updateContainer(null,r.current,null),n.current.destroy())}),[]),N.useLayoutEffect(()=>{a(n.current),sw(n.current,e,i),Iv.updateContainer(N.createElement(o,{},e.children),r.current,null)}),N.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},pv="Layer",sc="Group",lc="Rect",sh="Circle",uS="Line",RY="Image",yMe="Transformer",Iv=yOe(oMe);Iv.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:N.version,rendererPackageName:"react-konva"});const bMe=N.forwardRef((e,t)=>N.createElement(IY,{},N.createElement(vMe,{...e,forwardedRef:t}))),SMe=at([sn,Mr],(e,t)=>{const{tool:n,isMovingBoundingBox:r}=e;return{tool:n,isStaging:t,isMovingBoundingBox:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),xMe=()=>{const e=Me(),{tool:t,isStaging:n,isMovingBoundingBox:r}=he(SMe);return{handleDragStart:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!0))},[e,r,n,t]),handleDragMove:w.useCallback(i=>{if(!((t==="move"||n)&&!r))return;const o={x:i.target.x(),y:i.target.y()};e(ZW(o))},[e,r,n,t]),handleDragEnd:w.useCallback(()=>{(t==="move"||n)&&!r&&e(U5(!1))},[e,r,n,t])}},wMe=at([sn,Or,Mr],(e,t,n)=>{const{cursorPosition:r,shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isMaskEnabled:s,shouldSnapToGrid:l}=e;return{activeTabName:t,isCursorOnCanvas:Boolean(r),shouldLockBoundingBox:i,shouldShowBoundingBox:o,tool:a,isStaging:n,isMaskEnabled:s,shouldSnapToGrid:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),CMe=()=>{const e=Me(),{activeTabName:t,shouldShowBoundingBox:n,tool:r,isStaging:i,isMaskEnabled:o,shouldSnapToGrid:a}=he(wMe),s=w.useRef(null),l=zG(),u=()=>e(nP());Je(["shift+c"],()=>{u()},{enabled:()=>!i,preventDefault:!0},[]);const d=()=>e(Dy(!o));Je(["h"],()=>{d()},{enabled:()=>!i,preventDefault:!0},[o]),Je(["n"],()=>{e(q5(!a))},{enabled:!0,preventDefault:!0},[a]),Je("esc",()=>{e(Cxe())},{enabled:()=>!0,preventDefault:!0}),Je("shift+h",()=>{e(Axe(!n))},{enabled:()=>!i,preventDefault:!0},[t,n]),Je(["space"],h=>{h.repeat||(l==null||l.container().focus(),r!=="move"&&(s.current=r,e(tu("move"))),r==="move"&&s.current&&s.current!=="move"&&(e(tu(s.current)),s.current="move"))},{keyup:!0,keydown:!0,preventDefault:!0},[r,s])},iT=e=>{const t=e.getPointerPosition(),n=e.getAbsoluteTransform().copy();if(!t||!n)return;const r=n.invert().point(t);return{x:r.x,y:r.y}},DY=()=>{const e=Me(),t=el(),n=zG();return{updateColorUnderCursor:()=>{if(!n||!t)return;const r=n.getPointerPosition();if(!r)return;const i=Fg.pixelRatio,[o,a,s,l]=t.getContext().getImageData(r.x*i,r.y*i,1,1).data;e(Pxe({r:o,g:a,b:s,a:l}))},commitColorUnderCursor:()=>{e(mxe())}}},_Me=at([Or,sn,Mr],(e,t,n)=>{const{tool:r}=t;return{tool:r,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kMe=e=>{const t=Me(),{tool:n,isStaging:r}=he(_Me),{commitColorUnderCursor:i}=DY();return w.useCallback(o=>{if(!e.current)return;if(e.current.container().focus(),n==="move"||r){t(U5(!0));return}if(n==="colorPicker"){i();return}const a=iT(e.current);a&&(o.evt.preventDefault(),t(HW(!0)),t(gxe([a.x,a.y])))},[e,n,r,t,i])},EMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PMe=(e,t,n)=>{const r=Me(),{isDrawing:i,tool:o,isStaging:a}=he(EMe),{updateColorUnderCursor:s}=DY();return w.useCallback(()=>{if(!e.current)return;const l=iT(e.current);if(l){if(r(Txe(l)),n.current=l,o==="colorPicker"){s();return}!i||o==="move"||a||(t.current=!0,r($W([l.x,l.y])))}},[t,r,i,a,n,e,o,s])},TMe=()=>{const e=Me();return w.useCallback(()=>{e(bxe())},[e])},LMe=at([Or,sn,Mr],(e,t,n)=>{const{tool:r,isDrawing:i}=t;return{tool:r,isDrawing:i,activeTabName:e,isStaging:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),AMe=(e,t)=>{const n=Me(),{tool:r,isDrawing:i,isStaging:o}=he(LMe);return w.useCallback(()=>{if(r==="move"||o){n(U5(!1));return}if(!t.current&&i&&e.current){const a=iT(e.current);if(!a)return;n($W([a.x,a.y]))}else t.current=!1;n(HW(!1))},[t,n,i,o,e,r])},OMe=at([sn],e=>{const{isMoveStageKeyHeld:t,stageScale:n}=e;return{isMoveStageKeyHeld:t,stageScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),MMe=e=>{const t=Me(),{isMoveStageKeyHeld:n,stageScale:r}=he(OMe);return w.useCallback(i=>{if(!e.current||n)return;i.evt.preventDefault();const o=e.current.getPointerPosition();if(!o)return;const a={x:(o.x-e.current.x())/r,y:(o.y-e.current.y())/r};let s=i.evt.deltaY;i.evt.ctrlKey&&(s=-s);const l=ke.clamp(r*ixe**s,oxe,axe),u={x:o.x-a.x*l,y:o.y-a.y*l};t(Mxe(l)),t(ZW(u))},[e,n,r,t])},IMe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageDimensions:r,stageScale:i,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,shouldDarkenOutsideBoundingBox:o,stageCoordinates:a,stageDimensions:r,stageScale:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RMe=()=>{const{boundingBoxCoordinates:e,boundingBoxDimensions:t,shouldDarkenOutsideBoundingBox:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(IMe);return y.jsxs(sc,{children:[y.jsx(lc,{offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fill:"rgba(0,0,0,0.4)",listening:!1,visible:n}),y.jsx(lc,{x:e.x,y:e.y,width:t.width,height:t.height,fill:"rgb(255,255,255)",listening:!1,visible:n,globalCompositeOperation:"destination-out"})]})},DMe=at([sn],e=>{const{stageScale:t,stageCoordinates:n,stageDimensions:r}=e;return{stageScale:t,stageCoordinates:n,stageDimensions:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NMe={dark:"rgba(255, 255, 255, 0.2)",green:"rgba(255, 255, 255, 0.2)",light:"rgba(0, 0, 0, 0.2)"},jMe=()=>{const{colorMode:e}=dy(),{stageScale:t,stageCoordinates:n,stageDimensions:r}=he(DMe),[i,o]=w.useState([]),a=w.useCallback(s=>s/t,[t]);return w.useLayoutEffect(()=>{const s=NMe[e],{width:l,height:u}=r,{x:d,y:h}=n,m={x1:0,y1:0,x2:l,y2:u,offset:{x:a(d),y:a(h)}},v={x:Math.ceil(a(d)/64)*64,y:Math.ceil(a(h)/64)*64},b={x1:-v.x,y1:-v.y,x2:a(l)-v.x+64,y2:a(u)-v.y+64},k={x1:Math.min(m.x1,b.x1),y1:Math.min(m.y1,b.y1),x2:Math.max(m.x2,b.x2),y2:Math.max(m.y2,b.y2)},E=k.x2-k.x1,_=k.y2-k.y1,T=Math.round(E/64)+1,A=Math.round(_/64)+1,I=ke.range(0,T).map(D=>y.jsx(uS,{x:k.x1+D*64,y:k.y1,points:[0,0,0,_],stroke:s,strokeWidth:1},`x_${D}`)),R=ke.range(0,A).map(D=>y.jsx(uS,{x:k.x1,y:k.y1+D*64,points:[0,0,E,0],stroke:s,strokeWidth:1},`y_${D}`));o(I.concat(R))},[t,n,r,e,a]),y.jsx(sc,{children:i})},BMe=at([e=>e.gallery],e=>e.intermediateImage?e.intermediateImage:null,{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),$Me=e=>{const{...t}=e,n=he(BMe),[r,i]=w.useState(null);if(w.useEffect(()=>{if(!n)return;const u=new Image;u.onload=()=>{i(u)},u.src=n.url},[n]),!(n!=null&&n.boundingBox))return null;const{boundingBox:{x:o,y:a,width:s,height:l}}=n;return r?y.jsx(RY,{x:o,y:a,width:s,height:l,image:r,listening:!1,...t}):null},Hh=e=>{const{r:t,g:n,b:r,a:i}=e;return`rgba(${t}, ${n}, ${r}, ${i})`},FMe=at(sn,e=>{const{maskColor:t,stageCoordinates:n,stageDimensions:r,stageScale:i}=e;return{stageCoordinates:n,stageDimensions:r,stageScale:i,maskColorString:Hh(t)}}),aN=e=>`data:image/svg+xml;utf8, + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`.replaceAll("black",e),zMe=e=>{const{...t}=e,{maskColorString:n,stageCoordinates:r,stageDimensions:i,stageScale:o}=he(FMe),[a,s]=w.useState(null),[l,u]=w.useState(0),d=w.useRef(null),h=w.useCallback(()=>{u(l+1),setTimeout(h,500)},[l]);return w.useEffect(()=>{if(a)return;const m=new Image;m.onload=()=>{s(m)},m.src=aN(n)},[a,n]),w.useEffect(()=>{a&&(a.src=aN(n))},[a,n]),w.useEffect(()=>{const m=setInterval(()=>u(v=>(v+1)%5),50);return()=>clearInterval(m)},[]),!a||!ke.isNumber(r.x)||!ke.isNumber(r.y)||!ke.isNumber(o)||!ke.isNumber(i.width)||!ke.isNumber(i.height)?null:y.jsx(lc,{ref:d,offsetX:r.x/o,offsetY:r.y/o,height:i.height/o,width:i.width/o,fillPatternImage:a,fillPatternOffsetY:ke.isNumber(l)?l:0,fillPatternRepeat:"repeat",fillPatternScale:{x:1/o,y:1/o},listening:!0,globalCompositeOperation:"source-in",...t})},HMe=at([sn],e=>({objects:e.layerState.objects}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),VMe=e=>{const{...t}=e,{objects:n}=he(HMe);return y.jsx(sc,{listening:!1,...t,children:n.filter(tP).map((r,i)=>y.jsx(uS,{points:r.points,stroke:"rgb(0,0,0)",strokeWidth:r.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:r.tool==="brush"?"source-over":"destination-out"},i))})};var lh=w,WMe=function(t,n,r){const i=lh.useRef("loading"),o=lh.useRef(),[a,s]=lh.useState(0),l=lh.useRef(),u=lh.useRef(),d=lh.useRef();return(l.current!==t||u.current!==n||d.current!==r)&&(i.current="loading",o.current=void 0,l.current=t,u.current=n,d.current=r),lh.useLayoutEffect(function(){if(!t)return;var h=document.createElement("img");function m(){i.current="loaded",o.current=h,s(Math.random())}function v(){i.current="failed",o.current=void 0,s(Math.random())}return h.addEventListener("load",m),h.addEventListener("error",v),n&&(h.crossOrigin=n),r&&(h.referrerpolicy=r),h.src=t,function(){h.removeEventListener("load",m),h.removeEventListener("error",v)}},[t,n,r]),[o.current,i.current]};const NY=e=>{const{url:t,x:n,y:r}=e,[i]=WMe(t);return y.jsx(RY,{x:n,y:r,image:i,listening:!1})},UMe=at([sn],e=>{const{layerState:{objects:t}}=e;return{objects:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),GMe=()=>{const{objects:e}=he(UMe);return e?y.jsx(sc,{name:"outpainting-objects",listening:!1,children:e.map((t,n)=>{if(W5(t))return y.jsx(NY,{x:t.x,y:t.y,url:t.image.url},n);if(uxe(t)){const r=y.jsx(uS,{points:t.points,stroke:t.color?Hh(t.color):"rgb(0,0,0)",strokeWidth:t.strokeWidth*2,tension:0,lineCap:"round",lineJoin:"round",shadowForStrokeEnabled:!1,listening:!1,globalCompositeOperation:t.tool==="brush"?"source-over":"destination-out"},n);return t.clip?y.jsx(sc,{clipX:t.clip.x,clipY:t.clip.y,clipWidth:t.clip.width,clipHeight:t.clip.height,children:r},n):r}else{if(cxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:Hh(t.color)},n);if(dxe(t))return y.jsx(lc,{x:t.x,y:t.y,width:t.width,height:t.height,fill:"rgb(255, 255, 255)",globalCompositeOperation:"destination-out"},n)}})}):null},qMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingImage:r,shouldShowStagingOutline:i,boundingBoxCoordinates:{x:o,y:a},boundingBoxDimensions:{width:s,height:l}}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),YMe=e=>{const{...t}=e,{currentStagingAreaImage:n,shouldShowStagingImage:r,shouldShowStagingOutline:i,x:o,y:a,width:s,height:l}=he(qMe);return y.jsxs(sc,{...t,children:[r&&n&&y.jsx(NY,{url:n.image.url,x:o,y:a}),i&&y.jsxs(sc,{children:[y.jsx(lc,{x:o,y:a,width:s,height:l,strokeWidth:1,stroke:"white",strokeScaleEnabled:!1}),y.jsx(lc,{x:o,y:a,width:s,height:l,dash:[4,4],strokeWidth:1,stroke:"black",strokeScaleEnabled:!1})]})]})},KMe=at([sn],e=>{const{layerState:{stagingArea:{images:t,selectedImageIndex:n}},shouldShowStagingOutline:r,shouldShowStagingImage:i}=e;return{currentStagingAreaImage:t.length>0?t[n]:void 0,isOnFirstImage:n===0,isOnLastImage:n===t.length-1,shouldShowStagingImage:i,shouldShowStagingOutline:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XMe=()=>{const e=Me(),{isOnFirstImage:t,isOnLastImage:n,currentStagingAreaImage:r,shouldShowStagingImage:i}=he(KMe),{t:o}=Ve(),a=w.useCallback(()=>{e(NI(!0))},[e]),s=w.useCallback(()=>{e(NI(!1))},[e]);Je(["left"],()=>{l()},{enabled:()=>!0,preventDefault:!0}),Je(["right"],()=>{u()},{enabled:()=>!0,preventDefault:!0}),Je(["enter"],()=>{d()},{enabled:()=>!0,preventDefault:!0});const l=()=>e(xxe()),u=()=>e(Sxe()),d=()=>e(vxe());return r?y.jsx(Ge,{pos:"absolute",bottom:"1rem",w:"100%",align:"center",justify:"center",filter:"drop-shadow(0 0.5rem 1rem rgba(0,0,0))",onMouseOver:a,onMouseOut:s,children:y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{tooltip:`${o("unifiedcanvas:previous")} (Left)`,"aria-label":`${o("unifiedcanvas:previous")} (Left)`,icon:y.jsx(Jke,{}),onClick:l,"data-selected":!0,isDisabled:t}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:next")} (Right)`,"aria-label":`${o("unifiedcanvas:next")} (Right)`,icon:y.jsx(eEe,{}),onClick:u,"data-selected":!0,isDisabled:n}),y.jsx(Qe,{tooltip:`${o("unifiedcanvas:accept")} (Enter)`,"aria-label":`${o("unifiedcanvas:accept")} (Enter)`,icon:y.jsx(PP,{}),onClick:d,"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:showHide"),"aria-label":o("unifiedcanvas:showHide"),"data-alert":!i,icon:i?y.jsx(sEe,{}):y.jsx(aEe,{}),onClick:()=>e(Oxe(!i)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:saveToGallery"),"aria-label":o("unifiedcanvas:saveToGallery"),icon:y.jsx(LP,{}),onClick:()=>e(F8e(r.image.url)),"data-selected":!0}),y.jsx(Qe,{tooltip:o("unifiedcanvas:discardAll"),"aria-label":o("unifiedcanvas:discardAll"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),onClick:()=>e(yxe()),"data-selected":!0,style:{backgroundColor:"var(--btn-delete-image)"},fontSize:20})]})}):null},fm=e=>Math.round(e*100)/100,ZMe=at([sn],e=>{const{cursorPosition:t}=e,{cursorX:n,cursorY:r}=t?{cursorX:t.x,cursorY:t.y}:{cursorX:-1,cursorY:-1};return{cursorCoordinatesString:`(${fm(n)}, ${fm(r)})`}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function QMe(){const{cursorCoordinatesString:e}=he(ZMe),{t}=Ve();return y.jsx("div",{children:`${t("unifiedcanvas:cursorPosition")}: ${e}`})}const JMe=at([sn],e=>{const{stageDimensions:{width:t,height:n},stageCoordinates:{x:r,y:i},boundingBoxDimensions:{width:o,height:a},scaledBoundingBoxDimensions:{width:s,height:l},boundingBoxCoordinates:{x:u,y:d},stageScale:h,shouldShowCanvasDebugInfo:m,layer:v,boundingBoxScaleMethod:b,shouldPreserveMaskedArea:S}=e;let k="inherit";return(b==="none"&&(o<512||a<512)||b==="manual"&&s*l<512*512)&&(k="var(--status-working-color)"),{activeLayerColor:v==="mask"?"var(--status-working-color)":"inherit",activeLayerString:v.charAt(0).toUpperCase()+v.slice(1),boundingBoxColor:k,boundingBoxCoordinatesString:`(${fm(u)}, ${fm(d)})`,boundingBoxDimensionsString:`${o}×${a}`,scaledBoundingBoxDimensionsString:`${s}×${l}`,canvasCoordinatesString:`${fm(r)}×${fm(i)}`,canvasDimensionsString:`${t}×${n}`,canvasScaleString:Math.round(h*100),shouldShowCanvasDebugInfo:m,shouldShowBoundingBox:b!=="auto",shouldShowScaledBoundingBox:b!=="none",shouldPreserveMaskedArea:S}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),eIe=()=>{const{activeLayerColor:e,activeLayerString:t,boundingBoxColor:n,boundingBoxCoordinatesString:r,boundingBoxDimensionsString:i,scaledBoundingBoxDimensionsString:o,shouldShowScaledBoundingBox:a,canvasCoordinatesString:s,canvasDimensionsString:l,canvasScaleString:u,shouldShowCanvasDebugInfo:d,shouldShowBoundingBox:h,shouldPreserveMaskedArea:m}=he(JMe),{t:v}=Ve();return y.jsxs("div",{className:"canvas-status-text",children:[y.jsx("div",{style:{color:e},children:`${v("unifiedcanvas:activeLayer")}: ${t}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasScale")}: ${u}%`}),m&&y.jsx("div",{style:{color:"var(--status-working-color)"},children:"Preserve Masked Area: On"}),h&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:boundingBox")}: ${i}`}),a&&y.jsx("div",{style:{color:n},children:`${v("unifiedcanvas:scaledBoundingBox")}: ${o}`}),d&&y.jsxs(y.Fragment,{children:[y.jsx("div",{children:`${v("unifiedcanvas:boundingBoxPosition")}: ${r}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasDimensions")}: ${l}`}),y.jsx("div",{children:`${v("unifiedcanvas:canvasPosition")}: ${s}`}),y.jsx(QMe,{})]})]})},tIe=at(sn,e=>{const{boundingBoxCoordinates:t,boundingBoxDimensions:n,stageScale:r,isDrawing:i,isTransformingBoundingBox:o,isMovingBoundingBox:a,tool:s,shouldSnapToGrid:l}=e;return{boundingBoxCoordinates:t,boundingBoxDimensions:n,isDrawing:i,isMovingBoundingBox:a,isTransformingBoundingBox:o,stageScale:r,shouldSnapToGrid:l,tool:s,hitStrokeWidth:20/r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),nIe=e=>{const{...t}=e,n=Me(),{boundingBoxCoordinates:r,boundingBoxDimensions:i,isDrawing:o,isMovingBoundingBox:a,isTransformingBoundingBox:s,stageScale:l,shouldSnapToGrid:u,tool:d,hitStrokeWidth:h}=he(tIe),m=w.useRef(null),v=w.useRef(null),[b,S]=w.useState(!1);w.useEffect(()=>{var te;!m.current||!v.current||(m.current.nodes([v.current]),(te=m.current.getLayer())==null||te.batchDraw())},[]);const k=64*l,E=w.useCallback(te=>{if(!u){n(vC({x:Math.floor(te.target.x()),y:Math.floor(te.target.y())}));return}const q=te.target.x(),$=te.target.y(),U=Gl(q,64),X=Gl($,64);te.target.x(U),te.target.y(X),n(vC({x:U,y:X}))},[n,u]),_=w.useCallback(()=>{if(!v.current)return;const te=v.current,q=te.scaleX(),$=te.scaleY(),U=Math.round(te.width()*q),X=Math.round(te.height()*$),Z=Math.round(te.x()),W=Math.round(te.y());n(Ev({width:U,height:X})),n(vC({x:u?Ed(Z,64):Z,y:u?Ed(W,64):W})),te.scaleX(1),te.scaleY(1)},[n,u]),T=w.useCallback((te,q,$)=>{const U=te.x%k,X=te.y%k;return{x:Ed(q.x,k)+U,y:Ed(q.y,k)+X}},[k]),A=()=>{n(bC(!0))},I=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},R=()=>{n(yC(!0))},D=()=>{n(bC(!1)),n(yC(!1)),n(Cb(!1)),S(!1)},j=()=>{S(!0)},z=()=>{!s&&!a&&S(!1)},V=()=>{n(Cb(!0))},K=()=>{n(Cb(!1))};return y.jsxs(sc,{...t,children:[y.jsx(lc,{height:i.height,width:i.width,x:r.x,y:r.y,onMouseEnter:V,onMouseOver:V,onMouseLeave:K,onMouseOut:K}),y.jsx(lc,{draggable:!0,fillEnabled:!1,height:i.height,hitStrokeWidth:h,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onDragMove:E,onMouseDown:R,onMouseOut:z,onMouseOver:j,onMouseEnter:j,onMouseUp:D,onTransform:_,onTransformEnd:I,ref:v,stroke:b?"rgba(255,255,255,0.7)":"white",strokeWidth:(b?8:1)/l,width:i.width,x:r.x,y:r.y}),y.jsx(yMe,{anchorCornerRadius:3,anchorDragBoundFunc:T,anchorFill:"rgba(212,216,234,1)",anchorSize:15,anchorStroke:"rgb(42,42,42)",borderDash:[4,4],borderEnabled:!0,borderStroke:"black",draggable:!1,enabledAnchors:d==="move"?void 0:[],flipEnabled:!1,ignoreStroke:!0,keepRatio:!1,listening:!o&&d==="move",onDragStart:R,onDragEnd:D,onMouseDown:A,onMouseUp:I,onTransformEnd:I,ref:m,rotateEnabled:!1})]})},rIe=at(sn,e=>{const{cursorPosition:t,brushSize:n,colorPickerColor:r,maskColor:i,brushColor:o,tool:a,layer:s,shouldShowBrush:l,isMovingBoundingBox:u,isTransformingBoundingBox:d,stageScale:h,stageDimensions:m,boundingBoxCoordinates:v,boundingBoxDimensions:b,shouldRestrictStrokesToBox:S}=e,k=S?{clipX:v.x,clipY:v.y,clipWidth:b.width,clipHeight:b.height}:{};return{cursorPosition:t,brushX:t?t.x:m.width/2,brushY:t?t.y:m.height/2,radius:n/2,colorPickerOuterRadius:RI/h,colorPickerInnerRadius:(RI-s8+1)/h,maskColorString:Hh({...i,a:.5}),brushColorString:Hh(o),colorPickerColorString:Hh(r),tool:a,layer:s,shouldShowBrush:l,shouldDrawBrushPreview:!(u||d||!t)&&l,strokeWidth:1.5/h,dotRadius:1.5/h,clip:k}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),iIe=e=>{const{...t}=e,{brushX:n,brushY:r,radius:i,maskColorString:o,tool:a,layer:s,shouldDrawBrushPreview:l,dotRadius:u,strokeWidth:d,brushColorString:h,colorPickerColorString:m,colorPickerInnerRadius:v,colorPickerOuterRadius:b,clip:S}=he(rIe);return l?y.jsxs(sc,{listening:!1,...S,...t,children:[a==="colorPicker"?y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:b,stroke:h,strokeWidth:s8,strokeScaleEnabled:!1}),y.jsx(sh,{x:n,y:r,radius:v,stroke:m,strokeWidth:s8,strokeScaleEnabled:!1})]}):y.jsxs(y.Fragment,{children:[y.jsx(sh,{x:n,y:r,radius:i,fill:s==="mask"?o:h,globalCompositeOperation:a==="eraser"?"destination-out":"source-out"}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(255,255,255,0.4)",strokeWidth:d*2,strokeEnabled:!0,listening:!1}),y.jsx(sh,{x:n,y:r,radius:i,stroke:"rgba(0,0,0,1)",strokeWidth:d,strokeEnabled:!0,listening:!1})]}),y.jsx(sh,{x:n,y:r,radius:u*2,fill:"rgba(255,255,255,0.4)",listening:!1}),y.jsx(sh,{x:n,y:r,radius:u,fill:"rgba(0,0,0,1)",listening:!1})]}):null},oIe=at([sn,Mr],(e,t)=>{const{isMaskEnabled:n,stageScale:r,shouldShowBoundingBox:i,isTransformingBoundingBox:o,isMouseOverBoundingBox:a,isMovingBoundingBox:s,stageDimensions:l,stageCoordinates:u,tool:d,isMovingStage:h,shouldShowIntermediates:m,shouldShowGrid:v,shouldRestrictStrokesToBox:b}=e;let S="none";return d==="move"||t?h?S="grabbing":S="grab":o?S=void 0:b&&!a&&(S="default"),{isMaskEnabled:n,isModifyingBoundingBox:o||s,shouldShowBoundingBox:i,shouldShowGrid:v,stageCoordinates:u,stageCursor:S,stageDimensions:l,stageScale:r,tool:d,isStaging:t,shouldShowIntermediates:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),jY=()=>{const{isMaskEnabled:e,isModifyingBoundingBox:t,shouldShowBoundingBox:n,shouldShowGrid:r,stageCoordinates:i,stageCursor:o,stageDimensions:a,stageScale:s,tool:l,isStaging:u,shouldShowIntermediates:d}=he(oIe);CMe();const h=w.useRef(null),m=w.useRef(null),v=w.useCallback(z=>{S8e(z),h.current=z},[]),b=w.useCallback(z=>{b8e(z),m.current=z},[]),S=w.useRef({x:0,y:0}),k=w.useRef(!1),E=MMe(h),_=kMe(h),T=AMe(h,k),A=PMe(h,k,S),I=TMe(),{handleDragStart:R,handleDragMove:D,handleDragEnd:j}=xMe();return y.jsx("div",{className:"inpainting-canvas-container",children:y.jsxs("div",{className:"inpainting-canvas-wrapper",children:[y.jsxs(bMe,{tabIndex:-1,ref:v,className:"inpainting-canvas-stage",style:{...o?{cursor:o}:{}},x:i.x,y:i.y,width:a.width,height:a.height,scale:{x:s,y:s},onTouchStart:_,onTouchMove:A,onTouchEnd:T,onMouseDown:_,onMouseLeave:I,onMouseMove:A,onMouseUp:T,onDragStart:R,onDragMove:D,onDragEnd:j,onContextMenu:z=>z.evt.preventDefault(),onWheel:E,draggable:(l==="move"||u)&&!t,children:[y.jsx(pv,{id:"grid",visible:r,children:y.jsx(jMe,{})}),y.jsx(pv,{id:"base",ref:b,listening:!1,imageSmoothingEnabled:!1,children:y.jsx(GMe,{})}),y.jsxs(pv,{id:"mask",visible:e,listening:!1,children:[y.jsx(VMe,{visible:!0,listening:!1}),y.jsx(zMe,{listening:!1})]}),y.jsx(pv,{children:y.jsx(RMe,{})}),y.jsxs(pv,{id:"preview",imageSmoothingEnabled:!1,children:[!u&&y.jsx(iIe,{visible:l!=="move",listening:!1}),y.jsx(YMe,{visible:u}),d&&y.jsx($Me,{}),y.jsx(nIe,{visible:n&&!u})]})]}),y.jsx(eIe,{}),y.jsx(XMe,{})]})})},aIe=at(sn,xq,Or,(e,t,n)=>{const{doesCanvasNeedScaling:r,isCanvasInitialized:i}=e;return{doesCanvasNeedScaling:r,activeTabName:n,initialCanvasImage:t,isCanvasInitialized:i}}),BY=()=>{const e=Me(),{doesCanvasNeedScaling:t,activeTabName:n,initialCanvasImage:r,isCanvasInitialized:i}=he(aIe),o=w.useRef(null);return w.useLayoutEffect(()=>{window.setTimeout(()=>{if(!o.current)return;const{clientWidth:a,clientHeight:s}=o.current;e(Exe({width:a,height:s})),e(i?_xe():Rx()),e(vi(!1))},0)},[e,r,t,n,i]),y.jsx("div",{ref:o,className:"inpainting-canvas-area",children:y.jsx(xy,{thickness:"2px",speed:"1s",size:"xl"})})},sIe=at([sn,Or,ir],(e,t,n)=>{const{futureLayerStates:r}=e;return{canRedo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function $Y(){const e=Me(),{canRedo:t,activeTabName:n}=he(sIe),{t:r}=Ve(),i=()=>{e(wxe())};return Je(["meta+shift+z","ctrl+shift+z","control+y","meta+y"],()=>{i()},{enabled:()=>t,preventDefault:!0},[n,t]),y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,tooltip:`${r("unifiedcanvas:redo")} (Ctrl+Shift+Z)`,icon:y.jsx(yEe,{}),onClick:i,isDisabled:!t})}const lIe=at([sn,Or,ir],(e,t,n)=>{const{pastLayerStates:r}=e;return{canUndo:r.length>0&&!n.isProcessing,activeTabName:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function FY(){const e=Me(),{t}=Ve(),{canUndo:n,activeTabName:r}=he(lIe),i=()=>{e(Ixe())};return Je(["meta+z","ctrl+z"],()=>{i()},{enabled:()=>n,preventDefault:!0},[r,n]),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:undo")} (Ctrl+Z)`,tooltip:`${t("unifiedcanvas:undo")} (Ctrl+Z)`,icon:y.jsx(wEe,{}),onClick:i,isDisabled:!n})}const uIe=(e,t,n)=>{const r=document.createElement("img");r.addEventListener("load",()=>{const i=document.createElement("canvas");i.width=t,i.height=n;const o=i.getContext("2d");o&&(o.drawImage(r,0,0),i.toBlob(a=>{a&&navigator.clipboard.write([new ClipboardItem({[a.type]:a})])}),i.remove(),r.remove())}),r.src=e},cIe=e=>{const t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t),t.remove()},dIe=(e,t,n,r)=>{const i=e.scale(),o=e.getClientRect({relativeTo:e.getParent()});e.scale({x:1/t,y:1/t});const{x:a,y:s,width:l,height:u}=e.getClientRect(),d=r?{x:r.x+n.x,y:r.y+n.y,width:r.width,height:r.height}:{x:a,y:s,width:l,height:u},h=e.toDataURL(d);return e.scale(i),{dataURL:h,boundingBox:{x:o.x,y:o.y,width:l,height:u}}},fIe={cropVisible:!1,cropToBoundingBox:!1,shouldSaveToGallery:!1,shouldDownload:!1,shouldCopy:!1,shouldSetAsInitialImage:!0},Td=(e=fIe)=>async(t,n)=>{const{cropVisible:r,cropToBoundingBox:i,shouldSaveToGallery:o,shouldDownload:a,shouldCopy:s,shouldSetAsInitialImage:l}=e;t(nCe("Exporting Image")),t(lm(!1));const u=n(),{stageScale:d,boundingBoxCoordinates:h,boundingBoxDimensions:m,stageCoordinates:v}=u.canvas,b=el();if(!b){t(Hs(!1)),t(lm(!0));return}const{dataURL:S,boundingBox:k}=dIe(b,d,v,i?{...h,...m}:void 0);if(!S){t(Hs(!1)),t(lm(!0));return}const E=new FormData;E.append("data",JSON.stringify({dataURL:S,filename:"merged_canvas.png",kind:o?"result":"temp",cropVisible:r}));const T=await(await fetch(`${window.location.origin}/upload`,{method:"POST",body:E})).json(),{url:A,width:I,height:R}=T,D={uuid:cm(),category:o?"result":"user",...T};a&&(cIe(A),t(Th({title:zt.t("toast:downloadImageStarted"),status:"success",duration:2500,isClosable:!0}))),s&&(uIe(A,I,R),t(Th({title:zt.t("toast:imageCopied"),status:"success",duration:2500,isClosable:!0}))),o&&(t(sm({image:D,category:"result"})),t(Th({title:zt.t("toast:imageSavedToGallery"),status:"success",duration:2500,isClosable:!0}))),l&&(t(Lxe({kind:"image",layer:"base",...k,image:D})),t(Th({title:zt.t("toast:canvasMerged"),status:"success",duration:2500,isClosable:!0}))),t(Hs(!1)),t(R4(zt.t("common:statusConnected"))),t(lm(!0))};function hIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["meta+c","ctrl+c"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldCopy:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${o("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:a,isDisabled:e})}function pIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(s=>s.system.isProcessing),o=he(s=>s.canvas.shouldCropToBoundingBoxOnSave);Je(["shift+d"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n,i]);const a=()=>{e(Td({cropVisible:!o,cropToBoundingBox:o,shouldDownload:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${t("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:a,isDisabled:r})}function gIe(){const e=he(Mr),{openUploader:t}=xP(),{t:n}=Ve();return y.jsx(Qe,{"aria-label":n("common:upload"),tooltip:n("common:upload"),icon:y.jsx(Zx,{}),onClick:t,isDisabled:e})}const mIe=at([sn,Mr],(e,t)=>{const{layer:n,isMaskEnabled:r}=e;return{layer:n,isMaskEnabled:r,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function vIe(){const e=Me(),{t}=Ve(),{layer:n,isMaskEnabled:r,isStaging:i}=he(mIe),o=()=>{e(G5(n==="mask"?"base":"mask"))};Je(["q"],()=>{o()},{enabled:()=>!i,preventDefault:!0},[n]);const a=s=>{const l=s.target.value;e(G5(l)),l==="mask"&&!r&&e(Dy(!0))};return y.jsx(tl,{tooltip:`${t("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:n,validValues:DW,onChange:a,isDisabled:i})}function yIe(){const e=Me(),{t}=Ve(),n=el(),r=he(Mr),i=he(a=>a.system.isProcessing);Je(["shift+m"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n,i]);const o=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))};return y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${t("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:o,isDisabled:r})}function bIe(){const e=he(o=>o.canvas.tool),t=he(Mr),n=Me(),{t:r}=Ve();Je(["v"],()=>{i()},{enabled:()=>!t,preventDefault:!0},[]);const i=()=>n(tu("move"));return y.jsx(Qe,{"aria-label":`${r("unifiedcanvas:move")} (V)`,tooltip:`${r("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":e==="move"||t,onClick:i})}function SIe(){const e=he(i=>i.ui.shouldPinParametersPanel),t=Me(),{t:n}=Ve(),r=()=>{t(Ku(!0)),e&&setTimeout(()=>t(vi(!0)),400)};return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsx(Qe,{tooltip:`${n("parameters:showOptionsPanel")} (O)`,tooltipProps:{placement:"top"},"aria-label":n("parameters:showOptionsPanel"),onClick:r,children:y.jsx(AP,{})}),y.jsx(Ge,{children:y.jsx(XP,{iconButton:!0})}),y.jsx(Ge,{children:y.jsx(YP,{width:"100%",height:"40px"})})]})}function xIe(){const e=Me(),{t}=Ve(),n=he(Mr),r=()=>{e(rP()),e(Rx())};return y.jsx(Qe,{"aria-label":t("unifiedcanvas:clearCanvas"),tooltip:t("unifiedcanvas:clearCanvas"),icon:y.jsx(vp,{}),onClick:r,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})}function zY(e,t,n=250){const[r,i]=w.useState(0);return w.useEffect(()=>{const o=setTimeout(()=>{r===1&&e(),i(0)},n);return r===2&&t(),()=>clearTimeout(o)},[r,e,t,n]),()=>i(o=>o+1)}function wIe(){const e=el(),t=Me(),{t:n}=Ve();Je(["r"],()=>{i()},{enabled:()=>!0,preventDefault:!0},[e]);const r=zY(()=>i(!1),()=>i(!0)),i=(o=!1)=>{const a=el();if(!a)return;const s=a.getClientRect({skipTransform:!0});t(zW({contentRect:s,shouldScaleTo1:o}))};return y.jsx(Qe,{"aria-label":`${n("unifiedcanvas:resetView")} (R)`,tooltip:`${n("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:r})}function CIe(){const e=he(Mr),t=el(),n=he(s=>s.system.isProcessing),r=he(s=>s.canvas.shouldCropToBoundingBoxOnSave),i=Me(),{t:o}=Ve();Je(["shift+s"],()=>{a()},{enabled:()=>!e,preventDefault:!0},[t,n]);const a=()=>{i(Td({cropVisible:!r,cropToBoundingBox:r,shouldSaveToGallery:!0}))};return y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${o("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:a,isDisabled:e})}const _Ie=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i}=e;return{tool:i,isStaging:t,isProcessing:r}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),kIe=()=>{const e=Me(),{t}=Ve(),{tool:n,isStaging:r}=he(_Ie);Je(["b"],()=>{i()},{enabled:()=>!r,preventDefault:!0},[]),Je(["e"],()=>{o()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["c"],()=>{a()},{enabled:()=>!r,preventDefault:!0},[n]),Je(["shift+f"],()=>{s()},{enabled:()=>!r,preventDefault:!0}),Je(["delete","backspace"],()=>{l()},{enabled:()=>!r,preventDefault:!0});const i=()=>e(tu("brush")),o=()=>e(tu("eraser")),a=()=>e(tu("colorPicker")),s=()=>e(BW()),l=()=>e(jW());return y.jsxs(Ge,{flexDirection:"column",gap:"0.5rem",children:[y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:brush")} (B)`,tooltip:`${t("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":n==="brush"&&!r,onClick:i,isDisabled:r}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraser")} (E)`,tooltip:`${t("unifiedcanvas:eraser")} (B)`,icon:y.jsx(mq,{}),"data-selected":n==="eraser"&&!r,isDisabled:r,onClick:o})]}),y.jsxs(oo,{children:[y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${t("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:r,onClick:s}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${t("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:r,onClick:l})]}),y.jsx(Qe,{"aria-label":`${t("unifiedcanvas:colorPicker")} (C)`,tooltip:`${t("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":n==="colorPicker"&&!r,isDisabled:r,onClick:a,width:"max-content"})]})},oT=Ae((e,t)=>{const{acceptButtonText:n="Accept",acceptCallback:r,cancelButtonText:i="Cancel",cancelCallback:o,children:a,title:s,triggerComponent:l}=e,{isOpen:u,onOpen:d,onClose:h}=Wh(),m=w.useRef(null),v=()=>{r(),h()},b=()=>{o&&o(),h()};return y.jsxs(y.Fragment,{children:[w.cloneElement(l,{onClick:d,ref:t}),y.jsx(AV,{isOpen:u,leastDestructiveRef:m,onClose:h,children:y.jsx(Kd,{children:y.jsxs(OV,{className:"modal",children:[y.jsx(w0,{fontSize:"lg",fontWeight:"bold",children:s}),y.jsx(n0,{children:a}),y.jsxs(yx,{children:[y.jsx(as,{ref:m,onClick:b,className:"modal-close-btn",children:i}),y.jsx(as,{colorScheme:"red",onClick:v,ml:3,children:n})]})]})})})]})}),HY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve(),r=()=>{t(z8e()),t(rP()),t(FW())};return y.jsxs(oT,{title:n("unifiedcanvas:emptyTempImageFolder"),acceptCallback:r,acceptButtonText:n("unifiedcanvas:emptyFolder"),triggerComponent:y.jsx(cr,{leftIcon:y.jsx(vp,{}),size:"sm",isDisabled:e,children:n("unifiedcanvas:emptyTempImageFolder")}),children:[y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:emptyTempImagesFolderConfirm")})]})},VY=()=>{const e=he(Mr),t=Me(),{t:n}=Ve();return y.jsxs(oT,{title:n("unifiedcanvas:clearCanvasHistory"),acceptCallback:()=>t(FW()),acceptButtonText:n("unifiedcanvas:clearHistory"),triggerComponent:y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),isDisabled:e,children:n("unifiedcanvas:clearCanvasHistory")}),children:[y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryMessage")}),y.jsx("br",{}),y.jsx("p",{children:n("unifiedcanvas:clearCanvasHistoryConfirm")})]})},EIe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldShowCanvasDebugInfo:r,shouldShowIntermediates:i}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),PIe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldShowCanvasDebugInfo:i,shouldShowIntermediates:o}=he(EIe);return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),tooltipProps:{placement:"bottom"},"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:o,onChange:a=>e(XW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:a=>e(WW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:a=>e(UW(a.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:i,onChange:a=>e(YW(a.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},TIe=()=>{const e=he(t=>t.ui.shouldShowParametersPanel);return y.jsxs(Ge,{flexDirection:"column",rowGap:"0.5rem",width:"6rem",children:[y.jsx(vIe,{}),y.jsx(kIe,{}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(bIe,{}),y.jsx(wIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(yIe,{}),y.jsx(CIe,{})]}),y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(hIe,{}),y.jsx(pIe,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(Ge,{gap:"0.5rem",children:[y.jsx(gIe,{}),y.jsx(xIe,{})]}),y.jsx(PIe,{}),!e&&y.jsx(SIe,{})]})};function LIe(){const e=Me(),t=he(i=>i.canvas.brushSize),{t:n}=Ve(),r=he(Mr);return Je(["BracketLeft"],()=>{e(jm(Math.max(t-5,5)))},{enabled:()=>!r,preventDefault:!0},[t]),Je(["BracketRight"],()=>{e(jm(Math.min(t+5,500)))},{enabled:()=>!r,preventDefault:!0},[t]),y.jsx(so,{label:n("unifiedcanvas:brushSize"),value:t,withInput:!0,onChange:i=>e(jm(i)),sliderNumberInputProps:{max:500},inputReadOnly:!1,width:"100px",isCompact:!0})}function lw(){return(lw=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function X8(e){var t=w.useRef(e),n=w.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var l0=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:k.buttons>0)&&i.current?o(sN(i.current,k,s.current)):S(!1)},b=function(){return S(!1)};function S(k){var E=l.current,_=Z8(i.current),T=k?_.addEventListener:_.removeEventListener;T(E?"touchmove":"mousemove",v),T(E?"touchend":"mouseup",b)}return[function(k){var E=k.nativeEvent,_=i.current;if(_&&(lN(E),!function(A,I){return I&&!d2(A)}(E,l.current)&&_)){if(d2(E)){l.current=!0;var T=E.changedTouches||[];T.length&&(s.current=T[0].identifier)}_.focus(),o(sN(_,E,s.current)),S(!0)}},function(k){var E=k.which||k.keyCode;E<37||E>40||(k.preventDefault(),a({left:E===39?.05:E===37?-.05:0,top:E===40?.05:E===38?-.05:0}))},S]},[a,o]),d=u[0],h=u[1],m=u[2];return w.useEffect(function(){return m},[m]),N.createElement("div",lw({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))}),uw=function(e){return e.filter(Boolean).join(" ")},sT=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,o=uw(["react-colorful__pointer",e.className]);return N.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},N.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Eo=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},UY=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:Eo(e.h),s:Eo(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:Eo(i/2),a:Eo(r,2)}},Q8=function(e){var t=UY(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},HC=function(e){var t=UY(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},AIe=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),u=o%6;return{r:Eo(255*[r,s,a,a,l,r][u]),g:Eo(255*[l,r,r,s,a,a][u]),b:Eo(255*[a,a,l,r,r,s][u]),a:Eo(i,2)}},OIe=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:Eo(60*(s<0?s+6:s)),s:Eo(o?a/o*100:0),v:Eo(o/255*100),a:i}},MIe=N.memo(function(e){var t=e.hue,n=e.onChange,r=uw(["react-colorful__hue",e.className]);return N.createElement("div",{className:r},N.createElement(aT,{onMove:function(i){n({h:360*i.left})},onKey:function(i){n({h:l0(t+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":Eo(t),"aria-valuemax":"360","aria-valuemin":"0"},N.createElement(sT,{className:"react-colorful__hue-pointer",left:t/360,color:Q8({h:t,s:100,v:100,a:1})})))}),IIe=N.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Q8({h:t.h,s:100,v:100,a:1})};return N.createElement("div",{className:"react-colorful__saturation",style:r},N.createElement(aT,{onMove:function(i){n({s:100*i.left,v:100-100*i.top})},onKey:function(i){n({s:l0(t.s+100*i.left,0,100),v:l0(t.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Eo(t.s)+"%, Brightness "+Eo(t.v)+"%"},N.createElement(sT,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Q8(t)})))}),GY=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function RIe(e,t,n){var r=X8(n),i=w.useState(function(){return e.toHsva(t)}),o=i[0],a=i[1],s=w.useRef({color:t,hsva:o});w.useEffect(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},a(u)}},[t,e]),w.useEffect(function(){var u;GY(o,s.current.hsva)||e.equal(u=e.fromHsva(o),s.current.color)||(s.current={hsva:o,color:u},r(u))},[o,e,r]);var l=w.useCallback(function(u){a(function(d){return Object.assign({},d,u)})},[]);return[o,l]}var DIe=typeof window<"u"?w.useLayoutEffect:w.useEffect,NIe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},uN=new Map,jIe=function(e){DIe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!uN.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,uN.set(t,n);var r=NIe();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},BIe=function(e){var t=e.className,n=e.hsva,r=e.onChange,i={backgroundImage:"linear-gradient(90deg, "+HC(Object.assign({},n,{a:0}))+", "+HC(Object.assign({},n,{a:1}))+")"},o=uw(["react-colorful__alpha",t]),a=Eo(100*n.a);return N.createElement("div",{className:o},N.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),N.createElement(aT,{onMove:function(s){r({a:s.left})},onKey:function(s){r({a:l0(n.a+s.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},N.createElement(sT,{className:"react-colorful__alpha-pointer",left:n.a,color:HC(n)})))},$Ie=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,o=e.onChange,a=WY(e,["className","colorModel","color","onChange"]),s=w.useRef(null);jIe(s);var l=RIe(n,i,o),u=l[0],d=l[1],h=uw(["react-colorful",t]);return N.createElement("div",lw({},a,{ref:s,className:h}),N.createElement(IIe,{hsva:u,onChange:d}),N.createElement(MIe,{hue:u.h,onChange:d}),N.createElement(BIe,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},FIe={defaultColor:{r:0,g:0,b:0,a:1},toHsva:OIe,fromHsva:AIe,equal:GY},zIe=function(e){return N.createElement($Ie,lw({},e,{colorModel:FIe}))};const cS=e=>{const{styleClass:t,...n}=e;return y.jsx(zIe,{className:`invokeai__color-picker ${t}`,...n})},HIe=at([sn,Mr],(e,t)=>{const{brushColor:n,maskColor:r,layer:i}=e;return{brushColor:n,maskColor:r,layer:i,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function VIe(){const e=Me(),{brushColor:t,maskColor:n,layer:r,isStaging:i}=he(HIe),o=()=>{if(r==="base")return`rgba(${t.r},${t.g},${t.b},${t.a})`;if(r==="mask")return`rgba(${n.r},${n.g},${n.b},${n.a})`};return Je(["shift+BracketLeft"],()=>{e(Nm({...t,a:ke.clamp(t.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+BracketRight"],()=>{e(Nm({...t,a:ke.clamp(t.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[t]),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(ko,{style:{width:"30px",height:"30px",minWidth:"30px",minHeight:"30px",borderRadius:"99999999px",backgroundColor:o(),cursor:"pointer"}}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[r==="base"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:t,onChange:a=>e(Nm(a))}),r==="mask"&&y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:a=>e(VW(a))})]})})}function qY(){return y.jsxs(Ge,{columnGap:"1rem",alignItems:"center",children:[y.jsx(LIe,{}),y.jsx(VIe,{})]})}function WIe(){const e=Me(),t=he(r=>r.canvas.shouldRestrictStrokesToBox),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaLimitToBox"),isChecked:t,onChange:r=>e(QW(r.target.checked))})}function UIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(WIe,{})]})}function GIe(){const e=Me(),{t}=Ve(),n=()=>e(nP());return y.jsx(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:n,tooltip:`${t("unifiedcanvas:clearMask")} (Shift+C)`,children:t("unifiedcanvas:betaClear")})}function qIe(){const e=he(i=>i.canvas.isMaskEnabled),t=Me(),{t:n}=Ve(),r=()=>t(Dy(!e));return y.jsx(er,{label:`${n("unifiedcanvas:enableMask")} (H)`,isChecked:e,onChange:r})}function YIe(){const e=Me(),{t}=Ve(),n=he(r=>r.canvas.shouldPreserveMaskedArea);return y.jsx(er,{label:t("unifiedcanvas:betaPreserveMasked"),isChecked:n,onChange:r=>e(qW(r.target.checked))})}function KIe(){return y.jsxs(Ge,{gap:"1rem",alignItems:"center",children:[y.jsx(qY,{}),y.jsx(qIe,{}),y.jsx(YIe,{}),y.jsx(GIe,{})]})}function XIe(){const e=he(r=>r.canvas.shouldDarkenOutsideBoundingBox),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:betaDarkenOutside"),isChecked:e,onChange:r=>t(GW(r.target.checked))})}function ZIe(){const e=he(r=>r.canvas.shouldShowGrid),t=Me(),{t:n}=Ve();return y.jsx(er,{label:n("unifiedcanvas:showGrid"),isChecked:e,onChange:r=>t(KW(r.target.checked))})}function QIe(){const e=he(i=>i.canvas.shouldSnapToGrid),t=Me(),{t:n}=Ve(),r=i=>t(q5(i.target.checked));return y.jsx(er,{label:`${n("unifiedcanvas:snapToGrid")} (N)`,isChecked:e,onChange:r})}function JIe(){return y.jsxs(Ge,{alignItems:"center",gap:"1rem",children:[y.jsx(ZIe,{}),y.jsx(QIe,{}),y.jsx(XIe,{})]})}const eRe=at([sn],e=>{const{tool:t,layer:n}=e;return{tool:t,layer:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function tRe(){const{tool:e,layer:t}=he(eRe);return y.jsxs(Ge,{height:"2rem",minHeight:"2rem",maxHeight:"2rem",alignItems:"center",children:[t=="base"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(UIe,{}),t=="mask"&&["brush","eraser","colorPicker"].includes(e)&&y.jsx(KIe,{}),e=="move"&&y.jsx(JIe,{})]})}const nRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),rRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(nRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsxs(Ge,{flexDirection:"row",width:"100%",height:"100%",columnGap:"1rem",padding:"1rem",children:[y.jsx(TIe,{}),y.jsxs(Ge,{width:"100%",height:"100%",flexDirection:"column",rowGap:"1rem",children:[y.jsx(tRe,{}),t?y.jsx(BY,{}):y.jsx(jY,{})]})]})})},iRe=at([sn,Mr],(e,t)=>{const{maskColor:n,layer:r,isMaskEnabled:i,shouldPreserveMaskedArea:o}=e;return{layer:r,maskColor:n,maskColorString:Hh(n),isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),oRe=()=>{const e=Me(),{t}=Ve(),{layer:n,maskColor:r,isMaskEnabled:i,shouldPreserveMaskedArea:o,isStaging:a}=he(iRe);Je(["q"],()=>{s()},{enabled:()=>!a,preventDefault:!0},[n]),Je(["shift+c"],()=>{l()},{enabled:()=>!a,preventDefault:!0},[]),Je(["h"],()=>{u()},{enabled:()=>!a,preventDefault:!0},[i]);const s=()=>{e(G5(n==="mask"?"base":"mask"))},l=()=>e(nP()),u=()=>e(Dy(!i));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(oo,{children:y.jsx(Qe,{"aria-label":t("unifiedcanvas:maskingOptions"),tooltip:t("unifiedcanvas:maskingOptions"),icon:y.jsx(fEe,{}),style:n==="mask"?{backgroundColor:"var(--accent-color)"}:{backgroundColor:"var(--btn-base-color)"},isDisabled:a})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:`${t("unifiedcanvas:enableMask")} (H)`,isChecked:i,onChange:u}),y.jsx(er,{label:t("unifiedcanvas:preserveMaskedArea"),isChecked:o,onChange:d=>e(qW(d.target.checked))}),y.jsx(cS,{style:{paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:r,onChange:d=>e(VW(d))}),y.jsxs(cr,{size:"sm",leftIcon:y.jsx(vp,{}),onClick:l,children:[t("unifiedcanvas:clearMask")," (Shift+C)"]})]})})},aRe=at([sn],e=>{const{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}=e;return{shouldAutoSave:t,shouldCropToBoundingBoxOnSave:n,shouldDarkenOutsideBoundingBox:r,shouldShowCanvasDebugInfo:i,shouldShowGrid:o,shouldShowIntermediates:a,shouldSnapToGrid:s,shouldRestrictStrokesToBox:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),sRe=()=>{const e=Me(),{t}=Ve(),{shouldAutoSave:n,shouldCropToBoundingBoxOnSave:r,shouldDarkenOutsideBoundingBox:i,shouldShowCanvasDebugInfo:o,shouldShowGrid:a,shouldShowIntermediates:s,shouldSnapToGrid:l,shouldRestrictStrokesToBox:u}=he(aRe);Je(["n"],()=>{e(q5(!l))},{enabled:!0,preventDefault:!0},[l]);const d=h=>e(q5(h.target.checked));return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{tooltip:t("unifiedcanvas:canvasSettings"),"aria-label":t("unifiedcanvas:canvasSettings"),icon:y.jsx(OP,{})}),children:y.jsxs(Ge,{direction:"column",gap:"0.5rem",children:[y.jsx(er,{label:t("unifiedcanvas:showIntermediates"),isChecked:s,onChange:h=>e(XW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showGrid"),isChecked:a,onChange:h=>e(KW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:snapToGrid"),isChecked:l,onChange:d}),y.jsx(er,{label:t("unifiedcanvas:darkenOutsideSelection"),isChecked:i,onChange:h=>e(GW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:autoSaveToGallery"),isChecked:n,onChange:h=>e(WW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:saveBoxRegionOnly"),isChecked:r,onChange:h=>e(UW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:limitStrokesToBox"),isChecked:u,onChange:h=>e(QW(h.target.checked))}),y.jsx(er,{label:t("unifiedcanvas:showCanvasDebugInfo"),isChecked:o,onChange:h=>e(YW(h.target.checked))}),y.jsx(VY,{}),y.jsx(HY,{})]})})},lRe=at([sn,Mr,ir],(e,t,n)=>{const{isProcessing:r}=n,{tool:i,brushColor:o,brushSize:a}=e;return{tool:i,isStaging:t,isProcessing:r,brushColor:o,brushSize:a}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),uRe=()=>{const e=Me(),{tool:t,brushColor:n,brushSize:r,isStaging:i}=he(lRe),{t:o}=Ve();Je(["b"],()=>{a()},{enabled:()=>!i,preventDefault:!0},[]),Je(["e"],()=>{s()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["c"],()=>{l()},{enabled:()=>!i,preventDefault:!0},[t]),Je(["shift+f"],()=>{u()},{enabled:()=>!i,preventDefault:!0}),Je(["delete","backspace"],()=>{d()},{enabled:()=>!i,preventDefault:!0}),Je(["BracketLeft"],()=>{e(jm(Math.max(r-5,5)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["BracketRight"],()=>{e(jm(Math.min(r+5,500)))},{enabled:()=>!i,preventDefault:!0},[r]),Je(["shift+BracketLeft"],()=>{e(Nm({...n,a:ke.clamp(n.a-.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]),Je(["shift+BracketRight"],()=>{e(Nm({...n,a:ke.clamp(n.a+.05,.05,1)}))},{enabled:()=>!i,preventDefault:!0},[n]);const a=()=>e(tu("brush")),s=()=>e(tu("eraser")),l=()=>e(tu("colorPicker")),u=()=>e(BW()),d=()=>e(jW());return y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:brush")} (B)`,tooltip:`${o("unifiedcanvas:brush")} (B)`,icon:y.jsx(Sq,{}),"data-selected":t==="brush"&&!i,onClick:a,isDisabled:i}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraser")} (E)`,tooltip:`${o("unifiedcanvas:eraser")} (E)`,icon:y.jsx(mq,{}),"data-selected":t==="eraser"&&!i,isDisabled:i,onClick:s}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,tooltip:`${o("unifiedcanvas:fillBoundingBox")} (Shift+F)`,icon:y.jsx(yq,{}),isDisabled:i,onClick:u}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,tooltip:`${o("unifiedcanvas:eraseBoundingBox")} (Del/Backspace)`,icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),isDisabled:i,onClick:d}),y.jsx(Qe,{"aria-label":`${o("unifiedcanvas:colorPicker")} (C)`,tooltip:`${o("unifiedcanvas:colorPicker")} (C)`,icon:y.jsx(vq,{}),"data-selected":t==="colorPicker"&&!i,isDisabled:i,onClick:l}),y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":o("unifiedcanvas:brushOptions"),tooltip:o("unifiedcanvas:brushOptions"),icon:y.jsx(AP,{})}),children:y.jsxs(Ge,{minWidth:"15rem",direction:"column",gap:"1rem",width:"100%",children:[y.jsx(Ge,{gap:"1rem",justifyContent:"space-between",children:y.jsx(so,{label:o("unifiedcanvas:brushSize"),value:r,withInput:!0,onChange:h=>e(jm(h)),sliderNumberInputProps:{max:500},inputReadOnly:!1})}),y.jsx(cS,{style:{width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem"},color:n,onChange:h=>e(Nm(h))})]})})]})},cRe=at([ir,sn,Mr],(e,t,n)=>{const{isProcessing:r}=e,{tool:i,shouldCropToBoundingBoxOnSave:o,layer:a,isMaskEnabled:s}=t;return{isProcessing:r,isStaging:n,isMaskEnabled:s,tool:i,layer:a,shouldCropToBoundingBoxOnSave:o}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),dRe=()=>{const e=Me(),{isProcessing:t,isStaging:n,isMaskEnabled:r,layer:i,tool:o,shouldCropToBoundingBoxOnSave:a}=he(cRe),s=el(),{t:l}=Ve(),{openUploader:u}=xP();Je(["v"],()=>{d()},{enabled:()=>!n,preventDefault:!0},[]),Je(["r"],()=>{m()},{enabled:()=>!0,preventDefault:!0},[s]),Je(["shift+m"],()=>{b()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+s"],()=>{S()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["meta+c","ctrl+c"],()=>{k()},{enabled:()=>!n,preventDefault:!0},[s,t]),Je(["shift+d"],()=>{E()},{enabled:()=>!n,preventDefault:!0},[s,t]);const d=()=>e(tu("move")),h=zY(()=>m(!1),()=>m(!0)),m=(T=!1)=>{const A=el();if(!A)return;const I=A.getClientRect({skipTransform:!0});e(zW({contentRect:I,shouldScaleTo1:T}))},v=()=>{e(rP()),e(Rx())},b=()=>{e(Td({cropVisible:!1,shouldSetAsInitialImage:!0}))},S=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldSaveToGallery:!0}))},k=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldCopy:!0}))},E=()=>{e(Td({cropVisible:!a,cropToBoundingBox:a,shouldDownload:!0}))},_=T=>{const A=T.target.value;e(G5(A)),A==="mask"&&!r&&e(Dy(!0))};return y.jsxs("div",{className:"inpainting-settings",children:[y.jsx(tl,{tooltip:`${l("unifiedcanvas:layer")} (Q)`,tooltipProps:{hasArrow:!0,placement:"top"},value:i,validValues:DW,onChange:_,isDisabled:n}),y.jsx(oRe,{}),y.jsx(uRe,{}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:move")} (V)`,tooltip:`${l("unifiedcanvas:move")} (V)`,icon:y.jsx(hq,{}),"data-selected":o==="move"||n,onClick:d}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:resetView")} (R)`,tooltip:`${l("unifiedcanvas:resetView")} (R)`,icon:y.jsx(gq,{}),onClick:h})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,tooltip:`${l("unifiedcanvas:mergeVisible")} (Shift+M)`,icon:y.jsx(bq,{}),onClick:b,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,tooltip:`${l("unifiedcanvas:saveToGallery")} (Shift+S)`,icon:y.jsx(LP,{}),onClick:S,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,tooltip:`${l("unifiedcanvas:copyToClipboard")} (Cmd/Ctrl+C)`,icon:y.jsx(o0,{}),onClick:k,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,tooltip:`${l("unifiedcanvas:downloadAsImage")} (Shift+D)`,icon:y.jsx(TP,{}),onClick:E,isDisabled:n})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(FY,{}),y.jsx($Y,{})]}),y.jsxs(oo,{isAttached:!0,children:[y.jsx(Qe,{"aria-label":`${l("common:upload")}`,tooltip:`${l("common:upload")}`,icon:y.jsx(Zx,{}),onClick:u,isDisabled:n}),y.jsx(Qe,{"aria-label":`${l("unifiedcanvas:clearCanvas")}`,tooltip:`${l("unifiedcanvas:clearCanvas")}`,icon:y.jsx(vp,{}),onClick:v,style:{backgroundColor:"var(--btn-delete-image)"},isDisabled:n})]}),y.jsx(oo,{isAttached:!0,children:y.jsx(sRe,{})})]})},fRe=at([sn],e=>{const{doesCanvasNeedScaling:t}=e;return{doesCanvasNeedScaling:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),hRe=()=>{const e=Me(),{doesCanvasNeedScaling:t}=he(fRe);return w.useLayoutEffect(()=>{e(vi(!0));const n=ke.debounce(()=>{e(vi(!0))},250);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),y.jsx("div",{className:"workarea-single-view",children:y.jsx("div",{className:"workarea-split-view-left",children:y.jsxs("div",{className:"inpainting-main-area",children:[y.jsx(dRe,{}),y.jsx("div",{className:"inpainting-canvas-area",children:t?y.jsx(BY,{}):y.jsx(jY,{})})]})})})},pRe=at(sn,e=>{const{boundingBoxDimensions:t,boundingBoxScaleMethod:n}=e;return{boundingBoxDimensions:t,boundingBoxScale:n}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),gRe=()=>{const e=Me(),{boundingBoxDimensions:t}=he(pRe),{t:n}=Ve(),r=s=>{e(Ev({...t,width:Math.floor(s)}))},i=s=>{e(Ev({...t,height:Math.floor(s)}))},o=()=>{e(Ev({...t,width:Math.floor(512)}))},a=()=>{e(Ev({...t,height:Math.floor(512)}))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(so,{label:n("parameters:width"),min:64,max:1024,step:64,value:t.width,onChange:r,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:o}),y.jsx(so,{label:n("parameters:height"),min:64,max:1024,step:64,value:t.height,onChange:i,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:a})]})},mRe=at([KP,ir,sn],(e,t,n)=>{const{tileSize:r,infillMethod:i}=e,{infill_methods:o}=t,{boundingBoxScaleMethod:a,scaledBoundingBoxDimensions:s}=n;return{boundingBoxScale:a,scaledBoundingBoxDimensions:s,tileSize:r,infillMethod:i,availableInfillMethods:o,isManual:a==="manual"}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),vRe=()=>{const e=Me(),{tileSize:t,infillMethod:n,availableInfillMethods:r,boundingBoxScale:i,isManual:o,scaledBoundingBoxDimensions:a}=he(mRe),{t:s}=Ve(),l=v=>{e(_b({...a,width:Math.floor(v)}))},u=v=>{e(_b({...a,height:Math.floor(v)}))},d=()=>{e(_b({...a,width:Math.floor(512)}))},h=()=>{e(_b({...a,height:Math.floor(512)}))},m=v=>{e(kxe(v.target.value))};return y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(tl,{label:s("parameters:scaleBeforeProcessing"),validValues:lxe,value:i,onChange:m}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledWidth"),min:64,max:1024,step:64,value:a.width,onChange:l,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:d}),y.jsx(so,{isInputDisabled:!o,isResetDisabled:!o,isSliderDisabled:!o,label:s("parameters:scaledHeight"),min:64,max:1024,step:64,value:a.height,onChange:u,sliderNumberInputProps:{max:4096},withSliderMarks:!0,withInput:!0,inputReadOnly:!0,withReset:!0,handleReset:h}),y.jsx(tl,{label:s("parameters:infillMethod"),value:n,validValues:r,onChange:v=>e(uU(v.target.value))}),y.jsx(so,{isInputDisabled:n!=="tile",isResetDisabled:n!=="tile",isSliderDisabled:n!=="tile",sliderMarkRightOffset:-4,label:s("parameters:tileSize"),min:16,max:64,sliderNumberInputProps:{max:256},value:t,onChange:v=>{e(HI(v))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(HI(32))}})]})};function yRe(){const e=Me(),t=he(r=>r.generation.seamBlur),{t:n}=Ve();return y.jsx(so,{sliderMarkRightOffset:-4,label:n("parameters:seamBlur"),min:0,max:64,sliderNumberInputProps:{max:512},value:t,onChange:r=>{e(BI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(BI(16))}})}function bRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamSize);return y.jsx(so,{sliderMarkRightOffset:-6,label:t("parameters:seamSize"),min:1,max:256,sliderNumberInputProps:{max:512},value:n,onChange:r=>{e($I(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>e($I(96))})}function SRe(){const{t:e}=Ve(),t=he(r=>r.generation.seamSteps),n=Me();return y.jsx(so,{sliderMarkRightOffset:-4,label:e("parameters:seamSteps"),min:1,max:100,sliderNumberInputProps:{max:999},value:t,onChange:r=>{n(FI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{n(FI(30))}})}function xRe(){const e=Me(),{t}=Ve(),n=he(r=>r.generation.seamStrength);return y.jsx(so,{sliderMarkRightOffset:-7,label:t("parameters:seamStrength"),min:.01,max:.99,step:.01,value:n,onChange:r=>{e(zI(r))},withInput:!0,withSliderMarks:!0,withReset:!0,handleReset:()=>{e(zI(.7))}})}const wRe=()=>y.jsxs(Ge,{direction:"column",gap:"1rem",children:[y.jsx(bRe,{}),y.jsx(yRe,{}),y.jsx(xRe,{}),y.jsx(SRe,{})]});function CRe(){const{t:e}=Ve(),t={boundingBox:{header:`${e("parameters:boundingBoxHeader")}`,feature:ao.BOUNDING_BOX,content:y.jsx(gRe,{})},seamCorrection:{header:`${e("parameters:seamCorrectionHeader")}`,feature:ao.SEAM_CORRECTION,content:y.jsx(wRe,{})},infillAndScaling:{header:`${e("parameters:infillScalingHeader")}`,feature:ao.INFILL_AND_SCALING,content:y.jsx(vRe,{})},seed:{header:`${e("parameters:seed")}`,feature:ao.SEED,content:y.jsx(VP,{})},variations:{header:`${e("parameters:variations")}`,feature:ao.VARIATIONS,content:y.jsx(UP,{}),additionalHeaderComponents:y.jsx(WP,{})}};return y.jsxs(eT,{children:[y.jsxs(Ge,{flexDir:"column",rowGap:"0.5rem",children:[y.jsx(JP,{}),y.jsx(QP,{})]}),y.jsx(ZP,{}),y.jsx(GP,{}),y.jsx(kY,{label:e("parameters:img2imgStrength"),styleClass:"main-settings-block image-to-image-strength-main-option"}),y.jsx(qP,{accordionInfo:t})]})}function _Re(){const e=he(t=>t.ui.shouldUseCanvasBetaLayout);return y.jsx(HP,{optionsPanel:y.jsx(CRe,{}),styleClass:"inpainting-workarea-overrides",children:e?y.jsx(rRe,{}):y.jsx(hRe,{})})}const es={txt2img:{title:y.jsx(r_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(gOe,{}),tooltip:"Text To Image"},img2img:{title:y.jsx(e_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(lOe,{}),tooltip:"Image To Image"},unifiedCanvas:{title:y.jsx(o_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(_Re,{}),tooltip:"Unified Canvas"},nodes:{title:y.jsx(t_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(X8e,{}),tooltip:"Nodes"},postprocess:{title:y.jsx(n_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Z8e,{}),tooltip:"Post Processing"},training:{title:y.jsx(i_e,{fill:"black",boxSize:"2.5rem"}),workarea:y.jsx(Q8e,{}),tooltip:"Training"}};function kRe(){es.txt2img.tooltip=zt.t("common:text2img"),es.img2img.tooltip=zt.t("common:img2img"),es.unifiedCanvas.tooltip=zt.t("common:unifiedCanvas"),es.nodes.tooltip=zt.t("common:nodes"),es.postprocess.tooltip=zt.t("common:postProcessing"),es.training.tooltip=zt.t("common:training")}function ERe(){const e=he(K8e),t=he(o=>o.lightbox.isLightboxOpen);J8e(kRe);const n=Me();Je("1",()=>{n(qo(0))}),Je("2",()=>{n(qo(1))}),Je("3",()=>{n(qo(2))}),Je("4",()=>{n(qo(3))}),Je("5",()=>{n(qo(4))}),Je("6",()=>{n(qo(5))}),Je("z",()=>{n(Bm(!t))},[t]);const r=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(uo,{hasArrow:!0,label:es[a].tooltip,placement:"right",children:y.jsx(oW,{children:es[a].title})},a))}),o},i=()=>{const o=[];return Object.keys(es).forEach(a=>{o.push(y.jsx(rW,{className:"app-tabs-panel",children:es[a].workarea},a))}),o};return y.jsxs(nW,{isLazy:!0,className:"app-tabs",variant:"unstyled",defaultIndex:e,index:e,onChange:o=>{n(qo(o))},children:[y.jsx("div",{className:"app-tabs-list",children:r()}),y.jsx(iW,{className:"app-tabs-panels",children:t?y.jsx(_Ae,{}):i()})]})}var PRe=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Uy(e,t){var n=TRe(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function TRe(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),i=PRe.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var LRe=[".DS_Store","Thumbs.db"];function ARe(e){return m0(this,void 0,void 0,function(){return v0(this,function(t){return dS(e)&&ORe(e.dataTransfer)?[2,DRe(e.dataTransfer,e.type)]:MRe(e)?[2,IRe(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,RRe(e)]:[2,[]]})})}function ORe(e){return dS(e)}function MRe(e){return dS(e)&&dS(e.target)}function dS(e){return typeof e=="object"&&e!==null}function IRe(e){return J8(e.target.files).map(function(t){return Uy(t)})}function RRe(e){return m0(this,void 0,void 0,function(){var t;return v0(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return Uy(r)})]}})})}function DRe(e,t){return m0(this,void 0,void 0,function(){var n,r;return v0(this,function(i){switch(i.label){case 0:return e.items?(n=J8(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(NRe))]):[3,2];case 1:return r=i.sent(),[2,cN(YY(r))];case 2:return[2,cN(J8(e.files).map(function(o){return Uy(o)}))]}})})}function cN(e){return e.filter(function(t){return LRe.indexOf(t.name)===-1})}function J8(e){if(e===null)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,gN(n)];if(e.sizen)return[!1,gN(n)]}return[!0,null]}function Sh(e){return e!=null}function QRe(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(l){var u=QY(l,n),d=ay(u,1),h=d[0],m=JY(l,r,i),v=ay(m,1),b=v[0],S=s?s(l):null;return h&&b&&!S})}function fS(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Xb(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function vN(e){e.preventDefault()}function JRe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function eDe(e){return e.indexOf("Edge/")!==-1}function tDe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return JRe(e)||eDe(e)}function Il(){for(var e=arguments.length,t=new Array(e),n=0;n1?i-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yDe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var lT=w.forwardRef(function(e,t){var n=e.children,r=hS(e,sDe),i=iK(r),o=i.open,a=hS(i,lDe);return w.useImperativeHandle(t,function(){return{open:o}},[o]),N.createElement(w.Fragment,null,n(Cr(Cr({},a),{},{open:o})))});lT.displayName="Dropzone";var rK={disabled:!1,getFilesFromEvent:ARe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};lT.defaultProps=rK;lT.propTypes={children:jn.func,accept:jn.objectOf(jn.arrayOf(jn.string)),multiple:jn.bool,preventDropOnDocument:jn.bool,noClick:jn.bool,noKeyboard:jn.bool,noDrag:jn.bool,noDragEventsBubbling:jn.bool,minSize:jn.number,maxSize:jn.number,maxFiles:jn.number,disabled:jn.bool,getFilesFromEvent:jn.func,onFileDialogCancel:jn.func,onFileDialogOpen:jn.func,useFsAccessApi:jn.bool,autoFocus:jn.bool,onDragEnter:jn.func,onDragLeave:jn.func,onDragOver:jn.func,onDrop:jn.func,onDropAccepted:jn.func,onDropRejected:jn.func,onError:jn.func,validator:jn.func};var r_={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function iK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Cr(Cr({},rK),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,m=t.onDrop,v=t.onDropAccepted,b=t.onDropRejected,S=t.onFileDialogCancel,k=t.onFileDialogOpen,E=t.useFsAccessApi,_=t.autoFocus,T=t.preventDropOnDocument,A=t.noClick,I=t.noKeyboard,R=t.noDrag,D=t.noDragEventsBubbling,j=t.onError,z=t.validator,V=w.useMemo(function(){return iDe(n)},[n]),K=w.useMemo(function(){return rDe(n)},[n]),te=w.useMemo(function(){return typeof k=="function"?k:bN},[k]),q=w.useMemo(function(){return typeof S=="function"?S:bN},[S]),$=w.useRef(null),U=w.useRef(null),X=w.useReducer(bDe,r_),Z=VC(X,2),W=Z[0],Q=Z[1],ie=W.isFocused,fe=W.isFileDialogActive,Se=w.useRef(typeof window<"u"&&window.isSecureContext&&E&&nDe()),Pe=function(){!Se.current&&fe&&setTimeout(function(){if(U.current){var Ne=U.current.files;Ne.length||(Q({type:"closeDialog"}),q())}},300)};w.useEffect(function(){return window.addEventListener("focus",Pe,!1),function(){window.removeEventListener("focus",Pe,!1)}},[U,fe,q,Se]);var ye=w.useRef([]),We=function(Ne){$.current&&$.current.contains(Ne.target)||(Ne.preventDefault(),ye.current=[])};w.useEffect(function(){return T&&(document.addEventListener("dragover",vN,!1),document.addEventListener("drop",We,!1)),function(){T&&(document.removeEventListener("dragover",vN),document.removeEventListener("drop",We))}},[$,T]),w.useEffect(function(){return!r&&_&&$.current&&$.current.focus(),function(){}},[$,_,r]);var De=w.useCallback(function(xe){j?j(xe):console.error(xe)},[j]),ot=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[].concat(dDe(ye.current),[xe.target]),Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){if(!(fS(xe)&&!D)){var Ct=Ne.length,Dt=Ct>0&&QRe({files:Ne,accept:V,minSize:a,maxSize:o,multiple:s,maxFiles:l,validator:z}),Te=Ct>0&&!Dt;Q({isDragAccept:Dt,isDragReject:Te,isDragActive:!0,type:"setDraggedFiles"}),u&&u(xe)}}).catch(function(Ne){return De(Ne)})},[i,u,De,D,V,a,o,s,l,z]),He=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=Xb(xe);if(Ne&&xe.dataTransfer)try{xe.dataTransfer.dropEffect="copy"}catch{}return Ne&&h&&h(xe),!1},[h,D]),Be=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe);var Ne=ye.current.filter(function(Dt){return $.current&&$.current.contains(Dt)}),Ct=Ne.indexOf(xe.target);Ct!==-1&&Ne.splice(Ct,1),ye.current=Ne,!(Ne.length>0)&&(Q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Xb(xe)&&d&&d(xe))},[$,d,D]),wt=w.useCallback(function(xe,Ne){var Ct=[],Dt=[];xe.forEach(function(Te){var At=QY(Te,V),$e=VC(At,2),vt=$e[0],tn=$e[1],Rn=JY(Te,a,o),Xe=VC(Rn,2),xt=Xe[0],ft=Xe[1],Ht=z?z(Te):null;if(vt&&xt&&!Ht)Ct.push(Te);else{var nn=[tn,ft];Ht&&(nn=nn.concat(Ht)),Dt.push({file:Te,errors:nn.filter(function(pr){return pr})})}}),(!s&&Ct.length>1||s&&l>=1&&Ct.length>l)&&(Ct.forEach(function(Te){Dt.push({file:Te,errors:[ZRe]})}),Ct.splice(0)),Q({acceptedFiles:Ct,fileRejections:Dt,type:"setFiles"}),m&&m(Ct,Dt,Ne),Dt.length>0&&b&&b(Dt,Ne),Ct.length>0&&v&&v(Ct,Ne)},[Q,s,V,a,o,l,m,v,b,z]),st=w.useCallback(function(xe){xe.preventDefault(),xe.persist(),ae(xe),ye.current=[],Xb(xe)&&Promise.resolve(i(xe)).then(function(Ne){fS(xe)&&!D||wt(Ne,xe)}).catch(function(Ne){return De(Ne)}),Q({type:"reset"})},[i,wt,De,D]),mt=w.useCallback(function(){if(Se.current){Q({type:"openDialog"}),te();var xe={multiple:s,types:K};window.showOpenFilePicker(xe).then(function(Ne){return i(Ne)}).then(function(Ne){wt(Ne,null),Q({type:"closeDialog"})}).catch(function(Ne){oDe(Ne)?(q(Ne),Q({type:"closeDialog"})):aDe(Ne)?(Se.current=!1,U.current?(U.current.value=null,U.current.click()):De(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):De(Ne)});return}U.current&&(Q({type:"openDialog"}),te(),U.current.value=null,U.current.click())},[Q,te,q,E,wt,De,K,s]),St=w.useCallback(function(xe){!$.current||!$.current.isEqualNode(xe.target)||(xe.key===" "||xe.key==="Enter"||xe.keyCode===32||xe.keyCode===13)&&(xe.preventDefault(),mt())},[$,mt]),Le=w.useCallback(function(){Q({type:"focus"})},[]),lt=w.useCallback(function(){Q({type:"blur"})},[]),Mt=w.useCallback(function(){A||(tDe()?setTimeout(mt,0):mt())},[A,mt]),ut=function(Ne){return r?null:Ne},_t=function(Ne){return I?null:ut(Ne)},ln=function(Ne){return R?null:ut(Ne)},ae=function(Ne){D&&Ne.stopPropagation()},Re=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.role,Te=xe.onKeyDown,At=xe.onFocus,$e=xe.onBlur,vt=xe.onClick,tn=xe.onDragEnter,Rn=xe.onDragOver,Xe=xe.onDragLeave,xt=xe.onDrop,ft=hS(xe,uDe);return Cr(Cr(n_({onKeyDown:_t(Il(Te,St)),onFocus:_t(Il(At,Le)),onBlur:_t(Il($e,lt)),onClick:ut(Il(vt,Mt)),onDragEnter:ln(Il(tn,ot)),onDragOver:ln(Il(Rn,He)),onDragLeave:ln(Il(Xe,Be)),onDrop:ln(Il(xt,st)),role:typeof Dt=="string"&&Dt!==""?Dt:"presentation"},Ct,$),!r&&!I?{tabIndex:0}:{}),ft)}},[$,St,Le,lt,Mt,ot,He,Be,st,I,R,r]),Ye=w.useCallback(function(xe){xe.stopPropagation()},[]),Ke=w.useMemo(function(){return function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ne=xe.refKey,Ct=Ne===void 0?"ref":Ne,Dt=xe.onChange,Te=xe.onClick,At=hS(xe,cDe),$e=n_({accept:V,multiple:s,type:"file",style:{display:"none"},onChange:ut(Il(Dt,st)),onClick:ut(Il(Te,Ye)),tabIndex:-1},Ct,U);return Cr(Cr({},$e),At)}},[U,n,s,st,r]);return Cr(Cr({},W),{},{isFocused:ie&&!r,getRootProps:Re,getInputProps:Ke,rootRef:$,inputRef:U,open:ut(mt)})}function bDe(e,t){switch(t.type){case"focus":return Cr(Cr({},e),{},{isFocused:!0});case"blur":return Cr(Cr({},e),{},{isFocused:!1});case"openDialog":return Cr(Cr({},r_),{},{isFileDialogActive:!0});case"closeDialog":return Cr(Cr({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Cr(Cr({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Cr(Cr({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Cr({},r_);default:return e}}function bN(){}const SDe=e=>{const{isDragAccept:t,isDragReject:n,overlaySecondaryText:r,setIsHandlingUpload:i}=e;return Je("esc",()=>{i(!1)}),y.jsxs("div",{className:"dropzone-container",children:[t&&y.jsx("div",{className:"dropzone-overlay is-drag-accept",children:y.jsxs(Dh,{size:"lg",children:["Upload Image",r]})}),n&&y.jsxs("div",{className:"dropzone-overlay is-drag-reject",children:[y.jsx(Dh,{size:"lg",children:"Invalid Upload"}),y.jsx(Dh,{size:"md",children:"Must be single JPEG or PNG image"})]})]})},xDe=e=>{const{children:t}=e,n=Me(),r=he(Or),i=Ry({}),{t:o}=Ve(),[a,s]=w.useState(!1),{setOpenUploader:l}=xP(),u=w.useCallback(T=>{s(!0);const A=T.errors.reduce((I,R)=>`${I} +${R.message}`,"");i({title:o("toast:uploadFailed"),description:A,status:"error",isClosable:!0})},[o,i]),d=w.useCallback(async T=>{n(fD({imageFile:T}))},[n]),h=w.useCallback((T,A)=>{A.forEach(I=>{u(I)}),T.forEach(I=>{d(I)})},[d,u]),{getRootProps:m,getInputProps:v,isDragAccept:b,isDragReject:S,isDragActive:k,open:E}=iK({accept:{"image/png":[".png"],"image/jpeg":[".jpg",".jpeg",".png"]},noClick:!0,onDrop:h,onDragOver:()=>s(!0),maxFiles:1});l(E),w.useEffect(()=>{const T=A=>{var j;const I=(j=A.clipboardData)==null?void 0:j.items;if(!I)return;const R=[];for(const z of I)z.kind==="file"&&["image/png","image/jpg"].includes(z.type)&&R.push(z);if(!R.length)return;if(A.stopImmediatePropagation(),R.length>1){i({description:o("toast:uploadFailedMultipleImagesDesc"),status:"error",isClosable:!0});return}const D=R[0].getAsFile();if(!D){i({description:o("toast:uploadFailedUnableToLoadDesc"),status:"error",isClosable:!0});return}n(fD({imageFile:D}))};return document.addEventListener("paste",T),()=>{document.removeEventListener("paste",T)}},[o,n,i,r]);const _=["img2img","unifiedCanvas"].includes(r)?` to ${es[r].tooltip}`:"";return y.jsx(SP.Provider,{value:E,children:y.jsxs("div",{...m({style:{}}),onKeyDown:T=>{T.key},children:[y.jsx("input",{...v()}),t,k&&a&&y.jsx(SDe,{isDragAccept:b,isDragReject:S,overlaySecondaryText:_,setIsHandlingUpload:s})]})})},wDe=at(ir,e=>e.log,{memoizeOptions:{resultEqualityCheck:(e,t)=>e.length===t.length}}),CDe=at(ir,e=>({shouldShowLogViewer:e.shouldShowLogViewer,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),_De=()=>{const e=Me(),t=he(wDe),{shouldShowLogViewer:n,hasError:r,wasErrorSeen:i}=he(CDe),[o,a]=w.useState(!0),s=w.useRef(null);w.useLayoutEffect(()=>{s.current!==null&&o&&(s.current.scrollTop=s.current.scrollHeight)},[o,t,n]);const l=()=>{e($U()),e(CC(!n))};Je("`",()=>{e(CC(!n))},[n]),Je("esc",()=>{e(CC(!1))});const u=()=>{s.current&&o&&s.current.scrollTop{const{timestamp:m,message:v,level:b}=d;return y.jsxs("div",{className:`console-entry console-${b}-color`,children:[y.jsxs("p",{className:"console-timestamp",children:[m,":"]}),y.jsx("p",{className:"console-message",children:v})]},h)})})}),n&&y.jsx(uo,{hasArrow:!0,label:o?"Autoscroll On":"Autoscroll Off",children:y.jsx(ss,{className:"console-autoscroll-icon-button","data-autoscroll-enabled":o,size:"sm","aria-label":"Toggle autoscroll",variant:"solid",icon:y.jsx(Qke,{}),onClick:()=>a(!o)})}),y.jsx(uo,{hasArrow:!0,label:n?"Hide Console":"Show Console",children:y.jsx(ss,{className:"console-toggle-icon-button","data-error-seen":r||!i,size:"sm",position:"fixed",variant:"solid","aria-label":"Toggle Log Viewer",icon:n?y.jsx(hEe,{}):y.jsx(pq,{}),onClick:l})})]})},kDe=at(ir,e=>({isProcessing:e.isProcessing,currentStep:e.currentStep,totalSteps:e.totalSteps,currentStatusHasSteps:e.currentStatusHasSteps}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),EDe=()=>{const{isProcessing:e,currentStep:t,totalSteps:n,currentStatusHasSteps:r}=he(kDe),i=t?Math.round(t*100/n):0;return y.jsx(BV,{value:i,isIndeterminate:e&&!r,className:"progress-bar"})};function PDe(e){const{title:t,hotkey:n,description:r}=e;return y.jsxs("div",{className:"hotkey-modal-item",children:[y.jsxs("div",{className:"hotkey-info",children:[y.jsx("p",{className:"hotkey-title",children:t}),r&&y.jsx("p",{className:"hotkey-description",children:r})]}),y.jsx("div",{className:"hotkey-key",children:n})]})}function TDe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),{t:i}=Ve(),o=[{title:i("hotkeys:invoke.title"),desc:i("hotkeys:invoke.desc"),hotkey:"Ctrl+Enter"},{title:i("hotkeys:cancel.title"),desc:i("hotkeys:cancel.desc"),hotkey:"Shift+X"},{title:i("hotkeys:focusPrompt.title"),desc:i("hotkeys:focusPrompt.desc"),hotkey:"Alt+A"},{title:i("hotkeys:toggleOptions.title"),desc:i("hotkeys:toggleOptions.desc"),hotkey:"O"},{title:i("hotkeys:pinOptions.title"),desc:i("hotkeys:pinOptions.desc"),hotkey:"Shift+O"},{title:i("hotkeys:toggleViewer.title"),desc:i("hotkeys:toggleViewer.desc"),hotkey:"Z"},{title:i("hotkeys:toggleGallery.title"),desc:i("hotkeys:toggleGallery.desc"),hotkey:"G"},{title:i("hotkeys:maximizeWorkSpace.title"),desc:i("hotkeys:maximizeWorkSpace.desc"),hotkey:"F"},{title:i("hotkeys:changeTabs.title"),desc:i("hotkeys:changeTabs.desc"),hotkey:"1-5"},{title:i("hotkeys:consoleToggle.title"),desc:i("hotkeys:consoleToggle.desc"),hotkey:"`"}],a=[{title:i("hotkeys:setPrompt.title"),desc:i("hotkeys:setPrompt.desc"),hotkey:"P"},{title:i("hotkeys:setSeed.title"),desc:i("hotkeys:setSeed.desc"),hotkey:"S"},{title:i("hotkeys:setParameters.title"),desc:i("hotkeys:setParameters.desc"),hotkey:"A"},{title:i("hotkeys:restoreFaces.title"),desc:i("hotkeys:restoreFaces.desc"),hotkey:"Shift+R"},{title:i("hotkeys:upscale.title"),desc:i("hotkeys:upscale.desc"),hotkey:"Shift+U"},{title:i("hotkeys:showInfo.title"),desc:i("hotkeys:showInfo.desc"),hotkey:"I"},{title:i("hotkeys:sendToImageToImage.title"),desc:i("hotkeys:sendToImageToImage.desc"),hotkey:"Shift+I"},{title:i("hotkeys:deleteImage.title"),desc:i("hotkeys:deleteImage.desc"),hotkey:"Del"},{title:i("hotkeys:closePanels.title"),desc:i("hotkeys:closePanels.desc"),hotkey:"Esc"}],s=[{title:i("hotkeys:previousImage.title"),desc:i("hotkeys:previousImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextImage.title"),desc:i("hotkeys:nextImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:toggleGalleryPin.title"),desc:i("hotkeys:toggleGalleryPin.desc"),hotkey:"Shift+G"},{title:i("hotkeys:increaseGalleryThumbSize.title"),desc:i("hotkeys:increaseGalleryThumbSize.desc"),hotkey:"Shift+Up"},{title:i("hotkeys:decreaseGalleryThumbSize.title"),desc:i("hotkeys:decreaseGalleryThumbSize.desc"),hotkey:"Shift+Down"}],l=[{title:i("hotkeys:selectBrush.title"),desc:i("hotkeys:selectBrush.desc"),hotkey:"B"},{title:i("hotkeys:selectEraser.title"),desc:i("hotkeys:selectEraser.desc"),hotkey:"E"},{title:i("hotkeys:decreaseBrushSize.title"),desc:i("hotkeys:decreaseBrushSize.desc"),hotkey:"["},{title:i("hotkeys:increaseBrushSize.title"),desc:i("hotkeys:increaseBrushSize.desc"),hotkey:"]"},{title:i("hotkeys:decreaseBrushOpacity.title"),desc:i("hotkeys:decreaseBrushOpacity.desc"),hotkey:"Shift + ["},{title:i("hotkeys:increaseBrushOpacity.title"),desc:i("hotkeys:increaseBrushOpacity.desc"),hotkey:"Shift + ]"},{title:i("hotkeys:moveTool.title"),desc:i("hotkeys:moveTool.desc"),hotkey:"V"},{title:i("hotkeys:fillBoundingBox.title"),desc:i("hotkeys:fillBoundingBox.desc"),hotkey:"Shift + F"},{title:i("hotkeys:eraseBoundingBox.title"),desc:i("hotkeys:eraseBoundingBox.desc"),hotkey:"Delete / Backspace"},{title:i("hotkeys:colorPicker.title"),desc:i("hotkeys:colorPicker.desc"),hotkey:"C"},{title:i("hotkeys:toggleSnap.title"),desc:i("hotkeys:toggleSnap.desc"),hotkey:"N"},{title:i("hotkeys:quickToggleMove.title"),desc:i("hotkeys:quickToggleMove.desc"),hotkey:"Hold Space"},{title:i("hotkeys:toggleLayer.title"),desc:i("hotkeys:toggleLayer.desc"),hotkey:"Q"},{title:i("hotkeys:clearMask.title"),desc:i("hotkeys:clearMask.desc"),hotkey:"Shift+C"},{title:i("hotkeys:hideMask.title"),desc:i("hotkeys:hideMask.desc"),hotkey:"H"},{title:i("hotkeys:showHideBoundingBox.title"),desc:i("hotkeys:showHideBoundingBox.desc"),hotkey:"Shift+H"},{title:i("hotkeys:mergeVisible.title"),desc:i("hotkeys:mergeVisible.desc"),hotkey:"Shift+M"},{title:i("hotkeys:saveToGallery.title"),desc:i("hotkeys:saveToGallery.desc"),hotkey:"Shift+S"},{title:i("hotkeys:copyToClipboard.title"),desc:i("hotkeys:copyToClipboard.desc"),hotkey:"Ctrl+C"},{title:i("hotkeys:downloadImage.title"),desc:i("hotkeys:downloadImage.desc"),hotkey:"Shift+D"},{title:i("hotkeys:undoStroke.title"),desc:i("hotkeys:undoStroke.desc"),hotkey:"Ctrl+Z"},{title:i("hotkeys:redoStroke.title"),desc:i("hotkeys:redoStroke.desc"),hotkey:"Ctrl+Shift+Z, Ctrl+Y"},{title:i("hotkeys:resetView.title"),desc:i("hotkeys:resetView.desc"),hotkey:"R"},{title:i("hotkeys:previousStagingImage.title"),desc:i("hotkeys:previousStagingImage.desc"),hotkey:"Arrow Left"},{title:i("hotkeys:nextStagingImage.title"),desc:i("hotkeys:nextStagingImage.desc"),hotkey:"Arrow Right"},{title:i("hotkeys:acceptStagingImage.title"),desc:i("hotkeys:acceptStagingImage.desc"),hotkey:"Enter"}],u=d=>{const h=[];return d.forEach((m,v)=>{h.push(y.jsx(PDe,{title:m.title,description:m.desc,hotkey:m.hotkey},v))}),y.jsx("div",{className:"hotkey-modal-category",children:h})};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:" modal hotkeys-modal",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx("h1",{children:"Keyboard Shorcuts"}),y.jsx("div",{className:"hotkeys-modal-items",children:y.jsxs(ok,{allowMultiple:!0,children:[y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:appHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(o)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:generalHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(a)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:galleryHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(s)})]}),y.jsxs(Gg,{children:[y.jsxs(Wg,{className:"hotkeys-modal-button",children:[y.jsx("h2",{children:i("hotkeys:unifiedCanvasHotkeys")}),y.jsx(Ug,{})]}),y.jsx(qg,{children:u(l)})]})]})})]})]})]})}var SN=Array.isArray,xN=Object.keys,LDe=Object.prototype.hasOwnProperty,ADe=typeof Element<"u";function i_(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=SN(e),r=SN(t),i,o,a;if(n&&r){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!i_(e[i],t[i]))return!1;return!0}if(n!=r)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var h=xN(e);if(o=h.length,o!==xN(t).length)return!1;for(i=o;i--!==0;)if(!LDe.call(t,h[i]))return!1;if(ADe&&e instanceof Element&&t instanceof Element)return e===t;for(i=o;i--!==0;)if(a=h[i],!(a==="_owner"&&e.$$typeof)&&!i_(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var md=function(t,n){try{return i_(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}},ODe=function(t){return MDe(t)&&!IDe(t)};function MDe(e){return!!e&&typeof e=="object"}function IDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||NDe(e)}var RDe=typeof Symbol=="function"&&Symbol.for,DDe=RDe?Symbol.for("react.element"):60103;function NDe(e){return e.$$typeof===DDe}function jDe(e){return Array.isArray(e)?[]:{}}function pS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?sy(jDe(e),e,t):e}function BDe(e,t,n){return e.concat(t).map(function(r){return pS(r,n)})}function $De(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(i){r[i]=pS(e[i],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=pS(t[i],n):r[i]=sy(e[i],t[i],n)}),r}function sy(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||BDe,n.isMergeableObject=n.isMergeableObject||ODe;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):$De(e,t,n):pS(t,n)}sy.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return sy(r,i,n)},{})};var o_=sy,FDe=typeof global=="object"&&global&&global.Object===Object&&global;const oK=FDe;var zDe=typeof self=="object"&&self&&self.Object===Object&&self,HDe=oK||zDe||Function("return this")();const mu=HDe;var VDe=mu.Symbol;const ef=VDe;var aK=Object.prototype,WDe=aK.hasOwnProperty,UDe=aK.toString,gv=ef?ef.toStringTag:void 0;function GDe(e){var t=WDe.call(e,gv),n=e[gv];try{e[gv]=void 0;var r=!0}catch{}var i=UDe.call(e);return r&&(t?e[gv]=n:delete e[gv]),i}var qDe=Object.prototype,YDe=qDe.toString;function KDe(e){return YDe.call(e)}var XDe="[object Null]",ZDe="[object Undefined]",wN=ef?ef.toStringTag:void 0;function xp(e){return e==null?e===void 0?ZDe:XDe:wN&&wN in Object(e)?GDe(e):KDe(e)}function sK(e,t){return function(n){return e(t(n))}}var QDe=sK(Object.getPrototypeOf,Object);const uT=QDe;function wp(e){return e!=null&&typeof e=="object"}var JDe="[object Object]",eNe=Function.prototype,tNe=Object.prototype,lK=eNe.toString,nNe=tNe.hasOwnProperty,rNe=lK.call(Object);function CN(e){if(!wp(e)||xp(e)!=JDe)return!1;var t=uT(e);if(t===null)return!0;var n=nNe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&lK.call(n)==rNe}function iNe(){this.__data__=[],this.size=0}function uK(e,t){return e===t||e!==e&&t!==t}function cw(e,t){for(var n=e.length;n--;)if(uK(e[n][0],t))return n;return-1}var oNe=Array.prototype,aNe=oNe.splice;function sNe(e){var t=this.__data__,n=cw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():aNe.call(t,n,1),--this.size,!0}function lNe(e){var t=this.__data__,n=cw(t,e);return n<0?void 0:t[n][1]}function uNe(e){return cw(this.__data__,e)>-1}function cNe(e,t){var n=this.__data__,r=cw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=vje}var yje="[object Arguments]",bje="[object Array]",Sje="[object Boolean]",xje="[object Date]",wje="[object Error]",Cje="[object Function]",_je="[object Map]",kje="[object Number]",Eje="[object Object]",Pje="[object RegExp]",Tje="[object Set]",Lje="[object String]",Aje="[object WeakMap]",Oje="[object ArrayBuffer]",Mje="[object DataView]",Ije="[object Float32Array]",Rje="[object Float64Array]",Dje="[object Int8Array]",Nje="[object Int16Array]",jje="[object Int32Array]",Bje="[object Uint8Array]",$je="[object Uint8ClampedArray]",Fje="[object Uint16Array]",zje="[object Uint32Array]",sr={};sr[Ije]=sr[Rje]=sr[Dje]=sr[Nje]=sr[jje]=sr[Bje]=sr[$je]=sr[Fje]=sr[zje]=!0;sr[yje]=sr[bje]=sr[Oje]=sr[Sje]=sr[Mje]=sr[xje]=sr[wje]=sr[Cje]=sr[_je]=sr[kje]=sr[Eje]=sr[Pje]=sr[Tje]=sr[Lje]=sr[Aje]=!1;function Hje(e){return wp(e)&&mK(e.length)&&!!sr[xp(e)]}function cT(e){return function(t){return e(t)}}var vK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f2=vK&&typeof module=="object"&&module&&!module.nodeType&&module,Vje=f2&&f2.exports===vK,UC=Vje&&oK.process,Wje=function(){try{var e=f2&&f2.require&&f2.require("util").types;return e||UC&&UC.binding&&UC.binding("util")}catch{}}();const u0=Wje;var LN=u0&&u0.isTypedArray,Uje=LN?cT(LN):Hje;const Gje=Uje;var qje=Object.prototype,Yje=qje.hasOwnProperty;function yK(e,t){var n=qy(e),r=!n&&lje(e),i=!n&&!r&&gK(e),o=!n&&!r&&!i&&Gje(e),a=n||r||i||o,s=a?rje(e.length,String):[],l=s.length;for(var u in e)(t||Yje.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mje(u,l)))&&s.push(u);return s}var Kje=Object.prototype;function dT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Kje;return e===n}var Xje=sK(Object.keys,Object);const Zje=Xje;var Qje=Object.prototype,Jje=Qje.hasOwnProperty;function eBe(e){if(!dT(e))return Zje(e);var t=[];for(var n in Object(e))Jje.call(e,n)&&n!="constructor"&&t.push(n);return t}function bK(e){return e!=null&&mK(e.length)&&!cK(e)}function fT(e){return bK(e)?yK(e):eBe(e)}function tBe(e,t){return e&&fw(t,fT(t),e)}function nBe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var rBe=Object.prototype,iBe=rBe.hasOwnProperty;function oBe(e){if(!Gy(e))return nBe(e);var t=dT(e),n=[];for(var r in e)r=="constructor"&&(t||!iBe.call(e,r))||n.push(r);return n}function hT(e){return bK(e)?yK(e,!0):oBe(e)}function aBe(e,t){return e&&fw(t,hT(t),e)}var SK=typeof exports=="object"&&exports&&!exports.nodeType&&exports,AN=SK&&typeof module=="object"&&module&&!module.nodeType&&module,sBe=AN&&AN.exports===SK,ON=sBe?mu.Buffer:void 0,MN=ON?ON.allocUnsafe:void 0;function lBe(e,t){if(t)return e.slice();var n=e.length,r=MN?MN(n):new e.constructor(n);return e.copy(r),r}function xK(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[i]=e[i]);return n}function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var KN=function(t){return Array.isArray(t)&&t.length===0},Go=function(t){return typeof t=="function"},hw=function(t){return t!==null&&typeof t=="object"},aFe=function(t){return String(Math.floor(Number(t)))===t},GC=function(t){return Object.prototype.toString.call(t)==="[object String]"},MK=function(t){return w.Children.count(t)===0},qC=function(t){return hw(t)&&Go(t.then)};function Vi(e,t,n,r){r===void 0&&(r=0);for(var i=OK(t);e&&r=0?[]:{}}}return(o===0?e:i)[a[o]]===n?e:(n===void 0?delete i[a[o]]:i[a[o]]=n,o===0&&n===void 0&&delete r[a[o]],r)}function IK(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,o=Object.keys(e);i0?Re.map(function(Ke){return j(Ke,Vi(ae,Ke))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(Ye).then(function(Ke){return Ke.reduce(function(xe,Ne,Ct){return Ne==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Ne&&(xe=iu(xe,Re[Ct],Ne)),xe},{})})},[j]),V=w.useCallback(function(ae){return Promise.all([z(ae),m.validationSchema?D(ae):{},m.validate?R(ae):{}]).then(function(Re){var Ye=Re[0],Ke=Re[1],xe=Re[2],Ne=o_.all([Ye,Ke,xe],{arrayMerge:fFe});return Ne})},[m.validate,m.validationSchema,z,R,D]),K=Ka(function(ae){return ae===void 0&&(ae=A.values),I({type:"SET_ISVALIDATING",payload:!0}),V(ae).then(function(Re){return E.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:Re})),Re})});w.useEffect(function(){a&&E.current===!0&&md(v.current,m.initialValues)&&K(v.current)},[a,K]);var te=w.useCallback(function(ae){var Re=ae&&ae.values?ae.values:v.current,Ye=ae&&ae.errors?ae.errors:b.current?b.current:m.initialErrors||{},Ke=ae&&ae.touched?ae.touched:S.current?S.current:m.initialTouched||{},xe=ae&&ae.status?ae.status:k.current?k.current:m.initialStatus;v.current=Re,b.current=Ye,S.current=Ke,k.current=xe;var Ne=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!ae&&!!ae.isSubmitting,errors:Ye,touched:Ke,status:xe,values:Re,isValidating:!!ae&&!!ae.isValidating,submitCount:ae&&ae.submitCount&&typeof ae.submitCount=="number"?ae.submitCount:0}})};if(m.onReset){var Ct=m.onReset(A.values,st);qC(Ct)?Ct.then(Ne):Ne()}else Ne()},[m.initialErrors,m.initialStatus,m.initialTouched]);w.useEffect(function(){E.current===!0&&!md(v.current,m.initialValues)&&(u&&(v.current=m.initialValues,te()),a&&K(v.current))},[u,m.initialValues,te,a,K]),w.useEffect(function(){u&&E.current===!0&&!md(b.current,m.initialErrors)&&(b.current=m.initialErrors||uh,I({type:"SET_ERRORS",payload:m.initialErrors||uh}))},[u,m.initialErrors]),w.useEffect(function(){u&&E.current===!0&&!md(S.current,m.initialTouched)&&(S.current=m.initialTouched||Zb,I({type:"SET_TOUCHED",payload:m.initialTouched||Zb}))},[u,m.initialTouched]),w.useEffect(function(){u&&E.current===!0&&!md(k.current,m.initialStatus)&&(k.current=m.initialStatus,I({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]);var q=Ka(function(ae){if(_.current[ae]&&Go(_.current[ae].validate)){var Re=Vi(A.values,ae),Ye=_.current[ae].validate(Re);return qC(Ye)?(I({type:"SET_ISVALIDATING",payload:!0}),Ye.then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ye}}),Promise.resolve(Ye))}else if(m.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),D(A.values,ae).then(function(Ke){return Ke}).then(function(Ke){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Ke[ae]}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),$=w.useCallback(function(ae,Re){var Ye=Re.validate;_.current[ae]={validate:Ye}},[]),U=w.useCallback(function(ae){delete _.current[ae]},[]),X=Ka(function(ae,Re){I({type:"SET_TOUCHED",payload:ae});var Ye=Re===void 0?i:Re;return Ye?K(A.values):Promise.resolve()}),Z=w.useCallback(function(ae){I({type:"SET_ERRORS",payload:ae})},[]),W=Ka(function(ae,Re){var Ye=Go(ae)?ae(A.values):ae;I({type:"SET_VALUES",payload:Ye});var Ke=Re===void 0?n:Re;return Ke?K(Ye):Promise.resolve()}),Q=w.useCallback(function(ae,Re){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:Re}})},[]),ie=Ka(function(ae,Re,Ye){I({type:"SET_FIELD_VALUE",payload:{field:ae,value:Re}});var Ke=Ye===void 0?n:Ye;return Ke?K(iu(A.values,ae,Re)):Promise.resolve()}),fe=w.useCallback(function(ae,Re){var Ye=Re,Ke=ae,xe;if(!GC(ae)){ae.persist&&ae.persist();var Ne=ae.target?ae.target:ae.currentTarget,Ct=Ne.type,Dt=Ne.name,Te=Ne.id,At=Ne.value,$e=Ne.checked,vt=Ne.outerHTML,tn=Ne.options,Rn=Ne.multiple;Ye=Re||Dt||Te,Ke=/number|range/.test(Ct)?(xe=parseFloat(At),isNaN(xe)?"":xe):/checkbox/.test(Ct)?pFe(Vi(A.values,Ye),$e,At):tn&&Rn?hFe(tn):At}Ye&&ie(Ye,Ke)},[ie,A.values]),Se=Ka(function(ae){if(GC(ae))return function(Re){return fe(Re,ae)};fe(ae)}),Pe=Ka(function(ae,Re,Ye){Re===void 0&&(Re=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:ae,value:Re}});var Ke=Ye===void 0?i:Ye;return Ke?K(A.values):Promise.resolve()}),ye=w.useCallback(function(ae,Re){ae.persist&&ae.persist();var Ye=ae.target,Ke=Ye.name,xe=Ye.id,Ne=Ye.outerHTML,Ct=Re||Ke||xe;Pe(Ct,!0)},[Pe]),We=Ka(function(ae){if(GC(ae))return function(Re){return ye(Re,ae)};ye(ae)}),De=w.useCallback(function(ae){Go(ae)?I({type:"SET_FORMIK_STATE",payload:ae}):I({type:"SET_FORMIK_STATE",payload:function(){return ae}})},[]),ot=w.useCallback(function(ae){I({type:"SET_STATUS",payload:ae})},[]),He=w.useCallback(function(ae){I({type:"SET_ISSUBMITTING",payload:ae})},[]),Be=Ka(function(){return I({type:"SUBMIT_ATTEMPT"}),K().then(function(ae){var Re=ae instanceof Error,Ye=!Re&&Object.keys(ae).length===0;if(Ye){var Ke;try{if(Ke=mt(),Ke===void 0)return}catch(xe){throw xe}return Promise.resolve(Ke).then(function(xe){return E.current&&I({type:"SUBMIT_SUCCESS"}),xe}).catch(function(xe){if(E.current)throw I({type:"SUBMIT_FAILURE"}),xe})}else if(E.current&&(I({type:"SUBMIT_FAILURE"}),Re))throw ae})}),wt=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),Be().catch(function(Re){console.warn("Warning: An unhandled error was caught from submitForm()",Re)})}),st={resetForm:te,validateForm:K,validateField:q,setErrors:Z,setFieldError:Q,setFieldTouched:Pe,setFieldValue:ie,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,setFormikState:De,submitForm:Be},mt=Ka(function(){return d(A.values,st)}),St=Ka(function(ae){ae&&ae.preventDefault&&Go(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&Go(ae.stopPropagation)&&ae.stopPropagation(),te()}),Le=w.useCallback(function(ae){return{value:Vi(A.values,ae),error:Vi(A.errors,ae),touched:!!Vi(A.touched,ae),initialValue:Vi(v.current,ae),initialTouched:!!Vi(S.current,ae),initialError:Vi(b.current,ae)}},[A.errors,A.touched,A.values]),lt=w.useCallback(function(ae){return{setValue:function(Ye,Ke){return ie(ae,Ye,Ke)},setTouched:function(Ye,Ke){return Pe(ae,Ye,Ke)},setError:function(Ye){return Q(ae,Ye)}}},[ie,Pe,Q]),Mt=w.useCallback(function(ae){var Re=hw(ae),Ye=Re?ae.name:ae,Ke=Vi(A.values,Ye),xe={name:Ye,value:Ke,onChange:Se,onBlur:We};if(Re){var Ne=ae.type,Ct=ae.value,Dt=ae.as,Te=ae.multiple;Ne==="checkbox"?Ct===void 0?xe.checked=!!Ke:(xe.checked=!!(Array.isArray(Ke)&&~Ke.indexOf(Ct)),xe.value=Ct):Ne==="radio"?(xe.checked=Ke===Ct,xe.value=Ct):Dt==="select"&&Te&&(xe.value=xe.value||[],xe.multiple=!0)}return xe},[We,Se,A.values]),ut=w.useMemo(function(){return!md(v.current,A.values)},[v.current,A.values]),_t=w.useMemo(function(){return typeof s<"u"?ut?A.errors&&Object.keys(A.errors).length===0:s!==!1&&Go(s)?s(m):s:A.errors&&Object.keys(A.errors).length===0},[s,ut,A.errors,m]),ln=Gn({},A,{initialValues:v.current,initialErrors:b.current,initialTouched:S.current,initialStatus:k.current,handleBlur:We,handleChange:Se,handleReset:St,handleSubmit:wt,resetForm:te,setErrors:Z,setFormikState:De,setFieldTouched:Pe,setFieldValue:ie,setFieldError:Q,setStatus:ot,setSubmitting:He,setTouched:X,setValues:W,submitForm:Be,validateForm:K,validateField:q,isValid:_t,dirty:ut,unregisterField:U,registerField:$,getFieldProps:Mt,getFieldMeta:Le,getFieldHelpers:lt,validateOnBlur:i,validateOnChange:n,validateOnMount:a});return ln}function Yy(e){var t=uFe(e),n=e.component,r=e.children,i=e.render,o=e.innerRef;return w.useImperativeHandle(o,function(){return t}),w.createElement(sFe,{value:t},n?w.createElement(n,t):i?i(t):r?Go(r)?r(t):MK(r)?null:w.Children.only(r):null)}function cFe(e){var t={};if(e.inner){if(e.inner.length===0)return iu(t,e.path,e.message);for(var i=e.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;Vi(t,a.path)||(t=iu(t,a.path,a.message))}}return t}function dFe(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=c_(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}function c_(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(i){return Array.isArray(i)===!0||CN(i)?c_(i):i!==""?i:void 0}):CN(e[r])?t[r]=c_(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function fFe(e,t,n){var r=e.slice();return t.forEach(function(o,a){if(typeof r[a]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(o);r[a]=l?o_(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[a]=o_(e[a],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function hFe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function pFe(e,t,n){if(typeof e=="boolean")return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),i=o>=0;else if(!n||n=="true"||n=="false")return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}var gFe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?w.useLayoutEffect:w.useEffect;function Ka(e){var t=w.useRef(e);return gFe(function(){t.current=e}),w.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;ir?i:r},0);return Array.from(Gn({},t,{length:n+1}))}else return[]},SFe=function(e){oFe(t,e);function t(r){var i;return i=e.call(this,r)||this,i.updateArrayField=function(o,a,s){var l=i.props,u=l.name,d=l.formik.setFormikState;d(function(h){var m=typeof s=="function"?s:o,v=typeof a=="function"?a:o,b=iu(h.values,u,o(Vi(h.values,u))),S=s?m(Vi(h.errors,u)):void 0,k=a?v(Vi(h.touched,u)):void 0;return KN(S)&&(S=void 0),KN(k)&&(k=void 0),Gn({},h,{values:b,errors:s?iu(h.errors,u,S):h.errors,touched:a?iu(h.touched,u,k):h.touched})})},i.push=function(o){return i.updateArrayField(function(a){return[].concat(c0(a),[iFe(o)])},!1,!1)},i.handlePush=function(o){return function(){return i.push(o)}},i.swap=function(o,a){return i.updateArrayField(function(s){return yFe(s,o,a)},!0,!0)},i.handleSwap=function(o,a){return function(){return i.swap(o,a)}},i.move=function(o,a){return i.updateArrayField(function(s){return vFe(s,o,a)},!0,!0)},i.handleMove=function(o,a){return function(){return i.move(o,a)}},i.insert=function(o,a){return i.updateArrayField(function(s){return YC(s,o,a)},function(s){return YC(s,o,null)},function(s){return YC(s,o,null)})},i.handleInsert=function(o,a){return function(){return i.insert(o,a)}},i.replace=function(o,a){return i.updateArrayField(function(s){return bFe(s,o,a)},!1,!1)},i.handleReplace=function(o,a){return function(){return i.replace(o,a)}},i.unshift=function(o){var a=-1;return i.updateArrayField(function(s){var l=s?[o].concat(s):[o];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l},function(s){var l=s?[null].concat(s):[null];return a<0&&(a=l.length),l}),a},i.handleUnshift=function(o){return function(){return i.unshift(o)}},i.handleRemove=function(o){return function(){return i.remove(o)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(YN(i)),i.pop=i.pop.bind(YN(i)),i}var n=t.prototype;return n.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!md(Vi(i.formik.values,i.name),Vi(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(i){var o;return this.updateArrayField(function(a){var s=a?c0(a):[];return o||(o=s[i]),Go(s.splice)&&s.splice(i,1),s},!0,!0),o},n.pop=function(){var i;return this.updateArrayField(function(o){var a=o;return i||(i=a&&a.pop&&a.pop()),a},!0,!0),i},n.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},o=this.props,a=o.component,s=o.render,l=o.children,u=o.name,d=o.formik,h=Lh(d,["validate","validationSchema"]),m=Gn({},i,{form:h,name:u});return a?w.createElement(a,m):s?s(m):l?typeof l=="function"?l(m):MK(l)?null:w.Children.only(l):null},t}(w.Component);SFe.defaultProps={validateOnChange:!0};const xFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),XN=64,ZN=2048;function wFe(){const{openModel:e,model_list:t}=he(xFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,default:!1,format:"ckpt"});w.useEffect(()=>{var l,u,d,h,m,v,b;if(e){const S=ke.pickBy(t,(k,E)=>ke.isEqual(E,e));a({name:e,description:(l=S[e])==null?void 0:l.description,config:(u=S[e])==null?void 0:u.config,weights:(d=S[e])==null?void 0:d.weights,vae:(h=S[e])==null?void 0:h.vae,width:(m=S[e])==null?void 0:m.width,height:(v=S[e])==null?void 0:v.height,default:(b=S[e])==null?void 0:b.default,format:"ckpt"})}},[t,e]);const s=l=>{r($y({...l,width:Number(l.width),height:Number(l.height)}))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.config&&d.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"lg"}),u.config&&d.config?y.jsx(ur,{children:u.config}):y.jsx(lr,{margin:0,children:i("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.weights&&d.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"lg"}),u.weights&&d.weights?y.jsx(ur,{children:u.weights}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.vae&&d.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"lg"}),u.vae&&d.vae?y.jsx(ur,{children:u.vae}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!u.width&&d.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:i("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:h,form:m})=>y.jsx(ra,{id:"width",name:"width",min:XN,max:ZN,step:64,value:m.values.width,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.width&&d.width?y.jsx(ur,{children:u.width}):y.jsx(lr,{margin:0,children:i("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.height&&d.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:i("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:h,form:m})=>y.jsx(ra,{id:"height",name:"height",min:XN,max:ZN,step:64,value:m.values.height,onChange:v=>m.setFieldValue(h.name,Number(v))})}),u.height&&d.height?y.jsx(ur,{children:u.height}):y.jsx(lr,{margin:0,children:i("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const CFe=at([ir],e=>{const{openModel:t,model_list:n}=e;return{model_list:n,openModel:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function _Fe(){const{openModel:e,model_list:t}=he(CFe),n=he(l=>l.system.isProcessing),r=Me(),{t:i}=Ve(),[o,a]=w.useState({name:"",description:"",repo_id:"",path:"",vae:{repo_id:"",path:""},default:!1,format:"diffusers"});w.useEffect(()=>{var l,u,d,h,m,v,b,S,k,E,_,T,A,I,R,D;if(e){const j=ke.pickBy(t,(z,V)=>ke.isEqual(V,e));a({name:e,description:(l=j[e])==null?void 0:l.description,path:(u=j[e])!=null&&u.path&&((d=j[e])==null?void 0:d.path)!=="None"?(h=j[e])==null?void 0:h.path:"",repo_id:(m=j[e])!=null&&m.repo_id&&((v=j[e])==null?void 0:v.repo_id)!=="None"?(b=j[e])==null?void 0:b.repo_id:"",vae:{repo_id:(k=(S=j[e])==null?void 0:S.vae)!=null&&k.repo_id?(_=(E=j[e])==null?void 0:E.vae)==null?void 0:_.repo_id:"",path:(A=(T=j[e])==null?void 0:T.vae)!=null&&A.path?(R=(I=j[e])==null?void 0:I.vae)==null?void 0:R.path:""},default:(D=j[e])==null?void 0:D.default,format:"diffusers"})}},[t,e]);const s=l=>{const u=l;l.path===""&&delete u.path,l.repo_id===""&&delete u.repo_id,l.vae.path===""&&delete u.vae.path,l.vae.repo_id===""&&delete u.vae.repo_id,r($y(l))};return e?y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",width:"100%",children:[y.jsx(Ge,{alignItems:"center",children:y.jsx(fn,{fontSize:"lg",fontWeight:"bold",children:e})}),y.jsx(Ge,{flexDirection:"column",maxHeight:window.innerHeight-270,overflowY:"scroll",paddingRight:"2rem",children:y.jsx(Yy,{enableReinitialize:!0,initialValues:o,onSubmit:s,children:({handleSubmit:l,errors:u,touched:d})=>{var h,m,v,b,S,k,E,_,T,A;return y.jsx("form",{onSubmit:l,children:y.jsxs(yn,{rowGap:"0.5rem",alignItems:"start",children:[y.jsxs(dn,{isInvalid:!!u.description&&d.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:i("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"lg"}),u.description&&d.description?y.jsx(ur,{children:u.description}):y.jsx(lr,{margin:0,children:i("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.path&&d.path,isRequired:!0,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:i("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"lg"}),u.path&&d.path?y.jsx(ur,{children:u.path}):y.jsx(lr,{margin:0,children:i("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!u.repo_id&&d.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:i("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"lg"}),u.repo_id&&d.repo_id?y.jsx(ur,{children:u.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:repoIDValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((h=u.vae)!=null&&h.path)&&((m=d.vae)==null?void 0:m.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:i("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"lg"}),(v=u.vae)!=null&&v.path&&((b=d.vae)!=null&&b.path)?y.jsx(ur,{children:(S=u.vae)==null?void 0:S.path}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((k=u.vae)!=null&&k.repo_id)&&((E=d.vae)==null?void 0:E.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:i("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"lg"}),(_=u.vae)!=null&&_.repo_id&&((T=d.vae)!=null&&T.repo_id)?y.jsx(ur,{children:(A=u.vae)==null?void 0:A.repo_id}):y.jsx(lr,{margin:0,children:i("modelmanager:vaeRepoIDValidationMsg")})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:i("modelmanager:updateModel")})]})})}})})]}):y.jsx(Ge,{width:"100%",justifyContent:"center",alignItems:"center",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",children:y.jsx(fn,{fontWeight:"bold",color:"var(--subtext-color-bright)",children:"Pick A Model To Edit"})})}const DK=at([ir],e=>{const{model_list:t}=e,n=[];return ke.forEach(t,r=>{n.push(r.weights)}),n});function kFe(){const{t:e}=Ve();return y.jsx(ko,{position:"absolute",zIndex:2,right:4,top:4,fontSize:"0.7rem",fontWeight:"bold",backgroundColor:"var(--accent-color)",padding:"0.2rem 0.5rem",borderRadius:"0.2rem",alignItems:"center",children:e("modelmanager:modelExists")})}function QN({model:e,modelsToAdd:t,setModelsToAdd:n}){const r=he(DK),i=o=>{t.includes(o.target.value)?n(ke.remove(t,a=>a!==o.target.value)):n([...t,o.target.value])};return y.jsxs(ko,{position:"relative",children:[r.includes(e.location)?y.jsx(kFe,{}):null,y.jsx(er,{value:e.name,label:y.jsx(y.Fragment,{children:y.jsxs(yn,{alignItems:"start",children:[y.jsx("p",{style:{fontWeight:"bold"},children:e.name}),y.jsx("p",{style:{fontStyle:"italic"},children:e.location})]})}),isChecked:t.includes(e.name),isDisabled:r.includes(e.location),onChange:i,padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",_checked:{backgroundColor:"var(--accent-color)",color:"var(--text-color)"},_disabled:{backgroundColor:"var(--background-color-secondary)"}})]})}function EFe(){const e=Me(),{t}=Ve(),n=he(S=>S.system.searchFolder),r=he(S=>S.system.foundModels),i=he(DK),o=he(S=>S.ui.shouldShowExistingModelsInSearch),a=he(S=>S.system.isProcessing),[s,l]=N.useState([]),u=()=>{e(FU(null)),e(zU(null)),l([])},d=S=>{e(cD(S.checkpointFolder))},h=()=>{l([]),r&&r.forEach(S=>{i.includes(S.location)||l(k=>[...k,S.name])})},m=()=>{l([])},v=()=>{const S=r==null?void 0:r.filter(k=>s.includes(k.name));S==null||S.forEach(k=>{const E={name:k.name,description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:k.location,vae:"",width:512,height:512,default:!1,format:"ckpt"};e($y(E))}),l([])},b=()=>{const S=[],k=[];return r&&r.forEach((E,_)=>{i.includes(E.location)?k.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_)):S.push(y.jsx(QN,{model:E,modelsToAdd:s,setModelsToAdd:l},_))}),y.jsxs(y.Fragment,{children:[S,o&&k]})};return y.jsxs(y.Fragment,{children:[n?y.jsxs(Ge,{flexDirection:"column",padding:"1rem",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",rowGap:"0.5rem",position:"relative",children:[y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",backgroundColor:"var(--background-color-secondary)",padding:"0.2rem 1rem",width:"max-content",borderRadius:"0.2rem"},children:t("modelmanager:checkpointFolder")}),y.jsx("p",{style:{fontWeight:"bold",fontSize:"0.8rem",maxWidth:"80%"},children:n}),y.jsx(Qe,{"aria-label":t("modelmanager:scanAgain"),tooltip:t("modelmanager:scanAgain"),icon:y.jsx(Wx,{}),position:"absolute",right:16,fontSize:18,disabled:a,onClick:()=>e(cD(n))}),y.jsx(Qe,{"aria-label":t("modelmanager:clearCheckpointFolder"),icon:y.jsx(zy,{style:{transform:"rotate(45deg)"}}),position:"absolute",right:5,onClick:u})]}):y.jsx(Yy,{initialValues:{checkpointFolder:""},onSubmit:S=>{d(S)},children:({handleSubmit:S})=>y.jsx("form",{onSubmit:S,children:y.jsxs(wy,{columnGap:"0.5rem",children:[y.jsx(dn,{isRequired:!0,width:"max-content",children:y.jsx(dr,{as:kr,id:"checkpointFolder",name:"checkpointFolder",type:"text",width:"lg",size:"md",label:t("modelmanager:checkpointFolder")})}),y.jsx(Qe,{icon:y.jsx(zEe,{}),"aria-label":t("modelmanager:findModels"),tooltip:t("modelmanager:findModels"),type:"submit",disabled:a})]})})}),r&&y.jsxs(Ge,{flexDirection:"column",rowGap:"1rem",children:[y.jsxs(Ge,{justifyContent:"space-between",alignItems:"center",children:[y.jsxs("p",{children:[t("modelmanager:modelsFound"),": ",r.length]}),y.jsxs("p",{children:[t("modelmanager:selected"),": ",s.length]})]}),y.jsxs(Ge,{columnGap:"0.5rem",justifyContent:"space-between",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(cr,{isDisabled:s.length===r.length,onClick:h,children:t("modelmanager:selectAll")}),y.jsx(cr,{isDisabled:s.length===0,onClick:m,children:t("modelmanager:deselectAll")}),y.jsx(er,{label:t("modelmanager:showExisting"),isChecked:o,onChange:()=>e(fCe(!o))})]}),y.jsx(cr,{isDisabled:s.length===0,onClick:v,backgroundColor:s.length>0?"var(--accent-color) !important":"",children:t("modelmanager:addSelected")})]}),y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",maxHeight:"18rem",overflowY:"scroll",paddingRight:"1rem",paddingLeft:"0.2rem",borderRadius:"0.2rem",children:[r.length>0?s.length===0&&y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",margin:"0 0.5rem 0 1rem",textAlign:"center",backgroundColor:"var(--notice-color)",boxShadow:"0 0 200px 6px var(--notice-color)",marginTop:"1rem",width:"max-content",children:t("modelmanager:selectAndAdd")}):y.jsx(fn,{fontWeight:"bold",fontSize:14,padding:"0.5rem",borderRadius:"0.2rem",textAlign:"center",backgroundColor:"var(--status-bad-color)",children:t("modelmanager:noModelsFound")}),b()]})]})]})}const JN=64,ej=2048;function PFe(){const e=Me(),{t}=Ve(),n=he(u=>u.system.isProcessing);function r(u){return/\s/.test(u)}function i(u){let d;return r(u)&&(d=t("modelmanager:cannotUseSpaces")),d}const o={name:"",description:"",config:"configs/stable-diffusion/v1-inference.yaml",weights:"",vae:"",width:512,height:512,format:"ckpt",default:!1},a=u=>{e($y(u)),e(zh(null))},[s,l]=N.useState(!1);return y.jsxs(y.Fragment,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(EFe,{}),y.jsx(er,{label:t("modelmanager:addManually"),isChecked:s,onChange:()=>l(!s)}),s&&y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:u,errors:d,touched:h})=>y.jsx("form",{onSubmit:u,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(fn,{fontSize:20,fontWeight:"bold",alignSelf:"start",children:t("modelmanager:manual")}),y.jsxs(dn,{isInvalid:!!d.name&&h.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl"}),d.name&&h.name?y.jsx(ur,{children:d.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.description&&h.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl"}),d.description&&h.description?y.jsx(ur,{children:d.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.config&&h.config,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:config")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"config",name:"config",type:"text",width:"2xl"}),d.config&&h.config?y.jsx(ur,{children:d.config}):y.jsx(lr,{margin:0,children:t("modelmanager:configValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.weights&&h.weights,isRequired:!0,children:[y.jsx(kn,{htmlFor:"config",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"weights",name:"weights",type:"text",width:"2xl"}),d.weights&&h.weights?y.jsx(ur,{children:d.weights}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.vae&&h.vae,children:[y.jsx(kn,{htmlFor:"vae",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae",name:"vae",type:"text",width:"2xl"}),d.vae&&h.vae?y.jsx(ur,{children:d.vae}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(wy,{width:"100%",children:[y.jsxs(dn,{isInvalid:!!d.width&&h.width,children:[y.jsx(kn,{htmlFor:"width",fontSize:"sm",children:t("modelmanager:width")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"width",name:"width",children:({field:m,form:v})=>y.jsx(ra,{id:"width",name:"width",min:JN,max:ej,step:64,width:"90%",value:v.values.width,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.width&&h.width?y.jsx(ur,{children:d.width}):y.jsx(lr,{margin:0,children:t("modelmanager:widthValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!d.height&&h.height,children:[y.jsx(kn,{htmlFor:"height",fontSize:"sm",children:t("modelmanager:height")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{id:"height",name:"height",children:({field:m,form:v})=>y.jsx(ra,{id:"height",name:"height",min:JN,max:ej,width:"90%",step:64,value:v.values.height,onChange:b=>v.setFieldValue(m.name,Number(b))})}),d.height&&h.height?y.jsx(ur,{children:d.height}):y.jsx(lr,{margin:0,children:t("modelmanager:heightValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})})]})}function Qb({children:e}){return y.jsx(Ge,{flexDirection:"column",backgroundColor:"var(--background-color)",padding:"1rem 1rem",borderRadius:"0.5rem",rowGap:"1rem",width:"100%",children:e})}function TFe(){const e=Me(),{t}=Ve(),n=he(s=>s.system.isProcessing);function r(s){return/\s/.test(s)}function i(s){let l;return r(s)&&(l=t("modelmanager:cannotUseSpaces")),l}const o={name:"",description:"",repo_id:"",path:"",format:"diffusers",default:!1,vae:{repo_id:"",path:""}},a=s=>{const l=s;s.path===""&&delete l.path,s.repo_id===""&&delete l.repo_id,s.vae.path===""&&delete l.vae.path,s.vae.repo_id===""&&delete l.vae.repo_id,e($y(l)),e(zh(null))};return y.jsxs(Ge,{children:[y.jsx(Qe,{"aria-label":t("common:back"),tooltip:t("common:back"),onClick:()=>e(zh(null)),width:"max-content",position:"absolute",zIndex:1,size:"sm",right:12,top:3,icon:y.jsx(XG,{})}),y.jsx(Yy,{initialValues:o,onSubmit:a,children:({handleSubmit:s,errors:l,touched:u})=>{var d,h,m,v,b,S,k,E,_,T;return y.jsx("form",{onSubmit:s,children:y.jsxs(yn,{rowGap:"0.5rem",children:[y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.name&&u.name,isRequired:!0,children:[y.jsx(kn,{htmlFor:"name",fontSize:"sm",children:t("modelmanager:name")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"name",name:"name",type:"text",validate:i,width:"2xl",isRequired:!0}),l.name&&u.name?y.jsx(ur,{children:l.name}):y.jsx(lr,{margin:0,children:t("modelmanager:nameValidationMsg")})]})]})}),y.jsx(Qb,{children:y.jsxs(dn,{isInvalid:!!l.description&&u.description,isRequired:!0,children:[y.jsx(kn,{htmlFor:"description",fontSize:"sm",children:t("modelmanager:description")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"description",name:"description",type:"text",width:"2xl",isRequired:!0}),l.description&&u.description?y.jsx(ur,{children:l.description}):y.jsx(lr,{margin:0,children:t("modelmanager:descriptionValidationMsg")})]})]})}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",fontSize:"sm",children:t("modelmanager:formMessageDiffusersModelLocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersModelLocationDesc")}),y.jsxs(dn,{isInvalid:!!l.path&&u.path,children:[y.jsx(kn,{htmlFor:"path",fontSize:"sm",children:t("modelmanager:modelLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"path",name:"path",type:"text",width:"2xl"}),l.path&&u.path?y.jsx(ur,{children:l.path}):y.jsx(lr,{margin:0,children:t("modelmanager:modelLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!l.repo_id&&u.repo_id,children:[y.jsx(kn,{htmlFor:"repo_id",fontSize:"sm",children:t("modelmanager:repo_id")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"repo_id",name:"repo_id",type:"text",width:"2xl"}),l.repo_id&&u.repo_id?y.jsx(ur,{children:l.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:repoIDValidationMsg")})]})]})]}),y.jsxs(Qb,{children:[y.jsx(fn,{fontWeight:"bold",children:t("modelmanager:formMessageDiffusersVAELocation")}),y.jsx(fn,{fontSize:"sm",fontStyle:"italic",color:"var(--text-color-secondary)",children:t("modelmanager:formMessageDiffusersVAELocationDesc")}),y.jsxs(dn,{isInvalid:!!((d=l.vae)!=null&&d.path)&&((h=u.vae)==null?void 0:h.path),children:[y.jsx(kn,{htmlFor:"vae.path",fontSize:"sm",children:t("modelmanager:vaeLocation")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.path",name:"vae.path",type:"text",width:"2xl"}),(m=l.vae)!=null&&m.path&&((v=u.vae)!=null&&v.path)?y.jsx(ur,{children:(b=l.vae)==null?void 0:b.path}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeLocationValidationMsg")})]})]}),y.jsxs(dn,{isInvalid:!!((S=l.vae)!=null&&S.repo_id)&&((k=u.vae)==null?void 0:k.repo_id),children:[y.jsx(kn,{htmlFor:"vae.repo_id",fontSize:"sm",children:t("modelmanager:vaeRepoID")}),y.jsxs(yn,{alignItems:"start",children:[y.jsx(dr,{as:kr,id:"vae.repo_id",name:"vae.repo_id",type:"text",width:"2xl"}),(E=l.vae)!=null&&E.repo_id&&((_=u.vae)!=null&&_.repo_id)?y.jsx(ur,{children:(T=l.vae)==null?void 0:T.repo_id}):y.jsx(lr,{margin:0,children:t("modelmanager:vaeRepoIDValidationMsg")})]})]})]}),y.jsx(cr,{type:"submit",className:"modal-close-btn",isLoading:n,children:t("modelmanager:addModel")})]})})}})]})}function tj({text:e,onClick:t}){return y.jsx(Ge,{position:"relative",width:"50%",height:"200px",backgroundColor:"var(--background-color)",borderRadius:"0.5rem",justifyContent:"center",alignItems:"center",_hover:{cursor:"pointer",backgroundColor:"var(--accent-color)"},onClick:t,children:y.jsx(fn,{fontWeight:"bold",children:e})})}function LFe(){const{isOpen:e,onOpen:t,onClose:n}=Wh(),r=he(s=>s.ui.addNewModelUIOption),i=Me(),{t:o}=Ve(),a=()=>{n(),i(zh(null))};return y.jsxs(y.Fragment,{children:[y.jsx(cr,{"aria-label":o("modelmanager:addNewModel"),tooltip:o("modelmanager:addNewModel"),onClick:t,className:"modal-close-btn",size:"sm",children:y.jsxs(Ge,{columnGap:"0.5rem",alignItems:"center",children:[y.jsx(zy,{}),o("modelmanager:addNew")]})}),y.jsxs(Yd,{isOpen:e,onClose:a,size:"3xl",closeOnOverlayClick:!1,children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal add-model-modal",fontFamily:"Inter",children:[y.jsx(w0,{children:o("modelmanager:addNewModel")}),y.jsx(Ly,{marginTop:"0.3rem"}),y.jsxs(n0,{className:"add-model-modal-body",children:[r==null&&y.jsxs(Ge,{columnGap:"1rem",children:[y.jsx(tj,{text:o("modelmanager:addCheckpointModel"),onClick:()=>i(zh("ckpt"))}),y.jsx(tj,{text:o("modelmanager:addDiffuserModel"),onClick:()=>i(zh("diffusers"))})]}),r=="ckpt"&&y.jsx(PFe,{}),r=="diffusers"&&y.jsx(TFe,{})]})]})]})]})}function Jb(e){const{isProcessing:t,isConnected:n}=he(v=>v.system),r=he(v=>v.system.openModel),{t:i}=Ve(),o=Me(),{name:a,status:s,description:l}=e,u=()=>{o(VG(a))},d=()=>{o(LR(a))},h=()=>{o($8e(a)),o(LR(null))},m=()=>{switch(s){case"active":return"var(--status-good-color)";case"cached":return"var(--status-working-color)";case"not loaded":return"var(--text-color-secondary)"}};return y.jsxs(Ge,{alignItems:"center",padding:"0.5rem 0.5rem",borderRadius:"0.2rem",backgroundColor:a===r?"var(--accent-color)":"",_hover:{backgroundColor:a===r?"var(--accent-color)":"var(--background-color)"},children:[y.jsx(ko,{onClick:d,cursor:"pointer",children:y.jsx(uo,{label:l,hasArrow:!0,placement:"bottom",children:y.jsx(fn,{fontWeight:"bold",children:a})})}),y.jsx(fF,{onClick:d,cursor:"pointer"}),y.jsxs(Ge,{gap:2,alignItems:"center",children:[y.jsx(fn,{color:m(),children:s}),y.jsx(as,{size:"sm",onClick:u,isDisabled:s==="active"||t||!n,className:"modal-close-btn",children:i("modelmanager:load")}),y.jsx(Qe,{icon:y.jsx(LEe,{}),size:"sm",onClick:d,"aria-label":"Modify Config",isDisabled:s==="active"||t||!n,className:" modal-close-btn"}),y.jsx(oT,{title:i("modelmanager:deleteModel"),acceptCallback:h,acceptButtonText:i("modelmanager:delete"),triggerComponent:y.jsx(Qe,{icon:y.jsx(TEe,{}),size:"sm","aria-label":i("modelmanager:deleteConfig"),isDisabled:s==="active"||t||!n,className:" modal-close-btn",style:{backgroundColor:"var(--btn-delete-image)"}}),children:y.jsxs(Ge,{rowGap:"1rem",flexDirection:"column",children:[y.jsx("p",{style:{fontWeight:"bold"},children:i("modelmanager:deleteMsg1")}),y.jsx("p",{style:{color:"var(--text-color-secondary"},children:i("modelmanager:deleteMsg2")})]})})]})]})}const AFe=at(ir,e=>ke.map(e.model_list,(n,r)=>({name:r,...n})),{memoizeOptions:{resultEqualityCheck:ke.isEqual}});function KC({label:e,isActive:t,onClick:n}){return y.jsx(cr,{onClick:n,isActive:t,_active:{backgroundColor:"var(--accent-color)",_hover:{backgroundColor:"var(--accent-color)"}},size:"sm",children:e})}const OFe=()=>{const e=he(AFe),[t,n]=w.useState(""),[r,i]=w.useState("all"),[o,a]=w.useTransition(),{t:s}=Ve(),l=d=>{a(()=>{n(d.target.value)})},u=w.useMemo(()=>{const d=[],h=[],m=[],v=[];return e.forEach((b,S)=>{b.name.toLowerCase().includes(t.toLowerCase())&&(m.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)),b.format===r&&v.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))),b.format!=="diffusers"?d.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S)):h.push(y.jsx(Jb,{name:b.name,status:b.status,description:b.description},S))}),t!==""?r==="all"?y.jsx(ko,{marginTop:"1rem",children:m}):y.jsx(ko,{marginTop:"1rem",children:v}):y.jsxs(Ge,{flexDirection:"column",rowGap:"1.5rem",children:[r==="all"&&y.jsxs(y.Fragment,{children:[y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",margin:"1rem 0",width:"max-content",fontSize:"14",children:s("modelmanager:checkpointModels")}),d]}),y.jsxs(ko,{children:[y.jsx(fn,{fontWeight:"bold",backgroundColor:"var(--background-color)",padding:"0.5rem 1rem",borderRadius:"0.5rem",marginBottom:"0.5rem",width:"max-content",fontSize:"14",children:s("modelmanager:diffusersModels")}),h]})]}),r==="ckpt"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:d}),r==="diffusers"&&y.jsx(Ge,{flexDirection:"column",marginTop:"1rem",children:h})]})},[e,t,s,r]);return y.jsxs(Ge,{flexDirection:"column",rowGap:"2rem",width:"50%",minWidth:"50%",children:[y.jsxs(Ge,{justifyContent:"space-between",children:[y.jsx(fn,{fontSize:"1.4rem",fontWeight:"bold",children:s("modelmanager:availableModels")}),y.jsx(LFe,{})]}),y.jsx(kr,{onChange:l,label:s("modelmanager:search")}),y.jsxs(Ge,{flexDirection:"column",gap:1,maxHeight:window.innerHeight-360,overflow:"scroll",paddingRight:"1rem",children:[y.jsxs(Ge,{columnGap:"0.5rem",children:[y.jsx(KC,{label:s("modelmanager:allModels"),onClick:()=>i("all"),isActive:r==="all"}),y.jsx(KC,{label:s("modelmanager:checkpointModels"),onClick:()=>i("ckpt"),isActive:r==="ckpt"}),y.jsx(KC,{label:s("modelmanager:diffusersModels"),onClick:()=>i("diffusers"),isActive:r==="diffusers"})]}),u]})]})};function MFe({children:e}){const{isOpen:t,onOpen:n,onClose:r}=Wh(),i=he(s=>s.system.model_list),o=he(s=>s.system.openModel),{t:a}=Ve();return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:n}),y.jsxs(Yd,{isOpen:t,onClose:r,size:"6xl",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal",fontFamily:"Inter",children:[y.jsx(Ly,{className:"modal-close-btn"}),y.jsx(w0,{fontWeight:"bold",children:a("modelmanager:modelManager")}),y.jsxs(Ge,{padding:"0 1.5rem 1.5rem 1.5rem",width:"100%",columnGap:"2rem",children:[y.jsx(OFe,{}),o&&i[o].format==="diffusers"?y.jsx(_Fe,{}):y.jsx(wFe,{})]})]})]})]})}const IFe=at([ir],e=>{const{isProcessing:t,model_list:n}=e;return{models:ke.map(n,(i,o)=>o),isProcessing:t}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),RFe=()=>{const e=Me(),{models:t,isProcessing:n}=he(IFe),r=he(qG),i=o=>{e(VG(o.target.value))};return y.jsx(Ge,{style:{paddingLeft:"0.3rem"},children:y.jsx(tl,{style:{fontSize:"0.8rem"},tooltip:r.description,isDisabled:n,value:r.name,validValues:t,onChange:i})})},DFe=at([ir,mp],(e,t)=>{const{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,model_list:o,saveIntermediatesInterval:a,enableImageDebugging:s}=e,{shouldUseCanvasBetaLayout:l}=t;return{shouldDisplayInProgressType:n,shouldConfirmOnDelete:r,shouldDisplayGuides:i,models:ke.map(o,(u,d)=>d),saveIntermediatesInterval:a,enableImageDebugging:s,shouldUseCanvasBetaLayout:l}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),NFe=({children:e})=>{const t=Me(),{t:n}=Ve(),r=he(_=>_.generation.steps),{isOpen:i,onOpen:o,onClose:a}=Wh(),{isOpen:s,onOpen:l,onClose:u}=Wh(),{shouldDisplayInProgressType:d,shouldConfirmOnDelete:h,shouldDisplayGuides:m,saveIntermediatesInterval:v,enableImageDebugging:b,shouldUseCanvasBetaLayout:S}=he(DFe),k=()=>{GG.purge().then(()=>{a(),l()})},E=_=>{_>r&&(_=r),_<1&&(_=1),t(Q6e(_))};return y.jsxs(y.Fragment,{children:[w.cloneElement(e,{onClick:o}),y.jsxs(Yd,{isOpen:i,onClose:a,size:"lg",children:[y.jsx(Kd,{}),y.jsxs(Zh,{className:"modal settings-modal",children:[y.jsx(w0,{className:"settings-modal-header",children:n("common:settingsLabel")}),y.jsx(Ly,{className:"modal-close-btn"}),y.jsxs(n0,{className:"settings-modal-content",children:[y.jsxs("div",{className:"settings-modal-items",children:[y.jsxs("div",{className:"settings-modal-item",style:{gridAutoFlow:"row",rowGap:"0.5rem"},children:[y.jsx(tl,{label:n("settings:displayInProgress"),validValues:s7e,value:d,onChange:_=>t(U6e(_.target.value))}),d==="full-res"&&y.jsx(ra,{label:n("settings:saveSteps"),min:1,max:r,step:1,onChange:E,value:v,width:"auto",textAlign:"center"})]}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:confirmOnDelete"),isChecked:h,onChange:_=>t(BU(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:displayHelpIcons"),isChecked:m,onChange:_=>t(K6e(_.target.checked))}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:useCanvasBeta"),isChecked:S,onChange:_=>t(dCe(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-items",children:[y.jsx("h2",{style:{fontWeight:"bold"},children:"Developer"}),y.jsx(Vs,{styleClass:"settings-modal-item",label:n("settings:enableImageDebugging"),isChecked:b,onChange:_=>t(J6e(_.target.checked))})]}),y.jsxs("div",{className:"settings-modal-reset",children:[y.jsx(Dh,{size:"md",children:n("settings:resetWebUI")}),y.jsx(as,{colorScheme:"red",onClick:k,children:n("settings:resetWebUI")}),y.jsx(fn,{children:n("settings:resetWebUIDesc1")}),y.jsx(fn,{children:n("settings:resetWebUIDesc2")})]})]}),y.jsx(yx,{children:y.jsx(as,{onClick:a,className:"modal-close-btn",children:n("common:close")})})]})]}),y.jsxs(Yd,{closeOnOverlayClick:!1,isOpen:s,onClose:u,isCentered:!0,children:[y.jsx(Kd,{bg:"blackAlpha.300",backdropFilter:"blur(40px)"}),y.jsx(Zh,{children:y.jsx(n0,{pb:6,pt:6,children:y.jsx(Ge,{justifyContent:"center",children:y.jsx(fn,{fontSize:"lg",children:y.jsx(fn,{children:n("settings:resetComplete")})})})})})]})]})},jFe=at(ir,e=>({isConnected:e.isConnected,isProcessing:e.isProcessing,currentIteration:e.currentIteration,totalIterations:e.totalIterations,currentStatus:e.currentStatus,hasError:e.hasError,wasErrorSeen:e.wasErrorSeen}),{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),BFe=()=>{const{isConnected:e,isProcessing:t,currentIteration:n,totalIterations:r,currentStatus:i,hasError:o,wasErrorSeen:a}=he(jFe),s=Me(),{t:l}=Ve();let u;e&&!o?u="status-good":u="status-bad";let d=i;[l("common:statusGenerating"),l("common:statusPreparing"),l("common:statusSavingImage"),l("common:statusRestoringFaces"),l("common:statusUpscaling")].includes(d)&&(u="status-working"),d&&t&&r>1&&(d=`${l(d)} (${n}/${r})`);const m=o&&!a?"Click to clear, check logs for details":void 0,v=o&&!a?"pointer":"initial",b=()=>{(o||!a)&&s($U())};return y.jsx(uo,{label:m,children:y.jsx(fn,{cursor:v,onClick:b,className:`status ${u}`,children:l(d)})})};function $Fe(){const{t:e}=Ve(),{setColorMode:t,colorMode:n}=dy(),r=Me(),i=he(l=>l.ui.currentTheme),o={dark:e("common:darkTheme"),light:e("common:lightTheme"),green:e("common:greenTheme")};w.useEffect(()=>{n!==i&&t(i)},[t,n,i]);const a=l=>{r(aCe(l))},s=()=>{const l=[];return Object.keys(o).forEach(u=>{l.push(y.jsx(cr,{style:{width:"6rem"},leftIcon:i===u?y.jsx(PP,{}):void 0,size:"sm",onClick:()=>a(u),children:o[u]},u))}),l};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:themeLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(pEe,{})}),children:y.jsx(yn,{align:"stretch",children:s()})})}function FFe(){const{t:e,i18n:t}=Ve(),n={en:e("common:langEnglish"),nl:e("common:langDutch"),fr:e("common:langFrench"),de:e("common:langGerman"),it:e("common:langItalian"),ja:e("common:langJapanese"),pl:e("common:langPolish"),pt_br:e("common:langBrPortuguese"),ru:e("common:langRussian"),zh_cn:e("common:langSimplifiedChinese"),es:e("common:langSpanish"),ua:e("common:langUkranian")},r=()=>{const i=[];return Object.keys(n).forEach(o=>{i.push(y.jsx(cr,{"data-selected":localStorage.getItem("i18nextLng")===o,onClick:()=>t.changeLanguage(o),className:"modal-close-btn lang-select-btn","aria-label":n[o],tooltip:n[o],size:"sm",minWidth:"200px",children:n[o]},o))}),i};return y.jsx(Zs,{trigger:"hover",triggerComponent:y.jsx(Qe,{"aria-label":e("common:languagePickerLabel"),tooltip:e("common:languagePickerLabel"),icon:y.jsx(dEe,{}),size:"sm",variant:"link","data-variant":"link",fontSize:26}),children:y.jsx(yn,{children:r()})})}const zFe=()=>{const{t:e}=Ve(),t=he(n=>n.system.app_version);return y.jsxs("div",{className:"site-header",children:[y.jsxs("div",{className:"site-header-left-side",children:[y.jsx("img",{src:LY,alt:"invoke-ai-logo"}),y.jsxs(Ge,{alignItems:"center",columnGap:"0.6rem",children:[y.jsxs(fn,{fontSize:"1.4rem",children:["invoke ",y.jsx("strong",{children:"ai"})]}),y.jsx(fn,{fontWeight:"bold",color:"var(--text-color-secondary)",marginTop:"0.2rem",children:t})]})]}),y.jsxs("div",{className:"site-header-right-side",children:[y.jsx(BFe,{}),y.jsx(RFe,{}),y.jsx(MFe,{children:y.jsx(Qe,{"aria-label":e("modelmanager:modelManager"),tooltip:e("modelmanager:modelManager"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(rEe,{})})}),y.jsx(TDe,{children:y.jsx(Qe,{"aria-label":e("common:hotkeysLabel"),tooltip:e("common:hotkeysLabel"),size:"sm",variant:"link","data-variant":"link",fontSize:20,icon:y.jsx(cEe,{})})}),y.jsx($Fe,{}),y.jsx(FFe,{}),y.jsx(Qe,{"aria-label":e("common:reportBugLabel"),tooltip:e("common:reportBugLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI/issues",children:y.jsx(nEe,{})})}),y.jsx(Qe,{"aria-label":e("common:githubLabel"),tooltip:e("common:githubLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"http://github.com/invoke-ai/InvokeAI",children:y.jsx(Zke,{})})}),y.jsx(Qe,{"aria-label":e("common:discordLabel"),tooltip:e("common:discordLabel"),variant:"link","data-variant":"link",fontSize:20,size:"sm",icon:y.jsx(Nh,{isExternal:!0,href:"https://discord.gg/ZmtBAhwWhy",children:y.jsx(Xke,{})})}),y.jsx(NFe,{children:y.jsx(Qe,{"aria-label":e("common:settingsLabel"),tooltip:e("common:settingsLabel"),variant:"link","data-variant":"link",fontSize:22,size:"sm",icon:y.jsx(VEe,{})})})]})]})};function HFe(){async function e(n=""){return await fetch(n,{method:"GET",cache:"no-cache"})}const t=()=>{const n=document.location;e(n+"/flaskwebgui-keep-server-alive").then(i=>i)};(!{}.NODE_ENV||{}.NODE_ENV==="production")&&document.addEventListener("DOMContentLoaded",()=>{t(),setInterval(t,3e3)})}const VFe=()=>{const e=Me(),t=he(a_e),n=Ry();w.useEffect(()=>{t.forEach(r=>{n(r)}),t.length>0&&e(tCe())},[e,n,t])},NK=at([yp,mp,Or],(e,t,n)=>{const{shouldPinParametersPanel:r,shouldShowParametersPanel:i,shouldHoldParametersPanelOpen:o,shouldUseCanvasBetaLayout:a}=t,{shouldShowGallery:s,shouldPinGallery:l,shouldHoldGalleryOpen:u}=e,d=a&&n==="unifiedCanvas",h=!d&&!(i||o&&!r)&&["txt2img","img2img","unifiedCanvas"].includes(n),m=!(s||u&&!l)&&["txt2img","img2img","unifiedCanvas"].includes(n);return{shouldPinParametersPanel:r,shouldShowProcessButtons:!d&&(!r||!i),shouldShowParametersPanelButton:h,shouldShowParametersPanel:i,shouldShowGallery:s,shouldPinGallery:l,shouldShowGalleryButton:m}},{memoizeOptions:{resultEqualityCheck:ke.isEqual}}),WFe=()=>{const e=Me(),{shouldShowParametersPanel:t,shouldShowParametersPanelButton:n,shouldShowProcessButtons:r,shouldPinParametersPanel:i,shouldShowGallery:o,shouldPinGallery:a}=he(NK),s=()=>{e(Ku(!0)),i&&setTimeout(()=>e(vi(!0)),400)};return Je("f",()=>{o||t?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(a||i)&&setTimeout(()=>e(vi(!0)),400)},[o,t]),n?y.jsxs("div",{className:"show-hide-button-options",children:[y.jsx(Qe,{tooltip:"Show Options Panel (O)",tooltipProps:{placement:"top"},"aria-label":"Show Options Panel",onClick:s,children:y.jsx(AP,{})}),r&&y.jsxs(y.Fragment,{children:[y.jsx(XP,{iconButton:!0}),y.jsx(YP,{})]})]}):null},UFe=()=>{const e=Me(),{shouldShowGallery:t,shouldShowGalleryButton:n,shouldPinGallery:r,shouldShowParametersPanel:i,shouldPinParametersPanel:o}=he(NK),a=()=>{e(Bd(!0)),r&&e(vi(!0))};return Je("f",()=>{t||i?(e(Ku(!1)),e(Bd(!1))):(e(Ku(!0)),e(Bd(!0))),(r||o)&&setTimeout(()=>e(vi(!0)),400)},[t,i]),n?y.jsx(Qe,{tooltip:"Show Gallery (G)",tooltipProps:{placement:"top"},"aria-label":"Show Gallery",styleClass:"floating-show-hide-button right show-hide-button-gallery",onClick:a,children:y.jsx(Tq,{})}):null};HFe();const GFe=()=>(VFe(),y.jsxs("div",{className:"App",children:[y.jsxs(xDe,{children:[y.jsx(EDe,{}),y.jsxs("div",{className:"app-content",children:[y.jsx(zFe,{}),y.jsx(ERe,{})]}),y.jsx("div",{className:"app-console",children:y.jsx(_De,{})})]}),y.jsx(WFe,{}),y.jsx(UFe,{})]})),nj=()=>y.jsx(Ge,{width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center",children:y.jsx(xy,{thickness:"2px",speed:"1s",emptyColor:"gray.200",color:"gray.400",size:"xl"})});const qFe=Aj({key:"invokeai-style-cache",prepend:!0});X9.createRoot(document.getElementById("root")).render(y.jsx(N.StrictMode,{children:y.jsx(T5e,{store:UG,children:y.jsx(mW,{loading:y.jsx(nj,{}),persistor:GG,children:y.jsx(qne,{value:qFe,children:y.jsx(q4e,{children:y.jsx(N.Suspense,{fallback:y.jsx(nj,{}),children:y.jsx(GFe,{})})})})})})})); diff --git a/invokeai/frontend/dist/assets/index-fecb6dd4.css b/invokeai/frontend/dist/assets/index-fecb6dd4.css new file mode 100644 index 0000000000..11433ce132 --- /dev/null +++ b/invokeai/frontend/dist/assets/index-fecb6dd4.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;src:url(./Inter-b9a8e5e2.ttf);font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:Inter;src:url(./Inter-Bold-790c108b.ttf);font-display:swap;font-weight:600;font-style:normal}@keyframes slideOut{0%{transform:translate(10rem)}to{transform:translate(0)}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}*{scrollbar-width:thick;scrollbar-color:var(--scrollbar-color) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--scrollbar-color);border-radius:8px;border:2px solid var(--scrollbar-color)}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-color-hover);border:2px solid var(--scrollbar-color-hover)}::-webkit-scrollbar-button{background:transparent}[data-theme=dark]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(57, 25, 153);--accent-color: rgb(80, 40, 200);--accent-color-bright: rgb(104, 60, 230);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 10);--background-color: rgb(26, 26, 32);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(16, 16, 22);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 162, 188);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(48, 48, 64);--border-color: rgb(30, 30, 46);--border-color-light: rgb(60, 60, 76);--svg-color: rgb(255, 255, 255);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(30, 32, 42);--tab-hover-color: rgb(46, 48, 58);--tab-panel-bg: rgb(36, 38, 48);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 216);--tab-list-text-inactive: rgb(92, 94, 114);--btn-base-color: rgb(30, 32, 42);--btn-base-color-hover: rgb(46, 48, 68);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 10);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-color: rgb(151, 113, 255);--slider-mark-color: rgb(151, 113, 255);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}[data-theme=light]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(186, 146, 0);--accent-color: rgb(235, 185, 5);--accent-color-bright: rgb(255, 200, 0);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(255, 255, 255);--background-color: rgb(220, 222, 224);--background-color-light: rgb(250, 252, 254);--background-color-secondary: rgb(208, 210, 212);--text-color: rgb(0, 0, 0);--text-color-secondary: rgb(40, 40, 40);--subtext-color: rgb(24, 24, 34);--subtext-color-bright: rgb(142, 144, 146);--border-color: rgb(200, 200, 200);--border-color-light: rgb(147, 147, 147);--svg-color: rgb(50, 50, 50);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(237, 51, 51);--destructive-color-hover: rgb(255, 55, 55);--warning-color: rgb(224, 142, 42);--warning-color-hover: rgb(255, 167, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: none;--tab-color: rgb(202, 204, 206);--tab-hover-color: rgb(196, 198, 200);--tab-panel-bg: rgb(206, 208, 210);--tab-list-bg: rgb(235, 185, 5);--tab-list-text: rgb(0, 0, 0);--tab-list-text-inactive: rgb(106, 108, 110);--btn-base-color: rgb(184, 186, 188);--btn-base-color-hover: rgb(230, 232, 234);--btn-load-more: rgb(202, 204, 206);--btn-load-more-hover: rgb(178, 180, 182);--btn-svg-color: rgb(0, 0, 0);--btn-delete-image: rgb(213, 49, 49);--btn-checkbox-border-hover: rgb(176, 178, 182);--progress-bar-color: rgb(235, 185, 5);--prompt-bg-color: rgb(225, 227, 229);--switch-bg-color: rgb(178, 180, 182);--switch-bg-active-color: rgb(235, 185, 5);--slider-color: var(--accent-color);--slider-mark-color: rgb(0, 0, 0);--resizeable-handle-border-color: rgb(160, 162, 164);--metadata-bg-color: rgba(230, 230, 230, .9);--metadata-json-bg-color: rgba(0, 0, 0, .1);--status-good-color: rgb(21, 126, 0);--status-good-glow: var(--background-color);--status-working-color: rgb(235, 141, 0);--status-working-glow: var(--background-color);--status-bad-color: rgb(202, 0, 0);--status-bad-glow: var(--background-color);--notice-color: rgb(255, 71, 90);--settings-modal-bg: rgb(202, 204, 206);--input-checkbox-bg: rgb(167, 167, 171);--input-checkbox-checked-bg: rgb(235, 185, 5);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: rgb(0, 0, 0);--input-box-shadow-color: none;--error-level-info: rgb(42, 42, 42);--error-level-warning: rgb(173, 121, 0);--error-level-error: rgb(145, 14, 0);--console-bg-color: rgb(220, 224, 230);--console-icon-button-bg-color: var(--switch-bg-color);--console-icon-button-bg-color-hover: var(--resizeable-handle-border-color);--img2img-img-bg-color: rgb(180, 182, 184);--context-menu-bg-color: var(--background-color);--context-menu-box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, .35), 0px 10px 20px -15px rgba(22, 23, 24, .2);--context-menu-bg-color-hover: var(--background-color-secondary);--floating-button-drop-shadow-color: rgba(0, 0, 0, .7);--inpainting-alerts-bg: rgba(220, 222, 224, .75);--inpainting-alerts-icon-color: rgb(0, 0, 0);--inpainting-alerts-bg-active: rgb(255, 200, 0);--inpainting-alerts-icon-active: rgb(0, 0, 0);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(0, 0, 0);--checkboard-dots-color: rgb(160, 160, 172);--scrollbar-color: rgb(180, 180, 184);--scrollbar-color-hover: rgb(150, 150, 154)}[data-theme=green]{--white: rgb(255, 255, 255);--accent-color-dim: rgb(10, 60, 40);--accent-color: rgb(20, 110, 70);--accent-color-bright: rgb(30, 180, 100);--accent-color-hover: var(--accent-color-bright);--root-bg-color: rgb(10, 10, 14);--background-color: rgb(30, 32, 37);--background-color-light: rgb(40, 44, 48);--background-color-secondary: rgb(22, 24, 28);--text-color: rgb(255, 255, 255);--text-color-secondary: rgb(160, 164, 168);--subtext-color: rgb(24, 24, 28);--subtext-color-bright: rgb(68, 72, 76);--border-color: rgb(40, 44, 48);--border-color-light: rgb(60, 60, 64);--svg-color: rgb(220, 224, 228);--invalid: rgb(255, 75, 75);--invalid-secondary: rgb(120, 5, 5);--destructive-color: rgb(185, 55, 55);--destructive-color-hover: rgb(255, 75, 75);--warning-color: rgb(200, 88, 40);--warning-color-hover: rgb(230, 117, 60);--border-color-invalid: rgb(255, 80, 50);--box-shadow-color-invalid: rgb(210, 30, 10);--tab-color: rgb(40, 44, 48);--tab-hover-color: rgb(48, 52, 56);--tab-panel-bg: rgb(36, 40, 44);--tab-list-bg: var(--accent-color);--tab-list-text: rgb(202, 204, 206);--tab-list-text-inactive: rgb(92, 94, 96);--btn-base-color: rgb(40, 44, 48);--btn-base-color-hover: rgb(56, 60, 64);--btn-load-more: rgb(30, 32, 42);--btn-load-more-hover: rgb(54, 56, 66);--btn-svg-color: rgb(255, 255, 255);--btn-delete-image: rgb(182, 46, 46);--btn-checkbox-border-hover: rgb(46, 48, 68);--progress-bar-color: var(--accent-color);--prompt-bg-color: rgb(10, 10, 14);--switch-bg-color: rgb(100, 102, 110);--switch-bg-active-color: var(--accent-color);--slider-color: var(--accent-color-bright);--slider-mark-color: var(--accent-color-bright);--resizeable-handle-border-color: var(--accent-color);--metadata-bg-color: rgba(0, 0, 0, .7);--metadata-json-bg-color: rgba(255, 255, 255, .1);--status-good-color: rgb(125, 255, 100);--status-good-glow: rgb(40, 215, 40);--status-working-color: rgb(255, 175, 55);--status-working-glow: rgb(255, 160, 55);--status-bad-color: rgb(255, 90, 90);--status-bad-glow: rgb(255, 40, 40);--notice-color: rgb(130, 71, 19);--settings-modal-bg: rgb(30, 32, 42);--input-checkbox-bg: rgb(60, 64, 68);--input-checkbox-checked-bg: var(--accent-color);--input-checkbox-checked-tick: rgb(0, 0, 0);--input-border-color: var(--accent-color-bright);--input-box-shadow-color: var(--accent-color);--error-level-info: rgb(200, 202, 224);--error-level-warning: rgb(255, 225, 105);--error-level-error: rgb(255, 81, 46);--console-bg-color: rgb(30, 30, 36);--console-icon-button-bg-color: rgb(50, 53, 64);--console-icon-button-bg-color-hover: rgb(70, 73, 84);--img2img-img-bg-color: rgb(30, 32, 42);--context-menu-bg-color: rgb(46, 48, 58);--context-menu-box-shadow: none;--context-menu-bg-color-hover: rgb(30, 32, 42);--floating-button-drop-shadow-color: var(--accent-color);--inpainting-alerts-bg: rgba(20, 20, 26, .75);--inpainting-alerts-icon-color: rgb(255, 255, 255);--inpainting-alerts-bg-active: var(--accent-color);--inpainting-alerts-icon-active: rgb(255, 255, 255);--inpainting-alerts-bg-alert: var(--invalid);--inpainting-alerts-icon-alert: rgb(255, 255, 255);--checkboard-dots-color: rgb(35, 35, 39);--scrollbar-color: var(--accent-color);--scrollbar-color-hover: var(--accent-color-bright)}@media (max-width: 600px){#root .app-content{padding:5px}#root .app-content .site-header{position:fixed;display:flex;height:100px;z-index:1}#root .app-content .site-header .site-header-left-side{position:absolute;display:flex;min-width:145px;float:left;padding-left:0}#root .app-content .site-header .site-header-right-side{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;grid-template-rows:25px 25px 25px;grid-template-areas:"logoSpace logoSpace logoSpace sampler sampler sampler" "status status status status status status" "btn1 btn2 btn3 btn4 btn5 btn6";row-gap:15px}#root .app-content .site-header .site-header-right-side .chakra-popover__popper{grid-area:logoSpace}#root .app-content .site-header .site-header-right-side>:nth-child(1).chakra-text{grid-area:status;width:100%;display:flex;justify-content:center}#root .app-content .site-header .site-header-right-side>:nth-child(2){grid-area:sampler;display:flex;justify-content:center;align-items:center}#root .app-content .site-header .site-header-right-side>:nth-child(2) select{width:185px;margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper{right:10px}#root .app-content .site-header .site-header-right-side>:nth-child(2) .chakra-select__icon-wrapper svg{margin-top:10px}#root .app-content .site-header .site-header-right-side>:nth-child(3){grid-area:btn1}#root .app-content .site-header .site-header-right-side>:nth-child(4){grid-area:btn2}#root .app-content .site-header .site-header-right-side>:nth-child(6){grid-area:btn3}#root .app-content .site-header .site-header-right-side>:nth-child(7){grid-area:btn4}#root .app-content .site-header .site-header-right-side>:nth-child(8){grid-area:btn5}#root .app-content .site-header .site-header-right-side>:nth-child(9){grid-area:btn6}#root .app-content .app-tabs{position:fixed;display:flex;flex-direction:column;row-gap:15px;max-width:100%;overflow:hidden;margin-top:120px}#root .app-content .app-tabs .app-tabs-list{display:flex;justify-content:space-between}#root .app-content .app-tabs .app-tabs-panels{overflow:hidden;overflow-y:scroll}#root .app-content .app-tabs .app-tabs-panels .workarea-main{display:grid;grid-template-areas:"workarea" "options" "gallery";row-gap:15px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper{grid-area:options;width:100%;max-width:100%;height:inherit;overflow:inherit;padding:0 10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .main-settings-row,#root .app-content .app-tabs .app-tabs-panels .workarea-main .parameters-panel-wrapper .advanced-parameters-item{max-width:100%}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper{grid-area:workarea}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .workarea-split-view{display:flex;flex-direction:column}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-options{column-gap:3px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .text-to-image-area{padding:0}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .current-image-preview{height:430px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button{row-gap:10px;padding:5px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .image-upload-button svg{width:2rem;height:2rem;margin-top:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-settings{display:flex;flex-wrap:wrap;row-gap:10px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .workarea-children-wrapper .inpainting-canvas-area .konvajs-content{height:400px!important}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper{grid-area:gallery;min-height:400px}#root .app-content .app-tabs .app-tabs-panels .workarea-main .image-gallery-wrapper .image-gallery-popup{width:100%!important;max-width:100%!important}}svg{fill:var(--svg-color)}.App{display:grid;width:100vw;height:100vh;background-color:var(--background-color)}.app-content{display:grid;row-gap:1rem;padding:1rem;grid-auto-rows:min-content auto;width:calc(100vw + -0px);height:calc(100vh - .3rem)}.site-header{display:grid;grid-template-columns:auto max-content}.site-header-left-side{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem}.site-header-left-side img{width:32px;height:32px}.site-header-right-side{display:flex;align-items:center;column-gap:.5rem}.site-header-right-side .lang-select-btn[data-selected=true],.site-header-right-side .lang-select-btn[data-selected=true]:hover{background-color:var(--accent-color)}.status{font-size:.8rem;font-weight:700}.status-good{color:var(--status-good-color);text-shadow:0 0 10px var(--status-good-glow)}.status-bad{color:var(--status-bad-color);text-shadow:0 0 10px var(--status-bad-glow)}.status-working{color:var(--status-working-color);text-shadow:0 0 10px var(--status-working-glow)}.settings-modal{max-height:36rem;font-family:Inter}.settings-modal .settings-modal-content{display:grid;row-gap:2rem;overflow-y:scroll}.settings-modal .settings-modal-header{font-weight:700}.settings-modal .settings-modal-items{display:grid;row-gap:.5rem}.settings-modal .settings-modal-items .settings-modal-item{display:grid;grid-auto-flow:column;background-color:var(--background-color);padding:.4rem 1rem;border-radius:.5rem;align-items:center;width:100%}.settings-modal .settings-modal-reset{display:grid;row-gap:1rem}.settings-modal .settings-modal-reset button{min-width:100%;min-height:100%;background-color:var(--destructive-color)!important}.settings-modal .settings-modal-reset button:hover{background-color:var(--destructive-color-hover)}.settings-modal .settings-modal-reset button:disabled{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button:disabled:hover{background-color:var(--btn-base-color)}.settings-modal .settings-modal-reset button svg{width:20px;height:20px;color:var(--btn-svg-color)}.add-model-modal{display:flex}.add-model-modal-body{display:flex;flex-direction:column;row-gap:1rem;padding-bottom:2rem}.add-model-form{display:flex;flex-direction:column;row-gap:.5rem}.hotkeys-modal{width:36rem;max-width:36rem;display:grid;padding:1rem;row-gap:1rem;font-family:Inter}.hotkeys-modal h1{font-size:1.2rem;font-weight:700}.hotkeys-modal h2{font-weight:700}.hotkeys-modal-button{display:flex;align-items:center;justify-content:space-between}.hotkeys-modal-items{max-height:36rem;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.hotkeys-modal-items::-webkit-scrollbar{display:none}.hotkeys-modal-items .chakra-accordion{display:grid;row-gap:.5rem}.hotkeys-modal-items .chakra-accordion__item{border:none;border-radius:.3rem;background-color:var(--tab-hover-color)}.hotkeys-modal-items button{border-radius:.3rem}.hotkeys-modal-items button[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.3rem}.hotkey-modal-category{display:grid;row-gap:.5rem}.hotkey-modal-item{display:grid;grid-template-columns:auto max-content;justify-content:space-between;align-items:center;background-color:var(--background-color);padding:.5rem 1rem;border-radius:.3rem}.hotkey-modal-item .hotkey-info{display:grid}.hotkey-modal-item .hotkey-info .hotkey-title{font-weight:700}.hotkey-modal-item .hotkey-info .hotkey-description{font-size:.9rem;color:var(--text-color-secondary)}.hotkey-modal-item .hotkey-key{font-size:.8rem;font-weight:700;background-color:var(--background-color-light);padding:.2rem .5rem;border-radius:.3rem}.console{width:100vw;display:flex;flex-direction:column;background:var(--console-bg-color);overflow:auto;direction:column;font-family:monospace;padding:0 1rem 1rem 3rem;border-top-width:.3rem;border-color:var(--resizeable-handle-border-color)}.console .console-info-color{color:var(--error-level-info)}.console .console-warning-color{color:var(--error-level-warning)}.console .console-error-color{color:var(--status-bad-color)}.console .console-entry{display:flex;column-gap:.5rem}.console .console-entry .console-timestamp{font-weight:semibold}.console .console-entry .console-message{word-break:break-all}.console-toggle-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:.5rem;z-index:10000}.console-toggle-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-toggle-icon-button[data-error-seen=true],.console-toggle-icon-button[data-error-seen=true]:hover{background:var(--status-bad-color)}.console-autoscroll-icon-button{background:var(--console-icon-button-bg-color);position:fixed;left:.5rem;bottom:3rem;z-index:10000}.console-autoscroll-icon-button:hover{background:var(--console-icon-button-bg-color-hover)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]{background:var(--accent-color)}.console-autoscroll-icon-button[data-autoscroll-enabled=true]:hover{background:var(--accent-color-hover)}.progress-bar{background-color:var(--root-bg-color);height:.3rem;z-index:99}.progress-bar div{background-color:var(--progress-bar-color)}.progress-bar div[data-indeterminate]{background-color:unset;background-image:linear-gradient(to right,transparent 0%,var(--progress-bar-color) 50%,transparent 100%)}.prompt-bar{display:grid;row-gap:1rem}.prompt-bar input,.prompt-bar textarea{background-color:var(--prompt-bg-color);font-size:1rem;border:2px solid var(--border-color)}.prompt-bar input:hover,.prompt-bar textarea:hover{border:2px solid var(--border-color-light)}.prompt-bar input:focus-visible,.prompt-bar textarea:focus-visible{border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.prompt-bar input[aria-invalid=true],.prompt-bar textarea[aria-invalid=true]{border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.prompt-bar input:disabled,.prompt-bar textarea:disabled{border:2px solid var(--border-color);box-shadow:none}.prompt-bar textarea{min-height:10rem}.process-buttons{display:flex;column-gap:.5rem}.invoke-btn{flex-grow:1;width:100%;min-width:100%;min-height:100%;background-color:var(--accent-color)!important}.invoke-btn:hover{background-color:var(--accent-color-hover)}.invoke-btn:disabled{background-color:var(--btn-base-color)}.invoke-btn:disabled:hover{background-color:var(--btn-base-color)}.invoke-btn svg{width:16px;height:16px;color:var(--btn-svg-color)}.cancel-btn{min-width:3rem;min-height:100%;background-color:var(--destructive-color)!important}.cancel-btn:hover{background-color:var(--destructive-color-hover)}.cancel-btn:disabled{background-color:var(--btn-base-color)}.cancel-btn:disabled:hover{background-color:var(--btn-base-color)}.cancel-btn svg{width:20px;height:20px;color:var(--btn-svg-color)}.loopback-btn[data-as-checkbox=true]{background-color:var(--btn-btn-base-color);border:3px solid var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true]:hover{background-color:var(--btn-btn-base-color);border-color:var(--btn-checkbox-border-hover)}.loopback-btn[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true] svg{fill:var(--text-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover{border-color:var(--accent-color);background-color:var(--btn-btn-base-color)}.loopback-btn[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--text-color)}.main-settings,.main-settings-list{display:grid;row-gap:1rem}.main-settings-row{display:grid;grid-template-columns:repeat(3,auto);column-gap:.5rem;max-width:22.5rem}.main-settings-block{border-radius:.5rem;display:grid!important;grid-template-columns:auto!important;row-gap:.5rem}.main-settings-block .invokeai__number-input-form-label,.main-settings-block .invokeai__select-label{font-weight:700;font-size:.9rem!important}.main-settings-block .invokeai__select-label{margin:0}.advanced-parameters{padding-top:.5rem;display:grid;row-gap:.5rem}.advanced-parameters-item{display:grid;max-width:22.5rem;border:none;border-top:0px;border-radius:.4rem;background-color:var(--tab-panel-bg)}.advanced-parameters-item[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:0 0 .4rem .4rem}.advanced-parameters-panel{background-color:var(--tab-panel-bg);border-radius:0 0 .4rem .4rem;padding:1rem}.advanced-parameters-panel button{background-color:var(--btn-base-color)}.advanced-parameters-panel button:hover{background-color:var(--btn-base-color-hover)}.advanced-parameters-panel button:disabled:hover{background-color:var(--btn-base-color)}.advanced-parameters-header{border-radius:.4rem;font-weight:700}.advanced-parameters-header[aria-expanded=true]{background-color:var(--tab-hover-color);border-radius:.4rem .4rem 0 0}.advanced-parameters-header:hover{background-color:var(--tab-hover-color)}.inpainting-bounding-box-settings{display:flex;flex-direction:column;border-radius:.4rem;border:2px solid var(--tab-color)}.inpainting-bounding-box-header{background-color:var(--tab-color);display:flex;flex-direction:row;justify-content:space-between;padding:.5rem 1rem;border-radius:.3rem .3rem 0 0;align-items:center}.inpainting-bounding-box-header button{width:.5rem;height:1.2rem;background:none}.inpainting-bounding-box-header button:hover{background:none}.inpainting-bounding-box-settings-items{padding:1rem;display:flex;flex-direction:column;row-gap:1rem}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn{background-color:var(--btn-base-color)}.inpainting-bounding-box-settings-items .inpainting-bounding-box-reset-icon-btn:hover{background-color:var(--btn-base-color-hover)}.inpainting-bounding-box-dimensions-slider-numberinput{display:grid;grid-template-columns:repeat(3,auto);column-gap:1rem}.inpainting-bounding-box-darken{width:max-content}.current-image-area{display:flex;flex-direction:column;height:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem}.current-image-preview{position:relative;justify-content:center;align-items:center;display:flex;width:100%;height:100%}.current-image-preview img{border-radius:.5rem;object-fit:contain;max-width:100%;max-height:100%;height:auto;position:absolute}.current-image-metadata{grid-area:current-image-preview}.current-image-next-prev-buttons{grid-area:current-image-content;display:flex;justify-content:space-between;z-index:1;height:100%;width:100%;pointer-events:none}.next-prev-button-trigger-area{width:7rem;height:100%;width:15%;display:grid;align-items:center;pointer-events:auto}.next-prev-button-trigger-area.prev-button-trigger-area{justify-content:flex-start}.next-prev-button-trigger-area.next-button-trigger-area{justify-content:flex-end}.next-prev-button{font-size:4rem;fill:var(--white);filter:drop-shadow(0 0 1rem var(--text-color-secondary));opacity:70%}.current-image-display-placeholder{background-color:var(--background-color-secondary);display:grid;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:.5rem}.current-image-display-placeholder svg{width:10rem;height:10rem;color:var(--svg-color)}.current-image-options{width:100%;display:flex;justify-content:center;align-items:center;column-gap:.5em}.current-image-options .current-image-send-to-popover,.current-image-options .current-image-postprocessing-popover{display:flex;flex-direction:column;row-gap:.5rem;max-width:25rem}.current-image-options .current-image-send-to-popover .invokeai__button{place-content:start}.current-image-options .chakra-popover__popper{z-index:11}.current-image-options .delete-image-btn{background-color:var(--btn-base-color)}.current-image-options .delete-image-btn svg{fill:var(--btn-delete-image)}.image-gallery-wrapper-enter{transform:translate(150%)}.image-gallery-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.image-gallery-wrapper-exit{transform:translate(0)}.image-gallery-wrapper-exit-active{transform:translate(150%);transition:all .12s ease-out}.image-gallery-wrapper[data-pinned=false]{position:fixed;height:100vh;top:0;right:0}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup{border-radius:0;box-shadow:0 0 1rem var(--text-color-a3)}.image-gallery-wrapper[data-pinned=false] .image-gallery-popup .image-gallery-container{max-height:calc(100vh + 4.7rem)}.image-gallery-wrapper .image-gallery-popup{background-color:var(--background-color-secondary);padding:1rem;display:flex;flex-direction:column;row-gap:1rem;border-radius:.5rem;border-left-width:.3rem;border-color:var(--tab-list-text-inactive)}.image-gallery-wrapper .image-gallery-popup[data-resize-alert=true]{border-color:var(--status-bad-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header{display:flex;align-items:center;column-gap:.5rem;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-header-right-icons{display:flex;flex-direction:row;column-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-icon-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover{display:flex;flex-direction:column;row-gap:.5rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-header .image-gallery-settings-popover div{display:flex;column-gap:.5rem;align-items:center;justify-content:space-between}.image-gallery-wrapper .image-gallery-popup .image-gallery-header h1{font-weight:700}.image-gallery-wrapper .image-gallery-popup .image-gallery-container{display:flex;flex-direction:column;max-height:calc(100vh - (70px + 7rem));overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container::-webkit-scrollbar{display:none}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder{display:flex;flex-direction:column;row-gap:.5rem;background-color:var(--background-color);border-radius:.5rem;place-items:center;padding:2rem;text-align:center}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder p{color:var(--subtext-color-bright);font-family:Inter}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-container-placeholder svg{width:4rem;height:4rem;color:var(--svg-color)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn{background-color:var(--btn-load-more);font-size:.85rem;padding:.5rem;margin-top:1rem}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:disabled:hover{background-color:var(--btn-load-more)}.image-gallery-wrapper .image-gallery-popup .image-gallery-container .image-gallery-load-more-btn:hover{background-color:var(--btn-load-more-hover)}.image-gallery-category-btn-group{width:max-content;column-gap:0;justify-content:stretch}.image-gallery-category-btn-group button{background-color:var(--btn-base-color);flex-grow:1}.image-gallery-category-btn-group button:hover{background-color:var(--btn-base-color-hover)}.image-gallery-category-btn-group button[data-selected=true]{background-color:var(--accent-color)}.image-gallery-category-btn-group button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.image-gallery{display:grid;grid-gap:.5rem}.image-gallery .hoverable-image{padding:.5rem;position:relative}.image-gallery .hoverable-image:before{content:"";display:block;padding-bottom:100%}.image-gallery .hoverable-image .hoverable-image-image{position:absolute;max-width:100%;top:50%;left:50%;transform:translate(-50%,-50%)}.hoverable-image{display:flex;justify-content:center;transition:transform .2s ease-out}.hoverable-image:hover{cursor:pointer;border-radius:.5rem;z-index:2}.hoverable-image .hoverable-image-image{width:100%;height:100%;max-width:100%;max-height:100%}.hoverable-image .hoverable-image-delete-button{position:absolute;top:.25rem;right:.25rem}.hoverable-image .hoverable-image-content{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;align-items:center;justify-content:center}.hoverable-image .hoverable-image-content .hoverable-image-check{fill:var(--status-good-color)}.hoverable-image .hoverable-image-icons{position:absolute;bottom:-2rem;display:grid;width:min-content;grid-template-columns:repeat(2,max-content);border-radius:.4rem;background-color:var(--background-color-secondary);padding:.2rem;gap:.2rem;grid-auto-rows:max-content}.hoverable-image .hoverable-image-icons button{width:12px;height:12px;border-radius:.2rem;padding:10px 0;flex-shrink:2}.hoverable-image .hoverable-image-icons button svg{width:12px;height:12px}.hoverable-image-context-menu{z-index:15;padding:.4rem;border-radius:.25rem;background-color:var(--context-menu-bg-color);box-shadow:var(--context-menu-box-shadow)}.hoverable-image-context-menu [role=menuitem]{font-size:.8rem;line-height:1rem;border-radius:3px;display:flex;align-items:center;height:1.75rem;padding:0 .5rem;position:relative;user-select:none;cursor:pointer;outline:none}.hoverable-image-context-menu [role=menuitem][data-disabled]{color:gray;pointer-events:none;cursor:not-allowed}.hoverable-image-context-menu [role=menuitem][data-warning]{color:var(--status-bad-color)}.hoverable-image-context-menu [role=menuitem][data-highlighted]{background-color:var(--context-menu-bg-color-hover)}.image-metadata-viewer{position:absolute;top:0;width:100%;border-radius:.5rem;padding:1rem;background-color:var(--metadata-bg-color);overflow:scroll;max-height:calc(100vh - (70px + 5.4rem));height:100%;z-index:10}.image-json-viewer{border-radius:.5rem;margin:0 .5rem 1rem;padding:1rem;overflow-x:scroll;word-break:break-all;background-color:var(--metadata-json-bg-color)}.lightbox-container{width:100%;height:100%;color:var(--text-color);overflow:hidden;position:absolute;left:0;top:0;background-color:var(--background-color-secondary);z-index:30;animation:popIn .3s ease-in}.lightbox-container .image-gallery-wrapper{max-height:100%!important}.lightbox-container .image-gallery-wrapper .image-gallery-container{max-height:calc(100vh - 5rem)}.lightbox-container .current-image-options{z-index:2;position:absolute;top:1rem}.lightbox-container .image-metadata-viewer{left:0;max-height:100%}.lightbox-close-btn{z-index:3;position:absolute;left:1rem;top:1rem;background-color:var(--btn-base-color)}.lightbox-close-btn:hover{background-color:var(--btn-base-color-hover)}.lightbox-close-btn:disabled:hover{background-color:var(--btn-base-color)}.lightbox-display-container{display:flex;flex-direction:row}.lightbox-preview-wrapper{overflow:hidden;background-color:var(--background-color-secondary);display:grid;grid-template-columns:auto max-content;place-items:center;width:100vw;height:100vh}.lightbox-preview-wrapper .current-image-next-prev-buttons{position:absolute}.lightbox-preview-wrapper .lightbox-image{grid-area:lightbox-content;border-radius:.5rem}.lightbox-preview-wrapper .lightbox-image-options{position:absolute;z-index:2;left:1rem;top:4.5rem;user-select:none;border-radius:.5rem;display:flex;flex-direction:column;row-gap:.5rem}@keyframes popIn{0%{opacity:0;filter:blur(100)}to{opacity:1;filter:blur(0)}}.app-tabs{display:grid;grid-template-columns:min-content auto;column-gap:1rem;height:calc(100vh - (70px + 1rem))}.app-tabs-list{display:grid;row-gap:.3rem;grid-auto-rows:min-content;color:var(--tab-list-text-inactive)}.app-tabs-list button{font-size:.85rem;padding:.5rem}.app-tabs-list button:hover{background-color:var(--tab-hover-color);border-radius:.3rem}.app-tabs-list button svg{width:24px;height:24px}.app-tabs-list button[aria-selected=true]{background-color:var(--tab-list-bg);color:var(--tab-list-text);font-weight:700;border-radius:.3rem;border:none}.app-tabs-panels .app-tabs-panel{padding:0;height:100%}.workarea-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main{display:flex;column-gap:1rem;height:100%}.workarea-wrapper .workarea-main .workarea-children-wrapper{position:relative;width:100%;height:100%}.workarea-wrapper .workarea-main .workarea-split-view{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-left{padding-right:.5rem}.workarea-wrapper .workarea-main .workarea-split-view .workarea-split-view-right{padding-left:.5rem}.workarea-wrapper .workarea-main .workarea-single-view{width:100%;height:100%;background-color:var(--background-color-secondary);border-radius:.5rem}.workarea-wrapper .workarea-main .workarea-split-view-left,.workarea-wrapper .workarea-main .workarea-split-view-right{display:flex;flex-direction:column;height:100%;width:100%;row-gap:1rem;background-color:var(--background-color-secondary);border-radius:.5rem;padding:1rem}.workarea-split-button{position:absolute;cursor:pointer;padding:.5rem;top:0;right:0}.workarea-split-button[data-selected=true]{top:0;right:0}.workarea-split-button[data-selected=true] svg{opacity:1}.workarea-split-button svg{opacity:.5}.parameters-panel-wrapper-enter{transform:translate(-150%)}.parameters-panel-wrapper-enter-active{transform:translate(0);transition:all .12s ease-out}.parameters-panel-wrapper-exit{transform:translate(0)}.parameters-panel-wrapper-exit-active{transform:translate(-150%);transition:all .12s ease-out}.parameters-panel-wrapper{background-color:var(--background-color);height:calc(100vh - (70px + 1rem));width:22.5rem;max-width:22.5rem;flex-shrink:0;position:relative;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.parameters-panel-wrapper::-webkit-scrollbar{display:none}.parameters-panel-wrapper .parameters-panel{display:flex;flex-direction:column;row-gap:1rem;height:100%;-ms-overflow-style:none;scrollbar-width:none;background-color:var(--background-color)}.parameters-panel-wrapper .parameters-panel::-webkit-scrollbar{display:none}.parameters-panel-wrapper[data-pinned=false]{z-index:20;position:fixed;top:0;left:0;filter:var(--floating-panel-drop-shadow);width:24.5rem;max-width:24.5rem;height:100%}.parameters-panel-wrapper[data-pinned=false] .parameters-panel-margin{margin:1rem}.parameters-panel-wrapper .parameters-panel-pin-button{position:absolute;cursor:pointer;padding:.5rem;top:1rem;right:1rem;z-index:20}.parameters-panel-wrapper .parameters-panel-pin-button[data-selected=true]{top:0;right:0}.parameters-panel-wrapper .parameters-panel-pin-button svg{opacity:.5}.invoke-ai-logo-wrapper{display:flex;align-items:center;column-gap:.7rem;padding-left:.5rem;padding-top:.3rem}.invoke-ai-logo-wrapper img{width:32px;height:32px}.invoke-ai-logo-wrapper h1{font-size:1.4rem}.text-to-image-area{padding:1rem;height:100%}.image-to-image-area{display:flex;flex-direction:column;row-gap:1rem;width:100%;height:100%}.image-to-image-strength-main-option{display:flex;row-gap:.5rem!important}.image-to-image-strength-main-option .invokeai__slider-component-label{color:var(--text-color-secondary);font-size:.9rem!important}.init-image-preview-header{display:flex;align-items:center;justify-content:space-between;width:100%}.init-image-preview-header h2{font-weight:700;font-size:.9rem}.init-image-preview{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}.init-image-preview img{border-radius:.5rem;object-fit:contain;position:absolute}.image-to-image-current-image-display{position:relative}.floating-show-hide-button{position:absolute;top:50%;transform:translateY(-50%);z-index:20;padding:0;background-color:red!important;min-width:2rem;min-height:12rem;background-color:var(--btn-btn-base-color)!important}.floating-show-hide-button.left{left:0;border-radius:0 .5rem .5rem 0}.floating-show-hide-button.right{right:0;border-radius:.5rem 0 0 .5rem}.floating-show-hide-button:hover{background-color:var(--btn-btn-base-color-hover)}.floating-show-hide-button:disabled{background-color:var(--btn-base-color)}.floating-show-hide-button:disabled:hover{background-color:var(--btn-base-color)}.floating-show-hide-button svg{width:20px;height:20px;color:var(--btn-svg-color)}.show-hide-button-options{position:absolute;transform:translateY(-50%);z-index:20;min-width:2rem;top:50%;left:calc(42px + 2rem);border-radius:0 .5rem .5rem 0;display:flex;flex-direction:column;row-gap:.5rem}.show-hide-button-options button{border-radius:0 .3rem .3rem 0}.show-hide-button-gallery{padding-left:.75rem;padding-right:.75rem;background-color:var(--background-color)!important}.inpainting-main-area{display:flex;flex-direction:column;align-items:center;row-gap:1rem;width:100%;height:100%}.inpainting-main-area .inpainting-settings{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings svg{transform:scale(.9)}.inpainting-main-area .inpainting-settings .inpainting-buttons-group{display:flex;align-items:center;column-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-button-dropdown{display:flex;flex-direction:column;row-gap:.5rem}.inpainting-main-area .inpainting-settings .inpainting-color-picker{margin-left:1rem}.inpainting-main-area .inpainting-settings .inpainting-brush-options{display:flex;align-items:center;column-gap:1rem}.inpainting-canvas-area{display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:1rem;width:100%;height:100%}.inpainting-canvas-spiner{display:flex;align-items:center;width:100%;height:100%}.inpainting-canvas-container{display:flex;position:relative;height:100%;width:100%;border-radius:.5rem}.inpainting-canvas-wrapper{position:relative}.inpainting-canvas-stage{outline:none;border-radius:.5rem;box-shadow:0 0 0 1px var(--border-color-light);overflow:hidden}.inpainting-canvas-stage canvas{outline:none;border-radius:.5rem}.inpainting-options-btn{min-height:2rem}.canvas-status-text{position:absolute;top:0;left:0;background-color:var(--background-color);opacity:.65;display:flex;flex-direction:column;font-size:.8rem;padding:.25rem;min-width:12rem;border-radius:.25rem;margin:.25rem;pointer-events:none}.invokeai__number-input-form-control{display:flex;align-items:center;column-gap:1rem}.invokeai__number-input-form-control .invokeai__number-input-form-label{color:var(--text-color-secondary)}.invokeai__number-input-form-control .invokeai__number-input-form-label[data-focus]+.invokeai__number-input-root{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__number-input-form-control .invokeai__number-input-form-label[aria-invalid=true]+.invokeai__number-input-root{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__number-input-form-control .invokeai__number-input-root{height:2rem;display:grid;grid-template-columns:auto max-content;column-gap:.5rem;align-items:center;background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.3rem}.invokeai__number-input-form-control .invokeai__number-input-field{border:none;font-weight:700;width:100%;height:auto;font-size:.9rem;padding:0 .5rem}.invokeai__number-input-form-control .invokeai__number-input-field:focus{outline:none;box-shadow:none}.invokeai__number-input-form-control .invokeai__number-input-field:disabled{opacity:.2}.invokeai__number-input-form-control .invokeai__number-input-stepper{display:grid;padding-right:.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button{border:none;padding:0 .5rem;margin:0 -.5rem}.invokeai__number-input-form-control .invokeai__number-input-stepper .invokeai__number-input-stepper-button svg{width:10px;height:10px}.input{display:grid;grid-template-columns:max-content auto;column-gap:1rem;align-items:center}.input .input-label{color:var(--text-color-secondary)}.input .input-entry{background-color:var(--background-color-secondary);border:2px solid var(--border-color);border-radius:.2rem;font-weight:700}.input .input-entry:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.input .input-entry:disabled{opacity:.2}.input .input-entry[aria-invalid=true]{outline:none;border:2px solid var(--border-color-invalid);box-shadow:0 0 10px 0 var(--box-shadow-color-invalid)}.invokeai__icon-button{background:var(--btn-base-color);cursor:pointer}.invokeai__icon-button:hover{background-color:var(--btn-base-color-hover)}.invokeai__icon-button[data-selected=true]{background-color:var(--accent-color)}.invokeai__icon-button[data-selected=true]:hover{background-color:var(--accent-color-hover)}.invokeai__icon-button[disabled]{cursor:not-allowed}.invokeai__icon-button[data-variant=link],.invokeai__icon-button[data-variant=link]:hover{background:none}.invokeai__icon-button[data-as-checkbox=true]{background-color:var(--btn-base-color);border:3px solid var(--btn-base-color)}.invokeai__icon-button[data-as-checkbox=true] svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true]:hover{background-color:var(--btn-base-color);border-color:var(--btn-checkbox-border-hover)}.invokeai__icon-button[data-as-checkbox=true]:hover svg{fill:var(--text-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]{border-color:var(--accent-color)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true] svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-as-checkbox=true][data-selected=true]:hover svg{fill:var(--accent-color-hover)}.invokeai__icon-button[data-alert=true]{animation-name:pulseColor;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.invokeai__icon-button[data-alert=true]:hover{animation:none;background-color:var(--accent-color-hover)}@keyframes pulseColor{0%{background-color:var(--accent-color)}50%{background-color:var(--accent-color-dim)}to{background-color:var(--accent-color)}}.invokeai__button{background-color:var(--btn-base-color);place-content:center}.invokeai__button:hover{background-color:var(--btn-base-color-hover)}.invokeai__switch-form-control .invokeai__switch-form-label{color:var(--text-color-secondary)}.invokeai__switch-form-control .invokeai__switch-root span{background-color:var(--switch-bg-color)}.invokeai__switch-form-control .invokeai__switch-root span span{background-color:var(--white)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span{background:var(--switch-bg-active-color)}.invokeai__switch-form-control .invokeai__switch-root[data-checked] span span{background-color:var(--white)}.invokeai__select{display:flex;column-gap:1rem;align-items:center}.invokeai__select .invokeai__select-label{color:var(--text-color-secondary)}.invokeai__select .invokeai__select-picker{border:2px solid var(--border-color);background-color:var(--background-color-secondary);font-weight:700;font-size:.9rem;height:2rem;border-radius:.2rem}.invokeai__select .invokeai__select-picker:focus{outline:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__select .invokeai__select-option{background-color:var(--background-color-secondary);color:var(--text-color-secondary)}.invokeai__slider-component{padding-bottom:.5rem;border-radius:.5rem}.invokeai__slider-component .invokeai__slider-component-label{min-width:max-content;margin:0;font-weight:700;font-size:.9rem;color:var(--text-color-secondary)}.invokeai__slider-component .invokeai__slider_track{background-color:var(--tab-color)}.invokeai__slider-component .invokeai__slider_track-filled{background-color:var(--slider-color)}.invokeai__slider-component .invokeai__slider-thumb{width:4px}.invokeai__slider-component .invokeai__slider-mark{font-size:.75rem;font-weight:700;color:var(--slider-mark-color);margin-top:.3rem}.invokeai__slider-component .invokeai__slider-number-input{border:none;font-size:.9rem;font-weight:700;height:2rem;background-color:var(--background-color-secondary);border:2px solid var(--border-color)}.invokeai__slider-component .invokeai__slider-number-input:focus{outline:none;box-shadow:none;border:2px solid var(--input-border-color);box-shadow:0 0 10px 0 var(--input-box-shadow-color)}.invokeai__slider-component .invokeai__slider-number-input:disabled{opacity:.2}.invokeai__slider-component .invokeai__slider-number-stepper{border:none}.invokeai__slider-component[data-markers=true] .invokeai__slider_container{margin-top:-1rem}.invokeai__checkbox .chakra-checkbox__label{margin-top:1px;color:var(--text-color-secondary);font-size:.9rem}.invokeai__checkbox .chakra-checkbox__control{width:1rem;height:1rem;border:none;border-radius:.2rem;background-color:var(--input-checkbox-bg)}.invokeai__checkbox .chakra-checkbox__control svg{width:.6rem;height:.6rem;stroke-width:3px}.invokeai__checkbox .chakra-checkbox__control[data-checked]{color:var(--text-color);background-color:var(--input-checkbox-checked-bg)}.invokeai__popover-content{min-width:unset;width:unset;padding:1rem;border-radius:.5rem;background-color:var(--background-color);border:2px solid var(--border-color)}.invokeai__popover-content .invokeai__popover-arrow{background-color:var(--background-color)!important}.invokeai__color-picker .react-colorful__hue-pointer,.invokeai__color-picker .react-colorful__saturation-pointer{width:1.5rem;height:1.5rem;border-color:var(--white)}.dropzone-container{position:absolute;top:0;left:0;width:100vw;height:100vh;z-index:999;backdrop-filter:blur(20px)}.dropzone-container .dropzone-overlay{opacity:.5;width:100%;height:100%;display:flex;flex-direction:column;row-gap:1rem;align-items:center;justify-content:center;background-color:var(--background-color)}.dropzone-container .dropzone-overlay.is-drag-accept{box-shadow:inset 0 0 20rem 1rem var(--accent-color)}.dropzone-container .dropzone-overlay.is-drag-reject{box-shadow:inset 0 0 20rem 1rem var(--status-bad-color)}.dropzone-container .dropzone-overlay.is-handling-upload{box-shadow:inset 0 0 20rem 1rem var(--status-working-color)}.image-uploader-button-outer{width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:.5rem;color:var(--tab-list-text-inactive);background-color:var(--background-color)}.image-uploader-button-outer:hover{background-color:var(--background-color-light)}.image-upload-button-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.image-upload-button{display:flex;flex-direction:column;row-gap:2rem;align-items:center;justify-content:center;text-align:center}.image-upload-button svg{width:4rem;height:4rem}.image-upload-button h2{font-size:1.2rem}.work-in-progress{display:grid;width:100%;height:calc(100vh - (70px + 1rem));grid-auto-rows:max-content;background-color:var(--background-color-secondary);border-radius:.4rem;place-content:center;place-items:center;row-gap:1rem}.work-in-progress h1{font-size:2rem;font-weight:700}.work-in-progress p{text-align:center;max-width:50rem;color:var(--subtext-color-bright)}.guide-popover-arrow{background-color:var(--tab-panel-bg);box-shadow:none}.guide-popover-content{background-color:var(--background-color-secondary);border:none}.guide-popover-guide-content{background:var(--tab-panel-bg);border:2px solid var(--tab-hover-color);border-radius:.4rem;padding:.75rem 1rem;display:grid;grid-template-rows:repeat(auto-fill,1fr);grid-row-gap:.5rem;justify-content:space-between}.modal{background-color:var(--background-color-secondary);color:var(--text-color);font-family:Inter}.modal-close-btn{background-color:var(--btn-base-color)}.modal-close-btn:hover{background-color:var(--btn-base-color-hover)}.modal-close-btn:disabled:hover{background-color:var(--btn-base-color)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{-ms-overflow-style:none;scrollbar-width:none;background-color:var(--root-bg-color);overflow:hidden}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}#root{background-color:var(--root-bg-color);color:var(--text-color);font-family:Inter,Arial,Helvetica,sans-serif} diff --git a/invokeai/frontend/dist/assets/logo-13003d72.png b/invokeai/frontend/dist/assets/logo-13003d72.png new file mode 100644 index 0000000000000000000000000000000000000000..54f8ed8a8fd834ca0968ef00770d2e288eb59780 GIT binary patch literal 44115 zcmbTc1z4QHvL=i>!QEX4m%&|v2X}Xu!QCym1$Phb1lQmYJOp=1aJQYDbMD!@yLaXP zdElYvo9fcHtGcVdXcZ+HR3t(q2nYz&kFt`g5D<{_fBz8Rz)$?%u4=&l5S?Xp+#n#3 zvHt!+LS*IOLqNce*{ExSv=tTj&72%qOw653Em*u9oWax(5P~9J&L(Dd79es{3o9E( zASjK6W_;$9BEsZ?Ui@GN4i+F2axVva zM>l>iAkSSv@^H zSv)yeoLsF~+4=bRSlKvOIXD1d3V@rpBgn)H;OIv69~>kt+{|2UoIy5Dj^uwinwUDd zgM=u-s{Ydk2j_pYb#(iepTHht^)hj0WoKdgYtugn&CUKz=j`rk{}18jW~>(W77iAU zAU7~A`@dyTpdin2HQB8SXr<-J6cha|J#lH5>EC`u3*7n?KuCTg`y(= zM@Ki1iKCgtM@b<{u+1zsHs<`iT$YwRCcJzA6E03Z03RQhDZs?UgacsC24pj3=j7u6 za{qh2q?4KZ-^l)*|4)>gJDGub{CBC`CLHX1oTi)rZf+hn0MML^7huY3#tksBG&eP4 zW9KyIGUxaYZIoSYzzfa9{y%g5tCcyJBOjZk85gf57r>Ge$Oho%;W7aL*)2E$rY5E) z>>Q?SJbWCyf6@F8fbh%OxPe3G{jc?*X5sR$k-ZK1KQO^>V)hs7LX>8IgKS|=`LD+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ontend/dist/locales/common/de.json b/invokeai/frontend/dist/locales/common/de.json new file mode 100644 index 0000000000..a1b1a12739 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/de.json @@ -0,0 +1,55 @@ +{ + "hotkeysLabel": "Hotkeys", + "themeLabel": "Thema", + "languagePickerLabel": "Sprachauswahl", + "reportBugLabel": "Fehler melden", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Einstellungen", + "darkTheme": "Dunkel", + "lightTheme": "Hell", + "greenTheme": "Grün", + "langEnglish": "Englisch", + "langRussian": "Russisch", + "langItalian": "Italienisch", + "langPortuguese": "Portugiesisch", + "langFrench": "Französich", + "langGerman": "Deutsch", + "langSpanish": "Spanisch", + "text2img": "Text zu Bild", + "img2img": "Bild zu Bild", + "unifiedCanvas": "Unified Canvas", + "nodes": "Knoten", + "nodesDesc": "Ein knotenbasiertes System, für die Erzeugung von Bildern, ist derzeit in der Entwicklung. Bleiben Sie gespannt auf Updates zu dieser fantastischen Funktion.", + "postProcessing": "Nachbearbeitung", + "postProcessDesc1": "InvokeAI bietet eine breite Palette von Nachbearbeitungsfunktionen. Bildhochskalierung und Gesichtsrekonstruktion sind bereits in der WebUI verfügbar. Sie können sie über das Menü Erweiterte Optionen der Reiter Text in Bild und Bild in Bild aufrufen. Sie können Bilder auch direkt bearbeiten, indem Sie die Schaltflächen für Bildaktionen oberhalb der aktuellen Bildanzeige oder im Viewer verwenden.", + "postProcessDesc2": "Eine spezielle Benutzeroberfläche wird in Kürze veröffentlicht, um erweiterte Nachbearbeitungs-Workflows zu erleichtern.", + "postProcessDesc3": "Die InvokeAI Kommandozeilen-Schnittstelle bietet verschiedene andere Funktionen, darunter Embiggen.", + "training": "Training", + "trainingDesc1": "Ein spezieller Arbeitsablauf zum Trainieren Ihrer eigenen Embeddings und Checkpoints mit Textual Inversion und Dreambooth über die Weboberfläche.", + "trainingDesc2": "InvokeAI unterstützt bereits das Training von benutzerdefinierten Embeddings mit Textual Inversion unter Verwendung des Hauptskripts.", + "upload": "Upload", + "close": "Schließen", + "load": "Laden", + "statusConnected": "Verbunden", + "statusDisconnected": "Getrennt", + "statusError": "Fehler", + "statusPreparing": "Vorbereiten", + "statusProcessingCanceled": "Verarbeitung abgebrochen", + "statusProcessingComplete": "Verarbeitung komplett", + "statusGenerating": "Generieren", + "statusGeneratingTextToImage": "Erzeugen von Text zu Bild", + "statusGeneratingImageToImage": "Erzeugen von Bild zu Bild", + "statusGeneratingInpainting": "Erzeuge Inpainting", + "statusGeneratingOutpainting": "Erzeuge Outpainting", + "statusGenerationComplete": "Generierung abgeschlossen", + "statusIterationComplete": "Iteration abgeschlossen", + "statusSavingImage": "Speichere Bild", + "statusRestoringFaces": "Gesichter restaurieren", + "statusRestoringFacesGFPGAN": "Gesichter restaurieren (GFPGAN)", + "statusRestoringFacesCodeFormer": "Gesichter restaurieren (CodeFormer)", + "statusUpscaling": "Hochskalierung", + "statusUpscalingESRGAN": "Hochskalierung (ESRGAN)", + "statusLoadingModel": "Laden des Modells", + "statusModelChanged": "Modell Geändert" +} diff --git a/invokeai/frontend/dist/locales/common/en-US.json b/invokeai/frontend/dist/locales/common/en-US.json new file mode 100644 index 0000000000..7d38074520 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/en-US.json @@ -0,0 +1,62 @@ +{ + "hotkeysLabel": "Hotkeys", + "themeLabel": "Theme", + "languagePickerLabel": "Language Picker", + "reportBugLabel": "Report Bug", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Settings", + "darkTheme": "Dark", + "lightTheme": "Light", + "greenTheme": "Green", + "langEnglish": "English", + "langRussian": "Russian", + "langItalian": "Italian", + "langBrPortuguese": "Portuguese (Brazilian)", + "langGerman": "German", + "langPortuguese": "Portuguese", + "langFrench": "French", + "langPolish": "Polish", + "langSimplifiedChinese": "Simplified Chinese", + "langSpanish": "Spanish", + "langJapanese": "Japanese", + "langDutch": "Dutch", + "langUkranian": "Ukranian", + "text2img": "Text To Image", + "img2img": "Image To Image", + "unifiedCanvas": "Unified Canvas", + "nodes": "Nodes", + "nodesDesc": "A node based system for the generation of images is under development currently. Stay tuned for updates about this amazing feature.", + "postProcessing": "Post Processing", + "postProcessDesc1": "Invoke AI offers a wide variety of post processing features. Image Upscaling and Face Restoration are already available in the WebUI. You can access them from the Advanced Options menu of the Text To Image and Image To Image tabs. You can also process images directly, using the image action buttons above the current image display or in the viewer.", + "postProcessDesc2": "A dedicated UI will be released soon to facilitate more advanced post processing workflows.", + "postProcessDesc3": "The Invoke AI Command Line Interface offers various other features including Embiggen.", + "training": "Training", + "trainingDesc1": "A dedicated workflow for training your own embeddings and checkpoints using Textual Inversion and Dreambooth from the web interface.", + "trainingDesc2": "InvokeAI already supports training custom embeddings using Textual Inversion using the main script.", + "upload": "Upload", + "close": "Close", + "load": "Load", + "back": "Back", + "statusConnected": "Connected", + "statusDisconnected": "Disconnected", + "statusError": "Error", + "statusPreparing": "Preparing", + "statusProcessingCanceled": "Processing Canceled", + "statusProcessingComplete": "Processing Complete", + "statusGenerating": "Generating", + "statusGeneratingTextToImage": "Generating Text To Image", + "statusGeneratingImageToImage": "Generating Image To Image", + "statusGeneratingInpainting": "Generating Inpainting", + "statusGeneratingOutpainting": "Generating Outpainting", + "statusGenerationComplete": "Generation Complete", + "statusIterationComplete": "Iteration Complete", + "statusSavingImage": "Saving Image", + "statusRestoringFaces": "Restoring Faces", + "statusRestoringFacesGFPGAN": "Restoring Faces (GFPGAN)", + "statusRestoringFacesCodeFormer": "Restoring Faces (CodeFormer)", + "statusUpscaling": "Upscaling", + "statusUpscalingESRGAN": "Upscaling (ESRGAN)", + "statusLoadingModel": "Loading Model", + "statusModelChanged": "Model Changed" +} diff --git a/invokeai/frontend/dist/locales/common/en.json b/invokeai/frontend/dist/locales/common/en.json new file mode 100644 index 0000000000..7d38074520 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/en.json @@ -0,0 +1,62 @@ +{ + "hotkeysLabel": "Hotkeys", + "themeLabel": "Theme", + "languagePickerLabel": "Language Picker", + "reportBugLabel": "Report Bug", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Settings", + "darkTheme": "Dark", + "lightTheme": "Light", + "greenTheme": "Green", + "langEnglish": "English", + "langRussian": "Russian", + "langItalian": "Italian", + "langBrPortuguese": "Portuguese (Brazilian)", + "langGerman": "German", + "langPortuguese": "Portuguese", + "langFrench": "French", + "langPolish": "Polish", + "langSimplifiedChinese": "Simplified Chinese", + "langSpanish": "Spanish", + "langJapanese": "Japanese", + "langDutch": "Dutch", + "langUkranian": "Ukranian", + "text2img": "Text To Image", + "img2img": "Image To Image", + "unifiedCanvas": "Unified Canvas", + "nodes": "Nodes", + "nodesDesc": "A node based system for the generation of images is under development currently. Stay tuned for updates about this amazing feature.", + "postProcessing": "Post Processing", + "postProcessDesc1": "Invoke AI offers a wide variety of post processing features. Image Upscaling and Face Restoration are already available in the WebUI. You can access them from the Advanced Options menu of the Text To Image and Image To Image tabs. You can also process images directly, using the image action buttons above the current image display or in the viewer.", + "postProcessDesc2": "A dedicated UI will be released soon to facilitate more advanced post processing workflows.", + "postProcessDesc3": "The Invoke AI Command Line Interface offers various other features including Embiggen.", + "training": "Training", + "trainingDesc1": "A dedicated workflow for training your own embeddings and checkpoints using Textual Inversion and Dreambooth from the web interface.", + "trainingDesc2": "InvokeAI already supports training custom embeddings using Textual Inversion using the main script.", + "upload": "Upload", + "close": "Close", + "load": "Load", + "back": "Back", + "statusConnected": "Connected", + "statusDisconnected": "Disconnected", + "statusError": "Error", + "statusPreparing": "Preparing", + "statusProcessingCanceled": "Processing Canceled", + "statusProcessingComplete": "Processing Complete", + "statusGenerating": "Generating", + "statusGeneratingTextToImage": "Generating Text To Image", + "statusGeneratingImageToImage": "Generating Image To Image", + "statusGeneratingInpainting": "Generating Inpainting", + "statusGeneratingOutpainting": "Generating Outpainting", + "statusGenerationComplete": "Generation Complete", + "statusIterationComplete": "Iteration Complete", + "statusSavingImage": "Saving Image", + "statusRestoringFaces": "Restoring Faces", + "statusRestoringFacesGFPGAN": "Restoring Faces (GFPGAN)", + "statusRestoringFacesCodeFormer": "Restoring Faces (CodeFormer)", + "statusUpscaling": "Upscaling", + "statusUpscalingESRGAN": "Upscaling (ESRGAN)", + "statusLoadingModel": "Loading Model", + "statusModelChanged": "Model Changed" +} diff --git a/invokeai/frontend/dist/locales/common/es.json b/invokeai/frontend/dist/locales/common/es.json new file mode 100644 index 0000000000..f4259cdaf2 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/es.json @@ -0,0 +1,58 @@ +{ + "hotkeysLabel": "Atajos de teclado", + "themeLabel": "Tema", + "languagePickerLabel": "Selector de idioma", + "reportBugLabel": "Reportar errores", + "githubLabel": "GitHub", + "discordLabel": "Discord", + "settingsLabel": "Ajustes", + "darkTheme": "Oscuro", + "lightTheme": "Claro", + "greenTheme": "Verde", + "langEnglish": "Inglés", + "langRussian": "Ruso", + "langItalian": "Italiano", + "langBrPortuguese": "Portugués (Brasil)", + "langGerman": "Alemán", + "langPortuguese": "Portugués", + "langFrench": "French", + "langPolish": "Polish", + "langSpanish": "Español", + "text2img": "Texto a Imagen", + "img2img": "Imagen a Imagen", + "unifiedCanvas": "Lienzo Unificado", + "nodes": "Nodos", + "nodesDesc": "Un sistema de generación de imágenes basado en nodos, actualmente se encuentra en desarrollo. Mantente pendiente a nuestras actualizaciones acerca de esta fabulosa funcionalidad.", + "postProcessing": "Post-procesamiento", + "postProcessDesc1": "Invoke AI ofrece una gran variedad de funciones de post-procesamiento, El aumento de tamaño y Restauración de Rostros ya se encuentran disponibles en la interfaz web, puedes acceder desde el menú de Opciones Avanzadas en las pestañas de Texto a Imagen y de Imagen a Imagen. También puedes acceder a estas funciones directamente mediante el botón de acciones en el menú superior de la imagen actual o en el visualizador", + "postProcessDesc2": "Una interfaz de usuario dedicada se lanzará pronto para facilitar flujos de trabajo de postprocesamiento más avanzado.", + "postProcessDesc3": "La Interfaz de Línea de Comandos de Invoke AI ofrece muchas otras características, incluyendo -Embiggen-.", + "training": "Entrenamiento", + "trainingDesc1": "Un flujo de trabajo dedicado para el entrenamiento de sus propios -embeddings- y puntos de control utilizando Inversión Textual y Dreambooth desde la interfaz web.", + "trainingDesc2": "InvokeAI already supports training custom embeddings using Textual Inversion using the main script.", + "trainingDesc2": "InvokeAI ya soporta el entrenamiento de -embeddings- personalizados utilizando la Inversión Textual mediante el script principal.", + "upload": "Subir imagen", + "close": "Cerrar", + "load": "Cargar", + "statusConnected": "Conectado", + "statusDisconnected": "Desconectado", + "statusError": "Error", + "statusPreparing": "Preparando", + "statusProcessingCanceled": "Procesamiento Cancelado", + "statusProcessingComplete": "Procesamiento Completo", + "statusGenerating": "Generando", + "statusGeneratingTextToImage": "Generando Texto a Imagen", + "statusGeneratingImageToImage": "Generando Imagen a Imagen", + "statusGeneratingInpainting": "Generando pintura interior", + "statusGeneratingOutpainting": "Generando pintura exterior", + "statusGenerationComplete": "Generación Completa", + "statusIterationComplete": "Iteración Completa", + "statusSavingImage": "Guardando Imagen", + "statusRestoringFaces": "Restaurando Rostros", + "statusRestoringFacesGFPGAN": "Restaurando Rostros (GFPGAN)", + "statusRestoringFacesCodeFormer": "Restaurando Rostros (CodeFormer)", + "statusUpscaling": "Aumentando Tamaño", + "statusUpscalingESRGAN": "Restaurando Rostros(ESRGAN)", + "statusLoadingModel": "Cargando Modelo", + "statusModelChanged": "Modelo cambiado" +} diff --git a/invokeai/frontend/dist/locales/common/fr.json b/invokeai/frontend/dist/locales/common/fr.json new file mode 100644 index 0000000000..f276a91644 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/fr.json @@ -0,0 +1,62 @@ +{ + "hotkeysLabel": "Raccourcis clavier", + "themeLabel": "Thème", + "languagePickerLabel": "Sélecteur de langue", + "reportBugLabel": "Signaler un bug", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Paramètres", + "darkTheme": "Sombre", + "lightTheme": "Clair", + "greenTheme": "Vert", + "langEnglish": "Anglais", + "langRussian": "Russe", + "langItalian": "Italien", + "langBrPortuguese": "Portugais (Brésilien)", + "langGerman": "Allemand", + "langPortuguese": "Portugais", + "langFrench": "Français", + "langPolish": "Polonais", + "langSimplifiedChinese": "Chinois simplifié", + "langSpanish": "Espagnol", + "langJapanese": "Japonais", + "langDutch": "Néerlandais", + "text2img": "Texte en image", + "img2img": "Image en image", + "unifiedCanvas": "Canvas unifié", + "nodes": "Nœuds", + "nodesDesc": "Un système basé sur les nœuds pour la génération d'images est actuellement en développement. Restez à l'écoute pour des mises à jour à ce sujet.", + "postProcessing": "Post-traitement", + "postProcessDesc1": "Invoke AI offre une grande variété de fonctionnalités de post-traitement. Le redimensionnement d'images et la restauration de visages sont déjà disponibles dans la WebUI. Vous pouvez y accéder à partir du menu Options avancées des onglets Texte en image et Image en image. Vous pouvez également traiter les images directement en utilisant les boutons d'action d'image ci-dessus l'affichage d'image actuel ou dans le visualiseur.", + "postProcessDesc2": "Une interface utilisateur dédiée sera bientôt disponible pour faciliter les workflows de post-traitement plus avancés.", + "postProcessDesc3": "L'interface en ligne de commande d'Invoke AI offre diverses autres fonctionnalités, notamment Embiggen.", + "training": "Formation", + "trainingDesc1": "Un workflow dédié pour former vos propres embeddings et checkpoints en utilisant Textual Inversion et Dreambooth depuis l'interface web.", + "trainingDesc2": "InvokeAI prend déjà en charge la formation d'embeddings personnalisés en utilisant Textual Inversion en utilisant le script principal.", + "upload": "Télécharger", + "close": "Fermer", + "load": "Charger", + "back": "Retour", + "statusConnected": "Connecté", + "statusDisconnected": "Déconnecté", + "statusError": "Erreur", + "statusPreparing": "Préparation", + "statusProcessingCanceled": "Traitement Annulé", + "statusProcessingComplete": "Traitement Terminé", + "statusGenerating": "Génération", + "statusGeneratingTextToImage": "Génération Texte vers Image", + "statusGeneratingImageToImage": "Génération Image vers Image", + "statusGeneratingInpainting": "Génération de Réparation", + "statusGeneratingOutpainting": "Génération de Completion", + "statusGenerationComplete": "Génération Terminée", + "statusIterationComplete": "Itération Terminée", + "statusSavingImage": "Sauvegarde de l'Image", + "statusRestoringFaces": "Restauration des Visages", + "statusRestoringFacesGFPGAN": "Restauration des Visages (GFPGAN)", + "statusRestoringFacesCodeFormer": "Restauration des Visages (CodeFormer)", + "statusUpscaling": "Mise à Échelle", + "statusUpscalingESRGAN": "Mise à Échelle (ESRGAN)", + "statusLoadingModel": "Chargement du Modèle", + "statusModelChanged": "Modèle Changé" + +} diff --git a/invokeai/frontend/dist/locales/common/it.json b/invokeai/frontend/dist/locales/common/it.json new file mode 100644 index 0000000000..d96f5cc32c --- /dev/null +++ b/invokeai/frontend/dist/locales/common/it.json @@ -0,0 +1,61 @@ +{ + "hotkeysLabel": "Tasti di scelta rapida", + "themeLabel": "Tema", + "languagePickerLabel": "Seleziona lingua", + "reportBugLabel": "Segnala un errore", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Impostazioni", + "darkTheme": "Scuro", + "lightTheme": "Chiaro", + "greenTheme": "Verde", + "langEnglish": "Inglese", + "langRussian": "Russo", + "langItalian": "Italiano", + "langBrPortuguese": "Portoghese (Brasiliano)", + "langGerman": "Tedesco", + "langPortuguese": "Portoghese", + "langFrench": "Francese", + "langPolish": "Polacco", + "langSimplifiedChinese": "Cinese semplificato", + "langSpanish": "Spagnolo", + "langJapanese": "Giapponese", + "langDutch": "Olandese", + "text2img": "Testo a Immagine", + "img2img": "Immagine a Immagine", + "unifiedCanvas": "Tela unificata", + "nodes": "Nodi", + "nodesDesc": "Attualmente è in fase di sviluppo un sistema basato su nodi per la generazione di immagini. Resta sintonizzato per gli aggiornamenti su questa fantastica funzionalità.", + "postProcessing": "Post-elaborazione", + "postProcessDesc1": "Invoke AI offre un'ampia varietà di funzionalità di post-elaborazione. Ampiamento Immagine e Restaura i Volti sono già disponibili nell'interfaccia Web. È possibile accedervi dal menu 'Opzioni avanzate' delle schede 'Testo a Immagine' e 'Immagine a Immagine'. È inoltre possibile elaborare le immagini direttamente, utilizzando i pulsanti di azione dell'immagine sopra la visualizzazione dell'immagine corrente o nel visualizzatore.", + "postProcessDesc2": "Presto verrà rilasciata un'interfaccia utente dedicata per facilitare flussi di lavoro di post-elaborazione più avanzati.", + "postProcessDesc3": "L'interfaccia da riga di comando di 'Invoke AI' offre varie altre funzionalità tra cui Embiggen.", + "training": "Addestramento", + "trainingDesc1": "Un flusso di lavoro dedicato per addestrare i tuoi incorporamenti e checkpoint utilizzando Inversione Testuale e Dreambooth dall'interfaccia web.", + "trainingDesc2": "InvokeAI supporta già l'addestramento di incorporamenti personalizzati utilizzando l'inversione testuale utilizzando lo script principale.", + "upload": "Caricamento", + "close": "Chiudi", + "load": "Carica", + "back": "Indietro", + "statusConnected": "Collegato", + "statusDisconnected": "Disconnesso", + "statusError": "Errore", + "statusPreparing": "Preparazione", + "statusProcessingCanceled": "Elaborazione annullata", + "statusProcessingComplete": "Elaborazione completata", + "statusGenerating": "Generazione in corso", + "statusGeneratingTextToImage": "Generazione da Testo a Immagine", + "statusGeneratingImageToImage": "Generazione da Immagine a Immagine", + "statusGeneratingInpainting": "Generazione Inpainting", + "statusGeneratingOutpainting": "Generazione Outpainting", + "statusGenerationComplete": "Generazione completata", + "statusIterationComplete": "Iterazione completata", + "statusSavingImage": "Salvataggio dell'immagine", + "statusRestoringFaces": "Restaura i volti", + "statusRestoringFacesGFPGAN": "Restaura volti (GFPGAN)", + "statusRestoringFacesCodeFormer": "Restaura volti (CodeFormer)", + "statusUpscaling": "Ampliamento", + "statusUpscalingESRGAN": "Ampliamento (ESRGAN)", + "statusLoadingModel": "Caricamento del modello", + "statusModelChanged": "Modello cambiato" +} diff --git a/invokeai/frontend/dist/locales/common/ja.json b/invokeai/frontend/dist/locales/common/ja.json new file mode 100644 index 0000000000..94653b28d4 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/ja.json @@ -0,0 +1,60 @@ +{ + "hotkeysLabel": "Hotkeys", + "themeLabel": "テーマ", + "languagePickerLabel": "言語選択", + "reportBugLabel": "バグ報告", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "設定", + "darkTheme": "ダーク", + "lightTheme": "ライト", + "greenTheme": "緑", + "langEnglish": "English", + "langRussian": "Russian", + "langItalian": "Italian", + "langBrPortuguese": "Portuguese (Brazilian)", + "langGerman": "German", + "langPortuguese": "Portuguese", + "langFrench": "French", + "langPolish": "Polish", + "langSimplifiedChinese": "Simplified Chinese", + "langSpanish": "Spanish", + "text2img": "Text To Image", + "img2img": "Image To Image", + "unifiedCanvas": "Unified Canvas", + "nodes": "Nodes", + "nodesDesc": "現在、画像生成のためのノードベースシステムを開発中です。機能についてのアップデートにご期待ください。", + "postProcessing": "後処理", + "postProcessDesc1": "Invoke AIは、多彩な後処理の機能を備えています。アップスケーリングと顔修復は、すでにWebUI上で利用可能です。これらは、[Text To Image]および[Image To Image]タブの[詳細オプション]メニューからアクセスできます。また、現在の画像表示の上やビューア内の画像アクションボタンを使って、画像を直接処理することもできます。", + "postProcessDesc2": "より高度な後処理の機能を実現するための専用UIを近日中にリリース予定です。", + "postProcessDesc3": "Invoke AI CLIでは、この他にもEmbiggenをはじめとする様々な機能を利用することができます。", + "training": "追加学習", + "trainingDesc1": "Textual InversionとDreamboothを使って、WebUIから独自のEmbeddingとチェックポイントを追加学習するための専用ワークフローです。", + "trainingDesc2": "InvokeAIは、すでにメインスクリプトを使ったTextual Inversionによるカスタム埋め込み追加学習にも対応しています。", + "upload": "アップロード", + "close": "閉じる", + "load": "ロード", + "back": "戻る", + "statusConnected": "接続済", + "statusDisconnected": "切断済", + "statusError": "エラー", + "statusPreparing": "準備中", + "statusProcessingCanceled": "処理をキャンセル", + "statusProcessingComplete": "処理完了", + "statusGenerating": "生成中", + "statusGeneratingTextToImage": "Text To Imageで生成中", + "statusGeneratingImageToImage": "Image To Imageで生成中", + "statusGeneratingInpainting": "Generating Inpainting", + "statusGeneratingOutpainting": "Generating Outpainting", + "statusGenerationComplete": "生成完了", + "statusIterationComplete": "Iteration Complete", + "statusSavingImage": "画像を保存", + "statusRestoringFaces": "顔の修復", + "statusRestoringFacesGFPGAN": "顔の修復 (GFPGAN)", + "statusRestoringFacesCodeFormer": "顔の修復 (CodeFormer)", + "statusUpscaling": "アップスケーリング", + "statusUpscalingESRGAN": "アップスケーリング (ESRGAN)", + "statusLoadingModel": "モデルを読み込む", + "statusModelChanged": "モデルを変更" + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/common/nl.json b/invokeai/frontend/dist/locales/common/nl.json new file mode 100644 index 0000000000..c61d97b9a7 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/nl.json @@ -0,0 +1,59 @@ +{ + "hotkeysLabel": "Sneltoetsen", + "themeLabel": "Thema", + "languagePickerLabel": "Taalkeuze", + "reportBugLabel": "Meld bug", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Instellingen", + "darkTheme": "Donker", + "lightTheme": "Licht", + "greenTheme": "Groen", + "langEnglish": "Engels", + "langRussian": "Russisch", + "langItalian": "Italiaans", + "langBrPortuguese": "Portugees (Braziliaans)", + "langGerman": "Duits", + "langPortuguese": "Portugees", + "langFrench": "Frans", + "langPolish": "Pools", + "langSimplifiedChinese": "Vereenvoudigd Chinees", + "langSpanish": "Spaans", + "langDutch": "Nederlands", + "text2img": "Tekst naar afbeelding", + "img2img": "Afbeelding naar afbeelding", + "unifiedCanvas": "Centraal canvas", + "nodes": "Knooppunten", + "nodesDesc": "Een op knooppunten gebaseerd systeem voor het genereren van afbeeldingen is momenteel in ontwikkeling. Blijf op de hoogte voor nieuws over deze verbluffende functie.", + "postProcessing": "Naverwerking", + "postProcessDesc1": "Invoke AI biedt een breed scala aan naverwerkingsfuncties. Afbeeldingsopschaling en Gezichtsherstel zijn al beschikbaar in de web-UI. Je kunt ze openen via het menu Uitgebreide opties in de tabbladen Tekst naar afbeelding en Afbeelding naar afbeelding. Je kunt een afbeelding ook direct verwerken via de afbeeldingsactieknoppen boven de weergave van de huidigde afbeelding of in de Viewer.", + "postProcessDesc2": "Een individuele gebruikersinterface voor uitgebreidere naverwerkingsworkflows.", + "postProcessDesc3": "De opdrachtregelinterface van InvokeAI biedt diverse andere functies, waaronder Embiggen.", + "training": "Training", + "trainingDesc1": "Een individuele workflow in de webinterface voor het trainen van je eigen embeddings en checkpoints via Textual Inversion en Dreambooth.", + "trainingDesc2": "InvokeAI ondersteunt al het trainen van eigen embeddings via Textual Inversion via het hoofdscript.", + "upload": "Upload", + "close": "Sluit", + "load": "Laad", + "statusConnected": "Verbonden", + "statusDisconnected": "Niet verbonden", + "statusError": "Fout", + "statusPreparing": "Voorbereiden", + "statusProcessingCanceled": "Verwerking geannuleerd", + "statusProcessingComplete": "Verwerking voltooid", + "statusGenerating": "Genereren", + "statusGeneratingTextToImage": "Genereren van tekst naar afbeelding", + "statusGeneratingImageToImage": "Genereren van afbeelding naar afbeelding", + "statusGeneratingInpainting": "Genereren van Inpainting", + "statusGeneratingOutpainting": "Genereren van Outpainting", + "statusGenerationComplete": "Genereren voltooid", + "statusIterationComplete": "Iteratie voltooid", + "statusSavingImage": "Afbeelding bewaren", + "statusRestoringFaces": "Gezichten herstellen", + "statusRestoringFacesGFPGAN": "Gezichten herstellen (GFPGAN)", + "statusRestoringFacesCodeFormer": "Gezichten herstellen (CodeFormer)", + "statusUpscaling": "Opschaling", + "statusUpscalingESRGAN": "Opschaling (ESRGAN)", + "statusLoadingModel": "Laden van model", + "statusModelChanged": "Model gewijzigd" +} diff --git a/invokeai/frontend/dist/locales/common/pl.json b/invokeai/frontend/dist/locales/common/pl.json new file mode 100644 index 0000000000..2b9f3b5903 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/pl.json @@ -0,0 +1,55 @@ +{ + "hotkeysLabel": "Skróty klawiszowe", + "themeLabel": "Motyw", + "languagePickerLabel": "Wybór języka", + "reportBugLabel": "Zgłoś błąd", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Ustawienia", + "darkTheme": "Ciemny", + "lightTheme": "Jasny", + "greenTheme": "Zielony", + "langEnglish": "Angielski", + "langRussian": "Rosyjski", + "langItalian": "Włoski", + "langPortuguese": "Portugalski", + "langFrench": "Francuski", + "langPolish": "Polski", + "langSpanish": "Hiszpański", + "text2img": "Tekst na obraz", + "img2img": "Obraz na obraz", + "unifiedCanvas": "Tryb uniwersalny", + "nodes": "Węzły", + "nodesDesc": "W tym miejscu powstanie graficzny system generowania obrazów oparty na węzłach. Jest na co czekać!", + "postProcessing": "Przetwarzanie końcowe", + "postProcessDesc1": "Invoke AI oferuje wiele opcji przetwarzania końcowego. Z poziomu przeglądarki dostępne jest już zwiększanie rozdzielczości oraz poprawianie twarzy. Znajdziesz je wśród ustawień w trybach \"Tekst na obraz\" oraz \"Obraz na obraz\". Są również obecne w pasku menu wyświetlanym nad podglądem wygenerowanego obrazu.", + "postProcessDesc2": "Niedługo zostanie udostępniony specjalny interfejs, który będzie oferował jeszcze więcej możliwości.", + "postProcessDesc3": "Z poziomu linii poleceń już teraz dostępne są inne opcje, takie jak skalowanie obrazu metodą Embiggen.", + "training": "Trenowanie", + "trainingDesc1": "W tym miejscu dostępny będzie system przeznaczony do tworzenia własnych zanurzeń (ang. embeddings) i punktów kontrolnych przy użyciu metod w rodzaju inwersji tekstowej lub Dreambooth.", + "trainingDesc2": "Obecnie jest możliwe tworzenie własnych zanurzeń przy użyciu skryptów wywoływanych z linii poleceń.", + "upload": "Prześlij", + "close": "Zamknij", + "load": "Załaduj", + "statusConnected": "Połączono z serwerem", + "statusDisconnected": "Odłączono od serwera", + "statusError": "Błąd", + "statusPreparing": "Przygotowywanie", + "statusProcessingCanceled": "Anulowano przetwarzanie", + "statusProcessingComplete": "Zakończono przetwarzanie", + "statusGenerating": "Przetwarzanie", + "statusGeneratingTextToImage": "Przetwarzanie tekstu na obraz", + "statusGeneratingImageToImage": "Przetwarzanie obrazu na obraz", + "statusGeneratingInpainting": "Przemalowywanie", + "statusGeneratingOutpainting": "Domalowywanie", + "statusGenerationComplete": "Zakończono generowanie", + "statusIterationComplete": "Zakończono iterację", + "statusSavingImage": "Zapisywanie obrazu", + "statusRestoringFaces": "Poprawianie twarzy", + "statusRestoringFacesGFPGAN": "Poprawianie twarzy (GFPGAN)", + "statusRestoringFacesCodeFormer": "Poprawianie twarzy (CodeFormer)", + "statusUpscaling": "Powiększanie obrazu", + "statusUpscalingESRGAN": "Powiększanie (ESRGAN)", + "statusLoadingModel": "Wczytywanie modelu", + "statusModelChanged": "Zmieniono model" +} diff --git a/invokeai/frontend/dist/locales/common/pt.json b/invokeai/frontend/dist/locales/common/pt.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/common/pt.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/common/pt_br.json b/invokeai/frontend/dist/locales/common/pt_br.json new file mode 100644 index 0000000000..295bcf8184 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/pt_br.json @@ -0,0 +1,55 @@ +{ + "hotkeysLabel": "Teclas de atalho", + "themeLabel": "Tema", + "languagePickerLabel": "Seletor de Idioma", + "reportBugLabel": "Relatar Bug", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Configurações", + "darkTheme": "Noite", + "lightTheme": "Dia", + "greenTheme": "Verde", + "langEnglish": "English", + "langRussian": "Russian", + "langItalian": "Italian", + "langBrPortuguese": "Português do Brasil", + "langPortuguese": "Portuguese", + "langFrench": "French", + "langSpanish": "Spanish", + "text2img": "Texto Para Imagem", + "img2img": "Imagem Para Imagem", + "unifiedCanvas": "Tela Unificada", + "nodes": "Nódulos", + "nodesDesc": "Um sistema baseado em nódulos para geração de imagens está em contrução. Fique ligado para atualizações sobre essa funcionalidade incrível.", + "postProcessing": "Pós-processamento", + "postProcessDesc1": "Invoke AI oferece uma variedade e funcionalidades de pós-processamento. Redimensionador de Imagem e Restauração Facial já estão disponíveis na interface. Você pode acessar elas no menu de Opções Avançadas na aba de Texto para Imagem e Imagem para Imagem. Você também pode processar imagens diretamente, usando os botões de ação de imagem acima da atual tela de imagens ou visualizador.", + "postProcessDesc2": "Uma interface dedicada será lançada em breve para facilitar fluxos de trabalho com opções mais avançadas de pós-processamento.", + "postProcessDesc3": "A interface do comando de linha da Invoke oferece várias funcionalidades incluindo Ampliação.", + "training": "Treinando", + "trainingDesc1": "Um fluxo de trabalho dedicado para treinar suas próprias incorporações e chockpoints usando Inversão Textual e Dreambooth na interface web.", + "trainingDesc2": "InvokeAI já suporta treinar incorporações personalizadas usando Inversão Textual com o script principal.", + "upload": "Enviar", + "close": "Fechar", + "load": "Carregar", + "statusConnected": "Conectado", + "statusDisconnected": "Disconectado", + "statusError": "Erro", + "statusPreparing": "Preparando", + "statusProcessingCanceled": "Processamento Canceledo", + "statusProcessingComplete": "Processamento Completo", + "statusGenerating": "Gerando", + "statusGeneratingTextToImage": "Gerando Texto Para Imagem", + "statusGeneratingImageToImage": "Gerando Imagem Para Imagem", + "statusGeneratingInpainting": "Gerando Inpainting", + "statusGeneratingOutpainting": "Gerando Outpainting", + "statusGenerationComplete": "Geração Completa", + "statusIterationComplete": "Iteração Completa", + "statusSavingImage": "Salvando Imagem", + "statusRestoringFaces": "Restaurando Rostos", + "statusRestoringFacesGFPGAN": "Restaurando Rostos (GFPGAN)", + "statusRestoringFacesCodeFormer": "Restaurando Rostos (CodeFormer)", + "statusUpscaling": "Redimensinando", + "statusUpscalingESRGAN": "Redimensinando (ESRGAN)", + "statusLoadingModel": "Carregando Modelo", + "statusModelChanged": "Modelo Alterado" +} diff --git a/invokeai/frontend/dist/locales/common/ru.json b/invokeai/frontend/dist/locales/common/ru.json new file mode 100644 index 0000000000..efa54fcd47 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/ru.json @@ -0,0 +1,54 @@ +{ + "hotkeysLabel": "Горячие клавиши", + "themeLabel": "Тема", + "languagePickerLabel": "Язык", + "reportBugLabel": "Сообщить об ошибке", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Настройка", + "darkTheme": "Темная", + "lightTheme": "Светлая", + "greenTheme": "Зеленая", + "langEnglish": "English", + "langRussian": "Русский", + "langItalian": "Italian", + "langPortuguese": "Portuguese", + "langFrench": "French", + "langSpanish": "Spanish", + "text2img": "Изображение из текста (text2img)", + "img2img": "Изображение в изображение (img2img)", + "unifiedCanvas": "Универсальный холст", + "nodes": "Ноды", + "nodesDesc": "Cистема генерации изображений на основе нодов (узлов) уже разрабатывается. Следите за новостями об этой замечательной функции.", + "postProcessing": "Постобработка", + "postProcessDesc1": "Invoke AI предлагает широкий спектр функций постобработки. Увеличение изображения (upscale) и восстановление лиц уже доступны в интерфейсе. Получите доступ к ним из меню 'Дополнительные параметры' на вкладках 'Текст в изображение' и 'Изображение в изображение'. Обрабатывайте изображения напрямую, используя кнопки действий с изображениями над текущим изображением или в режиме просмотра.", + "postProcessDesc2": "В ближайшее время будет выпущен специальный интерфейс для более продвинутых процессов постобработки.", + "postProcessDesc3": "Интерфейс командной строки Invoke AI предлагает различные другие функции, включая увеличение Embiggen", + "training": "Обучение", + "trainingDesc1": "Специальный интерфейс для обучения собственных моделей с использованием Textual Inversion и Dreambooth", + "trainingDesc2": "InvokeAI уже поддерживает обучение моделей с помощью TI, через интерфейс командной строки.", + "upload": "Загрузить", + "close": "Закрыть", + "load": "Загрузить", + "statusConnected": "Подключен", + "statusDisconnected": "Отключен", + "statusError": "Ошибка", + "statusPreparing": "Подготовка", + "statusProcessingCanceled": "Обработка прервана", + "statusProcessingComplete": "Обработка завершена", + "statusGenerating": "Генерация", + "statusGeneratingTextToImage": "Создаем изображение из текста", + "statusGeneratingImageToImage": "Создаем изображение из изображения", + "statusGeneratingInpainting": "Дополняем внутри", + "statusGeneratingOutpainting": "Дорисовываем снаружи", + "statusGenerationComplete": "Генерация завершена", + "statusIterationComplete": "Итерация завершена", + "statusSavingImage": "Сохранение изображения", + "statusRestoringFaces": "Восстановление лиц", + "statusRestoringFacesGFPGAN": "Восстановление лиц (GFPGAN)", + "statusRestoringFacesCodeFormer": "Восстановление лиц (CodeFormer)", + "statusUpscaling": "Увеличение", + "statusUpscalingESRGAN": "Увеличение (ESRGAN)", + "statusLoadingModel": "Загрузка модели", + "statusModelChanged": "Модель изменена" +} diff --git a/invokeai/frontend/dist/locales/common/ua.json b/invokeai/frontend/dist/locales/common/ua.json new file mode 100644 index 0000000000..69c1e7bc09 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/ua.json @@ -0,0 +1,53 @@ +{ + "hotkeysLabel": "Гарячi клавіші", + "themeLabel": "Тема", + "languagePickerLabel": "Мова", + "reportBugLabel": "Повідомити про помилку", + "githubLabel": "Github", + "discordLabel": "Discord", + "settingsLabel": "Налаштування", + "darkTheme": "Темна", + "lightTheme": "Світла", + "greenTheme": "Зелена", + "langEnglish": "Англійська", + "langRussian": "Російська", + "langItalian": "Iталійська", + "langPortuguese": "Португальська", + "langFrench": "Французька", + "text2img": "Зображення із тексту (text2img)", + "img2img": "Зображення із зображення (img2img)", + "unifiedCanvas": "Універсальне полотно", + "nodes": "Вузли", + "nodesDesc": "Система генерації зображень на основі нодів (вузлів) вже розробляється. Слідкуйте за новинами про цю чудову функцію.", + "postProcessing": "Постобробка", + "postProcessDesc1": "Invoke AI пропонує широкий спектр функцій постобробки. Збільшення зображення (upscale) та відновлення облич вже доступні в інтерфейсі. Отримайте доступ до них з меню 'Додаткові параметри' на вкладках 'Зображення із тексту' та 'Зображення із зображення'. Обробляйте зображення безпосередньо, використовуючи кнопки дій із зображеннями над поточним зображенням або в режимі перегляду.", + "postProcessDesc2": "Найближчим часом буде випущено спеціальний інтерфейс для більш сучасних процесів постобробки.", + "postProcessDesc3": "Інтерфейс командного рядка Invoke AI пропонує різні інші функції, включаючи збільшення Embiggen", + "training": "Навчання", + "trainingDesc1": "Спеціальний інтерфейс для навчання власних моделей з використанням Textual Inversion та Dreambooth", + "trainingDesc2": "InvokeAI вже підтримує навчання моделей за допомогою TI, через інтерфейс командного рядка.", + "upload": "Завантажити", + "close": "Закрити", + "load": "Завантажити", + "statusConnected": "Підключено", + "statusDisconnected": "Відключено", + "statusError": "Помилка", + "statusPreparing": "Підготування", + "statusProcessingCanceled": "Обробка перервана", + "statusProcessingComplete": "Обробка завершена", + "statusGenerating": "Генерація", + "statusGeneratingTextToImage": "Генерація зображення із тексту", + "statusGeneratingImageToImage": "Генерація зображення із зображення", + "statusGeneratingInpainting": "Домальовка всередині", + "statusGeneratingOutpainting": "Домальовка зовні", + "statusGenerationComplete": "Генерація завершена", + "statusIterationComplete": "Iтерація завершена", + "statusSavingImage": "Збереження зображення", + "statusRestoringFaces": "Відновлення облич", + "statusRestoringFacesGFPGAN": "Відновлення облич (GFPGAN)", + "statusRestoringFacesCodeFormer": "Відновлення облич (CodeFormer)", + "statusUpscaling": "Збільшення", + "statusUpscalingESRGAN": "Збільшення (ESRGAN)", + "statusLoadingModel": "Завантаження моделі", + "statusModelChanged": "Модель змінено" +} diff --git a/invokeai/frontend/dist/locales/common/zh_cn.json b/invokeai/frontend/dist/locales/common/zh_cn.json new file mode 100644 index 0000000000..a787f13b76 --- /dev/null +++ b/invokeai/frontend/dist/locales/common/zh_cn.json @@ -0,0 +1,54 @@ +{ + "hotkeysLabel": "快捷键", + "themeLabel": "主题", + "languagePickerLabel": "语言", + "reportBugLabel": "提交错误报告", + "githubLabel": "GitHub", + "discordLabel": "Discord", + "settingsLabel": "设置", + "darkTheme": "暗色", + "lightTheme": "亮色", + "greenTheme": "绿色", + "langEnglish": "英语", + "langRussian": "俄语", + "langItalian": "意大利语", + "langPortuguese": "葡萄牙语", + "langFrench": "法语", + "langChineseSimplified": "简体中文", + "text2img": "文字到图像", + "img2img": "图像到图像", + "unifiedCanvas": "统一画布", + "nodes": "节点", + "nodesDesc": "一个基于节点的图像生成系统目前正在开发中。请持续关注关于这一功能的更新。", + "postProcessing": "后期处理", + "postProcessDesc1": "Invoke AI 提供各种各样的后期处理功能。图像放大和面部修复在网页界面中已经可用。你可以从文本到图像和图像到图像页面的高级选项菜单中访问它们。你也可以直接使用图像显示上方或查看器中的图像操作按钮处理图像。", + "postProcessDesc2": "一个专门的界面将很快发布,新的界面能够处理更复杂的后期处理流程。", + "postProcessDesc3": "Invoke AI 命令行界面提供例如Embiggen的各种其他功能。", + "training": "训练", + "trainingDesc1": "一个专门用于从网络UI使用Textual Inversion和Dreambooth训练自己的嵌入模型和检查点的工作流程。", + "trainingDesc2": "InvokeAI已经支持使用主脚本中的Textual Inversion来训练自定义的嵌入模型。", + "upload": "上传", + "close": "关闭", + "load": "加载", + "statusConnected": "已连接", + "statusDisconnected": "未连接", + "statusError": "错误", + "statusPreparing": "准备中", + "statusProcessingCanceled": "处理取消", + "statusProcessingComplete": "处理完成", + "statusGenerating": "生成中", + "statusGeneratingTextToImage": "文字到图像生成中", + "statusGeneratingImageToImage": "图像到图像生成中", + "statusGeneratingInpainting": "生成内画中", + "statusGeneratingOutpainting": "生成外画中", + "statusGenerationComplete": "生成完成", + "statusIterationComplete": "迭代完成", + "statusSavingImage": "图像保存中", + "statusRestoringFaces": "脸部修复中", + "statusRestoringFacesGFPGAN": "脸部修复中 (GFPGAN)", + "statusRestoringFacesCodeFormer": "脸部修复中 (CodeFormer)", + "statusUpscaling": "放大中", + "statusUpscalingESRGAN": "放大中 (ESRGAN)", + "statusLoadingModel": "模型加载中", + "statusModelChanged": "模型已切换" +} diff --git a/invokeai/frontend/dist/locales/gallery/de.json b/invokeai/frontend/dist/locales/gallery/de.json new file mode 100644 index 0000000000..7f42a103a5 --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/de.json @@ -0,0 +1,16 @@ +{ + "generations": "Erzeugungen", + "showGenerations": "Zeige Erzeugnisse", + "uploads": "Uploads", + "showUploads": "Zeige Uploads", + "galleryImageSize": "Bildgröße", + "galleryImageResetSize": "Größe zurücksetzen", + "gallerySettings": "Galerie-Einstellungen", + "maintainAspectRatio": "Seitenverhältnis beibehalten", + "autoSwitchNewImages": "Automatisch zu neuen Bildern wechseln", + "singleColumnLayout": "Einspaltiges Layout", + "pinGallery": "Galerie anpinnen", + "allImagesLoaded": "Alle Bilder geladen", + "loadMore": "Mehr laden", + "noImagesInGallery": "Keine Bilder in der Galerie" +} diff --git a/invokeai/frontend/dist/locales/gallery/en-US.json b/invokeai/frontend/dist/locales/gallery/en-US.json new file mode 100644 index 0000000000..68e4223aa4 --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/en-US.json @@ -0,0 +1,16 @@ +{ + "generations": "Generations", + "showGenerations": "Show Generations", + "uploads": "Uploads", + "showUploads": "Show Uploads", + "galleryImageSize": "Image Size", + "galleryImageResetSize": "Reset Size", + "gallerySettings": "Gallery Settings", + "maintainAspectRatio": "Maintain Aspect Ratio", + "autoSwitchNewImages": "Auto-Switch to New Images", + "singleColumnLayout": "Single Column Layout", + "pinGallery": "Pin Gallery", + "allImagesLoaded": "All Images Loaded", + "loadMore": "Load More", + "noImagesInGallery": "No Images In Gallery" +} diff --git a/invokeai/frontend/dist/locales/gallery/en.json b/invokeai/frontend/dist/locales/gallery/en.json new file mode 100644 index 0000000000..68e4223aa4 --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/en.json @@ -0,0 +1,16 @@ +{ + "generations": "Generations", + "showGenerations": "Show Generations", + "uploads": "Uploads", + "showUploads": "Show Uploads", + "galleryImageSize": "Image Size", + "galleryImageResetSize": "Reset Size", + "gallerySettings": "Gallery Settings", + "maintainAspectRatio": "Maintain Aspect Ratio", + "autoSwitchNewImages": "Auto-Switch to New Images", + "singleColumnLayout": "Single Column Layout", + "pinGallery": "Pin Gallery", + "allImagesLoaded": "All Images Loaded", + "loadMore": "Load More", + "noImagesInGallery": "No Images In Gallery" +} diff --git a/invokeai/frontend/dist/locales/gallery/es.json b/invokeai/frontend/dist/locales/gallery/es.json new file mode 100644 index 0000000000..a87ac65c70 --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/es.json @@ -0,0 +1,16 @@ +{ + "generations": "Generaciones", + "showGenerations": "Mostrar Generaciones", + "uploads": "Subidas de archivos", + "showUploads": "Mostar Subidas", + "galleryImageSize": "Tamaño de la imagen", + "galleryImageResetSize": "Restablecer tamaño de la imagen", + "gallerySettings": "Ajustes de la galería", + "maintainAspectRatio": "Mantener relación de aspecto", + "autoSwitchNewImages": "Auto seleccionar Imágenes nuevas", + "singleColumnLayout": "Diseño de una columna", + "pinGallery": "Fijar galería", + "allImagesLoaded": "Todas las imágenes cargadas", + "loadMore": "Cargar más", + "noImagesInGallery": "Sin imágenes en la galería" +} diff --git a/invokeai/frontend/dist/locales/gallery/fr.json b/invokeai/frontend/dist/locales/gallery/fr.json new file mode 100644 index 0000000000..fec4f2079f --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/fr.json @@ -0,0 +1,16 @@ +{ + "generations": "Générations", + "showGenerations": "Afficher les générations", + "uploads": "Téléchargements", + "showUploads": "Afficher les téléchargements", + "galleryImageSize": "Taille de l'image", + "galleryImageResetSize": "Réinitialiser la taille", + "gallerySettings": "Paramètres de la galerie", + "maintainAspectRatio": "Maintenir le rapport d'aspect", + "autoSwitchNewImages": "Basculer automatiquement vers de nouvelles images", + "singleColumnLayout": "Mise en page en colonne unique", + "pinGallery": "Épingler la galerie", + "allImagesLoaded": "Toutes les images chargées", + "loadMore": "Charger plus", + "noImagesInGallery": "Aucune image dans la galerie" +} diff --git a/invokeai/frontend/dist/locales/gallery/it.json b/invokeai/frontend/dist/locales/gallery/it.json new file mode 100644 index 0000000000..26127f683d --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/it.json @@ -0,0 +1,16 @@ +{ + "generations": "Generazioni", + "showGenerations": "Mostra Generazioni", + "uploads": "Caricamenti", + "showUploads": "Mostra caricamenti", + "galleryImageSize": "Dimensione dell'immagine", + "galleryImageResetSize": "Ripristina dimensioni", + "gallerySettings": "Impostazioni della galleria", + "maintainAspectRatio": "Mantenere le proporzioni", + "autoSwitchNewImages": "Passaggio automatico a nuove immagini", + "singleColumnLayout": "Layout a colonna singola", + "pinGallery": "Blocca la galleria", + "allImagesLoaded": "Tutte le immagini caricate", + "loadMore": "Carica di più", + "noImagesInGallery": "Nessuna immagine nella galleria" +} diff --git a/invokeai/frontend/dist/locales/gallery/ja.json b/invokeai/frontend/dist/locales/gallery/ja.json new file mode 100644 index 0000000000..81c2510bfb --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/ja.json @@ -0,0 +1,17 @@ +{ + "generations": "Generations", + "showGenerations": "Show Generations", + "uploads": "アップロード", + "showUploads": "アップロードした画像を見る", + "galleryImageSize": "画像のサイズ", + "galleryImageResetSize": "サイズをリセット", + "gallerySettings": "ギャラリーの設定", + "maintainAspectRatio": "アスペクト比を維持", + "autoSwitchNewImages": "Auto-Switch to New Images", + "singleColumnLayout": "シングルカラムレイアウト", + "pinGallery": "ギャラリーにピン留め", + "allImagesLoaded": "すべての画像を読み込む", + "loadMore": "さらに読み込む", + "noImagesInGallery": "ギャラリーに画像がありません" + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/gallery/nl.json b/invokeai/frontend/dist/locales/gallery/nl.json new file mode 100644 index 0000000000..95688eade4 --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/nl.json @@ -0,0 +1,16 @@ +{ + "generations": "Gegenereerde afbeeldingen", + "showGenerations": "Toon gegenereerde afbeeldingen", + "uploads": "Uploads", + "showUploads": "Toon uploads", + "galleryImageSize": "Afbeeldingsgrootte", + "galleryImageResetSize": "Herstel grootte", + "gallerySettings": "Instellingen galerij", + "maintainAspectRatio": "Behoud beeldverhoiding", + "autoSwitchNewImages": "Wissel autom. naar nieuwe afbeeldingen", + "singleColumnLayout": "Eenkolomsindeling", + "pinGallery": "Zet galerij vast", + "allImagesLoaded": "Alle afbeeldingen geladen", + "loadMore": "Laad meer", + "noImagesInGallery": "Geen afbeeldingen in galerij" +} diff --git a/invokeai/frontend/dist/locales/gallery/pl.json b/invokeai/frontend/dist/locales/gallery/pl.json new file mode 100644 index 0000000000..6523121827 --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/pl.json @@ -0,0 +1,16 @@ +{ + "generations": "Wygenerowane", + "showGenerations": "Pokaż wygenerowane obrazy", + "uploads": "Przesłane", + "showUploads": "Pokaż przesłane obrazy", + "galleryImageSize": "Rozmiar obrazów", + "galleryImageResetSize": "Resetuj rozmiar", + "gallerySettings": "Ustawienia galerii", + "maintainAspectRatio": "Zachowaj proporcje", + "autoSwitchNewImages": "Przełączaj na nowe obrazy", + "singleColumnLayout": "Układ jednokolumnowy", + "pinGallery": "Przypnij galerię", + "allImagesLoaded": "Koniec listy", + "loadMore": "Wczytaj więcej", + "noImagesInGallery": "Brak obrazów w galerii" +} diff --git a/invokeai/frontend/dist/locales/gallery/pt.json b/invokeai/frontend/dist/locales/gallery/pt.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/pt.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/gallery/pt_br.json b/invokeai/frontend/dist/locales/gallery/pt_br.json new file mode 100644 index 0000000000..20318883a2 --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/pt_br.json @@ -0,0 +1,16 @@ +{ + "generations": "Gerações", + "showGenerations": "Mostrar Gerações", + "uploads": "Enviados", + "showUploads": "Mostrar Enviados", + "galleryImageSize": "Tamanho da Imagem", + "galleryImageResetSize": "Resetar Imagem", + "gallerySettings": "Configurações de Galeria", + "maintainAspectRatio": "Mater Proporções", + "autoSwitchNewImages": "Trocar para Novas Imagens Automaticamente", + "singleColumnLayout": "Disposição em Coluna Única", + "pinGallery": "Fixar Galeria", + "allImagesLoaded": "Todas as Imagens Carregadas", + "loadMore": "Carregar Mais", + "noImagesInGallery": "Sem Imagens na Galeria" +} diff --git a/invokeai/frontend/dist/locales/gallery/ru.json b/invokeai/frontend/dist/locales/gallery/ru.json new file mode 100644 index 0000000000..4af45fc9ec --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/ru.json @@ -0,0 +1,16 @@ +{ + "generations": "Генерации", + "showGenerations": "Показывать генерации", + "uploads": "Загрузки", + "showUploads": "Показывать загрузки", + "galleryImageSize": "Размер изображений", + "galleryImageResetSize": "Размер по умолчанию", + "gallerySettings": "Настройка галереи", + "maintainAspectRatio": "Сохранять пропорции", + "autoSwitchNewImages": "Автоматически выбирать новые", + "singleColumnLayout": "Одна колонка", + "pinGallery": "Закрепить галерею", + "allImagesLoaded": "Все изображения загружены", + "loadMore": "Показать больше", + "noImagesInGallery": "Изображений нет" +} diff --git a/invokeai/frontend/dist/locales/gallery/ua.json b/invokeai/frontend/dist/locales/gallery/ua.json new file mode 100644 index 0000000000..39f83116ce --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/ua.json @@ -0,0 +1,16 @@ +{ + "generations": "Генерації", + "showGenerations": "Показувати генерації", + "uploads": "Завантаження", + "showUploads": "Показувати завантаження", + "galleryImageSize": "Розмір зображень", + "galleryImageResetSize": "Аатоматичний розмір", + "gallerySettings": "Налаштування галереї", + "maintainAspectRatio": "Зберігати пропорції", + "autoSwitchNewImages": "Автоматично вибирати нові", + "singleColumnLayout": "Одна колонка", + "pinGallery": "Закріпити галерею", + "allImagesLoaded": "Всі зображення завантажені", + "loadMore": "Завантажити більше", + "noImagesInGallery": "Зображень немає" +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/gallery/zh_cn.json b/invokeai/frontend/dist/locales/gallery/zh_cn.json new file mode 100644 index 0000000000..1e76515a6c --- /dev/null +++ b/invokeai/frontend/dist/locales/gallery/zh_cn.json @@ -0,0 +1,16 @@ +{ + "generations": "生成的图像", + "showGenerations": "显示生成的图像", + "uploads": "上传的图像", + "showUploads": "显示上传的图像", + "galleryImageSize": "预览大小", + "galleryImageResetSize": "重置预览大小", + "gallerySettings": "预览设置", + "maintainAspectRatio": "保持比例", + "autoSwitchNewImages": "自动切换到新图像", + "singleColumnLayout": "单列布局", + "pinGallery": "保持图库常开", + "allImagesLoaded": "所有图像加载完成", + "loadMore": "加载更多", + "noImagesInGallery": "图库中无图像" +} diff --git a/invokeai/frontend/dist/locales/hotkeys/de.json b/invokeai/frontend/dist/locales/hotkeys/de.json new file mode 100644 index 0000000000..1794e6c200 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/de.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Tastenkürzel", + "appHotkeys": "App-Tastenkombinationen", + "generalHotkeys": "Allgemeine Tastenkürzel", + "galleryHotkeys": "Galerie Tastenkürzel", + "unifiedCanvasHotkeys": "Unified Canvas Tastenkürzel", + "invoke": { + "title": "Invoke", + "desc": "Ein Bild erzeugen" + }, + "cancel": { + "title": "Abbrechen", + "desc": "Bilderzeugung abbrechen" + }, + "focusPrompt": { + "title": "Fokussiere Prompt", + "desc": "Fokussieren des Eingabefeldes für den Prompt" + }, + "toggleOptions": { + "title": "Optionen umschalten", + "desc": "Öffnen und Schließen des Optionsfeldes" + }, + "pinOptions": { + "title": "Optionen anheften", + "desc": "Anheften des Optionsfeldes" + }, + "toggleViewer": { + "title": "Bildbetrachter umschalten", + "desc": "Bildbetrachter öffnen und schließen" + }, + "toggleGallery": { + "title": "Galerie umschalten", + "desc": "Öffnen und Schließen des Galerie-Schubfachs" + }, + "maximizeWorkSpace": { + "title": "Arbeitsbereich maximieren", + "desc": "Schließen Sie die Panels und maximieren Sie den Arbeitsbereich" + }, + "changeTabs": { + "title": "Tabs wechseln", + "desc": "Zu einem anderen Arbeitsbereich wechseln" + }, + "consoleToggle": { + "title": "Konsole Umschalten", + "desc": "Konsole öffnen und schließen" + }, + "setPrompt": { + "title": "Prompt setzen", + "desc": "Verwende den Prompt des aktuellen Bildes" + }, + "setSeed": { + "title": "Seed setzen", + "desc": "Verwende den Seed des aktuellen Bildes" + }, + "setParameters": { + "title": "Parameter setzen", + "desc": "Alle Parameter des aktuellen Bildes verwenden" + }, + "restoreFaces": { + "title": "Gesicht restaurieren", + "desc": "Das aktuelle Bild restaurieren" + }, + "upscale": { + "title": "Hochskalieren", + "desc": "Das aktuelle Bild hochskalieren" + }, + "showInfo": { + "title": "Info anzeigen", + "desc": "Metadaten des aktuellen Bildes anzeigen" + }, + "sendToImageToImage": { + "title": "An Bild zu Bild senden", + "desc": "Aktuelles Bild an Bild zu Bild senden" + }, + "deleteImage": { + "title": "Bild löschen", + "desc": "Aktuelles Bild löschen" + }, + "closePanels": { + "title": "Panels schließen", + "desc": "Schließt offene Panels" + }, + "previousImage": { + "title": "Vorheriges Bild", + "desc": "Vorheriges Bild in der Galerie anzeigen" + }, + "nextImage": { + "title": "Nächstes Bild", + "desc": "Nächstes Bild in Galerie anzeigen" + }, + "toggleGalleryPin": { + "title": "Galerie anheften umschalten", + "desc": "Heftet die Galerie an die Benutzeroberfläche bzw. löst die sie." + }, + "increaseGalleryThumbSize": { + "title": "Größe der Galeriebilder erhöhen", + "desc": "Vergrößert die Galerie-Miniaturansichten" + }, + "decreaseGalleryThumbSize": { + "title": "Größe der Galeriebilder verringern", + "desc": "Verringert die Größe der Galerie-Miniaturansichten" + }, + "selectBrush": { + "title": "Pinsel auswählen", + "desc": "Wählt den Leinwandpinsel aus" + }, + "selectEraser": { + "title": "Radiergummi auswählen", + "desc": "Wählt den Radiergummi für die Leinwand aus" + }, + "decreaseBrushSize": { + "title": "Pinselgröße verkleinern", + "desc": "Verringert die Größe des Pinsels/Radiergummis" + }, + "increaseBrushSize": { + "title": "Pinselgröße erhöhen", + "desc": "Erhöht die Größe des Pinsels/Radiergummis" + }, + "decreaseBrushOpacity": { + "title": "Deckkraft des Pinsels vermindern", + "desc": "Verringert die Deckkraft des Pinsels" + }, + "increaseBrushOpacity": { + "title": "Deckkraft des Pinsels erhöhen", + "desc": "Erhöht die Deckkraft des Pinsels" + }, + "moveTool": { + "title": "Verschieben Werkzeug", + "desc": "Ermöglicht die Navigation auf der Leinwand" + }, + "fillBoundingBox": { + "title": "Begrenzungsrahmen füllen", + "desc": "Füllt den Begrenzungsrahmen mit Pinselfarbe" + }, + "eraseBoundingBox": { + "title": "Begrenzungsrahmen löschen", + "desc": "Löscht den Bereich des Begrenzungsrahmens" + }, + "colorPicker": { + "title": "Farbpipette", + "desc": "Farben aus dem Bild aufnehmen" + }, + "toggleSnap": { + "title": "Einrasten umschalten", + "desc": "Schaltet Einrasten am Raster ein und aus" + }, + "quickToggleMove": { + "title": "Schnell Verschiebemodus", + "desc": "Schaltet vorübergehend den Verschiebemodus um" + }, + "toggleLayer": { + "title": "Ebene umschalten", + "desc": "Schaltet die Auswahl von Maske/Basisebene um" + }, + "clearMask": { + "title": "Lösche Maske", + "desc": "Die gesamte Maske löschen" + }, + "hideMask": { + "title": "Maske ausblenden", + "desc": "Maske aus- und einblenden" + }, + "showHideBoundingBox": { + "title": "Begrenzungsrahmen ein-/ausblenden", + "desc": "Sichtbarkeit des Begrenzungsrahmens ein- und ausschalten" + }, + "mergeVisible": { + "title": "Sichtbares Zusammenführen", + "desc": "Alle sichtbaren Ebenen der Leinwand zusammenführen" + }, + "saveToGallery": { + "title": "In Galerie speichern", + "desc": "Aktuelle Leinwand in Galerie speichern" + }, + "copyToClipboard": { + "title": "In die Zwischenablage kopieren", + "desc": "Aktuelle Leinwand in die Zwischenablage kopieren" + }, + "downloadImage": { + "title": "Bild herunterladen", + "desc": "Aktuelle Leinwand herunterladen" + }, + "undoStroke": { + "title": "Pinselstrich rückgängig machen", + "desc": "Einen Pinselstrich rückgängig machen" + }, + "redoStroke": { + "title": "Pinselstrich wiederherstellen", + "desc": "Einen Pinselstrich wiederherstellen" + }, + "resetView": { + "title": "Ansicht zurücksetzen", + "desc": "Leinwandansicht zurücksetzen" + }, + "previousStagingImage": { + "title": "Vorheriges Staging-Bild", + "desc": "Bild des vorherigen Staging-Bereichs" + }, + "nextStagingImage": { + "title": "Nächstes Staging-Bild", + "desc": "Bild des nächsten Staging-Bereichs" + }, + "acceptStagingImage": { + "title": "Staging-Bild akzeptieren", + "desc": "Akzeptieren Sie das aktuelle Bild des Staging-Bereichs" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/en-US.json b/invokeai/frontend/dist/locales/hotkeys/en-US.json new file mode 100644 index 0000000000..b0cc3a0a21 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/en-US.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Keyboard Shorcuts", + "appHotkeys": "App Hotkeys", + "generalHotkeys": "General Hotkeys", + "galleryHotkeys": "Gallery Hotkeys", + "unifiedCanvasHotkeys": "Unified Canvas Hotkeys", + "invoke": { + "title": "Invoke", + "desc": "Generate an image" + }, + "cancel": { + "title": "Cancel", + "desc": "Cancel image generation" + }, + "focusPrompt": { + "title": "Focus Prompt", + "desc": "Focus the prompt input area" + }, + "toggleOptions": { + "title": "Toggle Options", + "desc": "Open and close the options panel" + }, + "pinOptions": { + "title": "Pin Options", + "desc": "Pin the options panel" + }, + "toggleViewer": { + "title": "Toggle Viewer", + "desc": "Open and close Image Viewer" + }, + "toggleGallery": { + "title": "Toggle Gallery", + "desc": "Open and close the gallery drawer" + }, + "maximizeWorkSpace": { + "title": "Maximize Workspace", + "desc": "Close panels and maximize work area" + }, + "changeTabs": { + "title": "Change Tabs", + "desc": "Switch to another workspace" + }, + "consoleToggle": { + "title": "Console Toggle", + "desc": "Open and close console" + }, + "setPrompt": { + "title": "Set Prompt", + "desc": "Use the prompt of the current image" + }, + "setSeed": { + "title": "Set Seed", + "desc": "Use the seed of the current image" + }, + "setParameters": { + "title": "Set Parameters", + "desc": "Use all parameters of the current image" + }, + "restoreFaces": { + "title": "Restore Faces", + "desc": "Restore the current image" + }, + "upscale": { + "title": "Upscale", + "desc": "Upscale the current image" + }, + "showInfo": { + "title": "Show Info", + "desc": "Show metadata info of the current image" + }, + "sendToImageToImage": { + "title": "Send To Image To Image", + "desc": "Send current image to Image to Image" + }, + "deleteImage": { + "title": "Delete Image", + "desc": "Delete the current image" + }, + "closePanels": { + "title": "Close Panels", + "desc": "Closes open panels" + }, + "previousImage": { + "title": "Previous Image", + "desc": "Display the previous image in gallery" + }, + "nextImage": { + "title": "Next Image", + "desc": "Display the next image in gallery" + }, + "toggleGalleryPin": { + "title": "Toggle Gallery Pin", + "desc": "Pins and unpins the gallery to the UI" + }, + "increaseGalleryThumbSize": { + "title": "Increase Gallery Image Size", + "desc": "Increases gallery thumbnails size" + }, + "decreaseGalleryThumbSize": { + "title": "Decrease Gallery Image Size", + "desc": "Decreases gallery thumbnails size" + }, + "selectBrush": { + "title": "Select Brush", + "desc": "Selects the canvas brush" + }, + "selectEraser": { + "title": "Select Eraser", + "desc": "Selects the canvas eraser" + }, + "decreaseBrushSize": { + "title": "Decrease Brush Size", + "desc": "Decreases the size of the canvas brush/eraser" + }, + "increaseBrushSize": { + "title": "Increase Brush Size", + "desc": "Increases the size of the canvas brush/eraser" + }, + "decreaseBrushOpacity": { + "title": "Decrease Brush Opacity", + "desc": "Decreases the opacity of the canvas brush" + }, + "increaseBrushOpacity": { + "title": "Increase Brush Opacity", + "desc": "Increases the opacity of the canvas brush" + }, + "moveTool": { + "title": "Move Tool", + "desc": "Allows canvas navigation" + }, + "fillBoundingBox": { + "title": "Fill Bounding Box", + "desc": "Fills the bounding box with brush color" + }, + "eraseBoundingBox": { + "title": "Erase Bounding Box", + "desc": "Erases the bounding box area" + }, + "colorPicker": { + "title": "Select Color Picker", + "desc": "Selects the canvas color picker" + }, + "toggleSnap": { + "title": "Toggle Snap", + "desc": "Toggles Snap to Grid" + }, + "quickToggleMove": { + "title": "Quick Toggle Move", + "desc": "Temporarily toggles Move mode" + }, + "toggleLayer": { + "title": "Toggle Layer", + "desc": "Toggles mask/base layer selection" + }, + "clearMask": { + "title": "Clear Mask", + "desc": "Clear the entire mask" + }, + "hideMask": { + "title": "Hide Mask", + "desc": "Hide and unhide mask" + }, + "showHideBoundingBox": { + "title": "Show/Hide Bounding Box", + "desc": "Toggle visibility of bounding box" + }, + "mergeVisible": { + "title": "Merge Visible", + "desc": "Merge all visible layers of canvas" + }, + "saveToGallery": { + "title": "Save To Gallery", + "desc": "Save current canvas to gallery" + }, + "copyToClipboard": { + "title": "Copy to Clipboard", + "desc": "Copy current canvas to clipboard" + }, + "downloadImage": { + "title": "Download Image", + "desc": "Download current canvas" + }, + "undoStroke": { + "title": "Undo Stroke", + "desc": "Undo a brush stroke" + }, + "redoStroke": { + "title": "Redo Stroke", + "desc": "Redo a brush stroke" + }, + "resetView": { + "title": "Reset View", + "desc": "Reset Canvas View" + }, + "previousStagingImage": { + "title": "Previous Staging Image", + "desc": "Previous Staging Area Image" + }, + "nextStagingImage": { + "title": "Next Staging Image", + "desc": "Next Staging Area Image" + }, + "acceptStagingImage": { + "title": "Accept Staging Image", + "desc": "Accept Current Staging Area Image" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/en.json b/invokeai/frontend/dist/locales/hotkeys/en.json new file mode 100644 index 0000000000..b0cc3a0a21 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/en.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Keyboard Shorcuts", + "appHotkeys": "App Hotkeys", + "generalHotkeys": "General Hotkeys", + "galleryHotkeys": "Gallery Hotkeys", + "unifiedCanvasHotkeys": "Unified Canvas Hotkeys", + "invoke": { + "title": "Invoke", + "desc": "Generate an image" + }, + "cancel": { + "title": "Cancel", + "desc": "Cancel image generation" + }, + "focusPrompt": { + "title": "Focus Prompt", + "desc": "Focus the prompt input area" + }, + "toggleOptions": { + "title": "Toggle Options", + "desc": "Open and close the options panel" + }, + "pinOptions": { + "title": "Pin Options", + "desc": "Pin the options panel" + }, + "toggleViewer": { + "title": "Toggle Viewer", + "desc": "Open and close Image Viewer" + }, + "toggleGallery": { + "title": "Toggle Gallery", + "desc": "Open and close the gallery drawer" + }, + "maximizeWorkSpace": { + "title": "Maximize Workspace", + "desc": "Close panels and maximize work area" + }, + "changeTabs": { + "title": "Change Tabs", + "desc": "Switch to another workspace" + }, + "consoleToggle": { + "title": "Console Toggle", + "desc": "Open and close console" + }, + "setPrompt": { + "title": "Set Prompt", + "desc": "Use the prompt of the current image" + }, + "setSeed": { + "title": "Set Seed", + "desc": "Use the seed of the current image" + }, + "setParameters": { + "title": "Set Parameters", + "desc": "Use all parameters of the current image" + }, + "restoreFaces": { + "title": "Restore Faces", + "desc": "Restore the current image" + }, + "upscale": { + "title": "Upscale", + "desc": "Upscale the current image" + }, + "showInfo": { + "title": "Show Info", + "desc": "Show metadata info of the current image" + }, + "sendToImageToImage": { + "title": "Send To Image To Image", + "desc": "Send current image to Image to Image" + }, + "deleteImage": { + "title": "Delete Image", + "desc": "Delete the current image" + }, + "closePanels": { + "title": "Close Panels", + "desc": "Closes open panels" + }, + "previousImage": { + "title": "Previous Image", + "desc": "Display the previous image in gallery" + }, + "nextImage": { + "title": "Next Image", + "desc": "Display the next image in gallery" + }, + "toggleGalleryPin": { + "title": "Toggle Gallery Pin", + "desc": "Pins and unpins the gallery to the UI" + }, + "increaseGalleryThumbSize": { + "title": "Increase Gallery Image Size", + "desc": "Increases gallery thumbnails size" + }, + "decreaseGalleryThumbSize": { + "title": "Decrease Gallery Image Size", + "desc": "Decreases gallery thumbnails size" + }, + "selectBrush": { + "title": "Select Brush", + "desc": "Selects the canvas brush" + }, + "selectEraser": { + "title": "Select Eraser", + "desc": "Selects the canvas eraser" + }, + "decreaseBrushSize": { + "title": "Decrease Brush Size", + "desc": "Decreases the size of the canvas brush/eraser" + }, + "increaseBrushSize": { + "title": "Increase Brush Size", + "desc": "Increases the size of the canvas brush/eraser" + }, + "decreaseBrushOpacity": { + "title": "Decrease Brush Opacity", + "desc": "Decreases the opacity of the canvas brush" + }, + "increaseBrushOpacity": { + "title": "Increase Brush Opacity", + "desc": "Increases the opacity of the canvas brush" + }, + "moveTool": { + "title": "Move Tool", + "desc": "Allows canvas navigation" + }, + "fillBoundingBox": { + "title": "Fill Bounding Box", + "desc": "Fills the bounding box with brush color" + }, + "eraseBoundingBox": { + "title": "Erase Bounding Box", + "desc": "Erases the bounding box area" + }, + "colorPicker": { + "title": "Select Color Picker", + "desc": "Selects the canvas color picker" + }, + "toggleSnap": { + "title": "Toggle Snap", + "desc": "Toggles Snap to Grid" + }, + "quickToggleMove": { + "title": "Quick Toggle Move", + "desc": "Temporarily toggles Move mode" + }, + "toggleLayer": { + "title": "Toggle Layer", + "desc": "Toggles mask/base layer selection" + }, + "clearMask": { + "title": "Clear Mask", + "desc": "Clear the entire mask" + }, + "hideMask": { + "title": "Hide Mask", + "desc": "Hide and unhide mask" + }, + "showHideBoundingBox": { + "title": "Show/Hide Bounding Box", + "desc": "Toggle visibility of bounding box" + }, + "mergeVisible": { + "title": "Merge Visible", + "desc": "Merge all visible layers of canvas" + }, + "saveToGallery": { + "title": "Save To Gallery", + "desc": "Save current canvas to gallery" + }, + "copyToClipboard": { + "title": "Copy to Clipboard", + "desc": "Copy current canvas to clipboard" + }, + "downloadImage": { + "title": "Download Image", + "desc": "Download current canvas" + }, + "undoStroke": { + "title": "Undo Stroke", + "desc": "Undo a brush stroke" + }, + "redoStroke": { + "title": "Redo Stroke", + "desc": "Redo a brush stroke" + }, + "resetView": { + "title": "Reset View", + "desc": "Reset Canvas View" + }, + "previousStagingImage": { + "title": "Previous Staging Image", + "desc": "Previous Staging Area Image" + }, + "nextStagingImage": { + "title": "Next Staging Image", + "desc": "Next Staging Area Image" + }, + "acceptStagingImage": { + "title": "Accept Staging Image", + "desc": "Accept Current Staging Area Image" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/es.json b/invokeai/frontend/dist/locales/hotkeys/es.json new file mode 100644 index 0000000000..2651a7c19f --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/es.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Atajos de teclado", + "appHotkeys": "Atajos de applicación", + "generalHotkeys": "Atajos generales", + "galleryHotkeys": "Atajos de galería", + "unifiedCanvasHotkeys": "Atajos de lienzo unificado", + "invoke": { + "title": "Invocar", + "desc": "Generar una imagen" + }, + "cancel": { + "title": "Cancelar", + "desc": "Cancelar el proceso de generación de imagen" + }, + "focusPrompt": { + "title": "Mover foco a Entrada de texto", + "desc": "Mover foco hacia el campo de texto de la Entrada" + }, + "toggleOptions": { + "title": "Alternar opciones", + "desc": "Mostar y ocultar el panel de opciones" + }, + "pinOptions": { + "title": "Fijar opciones", + "desc": "Fijar el panel de opciones" + }, + "toggleViewer": { + "title": "Alternar visor", + "desc": "Mostar y ocultar el visor de imágenes" + }, + "toggleGallery": { + "title": "Alternar galería", + "desc": "Mostar y ocultar la galería de imágenes" + }, + "maximizeWorkSpace": { + "title": "Maximizar espacio de trabajo", + "desc": "Cerrar otros páneles y maximizar el espacio de trabajo" + }, + "changeTabs": { + "title": "Cambiar", + "desc": "Cambiar entre áreas de trabajo" + }, + "consoleToggle": { + "title": "Alternar consola", + "desc": "Mostar y ocultar la consola" + }, + "setPrompt": { + "title": "Establecer Entrada", + "desc": "Usar el texto de entrada de la imagen actual" + }, + "setSeed": { + "title": "Establecer semilla", + "desc": "Usar la semilla de la imagen actual" + }, + "setParameters": { + "title": "Establecer parámetros", + "desc": "Usar todos los parámetros de la imagen actual" + }, + "restoreFaces": { + "title": "Restaurar rostros", + "desc": "Restaurar rostros en la imagen actual" + }, + "upscale": { + "title": "Aumentar resolución", + "desc": "Aumentar la resolución de la imagen actual" + }, + "showInfo": { + "title": "Mostrar información", + "desc": "Mostar metadatos de la imagen actual" + }, + "sendToImageToImage": { + "title": "Enviar hacia Imagen a Imagen", + "desc": "Enviar imagen actual hacia Imagen a Imagen" + }, + "deleteImage": { + "title": "Eliminar imagen", + "desc": "Eliminar imagen actual" + }, + "closePanels": { + "title": "Cerrar páneles", + "desc": "Cerrar los páneles abiertos" + }, + "previousImage": { + "title": "Imagen anterior", + "desc": "Muetra la imagen anterior en la galería" + }, + "nextImage": { + "title": "Imagen siguiente", + "desc": "Muetra la imagen siguiente en la galería" + }, + "toggleGalleryPin": { + "title": "Alternar fijado de galería", + "desc": "Fijar o desfijar la galería en la interfaz" + }, + "increaseGalleryThumbSize": { + "title": "Aumentar imagen en galería", + "desc": "Aumenta el tamaño de las miniaturas de la galería" + }, + "decreaseGalleryThumbSize": { + "title": "Reducir imagen en galería", + "desc": "Reduce el tamaño de las miniaturas de la galería" + }, + "selectBrush": { + "title": "Seleccionar pincel", + "desc": "Selecciona el pincel en el lienzo" + }, + "selectEraser": { + "title": "Seleccionar borrador", + "desc": "Selecciona el borrador en el lienzo" + }, + "decreaseBrushSize": { + "title": "Disminuir tamaño de herramienta", + "desc": "Disminuye el tamaño del pincel/borrador en el lienzo" + }, + "increaseBrushSize": { + "title": "Aumentar tamaño del pincel", + "desc": "Aumenta el tamaño del pincel en el lienzo" + }, + "decreaseBrushOpacity": { + "title": "Disminuir opacidad del pincel", + "desc": "Disminuye la opacidad del pincel en el lienzo" + }, + "increaseBrushOpacity": { + "title": "Aumentar opacidad del pincel", + "desc": "Aumenta la opacidad del pincel en el lienzo" + }, + "moveTool": { + "title": "Herramienta de movimiento", + "desc": "Permite navegar por el lienzo" + }, + "fillBoundingBox": { + "title": "Rellenar Caja contenedora", + "desc": "Rellena la caja contenedora con el color seleccionado" + }, + "eraseBoundingBox": { + "title": "Borrar Caja contenedora", + "desc": "Borra el contenido dentro de la caja contenedora" + }, + "colorPicker": { + "title": "Selector de color", + "desc": "Selecciona un color del lienzo" + }, + "toggleSnap": { + "title": "Alternar ajuste de cuadrícula", + "desc": "Activa o desactiva el ajuste automático a la cuadrícula" + }, + "quickToggleMove": { + "title": "Alternar movimiento rápido", + "desc": "Activa momentáneamente la herramienta de movimiento" + }, + "toggleLayer": { + "title": "Alternar capa", + "desc": "Alterna entre las capas de máscara y base" + }, + "clearMask": { + "title": "Limpiar máscara", + "desc": "Limpia toda la máscara actual" + }, + "hideMask": { + "title": "Ocultar máscara", + "desc": "Oculta o muetre la máscara actual" + }, + "showHideBoundingBox": { + "title": "Alternar caja contenedora", + "desc": "Muestra u oculta la caja contenedora" + }, + "mergeVisible": { + "title": "Consolida capas visibles", + "desc": "Consolida todas las capas visibles en una sola" + }, + "saveToGallery": { + "title": "Guardar en galería", + "desc": "Guardar la imagen actual del lienzo en la galería" + }, + "copyToClipboard": { + "title": "Copiar al portapapeles", + "desc": "Copiar el lienzo actual al portapapeles" + }, + "downloadImage": { + "title": "Descargar imagen", + "desc": "Descargar la imagen actual del lienzo" + }, + "undoStroke": { + "title": "Deshar trazo", + "desc": "Desahacer el último trazo del pincel" + }, + "redoStroke": { + "title": "Rehacer trazo", + "desc": "Rehacer el último trazo del pincel" + }, + "resetView": { + "title": "Restablecer vista", + "desc": "Restablecer la vista del lienzo" + }, + "previousStagingImage": { + "title": "Imagen anterior", + "desc": "Imagen anterior en el área de preparación" + }, + "nextStagingImage": { + "title": "Imagen siguiente", + "desc": "Siguiente imagen en el área de preparación" + }, + "acceptStagingImage": { + "title": "Aceptar imagen", + "desc": "Aceptar la imagen actual en el área de preparación" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/fr.json b/invokeai/frontend/dist/locales/hotkeys/fr.json new file mode 100644 index 0000000000..ceabe0dcfc --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/fr.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Raccourcis clavier", + "appHotkeys": "Raccourcis de l'application", + "GeneralHotkeys": "Raccourcis généraux", + "galleryHotkeys": "Raccourcis de la galerie", + "unifiedCanvasHotkeys": "Raccourcis du Canvas unifié", + "invoke": { + "title": "Invoquer", + "desc": "Générer une image" + }, + "cancel": { + "title": "Annuler", + "desc": "Annuler la génération d'image" + }, + "focusPrompt": { + "title": "Prompt de Focus", + "desc": "Mettre en focus la zone de saisie de la commande" + }, + "toggleOptions": { + "title": "Basculer Options", + "desc": "Ouvrir et fermer le panneau d'options" + }, + "pinOptions": { + "title": "Epingler Options", + "desc": "Epingler le panneau d'options" + }, + "toggleViewer": { + "title": "Basculer Visionneuse", + "desc": "Ouvrir et fermer la visionneuse d'image" + }, + "toggleGallery": { + "title": "Basculer Galerie", + "desc": "Ouvrir et fermer le tiroir de galerie" + }, + "maximizeWorkSpace": { + "title": "Maximiser Espace de travail", + "desc": "Fermer les panneaux et maximiser la zone de travail" + }, + "changeTabs": { + "title": "Changer d'onglets", + "desc": "Passer à un autre espace de travail" + }, + "consoleToggle": { + "title": "Bascule de la console", + "desc": "Ouvrir et fermer la console" + }, + "setPrompt": { + "title": "Définir le prompt", + "desc": "Utiliser le prompt de l'image actuelle" + }, + "setSeed": { + "title": "Définir la graine", + "desc": "Utiliser la graine de l'image actuelle" + }, + "setParameters": { + "title": "Définir les paramètres", + "desc": "Utiliser tous les paramètres de l'image actuelle" + }, + "restoreFaces": { + "title": "Restaurer les faces", + "desc": "Restaurer l'image actuelle" + }, + "upscale": { + "title": "Agrandir", + "desc": "Agrandir l'image actuelle" + }, + "showInfo": { + "title": "Afficher les informations", + "desc": "Afficher les informations de métadonnées de l'image actuelle" + }, + "sendToImageToImage": { + "title": "Envoyer à l'image à l'image", + "desc": "Envoyer l'image actuelle à l'image à l'image" + }, + "deleteImage": { + "title": "Supprimer l'image", + "desc": "Supprimer l'image actuelle" + }, + "closePanels": { + "title": "Fermer les panneaux", + "desc": "Fermer les panneaux ouverts" + }, + "previousImage": { + "title": "Image précédente", + "desc": "Afficher l'image précédente dans la galerie" + }, + "nextImage": { + "title": "Image suivante", + "desc": "Afficher l'image suivante dans la galerie" + }, + "toggleGalleryPin": { + "title": "Activer/désactiver l'épinglage de la galerie", + "desc": "Épingle ou dépingle la galerie à l'interface utilisateur" + }, + "increaseGalleryThumbSize": { + "title": "Augmenter la taille des miniatures de la galerie", + "desc": "Augmente la taille des miniatures de la galerie" + }, + "decreaseGalleryThumbSize": { + "title": "Diminuer la taille des miniatures de la galerie", + "desc": "Diminue la taille des miniatures de la galerie" + }, + "selectBrush": { + "title": "Sélectionner un pinceau", + "desc": "Sélectionne le pinceau de la toile" + }, + "selectEraser": { + "title": "Sélectionner un gomme", + "desc": "Sélectionne la gomme de la toile" + }, + "decreaseBrushSize": { + "title": "Diminuer la taille du pinceau", + "desc": "Diminue la taille du pinceau/gomme de la toile" + }, + "increaseBrushSize": { + "title": "Augmenter la taille du pinceau", + "desc": "Augmente la taille du pinceau/gomme de la toile" + }, + "decreaseBrushOpacity": { + "title": "Diminuer l'opacité du pinceau", + "desc": "Diminue l'opacité du pinceau de la toile" + }, + "increaseBrushOpacity": { + "title": "Augmenter l'opacité du pinceau", + "desc": "Augmente l'opacité du pinceau de la toile" + }, + "moveTool": { + "title": "Outil de déplacement", + "desc": "Permet la navigation sur la toile" + }, + "fillBoundingBox": { + "title": "Remplir la boîte englobante", + "desc": "Remplit la boîte englobante avec la couleur du pinceau" + }, + "eraseBoundingBox": { + "title": "Effacer la boîte englobante", + "desc": "Efface la zone de la boîte englobante" + }, + "colorPicker": { + "title": "Sélectionnez le sélecteur de couleur", + "desc": "Sélectionne le sélecteur de couleur de la toile" + }, + "toggleSnap": { + "title": "Basculer Snap", + "desc": "Basculer Snap à la grille" + }, + "quickToggleMove": { + "title": "Basculer rapidement déplacer", + "desc": "Basculer temporairement le mode Déplacer" + }, + "toggleLayer": { + "title": "Basculer la couche", + "desc": "Basculer la sélection de la couche masque/base" + }, + "clearMask": { + "title": "Effacer le masque", + "desc": "Effacer entièrement le masque" + }, + "hideMask": { + "title": "Masquer le masque", + "desc": "Masquer et démasquer le masque" + }, + "showHideBoundingBox": { + "title": "Afficher/Masquer la boîte englobante", + "desc": "Basculer la visibilité de la boîte englobante" + }, + "mergeVisible": { + "title": "Fusionner visible", + "desc": "Fusionner toutes les couches visibles de la toile" + }, + "saveToGallery": { + "title": "Enregistrer dans la galerie", + "desc": "Enregistrer la toile actuelle dans la galerie" + }, + "copyToClipboard": { + "title": "Copier dans le presse-papiers", + "desc": "Copier la toile actuelle dans le presse-papiers" + }, + "downloadImage": { + "title": "Télécharger l'image", + "desc": "Télécharger la toile actuelle" + }, + "undoStroke": { + "title": "Annuler le trait", + "desc": "Annuler un coup de pinceau" + }, + "redoStroke": { + "title": "Rétablir le trait", + "desc": "Rétablir un coup de pinceau" + }, + "resetView": { + "title": "Réinitialiser la vue", + "desc": "Réinitialiser la vue de la toile" + }, + "previousStagingImage": { + "title": "Image de mise en scène précédente", + "desc": "Image précédente de la zone de mise en scène" + }, + "nextStagingImage": { + "title": "Image de mise en scène suivante", + "desc": "Image suivante de la zone de mise en scène" + }, + "acceptStagingImage": { + "title": "Accepter l'image de mise en scène", + "desc": "Accepter l'image actuelle de la zone de mise en scène" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/it.json b/invokeai/frontend/dist/locales/hotkeys/it.json new file mode 100644 index 0000000000..232e4cb826 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/it.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Tasti rapidi", + "appHotkeys": "Tasti di scelta rapida dell'applicazione", + "generalHotkeys": "Tasti di scelta rapida generali", + "galleryHotkeys": "Tasti di scelta rapida della galleria", + "unifiedCanvasHotkeys": "Tasti di scelta rapida Tela Unificata", + "invoke": { + "title": "Invoca", + "desc": "Genera un'immagine" + }, + "cancel": { + "title": "Annulla", + "desc": "Annulla la generazione dell'immagine" + }, + "focusPrompt": { + "title": "Metti a fuoco il Prompt", + "desc": "Mette a fuoco l'area di immissione del prompt" + }, + "toggleOptions": { + "title": "Attiva/disattiva le opzioni", + "desc": "Apre e chiude il pannello delle opzioni" + }, + "pinOptions": { + "title": "Appunta le opzioni", + "desc": "Blocca il pannello delle opzioni" + }, + "toggleViewer": { + "title": "Attiva/disattiva visualizzatore", + "desc": "Apre e chiude il visualizzatore immagini" + }, + "toggleGallery": { + "title": "Attiva/disattiva Galleria", + "desc": "Apre e chiude il pannello della galleria" + }, + "maximizeWorkSpace": { + "title": "Massimizza lo spazio di lavoro", + "desc": "Chiude i pannelli e massimizza l'area di lavoro" + }, + "changeTabs": { + "title": "Cambia scheda", + "desc": "Passa a un'altra area di lavoro" + }, + "consoleToggle": { + "title": "Attiva/disattiva console", + "desc": "Apre e chiude la console" + }, + "setPrompt": { + "title": "Imposta Prompt", + "desc": "Usa il prompt dell'immagine corrente" + }, + "setSeed": { + "title": "Imposta seme", + "desc": "Usa il seme dell'immagine corrente" + }, + "setParameters": { + "title": "Imposta parametri", + "desc": "Utilizza tutti i parametri dell'immagine corrente" + }, + "restoreFaces": { + "title": "Restaura volti", + "desc": "Restaura l'immagine corrente" + }, + "upscale": { + "title": "Amplia", + "desc": "Amplia l'immagine corrente" + }, + "showInfo": { + "title": "Mostra informazioni", + "desc": "Mostra le informazioni sui metadati dell'immagine corrente" + }, + "sendToImageToImage": { + "title": "Invia a da Immagine a Immagine", + "desc": "Invia l'immagine corrente a da Immagine a Immagine" + }, + "deleteImage": { + "title": "Elimina immagine", + "desc": "Elimina l'immagine corrente" + }, + "closePanels": { + "title": "Chiudi pannelli", + "desc": "Chiude i pannelli aperti" + }, + "previousImage": { + "title": "Immagine precedente", + "desc": "Visualizza l'immagine precedente nella galleria" + }, + "nextImage": { + "title": "Immagine successiva", + "desc": "Visualizza l'immagine successiva nella galleria" + }, + "toggleGalleryPin": { + "title": "Attiva/disattiva il blocco della galleria", + "desc": "Blocca/sblocca la galleria dall'interfaccia utente" + }, + "increaseGalleryThumbSize": { + "title": "Aumenta dimensione immagini nella galleria", + "desc": "Aumenta la dimensione delle miniature della galleria" + }, + "decreaseGalleryThumbSize": { + "title": "Riduci dimensione immagini nella galleria", + "desc": "Riduce le dimensioni delle miniature della galleria" + }, + "selectBrush": { + "title": "Seleziona Pennello", + "desc": "Seleziona il pennello della tela" + }, + "selectEraser": { + "title": "Seleziona Cancellino", + "desc": "Seleziona il cancellino della tela" + }, + "decreaseBrushSize": { + "title": "Riduci la dimensione del pennello", + "desc": "Riduce la dimensione del pennello/cancellino della tela" + }, + "increaseBrushSize": { + "title": "Aumenta la dimensione del pennello", + "desc": "Aumenta la dimensione del pennello/cancellino della tela" + }, + "decreaseBrushOpacity": { + "title": "Riduci l'opacità del pennello", + "desc": "Diminuisce l'opacità del pennello della tela" + }, + "increaseBrushOpacity": { + "title": "Aumenta l'opacità del pennello", + "desc": "Aumenta l'opacità del pennello della tela" + }, + "moveTool": { + "title": "Strumento Sposta", + "desc": "Consente la navigazione nella tela" + }, + "fillBoundingBox": { + "title": "Riempi riquadro di selezione", + "desc": "Riempie il riquadro di selezione con il colore del pennello" + }, + "eraseBoundingBox": { + "title": "Cancella riquadro di selezione", + "desc": "Cancella l'area del riquadro di selezione" + }, + "colorPicker": { + "title": "Seleziona Selettore colore", + "desc": "Seleziona il selettore colore della tela" + }, + "toggleSnap": { + "title": "Attiva/disattiva Aggancia", + "desc": "Attiva/disattiva Aggancia alla griglia" + }, + "quickToggleMove": { + "title": "Attiva/disattiva Sposta rapido", + "desc": "Attiva/disattiva temporaneamente la modalità Sposta" + }, + "toggleLayer": { + "title": "Attiva/disattiva livello", + "desc": "Attiva/disattiva la selezione del livello base/maschera" + }, + "clearMask": { + "title": "Cancella maschera", + "desc": "Cancella l'intera maschera" + }, + "hideMask": { + "title": "Nascondi maschera", + "desc": "Nasconde e mostra la maschera" + }, + "showHideBoundingBox": { + "title": "Mostra/Nascondi riquadro di selezione", + "desc": "Attiva/disattiva la visibilità del riquadro di selezione" + }, + "mergeVisible": { + "title": "Fondi il visibile", + "desc": "Fonde tutti gli strati visibili della tela" + }, + "saveToGallery": { + "title": "Salva nella galleria", + "desc": "Salva la tela corrente nella galleria" + }, + "copyToClipboard": { + "title": "Copia negli appunti", + "desc": "Copia la tela corrente negli appunti" + }, + "downloadImage": { + "title": "Scarica l'immagine", + "desc": "Scarica la tela corrente" + }, + "undoStroke": { + "title": "Annulla tratto", + "desc": "Annulla una pennellata" + }, + "redoStroke": { + "title": "Ripeti tratto", + "desc": "Ripeti una pennellata" + }, + "resetView": { + "title": "Reimposta vista", + "desc": "Ripristina la visualizzazione della tela" + }, + "previousStagingImage": { + "title": "Immagine della sessione precedente", + "desc": "Immagine dell'area della sessione precedente" + }, + "nextStagingImage": { + "title": "Immagine della sessione successivo", + "desc": "Immagine dell'area della sessione successiva" + }, + "acceptStagingImage": { + "title": "Accetta l'immagine della sessione", + "desc": "Accetta l'immagine dell'area della sessione corrente" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/ja.json b/invokeai/frontend/dist/locales/hotkeys/ja.json new file mode 100644 index 0000000000..d5e448246f --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/ja.json @@ -0,0 +1,208 @@ +{ + "keyboardShortcuts": "キーボードショートカット", + "appHotkeys": "アプリのホットキー", + "generalHotkeys": "Generalのホットキー", + "galleryHotkeys": "ギャラリーのホットキー", + "unifiedCanvasHotkeys": "Unified Canvasのホットキー", + "invoke": { + "title": "Invoke", + "desc": "画像を生成" + }, + "cancel": { + "title": "キャンセル", + "desc": "画像の生成をキャンセル" + }, + "focusPrompt": { + "title": "Focus Prompt", + "desc": "プロンプトテキストボックスにフォーカス" + }, + "toggleOptions": { + "title": "オプションパネルのトグル", + "desc": "オプションパネルの開閉" + }, + "pinOptions": { + "title": "ピン", + "desc": "オプションパネルを固定" + }, + "toggleViewer": { + "title": "ビュワーのトグル", + "desc": "ビュワーを開閉" + }, + "toggleGallery": { + "title": "ギャラリーのトグル", + "desc": "ギャラリードロワーの開閉" + }, + "maximizeWorkSpace": { + "title": "作業領域の最大化", + "desc": "パネルを閉じて、作業領域を最大に" + }, + "changeTabs": { + "title": "タブの切替", + "desc": "他の作業領域と切替" + }, + "consoleToggle": { + "title": "コンソールのトグル", + "desc": "コンソールの開閉" + }, + "setPrompt": { + "title": "プロンプトをセット", + "desc": "現在の画像のプロンプトを使用" + }, + "setSeed": { + "title": "シード値をセット", + "desc": "現在の画像のシード値を使用" + }, + "setParameters": { + "title": "パラメータをセット", + "desc": "現在の画像のすべてのパラメータを使用" + }, + "restoreFaces": { + "title": "顔の修復", + "desc": "現在の画像を修復" + }, + "upscale": { + "title": "アップスケール", + "desc": "現在の画像をアップスケール" + }, + "showInfo": { + "title": "情報を見る", + "desc": "現在の画像のメタデータ情報を表示" + }, + "sendToImageToImage": { + "title": "Image To Imageに転送", + "desc": "現在の画像をImage to Imageに転送" + }, + "deleteImage": { + "title": "画像を削除", + "desc": "現在の画像を削除" + }, + "closePanels": { + "title": "パネルを閉じる", + "desc": "開いているパネルを閉じる" + }, + "previousImage": { + "title": "前の画像", + "desc": "ギャラリー内の1つ前の画像を表示" + }, + "nextImage": { + "title": "次の画像", + "desc": "ギャラリー内の1つ後の画像を表示" + }, + "toggleGalleryPin": { + "title": "ギャラリードロワーの固定", + "desc": "ギャラリーをUIにピン留め/解除" + }, + "increaseGalleryThumbSize": { + "title": "ギャラリーの画像を拡大", + "desc": "ギャラリーのサムネイル画像を拡大" + }, + "decreaseGalleryThumbSize": { + "title": "ギャラリーの画像サイズを縮小", + "desc": "ギャラリーのサムネイル画像を縮小" + }, + "selectBrush": { + "title": "ブラシを選択", + "desc": "ブラシを選択" + }, + "selectEraser": { + "title": "消しゴムを選択", + "desc": "消しゴムを選択" + }, + "decreaseBrushSize": { + "title": "ブラシサイズを縮小", + "desc": "ブラシ/消しゴムのサイズを縮小" + }, + "increaseBrushSize": { + "title": "ブラシサイズを拡大", + "desc": "ブラシ/消しゴムのサイズを拡大" + }, + "decreaseBrushOpacity": { + "title": "ブラシの不透明度を下げる", + "desc": "キャンバスブラシの不透明度を下げる" + }, + "increaseBrushOpacity": { + "title": "ブラシの不透明度を上げる", + "desc": "キャンバスブラシの不透明度を上げる" + }, + "moveTool": { + "title": "Move Tool", + "desc": "Allows canvas navigation" + }, + "fillBoundingBox": { + "title": "バウンディングボックスを塗りつぶす", + "desc": "ブラシの色でバウンディングボックス領域を塗りつぶす" + }, + "eraseBoundingBox": { + "title": "バウンディングボックスを消す", + "desc": "バウンディングボックス領域を消す" + }, + "colorPicker": { + "title": "カラーピッカーを選択", + "desc": "カラーピッカーを選択" + }, + "toggleSnap": { + "title": "Toggle Snap", + "desc": "Toggles Snap to Grid" + }, + "quickToggleMove": { + "title": "Quick Toggle Move", + "desc": "Temporarily toggles Move mode" + }, + "toggleLayer": { + "title": "レイヤーを切替", + "desc": "マスク/ベースレイヤの選択を切替" + }, + "clearMask": { + "title": "マスクを消す", + "desc": "マスク全体を消す" + }, + "hideMask": { + "title": "マスクを非表示", + "desc": "マスクを表示/非表示" + }, + "showHideBoundingBox": { + "title": "バウンディングボックスを表示/非表示", + "desc": "バウンディングボックスの表示/非表示を切替" + }, + "mergeVisible": { + "title": "Merge Visible", + "desc": "Merge all visible layers of canvas" + }, + "saveToGallery": { + "title": "ギャラリーに保存", + "desc": "現在のキャンバスをギャラリーに保存" + }, + "copyToClipboard": { + "title": "クリップボードにコピー", + "desc": "現在のキャンバスをクリップボードにコピー" + }, + "downloadImage": { + "title": "画像をダウンロード", + "desc": "現在の画像をダウンロード" + }, + "undoStroke": { + "title": "Undo Stroke", + "desc": "Undo a brush stroke" + }, + "redoStroke": { + "title": "Redo Stroke", + "desc": "Redo a brush stroke" + }, + "resetView": { + "title": "キャンバスをリセット", + "desc": "キャンバスをリセット" + }, + "previousStagingImage": { + "title": "Previous Staging Image", + "desc": "Previous Staging Area Image" + }, + "nextStagingImage": { + "title": "Next Staging Image", + "desc": "Next Staging Area Image" + }, + "acceptStagingImage": { + "title": "Accept Staging Image", + "desc": "Accept Current Staging Area Image" + } + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/hotkeys/nl.json b/invokeai/frontend/dist/locales/hotkeys/nl.json new file mode 100644 index 0000000000..a092c84016 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/nl.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Sneltoetsen", + "appHotkeys": "Appsneltoetsen", + "generalHotkeys": "Algemene sneltoetsen", + "galleryHotkeys": "Sneltoetsen galerij", + "unifiedCanvasHotkeys": "Sneltoetsen centraal canvas", + "invoke": { + "title": "Genereer", + "desc": "Genereert een afbeelding" + }, + "cancel": { + "title": "Annuleer", + "desc": "Annuleert het genereren van een afbeelding" + }, + "focusPrompt": { + "title": "Focus op invoer", + "desc": "Legt de focus op het invoertekstvak" + }, + "toggleOptions": { + "title": "Open/sluit Opties", + "desc": "Opent of sluit het deelscherm Opties" + }, + "pinOptions": { + "title": "Zet Opties vast", + "desc": "Zet het deelscherm Opties vast" + }, + "toggleViewer": { + "title": "Zet Viewer vast", + "desc": "Opent of sluit Afbeeldingsviewer" + }, + "toggleGallery": { + "title": "Zet Galerij vast", + "desc": "Opent of sluit het deelscherm Galerij" + }, + "maximizeWorkSpace": { + "title": "Maximaliseer werkgebied", + "desc": "Sluit deelschermen en maximaliseer het werkgebied" + }, + "changeTabs": { + "title": "Wissel van tabblad", + "desc": "Wissel naar een ander werkgebied" + }, + "consoleToggle": { + "title": "Open/sluit console", + "desc": "Opent of sluit de console" + }, + "setPrompt": { + "title": "Stel invoertekst in", + "desc": "Gebruikt de invoertekst van de huidige afbeelding" + }, + "setSeed": { + "title": "Stel seed in", + "desc": "Gebruikt de seed van de huidige afbeelding" + }, + "setParameters": { + "title": "Stel parameters in", + "desc": "Gebruikt alle parameters van de huidige afbeelding" + }, + "restoreFaces": { + "title": "Herstel gezichten", + "desc": "Herstelt de huidige afbeelding" + }, + "upscale": { + "title": "Schaal op", + "desc": "Schaalt de huidige afbeelding op" + }, + "showInfo": { + "title": "Toon info", + "desc": "Toont de metagegevens van de huidige afbeelding" + }, + "sendToImageToImage": { + "title": "Stuur naar Afbeelding naar afbeelding", + "desc": "Stuurt de huidige afbeelding naar Afbeelding naar afbeelding" + }, + "deleteImage": { + "title": "Verwijder afbeelding", + "desc": "Verwijdert de huidige afbeelding" + }, + "closePanels": { + "title": "Sluit deelschermen", + "desc": "Sluit geopende deelschermen" + }, + "previousImage": { + "title": "Vorige afbeelding", + "desc": "Toont de vorige afbeelding in de galerij" + }, + "nextImage": { + "title": "Volgende afbeelding", + "desc": "Toont de volgende afbeelding in de galerij" + }, + "toggleGalleryPin": { + "title": "Zet galerij vast/los", + "desc": "Zet de galerij vast of los aan de gebruikersinterface" + }, + "increaseGalleryThumbSize": { + "title": "Vergroot afbeeldingsgrootte galerij", + "desc": "Vergroot de grootte van de galerijminiaturen" + }, + "decreaseGalleryThumbSize": { + "title": "Verklein afbeeldingsgrootte galerij", + "desc": "Verkleint de grootte van de galerijminiaturen" + }, + "selectBrush": { + "title": "Kies penseel", + "desc": "Kiest de penseel op het canvas" + }, + "selectEraser": { + "title": "Kies gum", + "desc": "Kiest de gum op het canvas" + }, + "decreaseBrushSize": { + "title": "Verklein penseelgrootte", + "desc": "Verkleint de grootte van het penseel/gum op het canvas" + }, + "increaseBrushSize": { + "title": "Vergroot penseelgrootte", + "desc": "Vergroot de grootte van het penseel/gum op het canvas" + }, + "decreaseBrushOpacity": { + "title": "Verlaag ondoorzichtigheid penseel", + "desc": "Verlaagt de ondoorzichtigheid van de penseel op het canvas" + }, + "increaseBrushOpacity": { + "title": "Verhoog ondoorzichtigheid penseel", + "desc": "Verhoogt de ondoorzichtigheid van de penseel op het canvas" + }, + "moveTool": { + "title": "Verplaats canvas", + "desc": "Maakt canvasnavigatie mogelijk" + }, + "fillBoundingBox": { + "title": "Vul tekenvak", + "desc": "Vult het tekenvak met de penseelkleur" + }, + "eraseBoundingBox": { + "title": "Wis tekenvak", + "desc": "Wist het gebied van het tekenvak" + }, + "colorPicker": { + "title": "Kleurkiezer", + "desc": "Opent de kleurkiezer op het canvas" + }, + "toggleSnap": { + "title": "Zet uitlijnen aan/uit", + "desc": "Zet uitlijnen op raster aan/uit" + }, + "quickToggleMove": { + "title": "Verplaats canvas even", + "desc": "Verplaats kortstondig het canvas" + }, + "toggleLayer": { + "title": "Zet laag aan/uit", + "desc": "Wisselt tussen de masker- en basislaag" + }, + "clearMask": { + "title": "Wis masker", + "desc": "Wist het volledig masker" + }, + "hideMask": { + "title": "Toon/verberg masker", + "desc": "Toont of verbegt het masker" + }, + "showHideBoundingBox": { + "title": "Toon/verberg tekenvak", + "desc": "Wisselt de zichtbaarheid van het tekenvak" + }, + "mergeVisible": { + "title": "Voeg lagen samen", + "desc": "Voegt alle zichtbare lagen op het canvas samen" + }, + "saveToGallery": { + "title": "Bewaar in galerij", + "desc": "Bewaart het huidige canvas in de galerij" + }, + "copyToClipboard": { + "title": "Kopieer naar klembord", + "desc": "Kopieert het huidige canvas op het klembord" + }, + "downloadImage": { + "title": "Download afbeelding", + "desc": "Downloadt het huidige canvas" + }, + "undoStroke": { + "title": "Maak streek ongedaan", + "desc": "Maakt een penseelstreek ongedaan" + }, + "redoStroke": { + "title": "Herhaal streek", + "desc": "Voert een ongedaan gemaakte penseelstreek opnieuw uit" + }, + "resetView": { + "title": "Herstel weergave", + "desc": "Herstelt de canvasweergave" + }, + "previousStagingImage": { + "title": "Vorige sessie-afbeelding", + "desc": "Bladert terug naar de vorige afbeelding in het sessiegebied" + }, + "nextStagingImage": { + "title": "Volgende sessie-afbeelding", + "desc": "Bladert vooruit naar de volgende afbeelding in het sessiegebied" + }, + "acceptStagingImage": { + "title": "Accepteer sessie-afbeelding", + "desc": "Accepteert de huidige sessie-afbeelding" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/pl.json b/invokeai/frontend/dist/locales/hotkeys/pl.json new file mode 100644 index 0000000000..8294d19708 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/pl.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Skróty klawiszowe", + "appHotkeys": "Podstawowe", + "generalHotkeys": "Pomocnicze", + "galleryHotkeys": "Galeria", + "unifiedCanvasHotkeys": "Tryb uniwersalny", + "invoke": { + "title": "Wywołaj", + "desc": "Generuje nowy obraz" + }, + "cancel": { + "title": "Anuluj", + "desc": "Zatrzymuje generowanie obrazu" + }, + "focusPrompt": { + "title": "Aktywuj pole tekstowe", + "desc": "Aktywuje pole wprowadzania sugestii" + }, + "toggleOptions": { + "title": "Przełącz panel opcji", + "desc": "Wysuwa lub chowa panel opcji" + }, + "pinOptions": { + "title": "Przypnij opcje", + "desc": "Przypina panel opcji" + }, + "toggleViewer": { + "title": "Przełącz podgląd", + "desc": "Otwiera lub zamyka widok podglądu" + }, + "toggleGallery": { + "title": "Przełącz galerię", + "desc": "Wysuwa lub chowa galerię" + }, + "maximizeWorkSpace": { + "title": "Powiększ obraz roboczy", + "desc": "Chowa wszystkie panele, zostawia tylko podgląd obrazu" + }, + "changeTabs": { + "title": "Przełącznie trybu", + "desc": "Przełącza na n-ty tryb pracy" + }, + "consoleToggle": { + "title": "Przełącz konsolę", + "desc": "Otwiera lub chowa widok konsoli" + }, + "setPrompt": { + "title": "Skopiuj sugestie", + "desc": "Kopiuje sugestie z aktywnego obrazu" + }, + "setSeed": { + "title": "Skopiuj inicjator", + "desc": "Kopiuje inicjator z aktywnego obrazu" + }, + "setParameters": { + "title": "Skopiuj wszystko", + "desc": "Kopiuje wszystkie parametry z aktualnie aktywnego obrazu" + }, + "restoreFaces": { + "title": "Popraw twarze", + "desc": "Uruchamia proces poprawiania twarzy dla aktywnego obrazu" + }, + "upscale": { + "title": "Powiększ", + "desc": "Uruchamia proces powiększania aktywnego obrazu" + }, + "showInfo": { + "title": "Pokaż informacje", + "desc": "Pokazuje metadane zapisane w aktywnym obrazie" + }, + "sendToImageToImage": { + "title": "Użyj w trybie \"Obraz na obraz\"", + "desc": "Ustawia aktywny obraz jako źródło w trybie \"Obraz na obraz\"" + }, + "deleteImage": { + "title": "Usuń obraz", + "desc": "Usuwa aktywny obraz" + }, + "closePanels": { + "title": "Zamknij panele", + "desc": "Zamyka wszystkie otwarte panele" + }, + "previousImage": { + "title": "Poprzedni obraz", + "desc": "Aktywuje poprzedni obraz z galerii" + }, + "nextImage": { + "title": "Następny obraz", + "desc": "Aktywuje następny obraz z galerii" + }, + "toggleGalleryPin": { + "title": "Przypnij galerię", + "desc": "Przypina lub odpina widok galerii" + }, + "increaseGalleryThumbSize": { + "title": "Powiększ obrazy", + "desc": "Powiększa rozmiar obrazów w galerii" + }, + "decreaseGalleryThumbSize": { + "title": "Pomniejsz obrazy", + "desc": "Pomniejsza rozmiar obrazów w galerii" + }, + "selectBrush": { + "title": "Aktywuj pędzel", + "desc": "Aktywuje narzędzie malowania" + }, + "selectEraser": { + "title": "Aktywuj gumkę", + "desc": "Aktywuje narzędzie usuwania" + }, + "decreaseBrushSize": { + "title": "Zmniejsz rozmiar narzędzia", + "desc": "Zmniejsza rozmiar aktywnego narzędzia" + }, + "increaseBrushSize": { + "title": "Zwiększ rozmiar narzędzia", + "desc": "Zwiększa rozmiar aktywnego narzędzia" + }, + "decreaseBrushOpacity": { + "title": "Zmniejsz krycie", + "desc": "Zmniejsza poziom krycia pędzla" + }, + "increaseBrushOpacity": { + "title": "Zwiększ", + "desc": "Zwiększa poziom krycia pędzla" + }, + "moveTool": { + "title": "Aktywuj przesunięcie", + "desc": "Włącza narzędzie przesuwania" + }, + "fillBoundingBox": { + "title": "Wypełnij zaznaczenie", + "desc": "Wypełnia zaznaczony obszar aktualnym kolorem pędzla" + }, + "eraseBoundingBox": { + "title": "Wyczyść zaznaczenia", + "desc": "Usuwa całą zawartość zaznaczonego obszaru" + }, + "colorPicker": { + "title": "Aktywuj pipetę", + "desc": "Włącza narzędzie kopiowania koloru" + }, + "toggleSnap": { + "title": "Przyciąganie do siatki", + "desc": "Włącza lub wyłącza opcje przyciągania do siatki" + }, + "quickToggleMove": { + "title": "Szybkie przesunięcie", + "desc": "Tymczasowo włącza tryb przesuwania obszaru roboczego" + }, + "toggleLayer": { + "title": "Przełącz wartwę", + "desc": "Przełącza pomiędzy warstwą bazową i maskowania" + }, + "clearMask": { + "title": "Wyczyść maskę", + "desc": "Usuwa całą zawartość warstwy maskowania" + }, + "hideMask": { + "title": "Przełącz maskę", + "desc": "Pokazuje lub ukrywa podgląd maski" + }, + "showHideBoundingBox": { + "title": "Przełącz zaznaczenie", + "desc": "Pokazuje lub ukrywa podgląd zaznaczenia" + }, + "mergeVisible": { + "title": "Połącz widoczne", + "desc": "Łączy wszystkie widoczne maski w jeden obraz" + }, + "saveToGallery": { + "title": "Zapisz w galerii", + "desc": "Zapisuje całą zawartość płótna w galerii" + }, + "copyToClipboard": { + "title": "Skopiuj do schowka", + "desc": "Zapisuje zawartość płótna w schowku systemowym" + }, + "downloadImage": { + "title": "Pobierz obraz", + "desc": "Zapisuje zawartość płótna do pliku obrazu" + }, + "undoStroke": { + "title": "Cofnij", + "desc": "Cofa ostatnie pociągnięcie pędzlem" + }, + "redoStroke": { + "title": "Ponawia", + "desc": "Ponawia cofnięte pociągnięcie pędzlem" + }, + "resetView": { + "title": "Resetuj widok", + "desc": "Centruje widok płótna" + }, + "previousStagingImage": { + "title": "Poprzedni obraz tymczasowy", + "desc": "Pokazuje poprzedni obraz tymczasowy" + }, + "nextStagingImage": { + "title": "Następny obraz tymczasowy", + "desc": "Pokazuje następny obraz tymczasowy" + }, + "acceptStagingImage": { + "title": "Akceptuj obraz tymczasowy", + "desc": "Akceptuje aktualnie wybrany obraz tymczasowy" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/pt.json b/invokeai/frontend/dist/locales/hotkeys/pt.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/pt.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/hotkeys/pt_br.json b/invokeai/frontend/dist/locales/hotkeys/pt_br.json new file mode 100644 index 0000000000..be7dbdf7cf --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/pt_br.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Atalhos de Teclado", + "appHotkeys": "Atalhos do app", + "generalHotkeys": "Atalhos Gerais", + "galleryHotkeys": "Atalhos da Galeria", + "unifiedCanvasHotkeys": "Atalhos da Tela Unificada", + "invoke": { + "title": "Invoke", + "desc": "Gerar uma imagem" + }, + "cancel": { + "title": "Cancelar", + "desc": "Cancelar geração de imagem" + }, + "focusPrompt": { + "title": "Foco do Prompt", + "desc": "Foco da área de texto do prompt" + }, + "toggleOptions": { + "title": "Ativar Opções", + "desc": "Abrir e fechar o painel de opções" + }, + "pinOptions": { + "title": "Fixar Opções", + "desc": "Fixar o painel de opções" + }, + "toggleViewer": { + "title": "Ativar Visualizador", + "desc": "Abrir e fechar o Visualizador de Imagens" + }, + "toggleGallery": { + "title": "Ativar Galeria", + "desc": "Abrir e fechar a gaveta da galeria" + }, + "maximizeWorkSpace": { + "title": "Maximizar a Área de Trabalho", + "desc": "Fechar painéis e maximixar área de trabalho" + }, + "changeTabs": { + "title": "Mudar Abas", + "desc": "Trocar para outra área de trabalho" + }, + "consoleToggle": { + "title": "Ativar Console", + "desc": "Abrir e fechar console" + }, + "setPrompt": { + "title": "Definir Prompt", + "desc": "Usar o prompt da imagem atual" + }, + "setSeed": { + "title": "Definir Seed", + "desc": "Usar seed da imagem atual" + }, + "setParameters": { + "title": "Definir Parâmetros", + "desc": "Usar todos os parâmetros da imagem atual" + }, + "restoreFaces": { + "title": "Restaurar Rostos", + "desc": "Restaurar a imagem atual" + }, + "upscale": { + "title": "Redimensionar", + "desc": "Redimensionar a imagem atual" + }, + "showInfo": { + "title": "Mostrar Informações", + "desc": "Mostrar metadados de informações da imagem atual" + }, + "sendToImageToImage": { + "title": "Mandar para Imagem Para Imagem", + "desc": "Manda a imagem atual para Imagem Para Imagem" + }, + "deleteImage": { + "title": "Apagar Imagem", + "desc": "Apaga a imagem atual" + }, + "closePanels": { + "title": "Fechar Painéis", + "desc": "Fecha os painéis abertos" + }, + "previousImage": { + "title": "Imagem Anterior", + "desc": "Mostra a imagem anterior na galeria" + }, + "nextImage": { + "title": "Próxima Imagem", + "desc": "Mostra a próxima imagem na galeria" + }, + "toggleGalleryPin": { + "title": "Ativar Fixar Galeria", + "desc": "Fixa e desafixa a galeria na interface" + }, + "increaseGalleryThumbSize": { + "title": "Aumentar Tamanho da Galeria de Imagem", + "desc": "Aumenta o tamanho das thumbs na galeria" + }, + "decreaseGalleryThumbSize": { + "title": "Diminuir Tamanho da Galeria de Imagem", + "desc": "Diminui o tamanho das thumbs na galeria" + }, + "selectBrush": { + "title": "Selecionar Pincel", + "desc": "Seleciona o pincel" + }, + "selectEraser": { + "title": "Selecionar Apagador", + "desc": "Seleciona o apagador" + }, + "decreaseBrushSize": { + "title": "Diminuir Tamanho do Pincel", + "desc": "Diminui o tamanho do pincel/apagador" + }, + "increaseBrushSize": { + "title": "Aumentar Tamanho do Pincel", + "desc": "Aumenta o tamanho do pincel/apagador" + }, + "decreaseBrushOpacity": { + "title": "Diminuir Opacidade do Pincel", + "desc": "Diminui a opacidade do pincel" + }, + "increaseBrushOpacity": { + "title": "Aumentar Opacidade do Pincel", + "desc": "Aumenta a opacidade do pincel" + }, + "moveTool": { + "title": "Ferramenta Mover", + "desc": "Permite navegar pela tela" + }, + "fillBoundingBox": { + "title": "Preencher Caixa Delimitadora", + "desc": "Preenche a caixa delimitadora com a cor do pincel" + }, + "eraseBoundingBox": { + "title": "Apagar Caixa Delimitadora", + "desc": "Apaga a área da caixa delimitadora" + }, + "colorPicker": { + "title": "Selecionar Seletor de Cor", + "desc": "Seleciona o seletor de cores" + }, + "toggleSnap": { + "title": "Ativar Encaixe", + "desc": "Ativa Encaixar na Grade" + }, + "quickToggleMove": { + "title": "Ativar Mover Rapidamente", + "desc": "Temporariamente ativa o modo Mover" + }, + "toggleLayer": { + "title": "Ativar Camada", + "desc": "Ativa a seleção de camada de máscara/base" + }, + "clearMask": { + "title": "Limpar Máscara", + "desc": "Limpa toda a máscara" + }, + "hideMask": { + "title": "Esconder Máscara", + "desc": "Esconde e Revela a máscara" + }, + "showHideBoundingBox": { + "title": "Mostrar/Esconder Caixa Delimitadora", + "desc": "Ativa a visibilidade da caixa delimitadora" + }, + "mergeVisible": { + "title": "Fundir Visível", + "desc": "Fundir todas as camadas visíveis em tela" + }, + "saveToGallery": { + "title": "Salvara Na Galeria", + "desc": "Salva a tela atual na galeria" + }, + "copyToClipboard": { + "title": "Copiar Para a Área de Transferência ", + "desc": "Copia a tela atual para a área de transferência" + }, + "downloadImage": { + "title": "Baixar Imagem", + "desc": "Baixa a tela atual" + }, + "undoStroke": { + "title": "Desfazer Traço", + "desc": "Desfaz um traço de pincel" + }, + "redoStroke": { + "title": "Refazer Traço", + "desc": "Refaz o traço de pincel" + }, + "resetView": { + "title": "Resetar Visualização", + "desc": "Reseta Visualização da Tela" + }, + "previousStagingImage": { + "title": "Imagem de Preparação Anterior", + "desc": "Área de Imagem de Preparação Anterior" + }, + "nextStagingImage": { + "title": "Próxima Imagem de Preparação Anterior", + "desc": "Próxima Área de Imagem de Preparação Anterior" + }, + "acceptStagingImage": { + "title": "Aceitar Imagem de Preparação Anterior", + "desc": "Aceitar Área de Imagem de Preparação Anterior" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/ru.json b/invokeai/frontend/dist/locales/hotkeys/ru.json new file mode 100644 index 0000000000..9341df5af5 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/ru.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Клавиатурные сокращения", + "appHotkeys": "Горячие клавиши приложения", + "generalHotkeys": "Общие горячие клавиши", + "galleryHotkeys": "Горячие клавиши галереи", + "unifiedCanvasHotkeys": "Горячие клавиши универсального холста", + "invoke": { + "title": "Invoke", + "desc": "Сгенерировать изображение" + }, + "cancel": { + "title": "Отменить", + "desc": "Отменить генерацию изображения" + }, + "focusPrompt": { + "title": "Переключиться на ввод запроса", + "desc": "Переключение на область ввода запроса" + }, + "toggleOptions": { + "title": "Показать/скрыть параметры", + "desc": "Открывать и закрывать панель параметров" + }, + "pinOptions": { + "title": "Закрепить параметры", + "desc": "Закрепить панель параметров" + }, + "toggleViewer": { + "title": "Показать просмотр", + "desc": "Открывать и закрывать просмотрщик изображений" + }, + "toggleGallery": { + "title": "Показать галерею", + "desc": "Открывать и закрывать ящик галереи" + }, + "maximizeWorkSpace": { + "title": "Максимизировать рабочее пространство", + "desc": "Скрыть панели и максимизировать рабочую область" + }, + "changeTabs": { + "title": "Переключить вкладку", + "desc": "Переключиться на другую рабочую область" + }, + "consoleToggle": { + "title": "Показать консоль", + "desc": "Открывать и закрывать консоль" + }, + "setPrompt": { + "title": "Использовать запрос", + "desc": "Использовать запрос из текущего изображения" + }, + "setSeed": { + "title": "Использовать сид", + "desc": "Использовать сид текущего изображения" + }, + "setParameters": { + "title": "Использовать все параметры", + "desc": "Использовать все параметры текущего изображения" + }, + "restoreFaces": { + "title": "Восстановить лица", + "desc": "Восстановить лица на текущем изображении" + }, + "upscale": { + "title": "Увеличение", + "desc": "Увеличить текущеее изображение" + }, + "showInfo": { + "title": "Показать метаданные", + "desc": "Показать метаданные из текущего изображения" + }, + "sendToImageToImage": { + "title": "Отправить в img2img", + "desc": "Отправить текущее изображение в Image To Image" + }, + "deleteImage": { + "title": "Удалить изображение", + "desc": "Удалить текущее изображение" + }, + "closePanels": { + "title": "Закрыть панели", + "desc": "Закрывает открытые панели" + }, + "previousImage": { + "title": "Предыдущее изображение", + "desc": "Отображать предыдущее изображение в галерее" + }, + "nextImage": { + "title": "Следующее изображение", + "desc": "Отображение следующего изображения в галерее" + }, + "toggleGalleryPin": { + "title": "Закрепить галерею", + "desc": "Закрепляет и открепляет галерею" + }, + "increaseGalleryThumbSize": { + "title": "Увеличить размер миниатюр галереи", + "desc": "Увеличивает размер миниатюр галереи" + }, + "reduceGalleryThumbSize": { + "title": "Уменьшает размер миниатюр галереи", + "desc": "Уменьшает размер миниатюр галереи" + }, + "selectBrush": { + "title": "Выбрать кисть", + "desc": "Выбирает кисть для холста" + }, + "selectEraser": { + "title": "Выбрать ластик", + "desc": "Выбирает ластик для холста" + }, + "reduceBrushSize": { + "title": "Уменьшить размер кисти", + "desc": "Уменьшает размер кисти/ластика холста" + }, + "increaseBrushSize": { + "title": "Увеличить размер кисти", + "desc": "Увеличивает размер кисти/ластика холста" + }, + "reduceBrushOpacity": { + "title": "Уменьшить непрозрачность кисти", + "desc": "Уменьшает непрозрачность кисти холста" + }, + "increaseBrushOpacity": { + "title": "Увеличить непрозрачность кисти", + "desc": "Увеличивает непрозрачность кисти холста" + }, + "moveTool": { + "title": "Инструмент перемещения", + "desc": "Позволяет перемещаться по холсту" + }, + "fillBoundingBox": { + "title": "Заполнить ограничивающую рамку", + "desc": "Заполняет ограничивающую рамку цветом кисти" + }, + "eraseBoundingBox": { + "title": "Стереть ограничивающую рамку", + "desc": "Стирает область ограничивающей рамки" + }, + "colorPicker": { + "title": "Выбрать цвет", + "desc": "Выбирает средство выбора цвета холста" + }, + "toggleSnap": { + "title": "Включить привязку", + "desc": "Включает/выключает привязку к сетке" + }, + "quickToggleMove": { + "title": "Быстрое переключение перемещения", + "desc": "Временно переключает режим перемещения" + }, + "toggleLayer": { + "title": "Переключить слой", + "desc": "Переключение маски/базового слоя" + }, + "clearMask": { + "title": "Очистить маску", + "desc": "Очистить всю маску" + }, + "hideMask": { + "title": "Скрыть маску", + "desc": "Скрывает/показывает маску" + }, + "showHideBoundingBox": { + "title": "Показать/скрыть ограничивающую рамку", + "desc": "Переключить видимость ограничивающей рамки" + }, + "mergeVisible": { + "title": "Объединить видимые", + "desc": "Объединить все видимые слои холста" + }, + "saveToGallery": { + "title": "Сохранить в галерею", + "desc": "Сохранить текущий холст в галерею" + }, + "copyToClipboard": { + "title": "Копировать в буфер обмена", + "desc": "Копировать текущий холст в буфер обмена" + }, + "downloadImage": { + "title": "Скачать изображение", + "desc": "Скачать содержимое холста" + }, + "undoStroke": { + "title": "Отменить кисть", + "desc": "Отменить мазок кисти" + }, + "redoStroke": { + "title": "Повторить кисть", + "desc": "Повторить мазок кисти" + }, + "resetView": { + "title": "Вид по умолчанию", + "desc": "Сбросить вид холста" + }, + "previousStagingImage": { + "title": "Previous Staging Image", + "desc": "Предыдущее изображение" + }, + "nextStagingImage": { + "title": "Next Staging Image", + "desc": "Следующее изображение" + }, + "acceptStagingImage": { + "title": "Принять изображение", + "desc": "Принять текущее изображение" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/ua.json b/invokeai/frontend/dist/locales/hotkeys/ua.json new file mode 100644 index 0000000000..839cc74f46 --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/ua.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "Клавіатурні скорочення", + "appHotkeys": "Гарячі клавіші програми", + "generalHotkeys": "Загальні гарячі клавіші", + "galleryHotkeys": "Гарячі клавіші галереї", + "unifiedCanvasHotkeys": "Гарячі клавіші універсального полотна", + "invoke": { + "title": "Invoke", + "desc": "Згенерувати зображення" + }, + "cancel": { + "title": "Скасувати", + "desc": "Скасувати генерацію зображення" + }, + "focusPrompt": { + "title": "Переключитися на введення запиту", + "desc": "Перемикання на область введення запиту" + }, + "toggleOptions": { + "title": "Показати/приховати параметри", + "desc": "Відкривати і закривати панель параметрів" + }, + "pinOptions": { + "title": "Закріпити параметри", + "desc": "Закріпити панель параметрів" + }, + "toggleViewer": { + "title": "Показати перегляд", + "desc": "Відкривати і закривати переглядач зображень" + }, + "toggleGallery": { + "title": "Показати галерею", + "desc": "Відкривати і закривати скриньку галереї" + }, + "maximizeWorkSpace": { + "title": "Максимізувати робочий простір", + "desc": "Приховати панелі і максимізувати робочу область" + }, + "changeTabs": { + "title": "Переключити вкладку", + "desc": "Переключитися на іншу робочу область" + }, + "consoleToggle": { + "title": "Показати консоль", + "desc": "Відкривати і закривати консоль" + }, + "setPrompt": { + "title": "Використовувати запит", + "desc": "Використати запит із поточного зображення" + }, + "setSeed": { + "title": "Використовувати сід", + "desc": "Використовувати сід поточного зображення" + }, + "setParameters": { + "title": "Використовувати всі параметри", + "desc": "Використовувати всі параметри поточного зображення" + }, + "restoreFaces": { + "title": "Відновити обличчя", + "desc": "Відновити обличчя на поточному зображенні" + }, + "upscale": { + "title": "Збільшення", + "desc": "Збільшити поточне зображення" + }, + "showInfo": { + "title": "Показати метадані", + "desc": "Показати метадані з поточного зображення" + }, + "sendToImageToImage": { + "title": "Відправити в img2img", + "desc": "Надіслати поточне зображення в Image To Image" + }, + "deleteImage": { + "title": "Видалити зображення", + "desc": "Видалити поточне зображення" + }, + "closePanels": { + "title": "Закрити панелі", + "desc": "Закриває відкриті панелі" + }, + "previousImage": { + "title": "Попереднє зображення", + "desc": "Відображати попереднє зображення в галереї" + }, + "nextImage": { + "title": "Наступне зображення", + "desc": "Відображення наступного зображення в галереї" + }, + "toggleGalleryPin": { + "title": "Закріпити галерею", + "desc": "Закріплює і відкріплює галерею" + }, + "increaseGalleryThumbSize": { + "title": "Збільшити розмір мініатюр галереї", + "desc": "Збільшує розмір мініатюр галереї" + }, + "reduceGalleryThumbSize": { + "title": "Зменшує розмір мініатюр галереї", + "desc": "Зменшує розмір мініатюр галереї" + }, + "selectBrush": { + "title": "Вибрати пензель", + "desc": "Вибирає пензель для полотна" + }, + "selectEraser": { + "title": "Вибрати ластик", + "desc": "Вибирає ластик для полотна" + }, + "reduceBrushSize": { + "title": "Зменшити розмір пензля", + "desc": "Зменшує розмір пензля/ластика полотна" + }, + "increaseBrushSize": { + "title": "Збільшити розмір пензля", + "desc": "Збільшує розмір пензля/ластика полотна" + }, + "reduceBrushOpacity": { + "title": "Зменшити непрозорість пензля", + "desc": "Зменшує непрозорість пензля полотна" + }, + "increaseBrushOpacity": { + "title": "Збільшити непрозорість пензля", + "desc": "Збільшує непрозорість пензля полотна" + }, + "moveTool": { + "title": "Інструмент переміщення", + "desc": "Дозволяє переміщатися по полотну" + }, + "fillBoundingBox": { + "title": "Заповнити обмежувальну рамку", + "desc": "Заповнює обмежувальну рамку кольором пензля" + }, + "eraseBoundingBox": { + "title": "Стерти обмежувальну рамку", + "desc": "Стирає область обмежувальної рамки" + }, + "colorPicker": { + "title": "Вибрати колір", + "desc": "Вибирає засіб вибору кольору полотна" + }, + "toggleSnap": { + "title": "Увімкнути прив'язку", + "desc": "Вмикає/вимикає прив'язку до сітки" + }, + "quickToggleMove": { + "title": "Швидке перемикання переміщення", + "desc": "Тимчасово перемикає режим переміщення" + }, + "toggleLayer": { + "title": "Переключити шар", + "desc": "Перемикання маски/базового шару" + }, + "clearMask": { + "title": "Очистити маску", + "desc": "Очистити всю маску" + }, + "hideMask": { + "title": "Приховати маску", + "desc": "Приховує/показує маску" + }, + "showHideBoundingBox": { + "title": "Показати/приховати обмежувальну рамку", + "desc": "Переключити видимість обмежувальної рамки" + }, + "mergeVisible": { + "title": "Об'єднати видимі", + "desc": "Об'єднати всі видимі шари полотна" + }, + "saveToGallery": { + "title": "Зберегти в галерею", + "desc": "Зберегти поточне полотно в галерею" + }, + "copyToClipboard": { + "title": "Копіювати в буфер обміну", + "desc": "Копіювати поточне полотно в буфер обміну" + }, + "downloadImage": { + "title": "Завантажити зображення", + "desc": "Завантажити вміст полотна" + }, + "undoStroke": { + "title": "Скасувати пензель", + "desc": "Скасувати мазок пензля" + }, + "redoStroke": { + "title": "Повторити мазок пензля", + "desc": "Повторити мазок пензля" + }, + "resetView": { + "title": "Вид за замовчуванням", + "desc": "Скинути вид полотна" + }, + "previousStagingImage": { + "title": "Попереднє зображення", + "desc": "Попереднє зображення" + }, + "nextStagingImage": { + "title": "Наступне зображення", + "desc": "Наступне зображення" + }, + "acceptStagingImage": { + "title": "Прийняти зображення", + "desc": "Прийняти поточне зображення" + } +} diff --git a/invokeai/frontend/dist/locales/hotkeys/zh_cn.json b/invokeai/frontend/dist/locales/hotkeys/zh_cn.json new file mode 100644 index 0000000000..4eecea0b4c --- /dev/null +++ b/invokeai/frontend/dist/locales/hotkeys/zh_cn.json @@ -0,0 +1,207 @@ +{ + "keyboardShortcuts": "快捷方式", + "appHotkeys": "应用快捷方式", + "generalHotkeys": "一般快捷方式", + "galleryHotkeys": "图库快捷方式", + "unifiedCanvasHotkeys": "统一画布快捷方式", + "invoke": { + "title": "Invoke", + "desc": "生成图像" + }, + "cancel": { + "title": "取消", + "desc": "取消图像生成" + }, + "focusPrompt": { + "title": "打开提示框", + "desc": "打开提示文本框" + }, + "toggleOptions": { + "title": "切换选项卡", + "desc": "打开或关闭选项卡" + }, + "pinOptions": { + "title": "常开选项卡", + "desc": "保持选项卡常开" + }, + "toggleViewer": { + "title": "切换图像视图", + "desc": "打开或关闭图像视图" + }, + "toggleGallery": { + "title": "切换图库", + "desc": "打开或关闭图库" + }, + "maximizeWorkSpace": { + "title": "工作台最大化", + "desc": "关闭所有浮窗,将工作区域最大化" + }, + "changeTabs": { + "title": "切换卡片", + "desc": "切换到另一个工作区" + }, + "consoleToggle": { + "title": "切换命令行", + "desc": "打开或关闭命令行" + }, + "setPrompt": { + "title": "使用提示", + "desc": "使用当前图像的提示词" + }, + "setSeed": { + "title": "使用种子", + "desc": "使用当前图像的种子" + }, + "setParameters": { + "title": "使用所有参数", + "desc": "使用当前图像的所有参数" + }, + "restoreFaces": { + "title": "脸部修复", + "desc": "对当前图像进行脸部修复" + }, + "upscale": { + "title": "放大", + "desc": "对当前图像进行放大" + }, + "showInfo": { + "title": "显示信息", + "desc": "显示当前图像的元数据" + }, + "sendToImageToImage": { + "title": "送往图像到图像", + "desc": "将当前图像送往图像到图像" + }, + "deleteImage": { + "title": "删除图像", + "desc": "删除当前图像" + }, + "closePanels": { + "title": "关闭浮窗", + "desc": "关闭目前打开的浮窗" + }, + "previousImage": { + "title": "上一张图像", + "desc": "显示相册中的上一张图像" + }, + "nextImage": { + "title": "下一张图像", + "desc": "显示相册中的下一张图像" + }, + "toggleGalleryPin": { + "title": "切换图库常开", + "desc": "开关图库在界面中的常开模式" + }, + "increaseGalleryThumbSize": { + "title": "增大预览大小", + "desc": "增大图库中预览的大小" + }, + "decreaseGalleryThumbSize": { + "title": "减小预览大小", + "desc": "减小图库中预览的大小" + }, + "selectBrush": { + "title": "选择刷子", + "desc": "选择统一画布上的刷子" + }, + "selectEraser": { + "title": "选择橡皮擦", + "desc": "选择统一画布上的橡皮擦" + }, + "decreaseBrushSize": { + "title": "减小刷子大小", + "desc": "减小统一画布上的刷子或橡皮擦的大小" + }, + "increaseBrushSize": { + "title": "增大刷子大小", + "desc": "增大统一画布上的刷子或橡皮擦的大小" + }, + "decreaseBrushOpacity": { + "title": "减小刷子不透明度", + "desc": "减小统一画布上的刷子的不透明度" + }, + "increaseBrushOpacity": { + "title": "增大刷子不透明度", + "desc": "增大统一画布上的刷子的不透明度" + }, + "moveTool": { + "title": "移动工具", + "desc": "在画布上移动" + }, + "fillBoundingBox": { + "title": "填充选择区域", + "desc": "在选择区域中填充刷子颜色" + }, + "eraseBoundingBox": { + "title": "取消选择区域", + "desc": "将选择区域抹除" + }, + "colorPicker": { + "title": "颜色提取工具", + "desc": "选择颜色提取工具" + }, + "toggleSnap": { + "title": "切换网格对齐", + "desc": "打开或关闭网格对齐" + }, + "quickToggleMove": { + "title": "快速切换移动模式", + "desc": "临时性地切换移动模式" + }, + "toggleLayer": { + "title": "切换图层", + "desc": "切换遮罩/基础层的选择" + }, + "clearMask": { + "title": "清除遮罩", + "desc": "清除整个遮罩层" + }, + "hideMask": { + "title": "隐藏遮罩", + "desc": "隐藏或显示遮罩" + }, + "showHideBoundingBox": { + "title": "显示/隐藏框选区", + "desc": "切换框选区的的显示状态" + }, + "mergeVisible": { + "title": "合并可见层", + "desc": "将画板上可见层合并" + }, + "saveToGallery": { + "title": "保存至图库", + "desc": "将画板当前内容保存至图库" + }, + "copyToClipboard": { + "title": "复制到剪贴板", + "desc": "将画板当前内容复制到剪贴板" + }, + "downloadImage": { + "title": "下载图像", + "desc": "下载画板当前内容" + }, + "undoStroke": { + "title": "撤销画笔", + "desc": "撤销上一笔刷子的动作" + }, + "redoStroke": { + "title": "重做画笔", + "desc": "重做上一笔刷子的动作" + }, + "resetView": { + "title": "重置视图", + "desc": "重置画板视图" + }, + "previousStagingImage": { + "title": "上一张暂存图像", + "desc": "上一张暂存区中的图像" + }, + "nextStagingImage": { + "title": "下一张暂存图像", + "desc": "下一张暂存区中的图像" + }, + "acceptStagingImage": { + "title": "接受暂存图像", + "desc": "接受当前暂存区中的图像" + } +} diff --git a/invokeai/frontend/dist/locales/modelmanager/de.json b/invokeai/frontend/dist/locales/modelmanager/de.json new file mode 100644 index 0000000000..63da31026a --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/de.json @@ -0,0 +1,53 @@ +{ + "modelManager": "Model Manager", + "model": "Model", + "modelAdded": "Model hinzugefügt", + "modelUpdated": "Model aktualisiert", + "modelEntryDeleted": "Modelleintrag gelöscht", + "cannotUseSpaces": "Leerzeichen können nicht verwendet werden", + "addNew": "Neue hinzufügen", + "addNewModel": "Neues Model hinzufügen", + "addManually": "Manuell hinzufügen", + "manual": "Manual", + "name": "Name", + "nameValidationMsg": "Geben Sie einen Namen für Ihr Model ein", + "description": "Beschreibung", + "descriptionValidationMsg": "Fügen Sie eine Beschreibung für Ihr Model hinzu", + "config": "Konfiguration", + "configValidationMsg": "Pfad zur Konfigurationsdatei Ihres Models.", + "modelLocation": "Ort des Models", + "modelLocationValidationMsg": "Pfad zum Speicherort Ihres Models.", + "vaeLocation": "VAE Ort", + "vaeLocationValidationMsg": "Pfad zum Speicherort Ihres VAE.", + "width": "Breite", + "widthValidationMsg": "Standardbreite Ihres Models.", + "height": "Höhe", + "heightValidationMsg": "Standardbhöhe Ihres Models.", + "addModel": "Model hinzufügen", + "updateModel": "Model aktualisieren", + "availableModels": "Verfügbare Models", + "search": "Suche", + "load": "Laden", + "active": "Aktiv", + "notLoaded": "nicht geladen", + "cached": "zwischengespeichert", + "checkpointFolder": "Checkpoint-Ordner", + "clearCheckpointFolder": "Checkpoint-Ordner löschen", + "findModels": "Models finden", + "scanAgain": "Erneut scannen", + "modelsFound": "Models gefunden", + "selectFolder": "Ordner auswählen", + "selected": "Ausgewählt", + "selectAll": "Alles auswählen", + "deselectAll": "Alle abwählen", + "showExisting": "Vorhandene anzeigen", + "addSelected": "Auswahl hinzufügen", + "modelExists": "Model existiert", + "selectAndAdd": "Unten aufgeführte Models auswählen und hinzufügen", + "noModelsFound": "Keine Models gefunden", + "delete": "Löschen", + "deleteModel": "Model löschen", + "deleteConfig": "Konfiguration löschen", + "deleteMsg1": "Möchten Sie diesen Model-Eintrag wirklich aus InvokeAI löschen?", + "deleteMsg2": "Dadurch wird die Modellprüfpunktdatei nicht von Ihrer Festplatte gelöscht. Sie können sie bei Bedarf erneut hinzufügen." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/en-US.json b/invokeai/frontend/dist/locales/modelmanager/en-US.json new file mode 100644 index 0000000000..c5c5eda054 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/en-US.json @@ -0,0 +1,67 @@ +{ + "modelManager": "Model Manager", + "model": "Model", + "allModels": "All Models", + "checkpointModels": "Checkpoints", + "diffusersModels": "Diffusers", + "safetensorModels": "SafeTensors", + "modelAdded": "Model Added", + "modelUpdated": "Model Updated", + "modelEntryDeleted": "Model Entry Deleted", + "cannotUseSpaces": "Cannot Use Spaces", + "addNew": "Add New", + "addNewModel": "Add New Model", + "addCheckpointModel": "Add Checkpoint / Safetensor Model", + "addDiffuserModel": "Add Diffusers", + "addManually": "Add Manually", + "manual": "Manual", + "name": "Name", + "nameValidationMsg": "Enter a name for your model", + "description": "Description", + "descriptionValidationMsg": "Add a description for your model", + "config": "Config", + "configValidationMsg": "Path to the config file of your model.", + "modelLocation": "Model Location", + "modelLocationValidationMsg": "Path to where your model is located.", + "repo_id": "Repo ID", + "repoIDValidationMsg": "Online repository of your model", + "vaeLocation": "VAE Location", + "vaeLocationValidationMsg": "Path to where your VAE is located.", + "vaeRepoID": "VAE Repo ID", + "vaeRepoIDValidationMsg": "Online repository of your VAE", + "width": "Width", + "widthValidationMsg": "Default width of your model.", + "height": "Height", + "heightValidationMsg": "Default height of your model.", + "addModel": "Add Model", + "updateModel": "Update Model", + "availableModels": "Available Models", + "search": "Search", + "load": "Load", + "active": "active", + "notLoaded": "not loaded", + "cached": "cached", + "checkpointFolder": "Checkpoint Folder", + "clearCheckpointFolder": "Clear Checkpoint Folder", + "findModels": "Find Models", + "scanAgain": "Scan Again", + "modelsFound": "Models Found", + "selectFolder": "Select Folder", + "selected": "Selected", + "selectAll": "Select All", + "deselectAll": "Deselect All", + "showExisting": "Show Existing", + "addSelected": "Add Selected", + "modelExists": "Model Exists", + "selectAndAdd": "Select and Add Models Listed Below", + "noModelsFound": "No Models Found", + "delete": "Delete", + "deleteModel": "Delete Model", + "deleteConfig": "Delete Config", + "deleteMsg1": "Are you sure you want to delete this model entry from InvokeAI?", + "deleteMsg2": "This will not delete the model checkpoint file from your disk. You can readd them if you wish to.", + "formMessageDiffusersModelLocation": "Diffusers Model Location", + "formMessageDiffusersModelLocationDesc": "Please enter at least one.", + "formMessageDiffusersVAELocation": "VAE Location", + "formMessageDiffusersVAELocationDesc": "If not provided, InvokeAI will look for the VAE file inside the model location given above." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/en.json b/invokeai/frontend/dist/locales/modelmanager/en.json new file mode 100644 index 0000000000..ad320d0969 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/en.json @@ -0,0 +1,67 @@ +{ + "modelManager": "Model Manager", + "model": "Model", + "allModels": "All Models", + "checkpointModels": "Checkpoints", + "diffusersModels": "Diffusers", + "safetensorModels": "SafeTensors", + "modelAdded": "Model Added", + "modelUpdated": "Model Updated", + "modelEntryDeleted": "Model Entry Deleted", + "cannotUseSpaces": "Cannot Use Spaces", + "addNew": "Add New", + "addNewModel": "Add New Model", + "addCheckpointModel": "Add Checkpoint / Safetensor Model", + "addDiffuserModel": "Add Diffusers", + "addManually": "Add Manually", + "manual": "Manual", + "name": "Name", + "nameValidationMsg": "Enter a name for your model", + "description": "Description", + "descriptionValidationMsg": "Add a description for your model", + "config": "Config", + "configValidationMsg": "Path to the config file of your model.", + "modelLocation": "Model Location", + "modelLocationValidationMsg": "Path to where your model is located locally.", + "repo_id": "Repo ID", + "repoIDValidationMsg": "Online repository of your model", + "vaeLocation": "VAE Location", + "vaeLocationValidationMsg": "Path to where your VAE is located.", + "vaeRepoID": "VAE Repo ID", + "vaeRepoIDValidationMsg": "Online repository of your VAE", + "width": "Width", + "widthValidationMsg": "Default width of your model.", + "height": "Height", + "heightValidationMsg": "Default height of your model.", + "addModel": "Add Model", + "updateModel": "Update Model", + "availableModels": "Available Models", + "search": "Search", + "load": "Load", + "active": "active", + "notLoaded": "not loaded", + "cached": "cached", + "checkpointFolder": "Checkpoint Folder", + "clearCheckpointFolder": "Clear Checkpoint Folder", + "findModels": "Find Models", + "scanAgain": "Scan Again", + "modelsFound": "Models Found", + "selectFolder": "Select Folder", + "selected": "Selected", + "selectAll": "Select All", + "deselectAll": "Deselect All", + "showExisting": "Show Existing", + "addSelected": "Add Selected", + "modelExists": "Model Exists", + "selectAndAdd": "Select and Add Models Listed Below", + "noModelsFound": "No Models Found", + "delete": "Delete", + "deleteModel": "Delete Model", + "deleteConfig": "Delete Config", + "deleteMsg1": "Are you sure you want to delete this model entry from InvokeAI?", + "deleteMsg2": "This will not delete the model checkpoint file from your disk. You can readd them if you wish to.", + "formMessageDiffusersModelLocation": "Diffusers Model Location", + "formMessageDiffusersModelLocationDesc": "Please enter at least one.", + "formMessageDiffusersVAELocation": "VAE Location", + "formMessageDiffusersVAELocationDesc": "If not provided, InvokeAI will look for the VAE file inside the model location given above." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/es.json b/invokeai/frontend/dist/locales/modelmanager/es.json new file mode 100644 index 0000000000..963acf5b13 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/es.json @@ -0,0 +1,53 @@ +{ + "modelManager": "Gestor de Modelos", + "model": "Modelo", + "modelAdded": "Modelo añadido", + "modelUpdated": "Modelo actualizado", + "modelEntryDeleted": "Endrada de Modelo eliminada", + "cannotUseSpaces": "No se pueden usar Spaces", + "addNew": "Añadir nuevo", + "addNewModel": "Añadir nuevo modelo", + "addManually": "Añadir manualmente", + "manual": "Manual", + "name": "Nombre", + "nameValidationMsg": "Introduce un nombre para tu modelo", + "description": "Descripción", + "descriptionValidationMsg": "Introduce una descripción para tu modelo", + "config": "Config", + "configValidationMsg": "Ruta del archivo de configuración del modelo", + "modelLocation": "Ubicación del Modelo", + "modelLocationValidationMsg": "Ruta del archivo de modelo", + "vaeLocation": "Ubicación VAE", + "vaeLocationValidationMsg": "Ruta del archivo VAE", + "width": "Ancho", + "widthValidationMsg": "Ancho predeterminado de tu modelo", + "height": "Alto", + "heightValidationMsg": "Alto predeterminado de tu modelo", + "addModel": "Añadir Modelo", + "updateModel": "Actualizar Modelo", + "availableModels": "Modelos disponibles", + "search": "Búsqueda", + "load": "Cargar", + "active": "activo", + "notLoaded": "no cargado", + "cached": "en caché", + "checkpointFolder": "Directorio de Checkpoint", + "clearCheckpointFolder": "Limpiar directorio de checkpoint", + "findModels": "Buscar modelos", + "scanAgain": "Escanear de nuevo", + "modelsFound": "Modelos encontrados", + "selectFolder": "Selecciona un directorio", + "selected": "Seleccionado", + "selectAll": "Seleccionar todo", + "deselectAll": "Deseleccionar todo", + "showExisting": "Mostrar existentes", + "addSelected": "Añadir seleccionados", + "modelExists": "Modelo existente", + "selectAndAdd": "Selecciona de la lista un modelo para añadir", + "noModelsFound": "No se encontró ningún modelo", + "delete": "Eliminar", + "deleteModel": "Eliminar Modelo", + "deleteConfig": "Eliminar Configuración", + "deleteMsg1": "¿Estás seguro de querer eliminar esta entrada de modelo de InvokeAI?", + "deleteMsg2": "El checkpoint del modelo no se eliminará de tu disco. Puedes volver a añadirlo si lo deseas." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/fr.json b/invokeai/frontend/dist/locales/modelmanager/fr.json new file mode 100644 index 0000000000..5884893037 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/fr.json @@ -0,0 +1,68 @@ +{ + "modelManager": "Gestionnaire de modèle", + "model": "Modèle", + "allModels": "Tous les modèles", + "checkpointModels": "Points de contrôle", + "diffusersModels": "Diffuseurs", + "safetensorModels": "SafeTensors", + "modelAdded": "Modèle ajouté", + "modelUpdated": "Modèle mis à jour", + "modelEntryDeleted": "Entrée de modèle supprimée", + "cannotUseSpaces": "Ne peut pas utiliser d'espaces", + "addNew": "Ajouter un nouveau", + "addNewModel": "Ajouter un nouveau modèle", + "addCheckpointModel": "Ajouter un modèle de point de contrôle / SafeTensor", + "addDiffuserModel": "Ajouter des diffuseurs", + "addManually": "Ajouter manuellement", + "manual": "Manuel", + "name": "Nom", + "nameValidationMsg": "Entrez un nom pour votre modèle", + "description": "Description", + "descriptionValidationMsg": "Ajoutez une description pour votre modèle", + "config": "Config", + "configValidationMsg": "Chemin vers le fichier de configuration de votre modèle.", + "modelLocation": "Emplacement du modèle", + "modelLocationValidationMsg": "Chemin vers où votre modèle est situé localement.", + "repo_id": "ID de dépôt", + "repoIDValidationMsg": "Dépôt en ligne de votre modèle", + "vaeLocation": "Emplacement VAE", + "vaeLocationValidationMsg": "Chemin vers où votre VAE est situé.", + "vaeRepoID": "ID de dépôt VAE", + "vaeRepoIDValidationMsg": "Dépôt en ligne de votre VAE", + "width": "Largeur", + "widthValidationMsg": "Largeur par défaut de votre modèle.", + "height": "Hauteur", + "heightValidationMsg": "Hauteur par défaut de votre modèle.", + "addModel": "Ajouter un modèle", + "updateModel": "Mettre à jour le modèle", + "availableModels": "Modèles disponibles", + "search": "Rechercher", + "load": "Charger", + "active": "actif", + "notLoaded": "non chargé", + "cached": "en cache", + "checkpointFolder": "Dossier de point de contrôle", + "clearCheckpointFolder": "Effacer le dossier de point de contrôle", + "findModels": "Trouver des modèles", + "scanAgain": "Scanner à nouveau", + "modelsFound": "Modèles trouvés", + "selectFolder": "Sélectionner un dossier", + "selected": "Sélectionné", + "selectAll": "Tout sélectionner", + "deselectAll": "Tout désélectionner", + "showExisting": "Afficher existant", + "addSelected": "Ajouter sélectionné", + "modelExists": "Modèle existant", + "selectAndAdd": "Sélectionner et ajouter les modèles listés ci-dessous", + "noModelsFound": "Aucun modèle trouvé", + "delete": "Supprimer", + "deleteModel": "Supprimer le modèle", + "deleteConfig": "Supprimer la configuration", + "deleteMsg1": "Êtes-vous sûr de vouloir supprimer cette entrée de modèle dans InvokeAI?", + "deleteMsg2": "Cela n'effacera pas le fichier de point de contrôle du modèle de votre disque. Vous pouvez les réajouter si vous le souhaitez.", + "formMessageDiffusersModelLocation": "Emplacement du modèle de diffuseurs", + "formMessageDiffusersModelLocationDesc": "Veuillez en entrer au moins un.", + "formMessageDiffusersVAELocation": "Emplacement VAE", + "formMessageDiffusersVAELocationDesc": "Si non fourni, InvokeAI recherchera le fichier VAE à l'emplacement du modèle donné ci-dessus." + +} diff --git a/invokeai/frontend/dist/locales/modelmanager/it.json b/invokeai/frontend/dist/locales/modelmanager/it.json new file mode 100644 index 0000000000..267b1d20fd --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/it.json @@ -0,0 +1,67 @@ +{ + "modelManager": "Gestione Modelli", + "model": "Modello", + "allModels": "Tutti i Modelli", + "checkpointModels": "Checkpoint", + "diffusersModels": "Diffusori", + "safetensorModels": "SafeTensor", + "modelAdded": "Modello Aggiunto", + "modelUpdated": "Modello Aggiornato", + "modelEntryDeleted": "Modello Rimosso", + "cannotUseSpaces": "Impossibile utilizzare gli spazi", + "addNew": "Aggiungi nuovo", + "addNewModel": "Aggiungi nuovo Modello", + "addCheckpointModel": "Aggiungi modello Checkpoint / Safetensor", + "addDiffuserModel": "Aggiungi Diffusori", + "addManually": "Aggiungi manualmente", + "manual": "Manuale", + "name": "Nome", + "nameValidationMsg": "Inserisci un nome per il modello", + "description": "Descrizione", + "descriptionValidationMsg": "Aggiungi una descrizione per il modello", + "config": "Configurazione", + "configValidationMsg": "Percorso del file di configurazione del modello.", + "modelLocation": "Posizione del modello", + "modelLocationValidationMsg": "Percorso dove si trova il modello.", + "repo_id": "Repo ID", + "repoIDValidationMsg": "Repository online del modello", + "vaeLocation": "Posizione file VAE", + "vaeLocationValidationMsg": "Percorso dove si trova il file VAE.", + "vaeRepoID": "VAE Repo ID", + "vaeRepoIDValidationMsg": "Repository online del file VAE", + "width": "Larghezza", + "widthValidationMsg": "Larghezza predefinita del modello.", + "height": "Altezza", + "heightValidationMsg": "Altezza predefinita del modello.", + "addModel": "Aggiungi modello", + "updateModel": "Aggiorna modello", + "availableModels": "Modelli disponibili", + "search": "Ricerca", + "load": "Carica", + "active": "attivo", + "notLoaded": "non caricato", + "cached": "memorizzato nella cache", + "checkpointFolder": "Cartella Checkpoint", + "clearCheckpointFolder": "Svuota cartella checkpoint", + "findModels": "Trova modelli", + "scanAgain": "Scansiona nuovamente", + "modelsFound": "Modelli trovati", + "selectFolder": "Seleziona cartella", + "selected": "Selezionato", + "selectAll": "Seleziona tutto", + "deselectAll": "Deseleziona tutto", + "showExisting": "Mostra esistenti", + "addSelected": "Aggiungi selezionato", + "modelExists": "Il modello esiste", + "selectAndAdd": "Seleziona e aggiungi i modelli elencati", + "noModelsFound": "Nessun modello trovato", + "delete": "Elimina", + "deleteModel": "Elimina modello", + "deleteConfig": "Elimina configurazione", + "deleteMsg1": "Sei sicuro di voler eliminare questo modello da InvokeAI?", + "deleteMsg2": "Questo non eliminerà il file Checkpoint del modello dal tuo disco. Puoi aggiungerlo nuovamente se lo desideri.", + "formMessageDiffusersModelLocation": "Ubicazione modelli diffusori", + "formMessageDiffusersModelLocationDesc": "Inseriscine almeno uno.", + "formMessageDiffusersVAELocation": "Ubicazione file VAE", + "formMessageDiffusersVAELocationDesc": "Se non fornito, InvokeAI cercherà il file VAE all'interno dell'ubicazione del modello sopra indicata." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/ja.json b/invokeai/frontend/dist/locales/modelmanager/ja.json new file mode 100644 index 0000000000..886922116a --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/ja.json @@ -0,0 +1,68 @@ +{ + "modelManager": "モデルマネージャ", + "model": "モデル", + "allModels": "すべてのモデル", + "checkpointModels": "Checkpoints", + "diffusersModels": "Diffusers", + "safetensorModels": "SafeTensors", + "modelAdded": "モデルを追加", + "modelUpdated": "モデルをアップデート", + "modelEntryDeleted": "Model Entry Deleted", + "cannotUseSpaces": "Cannot Use Spaces", + "addNew": "新規に追加", + "addNewModel": "新規モデル追加", + "addCheckpointModel": "Checkpointを追加 / Safetensorモデル", + "addDiffuserModel": "Diffusersを追加", + "addManually": "手動で追加", + "manual": "手動", + "name": "名前", + "nameValidationMsg": "モデルの名前を入力", + "description": "概要", + "descriptionValidationMsg": "モデルの概要を入力", + "config": "Config", + "configValidationMsg": "モデルの設定ファイルへのパス", + "modelLocation": "モデルの場所", + "modelLocationValidationMsg": "モデルが配置されている場所へのパス。", + "repo_id": "Repo ID", + "repoIDValidationMsg": "モデルのリモートリポジトリ", + "vaeLocation": "VAEの場所", + "vaeLocationValidationMsg": "Vaeが配置されている場所へのパス", + "vaeRepoID": "VAE Repo ID", + "vaeRepoIDValidationMsg": "Vaeのリモートリポジトリ", + "width": "幅", + "widthValidationMsg": "モデルのデフォルトの幅", + "height": "高さ", + "heightValidationMsg": "モデルのデフォルトの高さ", + "addModel": "モデルを追加", + "updateModel": "モデルをアップデート", + "availableModels": "モデルを有効化", + "search": "検索", + "load": "Load", + "active": "active", + "notLoaded": "読み込まれていません", + "cached": "キャッシュ済", + "checkpointFolder": "Checkpointフォルダ", + "clearCheckpointFolder": "Checkpointフォルダ内を削除", + "findModels": "モデルを見つける", + "scanAgain": "再度スキャン", + "modelsFound": "モデルを発見", + "selectFolder": "フォルダを選択", + "selected": "選択済", + "selectAll": "すべて選択", + "deselectAll": "すべて選択解除", + "showExisting": "既存を表示", + "addSelected": "選択済を追加", + "modelExists": "モデルの有無", + "selectAndAdd": "以下のモデルを選択し、追加できます。", + "noModelsFound": "モデルが見つかりません。", + "delete": "削除", + "deleteModel": "モデルを削除", + "deleteConfig": "設定を削除", + "deleteMsg1": "InvokeAIからこのモデルエントリーを削除してよろしいですか?", + "deleteMsg2": "これは、ドライブからモデルのCheckpointファイルを削除するものではありません。必要であればそれらを読み込むことができます。", + "formMessageDiffusersModelLocation": "Diffusersモデルの場所", + "formMessageDiffusersModelLocationDesc": "最低でも1つは入力してください。", + "formMessageDiffusersVAELocation": "VAEの場所s", + "formMessageDiffusersVAELocationDesc": "指定しない場合、InvokeAIは上記のモデルの場所にあるVAEファイルを探します。" + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/modelmanager/nl.json b/invokeai/frontend/dist/locales/modelmanager/nl.json new file mode 100644 index 0000000000..294156fdf3 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/nl.json @@ -0,0 +1,53 @@ +{ + "modelManager": "Modelonderhoud", + "model": "Model", + "modelAdded": "Model toegevoegd", + "modelUpdated": "Model bijgewerkt", + "modelEntryDeleted": "Modelregel verwijderd", + "cannotUseSpaces": "Spaties zijn niet toegestaan", + "addNew": "Voeg nieuwe toe", + "addNewModel": "Voeg nieuw model toe", + "addManually": "Voeg handmatig toe", + "manual": "Handmatig", + "name": "Naam", + "nameValidationMsg": "Geef een naam voor je model", + "description": "Beschrijving", + "descriptionValidationMsg": "Voeg een beschrijving toe voor je model.", + "config": "Configuratie", + "configValidationMsg": "Pad naar het configuratiebestand van je model.", + "modelLocation": "Locatie model", + "modelLocationValidationMsg": "Pad naar waar je model zich bevindt.", + "vaeLocation": "Locatie VAE", + "vaeLocationValidationMsg": "Pad naar waar je VAE zich bevindt.", + "width": "Breedte", + "widthValidationMsg": "Standaardbreedte van je model.", + "height": "Hoogte", + "heightValidationMsg": "Standaardhoogte van je model.", + "addModel": "Voeg model toe", + "updateModel": "Werk model bij", + "availableModels": "Beschikbare modellen", + "search": "Zoek", + "load": "Laad", + "active": "actief", + "notLoaded": "niet geladen", + "cached": "gecachet", + "checkpointFolder": "Checkpointmap", + "clearCheckpointFolder": "Wis checkpointmap", + "findModels": "Zoek modellen", + "scanAgain": "Kijk opnieuw", + "modelsFound": "Gevonden modellen", + "selectFolder": "Kies map", + "selected": "Gekozen", + "selectAll": "Kies alles", + "deselectAll": "Kies niets", + "showExisting": "Toon bestaande", + "addSelected": "Voeg gekozen toe", + "modelExists": "Model bestaat", + "selectAndAdd": "Kies en voeg de hieronder opgesomde modellen toe", + "noModelsFound": "Geen modellen gevonden", + "delete": "Verwijder", + "deleteModel": "Verwijder model", + "deleteConfig": "Verwijder configuratie", + "deleteMsg1": "Weet je zeker dat je deze modelregel wilt verwijderen uit InvokeAI?", + "deleteMsg2": "Hiermee wordt het checkpointbestand niet van je schijf verwijderd. Je kunt deze opnieuw toevoegen als je dat wilt." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/pl.json b/invokeai/frontend/dist/locales/modelmanager/pl.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/pl.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/modelmanager/pt_br.json b/invokeai/frontend/dist/locales/modelmanager/pt_br.json new file mode 100644 index 0000000000..81ee072db5 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/pt_br.json @@ -0,0 +1,50 @@ +{ + "modelManager": "Gerente de Modelo", + "model": "Modelo", + "modelAdded": "Modelo Adicionado", + "modelUpdated": "Modelo Atualizado", + "modelEntryDeleted": "Entrada de modelo excluída", + "cannotUseSpaces": "Não pode usar espaços", + "addNew": "Adicionar Novo", + "addNewModel": "Adicionar Novo modelo", + "addManually": "Adicionar Manualmente", + "manual": "Manual", + "name": "Nome", + "nameValidationMsg": "Insira um nome para o seu modelo", + "description": "Descrição", + "descriptionValidationMsg": "Adicione uma descrição para o seu modelo", + "config": "Config", + "configValidationMsg": "Caminho para o arquivo de configuração do seu modelo.", + "modelLocation": "Localização do modelo", + "modelLocationValidationMsg": "Caminho para onde seu modelo está localizado.", + "vaeLocation": "Localização VAE", + "vaeLocationValidationMsg": "Caminho para onde seu VAE está localizado.", + "width": "Largura", + "widthValidationMsg": "Largura padrão do seu modelo.", + "height": "Altura", + "heightValidationMsg": "Altura padrão do seu modelo.", + "addModel": "Adicionar Modelo", + "updateModel": "Atualizar Modelo", + "availableModels": "Modelos Disponíveis", + "search": "Procurar", + "load": "Carregar", + "active": "Ativado", + "notLoaded": "Não carregado", + "cached": "Em cache", + "checkpointFolder": "Pasta de Checkpoint", + "clearCheckpointFolder": "Apagar Pasta de Checkpoint", + "findModels": "Encontrar Modelos", + "modelsFound": "Modelos Encontrados", + "selectFolder": "Selecione a Pasta", + "selected": "Selecionada", + "selectAll": "Selecionar Tudo", + "deselectAll": "Deselecionar Tudo", + "showExisting": "Mostrar Existente", + "addSelected": "Adicione Selecionado", + "modelExists": "Modelo Existe", + "delete": "Excluir", + "deleteModel": "Excluir modelo", + "deleteConfig": "Excluir Config", + "deleteMsg1": "Tem certeza de que deseja excluir esta entrada do modelo de InvokeAI?", + "deleteMsg2": "Isso não vai excluir o arquivo de modelo checkpoint do seu disco. Você pode lê-los, se desejar." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/ru.json b/invokeai/frontend/dist/locales/modelmanager/ru.json new file mode 100644 index 0000000000..37cef8a774 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/ru.json @@ -0,0 +1,53 @@ +{ + "modelManager": "Менеджер моделей", + "model": "Модель", + "modelAdded": "Модель добавлена", + "modelUpdated": "Модель обновлена", + "modelEntryDeleted": "Запись о модели удалена", + "cannotUseSpaces": "Нельзя использовать пробелы", + "addNew": "Добавить новую", + "addNewModel": "Добавить новую модель", + "addManually": "Добавить вручную", + "manual": "Ручное", + "name": "Название", + "nameValidationMsg": "Введите название модели", + "description": "Описание", + "descriptionValidationMsg": "Введите описание модели", + "config": "Файл конфигурации", + "configValidationMsg": "Путь до файла конфигурации", + "modelLocation": "Расположение модели", + "modelLocationValidationMsg": "Путь до файла с моделью", + "vaeLocation": "Расположение VAE", + "vaeLocationValidationMsg": "Путь до VAE", + "width": "Ширина", + "widthValidationMsg": "Исходная ширина изображений", + "height": "Высота", + "heightValidationMsg": "Исходная высота изображений", + "addModel": "Добавить модель", + "updateModel": "Обновить модель", + "availableModels": "Доступные модели", + "search": "Искать", + "load": "Загрузить", + "active": "активна", + "notLoaded": "не загружена", + "cached": "кэширована", + "checkpointFolder": "Папка с моделями", + "clearCheckpointFolder": "Очистить папку с моделями", + "findModels": "Найти модели", + "scanAgain": "Сканировать снова", + "modelsFound": "Найденные модели", + "selectFolder": "Выбрать папку", + "selected": "Выбраны", + "selectAll": "Выбрать все", + "deselectAll": "Снять выделение", + "showExisting": "Показывать добавленные", + "addSelected": "Добавить выбранные", + "modelExists": "Модель уже добавлена", + "selectAndAdd": "Выберите и добавьте модели из списка", + "noModelsFound": "Модели не найдены", + "delete": "Удалить", + "deleteModel": "Удалить модель", + "deleteConfig": "Удалить конфигурацию", + "deleteMsg1": "Вы точно хотите удалить модель из InvokeAI?", + "deleteMsg2": "Это не удалит файл модели с диска. Позже вы можете добавить его снова." +} diff --git a/invokeai/frontend/dist/locales/modelmanager/ua.json b/invokeai/frontend/dist/locales/modelmanager/ua.json new file mode 100644 index 0000000000..ac473f1009 --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/ua.json @@ -0,0 +1,53 @@ +{ + "modelManager": "Менеджер моделей", + "model": "Модель", + "modelAdded": "Модель додана", + "modelUpdated": "Модель оновлена", + "modelEntryDeleted": "Запис про модель видалено", + "cannotUseSpaces": "Не можна використовувати пробіли", + "addNew": "Додати нову", + "addNewModel": "Додати нову модель", + "addManually": "Додати вручну", + "manual": "Ручне", + "name": "Назва", + "nameValidationMsg": "Введіть назву моделі", + "description": "Опис", + "descriptionValidationMsg": "Введіть опис моделі", + "config": "Файл конфігурації", + "configValidationMsg": "Шлях до файлу конфігурації", + "modelLocation": "Розташування моделі", + "modelLocationValidationMsg": "Шлях до файлу з моделлю", + "vaeLocation": "Розтышування VAE", + "vaeLocationValidationMsg": "Шлях до VAE", + "width": "Ширина", + "widthValidationMsg": "Початкова ширина зображень", + "height": "Висота", + "heightValidationMsg": "Початкова висота зображень", + "addModel": "Додати модель", + "updateModel": "Оновити модель", + "availableModels": "Доступні моделі", + "search": "Шукати", + "load": "Завантажити", + "active": "активна", + "notLoaded": "не завантажена", + "cached": "кешована", + "checkpointFolder": "Папка з моделями", + "clearCheckpointFolder": "Очистити папку з моделями", + "findModels": "Знайти моделі", + "scanAgain": "Сканувати знову", + "modelsFound": "Знайдені моделі", + "selectFolder": "Обрати папку", + "selected": "Обрані", + "selectAll": "Обрати всі", + "deselectAll": "Зняти выділення", + "showExisting": "Показувати додані", + "addSelected": "Додати обрані", + "modelExists": "Модель вже додана", + "selectAndAdd": "Оберіть і додайте моделі із списку", + "noModelsFound": "Моделі не знайдені", + "delete": "Видалити", + "deleteModel": "Видалити модель", + "deleteConfig": "Видалити конфігурацію", + "deleteMsg1": "Ви точно хочете видалити модель із InvokeAI?", + "deleteMsg2": "Це не призведе до видалення файлу моделі з диску. Позніше ви можете додати його знову." +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/modelmanager/zh_cn.json b/invokeai/frontend/dist/locales/modelmanager/zh_cn.json new file mode 100644 index 0000000000..c4c296703f --- /dev/null +++ b/invokeai/frontend/dist/locales/modelmanager/zh_cn.json @@ -0,0 +1,50 @@ +{ + "modelManager": "模型管理器", + "model": "模型", + "modelAdded": "模型已添加", + "modelUpdated": "模型已更新", + "modelEntryDeleted": "模型已删除", + "cannotUseSpaces": "不能使用空格", + "addNew": "添加", + "addNewModel": "添加新模型", + "addManually": "手动添加", + "manual": "手动", + "name": "名称", + "nameValidationMsg": "输入模型的名称", + "description": "描述", + "descriptionValidationMsg": "添加模型的描述", + "config": "配置", + "configValidationMsg": "模型配置文件的路径", + "modelLocation": "模型位置", + "modelLocationValidationMsg": "模型文件的路径", + "vaeLocation": "VAE 位置", + "vaeLocationValidationMsg": "VAE 文件的路径", + "width": "宽度", + "widthValidationMsg": "模型的默认宽度", + "height": "高度", + "heightValidationMsg": "模型的默认高度", + "addModel": "添加模型", + "updateModel": "更新模型", + "availableModels": "可用模型", + "search": "搜索", + "load": "加载", + "active": "活跃", + "notLoaded": "未加载", + "cached": "缓存", + "checkpointFolder": "模型检查点文件夹", + "clearCheckpointFolder": "清除模型检查点文件夹", + "findModels": "寻找模型", + "modelsFound": "找到的模型", + "selectFolder": "选择文件夹", + "selected": "已选择", + "selectAll": "选择所有", + "deselectAll": "取消选择所有", + "showExisting": "显示已存在", + "addSelected": "添加选择", + "modelExists": "模型已存在", + "delete": "删除", + "deleteModel": "删除模型", + "deleteConfig": "删除配置", + "deleteMsg1": "您确定要将这个模型从 InvokeAI 删除吗?", + "deleteMsg2": "这不会从磁盘中删除模型检查点文件。如果您愿意,可以重新添加它们。" +} diff --git a/invokeai/frontend/dist/locales/parameters/de.json b/invokeai/frontend/dist/locales/parameters/de.json new file mode 100644 index 0000000000..112926c609 --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/de.json @@ -0,0 +1,61 @@ +{ + "images": "Bilder", + "steps": "Schritte", + "cfgScale": "CFG-Skala", + "width": "Breite", + "height": "Höhe", + "sampler": "Sampler", + "seed": "Seed", + "randomizeSeed": "Zufälliger Seed", + "shuffle": "Mischen", + "noiseThreshold": "Rausch-Schwellenwert", + "perlinNoise": "Perlin-Rauschen", + "variations": "Variationen", + "variationAmount": "Höhe der Abweichung", + "seedWeights": "Seed-Gewichte", + "faceRestoration": "Gesichtsrestaurierung", + "restoreFaces": "Gesichter wiederherstellen", + "type": "Art", + "strength": "Stärke", + "upscaling": "Hochskalierung", + "upscale": "Hochskalieren", + "upscaleImage": "Bild hochskalieren", + "scale": "Maßstab", + "otherOptions": "Andere Optionen", + "seamlessTiling": "Nahtlose Kacheln", + "hiresOptim": "High-Res-Optimierung", + "imageFit": "Ausgangsbild an Ausgabegröße anpassen", + "codeformerFidelity": "Glaubwürdigkeit", + "seamSize": "Nahtgröße", + "seamBlur": "Nahtunschärfe", + "seamStrength": "Stärke der Naht", + "seamSteps": "Nahtstufen", + "scaleBeforeProcessing": "Skalieren vor der Verarbeitung", + "scaledWidth": "Skaliert W", + "scaledHeight": "Skaliert H", + "infillMethod": "Infill-Methode", + "tileSize": "Kachelgröße", + "boundingBoxHeader": "Begrenzungsrahmen", + "seamCorrectionHeader": "Nahtkorrektur", + "infillScalingHeader": "Infill und Skalierung", + "img2imgStrength": "Bild-zu-Bild-Stärke", + "toggleLoopback": "Toggle Loopback", + "invoke": "Invoke", + "cancel": "Abbrechen", + "promptPlaceholder": "Prompt hier eingeben. [negative Token], (mehr Gewicht)++, (geringeres Gewicht)--, Tausch und Überblendung sind verfügbar (siehe Dokumente)", + "sendTo": "Senden an", + "sendToImg2Img": "Senden an Bild zu Bild", + "sendToUnifiedCanvas": "Senden an Unified Canvas", + "copyImageToLink": "Bild-Link kopieren", + "downloadImage": "Bild herunterladen", + "openInViewer": "Im Viewer öffnen", + "closeViewer": "Viewer schließen", + "usePrompt": "Prompt verwenden", + "useSeed": "Seed verwenden", + "useAll": "Alle verwenden", + "useInitImg": "Ausgangsbild verwenden", + "info": "Info", + "deleteImage": "Bild löschen", + "initialImage": "Ursprüngliches Bild", + "showOptionsPanel": "Optionsleiste zeigen" +} diff --git a/invokeai/frontend/dist/locales/parameters/en-US.json b/invokeai/frontend/dist/locales/parameters/en-US.json new file mode 100644 index 0000000000..f8d65c859c --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/en-US.json @@ -0,0 +1,62 @@ +{ + "images": "Images", + "steps": "Steps", + "cfgScale": "CFG Scale", + "width": "Width", + "height": "Height", + "sampler": "Sampler", + "seed": "Seed", + "randomizeSeed": "Randomize Seed", + "shuffle": "Shuffle", + "noiseThreshold": "Noise Threshold", + "perlinNoise": "Perlin Noise", + "variations": "Variations", + "variationAmount": "Variation Amount", + "seedWeights": "Seed Weights", + "faceRestoration": "Face Restoration", + "restoreFaces": "Restore Faces", + "type": "Type", + "strength": "Strength", + "upscaling": "Upscaling", + "upscale": "Upscale", + "upscaleImage": "Upscale Image", + "scale": "Scale", + "otherOptions": "Other Options", + "seamlessTiling": "Seamless Tiling", + "hiresOptim": "High Res Optimization", + "hiresStrength": "High Res Strength", + "imageFit": "Fit Initial Image To Output Size", + "codeformerFidelity": "Fidelity", + "seamSize": "Seam Size", + "seamBlur": "Seam Blur", + "seamStrength": "Seam Strength", + "seamSteps": "Seam Steps", + "scaleBeforeProcessing": "Scale Before Processing", + "scaledWidth": "Scaled W", + "scaledHeight": "Scaled H", + "infillMethod": "Infill Method", + "tileSize": "Tile Size", + "boundingBoxHeader": "Bounding Box", + "seamCorrectionHeader": "Seam Correction", + "infillScalingHeader": "Infill and Scaling", + "img2imgStrength": "Image To Image Strength", + "toggleLoopback": "Toggle Loopback", + "invoke": "Invoke", + "cancel": "Cancel", + "promptPlaceholder": "Type prompt here. [negative tokens], (upweight)++, (downweight)--, swap and blend are available (see docs)", + "sendTo": "Send to", + "sendToImg2Img": "Send to Image to Image", + "sendToUnifiedCanvas": "Send To Unified Canvas", + "copyImageToLink": "Copy Image To Link", + "downloadImage": "Download Image", + "openInViewer": "Open In Viewer", + "closeViewer": "Close Viewer", + "usePrompt": "Use Prompt", + "useSeed": "Use Seed", + "useAll": "Use All", + "useInitImg": "Use Initial Image", + "info": "Info", + "deleteImage": "Delete Image", + "initialImage": "Inital Image", + "showOptionsPanel": "Show Options Panel" +} diff --git a/invokeai/frontend/dist/locales/parameters/en.json b/invokeai/frontend/dist/locales/parameters/en.json new file mode 100644 index 0000000000..fef06c92fa --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/en.json @@ -0,0 +1,65 @@ +{ + "images": "Images", + "steps": "Steps", + "cfgScale": "CFG Scale", + "width": "Width", + "height": "Height", + "sampler": "Sampler", + "seed": "Seed", + "randomizeSeed": "Randomize Seed", + "shuffle": "Shuffle", + "noiseThreshold": "Noise Threshold", + "perlinNoise": "Perlin Noise", + "variations": "Variations", + "variationAmount": "Variation Amount", + "seedWeights": "Seed Weights", + "faceRestoration": "Face Restoration", + "restoreFaces": "Restore Faces", + "type": "Type", + "strength": "Strength", + "upscaling": "Upscaling", + "upscale": "Upscale", + "upscaleImage": "Upscale Image", + "denoisingStrength": "Denoising Strength", + "scale": "Scale", + "otherOptions": "Other Options", + "seamlessTiling": "Seamless Tiling", + "hiresOptim": "High Res Optimization", + "hiresStrength": "High Res Strength", + "imageFit": "Fit Initial Image To Output Size", + "codeformerFidelity": "Fidelity", + "seamSize": "Seam Size", + "seamBlur": "Seam Blur", + "seamStrength": "Seam Strength", + "seamSteps": "Seam Steps", + "scaleBeforeProcessing": "Scale Before Processing", + "scaledWidth": "Scaled W", + "scaledHeight": "Scaled H", + "infillMethod": "Infill Method", + "tileSize": "Tile Size", + "boundingBoxHeader": "Bounding Box", + "seamCorrectionHeader": "Seam Correction", + "infillScalingHeader": "Infill and Scaling", + "img2imgStrength": "Image To Image Strength", + "toggleLoopback": "Toggle Loopback", + "invoke": "Invoke", + "cancel": "Cancel", + "promptPlaceholder": "Type prompt here. [negative tokens], (upweight)++, (downweight)--, swap and blend are available (see docs)", + "negativePrompts": "Negative Prompts", + "sendTo": "Send to", + "sendToImg2Img": "Send to Image to Image", + "sendToUnifiedCanvas": "Send To Unified Canvas", + "copyImage": "Copy Image", + "copyImageToLink": "Copy Image To Link", + "downloadImage": "Download Image", + "openInViewer": "Open In Viewer", + "closeViewer": "Close Viewer", + "usePrompt": "Use Prompt", + "useSeed": "Use Seed", + "useAll": "Use All", + "useInitImg": "Use Initial Image", + "info": "Info", + "deleteImage": "Delete Image", + "initialImage": "Inital Image", + "showOptionsPanel": "Show Options Panel" +} diff --git a/invokeai/frontend/dist/locales/parameters/es.json b/invokeai/frontend/dist/locales/parameters/es.json new file mode 100644 index 0000000000..41eaf7d214 --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/es.json @@ -0,0 +1,61 @@ +{ + "images": "Imágenes", + "steps": "Pasos", + "cfgScale": "Escala CFG", + "width": "Ancho", + "height": "Alto", + "sampler": "Muestreo", + "seed": "Semilla", + "randomizeSeed": "Semilla aleatoria", + "shuffle": "Aleatorizar", + "noiseThreshold": "Umbral de Ruido", + "perlinNoise": "Ruido Perlin", + "variations": "Variaciones", + "variationAmount": "Cantidad de Variación", + "seedWeights": "Peso de las semillas", + "faceRestoration": "Restauración de Rostros", + "restoreFaces": "Restaurar rostros", + "type": "Tipo", + "strength": "Fuerza", + "upscaling": "Aumento de resolución", + "upscale": "Aumentar resolución", + "upscaleImage": "Aumentar la resolución de la imagen", + "scale": "Escala", + "otherOptions": "Otras opciones", + "seamlessTiling": "Mosaicos sin parches", + "hiresOptim": "Optimización de Alta Resolución", + "imageFit": "Ajuste tamaño de imagen inicial al tamaño objetivo", + "codeformerFidelity": "Fidelidad", + "seamSize": "Tamaño del parche", + "seamBlur": "Desenfoque del parche", + "seamStrength": "Fuerza del parche", + "seamSteps": "Pasos del parche", + "scaleBeforeProcessing": "Redimensionar antes de procesar", + "scaledWidth": "Ancho escalado", + "scaledHeight": "Alto escalado", + "infillMethod": "Método de relleno", + "tileSize": "Tamaño del mosaico", + "boundingBoxHeader": "Caja contenedora", + "seamCorrectionHeader": "Corrección de parches", + "infillScalingHeader": "Remplazo y escalado", + "img2imgStrength": "Peso de Imagen a Imagen", + "toggleLoopback": "Alternar Retroalimentación", + "invoke": "Invocar", + "cancel": "Cancelar", + "promptPlaceholder": "Ingrese la entrada aquí. [símbolos negativos], (subir peso)++, (bajar peso)--, también disponible alternado y mezclado (ver documentación)", + "sendTo": "Enviar a", + "sendToImg2Img": "Enviar a Imagen a Imagen", + "sendToUnifiedCanvas": "Enviar a Lienzo Unificado", + "copyImageToLink": "Copiar imagen a enlace", + "downloadImage": "Descargar imagen", + "openInViewer": "Abrir en Visor", + "closeViewer": "Cerrar Visor", + "usePrompt": "Usar Entrada", + "useSeed": "Usar Semilla", + "useAll": "Usar Todo", + "useInitImg": "Usar Imagen Inicial", + "info": "Información", + "deleteImage": "Eliminar Imagen", + "initialImage": "Imagen Inicial", + "showOptionsPanel": "Mostrar panel de opciones" +} diff --git a/invokeai/frontend/dist/locales/parameters/fr.json b/invokeai/frontend/dist/locales/parameters/fr.json new file mode 100644 index 0000000000..fda35b2ac6 --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/fr.json @@ -0,0 +1,62 @@ +{ + "images": "Images", + "steps": "Etapes", + "cfgScale": "CFG Echelle", + "width": "Largeur", + "height": "Hauteur", + "sampler": "Echantillonneur", + "seed": "Graine", + "randomizeSeed": "Graine Aléatoire", + "shuffle": "Mélanger", + "noiseThreshold": "Seuil de Bruit", + "perlinNoise": "Bruit de Perlin", + "variations": "Variations", + "variationAmount": "Montant de Variation", + "seedWeights": "Poids des Graines", + "faceRestoration": "Restauration de Visage", + "restoreFaces": "Restaurer les Visages", + "type": "Type", + "strength": "Force", + "upscaling": "Agrandissement", + "upscale": "Agrandir", + "upscaleImage": "Image en Agrandissement", + "scale": "Echelle", + "otherOptions": "Autres Options", + "seamlessTiling": "Carreau Sans Joint", + "hiresOptim": "Optimisation Haute Résolution", + "imageFit": "Ajuster Image Initiale à la Taille de Sortie", + "codeformerFidelity": "Fidélité", + "seamSize": "Taille des Joints", + "seamBlur": "Flou des Joints", + "seamStrength": "Force des Joints", + "seamSteps": "Etapes des Joints", + "scaleBeforeProcessing": "Echelle Avant Traitement", + "scaledWidth": "Larg. Échelle", + "scaledHeight": "Haut. Échelle", + "infillMethod": "Méthode de Remplissage", + "tileSize": "Taille des Tuiles", + "boundingBoxHeader": "Boîte Englobante", + "seamCorrectionHeader": "Correction des Joints", + "infillScalingHeader": "Remplissage et Mise à l'Échelle", + "img2imgStrength": "Force de l'Image à l'Image", + "toggleLoopback": "Activer/Désactiver la Boucle", + "invoke": "Invoker", + "cancel": "Annuler", + "promptPlaceholder": "Tapez le prompt ici. [tokens négatifs], (poids positif)++, (poids négatif)--, swap et blend sont disponibles (voir les docs)", + "sendTo": "Envoyer à", + "sendToImg2Img": "Envoyer à Image à Image", + "sendToUnifiedCanvas": "Envoyer au Canvas Unifié", + "copyImage": "Copier Image", + "copyImageToLink": "Copier l'Image en Lien", + "downloadImage": "Télécharger Image", + "openInViewer": "Ouvrir dans le visualiseur", + "closeViewer": "Fermer le visualiseur", + "usePrompt": "Utiliser la suggestion", + "useSeed": "Utiliser la graine", + "useAll": "Tout utiliser", + "useInitImg": "Utiliser l'image initiale", + "info": "Info", + "deleteImage": "Supprimer l'image", + "initialImage": "Image initiale", + "showOptionsPanel": "Afficher le panneau d'options" +} diff --git a/invokeai/frontend/dist/locales/parameters/it.json b/invokeai/frontend/dist/locales/parameters/it.json new file mode 100644 index 0000000000..1d65431f4d --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/it.json @@ -0,0 +1,61 @@ +{ + "images": "Immagini", + "steps": "Passi", + "cfgScale": "Scala CFG", + "width": "Larghezza", + "height": "Altezza", + "sampler": "Campionatore", + "seed": "Seme", + "randomizeSeed": "Seme randomizzato", + "shuffle": "Casuale", + "noiseThreshold": "Soglia del rumore", + "perlinNoise": "Rumore Perlin", + "variations": "Variazioni", + "variationAmount": "Quantità di variazione", + "seedWeights": "Pesi dei semi", + "faceRestoration": "Restaura volti", + "restoreFaces": "Restaura volti", + "type": "Tipo", + "strength": "Forza", + "upscaling": "Ampliamento", + "upscale": "Amplia", + "upscaleImage": "Amplia Immagine", + "scale": "Scala", + "otherOptions": "Altre opzioni", + "seamlessTiling": "Piastrella senza cuciture", + "hiresOptim": "Ottimizzazione alta risoluzione", + "imageFit": "Adatta l'immagine iniziale alle dimensioni di output", + "codeformerFidelity": "Fedeltà", + "seamSize": "Dimensione della cucitura", + "seamBlur": "Sfocatura cucitura", + "seamStrength": "Forza della cucitura", + "seamSteps": "Passaggi di cucitura", + "scaleBeforeProcessing": "Scala prima dell'elaborazione", + "scaledWidth": "Larghezza ridimensionata", + "scaledHeight": "Altezza ridimensionata", + "infillMethod": "Metodo di riempimento", + "tileSize": "Dimensione piastrella", + "boundingBoxHeader": "Rettangolo di selezione", + "seamCorrectionHeader": "Correzione della cucitura", + "infillScalingHeader": "Riempimento e ridimensionamento", + "img2imgStrength": "Forza da Immagine a Immagine", + "toggleLoopback": "Attiva/disattiva elaborazione ricorsiva", + "invoke": "Invoke", + "cancel": "Annulla", + "promptPlaceholder": "Digita qui il prompt usando termini in lingua inglese. [token negativi], (aumenta il peso)++, (diminuisci il peso)--, scambia e fondi sono disponibili (consulta la documentazione)", + "sendTo": "Invia a", + "sendToImg2Img": "Invia a da Immagine a Immagine", + "sendToUnifiedCanvas": "Invia a Tela Unificata", + "copyImageToLink": "Copia l'immagine nel collegamento", + "downloadImage": "Scarica l'immagine", + "openInViewer": "Apri nel visualizzatore", + "closeViewer": "Chiudi visualizzatore", + "usePrompt": "Usa Prompt", + "useSeed": "Usa Seme", + "useAll": "Usa Tutto", + "useInitImg": "Usa l'immagine iniziale", + "info": "Informazioni", + "deleteImage": "Elimina immagine", + "initialImage": "Immagine iniziale", + "showOptionsPanel": "Mostra pannello opzioni" +} diff --git a/invokeai/frontend/dist/locales/parameters/ja.json b/invokeai/frontend/dist/locales/parameters/ja.json new file mode 100644 index 0000000000..f77e0a0bc4 --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/ja.json @@ -0,0 +1,62 @@ +{ + "images": "画像", + "steps": "ステップ数", + "cfgScale": "CFG Scale", + "width": "幅", + "height": "高さ", + "sampler": "Sampler", + "seed": "シード値", + "randomizeSeed": "ランダムなシード値", + "shuffle": "シャッフル", + "noiseThreshold": "Noise Threshold", + "perlinNoise": "Perlin Noise", + "variations": "Variations", + "variationAmount": "Variation Amount", + "seedWeights": "シード値の重み", + "faceRestoration": "顔の修復", + "restoreFaces": "顔の修復", + "type": "Type", + "strength": "強度", + "upscaling": "アップスケーリング", + "upscale": "アップスケール", + "upscaleImage": "画像をアップスケール", + "scale": "Scale", + "otherOptions": "その他のオプション", + "seamlessTiling": "Seamless Tiling", + "hiresOptim": "High Res Optimization", + "imageFit": "Fit Initial Image To Output Size", + "codeformerFidelity": "Fidelity", + "seamSize": "Seam Size", + "seamBlur": "Seam Blur", + "seamStrength": "Seam Strength", + "seamSteps": "Seam Steps", + "scaleBeforeProcessing": "処理前のスケール", + "scaledWidth": "幅のスケール", + "scaledHeight": "高さのスケール", + "infillMethod": "Infill Method", + "tileSize": "Tile Size", + "boundingBoxHeader": "バウンディングボックス", + "seamCorrectionHeader": "Seam Correction", + "infillScalingHeader": "Infill and Scaling", + "img2imgStrength": "Image To Imageの強度", + "toggleLoopback": "Toggle Loopback", + "invoke": "Invoke", + "cancel": "キャンセル", + "promptPlaceholder": "Type prompt here. [negative tokens], (upweight)++, (downweight)--, swap and blend are available (see docs)", + "sendTo": "転送", + "sendToImg2Img": "Image to Imageに転送", + "sendToUnifiedCanvas": "Unified Canvasに転送", + "copyImageToLink": "Copy Image To Link", + "downloadImage": "画像をダウンロード", + "openInViewer": "ビュワーを開く", + "closeViewer": "ビュワーを閉じる", + "usePrompt": "プロンプトを使用", + "useSeed": "シード値を使用", + "useAll": "すべてを使用", + "useInitImg": "Use Initial Image", + "info": "情報", + "deleteImage": "画像を削除", + "initialImage": "Inital Image", + "showOptionsPanel": "オプションパネルを表示" + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/parameters/nl.json b/invokeai/frontend/dist/locales/parameters/nl.json new file mode 100644 index 0000000000..53f587c9b5 --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/nl.json @@ -0,0 +1,61 @@ +{ + "images": "Afbeeldingen", + "steps": "Stappen", + "cfgScale": "CFG-schaal", + "width": "Breedte", + "height": "Hoogte", + "sampler": "Sampler", + "seed": "Seed", + "randomizeSeed": "Willekeurige seed", + "shuffle": "Meng", + "noiseThreshold": "Drempelwaarde ruis", + "perlinNoise": "Perlinruis", + "variations": "Variaties", + "variationAmount": "Hoeveelheid variatie", + "seedWeights": "Gewicht seed", + "faceRestoration": "Gezichtsherstel", + "restoreFaces": "Herstel gezichten", + "type": "Soort", + "strength": "Sterkte", + "upscaling": "Opschalen", + "upscale": "Schaal op", + "upscaleImage": "Schaal afbeelding op", + "scale": "Schaal", + "otherOptions": "Andere opties", + "seamlessTiling": "Naadloze tegels", + "hiresOptim": "Hogeresolutie-optimalisatie", + "imageFit": "Pas initiële afbeelding in uitvoergrootte", + "codeformerFidelity": "Getrouwheid", + "seamSize": "Grootte naad", + "seamBlur": "Vervaging naad", + "seamStrength": "Sterkte naad", + "seamSteps": "Stappen naad", + "scaleBeforeProcessing": "Schalen voor verwerking", + "scaledWidth": "Geschaalde B", + "scaledHeight": "Geschaalde H", + "infillMethod": "Infill-methode", + "tileSize": "Grootte tegel", + "boundingBoxHeader": "Tekenvak", + "seamCorrectionHeader": "Correctie naad", + "infillScalingHeader": "Infill en schaling", + "img2imgStrength": "Sterkte Afbeelding naar afbeelding", + "toggleLoopback": "Zet recursieve verwerking aan/uit", + "invoke": "Genereer", + "cancel": "Annuleer", + "promptPlaceholder": "Voer invoertekst hier in. [negatieve trefwoorden], (verhoogdgewicht)++, (verlaagdgewicht)--, swap (wisselen) en blend (mengen) zijn beschikbaar (zie documentatie)", + "sendTo": "Stuur naar", + "sendToImg2Img": "Stuur naar Afbeelding naar afbeelding", + "sendToUnifiedCanvas": "Stuur naar Centraal canvas", + "copyImageToLink": "Stuur afbeelding naar koppeling", + "downloadImage": "Download afbeelding", + "openInViewer": "Open in Viewer", + "closeViewer": "Sluit Viewer", + "usePrompt": "Hergebruik invoertekst", + "useSeed": "Hergebruik seed", + "useAll": "Hergebruik alles", + "useInitImg": "Gebruik initiële afbeelding", + "info": "Info", + "deleteImage": "Verwijder afbeelding", + "initialImage": "Initiële afbeelding", + "showOptionsPanel": "Toon deelscherm Opties" +} diff --git a/invokeai/frontend/dist/locales/parameters/pl.json b/invokeai/frontend/dist/locales/parameters/pl.json new file mode 100644 index 0000000000..289a013a0f --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/pl.json @@ -0,0 +1,61 @@ +{ + "images": "L. obrazów", + "steps": "L. kroków", + "cfgScale": "Skala CFG", + "width": "Szerokość", + "height": "Wysokość", + "sampler": "Próbkowanie", + "seed": "Inicjator", + "randomizeSeed": "Losowy inicjator", + "shuffle": "Losuj", + "noiseThreshold": "Poziom szumu", + "perlinNoise": "Szum Perlina", + "variations": "Wariacje", + "variationAmount": "Poziom zróżnicowania", + "seedWeights": "Wariacje inicjatora", + "faceRestoration": "Poprawianie twarzy", + "restoreFaces": "Popraw twarze", + "type": "Metoda", + "strength": "Siła", + "upscaling": "Powiększanie", + "upscale": "Powiększ", + "upscaleImage": "Powiększ obraz", + "scale": "Skala", + "otherOptions": "Pozostałe opcje", + "seamlessTiling": "Płynne scalanie", + "hiresOptim": "Optymalizacja wys. rozdzielczości", + "imageFit": "Przeskaluj oryginalny obraz", + "codeformerFidelity": "Dokładność", + "seamSize": "Rozmiar", + "seamBlur": "Rozmycie", + "seamStrength": "Siła", + "seamSteps": "Kroki", + "scaleBeforeProcessing": "Tryb skalowania", + "scaledWidth": "Sk. do szer.", + "scaledHeight": "Sk. do wys.", + "infillMethod": "Metoda wypełniania", + "tileSize": "Rozmiar kafelka", + "boundingBoxHeader": "Zaznaczony obszar", + "seamCorrectionHeader": "Scalanie", + "infillScalingHeader": "Wypełnienie i skalowanie", + "img2imgStrength": "Wpływ sugestii na obraz", + "toggleLoopback": "Wł/wył sprzężenie zwrotne", + "invoke": "Wywołaj", + "cancel": "Anuluj", + "promptPlaceholder": "W tym miejscu wprowadź swoje sugestie. [negatywne sugestie], (wzmocnienie), (osłabienie)--, po więcej opcji (np. swap lub blend) zajrzyj do dokumentacji", + "sendTo": "Wyślij do", + "sendToImg2Img": "Użyj w trybie \"Obraz na obraz\"", + "sendToUnifiedCanvas": "Użyj w trybie uniwersalnym", + "copyImageToLink": "Skopiuj adres obrazu", + "downloadImage": "Pobierz obraz", + "openInViewer": "Otwórz podgląd", + "closeViewer": "Zamknij podgląd", + "usePrompt": "Skopiuj sugestie", + "useSeed": "Skopiuj inicjator", + "useAll": "Skopiuj wszystko", + "useInitImg": "Użyj oryginalnego obrazu", + "info": "Informacje", + "deleteImage": "Usuń obraz", + "initialImage": "Oryginalny obraz", + "showOptionsPanel": "Pokaż panel ustawień" +} diff --git a/invokeai/frontend/dist/locales/parameters/pt.json b/invokeai/frontend/dist/locales/parameters/pt.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/pt.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/parameters/pt_br.json b/invokeai/frontend/dist/locales/parameters/pt_br.json new file mode 100644 index 0000000000..3cc0fbe4cd --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/pt_br.json @@ -0,0 +1,61 @@ +{ + "images": "Imagems", + "steps": "Passos", + "cfgScale": "Escala CFG", + "width": "Largura", + "height": "Altura", + "sampler": "Amostrador", + "seed": "Seed", + "randomizeSeed": "Seed Aleatório", + "shuffle": "Embaralhar", + "noiseThreshold": "Limite de Ruído", + "perlinNoise": "Ruído de Perlin", + "variations": "Variatções", + "variationAmount": "Quntidade de Variatções", + "seedWeights": "Pesos da Seed", + "faceRestoration": "Restauração de Rosto", + "restoreFaces": "Restaurar Rostos", + "type": "Tipo", + "strength": "Força", + "upscaling": "Redimensionando", + "upscale": "Redimensionar", + "upscaleImage": "Redimensionar Imagem", + "scale": "Escala", + "otherOptions": "Outras Opções", + "seamlessTiling": "Ladrilho Sem Fronteira", + "hiresOptim": "Otimização de Alta Res", + "imageFit": "Caber Imagem Inicial No Tamanho de Saída", + "codeformerFidelity": "Fidelidade", + "seamSize": "Tamanho da Fronteira", + "seamBlur": "Desfoque da Fronteira", + "seamStrength": "Força da Fronteira", + "seamSteps": "Passos da Fronteira", + "scaleBeforeProcessing": "Escala Antes do Processamento", + "scaledWidth": "L Escalada", + "scaledHeight": "A Escalada", + "infillMethod": "Método de Preenchimento", + "tileSize": "Tamanho do Ladrilho", + "boundingBoxHeader": "Caixa Delimitadora", + "seamCorrectionHeader": "Correção de Fronteira", + "infillScalingHeader": "Preencimento e Escala", + "img2imgStrength": "Força de Imagem Para Imagem", + "toggleLoopback": "Ativar Loopback", + "invoke": "Invoke", + "cancel": "Cancelar", + "promptPlaceholder": "Digite o prompt aqui. [tokens negativos], (upweight)++, (downweight)--, trocar e misturar estão disponíveis (veja docs)", + "sendTo": "Mandar para", + "sendToImg2Img": "Mandar para Imagem Para Imagem", + "sendToUnifiedCanvas": "Mandar para Tela Unificada", + "copyImageToLink": "Copiar Imagem Para Link", + "downloadImage": "Baixar Imagem", + "openInViewer": "Abrir No Visualizador", + "closeViewer": "Fechar Visualizador", + "usePrompt": "Usar Prompt", + "useSeed": "Usar Seed", + "useAll": "Usar Todos", + "useInitImg": "Usar Imagem Inicial", + "info": "Informações", + "deleteImage": "Apagar Imagem", + "initialImage": "Imagem inicial", + "showOptionsPanel": "Mostrar Painel de Opções" +} diff --git a/invokeai/frontend/dist/locales/parameters/ru.json b/invokeai/frontend/dist/locales/parameters/ru.json new file mode 100644 index 0000000000..dd85a7ac6d --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/ru.json @@ -0,0 +1,61 @@ +{ + "images": "Изображения", + "steps": "Шаги", + "cfgScale": "Уровень CFG", + "width": "Ширина", + "height": "Высота", + "sampler": "Семплер", + "seed": "Сид", + "randomizeSeed": "Случайный сид", + "shuffle": "Обновить", + "noiseThreshold": "Порог шума", + "perlinNoise": "Шум Перлина", + "variations": "Вариации", + "variationAmount": "Кол-во вариаций", + "seedWeights": "Вес сида", + "faceRestoration": "Восстановление лиц", + "restoreFaces": "Восстановить лица", + "type": "Тип", + "strength": "Сила", + "upscaling": "Увеличение", + "upscale": "Увеличить", + "upscaleImage": "Увеличить изображение", + "scale": "Масштаб", + "otherOptions": "Другие параметры", + "seamlessTiling": "Бесшовный узор", + "hiresOptim": "Высокое разрешение", + "imageFit": "Уместить изображение", + "codeformerFidelity": "Точность", + "seamSize": "Размер шва", + "seamBlur": "Размытие шва", + "seamStrength": "Сила шва", + "seamSteps": "Шаги шва", + "scaleBeforeProcessing": "Масштабировать", + "scaledWidth": "Масштаб Ш", + "scaledHeight": "Масштаб В", + "infillMethod": "Способ заполнения", + "tileSize": "Размер области", + "boundingBoxHeader": "Ограничивающая рамка", + "seamCorrectionHeader": "Настройка шва", + "infillScalingHeader": "Заполнение и масштабирование", + "img2imgStrength": "Сила обработки img2img", + "toggleLoopback": "Зациклить обработку", + "invoke": "Вызвать", + "cancel": "Отменить", + "promptPlaceholder": "Введите запрос здесь (на английском). [исключенные токены], (более значимые)++, (менее значимые)--, swap и blend тоже доступны (смотрите Github)", + "sendTo": "Отправить", + "sendToImg2Img": "Отправить в img2img", + "sendToUnifiedCanvas": "Отправить на холст", + "copyImageToLink": "Скопировать ссылку", + "downloadImage": "Скачать", + "openInViewer": "Открыть в просмотрщике", + "closeViewer": "Закрыть просмотрщик", + "usePrompt": "Использовать запрос", + "useSeed": "Использовать сид", + "useAll": "Использовать все", + "useInitImg": "Использовать как исходное", + "info": "Метаданные", + "deleteImage": "Удалить изображение", + "initialImage": "Исходное изображение", + "showOptionsPanel": "Показать панель настроек" +} diff --git a/invokeai/frontend/dist/locales/parameters/ua.json b/invokeai/frontend/dist/locales/parameters/ua.json new file mode 100644 index 0000000000..bd7ce1d1a2 --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/ua.json @@ -0,0 +1,62 @@ +{ + "images": "Зображення", + "steps": "Кроки", + "cfgScale": "Рівень CFG", + "width": "Ширина", + "height": "Висота", + "sampler": "Семплер", + "seed": "Сід", + "randomizeSeed": "Випадковий сид", + "shuffle": "Оновити", + "noiseThreshold": "Поріг шуму", + "perlinNoise": "Шум Перліна", + "variations": "Варіації", + "variationAmount": "Кількість варіацій", + "seedWeights": "Вага сіду", + "faceRestoration": "Відновлення облич", + "restoreFaces": "Відновити обличчя", + "type": "Тип", + "strength": "Сила", + "upscaling": "Збільшення", + "upscale": "Збільшити", + "upscaleImage": "Збільшити зображення", + "scale": "Масштаб", + "otherOptions": "інші параметри", + "seamlessTiling": "Безшовний узор", + "hiresOptim": "Висока роздільна здатність", + "imageFit": "Вмістити зображення", + "codeformerFidelity": "Точність", + "seamSize": "Размір шву", + "seamBlur": "Розмиття шву", + "seamStrength": "Сила шву", + "seamSteps": "Кроки шву", + "inpaintReplace": "Inpaint-заміна", + "scaleBeforeProcessing": "Масштабувати", + "scaledWidth": "Масштаб Ш", + "scaledHeight": "Масштаб В", + "infillMethod": "Засіб заповнення", + "tileSize": "Розмір області", + "boundingBoxHeader": "Обмежуюча рамка", + "seamCorrectionHeader": "Налаштування шву", + "infillScalingHeader": "Заповнення і масштабування", + "img2imgStrength": "Сила обробки img2img", + "toggleLoopback": "Зациклити обробку", + "invoke": "Викликати", + "cancel": "Скасувати", + "promptPlaceholder": "Введіть запит тут (англійською). [видалені токени], (більш вагомі)++, (менш вагомі)--, swap и blend також доступні (дивіться Github)", + "sendTo": "Надіслати", + "sendToImg2Img": "Надіслати у img2img", + "sendToUnifiedCanvas": "Надіслати на полотно", + "copyImageToLink": "Скопіювати посилання", + "downloadImage": "Завантажити", + "openInViewer": "Відкрити у переглядачі", + "closeViewer": "Закрити переглядач", + "usePrompt": "Використати запит", + "useSeed": "Використати сід", + "useAll": "Використати все", + "useInitImg": "Використати як початкове", + "info": "Метадані", + "deleteImage": "Видалити зображення", + "initialImage": "Початкове зображення", + "showOptionsPanel": "Показати панель налаштувань" +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/parameters/zh_cn.json b/invokeai/frontend/dist/locales/parameters/zh_cn.json new file mode 100644 index 0000000000..cf6cf6e1c7 --- /dev/null +++ b/invokeai/frontend/dist/locales/parameters/zh_cn.json @@ -0,0 +1,61 @@ +{ + "images": "图像", + "steps": "步数", + "cfgScale": "CFG 等级", + "width": "宽度", + "height": "高度", + "sampler": "采样算法", + "seed": "种子", + "randomizeSeed": "随机化种子", + "shuffle": "随机化", + "noiseThreshold": "噪声阈值", + "perlinNoise": "Perlin 噪声", + "variations": "变种", + "variationAmount": "变种数量", + "seedWeights": "种子权重", + "faceRestoration": "脸部修复", + "restoreFaces": "修复脸部", + "type": "种类", + "strength": "强度", + "upscaling": "放大", + "upscale": "放大", + "upscaleImage": "放大图像", + "scale": "等级", + "otherOptions": "其他选项", + "seamlessTiling": "无缝拼贴", + "hiresOptim": "高清优化", + "imageFit": "使生成图像长宽适配原图像", + "codeformerFidelity": "保真", + "seamSize": "接缝尺寸", + "seamBlur": "接缝模糊", + "seamStrength": "接缝强度", + "seamSteps": "接缝步数", + "scaleBeforeProcessing": "处理前缩放", + "scaledWidth": "缩放宽度", + "scaledHeight": "缩放长度", + "infillMethod": "填充法", + "tileSize": "方格尺寸", + "boundingBoxHeader": "选择区域", + "seamCorrectionHeader": "接缝修正", + "infillScalingHeader": "内填充和缩放", + "img2imgStrength": "图像到图像强度", + "toggleLoopback": "切换环回", + "invoke": "Invoke", + "cancel": "取消", + "promptPlaceholder": "在这里输入提示。可以使用[反提示]、(加权)++、(减权)--、交换和混合(见文档)", + "sendTo": "发送到", + "sendToImg2Img": "发送到图像到图像", + "sendToUnifiedCanvas": "发送到统一画布", + "copyImageToLink": "复制图像链接", + "downloadImage": "下载图像", + "openInViewer": "在视图中打开", + "closeViewer": "关闭视图", + "usePrompt": "使用提示", + "useSeed": "使用种子", + "useAll": "使用所有参数", + "useInitImg": "使用原图像", + "info": "信息", + "deleteImage": "删除图像", + "initialImage": "原图像", + "showOptionsPanel": "显示选项浮窗" +} diff --git a/invokeai/frontend/dist/locales/settings/de.json b/invokeai/frontend/dist/locales/settings/de.json new file mode 100644 index 0000000000..5ffbd45681 --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/de.json @@ -0,0 +1,13 @@ +{ + "models": "Models", + "displayInProgress": "Bilder in Bearbeitung anzeigen", + "saveSteps": "Speichern der Bilder alle n Schritte", + "confirmOnDelete": "Bestätigen beim Löschen", + "displayHelpIcons": "Hilfesymbole anzeigen", + "useCanvasBeta": "Canvas Beta Layout verwenden", + "enableImageDebugging": "Bild-Debugging aktivieren", + "resetWebUI": "Web-Oberfläche zurücksetzen", + "resetWebUIDesc1": "Das Zurücksetzen der Web-Oberfläche setzt nur den lokalen Cache des Browsers mit Ihren Bildern und gespeicherten Einstellungen zurück. Es werden keine Bilder von der Festplatte gelöscht.", + "resetWebUIDesc2": "Wenn die Bilder nicht in der Galerie angezeigt werden oder etwas anderes nicht funktioniert, versuchen Sie bitte, die Einstellungen zurückzusetzen, bevor Sie einen Fehler auf GitHub melden.", + "resetComplete": "Die Web-Oberfläche wurde zurückgesetzt. Aktualisieren Sie die Seite, um sie neu zu laden." +} diff --git a/invokeai/frontend/dist/locales/settings/en-US.json b/invokeai/frontend/dist/locales/settings/en-US.json new file mode 100644 index 0000000000..e66cf09bf5 --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/en-US.json @@ -0,0 +1,13 @@ +{ + "models": "Models", + "displayInProgress": "Display In-Progress Images", + "saveSteps": "Save images every n steps", + "confirmOnDelete": "Confirm On Delete", + "displayHelpIcons": "Display Help Icons", + "useCanvasBeta": "Use Canvas Beta Layout", + "enableImageDebugging": "Enable Image Debugging", + "resetWebUI": "Reset Web UI", + "resetWebUIDesc1": "Resetting the web UI only resets the browser's local cache of your images and remembered settings. It does not delete any images from disk.", + "resetWebUIDesc2": "If images aren't showing up in the gallery or something else isn't working, please try resetting before submitting an issue on GitHub.", + "resetComplete": "Web UI has been reset. Refresh the page to reload." +} diff --git a/invokeai/frontend/dist/locales/settings/en.json b/invokeai/frontend/dist/locales/settings/en.json new file mode 100644 index 0000000000..e66cf09bf5 --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/en.json @@ -0,0 +1,13 @@ +{ + "models": "Models", + "displayInProgress": "Display In-Progress Images", + "saveSteps": "Save images every n steps", + "confirmOnDelete": "Confirm On Delete", + "displayHelpIcons": "Display Help Icons", + "useCanvasBeta": "Use Canvas Beta Layout", + "enableImageDebugging": "Enable Image Debugging", + "resetWebUI": "Reset Web UI", + "resetWebUIDesc1": "Resetting the web UI only resets the browser's local cache of your images and remembered settings. It does not delete any images from disk.", + "resetWebUIDesc2": "If images aren't showing up in the gallery or something else isn't working, please try resetting before submitting an issue on GitHub.", + "resetComplete": "Web UI has been reset. Refresh the page to reload." +} diff --git a/invokeai/frontend/dist/locales/settings/es.json b/invokeai/frontend/dist/locales/settings/es.json new file mode 100644 index 0000000000..4fadf79977 --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/es.json @@ -0,0 +1,13 @@ +{ + "models": "Modelos", + "displayInProgress": "Mostrar imágenes en progreso", + "saveSteps": "Guardar imágenes cada n pasos", + "confirmOnDelete": "Confirmar antes de eliminar", + "displayHelpIcons": "Mostrar iconos de ayuda", + "useCanvasBeta": "Usar versión beta del Lienzo", + "enableImageDebugging": "Habilitar depuración de imágenes", + "resetWebUI": "Restablecer interfaz web", + "resetWebUIDesc1": "Al restablecer la interfaz web, solo se restablece la caché local del navegador de sus imágenes y la configuración guardada. No se elimina ninguna imagen de su disco duro.", + "resetWebUIDesc2": "Si las imágenes no se muestran en la galería o algo más no funciona, intente restablecer antes de reportar un incidente en GitHub.", + "resetComplete": "La interfaz web se ha restablecido. Actualice la página para recargarla." +} diff --git a/invokeai/frontend/dist/locales/settings/fr.json b/invokeai/frontend/dist/locales/settings/fr.json new file mode 100644 index 0000000000..62e5708a25 --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/fr.json @@ -0,0 +1,13 @@ +{ +"models": "Modèles", +"displayInProgress": "Afficher les images en cours", +"saveSteps": "Enregistrer les images tous les n étapes", +"confirmOnDelete": "Confirmer la suppression", +"displayHelpIcons": "Afficher les icônes d'aide", +"useCanvasBeta": "Utiliser la mise en page bêta de Canvas", +"enableImageDebugging": "Activer le débogage d'image", +"resetWebUI": "Réinitialiser l'interface Web", +"resetWebUIDesc1": "Réinitialiser l'interface Web ne réinitialise que le cache local du navigateur de vos images et de vos paramètres enregistrés. Cela n'efface pas les images du disque.", +"resetWebUIDesc2": "Si les images ne s'affichent pas dans la galerie ou si quelque chose d'autre ne fonctionne pas, veuillez essayer de réinitialiser avant de soumettre une demande sur GitHub.", +"resetComplete": "L'interface Web a été réinitialisée. Rafraîchissez la page pour recharger." +} diff --git a/invokeai/frontend/dist/locales/settings/it.json b/invokeai/frontend/dist/locales/settings/it.json new file mode 100644 index 0000000000..38345e2a6d --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/it.json @@ -0,0 +1,13 @@ +{ + "models": "Modelli", + "displayInProgress": "Visualizza immagini in corso", + "saveSteps": "Salva le immagini ogni n passaggi", + "confirmOnDelete": "Conferma l'eliminazione", + "displayHelpIcons": "Visualizza le icone della Guida", + "useCanvasBeta": "Utilizza il layout beta di Canvas", + "enableImageDebugging": "Abilita il debug dell'immagine", + "resetWebUI": "Reimposta l'interfaccia utente Web", + "resetWebUIDesc1": "Il ripristino dell'interfaccia utente Web reimposta solo la cache locale del browser delle immagini e le impostazioni memorizzate. Non cancella alcuna immagine dal disco.", + "resetWebUIDesc2": "Se le immagini non vengono visualizzate nella galleria o qualcos'altro non funziona, prova a reimpostare prima di segnalare un problema su GitHub.", + "resetComplete": "L'interfaccia utente Web è stata reimpostata. Aggiorna la pagina per ricaricarla." +} diff --git a/invokeai/frontend/dist/locales/settings/ja.json b/invokeai/frontend/dist/locales/settings/ja.json new file mode 100644 index 0000000000..51ff8e991c --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/ja.json @@ -0,0 +1,14 @@ +{ + "models": "モデル", + "displayInProgress": "生成中の画像を表示する", + "saveSteps": "nステップごとに画像を保存", + "confirmOnDelete": "削除時に確認", + "displayHelpIcons": "ヘルプアイコンを表示", + "useCanvasBeta": "キャンバスレイアウト(Beta)を使用する", + "enableImageDebugging": "画像のデバッグを有効化", + "resetWebUI": "WebUIをリセット", + "resetWebUIDesc1": "WebUIのリセットは、画像と保存された設定のキャッシュをリセットするだけです。画像を削除するわけではありません。", + "resetWebUIDesc2": "もしギャラリーに画像が表示されないなど、何か問題が発生した場合はGitHubにissueを提出する前にリセットを試してください。", + "resetComplete": "WebUIはリセットされました。F5を押して再読み込みしてください。" + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/settings/nl.json b/invokeai/frontend/dist/locales/settings/nl.json new file mode 100644 index 0000000000..fa21efbc7b --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/nl.json @@ -0,0 +1,13 @@ +{ + "models": "Modellen", + "displayInProgress": "Toon afbeeldingen gedurende verwerking", + "saveSteps": "Bewaar afbeeldingen elke n stappen", + "confirmOnDelete": "Bevestig bij verwijderen", + "displayHelpIcons": "Toon hulppictogrammen", + "useCanvasBeta": "Gebruik bètavormgeving van canvas", + "enableImageDebugging": "Schakel foutopsporing afbeelding in", + "resetWebUI": "Herstel web-UI", + "resetWebUIDesc1": "Herstel web-UI herstelt alleen de lokale afbeeldingscache en de onthouden instellingen van je browser. Het verwijdert geen afbeeldingen van schijf.", + "resetWebUIDesc2": "Als afbeeldingen niet getoond worden in de galerij of iets anders werkt niet, probeer dan eerst deze herstelfunctie voordat je een fout aanmeldt op GitHub.", + "resetComplete": "Webgebruikersinterface is hersteld. Vernieuw de pasgina om opnieuw te laden." +} diff --git a/invokeai/frontend/dist/locales/settings/pl.json b/invokeai/frontend/dist/locales/settings/pl.json new file mode 100644 index 0000000000..1fb901c30c --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/pl.json @@ -0,0 +1,13 @@ +{ + "models": "Modele", + "displayInProgress": "Podgląd generowanego obrazu", + "saveSteps": "Zapisuj obrazy co X kroków", + "confirmOnDelete": "Potwierdzaj usuwanie", + "displayHelpIcons": "Wyświetlaj ikony pomocy", + "useCanvasBeta": "Nowy układ trybu uniwersalnego", + "enableImageDebugging": "Włącz debugowanie obrazu", + "resetWebUI": "Zresetuj interfejs", + "resetWebUIDesc1": "Resetowanie interfejsu wyczyści jedynie dane i ustawienia zapisane w pamięci przeglądarki. Nie usunie żadnych obrazów z dysku.", + "resetWebUIDesc2": "Jeśli obrazy nie są poprawnie wyświetlane w galerii lub doświadczasz innych problemów, przed zgłoszeniem błędu spróbuj zresetować interfejs.", + "resetComplete": "Interfejs został zresetowany. Odśwież stronę, aby załadować ponownie." +} diff --git a/invokeai/frontend/dist/locales/settings/pt.json b/invokeai/frontend/dist/locales/settings/pt.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/pt.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/settings/pt_br.json b/invokeai/frontend/dist/locales/settings/pt_br.json new file mode 100644 index 0000000000..fddc9616fb --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/pt_br.json @@ -0,0 +1,13 @@ +{ + "models": "Modelos", + "displayInProgress": "Mostrar Progresso de Imagens Em Andamento", + "saveSteps": "Salvar imagens a cada n passos", + "confirmOnDelete": "Confirmar Antes de Apagar", + "displayHelpIcons": "Mostrar Ícones de Ajuda", + "useCanvasBeta": "Usar Layout de Telas Beta", + "enableImageDebugging": "Ativar Depuração de Imagem", + "resetWebUI": "Reiniciar Interface", + "resetWebUIDesc1": "Reiniciar a interface apenas reinicia o cache local do broswer para imagens e configurações lembradas. Não apaga nenhuma imagem do disco.", + "resetWebUIDesc2": "Se as imagens não estão aparecendo na galeria ou algo mais não está funcionando, favor tentar reiniciar antes de postar um problema no GitHub.", + "resetComplete": "A interface foi reiniciada. Atualize a página para carregar." +} diff --git a/invokeai/frontend/dist/locales/settings/ru.json b/invokeai/frontend/dist/locales/settings/ru.json new file mode 100644 index 0000000000..bd9710988a --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/ru.json @@ -0,0 +1,13 @@ ++{ + "models": "Модели", + "displayInProgress": "Показывать процесс генерации", + "saveSteps": "Сохранять каждые n щагов", + "confirmOnDelete": "Подтверждать удаление", + "displayHelpIcons": "Показывать значки подсказок", + "useCanvasBeta": "Показывать инструменты слева (Beta UI)", + "enableImageDebugging": "Включить отладку", + "resetWebUI": "Вернуть умолчания", + "resetWebUIDesc1": "Сброс настроек веб-интерфейса удаляет только локальный кэш браузера с вашими изображениями и настройками. Он не удаляет изображения с диска.", + "resetWebUIDesc2": "Если изображения не отображаются в галерее или не работает что-то еще, пожалуйста, попробуйте сбросить настройки, прежде чем сообщать о проблеме на GitHub.", + "resetComplete": "Интерфейс сброшен. Обновите эту страницу." +} diff --git a/invokeai/frontend/dist/locales/settings/ua.json b/invokeai/frontend/dist/locales/settings/ua.json new file mode 100644 index 0000000000..ca8996f28c --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/ua.json @@ -0,0 +1,13 @@ +{ + "models": "Моделі", + "displayInProgress": "Показувати процес генерації", + "saveSteps": "Зберігати кожні n кроків", + "confirmOnDelete": "Підтверджувати видалення", + "displayHelpIcons": "Показувати значки підказок", + "useCanvasBeta": "Показувати інструменты зліва (Beta UI)", + "enableImageDebugging": "Увімкнути налагодження", + "resetWebUI": "Повернути початкові", + "resetWebUIDesc1": "Скидання настройок веб-інтерфейсу видаляє лише локальний кеш браузера з вашими зображеннями та налаштуваннями. Це не призводить до видалення зображень з диску.", + "resetWebUIDesc2": "Якщо зображення не відображаються в галереї або не працює ще щось, спробуйте скинути налаштування, перш ніж повідомляти про проблему на GitHub.", + "resetComplete": "Інтерфейс скинуто. Оновіть цю сторінку." +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/settings/zh_cn.json b/invokeai/frontend/dist/locales/settings/zh_cn.json new file mode 100644 index 0000000000..07da0b7289 --- /dev/null +++ b/invokeai/frontend/dist/locales/settings/zh_cn.json @@ -0,0 +1,13 @@ +{ + "models": "模型", + "displayInProgress": "显示进行中的图像", + "saveSteps": "每n步保存图像", + "confirmOnDelete": "删除时确认", + "displayHelpIcons": "显示帮助按钮", + "useCanvasBeta": "使用测试版画布视图", + "enableImageDebugging": "开启图像调试", + "resetWebUI": "重置网页界面", + "resetWebUIDesc1": "重置网页只会重置浏览器中缓存的图像和设置,不会删除任何图像。", + "resetWebUIDesc2": "如果图像没有显示在图库中,或者其他东西不工作,请在GitHub上提交问题之前尝试重置。", + "resetComplete": "网页界面已重置。刷新页面以重新加载。" +} diff --git a/invokeai/frontend/dist/locales/toast/de.json b/invokeai/frontend/dist/locales/toast/de.json new file mode 100644 index 0000000000..685dc50090 --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/de.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Temp-Ordner geleert", + "uploadFailed": "Hochladen fehlgeschlagen", + "uploadFailedMultipleImagesDesc": "Mehrere Bilder eingefügt, es kann nur ein Bild auf einmal hochgeladen werden", + "uploadFailedUnableToLoadDesc": "Datei kann nicht geladen werden", + "downloadImageStarted": "Bild wird heruntergeladen", + "imageCopied": "Bild kopiert", + "imageLinkCopied": "Bildlink kopiert", + "imageNotLoaded": "Kein Bild geladen", + "imageNotLoadedDesc": "Kein Bild gefunden, das an das Bild zu Bild-Modul gesendet werden kann", + "imageSavedToGallery": "Bild in die Galerie gespeichert", + "canvasMerged": "Leinwand zusammengeführt", + "sentToImageToImage": "Gesendet an Bild zu Bild", + "sentToUnifiedCanvas": "Gesendet an Unified Canvas", + "parametersSet": "Parameter festlegen", + "parametersNotSet": "Parameter nicht festgelegt", + "parametersNotSetDesc": "Keine Metadaten für dieses Bild gefunden.", + "parametersFailed": "Problem beim Laden der Parameter", + "parametersFailedDesc": "Ausgangsbild kann nicht geladen werden.", + "seedSet": "Seed festlegen", + "seedNotSet": "Saatgut nicht festgelegt", + "seedNotSetDesc": "Für dieses Bild wurde kein Seed gefunden.", + "promptSet": "Prompt festgelegt", + "promptNotSet": "Prompt nicht festgelegt", + "promptNotSetDesc": "Für dieses Bild wurde kein Prompt gefunden.", + "upscalingFailed": "Hochskalierung fehlgeschlagen", + "faceRestoreFailed": "Gesichtswiederherstellung fehlgeschlagen", + "metadataLoadFailed": "Metadaten konnten nicht geladen werden", + "initialImageSet": "Ausgangsbild festgelegt", + "initialImageNotSet": "Ausgangsbild nicht festgelegt", + "initialImageNotSetDesc": "Ausgangsbild konnte nicht geladen werden" +} diff --git a/invokeai/frontend/dist/locales/toast/en-US.json b/invokeai/frontend/dist/locales/toast/en-US.json new file mode 100644 index 0000000000..2b22a1bbec --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/en-US.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Temp Folder Emptied", + "uploadFailed": "Upload failed", + "uploadFailedMultipleImagesDesc": "Multiple images pasted, may only upload one image at a time", + "uploadFailedUnableToLoadDesc": "Unable to load file", + "downloadImageStarted": "Image Download Started", + "imageCopied": "Image Copied", + "imageLinkCopied": "Image Link Copied", + "imageNotLoaded": "No Image Loaded", + "imageNotLoadedDesc": "No image found to send to image to image module", + "imageSavedToGallery": "Image Saved to Gallery", + "canvasMerged": "Canvas Merged", + "sentToImageToImage": "Sent To Image To Image", + "sentToUnifiedCanvas": "Sent to Unified Canvas", + "parametersSet": "Parameters Set", + "parametersNotSet": "Parameters Not Set", + "parametersNotSetDesc": "No metadata found for this image.", + "parametersFailed": "Problem loading parameters", + "parametersFailedDesc": "Unable to load init image.", + "seedSet": "Seed Set", + "seedNotSet": "Seed Not Set", + "seedNotSetDesc": "Could not find seed for this image.", + "promptSet": "Prompt Set", + "promptNotSet": "Prompt Not Set", + "promptNotSetDesc": "Could not find prompt for this image.", + "upscalingFailed": "Upscaling Failed", + "faceRestoreFailed": "Face Restoration Failed", + "metadataLoadFailed": "Failed to load metadata", + "initialImageSet": "Initial Image Set", + "initialImageNotSet": "Initial Image Not Set", + "initialImageNotSetDesc": "Could not load initial image" +} diff --git a/invokeai/frontend/dist/locales/toast/en.json b/invokeai/frontend/dist/locales/toast/en.json new file mode 100644 index 0000000000..2b22a1bbec --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/en.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Temp Folder Emptied", + "uploadFailed": "Upload failed", + "uploadFailedMultipleImagesDesc": "Multiple images pasted, may only upload one image at a time", + "uploadFailedUnableToLoadDesc": "Unable to load file", + "downloadImageStarted": "Image Download Started", + "imageCopied": "Image Copied", + "imageLinkCopied": "Image Link Copied", + "imageNotLoaded": "No Image Loaded", + "imageNotLoadedDesc": "No image found to send to image to image module", + "imageSavedToGallery": "Image Saved to Gallery", + "canvasMerged": "Canvas Merged", + "sentToImageToImage": "Sent To Image To Image", + "sentToUnifiedCanvas": "Sent to Unified Canvas", + "parametersSet": "Parameters Set", + "parametersNotSet": "Parameters Not Set", + "parametersNotSetDesc": "No metadata found for this image.", + "parametersFailed": "Problem loading parameters", + "parametersFailedDesc": "Unable to load init image.", + "seedSet": "Seed Set", + "seedNotSet": "Seed Not Set", + "seedNotSetDesc": "Could not find seed for this image.", + "promptSet": "Prompt Set", + "promptNotSet": "Prompt Not Set", + "promptNotSetDesc": "Could not find prompt for this image.", + "upscalingFailed": "Upscaling Failed", + "faceRestoreFailed": "Face Restoration Failed", + "metadataLoadFailed": "Failed to load metadata", + "initialImageSet": "Initial Image Set", + "initialImageNotSet": "Initial Image Not Set", + "initialImageNotSetDesc": "Could not load initial image" +} diff --git a/invokeai/frontend/dist/locales/toast/es.json b/invokeai/frontend/dist/locales/toast/es.json new file mode 100644 index 0000000000..fe544d4f50 --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/es.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Directorio temporal vaciado", + "uploadFailed": "Error al subir archivo", + "uploadFailedMultipleImagesDesc": "Únicamente se puede subir una imágen a la vez", + "uploadFailedUnableToLoadDesc": "No se pudo cargar la imágen", + "downloadImageStarted": "Descargando imágen", + "imageCopied": "Imágen copiada", + "imageLinkCopied": "Enlace de imágen copiado", + "imageNotLoaded": "No se cargó la imágen", + "imageNotLoadedDesc": "No se encontró imagen para enviar al módulo Imagen a Imagen", + "imageSavedToGallery": "Imágen guardada en la galería", + "canvasMerged": "Lienzo consolidado", + "sentToImageToImage": "Enviar hacia Imagen a Imagen", + "sentToUnifiedCanvas": "Enviar hacia Lienzo Consolidado", + "parametersSet": "Parámetros establecidos", + "parametersNotSet": "Parámetros no establecidos", + "parametersNotSetDesc": "No se encontraron metadatos para esta imágen.", + "parametersFailed": "Error cargando parámetros", + "parametersFailedDesc": "No fue posible cargar la imagen inicial.", + "seedSet": "Semilla establecida", + "seedNotSet": "Semilla no establecida", + "seedNotSetDesc": "No se encontró una semilla para esta imágen.", + "promptSet": "Entrada establecida", + "promptNotSet": "Entrada no establecida", + "promptNotSetDesc": "No se encontró una entrada para esta imágen.", + "upscalingFailed": "Error al aumentar tamaño de imagn", + "faceRestoreFailed": "Restauración de rostro fallida", + "metadataLoadFailed": "Error al cargar metadatos", + "initialImageSet": "Imágen inicial establecida", + "initialImageNotSet": "Imagen inicial no establecida", + "initialImageNotSetDesc": "Error al establecer la imágen inicial" +} diff --git a/invokeai/frontend/dist/locales/toast/fr.json b/invokeai/frontend/dist/locales/toast/fr.json new file mode 100644 index 0000000000..d519f38bb4 --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/fr.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Dossiers temporaires vidés", + "uploadFailed": "Téléchargement échoué", + "uploadFailedMultipleImagesDesc": "Plusieurs images collées, peut uniquement télécharger une image à la fois", + "uploadFailedUnableToLoadDesc": "Impossible de charger le fichier", + "downloadImageStarted": "Téléchargement de l'image démarré", + "imageCopied": "Image copiée", + "imageLinkCopied": "Lien d'image copié", + "imageNotLoaded": "Aucune image chargée", + "imageNotLoadedDesc": "Aucune image trouvée pour envoyer à module d'image", + "imageSavedToGallery": "Image enregistrée dans la galerie", + "canvasMerged": "Canvas fusionné", + "sentToImageToImage": "Envoyé à Image à Image", + "sentToUnifiedCanvas": "Envoyé à Canvas unifié", + "parametersSet": "Paramètres définis", + "parametersNotSet": "Paramètres non définis", + "parametersNotSetDesc": "Aucune métadonnée trouvée pour cette image.", + "parametersFailed": "Problème de chargement des paramètres", + "parametersFailedDesc": "Impossible de charger l'image d'initiation.", + "seedSet": "Graine définie", + "seedNotSet": "Graine non définie", + "seedNotSetDesc": "Impossible de trouver la graine pour cette image.", + "promptSet": "Invite définie", + "promptNotSet": "Invite non définie", + "promptNotSetDesc": "Impossible de trouver l'invite pour cette image.", + "upscalingFailed": "Échec de la mise à l'échelle", + "faceRestoreFailed": "Échec de la restauration du visage", + "metadataLoadFailed": "Échec du chargement des métadonnées", + "initialImageSet": "Image initiale définie", + "initialImageNotSet": "Image initiale non définie", + "initialImageNotSetDesc": "Impossible de charger l'image initiale" +} diff --git a/invokeai/frontend/dist/locales/toast/it.json b/invokeai/frontend/dist/locales/toast/it.json new file mode 100644 index 0000000000..6de400f16c --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/it.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Cartella temporanea svuotata", + "uploadFailed": "Caricamento fallito", + "uploadFailedMultipleImagesDesc": "Più immagini incollate, si può caricare solo un'immagine alla volta", + "uploadFailedUnableToLoadDesc": "Impossibile caricare il file", + "downloadImageStarted": "Download dell'immagine avviato", + "imageCopied": "Immagine copiata", + "imageLinkCopied": "Collegamento immagine copiato", + "imageNotLoaded": "Nessuna immagine caricata", + "imageNotLoadedDesc": "Nessuna immagine trovata da inviare al modulo da Immagine a Immagine", + "imageSavedToGallery": "Immagine salvata nella Galleria", + "canvasMerged": "Tela unita", + "sentToImageToImage": "Inviato a da Immagine a Immagine", + "sentToUnifiedCanvas": "Inviato a Tela Unificata", + "parametersSet": "Parametri impostati", + "parametersNotSet": "Parametri non impostati", + "parametersNotSetDesc": "Nessun metadato trovato per questa immagine.", + "parametersFailed": "Problema durante il caricamento dei parametri", + "parametersFailedDesc": "Impossibile caricare l'immagine iniziale.", + "seedSet": "Seme impostato", + "seedNotSet": "Seme non impostato", + "seedNotSetDesc": "Impossibile trovare il seme per questa immagine.", + "promptSet": "Prompt impostato", + "promptNotSet": "Prompt non impostato", + "promptNotSetDesc": "Impossibile trovare il prompt per questa immagine.", + "upscalingFailed": "Ampliamento non riuscito", + "faceRestoreFailed": "Restauro facciale non riuscito", + "metadataLoadFailed": "Impossibile caricare i metadati", + "initialImageSet": "Immagine iniziale impostata", + "initialImageNotSet": "Immagine iniziale non impostata", + "initialImageNotSetDesc": "Impossibile caricare l'immagine iniziale" +} diff --git a/invokeai/frontend/dist/locales/toast/ja.json b/invokeai/frontend/dist/locales/toast/ja.json new file mode 100644 index 0000000000..e43a03a2b5 --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/ja.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Temp Folder Emptied", + "uploadFailed": "アップロード失敗", + "uploadFailedMultipleImagesDesc": "一度にアップロードできる画像は1枚のみです。", + "uploadFailedUnableToLoadDesc": "ファイルを読み込むことができません。", + "downloadImageStarted": "画像ダウンロード開始", + "imageCopied": "画像をコピー", + "imageLinkCopied": "画像のURLをコピー", + "imageNotLoaded": "画像を読み込めません。", + "imageNotLoadedDesc": "Image To Imageに転送する画像が見つかりません。", + "imageSavedToGallery": "画像をギャラリーに保存する", + "canvasMerged": "Canvas Merged", + "sentToImageToImage": "Image To Imageに転送", + "sentToUnifiedCanvas": "Unified Canvasに転送", + "parametersSet": "Parameters Set", + "parametersNotSet": "Parameters Not Set", + "parametersNotSetDesc": "この画像にはメタデータがありません。", + "parametersFailed": "パラメータ読み込みの不具合", + "parametersFailedDesc": "initイメージを読み込めません。", + "seedSet": "Seed Set", + "seedNotSet": "Seed Not Set", + "seedNotSetDesc": "この画像のシード値が見つかりません。", + "promptSet": "Prompt Set", + "promptNotSet": "Prompt Not Set", + "promptNotSetDesc": "この画像のプロンプトが見つかりませんでした。", + "upscalingFailed": "アップスケーリング失敗", + "faceRestoreFailed": "顔の修復に失敗", + "metadataLoadFailed": "メタデータの読み込みに失敗。", + "initialImageSet": "Initial Image Set", + "initialImageNotSet": "Initial Image Not Set", + "initialImageNotSetDesc": "Could not load initial image" + } \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/toast/nl.json b/invokeai/frontend/dist/locales/toast/nl.json new file mode 100644 index 0000000000..36a7b5d198 --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/nl.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Tijdelijke map geleegd", + "uploadFailed": "Upload mislukt", + "uploadFailedMultipleImagesDesc": "Meerdere afbeeldingen geplakt, slechts een afbeelding per keer toegestaan", + "uploadFailedUnableToLoadDesc": "Kan bestand niet laden", + "downloadImageStarted": "Afbeeldingsdownload gestart", + "imageCopied": "Afbeelding gekopieerd", + "imageLinkCopied": "Afbeeldingskoppeling gekopieerd", + "imageNotLoaded": "Geen afbeelding geladen", + "imageNotLoadedDesc": "Geen afbeelding gevonden om te sturen naar de module Afbeelding naar afbeelding", + "imageSavedToGallery": "Afbeelding opgeslagen naar galerij", + "canvasMerged": "Canvas samengevoegd", + "sentToImageToImage": "Gestuurd naar Afbeelding naar afbeelding", + "sentToUnifiedCanvas": "Gestuurd naar Centraal canvas", + "parametersSet": "Parameters ingesteld", + "parametersNotSet": "Parameters niet ingesteld", + "parametersNotSetDesc": "Geen metagegevens gevonden voor deze afbeelding.", + "parametersFailed": "Fout bij laden van parameters", + "parametersFailedDesc": "Kan initiële afbeelding niet laden.", + "seedSet": "Seed ingesteld", + "seedNotSet": "Seed niet ingesteld", + "seedNotSetDesc": "Kan seed niet vinden voor deze afbeelding.", + "promptSet": "Invoertekst ingesteld", + "promptNotSet": "Invoertekst niet ingesteld", + "promptNotSetDesc": "Kan invoertekst niet vinden voor deze afbeelding.", + "upscalingFailed": "Opschalen mislukt", + "faceRestoreFailed": "Gezichtsherstel mislukt", + "metadataLoadFailed": "Fout bij laden metagegevens", + "initialImageSet": "Initiële afbeelding ingesteld", + "initialImageNotSet": "Initiële afbeelding niet ingesteld", + "initialImageNotSetDesc": "Kan initiële afbeelding niet laden" +} diff --git a/invokeai/frontend/dist/locales/toast/pl.json b/invokeai/frontend/dist/locales/toast/pl.json new file mode 100644 index 0000000000..9d66731e09 --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/pl.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Wyczyszczono folder tymczasowy", + "uploadFailed": "Błąd przesyłania obrazu", + "uploadFailedMultipleImagesDesc": "Możliwe jest przesłanie tylko jednego obrazu na raz", + "uploadFailedUnableToLoadDesc": "Błąd wczytywania obrazu", + "downloadImageStarted": "Rozpoczęto pobieranie", + "imageCopied": "Skopiowano obraz", + "imageLinkCopied": "Skopiowano link do obrazu", + "imageNotLoaded": "Nie wczytano obrazu", + "imageNotLoadedDesc": "Nie znaleziono obrazu, który można użyć w Obraz na obraz", + "imageSavedToGallery": "Zapisano obraz w galerii", + "canvasMerged": "Scalono widoczne warstwy", + "sentToImageToImage": "Wysłano do Obraz na obraz", + "sentToUnifiedCanvas": "Wysłano do trybu uniwersalnego", + "parametersSet": "Ustawiono parametry", + "parametersNotSet": "Nie ustawiono parametrów", + "parametersNotSetDesc": "Nie znaleziono metadanych dla wybranego obrazu", + "parametersFailed": "Problem z wczytaniem parametrów", + "parametersFailedDesc": "Problem z wczytaniem oryginalnego obrazu", + "seedSet": "Ustawiono inicjator", + "seedNotSet": "Nie ustawiono inicjatora", + "seedNotSetDesc": "Nie znaleziono inicjatora dla wybranego obrazu", + "promptSet": "Ustawiono sugestie", + "promptNotSet": "Nie ustawiono sugestii", + "promptNotSetDesc": "Nie znaleziono zapytania dla wybranego obrazu", + "upscalingFailed": "Błąd powiększania obrazu", + "faceRestoreFailed": "Błąd poprawiania twarzy", + "metadataLoadFailed": "Błąd wczytywania metadanych", + "initialImageSet": "Ustawiono oryginalny obraz", + "initialImageNotSet": "Nie ustawiono oryginalnego obrazu", + "initialImageNotSetDesc": "Błąd wczytywania oryginalnego obrazu" +} diff --git a/invokeai/frontend/dist/locales/toast/pt.json b/invokeai/frontend/dist/locales/toast/pt.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/pt.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/toast/pt_br.json b/invokeai/frontend/dist/locales/toast/pt_br.json new file mode 100644 index 0000000000..47750de1bd --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/pt_br.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Pasta de Arquivos Temporários Esvaziada", + "uploadFailed": "Envio Falhou", + "uploadFailedMultipleImagesDesc": "Várias imagens copiadas, só é permitido uma imagem de cada vez", + "uploadFailedUnableToLoadDesc": "Não foj possível carregar o arquivo", + "downloadImageStarted": "Download de Imagem Começou", + "imageCopied": "Imagem Copiada", + "imageLinkCopied": "Link de Imagem Copiada", + "imageNotLoaded": "Nenhuma Imagem Carregada", + "imageNotLoadedDesc": "Nenhuma imagem encontrar para mandar para o módulo de imagem para imagem", + "imageSavedToGallery": "Imagem Salva na Galeria", + "canvasMerged": "Tela Fundida", + "sentToImageToImage": "Mandar Para Imagem Para Imagem", + "sentToUnifiedCanvas": "Enviada para a Tela Unificada", + "parametersSet": "Parâmetros Definidos", + "parametersNotSet": "Parâmetros Não Definidos", + "parametersNotSetDesc": "Nenhum metadado foi encontrado para essa imagem.", + "parametersFailed": "Problema ao carregar parâmetros", + "parametersFailedDesc": "Não foi possível carregar imagem incial.", + "seedSet": "Seed Definida", + "seedNotSet": "Seed Não Definida", + "seedNotSetDesc": "Não foi possível achar a seed para a imagem.", + "promptSet": "Prompt Definido", + "promptNotSet": "Prompt Não Definido", + "promptNotSetDesc": "Não foi possível achar prompt para essa imagem.", + "upscalingFailed": "Redimensionamento Falhou", + "faceRestoreFailed": "Restauração de Rosto Falhou", + "metadataLoadFailed": "Falha ao tentar carregar metadados", + "initialImageSet": "Imagem Inicial Definida", + "initialImageNotSet": "Imagem Inicial Não Definida", + "initialImageNotSetDesc": "Não foi possível carregar imagem incial" +} diff --git a/invokeai/frontend/dist/locales/toast/ru.json b/invokeai/frontend/dist/locales/toast/ru.json new file mode 100644 index 0000000000..22cddd82c5 --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/ru.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Временная папка очищена", + "uploadFailed": "Загрузка не удалась", + "uploadFailedMultipleImagesDesc": "Можно вставить только одно изображение (вы попробовали вставить несколько)", + "uploadFailedUnableToLoadDesc": "Невозможно загрузить файл", + "downloadImageStarted": "Скачивание изображения началось", + "imageCopied": "Изображение скопировано", + "imageLinkCopied": "Ссылка на изображение скопирована", + "imageNotLoaded": "Изображение не загружено", + "imageNotLoadedDesc": "Не найдены изображения для отправки в img2img", + "imageSavedToGallery": "Изображение сохранено в галерею", + "canvasMerged": "Холст объединен", + "sentToImageToImage": "Отправить в img2img", + "sentToUnifiedCanvas": "Отправить на холст", + "parametersSet": "Параметры заданы", + "parametersNotSet": "Параметры не заданы", + "parametersNotSetDesc": "Не найдены метаданные этого изображения", + "parametersFailed": "Проблема с загрузкой параметров", + "parametersFailedDesc": "Невозможно загрузить исходное изображение", + "seedSet": "Сид задан", + "seedNotSet": "Сид не задан", + "seedNotSetDesc": "Не удалось найти сид для изображения", + "promptSet": "Запрос задан", + "promptNotSet": "Запрос не задан", + "promptNotSetDesc": "Не удалось найти запрос для изображения", + "upscalingFailed": "Увеличение не удалось", + "faceRestoreFailed": "Восстановление лиц не удалось", + "metadataLoadFailed": "Не удалось загрузить метаданные", + "initialImageSet": "Исходное изображение задано", + "initialImageNotSet": "Исходное изображение не задано", + "initialImageNotSetDesc": "Не получилось загрузить исходное изображение" +} diff --git a/invokeai/frontend/dist/locales/toast/ua.json b/invokeai/frontend/dist/locales/toast/ua.json new file mode 100644 index 0000000000..2592ba83da --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/ua.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "Тимчасова папка очищена", + "uploadFailed": "Не вдалося завантажити", + "uploadFailedMultipleImagesDesc": "Можна вставити лише одне зображення (ви спробували вставити декілька)", + "uploadFailedUnableToLoadDesc": "Неможливо завантажити файл", + "downloadImageStarted": "Завантаження зображення почалося", + "imageCopied": "Зображення скопійоване", + "imageLinkCopied": "Посилання на зображення скопійовано", + "imageNotLoaded": "Зображення не завантажено", + "imageNotLoadedDesc": "Не знайдено зображення для надсилання до img2img", + "imageSavedToGallery": "Зображення збережено в галерею", + "canvasMerged": "Полотно об'єднане", + "sentToImageToImage": "Надіслати до img2img", + "sentToUnifiedCanvas": "Надіслати на полотно", + "parametersSet": "Параметри задані", + "parametersNotSet": "Параметри не задані", + "parametersNotSetDesc": "Не знайдені метадані цього зображення", + "parametersFailed": "Проблема із завантаженням параметрів", + "parametersFailedDesc": "Неможливо завантажити початкове зображення", + "seedSet": "Сід заданий", + "seedNotSet": "Сід не заданий", + "seedNotSetDesc": "Не вдалося знайти сід для зображення", + "promptSet": "Запит заданий", + "promptNotSet": "Запит не заданий", + "promptNotSetDesc": "Не вдалося знайти запит для зображення", + "upscalingFailed": "Збільшення не вдалося", + "faceRestoreFailed": "Відновлення облич не вдалося", + "metadataLoadFailed": "Не вдалося завантажити метадані", + "initialImageSet": "Початкове зображення задане", + "initialImageNotSet": "Початкове зображення не задане", + "initialImageNotSetDesc": "Не вдалося завантажити початкове зображення" +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/toast/zh_cn.json b/invokeai/frontend/dist/locales/toast/zh_cn.json new file mode 100644 index 0000000000..17d9079d2f --- /dev/null +++ b/invokeai/frontend/dist/locales/toast/zh_cn.json @@ -0,0 +1,32 @@ +{ + "tempFoldersEmptied": "临时文件夹已清空", + "uploadFailed": "上传失败", + "uploadFailedMultipleImagesDesc": "多张图像被粘贴,同时只能上传一张图像", + "uploadFailedUnableToLoadDesc": "无法加载文件", + "downloadImageStarted": "图像下载已开始", + "imageCopied": "图像已复制", + "imageLinkCopied": "图像链接已复制", + "imageNotLoaded": "没有加载图像", + "imageNotLoadedDesc": "没有图像可供送往图像到图像界面", + "imageSavedToGallery": "图像已保存到图库", + "canvasMerged": "画布已合并", + "sentToImageToImage": "已送往图像到图像", + "sentToUnifiedCanvas": "已送往统一画布", + "parametersSet": "参数已设定", + "parametersNotSet": "参数未设定", + "parametersNotSetDesc": "此图像不存在元数据", + "parametersFailed": "加载参数失败", + "parametersFailedDesc": "加载初始图像失败", + "seedSet": "种子已设定", + "seedNotSet": "种子未设定", + "seedNotSetDesc": "无法找到该图像的种子", + "promptSet": "提示已设定", + "promptNotSet": "提示未设定", + "promptNotSetDesc": "无法找到该图像的提示", + "upscalingFailed": "放大失败", + "faceRestoreFailed": "脸部修复失败", + "metadataLoadFailed": "加载元数据失败", + "initialImageSet": "初始图像已设定", + "initialImageNotSet": "初始图像未设定", + "initialImageNotSetDesc": "无法加载初始图像" +} diff --git a/invokeai/frontend/dist/locales/tooltip/de.json b/invokeai/frontend/dist/locales/tooltip/de.json new file mode 100644 index 0000000000..f88cecb146 --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/de.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "Dies ist das Prompt-Feld. Ein Prompt enthält Generierungsobjekte und stilistische Begriffe. Sie können auch Gewichtungen (Token-Bedeutung) dem Prompt hinzufügen, aber CLI-Befehle und Parameter funktionieren nicht.", + "gallery": "Die Galerie zeigt erzeugte Bilder aus dem Ausgabeordner an, sobald sie erstellt wurden. Die Einstellungen werden in den Dateien gespeichert und können über das Kontextmenü aufgerufen werden.", + "other": "Mit diesen Optionen werden alternative Verarbeitungsmodi für InvokeAI aktiviert. 'Nahtlose Kachelung' erzeugt sich wiederholende Muster in der Ausgabe. 'Hohe Auflösungen' werden in zwei Schritten mit img2img erzeugt: Verwenden Sie diese Einstellung, wenn Sie ein größeres und kohärenteres Bild ohne Artefakte wünschen. Es dauert länger als das normale txt2img.", + "seed": "Der Seed-Wert beeinflusst das Ausgangsrauschen, aus dem das Bild erstellt wird. Sie können die bereits vorhandenen Seeds von früheren Bildern verwenden. 'Der Rauschschwellenwert' wird verwendet, um Artefakte bei hohen CFG-Werten abzuschwächen (versuchen Sie es im Bereich 0-10), und Perlin, um während der Erzeugung Perlin-Rauschen hinzuzufügen: Beide dienen dazu, Ihre Ergebnisse zu variieren.", + "variations": "Versuchen Sie eine Variation mit einem Wert zwischen 0,1 und 1,0, um das Ergebnis für ein bestimmtes Seed zu ändern. Interessante Variationen des Seeds liegen zwischen 0,1 und 0,3.", + "upscale": "Verwenden Sie ESRGAN, um das Bild unmittelbar nach der Erzeugung zu vergrößern.", + "faceCorrection": "Gesichtskorrektur mit GFPGAN oder Codeformer: Der Algorithmus erkennt Gesichter im Bild und korrigiert alle Fehler. Ein hoher Wert verändert das Bild stärker, was zu attraktiveren Gesichtern führt. Codeformer mit einer höheren Genauigkeit bewahrt das Originalbild auf Kosten einer stärkeren Gesichtskorrektur.", + "imageToImage": "Bild zu Bild lädt ein beliebiges Bild als Ausgangsbild, aus dem dann zusammen mit dem Prompt ein neues Bild erzeugt wird. Je höher der Wert ist, desto stärker wird das Ergebnisbild verändert. Werte von 0,0 bis 1,0 sind möglich, der empfohlene Bereich ist .25-.75", + "boundingBox": "Der Begrenzungsrahmen ist derselbe wie die Einstellungen für Breite und Höhe bei Text zu Bild oder Bild zu Bild. Es wird nur der Bereich innerhalb des Rahmens verarbeitet.", + "seamCorrection": "Steuert die Behandlung von sichtbaren Übergängen, die zwischen den erzeugten Bildern auf der Leinwand auftreten.", + "infillAndScaling": "Verwalten Sie Infill-Methoden (für maskierte oder gelöschte Bereiche der Leinwand) und Skalierung (nützlich für kleine Begrenzungsrahmengrößen)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/en-US.json b/invokeai/frontend/dist/locales/tooltip/en-US.json new file mode 100644 index 0000000000..572594fe65 --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/en-US.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "This is the prompt field. Prompt includes generation objects and stylistic terms. You can add weight (token importance) in the prompt as well, but CLI commands and parameters will not work.", + "gallery": "Gallery displays generations from the outputs folder as they're created. Settings are stored within files and accesed by context menu.", + "other": "These options will enable alternative processing modes for Invoke. 'Seamless tiling' will create repeating patterns in the output. 'High resolution' is generation in two steps with img2img: use this setting when you want a larger and more coherent image without artifacts. It will take longer that usual txt2img.", + "seed": "Seed value affects the initial noise from which the image is formed. You can use the already existing seeds from previous images. 'Noise Threshold' is used to mitigate artifacts at high CFG values (try the 0-10 range), and Perlin to add Perlin noise during generation: both serve to add variation to your outputs.", + "variations": "Try a variation with a value between 0.1 and 1.0 to change the result for a given seed. Interesting variations of the seed are between 0.1 and 0.3.", + "upscale": "Use ESRGAN to enlarge the image immediately after generation.", + "faceCorrection": "Face correction with GFPGAN or Codeformer: the algorithm detects faces in the image and corrects any defects. High value will change the image more, resulting in more attractive faces. Codeformer with a higher fidelity preserves the original image at the expense of stronger face correction.", + "imageToImage": "Image to Image loads any image as initial, which is then used to generate a new one along with the prompt. The higher the value, the more the result image will change. Values from 0.0 to 1.0 are possible, the recommended range is .25-.75", + "boundingBox": "The bounding box is the same as the Width and Height settings for Text to Image or Image to Image. Only the area in the box will be processed.", + "seamCorrection": "Controls the handling of visible seams that occur between generated images on the canvas.", + "infillAndScaling": "Manage infill methods (used on masked or erased areas of the canvas) and scaling (useful for small bounding box sizes)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/en.json b/invokeai/frontend/dist/locales/tooltip/en.json new file mode 100644 index 0000000000..572594fe65 --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/en.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "This is the prompt field. Prompt includes generation objects and stylistic terms. You can add weight (token importance) in the prompt as well, but CLI commands and parameters will not work.", + "gallery": "Gallery displays generations from the outputs folder as they're created. Settings are stored within files and accesed by context menu.", + "other": "These options will enable alternative processing modes for Invoke. 'Seamless tiling' will create repeating patterns in the output. 'High resolution' is generation in two steps with img2img: use this setting when you want a larger and more coherent image without artifacts. It will take longer that usual txt2img.", + "seed": "Seed value affects the initial noise from which the image is formed. You can use the already existing seeds from previous images. 'Noise Threshold' is used to mitigate artifacts at high CFG values (try the 0-10 range), and Perlin to add Perlin noise during generation: both serve to add variation to your outputs.", + "variations": "Try a variation with a value between 0.1 and 1.0 to change the result for a given seed. Interesting variations of the seed are between 0.1 and 0.3.", + "upscale": "Use ESRGAN to enlarge the image immediately after generation.", + "faceCorrection": "Face correction with GFPGAN or Codeformer: the algorithm detects faces in the image and corrects any defects. High value will change the image more, resulting in more attractive faces. Codeformer with a higher fidelity preserves the original image at the expense of stronger face correction.", + "imageToImage": "Image to Image loads any image as initial, which is then used to generate a new one along with the prompt. The higher the value, the more the result image will change. Values from 0.0 to 1.0 are possible, the recommended range is .25-.75", + "boundingBox": "The bounding box is the same as the Width and Height settings for Text to Image or Image to Image. Only the area in the box will be processed.", + "seamCorrection": "Controls the handling of visible seams that occur between generated images on the canvas.", + "infillAndScaling": "Manage infill methods (used on masked or erased areas of the canvas) and scaling (useful for small bounding box sizes)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/es.json b/invokeai/frontend/dist/locales/tooltip/es.json new file mode 100644 index 0000000000..543aad6a8c --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/es.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "Este campo tomará todo el texto de entrada, incluidos tanto los términos de contenido como los estilísticos. Si bien se pueden incluir pesos en la solicitud, los comandos/parámetros estándar de línea de comandos no funcionarán.", + "gallery": "Conforme se generan nuevas invocaciones, los archivos del directorio de salida se mostrarán aquí. Las generaciones tienen opciones adicionales para configurar nuevas generaciones.", + "other": "Estas opciones habilitarán modos de procesamiento alternativos para Invoke. El modo sin costuras funciona para generar patrones repetitivos en la salida. La optimización de alta resolución realiza un ciclo de generación de dos pasos y debe usarse en resoluciones más altas cuando desee una imagen/composición más coherente.", + "seed": "Los valores de semilla proporcionan un conjunto inicial de ruido que guían el proceso de eliminación de ruido y se pueden aleatorizar o rellenar con una semilla de una invocación anterior. La función Umbral se puede usar para mitigar resultados indeseables a valores CFG más altos (intente entre 0-10), y Perlin se puede usar para agregar ruido Perlin al proceso de eliminación de ruido. Ambos sirven para agregar variación a sus salidas.", + "variations": "Pruebe una variación con una cantidad entre 0 y 1 para cambiar la imagen de salida para la semilla establecida. Se encuentran variaciones interesantes en la semilla entre 0.1 y 0.3.", + "upscale": "Usando ESRGAN, puede aumentar la resolución de salida sin requerir un ancho/alto más alto en la generación inicial.", + "faceCorrection": "Usando GFPGAN o Codeformer, la corrección de rostros intentará identificar rostros en las salidas y corregir cualquier defecto/anormalidad. Los valores de fuerza más altos aplicarán una presión correctiva más fuerte en las salidas, lo que resultará en rostros más atractivos. Con Codeformer, una mayor fidelidad intentará preservar la imagen original, a expensas de la fuerza de corrección de rostros.", + "imageToImage": "Imagen a Imagen permite cargar una imagen inicial, que InvokeAI usará para guiar el proceso de generación, junto con una solicitud. Un valor más bajo para esta configuración se parecerá más a la imagen original. Se aceptan valores entre 0-1, y se recomienda un rango de .25-.75.", + "boundingBox": "La caja delimitadora es análoga a las configuraciones de Ancho y Alto para Texto a Imagen o Imagen a Imagen. Solo se procesará el área en la caja.", + "seamCorrection": "Controla el manejo de parches visibles que pueden ocurrir cuando se pega una imagen generada de nuevo en el lienzo.", + "infillAndScaling": "Administra los métodos de relleno (utilizados en áreas enmascaradas o borradas del lienzo) y la escala (útil para tamaños de caja delimitadora pequeños)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/fr.json b/invokeai/frontend/dist/locales/tooltip/fr.json new file mode 100644 index 0000000000..38b0f9d61c --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/fr.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "Ceci est le champ prompt. Le prompt inclut des objets de génération et des termes stylistiques. Vous pouvez également ajouter un poids (importance du jeton) dans le prompt, mais les commandes CLI et les paramètres ne fonctionneront pas.", + "gallery": "La galerie affiche les générations à partir du dossier de sortie à mesure qu'elles sont créées. Les paramètres sont stockés dans des fichiers et accessibles via le menu contextuel.", + "other": "Ces options activent des modes de traitement alternatifs pour Invoke. 'Tuilage seamless' créera des motifs répétitifs dans la sortie. 'Haute résolution' est la génération en deux étapes avec img2img: utilisez ce paramètre lorsque vous souhaitez une image plus grande et plus cohérente sans artefacts. Cela prendra plus de temps que d'habitude txt2img.", + "seed": "La valeur de grain affecte le bruit initial à partir duquel l'image est formée. Vous pouvez utiliser les graines déjà existantes provenant d'images précédentes. 'Seuil de bruit' est utilisé pour atténuer les artefacts à des valeurs CFG élevées (essayez la plage de 0 à 10), et Perlin pour ajouter du bruit Perlin pendant la génération: les deux servent à ajouter de la variété à vos sorties.", + "variations": "Essayez une variation avec une valeur comprise entre 0,1 et 1,0 pour changer le résultat pour une graine donnée. Des variations intéressantes de la graine sont entre 0,1 et 0,3.", + "upscale": "Utilisez ESRGAN pour agrandir l'image immédiatement après la génération.", + "faceCorrection": "Correction de visage avec GFPGAN ou Codeformer: l'algorithme détecte les visages dans l'image et corrige tout défaut. La valeur élevée changera plus l'image, ce qui donnera des visages plus attirants. Codeformer avec une fidélité plus élevée préserve l'image originale au prix d'une correction de visage plus forte.", + "imageToImage": "Image to Image charge n'importe quelle image en tant qu'initiale, qui est ensuite utilisée pour générer une nouvelle avec le prompt. Plus la valeur est élevée, plus l'image de résultat changera. Des valeurs de 0,0 à 1,0 sont possibles, la plage recommandée est de 0,25 à 0,75", + "boundingBox": "La boîte englobante est la même que les paramètres Largeur et Hauteur pour Texte à Image ou Image à Image. Seulement la zone dans la boîte sera traitée.", + "seamCorrection": "Contrôle la gestion des coutures visibles qui se produisent entre les images générées sur la toile.", + "infillAndScaling": "Gérer les méthodes de remplissage (utilisées sur les zones masquées ou effacées de la toile) et le redimensionnement (utile pour les petites tailles de boîte englobante)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/it.json b/invokeai/frontend/dist/locales/tooltip/it.json new file mode 100644 index 0000000000..cf1993c8cc --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/it.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "Questo è il campo del prompt. Il prompt include oggetti di generazione e termini stilistici. Puoi anche aggiungere il peso (importanza del token) nel prompt, ma i comandi e i parametri dell'interfaccia a linea di comando non funzioneranno.", + "gallery": "Galleria visualizza le generazioni dalla cartella degli output man mano che vengono create. Le impostazioni sono memorizzate all'interno di file e accessibili dal menu contestuale.", + "other": "Queste opzioni abiliteranno modalità di elaborazione alternative per Invoke. 'Piastrella senza cuciture' creerà modelli ripetuti nell'output. 'Ottimizzzazione Alta risoluzione' è la generazione in due passaggi con 'Immagine a Immagine': usa questa impostazione quando vuoi un'immagine più grande e più coerente senza artefatti. Ci vorrà più tempo del solito 'Testo a Immagine'.", + "seed": "Il valore del Seme influenza il rumore iniziale da cui è formata l'immagine. Puoi usare i semi già esistenti dalle immagini precedenti. 'Soglia del rumore' viene utilizzato per mitigare gli artefatti a valori CFG elevati (provare l'intervallo 0-10) e Perlin per aggiungere il rumore Perlin durante la generazione: entrambi servono per aggiungere variazioni ai risultati.", + "variations": "Prova una variazione con un valore compreso tra 0.1 e 1.0 per modificare il risultato per un dato seme. Variazioni interessanti del seme sono comprese tra 0.1 e 0.3.", + "upscale": "Utilizza ESRGAN per ingrandire l'immagine subito dopo la generazione.", + "faceCorrection": "Correzione del volto con GFPGAN o Codeformer: l'algoritmo rileva i volti nell'immagine e corregge eventuali difetti. Un valore alto cambierà maggiormente l'immagine, dando luogo a volti più attraenti. Codeformer con una maggiore fedeltà preserva l'immagine originale a scapito di una correzione facciale più forte.", + "imageToImage": "Da Immagine a Immagine carica qualsiasi immagine come iniziale, che viene quindi utilizzata per generarne una nuova in base al prompt. Più alto è il valore, più cambierà l'immagine risultante. Sono possibili valori da 0.0 a 1.0, l'intervallo consigliato è 0.25-0.75", + "boundingBox": "Il riquadro di selezione è lo stesso delle impostazioni Larghezza e Altezza per da Testo a Immagine o da Immagine a Immagine. Verrà elaborata solo l'area nella casella.", + "seamCorrection": "Controlla la gestione delle giunzioni visibili che si verificano tra le immagini generate sulla tela.", + "infillAndScaling": "Gestisce i metodi di riempimento (utilizzati su aree mascherate o cancellate dell'area di disegno) e il ridimensionamento (utile per i riquadri di selezione di piccole dimensioni)." + } +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/tooltip/ja.json b/invokeai/frontend/dist/locales/tooltip/ja.json new file mode 100644 index 0000000000..d16954e380 --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/ja.json @@ -0,0 +1,16 @@ +{ + "feature": { + "prompt": "これはプロンプトフィールドです。プロンプトには生成オブジェクトや文法用語が含まれます。プロンプトにも重み(Tokenの重要度)を付けることができますが、CLIコマンドやパラメータは機能しません。", + "gallery": "ギャラリーは、出力先フォルダから生成物を表示します。設定はファイル内に保存され、コンテキストメニューからアクセスできます。.", + "other": "These options will enable alternative processing modes for Invoke. 'Seamless tiling' will create repeating patterns in the output. 'High resolution' is generation in two steps with img2img: use this setting when you want a larger and more coherent image without artifacts. It will take longer that usual txt2img.", + "seed": "シード値は、画像が形成される際の初期ノイズに影響します。以前の画像から既に存在するシードを使用することができます。ノイズしきい値は高いCFG値でのアーティファクトを軽減するために使用され、Perlinは生成中にPerlinノイズを追加します(0-10の範囲を試してみてください): どちらも出力にバリエーションを追加するのに役立ちます。", + "variations": "0.1から1.0の間の値で試し、付与されたシードに対する結果を変えてみてください。面白いバリュエーションは0.1〜0.3の間です。", + "upscale": "生成直後の画像をアップスケールするには、ESRGANを使用します。", + "faceCorrection": "GFPGANまたはCodeformerによる顔の修復: 画像内の顔を検出し不具合を修正するアルゴリズムです。高い値を設定すると画像がより変化し、より魅力的な顔になります。Codeformerは顔の修復を犠牲にして、元の画像をできる限り保持します。", + "imageToImage": "Image To Imageは任意の画像を初期値として読み込み、プロンプトとともに新しい画像を生成するために使用されます。値が高いほど結果画像はより変化します。0.0から1.0までの値が可能で、推奨範囲は0.25から0.75です。", + "boundingBox": "バウンディングボックスは、Text To ImageまたはImage To Imageの幅/高さの設定と同じです。ボックス内の領域のみが処理されます。", + "seamCorrection": "キャンバス上の生成された画像間に発生する可視可能な境界の処理を制御します。", + "infillAndScaling": "Manage infill methods (used on masked or erased areas of the canvas) and scaling (useful for small bounding box sizes)." + } + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/tooltip/nl.json b/invokeai/frontend/dist/locales/tooltip/nl.json new file mode 100644 index 0000000000..5b374de07b --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/nl.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "Dit is het invoertekstvak. De invoertekst bevat de te genereren voorwerpen en stylistische termen. Je kunt hiernaast in de invoertekst ook het gewicht (het belang van een trefwoord) toekennen. Opdrachten en parameters voor op de opdrachtregelinterface werken hier niet.", + "gallery": "De galerij toont gegenereerde afbeeldingen uit de uitvoermap nadat ze gegenereerd zijn. Instellingen worden opgeslagen binnen de bestanden zelf en zijn toegankelijk via het contextmenu.", + "other": "Deze opties maken alternative werkingsstanden voor Invoke mogelijk. De optie 'Naadloze tegels' maakt herhalende patronen in de uitvoer. 'Hoge resolutie' genereert in twee stappen via Afbeelding naar afbeelding: gebruik dit als je een grotere en coherentere afbeelding wilt zonder artifacten. Dit zal meer tijd in beslag nemen t.o.v. Tekst naar afbeelding.", + "seed": "Seedwaarden hebben invloed op de initiële ruis op basis waarvan de afbeelding wordt gevormd. Je kunt de al bestaande seeds van eerdere afbeeldingen gebruiken. De waarde 'Drempelwaarde ruis' wordt gebruikt om de hoeveelheid artifacten te verkleinen bij hoge CFG-waarden (beperk je tot 0 - 10). De Perlinruiswaarde wordt gebruikt om Perlinruis toe te voegen bij het genereren: beide dienen als variatie op de uitvoer.", + "variations": "Probeer een variatie met een waarden tussen 0,1 en 1,0 om het resultaat voor een bepaalde seed te beïnvloeden. Interessante seedvariaties ontstaan bij waarden tussen 0,1 en 0,3.", + "upscale": "Gebruik ESRGAN om de afbeelding direct na het genereren te vergroten.", + "faceCorrection": "Gezichtsherstel via GFPGAN of Codeformer: het algoritme herkent gezichten die voorkomen in de afbeelding en herstelt onvolkomenheden. Een hogere waarde heeft meer invloed op de afbeelding, wat leidt tot aantrekkelijkere gezichten. Codeformer met een hogere getrouwheid behoudt de oorspronkelijke afbeelding ten koste van een sterkere gezichtsherstel.", + "imageToImage": "Afbeelding naar afbeelding laadt een afbeelding als initiële afbeelding, welke vervolgens gebruikt wordt om een nieuwe afbeelding mee te maken i.c.m. de invoertekst. Hoe hoger de waarde, des te meer invloed dit heeft op de uiteindelijke afbeelding. Waarden tussen 0,1 en 1,0 zijn mogelijk. Aanbevolen waarden zijn 0,25 - 0,75", + "boundingBox": "Het tekenvak is gelijk aan de instellingen Breedte en Hoogte voor de functies Tekst naar afbeelding en Afbeelding naar afbeelding. Alleen het gebied in het tekenvak wordt verwerkt.", + "seamCorrection": "Heeft invloed op hoe wordt omgegaan met zichtbare naden die voorkomen tussen gegenereerde afbeeldingen op het canvas.", + "infillAndScaling": "Onderhoud van infillmethodes (gebruikt op gemaskeerde of gewiste gebieden op het canvas) en opschaling (nuttig bij kleine tekenvakken)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/pl.json b/invokeai/frontend/dist/locales/tooltip/pl.json new file mode 100644 index 0000000000..be473bfb84 --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/pl.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "To pole musi zawierać cały tekst sugestii, w tym zarówno opis oczekiwanej zawartości, jak i terminy stylistyczne. Chociaż wagi mogą być zawarte w sugestiach, inne parametry znane z linii poleceń nie będą działać.", + "gallery": "W miarę generowania nowych wywołań w tym miejscu będą wyświetlane pliki z katalogu wyjściowego. Obrazy mają dodatkowo opcje konfiguracji nowych wywołań.", + "other": "Opcje umożliwią alternatywne tryby przetwarzania. Płynne scalanie będzie pomocne przy generowaniu powtarzających się wzorów. Optymalizacja wysokiej rozdzielczości wykonuje dwuetapowy cykl generowania i powinna być używana przy wyższych rozdzielczościach, gdy potrzebny jest bardziej spójny obraz/kompozycja.", + "seed": "Inicjator określa początkowy zestaw szumów, który kieruje procesem odszumiania i może być losowy lub pobrany z poprzedniego wywołania. Funkcja \"Poziom szumu\" może być użyta do złagodzenia saturacji przy wyższych wartościach CFG (spróbuj między 0-10), a Perlin może być użyty w celu dodania wariacji do twoich wyników.", + "variations": "Poziom zróżnicowania przyjmuje wartości od 0 do 1 i pozwala zmienić obraz wyjściowy dla ustawionego inicjatora. Interesujące wyniki uzyskuje się zwykle między 0,1 a 0,3.", + "upscale": "Korzystając z ESRGAN, możesz zwiększyć rozdzielczość obrazu wyjściowego bez konieczności zwiększania szerokości/wysokości w ustawieniach początkowych.", + "faceCorrection": "Poprawianie twarzy próbuje identyfikować twarze na obrazie wyjściowym i korygować wszelkie defekty/nieprawidłowości. W GFPGAN im większa siła, tym mocniejszy efekt. W metodzie Codeformer wyższa wartość oznacza bardziej wierne odtworzenie oryginalnej twarzy, nawet kosztem siły korekcji.", + "imageToImage": "Tryb \"Obraz na obraz\" pozwala na załadowanie obrazu wzorca, który obok wprowadzonych sugestii zostanie użyty porzez InvokeAI do wygenerowania nowego obrazu. Niższa wartość tego ustawienia będzie bardziej przypominać oryginalny obraz. Akceptowane są wartości od 0 do 1, a zalecany jest zakres od 0,25 do 0,75.", + "boundingBox": "Zaznaczony obszar odpowiada ustawieniom wysokości i szerokości w trybach Tekst na obraz i Obraz na obraz. Jedynie piksele znajdujące się w obszarze zaznaczenia zostaną uwzględnione podczas wywoływania nowego obrazu.", + "seamCorrection": "Opcje wpływające na poziom widoczności szwów, które mogą wystąpić, gdy wygenerowany obraz jest ponownie wklejany na płótno.", + "infillAndScaling": "Zarządzaj metodami wypełniania (używanymi na zamaskowanych lub wymazanych obszarach płótna) i skalowaniem (przydatne w przypadku zaznaczonego obszaru o b. małych rozmiarach)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/pt_br.json b/invokeai/frontend/dist/locales/tooltip/pt_br.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/pt_br.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/tooltip/ru.json b/invokeai/frontend/dist/locales/tooltip/ru.json new file mode 100644 index 0000000000..ad4793dca8 --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/ru.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "Это поле для текста запроса, включая объекты генерации и стилистические термины. В запрос можно включить и коэффициенты веса (значимости токена), но консольные команды и параметры не будут работать.", + "gallery": "Здесь отображаются генерации из папки outputs по мере их появления.", + "other": "Эти опции включают альтернативные режимы обработки для Invoke. 'Бесшовный узор' создаст повторяющиеся узоры на выходе. 'Высокое разрешение' это генерация в два этапа с помощью img2img: используйте эту настройку, когда хотите получить цельное изображение большего размера без артефактов.", + "seed": "Значение сида влияет на начальный шум, из которого сформируется изображение. Можно использовать уже имеющийся сид из предыдущих изображений. 'Порог шума' используется для смягчения артефактов при высоких значениях CFG (попробуйте в диапазоне 0-10), а Перлин для добавления шума Перлина в процессе генерации: оба параметра служат для большей вариативности результатов.", + "variations": "Попробуйте вариацию со значением от 0.1 до 1.0, чтобы изменить результат для заданного сида. Интересные вариации сида находятся между 0.1 и 0.3.", + "upscale": "Используйте ESRGAN, чтобы увеличить изображение сразу после генерации.", + "faceCorrection": "Коррекция лиц с помощью GFPGAN или Codeformer: алгоритм определяет лица в готовом изображении и исправляет любые дефекты. Высокие значение силы меняет изображение сильнее, в результате лица будут выглядеть привлекательнее. У Codeformer более высокая точность сохранит исходное изображение в ущерб коррекции лица.", + "imageToImage": "'Изображение в изображение' загружает любое изображение, которое затем используется для генерации вместе с запросом. Чем больше значение, тем сильнее изменится изображение в результате. Возможны значения от 0 до 1, рекомендуется диапазон .25-.75", + "boundingBox": "'Ограничительная рамка' аналогична настройкам Ширина и Высота для 'Избражения из текста' или 'Изображения в изображение'. Будет обработана только область в рамке.", + "seamCorrection": "Управление обработкой видимых швов, возникающих между изображениями на холсте.", + "infillAndScaling": "Управление методами заполнения (используется для масок или стертых областей холста) и масштабирования (полезно для малых размеров ограничивающей рамки)." + } +} diff --git a/invokeai/frontend/dist/locales/tooltip/ua.json b/invokeai/frontend/dist/locales/tooltip/ua.json new file mode 100644 index 0000000000..99d6c30557 --- /dev/null +++ b/invokeai/frontend/dist/locales/tooltip/ua.json @@ -0,0 +1,15 @@ +{ + "feature": { + "prompt": "Це поле для тексту запиту, включаючи об'єкти генерації та стилістичні терміни. У запит можна включити і коефіцієнти ваги (значущості токена), але консольні команди та параметри не працюватимуть.", + "gallery": "Тут відображаються генерації з папки outputs у міру їх появи.", + "other": "Ці опції включають альтернативні режими обробки для Invoke. 'Безшовний узор' створить на виході узори, що повторюються. 'Висока роздільна здатність' - це генерація у два етапи за допомогою img2img: використовуйте це налаштування, коли хочете отримати цільне зображення більшого розміру без артефактів.", + "seed": "Значення сіду впливає на початковий шум, з якого сформується зображення. Можна використовувати вже наявний сід із попередніх зображень. 'Поріг шуму' використовується для пом'якшення артефактів при високих значеннях CFG (спробуйте в діапазоні 0-10), а 'Перлін' - для додавання шуму Перліна в процесі генерації: обидва параметри служать для більшої варіативності результатів.", + "variations": "Спробуйте варіацію зі значенням від 0.1 до 1.0, щоб змінити результат для заданого сиду. Цікаві варіації сиду знаходяться між 0.1 і 0.3.", + "upscale": "Використовуйте ESRGAN, щоб збільшити зображення відразу після генерації.", + "faceCorrection": "Корекція облич за допомогою GFPGAN або Codeformer: алгоритм визначає обличчя у готовому зображенні та виправляє будь-які дефекти. Високі значення сили змінюють зображення сильніше, в результаті обличчя будуть виглядати привабливіше. У Codeformer більш висока точність збереже вихідне зображення на шкоду корекції обличчя.", + "imageToImage": "'Зображення до зображення' завантажує будь-яке зображення, яке потім використовується для генерації разом із запитом. Чим більше значення, тим сильніше зміниться зображення в результаті. Можливі значення від 0 до 1, рекомендується діапазон 0.25-0.75", + "boundingBox": "'Обмежуюча рамка' аналогічна налаштуванням 'Ширина' і 'Висота' для 'Зображення з тексту' або 'Зображення до зображення'. Буде оброблена тільки область у рамці.", + "seamCorrection": "Керування обробкою видимих швів, що виникають між зображеннями на полотні.", + "infillAndScaling": "Керування методами заповнення (використовується для масок або стертих частин полотна) та масштабування (корисно для малих розмірів обмежуючої рамки)." + } +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/de.json b/invokeai/frontend/dist/locales/unifiedcanvas/de.json new file mode 100644 index 0000000000..38f5efc56f --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/de.json @@ -0,0 +1,59 @@ +{ + "layer": "Ebene", + "base": "Basis", + "mask": "Maske", + "maskingOptions": "Maskierungsoptionen", + "enableMask": "Maske aktivieren", + "preserveMaskedArea": "Maskierten Bereich bewahren", + "clearMask": "Maske löschen", + "brush": "Pinsel", + "eraser": "Radierer", + "fillBoundingBox": "Begrenzungsrahmen füllen", + "eraseBoundingBox": "Begrenzungsrahmen löschen", + "colorPicker": "Farbpipette", + "brushOptions": "Pinseloptionen", + "brushSize": "Größe", + "move": "Bewegen", + "resetView": "Ansicht zurücksetzen", + "mergeVisible": "Sichtbare Zusammenführen", + "saveToGallery": "In Galerie speichern", + "copyToClipboard": "In Zwischenablage kopieren", + "downloadAsImage": "Als Bild herunterladen", + "undo": "Rückgängig", + "redo": "Wiederherstellen", + "clearCanvas": "Leinwand löschen", + "canvasSettings": "Leinwand-Einstellungen", + "showIntermediates": "Zwischenprodukte anzeigen", + "showGrid": "Gitternetz anzeigen", + "snapToGrid": "Am Gitternetz einrasten", + "darkenOutsideSelection": "Außerhalb der Auswahl verdunkeln", + "autoSaveToGallery": "Automatisch in Galerie speichern", + "saveBoxRegionOnly": "Nur Auswahlbox speichern", + "limitStrokesToBox": "Striche auf Box beschränken", + "showCanvasDebugInfo": "Leinwand-Debug-Infos anzeigen", + "clearCanvasHistory": "Leinwand-Verlauf löschen", + "clearHistory": "Verlauf löschen", + "clearCanvasHistoryMessage": "Wenn Sie den Verlauf der Leinwand löschen, bleibt die aktuelle Leinwand intakt, aber der Verlauf der Rückgängig- und Wiederherstellung wird unwiderruflich gelöscht.", + "clearCanvasHistoryConfirm": "Sind Sie sicher, dass Sie den Verlauf der Leinwand löschen möchten?", + "emptyTempImageFolder": "Temp-Image Ordner leeren", + "emptyFolder": "Leerer Ordner", + "emptyTempImagesFolderMessage": "Wenn Sie den Ordner für temporäre Bilder leeren, wird auch der Unified Canvas vollständig zurückgesetzt. Dies umfasst den gesamten Verlauf der Rückgängig-/Wiederherstellungsvorgänge, die Bilder im Bereitstellungsbereich und die Leinwand-Basisebene.", + "emptyTempImagesFolderConfirm": "Sind Sie sicher, dass Sie den temporären Ordner leeren wollen?", + "activeLayer": "Aktive Ebene", + "canvasScale": "Leinwand Maßstab", + "boundingBox": "Begrenzungsrahmen", + "scaledBoundingBox": "Skalierter Begrenzungsrahmen", + "boundingBoxPosition": "Begrenzungsrahmen Position", + "canvasDimensions": "Maße der Leinwand", + "canvasPosition": "Leinwandposition", + "cursorPosition": "Position des Cursors", + "previous": "Vorherige", + "next": "Nächste", + "accept": "Akzeptieren", + "showHide": "Einblenden/Ausblenden", + "discardAll": "Alles verwerfen", + "betaClear": "Löschen", + "betaDarkenOutside": "Außen abdunkeln", + "betaLimitToBox": "Begrenzung auf das Feld", + "betaPreserveMasked": "Maskiertes bewahren" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/en-US.json b/invokeai/frontend/dist/locales/unifiedcanvas/en-US.json new file mode 100644 index 0000000000..9c55fce311 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/en-US.json @@ -0,0 +1,59 @@ +{ + "layer": "Layer", + "base": "Base", + "mask": "Mask", + "maskingOptions": "Masking Options", + "enableMask": "Enable Mask", + "preserveMaskedArea": "Preserve Masked Area", + "clearMask": "Clear Mask", + "brush": "Brush", + "eraser": "Eraser", + "fillBoundingBox": "Fill Bounding Box", + "eraseBoundingBox": "Erase Bounding Box", + "colorPicker": "Color Picker", + "brushOptions": "Brush Options", + "brushSize": "Size", + "move": "Move", + "resetView": "Reset View", + "mergeVisible": "Merge Visible", + "saveToGallery": "Save To Gallery", + "copyToClipboard": "Copy to Clipboard", + "downloadAsImage": "Download As Image", + "undo": "Undo", + "redo": "Redo", + "clearCanvas": "Clear Canvas", + "canvasSettings": "Canvas Settings", + "showIntermediates": "Show Intermediates", + "showGrid": "Show Grid", + "snapToGrid": "Snap to Grid", + "darkenOutsideSelection": "Darken Outside Selection", + "autoSaveToGallery": "Auto Save to Gallery", + "saveBoxRegionOnly": "Save Box Region Only", + "limitStrokesToBox": "Limit Strokes to Box", + "showCanvasDebugInfo": "Show Canvas Debug Info", + "clearCanvasHistory": "Clear Canvas History", + "clearHistory": "Clear History", + "clearCanvasHistoryMessage": "Clearing the canvas history leaves your current canvas intact, but irreversibly clears the undo and redo history.", + "clearCanvasHistoryConfirm": "Are you sure you want to clear the canvas history?", + "emptyTempImageFolder": "Empty Temp Image Folder", + "emptyFolder": "Empty Folder", + "emptyTempImagesFolderMessage": "Emptying the temp image folder also fully resets the Unified Canvas. This includes all undo/redo history, images in the staging area, and the canvas base layer.", + "emptyTempImagesFolderConfirm": "Are you sure you want to empty the temp folder?", + "activeLayer": "Active Layer", + "canvasScale": "Canvas Scale", + "boundingBox": "Bounding Box", + "scaledBoundingBox": "Scaled Bounding Box", + "boundingBoxPosition": "Bounding Box Position", + "canvasDimensions": "Canvas Dimensions", + "canvasPosition": "Canvas Position", + "cursorPosition": "Cursor Position", + "previous": "Previous", + "next": "Next", + "accept": "Accept", + "showHide": "Show/Hide", + "discardAll": "Discard All", + "betaClear": "Clear", + "betaDarkenOutside": "Darken Outside", + "betaLimitToBox": "Limit To Box", + "betaPreserveMasked": "Preserve Masked" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/en.json b/invokeai/frontend/dist/locales/unifiedcanvas/en.json new file mode 100644 index 0000000000..9c55fce311 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/en.json @@ -0,0 +1,59 @@ +{ + "layer": "Layer", + "base": "Base", + "mask": "Mask", + "maskingOptions": "Masking Options", + "enableMask": "Enable Mask", + "preserveMaskedArea": "Preserve Masked Area", + "clearMask": "Clear Mask", + "brush": "Brush", + "eraser": "Eraser", + "fillBoundingBox": "Fill Bounding Box", + "eraseBoundingBox": "Erase Bounding Box", + "colorPicker": "Color Picker", + "brushOptions": "Brush Options", + "brushSize": "Size", + "move": "Move", + "resetView": "Reset View", + "mergeVisible": "Merge Visible", + "saveToGallery": "Save To Gallery", + "copyToClipboard": "Copy to Clipboard", + "downloadAsImage": "Download As Image", + "undo": "Undo", + "redo": "Redo", + "clearCanvas": "Clear Canvas", + "canvasSettings": "Canvas Settings", + "showIntermediates": "Show Intermediates", + "showGrid": "Show Grid", + "snapToGrid": "Snap to Grid", + "darkenOutsideSelection": "Darken Outside Selection", + "autoSaveToGallery": "Auto Save to Gallery", + "saveBoxRegionOnly": "Save Box Region Only", + "limitStrokesToBox": "Limit Strokes to Box", + "showCanvasDebugInfo": "Show Canvas Debug Info", + "clearCanvasHistory": "Clear Canvas History", + "clearHistory": "Clear History", + "clearCanvasHistoryMessage": "Clearing the canvas history leaves your current canvas intact, but irreversibly clears the undo and redo history.", + "clearCanvasHistoryConfirm": "Are you sure you want to clear the canvas history?", + "emptyTempImageFolder": "Empty Temp Image Folder", + "emptyFolder": "Empty Folder", + "emptyTempImagesFolderMessage": "Emptying the temp image folder also fully resets the Unified Canvas. This includes all undo/redo history, images in the staging area, and the canvas base layer.", + "emptyTempImagesFolderConfirm": "Are you sure you want to empty the temp folder?", + "activeLayer": "Active Layer", + "canvasScale": "Canvas Scale", + "boundingBox": "Bounding Box", + "scaledBoundingBox": "Scaled Bounding Box", + "boundingBoxPosition": "Bounding Box Position", + "canvasDimensions": "Canvas Dimensions", + "canvasPosition": "Canvas Position", + "cursorPosition": "Cursor Position", + "previous": "Previous", + "next": "Next", + "accept": "Accept", + "showHide": "Show/Hide", + "discardAll": "Discard All", + "betaClear": "Clear", + "betaDarkenOutside": "Darken Outside", + "betaLimitToBox": "Limit To Box", + "betaPreserveMasked": "Preserve Masked" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/es.json b/invokeai/frontend/dist/locales/unifiedcanvas/es.json new file mode 100644 index 0000000000..0cef74984e --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/es.json @@ -0,0 +1,59 @@ +{ + "layer": "Capa", + "base": "Base", + "mask": "Máscara", + "maskingOptions": "Opciones de máscara", + "enableMask": "Habilitar Máscara", + "preserveMaskedArea": "Preservar área enmascarada", + "clearMask": "Limpiar máscara", + "brush": "Pincel", + "eraser": "Borrador", + "fillBoundingBox": "Rellenar Caja Contenedora", + "eraseBoundingBox": "Eliminar Caja Contenedora", + "colorPicker": "Selector de color", + "brushOptions": "Opciones de pincel", + "brushSize": "Tamaño", + "move": "Mover", + "resetView": "Restablecer vista", + "mergeVisible": "Consolidar vista", + "saveToGallery": "Guardar en galería", + "copyToClipboard": "Copiar al portapapeles", + "downloadAsImage": "Descargar como imagen", + "undo": "Deshacer", + "redo": "Rehacer", + "clearCanvas": "Limpiar lienzo", + "canvasSettings": "Ajustes de lienzo", + "showIntermediates": "Mostrar intermedios", + "showGrid": "Mostrar cuadrícula", + "snapToGrid": "Ajustar a cuadrícula", + "darkenOutsideSelection": "Oscurecer fuera de la selección", + "autoSaveToGallery": "Guardar automáticamente en galería", + "saveBoxRegionOnly": "Guardar solo región dentro de la caja", + "limitStrokesToBox": "Limitar trazos a la caja", + "showCanvasDebugInfo": "Mostrar información de depuración de lienzo", + "clearCanvasHistory": "Limpiar historial de lienzo", + "clearHistory": "Limpiar historial", + "clearCanvasHistoryMessage": "Limpiar el historial de lienzo también restablece completamente el lienzo unificado. Esto incluye todo el historial de deshacer/rehacer, las imágenes en el área de preparación y la capa base del lienzo.", + "clearCanvasHistoryConfirm": "¿Está seguro de que desea limpiar el historial del lienzo?", + "emptyTempImageFolder": "Vaciar directorio de imágenes temporales", + "emptyFolder": "Vaciar directorio", + "emptyTempImagesFolderMessage": "Vaciar el directorio de imágenes temporales también restablece completamente el lienzo unificado. Esto incluye todo el historial de deshacer/rehacer, las imágenes en el área de preparación y la capa base del lienzo.", + "emptyTempImagesFolderConfirm": "¿Está seguro de que desea vaciar el directorio temporal?", + "activeLayer": "Capa activa", + "canvasScale": "Escala de lienzo", + "boundingBox": "Caja contenedora", + "scaledBoundingBox": "Caja contenedora escalada", + "boundingBoxPosition": "Posición de caja contenedora", + "canvasDimensions": "Dimensiones de lienzo", + "canvasPosition": "Posición de lienzo", + "cursorPosition": "Posición del cursor", + "previous": "Anterior", + "next": "Siguiente", + "accept": "Aceptar", + "showHide": "Mostrar/Ocultar", + "discardAll": "Descartar todo", + "betaClear": "Limpiar", + "betaDarkenOutside": "Oscurecer fuera", + "betaLimitToBox": "Limitar a caja", + "betaPreserveMasked": "Preservar área enmascarada" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/fr.json b/invokeai/frontend/dist/locales/unifiedcanvas/fr.json new file mode 100644 index 0000000000..b0ee7acfc2 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/fr.json @@ -0,0 +1,59 @@ +{ + "layer": "Couche", + "base": "Base", + "mask": "Masque", + "maskingOptions": "Options de masquage", + "enableMask": "Activer le masque", + "preserveMaskedArea": "Préserver la zone masquée", + "clearMask": "Effacer le masque", + "brush": "Pinceau", + "eraser": "Gomme", + "fillBoundingBox": "Remplir la boîte englobante", + "eraseBoundingBox": "Effacer la boîte englobante", + "colorPicker": "Sélecteur de couleur", + "brushOptions": "Options de pinceau", + "brushSize": "Taille", + "move": "Déplacer", + "resetView": "Réinitialiser la vue", + "mergeVisible": "Fusionner les visibles", + "saveToGallery": "Enregistrer dans la galerie", + "copyToClipboard": "Copier dans le presse-papiers", + "downloadAsImage": "Télécharger en tant qu'image", + "undo": "Annuler", + "redo": "Refaire", + "clearCanvas": "Effacer le canvas", + "canvasSettings": "Paramètres du canvas", + "showIntermediates": "Afficher les intermédiaires", + "showGrid": "Afficher la grille", + "snapToGrid": "Aligner sur la grille", + "darkenOutsideSelection": "Assombrir à l'extérieur de la sélection", + "autoSaveToGallery": "Enregistrement automatique dans la galerie", + "saveBoxRegionOnly": "Enregistrer uniquement la région de la boîte", + "limitStrokesToBox": "Limiter les traits à la boîte", + "showCanvasDebugInfo": "Afficher les informations de débogage du canvas", + "clearCanvasHistory": "Effacer l'historique du canvas", + "clearHistory": "Effacer l'historique", + "clearCanvasHistoryMessage": "Effacer l'historique du canvas laisse votre canvas actuel intact, mais efface de manière irréversible l'historique annuler et refaire.", + "clearCanvasHistoryConfirm": "Êtes-vous sûr de vouloir effacer l'historique du canvas?", + "emptyTempImageFolder": "Vider le dossier d'images temporaires", + "emptyFolder": "Vider le dossier", + "emptyTempImagesFolderMessage": "Vider le dossier d'images temporaires réinitialise également complètement le canvas unifié. Cela inclut tout l'historique annuler/refaire, les images dans la zone de mise en attente et la couche de base du canvas.", + "emptyTempImagesFolderConfirm": "Êtes-vous sûr de vouloir vider le dossier temporaire?", + "activeLayer": "Calque actif", + "canvasScale": "Échelle du canevas", + "boundingBox": "Boîte englobante", + "scaledBoundingBox": "Boîte englobante mise à l'échelle", + "boundingBoxPosition": "Position de la boîte englobante", + "canvasDimensions": "Dimensions du canevas", + "canvasPosition": "Position du canevas", + "cursorPosition": "Position du curseur", + "previous": "Précédent", + "next": "Suivant", + "accept": "Accepter", + "showHide": "Afficher/Masquer", + "discardAll": "Tout abandonner", + "betaClear": "Effacer", + "betaDarkenOutside": "Assombrir à l'extérieur", + "betaLimitToBox": "Limiter à la boîte", + "betaPreserveMasked": "Conserver masqué" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/it.json b/invokeai/frontend/dist/locales/unifiedcanvas/it.json new file mode 100644 index 0000000000..2f6d53febc --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/it.json @@ -0,0 +1,59 @@ +{ + "layer": "Livello", + "base": "Base", + "mask": "Maschera", + "maskingOptions": "Opzioni di mascheramento", + "enableMask": "Abilita maschera", + "preserveMaskedArea": "Mantieni area mascherata", + "clearMask": "Elimina la maschera", + "brush": "Pennello", + "eraser": "Cancellino", + "fillBoundingBox": "Riempi rettangolo di selezione", + "eraseBoundingBox": "Cancella rettangolo di selezione", + "colorPicker": "Selettore Colore", + "brushOptions": "Opzioni pennello", + "brushSize": "Dimensioni", + "move": "Sposta", + "resetView": "Reimposta vista", + "mergeVisible": "Fondi il visibile", + "saveToGallery": "Salva nella galleria", + "copyToClipboard": "Copia negli appunti", + "downloadAsImage": "Scarica come immagine", + "undo": "Annulla", + "redo": "Ripeti", + "clearCanvas": "Cancella la Tela", + "canvasSettings": "Impostazioni Tela", + "showIntermediates": "Mostra intermedi", + "showGrid": "Mostra griglia", + "snapToGrid": "Aggancia alla griglia", + "darkenOutsideSelection": "Scurisci l'esterno della selezione", + "autoSaveToGallery": "Salvataggio automatico nella Galleria", + "saveBoxRegionOnly": "Salva solo l'area di selezione", + "limitStrokesToBox": "Limita i tratti all'area di selezione", + "showCanvasDebugInfo": "Mostra informazioni di debug della Tela", + "clearCanvasHistory": "Cancella cronologia Tela", + "clearHistory": "Cancella la cronologia", + "clearCanvasHistoryMessage": "La cancellazione della cronologia della tela lascia intatta la tela corrente, ma cancella in modo irreversibile la cronologia degli annullamenti e dei ripristini.", + "clearCanvasHistoryConfirm": "Sei sicuro di voler cancellare la cronologia della Tela?", + "emptyTempImageFolder": "Svuota la cartella delle immagini temporanee", + "emptyFolder": "Svuota la cartella", + "emptyTempImagesFolderMessage": "Lo svuotamento della cartella delle immagini temporanee ripristina completamente anche la Tela Unificata. Ciò include tutta la cronologia di annullamento/ripristino, le immagini nell'area di staging e il livello di base della tela.", + "emptyTempImagesFolderConfirm": "Sei sicuro di voler svuotare la cartella temporanea?", + "activeLayer": "Livello attivo", + "canvasScale": "Scala della Tela", + "boundingBox": "Rettangolo di selezione", + "scaledBoundingBox": "Rettangolo di selezione scalato", + "boundingBoxPosition": "Posizione del Rettangolo di selezione", + "canvasDimensions": "Dimensioni della Tela", + "canvasPosition": "Posizione Tela", + "cursorPosition": "Posizione del cursore", + "previous": "Precedente", + "next": "Successivo", + "accept": "Accetta", + "showHide": "Mostra/nascondi", + "discardAll": "Scarta tutto", + "betaClear": "Svuota", + "betaDarkenOutside": "Oscura all'esterno", + "betaLimitToBox": "Limita al rettangolo", + "betaPreserveMasked": "Conserva quanto mascheato" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/ja.json b/invokeai/frontend/dist/locales/unifiedcanvas/ja.json new file mode 100644 index 0000000000..2a221519ff --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/ja.json @@ -0,0 +1,60 @@ +{ + "layer": "Layer", + "base": "Base", + "mask": "マスク", + "maskingOptions": "マスクのオプション", + "enableMask": "マスクを有効化", + "preserveMaskedArea": "マスク領域の保存", + "clearMask": "マスクを解除", + "brush": "ブラシ", + "eraser": "消しゴム", + "fillBoundingBox": "バウンディングボックスの塗りつぶし", + "eraseBoundingBox": "バウンディングボックスの消去", + "colorPicker": "カラーピッカー", + "brushOptions": "ブラシオプション", + "brushSize": "サイズ", + "move": "Move", + "resetView": "Reset View", + "mergeVisible": "Merge Visible", + "saveToGallery": "ギャラリーに保存", + "copyToClipboard": "クリップボードにコピー", + "downloadAsImage": "画像としてダウンロード", + "undo": "取り消し", + "redo": "やり直し", + "clearCanvas": "キャンバスを片付ける", + "canvasSettings": "キャンバスの設定", + "showIntermediates": "Show Intermediates", + "showGrid": "グリッドを表示", + "snapToGrid": "Snap to Grid", + "darkenOutsideSelection": "外周を暗くする", + "autoSaveToGallery": "ギャラリーに自動保存", + "saveBoxRegionOnly": "ボックス領域のみ保存", + "limitStrokesToBox": "Limit Strokes to Box", + "showCanvasDebugInfo": "キャンバスのデバッグ情報を表示", + "clearCanvasHistory": "キャンバスの履歴を削除", + "clearHistory": "履歴を削除", + "clearCanvasHistoryMessage": "履歴を消去すると現在のキャンバスは残りますが、取り消しややり直しの履歴は不可逆的に消去されます。", + "clearCanvasHistoryConfirm": "履歴を削除しますか?", + "emptyTempImageFolder": "Empty Temp Image Folde", + "emptyFolder": "空のフォルダ", + "emptyTempImagesFolderMessage": "一時フォルダを空にすると、Unified Canvasも完全にリセットされます。これには、すべての取り消し/やり直しの履歴、ステージング領域の画像、およびキャンバスのベースレイヤーが含まれます。", + "emptyTempImagesFolderConfirm": "一時フォルダを削除しますか?", + "activeLayer": "Active Layer", + "canvasScale": "Canvas Scale", + "boundingBox": "バウンディングボックス", + "scaledBoundingBox": "Scaled Bounding Box", + "boundingBoxPosition": "バウンディングボックスの位置", + "canvasDimensions": "キャンバスの大きさ", + "canvasPosition": "キャンバスの位置", + "cursorPosition": "カーソルの位置", + "previous": "前", + "next": "次", + "accept": "同意", + "showHide": "表示/非表示", + "discardAll": "すべて破棄", + "betaClear": "Clear", + "betaDarkenOutside": "Darken Outside", + "betaLimitToBox": "Limit To Box", + "betaPreserveMasked": "Preserve Masked" + } + \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/nl.json b/invokeai/frontend/dist/locales/unifiedcanvas/nl.json new file mode 100644 index 0000000000..14f7028634 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/nl.json @@ -0,0 +1,59 @@ +{ + "layer": "Laag", + "base": "Basis", + "mask": "Masker", + "maskingOptions": "Maskeropties", + "enableMask": "Schakel masker in", + "preserveMaskedArea": "Behoud gemaskeerd gebied", + "clearMask": "Wis masker", + "brush": "Penseel", + "eraser": "Gum", + "fillBoundingBox": "Vul tekenvak", + "eraseBoundingBox": "Wis tekenvak", + "colorPicker": "Kleurenkiezer", + "brushOptions": "Penseelopties", + "brushSize": "Grootte", + "move": "Verplaats", + "resetView": "Herstel weergave", + "mergeVisible": "Voeg lagen samen", + "saveToGallery": "Bewaar in galerij", + "copyToClipboard": "Kopieer naar klembord", + "downloadAsImage": "Download als afbeelding", + "undo": "Maak ongedaan", + "redo": "Herhaal", + "clearCanvas": "Wis canvas", + "canvasSettings": "Canvasinstellingen", + "showIntermediates": "Toon tussenafbeeldingen", + "showGrid": "Toon raster", + "snapToGrid": "Lijn uit op raster", + "darkenOutsideSelection": "Verduister buiten selectie", + "autoSaveToGallery": "Bewaar automatisch naar galerij", + "saveBoxRegionOnly": "Bewaar alleen tekengebied", + "limitStrokesToBox": "Beperk streken tot tekenvak", + "showCanvasDebugInfo": "Toon foutopsporingsgegevens canvas", + "clearCanvasHistory": "Wis canvasgeschiedenis", + "clearHistory": "Wis geschiedenis", + "clearCanvasHistoryMessage": "Het wissen van de canvasgeschiedenis laat het huidige canvas ongemoeid, maar wist onherstelbaar de geschiedenis voor het ongedaan maken en herhalen.", + "clearCanvasHistoryConfirm": "Weet je zeker dat je de canvasgeschiedenis wilt wissen?", + "emptyTempImageFolder": "Leeg tijdelijke afbeeldingenmap", + "emptyFolder": "Leeg map", + "emptyTempImagesFolderMessage": "Het legen van de tijdelijke afbeeldingenmap herstelt ook volledig het Centraal canvas. Hieronder valt de geschiedenis voor het ongedaan maken en herhalen, de afbeeldingen in het sessiegebied en de basislaag van het canvas.", + "emptyTempImagesFolderConfirm": "Weet je zeker dat je de tijdelijke afbeeldingenmap wilt legen?", + "activeLayer": "Actieve laag", + "canvasScale": "Schaal canvas", + "boundingBox": "Tekenvak", + "scaledBoundingBox": "Geschaalde tekenvak", + "boundingBoxPosition": "Positie tekenvak", + "canvasDimensions": "Afmetingen canvas", + "canvasPosition": "Positie canvas", + "cursorPosition": "Positie cursor", + "previous": "Vorige", + "next": "Volgende", + "accept": "Accepteer", + "showHide": "Toon/verberg", + "discardAll": "Gooi alles weg", + "betaClear": "Wis", + "betaDarkenOutside": "Verduister buiten tekenvak", + "betaLimitToBox": "Beperk tot tekenvak", + "betaPreserveMasked": "Behoud masker" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/pl.json b/invokeai/frontend/dist/locales/unifiedcanvas/pl.json new file mode 100644 index 0000000000..7ee8b12bf6 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/pl.json @@ -0,0 +1,59 @@ +{ + "layer": "Warstwa", + "base": "Główna", + "mask": "Maska", + "maskingOptions": "Opcje maski", + "enableMask": "Włącz maskę", + "preserveMaskedArea": "Zachowaj obszar", + "clearMask": "Wyczyść maskę", + "brush": "Pędzel", + "eraser": "Gumka", + "fillBoundingBox": "Wypełnij zaznaczenie", + "eraseBoundingBox": "Wyczyść zaznaczenie", + "colorPicker": "Pipeta", + "brushOptions": "Ustawienia pędzla", + "brushSize": "Rozmiar", + "move": "Przesunięcie", + "resetView": "Resetuj widok", + "mergeVisible": "Scal warstwy", + "saveToGallery": "Zapisz w galerii", + "copyToClipboard": "Skopiuj do schowka", + "downloadAsImage": "Zapisz do pliku", + "undo": "Cofnij", + "redo": "Ponów", + "clearCanvas": "Wyczyść obraz", + "canvasSettings": "Ustawienia obrazu", + "showIntermediates": "Pokazuj stany pośrednie", + "showGrid": "Pokazuj siatkę", + "snapToGrid": "Przyciągaj do siatki", + "darkenOutsideSelection": "Przyciemnij poza zaznaczeniem", + "autoSaveToGallery": "Zapisuj automatycznie do galerii", + "saveBoxRegionOnly": "Zapisuj tylko zaznaczony obszar", + "limitStrokesToBox": "Rysuj tylko wewnątrz zaznaczenia", + "showCanvasDebugInfo": "Informacje dla developera", + "clearCanvasHistory": "Wyczyść historię operacji", + "clearHistory": "Wyczyść historię", + "clearCanvasHistoryMessage": "Wyczyszczenie historii nie będzie miało wpływu na sam obraz, ale niemożliwe będzie cofnięcie i otworzenie wszystkich wykonanych do tej pory operacji.", + "clearCanvasHistoryConfirm": "Czy na pewno chcesz wyczyścić historię operacji?", + "emptyTempImageFolder": "Wyczyść folder tymczasowy", + "emptyFolder": "Wyczyść", + "emptyTempImagesFolderMessage": "Wyczyszczenie folderu tymczasowego spowoduje usunięcie obrazu i maski w trybie uniwersalnym, historii operacji, oraz wszystkich wygenerowanych ale niezapisanych obrazów.", + "emptyTempImagesFolderConfirm": "Czy na pewno chcesz wyczyścić folder tymczasowy?", + "activeLayer": "Warstwa aktywna", + "canvasScale": "Poziom powiększenia", + "boundingBox": "Rozmiar zaznaczenia", + "scaledBoundingBox": "Rozmiar po skalowaniu", + "boundingBoxPosition": "Pozycja zaznaczenia", + "canvasDimensions": "Rozmiar płótna", + "canvasPosition": "Pozycja płótna", + "cursorPosition": "Pozycja kursora", + "previous": "Poprzedni", + "next": "Następny", + "accept": "Zaakceptuj", + "showHide": "Pokaż/Ukryj", + "discardAll": "Odrzuć wszystkie", + "betaClear": "Wyczyść", + "betaDarkenOutside": "Przyciemnienie", + "betaLimitToBox": "Ogranicz do zaznaczenia", + "betaPreserveMasked": "Zachowaj obszar" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/pt.json b/invokeai/frontend/dist/locales/unifiedcanvas/pt.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/pt.json @@ -0,0 +1 @@ +{} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json b/invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json new file mode 100644 index 0000000000..0144caadb2 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/pt_br.json @@ -0,0 +1,59 @@ +{ + "layer": "Camada", + "base": "Base", + "mask": "Máscara", + "maskingOptions": "Opções de Mascaramento", + "enableMask": "Ativar Máscara", + "preserveMaskedArea": "Preservar Área da Máscara", + "clearMask": "Limpar Máscara", + "brush": "Pincel", + "eraser": "Apagador", + "fillBoundingBox": "Preencher Caixa Delimitadora", + "eraseBoundingBox": "Apagar Caixa Delimitadora", + "colorPicker": "Seletor de Cor", + "brushOptions": "Opções de Pincel", + "brushSize": "Tamanho", + "move": "Mover", + "resetView": "Resetar Visualização", + "mergeVisible": "Fundir Visível", + "saveToGallery": "Save To Gallery", + "copyToClipboard": "Copiar para a Área de Transferência", + "downloadAsImage": "Baixar Como Imagem", + "undo": "Desfazer", + "redo": "Refazer", + "clearCanvas": "Limpar Tela", + "canvasSettings": "Configurações de Tela", + "showIntermediates": "Show Intermediates", + "showGrid": "Mostrar Grade", + "snapToGrid": "Encaixar na Grade", + "darkenOutsideSelection": "Escurecer Seleção Externa", + "autoSaveToGallery": "Salvar Automaticamente na Galeria", + "saveBoxRegionOnly": "Salvar Apenas a Região da Caixa", + "limitStrokesToBox": "Limitar Traços para a Caixa", + "showCanvasDebugInfo": "Mostrar Informações de Depuração daTela", + "clearCanvasHistory": "Limpar o Histórico da Tela", + "clearHistory": "Limpar Históprico", + "clearCanvasHistoryMessage": "Limpar o histórico de tela deixa sua tela atual intacta, mas limpa de forma irreversível o histórico de desfazer e refazer.", + "clearCanvasHistoryConfirm": "Tem certeza que quer limpar o histórico de tela?", + "emptyTempImageFolder": "Esvaziar a Pasta de Arquivos de Imagem Temporários", + "emptyFolder": "Esvaziar Pasta", + "emptyTempImagesFolderMessage": "Esvaziar a pasta de arquivos de imagem temporários também reseta completamente a Tela Unificada. Isso inclui todo o histórico de desfazer/refazer, imagens na área de preparação e a camada base da tela.", + "emptyTempImagesFolderConfirm": "Tem certeza que quer esvaziar a pasta de arquivos de imagem temporários?", + "activeLayer": "Camada Ativa", + "canvasScale": "Escala da Tela", + "boundingBox": "Caixa Delimitadora", + "scaledBoundingBox": "Caixa Delimitadora Escalada", + "boundingBoxPosition": "Posição da Caixa Delimitadora", + "canvasDimensions": "Dimensões da Tela", + "canvasPosition": "Posição da Tela", + "cursorPosition": "Posição do cursor", + "previous": "Anterior", + "next": "Próximo", + "accept": "Aceitar", + "showHide": "Mostrar/Esconder", + "discardAll": "Descartar Todos", + "betaClear": "Limpar", + "betaDarkenOutside": "Escurecer Externamente", + "betaLimitToBox": "Limitar Para a Caixa", + "betaPreserveMasked": "Preservar Máscarado" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/ru.json b/invokeai/frontend/dist/locales/unifiedcanvas/ru.json new file mode 100644 index 0000000000..3e3090be80 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/ru.json @@ -0,0 +1,59 @@ +{ + "layer": "Слой", + "base": "Базовый", + "mask": "Маска", + "maskingOptions": "Параметры маски", + "enableMask": "Включить маску", + "preserveMaskedArea": "Сохранять маскируемую область", + "clearMask": "Очистить маску", + "brush": "Кисть", + "eraser": "Ластик", + "fillBoundingBox": "Заполнить ограничивающую рамку", + "eraseBoundingBox": "Стереть ограничивающую рамку", + "colorPicker": "Пипетка", + "brushOptions": "Параметры кисти", + "brushSize": "Размер", + "move": "Переместить", + "resetView": "Сбросить вид", + "mergeVisible": "Объединить видимые", + "saveToGallery": "Сохранить в галерею", + "copyToClipboard": "Копировать в буфер обмена", + "downloadAsImage": "Скачать как изображение", + "undo": "Отменить", + "redo": "Повторить", + "clearCanvas": "Очистить холст", + "canvasSettings": "Настройки холста", + "showIntermediates": "Показывать процесс", + "showGrid": "Показать сетку", + "snapToGrid": "Привязать к сетке", + "darkenOutsideSelection": "Затемнить холст снаружи", + "autoSaveToGallery": "Автосохранение в галерее", + "saveBoxRegionOnly": "Сохранять только выделение", + "limitStrokesToBox": "Ограничить штрихи выделением", + "showCanvasDebugInfo": "Показать отладку холста", + "clearCanvasHistory": "Очистить историю холста", + "clearHistory": "Очистить историю", + "clearCanvasHistoryMessage": "Очистка истории холста оставляет текущий холст нетронутым, но удаляет историю отмены и повтора", + "clearCanvasHistoryConfirm": "Вы уверены, что хотите очистить историю холста?", + "emptyTempImageFolder": "Очистить временную папку", + "emptyFolder": "Очистить папку", + "emptyTempImagesFolderMessage": "Очищение папки временных изображений также полностью сбрасывает холст, включая всю историю отмены/повтора, размещаемые изображения и базовый слой холста.", + "emptyTempImagesFolderConfirm": "Вы уверены, что хотите очистить временную папку?", + "activeLayer": "Активный слой", + "canvasScale": "Масштаб холста", + "boundingBox": "Ограничивающая рамка", + "scaledBoundingBox": "Масштабирование рамки", + "boundingBoxPosition": "Позиция ограничивающей рамки", + "canvasDimensions": "Размеры холста", + "canvasPosition": "Положение холста", + "cursorPosition": "Положение курсора", + "previous": "Предыдущее", + "next": "Следующее", + "принять": "Принять", + "showHide": "Показать/Скрыть", + "discardAll": "Отменить все", + "betaClear": "Очистить", + "betaDarkenOutside": "Затемнить снаружи", + "betaLimitToBox": "Ограничить выделением", + "betaPreserveMasked": "Сохранять маскируемую область" +} diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/ua.json b/invokeai/frontend/dist/locales/unifiedcanvas/ua.json new file mode 100644 index 0000000000..612a6b1ed2 --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/ua.json @@ -0,0 +1,59 @@ +{ + "layer": "Шар", + "base": "Базовий", + "mask": "Маска", + "maskingOptions": "Параметри маски", + "enableMask": "Увiмкнути маску", + "preserveMaskedArea": "Зберiгати замасковану область", + "clearMask": "Очистити маску", + "brush": "Пензель", + "eraser": "Гумка", + "fillBoundingBox": "Заповнити обмежуючу рамку", + "eraseBoundingBox": "Стерти обмежуючу рамку", + "colorPicker": "Пiпетка", + "brushOptions": "Параметри пензля", + "brushSize": "Розмiр", + "move": "Перемiстити", + "resetView": "Скинути вигляд", + "mergeVisible": "Об'єднати видимi", + "saveToGallery": "Зберегти до галереї", + "copyToClipboard": "Копiювати до буферу обмiну", + "downloadAsImage": "Завантажити як зображення", + "undo": "Вiдмiнити", + "redo": "Повторити", + "clearCanvas": "Очистити полотно", + "canvasSettings": "Налаштування полотна", + "showIntermediates": "Показувати процес", + "showGrid": "Показувати сiтку", + "snapToGrid": "Прив'язати до сітки", + "darkenOutsideSelection": "Затемнити полотно зовні", + "autoSaveToGallery": "Автозбереження до галереї", + "saveBoxRegionOnly": "Зберiгати тiльки видiлення", + "limitStrokesToBox": "Обмежити штрихи виділенням", + "showCanvasDebugInfo": "Показати налаштування полотна", + "clearCanvasHistory": "Очистити iсторiю полотна", + "clearHistory": "Очистити iсторiю", + "clearCanvasHistoryMessage": "Очищення історії полотна залишає поточне полотно незайманим, але видаляє історію скасування та повтору", + "clearCanvasHistoryConfirm": "Ви впевнені, що хочете очистити історію полотна?", + "emptyTempImageFolder": "Очистити тимчасову папку", + "emptyFolder": "Очистити папку", + "emptyTempImagesFolderMessage": "Очищення папки тимчасових зображень також повністю скидає полотно, включаючи всю історію скасування/повтору, зображення та базовий шар полотна, що розміщуються.", + "emptyTempImagesFolderConfirm": "Ви впевнені, що хочете очистити тимчасову папку?", + "activeLayer": "Активний шар", + "canvasScale": "Масштаб полотна", + "boundingBox": "Обмежуюча рамка", + "scaledBoundingBox": "Масштабування рамки", + "boundingBoxPosition": "Позиція обмежуючої рамки", + "canvasDimensions": "Разміри полотна", + "canvasPosition": "Розташування полотна", + "cursorPosition": "Розташування курсора", + "previous": "Попереднє", + "next": "Наступне", + "принять": "Приняти", + "showHide": "Показати/Сховати", + "discardAll": "Відмінити все", + "betaClear": "Очистити", + "betaDarkenOutside": "Затемнити зовні", + "betaLimitToBox": "Обмежити виділенням", + "betaPreserveMasked": "Зберiгати замасковану область" +} \ No newline at end of file diff --git a/invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json b/invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json new file mode 100644 index 0000000000..544077627f --- /dev/null +++ b/invokeai/frontend/dist/locales/unifiedcanvas/zh_cn.json @@ -0,0 +1,59 @@ +{ + "layer": "图层", + "base": "基础层", + "mask": "遮罩层层", + "maskingOptions": "遮罩层选项", + "enableMask": "启用遮罩层", + "preserveMaskedArea": "保留遮罩层区域", + "clearMask": "清除遮罩层", + "brush": "刷子", + "eraser": "橡皮擦", + "fillBoundingBox": "填充选择区域", + "eraseBoundingBox": "取消选择区域", + "colorPicker": "颜色提取", + "brushOptions": "刷子选项", + "brushSize": "大小", + "move": "移动", + "resetView": "重置视图", + "mergeVisible": "合并可见层", + "saveToGallery": "保存至图库", + "copyToClipboard": "复制到剪贴板", + "downloadAsImage": "下载图像", + "undo": "撤销", + "redo": "重做", + "clearCanvas": "清除画布", + "canvasSettings": "画布设置", + "showIntermediates": "显示中间产物", + "showGrid": "显示网格", + "snapToGrid": "切换网格对齐", + "darkenOutsideSelection": "暗化外部区域", + "autoSaveToGallery": "自动保存至图库", + "saveBoxRegionOnly": "只保存框内区域", + "limitStrokesToBox": "限制画笔在框内", + "showCanvasDebugInfo": "显示画布调试信息", + "clearCanvasHistory": "清除画布历史", + "clearHistory": "清除历史", + "clearCanvasHistoryMessage": "清除画布历史不会影响当前画布,但会不可撤销地清除所有撤销/重做历史!", + "clearCanvasHistoryConfirm": "确认清除所有画布历史?", + "emptyTempImageFolder": "清除临时文件夹", + "emptyFolder": "清除文件夹", + "emptyTempImagesFolderMessage": "清空临时图像文件夹会完全重置统一画布。这包括所有的撤销/重做历史、暂存区的图像和画布基础层。", + "emptyTempImagesFolderConfirm": "确认清除临时文件夹?", + "activeLayer": "活跃图层", + "canvasScale": "画布缩放", + "boundingBox": "选择区域", + "scaledBoundingBox": "缩放选择区域", + "boundingBoxPosition": "选择区域位置", + "canvasDimensions": "画布长宽", + "canvasPosition": "画布位置", + "cursorPosition": "光标位置", + "previous": "上一张", + "next": "下一张", + "accept": "接受", + "showHide": "显示 / 隐藏", + "discardAll": "放弃所有", + "betaClear": "清除", + "betaDarkenOutside": "暗化外部区域", + "betaLimitToBox": "限制在框内", + "betaPreserveMasked": "保留遮罩层" +} diff --git a/invokeai/frontend/stats.html b/invokeai/frontend/stats.html index ae9564c092..abfa9a018a 100644 --- a/invokeai/frontend/stats.html +++ b/invokeai/frontend/stats.html @@ -6157,7 +6157,7 @@ var drawChart = (function (exports) {

    k`dD%Oq-FGvtZa7vl=NRMebJriyObJqizc z!C-NJSKW$PM)@RW^u;aj-qL>FJ;9c#n4$(^A)=sx)aSfeO`R>%k8`cfWn{*zc)h;< zbtE0fo&RBd{a-GKqp(!4=8jiau6nhOD3AVN)21H;eb7iH?8o*iTznjD=Am^op8F2v zy9Ot*s||H`8*NjuYRiutQz@zCBQ)bm`B^AMaImPfahkWOG@WMaa^Q-MTeoRRIuYEu zEQ#@$a=ZL(LTVV{o!(*_UnYuq=B8r|?UeXv*1JK&^fLuN)?IK+Kh`d9-$5qvHj9oo zMlYiLTG`&1Q5&D8<3N**kJ$LvOuUP=&ZdLSh8_n${2?*Z`Mm9^m$W(>3e%z2P1e)t3}^?Blx5+{^WYMU{k@C8;95>pVn<@kPp7& zNbS0h``6L$4jh5{5tE81o~g*v(Nt*k5snms8ZM3dK{5Jl+RO_EOF6ciFkIvvyfS~! z-5cs35A_R0bi@m6OyR_rGLh$^kc^|Wb(LK2C=80l@uDbTWQ`g7 zla2l0s?yamQRQkzrL7ZWYf-5e39%p#9~I;)5!9bVo^C?1{!le~j~EIVUGYYD(CCRb zx&mToOcW=JVs1+ds%V}-&}E{+gG7NfWprqdNb_>G{_*-15yVTa$$ns>!fhYE@bvbiQ`$NX4ZiRUy3&#;hh5k$ zJyNdj&cnUJbyV59;58kpokG4eM5x2qy1fL=K@f)Rl0<1h5lVAflT>&vO#?yVtIavk z>?Iqo7QK=3JV0dm+eB#uchtI^zqo8R)uyt=GZ5~vcx0O@snqKQynQQcC7Vh(8?*n< zRnV%Qqd>CyHBpT|x-fL@Wk+La0+;VE6ImFTrrBoI#_?qS1TelpgKlt@-dJC++JQN_iu8-8V7J<=1EJK@P!H_G4du_FOx3I(uY`jvzt=e{Z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